skysight-inc/HackerNews huggingface dataset:
I have a two-line Makefile that with one target that sync's my website with an S3 bucket. Deploys are instant. The rest is handled by Cloudflare an AWS. The sheer number of moving parts in this system is outrageous for a static website. A fun project for sure, though.
Software Projects as Used Cars
so good to see this getting attention. Wish they could clean up fileinput, getopt, optparse, and argparse though. there should be one clear, obvious, way to do command line args.
"and add 3,000 megawatts of new solar capacity"

And what people supposed to do during evenings/nights/no sun? Fornicate?
Perhaps 'inspired by', but not 'derived from'.
They initially released a document with more detail then the bill and pulled it back when they realized it was insanity.

I found a archive of it here:
https://www.heartland.org/publications-resources/publication...

Some quotes:

"We set a goal to get to net-zero, rather than zero emissions, in 10 years because we aren’t sure that we’ll be able to fully get rid of farting cows and airplanes that fast, but we think we can ramp up renewable manufacturing and power production, retrofit every building in America, build the smart grid, overhaul transportation and agriculture, plant lots of trees and restore our ecosystem to get to net-zero."

"we also need to start doing new things (like overhauling whole industries or retrofitting all buildings to be energy efficient)."

"Totally overhaul transportation by massively expanding electric vehicle manufacturing, build charging stations everywhere, build out highspeed rail at a scale where air travel stops becoming necessary, create affordable public transit available to all, with goal to replace every combustion-engine vehicle"

"A Green New Deal is a massive investment in renewable energy production and would not include creating new nuclear plants."

"The Green New Deal makes new fossil fuel infrastructure or nuclear plants unnecessary."

"Repair and upgrade U.S. infrastructure. ASCE estimates this is $4.6 trillion at minimum."

"The level of investment required is massive. Even if every billionaire and company came together and were willing to pour all the resources at their disposal into this investment, the aggregate value of the investments they could make would not be sufficient."

"How will you pay for it? The same way we paid for the New Deal, the 2008 bank bailout and extended quantitative easing programs. The same way we paid for World War II and all our current wars. The Federal Reserve can extend credit to power these projects and investments and new public banks can be created to extend credit."

"Promote justice and equity by stopping current, preventing future, and repairing historic oppression of frontline and vulnerable communities"

"Work with farmers and ranchers to create a sustainable, pollution and greenhouse gas free, food system that ensures universal access to healthy food and expands independent family farming"

Bonus quote:

"That would be pretty hard for Hawaii" - Sen Mazie Hirono on the air travel elimination plan

I highly suggest reading the FAQ and the bill (its only 14 pages) if you haven't it is laugh out loud funny.
> Because quite a lot of the Internet couldn't exist in its current state without ads.

This isn't a terribly meaningful statement, though. Just because the ad industry managed to dominate the web doesn't mean it had to be that way or that there are no other ways.

Also, in my opinion, advertising is doing more harm than good in the web overall.
Not that narrow. I remember in the late 80's / early 90's Estes had a model rocket that would pop a picture (onto film) from the nosecone when the chute charge went off. I have no idea what the quality was like (my parents refused to buy me one).
The proposed fix is that you don't deploy code that the type system can prove is broken, and the person performing the refactoring needs to do additional work rather than pushing out something that will fail in production.

My reading of jsode's example is in a shared codebase, where it would be reasonable for the person performing the refactoring to update all call sites, and where checking in a change that does not update all call sites to whatever branch is released to production should be unacceptable, as it will provably cause problems in production.

If the change was made in a standalone library that other teams depend on, the type-checker error would be produced when they update the library to the new refactored version, and it's the same story: prohibit deploying known-invalid code to production until you've updated all call-sites to match the changes in the library API.

If updating all call-sites immediately is implausible for whatever reason, leaving the old field in place with a deprecated annotation would be quite reasonable, but the purpose of a type checker in this context is to prevent you from failing to handle this in at least some way. As you say, responsible maintainership of an API should facilitate gradual transition; the use of a type-checker here is to prevent deploying code that will fail at runtime when someone has made a mistake, and can help facilitate responsible maintainership.
The sources I linked to:

http://nymag.com/intelligencer/2019/03/is-the-boeing-737-max...

https://spectrum.ieee.org/aerospace/aviation/how-the-boeing-...

These are international, reputable organizations unlike a Quora thread. That would be like me using reddit as a primary source. Get real. I am going to believe the reputable news sources, over random people on the Internet.
The Impact a Single Developer Can Create – Call for Code Challenge by IBM
I think there is generics proposal under discussion.
My experience with F* is several unsuccessful hours of trying to compile hello world thanks to a complete lack of instructions for configuration and installation.

I hope it's gotten better.
A curated list of engineering blogs is here: https://twitter.com/engblogs
Can the same sentiment also be shared for Swift/Apple? Or is Swift organized in a way that doesn't have these issues?

Maybe this is just an inherent problem for all company focused languages/frameworks (react, golang, kotlin, etc), and we need a good example of how to make it work for everyone
Authenticator app that generates one-time codes; no messaging (or even being online) required after the initial sync.
am I crazy about this? You should have (at least two) type of message guarantees - "don't care" and "must respond", kind of like "udp" and "tcp". Obviously other messaging systems have other types of guarantees, but these seem like they are a reasonable basic.

If your agent that send a "must respond" message doesn't get a response within some customizable time, then it itself fails loudly.
There’s no need to confuse things with metaphors as anyone with elementary understanding of maths should be able to understand it:

A cryptographic hash function is an algorithm that:

Given an input, it returns a very large number.

Given a bit-for-bit identical input it returns exactly the same number.

If the input changes by one bit, it _should_ give an extremely different number, so different that it appears to be random.

The probability of two different inputs producing the same output is extremely low, and the better the hash function, the lower this probability is.
> you reduce vendor lockin

I don't know why anyone cares about vendor lock in. It's either trivial to move an aws lambda to a google cloud function because you don't have a lot going on, or it's not trivial to move stuff from even your own servers to other servers because it's under huge load and you have considerable amount of data you'd have to migrate under complex conditions.

Moving around is either hard or easy based on things that don't really have anything to do with vendor lock in.
That's true if there is no composition going on within the object. But, once you have a class hierarchy, some mixins, some dependency injection, or some such... you are "privately" talking to parts of yourself that come from elsewhere.
> And it's hard sci-fi because they were AIs made of protons, not actual fairies

Does mentioning your faeries are made out of atoms stop them being fantasy?

> That's how it goes with sci-fi, innit. You can come up with anything you like as long as it's obvious that it's just advanced technology, not magic.

Sure, I mean, even Star Wars is still considered within the genre despite it all being completely made-up - but the point of hard sci-fi is you're not just making it up and rubbing science-words on your endless stream of arbitrary plot contrivances.
Humanity may be fine but we're also disrupting other life on the planet that we can't predict the impact of. Humanity may not be so fine after all..
No, that does not typically happen and advertisers know that. That is called direct response marketing (think coupons in your free weekly newspaper) and is basically the lowest form of advertising. Advertising is a broad field including much more common forms of advertising such as brand awareness where the goal is to make the consumer aware of the product so they will have it in mind when they make their next purchase. Also remarketing, which everyone hates on the internet, where the product follows you around trying to see if you'll buy it again. For traditional advertising this is all the catalogs you get in the mail for things that you have bought in the past. It's always odd that most internet ad discussions try to turn all marketing into direct response marketing.
Don't use the same name for the quality product and the flimsy product.
Sure, in a contrived example where the return type is not obvious, you perhaps shouldn't use var. What about real world examples where the type is more often than not obvious?
In the US... products can list an ingredient as "Fragrance" at which point, it becomes a Trade Secret which is far less regulated... they could put arsenic in fragrance if they wanted. The US handling of Chemical regulations is a joke.
Could it be because Go is newer and handles buffer overflows correctly?
These sites are not blogs, but might still be worth exploring:

http://aosabook.org/en/index.html

and

https://softwareengineering.stackexchange.com/questions?sort...
I think some of the confusion here is that code you can't see or change is typically running on a different server, while ordinary method calls are typically about in-process communication. Compile-time checking makes sense for avoiding problems within code that's all going to be compiled together. Runtime error recovery makes sense for remote procedure calls. And there are also situations where you have untrusted code loaded dynamically (JavaScript in a browser).

It seems pretty important to be clear about static assumptions you can trust (because it's compiled in) versus things that can change.
I disagree with encouraging people to do this. You are not accounting for a CDN here, like the post. A website on the HN front page went down yesterday on a $5 VM.

And S3 just holds your HTML files, for super cheap. There’s no lock-in concern there. You can easily migrate to nginx in the future if you really want, but start with S3
Have you considered incorporating in a digital nomad hot-spot country (Thailand comes to mind), renting an office in a co-working space there, and hiring multiple nomads into it at once?

It would be nice if remote companies provided co-working office space for their employees / contractors. And at that point, you may as well hire two in the same place.
It’s more like mounting the head of your kill above the fireplace. Andrew Jackson was put on the $20 bill to mock him. He would have been the first to demand the destruction of the Federel Reserve.
The real reason react hooks are so important
I started F# lately and found it absolutely amazing. I come from heavy C# programming, and always find myself reaching out to have sane default like immutable types.

But unfortunately there are still lot of libraries out there for F# which don't support .net core fully. Especially db access ones.
There's a fallacy in your argument, but I don't know what it's called.

Just because we got here via ads, doesn't mean we couldn't have gotten here without them. And that's even assuming that where we currently are is an optimum state we should shoot for.
> It's clear that to Boeing, their numbers are more important than lives.

Isn't it the case by design for any corporation?
Since the 1990s I have always felt that advertisers feeling entitled to not only receive ad click data, but to only pay people based upon it, as inherently fraudulent. Advertisers in every single other form of media have never had access to this data. And they've certainly never even dreamed of only paying the person hosting the advertising in cases where an iron-clad case can be made that the advertisement led to a particular sale.

Of course they wouldn't. It betrays almost the entire foundation of marketing and advertising itself. Building brand recognition, forming brand opinion, encouraging new social and personal practices, etc are big parts of advertising. And now because the Internet is around, we're just supposed to give companies all of that brand building and everything else completely for free, only having them pay for specific sales funneled directly and provably through an advertisement? Can I get an ad played during the Super Bowl and only pay the TV networks when someone can provide proof the ad was the cause of their purchase? Can I get an ad in the newspaper like that? Radio? Roadside billboards? Where? Where else do I get to just rob the person hosting the advertisements of basically all advantages of advertisement and only rarely pay them for providing the venue?
Because it is standard, in these discussions, for someone to quote Rob Pike to say that golang was designed for the lowest common denominator of developers.

Personally, I like go a lot for writing services and console applications.
Create a Simple Neural Network in Python from Scratch
Speed Bumps for the MacBook Pro Lineup, Tweak to the Butterfly Key Mechanism
I mean go also has var for very similar reasons as java has it.
There's a movement towards industry building standards around how to meet the general requirements that aircraft need to meet.

However, that's a step back from the previous approach, where fundamental architecture concepts are needlessly cooked into the airframe regulations. As a simple example, under the previous approach, the law stated that light sport aircraft needed a reciprocating engine, and that reciprocating engine must meet XYZ standards. However that means you couldn't certify and sell an electric LSA in the United States. To certify such an aircraft would have required literally an act of congress.

Overall, this was generally holding back the industry a great deal. The new rules have been in place for a couple of years now (they came into effect just at the end of the Obama administration) and the result has been an enormous improvement in technology available to certified aircraft owners and designers.

So personally I don't think it is a step backwards. The MCAS/CG issue is unfortunate, but it's also part of an industry-wide adjustment that is in general leading to better airplanes.
I'm sorry, but you seem to not understand the realities of how this industry works.

Even if a utility wants to retire an unprofitable coal unit, they might not be allowed to do so (by the state) if they're still paying it off. Let's also say they want to retire their entire fleet and go to renewables as you suggest. Will they be allowed to raise rates to pay for the millions of dollars necessary to do so? How will the poor afford a new and expensive bill? Also, although I would agree that this is good for the environment and could be vital to survival as a species, are you ok with a less reliable grid? I am, but this isn't an easy sell. I can tell you right now that there isn't enough storage that can be built anytime soon to make a rush transition for the nation. Hawaii is working on this, and they are tiny with abundant sun. But what happens in bad weather when the sun doesn't shine for a week? They need many multiples of their total capacity in storage to avoid rolling blackouts. I'm not saying it is impossible, but there are big hurdles without making this the Federal government's most important issue.

There might be some of what you talk of as well with some groups resisting change (of course there is), but in reality it isn't as simple as all utilities are evil. The reality is that there are huge changes already going on in industry that are happening about as fast as we can go. Renewable integration is happening and very quickly. The fuel-mix in my region has shifted from only a few percent of renewables into the majority of what we have online at times. This huge progress has occurred in less than a decade! This is a huge technological and social problem. Please do keep up your interest and sense of urgency though. Public opinion will be the primary motivator of Washington.
I wouldn't recommend F# on other platforms yet, specially because .net core isn't supported very well.
Ask HN: Do forced team-building exercises work?
I'm coming from having worked as a marketer at two Series A startups.

Previously, whenever I've requested to not attend team-outings or parties, then I've been looked at as someone who must be weird and then peer-pressured into attending.

I like to build relationships with my colleagues by working alongside on projects and then getting to know them one-to-one. I don't think partnering with them in a race will build rapport.

I fully understand that such activities are useful for people who are socially inactive but maybe the rest of us should be allowed to bow out.
A common HN trope is that Go doesn't have enough features (Generics usually) and gets in the way of '10x'/'competent' programmers expressing their genius - unlike Haskell (or some other advanced language for advanced minds)
Ad hominem. Both articles were posted under the banner of internationally known and recognized news sources. Whereas in stark contrast you posted a quora thread with 3 replies.
Vue.js Unit Testing with Jest
"many people have smartphones. They're so powerful, that some of them are equivalent to laptops from a few years ago."

I don't know how on Earth you can't parse this simple paragraph.
Never thought I would see a D&C article on Hacker News.
It's no wonder that a new language is lacking the maturity and features of an old language. Of course you can attribute it to 'avoiding the hard work', but that's the same reason you don't live in a crystal castle. A more salient criticism would highlight what they have been spending their time on, rather than pointing out that they haven't spent much time on something.
Many years back, at a movie studio, I was working on an application that would enable users to mine historical release data for planning. I started off with a proof of concept in RoR (v0.2ish) days and on a flight home read 'Hackers and Painters'.

After the trip came back and dropped RoR and prototyped the app in CL (CMUCL IIRC). The users loved it, so to deploy it with a UI, ended up with Lisplets [1] (checkout who wrote it!)

Fast forward a year or so, the users were happily mining the data with a clear impact on bottom line. Then I came across NLP in CL and extended the app with NLP functionality so users could do kind of google search for their queries ("show me all movies which were directed by X and starred Y, Z and made N dollars in A, B, C territories). Writing NLP app in non ML hype phase was fun, note that there was some simple query syntax for users to learn.

Last I heard, after I left, a year or so later, they did a rewrite of the app in Java land; most Lispers here can predict how that story ended :-(. One of the most enjoyable phases in my career and don't even ask me how I pulled off writing CL in corporate for 4+ years, because frankly I don't remember (side effect of coding in CL being fun!) but I think my manager had failingly invested a lot in getting this app developed prior to giving me a chance to prototype 'quickly' and I think the prior pressure of not-shipping helped me.

[1] http://lisplets.sourceforge.net

[2] https://www.aclweb.org/anthology/J90-2005
Much of the regression from agricultural professions happened in the early 20th century, due to automation from the combustion engine. The phenomenon talked about in this article is much more recent, and more likely due to rural areas being susceptible to polarization after not recovering after the recession.
Yes. Couldn't agree more.

Arguably, one could call the long-horizon, volatility-ignoring approach "investing" and the short-horizon, volatility-sensitive approach "trading."
> it's not too verbose

that's a really puzzling statement to me, maybe aside from C, C++, and Java, (and maybe rust) Go is certainly on the "more verbose" side.
Live in California? Your power could go out this summer
I've been involved in an industry (stock day trading) that is rife with "gurus" like Gary Vee. There are hundreds of gurus that talk with EXTREME confidence and tell you the ways of how to be successful. Gary Vee is exactly like these people. They talk with confidence about how their techniques will work, and they have fans and followers that believe everything they say hook, line, and sinker. And in fact, teaching how to trade is a much more lucrative business than actually trading for these "gurus".

Gary Vee is a successful businessman. He built upon an existing business and made it more successful, that's a great accomplishment. I wish I had 10% of his success. But he's not a guru, he is nowhere near elite. Plenty of people have done more impressive things than him but the memes around him being some sort of guru on being an entrepreneur are far more outsized than his actual success. But the way his followers treat him is completely disproportional to what his actual successes are.
My dad has a friend who was a fish wholesaler. So, when he went to the docks to pick his own fish, he picked out two large coolers for me (I wouldn't know how to pick quality fish myself so that was a huge value-add).
Fair enough, it is an expensive keyboard, so any major issues you have with it make the price harder worth it.

I don't use tilde much.

There is no absence of a super key. Its on the spot where alt often is, and alt is on the spot super often is. It shares key with shift.

The ctrl is where caps lock is on today's keyboards. If I have caps lock I rebind it anyway. So ctrl and super are easiest to reach, whereas the spot where ctrl often is is difficult to reach (there is nothing there on the HHKB).

So in short this keyboard assumes you normally rebind caps lock to ctrl, it assumes you never use the ctrl elsewhere. It assumes you use super more than alt. It is pretty close to a traditional Sun keyboard.

Funny thing is also, you can buy the keyboard without print on the keys, so that you can rebind it in any way you prefer.
This seems like a nightmare to setup and maintain for a new comer. Netlify lets us setup things in a whiff. This is a nice project but not for anyone below intermediate.
There are other factors there, like corporations lobbying to block the IRS doing simple preparations of personal returns (like other nations do).
The answer is always very simple: in the US, money is king.

I'm not going to deny that there are advantages to that, but how truly important those advantages are in the long run is up for debate.
...hence people against UBI responding positively to this. OP never said this was UBI.
The thing US dont understand at this point is that companies outside of US are willing to exchange IPs with Chinese, which means that companies that are not dependent on US technologies will benefit greatly from this ban. Too impulsive decision by the US but they are too focused to be not outrun. Well only the time will tell
If you ever find yourself in the presence of something novel that you need to report on, your prior training and experience will make your report or writeup more accurate, reliable, and trustworthy.
Maybe so. But there are ways to get support off-the-record, if you're willing to pay enough.