skysight-inc/HackerNews huggingface dataset:
It can be useful if you want to offload some of the processing to other processes.

// Open a gzipped file, display progress bar
snprintf(buf, sizeof(buf), "pv %s | zcat", filename);
FILE* f = popen(buf, "r");

// Add an additional processing step when reading file
FILE* f = NULL;
if(do_extra_step) {
snprintf(buf, sizeof(buf), "zcat %s | extra_step", filename);
f = popen(buf, "r");
} else {
snprintf(buf, sizeof(buf), "zcat %s", filename);
f = popen(buf, "r");
}

The first example could be replicated by using zlib and reproducing pv's progress bar in-app. More work, but nothing especially tricky about it.

For the second example, it would be more difficult, for two reasons. First, popen() can open either a read or a write pipe, but not both. In order to write to extra_step's stdin, then read from stdout, you'll need to switch over to fork/exec. Second, you'll have to handle all the buffering between zcat and extra_step yourself, rather than getting it for free.
One of the factors may be the fact that a lot of second generation Indian-Americans are mostly doctors, engineers etc. It is really in the culture to go for medicine, engineering and sciences as a career.

Within first generation, there is that segment of taxi drivers, gas stations, store owners as well but again, there is a huge entrepreneurial drive in those segments as well and many of them own their stores, gas stations etc instead of just working there. But then again, a lot of first generation Indians are also very well educated and they come for the STEM jobs as we all know.
Not much you can do to shield these events, it's mostly highly-penetrating gamma rays and muons. Maybe spend a lot of time a few dozen meters underground or the the basement of high-rise buildings. If it helps, you basically have to be within a meter of these things to really experience significant radiation (rough estimate; I don't know what dose actually corresponds to cancer). At a rate of 1/km^2/yr, that means the odds of one of these hitting within 1m of you in a year is 3e-6.

In other words, you can expect to get hit once about every 320,000 years. So I wouldn't worry about it personally. However it's interesting to note that the same logic implies that about 22,000 people are affected globally each year.

As for directionality, they can come from pretty much any direction, but as the angle deviates from zenith (straight up), the particles have to travel through more atmosphere, so the intensity is decreased. Neutrinos can travel upwards through the earth, but you don't have to worry about those causing health problems (for the same reason they are able to pass right through the earth).
Unfortunately, I stopped reading after ...I swung open my laptop... when it appeared to head in the direction of a script for Matthew Broderick or Keanu Reeves.
Show HN: Analysing Obama Speeches Since 2004
Yeah… “as virtual paper scraps scattered before me in all directions”. Really?

edit: I did read the article. This was still the point in the article where I lost the emotional connection with the writer to something which seemed like it wanted to be a script for a hacker movie.
Change Is Quick, Results Take Time
Yes. I wonder why they didn't just roll back the attacker's moves? It seems like the problem is one of those NP-hard type situations, where the solution is very complex (hence crowdsourcing as a brute-force solution, rather than anything algorithmic) but checking a proposed solution is tractable. You might be able to validate a move (or perhaps a block of moves) and either keep or reject.
No, they treat clicking the x to close the window as "close the window".
The cited statement accounts for this:

> Obviously, the initial value of i must be adjusted
> if you change pre-increment to post-increment.
Even non anonymous crowds contain destructive assholes - see plenty of anecdotes and write-ups of businesses. Identification however lets traditional social mechanisms handle the issues to the extent they are able to handle them in real life. The other examples in the article mentioned friends recruiting friends based on utility which tends to be a really good way of preventing dodgy behaviour. The same effect has been used in micro financing in South America where social reputation and therefore stigma is used in lieu of traditional loan guarantees.
GE's Walking Truck (1969) [video]
The previous submission had exactly the same URL and title, so why did the duplicate detection system allow me to submit this? Still, there's some interesting discussion there, thanks for pointing it out.
I see your powered exoskeleton, and raise you a walking truck:

http://www.educatedearth.net/video.php?id=5000
I don't get it. Author downloadeds package and installs on hardware. Author saved $20 by using ripe atlas probe. The end.

I'm going to write a database or a CMS.
Constructor injection?
Here's a direct link to demo[1]. Looks like it received a hug of death.

[1] http://bda-codehow.cloudapp.net:88/
The general idea of a captcha is valid and sound, but it's a problem if captchas turn into crowdsourced labor for Google's neural net. First it was reading house numbers, which was easy and not that time intensive, thus acceptable, but the new captchas are a time sink and hard to accept.
Yes really. In a system designed by an MIT post-doc. I always like to try reading the article before commenting.
> something that compiles and runs well on all platforms

What would that be? :)
Help crowdfund this Upwork alternative
Underdark: peer-to-peer mesh library for Android/iOS using Wifi and Bluetooth
This looks very nice, but isn't it overkill to use RethinkDB when SQLite would do (and probably be about as fast)?
Are we talking human grade table scraps? :)
That's great, and I do the same. But you really need to ask yourself what value keeping those tests around in your repository is adding. In some cases, absolutely they will have value, but I don't think there's anything wrong with saying at least some of the tests you write were there as a tool to help you build.

For example, I almost always do "gold master" testing when refactoring a large unit or module of code (test the big picture input / output given a few cases without regard for fine-grained tests within, refactor away as long as you can keep the tests green). It's an amazing way of refactoring as it acts almost like a safety harness - you have immediate feedback when you've done something wrong and changed the behaviour of the class. After the refactoring is done, however, those tests are almost useless, as they don't test the purpose of a class but just dumbly look at the input and output.

I think a lot of the tests done via TDD should be looked at in the same way.
If they guy who invented them calls them a mistake then maybe they are, or were at least to him.
MIT postdoc decides to embellish his work by dramatic article before entering the Matrix.
I'm not interested in a script for a hacker movie. And I would rather not rely on the MIT association.
Lastpass not using certificate pinning, wut?
It seems that Lastpass are not using certificate pinning for the webapp or desktop app. Discovered this today kinda by accident, but now realise it leaked my password to my corporate overloads.

This fundamentally undermines all of the security that Lastpass have implemented.
I think that's what's gotten us into trouble to begin with. There are fewer houses in the Bay Area than the number of people with extremely good salaries. If you raise everyone's salary, people will outbid each other on housing, and the prices go up.

The opportunity the government has is to step in and buy housing now, while prices are what they are, and then allocate them while ignoring the capitalist desire to sell/rent to the highest bidder. Their shareholders do not expect 10% YoY growth, after all.
Free-market capitalism ? On the contrary, its absurd regulations for new housing that raised prices.
If free market was reigning, many more apartments would have been built, lowering housing prices.
There are literally dozens of alternative school models throughout the world, and I've done research on a lot of them when I had my kids. What I found was broad and varied. Different results, different opinions from parents and former students, different conclusions from researchers. Both on the positive and negative sides. I never got to make up my mind, and I ended up putting my kids in a public school in a small town where there was only one school per age segment. It's a pretty good public school, probably like a good private school, but there's a difference in that the student body is truly varied. My kids study with the son of the garbage collector and the daughter of the supermarket owner. There is a Waldorf school not too far from here, in a neighboring town, but it's as diverse as a very expensive school with everyone arriving in imported cars can be. So I chose not to put my kids there.

edit: Plus, I'm not too fond of Waldorf's philosophy, and even less of the Anthroposophy's.
> What if I don't want to make money from my content?

That is perfectly fine and there is nothing that stands in your way of doing that - more power to you! There is a contingent who do not want to pay for, or view ads on content from publishers who would like to make money from their content (because it is their day-job)
> "to spiral to the ground and be destroyed"

That article stated, that these birds are able to bring the drone to the ground safely.

> "It seems like fair game to build anti-bird defences..."

[irony on]
Yeah totally.
[irony off]

Because it is your right to fly your drone everywhere? To potentially endanger others?

Let's say imagine these trained birds attacking your drone after it moving into the flight path of a landing aircraft. Or above a crowd at a festival, or above your neighbors garden.

What if it fails and drops? What if it crashes into something (plane) or someone (human)?

If someone would endanger me or my beloved ones (be it in a plane, at a festival or in my garden) by flying these things irresponsibly - believe me a drone would not be the only thing broken if I could get to them.

If these birds are there to protect others from people using these things for malicious reasons or in a way that is just dumb (read idiots), I would hope that the owners of these things additionally get fined a horrendously high amount. And have to pay for the deployment of these countermeasure birds.

Make the learning experience a painful one for them I would say.

> Perhaps it will make these people think twice.

I am with you on this one. OK; I think of the drone operators as "these people" but isn't this the same?
An STL file is made of floating-point triangles. You get X,Y,Z for each of the 3 corners.

It should be integer tetrahedrons. You'd get X,Y,Z for each of the 4 corners.

Tetrahedrons let you fill the middle. Each tetrahedron should have fill data, for the whole thing or corner-by-corner for gradients. This would allow variable density, elasticity, conductivity, opacity, hardness, etc.

Integer math solves the problem of variable rounding that often screws up STL files.

Being unit-independent is much better than having one particular unit. You may think millimeters are great, but to others this might as well be angstroms or chains or twips or rods or parsecs. Unit conversion introduces rounding error. I could go for an optional free-form text field that suggests a unit to use, with the software defaulting to the suggested unit if recognized. Software should let you define the unit.
Instant- Automatic Time Tracking
Our startup Emberify has been working in the Quantified Self space since the past two years.Our product, Instant tracks your life automatically and puts it on a dashboard. We track the time you spend on your phone/apps, travelling, at places, sleeping and on fitness activities. We visualise this data and further give the users reports based on it.

This allows users perceive themselves in a better way and also help them live a healthier & productive life. Here is our website: http://instantapp.today

Looking forward to discussing Instant further with you, especially the Quantified Self chatbot that we are launching next month.

Best regards,

Kartik Chaudhari

http://emberify.com
The point is, as your tests get more and more fine grained, and the units themselves get more and more fine grained (in my experience these go hand-in-hand with a TDD approach), the changes that the units themselves maintain intact approaches zero, because otherwise the only refactorings possible are completely trivial.
OpenSSL Certificate Authority
Most of New York is really crazy. There are many places in Manhattan that are cheaper than places in Brooklyn and Queens now.

If you have a million dollars to spend, though, you may be able to get a pretty nice studio or a pretty crap 1 bedroom, though.

(I'm sure Staten Island and the Bronx are relatively cheaper though. Ultimately the neighborhoods I want to live in are neighborhoods that most other people in my income group want to live in. Thus prices go up.)
I used an Xbox kinect as a 3d scanner before, and the resolution of the 3d sensor is wayyyy too coarse-grained for anything really useful, unfortunately.

It works well for human-sized objects, but you can forget it for smaller things (it had trouble scanning my then-reference object: a beer can)

That was a couple of years ago - maybe software has evolved enough to make it useable in the mean time.
It's not only about Agile, but incremental development is always detrimental especially for complex projects. Also, most companies apply some ghetto version of Scrum, most don't even know what SOS (Scum of Scrums) is, pick and treat the Scrum Master incorrectly, don't even do Planning Poker, don't use Epics at all, don't define stories right, don't use burndown charts at all, etc. In most cases, I see Scrum as an eyewash for the business. It's a pseudo-scientific approach to prove to business we've done something this week, and a solid excuse for missing deadlines, etc.
Visualize the orbits of exoplanets
> this could have been written yesterday or thirty years ago

An astute observation which reflects poorly on our industry!
I agree, but I was referring to Medium's business model (because of the OP's comment) - get people to write your content for free, and then make money off it. It's frustrating that they block distribution of your content to increase their own revenues. It's a completely different use case to BBC, the Guardian, NYT, etc, who pay people good salaries to write their stories.
Apparently even pay-as-you-go plans in the US have a fixed monthly payment: http://prepaid-phones.t-mobile.com/pay-as-you-go
Hah, well now we kind of know each other from both elevators and the Intarwebs ;)
Just for clarity: I don't care about duplicates. When I post links to past discussion it's only to point people to comments that they may find interesting.

I think the dupe detector is weak to allow interesting articles more chance to get substantial discussion. This is an interesting article, and it would be (in my opinion) a shame if it got caught in the dupe detector. (But obviously I'm not a mod!)
Because it was 584 days ago. HN lets you repost something after a while.
It would have been interesting to add in a validation layer, letting the crowd evaluate each others moves, creating a virtual trust score for each player. Those with high trust scores get to meta-moderate others moves before those moves can be applied to the board. You can also try to catch trolls here by presenting them with a known good matching and the system blackholes those who reject it. Similarly, if their overall trust score dips below a certain threshold, whether due to poor skill or malicious activity, they get blackholed then too and any subsequent change they make to the board is only visible to them privately though they think they're causing havoc.

Combine a system like that with a requirement that N (some reasonable number of randomly chosen people) must agree when combining pieces or splitting pieces before the change is applied to the master board. And add the ability of the project admins to scan the board and lock in place obvious good solutions. That might work.
For joining vcs (git) plus db (datomic), there's an interesting library called codeq:
http://blog.datomic.com/2012/10/codeq.html?m=1
Also:

http://youmightnotneedjquery.com/
There's plenty of work and documentation on that very subject. Here's an example link.

http://www.bletchleyparkresearch.co.uk/research-notes/women-...

Also, there's a good few books about the role of women in the development of Computing in general. I've been enjoying one called Artificial Knowing by Allison Adam.

Also, if you move in the right circles you might see a couple of ex-WRENS who worked with Turing and Colossus making a public appearance, they're sharing their stories of the contributions they all made.
I'm in a country with a crazy healthcare system. Medical disability barely covers the absolute bare minimum; spending that 15 on a SIM (assuming I could find a phone somewhere) would require not paying of one of the drugs that are keeping me alive.
> Perhaps it will make these people think twice.

About protecting restricted airspace?
I stand corrected. In that case Auth0 is even more overpriced than I originally thought.
the imputed tax article has led me to read https://en.wikipedia.org/wiki/Land_value_tax#Real_estate_val... - it's quite interesting. The overall benefit to society is good, but to the individual, a LVT is going to (at least, in the short term) be a loss. I guess it's similar to https://en.wikipedia.org/wiki/Braess'_paradox regarding roads!
You never have to decide that something is absolutely true regardless of any new evidence.
The SQL filter clause: selective aggregates
DNS Cookies
If a link was posted that long ago maybe the original year could be automatically appended.
I actually force myself to do at least some of the development on (no cross-compilation) a raspberry pi for the reason of getting a snappy build-time.

I had even forgot there were instructions like that, outside the technical bits I'm probably the worst person to write helpful guides as the workflow etc. is just so strongly internalized that most of it 'feels' obvious.

Now don't look at the code for generating the FFT (or anything else in the _decode frameserver for that matter), the reason it doesn't update smoother is just how much I don't get along with "lib"vlc, but I added it more as a novelty (spoiler, FFT precision is murdered and packed into a texture and the rest is a shader, it doesn't even synch well).
In your example, unless your send_mail procedure is generic over transport in some way, surely its use of TCP is an inherent part of its behaviour, not an implementation detail?

You're going to have to handle them as TCP errors anyway, even if they're lifted to a different type, so why not just throw them as they are?
Yes. But then you have to define an explicit constructor. Also X maybe auto wired into ServiceA or B making it impossible for the IoC container to create the intended object graph without splitting construction and injection into two passes.
I've always been surprised that anyone thinks shared cloud password databases are safe. You'd have to trust that service so completely.

My suggestion is to use KeePass and store your database in a zero-knowledge, self-hosted cloud with end-to-end encryption (and also secure it with an offline private key).

If setting up that cloud storage sounds like too much trouble, SpiderOak is a good centralized, zero-knowledge service.
Is there a reason this must be an ISO? or can it be repackaged as an "apt-get install cublinux" and be available on an existing Ubuntu system (perhaps as just another session)?

There's a debian repository at https://bintray.com/cublinux/deb but I didn't find a master/virtual package.
And it was skydiving, it will probably be changed to paragliding then paraplegic ;D

Not that much work, I got a victim machine that is just some scripts, qemu and VNC. It boils down to a keypress to get a new instance activated and when the VNC connection terminates the image is killed. I still place too much trust in the browser..
Yes, there are two images. You should be able to click on them separately to open the full images [0][1]. The first screenshot shows a preview of the file with its name which I tried to upload to Twitter, the other one shows what I observed locally through htop when running `convert` on that filename.

0: https://pbs.twimg.com/media/Cjqj3oiXIAAYJix.jpg:large

1: https://pbs.twimg.com/media/Cjqj3pFWkAEaRcD.jpg:large
I think you'd like C#'s linq syntax and null coalesce operator. While obviously they don't get away from null, they go a long way to making this type of syntax and null safety much easier to implement.
Public school kid here. From my experience, the writer is clearly coming from a place of elite Hollywood unreality: http://carolblack.org/about/

Most of the "wildness," or more to the point, "hatefulness" clearly came from the parents. The racism, the homophobia, the Disneyesque self-absorption, the intolerance for anything outside of the present iteration of pop culture and regional sport -- all seeded, fostered, and fed by the family. The kids were barely old enough to even understand any of this stuff, let alone hate someone for it, yet they did!

I doubt that the Thoreau experience is going to have much effect on damage inflicted outside of the classroom, and this is a big thing. It's why we have "good" school districts and "bad" school districts within the same county -- expenditure per pupil is the same, buildings are the same, teachers are mostly the same, but the upbringing is not.
The funny (or sad?) thing is that I have received spam to my craphound.com email address, too. Guess the subscriber database got leaked at one point.
Not sure what this says about unit testing in general, but Perl 6 as a language is specified by a test suite. Ie. the only official language definition is the test suite:

http://doc.perl6.org/language/faq#What_is_the_Perl_6_spec%3F
Well, someone needs to pay for hosting, the performance improvements, and security audits and patches. There ain't no such thing as a free lunch...
TrustZone is an ARM thing for the general-purpose computer on the device. The modem and radio are not relevant to discussions on TrustZone.
Yes it does. The alternatives will not be preinstalled and thus not have many of your friends using them.
It just sets of my BS detector. Some people will think it's OK to lie to get others to use their prefered coding style.
I think it's a bold, fun idea, with good aesthetics. Now, I'm not going to pay anything, but maybe someone will?

After all, this is mostly advertisement space. Humble Bundle leaderboards have served as de-facto advertisement space for some time. And if we go a lot back, The Million Dollar Homepage is still up, isn't it?
I am not sure about what would happen if such people decided from one day to the other to work in their towns. No more policemen, no more teachers, ... ?
Chinese users criticize Microsoft's push for Windows 10 upgrade: Xinhua