skysight-inc/HackerNews huggingface dataset:
C++ itself has well-defined (if verbose-named) types (e.g. uint32_t ) the problem is as soon as you interface with any large library or platform API with a long history: Win32 and Qt comes to mind. It’s 2020 and Windows.h still has macros for 16-bit FAR pointers. I’m disappointed Microsoft hasn’t cleaned-up Win32 and removed all of the unnecessary macros (they can start with T()!)

C# and Java might seem to have escaped that problem - but now it means that because `int` was defined back in 32-bit days programs can’t use `int` (System.Int32) when the intent is to use - what is presumably - “the best int-type for the platform” (I.e. C++’s fast-int types) - or the context (.NET’s arrays are indexed by Int32 instead of size_t, so you can’t have a Byte[] array larger than 2GB without some ugly hacks).

(I know this is moot for function locals as those will be word-aligned and so should behave the same as a native/fast int, but this isn’t guaranteed, especially when performing operations on non-local ints, such as in object instance fields).
> Playing devil's advocate for a bit, would the A220 have accumulated so many orders had it not been backed by Airbus?

Yes, totally. Delta alone had ordered 75 CS100's [1] and were deeply involved in the tariff dispute as a result. It's a unique plane -- in size class, in passenger comfort and in fuel economy. Airlines realized that and were buying it up like hotcakes. Neither Airbus nor Boeing had competitive aircraft, and neither really did Embraer. It's closer to the Sukhoi SuperJet and some of the Comacs, but reliable [2], and domestic.

The only reason Airbus got it was they offered up their Mobile, Alabama assembly plant as a way of skirting the tariffs that never materialized.

> The program was clearly in trouble when Airbus took over, which may have discouraged airlines from taking a chance on a great aircraft, but whose manufacturer ran the risk of running out of money to keep the program going.

The program wasn't itself in any trouble except for the later-ruled-illegal tariffs the US tried to impose at Boeing's request.

[1] https://news.delta.com/tags/bombardier-cs100

[2] https://www.bloomberg.com/news/articles/2020-02-18/mexico-s-...
@rowan

Won’t let me respond to you directly, but I haven’t failed to note that. I’ve never seen someone say anything positive about the reliability of spaghetti code.
You last point is not necessarily a description of gravity, but a description of the models we use to reason about it.
Pezy SC was kicking around top500 for a while, Sony domminates imaging sensors, likewise for sending niche medical and electrical stuff.
Interesting, don't see that listed on https://hey.com/pricing/. Where are those policies listed?
Ask HN: Is there a difference between malloc/free and a gc
It looks like when you're using malloc/free, you're relying on the gc provided by the operating system. How do we know that this gc is better than the ones provided by runtimes(lower level?) that does gc only when the programmer asks it to?

Although that might expose the programs to some exploits (give input that delays gc until OOM) .
I dunno about the sigh, but you're spot on with the desert. :)

https://www.youtube.com/watch?v=z1jsrOqlGSk
I don’t think so.

Frontend is knee deep in the process of creating cargo cult devs en masse, and I’m depressed by all of this.
Judging by the other comments ("Finally! Something to retrieve a socket wrench from all the way across the room!"), my view that this robot is utterly useless is indeed an unpopular opinion. This is HN and people love the "oh look this is so tech" kind of story. The whole startup scene is about it. I'm not seeing a ton of other people who said the same thing prior to my comment, but to placate you I edited my comment to remove the "unpopular" part. I would ask that you reply to what I say, rather than the specific wording. If I may point it out, your comment critiqued my choice of words while totally ignoring the point I stated.

The argument is: these things are useless in the real world.

This argument is falsifiable: come up with a use case for this robot that is real-world reasonable given the price point and other practical considerations.

If BD is charging $75k for a product that has been in development im one form or another for 10+ years, it seems reasonable that the burden is on BD to prove it's a useful product.

Judging by the history of the product, it seems clear that it's a novelty item. The DoD turned its back on the very loud BigDog, and Google handed BD off to Softbank when they weren't able to answer the question, "so, how do we make money from selling this robot to consumers?"

You can buy three Ford pickup trucks, brand spanking new, for the price of one of these robots.

Boston Dynamics isn't exactly a company that makes products. They are a bunch of researchers who turn money into technology. That technology may involve impressive robotic motion, but not every impressive thing is useful to consumers.

There's a very strong sense among many robotics weenies at MIT that, if you make cool stuff, the DoD or some major corporation will eventually reward you with money that allows you to make more cool stuff. That sense is embodied by Boston Dynamics, in my mind. It doesn't translate to a useful product, whether intended for the consumer, commercial applications, or heavy industry.

And the dangerous bit is that this engineering philosophy of "find someone who will pay us to keep making cool useless stuff" only serves to create tools for the over-funded, which in our society means militaries, police, and other anti-human actors. So the most likely use of this product, if there is any use at all, is a destructive and anti-people application. But I don't think it's very useful even for those purposes, because of price, fragility, need to recharge, light payload, etc.

Be honest. Can you think of any specific application where this product is better than something else (including human labor) that can be bought for $75k?
This is so cool. I just loaded up the Seattle one to get a feel for the city pre-COVID.
Trend: Progressive tax States losing people and their incomes
10 years ago - The Gulag Archipelago (Abridged) or One Day in the Life of Ivan Denisovich : Solzhenitsyn

20 years ago - Meditations : Marcus Aurelius

30 years ago - Zen Flesh Zen Bones : Paul Reps

Any time: Anything by: Robert Sapolsky, John Gottman, Early Jonathan Lethem novels, Peter Clines, Margaret Atwood
How is the consumer harmed? If Apple’s “walled garden” was harming consumers we should see lower prices for Android apps.
Tech shops keep asking for more and more, beneath the ever-widening "full stack" moniker, and we developers do our best to oblige them. But, clearly, critical decisions are being made (or not) by people who are inexperienced yet afraid to ask for help. Maybe it's time to hire more "I-shaped" developers, rather than an org full of shaky generalists.
Funny how they claim to demonetize things that promote discrimination based on race but won't do so if said thing is left leaning.

Where is the demonetization of Ivy league universities that literally punish Asian applicants and give bonuses to Black ones?
And all the institutions that have so called positive discrimination recruitment rules?

They're liars and propaganda actors themselves
And the list is seriously long, too: https://github.com/ytdl-org/youtube-dl/tree/master/youtube_d...
I understand the convenience of USD have a lot of momentum behind it, but if Venezuelans haven't been using Bitcoin before, maybe they should now?

At least that system isn't actively trying to shut people out.
right tool for the right job.

I wouldn't want to spend that time one a one off script I only expect to run a few times.

I also wouldn't want to spend that time only to find that my assumptions were wrong or the requirements changed and I have to throw it all away for a new class puzzle.
My first job out of school was doing product verification for the cameras that were used in those Cisco systems! It was pretty impressive, I think they managed to squeeze 1080p at 60fps over USB2. Had a lot of fun building jigs and testing setups to test the MTBF on a tight time frame
I'm sorry but this censoring argument is getting more and more detached from reality. So now not letting ads run on a website (mind you the advertisers themselves have strong opinions on where they want their ads to run) is censoring?
> In practice I think there’s a significant difference between the restrictions on smartphone software vs entertainment system software

Such as?
I’ve been using Geany for very long time as my go to casual editor for any type of text. I can install on all my platforms, all my OS, it’s fast and doesn’t gag on huge log files. Same experience in all platforms which is why it’s one of first installed tools. I’m not a prof dev but at home on macOS, pi, beagle, arduino, Win10 the sheer time saving of having something work same across platforms for projects I get to only when work, family, time allows makes it a winner.

When in full on coding mode I prefer vi, rest of the time use Geany. Have tried regularly most other IDEs and text editors and none as fast, reliable, easy to install and use as Geany.

It’s perfect for me. YMMV.
The ignorance about the reasons for those steps and the way they count feels disingenuous to me.

Examples:

At the end of the installation of both pieces of software, you did not accomplish the same things. Complications of ST (device id's for example) are presented as good solutions to a problem, glossing over the fact that the others wouldn't need them or they were counted towards the setup.
That doesn't make it any less outrageous!
Many of us were outraged a decade ago. And we were told "you're being paranoid, this is only for phones", when it was obvious that mobile computing was going to take over almost everything.
you can see for yourself: https://www.youtube.com/watch?v=UCeYTysLyGI
Advertisers have always chosen where they want their ads to be seen, and what types of content they don't want to be associated with. That's censorship, now?
They've already reduced cold starts significantly [0] for Lambas in a VPC, I can't see them tossing all that good work for this.

[0] - https://aws.amazon.com/blogs/compute/announcing-improved-vpc...
The following line in golang ignores the error:

fmt.Println("foo")

Compare to a language with exception handling where an exception will get thrown and bubbles up the stack until it either hits a handler, or crashes the program with a stack trace.

And I was referring to accidental ignoring. I've seen variations of the following several times now:

res, err := foo("foo")
if err != nil { ... }
if res != nil { ... }
res, err = foo("bar")
if res != nil { ... }
I think it's not that complicated, it's the Fight Club argument. Apple's carve-outs for certain companies are likely calibrated such that those companies have some revenue X that they would lose if they paid the tax, some legal cost Y to mount a challenge, and there's some likelihood of wining on the merits P.

If Apple dropped the exception, the expected value of winning a lawsuit is P * X, so as long as P * X << Y, it's unlikely they'll be sued.

For companies like Microsoft, Netflix, Spotify, and others, the amount they would lose in revenue to Apple's tax is likely much more than the cost of mounting a formidable legal challenge to Apple's practices. Apple would like to protect those practices, so its in their best interest to carve out exceptions - no matter how absurd - to companies that are large enough and could make a claim of anticompetitive practices. Apple's tax applies to me, but not for thee (richest companies in the world).
They will never censor leftwing sites that are clearly anti-Semitic. It is terrible.
> Doesn't the "POC" term promote the idea that "people of color" have some sort of shared interests?

Think highlight rather than promote.
Think shared experience rather than shared interest.
No, not identical experience, but think overlapping parts of a venn diagram. A relevant example in that overlap, assumed criminality, is mentioned in the very comment you are replying to.

And sure, it's probably very Western-centric and doesn't encapsulate the complicated relations amongst many different races, nationalities, and ethnicities. Not sure why one would expect a single phrase to accomplish such.

> I think the term BIPOC is potentially problematic in that it presents African-American and Native American interests as being more aligned than maybe they actually are.

Do you have a similar issue with the LGBT framing?
Boston Dynamics's Spot robot commercial
I read this book. He fooled people both black and white.

FWIW, I think reading it would help some people understand.
> labeling every data update in a transaction with a marker that identifies the nested transaction.

> upon ROLLBACK, mark the corresponding nested transaction marker as "to be ignored"

> upon any read of the data, skip over any data updates with a (nested) transaction marker known to be ignored.

Seems like a good trick. They go on to explain the main performance issue, which seems to be about traversing the ignore list. For long queries a longer ignore list adds constant time overhead to each operation in the transaction.

> The expense in this approach is the extra work performed by data reads when there has been at least one ROLLBACK prior. ROLLBACKs add markers to an “ignore list” and cause it to grow, and the performance of each subsequent read operation is slightly slowed down by the increasing ignore list.

It would be interesting to get a list of various databases and how they handle transaction logic for rollback operations. If this list also had examples of how the logic plays out in a concrete example then it would be a really useful resource. Engineers could use this list to figure out if their use cases and performance requirements were compatible with their chosen level of transaction isolation properties.
Yes, exactly. There's no need for a hypervisor to simply isolate one set of services and/or a sandbox for testing, a jail is a simpler solution.
How normie minimalism and farmhouse chic took over contemporary design
It looks like after this post, he started working at Salesforce: https://www.linkedin.com/in/femi-agbabiaka-5b5984108/
It's highly misleading to state that one will not miss "simple System V init" from FreeBSD, because it is a falsehood by implication.

One of the things that characterizes the BSDs is that they never had AT&T System 5 init, nor the van Smoorenburg clone thereof for Minix+Linux. It's one of the things that the BSD side of the universe resisted from the AT&T side of the universe back in the 1980s. FreeBSD has BSD init, a rather different beast to AT&T init, and Mewburn rc, which is very different to van Smoorenburg rc (although the post-2014 revisions on Debian make van Smoorenburg rc come closer) on Linux.

And it's equally misleading to talk about liking your dæmons restarting themselves, because that's untrue too. systemd is the very third party monitor, externally monitoring and restarting the dæmon programs so that they do not have to restart themselves, that you claim to want to do without.
The Civil War was not about racism, it was about the South demanding that new states be slave states, which threatened the balance of power between the North and South. Lincoln literally only freed the slaves because he believed if would help preserve the Union. In his own words:

If I could save the Union without freeing any slave I would do it, and if I could save it by freeing all the slaves I would do it; and if I could save it by freeing some and leaving others alone I would also do that. What I do about slavery, and the colored race, I do because I believe it helps to save the Union...

Lincoln freed the slaves because it was expedient to do so. But it was a great act and certainly the right thing to do.

You were taught to be cognizant of racism because our country was a racial caste system for hundreds of years. Moreover, Jim Crow was less than a lifetime ago, racial redlining was legal as recently as the 1970's, and the crack-cocaine sentencing disparity existed as recently as 2010. Race is at the center of America because America put it at its center, time and time again.
> The economy was hijacked

So, a conspiracy? I bet hundreds of people met in secret at least once in the past few months, and decided it would have been really lucrative to stage this farce. Well played! And nobody will ever know.

Sarcasm or jokes apart... Who, tell me who would have had the power and the drive to set this up?
I see a future where aerial drones pair with quadroped and wheeled variants to do many of the jobs people now do; mostly repetitive jobs involving moving objects from A to B and stacking them. If a drone can do that, it should.

That being said, with the right financing, you might not need to hire (as many) employees now that general purpose products like this are on the market.

People should be freed up to do tasks that require decision making which is not yet automated. Tasks that can be automated should be. Human time should be worth more than money.
I've been in infosec since the 90's. A lot of times I think this is on us. As much as I respect the technical acumen and creativity of my colleagues in the industry, I don't think we broadly understand risk that well and as a consequence we do a pretty bad job of communicating it. We tend to peg the panic meter with multiplied likelihoods and catastrophized impacts of possible scenarios while directly causing revenue losses by adding sometimes insane amounts of friction to the product delivery process.

That's not to say there aren't cowboy CxOs recklessly ignoring reality, but accepting risks is part of the job. The real answer generally lies somewhere in the middle of the two extremes.
Yes, because there is no legal ground from which Snapchat can sue on this issue. And what are they going to threaten with? Pulling their app from the Apple App store only to hurt their own business?

Apps like Facebook, Netflix, and Snapchat are going to be on a first-name basis with their peers at Apple/Google and are going to have relationships and cards to pull that most others do not. Same is true for any b2b relationship, whether it's auto manufacturers/dealers or advertisers/publishers. Big customers get perks.
That is obscene, and it's criminal, and I will spend
every dollar that we have or ever make to burn this down
until we get to somewhere better.
- DHH

Was this an intended reference to the Steve Jobs quote of a similar tune directed at Android?
Well, Apple also benefited from those apps being there, it is not like only the app developers benefited. The biggest complaint against Windows Phone used to be the app ecosystem and eventually that's what killed it as well.

Phone market being essentially a duopoly, I don't want a independent service developer to be financially disadvantaged to compete and eventually the platforms owning all the big money making services.
the point of this app has completely sailed over your head. less space than a nomad.
Just supporting this since I was going to share it too but searched and found yours first. It is related to ADHD but I think applies to everyone to some degree.

The part about conflating emotion and time (in the follow up) really gets to me. How he says mowing the lawn is "an all day project" simply because it's been built up to feel that way.
If you want a truly spam and effort-free email, use Boxbe [0]. I receive thousands of emails a day. I've paid to use SaneBox, but then it was losing important emails and I still ahd to go thrue all emails. Honestly, Hey deceives people a little - in the beginning, their mailboxes will appear clean simply because it's a new email account. But will time and autogenerated senders, Hey will drown in email just like any other service.

[0]: https://www.boxbe.com/
No, that's not debatable.

I was specifically talking about gaming, and mentioned in all my comments specifically what performance category I'm talking about when making performance claims.
If travel has taught me one thing is that singular measures of wealth such as GDP have very little correspondence to what is actually going in a nation's development, and points out the folly in chasing profit as many people's idea of career and lifestyle progress.
Oh yeah, you're right. Hah! Sorry. It is part of my identity, which is problematic, but that's my sh*t I've been working on (for years...)
Bummer, man. Did you ever find any way to control the outcome, even if partially?
I'm with you 100%. I thought censorship meant "not allowing you to speak". I guess now it means "not actively helping you profit from your speech".
Name calling is not "just expressing an opinion".
Man ... I remember when HN wasn't filled with crackpots. Sigh.
I see this argument repeated many times, X is bad so we must never do X. Any company that does X is bad no matter what. This completely ignores the other side of the story. What is the consequence of not doing X? Censorship is incredibly dangerous tool, but that does not mean it must never be used. At some point the cost of inaction is too high. In this case not taking action could be construed as Google enabling systemic racism.

Of course the above is simplistic. For one I don't know if alternative action existed that would not set a precedent of censorship.
> I spent more time playing type system golf trying to come up with the optimal type for whatever usecase. In Go I might just "do the work", but in Rust I've turned 5 minute functions into 30 minute api design thought exercises. The jury is out if thats is a good thing or a bad thing.

I usually do stuff like this as a YAGNI exercise. Don't spend the extra 25 minutes thinking about it until you know you have 3 or so cases where you'd actually be sharing code. But at that point... the consistency you can get starts to become attractive, if you want the behavior to stay consistent in the future!
I used a good bit of Bulma prior to jumping on the Tailwind train when it released. While it was a very quick way to get a nice looking page out of the box, the design choice of aggressively over-specifying selectors[0] made it incredibly frustrating to work with, especially paired with utility classes (e.g. Tachyons).

[0]: https://github.com/jgthms/bulma/issues/2292
A lot of FM radios produce noise when scanning between stations.
It was a common criticism but I don't think it was a majority criticism. Hacker News is not representative of the internet at large, and the idea that Go doesn't need or might not even benefit from generics is still pervasive. (See the first person to reply to you.)
Maybe jaaa[0] and japa[1] are worth a look (from Fons Adriaensen's suite of audio tools[2])

0: https://kokkinizita.linuxaudio.org/linuxaudio/jaaa-pict.html

1: https://kokkinizita.linuxaudio.org/linuxaudio/japa-pict.html

2: https://kokkinizita.linuxaudio.org/linuxaudio/index.html
Nobody called the paranoid amnesiac racist. He made up someone accusing him of racism, and you're now accusing the imaginary accuser of racism. (The paranoid amnesiac is also a made-up figure)

Everyone just hang out more with people "different" from you and recognize we're all part of the human race.
It's definitely going to make it a lot easier than it is now. It's really not bad working with external libraries in Vue. I imagine the way that Bootstrap does it's Javascript will leave you doing a lot inside of Vue's lifecycle hooks (beforeMount, mount, etc).