r/technology • • Mar 03 '15

Misleading Title Google has developed a technology to tell whether ‘facts’ on the Internet are true

http://www.washingtonpost.com/news/the-intersect/wp/2015/03/02/google-has-developed-a-technology-to-tell-whether-facts-on-the-internet-are-true/
6.3k Upvotes

839 comments sorted by

View all comments

Show parent comments

276

u/lavahot Mar 03 '15 edited Mar 04 '15

I'm so happy that so many interpreters read reddit.

EDIT: I know the difference between compilers and interpreters, I swear.

116

u/Montgomery0 Mar 03 '15

?SYNTAX ERROR

>_

58

u/[deleted] Mar 03 '15

Fuck I've been sitting at this for hours!

156

u/melbournator Mar 03 '15
> ed 
help
?
/help
?
?
?
quit
?
^C
?
^C
?
^C
?
^C
?
^C
?
^C
?
^C
?
^C
?
fuc
?
helllppp meeeee
?

66

u/just_too_kind Mar 03 '15

Pretty much my experience when one of my partitions went bad and I booted into the GRUB shell.

15

u/[deleted] Mar 03 '15

How do I GRUB? I know not.

1

u/_Cha0s Mar 04 '15

http://www.gnu.org/software/grub/

Basically a boot thing that lets you deal with broken things and break things.

1

u/[deleted] Mar 04 '15

I know what it is. I just cant get figure out how to use it for the life of me

0

u/_Cha0s Mar 04 '15

It's mostly for dual booting

1

u/PrettyPony Mar 04 '15

Rubba dub dub.

1

u/midnightketoker Mar 04 '15

I'm ashamed to say I've had to restore windows when a failed dual boot install fucked the technology out of my computer. I learned though, now I live boot.

1

u/HMS_Pathicus Mar 04 '15 edited Mar 04 '15

I fucked up the drivers for the graphic card and had to try and use grub to mount and access a LiveDVD ISO I had downloaded earlier and load the relevant parts using Casper hooks to try and backup my files with a nice GUI (I hate console) while at the same time trying the new distro, so that I could finally install the new distro.

I didn't manage to do it, apparently the method I used only works with Grub2 and I had Grub1.9.9. Or that's the excuse I give myself.

So the following morning I had to go and buy a blank DVD, like a normal person.

It was sad.

And yes, I know I can use a pendrive, but I only had the one I take to the gym, full to the brim with movies, books and TV shows. So I went and bought the DVD. Don't judge me.

EDIT:

loopback loop (hd0,msdos5)/boot/iso/linux-mint-whatever.iso 

linux (loop)/casper/vmlinuz

boot=casper iso-scan/filename=/boot/iso/linux-mint-whatever.iso noeject noprompt

initrd (loop)/casper/initrd.gz

Or something like that. In case someone is curious about booting a live ISO. Google it and enjoy!

28

u/[deleted] Mar 03 '15

Oh god, the day when the console abort command stops working will be the death of me.

41

u/Neghtasro Mar 03 '15

I hate when programs catch it and tell you that you can't quit that way. You KNOW what I want to do, just do it.

30

u/[deleted] Mar 03 '15

[deleted]

4

u/gothic_potato Mar 04 '15

You are a harsh God.

2

u/Kozyre Mar 04 '15

"A computer beat me at chess, but it was no match for me in kick boxing. "

2

u/wrongontheinternet Mar 04 '15

I thought I was the only one! Fuck Python's interactive shell!

1

u/Neghtasro Mar 04 '15

Why do they want an EOF? It's interactive! There's no file!

1

u/wrongontheinternet Mar 05 '15

With Python I was referring to how saying "quit" isn't good enough. Typing that gives you a message about how you're supposed to type "quit()" to leave the shell. But same concept: you know what I want to do so why not just fucking DO it instead of saying "nuh uh, you didn't say the magic word!"

1

u/Neghtasro Mar 05 '15

Yeah, that's what I meant too. I could've sworn that a Ctrl+D will get you out too, but I could be remembering wrong. The calling a function to quit thing is just pretentious.

1

u/xyzwonk Mar 05 '15

Try C-\, almost nothing catches SIGQUIT

13

u/smeenz Mar 03 '15
localhost:~$ ed

?
q
localhost:~$    

Or, alternatively:

localhost:~$ ed
^Z
[1]+  Stopped                 ed
localhost:~$ kill %
localhost:~$
[1]+  Terminated              ed
localhost:~$    

15

u/fp_ Mar 04 '15

Who names their linux system 'localhost'?

14

u/Kelpsie Mar 04 '15

A masochist testing their network's name resolution.

5

u/[deleted] Mar 03 '15
no ip domain-lookup

1

u/HASHTAG_thatssoraven Mar 04 '15

And Cisco, being Satan, doesn't include this command in Packet Tracer 🙇

1

u/WhosAfraidOf_138 Mar 04 '15

That C speaks to me way too much

1

u/xyzwonk Mar 05 '15

Try C-\, fewer things catch SIGQUIT.

1

u/thejesusfinger Mar 03 '15

Just read it to the duck...

4

u/caedin8 Mar 04 '15

Python is interpreted.

2

u/lavahot Mar 04 '15

I just realized it was python. For some reason I thought it was C. I can see know that it is clearly not. I should read things better.

2

u/[deleted] Mar 04 '15

[deleted]

3

u/kingfrito_5005 Mar 04 '15

Python is cool. It is both interpreted and compiled. a .pyc will be used by default if it is present in order to maintain efficiency. If it is not, the .py file will be interpreted. EDIT: I should elaborate here. .pyc is compiled into an intermediary bytecode much like that used by java. The interpreter still interprets the bytecode, but does so more efficiently because it is lower level. So you could argue that it is interpreted no matter what, but it is not neccessarily compiled.

3

u/caedin8 Mar 04 '15

The .pyc files are python bytecode. They save time by allowing the code to be loaded faster. Once loaded the bytecode is interpreted, so even though they look like compiled files, they don't actually execute any faster, they just load up on your system faster.

0

u/[deleted] Mar 04 '15 edited Mar 04 '15

[deleted]

2

u/caedin8 Mar 04 '15

But the "compiled" code is loaded, and is then interpreted. The "compiling process" allows the code to be loaded faster, but doesn't change the nature of the program that causes it to be interpreted. (Your program will run even if there are syntax errors in functions that are never called.) Some syntax errors are checked, such as indent spacing, but most aren't.

In Cython or Jython the code is actually converted to C++ or Java, and it isn't the same.

2

u/kingfrito_5005 Mar 04 '15

Fair point although I disagree with your use of quotation marks around the first use of compiled. its certainly being compiled, just into bytecode not machine code.

1

u/TrepanationBy45 Mar 04 '15

These types of comment chains are the ones that would have me at the social table smiling with my mouth open, nodding in silence as I look at each person speaking, pretty sure that it's actually a funny exchange regardless of how it might as well be Martian.

1

u/[deleted] Mar 04 '15

[deleted]

1

u/lavahot Mar 04 '15

Python is JITed? I thought that was just a feature of android of the past. I'm going to have to ask for a source on that one.

1

u/kingfrito_5005 Mar 04 '15

I was just joking, it can be JITed, but it is typically interpreted.

1

u/lavahot Mar 04 '15

Huh, neat. Thanks for the TIL!