skysight-inc/HackerNews huggingface dataset:
True, given time and the resources to enjoy that time, we’re not monsters.

The problem is that we might lack enough time for this to work.

Alas... barring that miracle at least, and probably a few more like it.
Such a structure is called a Zipper, for anyone wanting to look into it further.
Most of djb's stuff comes to mind as well.
I work a lot with visualisation. It becomes interesting when you release a chart to end users only to get feedback such as lurcio's.

At first I would simply correct and "educate" the end user how to interpret the charts. Recently though I have begun to "register" such types of questions and misunderstandings. I now actively determine WHY the end user made such a seemingly simple error in usage. And more than likely, I've concluded, it's the fault in the presentation of the chart than it is of the user's understanding of it. It is not easy to create data visualisations that do not mislead!

In this case, we as users are introduced to a gradual shading of a pink/maroon palette of calendar dates. The shading goes from dark (almost black) to light pink (almost white). So both white and black squares are tacitly presented as features. The mind extrapolates this. Using white for an invalid date is bound to create confusion to a user not paying attention. And charts are always sold to end users as "you relax, we've done the thinking, just consume this easy picture". As users, our guard is down by invitation!

I'd make all the invalid dates a colour from a completely different palette or strikingly different colour (eg. gray, yellow or green) to stand out clearly, indicating immediately that you are looking at invalid areas of the chart.
I wonder if lotus still works, and if those backups are sequental. Good luck getting the data!
I don't think it's any women choice to be a prostitute. Did you read the article? She had an abusive step-father and had nobody to talk to.

People are forced to do it and when they start is hard to end. Goverments should have something to say as they are to protect people and being a prostitute is not a solution for lack of education or money.
For 5 seconds I was like "but the clock is the analog part of the circuit, this does not make any sense". Then I clicked the link.
The 7 Absolutely Stunning Tools for Product Managers
First, it is just a Chinese name, not the English name on the kid's birth certificate, it wouldn't be considered anything more than a nickname to us. Yes, it would be weird in western cultures, but not incredibly so, there definitely would be nothing like the hyper sensitive Chinese response that occurred in 2016.
> That's what local alarms are for.

Ideally, yes. In practice, people neglect them and then sue the company for $millions if something happens because "they clearly should have made alarms more prominent so I couldn't neglect them". Remote monitoring ensures there a) independent record of what was going on and b) ability to monitor the system and take proactive steps if something goes south.

That's not even getting into situations of how unreliable the users are in reporting both what they did (the dreaded "I didn't do anything and it doesn't work!") and what happens with the system (the dreaded "it doesn't work, fix it NOW!").

If you install a complex system on user's side which requires maintenance (and what system doesn't) you better have remote diagnostics or you'd be a very frequent guest there. I don't see a reason why Tesla things would be different.
https://www.group-office.com

Basic version is open source but the premium is only 200$ a year if you self host it. They have out of the box Debian packages so it's easy to run. It's the most feature packed crm we have found and we have used it for clients the last 8 years.
In the EU in 2018, stricter data protection laws are coming into place which includes a 'Right to object' [0]. Until it's tested in court it's hard to say what effect it will have though as it's worded quite vaguely. However, it'll be hard to argue that consumer apps like Spotify don't need to collect your usage data, as recommendations are a main chunk of their service, but a car doesn't need to track where, when and how you are driving so it should be possible to opt out of that.

[0] https://gdpr-info.eu/art-21-gdpr/ -
They are already in place at a EU level, but member states have until 2018 to bring them into national law.
This feels like it could devolve into ”true scotsman” argument real quick. Much of ISIS fanbase are NOT out to kill a lot of people. Like a lot of white supremacists they are more about talking the talk than walking the walk. But the narrative and the quick fix for slights against ”your people” offered by ISIS and nazis are very similar.
I had a technical interview once where the interviewer asked me to create a data structure for a text editor written for a 1980s computer with extremely slow and expensive I/O and almost no ram. I ended up with a variant of the piece table and afterwards he told me that’s how Word worked (he used to work at Microsoft).
The computers being trained to beat you in an argument
Same here, installed twice, no problems. Recently had a problem with invertor, which took some time (couple of weeks) to fix (ended up in replacing the thing), but also went fine. Must be either an exception or their processes with Powerwall are not that polished.
I think it is worse, self-driving cars change two-way market to one-way market and removes Lyfts biggest competitive advantage. It is like investing Kodak at 2007 because camera phones are next big thing.
Las Vegas Shooting Near Mandalay Bay Casino Sends People Fleeing
1)

npm install
added 1226 packages in 52.23s

2)

$ ls -l node_modules/ | wc -l
900

3)

$ du -h node_modules/
180M	node_modules/

4) Few people care what your web app is built with. Your differentiating feature should be how it's used, not how its put together. In this case, it works exactly like the original, just with different internals. I don't see the point.
"You don't see burglars breaking in to steal sugar, do you?"

Sugar is about 70p / kilo here...
Hitap Keyboard – Music Fun APK Latest Download Free for Android – Android APK's
I don't know of any data that isolates the energy cost of transport and storage of cash. Transactions are tricky, you could use the salary of the worker for the 5-15 seconds (or however long the handling/counting of cash takes) and equate that to cost of electricity.

Given a retail worker might cost a business $.03 per minute, you are looking at 1c per transaction. Now let's look at BTC. At 9GW when I looked at it, it was processing ~4.5, lets say 5, transactions per second. A kilo-watt-hour (kWh) of electricity will wholesale for 6c. If we are doing 5tx/s, that's 18000 in 1 hour. 9GWh to do 18000 transactions

(9,000,000,000) / (3600 * 5)

Gives us, 500 kWh per transaction, at 6c gives us $30 per transaction.

You might be able to argue subsequent cash handling might take a few minutes per transaction handles, but even so.

So given cash transactions save at least $20 per transaction, cost of transport and storage IMO would be negligable. These costs drop further with something like credit card transactions.

The two biggest problems I see with BitCoin and most PoW currencies (and I'm going to single out BitCoin) are;

1. BitCoin has a maximum transaction speed well below what is required for a world (or country/more localised) enconomy, 7 Tx/s doesn't cut it. VISA apparently does well over 1000+.
2. As mining gets harder, and as the network tries to reach the theoretical transaction speed limit, energy usage grows even more out of control.

9GW is such a massive amount of electricity at the moment. Even as solar + wind + storage becomes cheaper to build and capacities grow, it'll still be a huge amount of electricity and there usage by the BitCoin network will only grow. This is more electricity usage than the state of NSW in Australia _generates_ most of the time. That powers the residential and commercial electrical needs of a 1st world state with 7.5M people.

I think the more cheap power that is available to currencies like BTC, they'll keep using more and more with diminishing returns.
Interesting that the social element isn't mentioned.

Smarter programmers are likely to be able to get their head around the strict requirements of functional languages and they are the ones using the languages at the moment.

Java, on the other hand, is pretty much the COBOL of this generation.
The fact is there are decision makers - often non-technical ones - who do look at Uber as an example.

It's something we should at least consider an issue, even if it doesn't feel like a valid technical issue.
In sweden, prostitution is legal, so sex workers can contact police without fear.

However, pimping, brothels and buying sexual services is illegal.
Just like debugging Java and .NET applications running bare metal on production.

By having a rich runtime (kernel) that exposes the internals to the world, like Mission Control, TraceViewer and the respective debuggers, when the right set of flags/authentication are enabled.

Unikernel are no different from running embedded applications, bare metal.
But they've always been the smartest in a group of the smartest people. It's not that they're not being smart or not being adult. It's that they feel this is just another step in a road they've been traveling since they were kids.
And yet... The new rulers are far less effective than the Apartheid government. The cost of bad government is so influential it's nearly hard to imagine.

I strongly suspect the moral accounting does not favour your position in the long term, the same argument is expressed here but in the abstract since this is of course an emotive subject.

http://lesswrong.com/lw/kn/torture_vs_dust_specks/

It moves!
Github repo link here: https://github.com/arximboldi/ewig
ICFP 2017 paper: https://public.sinusoid.es/misc/immer/immer-icfp17-preprint-...
10 Smartphone Apps for Mindfulness and Spirituality
درجات ضعف البصر ( الاعراض – التشخيص – نصائح ) – حياتنا الصحية
> 5% as many lines as C++

Dude, you need a reality check.
It's off topic and heads in a bad direction: generic + speculative + political. That gravitational pull goes to one of those black holes whence no thread returns.

The goal for HN is to have it be interesting, which means unpredictable, which means not repeating the same things over and over. Particularly when speculating (i.e. imagining in the absence of information) about something divisive, that's certain to be all we get, so the better part of valor is simply not to go there.
Nonsense. Lots of people in Russia live perfectly happy lives. I agree that the pollution can be bad, but to make out that everyone in Russia has horrible lives is just hyperbole. I have in fact lived in Krasnoyarsk and actually prefer it to living in London, where I unfortunately live now.
While the Dutch water to tomato conversion process surely made them cheap, it also means that many people never tasted a real tomato.
A language runtime is an OS, when running bare metal.

That is how we used to program many 8 and 16 bit applications, and how many keep programming embedded systems nowadays.
That reminds me of this tutorial for writing a text editor (in win32 land): http://www.catch22.net/tuts/piece-chains
You’re doing a lot of hand waving: “One hundred small improvements in a day” That’s a lot of work in an 8-10 hour day...

“if it's green code,..”

My point is that you don’t start by looking for 0.09% improvements when you’re profiling your code.

As for climate change, we are looking for cleaner energy options. The world’s energy use is going to increase greatly as billions more come out of poverty. China, for example, is going to increase nuclear energy to be almost on par with the US over the next decade:

https://www.nextbigfuture.com/2017/09/china-will-more-than-d...
University?

I'm interested in what people's experiences here are. I spent the entire of my degree deep in Oracle, persistently being warned a database without object-relational queries were absolutely never used in the real world (how ironic).
>People sign contracts for terrible work conditions all the time, is that a reason to make one specific industry criminal?

Yes. Absolutely. Even setting aside the ways in which legitimized prostitution can still be ripe for individual abuses, the message it sends also needs to be taken into account. Prostitution (and pornography) condition society to see women as commodities. That's unacceptable.

I expect this comment to go gray with lightning speed.
At the SoC level, I don't think so.

The reasons are numerous. I already gave a few. I will give another. Once you have to integrate hard IP from other parties, you cannot synthesise it to FPGA. Which means you won't be able to run any FPGA verification with that IP in the design. You can get a behavioural model that works in simulation only. In fact it is usually a requirement for Hard IP to be delivered with a cycle accurate model for simulation.

I'll give another reason. If you are verifying on FPGA you will be running a lot faster than simulation. The Design Under Test requires test stimulus at the speed of the FPGA. That mans you have to generate that stimulus at speed and then check all the outputs of the design against expected behaviour at speed. This means you have to create additional HW to form the testbench around the design. This is a lot of additional work to gain speed of verification. This work is not reusable once the design is synthesised for ASIC.

I can go on and on about this stuff. Maybe there are reasons for a particular product but I am talking about general ASIC SoC work. I got nothing against FPGAs. I am working on FPGAs right now. But real ASIC work uses simulation first and foremost. It is a dominant part of the design flow and FPGA validation just isn't. On a "Ask HN", you would be leading a newbie the wrong way to point to FPGAs. It is not done a lot.
>I was impressed how a so successful book had such a poor narrative. His characters building were primary, and did some narrative tricks to deceive the reader. The conspiracy theory thing was the only interesting thing. No more Dan Brown for me. Better to stay with Humberto Eco.

I think most pop fiction books these days are written more as a script than a book, optimized more for being picked up by a TV a movie studio than for the reading experience. For that you need a good story, especially a conspiratorial one with a twist ending, but not great writing since the screenwriters will rewrite it again anyway. Melville, Hemingway, and Eco they are not.
Yup that matches my recollection too. I use RawTherapee for all my RAW-processing, and I find it both easy to use, and very flexible.

One of the reasons I use RT is because it doesn't try to take ownership of my images. I have a hierachy of images that looks something like this:

Images/
Images/2017
Images/2017/10
Images/2017/10/01-jody/
Images/2017/10/01-jody/RAW
Images/2017/10/01-jody/JPG
Images/2017/10/01-jody/JPG/thumbs
Images/2017/10/01-jody/Public/

I like that I can file things my own way, and use the tool just to export from .CR2 -> .JPG.
Since we probably won't get an energy miracle, the sad truth is what we "need" is an economic collapse that will set us back decades (centuries even).
By slowly gaining market adoption, until it actually starts to matter.
I think 0.09% is mind blowing!

Think about it, almost a thousandth of world's electricity consumption completely wasted on BTC alone.
I find something objectionable about the vast majority of the items sold in grocery stores. I wouldn't classify myself as someone who loves cooking, but I like to make stuff. Recently I threw together an apple cobbler that was well-received... It had apples, sugar, lemon juice, flour, butter, sugar and cinnamon.
Also the way one works in the various languages is different. Some people are more likely to push barely working code to github because of the language's culture.

Perhaps timing should be considered as well - how long it takes to implement a feature including fixing its associated bugs.
Well, you don't need a PhD to see for yourself what was done in these laws and to recognize the political intent. You kind of need to be able to, in fact, if you want to know what's happening around you and take decisions as an informed adult, and interested third parties might be biased, it's better to check and form an opinion by yourself. We can't turn any discussion of fact in "I'm not qualified so it's an opinion, so I'm entitled to mine, this is just a matter of opinion". The fact is, the demands from the Catalonian government were rightfully unconstitutional.

edit to attach the sentencing in particular, it's perfectly legible (only 14 articles eliminated), and the reasons why they were excessive easy to understand.

https://es.wikipedia.org/wiki/Sentencia_del_Tribunal_Constit...
I know they are no different since they are one and the same. Now imagine your unikernel application is running inside of a vehicle and there is a bug in the head-up display code. Without re-inventing DTrace and kdb from Solaris / illumos from scratch, how would you debug your unikernel application in order to find and even fix the bug? (With kdb, it can be done on the fly.)
Transport for London plans to collect data from passengers' mobiles
What "might surprise" me is an article dated 2016 when it comes from 2012: https://news.ycombinator.com/item?id=3968433. Except now can we trust the 2012?
Yes I read the article and shouldn't the government then focus more time on providing emotional support for adults who were abused as children rather than criminalising an industry because one person (or even a group of people) are in it because they were abused. I'm sure whether she was a sex worker or working in another job she would have struggled emotionally with what happened to her.

What about the people who have to work in McDonalds? Should the government also ban those jobs, where staff are around dangerous hot cooking equipment, rude customers, rude management, dangerous spills that could make them fall? It's a hard life and people have to make money. By criminalising an industry you are preventing people who don't share your own ethical beliefs from making a living. And sex pays a hell of a lot better than McDonalds and has better working hours. Just because people (government) thinks (and it is "thinks" not knows) that sex is unethical and dirty does not make it true.

Also while people may believe that no one wants to be a prostitute that's simply not the case. There is a great deal of people who enjoy it or at a very minimum see it as a legitimate way to make money. You (and government) have to be very careful that they don't enforce their own ethics and policies on people unless it is absolutely necessary (e.g. rape, killing, etc)
Not sure if that answers your question, but:

If you are looking for seldom-occurring patterns, your random sample almost certainly won't contain it.
I was wondering that too, because of https://hn.algolia.com/?query=A%20Large-Scale%20Study%20of%2.... I think we'll put 2014 above.

Edit: two in one night! https://news.ycombinator.com/item?id=15382275
The original HN is one of the fastest loading sites I regularly visit. You fixed that pretty good.

Disclaimer: I'm on terrible internet connections most of the time and it really makes you hate all this modern web crud. Often "dynamic" sites don't load at all because while the initial HTTP request eventually gets through, one or more of the following XMLHttpRequests or whatever fail, and a lot of the time there is no handler for retries, or no error handler at all, or moronic timeouts (either far too long or far too short).
How I hacked my imposter syndrome using personal tracking
> Or does buying a car in 2017 mean I should expect my every move watched by the manufacturer and available to them to use as they please without my consent?

I can't say with 100% certainty that it is happening, of course, but I do think that, yes, you should expect that it is. If, by some chance, it isn't happening, well, I'm sure it's just because they haven't figured out a way to make a dollar from the data yet. Give 'em time.

I am actually pretty convinced that my truck "phones home" at regular intervals and sends at least some data back to the mothership (odometer data, in particular, but who knows what else), especially after a recent OTA-delivered software update (the first that I am aware of since purchasing the truck). I would not be surprised at all to learn that my car also does so. Both vehicles have built-in (3G) cellular connectivity and both have apps available for interacting with them in various ways from a mobile phone (FWIW, I have never installed them, set up the necessary accounts online, etc., and never will).

In addition, ISTR hearing about (maybe a year or two ago?) some "data broker" that was purchasing vehicle data from manufacturers (or planning to do so, perhaps) and turning around and selling that data to automobile insurance companies. "Oh, he likes to drive 15 MPH over the speed limit? He's never been in an accident or been cited but let's go ahead and raise his rates anyways!".

I have thought before about looking into how to disconnect the cellular radios in my vehicles (especially the Dodge RAM -- cf. Charlie Miller's work) but, now, I think I may go through with it.

N.B.: My vehicles are 2013 (Dodge) and 2014 (Nissan) models. I'm sure things have only gotten worse in the few years since then.
Show HN: Golang unit testing, mocking dependencies and test coverage
The worst way to store and manipulate text is to use an array. Firstly, the entire file must be loaded into the array first, which raises issues with time and memory. Even worse still, every insertion and deletion requires each element in the array to be moved. There are more downsides, but already this method is clearly not practical. The array can be dismissed as an option rather quickly.

The authors of the dozens of tiny editors using this "structure", which were quite popular on the PC in the late 80s through early 90s, would disagree. A memcpy/memove() runs at many GB/s on a typical machine today, so you would have to be editing absolutely huge files to notice. Even back then, memory bandwidth was a few MB/s --- still plenty fast, considering that the typical files of the time were also much smaller.

I can remember a time when I was attempting to write my own editor and at first spending a lot of time obsessing over the data structures (it was harder to find such information at the time) --- only to realise that a lot of the editors I'd tried, including the one I was using the most at the time --- were working perfectly well with just one big buffer.

I've opened files of a few hundred MB in Windows' Notepad, which also belongs to this family of editors; and on a machine a few years old, opening the file takes the longest because it has to be read into memory --- once it's opened, moving around and editing lines doesn't show much lag at all. "Worse is better", indeed.
Fluffy post with little to no useful content
Yet the data in the article goes to 2014!
Show HN: Lightweight C++ GUI Library for Windows
JeffConf, Milan – the community “serverless” conference
He's also made a map of South America which for some reason isn't mentioned in the article.

https://indiancountrymedianetwork.com/history/events/new-pre...
Well, the standard for the car is that they'll phone the owner a couple of minutes after an accident.
You’re saying this like there is consensus that the President should’ve been silenced and disallowed from running... seems pretty ridiculous
Would you mind following the site guidelines when commenting here? https://news.ycombinator.com/newsguidelines.html

They ask you not to do the "did you read" trope. What would be particularly better is if you explained, instead, what the commenter missed in the article. Then we all learn something.
I'm not sure you can really call it underrated, considering it's one of the top recommended self-help-ish books of all time.

I will however join the recommendation as well :)