skysight-inc/HackerNews huggingface dataset:
We are using a single mounting point and single aggregate Redux store for an enterprise-scale web application. I think multiple stores and multiple mounting points would be really useful in the case of truly disjoint components.
Chemical computing comes to mind

Video: https://www.youtube.com/watch?v=cHoYNStQOEc (not by an orignal author)

Paper: http://link.springer.com/chapter/10.1007/11527800_2

More stuff: https://github.com/gigasquid/chemical-computing
I think tourists would need WiFi more than residents.
There would be a sizeable portion of devices that do not support a second ssid or a second network. Also if you have more than one access point, the underlying switched network would have to support 802.1q vlans to separate the two networks, a sci-fi in home network switching.

Guest access approach adheres to best practices, but isn't as simple or as ubiquitous.
Maybe they want to limit them to people with allergies to try and prevent crazy epinephrine sprees like Jason Statham in Crank. /s
I often use make to run jobs in parallel. It is nice to be able to continue after an error or breakage, especially when working with large workloads.
I don't get a "Reply" link under your later comment two levels down, so I reply here instead:

> ...they are saying gender difference results were not statistically significant -
> I don't understand why even report them then ?

Because reporting a negative find is information too.

What is the difference between not knowing and knowing there is nothing? Don't tell me there is none... :)
Earthquake Damage, Italy
>No, people who ask for trigger warnings don't want it enforced by law.

So you believe that 'trigger warning' advocates support the University of Chicago decision then, by not having a formal rule in place in regards to them?

>If a friend asked you, "please don't talk about rape or slavery around me (in cases that you really need to) without giving me an opportunity to collect myself", would you say "sure thing, I'll try and keep that in mind" or "no, fuck off and look after yourself"?

Depends, a friend in a one on one conversation. Sure but I might find the person difficult to talk to as I have to be on eggshells all the time. If I was doing a stand up comedy act? I'd tell them to fuck off because that is tantamount to censorship.
Contributing os.scandir() to Python
That article says they didn't even submit an application until this summer.
Why should that burden land on patients? Many patients will have trouble understanding the pros and cons of different meds; especially if there is any polypharmacy going on.
> if your product doesn't embarrass you, you've released too late

In the age of shallow work, this is the dogma, that justifies shitty things being released as a philosophy of continuous improvement.

In my opinion no lasting and great product can be built that way. Only more shitty things that flood our market. You collect feedback on your shitty app and implement optimization? How does that differ from design by committee?

To be timeless and produce the highes possible quality you have to go deep, understand the problem you are trying to solve and solve it once and for all.

Solve it to and above the best ability you can bring to the table at exactly that moment in time.
A great and fun way to learn a new language.
Show HN: ~85% automated cleanup of Windows systems
Digital Timer in Chennai
We have delivered nothing but the best to our customers.Being a quality focused company,delivering zero defect products and giving post sales support is our ultimate goal.visit @ http://goo.gl/hfGsYr
That's pretty nice link. Thanks for it. Yeah, that but for basic software.
I built this tool for myself one day after looking around and not finding any commercial or open-source solutions for what I wanted to do (automate tedious/repetitive parts of system cleanup). On a whim I posted it to reddit/r/sysadmin and it sort of blew up. 2 years later it has ~12k followers and has had hundreds of contributions and volunteers. If you can spare any time to look over the general "flow" and approach of the project, or even the code, I'd be hugely in your debt.
It's amazing (and not in a good way) that this stuff is being shipped in a point release.
The NSA Is Hoarding Vulnerabilities
Just the usual story of corrupt congressmen and a Republican in the White House: https://en.wikipedia.org/wiki/Medicare_Part_D#Criticisms
> I am more a `killall <processname>` guy.

I've made a note to name the executable for my next daemon "humans".
I used to get cold calls for after market warranties even when I didn't own a car.
It's listed as a 3-axis translation joystick, so (I assume) it's being used for RCS control in space, of which digital switches would be better, for accurate control.
Automated image forensics tool http://getghiro.org
Nice to see that oldtimer Bitcoin is following Nxt in implementing Coinshuffle. I believe that Nxt is the only blockchain who runs the Coinshuffle protocol native in the core. Or am I wrong?
The doesn't really answer my question and from what I can tell the measure was rather bipartisan.
How much speed improvement would such an algorithm give in practical circumstances (for instance assuming that network outages are rare)?
Niki.ai’s new Messenger bot lets you hail cabs and order snacks in India
Check Out This App
Off topic and a total tangent, but... Oh well!

Plex has done transcoding, including subtitle burn in, for a LONG time. It's a modified (I think) ffmpeg they ship with the server.
Can we leave the toolkit evangelism to a different thread? The subject is behavior which was routinely implemented better in the mid-90s without using JavaScript at all.
Trailing commas are allowed in C!
Tips on effectively managing technical debt
It would be a waste of resources to rescue an ownerless phone.
This is certainly good practice as long as anyone contemplating this considers the cost implications versus serving from S3 directly.
Chicago accepts plain old Apple Pay. It goes directly to your credit card and doesn't give a discount for transfers though. It can't, because the credentials are intentionally not persistent.
> He summarized the most upvoted posts from the last thread [1] really well.

I feel like he glossed right past the objections to the biggest and (to my mind) most destructive proposed change, the commas-to-whitespace thing; in fact doubles down on it (let's just declare that commas are whitespace! That surely won't confuse anyone!)
It's time we start looking at Internet mesh networking more seriously.
> If other engineering disciplines can be hired by talking intelligently and answering questions related to their field, why can't software engineers?

Other engineers have professional registration and thus some form of regulation. In some countries you're not allowed to cal yourself an engineer unless you have some particular qualification and the registration.
It probably does, but to the best of my knowledge, no one makes anything analog that you could use as a three-axis translation controller without some serious rework. A digital device is much easier to work with.

Also of note: while I've never played Kerbal, years ago I was very seriously into Orbiter, which is a somewhat more rigorous simulation. Especially when maneuvering in close proximity to another vehicle, you actually wanted to avoid analog control of RCS thrust, because that's hard to control precisely and it's very easy to find small errors compounding and your ship getting away from you. So you'd put the RCS in what I want to say I remember being called "vernier" mode, where each control input regardless of magnitude or duration produces a specific, calibrated quantity of thrust, which can be precisely counteracted by the opposite control input. So at this point, you're effectively treating an analog control device as digital - which works, but something like the three-axis controller detailed here would actually be a lot more comfortable to use for vernier control. If I still played Orbiter at all, I'd be asking OP for more details on the parts he used and how he put them together, so I could build something similar for my own use.
A Whole Country Faces a Ban Because of One User
Open source Kraken/Mermaid/Selkie/LZNA/Bitknit decompression
Discussion: http://encode.ru/threads/2577-Open-source-Kraken-Mermaid-Sel...
My 2 cents:

There's not enough in the article to make me think you know what your talking about. either build some kind of authority or give some kind of example were its worked.
Further overloading this overloaded utility name screws up packagers and hinders usage of any of the variants. Rename it please.
Astronomers have discovered a massive 'ghost galaxy' that’s 99.99% dark matter
all the better for maintaining a clean suite of unit-tests too!
trivago standing by to answer your questions :-)
PowerDNS Recursor 4.0.2 released
> You need to qualify (usually by residing in that city)
> and apply for an account with a personal username and
> password.

I've never seen that as a tourist. Accept terms maybe; perhaps even some survey-type details, but never an actual login.

Malta for example has incredible coverage - it's everywhere, even small towns. Just accept terms and give nationality, age, gender.
For a static blog/site, there are lots of options like neocities, netlify, bitballoon, github pages etc...

I built a service that hosts static files and provides a CORS api to a 'backend as a service' that provides a database, captcha, and user management. My goal was to provide everything I'd need so I wouldn't have to go set up a server for ever little project I wanted to do. I welcome any and all feedback:

https://www.lite-engine.com
Having worked for companies trying to detect mobile phones this would be about as useful as guessing. Triangulating a signal (if you could even get one from under 2 tons of rubble) is not an easy task in the real world, especially one that would need to be accurate to within 1m or so.
Nice write-up. It's good they use Raft given the formal methodists are doing a ton of work on verified implementations. Recent example using Verdi where it's verified plus performance-competitive:

http://verdi.uwplse.org/raft-proof.pdf

Likewise with 2 phase. Lots of analysis out there. Building on such proven protocol designs will help them out in long run to get where they want to be.
An undercover cop who abandoned the war on drugs
GNU Parallel is extremely sluggish because it does all sort of different things behind your back: It buffers output on disk (so the from different jobs are not mixed and you are not limited by the amount of RAM - it will even compress the buffering if you are short on disk space), it checks if the disk is full for every job (so you do not end up with missing output), it gives every process its own process group (so the process with children can be killed reliably with --timeout and --memfree), and a lot of other stuff.

It lets you code your own replacement string (using --rpl), and lets you make composed commands with shell syntax:

myfunc() { echo joe $*; }
export -f myfunc
parallel 'if [ "{}" == "a" ] ; then myfunc {} > {}; fi' ::: a b c

It does not need a special compiler, but runs on most platforms that have Perl >=5.8. Input can be larger than memory, so this:

yes `seq 10000` | parallel true

will not cause your memory to run full.

You can read a lot more about the design in `man parallel_design` and see the evolution of overhead time per job compared to each release on:
https://www.gnu.org/software/parallel/process-time-j2-1700MH...

In other words: Treat GNU Parallel as the reliable Volvo that has a lot of flexibility and will get the job done with no nasty corner case surprises.

It is no doubt possible to make a better specialized tool for situations where the overhead of a few ms per job is an issue and where you neither need brakes, seatbelts nor airbags. xargs is an example of such a tool, and you can have both GNU Parallel and xargs installed side by side.
West Ham Keluar Dari Liga Eropa
Until we see a measurable, provable change from one of these "social media" campaigns, they don't mean shit.

The Internet's attention span is 45 seconds on a good day, and that's not enough time to affect real change. Until this changes companies realize that all they have to do is weather the (brief) shitstorm until people move on to the next buzzworthy thing and then they can just go back to business as usual.

How many people know that the drug Martin Shkreli jacked the price on is still that same price long after he left the company? They never even did a show of putting it back briefly, the price was jacked up, Martin took the hate off the drug company that did it, and they kept collecting the money.

I don't think social media can affect real societal change because it's like trying to get an unmedicated ADD kid to do his homework, you can't hold his attention long enough to make meaningful progress.
You have to design for those failures. In our case we spawn 200 containers for one build, if 9% of those crashes, we still have a satisfactory experience.

In the end, at this scale even with four or five nines of reliability, you'd still have to deal with 80 or 8 failures everyday. So we would have to be resilient to those crashes anyway.

However it's a lot of wasted computing and performance that we'd love to get back. But even with those drawbacks our Docker based CI still run 2 to 3 times faster than our previous one because containers make heavy CI parallelism quite trivial.

Now maybe another container technology is more reliable, but at this point our entire infrastructure works with Docker because besides those warts it gives us other advantages that makes the overall thing worth it. So we stick with the devil we know ¯\_(ツ)_/¯.
My worry in that case though is you could end up with a whole heap of unnecessary abstractions which can make reading by a third party (or yourself even in 6 months) a little more tricky. I'm seen so many functions of the like of `Util.checkNull(String str)` where simply `str == null || str.empty()` would have done.
It does: Rsync.
Whole city of Cardiff has free WiFi coverage in many places. Every bus, every tourist attraction, most bus stops, galleries etc.
Thank you for that - it was interesting at least, even if I've probably done it all wrong (TLDR - compression on ZFS definitely varies with the data you try to compress)

https://blog.voltagex.org/2016/08/26/benchmarking-compressio...

Fun fact: while researching this I found yet another article that contradicts the information I had when I built my zpool, and apparently I've done it all wrong (again).
[cockroach labs engineer here]
Where are you getting the "ignoring stability" part? Or that we "skipped correctness and stability" (in another comment of yours)?

Correctness and robustness are the main factors behind the design and implementation choices we make. A significant part of the overall engineering effort has been on stability for a long time. We're now making it closer to 90% for a while.

None of this is unexpected in the development of a complex system, especially when there are many factors involved in deciding how much to focus on various aspects. I have worked on a few unrelated systems which turned out to be stable and successful when released and - at a comparable stage in their development - they were much less stable. So personally, I am very optimistic about CockroachDB.
I think part of that is the time involved. Watching Bolt takes 10 seconds -- the entire event can be shown on the evening news. Not as many people sit and watch the 10,000 meters and even less an entire marathon. The more time involved, the more likely it that you are a fan of the sport/activity.
Then maybe we need to push for that. I'm just tired of the way we do things currently.
Apple issues critical iOS update to thwart “Pegasus” malware
Ironically, the controller itself looks more sturdy than the wobbly, jello ships in KSP proper (doesn't help that Unity's physics engine chokes on KSP's complexity).
Effect sizes and power in cognitive neuroscience and psychology literature
A-Frame v0.3.0 released with full HTC Vive support
Did anybody else click CrashChrome.com (or equivalent) in the sidebar?
That still seems overly specific in that the content server must opt-in by using nosniff, but I guess that's the reality of backwards-compatibility.
“Just use X” · For val­ues of X in­clud­ing Hj­son, Ama­zon Ion, edn, Tran­sit, YAML, and TOML. ¶
Nah, most of them are way, way rich­er than JSON, of­ten with fully-worked-out type sys­tems and Con­cep­tu­al Tu­to­ri­als and so on.

What? MOST OF THEM? YAML is not, Hjson is not, TOML is not.
Number of supported architectures. You'd be surprised for how many chips gcc (or any free compiler) just isn't available. But every chip vendor will sell you a commercial bundle of IDE (most often eclipse...) + commercial compiler + their proprietary embedded OS for a few hundred or thousand dollars. This will most often produce usable code out of the box, without you having to mess around (too much) with linker scripts, startup code and other things a lot of embedded developers have a hard time to get it running.

Yes, the licensing is a pain in the butt, but if you get to start working on the actual code you are paid to develop a months earlier the $1000 spent are a bargain!

This could of course be remedied by more prople working on gcc (or any other free compiler). But as the majority of a compilers' users will not be willing to invest time to work on the compiler (because they get paid to ship their product), and frankly most of them will not be good in compiler writing. So a commercial company will invest a few man-months of their own, add support for some obscure chip in their proprietary line of compilers, and sell it for $1000/install to the few hundred people working in the (huge) closed source industry building control-systems for power-plants, motor-controls, cheap-IoT-remote-controlled-powerstrips, ...
If this sort of thing interests you, I cannot recommend https://www.nostarch.com/tlpi enough. The hardcover is worth every penny.
Full title "Empirical assessment of published effect sizes and power in the recent cognitive neuroscience and psychology literature" was too long. Authors: Denes Szucs and John Ioannidis
I'm still not sure what setup I have. I really should have written down every decision I've made while building my NAS (I think I've now found articles that disagree with every single choice I made)

$ zpool status
pool: BoxODisks
state: ONLINE
scan: scrub repaired 0 in 9h20m with 0 errors on Sun Jul 31 01:31:31 2016
config:

NAME STATE READ WRITE CKSUM
BoxODisks ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/18059e22-b6a4-11e5-9cca-0cc47a6bbf34 ONLINE 0 0 0
gptid/194649b1-b6a4-11e5-9cca-0cc47a6bbf34 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/1a86b3cc-b6a4-11e5-9cca-0cc47a6bbf34 ONLINE 0 0 0
gptid/1bcd3ad6-b6a4-11e5-9cca-0cc47a6bbf34 ONLINE 0 0 0
cache
diskid/DISK-S24ZNWAG903847Lp1 ONLINE 0 0 0

I think I have mirrored vdevs.

What does that mean for replacing failed disk/s? What does that mean when I want to upgrade to 8TB drives? The biggest "mistake" I made was buying a very expensive 4 bay enclosure - 4 drives is not enough.
The actual Perl code calls out to ssh and rsync (or can be configured to use something else) when it's time to actually connect and transfer files. It just does it in a way that is nice and reasonably transparent to the end user.

It felt like his complaint was that that was 'bloat' since Real Men can achieve almost the same thing by just piping some output through some bash scripts they just hacked together.
Urban Hacker: Tech, science and coding news site
The wiffle-ball-graph data structure is O(n) for insertion, sure (each new ball has to be tied to a bunch of existing balls and finding them is probably O(n) at best), so building an n-node wiffle-graph is O(n^2), but shortest path queries on the data structure are O(n) at any time (again because you have to go find the two nodes of interest, then spread them apart by at most n units of distance).

You can also sort all the nodes by distance from any given node in O(n) time by holding the chosen wiffle ball and hanging the graph over the edge of an O(n) tall tower.
Show HN: Top books mentioned in comments on Hacker News
The US pharmaceutical marketplace operates under a "free pricing" system. Companies are free to set their price to whatever they feel like. The only thing that limits the price is the response of the market.

I agree that it's a not a price vs. demand equation since demand won't drop off for a product like this since there aren't really any substitutes (other than the vial and syringe which has limitations). However, public response to a price is a very strong motivator for drug companies. I can guarantee you that Mylan's C-suite is in a frenzy right now trying to figure out how to fix this.
Sad that preventing piracy is considered more important than easy access to free information.
So is it "Best cancer diagnosis system", or "Breast cancer diagnosis system"... or did you mean that he was from the UK, and this is a portmanteau word, like "Brexit"?

Also more to the point, Elizabeth Holmes-Madoff and Theranos. Call me when he can prove this isn't a device for looking at boobs.
I wonder if they will succeed with autonomous fleet, or will burn through all the cash and reserves way before that...
Hacker News Books is a service that aggregates all links to books on Amazon, Safaribooks and O’Reilly found in comments on Hacker News. It does that on a weekly basis, calculates a rank based on how often each book is mentioned and the karma of the users. So books mentioned several times by different people, having high karma will make it to the top. I’ve processed about two years worth of comments (you can also see the whole yearly list, which is pretty long - up to 1000 books). I was expecting to see way more tech books but in fact the topics are really diverse like startup, management, parenting, mindfulness, etc. especially when the links don’t come from a long discussion about functional programming for example.

I’ve added a newsletter in case people want to keep up-to-date and I plan to maintain the service as I’ve found some unique books while I was coding the website. There is also search that searches only the submitted books, so this is another good way to browse the collections. Currently there is a newsletter popup, which may be annoying to some users, please click away if that is the case. I will rework it to be less intrusive.

Any recommendations and feedback are welcome. Disclaimer: For amazon links there are referrals, the other links don't have those.
How to allocate memory
pselect / self-pipe / etc. on SIGCHLD, and on receipt of SIGCHLD, loop through all known child processes with wait(WNOHANG).

... I'm not sure I can disagree with "no sane way".
It is somewhat creepy to realize that I'm looking at a dead man's website.
Why the anti capitalistic sentiment? Is programmers want to get paid for our work, right?