skysight-inc/HackerNews huggingface dataset:
If you've got questions on using React or Redux, please feel free to drop by the Reactiflux chat channels on Discord and ask. I hang out there most evenings, and there's many others happy to help as well. The invite link is at https://www.reactiflux.com.

In addition, I keep a big list of links to high-quality tutorials and articles on React, Redux, and related topics, at https://github.com/markerikson/react-redux-links . Specifically intended to be a great starting point for anyone trying to learn the ecosystem, as well as a solid source of good info on more advanced topics. It includes links for learning core Javascript (ES5), modern Javascript (ES6+), React, and much more. I also published an "Intro to React (and Redux)" presentation at http://blog.isquaredsoftware.com/2017/02/presentation-react-... , which is a good overview of the basic concepts for both React and Redux.
The sub-thread is on white-on-black racism in USA in a thread about Singapore. That's why I called it a talking point or something barely relevant. Im done with it on this one.
For those who, like me, don't follow developments in this area closely:

APFS is Apple's new filesystem, intended to be used across all of their devices (Macs, iOS, watchOS, etc). For Macs, it will be replacing HFS+, a direct descendant of the Hierarchical Filing System which has been used since 1985. (The original Macintosh Filing System, from 1984, was suitable only for floppy disks; among other things, it was a flat filing system and didn't really support folders.) The main improvements HFS+ made over HFS were support for larger files and Unicode; Apple has since added some more features but the core filesystem remains a 30-year-old format which was designed for early hard disks.
Counting empty lines and comments is hardly the way to make your point. The mariadb unit file you linked to is only 34 actual lines, the mysql unit file only 22, percona 23.

And if you're writing your own unit files rather than ones for public consumption, you probably won't include lines like "Documentation=" and some other minor args.
If you can build your application without a framework, do it. It's the right call every time. Not every web project calls for React, but for the ones that do it's a god-send. The alternative to me is not a minimal Django app -- it's nigh-unmaintainable jQuery spaghetti.
Can you name a few specific examples of where you are using .NET/CLR that Java would have introduced security holes? Basically all the high profile ones that people think of are code-loading issues, similar to XBAP and other .NET tech's bugs. In other words, the "Java insecure" meme applies to very little actual Java dev.
For comparison, coal employs about 77k people. About the same as the bowling and skiing employment numbers.
For Google, I often find myself smuggling a "hl=en" into the query parameters. This works on almost all Google services, and is quicker than finding out where the language switcher is hidden in the UI.
I would actually be fine with using systemd to manage a few services. Does it no longer require itself to be pid 1 to function?
> But before the internet you had to go out of your way to find a second snakeoil salesman. In the internet age, they can be your whole village.

Well, they'd pass through your village at regular intervals. But I understand what you're saying - in the old days, a snake-oil salesman had to travel through each village, and risk his business and life. Today, you can hire a botnet to reach ten million people with your claims of a magic stock about to rise, or a pill that makes you irresistible to women, or a device that cures your cancer.
Window glass as solar cells (3 min video)
My 2-cents here I would say that working smarter directly related to developing your leadership skills. You can do a lot more by helping lead a group of technical people than you could ever do/code by yourself.
Right, but housing is sort of the bare minimum. People in developing countries raise families in extremely cramped conditions, true, but that's not something you can get away with in our society. Children's Aid Society, Family & Children's Services, and many other organizations will intervene in such situations. It'd be especially embarrassing to be put in such a situation just so you can bump up from a high-five-figure-job to a low-six-figure-job by moving to SF.

Beyond that, there's also the issue of schooling. That tends to be a nightmare for people in the Bay Area, due to the districting policies. Many Bay Area parents opt for private schooling, further adding to the expense.
Every dollar spent keeping unemployed venerables alive is a dollar stolen from the young. Liquidating those near death should not be a controversial position.
There is some subjectivity to beauty, but there is also some objectivity. For example, things that incorporate golden ratio tend too look good.

If you look at parent's comment:
"They are. Like living sculptures. There's just something extremely dignified about them. Like finally growing up after the childishness of strip-mining. The adults are here.
"

You can see that the judgement of beauty here is tainted by social implications, energy concerns, and possibly political environment.

This is only my reading of it though so maybe the parent meant something else.

I personally find them attractive but I haven't spent much time around them at all.
I suspect your definition of "fun" may align with a very small percentage of the population.
Looks skewed because majorities in a bunch of liberal states chose the third option (and several red states, though for the most part red states were very red): would not vote in this election

https://public.tableau.com/profile/mycollegeoptions#!/vizhom...
Tilly Lockey
I wonder if their is a danger we'll become robots responding to massive Todo lists. E.g. work emails, personal emails, voice mails, apps telling you to exercise, meet up with a mate or post a blog or have sex (ok last one is a straw man, sorry!). I can imagine any fun and spontaneity being sucked out of life by too much Todo tech.
Yah that doesn't work.

What works is "force others to change".

We're not going to solve global warming without forcing everyone to change. It's not a personal problem, and in fact, you can have small-scale cases of large carbon footprint.

It's not a problem if Leonardo DiCaprio is flying a private jet. It's only a problem if a lot of people are flying private jets.
The radically new concept is extracting $28,000 for a lean-to design, then barely warranting it for five years. That's just insane. Depending on how swanky the materials, you can build one of these yourself with a couple truckloads of stuff from Lowe's for less than a quarter of that, including laying a polished concrete pad for it.

Note that I'm not saying "hacker culture just compile your own," I'm merely trying to find where the additional cost comes from. They handle the contractor and the plans are already drawn and approved, so that's probably part of it. But still, $28,000? Is Japan that expensive?
Yes, but it's (reasonably) excluded from their threat model: https://github.com/hashicorp/vault/issues/1446#issuecomment-...
I, at least, did not downvote the original post. I assumed it was honest ignorance of the practice I described in my reply.
Yes, I was thinking of OVH, specifically https://www.ovh.com/us/dedicated-servers/infrastructure/170e... this one. Hetzner has one much, much cheaper https://www.hetzner.de/ot/hosting/produkte_rootserver/px121s... . But if you want to get feature parity, you'll need to factor in the additional 10 gbit card cost for 45.38 EUR arriving to a 174 USD monthly cost and the once off cost of a 12 port 10 gbit switch for 839.50 EUR. In five months the Hetzner server will be cheaper and keep going and also adding web frontends is cheaper there as well, the old but totally servicable Intel Xeon E3-1245 V2 16GB servers are below 35EUR.. But, I didn't want to get into that much detail.
Just to be clear, you're advocating dishonesty and deception--essentially, infiltration, a tactic used in espionage.

This lies in stark contrast to the idea that progress comes by openly researching, and debating, and convincing one's opponents with reasoned arguments and evidence.

If you have to deceive people to win, are you really "on the right side"? Or is everyone else just so stupid that you have no choice? You know, that the ends justify the means (an argument that has never been abused throughout history).
Merkel had to explain the 'fundamentals' of EU trade to Trump 11 times
We pushed multiple updates, in the end we decided to use static images instead of gifs https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/...
> Argue if you like about that, but the main point stands

No it doesn't.

> Yes, I'm equating "meatspinning" to malware

Don't be That Guy.
I saw lots of people commenting about it on job sites in many places that arent Silicon Valley. Others had to train their young or H1-B replacements as their last duty. There's definitely more data out there than Silicon Valley complaints.
In the case where the money goes to "the community", then sure, maybe. But are the people selling it doing it for the interests of the community? How is the money used to benefit the community?

I am a Socialist myself, so perhaps that's why I am sceptical of the claim that 100 billion dollars would be enough to offset any kind of moral questions. Is it ethical to accept 100 billion dollars from an exploiter of labour?
Does anyone else find it a bit problematic that documentation, which should mainly be descriptive, is taking an ideological stance? It's one thing to describe known bugs around an implementation, but reading the MDN docs on accept-header, it's pretty clearly advocating against using accept-header. How can a web-reference justify recommending against standards? I understand it's not meant as the canonical reference doc, but that's pretty much how it ends up being used and I think Mozilla should be more conscious of the position of its docs. (I personally find MDN much easier on the eyes and useful with its compatibility tables and examples)
Note sure how reliable/accurate the conclusions in the article are. At the very least the introverts among us can use this bit of (confirmation bias) information to convince ourselves that "we were right all along" and extroverts should be more like us.
Totally a preference thing. I strongly prefer pandas to dplyr having worked with both.
However, few sysv init scripts are the same structure. Each one is written by different people, who do things slightly different ways (and occasionally get things slightly wrong), and on different distros they use different tools. Debugging sysv init scripts is more complex than debugging a systemd unit file.

One example that neither camp does well is 'status'. Systemd is too verbose, but at least always the same standard output. Sysv init is whatever random noise the author decides to put out. Sometimes it's multiline. Sometimes it's no line, but an exit code. Sometimes it has colour. Sometimes it doesn't tell you whether it's running or not, but just outputs the service name. Sometimes you just have to be familiar enough with running the service such that you have what the status lines actually mean already in your head.

> It doesn't do anything but run a program with an argument.

It also needs to find that program again in order to provide status on it, stop it, and if the application has support, reload it. Very few init scripts are fire-and-forget startup scripts.
Interesting, I did not know that Apple is the maintainer of CUPS since 2007.
Some people are all "Self-publishing is great! I get half of the price of every book I sell."

After doing it for a while I would gladly take a much lower percentage of each sale in return for much huger sales, and having people to deal with printing, distribution, publicity, advertising, and all the other parts of the process that aren't "me drawing the next page of comics". And I'm lucky to be working in comics, rather than words, where there's a significant tradition of "underground" publishing that's become legitimatized into "small-press" and "independent" publishing, rather than an epithet like "vanity press".‘
You're talking about Hetch Hetchy and the O'Shaughnessy Dam? Environmental impact is one thing, but it wasn't built to "look beautiful and bring more people out to nature," which is ridiculous. (Advocates may have claimed this, but it was not the motivation of the project.) The dam generates electricity and the reservoir provides 2 million people with water, including San Francisco, the latter of which is was the main driver of the project.
100k. So we're back where we left off, but now they're on land. Time for a sailship renaissance...
The Atlassian Team Playbook: unleashing your team’s potential
The timestamps on his edits indicate this all happened nearly a year ago. The timestamps also indicate he invested about three minutes in editing the writing sample (assuming that's all of it). So I looked up the Glassdoor review, and sure enough it was posted on the same day...

I love stories so I wondered what else this fellow was up to around that time. Turns out he was writing non-stop and cranking out video content.

I have to wonder if this recent post isn't something he planned to write back then but ran out time. In any case, for a guy working 9,000 hour weeks he sure had a lot of time to write great big articles about his life.
Polyglot problem: when Google Chrome always asks you to translate the page but you just want to read it in the original language and you are too lazy to disable the popup.
Computers use a lot of energy (that 1000 watt power supply). Consider choosing more environmentally friendly options. Use a lower level language like c instead of python or JavaScript for a program that will be run by many people and machines. An order of magnitude or two of energy savings is possible. Use and build command line interfaces instead of conversational interfaces. Google recently said as to why they built TPUs, "If we considered a scenario where people use Google voice search for just three minutes a day and we ran deep neural nets for our speech recognition system on the processing units we were using, we would have had to double the number of Google data centers!". Avoid that shiny new framework that makes older laptop fans run at full blast. Just because you don't see the smoke doesn't mean that your programs aren't burning a ton of fossil fuels.
How are you going to spin that?
"Voluntarily" after they were rapped over and over by KDE developers and community...
This is based on muddled memories of a highschool physics class, but yes- I'd expect a lot of people to get it wrong, based on the sheer number of my classmates who persistently got it wrong. My teacher subscribed to a slightly nuts teaching philosophy which involved polling the class repeatedly, so I had a pretty good sense of how hard people found the ideas.

Example: literally the other reply to my comment. The notion of an "impeller" to continue uniform motion is Aristotelian, and it seems to coincide with a lot of people's intuition:

https://news.ycombinator.com/item?id=14175605
Ask HN: What's the future like for Ethereum, IPFS, Dat, Filecoin, Storj et al.?
1. Ethereum (https://www.ethereum.org)
2. IPFS (https://ipfs.io)
3. Dat (https://datproject.org)
4. Filecoin (http://filecoin.io)
5. Storj (https://storj.io)
When Did You Start Coding and Why? (2016)
I link cloud9 up to one of the instances so I don't have to SSH directly. I can be on any machine and log into the cloud machines by logging into cloud9. The key etc is out on the cloud9 machine but not on the machine I am using at the moment.

I have a bunch of machines in a few cities so I don't have to keep all the environments at home and at work in sync.
So, I may be wrong about this, but my guess is that a lot of non English speakers browsers are not sending the "Accept-Language" header with the correct language. Getting that language right requires configuration that most users can't/won't do, so it's only going to be right if the system defaults do that, and I think it's pretty likely that a lot of users will be getting the wrong language.

If the above is true, then it almost certainly makes more sense for these large international sites to just ignore the header and send the correct language for a given country. Some travelers may be inconvenienced, but a much larger number of users will benefit.
"In practise, that means I could play ping pong 4 days a week and still be more productive than most people, because they will do work that require a week to be done, while I will do work that require only the last day, to achieve the same result."

Unless you are surrounded by sea of incompetent workers, I find it hard to believe that one can be 4 times more productive than most people, on consistent basis.

Has enterprise software development become so narrow in amount & scope of assignment given to one person, that quantifying your productivity relative to others is actually possible?
The total ground water withdrawal in Michigan [mainly for agricultural use] is 98,000 Million gallons [1]. Why is Nestle extracting 100 Million a problem?

[1] -http://www.michigan.gov/documents/mdard/2015_MAEAP_Water_Use...
That is cheap. In California, those millions of gallons cost Nestlé $524 -- a 262% increase over Michigan.

http://www.lamag.com/citythinkblog/nestle-gets-away-pumping-...
Can someone recommend a long form soundtrack (1+ hour or something) that sounds like that on that website?

edit: Nevermind (youtu.be/Aaz80cOx7OI)
Is it the hip new thing to want to live in a cabin like this?

I guess only if it's "certified cool" by some fancy brand, but then again MUJI (無印良品) literally translates to "No Brand Quality Goods", so who knows?
Well, the post I responded to included a more or less textbook description of template based rendering. It's a response to a response to this:

> The bizarre practice of assigning session keys to visitors and somehow storing the page they're viewing in the server instead of in the URL is pretty common in Brazilian government, which is dominated by Java programmers.

Having dealt with such a service just today (King County Recorder's Office public records search) that behaves in this manner, I felt pretty familiar with what I was describing.

It is entirely possible I'd misapprehended the situation, but as it's an informal conversation on the internet about bad web development practices, I'm going going to dwell on it too much.
This is so wrong on so many levels.

1. If it were collective code ownership, there would be collective compensation. But programmers are compensated individually at market prices. Since programmers don't own the profits from the code, Programmers do not own the code.

2. The code is owned by the company. This isn't a Marxist set-up. This is a capitalist set up. The capitalists are the owners. The programmers are not capitalists, i.e. they don't have any capital. They are laborers. They just have their labor.

3. The code is developed in such a way as to minimize costs and maximize profits. The market does not care if the code base is "consistent" or "modular" or anything like that.

4. You may be thinking to yourself that consistent, wonderful code would be the cheapest to write. Not so. Programmers are willing to work overtime, over the weekend, overnight, etc. The reason they are willing to do this is because--as labor--they do not have the power. The capitalists have the power. The programmers must work as hard as is humanly possible, or they will simply be replaced with other programmers who will.

Please actually READ SOME MARX before sounding off as to whether something is marxist or not.
What the Tiny House and container living and related movements have taught me is mainly that people will pay a premium for small living spaces that aren't considered "for poors", even if they're worse than, say, a single-wide or a smallish a-frame.
Solar is dirty and hard/impossible to repair. Bio fuels are a much smarter way to create energy from the sun, especially since electric power cannot substitute liquid fuel. Solar panels won't go very far. If someone has a good place for solar panels, and xe still brings in food by fuel transport, that person isn't sharp. #growfoodmotherfuckers
Pico-8 already has great licensing for schools [0], and honestly, in that environment, its easier to say "Buy this" than "this is free".

[0] https://www.lexaloffle.com/info.php?page=schools
Use your intelligence to get a degree / study in the relevant earth science fields along with physical engineering study. Work towards geoengineering. Full control of all the earth's natural systems (climate, evolution, aging, lifetime of the sun...) is humanity's destiny, best get working on what we can now.

Of course political activism is available, but the question then is where to push on that front. Enough people are working on awareness, probably not enough are working on amending the UN's Convention on Biological Diversity and London's Convention on Dumping of Wastes at Sea to allow and encourage geoengineering on an international scale in the first place. Something as simple as dumping lots of iron in the ocean ("iron fertilization") could be all we need to do in the short term, but there's a lot of resistance to it. If I were interested in this path I'd focus on removing that resistance politically and/or scientifically.
Everyone could fly private jets if we had a carbon neutral cycle to manufacture and fuel them.
Does seem kind of high. Pre fab small cabins seem to range from $3k to $8k here in the US. Not cedar, but if the expectation is a 5 year lifetime, that's not really needed. The price multiple for it being a bit more stylish seems steep.
Wow.

Question: if it's really this bad, this site is going to have incredibly poor ratelimiting or per-IP analytics/access controls, if it has these things at all.

So, it probably wouldn't be too impossible for someone to build a new site (maybe even an API) that talks to this and prettifies the results, lets you copy URLs (most likely via caching¹), and so forth. (The case in point about my previous paragraph is that the new site would generally hitting the old one, possibly several times a second, from one IP.)

You'd just need a strong mind to handle the inanities of talking to this system. :P

¹ But with the caching thing, you'd absolutely have to have a disclaimer stating that the services don't replace the USPTO website, yada yada (along with some wording buried in a policy document that carefully points out that the data is cached). I mean you'd need that anyway, but yeah.
You begin at rest, relative to the plane. You jump and experience a force vertically. You land. You haven't experienced any forces horizontally, so you land exactly where you started.

Losing contact with the ground has nothing to do with it. You don't need an "impeller" to continue uniform motion- see Newton's first law.
Please, this, yes. That and location. I don't live in St Louis, but Google swears I do and there's no way to change that setting in Google news. I've emailed their product team but they're also never wrong.
Very true, but if you're in your late 30s, mentoring and leading other developers is mostly likely part of your job description. You are in a position to make broader multiplying impact than a junior developer with only 2-3 year under belt.
Anything with a Virtual DOM pretty much.
The University of Virginia campus has one. It's popular for students to sneak into the steam tunnels.
Just made the depressing transition from looking at Craigslist housing in SF to seeing this. The concept looks great, but it's hard to tell who its for. I assume you need to own the land it's placed on, so how could it be used for vacationing?
Depends on the day, and the level of stress, but I either end the day with marijuana, a bike ride, or an audiobook.
Try reading outdoors, ideally in a park or the forest, with a book of something non-work and non-linear such as poetry, listening to abstract music without lyrics such as Brian Eno.

30 minutes of this enables me to then code extremely effectively for hours.