skysight-inc/HackerNews huggingface dataset:
One alternative to writing struct tags by hand is to write a little generator code to map the field names from, say, a reference .json, then calling `go generate` as part of your build process.

I've wondered whether a wrapper library could do rule-based field name mapping automatically with Go's reflection facilities (which could be a productivity win), but I haven't really looked at it closely.
If you're that fussed about it why not go build -i inside your personal repo ?

Or have a GOPATH with two dirs like:

GOPATH="~/workgo:~/homego"
We use XO (https://github.com/knq/xo) and JSON-To-Go (https://mholt.github.io/json-to-go/)
I see milder forms of Christian Sharia all over the place. Just off the top of my head, birth control, abortion, drugs, assisted suicide, alcohol, and marriage are legally regulated based on Christian morality (not necessarily what the Bible says, but what self-professed Christians claim their religion to say) to various degrees.

Christians in general are fine, but a certain subset of American Christians is hell-bent on forcing their religion on the rest of us, and they have a lot of power.
Government spending is just another way that the productive resources of society are funded, and that people receive the benefit of those resources.

As a thought experiment, we could lower taxes, and have the services provided by government instead paid for through private transactions. Why is this more sustainable?
I understand your argument as "bitcoin hasn't crashed yet, therefore I see no evidence that it will ever crash."
I once worked at a site that had the Wi-Fi access point for one side of the office in the break room. There was, of course, a microwave in the break room. There were frequently complaints around the lunch hour that the Wi-Fi didn't work well, though strangely it worked earlier and later in the day.
Sounds like a case of... titlemania...

Edit: Sorry, you're all right. There wasn't any titlemania after all.
Fortunately, I can read wiki Leak's actual source documents and decide for myself what to believe.

Their commentary on what they release is inconsequential. What matters is the actual, real, documents that they release.
A more interesting question: which stocks will compose the Dow in 100 years time?
It's very modern of them to assume that a speculative bubble would cause collapse of industry and that it's remarkable that it didn't. The whole relationship between "some people default on loans" and "some other people lose jobs" is a relatively modern type of financial crisis, starting in late 19th century. In a way, it's a curious introduction to macroeconomics, the apparent puzzle that when one person is unable to repay a debt, why does another person somewhere else lose their job? I think they missed an opportunity there to write a little bit more about it, it would explain why people should still care about bubbles.
> an army of "toddler" developers can overthrow a single hero in terms of productivity

Depends on what you mean by toddler.

Golang devs imo are not toddlers. The point seemed to be that golang devs could just learn to write C, which is valid. So could Rust developers. But if that was the goal, you'd think both groups would only be using C.

When I think of "toddler" developers, I think of interns being hired into a company to write code with no experience working under mid-level developers that also lack experience, and 5 years later you have what is called f-ing hell. I've worked at a company like that before, and know someone that worked in a company that was mostly VB developers. Same concept but without interns.
The majority of anti-GMO people I know don't debate the science, they generally want to ban them for two reasons:

1. Overuse of pesticides leads to tolerance which leads to an escalation which is some of what you see in this article.

2. One or two large corporations controling the vast majority of food production for the US. Gains in farming are awesome, but they shouldn't be at the expense of autonomy of the farmers who bring us the food.
Oil companies sued to pay for cost of rising sea levels, climate change
Sorry, but I have no faith in Google as a fact checking organization.
Because the science is usually funded by Monsanto. And they hire paid shills to keyword search the internet and argue nonstop about it, so their deliberate and aggressive propaganda has made me much more suspicious to whatever they are trying to sell, rightly or wrongly. And... it seems like more and more often we're seeing studies that show some of the main components of their products are harmful or not anymore effective than traditional methods.

https://mobile.nytimes.com/2017/03/14/business/monsanto-roun...

https://www.reuters.com/investigates/special-report/glyphosa...

https://www.commondreams.org/news/2016/05/18/gmos-safe-eat-s...
"best-in-class documentation"

?? what am I missing. I dread having to lookup how to do things in postgres because their documentation is so horrible to find things in.
Selling Out and the Death of Hacker Culture (2015)
This is good for bitcoin
If there's substantial fallout around you, being indoors won't save you. You need substantial shielding or distance between it and you for several days until it decays enough to not pose an immediate threat.

The "distance" part is interesting. Being in the middle of a tall building can work, because you're far enough from both the ground and the roof.
If you don't exclusively own the keys, then you don't own the Bitcoin.
820 employees, plus some contractors probably. That's a pretty large headcount for that revenue - ~120k revenue / employee...
> Did I mention my upcoming ICO?

Until one or more ICOs bring successful and innovative products. At the fundamental level ICOs are a frictionless way to fund your project. There will be a lot of scams and unproductive projects until the community makes an error correction looking for more due diligence and stronger evidence. There is a huge gap between ICOs and IPOs that make it difficult to fund new companies globally.
It's funny that the very first thing discussed is the name. "Go" always seemed like a bad idea, being hard to google for -- and while they were employed by Google, no less!

It fits with the love-it-or-hate-it nature of the whole language.
Can you provide an example? In my experience I find the index[0] particularly useful, as well as the SQL command reference[1], the datatype reference[2], the function reference[3], and the server configuration section[4]. I know other people have different usage patterns and different amounts of familiarity with the docs, so I'm aware that my experience may not match yours.

[0]: https://www.postgresql.org/docs/current/static/bookindex.htm...

[1]: https://www.postgresql.org/docs/current/static/sql-commands....

[2]: https://www.postgresql.org/docs/current/static/datatype.html

[3]: https://www.postgresql.org/docs/current/static/functions.htm...

[4]: https://www.postgresql.org/docs/current/static/runtime-confi...
Interesting to read this. I was a little confused at first because the information bottleneck paper wasn't new, and then as I read I realized they acknowledged that. It's interesting to see followup and new research coming out about it, because it struck me as promising when I first read about it.

The information bottleneck idea is very similar, basically the same, as how I've always thought about DL models, and statistical models more generally. The hidden variables at each layer are basically digitized codes, and there's a compression at each layer, which is equivalent to learning/inference as in an algorithmic complexity/MDL sense.

What was surprising to me was the relationships with renormalization groups, which I wasn't familiar with at all.

The quote from Lake was also interesting. I forgot about that Bayesian Program Learning paper, which was interesting. My guess is BPL and DL are not really all that different at some level.
Windows Mixed Reality at 90 FPS, Powered by .NET [video]
GMO seeds are designed to allow application of pesticides, but after years of this the targets - weeds and insects - become progressively more resistant. This has begun happening with glyphosate (Roundup) and insecticide-resistant crops like Bt-corn. This forces farmers to both greatly increase the total quantity of pesticides applied, and reach back to older and less safe chemicals. This is the worry that they refer to, and why Monsanto continues to create new products.
Sadly, not always.
How long ago was this? Soviet missiles were extremely inaccurate for a long time, so there's the definite possibility of a near miss at a range where the building collapsing on top of everybody would be the biggest danger.
"Even the largest tsunami ever wouldn't make it past the Appalacan Mountains"

I've read that the impactor that created the Chicxulub caused a megatsunami that washed over the Rocky Mountains, although I can't find the article now. Instead, I found one that talked about a tsunami 305 meters tall, and a wiki page about megatsunamis that talks about it being just 100 meters tall.

Interestingly, further down it claims that, had the impactor struck deep ocean, the tsunami would have been 4600 meters tall. That's about the straight-line distance from my home to my work.

Neat, and utterly horrifying: https://en.wikipedia.org/wiki/Megatsunami#List_of_megatsunam...
Exeq – The App for Better Spending
Hey! I just got hired as a marketing intern for a startup based in SoHo and it would be a huge favor to me if you went ahead and downloaded the app that our team has been working on. It's essentially a financial management app that aids in managing what we hold dear, our money!

It's purpose is to help young students like us visualize our finances and plan wiser while at the same time giving us insight on things to do in our current price ranges and budget.
Feel free to submit feedback on its interface and functionality, because it's my job to analyze and voice said feedback to help cater it to us college kids!
This app is only currently available on the iOS Store and an Android version is in the making. If you are interested in trying out the application, please use this link to do so: https://exeq.app.link/Pdqm3NN1zG

If you have any questions I will be more than happy to answer!
If that's the case, then it's probably purely marketing. I had no idea PostgreSQL offered a comparable option.
You may not have made that assumption, but its a _very_ common characterization of what happens in free market based economies. Or more directly, tulipmania is frequently equated with business cycles. I never saw it either, but I've definitely seen it presented as a valid argument many times.
I would recommend repmgr[1] over solutions like DRBD suggested. The simple reason is that DRBD replicates on block level and doesn't understand postgres data structures, while repmgr relies on mechanisms provided by Postgres.

So if there is a failure, you're far less likely to learn that all your data is gone, because some important block on disk was not replicated and the database is not readable. With repmgr the worst what could happen is that you might lost few latest transactions, but your data should always be consistent and in working state.

[1] http://repmgr.org/
>I will say though, dependency management in Go is hell. I wish Go had something like Cargo.

This is the number one thing that has kept me from going full on Go. The killer feature of Node was NPM, not Javascript. Unless Golang comes up with something comparable it will forever remain niche.
‘Catch Me If You Can’ Scam Artist Has a Warning for Today’s Consumers
The language that appeals to the masses with low barrier to entry in a niche always wins the popularity contest in that domain. I attribute it to herd mentality; assuming skill has a standard distribution, the average developer herd gets a massive head start.

You can see the idiot friendly language eclipse in popularity in other domains too even though "better" alternatives exist:

- elegant general purpose: python over ruby

- web: php over python/rails

- SQL databases: MySQL over Postgres

- NoSQL: MongoDB over CouchDB/Postgres

Go's just the first mass appeal language in the concurrency performance domain and it just opened the door to a lot of developers who before wouldn't dare play in the space.
I've thought about this too. I agree with you.

Another angle is that "real journalism" is fiction. Stronger than "people don't want it" is that it doesn't even exist.

Suppose Zuck, Musk, Gates, Bezos, and Bloomberg pooled their cash, with matching funds from Uncle Sam, into a blind trust to fund "real journalism." What then?
Self-evident is not necessarily the same thing as obvious.
Arduino is great for artists and hobbyists or just testing out something simple. It does this by having a great IDE and library collection that maintains awesome compatibility across the board. They can be a big problem if you intend to produce a final embedded product though. Nothing you build will translate.

Something like the Beagle is going to give you a much better toolset to expand on as you grow. Also with the power in the PocketBeagle situations where you'd need near real time, like management of audio. Is actually available. Not that you can't get Arduino compatible systems that can provide the tooling (STM32 or Teensy), you need to really know where you're going to end up and your level of commitment.

You are 100% right about the drawer thing though. I've got several drawers. But the thing with embedded is there isn't a magic bullet, so you gotta stock the drawer if you want to fiddle. Either that or KiCAD/Altium and plan your bespoke system from the get go.

My tactic with hardware projects is to never pretend like it's going to be a money maker. It's always play. People loose fortunes on hardware. But man, I've got crap to build my own shitty LTE cell phone in a drawer right now. It'll be terrible and a fire hazard but the future we live in is awesome thanks to the inexpensive dev board proliferation.
Thank you both for your interest!

For completeness: The original License Zero Public License, now dubbed the License Zero Noncommercial Public License (L0-NC), is admittedly _not_ an Open Source license per OSI's definition.

There is now also a draft, alternative public license for L0 projects, The License Zero Reciprocal Public License (L0-R). It's a hair-trigger copyleft-style license, built in much the same way, from a BSD-2-Clause base:

https://github.com/licensezero/licensezero-reciprocal-public...

More here:

https://medium.com/licensezero/a-hacker-public-license-d2805...

I believe L0-R _is_ an Open Source license, and have submitted to OSI for approval. I also believe it will be as, if not more effective than L0-NC in driving industrial users to purchase private licenses.
So are you implying Node developers are fine with half-assed solutions? They might disagree.
What about tools that statically analyze your code and allow you to be more productive? It may be possible to build more sophisticated and useful tools if the language is simple.

You talk about giving the developer tools, but those tools can be augmentations on top of the basic building block that is the language. That way, anyone can build tools for their needs, without complicating the lives of others. No need to build all the tools into the language, that's very constraining.
It's an ilformed test. Can a writer truly understand baseball as well as a baseball player? But, isn't a baseball player bound to be heavily biased toward the consensus baseball view?

Or, take finance. If a financial journalist truly understood finance, wouldn't they be running a hedge fund instead of scraping by pumping out articles?
(NOTE: I am not a gopher) I thought godep was that? It's marked as suitable for production now, and I think official as of their next release.

https://github.com/golang/dep
I would strongly discourage this kind of solution. DRBD is to replicate disk. As pointed out is not Postgres specific, and it doesn't understand the data it replicates.

One of nightmare of replication is that there's latency and data never makes it instantly to the other host. This means that there is a possibility that once the master fails, the database file on the other host might be in a corrupted state.

If your data is important you should use replication mechanisms provided by the database. Repmgr[1] makes it easier to set up replication, and perform failover. It also has mechanisms to do auto failover, but I would also be careful with that.

[1] http://repmgr.org/
First of all https://en.wikipedia.org/wiki/Consistency_(database_systems) There is no strawman, postgres is literally acid and mongo literally isn't, full stop.

Second of all, Mongo marketing and ecosystem is foremost about making dashboard crud apps easy with not a lot of engineering. dashboards are not about point reads. Whether or not mongo is engineered for it, this is what the customers are using it for.

Third, I just wrote a proposal today for a client on Mongo, not at scale, who experiences silent database failures due to lack of acid. they only noticed because Mongo sometimes tells them there are -2 people left in the room.

Nobody at scale uses mongo because somewhere along the way you spend your giant bags of scale-money to hire a real engineering team to solve the silent errors and failwhales you've been suffering by migrating to an architecture that actually lets you reason about failure a little better than "it looks like something bad happened but we have no idea when how or why"
Sorry for being less specific, I meant intrinsic value
Speaking as a geneticist, these GM traits are the most important tool in our toolbox, and it needs to be rolled out as fast a possible.

It's a matter of evolution, and stopping resistance. Like HIV, cancer, antibiotics, or any other biologic system, there is a necessity for multiple modes of action.

Plants evolve very slowly. This is good. It means they adapt to things like roundup very slowly. It took decades to adapt to glyphosate, and even today it is still widely effective. However, since it is a single mode of action, resistance is inevitable.

The trick is that if you increase modes of action, you raise the cost of natural selection to the point that the species simply cannot adapt. Ever.

We need glyphosate, 2,4-D AND dicamba resistance, all together so that we can stop any one chemical from being resistant. Stopping resistance means having a full toolbox, and a full effective toolbox means less overall chemicals on fields.
The cpu will pause it to give all threads some cpu time. The difference is that it's the OS doing the work of cleaning up between threads, as opposed to the go runtime pausing and switching. Keeping it all in Go is faster, but it doesn't have the capability to pause, cleanup, and prepare for re-execution in the middle of a block of code that the OS does.
According to https://blog.whatsapp.com/10000618/end-to-end-encryption, they are. Not sure who is wrong or lying. Or perhaps the"latest version" of WhatsApp will be prohibited.
Interestingly, parmesan cheese is traditionally made using rennet from the stomach lining of calves, so it's not vegetarian, but thanks to GMOs, most parmesan cheese in the US is vegetarian-friendly since the rennet can be produced in a lab without killing calves [1]. There are also plenty of startups using genetic engineering to make vegan/vegetarian alternative meats. So while there's certainly a lot of overlap between vegans and anti-GMO people, it seems like it's probably counterproductive to dismiss GMOs entirely if you actually care about animal welfare.

[1]: https://io9.gizmodo.com/you-can-thank-genetic-engineering-fo...
I didn't need to, the comment I replied to already addressed a valid why. Smart contracts can't enforce access to funds without locking the funds up from other use, and that's not how things work in the real world. Pensions aren't savings accounts where funds are locked up ready to be used in a black box. They can't interact with the real world without trusted oracles, but we already have that in the real world and they're only real use is when they can do something deterministic on chain. In short, they're largely hype without a real problem to solve... so far.
Yes.

The only way off the treadmill is to stack as many traits as possible so that evolution doesn't have time to adapt.

This was the key to effective treatment of HIV for example. Anti-retroviral cocktails of 3-5 drugs, each with a different mode of action.

We're lucky though, plants evolve slow, so we only need a few different traits to slow/stop evolution.
I've literally never heard of Arango before reading these comments. That might have something to do with people not using it.
This page is really full of errors. Please don't spread it.
Basic category theory for programmers
> It then makes no sense, financially, to make two versions of the CPU.

You are wrong. They offer countless different versions of CPU's, famously denying "enterprise" features like ECC to private customers. One can only wonder why they are so generous and give everybody "enterprise" manageability for free.
Can't tell whether serious or sarcastic... If sarcastic, I'll take your point to mean that people already doing well in life are not likely to give up the trappings to go into UBI-funded early retirement.

If serious, look into ChooseFI, the FIRE community, etc. It's totally possible to self-fund the transition from your current lifestyle to the one you're describing.
Stunned by Quake, Mexican Town Fears It 'Will Never Be the Same'
Filed, but no guarantees it will be underwritten (to disk).
Unsolved Lithography Issues at 7nm
You can cluster a table by an index: https://www.postgresql.org/docs/9.6/static/sql-cluster.html

Or am I not understanding what you're asking for?
The thermal radiation pulse is very short, on the order of seconds and it may arrive faster than the air blast. If you are close enough to the blast for your blanket to be vaporized and moved away from your body that quickly, you are likely being concurrently killed by the fireball, ionizing radiation, and overpressure.
Netflix is the new Blockbuster Video
Hewlett Packard Enterprise to Cut 10% of Workforce
Tiller––a minimal and seamless device for tracking your time
Hi, I'm Tony (founder at Tiller)

Just wanted to mention a product we are currently launching on Kickstarter:

Time tracking is a pain, and timesheets are not fun. But having good time tracking is something that a lot of developers, engineers, coders, freelancers and digital agencies need. So Tiller was built to address some of the key problems that we found people have with tracking their time:

- We would forget to start and stop our timers.

- When we remembered, it was kind of a pain to do it requiring lots of interactions.

- Most products we tried would take us out of our natural work flow.

Tiller is a new hardware device that plugs into your computer to help track your tasks. Tap it, and it’ll start timing you. Tap again, and it’ll stop. Spin the wheel on top, and a minimal interface will pop up on screen, letting you scroll from one task (say “emails”) to the next (maybe “writing” or “coffee”).

By having a physical device on your desk that you can interact with rather than interrupting your current workflow, and also as a subtle presence on your desk, we think Tiller can help alleviate some of the common problems that people have when they need to track their time.

We are currently launching on Kickstarter, so if Tiller looks like something useful to you take a look at our KS campaign page!
At some stage it'd be interesting to collate 'dumb things HN believes'

TulipMania would join Split Sleep, Drones hitting/near misses planes, X just discovered Y happened Z years previous to what was thought. This Voynich manuscript article adds to the discussion. The Valley has a unique problem with Y.