Hacker Newsnew | past | comments | ask | show | jobs | submit | AlexFromBelgium's commentslogin

"This reminds me of another situation several years ago, when BadVista campaign pages were conspicuously absent from Microsoft's live.com search results,..."

If you have poo, fling it now!


Humor isn't HN's strong spot :S


".. if nationalism and religion were taken off the table, we'd revert to tribalism within that framework."

It's all tribalism really. Just on a larger scale. We never evolved beyond any of it.

I think dr42 was talking about moving to a radically different perception of the world. Not just bigger or smaller..


Either I'm a terrible story teller, or you guys have some seriously large chips on your shoulders. I'll take responsibility for this one guys, I'm sorry. I just wanted to share about the time when a school full of kids, singing horribly out of sync woke me up laughing on a regular basis.

The rest of it was just context.


And bought by Samsung.. That would rock. Make ALL the Android phones!


Did they submit this together with the RFC I saw yesterday..?

They aren't even trying to be subtle.


Do you have a link for that RFC? I may have missed it...


Here it is: https://tools.ietf.org/html/draft-diao-aip-dns-00

About the subtle aspect, this may very well be because they genuinely believe it's a good idea other governments may agree with.



I read 'j' 'k' 'l' and thought "Sweet! Vim controls"

Not... :(


LOL!


I get my recommendations from stackoverflow mostly, so I know the books I read are good. My brain knows the information is legit and takes it all in.

On the internet I spend too long reading short pieces, reviews, articles... A book is nice and LONG :)


To bad switchbuf doesn't actually work with :b.

Only buffer related split commands like :sbuffer, :sbnext


argh. :sb indeed.


Took ages before I figured out how to flip pages O.o


Agreed. It looks nice, but it has poor usability. I tried common things like clicking the edge of the page, scrolling on my trackpad, and using keyboard arrows, but none of them worked to scroll it.

Having to find and move a scrollbar to move the pages was not immediately intuitive.


Clicking the top corner of the page works for me, as well arrow keys (on Firefox + Linux). It did take me a bit too long to figure out though...


Interesting. The arrow keys worked for me to flip the pages. Google Chrome + OS X.


In my own experience: if I write dynamic code I'm still thinking of types. Especially in Python.. What's mutable, what isn't... This is what my professors at school say too. Less typing (pressing keys) doesn't make you think faster!


Seconded. Even though i write python code, i am still thinking of types. Infact, it's one of my gripes with the language. There are some tired mental states, when i don't think/forget to think about types, but just write and call functions. It's at those times that i find having to go back and read the original function for a type or having to go to REPL for testing the type painful. I would be happy to have a compiler tell me what type is expected instead. I guess more experience will lead me to infer this from the actual error message itself.(ex: Nonetype has no function iter)


You should strive to not rely on type-checking, and trust and rely more on duck-typing. If at some point you need to ensure something is not None, test it and act accordingly in the alternate case. If something absolutely must not be None (or must have a specific method), ever, use assert() so that things blow up upfront where you can infer (or even read) the reason, and not deeper in the code where the actual error message, as you mention, has to be parsed according to the whole call stack to make sense of it.

Sometimes you may need to type-dispatch when you want to do smart functions. A typical example is a function that takes a sequence/iterable/generator of strings or a string. Since a string is iterable in python, you have no choice but to check for BaseString.


Duck typing requires more mental effort to track the variable types. And in python some type errors are detected only in runtime, like when you call a function with a wrong parameter count.


Doesn't matter... Dynamic languages are slow by design!

Caching and JIT compilers to the rescue!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: