skysight-inc/HackerNews huggingface dataset:
> There's also pthread_atfork.

That requires linking with libpthread, which a single-threaded program would not normally do. Otherwise, it's not a bad suggestion.

Still, on top of everything LibreSSL does to automatically detect forks, it should still expose a way to explicitly reseed the PRNG in an OpenSSL-compatible way, since OpenSSL has made guarantees that certain functions will re-seed the PRNG, and there may be some scenarios where even the best automatic fork detection fails (imagine a program calling the clone syscall directly for whatever reason, in which case pthread_atfork handlers won't be called). Since LibreSSL is billed as a drop-in replacement for OpenSSL, you should not be able to write a valid program that's safe under OpenSSL's guarantees but not when linked with LibreSSL.
Great idea and pretty decent initial offering. The price is low. Consider doubling it right away. (Sorry, but I want this to succeed).
They seem to be having consistent results (modulo the landings), so it's almost safe to take a successful launch for granted (at least for people like us who are just watching).
Almost looks like he's had a stroke – if Steve Jobs could keep his cancer and liver transplant secret for a while, how long could Bezos? Doing a Google image search, there definitely seems to have been a significant change, sometime after the original Kindle intro.
Who is he
Did you exercise the shares when you left the company? Do you have emails or dated letters which can be used to support this?

Usually you have 90 days from your last day to do this (in writing, with the onus totally being on the employee), otherwise the options transition back to the company.
And they actually understand that you have to regulate the system to get competition.

Talk about your gob-smacking statements! That's right up there with "War is peace", "Freedom is slavery" and "Ignorance is strength".

Oh well, Oceania is our ally, Oceania has always been our ally...
How about passing the /dev/urandom file descriptor to the new process? That seems like the most robust solution to me.
Thanks for the suggestion, it's a good one. A few cases a message queue can be advantageous -- (1) persistence (2) a few responders can work on the same request in parallel (3) adding/removing responders dynamically according to the load.

These are not common/generic use cases but would be useful under particular circumstances.

* I could be wrong with (3) -- I'm not very experienced in reverse proxies.
They can't have the same PID at the same time.

I think the scenario here is that process X forks, creating process Y, then process X terminates, then process Y repeatedly forks until it creates a process Z with the same PID as X.
Well I'd like to know build numbers internally, just only when I change things. So if I put build 12500 on 3 iPads, I can track the crashes.
That's a problem Wikipedia has in general; improvements to Wikipedia's botany coverage are not going to meaningfully change it one way or the another.
The options agreement was included in the employment contract?

In my experience they've been two separate documents. If you do have both (or if they were combined) signed then you should absolutely contact a lawyer.

They'll contact the company and then the company will contact their lawyer, who will most likely tell them to just give you what you're entitled to.
The only thing that pisses me off is that when I contribute I'm expected to write half a site in addition to such an infobox, otherwise a mod comes along and movees it into my sandbox.

That's the main reason I always stopped editing Wikipedia right away after I tryed.
Sometimes I wonder if those buttons have some kind of 'scramble grammar' logic built into them...
Porting Death Rally from DOS to Windows
The libc on my system, Ubuntu 14.04, exports __register_atfork, which is documented here:

> http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB...

pthread_atfork itself really should be moved into libc, however. (And POSIX should stop treating it as a redheaded stepchild: it's useful!)
Are you registered for the Startup Soccer Cup benefiting Room to Read?
I am not an attorney but have done a lot of legal work in various companies I have been involved with and have a lot of experience with employment contracts. You definitely need an attorney that specializes in employment law and I might be able to recommend several but I would some additional info about your situation. Your profile doesn't list an email or phone so if you want to provide a way to contact you I can get in touch to see if I can help further.
At least part of the problem is that he's generating what one might call 'info trash': he's taking highly structured information from databases, and turning it into natural-language prose, a data source of less value since it's less structured.

These prose versions are now going to steadily fall out of sync with the original databases, be much more prominent in Wikipedia and Google, diverge from each other, be harder to parse and perform any complex analysis on (a database is at least relatively comprehensible, but to parse his dumps you have to hope you can reverse-engineer it, no other bots or editors have modified it much, and that he didn't get clever with his format strings), etc. If at some point one wanted to change something about the presentation, it's no longer a matter of editing one template and now the user-friendly HTML view onto the database is automatically updated for all viewers, now one has to run a carefully-written bot on millions of articles (and since that is beyond semi-automated bots, you have to have special permission to run it).

It would have been better to work on merging databases or exporting them into a structured site, something like Freebase.
INSTAGRAM
HACK INSTAGRAM
Startup Warnings Signs That Investors Must Avoid
This coming from an article that uses the beer market to try and justify their leftish wing nonsense, despite the booming craft-beer / micro-brew movement going on around us. Color me unimpressed.
How startups, VHX and RedisToGo, get feedback from users within emails
If Wikipedia were the only website I'd agree, but I don't find it useful for Wikipedia to have stubs that are simple copies of other freely available sources (especially more authoritative ones), without some kind of synthesis or value-add. In the case of species, for example, I think there is little value in a Wikipedia stub that is just a reformatted copy of the ITIS entry (http://www.itis.gov/). If that's what I wanted, I'd just go to ITIS. When I see a Wikipedia result in a Google search result I typically expect it to be the basic taxonomic information one would find in ITIS plus something more. Otherwise it feels like some of that autogenerated SEO-style spam, which Google should penalize.

It also doesn't always really help in jumpstarting future improvements, if the structure doesn't align with the granularity that makes sense for an encyclopedia article. For example if there is a genus with three species, each of which is very similar and has very little distinctive written about it, the normal organization would be to write one article on the genus, with a short discussion of each subspecies in the main article, not broken out into three separate duplicative and near-empty articles. You'd only break out into separate articles on each species if there's enough to write about them that covering them as a group becomes unwieldy (this varies widely by species). If I were to hazard a prediction, it's that the English Wikipedia will as a result tend towards better organized species coverage than the Swedish Wikipedia, which will never get around to reorganizing these articles.
I mostly agree.
Oh really?! Maybe i have lots of bacterias in my intestine.
From the SQLite docs:

> An SQLite database is limited in size to 140 terabytes (247 bytes, 128 tibibytes). And even if it could handle larger databases, SQLite stores the entire database in a single disk file and many filesystems limit the maximum size of files to something less than this. So if you are contemplating databases of this magnitude, you would do well to consider using a client/server database engine that spreads its content across multiple disk files, and perhaps across multiple volumes.
If anyone has a recommendation on a law firm I could retain i'd be grateful for the guidance.
Assume a fairly busy system

* Original process with PID 17519

* PID 17519 forks producing a new process with PID 26606

* PID 17519 produces some "random" bytes then exits

* PID 26606 forks producing a new process with the now unused PID 17519

* New PID 17519 produces some "random" bytes, which will be the same as the "random" bytes produced by original PID 17519, causing a raptor to attack the user.
And the cool thing is, you can just put http://3626153261 in your browser address bar and end up at slashdot.org (news.ycombinator.com is behind CloudFlare, which doesn't allow IP-based access for obvious reasons)
What do you mean? Do you want to read the build number on runtime? There is a way to do that, when you put them in the plist, just run [[NSBundle mainBundle] infoDictionary][@"CFBundleVersion"] to get the NSString.
That's not what I was thinking but it sounds like yet another case where you could fool LibreSSL's fork detection.
I'm actually kind of disappointed that there's not more information available. It still seems better than what we got before, which was even less informative. And it would be niceto have that synopsis, but it's much more useful to have a standard so we can compare across schools.
That actually seems like a harder senario to rationalise, that a corrupt oligarchy is providing more competition and better services than a free market.

While Russia does have it's political elites and corruption (Like pretty much every other country) they aren't idiots, they have been on the other side of free markets and there are few there that know it's value.
Very large data-sets:

> An SQLite database is limited in size to 140 terabytes (247 bytes, 128 tibibytes). And even if it could handle larger databases, SQLite stores the entire database in a single disk file and many filesystems limit the maximum size of files to something less than this. So if you are contemplating databases of this magnitude, you would do well to consider using a client/server database engine that spreads its content across multiple disk files, and perhaps across multiple volumes.

Very large amount of traffic:

> SQLite usually will work great as the database engine for low to medium traffic websites (which is to say, 99.9% of all websites). The amount of web traffic that SQLite can handle depends, of course, on how heavily the website uses its database. Generally speaking, any site that gets fewer than 100K hits/day should work fine with SQLite. The 100K hits/day figure is a conservative estimate, not a hard upper bound. SQLite has been demonstrated to work with 10 times that amount of traffic.
What is gcp? It sounds like you have some alias setup for cp and that's interfering.

Try:
/bin/cp bigfile bigfile2
These are (almost) one-sentence articles. They're not appropriate for an encyclopaedia. If anything, they should be in a 'list' article format.

If you want these kind of one-sentence descriptors, they would be better served in a specialist publication.
This looks very nice; automated access to and analysis of the huge amounts of source code on the Internet could be a game changer for programmers everywhere.

As an aside, when I saw Google in the URL I thought that this was a rebranding of Steve Yegge's "Grok"[0] project. Does anyone know what's happened to that?

[0] https://www.youtube.com/watch?v=KTJs-0EInW8
Ask HN: Any software engineering focused management trainings?
I have spent some time googling, but haven't come across anything particularly focused for helping train software engineers on becoming better managers of other software engineers. (If you have a great recommendation on general management training, I'm definitely interested in that too!)
You could probably also save some bandwidth, because you're only displaying the top 400 pixels of that background image. There's no need to load the entire thing.
Intellij IDEA Ultimate (or any of their other paid IDE tools) has a built in cross-db GUI tool for editing, creating and modeling databases. If using Intellij IDEA, it also has support for SQLite on Android, which is a huge benefit if you ever had to deal with SQLite on Android.

Aside from that, the IDE will also detect SQL queries in one's code and syntax check them. It also lets you run the query directly from there with user generated parameters without having to execute the code file itself.
Wait, who has been pretending that what we have now is competition? Most places I've lived have had a choice of the local phone monopoly or the local cable monopoly.
I've had a number of offers die on relocation. It's a surprisingly high percentage. In addition to the shitty DIY lump sum packages that never cover more than a fraction of the expenses, you see the shitty clawbacks. It's nuts.

I feel like being a programmer is like being an 18-year-old girl on a college campus: so easy to get activity, but so hard to get respect.

Relocation is a great filter against activity-without-respect jobs.
Very good example of a difficult problem. The answer to it is not government. I always challenge myself and others with this: if you had a problem for which government seems like a very reasonable answer, can you design a better solution?

And indeed, you can. In this example you have to realize that what government is selling to consumers is the service of preventing eventual rise in prices after the competition is weeded out. If, as a consumer, I am worried about such predatory pricing as in your example, what is to prevent me from signing a contract with a company which specifically states "you are not allowed to raise the price"? Then this contract can be enforced by whichever private court and protection agency I hired (how this would work is a matter of a separate post, but I recommend reading "The Machinery Of Freedom" by David D. Friedman on that subject).

However, I don't really think you'd need that contract. What would really happen is that many companies would have infrastructure in many places (as is the case in my country) or you would have alternative connections (as, again, is the case in my country with a 4g operator Yota). Or you would have willing rich investors if they see that opportunity exists to disrupt the market. Finally, people may move and stop using the service if they dislike it.

There are all sorts of opportunities. Government is just one solution with a very high cost indeed: you have many people die in bloody wars which are run for your tax money and on your behalf (as is the case with both of our countries, I suppose). And no, however you wanted it, with government you can't have only the good things and none of the bad ones. It's logically impossible, because for a politician the economic incentives are always in the wrong place.
OpenStreetMap attribution...
There is a silly Russian saying which school teachers usually use on that really smart asshole kid in the class -- "a fool got blessed by smart head".
Somehow reading this made me think of that.
Also think of the environment, how much power will you waste on this useless hack if it were to get wide adoption (not going to happen of course, but _if_)
> The only people who would need this information are botanists, and they already have their own specialized sources.

So, that's a nice benefit for botanists (particularly amateur or student botanists), with only a very minor cost imposed on everyone else (namely, the slight namespace pollution, but that's very unlikely to manifest itself). Sounds alright to me.
To see some quick action: `for(var i = 0; i < 50; i++) $(".faster").trigger("click") ` it gets interesting to watch at that speed.
As far as I understand it, AIDS is a syndrome rather than a disease because while the cause of the immune system deficiency has a single cause, many of the symptoms are caused by secondary problems that arise because of the immune system deficiency, and so the symptoms do not have a single direct cause, even though they're all indirectly the result of HIV, and the immune deficiency itself is a direct result of HIV
Squink Lets You Print a Circuit Board for the Price of a Cup of Coffee
10 Time-Saving Social Media Tools for a Productive Summer
If one-sentence articles are considered a problem, that seems like a reasonable choice for Wikipedia to make, but it would apply to human-written and bot-written articles.
usual legalese: I am a lawyer, but I am not your lawyer. I'm no longer practicing. You need to get yourself a lawyer ASAP. Where are you located?
It's standard to have a commenting session on a proposal. It neither signals support or withdraw from the issue.
It looks like this is a re-invention of agvtool(1)---which ships with Xcode, will synchronise updates across all versioned targets in a project, and has options for differentiating marketing vs. development numbers and generating source files.

https://developer.apple.com/library/mac/documentation/Darwin...

https://developer.apple.com/library/ios/qa/qa1827/_index.htm...
Suggestion #2 is probably feasible outside of the core commute hours -- which is inline with constraints because Caltrain runs trains more frequently during commute hours already (ie. this service is not needed then).
I think that domain is around a day old or something. At least the site is.
http://yarchive.net/comp/linux/getpid_caching.html

Reading that thread it seems like direct calls to clone(2) can bypass at least glibc's pid cache (which would likely also break LibreSSL's approach).

Any idea if direct calls to clone(2) also bypass pthread_atfork?
> The key is to acquire resources in places that can fail and use them in places that can't. I'm amazed and disappointed that the LibreSSL people aren't following this basic principle.

To be fair to the LIbreSSL devs, the Linux-specific /dev/urandom code is currently encapsulated rather nicely behind an interface that's compatible with the OpenBSD getentropy() syscall. Following your suggestion would create a layer violation and move LibreSSL closer toward the (much maligned) OpenSSL approach to cross platform compatibility. I don't think this is a great excuse for the current design, but it's an explanation.
You're correct on 3; I actually did this in a large system I wrote and worked on at my last job.

It wasn't quite dynamic (it required an engineer to set new values for how many workers you wanted..) but we could do this via a GUI.

For (1) what do you do with the persistence? A web request, in general, is not important after a few seconds.

For (2) how does Polyglot accept multiple responders for a single request, and how would it join the responses?
Ask HN: Hiring Hacker-in-Residence (HiR)?
Are there any startups or company with innovation labs hiring hacker-in-residence?

If not, why they do not?
whats the main reason you guys chose Go?
i'm located in north carolina, company is in VA, the company that acquired them has several international offices, not sure where they're based out of yet.
As you pointed out, really not the same use case.
Firefox and Chrome use SQLite. Imagine if you had to download and install PostgreSQL just to browse the Internet.

SQLite is not meant to be a multi-user shared database. It's never going to replace a database server if that's what you need.

The reverse of your question is: is there a good reason to use PostgreSQL when you can use SQLite?
Why must it have its own PRNG? Is there a problem asking the kernel (via /dev/urandom) for all required entropy, at the time it is needed? Or would this cause a real-world performance problem?

Surely this is an obvious first question that all commentators are stepping over?
I don't really see an argument in favor of longer extensions except in rare cases (such as with html where you only need one extra letter). `mp4` tells me just as much about a file as `mpeg4` does and is equally easy to remember, plus it saves a few keystrokes.

The same logic applies to most programming languages. I have no problem remembering `.js` is javascript or `.rs` is rust. And I think the vast majority of programmers would agree with me.

Further, filenames don't play a large role in most (nontechnical) users lives. The tools they use (e.g. Word or Excel) append the filename for them, so they don't worry about it at all. The only people who routinely write filenames by hand are coders and they're familiar enough with the extensions that shortcuts work fine.
startups would struggle to compete against those who were
able to afford paying for a fast lane--or an exclusive
fast lane. Even the slightest discrimination or paid
prioritization significantly affects startups, as
microseconds matter with both webpage-loading and
real-time content.

This suggests that startups struggle to compete against those who are able to pay to use CDNs to improve their webpage-loading times. However, this is clearly not the case, and undermines the argument.

If a "fast lane" cost as much as using a CDN, then presumably most startups wouldn't have a problem with it.
FutureAdvisor (YC S10): Help middle-class families secure their financial future
Engineers probably have more leverage now than at any other time in history. We can now make great tools that empower large numbers of people in a matter of days. Join our team of 30 in downtown SF to serve American families by giving them access to unbiased financial advice & automated investment management to improve their financial future.

Until recently, only wealthy families could afford the unbiased advice that made their investments grow safely. With software (written in Ruby and Objective-C), we're bringing those services to the rest of the country.

Our team includes mutual fund managers, financial advisors, mobile-games studio heads and journalists. Our engineering team has built mission-critical systems such as Microsoft's Azure and Windows Server, and we bring the same diligence to managing the life savings of our customers.

You are:

* An experienced software engineer (2+ years)

* Experienced with web development technologies such as Ruby on Rails and CoffeeScript

* Someone who takes initiative, finds what's broken, and fixes it

* Team player: equally comfortable working with everyone from marketing to client services

We provide:

* Competitive salary & meaningful equity (we're still small but growing quickly)

* An industry-leading 401k plan (naturally ;)

* Health, vision, dental, gym, transit pass, etc.

* Free lunch, snacks, & drinks in an office right above Montgomery St. Station in downtown SF

* Your own hardware budget & an unlimited books budget

If you know someone we should talk to, and especially if you are that someone, write me at bo.lu@futureadvisor.com. We are based in San Francisco, and hiring for roles here. We will relocate & sponsor TNs.
how much is this 1000 shares worth (roughly)? is it worth hiring a lawyer?
> The key is to acquire resources in places that can fail and use them in places that can't. I'm amazed and disappointed that the LibreSSL people aren't following this basic principle.

Wow, great find! LibreSSL could avoid this by calling the getpid() syscall directly.

> Any idea if direct calls to clone(2) also bypass pthread_atfork?

They do, since atfork handlers are invoked by the userspace wrapper for fork().
> Which is possibly (probably?) correct in this case, and many other issues we as tech people care about.

There are plenty of issues that average 'tech people' dont care about that other professions might. I have not seen any evidence that as a whole technical people care more about whats going on in the world.

When voter turn out is low, it is not because people dont care about the issues. It is because they dont believe their vote is being counted, cant distinguish between candidates, or simply dont think any candidate can lead to the kind of governance they would prefer.
"Best I can do is $7!"
Abbreviations are convenient. I'd rather type .psd than .photoshop or .m than .module.