skysight-inc/HackerNews huggingface dataset:
It's a bit worrying that GitHub will happily associate someone's face on a commit that they didn't write: https://github.com/jayphelps/git-blame-someone-else/commit/e...

Perhaps GitHub should only do this for signed commits or commits to the author's own repository or something.

GitHub also allows you to add anyone to a project without their consent (or has this changed?). This reminds me of the Facebook prank where someone added Mark Zuckerberg to a fake(?) pro-paedophile group.
I remember playing with this.

Making electronics can be pretty fun. http://powdertoy.co.uk/Browse/View.html?ID=915343

(It's not actually an ALU. All it does is add or subtract. But it was the best of its time!)
> .into()
> Why are they necessary ...

"foo" in Rust has the type &'static str. That is, a pointer and a length to an immutable piece of memory that never goes out of scope, which in the case of a literal is allocated statically. Because Rust tracks ownership of memory, this kind of a reference is of a different type than a heap-allocated owned string.

Rust also does no allocations or conversions without you telling it to do so. The programmer wanted a heap-allocated String, so he had to call a conversion function, which allocated memory and copied the string.
Does the market still function as a market if everybody uses index funds or robo advisers? The market should reflect the opinions of participants about individual companies but with automated tools the market seems to get disconnected from economic reality.
Maybe, but at the moment that reddit thread doesn't provide any convincing evidence.
This was bound to happen because fees for an in person advisor are astronomical. Robo-advisors or target funds are great for the fire and forget it investor. If you want to spend a small amount of time, you can save the .25% many of the robos charge and just reallocate on your own every quarter. A broker like TDA offers commission free trades for 100s of ETFs. Just so happens, most of these ETFs are the same ones Wealthfront and Betterment use.
I am not one to say that the rich get richer, but this may be a specific case of an individual being supported by his parents circumventing the normal process of working the ropes to progress up to taking photos of the people discussed.

On the other hand, it is great that these photos are available as they allow bloggers to use these to make their site look more professional.

Journalists cannot help inserting their views of candidates, Zachary Crockett, describes anyone who works for Trump as "Cronies." Since, @zzcrockett will read this now, you need to keep your opinion out, your other articles were great, keep them that way.
Opening a store is not exactly cheap. There are no VCs that will front you the money but you have to risk your own.
> Bear in mind that Jerry Pournelle is a very right wing guy and was right wing at the time of the Vietnam war, so he looks for confirmation of his own pro war views.

That may well be. I don't have much information about the Vietnam War seen from the Northern side. However, Stalin-backed communist infiltration of the Spanish Republican Army during the Spanish Civil War is well-documented, so this part doesn't sound unlikely.
really? The small shops in my town could barely afford to pay employees minimum wage and their goods were much higher priced.

Walmart gave more people jobs at a better wage and reduced the costs of most goods for everyone.

I looked at their average wages on payscale.com (hard to libk from my phone) and the max for most positions is close to $15/hour. The minimum is above minimum wage.

Almost anyone can do these jobs and they are hardly a ’pittance’.
In NYC, we used to install cast-iron lead joint pipes for water main distribution, up until 1985 when a law was passed banning it. To phase out old water main, the NYCDEP has a rule: All pipes older than 1975 (or thereabouts) underneath areas of road reconstruction will be replaced by ductile iron pipe. But NYC still continues to have a lot of pipe that are cast iron even now.
The removal of wiki-formatting from Confluence was a huge blunder. Every programmer who comes into contact with the Atlassian suite is now going to do their best to avoid it in the future.
How  NASA Enabled Today’s Super Bowl
I would really like to see some transparency on these portfolios. It is really hard to find performance data on these funds. Has anyone benchmarked these on their own?
Java EE Book: EJB Annotations Primer
I'm not sure I quite understand your point, but wouldn't an attacker with the ability to modify an app on someone's device have access to the plaintext anyway?
I didn't assume it but many cities including Baltimore for example send out yearly water testing reports with the water bills. These reports always gave me the impression that the water was safe.

What is news to me and I think a lot of people after reading the Flint story is that those city level tests are deceiving because they don't account for stuff that gets into the water between the reservoir and your tap which is how all the lead is getting into the water in Flint.
CRUD is "generalizable" only in textbook examples and behind your wet ears. Actual implementations vary widely from the truly simple to things with staggering complexity.

Attached to each of the letters in the acronym of C.R.U.D. may be arbitrarily complex rules and constraints that can take many man-years to implement, have mission-critical risks, and require maintenance for decades.

ERP's are "crud" applications, are they trivial? Perhaps in your view, admittedly they are shit for end-users and seem "unforgivably" stupid. Well, there's an opportunity for you to become a billionaire in short-order, implement ERP's and make Oracle your bitch. Not up to the challenge? Then perhaps refrain from calling the world stupid.
Agreed.

It should be trivial for them to allow you to paste your pgp public key as you would your ssh public key, then place a nice little "verified" check mark next to commits that can be validated as having been signed with one of your associated private keys.
Fix PATH Environment Variable for IntelliJ IDEA on Mac OS X
Pretty slick! I like the fact that it's open-source and client-side js. Can definitely see how this could integrate with online IDEs like Ace.

A few bits of feedback (although perhaps you just haven't got around to implementing these yet):

- On the canvas, is there some way to make it obvious why boxes are relatively positioned a particular way? For instance, when I add a new box next to the iPhone picture, it's not visually obvious why there is fairly sizable top padding. Maybe light grey shading to represent padding and such?

- Is there any reason why you wouldn't merge the 'select' tool and the 'move elements' tool into the single button (and make it the default selection)?

- Any possibility of multi or group select, for quick deletion of multiple elements?

- A 'new blank canvass' button might be handy.

Anyhow, this is some great work. I often just want to put together a very basic web interface for some personal project, and I think your tool is at exactly the right level of simplicity/complexity for that.
This Wikipedia page suggests that you're right:

https://en.wikipedia.org/wiki/Body_count
Would the community be able to get together and buy the building or take over tge lease?

Why would walmart just give away all of that money they invested? Especially in an economy that is starting to decline.
The mobile experience for github is not amazing either. It rearranges everything for no apparent reason and makes it harder or impossible to access what I want.
I'm jealous of you guys :( I wrote my first line of code at 19, almost 20. I'm now almost 22 and hoping to work in the field after graduating this summer
Big Book of Amiga Hardware
If I understood the article, what Kristof is saying, is that as bad as Flint appears to be for children, there are a lot of places as bad, or worse, that are getting no press at all.

Testing for elevated level of lead in children:

o Flint - 4.9%
o New York State (outside of NYC): 6.7%
o Pennsylvania: 8.5%
o Westside Detroit: 20%
o Iowa: 32%

If these figures are true (and one hopes that the NYT fact checked these numbers), and are comparable, it seems like what's happening in Flint is just the tip of the iceberg.
Access to that tier is why a lot of (ex: sports, inherited wealth, lottery, etc) people who earn a millions, but are not savvy investors end up broke. The financial industry is very good at separating people from their money and unless that's your background it's best to stay the @$%^ away.
Some questions I can't figure from reading the docs: indexes? Are they inferred by my selects or do I have to create them explicitly? Or do they just not exist? Ditto keys, although if you want FK constraints in a loose ad-hoc system like this it's probably the wrong tool for the job.

I imagine the nested transactions are implementation defined, since some dbs do "rollback rolls back current trans" and some do "rollback rolls back entire stack.
This is the sort of design Apple could execute before it became so successful it started believing its own bullshit. It's a design that embodies the joy the designer had designing it. It's not relying on marketing collateral convincing we rubes that it is magical. It's not relying on holding all our photos hostage or our faith in the sunk cost fallacy when it comes to all those apps.

It is a product that directly competes on design and aesthetics. Not corporate strategy.
The company I work for currently still uses it to run reports for the main MRP system. You're bringing so much terror to my Sunday morning.
I am wondering what would happen if you left out the addition of run-time checks, and performed only those static checks that the partial typing has enabled? (I guess that would make it unsound, but perhaps it is worth it.)

I would not be at all surprised to learn that little or no static checking is possible until quite a lot of typing has been completed. We see, however, that the performance lattice in the article shows (for that particular example) that the net cost begins falling after about half of the typing is completed. Is it valid to assume that this is a result of additional type information allowing static analysis to remove or simplify run-time checks? If so, we can also note that this is a net effect, so static analysis could be having some benefit earlier in the transformation.
Product Review: Sense Sleep Tracker by Hello
If you could explain your statement, that would be helpful.
He was on the wrong side of history, but your last sentence was unnecessary and over-the-top. He wasn't hired as a CEO, he was promoted into it. Before he became CEO, his political donations would not necessarily have been a concern.
The grandparent said GPU simulation, for the extreme parallel benefits, not making it 3D. Encoding the simulation in a GPU shader, for example.
What you are talking about is a cost/benefit analysis, which does not require knowledge of programming.

You are also making an assumption that tasks are not being automated because business people do not how to write a line of python/ruby/Java/whatever. Maybe they have limited funds and they are focusing their expenditures in revenue generating work. Maybe the RoI is far in the future that it does not make sense. Maybe they need to be able to change formulas on a moment's notice, so they don't want to be beholden to a developer.

A CEO needs an understanding of their business and a high-level understanding that computers are capable of automating tasks. If coding skills are needed, the CEO can hire a CTO in the same way they hire a CFO to provide accounting skills.
We don't use database views, but kinda-sorta mimic them by separating the persistence layer from the API layer. It can be annoying to maintain (at the big G there are lots of SWEs who joke that their job is writing code to copy fields between protobufs), but the alternative is to couple your API directly to what you're storing in the database. That is a road that leads to pain.

The benefit over using views is that at your code is written in the same language, instead of having a while bunch of logic running semi-hidden in the database. If you have a bug in your view, you have to update your DB schema (or at least roll out new PL/SQL DB code or whatever). And if you're working with a planet-scale distributed app, it just plain won't work.
Do you want C++ compiler to also prevent data races? Then use const functions by default, seriously.

http://youtu.be/Y1KOuFYtTF4
(starts at 29:00)

C++ template meta programming language is such a powerful and expressive tool for writing libraries and safe abstraction. Imagine if all the effort of 8 years of Rust team went into a modern C++ safety library.

Such a library would have been more useful contribution and more people would have benefited.
The broader point is that incompetence and corruption plagues institutions (public and private) of all sizes.

Regardless of one's politics, it's critical that we hold our institutions accountable and help them get better over time.

This includes our country, our state, our county, our city, our company, our social and professional groups, open source communities, etc.

There is a strong human tendency to want to defend organizations we are part of (or rely on) rather than trying to constructively improve them.

Flint is an example of institutional failures at multiple levels, but over all the loss of life and suffering pales in comparison to what our failed institutions did in Iraq and around the world, and what they do to our schools all across the country, etc.

The more official an organization (government, etc.), the more fancy its facilities (buildings with columns, spires, domes, etc.) the more we must realize its credibility is based on self-perpetuation rather than on tangible, auditable results.

There are so many failures happening across the board, and the biggest enemy to progress is the idea that loyalty means keeping quiet.
Full disclosure: I basically write JavaScript for a living. I quite like it, and the above comment was supposed to be humerous rather than an attack on thin-skinned js aficionados as the downvotes would suggest.
Define "Jobs that don't need to be done". As Capitalism is ruthlessly profit-seeking, every job currently in place in free markets provides value to somebody. There are some in non-free markets, but that isn't affected by UBI existing.
As you can see in comments here, folks would find them more useful if this worked inside private VPCs.
A really bad one. Grocery stores are very low margin business.
What does GitHub have that makes it irreplaceable in a short time?

It has many many users that's for sure but unlike proprietary instant messengers or social networks I don't see strong network effects.
Show HN: List of Free Software Testing Books
Interesting idea. I've tried to exercise most of my life, and running is a favourite - however, my legs/knees can't take the impact any more and I'm much more into cycling. I really want to exercise after I get up in the morning, but don't think I have the time. I might give this a go. Thanks!
Financial despair, addiction and the rise of suicide in white America
Folder Lock 7.3.0 Serial Key Crack and Registration Key 2016
I knew America's infrastructure wasn't being funded so I was just watching for bridges to start collapsing.

Wasn't expecting it to be in the pipes bringing the water.

Not in 2016.

Make you wonder about violent criminals in the past decade and if lead had any help in that. We thought we eliminated that decades ago but apparently not.
Oh sorry, I probably should have been a little clearer. I'm thinking of a different attack scenario where the attacker wants to MITM your app to inspect traffic and utilise your server-side API for unintended purposes. So it looks like:

Attacker --> Attacker's Phone --> App --> MITM proxy --> API/Server

So you could use this to pull down real-estate listings from a real-estate app in an easily parsed format (usually JSON). Or write an app that pull down the odds from various sports betting app APIs, detects arbitrage opportunities and automatically places bets using their APIs...

EDIT: Oh and on the plaintext thing, generally no. Most apps will use TLS for app-to-server comms. Pinning in this context means they bundle the cert (or signature) with their app. By the looks of this (http://security.stackexchange.com/questions/29988/what-is-ce...) it's a similar story with chrome: they pre-bundle some signatures. The alternative is to pin on the first interaction, but this leaves you potentially vulnerable if an attacker is listening in on that first interaction. It also raises the question: what happens if the website needs to revoke and re-issue? Wouldn't pre-bundling mean you'd have to wait for the next browser update (and for out of band commms to have occurred between google and the website)?
Similarly, The Guardian reports "Water authorities across the US are systematically distorting water tests to downplay the amount of lead in samples, risking a dangerous spread of the toxic water crisis that has gripped Flint..."

http://www.theguardian.com/environment/2016/jan/22/water-lea...
I'm not sure why you're arbitrarily crediting the assholes with these successes. Your cited sources only show that progress is occurring, they don't show why it's occurring, and definitely don't show that it's because of corporate industry.
The problem is the lead in the pipes. Flint was mis-managed years before Snyder appointed an emergency manager.

Even kwami kilpatrick, the ex-mayor of detroit who is now in prison, said he knew about the water problems when he was in office.
Peter Norvig on winning at programming competitions
I'm yet to see value in using Robo advisors over using a target retirement fund from Vanguard or basic self balancing between stocks / bonds.
I agree with this. I personally think you need to have really good critical thinking skills in order to be half decent at programming. The education system is failing with teaching critical thinking. I would love to see more focus on teaching critical thinking at a young age, which would give kids the tools needed to be a good programmer and problem solver.
Too long to fit in the title:

Peter Norvig: Being a winner at one of the programming contests was a negative factor for performing well on the job.
As the article states:

“Lead in Flint is the tip of the iceberg,” notes Dr. Richard J.
Jackson, former director of the National Center for Environmental
Health at the Centers for Disease Control and Prevention.
Reading and writing wasn't an essential life skill… up until it was (because our culture and society became a completely writing-based culture).

If you agree that we are going toward (or already are in) a computer-code-based culture and society, then it's quite reasonable to say that programming is an essential life skill.

(That's the idea behind code literacy).

[edit]: Reading and especially writing is hard. We spend years and years learning it, and only a few professionals master it from end to end.
But the collective and individual benefits is huge. Programming seems quite analogous.
I wonder of how much the experience differs based on the NFS version being used.
> The formal version of differential privacy requires that the probability a computation produces any given output changes by at most a multiplicative factor when you add or remove one record from the input.

What is the significance of this? This statement means nothing. The context should be better described. I thought this was a "for dummies" article.
Wouldn't the marketing and self-improvement classes negate each other?
Codes of conduct generally act to protect people from racist and sexual harassment, by prohibiting and deterring it. Name one example of racist harassment against white people that a code of conduct hasn't prevented.

tumbleweeds
Then how would you define what is "suitable" in the general case?
The problem is Google doesn't have access to the vast majority of corporate email out there. So while Inbox is enormoualy clever in my personal life, and when dealing with anything work related that I forward to it (like travel itineraries), its otherwise useless in a work setting where productivity matters most.

As an aside, if this kind of thing is all the author thinks admin assistants do, they clearly have never actually worked with one. And don't get me started on his claim about replacing middle managers...
> what is the best (most feasible) way to teach non-CS folks to program

Teach them CS first.

Start with the history. Make a connection from maths to CS - Logic. Show that representation is meaning. The Code is only an abstraction but it is the only way to communicate the abstract ideas, never mind there's different forms of code. Try to code to understand complexity, that the complexity is the reason that "Programming" is bigger than school. I don't mean run-time complexity, but that is an important bit.

The code is just one of the real-world applications of programming, it's secondary to problem solving, but useful enough at that. It's well enough defined in the mathematical sense to be taught as a formally structured, rigorous generality (Theory). It's highly developed and abstract enough to go a long way with intuition applied to immediate problems (Practice). Recurse, apply code to code. Dont' forget the disciplined mantras: RTFM, KISS DRY ...

Preferably it shouldn't even be a single class. Just like everyone has to learn about numbers, matter, elements or cells, it should be important to teach logic as the very basis on the search for boolean truth. Tie in self modifying code with evolution.

Instead of just introducing calculators in math, introduce python, Matlab, R, all of them at appropriate times. As a prime example of applied CS that's relevant to about any teenager with a smartphone, explain the graph theory that they are the data in.

It all depends on the children being on an appropriate level already when they enter elementary school. That depends on the knowledge of the previous generation. Therefore it's a slow progress, that picks up every iteration. There generally isn't a one size fits all program to teach programming, it depends on individual parameters. The ideal OTOH is very narrow minded and far from optimal, given many more pressing needs. Biology is booming, isn't it? Should we ask the same question in Bio, how to teach non-Bio folks to do research? It's coming along, the only hindrence I see is dangerous half knowledge and knowing to much.
> The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: may you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely, never taking more than you give.

Wow! That is the most enlightened disclaimer I've ever read.
But there certainly is a difference on how easy people pick up coding. This has a lot to do with attitude, but also how talented they are. As with all other skills, you're given a set of cards to play with.

But then again, practice beats talent any day of the week.
You should try searching for actual Jazz musicians, instead of say, REM.
I use lambda in a pipeline that spins up ec2 instances using a cloudformation template. The lambda is kicked off by an SNS message sent by a GUI on a dedicated server, and also checks an SQS queue.
There are three aspects I can see. One is firms that use github internally, who have gone through the pain of learning to manage it. As long as the license cost remains less than the cost of moving away, they'll stay. Two is organizations who have complex team setups. You'll have noticed GitHub's increasingly complex team management? This is sticky. The more you invest in clicking on the right buttons the more you feel committed to the platform. The third aspect is integration with external systems like Travis. We've come to depend on this as part of our process.

Apart from those three cases, I think it's still relatively easy to switch to something like gitlab.