skysight-inc/HackerNews huggingface dataset:
I read Gitflow differently. Feature branches should be merged to develop as soon as possible. This lets others integrate the changes into their features, current and future, and build upon it instead of having a single multimerge from hell later. [0]

Release branches are where you do integration testing of all the merged features. If you have fixes, you merge them into the release branch. Then, once it's OK'd for release, you merge those patches down to develop. Note that this is also exactly how hotfixes work, as they're just a different type of release.

[0] And yes, you will find bugs in other people's code... I don't think anyone is claiming that source control processes can fix that. And if they are, I will call them a silly goose.
The fun starts when you have a multi tenant system, and you end up with some users having the flags enabled and some not having them enabled. You may find that you have to support both "branches" in the long run. Which can be a good thing in the sense your product is more configurable, but also entails a lot of the same grievances of branching because you end up supporting multiple variations of a feature. Or multiple combinations thereof
Maybe. I understand the physics says there's an ISP benefit. Standard rocket engines are well-understood though, work well, allow for retro-propulsion, and you can synthesize methane easily on Mars.

In the long term when the space transport infrastructure is as well developed as the terrestrial one, I can see the benefit of having different systems for different purposes, so you get the specialized benefits. But I'm not sure we are there yet.

To use an analogy from history, we aren't at the Golden Spike moment yet where California was sufficiently settled to warrant a continental rail road connecting the East and West Coasts. We're still in the exploration and settlement stage, and while trains may be more energy efficient, what we need is a Conestoga Wagon that can be operated and maintained by the settlers themselves while they live off the land and develop the first homesteads.
The Cost of Bad Customer Service
Yes, it may seem counter intuitive, but most Pro are the ones who dont want to fiddle around with their computers.
Yes. Occasionally I'll open a 100MB+, or even a GB, log file without realizing it, and it will take vim many seconds to give me control.
Surviving its weight says nothing as to how much of a dynamic impact it can withstand, and earthquake debris can fall from great heights.
I've actually done undergraduate research with AOSA, and by far it was the most interesting to analyze the differences and commonalities in architectural approaches between FOSS projects with similar domains.
By the time a top of the line PC needs an "upgrade", an entirely different CPU/RAM architecture will probably be top of the line anyways.
The cache architecture looks much like Oracle's, which I guess was the model at the time it was designed.
PRs on my team are done at the request of the author, who maintains full responsibility for the code. When review is complete, the author merges when they are ready (they have full access rights). The author has the right to ignore whatever feedback they want, since they will share the burden of whatever bugs are introduced. However, merging bugs knowingly and/or ignoring feedback is frowned upon.

Reviewers are expected to provide whatever type of review the author requests, including manual testing and review of system impacts. Their comments do not require a response from the author, unless they ask questions. It is frowned upon to comment too much on code formatting.

In practice, our developers submit PRs for just about everything. Most PRs are small, and most feedback is addressed. Reviewers are thanked and given kudos for finding issues. Knowledge is shared, and the codebase is improved. I’d estimate that 90% of our bugs are caught in review.

Product quality has improved drastically since we implemented this practice. Developers consistently state that our PR process is their favorite part of the job. They get to share their work, get feedback, and become better developers.
One thing I think about a lot in these situations is how constraints that come in at the high level can end up influencing your low level design. I've spent the last couple months writing a codemirror replacement for an in-house DSL IDE (in Javascript).

My particular use case required that I parse whatever was written in the editor in a few ways: a lexer pass for syntax highlighting and a full parse for semantic feedback (much of which is provided somewhat unpredictably from AJAX calls, for various reasons). And I knew that touching the DOM (which I'd have to do to keep the syntax highlighting/semantic feedback up to date) is typically going to be a lot slower than doing a few thousand loop comparisons in JS.

I looked into structures like ropes and whatnot that would enable fast edits, but I realized that in the end I wasn't going to do better than linear in the worst case, for a few reasons, e.g.:
1. Suppose the user enters an open quote at the first character: every other character just flipped from outside a quote to inside or vice versa and I'm going to have to re-parse the whole document to update my semantic analysis (and syntax highlighting, though that would only require a partial re-parse).
2. Edits that change the line number associated with errors are going to require me to update that display and you can make a document with a number of errors that grow linearly, so entering a newline at the first character was potentially linear...

So I ended up just using a doubly linked list of tokens (as returned by the lexer) and re-lexing tiny sections around a cursor when the user enters text. Collectively the whole thing turns out linear and but it saves a ton of work by re-using the same structure when I'm doing parsing and semantic analysis. Doing it this way let me do my own DOM reconciliation and update the absolute minimum number of DOM nodes for every edit, which ultimately has a huge effect on performance because touching the DOM is expensive. And one can set this up so that (at least from the lexer's perspective) undo involves just snipping the old middle segments of the list back into place.

So it turned out that higher level requirements (eventually having to actually parse the text and update the display in various ways) made it so I wouldn't really save any work optimizing at the low level.
Can you share more details about the battery status API tracking? Would love to see how that correlates to a unique user.
I am dealing with gigabyte sized log files almost every day.
Would you please moderate hateful and bigoted statements on HN, then?
> Prisoners already have communication mediums that guards can monitor

Those are often exploitatively priced, a situation Ajit Pai has sought to preserve:

https://arstechnica.com/tech-policy/2017/02/republican-led-f...

https://www.nytimes.com/2017/06/13/technology/fcc-prison-pho...
> cryptocurrencies basically guarantee pro-cyclic austerity programs

I never heard about this, can you elaborate a bit more this idea, or point me to some article about it?
Thanks for the recommendation. For anyone else interested in reading it. it's on gutenberg:

https://www.gutenberg.org/ebooks/search/?query=The+Autobiogr...
How do I input an image? There's no option to do that on Firefox 58.
Trying for 12 hours every night due to a recent concussion. Second in two years. Sleep is one of the best things for mTBI/PCS.

Productivity impact is annoying in the short term but it's definitely the optimal long-term chocie.

Normally I get 7-8 hours.
Fisting is not such a weird thing in the Berlin gay culture, but seeing it mentioned in a HN link is definitely kind of weird.
I'm sure Apple have done their research, but it also feels a bit like a stopgap. Who would buy this over a MacPro tower at similar cost?

This is aimed at people with the Mac Pro, not those with iMac of MacBook (at least thats my impression)

What I was getting at is that the people that prefer the All-in-one are likely e.g. graphic Designers etc, meaning people who already have MacBooks or iMacs. Not the hard core machine learners, VR creators, color graders etc that today have old Mac Pros and $5k screens.
Textual dumps of SQL databases also fall in this category. I remember having downloaded a huge sql dump. I couldn't open it in most editors because they all buffered into RAM. The file was about 13G in size and did not fit into the RAM of any machine I own. But in this case using ropes wouldn't have helped either, I guess.

Text editors should also take huge files into account and provide sequential reading from the disk to memory. Even on Emacs, I couldn't work with the file. I ended up fixing it and importing it to Postgresql. And then I spent hours on indexing the necessary fields :).
How to Learn Web Development Pt.1 – Where to Start
Looks like it does not work on mobile chrome
I use emacs, but it has lots of problems; I'm still waiting for an editor that combines its good qualities while resolving the problems. (And I'm tempted to try to write one.)
Fair point, but do you actually edit log files in a text editor?

Because if you're just viewing, the "array of characters" representation is going to beat just about any other hands down, especially if you just mmap() the whole thing.
I don't think it's accurate to say that the risk of spending $1 per Bitcoin in 2011 is proportional to the $4000 reward I have today.
“The Mom Test” or How Not to Fuck Up Talking to Users
Can someone explain what is the feedback mechanism to self-correct the clock? This biological clock like any other clock will deviate from the true time after a while, maybe weeks or months; so what is the self-correcting mechanism in the biological clock?
This is not the video I had in mind, but here it is https://youtu.be/XQ4Y27RQaZk
> And no mic input? Why? That's just silly. It cost them more to leave that out.

Do you mean separate mic input? Because it has the same combo headphone jack as all existing Macs. So it has mic input.

As a pro audio user, a built-in mic input is useless anyway. We have external USB3, TB, or Firewire interfaces for that. Lower noise, better DACs, phantom power, HiZ and XLR inputs, etc.

Beyond pro, nobody uses mic input unless they are using an iPhone headset on their Mac. Everyone is using USB mikes/headsets.
Introduction to Tree-LSTMs
They'd be stupid to throw away money / working components. Often, old PCs go back to a "pool", where they are upgraded or scavenged for parts, and then given to new employees. Only when they are too old to upgrade, or it is not worth the work, they are sold to employees or dumped. From the perspective of employees, you just get a new PC.

Essentially you just need a room for parts and a few employees part time, and you can use your computing resources much more efficiently - basically free money. Granted, it only works for organisations of a certain size (large corporations, universities, gov.).
My Favorite Strange Loop 2017 Talks
Completely second this. And on a side note, WeChat is a lot more innovative than WhatsApp!
well since we're sharing anecdotes I have seen machines get upgraded at work.

working on a game. PVS calc took lots of memory and lots of time. Everyone's machines got a 6x upgrade in ram so they could be used at night to compute the PVS.

another anecdote. friend in another game found rebuilding assets on SSD was several X faster. Since the entire team was often waiting hours for asset builds to finish all machines got upgraded to have SSD.

this is especially true in GPU related fields. new gpus enable new things
As a South African this just sounds like a standard process for doing anything at all in this country. Took me 8 months to get a fiber line and several strange holes in my wall.
And those are...?

It's hard to refute or agree with you when I don't know what you're talking about. :)
> but...the research being awarded is over 30 years old!

This is not irregular for the Nobel and Nobel-like awards.

> To say there's not been any more noteworthy and validated discoveries in Medicine since the mid '80s, well, I just don't buy it.

Who said otherwise?

> in Academia, politics and "playing by the rules" is valued far more than actual results.

The Nobel is an award whose supply is -- by design and definition -- massively and artificially constrained. Politics is just what happens when there are fewer resources than people who by all accounts deserve the resource. So Of course such awards are political. Your observation is just a tautology.

Also, you can replace "in Academia" with "in life" and the statement will be just as true.

> Just for starters, the fact that Venter still does not have a Nobel is a crime

Okay, and what about all of the other names that also could have come after "Just for starters"? Not everyone who deserves a Nobel will get one. That's life.
I will say that we had some issues at one fortune 500 company where we were passing RAM sticks out to contractors because the computers had pitiful amounts of memory, but they weren't fully capitalized.

Dumb things happen when productivity is abstracted. But again, these are not the people given iMac pros.
I've seen increased RAM and changed video cards to get multiple screens. The company I work for buys 1 standard setup, then upgrades depending on who's using it.
Hey, it looks very cool. However, it's hanging my browser. Haven't looked at the source, but maybe this should be implemented with web workers to increase perceived performance.

Anyway, great work. Congrats!
This is one of the best articles I've read recently.

Another recent article that I can't stop thinking about also covered the malign naïveté of Facebook -- "Zuckerberg's Preposterous Defense of Facebook" by Zeynep Tufecki [0].

The entire thing is so well reasoned it's hard to choose just one snip, but here's one:

For those of us who are tolerant of a wide range of ideas and arguments, but would still like deception and misinformation to not have such an easy foothold in society, Mr. Zuckerberg’s comments do not inspire hope...

Since Facebook has no effective competition, we can look forward only to being lectured on being more tolerant of "ideas" we don’t like, and to smug talk of the false equivalency of "both sides."

By the way, thank you for "supererogatory", I didn't know there was a word for "good but not morally required to be done".

[0] http://archive.is/PGt1E
I've tried most of the advices mentioned except (serious) meditation and melatonin. Exercise has the opposite effect for me - it pumps me up and makes falling asleep even more difficult, and since I exercise 3-4 days per week after work, this is the main driver that keeps me awake. I also wake up every day at the same time. The problem is not the waking up part but the general feeling of exhaustion that accumulates during the day and the week because when I feel like falling asleep (between 1 and 4 pm) I am at my busiest at work, so I just push through and by the time I am at home and ready to relax, my body has given up on the idea of sleep.
Ask HN: What side projects can you do to learn more about Distributed Systems?
I’ve been learning about Distributed Systems theory, but I’m looking for some small (weekend) project ideas that really cement my understanding. I’ve thought about implementing research papers I read, but most of them are non-trivial.
More than likely if you are sending a fax to someone in 2017 they are using a third party service to recieve the fax. I doubt Apple is using a physical fax machine.
Curious about using Tor for anonymity. Tor explicitly asks users not to use it for bittorrent for many reasons. So if I have a ZeroNet site serving a nice big video over bittorrent, does my visitors' using Tor for anonymity go against their best practices?
1. We're discussing the nature of truth, fact, and how we distinguish them.

2. My philosophy has relatively little to do with Slate Star Codex, so attacking him does nothing to disprove it.
I'm following the developement of zeronet for the past 3 years. I'm not convinced that it is the final solution to the decentralized internet. A main thing that bothers me is the insane lookup-time for site with a low distribution. The same problem occurs with ipfs btw. It takes up to one minute to find a the correct node when only one node hast the content-hash.
Locking Down Permissions in PostgreSQL and Redshift
Just a guess... your battery level isn't going to change dramatically from second to second. If its provided with a high degree of precision, it would be a pretty good short term key.
Ah, well, not the C++ version, it seems (which is the one I use): https://github.com/graphql/libgraphqlparser/blob/master/PATE...
Cool. I'm getting some great results. Would be awesome if you could train your own model in the browser too.

By the way: How does a NN learn from a single image? I understand how a NN can learn to classify images. But how can it learn a style from a single image?
This. Instant media center that's better than any Roku/Firestick/whatever.
This is the attitude that I find incessantly arrogant. And it is probably the same attitude that Tim Cook and the apple leadership have.

Just because you cannot imagine what people might need to use a computer for does not give you the right to tell them how much performance they need.

Perhaps they are going to the arctic circle and have to rely on parts lying around if anything breaks!

Perhaps they work with cutting edge computer graphics and need a brand new GPU with a certain new feature or hardware chip to test out!

Perhaps they are simulating something gigantic and it is easier to test out parts of the code on a local machine with a PCIe add in card before pushing it to a supercomputer.

This is the definition of a PRO machine, people who have extraordinary requirements and need power and flexibility. Stop telling them they have "enough", you are not in the position to make that call.
14 Mobile App KPIs to Take Your App to the Next Level
> How would one make it 'practically impossible'?

I can think of two fairly simple measures.

(1) His weapons should have been inspected on entry to the hotel, to ensure not only legality but condition and unloaded state as well. In this case, that would have resulted in them being flagged as illegal full-auto conversions.

(2) Ammunition should have been stored separately, in the lobby or the basement, in total accordance with what responsible gun owners already recognize as best practice.

With these two measures in place, he might have been able to do some damage, but a semi-auto and one magazine would not have led to the kind of result we actually saw.

> The NRA defends against removing a constitutional protection against tyranny

The NRA does no such thing. The measures they support or oppose would make no difference if the day ever came when we needed to defend against tyrants commanding a military with modern weapons and training. If you look at the paramilitaries that the NRA enables, it would even be fair to say that they're promoting the tools of tyranny.
Current eGPU enclosure technology is for powering up a machine with integrated graphics, not keeping up with top of the line cards.

Thunderbolt 3 just isn't fast enough for that to be feasible. The bottleneck is such that there's already no point in putting a high end card like the GTX 1080 Ti in an eGPU enclosure (Source: https://arstechnica.com/gadgets/2017/08/laptop-external-grap... ).
I'm not sure that Venter should get a Nobel. He has played a big role in science over the past 2 decades, but I'm not sure that any of his accomplishments are Nobel-worthy. I certainly don't think he will get one for his work on the genome project. The genome project was such a large effort that involed so many people that I can't imagine selecting a few figureheads to recognize with a Nobel.
All porn is Art.
I am very excited for this. I will buy a free software phone with Matrix as a first-class citizen in a heartbeat. Matrix and Purism seem to be putting a lot of effort into paving the way for truly free phones.
Does anyone else see it as an issue that the decentralized website solution to databases is to create a copy of a SQLite database on every user's machine?
Never met the Gentlemen. But it still makes me wonder how FB could beat Friendster and MySpace.
What makes you think commercial fruits & vegetables are any different? Nearly every farm has tons of feral cats around.
I have a question. This might turn out to be stupid. What happens if the value of 1 bitcoin falls below the required threshold i.e the cost of energy + hardware to mine. I do understand that the probability of such an eventuality might be close to 0.
Climate of Capitulation
Related: http://www.jeffreylockwoodauthor.com/behind-the-carbon-curta...
He's not the brightest, but he sure is savvy.
I've worn both RGPs and hybrids.

RGPs are unwearable for me because of comfort levels. Even after a two week adjustment period.

Hybrids have been really comfortable for me. The lens change may take a day or two to adjust, but I tend to forget about them until ~14hrs when they start to feel a bit dry.

*Disclaimer there is variance among both eyes and lens manufactures (I've had some manufactures that felt dry really soon, others are much better).
Here's my attempt at a rational explanation. Feel free to point out flaws.

> No, the real problem is mass shootings.

I think we should talk about mass killings not mass shootings.

Yes US has had a lot of mass shootings but it seems you have avoided the concentration camps and the Srebrenica etc that Europe has experienced during the last hundred years.

When people don’t have guns it is much easier to round them up and kill them.

Most people who have got killed seems to have been killed by their own authorities or invaders, not neighbours.
> Buying sexual services is illegal?

It's a way of making prostitution illegal without making the prostitute the one taking the risk. That way a prostitute can report an assault, without fear of recrimination.

Also, yes, the punter is taking a bigger risk and therefore less likely to engage such services.
There is environment friendly development, and there is pushing a country into forbidding every kind of energy generation available. What do you want to replace hydroelectricity with?
Adding a Readme to the repository might help people understand the project, what it does, what it does not do, and why it might be a better or worse choice for their project.

Good luck.
No, they use punch cards
Are We Being Candy Crushed at Work?
Perhaps somewhat inaccurate wrt a direct threat against family, but this image comes to mind:

http://www.greanvillepost.com/wp-content/uploads/2015/02/Tia...
I don't think Apple so much as dropped support for AIM as much as AIM dropped support for its more-open OSCAR protocol -- the same thing that apps like Pidgin used to connect to AIM.

The trend is that the people running the IM services want control of the clients, and so they shut off outside access or create new services that never support open protocols (see also: Facebook Chat, Google Hangouts, Apple iMessage).
Any Bank that uses passwords in preference to two-factor authentication?
Web and Social Media Intern – Digitaliot
If you want a great book on the history of Drosophila research including circadian clocks and the genetics of memory, get Jonathan Weiner's "Time, Love, Memory"

All three Nobel Prize recipients appear often.
Unless you've used something better than Finder, you will have no idea how much it actually sucks.

I say this as a Mac user that's used Linux for most of his life: Finder sucks. I don't feel like hashing out all the reasons for why right now. Nothing I say on a little Internet forum will change that.
Show a quick preview of the layout of your react application
Yeah, we mean slightly different things. I agree with what you're saying, but what I'm saying is about the cost of N; if you find yourself fighting with Rust's rules, you can drop back to unsafe, and use the rules you already know. Well, similar ones anyway. This reduces the cost of N.
Mining fees will grow.
Thanks, I will try that.