skysight-inc/HackerNews huggingface dataset:
I don't understand.
What's wrong with this in the loop?

if err != nil {
continue
}
Show HN: Updown.io, a simple and cheap website monitoring service
Note it's not a pull request; it's an issue in the tracker. Had it been a prepared patch, I would have more sympathy towards the reporter.
Ideal link underlines don’t care about letter descenders
Before anybody gets all twisted in knots about the title, this is a paper concerning urban planning, not suburban or rural planning.

If you live in the burbs or a rural area, you probably already avoid patronizing downtown businesses because of all the hassles involved and the arm and leg it costs you to park. Those businesses assume that loss in exchange for doing business in a higher density locale. They literally have more foot traffic walking by to more than make up for the dozen free parking spaces they might be able to afford on the ultra high land prices in the city.

Other business people, thinking the same as you, then buy up a dozen acres somewhere and toss down a strip mall with plentiful parking and work out a deal with the county government to expand the road around their new mall to 3 lanes.
Uber cab driver in India arrested after suspected rape
Interesting how most people fear death but for different reasons. I fear death as much as the next guy and yet it's not about "missing out". I don't get much pleasure out of life or everyday experiences anyway so the prospect of this ending sooner or later is a non-issue, or even a good thing. It's the idea of nonexistence, nothingness, void that I can't conceive and keeps or wakes me up in the middle of the night.
The problem with this line of thought is that the number of serious contributors to FOSS is very small, the number of projects that need maintenance is large, it's not realistic to expect that someone will come in and maintain it if you step away, particularly for a small, limited-scope project like an emoji library.

The difference is not between an incomplete gem and a complete gem, it's between an incomplete gem that's still being maintained, and an incomplete gem that's not being maintained.
Have you ever maintained a reasonably popular OSS project?
If it is literally true that 80% of the emails were from India, then it's not racist to say so.
What's racist in stating a fact?
Maybe naive, but also impolite. Opening an issue with a passive-aggressive tone isn't likely to be productive.
Can you explain more? My understanding (which seems to be backed up by the implementation) is that I can call initstate_r in each thread to initialize thread-local state, then call random_r without synchronization from each thread as long as I used that thread's thread-local state.

random_r's internal state is all, from what I can see of the implementation, entirely passed in by the caller. Implementation here:
https://sourceware.org/git/?p=glibc.git;a=blob;f=stdlib/rand...
An exceptionally well written book, I'd like to add.

Many authors try to unite casual style with technical writing. Russ Olsen does it beautifully.

He never treats you as a child or an idiot. He never lets you feel his master status. He's like the good-natured old-timer who sits next to you with a cup of coffee, teaching you more than you realize.
Sorry, I didn't mean to imply that it would be easy, just that it would be a much, much better solution to the problem (in part because it would address the general problem of labor shortages / surpluses instead of being specific to some industry or type of work).
Python is another language where there is a lot of talk about idiomatic code ('Pythonic').

I wonder what an appropriate adjective could be for idiomatic Go code. Gonic? Gonian?
That is the way it is done in C: avoid indentation if you can fail out. It is very readable.
I live in Tucson, and my house is on approach for Davis Monthan Air Force base. I enjoy being in my backyard watching an air show everyday. The A-10 is quite well liked in Tucson, many people here call it "an all terrain deer rifle" or a set of wings strapped to a big gun. See http://en.wikipedia.org/wiki/GAU-8_Avenger#mediaviewer/File:...

I doubt it will go away any time soon. D-M is one of Tucson's biggest employers, and Senator McCain will want that to keep existing. Also, people in the military who serve on the ground seem to universally love it. It seems like everyone has an A-10 story. As for the replace it with an F-16 argument, I would think the most likely replacement would be a drone version of the big gun with wings. McCain would get behind that, since a lot of drone work is done 60 miles down the road at Ft Huachuca in Sierra Vista AZ.

Read about an A-10 getting shot and surviving here http://www.af.mil/News/ArticleDisplay/tabid/223/Article/1172...
> It's an allegation... As we all know from the recent media coverage, allegations are cheap, and shouldn't be trusted automatically.

No, it is more than mere hearsay according to the BBC, please see http://www.bbc.com/news/world-asia-india-30368479

> A medical examination found she had been raped, police say. A man suspected of being the driver has been arrested.
We're in a strange place with optimization. Hardware folks build very complex memory access paths (multiple caches/multiple accessors) to try and speed up the average case of unoptimized code. Then we try to trick that mechanism into performing for our particular computations. Maybe some programmable architecture would help here? Maybe not.
If you're needing to read 10 different books you are doing a very poor job of picking companies to apply to.

If you're a python developer, it wouldn't make sense for you to apply for a ruby job, a nodejs job, a C++ job, and a java job - thus requiring 4 books.

Instead, you should apply to 4 companies looking for python developers, then you need one book at most, unless you've already master the language in which case you don't need any books.

===

Coming from the companies perspective, if I have 10 applicants for a job, the first round of people to get cut will be those who don't have experience with our tech stack. If I have other applicants who already are familiar with it, it wouldn't make sense to hire someone who would need to learn a new language first.

> Why can't you, the employer, be arsed to make that small investment in your new employee?

If there is only one person applying for the job that would be the case. But that never happens. So it's your choice to have that opinion, but understand that not being familiar with the languages the company you are applying to uses will get you ranked last among all the applicants - the most qualified candidates will be interviewed first, and only if no one else panned out would it make sense to hire the candidate needing to learn a new programming language before they can actually start.
How We Can Improve Our Decisions
HyperLogLog and MinHash
Contrast with this where someone puts up a short bit of code on Github and is mocked for it: https://news.ycombinator.com/item?id=5106767#up_5106935
It's interesting to me how differently people feel about death.

I've never been frightened of it even when I've had serious health scares, I actually find my atheism comforting in that regard, you live your life and then you die and that's it.

“I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it.” - Mark Twain
Devuan – a Debian fork without systemd
This works really well for me:

1) Meditation in the form of working out: The key here is the meditation. Having regular times that you clear your mind and focus on nothing but what you're doing helps focus in other areas of life. My personal preference is intense exercise with headphones in. The music gives a harmonic rhythm that helps drown out any other thoughts and prevents my mind from wandering. Lifting heavy weights gives me something to focus intensely on and not think about the outside world. It's also extremely important to not bring your phone to the gym or watch the TVs at the gym.

2) Systematically externalizing your thoughts: I find that my thoughts feel more cluttered and disjointed the more I try to keep in my head at once. It's important to find a good and reliable system for organizing and managing everything that might occur in your head on your computer. For example, I use OmniFocus to manage anything that I might want to do ever - small tasks to big long-term goals. I use Pocket to save any reading that I want to do later. I use YNAB to budget and manage my money. I use Evernote for any random notes that I have for myself. I use Google Calendar to schedule any event that might need my attention. By utilizing tools to augment your brain capacity, you can effectively offload a lot of the processing you would normally do. It's important that you use these systems regularly otherwise they'll atrophy and you'll go back to keeping everything in your head.
What's wrong is that it's not this:
Sounds a great deal like what I've gone through in my attempts to evangelize Tcl as of late.

http://morderwerk.de/Spoken.png

http://morderwerk.de/He%20really.png

http://morderwerk.de/hates%20potheads.png

http://xan.pw/twitter/
PR = pull request

GH = GitHub
>"A) Sick people are not making a deliberate lifestyle choice."

Most likely that is the case, yes. But you can't know for sure, as there are many actual life-style choices out there that negatively or positively impact health, and as a consequence, individuals' level of healthcare need.

>"B) Public healthcare is something provided by public decision-making and majority vote."

And we've also, by majority vote, decided that people should live where they please. And by majority vote, we've elected and chosen representatives that represent that. Let's not argue democracy here by claiming that healthcare is somehow more "democratic" or more "democratically chosen" than housing and urban-planning.

>"Therefore, frankly, if the public decides it yields greater public benefit to pour taxes taken from urban areas into improving urban areas rather than into subsidizing the suburban minority of the population, that is our democratic right."

Isn't that why we're discussing this? The public already chose and/or allowed people to live freely and in areas they choose. Not only that, but they've given tacit permission (by virtue of democratic vote) to representatives and government officials to plan the way they have, and that includes suburbia.

>"Nowadays, things have developed away from the post-WW2 pattern and back towards the pattern of the Industrial Revolution: heavy urbanization of the population and the economy. Most people now live in either the core cities or the inner suburbs, and so does most of the economic value-creation."

I don't see how this has any relevance or bearing on where people are allowed to live. Just because you deem it most efficient to optimize "economic value-creation" by packing people into as small a space as possible (seemingly against their will as they're picking suburban living now), doesn't make it the right way, or the moral way.

>"Now, the stick up our asses we city-dwelling types have got, is that thanks to various aspects of the districting systems, our vote counts for less than that of a rural-dweller in deciding what to do with our own damn tax money."

That's unfortunate. You should really get that fixed up. But let me get something a little clear, as I'm not 100% aware of the voting issues in America. Are you saying that individuals that live in suburban areas are part of a separate district? And their vote counts more than yours? That honestly doesn't sound very "democratic" to me.
So the alternative in your view is to not offer anything at all unless it's complete by some objective standard? Does that really sound preferable to you?
Icdiff: side-by-side command line diffs
Wow. And what a lame apology, too.

The difference is rudeness vs. cruelty. I think the latter is vastly worse.
No incognito tab? Maybe they fixed it
Google Just Admitted More Than Half of the Ads It Serves Are Never Seen
Strangely, and Organizer can help. Software or hardware (calendar notebook), just writing stuff down in a timely helps relax. I know what I have to do today; tomorrow will take care of itself. And I have that written down, so I don't have to keep juggling it in my head.

800 articles is just a couple a day for a year. I know, more keep getting added. But some get stale too; some get skimmed and turn out to be not what you wanted. Its not about the number; its about the rate.

I need time to clear my head of ALL the stuff. During commute, or before bed, or brunch on Sunday - as long as I have respite, I can deal.
I maintain the gitignore.io repo with about 900 stars and thankfully the contributors aren't as snarky. I will say that the users of gitignore.io are probably more on the technical side, but it just seems like Jake is not familiar with the culture of FOSS. That being said, He's a 'customer' of your 'product' and even though his delivery isn't the best, there may be something you can take away from suggestion.

When I'm evaluating a FOSS project, the first thing I try and do if I find something wrong is see if there is a way I can fix it and submit a PR. Then if it looks like it's out of my scope, I'll file a bug or look for another project.

For gitignore.io, I often take product decisions from the community, but I like to have a discussion about what the best course of action is. I still have open issues in my backlog that I just haven't found an elegant solution to yet. Thankfully gitignore.io has a small enough feature scope that you can't do much with it, otherwise i'm sure the project would become overbearing very quickly.
I guess GitHub comments "make it hard not to accidentally be an asshole".
Identify the sites which consume a lot of time without beeing worth the time and then don't visit them anymore. For me it was facebook and all classical news pages.
‘Life on Earth is in peril. We have no future if we don’t go into space’
He also sent me an email which I replied to.
Impressive, but you probably see it as well as everyone else that every problem domain on your list is connected with particular set of well-known algorighms. There are no 'algorithms in the wild' - they always solve some problem.. So, i don't see any clear difference between geeking about a hashtable vs geeking about some compilation step. The key word here is 'geeking' vs 'not being interested at all how that stuff works'.
I left the random_r numbers with single threads out of the post for exactly this reason. Performance with random_r on a single thread was less than 3% faster, with a slightly higher variance (which I can't explain, to be honest).
random_r doesn't have internal state.
>The logic of atheism is inescapable, but then what?

Is it? I find that when people refer to atheism, they implicitly add to it things it does not mean. The broad definition of atheism would be the absence of belief that any deities exist, but in practice, most people who define themselves as atheists lump it up with a set of false beliefs that, although being far better than believing in a "bearded old guy in the sky who cares what I do", are still very far from being solid truths.

For example, atheism usually comes bundled with the belief that consciousness is some unreal emergent property of real stuff that is "out there" or the belief that there exists a separate material world "out there" which is different than my subjective experience "in here" (while any honest introspection into where is it that "you" leave off and the rest of the world begins would start to show the cracks in this belief).

Personally, I find the various nondual teachings far more advanced in understanding these truths than atheist-materialist philosophies and definitely far more than childish religious beliefs, and therefore better at dealing with suffering, change or acceptance of the end of a personal existence.

Of course these are deep questions and while I admit to not having clear answers, I do think answers are achievable (though not at an intellectual level) and there are enough hints to follow for who really wants to find them or (to paraphrase from an old Hassidic story), at least learn where not to look for them.
This story is constantly getting resubmitted, gets some votes, some discussion and then flag-killed. See dang's comment about it all here:

https://news.ycombinator.com/item?id=8711660

No doubt there will be more to come, and some of missed, but here are some of the submissions, most of which will be dead already:

https://news.ycombinator.com/item?id=8710607

https://news.ycombinator.com/item?id=8711146

https://news.ycombinator.com/item?id=8711178

https://news.ycombinator.com/item?id=8711196

https://news.ycombinator.com/item?id=8711222

https://news.ycombinator.com/item?id=8711409

https://news.ycombinator.com/item?id=8711510

https://news.ycombinator.com/item?id=8712248

https://news.ycombinator.com/item?id=8712326
If you get anxiety when you to have read what others think about your app, your problems are somewhere else.. mostly taking into account that you're uploading it to the app store, a place where almost nobody knows what open source is and they don't even care.
I normally don't have much sympathy for companies which get egg-on-face because of their own incompetence, but I am very sympathetic to the employees and past employees who just had their SSN and other vitals leaked onto the internet.

As an aside SSNs really need a massive overhaul. In theory they're meant to only be used for government stuff, but their use is now so broad (finance, insurance, medical, et al) that their leakage is all too common and the potential cost of a leak too damaging.

With a little bit of investment the SSA could continue to generate SSNs (for historical reasons and government department usage) and generate a new SSID which is just a longer unique number which companies are legally prohibited from storing, however when they receive it they forward it to the SSA via an API and it returns a static unique customer number (UCN) which they can then in fact store.

This has the following advantages:

- The SSA can update your SSID a lot. Every few years, every new card, or when requested. Unlike SSNs which cannot be changed.

- Updating your SSID won't break existing accounts or similar, as companies won't store the old one anyway (only the resulting UCN). Unlike SSNs which break stuff if changed.

- Leaked UCNs are not as useful because you cannot enter them into a web-site or put them on a financial form directly (it would be a different length/format to SSIDs or SSNs on purpose). Unlike SSNs which can be directly reused.

- The system doesn't depend on complex cryptography. It is just a simple perhaps JSON request over HTTPS.

You could deploy this system over ten years at minimal cost. The system is relatively simply, and behind the scenes it can tie UCNs to SSNs in the SSA's database system. A single customer would have three things (in this system): Current SSID, static SSN, static UCN.
Identify the sites which are not worth the time and stop browsing them. For me it was facebook and all classical news pages.
How Facebook makes us unhappy (2013)
Actually we're planning to keep improving it, I factored out the SSH driver into SSHKit (http://github.com/capistrano/sshkit) when I did the v3 rewrite. Right now we are founding a company, and hiring a team to build Harrow, the tool we all wish existed to tidy up some of the workflow loose ends, and bring some order (whilst maintaining flexibility) to what might otherwise being DevOps chaos. Find it (not launched yet) at https://www.harrow.io/. One of our goals for Harrow is to open source that as well as running a hosted service, and using the revenue and expertise to follow the (exceptional) Hashicorp example of building a commercial FOSS company to build excellent, useful software, whilst defining new standards, and providing all the tools people didn't know they needed.

Of course we know that Docker, and Rocket, and to an extent more of the AWS tools are automating a lot of these processes, but for every problem they solve, some people can't use them, and we're counting on "script things, run them in a repeatable environment, share the scripts, and results with your team" theme won't go away for a while (ever?), as most of what we do, even with all these modern deployment tools is still programmer duck-tape.
I ran into some Nigerians in China last year at the Canton Fair. We were in a little portable building on display, having a laugh. I mentioned that a Nigerian Prince had some money for me, and asked if I should give them the fee to pass along? A huge laugh followed, those guys were fun to chat with. Despite the (false) image of Nigeria as scammers only, talking with them and others it was apparent to me that the rest of the world is busy getting themselves to middle class - a flat screen tv in every house, a smartphone in every pocket. Those Nigerians I met were there to spend some real money, and they told me that they had been coming to the Canton Fair for years.

An interesting aside is that the Canton Fair was filled with people from every country and continent (but with noticeably very few Americans, or native English speakers). It looked like the whole world was shopping there, and the Canton fair seemed to have a sample of everything that ever came out a factory.
China has since dramatically intensified their efforts in modernization learning from Iraqi mistakes from Dessert Storm.

Ah Dessert Storm. The most delicious of all the wars.
A SCIENCE-FICTION GAME SET IN AN INFINITE PROCEDURALLY GENERATED GALAXY
>you hear that pfffff

yeah, pfffff. Here's what it really sounds like: http://youtu.be/ZAkzrxN5Jn0?t=20s
As an aside, I worked as a money broker during the 80's. When the market was quiet it was quite common to 'trade' other items. I remember my boss receiving delivery of 5,000 dildos, 15,000 cream eggs etc. The most expensive item I personally traded was a bucket of rhino poo @ about £2500. A few beers and £50 secured delivery from a keeper at London Zoo. The tube ride was however a bit awkward.
Yes, absolutely. That can be done using the global state (i.e. calling rand() or random()), or is probably better done by pulling from the system entropy pool (via /dev/urandom on Linux).
Obscurity is part of security. I have personally found that by using non-default ports for services that attempts to break in have gone down to zero. For example if you leave port 5900 open I guarantee your going to have bots trying to break in day and night. Someone would have to be specifically targeting my network to even find the ports I use(a port scan takes a good amount of time) and the services behind those ports. Of course that's not the only security in place, there are many layers but obscurity plays an important part.
His 'Zusie Simulator' is also interesting to play with - watch the bits change as the program runs.

http://www.nablaman.com/relay/sim/zusie.html
Using ReactJS with Browserify and Gulp
https://news.ycombinator.com/item?id=8711960

My story got killed too
> When you get into community-sourced libraries, names are just granted on a first-come, first-served basis for whatever service is hosting them.

Maybe they shouldn't be.

I dislike Apache being called httpd in yum, as compared to apache2 in apt. I can see how a package called markdown wouldn't be a port of the original, but CommonMark, and that would be misleading, too.

If a package managing system doesn't care, it loses some pride in my eye.
It's the illusion of security.
The DRM contains the private key (because, well, you have to decrypt it, at some point). A motivated hacker will be able to get it, and decrypt the file for its own use.