• CIPWTTKT&GC V0x0F (v15): Scoot and Deeps Drama Diaries
    25,625 replies, posted
[QUOTE=anton2;32068498]I have never understood the purpose of pseudocode[/QUOTE] It's supposed to be a language-independent way to discuss algorithms. Talking about sorting algorithms is much easier in pseudocode than in any real language. It's not nearly as big a deal now, though, since almost every major language is heavily C-based. Even stuff like PHP or ASP look and act remarkably like C. Back in the day*, you had much more "interesting" languages, like LISP or FORTRAN or RPG. Compare (stolen from Wikipedia): FORTRAN (1957): [code]program hello print *, "Hello World" end program hello[/code] LISP (1958): [code](print "Hello world!")[/code] COBOL (1959): [code]IDENTIFICATION DIVISION. PROGRAM-ID. HELLO-WORLD. PROCEDURE DIVISION. DISPLAY 'Hello, world'. STOP RUN.[/code] [b]C (1973)[/b]: [code]#include <stdio.h> int main(void) { printf("Hello world\n"); return 0; }[/code] C++ (1983): [code]#include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; }[/code] Python (1991): [code]print("Hello World")[/code] Java (1995): [code]public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world!"); } }[/code] C# (2001): [code]using System; class ExampleClass { static void Main(string[] args) { Console.WriteLine("Hello, world!"); } }[/code] Visual Basic.NET (2001): [code]Module Module1 Sub Main() Console.WriteLine("Hello, world!") End Sub End Module[/code] See how everything starts looking similar after C? With the odd exception of C++, I/O is always done by calling some method or function (frequently of a special console class) and passing it a string. Function calls are done by parentheses, strings use double quotes, and, if the language has a line terminator, it's a semicolon. If you know C or a C-like language, you'd probably understand what this code does, even if you don't know the language: [code]import std.stdio: writefln; void main(string[] args) { foreach (i, arg; args) writefln("args[%d] = '%s'", i, arg); }[/code] * "The day" was way before my time, but I at least know about it, and can read several of the Elder Tongues.
I made a point of learning fortran a few years ago. I've written a grand total of two programs in it (not including hello world) and haven't used it since but I've got to say it's a really nice language
there are still fortran books in the technology section of my school library and it makes me feel young [editline]2nd September 2011[/editline] luckily they're updating those books because of me bringing up how outdated that section is
[QUOTE=wlzshroom;32068885]there are still fortran books in the technology section of my school library and it makes me feel young[/QUOTE] [QUOTE=wlzshroom;32068885]makes me feel young[/QUOTE] you're 12 aren't you
[QUOTE=wlzshroom;32068885]there are still fortran books in the technology section of my school library and it makes me feel young [editline]2nd September 2011[/editline] luckily they're updating those books because of me bringing up how outdated that section is[/QUOTE] but you are young???????????
[QUOTE=wlzshroom;32068885]there are still fortran books in the technology section of my school library and it makes me feel young [editline]2nd September 2011[/editline] luckily they're updating those books because of me bringing up how outdated that section is[/QUOTE] I am so glad my HS uses C#..
my high school used java but we got all sorts of languages over here in college-land
Well I'm dumb. The issue I was having with the laptop I was fixing wasn't due to a faulty motherboard. It was due to me not fully tightening the locking screw on the CPU. I fixed that, reassembled and now it works perfectly... Well as perfectly as a Acer with a Celeron M could work. I managed to setup everything that my mom needed, including making playing DVDs idiot proof (Open tray, insert DVD, close tray, Media Player Classic: Home Cinema opens and starts playing the DVD). I also setup Firefox Sync between her desktop and the laptop, which appears to be very transparent. Another thing I did was setup Dropbox for her, mainly to get a few MB of extra space on my account. Tomorrow, I'm giving her a "Lesson" on how to use it, since it's her first laptop. This will be interesting...
[QUOTE=benjgvps;32069450]Well I'm dumb. The issue I was having with the laptop I was fixing wasn't due to a faulty motherboard. It was due to me not fully tightening the locking screw on the CPU. I fixed that, reassembled and now it works perfectly... Well as perfectly as a Acer with a Celeron M could work. I managed to setup everything that my mom needed, including making playing DVDs idiot proof (Open tray, insert DVD, close tray, Media Player Classic: Home Cinema opens and starts playing the DVD). I also setup Firefox Sync between her desktop and the laptop, which appears to be very transparent. Another thing I did was setup Dropbox for her, mainly to get a few MB of extra space on my account. Tomorrow, I'm giving her a "Lesson" on how to use it, since it's her first laptop. This will be interesting...[/QUOTE] No Free Smiles; No Porn.
Never ever let anything install a bar on your browser ever. Websites always lie about malware. Install Adblock Plus and Noscript. Only install software from the distributor. I'm forgetting a few.
Estonia and Finland have aku and patarei. Aku is rechargeable, patarei is battery
[QUOTE=ASmellyOgre;32069991]Never ever let anything install a bar on your browser ever. Websites always lie about malware. Install Adblock Plus and Noscript. Only install software from the distributor. I'm forgetting a few.[/QUOTE] If you see a guy named Lavacano, mail him money. It's a secret Internet trick to make your computer faster.
[QUOTE=gman003-main;32068778]It's supposed to be a language-independent way to discuss algorithms. <snip>[/QUOTE] Just for history, the oldest programming language I've come across is called Plankalkül, from 1948. [CODE]P1 max3 (V0[:8.0],V1[:8.0],V2[:8.0]) => R0[:8.0] max(V0[:8.0],V1[:8.0]) => Z1[:8.0] max(Z1[:8.0],V2[:8.0]) => R0[:8.0] END P2 max (V0[:8.0],V1[:8.0]) => R0[:8.0] V0[:8.0] => Z1[:8.0] (Z1[:8.0] < V1[:8.0]) -> V1[:8.0] => Z1[:8.0] Z1[:8.0] => R0[:8.0] END[/CODE]
[QUOTE=bootv2;32062960]link me the contract please, when I was looking on t-mobile's website, I couldn't find a unlimited bandwidth contract for €8.50 + additional fee's for actual minutes/sms.[/QUOTE] I'm not really sure where to find it, because i'm on my dad's Business contract (I can call everyone using the same contact for free :v:). [editline]2nd September 2011[/editline] [QUOTE=Chezhead;32066679]Which language is it that has all the different words for technology? For example, english "battery" could mean "rechargable battery" (AKA laptop batteries) and "disposable battery" (Flashlights, Gameboys, etc.). The language I'm thinking of has different words for each of them. [editline]1st September 2011[/editline] I don't remember if it was Dutch or Finnish.[/QUOTE] It's dutch.
[QUOTE=bootv2;32072471]too bad, I would kill for such a contract.[/QUOTE] It's unlimited data cap, but after more than 250MB or something (Per month) you will get a lower speed actually (Which is barely noticeable). [editline]2nd September 2011[/editline] Oh and these are unlimited data caps: [url]http://www.t-mobile.nl/mobiel-internet/telefoon/basis[/url]
I have a 250GB Cap here, but when you hit it, the speeds drop down to roughly 4Mbit, but I get 6Mbit normally so it's barely noticeable.
[QUOTE=ASmellyOgre;32064200]The Ubuntu 10.10 Beta just started. I didn't like Unity in 10.04, but from what I've seen, it's changed significantly in just one version. Might be worth trying.[/QUOTE] We're still in 2010? [editline]2nd September 2011[/editline] [QUOTE=gman003-main;32068778] COBOL (1959): [code]IDENTIFICATION DIVISION. PROGRAM-ID. HELLO-WORLD. PROCEDURE DIVISION. DISPLAY 'Hello, world'. STOP RUN.[/code] [/QUOTE] This looks more a terminator's code or something.
[I]Technically[/I] my cap is unlimited, but 3gb was some sort of limit I found in the small print.
on virgin media xl I can download 7gb in the day, after 4pm I can only download 3gb and the cap is removed after 9pm it sucks, but there isn't a monthly cap so you can just do all of your downloading through the night
[img]http://peecee.dk/uploads/092011/Capture.PNG[/img] It would be cool if it actually was VALVe that maintained this page, but I am having my doubts :v:
[QUOTE='[EG] Pepper;32068193']I think it was finnish No idea what the words were though[/QUOTE] "Akku" (Short for "akkumulaattori", accumulator) for rechargeable and "paristo" for non-rechargeable. [editline]2nd September 2011[/editline] [QUOTE=Goz3rr;32071641] It's dutch.[/QUOTE] Then it's both! [editline]2nd September 2011[/editline] Actually now that I think of it the two of us were probably the people who mentioned the words before so :v:
[QUOTE=Goz3rr;32071641]I'm not really sure where to find it, because i'm on my dad's Business contract (I can call everyone using the same contact for free :v:). [editline]2nd September 2011[/editline] It's dutch.[/QUOTE] How is the language he's thinking of Dutch? We just say battery too.. Well okay we have different words for them, but hardly anyone uses them because lazy. [editline]2nd September 2011[/editline] [QUOTE=bootv2;32073310]okay thank you, so the "internet smart" addition to the contract is what you're saying is unlimited right?[/QUOTE] [IMG]http://dl.dropbox.com/u/5483751/Photos/2011-09-02_1531.png[/IMG] :v:
Fun fact that I've discovered while searching for some part numbers: Typing in ######..###### (where # is a number) makes Google go haywire.
[QUOTE=VistaPOWA;32074844]Fun fact that I've discovered while searching for some part numbers: Typing in ######..###### (where # is a number) makes Google go haywire.[/QUOTE] [url]https://twitter.com/#!/mollstam/status/109191700408320000[/url] mollstam found this out the other day
[QUOTE=anton2;32068498]I have never understood the purpose of pseudocode [editline]1st September 2011[/editline] I don't really see a problem with this, I don't pirate things anyway, and putting harsher penalties could help of course this will be rated dumb because everyone on fp pirates[/QUOTE] If the developer doesn't make a PC demo, I pirate it, if it's shit I ditch it, if not I buy it.
I got flagged by Google for suspicious activity :tinfoil: [t]http://localhostr.com/files/lX4VpZi/temp34.png[/t]
[QUOTE=VistaPOWA;32074901]I got flagged by Google for suspicious activity :tinfoil: [t]http://localhostr.com/files/lX4VpZi/temp34.png[/t][/QUOTE] I tried what you said and got flagged too :v:
[QUOTE=anton2;32074870][url]https://twitter.com/#!/mollstam/status/109191700408320000[/url] mollstam found this out the other day[/QUOTE] Damn, I guess I'm late then.
Might be a bug. I got my school google acc closed due to "Violation of terms and agreements" I have had the acc for 2 days and only used it to create 2 collections on google docs
IW is content. Some MW3 related thing: [url]http://www.xboxcodxp.com/[/url] (Started a minute ago, 23k viewers already) and basically they broke their site in a minute. [editline]2nd September 2011[/editline] 25k viewers [editline]2nd September 2011[/editline] Didn't they hear of a load spreader or w/e [editline]2nd September 2011[/editline] Right now 27k viewers are watching this: [img]http://puu.sh/563e[/img] [editline]2nd September 2011[/editline] Are you fucking joking? [b]Explosive attack dogs[/b] ONLY IN MW3!
Sorry, you need to Log In to post a reply to this thread.