skysight-inc/HackerNews huggingface dataset:
To add to the point of one of the "better solutions": if you've got a native library that does heavy lifting (for example, a game physics engine), and you want to "integrate" it with Erlang, please don't use NIFs. Use ports. Write a small C-process wrapper around your native library and talk to it over streams or sockets or shared memory. Use the OS's pre-emptive scheduler for what it's for.

Externalizing your bulky native code into its own port-programs heavily increases your system's robustness. Very few native libraries implement a Rust-like set of safe abstractions and then rely solely on them; most just do stupid native things with pointers et al. So most native libraries likely will abort() at some point or another. When the one you're relying on does, it will of course take down "its own OS process." You don't want that OS process to be your Erlang node. You want that crash to be isolated such that the only state that's destroyed is the corrupted state of the subsystem that caused the crash. And then you want a supervisor running in your Erlang node to see the dead port and restart it, so the system can keep chugging along.

Of course, if you want that to be a low-overhead solution, then you should try as much as possible to cache anything you'd have to repeatedly send to the C process, within the C process. Treat your externalized native-library "processor" server like an SQL database server: insert complex state into it, get handles back, then manipulate the state without retrieving it by using high-level queries and commands on those handles. (I say cache, but I don't mean persist. The state your Erlang node hands a port-program should all be derived state that the Erlang node holds the canonical copies of, that you can feed into the port-program again when it crashes. Treat port-program state like state in memcached.)

---

ETA: I've never seen this design myself in the wild, but I've heard it suggested a couple of times, and it's kind of a cool idea:

Instead of a native C port-program, you can get the same set of advantages as the above from making your library a set of "dirty" NIFs running in its own isolated Erlang node. The Erlang runtime itself doesn't have much overhead, so it's pretty cheap to use Erlang as the way to "network-enable" each library you have into its own server process. Then your "business logic" Erlang node can communicate with your native-library-wrapper Erlang node, over the Erlang distribution protocol (which is very cheap if they're on the same machine.) Saves you a bunch of hassle in trying to beat C into a form that does IPC protocol-handling well.
This is so blatantly wrong, I had to create an account.

Yes, it is true The OpenBSD Foundation is not a US 501(c)3 (side note: that is not the only type of US non-profit). That is because instead it is a _Canadian Not-For-Profit-Corporation_, which is a legal non-profit for Canada.

Please, do NOT spread FUD that The OpenBSD Foundation is not a non-profit. It absolutely is.

Proof: Canada Federal Corporation Information https://www.ic.gc.ca/app/scr/cc/CorporationsCanada/fdrlCrpDt...
The OpenBSD Foundation Bylaws: http://www.openbsdfoundation.org/foundation/bylaws.html
The new divide in rich countries is between open and closed
underrated post.
FFS. Judging people based on their email client?
If you're talking about the one starting with a D and ending in ominos - Put all fake data in except for address and pay cash on delivery. In my experience even thisisafakeemail@example.com and 00000 555 555 for phone number works a treat.
It really depends on the company (size, number of staff) and the position itself. I've been in similar situations... I've also worked in smaller orgs that operated tighter operations than fortune 500 companies.
The Deconstructed Standard Model Equation
The fetch-decode-execute cycle is table lookup.

When you have table lookup, and a table is dynamically modified in such a way that this is influenced by the table lookup, that is as "exciting" as self-modifying code.
Exactly. And he seems to overcompensate for that lack by using some bizarrely complicated language like the "minimization of atoms".

Contrast that to the clear pg-style "write like you talk" writing of Musk, who has bona fide visionary credentials:

https://www.tesla.com/blog/secret-tesla-motors-master-plan-j...
Sometimes the reason doesn't need to be "good" in the sense that it's a great reason, but in the sense that it was the right decision.

I worked as a engineer at a huge billion dollar company in a newly created slot. There was 2 on the team and I was the third. Then massive layoffs. Thousands of people let go. I was one of them. Was I "good people" ? I don't know. I like to think I was, that's why I got the position. Of the 3 people on the team, I was the right choice though, least experience with the company's infrastructure, etc.

The real issue at hand was the disconnect between the team manager (who found out he had to let me go the morning it happened and was quite upset about it) and upper executives. Why was adding my position approved by upper executives in the first place if they knew that a month later they would be laying off so many, you would think they would have had a massive layoff of that size in the works for more than just a few days.

So there was no "good reason" other than "cutting cost" but if someone had to be let go, the 2 others on the team deserved the job more than me.
London's tech community is sitting in a rich bubble that needs to be popped
Abortion Survivor Shares Her Powerful Story
Surely these question are more relevant then "What would you tell your younger self" - "Don't eat ramen noodles and exercise". I think you're right he'll just come back with standard PR replies but at least you're asking question people want asked.
I feel the same way. I don't want to diminish the work put into Gmane, but every time I hit a link to Gmane I jump to marc.info and see if I can read the content there.

Still, I continue to be impressed by the amount of work people put into something they care about, while the rest of us just expects it to be there. As some one else pointed out, it really makes you wonder what other kind of one person projects we all use all the time.
I guess a silly joke I like won't work in the UK.

What do you a chicken coop with four doors? A chicken sedan.
Stop saying hardware is hard
Can you talk more about this? The only HN SRE discussions I have seen were when the Google SRE book was released and yesterday's Stack Overflow salary calculator was posted.

I still maintain that in most comments portions, "startup" generates more hits than "Google". And "SRE" is still pretty rare.

This thread contains more "startup" than "Google". And we're the only two posters talking about "SRE".
Do you really think she had to get up with the baby? I'm sure even her help had help.
It's not possible to renounce copyrights in the US; they're inalienable rights. The only way to get something in the public domain is for the copyright term to pass... and even then there are problems (see the Sherlock Holmes saga).
Was it down to luck more than anything else? She made a few bets. Most failed. One did spectacularly , yet seems to have very little to do with Yahoo as a company.
The security project reminded me of the DARPA Cyber Grand Challenge - https://www.cybergrandchallenge.com/
Wow you're pretty good with these. Simple yet refined.
Ah yes, pretty young women have it the worst in our society. Also 41 is young?
Drift simulation of MH370 debris using superensemble techniques [pdf]
The lists Gmane provided where primarily various open source projects and similar.

Gmane doesn't host the mailing lists itself. Instead it provides access to lists hosted elsewhere. It does that by subscribing to the list and then saving the incoming messages. It then provides access to those messages using NNTP, or various web interfaces (different layouts etc). IIRC it may also provide RSS. It also allows posting to the lists by forwarding the message.

The benefits are great as a reader since this is one place you can to read many lists, and you don't have to subscribe to each one etc. (Some may require subscribing for posting though.)

The other benefit is that if you get people on mailing lists asking why use something archaic like email when the hotness is various web based boards, and the project is immediately and unconditionally doomed because that is what people are used to. You redirect those folks to Gmane where one of the layouts is web board style.
If that's true, then either the Library of Congress didn't get the memo (they very clearly specify that it's in the public domain), or this is somehow a case where "public domain" means something different from the standard definition.
The point is that in this analogy, no missiles exist yet. Nobody's gone to the effort to figure that out. And then someone says "somebody might figure this out an weaponize it! we gotta figure out how to neutralize it!" and then they do the fundamental research to figure out how to make a missile at all. Now you "just" have to swap out the guidance package and instead of a defensive missile, you've got an offensive on.

Making an AI that finds vulnerabilities is the hard part. Doing an offensive thing or a defensive thing is much easier if you've got an AI that's just spewing out vulns. They don't need to be tightly coupled at all.
Orkut was a 20%-time project, not an acquisition.
Please comment civilly and substantively or not at all. These comments have taken the thread in a predictably low-quality direction, and Hacker News is not the place for this. We ban accounts that repeatedly violate the guidelines in this way.
According to exhibit B [1] - The instrument of gift - she did not intend to relinquish her rights as there are specific conditions for reproduction of the works contained in the Carol M. Highsmith Archive.

Also explicit permission is given to the library to make copies of the work for security,preservation etc.

[1] Google Gov-Uscourts-Nysd-460787-1-2
Climbing a Wind Turbine
The singularity would probably overheat the host computer.
> 2. Build an agent to win online programming competitions. A program that can write other programs would be, for obvious reasons, very powerful.

The people on top desperately want us gone, and when it happens it'll happen so quickly you won't know what hit you. Software engineers need to recognize this common threat and organize (labor) sooner than later. Even more important is for all engineers to plan for an imminent future where developers are not paid like they are now, if at all. We have it good, but we will be automated away like everybody else, just a little later.
I agree, pretty much all fluff questions. I was really hoping for some serious questions about what is Twitter's biggest problem? Is this focus on constantly growing user counts healthy for tech in general and Twitter specifically?

There's a lot of real questions that could have been asked instead of "How will you have improved yourself in 10 years?" which nobody can really answer.
Oh my gosh you're totally correct! Sorry for my mistake there.
How Companies Like Dollar Shave Club Are Reshaping the Retail Landscape
Wonder Workshop raises a $20M Series B round
You only get that special offer the first time you cancel as far as I can tell. But really, nothing about Audible is in any way defensible, I know this because I happily tried to take advantage of that special offer thing.
Norway may give Finland a mountain as birthday present
It's real science fiction. None of these problems are even close to being practical except in the fantasy world created by pop-sci news outlets.

I was hoping for a serious discussion about the problems on the forefront of machine learning.
Ah, actually I totally misunderstood the link and thought it was a genuine re-post from yesterday!
[YC S12] QA-As-a-Service, Rainforest QA, Launches Rainforest Mobile
>She's just the latest high profile example.

She's attracted an order of magnitude more vitriol than any of the other "tons of execs." It's her that HN chooses to complain about. It matters which instances you choose to be vocal about.

And it's extremely suspicious, to say the least, that an industry which insists it has no sexism problem because men are just better at it, spends a great deal of time and energy attacking a woman who presides over a collapse but glosses over or barely acknowledges the men who have done the same.
97x improvement is actually very suspicious. Thanks for the article!
How Magic Leap Works – From Field of View to GPU
He is a gay conservative men's rights activist. He has a good time and is hilarious, but his primary purpose is certainly not trolling.

What do you think he did that deserved a ban?

Here is a 3 hour talk with Milo in which he brilliantly discusses and debate a huge range of issues: https://www.youtube.com/watch?v=dGL5eRw7rXU

This is not someone who deserves to be censored by Jack Dorsey.
Executives have [employment] options. If you believe you need a talented executive to have a chance at turning around your company and your company is in dire straits, you may very well have to offer a golden parachute package to have any hope of engaging the services of the talented exec you seek, particularly when that's the norm at that level.

Failing to offer such terms amounts to forfeiting any chance to hire the talent you think you need. Offering such terms is totally rational under that set of (reasonable, I think) assumptions.
Don't forget the biggest edge Python has over MATLAB for numeric simulation, i.e., you can prototype your work as quickly, and for the same program, convert the slow portions into C or Fortran without the need to rewrite the whole thing.

That statement applies equally to Matlab/Octave. You can link C/C++/Fortran routines into Matlab code using its "mex" interface. Octave also supports this interface.

Python is more flexible, but less simple to start out with because it has a more complicated ecosystem. For example, there are many different ways to link in fast code (ctypes/cffi/cython/numba/weave/f2py/...). Moreover, the data in a numpy array can be stored in memory in different ways (C or Fortran order, not necessarily contiguous, ...), which requires some care when passing it to external routines.
Gladwell: Don't Believe the Internet Hype (1999)
Wirecard's Continuous Delivery Journey
'nobody move, we’re immigration'
Block It Yourself
I believe I did note that they have a great benefits package overall, but especially in light of all of the attention on diversity in tech issues, I believe it's even more incumbent on us to point out egregious double standards. Perhaps because they do provide a generous maternity leave, it's especially noteworthy (and to me, irksome) that the maternity leave is almost three times longer than the paternity equivalent. Stopping at a pat on the back for coming this far isn't enough.
Yeah the wiki is updated, like, once in a year
Exactly. Ellison seen on a mega boat tells you how well he is doing and thus the company. MM answering low-level employee emails in the middle of the night says she doesn't know what's going on.
I once left a "production" connection string in my local config while fixing a bug in my last few days on a job, this got checked into source control (yeah, configuration in source control is bad)... a couple weeks after I left, someone had used that connection string to connect to the database server, and truncated a table.... needless to say, there were some things that changed after that.
right but the questions have nothing to do with those society-changing products. it would be delightful if the question was "how are you going to save Twitter", but nope, it's more of useless "how are you so great" and "what will future be like"
I've spent a bit of time looking at this code. It's not really that bad, though if might be a bit of a surprise to find it if you weren't expecting it.

The most serious problem with it I had is that there's something wrong with the makefile dependency checking. For certain types of change you have to do a full rebuild.
But I'm pretty certain autotools is scarier than any memory dump, so I just put up with this.
It's a first date, both sides are on their best behavior. The more turnover you have, the more people you need to hire. And the more effort you need to put into convincing people to join.
One big thing that ASLR mitigates is non-interactive exploits. In a lot of applications, you can only send a payload once, and can't modify the payload after the fact (for example, vulnerabilities in image file processors). This is a common point of entry, and ASLR makes exploiting the underlying bugs much harder.

So I wouldn't call ASLR a weak defense - it closes off a lot of exploitation avenues by itself, and it can make exploiting interactive situations quite a bit harder. Finding that second infoleak bug isn't always quite so trivial.
Ok, you are right, it was naive for me to pull out this "black market" number from the ass, especially because I should know better, coming from Russia where there are many of these forums.

However, I still stand behind that this corporation should have paid $100,000. There are so many opportunities to exploit this vulnerability. LastPass is seen as something "advanced" users use, so it's highly probable that you could PM link to this page to some computer celebrity, and you would have access to his inbox in no-time, because most people don't use annoying second-factor authorization. This could result in a huge amount of new leaks, etc, etc. $1000 basically screams - "fuck you, we don't care about our security, and we are not going to encourage future white hat future bug reporting".
Exactly, its a SEO scam. I'm sure Google will figure out a way to stop it and give them the 40th page result they deserve.
> How do employed people manage that?

taking day off from work.
Formula E gets ready for season three with a striking new look
People usually judge others based on what they can see ("you are what you eat", but not only). Why not based on what tool they use? It contributes to establish a persona.
Hamile diyeti
NNTP is just the right abstraction to wrap any discussion-based thing. It would be nice to have just nntp://news.ycombinator.com, nntp://reddit.com and so on instead of bunch of incompatible APIs actually. It's like beautiful Perl's TIE [1] where you wrap an object in it and it exposed as regular scalar, array, hash or filehandle instead of 'an object' with it's own methods users need to learn to use it.

I think Gmane 2.0, if it ever will be born, would have a mechanism of plugins, that allow easy wrapping any web-forum in it, by writing a little template describing the layout of pages like 'this is topic, this is message body' and so on. And the crawler to use the plugins, of course.

[1] http://perldoc.perl.org/perltie.html
I'm not a big fan of the title, it implies the bias is inherent in the language. The article, however, attributes the bias to the input data; the biases that the professional journalists write into their news articles.

Although that makes me wonder whether the bias is due to the journalists themselves, or whether it's reflecting inequalities in real life.
If you do not work on an important problem, it's unlikely you'll do important work.

An anecdotal counterpoint would be that Einstein was working as a patent examiner in 1905, his "annus mirabilis"... (Of course it's not very useful to generalise Einstein's career.)
Duh, forgot about the gym. Sorry.
Because guaranteed transactions matter.

Moving $10 from Bob's account to Jack's involves:

1. Inserting a transaction to remove $10 from Bob's account

2. Inserting a transaction to add $10 to Jack's account.

Both 1 and 2 must succeed or fail in total if either of them fail (or both).

You can imagine the disaster in banking apps, ERPs and other financial systems when 1 succeeds but 2 fails and the database is happy with that imbalanced state.
Did you just make this up, because it seems brilliant? This is just the sort of thing that would get in the head of those "I'm the dealmaker" types...
This is a really impressive project, and I am all the more in awe that this guy is only 18 years old.

The project is on Github: https://github.com/FreeSRP
Reddit discussion: https://www.reddit.com/r/electronics/comments/4uic5r/sdr_pla...

He's selling a small batch of these for $350 apiece - calling it now, he's going to be very successful in his career.
This is how I came to understand the concept of crab mentality.

In Sacramento, landing a "state job" is kinda like winning the lottery because you know you're set for life. What's not to like about a job with no perceived accountability or risk and a perceived loot table that just gets better with time.

The inevitable flip side are all the "losers" of the lottery who have to suffer the vagaries of market forces. What's not to dislike about someone else lucking their way into having all those wonderful things?

There's a strange love/hate relationship with civil service in Sacramento, at least from my own experiences.
That we're living in a simulation is taken for granted. On the other hand the idea that we can comprehend the nature of the simulation or its creators should not be taken for granted.

Does a glider in Conway's Game of Life comprehend the hardware its running on? Does it know the mind of Conway?
The daily beatings will continue until moral improves... if you don't like it, you may quit at any time.
> I'd prefer to see a statistical presentation of this information, rather than hearsay, but if even somewhat true, a basic income trial in these areas would be highly valuable.

It may or may not be true, but a conservative would say welfare ultimately generates a higher rate of single parent homes.

I wish Sam & Co the best of luck with their basic income experiment but it is such a difficult issue fraught with so many complications and implications it is often hard to know how to begin thinking about it.
Most Expensive Chinese Movie Ever Made; Matt Damon in “The Great Wall”
I should also point out, that crossing the border to Canada for donations has not been a problem for Duck Duck Go, Core Infrastructure Initiative, Microsoft, Facebook, Google, Yandex, genua, HP, etc.

http://www.openbsdfoundation.org/contributors.html
The Most Popular Product of All Time
In order to file a successful lawsuit you must show damages. Simply not being able to login does not rise to the level necessary to show harm.
The framing is different. In one frame she appears to care about the QoL of her employees, in the other she doesn't necessary care about that so much as she cares about efficiency and her personal comfort.

http://i.imgur.com/LRGZRTO.jpg
MySQL does not add new features because it was bought by Oracle. But they improve performance. It is an easy to use minimal database. InnoDB engine is ACID compliant but MySQL's original engine, MyISAM is not ACID compliant. Why not ACID compliant? To improve performance.

On the other hand PostgreSQL is ACID compliant from the beginning. And PostgreSQL adds new features every few months. Some of these features that do not exist in MySQL are; IP address data type, serial fields (multiple auto-increments), row level permissions, geographical data types, inheritance, XML data type, custom data types, range data type and things that I don't know but I know that it provides many features of SQL language like intersect, except and merge joins. It is like free Oracle.

ACID: https://en.wikipedia.org/wiki/ACID
What I find interesting about this is that Windows manages to achieve all these goals (most of the time) while having a flat modern design. High contrast, responsive feedback, Windows 10 has that. Of course Windows falls short in other areas like consistency, or stupid things like have a control panel and a separate settings menu.
That's a pretty big strawman. A better recourse would be to whistle blow in that scenario. Though clearly that carries a great deal of personal risk too.

Destroying a company damages all of that companies customers and employees as well. The difference between a surgical strike of a "bad guy" and carpet bombing a country.