skysight-inc/HackerNews huggingface dataset:
Yes, but it's pretty central to go. If code is posted somewhere for review/comment "Why doesn't this work?", often the first comments is run gofmt on it first.

It's generally expected that all commits to code are in the gofmt standard, and there's not even the option to change the format.

I suspect if you analyzed all the code on github that go would have much higher compliance with the gofmt standard that you'd find to any other single standard for java or c++.

Gofmt is pretty nice, I wouldn't make the same decisions myself, but it's pretty valuable to have all code I see with exactly the same formatting. Additional gofmt uses the same parse as the language and can even parse, modify, and invert to produce a new source file. Similarly it's much easier to write a golang aware editor than most other languages.
Right, I see that now. Adding an additional layer of RSA and per-file keys is an interesting twist. Generating a public/private key pair instead of a symmetric key seems to let them encrypt as many files as they want without keeping the private key in memory (which they relied on Windows to erase).
the flip side is that they are redistributing the wealth such that it seems the wealthy passengers subsidize the cost for poorer people.
I assume given their setup that they were only using React for interactive components and the rendering / routing was done server side in good old PHP by their framework.
>He set off from La Gomera in the Canary Islands on 6 April, but returned after concerns about his boat’s seaworthiness.

Don't you mean attempted?
I have used Flow for a few projects.

I think we're saying the same thing. By "linter" I mean a program that only checks for stylistic and defined/undefined errors. To me, anything beyond that is a typechecker. Whereas TS bundles a typechecker with a transpiler, Flow keeps the 2 separate (you still need both if your program is written using Flow syntax).

You are using "linter" more broadly, which may be fair as well.

Additionally, both TS and Flow can be used on JS files with zero modification.
what is the point
PowerShell is obviously a much better scripting language than the ancient DOS BAT "language" (if you can call it that). In theory it's also mostly ubiquitous on Windows which means that you can rely on it being there when creating a script. Yet I've found that often people keep using BAT files (e.g. in build scripts, etc). I think it is because you cannot just execute a PowerShell script unless it is signed or the user has manually enabled non signed script execution (by executing a command on the PowerShell command). This means you cannot rely on it just working, at which point it's often best to fall back to DOS or use another scripting language such a Python.

I understand that this is done for security reasons, but Windows already lets you execute any executable or BAT file that you might have downloaded from the Internet. So I'm not sure that disabling PowerShell script execution really gains you much (and there are probably other better solutions anyway).

So IMHO as long as DOS is available and PowerShell is so limited by default BAT files will not go away, which is unfortunate.
Awesome. So we have 159,359 downloads via brew over the last year.
do they have uber pool? pool is usually around 3 or less
Of course every company and industry wants to price services this way, but few are able to. Why is that? There are two different ways that I'm thinking about this.

Monopolistic Power:

The ability to price a product/service based on a customer's willingness to pay and not the product's cost is the key sign of a company's monopolistic power. Most companies and industries do not have the privilege of pricing this way. But a select few can charge customers their maximum willingness to pay, and reap huge rewards. Think Google's ad bidding model.

People who have been saying that Uber, Lyft and other rideshare companies are perfect substitutes might have an issue explaining this monopolistic power. The high-competition model for the rideshare industry would mean rides are priced on cost, not on value.

Allocation of Fixed, Perishable Inventory:

Some industries, for example airlines and hotels, have ~100% fixed, perishable inventory. A hotel room at the Hilton in Chicago has different for every night, and it's impossible to sell a room for a date in the past. It's also very hard for them to grow or shrink their airline seats/hotel rooms for a given period of demand.

Similarly, when an Uber driver is looking for work and an Uber customer is looking for a ride - the Uber driver is in a specific place at a specific time, and the Uber customer's demand is for a ride at that given time from that given place. If the price isn't satisfactory for both parties, the ride doesn't occur, and both lose out.

Even if there were 100 ride companies with intense competition, you could imagine the pricing changing based on perceived value. Airlines have immense competition (and historically limited profits), but still price based on value. Also worth noting, Uber not only can charge customers value-based pricing, but can also estimate the driver's willingness to work for a given price, and pay based on that amount.
A lot of the chatter around this story has been that this is a "stealth layoff", meant to get around WARN rules and avoid shareholder disclosure regulations. Should sharp changes in policy, which vastly change the working arrangement and have the potential to cause a lot of people to leave be counted as layoffs?
Good question, my claim was _very_ vague. The current GC in Go is inefficient in its use of CPU.

Specifically because it uses a non-moving collector it has a sweep phase which frees each of the dead allocations.

In Java, or similarly .net, the use of a moving collector means that dead objects aren't freed. The live objects are moved out of the current memory region and the whole region is then 'free'. If you have few live allocations and lots of dead allocations in that region then your GC cycle is much more efficient.

I can't comment on memory usage experiences. I have written very careful Java programs that ran on the 64bit hotspot server in ~40mb or memory. I've written Java programs that used gigs, and I've written the same range in Go.

I would like to quickly note that I actually like the Go GC. I think they are on a very promising path to a potentially great GC. But they are also given to some public hyperbole which I find awkward.
French, German, Dutch, Korean. French wins hands down for yummyness.
these people sometimes bother me because when they got lost or trapped, taxpayers then spend millions to save them.
IBM Says No to Home Work
>For building AI tools, it’s like the difference between a command line interface and a modern desktop OS.

What does that even mean?
TIL that Washington State University makes and sells[0] its own cheese from its own dairy herd.

[0] http://cougarcheese.wsu.edu/DirectionsWEB/webcart_itemBuy.ph...
Taxpayers spend millions saving drug users in hospitals for their stupid decisions.
Downvotes for truth, here, I suppose.

You could add in the Mont Pelerin Society,Foundation for Economic Freedom, Atlas Network, and Cato Institute, Mercatus Center, Adam Smith Institute, Mercatus Center.

And personnel: Ludwig von Mises, Leonard Read, Murray Rothbard, Friedrich Hayek, the Kochs (Fred, Charles, David), for completeness.

Mark Ames has an excellent general summary: http://www.alternet.org/visions/true-history-libertarianism-...

https://en.m.wikipedia.org/wiki/Mont_Pelerin_Society

https://en.m.wikipedia.org/wiki/Atlas_Network

https://www.atlasnetwork.org/partners/global-directory

https://en.m.wikipedia.org/wiki/Foundation_for_Economic_Educ...

https://en.m.wikipedia.org/wiki/Cato_Institute

https://en.m.wikipedia.org/wiki/Mercatus_Center

See, e.g., Philip Mirowski's The Road From Mont Pelerin:

http://www.worldcat.org/title/road-from-mont-pelerin-the-mak...
>"VCs compete for access to dealflow."

I am unfamiliar with this term, can you say what that is?
> But we all know that when there's a quasi-monopoly with only 2/3 big players, they would "cooperate" to maintain the high prices.

> In France for many years there was phone providers with extremely high prices

It's a lot easier to spin up a new taxi app that undercuts Uber/Lyft than it is to build new telecom infrastructure.

Nothing's stopping Newber from showing up with a shiny new app and undercutting both, if consumers are upset enough.
Avoiding a flame war, it depends on what your goals are.

From a language standpoint: Ruby emphasizes developer happiness at the expense of some things, like performance/concurrency for example.

From a career standpoint: There is a lot of ruby in the world today. There will be lots of applications to maintain as the years go on, which is +1 from a career perspective. Lots of people will also continue to write new ruby software, because it's effective and easy to be productive in.

All the languages you mentioned + ruby are all good languages to learn for various reasons. All have their weaknesses and strengths. None of them are an effective hammer for every nail you'll encounter.
Yeah, every company kinda does this. It seems like most of the the time it's a combination of:

a) we have no idea if this is unique or not (hint: a Kindle Fire revision probably isn't)

b) it makes things seem more exciting.

The weird thing about Fuchsia is that all of the development is done in the open, but noone wants to give any context.
> Consistently, Windows freezes, locks up, crashes explorer, between 1 and 7 times per week

This doesn't happen to me. As it stands, my laptop hasn't done a power cycle since the last Windows update (10th). You are the common factor here, so the group policy (as you mentioned) is a good starting point. Try leaving it alone. Additionally, it could be 3rd party stuff that you typically install; Realtek is suspect because their software is utter garbage. Windows now includes support for a universal driver (Aria, or something to that tune) so you may be able to skip the Realtek installation entirely. The only driver I've installed on Windows in about half a decade is for the graphics card.
Parsix GNU/Linux Termination
Read this last weekend on the beach. Interesting.

That poor bastard who put the life jacket around his neck at 30,000 feet and inflated it...
Or fly them to the moon!
Generational GC had nothing to do with moving objects. It’s possible to implement generational GC without moving anything. That’s how BDWGC, Edge’s GC, and JSC’s GC all work and there are probably others.

It’s true that those generational GCs that copy objects also sometimes use the address of the object to track the object’s generation. JSC’s GC uses a GC state byte in the object header to tell which generation an object is in.
You can do it in one line in PS too.

$sites = @('https://www.google.com/', 'https://www.example.com/')
$searchString = 'oogle'
$sites | %{ if ((iwr $_).Content -like "*$searchString*") { "$_;OK" } else { "$_;NOT OK" } } > C:\temp\output.csv
Indeed, there are problems of this structure - individuals making stupid choices and shifting the costs onto others - in many areas of society. All of them should be addressed.
Addiction is a disease.
And strangely, a lot of people think we should both do that for free (at everyone else's expense) and that we should legalize the drugs that put them there.

I admit I am still a bit torn on the former. I do consider addiction to be a medical condition, and drug users in need of treatment. The question is where personal responsibility should factor in. At some point, if you do drugs, there was a good chance you were dumb enough to start doing them.
HN, youtube, windguru (weather), feedly (few niche blogs and podcasts) and pb.pl (to practice Polish). Quitted facebook.

Newsletters: javascript, ruby and python weekly
UK Conservatives Want Restrictions on Posting and Sharing Online
Show HN: A code puzzle game I'm working on in Unity3D to teach programming
Amazon Cloud Drive is currently broken garbage
Uber has been profitable in most developed markets* for over a year, this is just meant to squeeze them further so they can subsidize new ones.

We are going to live in a bold new world, where getting picked up at Whole Foods costs X% more than a Grocery Outlet across the street. It's really amazing how loose they are with ethics and how willing to court controversy.

*Uber points to profits in all developed markets
https://www.ft.com/content/afa1d4de-33bc-11e6-bda0-04585c31b...
I'd put that on my to-do list but I might have trouble finding it.
On the one hand, the tone is pretty bad, and if someone on my team had done this in a code review, I'd have to have a serious discussion with them.

On the other hand, it's a reddit comment.
When I read your first sentence my brain was briefly trying to figure out if I had sleep-posted to HN somehow because it sounded so similar to my interests (and there aren't a whole lot of people in the aging+bioinformatics area). I think I might have replied to some of your comments on other articles before but I seem to have lost access to the account I used to use.

Are you working on just Human data right now? I have thought about trying to propose something very close to what you're talking about, but in the environment I'm in right now there's a pretty strong bias against non-hypothesis-driven work, and unfortunately the really big picture multi-omic approach is considered to be too vaguely defined. I wish I could just say "let's collaborate!" and then make it happen so I don't end up trying to duplicate what you're doing but if only the funding model actually supported that sort of cooperation (assuming you're in the US). If you don't mind, what institution/lab are you at now? I'm at University of Rochester, trying to make a co-mentorship arrangement work between a lab that works with C elegans as a model for aging (where the PI has no informatics experience) and a lab that works on computational modeling of biological networks (where the PI has no experience in aging/C elegans) because we don't have a real "bioinformatics" program.

Also if you have any advice on bridging the gap between biologists and computationalists, that's something I have yet to master in my now more than half-decade of experience of trying...
5 tips to give your smartphone a boost – NetoTip
Also, as per Wikipedia:

"Democracy Now Productions, the independent nonprofit organization which produces Democracy Now!, is funded entirely through contributions from listeners, viewers, and foundations and does not accept advertisers, corporate underwriting or government funding."

(https://en.wikipedia.org/wiki/Democracy_Now!)
I don't know what the policy of the Coast Guard is, but increasingly a lot of states have made it so you have to pay the cost of your rescue if it was due to gross negligence. A family friend is part of the Upper Valley Wilderness Rescue Team (the ones who'd be saving you if you got lost in the White Mountains in New Hampshire), and they have been sending bills to the clueless for a little while now (people who were prepared and just the victim of unfortunate circumstances do not pay). This guy in his microboat would probably qualify as a payer if he got in trouble.
The vault against the story the media try to tell is not for mankind coming back from some apocalyptic event. It works like a bank vault. Anyone who wants can pay them money to keep sets safe. The common use case is for protecting seeds of crops your country cares about in case some pest kills all the crops or similar. Not for Mad Max.
> I get that Uber is a toxic company, but I'm not sure if immunity is a good idea.

I don't think immunity protects you from civil damages, though.. just the criminal penalties. So, still not a great trade for Levandowski if he makes a deal.
Why can't these talks have scroll bars, or some other indicator of where you are in the document?
There is a law that backs up DNT -- if a website's privacy policy says they respect DNT, and they don't, and it's discovered, it's the same as any other privacy policy problem. You can read in the news about fines, consent decrees, etc related to privacy policy violations.
Video: Fresh install of Debian SID /w latest near-default Gnome 3 Desktop
> Provisions are stowed under Kent’s feet. “I have enough food – half freeze-dried – for six months at 1,500 calories a day. I have intentionally put on 20 extra pounds for the trip as well.

> “My diet consists of nuts, dried fruit, protein powder, nutrition bars, a variety of soups, stews, pasta, peanut butter, Nutella and so on. I have a huge variety as well as 64,000 extra calories in the form of two gallons of olive oil to add to my food.

> “None of my food needs cooking but I do have a 12V/120W heat coil wand to heat water for dinner or tea or coffee, if I can afford the power. With a two-minute boil time I should be able to use it often. All of this fits in the bilge and down the keel.”

I wondered how he did food. And how he has pasta that doesn't need cooked but lasts six months.
wondering why you say that drivers don't work well, most of them are on top of "database/sql" pkg
Why Is Intelligence Negatively Associated with Religiousness?
try it sometime, you might learn what compassion is
I served in the Canadian Forces. I've tried Canadian, American and British rations. Out of the three I liked the British ones best but that was probably because I had the least exposure to them so they were more novel. On an unrelated note they also made better use of cardboard.

Heating is a big limiting factor for rations. You have to be able to heat the meal up either in a pot of boiling water or with small chemical heaters. To allow for even heating this means the food will have a very high water content and usually have small pieces of solid food. Stews and curries do very well for this kind of heating. Some of the Canadian meals are a larger piece of meat in a liquid. Examples of this were the ham steak (a puck sized piece of ham with pineapple and pineapple juice) or salmon filet.

When it comes to fresh rations my experience with other countries is more limited but based on what I've seen I'll stick with Canadian cooks every time. This isn't meant to bash other countries since all army cooks work hard.
What a shock - the voluntary and arbitrarily interpreted 'feature' designed by advertising companies failed to protect anyone's privacy...
I enjoyed the series produced by public television called "Irasshai". The lessons are available on the Georgia Public Broadcasting site and texts can be purchased from Amazon. For those who have fond memories of "French In Action", this will give you a similar vibe even though it isn't quite the same thing.

http://www.gpb.org/irasshai
> That was not theoretical at all, and very much something that could be used without detection, even if the users verified fingerprints, since it made clients create insecure keys.

It could have been done by Telegram. No proof it was. Still sound theoretical to me. I doubt they knew it was possible.

Also: Was Telegram's source used to find the vulnability? If so, it's unfair to compare WhatsApp and Telegram like that.

Also WhatsApp doesn't bait with a bounty like Telegram does (see https://www.linkedin.com/pulse/whatsapp-security-vulnerabili... for example).
How I Became a Cryptographer
Snapchat: Does the worst scenario happen? – NetoTip
Absolutely. My work wanted after hours support but would never pony up with the requested on-call rate. They'd still pester us and ask for Gentlemen's Agreements to attend if we happened to be available.

All the while we used to get lectured about maintaining a good work-life balance from HR.
Also found these, the official investigation reports from the incident.

https://www.atsb.gov.au/publications/investigation_reports/2...
I think you're talking about Intellisense-like functionality, not syntax highlighting. Syntax highlighting works just fine in C++ in many editors.

The red squigglies in Visual Studio is a completely different technology than syntax highlighting, which is lexical.

Intellisense has only a rough relation to context-free grammars. Some of the red squigglies are errors in semantic analysis, not parsing. That is why the more fruitful approach was to integrate the actual compiler and the IDE -- not have two separate parsers/compilers, as was the case with Java IDEs.

Also, I think it was always "possible" to integrate a C++ front end and an IDE -- just nobody did it in an open source compiler until Clang.
No, the paper co-incidentally shares a similar name, but the capabilities are different, and there is no relation in terms of people or underlying technology.
https://www.microsoft.com/en-us/research/project/transform-d...
Show HN: Simple prototyping for App and Web
It not really a doomsday vault despite the media trying to portrait it like that. It's really a seed storage for anyone who wants to store some seeds.

I visited the vault a few years ago and was very disappointed to learn this. I had imagined some committee planning what we need to get back from Mad Max to normal. But it's really more like a bank lock box.
Hi everyone. I'm Nadav, the CEO of Bitrated and one of the Israeli bitcoin activists that participated in the protest. Happy to hear your thoughts and help explain our view of things.

I'd like to clarify that despite the article saying otherwise, none of the flyers had any words of threats. This is not our way. The bitcoin activists that participated in the protest are peaceful and would never take part in threats, violence or any other illegal activity. The local bitcoin community have experience with similar protests against Israeli banks and corrupted officials, and this has always been a red line that was never crossed.

The protest in question took place in the public areas of building that's freely accessible. We said hi to the guy on front and he showed us the way. None of the protesters entered any offices, Bitmain's private property, or any other restricted areas.

Additionally, the meeting that Gadi is referring to took place more than a year ago. The protest was organized by the local bitcoin community to criticize Bitmain's actions and policies, and had nothing to do with that meeting or with Gadi personally.

Finally, we did not protest Bitmain's decisions regarding the scaling debate. The protest was purely about Bitmain's threats to initiate a 51% DoS attack against the Bitcoin network [0][1] and the remote kill-switch backdoor they introduced into their products [2][3][4].

------

If anyone is interested seeing what all the fuss was about, the flyers in a readable format are available here:

http://imgur.com/a/sFHnI (scroll down for the flyers)

My response to the "vandalism" claims is available here:

https://medium.com/@shesek/as-for-the-vandalism-claims-a4715...

------

[0] https://bitcoinmagazine.com/articles/bitcoin-unlimited-miner...

[1] relevant flyers: http://i.imgur.com/PAg4Hkw.png http://i.imgur.com/I7CXjSe.png

[2] https://bitcoinmagazine.com/articles/bitmain-can-remotely-sh...

[3] http://www.ibtimes.co.uk/antbleed-massive-bitcoin-backdoor-c...

[4] relevant flyers: http://i.imgur.com/fZIHbXc.png http://i.imgur.com/bOBp54g.png
It's a data point for fingerprinting wether you have it on or not. The only way to avoid that would be to randomize it's value.
The drugs didn't put them there, the abuse of them did.

Should we make sugary drinks illegal, since we spend millions treating people for obesity related diseases? Or should we put speed limiters on cars, because of the cost of treating people injured in high speed accidents?
Dehydrated pasta doesn't need cooking.
> Serving content over http(s), and obtaining TLS certificates are two very different tasks.

Except that with let's encrypt one actually needs the other.
Maybe it's because expectations. If you want to complain about food, what will you complain about? Taste, texture, aspect. I guess that's what they complained about because that's what they are used to seeing when they see food. Show them a gun sling or whatever, and I guess they'll start seeing other things, more in tune with its purpose.
Design Thoughtfeely: Intuition in Creation