skysight-inc/HackerNews huggingface dataset:
I have ~20 years of experience as a freelancer and I don't like TDD, but I do think writing tests early is important because they give you the confidence to refactor your "fun / getting it to work" code.

My workflow is basically:

- Plan the project out, but not super detailed, this is more like a high level overview of features. I did a 90 minute video live on this process once[0].

- Think about each state of what a feature could be in. Here's another video[1] showing that process.

- Design some pages around your states (if you planned a user registration system, start designing the register form)

- Dive into the code and implement one of the features (using pseudo code to help with the flow initially if needed)

- Write some tests to demonstrate that what you have works as you intended

- Heavily refactor your code if needed, leaning on your tests and refining them as you come across edge cases, etc.

Honestly the above never fails for both small and large projects. You always have something small and focused to work on and the code you produce typically ends up being in good shape by the time you reach the end of the workflow. It's a fast cycle too (easily multiple loops per day) once you have the states ironed out.

[0]: https://nickjanetakis.com/blog/live-demo-of-planning-a-real-...

[1]: https://nickjanetakis.com/blog/design-your-web-uis-faster-by...
It can also have the other effect in that it can show cryptography based solutions in a bad light to the public as yet another form of survailance and cause people to be less trusting even when authentic cryptography based money systems exist.
> I don’t recommend that people use Go to write complex multithreaded code that accesses shared state. My point is that I doubt many people are doing this while erroneously thinking that their code is guaranteed to be memory safe. In other words, whatever the problems with Go may be in this regard, it’s not primarily the absence of an ‘unsafe’ keyword that’s the issue.

I think the point here is that if the word "unsafe" exists as a language construct, someone is not wrong in assuming anything without that mark is safe. Otherwise, why isn't there a "safe" language construct?
So will China or India follow suite?
It's secured via BFT PoS, which means if more than 1/3 of the validators are malicious, then the network halts until there's a supermajority (2/3). With BFT PoS blocks have finality, which means you need a supermajority of the validator set to "fork" the chain and rewrite the history.
> Basically there are two entirely different paths here. For example, the person who writes all the software to drive the cockpit displays is probably called something like a "cockpit avionics engineer" and is organizationally in the department that's responsible for building such things.

I don't know how Lockheed organizes, but I assume it is similar to Raytheon. Raytheon had a matrix organization where the rows are functional groups (e.g., software engineering, digital electronics engineering, RF engineering) and the columns are program teams (e.g., radar power supply, radar antenna, radar signal processor). The title you describe would align with a program group, but your "official" title would come from your functional group (which would be software engineering in this case).

> These people can get paid very well.

In the absolute. For software engineers, it's pretty average. I was writing some pretty cutting-edge embedded signal processing software when I left Raytheon in 2012, and I was getting paid $85,000/year with 9.5 years of experience. Based on my trajectory, I would have been at around $120,000 now had I stayed. This was in Dallas, so it was good money compared to the COL, but I could have made slightly more at just about any other larg-ish employer in the area. That said, I both sucked at and hated the internal political games at Raytheon, so perhaps I could have done better if those weren't true.
People dismiss the problem because there is no evidence that Russia had a meaningful impact on the election. You say that the evidence is "very strong" but I've not seen that at all.
Off the top of my head:

* If the design of your car makes you a less safe driver, you are more likely to crash into me.

* The US as a society has committed (surprisingly recently) to providing emergency care to anyone who shows up at a hospital before asking whether they can pay. Car accidents are a sadly common reason for people requiring emergency care. That means that reducing car accidents is a public benefit.

* Modern societies have made the choice in general to require some baseline level of safety from all sorts of products in order to make commerce more efficient. If consumers feel confident that they can (e.g.) buy a random toy off the shelf for their kid without needing to do a bunch of research on whether it contains lead paint or dangerous parts, that reduces friction and increases sales. The same reasoning can apply to car safety features: it's easier to get people to just buy a car if they have a baseline level of confidence that any car they buy is safe to drive.

That's just a few reasons that first came to mind. I've already thought of one or two more that would take a little longer and a little more care to put into words, but I encourage you to think about these questions yourself when they come to mind, too.
There are. GopherCons are a thing. Also, here's an ad for the upcoming GopherConAU : https://gophercon.com.au.

CFPs are open until end of June. https://papercall.io/gophercon-au-2019
Sure, some EVs are fast, but they don't deliver the same experience EMOTIONALLY, which is a very big part of what makes auto enthusiasts so attached to their hobby. And I'd argue most of that is the aural experience of roaring internal-combustion engine. It's why I prefer Inline-6 engines over most other configurations: they SOUND better.

I have a fairly small-displacement (250cc) motorcycle with carburetors, objectively slower and less performant than some of the sports cars I've owned or ridden in, and yet it delivers a totally unique and stimulating experience. As a neophyte rider it still makes my spine tingle to go >100kph on this thing, while I don't bat an eye at bouncing off the electronically-limited top speed (~185kph) in my Evo. It wasn't until I experienced a motorcycle that I came to look at driving as just a little bit.....bland.

And from a spectator perspective, not many people wanna watch EVs humming almost silently around a track. I think most gearheads will feel similarly: even if they are fast they are underwhelming as an emotive experience.
>I would argue that Go's opinionated style is what makes it elegant

I'd say Go is opinionatedly inelegant. It is minimal, I'll give you that, but has several non-orthogonal design decisions, smells, etc.
Tl;dr Not much...
Actually, almost all of the democratic acts in the West lately (don't mistake the echo chambers which one of us is submitted to in social networks for the will of the majority), show a clear support for parties that - amongst other things - want higher immigration limits.

EU parliament elections, EU local elections, USA presidentials, Brazil, and the list goes on.
sync.Map?
Breitbart is that way, buddy.
This looks really awesome I've always been curious of mental models so I just ordered a copy from Amazon. Also Gabriel, kudos to your work and DDG, I'm right near DDG headquarters and it's nice to know things like DDG are being created in my area.
Last year, there were 25,700 fatalities on EU roads and motorways. eCall is expected to reduce emergency response time by 40 percent in built-up areas and 50 percent in the country, and it's believed the system could save as many as 2,500 lives each year. Sehnalova said eCall would also benefit tourists in the EU, because "when you cross a border you have a language problem and often do not even really know where you are." The vehicle's location is established using satellite navigation systems such as Galileo — the European equivalent of GPS.
Audio over Bluetooth: detailed information about profiles, codecs, and devices
Your game is great!

You should definitely give CCDA a look if for no other reason than to oggle at the sheer breadth of the project.

Few notes about CDDA:

CDDA also shares the classless aspect with Cogmind.

All items (including your own limbs) are destroyable.

While it doesn't offer the ability to fully swap body parts (that'd be a great feature suggestion. Hmmm..) it does offer mutations and bionics.

It offers a solid mixture of both melee and ranged combat along with vehicular combat.

All that being said Cogmind was a definite standout title. 10/10 on the UI/UX.
There is a documentary “Dark Clouds Over Elberton” that is pretty good. They conclude that a man named Herbert Hinie Kersten funded their creation.
Deeper Look at Concurrency with Immutable Data
Facebook unveiled an ambitious plan on Tuesday to create an alternative financial system that relies on a cryptocurrency that the company has been secretly working on for more than a year.

The effort, announced with 27 partners as diverse as Mastercard and Uber, could face immediate skepticism from people who question the usefulness of cryptocurrencies and others who are wary of the power already accumulated by the social media company.

The cryptocurrency, called Libra, will also have to overcome concern that Facebook does not effectively protect the private information of its users — a fundamental task for a bank or anyone handling financial transactions.
This is true although Tether can maintain USD:USDT at one to some extent if either they have the dollars or if they have bitcoin and it's going up. They can then sell their bitcoin for dollars to buy the USDT. That falls apart if bitcoin drops.
Since Libra is secured via BFT PoS it'll be feasible to integrate it into Cosmos Hub, and thus you'll be able to communicate directly with Ethereum which is interesting.
People are taking one of those courses because universities in the USA are basically companies. As a result you get marketing to sucker people into buying stuff they dont need and cant afford.

That doesnt change the fact that we have those programs in the first place for the pursuit of knowledge in the hope that it will benefit society. That benefit doesnt have to be an economic one. A degree in your native language has arguably little financial value, but you only have to look to countries like France to see how much a society still collectively values their language.

Investing in universities is historically something nations afford themselves in the hopes it will be of benefit to society. The idea of individuals investing into themselves is a rather American one. I would argue the only reason a large amount of US universities exist is because they have a special tax status and people get to take special loans to pay for their services. Alternatively you would just have companies providing job training. From the outside it looks like much of the problems with the US system stems from purposefully not communicating that difference to new students

edit: To word it differently, the sole purpose of the teaching arm of a classical university is to enable the next generation to introduce novel ideas into their fields. Thats what a doctoral dissertation is. You advancing your field and adding to the collective knowledge.
Here's an update: I have updated the images and the video capture in the post so that the figures do not look vertically squished anymore.
This question is subject, like all others, to capricious changes to Libra Terms, Conditions and Implementation. Facebook values its bottom line and is taking that, and only that, into consideration determening actions to protect your privacy, the security of your wallet, the fiat it is based on, the value of its coin and which Trusted Partners™ to allow to control Libra.
What's the point of public/private keys if the whole thing can be reversed, recovered and changed by FB with no transparency for the outside world?

The private key becomes just a better password, like a SSH key based authentication. Actually I'm pretty sure the wallet will not even require any key. You will be able to sign in with facebook.

I see no P2P payments here as everything is really validated by FB and all the data is kept under fb control. The client sees just an old good REST/RPC API with no public access to the backend. The client wallets will be no better/powerful than a paypal client app/wallet. There will be no blockchain to download...as matter of fact you won't even be able to tell if FB really uses blockchain behind the curtains.

Not to mention that you need to "signup" for an account and verify it with facebook before you can receive any "coin". In reality there is no coin. Is no different than paypal really.
GP's question reminds me of the quote: Plans are worthless, but planning is essential.
I understand the benefits of having multiple independent encyclopedias, but one downside would be it going overboard and turning into a virtual library of babel.
My guess is the cost in transport/logistics to reuse, cleaning and other potential liabilities outweigh the cost of simply manufacturing lots and lots of very cheap plastic bottles. Glass is heavy and dangerous. Plastic is incredibly cheap and lightweight.

This is based on nothing other than gut intuition and someone will probably come along and correct me.
India is drying up
Code is legacy the moment it's checked in - not writing tests is the equivalent of expecting the game of telephone to go flawlessly always and forever for every corner and major case written... This type of optimism when looked up in the OED has one definition: nope
Comparing 15 best appointment scheduling applications for small business in 2019
I find the counterargument unpersuasive. The situation is:

1) Someone flew the plane south

2) The senior pilot had the ability to do so

3) His marriage had failed and he was possibly depressed, which is a possible reason.

4) Nobody else had the ability to do so with the possible exception of the junior pilot, who seemingly had much less reason.

This countergument, such as it is, seems to be that we don't have a lot of data to support point 3 above, which is quite true, and indeed, one of the main points of the article: That the official report did not dig into point 3 in detail, and in fact seems to have omitted some key details.

But what of it? At most this is an argument that we shouldn't rule out the junior pilot, but no evidence is advanced, however weak to suggest he was to blame. And the author does themselves no favours with trivial logic errors like this:

> this flap could only be activated for takeoff or landing by command of the pilot. It could not be independently moved by the autopilot. After several weeks of detailed scrutiny, investigators concluded that the flap had not been deployed, and therefore the jet had plunged into the ocean once its fuel was exhausted without any human intervention. Langewiesche, suggesting the opposite...

If the flap had been deployed, we would know that the pilot was alive at the end. Since it had not been deployed, we don't know if the pilot was alive at the end. Langewiesche explicity gets this right; Irving gets backwards.

If you can't even construct an internally consistent argument, your attempt to debunk others will come across as lacking.
This will be the base layer. They expect custodial wallets and payment channels on top (in Bitcoin terms exchange wallets and lightning network).

See the Libra blockchain paper, section 8:

> We anticipate that many payment transactions will occur off-chain, for example, within a custodial wallet or by using payment channels [45]
They taste like guava
Excessive taxes and expensive housing. In much of Europe it is simply impossible to buy a house on a single income, if you obey 100% of tax laws. These taxes are used to pay for the elderly, their welfare (pensions) and healthcare.

If you are in the US you may not appreciate how heavy the tax burden is in Europe. It varies by country but its normally something like: 30% payroll tax paid by employer. 30% income tax paid by you. 20% sales tax paid by you. Then, very expensive housing due to the high population densities and limited room to expand.

Additionally in Europe, many parents want their children to be educated in English, however the language of instruction is usually the local language. This is partly why the migrant stream into the Anglosphere is so high. The alternative are private international schools, which are hideously expensive.
The average civilian cares and understand nothing of that, all they care about it is the fastest/simplest/cheapest way to move their money around. Since WhatsUp and Facebook are ubiquitous by now, and everyone knows how to use them, so will that currency be.
I bought a Philips 4k tv which works ok. But, when I plug it into my ethernet and hit the software update button it says it can't find the host. So I am guessing they hard coded the wrong IP/URL into the firmware. I am sure are there is some USB firmware patch I can do, but, I don't want to risk turning it into a giant doorstop/brick.
> Yes. People get burned every day by well known big companies.

Usually from free or niche products of well known big companies. S3 will probably not be deprecated over night without a appropriate notice period as half the internet depends on it in some way as you can see on S3 outages.
> What's the point of public/private keys if the whole thing can be reversed, recovered and changed by FB?

Less possibility for fraud via identity-stealing. Merchants will not need to see/store your private keys anymore to receive payments.
> The average civilian associates cryptocurrencies with high profile thefts and dark web drug dealers because that's what makes it into the mainstream media.

That will change now that major corporations have vested interests in changing the opinion of the public on cryptocurrencies.
Along the same lines as their FileNet product? If you are in an interview and hear "FileNet" run. Just get up, and run a way, as far and as fast as you can.
I was hoping someone would catch this. Seems like a delusional stretch to tie this phenomenon to right-wing hate. Nice try, but that’s complete BS.
Incandescent bulbs flicker at the rate of the AC current, but the flickering is brighter/dimmer rather than on/off because they stay radiant while hot and cool slowly.
> Write steps as comments
with a higher level language, and write code instead of comments, and have fun developing what you think is the product you need.

Hard disagree on that, there is nothing more annoying than reading code without plain comments, it's always less obvious than the original developer thought and the worst is that it always happen to your own code
Can you provide an example of a person in the financial industry who went to jail for violating regulations of the kind you are talking about, as opposed to fraud/dishonesty?
Indeed they have. They are far from perfect. But the top few cryptocurrencies have a decent track record.
> The average civilian associates cryptocurrencies with high profile thefts and dark web drug dealers

Maybe the average dismissive HN comment.

But pretty much everyone I ever talk to outside of HN treats Bitcoin with distant "hmm, maybe I'll learn more about that one day" curiosity. Kind of like programming and other tech.

You are way over-estimating how much Bitcoin even shows up on the radar of average people, even if it were 100% bad news.
I can't wait for the new wave of spam that tells me that they have access to my Linux computer using Outlook, or RDP, and that all I need to do for them to not release my d* pics is to send them some Libra Coins. Since FB will make it easy for everyone to get the coins, "hackers" will no longer have to explain how to get bitcoins.
This seems to be Facebooks WeChat play. It makes absolute sense for them to do this and there is very little friction for onboarding.

I can see them adding contracts (rental for example) to the chain at some point.

Validators are hand picked. So it‘s distributed but no really that much. Again, it makes sense from a business perspective. But it‘s certainly expanding FBs power and influence as a platform even more. I can see this getting pretty crazy in developing countries where FB might be the platform for everything at this point. Concerning.
It’s amazing — amazing I say — how little generics are missed.

Ooof. I've just spent about 3 days debugging Go code that was copypasted x N, with minor (incorrect) modifications. Rewriting it with generics would have been about 30-min job and made it much more maintainable in the future.
Things I learnt the hard way reading this article: Headlines with `font-size: 1em` make a large article unnecessarily hard to skim.
If you just look at salary comparison websites you will think the two have comparable salaries. 10 years of dev experience will put you in the 130k range before cost of living bumps. But FANG gives a lot or even most of the compensation as something besides salary.
Good stuff, until it broke down into coding style.
Rather not be alive to see air-cooled, rear-flat-engine Porsche 911's from the 70s go electric
Can I buy a cup of coffee with bitcoin? See above

Can I pay my rent in bitcoin? No

Can I buy my groceries in bitcoin? No

Can I expect bitcoin to hold any semblance of a stable value, like an actual 1st-world currency or standard, quality investment product no?

So if it's not useful as a currency and not useful as a store of value, what is Bitcoin? I really want to trust in the brave new world, but I just can't.
There are bad opinions if you allow everyone to speak.

relevant link: https://en.wikipedia.org/wiki/Censorship
I mean, sure, Go is also used elsewhere but it's at least at the moment still tiny in comparison with other languages.
Writing good documentation slides from ZuriHac 2019
>all for the sake of "protecting" a few local jobs.

a lot like people that give out about fishing it appeals to petty nationalism.
>Trying to squeeze in the tests into existing system is painful. So better do the tests before it had become a "legacy system to document".

This, but also if you code first then write tests you try to write tests based on your interpretation of how the code you already wrote currently works, when its better to write tests to outline and define how the code _should_ work in the future.

>You'll paint yourself into a corner.
I find it is the exact opposite. If you write all your code first, then write tests, you will inevitably find a bug and refactoring working code to fit a test is infinitely harder than adding more tests or replacing irrelevant ones.
People are flying around the world trying to figure out how to supply people like you solar pannels, wind turbines and batteries. Enviomental solutions require a suppy chain, R & D and new factories.
It depends who you ask, and when.

For a few months he was a "hero" of sorts for the spanish right wing, since he was viscerally unionist (i.e., against catalan sovereignty), and this is a basic tenet of spanish right wing. Now that he has supported the current mayor of Barcelona to be re-elected, he has fallen out of favor (since the mayor is left wing and somewhat neutral on the independence question).

For left wingers and non-unionists, he's always been nuts.
The value isn't for you; it's for Facebook and the participating financial institutions. They gain perfect visibility into your spending.

I guarantee you that this will not have the perceived level of anonymity that Bitcoin and other cryptos share. The publicly visible ledger may not reveal who you are, but Facebook and its partners will know.
F-expressions were a thing back in the day. https://en.wikipedia.org/wiki/Fexpr

Possibly the closest thing available in Common Lisp are Lisp macros - they receive their arguments unevaluated, and are free to utilize that input for further computation.
Trying to test ill-defined software is a recipe for failure. At the same time, trying to create well defined software without tests also leads to certain doom.

Know where you are.