skysight-inc/HackerNews huggingface dataset:
Going for iCloud, that's an odd decision, frankly. I would have understood Google Drive, but not iCloud.

When it comes to my personal photos archive, I care about 2 things: (1) occasional sharing and (2) keeping my huge archive safe. Dropbox does both, iCloud does neither.

iCloud sharing only works with people using iDevices and I don't have many acquaintances or family members with a preference for Apple. Dropbox allows for publishing to a web link, with or without a password, with or without an expiration date. And that's cool, because I can send that link to anybody. Cross-platform and all that.

In terms of safety, I keep an extra offline backup by means of a home Linux server that's almost always on, synchronizing my Dropbox and does the occasional local backup. It has a big hard-drive of course. Dropbox works on Linux, iCloud does not.
Also Dropbox provides a 30-days history of all changes and a 1-year extended history for extra cost. I got the 1-year extended history. With iCloud get some Ransomware and watch in horror how all of your photos are gone.
> Did you mean you actually type out mask values in base 10?

I believe that's what they meant. I worked in C# for many years, and many, many places wrote out bit masts in base 10 literals as no one realized they could just left-shift. Similarly, whenever I would use the ?? (null-coalescing) operator, the reviewer would inevitably point out my "syntax error", at which point I'd have to point them at the ~10th page of the nearest C# book to convince them that, yes, that is one of the valid operators -- and it's quite useful too!

Man, do I miss those first years of my career working in .NET -- dunno why I ever switched to OSS stuff.
Should MS just wait until those people get their bank accounts emptied and their data held for ransom?

This seems like the nicer option.
Change up some config files and this could be a marketed as feature. Plug in you destination and once you merge onto the highway it cruises at the speed limit or less (in the right most lane) following traffic until you're 1/4mi from the exit and then it plays some alarm clock tone on the speakers...
Macbook Pro running El Capitan. The firmware is password locked so no one can change the boot disk, the SSD, Samsung 840 Pro, is encrypted with FileVault2.

I also have guest access enableD to entice the unauthorised user to login and connect to the internet. Where I can lock or nuke the laptop using iCloud.

One thing I missed about the old OpenFirmware Macs was that you could personalise a message into the firmware boot screen like, "Call me: +1 305 555 222 for a reward!" The current FileVault login page has no such option.
It's not a trap, HN definitely has a higher IQ than the general population. FWIW I have some data on IQs from a similar online community, showing the cumulative distribution of IQ compared to the general population: http://www.leijuvakaupunki.fi/images/box/lw_ssc_iq_cdf.png

HN is highly correlated with technical professions and especially programmers. Those things happen to be highly correlated with and selective of IQ.
>If you really believe Microsoft are strong enough to coerce most or all of their entire market to move to Windows 10 when it's not in their interests, I invite you to look up the current market share of Windows 7 vs. Windows 10, and to consider that this is about 10 months into the 12 month free update period already.

A huge number of people have upgraded to Win10. Many of those are because of the underhanded tricks, but it doesn't matter; they've switched now. Now MS just has to squeeze them some more by cutting support for Win7 early, or maybe they could be like Apple and start pushing Win7 updates which massively slow down the OS, in effect forcing people to upgrade.

What are people going to do, stop getting security updates? Or switch to a different OS?

Face it, people and businesses are locked into Windows, and aren't going to stop using it no matter what. MS can do whatever they want at this point; it's not going to hurt them, and will only help them. The more people they can push to Win10, the more money they'll make from advertising. I can't wait to see them pushing mandatory advertising and spyware in Win10 Enterprise.
> E.g. the EU has for a long time acted as a better guarantor for human rights in the UK than the UK parliaments.

Genuinely curious, when has this come up in the recent past?
The thing is that generally in Postgres is conservative and avoids features that would endanger data, unless they have a good solution for it.
The Value of Signing Up for Clinical Trials
WINE and ndiswrapper are doing just fine.
I'm not doing heavy WP dev right now, but if I was this would definitely seem like an interesting tool, and the price wouldn't particularly phase me if it's feature-rich enough.
Thats ok about 99 percent of us do that as well. Youre not alone freind.
R.I.P. John David Jackson (1925-2016)
Most logical reason: in past they shipped binary engine SDK with headers only and probably even sell licenses without full source code. This is reason quite few things defined in headers so it's easier to understand how code works without access to full source.
No worthwhile ideas to pursue. Microsoft Research does a lot of idea pursuing nevertheless.
Seems they should at least be pricing it the same as their smartphone pricing. $40 on T-mobile gets me 6GB of data with unlimited voice and SMS (and benefits like international roaming, zero-rated music services, etc), where under this plan it would get me 2GB of data, with no voice or SMS. I have friends in a large group plan who pay under $30/month for 10GB of data and all the other features.

The low bandwitdh pricing is very competitive with existing offerings, though.
> commit sudoku
Well that's an interesting feature.
It was a borderline call, but I'm guessing a URL with Bill Kristol in it would have had an evil-catnip effect. So, risk mitigation.
You’ve Got the VR Glasses–But Do You Have the VR Jacket?
Sometimes I use something like:

#define ALLOC(n, type) (type)malloc(n sizeof(type))

which makes it harder to have those types of bugs, though not impossible.
How rural? Is money a top concern? You could cobble together a bunch of wireless broadband devices (or cell phones), a router and some load balancing and voila. That's not really useful if you're too rural for cell service or money is an object.
The internet interprets censorship as damage and routes around it.

The free market interprets regulation as damage and routes around it.

Wanting to control either of both is an exercise in futility.
The article's tone is pretty questionable, but I think it may be highlighting a topic worth discussing.

Among people who meditate seriously (i.e. not over a corporate weekend retreat) this is hardly the first time I've heard mention of this sort of thing. Meditation produces some fairly obscure frames of mind, and some of those (especially when mixed with ill-health, or drugs, or sleeplessness) seem to have the potential to be worryingly dissociative.

My biggest complaint isn't the lack of statistical rigor - it's a fluff piece - but the lack of rigorous terminology. Mindfulness meditation as taught in the west is mostly about "being in the moment" and I've rarely heard these claims associated with it. Samatha and other 'detached' meditations are the ones I've heard blamed for dissociation, and the article seems to almost actively not differentiate between different practices.
Just in terms of law: it's not an investment, it's not a purchase (since there's no guarantee of backers receiving their rewards), it's not a loan. It works exactly like when your local public radio station offers t-shirts to donors. IANAL but it seems pretty clear that kickstarter revenue would be a donation from a legal perspective.
Honestly, this was inevitable given that the car can apparently steer, accelerate, and brake itself. How long could you stay alert in a traffic jam if you didn't have to control anything at all?
I'm going to piggyback on this to suggest that, as Patrick says, invest your money responsibly to make more from it... If you want to then plow some of it back into socially responsible causes, use the same scrutiny. As a reference, I recommend Will MacAskill's Doing Good Better.[1]

[1] http://www.amazon.com/Doing-Good-Better-Effective-Difference...
Presumably because HStore predates JSONB
"No, that isn't my complaint at all because, note that I still want a diagnostic if we remove the cast."

Okay, then you want something super strange and in-between :)

"I just want the access to be defined to members that happen to be of the same type and at the same offsets in these structures, without going all the way to assert that they are compatible types for the purposes of assignment/passing and pointer conversions.
"

Okay ...

"The access should be defined even if the offset is the same in different ways, on those platforms where it happens to work out:
"

This qualifies in my book as super-strange. I'm pretty sure you will find no one who views the standard this way, as it contradicts the explicit wording pretty directly :P.

So if you want that, you'd probably need a new language.

Note also that it makes actual pointer analysis (IE andersens, etc) impossible without complete and total target info.

You could never have a target independent thing do pointer analysis in this world.
I think you're right :(
Progress can be a rather nebulous word. It can mean breaking new ground or on a lower level: a continuation in effort. Replace progress with 'vital energies'. New ground is what we all want (new nuclear systems) but when there isn't even a continuation of effort (no old style nuclear plants being built) it's even worse.

Computer science is in a rut. It's just that other things have even lost the energy to cycle through old accomplishments. I'd say the Art world is one of those areas that has lost all vitality.
Fi is not $10/gig. It's $20+$10/gig. Which for anything IoT is incredibly expensive. There are cheaper options out there.
Yay! Russians are coming... to YC :D
Speaking as a past student I'm really glad I started with C.

In the beginning, the fear of getting some random Segmentation fault out of nowhere actually taught me more than any textbook, school or best practices blog could ever do. It also forced me to learn how to use debuggers :)
The French gov can only give prosecutors general instruction and those have to be written down. Oral instructions and individual instructions (prosecute that case, drop that other one) are forbidden.

A prosecutor can still try to please the government, by doing things he thinks the gov will like, but if he receive an instruction on that matter... that would be quite a bit scandalous.

Anyway... the National Prosecutor for Financial Affairs has shown that she is quite feisty. She goes after a lot of people with a lot of power. With or without gov. aproval.
Comments like this are not welcome here, regardless of how wrong you think someone is.
Even that serves a purpose. If you view the case as specifically to compensate people for the wrong, then it seems ridiculous, but if it's to make people feel like the company had to pay for their mistake and/or disincentivize the behavior in that and other companies, it serves a purpose. Do lawyers get too large a cut? Possibly, but remember that they are sometimes going up against large companies with deep pockets, and these cases may cost lots of money. Do we want to incentivize law firms to take these cases, even if they may not pay off? Yes. Do we want to incentivize them so much that they seek out claimants to create lawsuits for? Probably not, but again, if it keeps companies from trying to circumvent the law, it may not be entirely a bad thing.

> The lawyer gets free hands ... The lawyer's cut is $3 million in legal fees, paid by the company to avoid a larger settlement

AFAIK there has to be actual named defendants that represent the class, and they would decide on whether to accept a settlement. The lawyers can only advise, not decide. I'm by no means an expert though.

Edit: Clarified what I was responding to in second part by including more context.
IIRC, Github does this for Pages via an nginx module that queries MySQL.

http://githubengineering.com/rearchitecting-github-pages/
You'd have to go multiple years for there to be any risk of shutdown at all. I've never even received a threat.
That was my first thought too, but there actually might be something to it.

The thing about man pages is that they require effort and force you to develop deeper understanding about the tools you use. From that perspective, it can actually be helpful to apps quality. I genuinely think that most of web developers now (myself included) got used to solving problems by quick and dirty means. Our whole development process seems to be based on piling technical debt until we can't figure out what's going on.

I'm not actively encouraging using this stack for development, but as a wake up call it's not without merit.
Custom Fonts in React-Meteor app
Understanding cluster schedulers–and why you'll want a better one
We detached this subthread from https://news.ycombinator.com/item?id=11761501 and marked it off-topic.
The problem with these platitudes is that they distract from the real issue: all the money is made by the players who control the "routing around."

It is not futility at all. It is a vital energy input to the system. Broken to you -- fixed (as in "rigged") to them.
How can they single out his computer without immediately singling out him too? There is simply no point in treating the device suspicious and letting the owner potentially leave the place.
early C++ compiling wouldn't be the problem you wouldn't uncover...

I worked on a large early C++ project and we had problems on the scale of a couple of years. Even if C++ wasn't changing, the compilers were.
I had that except my $0.50 was donated to charity (this was mandated as part of the settlement).
HAYAT GEZİNCE GÜZEL: SURA DESIGN HOTEL
Gun owners see gun control as damage and routes around it.

Business owners see labor laws as damage and route around it.
FWIW, the time spent in JS is only telling half the story. In that first example, React spends half as much time painting and rendering as Vue; the DOM diffing is more js-time intensive but results in less DOM thrashing. Interesting to watch how poorly it seems to scale; I'm wondering if web workers in future React versions will change that story.
We use varchar for UUID (on postgres) which surprisingly hasn't been that terribly performance wise. And yes we do use varchar(36) although on postgres it doesn't really matter because I think almost all varchars are text.

I would love to switch to native UUID someday though.
It's not clear to my why you value stock grants so much more highly than stock options. They certainly can be in some circumstances (though in those cases they come with a healthy tax bill), but for early stage-ish startups there generally won't be a huge difference.
[Solved :] Meteor.js having issues downloading file to Digital Ocean (Ubuntu)
weird, thats what I'm reading from the article in the link in parent. --> "Chen says users will pay up to 9.9 times in surge if their battery is critical just so they’re not stranded wherever they are (of course, assuming that your driver doesn’t cancel on you after your phone’s dead.)"
I consider that as an attack on General Purpose Computation by the likes of Apple and Google.
I like the article, but a line in it triggers one of my pet peeves.

>These companies are basically engaging in mass surveillance. Just as governments justify tracking us to prevent terrorist attacks, these companies are tracking us online, without our consent, ...

This equivalence that people often draw bugs me, because companies don't coerce people into being tracked. I can choose to or withold my consent with regards to companies. I can pick and choose to do business with more privacy-respecting companies, and I can block my browser from talking to popular tracking domains. Companies can't threaten me with legal trouble (jail, etc) if I want to run my own websites or programs that respect privacy or use cryptography.

It's government surveillance that I don't have a choice of avoiding, short of avoiding the internet. Sure, cryptography does a lot of good, but it's a freedom that is repeatedly threatened, especially it seems like whenever anyone makes a too-convenient tool for it.
Also checkout Seafile if you want something more Dropboxy.
I agree. In 2011, my first programming course in college( computing 1), was taught in C using a plain text editor on a Unix-terminal.

I'm so glad it was in C , it allowed me to understand how the computer works better.
> I would really, really doubt this.

Just curious, do you say that with knowledge of the fact that is on record happening multiple times? Or are you just unaware?
This comment breaks HN's civility rule by being unduly personal. Please edit that kind of thing out of comments here.
Using the production build of React changes the outcome significantly:

https://github.com/footballradar/VueReactPerf/pull/3
It was the first language taught at my university and I wholeheartedly agree. Java was actually more confusing because I couldn't comprehend what the classes/objects things were at first. I just knew functions.
Toyota to Invest in Uber and Team Up on Auto Leasing Program
Your statement is actually a lot of evidence that it isn't silly. They dominate AM radio has been something the liberals have been claiming as evidence against media bias for years. I'd say if the only place those people could get their views aired was AM radio it kind of proved the point that the mainstream media (TV, every newspaper and magazine except for those which are specifically conservative) accepts the slightly left of center as normal
Coinbase Launches Global Digital Asset EXchange
The Kitchen of the Future Knows What's in Your Fridge
>The amount of arrogance here is astounding. For one thing it's a trope that Linux doesn't have good documentation, RHEL has better docs than anything I've seen from BSD

I think you'll have to accept that many people simply don't agree with your opinion here.
Interestingly enough, you don't need Apple's support to do that: https://github.com/st3fan/dovecot-xaps-daemon.

Apple didn't have to build an API for them, they simply provided documentation for how to use the existing API.
Ok, but let's not call names ("evil") ourselves.
Grafana Downloads Down
@people @with @generic @usernames @will @soon @be @getting @a @lot @more @tweets!
Swarms of Octopus Are Taking Over the Oceans
> Have you ever worked with teams who use aggressive static analysis tools to detect and catch undefined behavior?

Coverity is actually used on browser engines, and it has not been able to stem the tide of exploitable security vulnerabilities. Sound static analysis is just too difficult on idiomatic C and C++: it's effectively impossible, as the language was just not designed for it.
The algorithms the government uses to make important decisions about us
I always think it is inappropriate to type declare like char* p1 in the first place. Yes, you want to be saying "I'm declaring an 8 bit integer pointer" but since in reality the pointer declaration is bound to the name in C, you should do it everywhere.

So I always do char \p1. Yes, for a non-C programmer its not as intuitive, but C isn't intuitive a lot of the time (cough, char p1[] what?). But you avoid making these mistakes altogether.

Note in function declarations I use char, because you cannot do statement expansion with a comma there, and because in headers the variable name is optional anyway.
Britain's Diet in Data: 1974-2014
Digital Forensics – Dll Search Order
Give Me a Voice
Looking back that's the e-mail one of the messages went to. It was actually a reply to your seemingly automated messages saying "...please don't hesitate to shoot me an email..." and my reply didn't seem to generate any response. But poof, into thin air it all went. I'm a bit biased here because it just drives me nuts when all these companies pretend to play nice publicly by answering comments (like mine! thank you, first time I've heard from you even if it is just brushing my comment off as "sorry if I've missed an email..."), responding to tweets and everything else but then behind closed doors it's a totally different setup. Perhaps you were just busy who knows. I just feel like this is a trend in the industry and it drives me a little nuts.
Really, you'd turn down say, a thousand dollars of donations toward exit nodes and bridges?

http://lesswrong.com/lw/65/money_the_unit_of_caring/
Well if he didn't want to talk to me, he might rethink sending messages to people blindly asking them to get in touch.
True, but then they are the all-time greats for a reason.
I've been in the industry 20+ years. The only technologies I've used consistently are Unix, and relational databases. The languages I work with, the frameworks, all of that stuff is new since I started, long ago. So yes, you have to keep learning.

But that doesn't mean you have to live on the bleeding edge, either! A tech that is proven out, used widely and stable, that's worth investing time to learn. In Crossing the Chasm terms (great book on marketing!), you need to learn early majority tech, not early adopter tech. You can be an early adopter for kicks, of course, but don't pretend it's to be more valuable.
A stake in the company means I own part of it, usually 5 or 10 percent at minimum to attract technical talent. Options or stocks are harder to quantify.
On a non-joke tangent, I do like the new httpd for OpenBSD. It works quite nicely for our small websites.
> My anecdata suggests conservative outlets tend to acknowledge their bias

"Fair and Balanced"?
Real-time performance monitoring of Linux disks
To Help Kids Thrive, Coach Their Parents
> Temper the soldier rather than steel, and a club becomes a sword.

WTF, I haven't heard that one before. Did you make it up?

When I google it, your above comment is the third hit, and the previous two aren't relevant.
Please don't create many obscure throwaway accounts on HN.
This forum is a community. Anonymity is fine here, but users should have some kind of consistent identity that other users can relate to. Otherwise we might as well have no usernames and no community at all, and that would be an entirely different forum.
And of course, there is PSTricks, which combines them both, letting you solve ODEs in your document:
https://www.ctan.org/tex-archive/graphics/pstricks/contrib/p...
UrbanEmojipedia?
Nutriadmin – software for nutritionists
Or have them taken back if they leave or get fired.
That's technically true, but not practically; tracking pixels, embedded 'like' buttons, etc. You are being followed around the internet by large companies, even if you don't directly use their services and avoid FB, Google, etc. entirely (which I think is a reasonable standard for an average user).

I agree the distinction is important in that you can e.g. elect to not be a customer of a company, but can't exactly opt out of the government. But there are still plenty of underhanded privacy violations that companies can 'coerce' you into unknowingly.

The best-practice security and privacy tools you cite, like Tor, end-to-end crypto, etc, are just as effective protecting against government privacy violations as they are coporate ones.
We are looking into this.
> It'd be interesting to know how

Do you mean how this things are implemented in general or how come that this particular function was reduced to one instruction? The answer to later wrote
gjm11 here: https://news.ycombinator.com/item?id=11764800 (it was to make LLVM good at some benchmark!)

The answer to former is: once the sorce code ins transformed to some intermediary form, a lot of optimizations simply look for the "best match" for different patterns and then replace the matched intermediary form sequence with the replacement sequence. Once you have an infrastructure in your compilers, it's typically not so hard to add one more "replace this with that" to get this result to win the benchmark.