skysight-inc/HackerNews huggingface dataset:
here's something i got bit by more recently re: terraform plan -out and tooling using Terraform's Golang API.

Handling package dependencies with Go is not straighforward. There are several ways of doing it, and none are native to Golang.

Additionally, Go doesn't support getting versions of packages by tag or branch.

This bit me hard when I tried to update Palantir's TFJSON utility (turns tfplan binaries into json) so I could do unit testing of my Terraform plans with rspec.

The utility depended on v0.7.4 of terraform, but Terraform maintains a plan format constant that defines which plans can be used by what versions. They changed the plan format between 0.7.4 and 0.9.8 without bumping that constant, so when I tried running tfjson against plans created by the latter version, I got a weird non-matching datatype error that took a while to figure out. (I eventually had to vimdiff the hex outputs of plans created by both versions to figure that out.)

Additionally, HashiCorp made a significant change to the way they handled providers between 0.9.8 and 0.10.0 that justified them to bump the plab format version AGAIN. The catch: 0.10.0 isn't released yet, despite that being the code in their master branch.

I figured that updating tfjson's vendored terraform library to 0.9.8 would solve it. I first did a go get to fetch the latest TF codebase and used gvt to vendor it. That's when I discovered that plans generated by 0.9.8 are no longer compatible. After discovering that go get can't fetch packages by tag (Hashicorp tags their release commita) because Google believes in stable HEADs, I had to find a tool that could support fetching packages by tags. Govendor did that, so I used that.

It takes FOREVER to fetch all of the subpackages used by terraform. I couldn't do it during a three hour flight. Rubygems has its problems, but fetching deps isn't one of them. And even when I thought I fetched the entire source tree at v0.9.8, I would still get errors about missing types or missing packages.

I'm hopeful that I'll eventually find a solution, but it's a dog compared to using Gemfile.lock.
As someone who just wrote a quick hack for a temporary problem, I agree.

It's not just the shitty programmers who do this. Sometimes we have shitty product managers who won't push back against this kind of thing. And you're forced into a creating something evil because most of the job is very good but this one time, you have to suck it up.

My response to that, though I agree with you, is that when a supervisor or PM or whoever gets on you about something you know is bad, you negotiate.

"Yes, I'll do this for now because the company needs it now. But only if you guarantee me the time (and possibly people) to do it right later."

You get agreement in an email, create the ticket and assign it to yourself as mustfix two months from now. And you shove it down their throats.

That's not an ideal place to work if you have to do that, but I have worked at those places and this is how you deal with that situation.

"Yeah, I'll give you a shit solution in 1 day right now. But only if you give me a a couple of weeks for a good solution later."

In reality, I've mostly only had to deal with this situation in startups. Mid-level and mature companies are usually open to pushing back and getting things right. But there are exceptions. Today was an exception. But that's also one of the reasons I don't really want to work at startups anymore.
How is the German way of life different from US/UK?

I've been thinking about living/working in Berlin for some time now. I've always respected German engineering, one of my favorite authors is Herman Hesse, I enjoy the nature photography I've seen of the German countryside, and I've heard amazing things about their beer/food.
Ask HN: Do your best work after you've become wealthy?
Meaning if you were employee <50 at a company that monetized successfully and you have 10x the F.U. money you ever dreamed of, kinda stress free n'est pas? No worries about the rent or kids' educations, etc. A lot more free flow can result.
Yes, speech recognition and speech generation would be easier to implement if you used neural networks that were trained on these vocal cord inputs rather than audio samples. In either case, you'd need to solve the inverse problem to generate vocal cord parameters given an audio sample. This seems difficult but I'd imagine some commercial software packages do it to some extent.
This is so cool. Related: "Knitting for Victory" (about actual knitted goods, not secret codes):

http://elinorflorence.com/blog/wartime-knitting

Edited to add:

https://judyweightman.wordpress.com/2012/10/09/more-knitting...
I think there's some zero-sum-game thinking involved, with some U.S. trending news black eyes thrown in there for rhetorical effect.
For a bit more detail:

The main isolate creates an Application instance that has N number of supervisors, one for each isolate. The isolates are launched and go thru their initialization steps, reporting back to their supervisor. The application completes its launch once all supervisors have reported back. It fails its launch if an isolate throws an error during initialization or does not hear back in a configurable timeout. Any inter-isolate messages sent during startup are queued until all isolates have completed startup.

Once the isolates are up and running, the main isolate doesn't do anything other than facilitate the inter-isolate message hub. Requests are delivered directly to the isolates running the web server.

When running automated tests, the default behavior is to run everything on the main isolate, since tests are run against a temporary database schema that only exists for the lifetime of the connection.
It was about the grain dole, the rich bought all the land that the soldiers owned while they were off at war and then forced the state to auction the land won to the highest bidder. This led to the free market and free trade of soldiers, where competition is not at all in the public interest.
The 2009 Twitpocalypse concerned overflow of 31-bit precision. Twitter has not yet hit 53-bits for raw number of Tweets, in fact, they passed 32-bits in 2014 and might not have reached 33-bits, yet.

Moving to strings for Javascript was really just safety planning for the future since:

> Given the current allocation rate, they'll probably never overflow Javascript's precision nor get anywhere near the 64-bit integer space.

https://twittercommunity.com/t/discussion-for-moving-to-64-b...
I've heard of these but it's been tough to justify the costs. Coffee shops are good, but they're usually crowded with awful internet. I'm finding some success with the library. I found a big one that has lots of people working away. I went today and got a lot of work done and felt wonderful, so maybe the public library is my new co-working space :)
Great! Also inspired by Pink Trombone, we ported the same model to our maker platform and then to a modular synth:

https://www.youtube.com/watch?v=bo5ZEgBEapk

https://twitter.com/BelaPlatform/status/856110345332674561

https://github.com/giuliomoro/pink-trombone
> I've been studying German daily (15-30 mins) for the past 1.5 months, hoping to be near fluent by the time we arrive, so hopefully I can minimize the language barrier.

Assuming that you are an American with little or no prior language learning experience, you may want to adjust your expectations.

It seems like you will have ~75 hours (5 months at 0.5 hours per day) of study by the time you leave. That should get you to a basic beginner level (CEFR A1) -- maybe A2 is you are really good. 5 months of full time study might get you to a minimal level of professional competence (CEFR B2).

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

Of course, if you speak a language that is linguistically closer to German and/or if you have learned foreign languages before, then the expected time to reach a level can be shortened.

Regardless, I encourage you to keep your expectations reasonable.

If you have any questions, I will be glad to answer. This is an area in which I have quite a bit of theoretical and practical knowledge.
Compilers will do the "wrong" thing. For example, gcc optimizes out the "x >= 0" check in

for (int x = 0; x >= 0; x++)

making it an infinite loop, because it assumes "x++" can't overflow.
The best thing is, if any of these ride sharing services raise prices too high, taxis will return. In comparison, they are cheap to start and operate.
"Artists, teachers, journalists, social service workers"
Sure. And if someone offered any of those people 100 million dollars, to work at a job that they liked moderately less than their current job for a single year, it is a universal truth that they should do it (unless they already have a billion in the bank I guess).

It is not about trading happiness for money. It is about trading a small amount of happiness NOW for a large amount of happiness later or a large amount of ability to achieve your goals.

If you are a teacher/Journalist/artist who wants the world to be more educated, more informed, or more artistically enriched, you are universally better able to achieve those goals with 100 million dollars in the bank.

So yes. Everyone SHOULD have a price. Maybe that price is 100 million dollars. Maybe it is 10 thousand. But a price is a price.

But back to the actual question at hand. Yes, i do believe that tripling your salary could lead to you retiring 20 years earlier.

It is simple math, really. Even with the increase in taxes, you will have about double at least the total amount of take home pay. And if you have a ~40 year work life, but take home twice as much money after taxes, that means you only have to work ~20 years to make the same amount of after taxes income.

Call it 15 years to be more conservative. But the numbers are close.
I think your interpretation of their statement is not something they would agree with. Which means you are arguing against a strawman.

You are welcome to feel that you have no responsibility to consider the difficulties other people have gone through. However, you may have a harder time connecting and relating to other people as a result. And that implies many other potentially undesirable ramifications...
Touché. My original sentence said reasonably conversant. I probably should've left it at that.

"Shoot for the stars, so if you fall you land on a cloud. - Kanye West"
I started to read the article but found the font too distracting. tl;dr I guess.

I see that my devices get IPV6 and IPV4 addresses. Beyond that I don't know "if it works." From outside my firewall (pfSense) I wouldn't know how to access resources within (which are walled off in the first place.)
Emailed! I hope the link still works.
Are you sue those numbers are right? That's 20k per car per year. At such a cost running the cars with no maintenance then buying new cars every break down is cheaper.
That's not what's happening at all. They are using a service called Plaid for bank authentication. It's used a lot of places. And you are doing ACH transfers; not bank wires.

https://plaid.com/
How are you with bitter, bone-chilling cold during the winters? Which is offset by pleasant (though short) summers, where you can ride your bike as far as you please or enjoy the excellent metro system, and partake of the extensive creative and social events. I've only spent short periods of time in Berlin but it always struck me as having a significant amount to offer, if you can deal with the winter.
Age of empires definitive edition announced
Eulogy, Completed
It's complicated. According to what I heard from Dr. Rhonda Patrick, it's not inherently bad on its own, but when eaten with sugar it causes the formation of small dense LDL particles, which contribute to the clogging of arteries.
This item has been submitted to HN six times recently:

https://hn.algolia.com/?query=yoav.goldberg&sort=byDate&pref...
Historical reasons, most computer engineers and electrical engineers never bother to get their PE. Medical devices also have their own robust set of liability laws. Quality control is exhaustive, for the most part. (Security vulnerabilities excepted)
I use a hard drive.....with folders.
You can make great pie dough with butter... We do that all the time.
The reason is that anything else is using default types and you lose your safety battle in each:

int32_t x = call_returning_int();

line. Otherwise, you assert/recover on each me-they borderline. C is a language where you have absolutely no guarantee that int or constants defined as int will fit into anything beyond int, long or long long, and then there is UB patiently waiting for your mistake. The method of handling that is to never change or fix types unless you have to, and then be careful with that.
The Terrible Deep Learning List
it's 1000 by default now (per account per region) and you can get it raised substantially higher
No worries! I just bought an electric car and have been investigating this intensively, I genuinely wanted to know if I’d missed a better option than EV-A!

Right now with our relatively limited driving, it appears E6 is better for me, but I’m sure if you drive enough, the 50% discount at night is worth it.
It's always regularly, but the frequency depends on the complexity of the process - inspections range from once a year plus paperwork, to continuous on-site inspector.

And cost varies according to how many visits are necessary, and how many ingredients, and how complex the production process. Also how remote - for example remote fishing vessels that cook and can fish on-site, or in small countries without much of a Jewish presence, so someone has to fly in.

(There's plenty of competition BTW - there are several hundred certification agencies, and there is no central authority.)
Getting Started with backtrader
The Tinder Apocalypse Rages On
> From outside my firewall (pfSense) I wouldn't know how to access resources within (which are walled off in the first place.)

By accessing the IP address they are assigned?
Twitter must have been misleading when they communicated the reasons for this change since they did not exceed 2^53-1, nor do they expect to exceed this in the near future.

From a (former) Twitter dev:

> Given the current allocation rate, they'll probably never overflow Javascript's precision nor get anywhere near the 64-bit integer space.

https://twittercommunity.com/t/discussion-for-moving-to-64-b...
Why do German automakers thrive there, then? Always found it odd that some of the most sophisticated cars in the world are made in a country where supposedly no one has any use for them.

Is it just cities vs. small towns?
from https://news.ycombinator.com/item?id=3636134

A paper covering the earlier period is A History of Computing Research at Bell Laboratories (1937-1975): http://cm.bell-labs.com/cm/cs/cstr/99.pdf

relevant article : http://www.nytimes.com/2012/02/26/opinion/sunday/innovation-...
This is a perfect use for the C++ auto feature:

auto x = call_returning_int();
Sure. Back in the day, every new immigrant was one more able body, able to help colonize the rugged expanse, as well as work the farms, factories and railroads.

These days, we don't need any more able-bodied factory workers. We are no longer an industrial-labor economy. We need service and skilled labor, instead.
It's very sad how so many bright physicists have made this their life's work, and yet:

the problem with string theory is that, in its landscape version, it has a hugely complicated and poorly understood high energy scale behavior, seemingly capable of producing a very wide range of possible observable effects, none of which have been seen
Relevant: https://www.youtube.com/watch?v=gYRTmvhOOVU#t=30s.
Children are required to be in school, by law. Some work as well (often in family restaurants as all over the world) or leave early and get low skilled jobs, but outside of purely agricultural areas this is pretty rare.

In my experience work hours are the same as the US (which itself is famously bad on holidays and worker freedom from a European or Australian perspective) for the most part, with a six day per week maximum but better holidays than the US. People who work hard tend to take longer holidays or contract work.

Re: 'stands for' ... not sure how valid bringing in to any discussion the supposed moral stance of a news outlet is.
Learn Python Game Development with Pygame
check out the youtube pheonix online its a german speaking roundtable program about current events very helpful for lang acquisition
We have been amazingly blessed to get as far as we have so I think I'm hesitant because there is a chance that we can make this work despite my burn out and personal desire for stability. The reasons for accepting would be personal and although we would be able to return most of our investments, this is not what we set out to do.

My main fear is limping out of this a few years from now. With the money we have raised, we do have runway for a small team for a few years. But given the technical maturity of our product, we should really be in growth mode with the intention to raise a series A in 18 months to 2 years. Our current projections make this story seem a bit far fetched so we have to make a decision of whether to keep fighting along with the same product or to try something entirely different.

You hear the brilliant stories of Instacart and Mattermark and Slack where a later stage pivot turned out to be the greatest decisions of a lifetime but you don't hear about the stories that don't work out. I was 100% willing to spend a year working my ass off while learning a ton and meeting awesome people, but now we are talking about 3-4 years going towards an uncertain future.
What the New Power BI Premium Offering Means for Your Organization
umm...which is the best?
That's not snark. That's just self-doubt, expressed. "We never thought we'd host 2^31 chess games."

EDIT: Apparently they already said that: https://news.ycombinator.com/item?id=14540509
What's the best way to set up and use such an ipv6 gateway? After a bit of fiddling, I managed to set something up with sshuttle, but it was a bit of a hack.
Exactly, i recall that was one of the first things I read, i think, on the Kerninghan&Ritchie classic book ("The C Programming language").

Also on university they repeated to me exactly the same thing. "Since each variable points to a memory location, you can't be sure of what is inside that memory location, until you initialize the variable".
>"And if someone offered any of those people 100 million dollars, to work at a job that they liked moderately less than their current job for a single year,"

Are you just trolling then?

The "what if someone offered you 100 million dollars?" game is a game that children play. Your insistence on repeatedly interjecting this bit of childishness is just bizarre. The context of the discussion and the OPs comment is working as a salaried employee.

There was was never any question of a job "liked moderately less." The OP said quite unequivocally that they "hate" living where they live. Hate is a pretty strong emotion, it does not describe a state of being moderately less happy.
> and I think it's pretty clear that nobody actually believes

What does this even mean? You have done a survey?

And it is clearly just one of the many factors contributing to high housing and rental costs.

But many people have difficulty understanding a solution if a problem has more than one cause.
They already charge on AWS. The cost of 1 IP is built-in to the hourly cost, with extras and those attached to stopped instances charged explicitly.
Thanks for the comment. That seems like a good deal to me. Do you have any tips for the negotiation?
Can you please elaborate on the deceptive recruiting tactics?
Will you really be comfortable in Vancouver or Toronto?
Let others dob them in for investigation. Home owners who are bothered are the best ones to report this.
Some people were.

But it's worse than that. In the 90s a lot of code used 16-bit values, character strings. That is, it stored a char(2), parsed it as 2-digit number and then converted it to a date by adding 1900.

So it was only really "saving space" when compared with storing a char(4).
The incorrect sense that it'll be different for them.
No, just shipped by Amazon. And I now only buy things that are shipped and sold by Amazon, having learned the hard way. But I expect many people don't know the difference between "sold by" and "fulfilled by" in terms of commingling.
Frankly, Micro-corruption, and crypto-pals is way better if you are looking for something to spend your time on for learning.

https://microcorruption.com

https://cryptopals.com/
And yet you only get peak power from solar when the sun is normal to the panel. We need power at other times too.
Kotlin vs. Java: Should You Use Kotlin for Android Development
Yeah, definitely had the rose color glasses on for that one. CEFR seems like a really good benchmark, I've been using a combination of the Assimil method (books/ tapes) and Duolingo just for the benchmarking / competing with my girlfriend while we learn together.

The CEFR seems like a great reference point though that I wasn't aware of so that could be a great more objective measure.

We're hoping to add a few shows/ podcasts to our regime this summer to get our ears more accustomed.
Find someone whose job it is to negotiate on your behalf. For the same reason you wouldn't ask a lawyer to build a SaaS.
I'm not. I'm blaming the priorities of the federal government. This, and running a $30 billions deficit.
Nice, are you planning on releasing a Eurorack form-factor kit for your platform? I'd imagine this can be a good alternative to other digital modules like nw2s::b and Rebel's OWL.
Let me suggest you sit down with a piece of paper and write up four to six scenarios. Either best and worst for both choices, or best, worst and "most likely" for both scenarios. You may find that one choice has better outcomes in all cases or that the worst case scenario for one is so bad that it makes no sense to hope for the best case scenario, knowing you will live in dread of it possibly going the other way.

The other thing you can try to do is arrange a "third option." Can you get a break, even a short one, so you can get some rest and make this decision under less psychological pressure?

My dad was diagnosed with a clot in his leg when I was 17 and was told they wanted to amputate. He said "Can't we try something else first?" He was told they could, but odds were poor it would work. He wanted to try it anyway. He got to keep his leg.

If there is some way to say "no" to all the worst case scenarios -- to get some breathing room and try to make a saner decision -- that is the way to go.

I hope that makes some sense. It may not be very well explained.
One of my favorite examples of property-based testing is in the docs for Haskell's Text.ParserCombinators.ReadP module. The semantics of the combinators are succinctly (but fully) documented in the form of QuickCheck properties.

https://hackage.haskell.org/package/base-4.9.1.0/docs/Text-P...