The Student Room Group

Scroll to see replies

Original post by secretmessages
Did you believe it? :hmmmm:


Of course not:ninjagirl: but I may have skeptically browsed the site and tried it to see exactly what it was about:p: although, it really would have been convincing to those who regularly tan...i'm sure it served its purpose:p:
Hmm, OS X Lion's autofill feature isn't quite as good as it used to be...
First Name: Adam
Surname: Jones
Location: Adam Jones
:\
May have just bought a 2TB hard drive...

oh, and a Mac Pro case.
There are world championships for ms office applications?:lolwut: http://www.bbc.co.uk/news/technology-14401766
Original post by someperson

Original post by someperson
There are world championships for ms office applications?:lolwut: http://www.bbc.co.uk/news/technology-14401766


I want to know what she did
Reply 9445
Original post by wizard710
I want to know what she did


I'm really curious myself
Reply 9446
http://www.itproportal.com/2011/08/05/microsoft-excel-world-champion-teen-cambridgeshire/

She also happens to be the only winner in the competition from outside Asia.


lol
I've gone back to work today after a three week holiday, it's the first time I've used a Windows machine since I upgraded to Lion last month. Trying to revert back to non-inverted scrolling is bloody weird :s-smilie:

Also, I caught this on Engagdet. A 1.6TB Solid State Drive capable of reading 1GB of data per second. Pricing should be... entertaining =P
http://www.engadget.com/2011/08/06/smart-modulars-1-6tb-optimus-ssd-reads-up-to-1gb-s-claims-to-b/
(edited 12 years ago)
I can get almost £350 off my iMac through the education store, I had no idea it was that much :eek:
Original post by secretmessages
I can get almost £350 off my iMac through the education store, I had no idea it was that much :eek:


because you spent too much to start with? :p:

i have so much in the post right now...

Processor + motherboard

Hard drive + dock

New case

Other bits of the above case that are too big to fit in the same box

Motherboard tray

An old motherboard.


:colondollar:
Reply 9450
Original post by alexsheppard11
:eek: link?


http://forums.bit-tech.net/showthread.php?t=209166

seems to be less of a problem than we thought, also, fail from me on mobile browsing XD, but that's the gist of it at the moment.
(edited 12 years ago)
Original post by Tathrim
http://forums.bit-tech.net/showthread.php?t=209166

seems to be less of a problem than we thought, also, fail from me on mobile browsing XD, but that's the gist of it at the moment.


http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=19&l=en&sku=320-2676
that guy lies.

24" is 16:10
The Pwnie Awards Organisers on Sony's response to the PS3's ECDSA key being published:

Apparently unfamiliar with how the internet works and how difficult it is to remove the piss from a swimming pool, Sony proceeded to try erase the information from the internet and sue GeoHot et al. into oblivion. Needless to say, this was about as successful as the MiniDisc...


:laugh:
Reply 9453
Original post by Mad Vlad
The Pwnie Awards Organisers on Sony's response to the PS3's ECDSA key being published:



:laugh:


Bit of an unfair comarison really, MiniDisc was actually a really good format (and one of Sony's more successful ones). But other than that: loooooool. :rofl:
Reply 9454
Just discovered Scala. I love it, it fixes quite a few of Java's problems and is entirely compatible bytecode on the JVM. :biggrin:
Original post by Tathrim
Just discovered Scala. I love it, it fixes quite a few of Java's problems and is entirely compatible bytecode on the JVM. :biggrin:

Java has problems? :zomg:

It looks interesting and I may try it one day, but I was put off by a demo a friend did for me showing the compilation time for a simple program...let's just say it wasn't nippy.
Reply 9456
I was looking at Transmit for Mac today, but they want £23 for it. :lolwut: It's a FTP/SFTP client, and yet it costs more than Lion? Crazy...

Original post by Dez
I was looking at Transmit for Mac today, but they want £23 for it. :lolwut: It's a FTP/SFTP client, and yet it costs more than Lion? Crazy...


Jesus christ :eek:
Reply 9458
Original post by Chrosson
Java has problems? :zomg:

It looks interesting and I may try it one day, but I was put off by a demo a friend did for me showing the compilation time for a simple program...let's just say it wasn't nippy.


I'm not saying Java is a bad language to use, I'll be using Java in situations where Java is better suited to it in conjunction with Scala for the other bits. It's a supplement, not a replacement.

Doing some searching on performance vs Java, I cam accross this in a Stack Overflow thread:

Scala makes it very easy to use enormous amounts of memory without realizing it. This is usually very powerful, but occasionally can be annoying. For example, suppose you have an array of strings (called array), and a map from those strings to files (called mapping). Suppose you want to get all files that are in the map and come from strings of length greater than two. In Java, you might

int n = 0;
for (String s: array) {
if (s.length > 2 && mapping.containsKey(s)) n++;
}
String[] bigEnough = new String[n];
n = 0;
for (String s: array) {
if (s.length <= 2) continue;
bigEnough[n++] = map.get(s);
}


Whew! Hard work. In Scala, the most compact way to do the same thing is:

val bigEnough = array.filter(_.length > 2).flatMap(mapping.get)

Easy! But, unless you're fairly familiar with how the collections work, what you might not realize is that this way of doing this created an extra intermediate array (with filter), and an extra object for every element of the array (with mapping.get, which returns an option). It also creates two function objects (one for the filter and one for the flatMap), though that is rarely a major issue since function objects are small.

So basically, the memory usage is, at a primitive level, the same. But Scala's libraries have many powerful methods that let you create enormous numbers of (usually short-lived) objects very easily. The garbage collector is usually pretty good with that kind of garbage, but if you go in completely oblivious to what memory is being used, you'll probably run into trouble sooner in Scala than Java.

Note that the Computer Languages Benchmark Game Scala code is written in a rather Java-like style in order to get Java-like performance, and thus has Java-like memory usage. You can do this in Scala: if you write your code to look like high-performance Java code, it will be high-performance Scala code. (You may be able to write it in a more idiomatic Scala style and still get good performance, but it depends on the specifics.)

I should add that per amount of time spent programming, my Scala code is usually faster than my Java code since in Scala I can get the tedious not-performance-critical parts done with less effort, and spend more of my attention optimizing the algorithms and code for the performance-critical parts.


Original thread is here: http://stackoverflow.com/questions/5901452/scala-vs-java-performance-and-memory

What I drew from that is that, yes, it's slower, but in larger projects, there's also a tradeoff between the amount of code that needs to be written to get a decent answer, as indicated in the last paragraph.

Combined with the fact that there is some integration between the functional programming capabilities among other things means that I'm willing to give this a shot. :biggrin:
Wonderful, the Birmingham riots have supposedly led to the Apple Store being broken into and looted. There goes my appointment to get my phone repaired :|
/firstworldproblems

Latest

Trending

Trending