skysight-inc/HackerNews huggingface dataset:
If at least they had used a JSON parser instead of a full blown (slow) language!
The author doesn't mention the go-to option in this scenario: write a data mapper[1] to dehydrate your object.

While I'm a huge proponent of PostgreSQL and the hstore[2]/JSON column types (hstore column type is not mentioned but it existed way before JSON columns), it's still more common to use PostgreSQL in a primarily relational fashion and the author could have touched on that more before giving us the scoop on the new shiny stuff.

[1] http://martinfowler.com/eaaCatalog/dataMapper.html [2] http://postgresguide.com/sexy/hstore.html
Christ.ms – Christmas Countdown
Actually, you can't (https://www.faa.gov/uas/).

And I think this simple ignorance illustrates the looming problem for the UAV community. As a commercial pilot and experimental aircraft owner, I can tell you that if the UAV community does not start to self-police these types of excursions, either by education or with software solutions (like the GPS-limiter mentioned in the article), then the regulating bodies will do it for them.

Most HN readers would agree that there is huge potential for UAV technology, but one needs only to look at the glacial progress of certified aviation technology in both the US and Europe to see that over-regulation can and does stifle innovation.

For readers familiar with the differing regulations in the US for experimental category amateur-built aircraft vs. certified light aircraft, you've seen the wide gap between what is possible to do with technology and what is legal to certify. In most cases, an aircraft built in your garage is far superior in display and sensor technology than your average certified airplane. This trend has only recently started to self-correct.

The point is, US organizations such as the EAA and AOPA do a tremendous amount of work to educate their members and to lobby Congress to ensure that what limited freedoms we have are maintained. I think the UAV community needs something similar or their industry will get regulated to death -- especially after the first drone gets ingested into a jet engine.
So, we need longer feet. Or longer shoes.
Random policies just because they can. This is why Android will always beat Apple for market share.
There is a huge class of cognitive mistakes our brains make that we are aware of, but we can't really train them out of ourselves effectively. Since we can't rewire our own brain, the hope is to wire up something that would not exhibit those known mistakes and biases.
Live Coverage of the Senate Torture Report
MIT students build a roller coaster in one week
I am sure there are geniuses that have walked away from shit jobs in industry as well.
Note the absence of the word 'in' ;-)
The author has a follow-up post that addresses a lot of things that are also popping up in the comments here: http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool...

EDIT: Also a HN submission by the author himself: https://news.ycombinator.com/item?id=8721929
This is a reasonable thing for MIT to do. Many comparisons to book burning have been made in various comments, which is not a good analogy. In this situation, the analogue to book burning would be burning his books[1]. MIT is just declining to have their name on the cover of his books (read: lectures) any more.

MIT is not trying to decree that the guy has some egregious objective moral failing. They're saying that they ran an internal investigation, with the help of other physics faculty, and found Lewin to be in violation of their institutional sexual harassment policies, and as a result, they're removing his content from their platform. This is a perfectly good reason to distance themselves from him, as well as making it clear that they take sexual harassment very seriously by impacting his legacy so negatively.

MIT OCW continues to host courses for 8.01 and 8.02, the courses his lectures covered, with lectures given by other faculty[2]. The loss of material to learn from is marginal at best - these videos are for the same courses at the same school with much of the same infrastructure (notes/recitation videos/etc).

[1] http://www.amazon.com/For-Love-Physics-Rainbow-Journey/dp/14...

[2] http://ocw.mit.edu/courses/physics/8-01-physics-i-fall-2003/
Squid emits a glow that camouflages them against the night sky
Eclipse support of any build tool is quite bad, since they are always seen as external tools (looking at you M2E).

I rather like the approach taken by Netbeans where they refactored the IDE to use build tools as the project format, with known targets mapped to IDE actions.

Same approach taken by Visual Studio as well.

Cannot say much about Android Studio, because lack of C++ editing/linting/refactoring/debugging and NDK support keeps me on Eclipse.
Great - I'm the same in the first 3 properties, but I don't believe in god (I'm agnostic). I'd like to ask you a few questions that I have wanted to ask intelligent self-proclaimed rationalist for a long time, regarding belief.

What kind of God do you believe in? Is it more of an omni-potent being (like the Abrahamic God), or just a being with supernatural properties (like a Roman god), or just "something out there" (like a "first mover" of the universe)? Do you believe in any single god, such as Alah/Jahveh/Christian God, or Vishna (Indian God), or any of the Roman, Greek, Pagan or other gods? If yes, how do you rationalize your belief in this particular god, and the exclusion of some/all other gods? Do you consider your belief to be the ultimate "truth" (i.e. the people who don't believe or believe in something else are wrong)? If not, then I assume it's a personal belief - is it not just a "good feeling" belief, not a rational and universal "fact"? Edit: are you open to renegotiating your belief (i.e. stop believing or believing something else)?

Sorry for the onslaught of questions, but I just can't see how one could rationalize an belief of some unsubstantiated "truth" no matter how hard I think about it, so I'm looking for someone to change my view - hopefully a rational person (as you claim to be) that presents rational, well-thought-out arguments.
Most Americans say the Internet is actually making them smarter
Lol, touche.
The Quest to Hit 1,000 MPH in a Rocket-Powered Car
What is program is that?
In Germany anyone on the telekom network who has a new contract or changed an exisiting contract in the last 16 months or so has IPv6.
Cool to see Belgium at almost 30%... we can learn something from our neighbours (only 2.5% here in .nl)
In one project I was able to achieve an identical "ideal ddd aggregate store" using MSSQL.

- The aggregates are XML serializable entities persisted into tables using the XML datatype (fairly comparable to PostreSQL's JSON datatype).

- MSSQL has numerous methods for querying, updating, and reading from XML typed columns. They're certainly clunky, but they do work.

- To simplify querying and indexing, we created computed columns with a user defined function to query from the XML column. By marking these columns as persisted, the UDF is only executed and the column updated when the row is written. And as persisted, the computed columns can be included in normal indexes to improve performance.

A lot of folks may scoff at using XML, and especially MSSQL's XML datatype. But I will say that it works. And after you've built a simple foundation, developing your aggregates and working with them almost becomes a breeze.

And as far as XML versus JSON... it almost doesn't matter in this case.
there's no such thing as "UAV community" in this case. the vast majority of stupid flights are made by the general public getting a "drone" in some shop and flying it in "funny locations" such as airports.

These have no idea what they're doing and do not participate to forums/communities/etc thus are difficult to regulate.

Blaming it on the UAV community is actually also being ignorant. The actual community is literally spammed by posts about flying safe/where to fly/etc.

I think that a decent analogy to these drone pilots are laser-pointer owners pointing at airplanes. That's totally retarded, doesn't achieve anything exciting - it only risk other ppl's life with low chance of getting caught. Just like drones attempting to "film" 747's landing and the like.
You could probably arrange that person to be on a photograph (say ask him/her to hold a sign "I support our war heroes!" or something else everyone would agree to hold if you said you're making a photo album for a non-profit) and work from there.

But in general, this class of problems is why a biometric lock is only useful if accompanied by a guard with a gun stationed next to it.
> The only one that actually doesn't make you cry is 'make' because it's so simple,

I imagine you never wrote Make scripts that had to be portable.
5 Lessons Peter Capaldi Learned from Doctor Who
No need to insult the author.
It could be so, but I doubt it. From talking to Europeans here, and reading about it on the net, after-tax salaries in most of Northern Europe and France are roughly on par with Japan, taking into account the differences in cost of living. Southern Europe is somewhat worse. Note that tax rates in Europe are considerably higher than in Japan. And rent in places like Paris and London is probably more expensive than Tokyo.

Developer salaries in Canada and Australia seem to be better, though they still aren't on par with the US.
From my memory, the Debian developer did email upstream regarding it - and never got a reply...
Of course, we should be paying more for people who have wife and kids. Forget meritocracy.
Interesting concept.

detail: Holding shift pauses the game and then the arrow keys let you navigate the 'map'. (Windows, Firefox 34.05)
Does anyone have real field experience with using Postgres as a JSON data store like this? Most notably, I'm curious about migrations and evolutionary database design.

With oldschool relational SQL, you'd write migration scripts that alter the database schema and also port the data.

It is my understanding that many people who use MongoDB and the likes just tend to keep old data as it is, and make sure that the code just supports older versions (like missing keys, etc). So you'd get code like

record = db.get(...)
if(!record.subtype) record.subtype = "defaultSubType"

Or maybe something smarter with a version number in each document.

I prefer to not write that code, but I also really like the idea of (ab)using Postgres JSON stores, with identically structured JSON for each row.

Did anyone ever write JSON data migrations with something like Postgres? Or Mongo? If so, how? PL/pgSQL? Load everything into backend memory and manipulate it and store it back? What if you want to split aggregates? (i.e. you have 1M "Person" JSON blobs and want to split it into 1M "Person" blobs and ≤1M "Address" blobs)
Actually make isn't even fully portable across POSIX systems.

Unless you make sure only to use these features

http://pubs.opengroup.org/onlinepubs/009695399/utilities/mak...

Same thing for any external tool used in the scripts.
News like this makes me sick to the stomach.
Here's how to develop a lean sales strategy for your startup
> Make doesn't do incremental building

Say what? That's one of the main purposes of make.

> it doesn't do test coverage reports, it doesn't download the dependencies for you, it doesn't build the Javadoc documentation for you, it does not package and publish your signed artifacts on Maven Central, it does not wrap your stuff in an OS specific installer, etc, etc...

... without the appropriate rule supported by whatever tools you prefer. Which you, once you have a workflow that works for you, can put in a file and include by reference in your makefiles going forward.

It's perfectly possible it's simpler for you to use one of the tools you list than doing so, but the nice things about relying on basic make is that very often people will want to tweak your assumptions about what "one would like to do for every project":

> And you know, these things are standard stuff that one would like to do for every project.

Most of what you listed is stuff that I rarely want to do, and some of them are things I've never done.

> I call it "dumb" and it's the reason for why people end up with aberrations of nature, such as Autotools.

The reason people end up with evil stuff like autotools is usually to (try) handle platform API differences, not usually to handle any of the stuff you listed. We seem to agree that Autotools is an awful mess, though.
Corporate IT tends to lag in these sorts of things. Given that most people have ISP provided CPE, and that's the only device in their homes, it allows the ISP to have a much easier time migrating that user to IPv6. The rollout mechanisms have been well studied.

On the other hand, corporations tend not to have the same level of skill, and focus in terms of networking as an ISP, like a Comcast, or an AT&T. Additionally, they're not as incentivized to move everyone to IPv6, because often times, it's easier, cheaper, and more realistic to buy some IPs.

Moving to IPv6 at the office is a difficult project for most, as there is still a ton of enterprise gear that's IPv6-less. Even at that, enabling enterprise applications with IPv6 tends to be a massive nightmare. Lastly, the security implications of IPv6 are not well understood by most people in the corporate environment.
Hmm, I don't think not fully understanding existing tools and not wanting to read documentation is a good reason.
You can easily add prompting with maven, gradle etc, test result reporting, source control integration is all built in.

The 150 flags you mention provide flexibility, you dont need to know them all to get started. With your custom build process, instead of finding a flag that does what you need, you need to implement what you need from scratch, and document it for future developers.

If you use a standard build tool its also easier to hire someone who already knows it, plus understanding them will help you fit into new teams easier.

Unless maybe this is for personal projects, in which case I think its probably less of an issue
Just curious, do the internal interfaces on Comcast's IPv6 routers give out V4 or V6 addresses?
SMS magic with Sinatra
Fedora 21 Released
I wonder if this will lead to Docker finally acknowledging IPv6:

° https://github.com/docker/docker/issues/2174

° https://github.com/docker/docker/pull/8947

° https://github.com/docker/docker/issues/3609

etc...

https://github.com/docker/docker/search?q=ipv6&type=Issues&u...
I played soccer as a kid a local team, and I would need the rules explained to me 15 years later...
Asking for stories over advice is equally short sighted, and isn't going to go any better in the long run. Just because something worked for Bill at UltraTech doesn't mean it's going to work for you at PunchStarter.
Thanks. Very short post though. What I have to say is, that C++11 and onwards had indeed made C++ much more approachable. I think Herb Sutter's talk on modern C++ is also worth a look. [0]

[0] https://www.youtube.com/watch?v=TJHgp1ugKGM
Because it isn't portable, not even across UNIX/POSIX systems.

Each make has it own set of extensions outside of what POSIX requires.

Additionally, for almost every task you need to call out to external tools that also have their own set of compatibility issues across UNIX/POSIX systems.

Ideally everyone writing a Make script would need to read the POSIX standard and only use common features, but since that isn't the case, scripts break across systems.

This is what lead to autotools/autoconf creation.
This is attempted every year, the rush chairs were just on-point with project management this year.
> I think that rand() is much faster than any good pseudorandom algorithm too.

This is simply not true. It's often _slower_, since it uses the integer div instruction.

For an example of a good fast PRNG, see Tyche: https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf

It's faster and produces infinitely better distributions.
Science Shouldn't Be All Business
Amazon to Let Shoppers Bargain for Lower Prices with New “Make an Offer” Option
Experienced entrepreneurs reveal what tools they use at their startup
Worth noting that the traffic is more than doubling every 12 months.

2.5% in December 2013

1% in December 2012

0.4% in December 2011

0.2% in December 2010

If that carries on then it's 10% in 2015, 20% in 2016, and 40% in 2017, with everyone switched over somewhere in 2018/19.
Tyche: https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
Actually if you try using rand() for map or noise generation, you'll find that most implementations of it produce utter shit. It's not even random looking. It produces very obvious patterns. Really, it's shit.

So despite that it could still be useful in some situations, but I don't think that's good enough reason to require its existence in standards and standard libraries. If your application happens to need something that carries a remote resembleness to randomness, and it needs to be fast, your application could just provide its own implementation of that special functionality. rand is just a few lines of code...
Show HN: Comment the best content you make with ClipDis
Password updates that happen in one click
Best States for Tech Workers Willing to Relocate
Top Books for Advanced Level Java Developers
This kind of situation where there is a common need for something, but there isn't a reasonable way to pay for it in individual transactions has a traditional solution: make the project publicly funded.

As an example, a military is a useful thing to have for protection, but paying for it as some sort of subscription or "per-invasion" billing is obviously not a realistic solution. So we fun it publicly, as a tax, which generally works[1]. Similarly, it might be useful to make a publicly-funded service that is charged with creating software infrastructure such as TLS or even libc that are difficult to fund directly.

There are a few advantages to using public funds: unlike traditional Free Software, as it uses public funds, the output would be public domain, and usable by anybody, commercial uses included. Also, as it doesn't have to worry about VC money drying up or "maximizing shareholder value", it would be easier to stick to a mandate that emphasizes quality instead of time-to-market.

On the other hand, problems with this idea would be the general concerns about corruption due to political meddling, and how to keep the NSA from pulling a BULLRUN on it like they did to NIST.

<speculation>
Perhaps a "dept. of software infrastructure" could take over the "defense" side that the NSA seems to be neglecting recently. Moving all industry interaction (and trust) over to the new, open group so the NSA was known as spying-only might improve the relationship a bit...
</speculation>

I'm not sure if this is a particularly good solution to the problem, but it's worth considering.

[1] Of course, there are details to argue over and bugs in the system to fix, just like any complicated project.
JDK 9 Early-access Build 41 Available – Images are now modular
A thought occurs to me that maybe public software could be funded by the public, via taxation. I don't think that would be any kind of panacea, because you can see what happens with other publicly funded things, but it's worth consideration - especially if public software is considered vital to the rest of the economy.
ANSI Common Lisp, approved Dec 1994, 20 years ago: the first standardized OOPL
Tech in Boston Podcast: Jonathan Kim – Founder, Appcues
I'm actually not of the opinion that the stipend should be higher for married couples with children -- just that someone in that situation should understand that the PhD student's spouse will need to have a good, full-time job to cover expenses during the period of study.

I do think that it was immoral for the PhD program to charge a fortune for my wife and children to get health insurance, but that is a reflection of the US health-insurance system as much as anything else. And things might well have changed since I was living in Chicago.
Hey graycat.

Your 'work style' is fascinating. Is there a way to contact you, so I could ask some questions about this approach to study/research? I couldn't find an email in your profile . I promise not to take up too much of your time. Thanks in advance.

(my email id is in my profile, if you prefer contacting me offline)
Pineapple – A Magazine from Airbnb
This is getting increasingly clear. A year ago I was pretty positive about Uber, but not anymore. They play dirty. They play dirty wherever they get the chance. I don't trust them not to use their data to blackmail.
Texas's tax structure is particularly regressive: http://itep.org/itep_reports/2013/09/texas-is-a-low-tax-stat...

40th highest overall, but 6th highest for the lowest 20%.
This is the story of the first startup I was participating into, back in 2000. The boss (and main investor) ruined himself (selling his Porsche, mortgaging his home, selling stock he should have kept...) while trying to get investors interested in a 0.1% done prototype of a project 10 years too soon (basically we were busy inventing the Cloud and Big Data). Sad story.
Mono is a match boxed sized computer for your Internet of Things
Xchg rax,rax
Django real-time notifications with SwampDragon
Inequality 'significantly' curbs economic growth – OECD
FDA Advisers’ Financial Ties Not Disclosed
"You're using anecdotal evidence to argue against the general case."
> “what’s the difference between Consistency and Isolation again?”

This is what bothers me most about this article. How can a person seemingly having advanced knowledge of relational databases cannot understand that Consistency is about dataset state and Isolation is about transactions. It's not that you get consistent results between transactions or even queries, but that if key is integral number, then `itoa()` works (given that bit length not too large) no matter what, period.

If you want to support concurrent read and write operations on a database, then it's not much different from multithreaded programming - hard and impossible to get right without compromises.
That must depend on your work environment. I do his a lot, but I work on an in house app, with around 40 users. I have user acceptance testing rather than unit testing, and it catches far more bugs. If I do mess up, it is easy enough to roll back.
Since the window system exposes all windows including their attributes(position,size, etc) via the file system, at least some of the tiling WM functionality could easily be implemented with rc scripts. Being a dwm user myself I planned to do so, but after using rio for some time I found this completely unnecessary since you can place your windows very conveniently with the mouse in the first place.
NSA Hacking of Cell Phone Networks
Starting out, yeah, but generally in the UK experienced guys go into contracting - which pays similar to top US rates. Thats what I ended up doing after moving here a year ago. My take home pay doubled. That includes a month of vacation, and 7.5 hr days.
> Because it isn't portable, not even across UNIX/POSIX systems.

How many realistic development choices fall in that category? Is anyone actually doing development on IRIX or UNICOS?
Robots, Not Humans, Fake 23% of Web Video Ad Views, Study Finds
Something similar happens when riding motorcycles. At first you're cautious because you don't know how to evaluate the risks. Then you move into a peak of overconfidence where the usual risks are known; but this is the most dangerous period. It's only after a while at this level, perhaps after a few scares or accidents, that a new appreciation for unusual risks starts to come in. You start to become less optimistic, and consider what could go wrong, not just what's likely to go wrong. You start actively seeking reasons for the traffic around you to do the unexpected.

Mature evaluation of risks increases the weighting given to tail events, black swans etc., particularly if the outcome is severe. Teaching this perspective ought to be effective in keeping it in mind for the teacher too.