skysight-inc/HackerNews huggingface dataset:
OP here.

I've recently departed Amazon to pursue building my own ideas. I decided to share some of my learnings as I go via substack - here's my first article :)

I am very keen to hear any thoughts or feedback you may have!

Cheers,
MS
When I was getting started I think I adapted one from Nolo, and that was fine for my needs. You could ask them (the client) to supply one and adjust it as you like.
Have you tried changing the cable/adapter out? USB4/Thunderbolt is an incredibly complex protocol now and cables are now active with built in microprocessors sometimes even running full OSes inside the cable. It's possible that could be the cause. You didn't mention what type of monitor connection you're using.
I always recommend women capitalize on this as soon as they can as eventually the novelty will wear off and payouts will come back to earth. It’s already happening in certain niches.
I use Docker (preview) on my M1 everyday for work and it's great. You can run `aarm64` containers natively, or you can emulate, for example, with `--platform linux/amd64`.

I'm guessing you're running into issues with C dependencies. You can go also go full Rosetta: create an alias to your terminal, right-click enable "Run in Rosetta", open it, then everything you run from this terminal will also be Rosetta (amd64), and you run Rosetta homebrew, node, etc. You can confirm what is running under Rosetta in Activity Monitor.

I've recently switched my default homebrew from Rosetta (/usr/local) to native (/opt), by switching my PATHs around since I was mostly waiting for go1.16 to arrive.
Or a drum (technically a magazine of course but certainly not what "ships" with new firearms, not what most picture when they hear magazine).
The difficulty here is "define n". And I don't mean that facetiously. You have a string parsing lib. It is, for reasons, quadratic over the number of strings parsed, and linear per string.

This is overall n^3, but that's meaningless because there actually isn't just one n. So, more m^2 * n. That means you can't reduce it to anything, because you want to keep both components. (Because, say, you know it will only ever be called with a single string).

But then, in the next app, this gets called and reinitialized once per file. And the routine handling files, for reasons beyond our ken, is (n lg n). We're now at k * log(k) * m^2 * n.

And so, over any sufficiently long call chain, "what is n" is the overriding question - string length, number of strings, number of files? Not "how complex is the algorithm", because you want to optimize for what's relevant to your use case.
I don't find it that surprising because there's a huge lack of awareness in the industry when it comes to profiling tools. Quite often I've seen people trying to speed up programs without once profiling to see where the problem is. More than once I've seen the supposed solution (usually caching or distributing in my line of work) actually slow things down. At times it can be almost impossible to get permission to "waste" time on performance profiling because it's not fixing bugs or adding features.

I kind of expected more from game developers, but I doubt the guys shaving micro second off tight game loops are the same ones writing the asset loading code.

Devs should follow carpentry rules for this: measure twice, cut once.
I read the diff. No satire detected. First paragraph is literally true.
and? I fail to see the relevance.

Trump wasn't telling people to plant pipe bombs, at any stage, ever. It was organised and orchestrated solely by his supporters, in the same way that this 4th of March inauguration thing was invented and potentially to be orchestrated purely by his supporters.

That doesn't make it any less wrong.
From my experience creating loaders for 3D formats (FBX, glTF, LWO) it's not loading the file that takes a long time, it's parsing the data in the file and converting it to a suitable format for rendering in OpenGL. In practice, most people use the terms "parsing" and "loading" interchangeably, or "loading" means "reading + parsing file".

There can be a lot of processing involved (looking at you FBX) or less (glTF, probably STL) but there's still going to be at least decompressing the binary data and copying it into buffers then uploading those to the GPU. So, without knowing how STL binary is specified, parsing 97mb in 165ms seems reasonable.
>It’s crazy to me that people take massive salaries and expect other people to spoon feed their tasks to them.

I remember being one of two software engineers working on a project in a small company. We were cooperating with two bigger companies delivering other parts of the system.

I kept asking myself: "These guys have hundreds of well paid engineers working on this, and they never deliver! Are they sabotaging the project?".

In the end we delivered the finished prototype and the customer ran a 48h acceptance test, their parts fizzled out almost immediately, while ours just kept running.

It took me a few years and joining a bigger company to notice that thinking about what you're doing is not expected in bigger corporations, where everything is bureaucratized. Also if the company is big enough it can shift the deadlines set by its customers. It drove me near madness whenever a colleague said something "wasn't their job". I never heard such an attitude before, and these people were paid twice as much as in my previous company.

I still, to this day, hope that a lot of these people get replaced by computers. Defective programs can at least be improved.
Hey, Matt, neat to see you here and congrats on making the front page!
Recognize you from the Formlabs forums & conferences.

Love that notion of professional empathy underscoring your message in the blog post.
Get the factors out
There's this bias where games that are extremely addicting but that appeal to intelligence (like say Factorio), the perceived most important trait in our society currently, are OK, whereas games that are addicting and appeal to other traits, like the ability to do the same thing over and over (any game with grinding), are morally wrong. Both types of appeal are manipulative in the same way, but one is cast as morally wrong because it doesn't appeal to what the elites in our society (such as you, dear HN reader) value.

The rant about mobile games and capitalism is simply a reflection of this bias which is a particular view of society, but is not the only one and certainly not one shared by everyone. If you don't share that view it just seems like the person who wrote it is naive and doesn't have appreciation for personalities and perspectives other than his own.

Which is fine, people are different, and engines are written by peculiar people, but if I were to write something similar in another direction people likely wouldn't take it as a joke. For instance:

>Because the world today is not the world of yesterday. A clerical
oligarchy runs the world and forces us to trust the science in order to keep the
gears of this rotten society on track. As such, we're supposed to believe anything the clerics say,
and just like they tell us to wear masks, they tell us that the biggest and best model for game engines today
is ECS. It is a model of confused souls forced to architect their games in a particular way to escape the reality that they're just code monkeys gluing ugly code together instead of building a beautiful castle out of lego pieces like they want to believe. And this serves our ruling class, the clerics, as they infect and infest and ever larger portion of game development thought with their rotten ideology. Here at Godot HQ we have none of it, and just like we don't trust the science and we don't wear masks, we also don't use ECS.

Now is this an appropriate joke for an engine's documentation? It's not too far off from the original, just with changed content to suit the changed direction of the joke.
It comes up quite often if you sort by new or comments. The mods here are very on top of it.
The next article is “expert says IoT devices safe because they barely work anyway”

https://www.theolognion.com/expert-says-iot-and-smart-home-d...
In 2п, п can be though of as added to itself; on the other hand, it is not immediately obvious how to think about 2 being added to itself п times.
Exactly this. Theft is bad, but it is disproportionate to subject employees to this kind of indignity (and even worse to fight being asked to pay them for the time they spend waiting for it) to avert the risk of petty theft.

As with any claims of disproportion, one might disagree with the relative weighing. I assume we all agree that it would be unjustified for, eg., ordinary offices to cavity search every employee to make sure they aren't sneaking out company post-its. I assume we also all agree that it is justified for the CIA to search people when they come out of a SCIF. My only claim was that in the in between range, Apple store employee searches are less justifiable than TSA, because stealing an iPhone is lots lots lots lots less bad than terrorism (albeit obviously much more likely).
Tweet is down. What’s the reason, LiaSae?
The "closed-form solution" is slower than standard method. It just uses arbitrary-precision fractional arithmetic (square root, exponentiation, division) instead of arbitrary-precision integer arithmetic (exponentiation of a 2x2 integer matrix).
What kind of numbers do other PCs achieve in this benchmark?
An Original Banksy Has Been Burned and Turned into an NFT
Given everyone's interest in the topic, can I also share something I wrote under "accidentally quadratic"? I think people might enjoy reading it: https://news.ycombinator.com/item?id=26337913

It turns out that multi-pass algorithms in general can be quite susceptible to this issue, and it can be far from obvious in general.
I did and I did. I still raise goats and run a business selling soap made from their milk, but I also work remotely as a SWE. We never wanted to do it full time, but I did get to take a bit over a year off before going back.

I have absolutely loved the change. I spend my day alternating between coding and farm tasks. It's a great balance to my day.
what the heck with dr seuss? get your culture war BS outta here.
I think more specifically it's the genre of game. I think the 2 genres that are female dominated last time I've heard are match 3 (think bejeweled) and life/farm sims like the sims. I'm not sure if stardew valley and animal crossing are female dominated or not, but I guess it would be since I think that is the same genre.
To be cynical about this: why do you expect it will increasingly be women capitalizing on women’s interests in new media (i.e. producing content with the aim of amassing a large female following), rather than men?

After all, this was never the case in old media; the investors/producers, directors/editors, writers, etc. of most women’s magazines, TV shows, etc. are mostly men.

Why wouldn’t the boy’s club carry on?
The point of forward secrecy is that past key are not recoverable from future communications. You need to store the whole communication history to have any chance.
> From the AAA producers: >50% of lifetime revenue for a game is made in the first 3-6 months after release. During that time, they sit and wait in dread for "Crack Day". The exact day the DRM crack is released, revenue permanently drops hard.

I'd like to read more about this. How much revenue is actually lost? Is there a proof that this revenue would have continued coming in? If so, what is the estimated percentage of that revenue compared to all-time revenue?

I am leaning on the side of "piracy doesn't matter, pirates were never going to buy anyway" but there is a nuance. It's the same as torrenting movies as opposed to subscribing to a streaming service. If the streaming service is VERY convenient and affordable, torrenting drops. Recently it started increasing again because streaming services fragmented the market a lot and everybody wants you to subscribe to their service while realistically people want ONE entry point from which they can search and watch for anything and everything.

To me the keyword is: convenience.

If piracy is convenient and easy then yes, I'll agree with you that a real revenue will be lost. I am sure of it.

But if piracy requires people to go through a bit more hoops than they wanted then I am very sure they won't bother. Seen it happen before my eyes years ago.

But IMO it's really important to answer my questions above because without their answers the "we lose revenue on the day our product's DRM is broken" proposition remains mostly a theory. Still, I am willing to have my mind changed by looking at data. Do you have any links?

(Another, albeit unrelated, example is that many people held off their Cyberpunk 2077 buy because they wanted CDPR to fix the most egregious bugs first -- and some people shared on gaming forums they won't pirate CP2077 because they are afraid the pirated version will be buggier than the retail one.)
Sure the creators are women, but the trend which is rising regarding the games is about games targeting female audiences. Which is quite the opposite of advertisers preferring female creators, which is not taking into account the target audience.
Another similar recommendation is the movie Moon.
I'm sure you've defined "Brave Ads" such that this is technically true, but calling your approach to ads "opt-in" is terribly misleading. Last time I opened Brave, I was immediately greeted by a full page ad on the new tab page. [1] To be clear, I have never opted in to seeing any ads in Brave.

If you haven't been roasted by your users over this, I suppose that's informative about who the users are.

The Brave FAQ also says

> Are all ads blocked or can users allow some or all? Tracking scripts (trackers) and ads that depend on them are blocked by default.

So this implies that Brave does not even block all ads by default now? If you go back to 2019 [2] the same line in the FAQ says "Ads and trackers are blocked by default".

[1] https://cloudflare-ipfs.com/ipfs/Qme89K2feqd7pYvUHetXPCJ7yrY...

[2] https://web.archive.org/web/20190607005611/https://brave.com...
As always, dang, thank you again for your wonderful moderation.
Sorry that is such a bullshit statement.
For the largest banks that's true, but there are many smaller banks e.g. IKANO Bank (owned by the IKEA family) is 0.4% https://ikanobank.se/spara, and there are many more https://www.compricer.se/sparande/
I see you're acquainted with the gish gallop.
The raid on TPB was in 2006. The conviction was in 2009, the sentencing in 2010, and the sentence was served in 2014. Depending on when, exactly, in 2019 the application was submitted, it may have been just inside 10 years since the conviction.

That's not to get into whether the application should have been denied or blah blah blah, just want to throw out that shifting from when the conviction was to when the raid happened is somewhat disingenuous.
> But it would put some people in the tax department out of work

Or, not; alternatively, it would allow the IRS to be more responsive in its supportive activities and more effective in its enforcement activities.

Cutting staff is a separate decision from streamlining the rules; the IRS hasn't had staffing expanded to keep workload constant when we weren't simplifying, there is no inherent reason it would ha r to cut staff and keep workload constant if we were simplifying.
Damn h1b's just doing the needful
"Putting up" isn't proof that an RSA decryption algorithm exists, but it is proof that someone has found a way to reverse RSA either way.

The latter is much more important.
Oh for goodness sake... there were government snipers shooting dozens of people in broad daylight in Kyiv just 6 years ago.
Limited Time, Vue 3 and TypeScript Course
The police officer who died is now suspected by FBI to be linked to a particular assailant, but through bear spray not fire extinguisher:

“The F.B.I. has pinpointed an assailant in its investigation into the death of Brian D. Sicknick, a Capitol Police officer who was injured while fending off the pro-Trump mob that stormed the Capitol last month and later died, according to two law enforcement officials briefed on the inquiry.”

“The F.B.I. opened a homicide investigation into Officer Sicknick’s death soon after the Jan. 6 attack on the Capitol. Investigators initially struggled to determine what had happened as he fought assailants. They soon began to suspect his death was related to an irritant, like mace or bear spray, that he had inhaled during the riot. Both officers and rioters were armed with such irritants during the attack.”

“In a significant breakthrough in the case, investigators have now pinpointed a person seen on video of the riot who attacked several officers with bear spray, including Officer Sicknick, according to the officials. And video evidence shows that the assailant discussed attacking officers with the bear spray beforehand, one of the officials said.”

To be clear, FBI bases this on video.

While I won’t call it gaslighting, it seems disingenuous to cite an out of date wikipedia quote or “correct” someone for writing:

> ”a police officer died due to protestor actions”

Which sounds like a perfect characterization of the current FBI thinking.
Could you explain a bit more how negative sales tax is unrealistic? We already subsidize things we want to encourage.

> A system that only taxes spending fundamentally has problems in that the richer people can afford to save and invest.

That is an existing problem inherent to any tax system. It's just saying "Rich people can afford to not spend all of their money". I don't see how that's fundamental to taxing only spending.
> Have you considered not going full-on structural-typing but still providing some sort of union?

I work on Dart. The terminology gets really confusing here. "Discriminated unions" and "union types" are two quite different things, though they get a little blurry in TS.

The short answer is, yes, we're investigating pattern matching with exhaustiveness checking and making the language more graceful at expressing algebraic datatype-style code. The last half of that sentence sounds weasely because any object-oriented language can (except for exhaustiveness checking) model an algebraic datatype using subtyping. The parent comment using an abstract base class is how you do it.

So there isn't anything really fundamental that Dart can't express already. It's mostly a question of giving users syntactic sugar to make code in that style look more terse and familiar. I personally really like pattern matching and ADTs and I also particularly like multi-paradigm languages, so this is a subject close to my heart.

The language team has been pretty busy with null safety, but now that that's out the door (woo!), we can start working on the next batch of features, which with luck includes pattern matching. Here's an in-progress proposal:

https://github.com/dart-lang/language/blob/master/working/05...
787 should have been a straight forward simple twin engine jet. Yet, it had Billions of dollars in cost overruns and still has major manufacturing safety issues. https://www.fool.com/investing/2020/09/09/boeings-woes-mount...

This country built Saturn 5 rocket, 50 years ago. Landed astronauts on the moon, with moon buggy and golf clubs.

Now we can barely launch basic satellites. How is this progress?
For me, it was realizing that category theory is the mathematical language of abstraction – almost literally the "principle of least power" in math – and those abstractions often connect to programming abstractions. Even if you're not using words like "Functor" or "Monad" to describe them!

And it can be useful to think of them more abstractly than they actually are, even if you're not going to use them that way (or even talk about them that way in your code). Just making some "ridiculously abstract" connections can help provide a missing piece of architecture, even if you keep the math story to yourself (which you likely should).

So it can (potentially?) be useful to model various things in terms of what they mean "at the most abstract level", and then find ways to capture chunks of that into various architectural abstractions that make sense without category theory (kind of like a Karnaugh map, in a sense).

Sorry if that seems like a lot of "purple prose" or self-important... it really isn't. I think it's the same thing that a lot of people mean when they say "I don't use Haskell but learning it made me a better programmer." I don't use abstract algebra, but learning it made me a better programmer (those statements might even be homomorphic, depending on the Haskell involved)
Better served by the notion of cardinality of the categorical product.
They were landing on one iirc but this one did look very fiery and there was a fire started that eventually caused it to explode a while after landing.
I can't answer that question, but doing both (ie a 'hobby' farm), it's nice to be able to just afford a vet.

We went from 2 miniature dairy goats on our 400 square meters urban home, to rural after they had kids. It'd be very hard to more than 2 adult goats on a city block, noise issues.

I think the droughts and fencing and killing would be an impressive thing to do as a farmer, but not for me. I do see a market around Airbnb, I know a few hobby farmers who get far more from their Airbnb. Also WeWork would be interesting to test.
But goats are endlessly hilarious
I don't know whether its true but there's an old story of engineers a few decades ago working on the guidance system for a missile.

The programmers didn't bother to free() any of their memory - instead they just calculated the maximum amount of RAM their program could consume while the rocket was in the air, doubled it, then installed that much ram in the rockets.
You are missing a "3" at the end of the link.
Does that count as a new record, spacex flying something twice in one day?
Standard capacity magazines are routinely referred to as "high-capacity," usually by people who want to ban them.
So many times, in higher level code, it's seeing a foreach loop in a foreach loop, and the nested loop is calling an API or re-rerunning the same database call 5000 times.

Move things around or just use a cache... and instant 1000%+ speedup.

I've seen this too many times to count, often in apps and on sites that are in fairly heavy use.

The answer is often to scale up and pay for 10x more server capacity to handle the load, rather than spend some time optimizing the slow code paths.
No, a bold claim such as "a police officer died due to protestor actions" requires substantial evidence.
Do you wish to make the claim that the BBC's investigations which have reported on that activity are reporting false information? Or do you have some evidence of your own to provide? Do you have anything to add other than cheap denials of established facts?
Yes in a way they're rent seeking so this is not a bad comparison.
IMO the lack of a complexity requirement is a bug in the C standard. And really it’s a bug in the implementation(s?) too. If it can be done on O(1), shame on library authors for doing it in O(n). If you want programmers to trust library authors, don’t do this to us. Maybe std::from_chars FTW?
Yes, union types are really nice for data like that.

But, in practice, a language's type system tends to optimize for the data structures that are idiomatic in the language. TypeScript is a heavily structural type system because idiomatic JavaScript often throws together unrelated types in this way (which makes sense when you're coming from dynamic types).

In a language that is built more strongly on objects and static types, it's less common to see APIs that "return one of these, or one of these, or on Sunday one of these things". So there is relatively less use for union types.

In other words, because people express unions at runtime less frequently in Dart (and other languages like Java and C#), there's less value in supporting them statically. Still some, definitely, but I don't think it's as critical of an omission as you might expect coming from TS/JS.