skysight-inc/HackerNews huggingface dataset:
Nice article, but misinformed. " It’s purely the a century old norm for running factories most efficiently.", based on the Ford adopt of the norm in 1914. That is borderline ridiculous: what they id was go from 9 hours to 8 but with DOUBLING the wages. What do you think was the reason for the improvement in productivity?

In the USA, in Illinois you have a law for 8 hours (with loopholes) at 1867! Chicago saw that year a whole week of workers strike trying to get that. In the next 20 years, lots of cities and professions got the 8 hours. And in 1886, see what happened in May Day and in the following Haymarket Riot.

The real reason for the 8 hours is the anarchist push for a more human treatment of workers'life. Those working class anarchist masses in Europe went to North and South America in numbers, and started there a very strong push for workers organizations, shaping some countries cultural shape up to this day. THAT is the real push for the 8 hours, those are the real reasons, in a history that most of the world knows but in the USA is still neglected and hidden. So, seen an article about the genius of Ford for the 8 hours in 1914 is sad. What he did was doubling the wages, and got an improvement in productivity. The 8 hours has a rich, hard fought and tragic history that is more than 50 years older, and which was usually drowned in blood by those same industrial tycoons.

[0] https://en.wikipedia.org/wiki/Eight-hour_day
Last week Github hosted a meeting of tech industry heads to explore such an action, so this may have fallen out of that. News coverage seems to imply that Github invited chosen companies to participate.

http://www.reuters.com/article/us-usa-trump-immigration-tech...
By far (as in, by a mutiple of approximately 10,000) the biggest untapped opportunity is disrupting the geography of worldwide startups, meaning venture capital and so forth. Startups and ideas wither on the vine and shutter (close) due to lack of access to the startup ecosystem on equal terms: these startups often could produce billions in value in their respective markets and then worldwide. Further, this can be bootstrapped as many startups would agree to pay back to the community (through investment at high valuations) in exchange for investment today. You do not need access to billions today to solve this problem tomorrow. This isn't a billion, ten billion, or one hundred billion dollar problem. If you clock back from 2060 to 2017 using a discounted net present value analysis (if you do it correctly) you will find that this is a 10 trillion dollar (today's dollars) segment or in other words the equivalent of not one, ten, or one hundred Airbnb's: but, one thousand of them. (For comparison or as a sanity check on my number, worldwide economic GDP in 2016 was 75 trillion[1] so the number I quote is 14.2% of a single year's GDP - or the total value the world produces in just over 7 weeks. So these 7 weeks of economic output are what I quote as a discounted value from a total market extending over the next 50 years, worldwide, discounted to today. It is a conservative number.)

We live in the dark ages of startup capital investment, and it's as hard to get investment as it was to get an education in the 1400s: you had to be rich, privileged, then go to a center of University learning. Geographically speaking, it is as bad today. Today, you have to go to silicon valley (as in, physically drag your body there) or one of a few other major startup centers (which give much poorer results), then somehow network your way into getting introductions. it is like being a scientist in the fifteenth century. enormous privilege and very difficult to achieve, with no clear path. Disrupting these geographic facts of capital investment and access to the startup and equity culture and markets is massive - when this starts to change, it will completely change the face of the planet in every way, for everyone.

If you want to make the most massive disruption you can make in your lifetime, disrupt the geography of startup ecosystems.

[1] https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...
Bits from the Release Team: stretch is frozen
Exactly, no breakdown of thermodynamics needed, any calories not efficiently processed into usable energy will be emitted as waste.
I'd say define some side projects and try out different stuff for rendering the UI. Start out with a rendering library, not a framework. Check out stuff like react, preact, vue, inferno, mithril and pick the one which makes the best first impression. If you learn one of these, you can pick up any of the others pretty quickly. Because they aim to do one thing well, the learning curve is not too frightening. Pull in additional stuff (e.g. redux) once it becomes clear to you that you are running into the problem that it claims to solve. But not any sooner.

As for job opportunities, don't think too hard about it. The frameworks that you'll see listed in job ads are pretty much a time shifted image of what was hot three to five years years ago since a lot of projects will have bought into one framework or the other. These days I see a lot of angular 1.x jobs, and some react jobs. In a few years I expect more react. You need solid Javascript knowledge, a lot of curiousity, and just enough buzzwords to get over the threshold, and you'll be all right.
> there has been a lot of movement from poorer countries

There has also been a lot of movement back towards such countries as soon as their wealth levels improved (or UK ones got worse), which happened in no small part thanks to remittance payments. It's the sort of movement you also observe in-country when industries in certain regions do better than others. How many people from Scotland moved to Southern England in the last 100 years?

But that is the whole point of the European Union, which is also expressed in things like the infrastructure and development funds: we promote solidarity and cooperation between neighboring countries, rather than competition that will ultimately result in war.

It's a shame how you only need a couple of generations to forget everything about their history.
> C != C++, because in the latter you can use smart pointers - just like in Rust.

While that is what good C++ programmers do, you cannot (sadly) prevent others to program just like in C.
SE Linux in Debian/Stretch
Pretty much any code editor with a jump to source, is a user friendly graph editor. And with refactoring tools, a good debugger and compiler I can't see what is missing
SIP is open, but none uses it :/ That's why I feel pushing for open standards is the key: it will allow you to install any voip app as long as it is compatible (follows the open standards).
Indexing for search - it depends upon what you use your computer for. Some of us want to do stuff with our processors and memory and get very annoyed when the OS decides to use resources we were hoping would be used for our programs...
Unroot Android step by step Guide for Android phone user's
Perhaps "calories in calories out" is still the golden rule for startups that want to make money instead of helping people to lose weight in the long term. I can't see any startup going against this deeply entrenched popular belief.
Well, that can't be used as an excuse for not being secure by default.
It's a concrete example, where the rubber hits the road, that facilitates commerce and exchange, used the world over.

Genius!
Spring Boot is the way everything is going for us these days.
Thanks for this answer. It made me go back and re-read your points again, and reflect on my own viewpoint a bit more deeply. I expect that were I not personally as financially comfortable as I am, it would be less easy to think in the abstract about the merits of equality. I believe in immigration, I donate a decent amount to both domestic and international charities, etc... but it's not like I do it to the extent of materially affecting my own way of life.

And of course, that's natural; people DO value their own well-being and that of their families and friends (and especially children) more than that of strangers. It's a very rare person who's willing to completely sacrifice their own standard of living in the name of global utilitarianism. (Mother Teresa comes to mind, but that's about it...) But it's also pretty rare for a person not to feel any selfless compassion for others either; it's just harder when one feels one's own needs aren't being met.

So maybe that's the real solution to your problem: find a way to address people's needs without resorting to a zero-sum mentality. When people feel they're getting by alright, they will naturally be less begrudging of others. Easier said than done of course, but not impossible. Much more difficult when the focus is on this zero-sum game instead though.
No. When the value of the input exceeds its cost, then no, it's not "unreasonable."

What's unreasonable is paying someone $15 per hour for unskilled labor you could teach a teenager to do in 15 minutes. The cost of the work exceeds its value.
> only I don't know which of that 20TB its located

What do you mean by this?
Exactly, foobar2000 killed Winamp, for power users at least.
Yes, but with the added benefit not requiring external tooling to validate those RAII pattern are used correctly and forcing not so security savvy developers to actually use them.
The inspector? I've seen and worked with similar tools for XML, too, though not recently. They're very good for small, constrained hand-editing, but I find them to scale extremely poorly.
I don't want to dismiss the other, much larger, concerns people have with this executive order, but I want to highlight another aspect.

It further reduces the possibility of tourism to these 7 countries, due to the knowledge that if I want to go to the US, I face a much more invasive immigration check (see Norway PM), and the possibility of denied entry, which carries a lasting stigma.

Clearly tourism in Syria is not an option at the moment, but the more adventurous European could certainly want to visit Iran. And of course it was true that immigration officers could have asked about those trips before this order. Nevertheless, I feel that my choices of holiday have been affected by this order.

http://www.bbc.co.uk/news/world-middle-east-33648096

https://www.theguardian.com/us-news/2017/feb/03/former-norwa...
Unfortunately, while SELinux itself is good, the tooling around it has to be the most atrocious, useless steaming pile of thrash in this niche. From setroubleshootd randomly deciding to eat up 100% of CPU time (and no one being able to explain exactly what it does) to the endless fun of figuring out what policycoreutils-python & friends do and how, actually doing something useful with it is somewhere between "painful" and "frustrating". If Microsoft had published something like this, they'd have been the laughing stock of the whole Linux community.

I don't know anyone in my immediate circle of peers - not even people who use SELinux on servers or in products that they develop - who doesn't disable SELinux on their desktop. They're not idiots, either, nor re-booted Windows programmers that the IoT and DevOps craze has thrown into the Linux world, many of us have been using Linux since back when there was no E in RHEL.
Submitting this because some people on HN are concerned with "effective giving", and this research shows some of the complications of that.
I mean, even to install Rust they give you a command to do this. So no, it's not just web dev.
I always liked WinDirStat.
This reminded me of Leslie Lamport's (of LaTeX fame) paper "How to write a 21st century proof" [0], where he argues that we should explicitly structure proofs as trees.

[0]: http://lamport.azurewebsites.net/pubs/proof.pdf
Node.js body and query parsing middleware with nesting
Nice, but the example crashes because you take a reference to uninitialized vector, if you initialize it and grow the vector I found that it will either keep "working fine" if you don't expect the data to change or randomly give garbage data - depending on compiler/stdlib - especially since the time when the buffer grows is implementation defined.

Here is a better example : http://rextester.com/MAJDQ8375

On VC++ it will return :
Reference is 0 but value is 9

On clang it will return :
Reference is 32579632 but value is 9

So let's say I wasn't mutating the 0 index, VC example would work fine at runtime and then clang would suddenly start giving garbage results. This has caused me week of debugging in a big code base.
It just puzzles me that out of eight bullet points summarizing the new features in VLC 2.1.5, one of them was "FOR ANIME FANS" and none of them were "FOR USABILITY". It's the contempt and dismissal that the developers show to usability bug reports when they brush them off and ignore them, which bewilders and frustrates me. Go read some of the discussion group postings and bug reports over the many years, and you will see what I mean. It's a deeply entrenched pattern of behavior.
That might be a better idea, actually - a general purpose terminal with SVG support. I guess while one's at it, it could include PGN/JPEG support too...
This sounds a bit like both https://clarity.fm/ and https://www.codementor.io/
In what situation would you want to do this?
What's the average or expected salary for a senior software engineer working for twitter in SF?
Dots indicate change or hazard. Parallel lines, on the other hand, are meant to be followed.
I agree. I think the problem stems from how we determine the caloric content[0] of a food stuff. We add the known caloric content of its ingredients, which we determine by burning them. This is probably just not a good model for how the body uses food.

[0] https://www.scientificamerican.com/article/how-do-food-manuf...
As seen on.. Black Mirror...
But I can't prevent others to use unsafe in Rust either ;)
https://officehours.io/
Voxel Rendering Techniques
US educated international students get lumped into the H1B lottery as well.
It's not too difficult to allow the elderly to defer the tax until they die or choose to sell.
do you have experience with other stacks (e.g. Play, Node, Ruby)? What's your experience with them?
So should we forget the Holocaust and WWII because of Godwin?

Please note I've been very careful to put things into perspective here...
I'm on macOS 10.12.3, GNU coreutils 5.93, and sort doesn't support the "-h" flag.
"Don't Talk to the Police" https://www.youtube.com/watch?v=d-7o9xYp7eE
This talk was an eye-opener for me and an indictment of the U.S. "justice" system. You can't presume you'll be treated fairly, considered not a suspect, etc.

And, as mentioned by keyanp, Randy Pausch's "Last Lecture". Vita brevis. Carpe diem.
Oh I certainly wanted to contribute to the VLC project and integrate it into my own projects, but after having my concerns that I wrote up in great detail flippantly dismissed with such contempt, and seeing how the exact same thing happened to other users reporting legitimate longstanding bugs who were brushed off and ignored over so many years, I had no interest in contributing after that. It's fortunate that not every open source project suffers from such arrogant developers as VLC.
Thirty Years of the Culture
It doesn't change it, but makes it rather less useful.
What you need to know about Libratus, the Poker-Playing AI
A retail store allows for differentiation in experience, service, and brand. It is the most important competitive advantage you can have in a commoditized, high-margin business.

See Apple and OPPO and Vivo.
"I have no idea why we decided that everyone who makes content or provides a service must also be great at moderating commenting systems."

I think the key here is this has been one of, if not the biggest movie rating / db site in the world for years and years and they won't do it. This isn't some poor bloke in his basement struggling to moderate, it's a massively popular website that should have some resources.

Everyone doesn't have to be great at moderating when they start up forums, but a hugely trafficked website that's been there forever should maybe get a handle on it, if they've been offering it for a long time.
Maybe link to the Emacs Rocks demo in future - just a thought. I share it because I've known about paredit for years and just kind of gone ¯\_(ツ)_/¯ and not bothered - but seeing that demo has sold me on the idea in a super big way, to the extent where it's going to impair my productivity today, or would if we weren't in a post-crunch breather.

By comparison, the Emacs Wiki article is a poor introduction, because introduction is not its purpose; it's there to collect resources for people who already use paredit, and a good introduction answers the question of why someonr would want to start.

That said, thanks so much for posting about it here! I'm really looking forward to learning it today.
Reputation Suicide, and Why I’m Quitting Disqus
I can grep for unsafe, for C and C++ I need the help of a static analyzer.
The problem with the 'energy in-energy out' model is that energy is rarely what we need more of. Food cravings persist for the nutrient one needs most, not just the amount of energy needed. Eating less of a conventional diet does reduce the amount of energy one takes in, but also reduces intake of whatever nutrient the subject was craving in the first place. That's why compositional diets work better for so many people, if the subject gets all the nutrients they need, they won't feel the desire to eat more than that, and consequently won't take in more energy than they use.

TL;DR: Total energy in matters, but watching energy-to-vital-nutrient-ratios in one's food is a better way of ensuring the proper levels of both.

Edit: wording
We may have reached peak “gig” economy
Not all graphs are expressed as code, or should be.
CentOS vs. Ubuntu: Which one is better for a server
Notice period is typically 2 weeks and company can pay for that period in lieu of notice period. So none of those things are comforting for an employee on visa.
No thermodynamics needed to disprove it, but we probably need something more complicated than thermodynamics to get a good picture of the real balance.
It's quite well possible to visit Iran from Europe. My father, who's only moderately adventurous, went last year with a guided bus tour all the way through Turkey (before the latest coup). He absolutely recommended the trip.
It's a superb podcast. Made a huge impact on my 10 year old.
Object Oriented Redux: How to Use Classes as Redux Reducers
The "popular vote" is not the will of the people:

a) the rules of voting are clear, this is both the will of the people, and is also what the people are expected to accept as citizens. The time to denounce or change those rules is before your guy loses.

b) the popular vote is not the entire country, because not everyone voted. Not only do campaign strategies and other factors affect those numbers (to a degree that might make up the difference), but if you argue that people who didn't vote simply lost out, or don't count in deriving "the will of the people", then you could just as well argue that so did those who lost to the electoral college system.
Launch HN Healbe GoBe 2 (automatic calorie intake tracker) on ProductHunt
Incidentally, that's something that I want to offer when expanding my freelance business into QA agency. Would you mind telling me more about what types of services would you see here? I have some ideas of my own, but I'm still struggling with market validation, so input from someone who says they could need it is invaluable!
Does this data weigh the importance of certain locations? Because to me it seems that it doesn't which would seriously harm the informativeness of the set.

As a consultant you surely don't travel to every part of the city as frequently, and maybe the expensive neighbourhoods are rightfully expensive because that is the place where those who hire consultants live.

Nonetheless a really cool visualisation/idea!
There's an article here [1] explaining the concept of interior mutability, and how it applies to handling graphs in Rust.

[1] https://ricardomartins.cc/2016/06/08/interior-mutability
We do: http://strlen.com/treesheets/
I don't know exactly how the torches look, but I can imagine they have an indoor GPS setup in the stadium. Couple that with a position-dependent program that each torch has. The actual program can be started, paused or stopped using an RF signal of some sort - so the torch actually knows its position and just sets itself to what should be running on the virtual, stadium sized display.
A little closer would be to use a shared_ptr<X> and shared_ptr<Y> that share the same reference count (1). It's not exactly the same thing, though, since Rust gives you some safe usage checks that you don't get with shared_ptr. That is, vanilla Rust objects have lifetime semantics closer to unique_ptr than shared_ptr.

(1): See constructor number 7 here, which was designed for this purpose:
http://en.cppreference.com/w/cpp/memory/shared_ptr/shared_pt...
> I'm glad you think my compiler is a small system. The problem I'm solving is one that people said was simply too difficult and impractical to pursue. If I have made it so simple as to be dismissed as trivial, then that's good. :-)

I figure anything being done by one person is necessarily that trivial. Maybe you're doing the work of 100 people. Maybe the work of 1000. But you can't scale arbitrarily far; at some point you'll hit your limit. The amount of work one programmer can do is, ultimately, O(1).

> they also say, if they can do it in APL, they do, and they wish they could do everything in APL.

Fair enough; where I'm working there's a rather different view of the APL parts of our codebase.

> Still, just come to the live session and we can discuss all of the issues that you see with maintainability. If you can see a way to make the code simpler and easier to reason about at a macro level, I'll be all for it!

I can't/don't do audio/video/"live" I'm afraid (and if that's the only way you can explain the code then that itself reflects badly on its maintainability). I'll read a transcript with interest.

I do think the value of conciseness is real and underrated - at the same time it's very possible to overestimate it if you're looking right at the transition point between a project being small enough to keep in your head at once, because if your project is very close to that line then you can reap huge gains from small conciseness improvements but not in a way that scales. I once looked at implementing a lot of the APL operators (Scala supports unicode identifiers and has a very flexible syntax, so you can actually get pretty close). But I've found that, at least in the context of a large codebase moving incrementally (and I firmly believe that's the one that ultimately matters, for the reasons above), the conciseness gain isn't worth the cost of not having clear English names for all the operations. Indeed I now try to move away from symbols and short names in general as much as possible.
There's the fabled 'Singularity' (with the capital letter) or the usual meaning: something we cannot predict beyond. That's always a problem in prediction, because even if we can imagine a singularity, we don't know what follows.
Thanks to this post I found out about TreeSheets. Looks interesting.
For XML you may want to take a closer look at XML Marker 1.1 (it's old, freeware and Windows but still better than many other tools) and maybe Eclipse.
30B searches looks like an overkill... should find a way of creating a graph and use https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorit... or something on that.

the end result is nice though.
The State of Go – FOSDEM 2017
vitaminjs: The build toolchain against JavaScript Fatigue
Check gingko, which is more focussed on docs, but is a tree editor at its core.

https://gingkoapp.com/

Used it at university for notes, and is great for quick revisions before the exams too!
How good is it?

I've never used it and I'm genuinely curious.