skysight-inc/HackerNews huggingface dataset:
> "they hate us for our freedom"

Besides being not true in principle (they couldn't care less if you're free) even if they did it would stop working as soon as you're no longer free.

In reality it is much simpler than that: The US has (rightly or wrongly) become the de-facto superpower and has been projecting its power all over the globe with abandon. That creates a (very predictable) backlash.

So those that want to kill you want to kill you out of sheer frustration with having their plots foiled and their ability to operate restricted and they figure (rightly) that the way to strike back is to target the home country and hope for the leaders of the country to mess up and alienate themselves from their allies.

From that point of view 911 is mission accomplished.
Those interested in this might also enjoy the 288 comments from last year's HN posting, at https://news.ycombinator.com/item?id=5325540 .
That's only true when you work with established, trusted compilers. Every worthy Unity developer is familiar with AOT bugs on iOS platforms, which render one of the best instruments in the hands of C# programmer, Linq, completely unusable.
What roles should the first 10 employees of a tech company be?
Having done research on finding miscompilations in production compilers just recently[1], hunting a couple hundred bugs in GCC and LLVM, I feel much more skeptical these days about this matter.

Modern compilers are big, complex, systems, and naturally have bugs (to be fair, given the complexity and aggressiveness of optimizations, the quality of GCC is extremely admirable.)

[1]: http://mehrdadafshari.com/emi/paper.pdf (check out the example bugs in the paper. They are amusing.)

P.S. The "it's your code, not the compiler" mindset does not generally apply to compilers targeting embedded platforms.
MUSIC FAN New young upcoming talent from Miami KIDDJAY
Famious language hacker vlogs a monoglot's language learning progress
A famious language hacker is vloging a monoglot's language learning progress as she tries to learn a language.
> On a more on-topic note however, aside from the benefits of running any kernel, such as windows, I wonder if there are any practical benefits of something like this vs something like CoreOS/docker.

There are millions of lines less of code involved in the deployed Xen unikernel, since there's no Linux userspace/kernel divide involved any more.

You can also use the same application source code just fine with CoreOS/Docker if you prefer, since it can also compile to normal POSIX binaries that use kernel sockets (via `mirage configure --unix` instead of `mirage configure --xen`). This is the main benefit of using modular OCaml code that can swap out entire subsystems at compile time.
In my experience, mostly to guarantee you get a raise at the end of the year. At the six month mark I'd settle for a concrete promise doubling inflation (but not easily). Make sure to both ask what you're doing right and wrong and make sure to discuss what the company is doing right and wrong.
> And, here, as we parse the latest round of bills, legal interpretations, infringed freedoms, etc., there is still no such earnest discussion about why we find ourselves in this position in the first place.

Some of it is possibly history going through its usual cycle. As a corollary to Santayana's legendary quote: the only thing people ever learn from history is that nobody ever learns anything from history.

For an interesting look on the history of modern terrorism, I recommend watching at least the first two parts of this German stand-up: http://www.youtube.com/watch?v=n4H_E8b-qmo . Yes, it's inflammatory, and yes, it's politically slanted. That's the point.

The way to find unexpected things in common wisdom is to look at it from a different angle.
> I'm willing to bet that someone who's slobbish and lazy and unpleasant could play a valuable role if you could quantify the requirements and goals of positions in your company, for example.

Yeah, but the positions of CEO and HR are usually filled at an early stage...
Those are just ordinary relocations in PI code. You'll see this kind of information if you run, say, objdump -rd foo.o on a x86-64 object file that has been compiled as PIC.

Note that your code fragment is not PIC, so it would not substitute in this situation.
I think it is questionable whether this kind of process can generate true random numbers given a small amount of light. Tests should be conducted in worst case conditions in order to trust the system.
I also use docpad, its up to the task if you pick the correct starting skelleton
By the way, I believe the zeros are addends and not actually dummy values. This is a bit strange because ELF has existing provisions for relocations with addends, but there it is.
It's a good article.

I would love to read more background on the acquisitions of MarsEdit, NNW, and Glassboard. MarsEdit 3.0 was released in 2010 and since then has only seen minor updates. NNW is dead in the water on OS X and completely gone on iOS. And Glassboard is losing significant amounts of money while the author spends more time on blog posts and podcasts than adding features to the app (not to talk about all those crashes).
Tried to read the paper mentionned on the website, and wondered : does "libOS" /unikernel concept means that the application is built as a kernel extension, and thus runs in kernel land ( so no context switching occures) ?
Is this an explanation for the performance gains ?
Please stop sending me your shitty Word documents – Coding 2 Learn
FANCAM TV – CrowdCast Platform
The only protection you need is this one: if you did not initiate the conversation (email, phone call, IM, whatever) then it is safe to ignore.
Can someone give a two dimensional analogy to the unknotting example?
You can extract the drivers from the NetBSD kernel into exactly that, its called rump kernel http://www.rumpkernel.org and it can run on Xen among other places see https://github.com/rumpkernel/rumpuser-xen or just in userspace under Linux say - it is getting easier to run any application on it, there is still a bit more work needed (thread support is not there yet). Working on it though, and it should get easier to build and run application code over the next few months.

One advantage of using a BSD rather than Linux is licensing, as linking Linux kernel code into your application will probably force you to release as GPL. NetBSD also has an initial portability advantage, as you could always cross compile it.
Thanks! So it's objdump producing something nobody who doesn't debug linker's rellocation code needs. Is there an option "make sane output"?

I guess gcc's -S option would make something prettier?
> I don't know what my next laptop will be, but I know for sure it will not be a Thinkpad.

I bought a ThinkPad earlier this year and returned it soon after. While the keyboard was pretty damn good, the rest of the laptop felt poorly designed and fairly janky, with resources spend on image rather than good design. The buying experience shipping from China sucked as well.

I ended up going for a Dell Latitude, which feels solid all round, still has an acceptable traditional keyboard, traditional mouse buttons, a surprisingly responsive nipple, and has a bunch of clearly thought out attributes... like all the ports being on or toward the back.
Speculating on Apple-Beats: It’s the Capabilities
Whenever I hear Northern Lights, the first thing I think of is the cannabis strain.
Which MBA offers the best return on investment?
You should get your-email-system-is-broken.com to give out addresses on in those cases.
> There are reasons why actual C/C++ compilers don't do this.

http://gcc.gnu.org/onlinedocs/cpp/Once-Only-Headers.html#Onc...

This construct is commonly known as a wrapper #ifndef. When the header is included again, the conditional will be false, because FILE_FOO_SEEN is defined. The preprocessor will skip over the entire contents of the file, and the compiler will not see it twice.

CPP optimizes even further. It remembers when a header file has a wrapper ‘#ifndef’. If a subsequent ‘#include’ specifies that header, and the macro in the ‘#ifndef’ is still defined, it does not bother to rescan the file at all.
...With the exception that everyone can read every emails (or is there a private tweet feature with twitter?).
JavaScript Performance Killers
Thanks. That explains me the part of "why."

Still I believe even PIC is not written as the input for the assembler in that form? Then I can imagine a nicer objdump which would produce something more readable (or even immediately usable by the assembler).
I don't think so. KVM provides something much more like raw hardware (provided by qemu) while Xen provides a slightly higher level interface, and an example "OS", mini-os to run on it. Your best bet would be to use a virtio based driver set and a minimal initialisation but it will still have to do more.
How to use password protected SSH keys in cron jobs
I bought Love Letter based on your recommendation, and both kids—and both adults—love it. We have played it twice a day since we got it. My five-year-old daughter doesn't really understand it, but she enjoys being on a team with someone else.

I found the user guide painfully confusing, especially considering how simple the game is. The mechanics of the game are shoehorned into a game theme that barely makes sense. In the end, all four of us watched the following video, stopping once we had got the idea: https://www.youtube.com/watch?v=hX-Du4P_FME

One advantage of Carcassonne is that my five-year-old can play on her own, because the game is "open"—it doesn't depend on players hiding their cards from other players. So whenever it's her turn, we can help her to decide where to place her piece.

Please let me know if you have any other recommendations for family games.
Or you can see it as finding out how to take the issue of money and other hygiene factors off the table.

Money isn't a great motivator. Lack of decently accurate compensation is a very good de-motivator. Same goes for a bunch of other things - I dont want to have to think about them, but if they aren't thought about it will annoy and demotivate me. Find a way to script that and it will increase my happiness by decreasing irritants.
> Detail often missed: she had a lid on the styrofoam cup, properly placed. It wasn't an open cup. The cup and lid were of low quality and, while they passed at lower temperatures, deformed at the serving temperature, enough that the lid popped off, causing the spill.

According to the Wikipedia article[1] the lid didn't pop off accidentally: she tried to remove it.

[1] https://en.wikipedia.org/wiki/Liebeck_v._McDonald's_Restaura...
Only 6.5/6.6 versions of the OpenSSH client can connect to this server. 6.5 is the first (and as far as I know only) ssh client that introduced chacha20 and ed25519 support.
That is fully my perception of it too. I really don't know why Valve is frequently so lauded as game-changer. They're just another store. With particulary shitty terms.

Discovery on Steam is a bit better than on mobile stores, I give them that.

I held greenlighting thing in high regard, but these days a lot of crap gets greenlighted so, meh.
Which breaks #includes written to be included multiple times and provide different outcomes based on defined macros.

C based toolchains are just broken.
Interesting, but I don't think this generates true random numbers.

The traditional quantum optics setup does, however. The basic design is also a lot simpler: you've got your source of photons, your half-silvered mirror, a bunch of detectors and you're ready to go.

Here are some devices from ID Quantique that use quantum optics:

http://www.idquantique.com/component/content/article.html?id...
Agreed. I had to skip paragraphs and hope I didn't miss anything. And in the end, I just had to give up.
If a file is intended to be read multiple times with different results, then obviously you don't want to prevent it being read twice. However, we were talking about preventing the hit from reading a file twice unnecessarily. The quoted text says it doesn't bother rescanning if the macro is still defined. How do you get a different outcome from scanning the same file with the same define? Can you provide an example where this breaks things?
None of that seems to change the fact that it was her own fault, I'm a bit confused how anybody could think it does.

There's thousands of people cutting themselves with kitchen knifes every year too. So what? It doesn't make the kitchen knife manufacturer somehow liable if you cut yourself if they "knowingly" sell you a kitchen knife despite being fully aware of the thousands of injuries caused by them every single year.

All the stuff about how she was injured (emotive irrelevance), how other customers are also injured - is just an irrelevant distraction to the central fact that it was entirely her own fault and her own responsibility.
Glad to see someone mention this. A quick calculation using the listener formula from (http://www.radio-media.com/song-album/articles/airplay66.htm...) says his cumulative 3 month total is equivalent to a single song play on the top station in Indianapolis, IN. Or equivalent to 0.6% (6/10 of a percent) of the number of simultaneous listeners from the top station from every market across the country. At the Pureplay rate of $0.0021 per play, he'd receive $4971 for the same number of plays as his song being played just a single time on the top radio station in every US market. It's not the fault of streaming music services that he made so little, it's just that his music isn't listened to by many people over a 3 month period on those services.
1/ I think you're right, many people will sit at home, but this is their choice and I'm personally OK with it.

2/ Don't agree many inventions are serendipitous http://www.geniusstuff.com/blog/list/10-accidental-invention...

3/ If robots can't do these jobs, wages will rise until somebody is incentivised to do them
After using Mindstorms a bit at my school I'm not too sure about their value as introductions to programming. The kids I have coming through seem to have done better things after being introduced via something like Scratch (or Gamemaker) where there isn't a break between what they code and how they get it to work. ie for Mindstorms you need to physically build something that is capable of doing the job that your program requires. A surprising number of students either didn't have the interest in that aspect or were unable to build what they had in mind.

(Also the Mindstorms software is awful.)
In my experience even a "saturated" sensor (with light bright enough to cause all pixels to read full-white, but not bright enough to cause damage) will still generate some random noise, although far less of it.

(Ironically, the cheaper the camera the more noise it is likely to have, and thus be better for this application...)
There is nothing stopping someone from doing something similar in a different language.

I made a start on modifying Movitz to build a Lisp system that would run on top of Xen.
Waiting to look at the code :)
Thats a highly cynical view. There's plenty of optimization problems that aren't about squeezing out productivity at the cost of anyone, but rather about improving productivity and employee satisfaction at the same time.

For instance - lets say that I realise I have a problem with turnover that I want to fix, because my costs of replacing staff are too high. To address that I want to spend 1M on retention activities in a year. Should I spend that on additional vacation days, or should I spend that on extra events for the staff, or on extra training opportunities? If I spend that money, will the impact on my turnover costs be positive enough to warrant the spend?

That's the kind of discussions that always pop up. Being able to quantify the impact would make it easier to do the right thing that both benefits employees and the employer.
> [FreeBSD]'s still guilty of every single criticism in this article

s/'s/ was/

I don't think that _every_ criticism in this book is still valid, far from it. Besides, Linux and *BSD ecosystems share a lot, actually only the kernel/libc points (if any) could be relevant for one system and not the others.
More or less, yeah. You would still need to use RIP-relative addressing since that is how PIC functions, but you could have nice symbolic addresses.

objdump is a very simple tool. If you want more featureful disassembly tools you should probably look at something like IDA.
Or Wikipedia?
60 Words And A War Without End, The Most Dangerous Sentence In US History
The open data index ranks countries by how much data they make publically available based on 10 areas (transport, budget, spending, etc). It isn't a full global picture and it doesn't cover all datasets in every country. However, it's still useful as a comparison tool and a way of seeing what data is (and isn't available).

They have rankings for 70 countries. The top 10 (from October 2013) are

1. UK
2. US
3. Denmark
4. Norway
5. Netherlands
6. Finland
7. Sweden
8. New Zealand
9. Australia
10. Canada

https://index.okfn.org/country
if you could quantify the requirements and goals of positions in your company

That hits on one big problem I see with all this: How do you know what the company actually wants? All/Loads of companies claim to want the same thing, and have the same vision of "changing the world". But some companies are run by abusive wankers who want cheap developers who'll be happy working 24/7 for low money. You can tell by the company's actions, not their words. If the only pay peanuts, then they only want cheap labour.

Will this big data be turned around to the company, so employees can see what sort of place the company is?
Go and wash your mouth with SOAP
I would say that it's my right to have the guarantee that there is no hydrochloric acid in a hygiene product, especially one that can get near sensible parts of the body like your face and your eyes. Sane adults can blame someone when they buy a product whose properties do not match those of what the product is supposed to be.

It may be your right to buy hydrochloric acid and to pour it over your head, but actually, that's wildly different to what you said.
Unfortunately, employers will treat that as big data experience, and hire that way. Employees are merely reacting to what the market tells them.
True story. :) We, a company of nearly 50,000, just switched from Lenovo to Dell as our primary laptop/pc supplier. A) the new models are far inferior to the old ones, B) their pricing hasn't dropped to reflect that, and C) their lead time, even for "top seller" models, is very inconsistent.
His $4 number is misleading. You have to look at both his BMI and SoundExchange statements. The webcasting Pureplay rate was $0.0021 per play for 2013. 14227 plays is about $30.
Well, everything you know about libertarians is wrong, so I had to start with the basics. Let me know when that sinks in and I'll give you another dose.
But also: http://clang.llvm.org/doxygen/classclang_1_1MultipleIncludeO...:

"Implements the simple state machine that the Lexer class uses to detect files subject to the 'multiple-include' optimization.

The public methods in this class are triggered by various events that occur when a file is lexed, and after the entire file is lexed, information about which macro (if any) controls the header is returned."

Modules improve things, but that doesn't mean one can do nothing to speed up lexing without them.
Fastest strstr-like function in C
I don't know if there would be any point to Microsoft if they didn't NIH.
Ironically, it'll just be right back to forming unions, except you'll be negotiating against algorithms.

An algorithm can't 'negotiate' with a strike, or other more extreme forms of trade union actions (like burning down the compeditors, shunning scabs, etc.)
Murphys Law and those of similar ilk
Who cares, why is it wrong to get referrals?
I think you are missing the point of the whole article.

This writing is not a piece of news that tells you something you did not know. Rather it works as a "short novel" whose purpose is to create a story around a modern-day phenomenon.
If you look closely you can see the age-old patterns of stories worldwide: the low-key individual that takes the path of the hero, the cause, the ruthless enemy, the obstacles to overcome, the relentless fight.

Overall I found it to be an entertaining read, the key here being the "entertaining" part. I do believe that the target of this piece was never the "enlightment" of the audience but rather the "sentimental engagement" of the audience.

After all, this has been the point of storytellers since the break of mankind, keep us fearing the night and happy to have lived another day.
> Either way, it's not quite so simple as "McDonalds was careless".

No, it's far worse than McDonalds being careless: They knew that their practice was dangerous, and regularly resulted in medical treatments, yet did not change their procedures.
The Best Set For Your Summer -By Aviel S/
Compare that with clippy on Windows. It's a matter of perspective: some enjoy manual clutches, and others want fully automatic, both may be (in)convenient at times. Interestingly, MS has been trying to give more CLI power to their users, and Unices have been trying to close the gap in the opposit direction. Both approaches are useful.
People start pirating when they have no real way of paying for all of the software they want (or simply need for class/peer pressure), when they see the makers becoming rich from all the payers, and a very little chance of being on the other side of this. The moral has been set, it won't change much because we're older, it would only change if older people become a large minority in the culture. It could also change if there's a lot more creator/user interaction rather than creator/payer.
Dropbear is usually the ssh-server of choice for small systems:

https://matt.ucc.asn.au/dropbear/dropbear.html

Quick check shows that both compile to about 220K without any tuning on x86_64. While I wouldn't use that figure as serious comparison, it shows that they are in the same ballpark in size.
Looking at some random datasets, this looks like it's pretty small datasets (less than a mb?) -- so it'd be nice to just have them zip-ed and available as a torrent (say plain-text description in one file, and csv in a folder per set)?

Rather than re-creating the problem of data being hard to find by splitting the download links over two-pages, and apparently requiring a click-through for every dataset to get at the data?
There are some interesting stories out on the internet (google for "419 eater" or "scam baiting".) Unlike this story they are often well documented (and in some cases, funny, like tricking the scammer into providing a c64 carved out of hardwood.)

Be sure to read their guidelines before trying anything similar as scambaiting can be dangerous.