skysight-inc/HackerNews huggingface dataset:
You can get a stronger sum type using the visitor pattern (which is the typical way to get sum types in Java). I ported the code in the post to use that approach, and here's what it looks like:

http://play.golang.org/p/U_CZG9IMZ6

The main advantage of this approach is that, like with "real" sum types, you get compile-time checking that you've handled every case. It also seems to mesh better with Go's interfaces, since there's no need to introduce a dummy method so the interface can work as a tag.

On the other hand, bypassing Go's type switch construct is a little disappointing, since the automatic casting in type switches makes the syntax pretty clean.

It's also interesting to see that having "r" as an assignable return value comes in handy here (since you can't return from inside a lambda). In Java, I'd solve the same problem by making Visit usable as an expression (like case expressions in functional languages) by giving it a parameterized return type, but the lack of generics makes that annoying in Go.
I suppose their argument would be easier updates throughout the platform, since Android updates aren't regulated by Google. But the side agenda is "forcing" vendors into Google apps suite certification, devices without it can't use certain apps which use Google APIs.
one more point they're publicly funded. that should be at least motivator to open up
Yes didn't get this part either. It's perfectly possible the interviewer asked the interviewee to explain the difference between Responsive Design (the concept) and Twitter Bootstrap (the framework that implements it).
Pay a fraction of a citizen or permanent resident's salary to a quasi-indentured servant, in that if you fire them it's iffy if they can find another H-1B gig before they have to leave the country.

In the one case I observed first hand while at Lucent in 2001, an arguably more qualified and very smart Jamaican doing the same job as me was paid $48K (H-1B salaries have to be posted) while I was making $80K. He knew he was being exploited, but all things considered it was better than the alternatives. In another case with an acquaintance at HP, he and a lot of older engineers were laid off at the same time, and he later caught them trying to explicitly hire an H-1B replacement for his job.
Among historians it is generally believed that there was a preacher called (something like) Jesus which was crucified by the Romans. But looking at the only available sources (the Gospels) it is not even clear that he claimed to be the Messiah. The gospels are clearly written by people who believed him to be the Messiah, but the quotations directly attributed to Jesus are quite ambiguous regarding the "divinity" of Jesus himself. Notably be appears much more "divine" in the latest gospel than in the earliest, so the divinity seem have been a development over time among his followers. Even if he did himself claim to be the Messiah, it is very different from claiming to be the Lord, since the Jewish concept of Messiah is a (blessed) human king, not a divine being. The concept of the trinity where Jesus IS God is a later concept, not even present in the Bible. And the "Son of God" thing is basically a cultural misunderstanding, because it means something different among Jews (where basically everybody are Gods children) and Greeks (where Gods like Zeus literally had half-human children with superpowers).

So apart from the Liar/Lunatic/Lord trilemma, there is the option "A cult leader that didn't really claim the be the Lord, but his followers came to believe that he was".
Tartaar van zalm met gember
I use Firefox with Noscript. To see the desktop version I had to 'temporarily allow all this page' in the Noscript options.
We all win the lottery.

http://library.sciencemadness.org/library/books/ignition.pdf

http://mirror.xwl.me/Sled%20Driver.pdf
FYI
http://library.sciencemadness.org/library/books/ignition.pdf
Even taking the eyewitness accounts in the Gospels at face value, they are highly dubious. Note that the disciples don't even recognize him when they meet the resurrected Jesus (or they guy claiming to be the resurrected Jesus), and have to see and feel physical proof like the wounds before they even accept that the guy is indeed the resurrected Jesus. An then the guy suddenly vanishes again, without any explanation.
The Death of Agile [video]
LG G Watch W100 4GB Android Smart Watch (Black) – Radioshack
If I'm reading correctly, the offspring's chromosome pairs are identical, so they'd never get ZW.
My favorite is spaghetti sort. Make one spaghetti straw per item that is as long as the value of the item. Then take all spaghettis in your hand and put them against a flat surface. Remove the longest one and keep doing that. :)
The impact of state actors trying to do MITM for the purposes of JavaScript injection won't be so bad once all major browsers support HPKP[0]. It looks like they're already using HSTS.

I agree with everything you've said though, I've ranted about it on many occasions. The underlying problem is one of making changes noticeable (which is what HSTS and HPKP do for TLS). Ideally you want a way to isolate the sensitive components of the application (anything with access to plaintext or keys), and have them open sourced, vetted, and undersigned by respectable third parties. Unfortunately you can't do this in practice today even in the traditional desktop or mobile app software models, which mostly sign only to prove authorship. In the browser it's hard to see how it would be even be possible... an in-browser app/plug-in model like Chrome Store wouldn't really help without a delayed update channel that gave any third party canary systems time to review and sign-off any changes. And ultimately you're still going to be gluing your secure box to your insecure form controls.

Perhaps what we need is a system like Moxies Convergence or the EFFs SSL Observatory but for HTML and JS, because I don't see "JavaScript and HTML pinning" really cutting it.

I don't think any of these challenges make ProtonMail a mistake though. It's certainly always going to be better than GMail, which depends on access to your message plaintext for advertising, and therefore can never provide privacy.

[0] https://tools.ietf.org/html/draft-ietf-websec-key-pinning-21
No. The current version of Dreamweaver is CC 2014.1.

http://www.adobe.com/uk/products/dreamweaver/features.html
It was originally British, yes: developed by Frank Hornby in Liverpool. It's now made in France. There are still avid constructors who prefer 'original' Meccano (red/green coloured metal) as it is supposedly better build quality than today's product (blue/yellow).

The UK scene is quite active : http://www.skegex.nmmg.org.uk/
Frequency of big meteorite impacts probably becomes less over time too.
As an italian I was about to point out the same thing. Thanks for your correction. The roms (see http://en.wikipedia.org/wiki/Romani_people) are spread through all Europe and are not a Neapolitan only phenomenon. Shame for NYT for not doing their homeworks.
It is even more likely that he was just an ordinary legitimate child of Mary and Joseph, and the whole virgin-birth story developed later (after the death of Jesus) among Greek-speaking early Christians, in order to tie in to the Isiah-prophecy.
C programmers should also be familiar with carry propagation; I see no reason they shouldn't be expected to work out the correctness of

int cmp(int x, int y) {
const unsigned a = x;
const unsigned b = y;
const unsigned s = sizeof x * 8 - 1;
return ((b^((b^(b-a))&(a^(b-a))))>>s)&~-((a^((a^(a-b))&(b^(a-b))))>>s)^-((a^((a^(a-b))&(b^(a-b))))>>s)&~-((b^((b^(b-a))&(a^(b-a))))>>s);
}
Given a large payoff in 100 (or more) years time for a small investment now, it doesn't seem that hard to create a financial instrument that pays out a potion of the projected profits adjusted for risk, for each year that you hold it.
It is difficult to find a replacement job in 30 days if fired. Its not hard to quietly look for a better job while on an h1b. And once company A already sponsored the visa, finding company B to extend it is pretty easy.

Its very far from indentured servitude unless you come to the states and refuse to speak to anyone outside your community.
Gnome sort used in a practical application (for natural language parsing): http://stp.lingfil.uu.se/~nivre/docs/gotal.pdf
There are no evidence that Matthew was originally written in anything other than Greek. But Jesus probably spoke in Aramaic (not Hebrew), so the sayings in the text would be a translation, but probably translated while still an oral tradition.
I just pointed youtube-dl at the original URL and it detected and downloaded the embedded .mp4 just fine.
No, I got excited as well for a JS intellisense plugin from the title too.
People loves spanking Smalltalk :)

I think that's good because it shows (a) is really different so is a direct hit to the Comfort Zone on many and (b) its significative value is real, otherwise it wouldn't annoy them to the point of talking about it.

It seems that a source of anger for some people is that Smalltalk is good enough to get mainstream but it didn't reached really mainstream. Probably due to the strategic mistake of not making it open source right from the start in the 80's. This interview puts some light into what happened, who influenced that decision and why was made: https://www.youtube.com/watch?v=IGNiH85PLVg

If Smalltalk would have been open sourced in 1980 the world would be different: programming would be more humane and less technologically-self-serving.

Now we have the "pleasure" of listening people that tells you "the compiler is your friend"

No it's not. Smalltalk rewards the creative spirit. Compilers hits it with a hammer. That's why it's so different (Ref: http://www.cs.virginia.edu/~cs655/readings/smalltalk.html)

1984 here we go. (Ref: https://vimeo.com/115154289)
I work with researchers. While I can't say whether they produced reliable results or not, they would regularly grind the network to a half by producing millions of small files. I did talks on how to use a database, and why it would stop these problems, but hardly any were interested.
Evolution as Our Source of Meaning
Why in a world, a person that is going to write an academic paper with charts, tables, graphs and stuff would choose LaTex? What is the point of comparing them? Even LaTeX says that it is not a word processor. Do not compare damnt.

Quote from LaTeX website:
"LaTeX is not a word processor! Instead, LaTeX encourages authors not to worry too much about the appearance of their documents but to concentrate on getting the right content."

If you are going to write a philosophical article or a big novel, choose LaTeX, if you want to draw charts and graphs choose Word. Cristal clear.
How to choose a trail camera – How to use a trail camera
yeah people are seriously saying it. read that wikipedia page, it's beyond ridiculous.

earliest i can think of is the aphex remix of flow coma and i'm not even trying.

> Electronic musician Brian Transeau[3] developed the "technique", coining the phrase, and later released it as a standalone plug-in. Until this point the majority of stutter edits were created through deliberate manual editing techniques rather than automated processes (such as the eponymous plug-in). The audio plugin is named "Stutter Edit" and was co-released by iZotope and Sonik Architects.[4]

it's not like izotope release a plugin in 2002 which does the same thing, oh wait it is:

http://www.kvraudio.com/news/bitshift_audio_release_phatmati...

"developed the technique" is such a weaselly phrase. did he develop the technique, or did he further develop a technique that already existed. to my understanding neither is true. he's a crap musician to boot.
Netcraft Site Report for http://www.netcraft.com
An alternative without the ternary is

return (e1->i > e2->i) - (e1->i < e2->i);
Trail camera reviews – Buy a trail camera – How to choose a trail camera
Killing WinDefend Service
Radix sort, with time as the buckets...stylish.
I remember back in 2007 when job ads were like: "5+ years Rails experience".
I would argue that the problem is signaling. Where and what you studied in school are signals employers use to rank you against your peers. IE going to Harvard signals that you are the elk that got into Harvard. No one really cares what you studied there. This is the primary function of college in the employment landscape: signaling. Very few people go to college for the actual learning (they go to get the signaling that will allow them to get a job).

MOOCS would need to get into signaling and have employers take their signal seriously. I hate to sound classist, but unfortunately MOOCS lack of selectivity means they don't signal as much as a college with a low acceptance rate.

I myself did not go to an elite school, and realize that the above is a very broad generalization...
Shoelace Formula
Heat-map.co: Discover the Heat Map of Your Website
Find out how visitors perceive your website. No scripts or codes needed to generate the heat map http://heat-map.co
That's great for you that you don't take offense to the comments, but you shouldn't belittle the fact that I do. I've taken many deep breaths about this, and I'm trying to vocalize my feelings about an issue I see here all the time.

Obviously you're right in what you said, but I definitely do not see it falling under Hanlon's Razor and I definitely don't think everyone (or even most) people who bash PHP see it the way you do.
I don't think so. Imagine you are a good scientist but a poor coder. How would you verify that the results of your research were valid? You could ask another team to review your software, or you could ask another team to recreate your software, or you could hire a professional software development team to do the job of coding for you.
Thanks, came here to ask if this still exists. No children but I'm probably going to buy a set. Mainly because of the floating devices: I used to have close to the entire range of Lego Technics, but there was none of the things which could float.
I cringed reading that. There were a lot of people using that technique long before BT. Max/Msp, csound, and many other programs allowed user to do this. Not to mention the old amiga scene trackers and old jungle artists with their "trackers".

https://www.youtube.com/watch?v=6iiK4MgIPtI
https://www.youtube.com/watch?v=_fX4qoruQik
https://www.youtube.com/watch?v=I9BfB9HMWlc
New Study Adds to Skepticism Among Experts That North Korea Was Behind Sony Hack
شركة نقل أثاث بالرياض
Surprised this got posted, as it is pretty old :D I guess there is a minor Plan9/Acme/Sam renaissance going on these days (many posts related to them.) If you have any questions about Acme, plumber usage or the details in the post please ask here (or drop me an email.)
Restored Forests Breathe Life into Efforts Against Climate Change
Ask HN: How to actually network?
I see people recommending networking is the best bet anyone could have. Say it a new job, a prospectus freelancing client or even a co-fouder.. but, I am confused how do one actually network

Say in a conference or a gathering, how do I start a conversation out of blue and keep the conversation going on without making it awkward?

and I bet this is one of the resolutions for most of the people..
Changing eval to an interface method would work, but wouldn't get quite the same effect.

The way I see it, there's a two-dimensional problem here: one dimension is the different cases for the type (I, B, Add, Mul, Eq), and the other dimension is the different operations you want to perform (eval, typecheck, optimize, etc.). Each operation handles each case, so you have n*m pieces of code, but you're stuck with a (pretty much) one-dimensional text file, so as a programmer, you have to choose how to slice it, and I think different problems make more sense sliced in different ways. Sum types are nice because they let you put all the cases for an algorithm in the same place, which often makes the algorithm easier to understand. That said, maybe Go's flexibility in method ordering (the fact that you can declare method anywhere, not just next to the struct they act on) makes this a non-issue. You could define your different case types at the top of the file, then put all of your eval method together, all your typecheck methods together, etc. It wouldn't be as easy to work with as pattern matching, but it's certainly better than having the different pieces scattered everywhere.

Another thing to consider is extensibility, particularly if you're writing a library or plugin system or something like that. If you use an interface to declare "an expression is something that knows how to be evaluated, typechecked, and optimized", then someone using your code as a library could add another expression case without a lot of trouble, but they would have no (safe) way to add an operation. With typical sum types, you have the opposite constraint: "an expression is either I, B, Add, Mul, or Eq", so a library user can safely add additional operations, but they couldn't add additional expression cases. I think that making both dimensions extensible is a fundamentally hard problem: for example, if plugin 1 wanted to add a new case and plugin 2 wanted to add a new operation, who would be responsible for handling the new operation in the new case? So as a library author, you have to choose which dimension is fixed and which dimension is extensible, and sum types are the way to keep the list of cases fixed.
But why? Why do you panic?

Why are your body or subconscious convinced you are about to enter a stressful, risky situation and start to react this way? What conditioned them to believe this?

It happened to me too by the way, both the night before and during the interviews, and what I walked away with was the realization: I disliked expectations.

I didn't want to be interviewing, or working for someone else, or generally doing what I thought I was supposed to be doing. I needed time to get on a path where I would be doing what was right for me.

If nothing was expected of you, and there were no restrictions (financial, societal, etc.) on what you could do, what would you rather be doing? You said in another comment you are pretty good at what you do, so could it be that the problem isn't you but the general idea of expectations?

How would you fight this without drugs?
Lessons Learned from Our Winter Company Retreat
On this day long ago, a child was born who, by age 30 would transform the world.
Happy Birthday Isaac Newton b. Dec 25, 1642
I've been rejected from numerous job attempts and I learned a lot from the majority of them. Whether it was the lack of fundamentals on data structures and (sometimes) stupid algorithmic interview questions, or a CTO with whom I totally clicked but the founders just didn't get me, or "ew, I'd kill myself if I had to work in this office", most of them were learning opportunities.
DabbleDB was written using Seaside, a framework which ran in Squeak (and other Smalltalk implementations).

DabbleDB met with rave reviews. http://press.dabbledb.com/ Within a couple of years the company behind it were bought by Twitter (2010) and DabbleDB closed down. http://en.wikipedia.org/wiki/Dabble_DB Clearly Twitter didn't buy this Smalltalk company because their product was a threat to Twitter.

It may well be that there are hugely successful corporations who are using Smalltalk and keeping quiet about it. Or it may be that being a successful Smalltalk developer is a sign of being a great developer.
What major technological advances have been made in the past year? (Reddit)
I've been at it since 2006 and I still learn things every day, fwiw.

It's kind of like asking if it takes very long to learn to use STL, or the standard C library. Sure, the libraries themselves are not that long if you're reading them straight through, but the capabilities they enable are pretty vast.
For a secure email service provider, they are very vague about the details. For example, they say there is a second password with which the messages are encrypted and this is only under user's control. Questions:

- So how does the receiver decrypts the message?

- If user wants to change / rotate their password, does it go back and update the old messages?

- Does this second password encrypt your meta data as well?
Spritesheets and other forms of asset concatenation are aiming to reduce the impact of round-trip latency and overhead of HTTP i.e repeated headers.

I've always seen the "image is already loaded" as a "nice" side effect but spritesheets can have issues in mobile contexts as the whole image must be decoded jsut to access the sprite, it's unclear how effectively browsers cache the individual sprites in memory, compared to individual images too.
I never got them myself either, but would play with it at my cousin's house.

However, I did get a set of Robotix: https://en.wikipedia.org/wiki/Robotix_(toys)

Looking at it now, I knew nothing of the comic book/TV show connection. I saw them at some children's science museum (maybe in Chicago?) and spent the better part of a day building cars and simple robots.
I would recommend having a look at Unseen (https://unseen.is/), early days but a promising privacy focused startup. Priavcy policy here (https://unseen.is/privacy.html).

Also Qwant (https://www.qwant.com/) who also have a strong privacy focus for a search engine, privacy policy and settings here (https://m.qwant.com/privacy).
25 years ago, I was a secretary. I used WordPerfect, Ami Pro, Word, DisplayWrite and other WP programs. Microsoft Word was just about the worst of the bunch. If it hadn't been for Microsoft's criminal monopolistic practices (OS + office suite), Word would never have become the de facto word processor in the world.

Even 15 years ago I was working as a systems administrator in a company which still insisted on using WordPerfect because of its superiority. A Microsoft fanboy became the IT Director, and WP was phased out for Word.
Self-publishing a book in 100 days
I'm experimenting with AndroidStudio and getting the NDK to work. Once I have this figured out, fun times lie ahead!
Wow expensive.
Unlike most esoteric algorithms, American flag sort is actually pretty useful in its niche of string sorting.
Many books are indeed initially written and edited using Word, but aren't they generally passed on to someone who does the final layout in InDesign/QuarkXpress before printing?

In contrast, authors using LaTeX often produce camera-ready copy themselves.