skysight-inc/HackerNews huggingface dataset:
This is a cognitive blind spot for human beings - I am not sure if there is a name for it.

Some examples:

"The steelers were winning the whole game - they only lost because of that fluke fumble in the end zone when time ran out..."

"I was prepared and on-track for that job interview - if only the A train hadn't had a malfunction that morning and made me late..."

"If I hadn't taken that wrong step at the end of the trail, I wouldn't have torn my ACL ..."

These are bad conclusions.

Both teams played by the same rules and then time ran out and the other team won and it doesn't matter how they won. Future predictions should be based on the win.

You were late to the job interview because you're a person that screws times up. That's much more useful information than anything you could have contributed at the interview.

I tore my ACL because my ACL was weak and was waiting to tear. If it hadn't been that step, it would have been a different one at a slightly different time.

This insistence (I am, myself, guilty) to look for exceptionalism in results rather than accept the obvious data that are being shown to us is something we need to become aware of - and avoid.
The should do the census and register Americans to vote in the same process.
Well until C++ develops an implementation of schemes syntax-rules - I hope it stays.
Pretty useless article, for the most part empty of actual content. Just kept repeating "how interesting from a linguistic point of view".
Not if you do embedded.
They make some strong points about how propaganda from US and Israel meant to warn civilian populations of impending attacks is sometimes confusing and not followed up by actual attacks. Such warnings are required by the Geneva Convention. Fair enough.

Oddly they don't address the fact that Palestine's rockets are never preceded by such warnings. They don't address the flagrant violations of the Geneva Convention by ISIS, which uses hospitals as shields for military operations.

One might think the author had agenda.
While properly calibrated to the recent past, that sentiment comes across as unnecessarily defeatist.
Hundreds of Infosys Employees to be laid off? Trump effect?
Anyone know what has happened to the OSX builds? The de-facto project 'git-osx-installer' doesn't have binaries after 2.10

https://sourceforge.net/projects/git-osx-installer/files/?so...

git-scm.com says:

"You are downloading version 2.10.1 of Git for the Mac platform. This is the most recent maintained build for this platform. It was released 7 months ago, on 2016-10-14."

https://git-scm.com/download/mac
I'm really excited for all the great stuff finally getting done on the waterfront in Toronto. Even before I left a few years ago you could comfortably walk from around the airport up to Sherbourne almost entirely along the water edge. This will push that to Parliament and link up the Distillery district. I don't imagine the storage lot next to Cherry st will last long after that.

A far cry from my younger years where it was basically mud parking lots and heavy equipment east of redpath.
Totally! And their frontend from what I know.
The "includeIf" thing based on filesystem paths for setting the user.email gitconfig seems useful!
How Macron just changed cyber security forever
C++ string literals usually have fairly low maximum length (C++ standard suggests 64K in [implimits/2.16]). Initialized arrays can be longer in practice but they also have a limit (the same standard suggests 16K but even that will give you 128Kb if you initialize uint64). Objcopy, as suggested elsewhere in the comments has more comfortable limits.
I'm partial to usw
Some are proposing state-forced re-zoning, converting residential neighborhoods into multi-family condos. Essentially the eminent domain taking of property. "Your land is too valuable; others need it". Kind of a slap in the face, after working a lifetime to afford a small home.
>It doesn't make sense for highly paid professionals to spend enormous amounts of time or money reshingling roofs, painting, mowing lawns, treating weeds, trimming hedges, repairing plumbing

So we pay HOA fees for high-rise condos.

Rents in SF grew $2000 over 5 years. I would be ecstatic if my worst-case housing market outcome were a measly $250/mo. My standard of living is going to fall every year at lease renewal time until I can't take it anymore, and then I'll go live out my days in a soul-crushing Midwestern cost center IT department, if any haven't been outsourced or automated by then.

Housing costs that can't increase are looking really good right about now.
We need human cooperatives stat. Militarised police and wretched prisons are not good churning mechanisms for a utopia-to-be.
H-1B Visa woes: Cognizant to ramp up hiring in US
You are overestimating how long it takes to fully charge an Apple Watch.

20-30' while you're showering and/or having breakfast is enough
I suspect most Bitcoin holders view bitcoin as an investment or an asset with extrinsic value (whether consciously or subconsciously). Somewhat like what gold is.
Yep, not using hottest framework, not a SPA, not a PWA. Just something that loads fast and works great. Good job.
> C++, on the other hand, is only really an effective language in the hands of people who have either fully internalized the 1,000 page specification, or wasted a depressing number of synaptic connections on memorizing minute trivia about what constructs to use under what circumstances.

No. You use profiling tools and optimize hotspots. Pareto principle applies here so you look at 20% of program tops.

Rest is irrelevant and can be executed as inefficiently as you please as long as you got your big O complexity right.
I think A is relatively uncommon, as long as mainstream CPUs only have 2 threads. It may give you a boost when you happen to have between N and N*2 runnable threads, for N = number of cores. And those idle CPU threads were already showing up as idle logical processors in top so you would have had a good reason to try to employ them earlier already.

(terminology nitpick: HyperThreading is just Intel's proprietary trademark for SMT)
That is probably not possible on an apple watch. You might have more luck with an android watch or a pebble.

Apple watch dev is pretty bad, almost nobody uses the apps.
I have had a Beddit for many years now. It's a great device and hope they can make some waves with Apple.
> Interface? You are talking about the C++ language, right?

If Sutter's metaclasses get into C++20 C++ could indeed have an equivalent to interface enforced by the compiler.
I'd like to mention this because I've mentioned it before for anyone using Visual Studio already the Python Tools for Visual Studio are definitely on par with PyCharm I say this having used both. These are the two best choices I would offer anyone for Python development aside from just using whatever you favorite editor is with plugins (though Sublime seems to be a decent choice here). Edit: I also say this as someone who bought all the IDE's from JetBrains and because some people might have Visual Studio and only Visual Studio at their jobs.
Sorry about the rate limit issue everyone. I tweeted the ipinfo guys and it seems like they're willing to give me a limit increase, but they haven't yet. You can give them a nudge here: https://twitter.com/ipinfoio/status/861701746158170112

Also, if you want to self-host the website (and thus get your own ipinfo ratelimit quota), it seems like the Google Maps API now requires you to get an API key (it didn't before). Get one here: https://developers.google.com/maps/documentation/javascript/...
I don't think you fully understand what growing up in a terrible neighborhood entails. They aren't so much "a constant nuisance to everybody around them" as they are acting like many who are around them.

When you grow up in the hood and your father is gone (dead, in jail, never in the picture) and your mother is on crack and all of your friends and siblings are in gangs and/or on drugs and/or selling drugs, changing your destiny is a difficult proposition.
Getting User and Password from Authorization Headers with Nginx
CPU util might be misleading, but cpu idle under a threshold at peak [1] means you need more idle cpu and you can get that by getting more machines, getting better machines, or getting better code.

Only when I'm trying to get better code, do I need to care about IPC, and cache stalls. I may also want better code to improve the overall speed of execution, too.

[1] (~50% if you have a pair of redundant machines and load scales nicely, maybe 20% idle or even less if you have a large number of redundant machines and the load balances easily over them)
It seems like Apple actively discourages the use of the Apple watch in this way with no native sleep tracking and no real mode to disable notifications overnight. Maybe this purchase signifies a change in that regard, but they are already behind all their competitors in sleep tracking.
I've never been able to match bcp's speed when importing large amounts of data, though.
I have used similar setups in Sublime Text for Python development, the main issue is instability and inefficiency. Installing these set of packages in sublime makes things slower and more unstable.

Multiple times while editing large files my editor would slow down or crash.
As another abuser of the C preprocessor, I'll point out that you can greatly simplify your call to gcc... by not using gcc, just call cpp directly:

cpp -P -H $main $out

should be equivalent, unless I'm missing something. And since somebody was asking why use -H, I'm guessing it's just for the useful verbosity of it. I've found it also causes helpful notices to be printed like "header guards may be useful for the following file..."
Intent Media (http://intentmedia.com)'s data science functionality has a fair amount of Clojure behind the scenes.
I always thought that was a little odd. Not sure why it's not just "preinstalled" already. I doubt the author of ST doesn't use plugins? If he wanted it to be optional he should make it opt-in as a default that you could take off if you didn't want it....
Depending on your needs, MongoDB (also look at RethinkDB) are more mature in terms of administration of clustered/replica nodes... PostgreSQL has more of this working its' way into the box, but imho not there yet... Also, write scaling will do much better with MongoDB sharding or RethinkDB clustering.
Reductive arguments rarely hold up in the real world. It is not true that if we had a great universal safety net there would be no crime. But it's also not true that advocating for a rebalance of the resources going into this space towards prevention and away from punishment is arguing for mass wealth theft.

There is no paradox in that.
Snapchat messages won’t always disappear as fast as they used to
Trump Fires FBI Director Comey – Unsecured Email Server Takes Another Head
That's Pebble time to a T. Shame they're no longer made.
It'd be really cool to use SSMS for SQLite. It's possible but not nice: https://superuser.com/questions/138787/is-it-possible-to-ope...

DataGrip from Jetbrains looks promising but the connect/disconnect/setup process is really painful.
Do you think the cost of the program would be less than the 30k per person you're already paying?

If it were less, would you pay? Or is more of principal thing?
> It's not necessary for functionality. It's just an optimization. One that needs to be justified with benchmarks.

I've worked with people who have the benchmarks to back it up; pointer traversals are expensive.

> people who write unsafe code think they're cool

I've tended to find the opposite: most of the Rust programmers I run into treat unsafe code as an occasionally necessary evil, and every time they write it they think about how the landscape could be improved so they wouldn't have had to, or how to encapsulate it in a separate crate with a small surface area.
I'd bet it's relatively cheap, especially compared to the prison system.

While this is probably a false equivalency and anecdotal, I'd like to point out that there are 2.3 million people in prison and it costs the US about $80bn/year. We have roughly 46 million people on food stamps and it costs us roughly $80 billion a year.

With the money wasted on prisons, mostly going into the pockets of private industry, I'd wager a large bet there's likely the amount needed to feed, cloth, and house them all within our currently wasted expenditures.

So the answer should be: all of us; because, we'd VERY likely be saving money and have a more functional society.
> "This is the way of the Polish climbers, who for reasons of history and culture have earned reputations as the greatest climbers of the Himalayas in winter"

take nothing away from the Poles, they've earned their reputation as the masters of winter climbing in the Himalaya; however the reasons why are mundane. Beginning in the 1960's, the Polish Teams were too poor to afford climbing permits for the pre-Monsoon season. Getting a permit for a winter climb of an 8,000 metre peak is far less expensive.

in other words, the Poles began climbing in the Himalaya in Winter because that's the only season they could afford to climb.
A street's sewer infrastructure, for example, is treated as a public good for the residents of that particular block. They, and only they, will be assessed extra property taxes when it needs work.

Where it snows, homeowners are on the hook to shovel the portion of the public sidewalk along their property.

It's not exactly unprecedented for municipal governments to treat the properties nearest infrastructure as more responsible for it than the rest of the city. It's not unreasonable that they then have preferential access to it.

An RPP program is a formalization of, "look, it'd be a waste for us all to build off-street parking when there's perfectly good street frontage here, let's agree to be reasonable and share the street frontage equally."
Trump Fires FBI Director James Comey
Not only can you watch it - it watches you!
is there a reference for this? I have seen a few apps that do watch + sleep tracking (Sleep++ is a nice watch app)
Population distribution is discovered through census data. That is what is used for redistricting. Not the previous election.
In Florida. Absolutely love Wawa. They're wonderful.
What you're saying is correct, but I must note it doesn't mean there can never be bad apples. There's always someone ruining the fun for everyone else I suppose. But yeah there's been all sorts of interesting projects from the defense / security sector.
It's worth noting that "git stash -p" (aka "git stash --patch") already exists and allows you to commit individual files or hunks within a file. Though the cost is going through an interactive interface, so some users might prefer the new "git stash push". Still, if you can't upgrade, use "git stash -p".
> Google is usually the largest contributor to most ML conferences (NIPS, ICML, etc.)

That is because of their overwhelming influence, not the quality of their publications.

> They are rather straightforward to reimplement

Le and Mikolov's "Distributed Representations of Sentences and Documents", frequently cited as the original example of "doc2vec", could not be reproduced by Mikolov himself. [1]

> and I don't think anybody is accusing them of faking their results.

They sure aren't. That, too, is because of their overwhelming influence. You have to say very nicely that their results are wrong.

For example, here's an IBM research paper that leads and concludes with "we reimplemented doc2vec and made it work well", and whispers "but not as well as Le said". [2]

[1] https://stats.stackexchange.com/questions/123562/has-the-rep...

[2] https://arxiv.org/pdf/1607.05368.pdf
The student asks, "how?". The master asks, "why?". That's why you feel a difference in the two performances.
I mean, it's certainly possible for simple cases. I just tried:

% cat test.rs
fn main() {
println!("Hello, world!");
}
% rustc --emit llvm-bc -C lto test.rs
% LIB=$HOME/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib
% xcrun --toolchain XcodeDefault clang -o test test.bc ~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-ea49ffd3fee5264c.rlib
warning: overriding the module target triple with x86_64-apple-macosx10.12.0 [-Woverride-module]
1 warning generated.
% ./test
Hello, world!
% rustc --version
rustc 1.18.0-nightly (91ae22a01 2017-04-05)
% xcrun --toolchain XcodeDefault clang --version
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

That's using Apple's compiler to compile bitcode from rustc. The .bc file has significant chunks of Rust's libstd embedded, so the test isn't as trivial as it seems. To embed bitcode as they want for the App Store, you can use -fembed-bitcode, except it doesn't work because liballoc_jemalloc wasn't compiled with that option (but that's trivial to fix).

I also tried compiling for iOS, which seems to work, but I didn't bother to test the resulting binary.

(As for stability, according to the announcement[1], the previous policy was that bitcode would be readable "up to and including the next major release", which was already reasonable from the perspective of keeping a third-party compiler's output compatible.)

[1] http://blog.llvm.org/2016/12/llvms-new-versioning-scheme.htm...
Poverty, Politics and Profit
The "Gulag Archipelago" reference got me googling:
http://seansrussiablog.org/2013/05/11/us-prison-industrial-c....

Apparently, if you compare apples to apples, in 1953 the USSR period had more like 7.4 million "adults on probation, in jail or prison, and on parole". 2.61% of total population vs 0.76% in present US.
Or the TSA's ridiculous 1.4 million app that randomly picks left or right:

http://www.geek.com/apps/tsa-paid-1-4-million-for-randomizer...
The three points you gave are not indicative of typical results though and by there nature are exceptional. I think you just rebuked yourself.
afaik, for profit prisons main source of income is money they receive from the state for each prisoner they house. So, its still coming from tax money.
I've been doing freelance SAP work since 2005 and there have been ups and downs. A couple of years ago was rock bottom, due to companies afraid to spend and H1B abuse. It's picking up a bit now but after 2015 I'm always a bit nervous.
If you already have PostgreSQL and only need limited indexing against the JSON, I'd use that... If you're looking for a document datastore for HA and/or read/write scaling, then I'd look at RethinkDB or MongoDB. I like RethinkDB better (as do many), it's currently pretty stable, I'm hoping to see some development pick up. There was some scare late last year as the backing company shuttered, but it's now under the Linux Foundation, so should see continued support.
As a heads up: We have a remote employee (who is on HN). He's not exceptionally fast, and we suspect he is doing this. We'll fire him if we can prove it. From our stand point, we're paying a full time salary but not getting full time results. Pretty much theft. We think...
"Unlike the contemporary Sprite, Amoeba does not support process migration"

Oops. My bad. It did a lot as a distributed system except for that apparently. You also found the one that did.

"Globe toolkit Got a link to this one?"

It's an object-based system. The old site is dead I think with me having to constantly dig it up. Here's a nice summary:

https://cds.cern.ch/record/400321/files/p117.pdf

They also mapped the WWW protocols to it to some degree to show we could reuse those legacy systems benefiting from Globe's capabilities. Or start the transition that way.

"Curious if any of these grid computing platforms support process migration "

The first I saw was MOSIX:

https://en.wikipedia.org/wiki/MOSIX

Modern, smaller experiment that's similar in Linux:

http://citeseerx.ist.psu.edu/viewdoc/download?rep=rep1&type=...

I found a nice survey paper that includes references to a number of systems from 2006:

https://www.cse.buffalo.edu/~vipin/book_Chapters/2006/2006_1...

I think most of the research is going into "VM" rather than "process" migrations given most computing is going in that direction. If you research that, you will get many more results whose techniques might apply to process migration. Quick example:

http://mvapich.cse.ohio-state.edu/static/media/publications/...

The high-performance part of CompSci has mostly shifted in that direction since most industry and FOSS have shifted toward containers/VM's. The point of my original comment, though, was to say that what you say needs to be done has been happening for a while. It's just a small few in academia who dig in that deep to develop those mechanisms. And resulting in something worth finding with my quick searches. :)
I was a first adopter for this app, and I have seen way too many scientific journals / papers by PhD candidates or from researchers saying that the Sleep Cycle app is not anywhere close to identify the correct sleep cycles.

After using it for a few years, I stopped using it because how I felt in the morning had no correlation to what the app was saying how my sleep was.
How does a pulse oximeter figure out how to guess you are in a REM state which can usually be done by EEG ? (Or the pebble can this be done by a accelerometer ?) I have taken sleep studies where you would have to do at least something like the beddit device but even then I don't understand how they do it?
> I have a lot of skills...without going into a Napoleon Dynamite quote or listing them all off, just assume that I can do almost anything in tech (architecture, marketing/branding, design, business, project leadership, team leadership, support, some dev, etc but not so much on finance, etc.). I have a lot of philanthropic experience using my skills to help people outside of tech. I'm persistent, intelligent, sociable and extremely hard-working.

Nearly all the skills you listed are wishy-washy and the only concrete skill you listed was some dev. In the immortal words of Napolean Dynamite: Girls only like guys who have great skills. I guess that goes for companies as well.
"6.7 million people under correctional supervision in 2015...more than were enslaved in antebellum America and more than resided in the Gulag Archipelago at the height of Stalin’s misrule"

Woah. How many thanks to the for-profit prison industry?
Probably homebrew. `brew install git --HEAD` gives v2.12.0, and I'm apparently using v2.11.0. It installs bash and zsh completions too, which are nice.
Million Error
I've certainly been bitten by hardcoded values in some of our "business apps" before.

One notorious example I can think of is a Laboratory LIMS system that had hardcoded sample pick up point locations every time there was an equipment breakdown or similar and the sample would get diverted a bunch of automated reports and database triggers would fall over.

Nowadays I prefer to use a database table to store values. I guess SQL could be considered as a kind of DSL.

I tend to use some schema like "Key: Value : Date Applied" it is often useful to keep the historical rules so you can rerun events using the business rules that were in place "at the time" not easy to do if you rely on hard coded constants.
Whatsapp Video Usage- India Tops with 50Million Mins a Day
CBT aka mindfulness these is just good tool to have overall.
I have had my share of bad experiences at my job from automaticity and adaptive, impulsive response. Here is what I learnt from being mindful:

1. When faced with making a choice, you remember more vividly how the bad choice hurt you last time.
2. Put it another way, that promise I made to myself after that big mistake is harder to break. Pertinently, the reasons that justified the promise and the benefit of keeping it are also more lucent.
3. I tend to separate/check my emotional responses connected to a thought connected to bad memories.

I could preach shorter sermons, but once I start I am too lazy to stop...