skysight-inc/HackerNews huggingface dataset:
I loved the original Brood War. But The Fun™ for me was always in the macro side of things. I wanted to give units large-scale orders, and have them figure it out.

The rest of the RTS world relentlessly pursued micro, of course. And the MOBAs that came of that are fine for what they are, but what they aren't is something I personally want to play.

It always surprised me that parts of the tech research tree in any RTS didn't seem to include smarter unit behavior as part of the stack. Paying in-game resources to off-load cognitive load is an interesting loop!

Partial credit is due to Majesty, which is the only indirect-control RTS I've come across. Old game, but still fun for what it was. I liked the idea.

https://store.steampowered.com/app/25990/Majesty_Gold_HD/
Following your logic, is not taking of on a plane during a thunderstorm an "engineering smell"?
The Wayback Machine has it archived!
CVMs: What Are They?
Yeah. That’s it. I have seen method with sample data (low fidelity) and/or performed against production copies of RDS DB (high fidelity). It’s still hard to catch some migrations or other operations under workload, but you can emulate that as well to a certain point.
I find Chinese much harder for context because the lack of things like conjugations, genders, plurals, tenses, etc plus every word basically being 1-2 syllables means that there’s a lot more meaning packed in fewer sounds. In English and often in Japanese too, if you hear those auxiliary grammatical markers you can kind of piece together the parts you missed. To be fair people then compensate by slurring their speech more than your typical Chinese speaker would so maybe it balances out.
Pretty cool school project!
> The Go team has decided that the automatic refresh behavior is their responsibility, not the responsibility of other operators

I am stunned it took so much kerfuffle to get there. Why is it not the default behavior ?
Disclaimer: I am building a data platform called Blast, and part of our focus is to make SQL pipelines easier to maintain at every aspect: easier to write, easier to test, easier to ensure it is correct before they are deployed. Link in my bio if you are interested, happy to have a conversation anyway. This is a problem we have been thinking and providing solutions for quite some time.

There are a few types of tests one would like from a SQL pipeline, each with a different value add:

- Quality assurance tests: these are things like DBT tests, they mainly test the accuracy of the result after the tables are produced. Examples of this would be tests like "this column should not contain any `null` values" or "it should have only X, Y and Z values". They are valuable checks, but the matter of the fact is that there are many cases where running this sorts of tests after the data is produced is a bit too late.

- Integration tests: specify an input table and your expected output, and run your queries against it, the end result must match with the expectations at all times. This is useful for running them regularly and serve as "integration tests" for your SQL assets. They allow validating the logic inside the query, provided that the input is covering the cases that needs to be covered, they can be executed in CI/CD pipelines. We are exploring a new way of doing this with Blast CLI, effectively running a BigQuery compatible database in-memory and running tests against every asset in the pipeline locally.

- Validation tests: these tests aim to ensure that the query is syntactically correct on the production DWH, usually using tricks like `EXPLAIN` or dry-run in BigQuery. These sorts of tests would ensure that the tables/fields referenced actually exist, the types are valid, the query has no syntax errors, etc.. These are very useful for running in CI after every change, effectively allowing catching many classes of bugs.

- Sanity checks: these are similar to the quality assurance tests described above, but with a bigger focus on making sense out of the data. They range from "this table has no more rows than this other table" to business-level checks such as "the conversion rate for this week cannot be more than 20% lower compared to last week". They are executed after the data is produced as well, and they would serve as an alerting layer.

There is no silver bullet when it comes to testing SQL, because in the end what is being tested is not just the SQL query but the data asset itself, which makes things more complicated. The fact that SQL has no standardized way of testing things and the language has a lot of dialects make this harder than it could have been. In my experience, I have found the combination of the strategies above to have a very good coverage when it comes to approximating how accurate the queries are and how trustworthy the end result is, provided that a healthy mix of them is being used throughout the whole development lifecycle.
Possibly inspired by message parsing objects in Smalltalk, no?
If your app is API driven, I would create test data with the APIs, and test the queries against what that generates. APIs tend to change less often than the internal data representation, and the app developers can usually figure out how to fix the tests when they do.
This is testing the code that emits the SQL code, not the SQL code itself. Sometimes that's what you want, but it's not what OP asked for.
"wood" and "cock". Very much like "scunthorpe"

https://www.youtube.com/watch?v=uFsgPBSePVQ&t=80s
Personality types in software engineering [pdf]
Cities are not loud. Cars are loud!
Sure, but I believe it is a very small percentage of people who pirate content (which is a small fraction of people who consume content). Most people are happy to pay and not think about it. Majority of those who aren’t, pirate for the above reasons. A small percentage pirate because of other reasons.

I know someone who just wants to have copies of all movies and TV shows. He spends way more effort on keeping up his storage array and downloading things then he does enjoying the movies. But for every one of him there are 10,000 regular paying consumers. Is he worth worrying about?
Stagnant crap nobody wants?
I suggest both put basic contact info in HN profile, then can remove it later (which you can't do with a comment after certain amount of hours)
I get that you disagree, but can you explain why?
There's something to be said for The Wisdom of Crowds - an observation that given certain conditions, a crowd can make better estimates / predictions / etc than individuals.

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

One example is the consistent love for Rust, which makes me think it's probably a technology worth adopting (if it fits the project).
Sounds like an experiment worth trying. Have you?

Also, it sounds these ideas have been learned from many painful lessons?

IMO, document management's root problem can be well understood with behavioral economics: a nice library is a public good. Maintaining it is costly. More people need this to sink in.

So, with this realization, we should design accordingly, with _all_ necessary organizational and behavioral levers in place.

This is what social software means to me. ^
Did not get any logical results for "hard science fiction" "books like A Town Called Alice" and a search on "The Lightning Conductor" (sold 2 million copies in its first edition in the US) returned books on lightning and electricity.
i totally agree. same reason most people pop on Netflix at night instead of read a book
It looks like a recursion problem. Will only keep doing it until it fills up?
You are absolutely right, and yes bananas are obviously not that bad for you, but this is all to underscore the risks of a culture of eating primarily for taste preferences. The data show that a large portion of our population are completely ignorant of this.
> "Starsailor has already set a world record for being the first rocket engine developed and fired by civilians, when it was initially tested in 2021."

Say what? Obviously something got garbled between the students and the Media Relations office.

> "The team’s current goal is to make history by launching the first student-built, liquid-fuelled rocket to cross the boundary between the Earth’s atmosphere and into outer space, known as the Kármán line."

That didn't sound likely, either. And no; USC would like a word with them (2019). [1] [Edit: Ah, cute. USC had a solid rocket engine.]

Further edit: Not to belittle the team's chops. A liquid-fueled engine is a lot more difficult that a solid motor. And, the team has showed a lot of perserverence in their journey.

[1] https://www.wired.com/story/a-rocket-built-by-students-reach...
Show HN: KnifeGeek – Online Database of Pocket Knives
Hey HN! About a year ago i stumbled upon the world of swords, knives, and EDC gear. A weirdly addicting (and expensive) hobby to have.

Back then i noticed something, it was quite tedious to easily sift and search through knives based on length, steel, brand, and what not to find the knife for me. There were some great youtube channels that helped me pick out what i wanted however i had to sit through multiple 30 minute videos just to review 10-15 knives or so each.

Recently i've been having a little trouble sleeping so i decided to pickup a new passion project to work on late at night, here's KnifeGeek!

it's a completely free website where you can search, filter, and sift through an extensive knife database (over 60K+ knives) and add them to your collection or wishlist. You do need to sign in to add stuff to your wishlist or collection and after a bunch of advanced searches.

Please check it out and let me know if you think anything is missing! I'll try to flesh it out more on a daily basis if people find it cool or useful.

Planning to add in price comparison functionality and more data per knife in the next week.

PS: Images are a little shoddy, working on that.
The best comments I've seen go something like this:

# this is going to loop 4x and call foo_bar on the 4th time because when you calculate this number it needs the 4th time to calculate the difference from the sales tax. weird, I know, but the business has special rules about how taxes work in California
> had a fork of a private repo

This is the real anti-feature. You should only be able to fork a private repo using an account that is directly managed by the organization that owns the repo. That way when you revoke access to the user they automatically lose access to the fork.

It's super weird that it's common to use the same account for work and non-work stuff on GitHub (myself included).
Kapton tape is polyimide, not polyacrylamide, isn't it?
> It is, however, just silly virtue signaling, and it's exhausting to hear and read.

You should be aware that complaints about supposed virtue signaling are equally exhausting.
apparently you can use a disposable phone number to join the waitlist
Please refrain from feeding the troll.
I struggle to see how this "doesn't matter" while also agreeing with you that it's a super cool property. Especially for someone coming from an alphabetic language background.

Logograms allow you to understand (some) meaning without understanding pronunciation.

Syllabaries and alphabets allow you to understand pronunciation (to varying degrees of success depending on spelling consistency) without necessarily understanding meaning.

It's all tradeoffs.

These days I read Chinese much better than Japanese, and it's definitely fun that I can look at a page full of Japanese and understand the meaning of many words just from knowing the (largely parallel) meaning of the kanji / Hanzi from Chinese.

Conversely, I can read (the sounds of) Hangul, but I rightly know about 20 Korean words, so it's all just sounds to me.

But I can read the name off of a Korean hotel sign and communicate it to a Korean taxi driver. I can't do the same in Japan if I don't know the pronunciation, even if I know exactly what the sign means. If it affects your ability to use the language effectively to achieve what you want then I think it matters.
FYI: vtwm is a terrific virtual twm, and I still use it daily as my wm for linux w/ X windows. http://www.vtwm.org/
Financial success while ignoring externalities? Is the amount of pollution created as a byproduct of using all the electricity not in the calculation?

Being surprised that there is a pushback against such a technology seems inappropriate or foolish.
> Why must that documentation go inline with the code?

Discoverability and context would not be nearly as useful, to start. Why you need to ask the question, as if there is no suitable answer, is suspect of a thoughtless conclusion.

In the late 80s, there was an idea floated that every file could have a sister file with comments, such that they would not need to be parsed/discarded by a parser. This would aid in generating documentation, among other tooling. When I was starting out, I expected this to take hold, but it never did.

> There are so many better ways to document design and implementation decisions that don't involve embedding English into source code files

I don't think that's been demonstrated.
Does the presence of conditional expressions mean that the language which permits them is necessarily not declarative?
Thank you. This was the counter-citation I could not be bothered to produce.
You can do it without trailing arrays, by stacking the structures after one and other:

MyStructA a;
MyStructB b;

a = malloc((sizeof a) + (sizeof b));
b = (MyStructB *)&a[1];

You need to make sure that the second struct doesn't have stricter alignment requirements than the one preceding it, but using this technique you can stack any number of structures or arrays of structures in one allocation.

(I would generally not recommend this coding style unless you have very specific requirements of memory usage)
Yeah what happened to terrestrial radio is a prime example of PEGs utterly obliterating everything they touch. iHeartMedia and Cumulus Media, two of the remaining conglomerates, are billions and billions in debt. I don't know how they still function
/This may be the last generation of kids where most are good at doing it on their own./

Ironically, students almost all suck at writing...
Munich:
https://www.google.com/maps/@48.1074216,11.5821497,9196m/dat...
"Planned work" could mean it's sitting on an issue tracker somewhere, perpetually getting pushed back, because it's low priority and/or because someone actively doesn't want it to happen.
Maybe a refactor is in order.
If compliance affects any user-facing property of the product, then they are, by definition.

Onboarding users/partners would be easier without making them read/click all those consent checkboxes, etc.
We test it implicitly with integration tests across the API for the most part. We occasionally have unit tests (in C#) that directly call stored procs.

The backbone for this is that we spin up a DB per unit test, so we don't have to worry about shared state.
Seem like it would be fairly trivial to make a document writer that measured if a human was doing the typing such that it was much more likely to have been written by a human sitting and thinking at a keyboard. We do it in ad fraud detection all the time at scale with much less willing participants.
https://en.wikipedia.org/wiki/Yellow_journalism

In other words, clickbait images from clickbait ad networks.
>The thing is though, humans don't actually read alphabetic orthographies by the individual letters, but rather by the overall shape of the word. THAT'S WHY ALL CAPS TEXT TAKES YOU SO MUCH LONGER TO READ (letters lose their unique shapes). And taht's why yuo are gnaelrely stlil albe to udnersnatd tihs txet dispete me scrambling the central letters.

This is pretty cool
Helped in huge part by their loose attitude towards intellectual property restrictions. Look at how much innovation occurred in FDM 3D printers after the patents expired. Before then, printers cost $25k and they shipped less than 1k per year. Ten years after the patents expired and they were available for as low as $250 and shipping in the many thousands of units per months.

Just imaging the compounding effects on growth if all of your high cost items dropped in price by 100x, with way more options available to choose from and cheap parts available with two day shipping. Think of how much easier it is to learn mechanical engineering and build prototypes thanks to 3D printers. And then consider that when 3D printers were first invented both IBM and Stratasys had patents - meaning the ideas were understood by multiple parties and would likely have been created without patent protection.

IP restrictions slow down innovation like molasses.
Exactly. When the article mentioned that it curates content from popular sites like the NYT my eyes rolled to the back of my head. The last thing I would ever want is to read yet another article from the NYT. They (and hundreds of other similar sites) don’t need boosting, curation, or even more distribution.
The output of this can presumably be integrated into the objective of the next AI to help it to be less detectable.
Pop_OS! is a great fork of Ubuntu that unfortunately messed up my suspend and made my cooler run on max because the GPU was somehow always active.
Houston also had minimum parking requirements. Also, TXDOT literally built highways through the city. It's not JUST zoning, but zoning is a large part of it. Houston does have way lower housing costs than other places though.
I agree with everything said.

But I need to point out: The code sample is just hilarious!

Typical C code… Not even correctly indented. ;-)

I will never get those people creating all this write only code.

The C hackers seem to even think chars in symbols are scarce, so they still name them like `c`, `d`, `s`, `pp`, `me`, `mv`, `qpel`, `fx`, `bx`, etc.

Paired with zero abstraction (because C is not much more than a macro assembler) this creates the most horrible code I can imagine.
I'm willing to go out of my way to use a different word if it makes people feel better (the root of the master -> main transition). But this is the rare case where it benefits me by having to type two less characters whenever I refer to the branch! main is truly a win/win.
That's like saying everybody in a product company is a product person. No, it really doesn't work that way, at least not in general.
Let's just hope this doesn't happen...
Show HN: Klondike solitaire TUI, made with bubbletea
The Computer That Will Change Everything – Chicago Magazine
Sure but now you're going to transpose strokes, I bet.
> Btw, 102 incidents within a week. Whoa! That's a lot. Wouldn't want to work there.

I might be wrong but I'm pretty sure that's every incident they've ever documented, grouped by day, as opposed to the data from last week

Their status page seems to suggest ~99.97% uptime (about 3h/year down) recently
Unfortunately I have seen that past success is not a measure of future success when it comes to consumer driven networks. So I am willing to bet a farm that this will be hyped by the tech community who are their friends but then it will slowly fizzle out.
Sure, but I don't think anyone would call this a useful comment - it's exactly the kind of comment which should be avoided.

Comments don't need to describe what the code does, but if there's an unexplicable line which handles an obscure edge case you better add a comment or even you won't remember why that line exists 3 months later.
I've heard this, I have a friend whose father was in the auto industry all his life, owned a body shop so they would constantly have a bunch of cars in various stages of disassembly in their shop. He was adamant about not leaving batteries on the concrete floor. There might be something to it.
I mostly agree with your sentiment, but I think the article is pointing out something different than "we were wrong about Covid". For example, this paragraph:

"Most of us did not speak up in support of alternative views, and many of us tried to suppress them. When strong scientific voices like world-renowned Stanford professors John Ioannidis, Jay Bhattacharya, and Scott Atlas, or University of California San Francisco professors Vinay Prasad and Monica Gandhi, sounded the alarm on behalf of vulnerable communities, they faced severe censure by relentless mobs of critics and detractors in the scientific community—often not on the basis of fact but solely on the basis of differences in scientific opinion."

I think that we have a real problem with a large portion of the population being unwilling to listen when scientists say "we have a problem", and a large part of that problem comes from the attitudes displayed by many scientists (or those quoting them) when faced with disagreement. It was particularly problematic with Covid, because emotions ran so high, but if there is not some sort of mea culpa then we could be faced with a long-lasting rupture, where scientists are considered just one more political player, rather than an objective source of information.

When doctors make mistakes, it has been found that a simple apology by the doctor to the patient can significantly reduce the chance of lawsuits. For a similar reason, I think we would greatly benefit from starting with "we were wrong/we handled this wrong" from some prominent members of the scientific community.
Twitter is pure hell and most people only use it because they’re addicted to being online.
Detailed commit messages should document most of your coding decisions, not comments.
you need to make a fork for that, however you could add that one as a second upstream repo
Why would you have a child when you could feed an updated dataset for 9.99$ to re-train your large language model from infancy to adulthood?
But the alternative isn’t none at all. The alternative is putting them somewhere better.
Path finding is a tricky problem. I developed my own algorithm[0] for a city builder game (Metropolis 1998) I'm working on. I needed an efficient solution to finding _all_ shortest paths between two points, and after a few weeks of trudging through the mud, I ended up with a good one.

The algorithm can handle 100,000+ units path finding to their own unique destinations at 60 FPS. [edit: on a single CPU core]. The graph is processed once, and stores all possible paths (using near minimum storage)

Additionally, I can have additional preference weights in the graph so units can use paths that match their preferences.

Note: The video[0] no longer represents the look of my game, as I've moved on to isometric[1].

[0] https://www.youtube.com/watch?v=7q0l87hwmkI

[1] https://twitter.com/YesboxStudios
To mark a checkbox on some security compliance form somewhere.
> That was an MIT-licensed open source project

I wonder if perhaps they made it private before deleting it. It would make sense perhaps for GitHub to do this if the original was private and you lost access to it (though.. you should still somehow retain downstream work?) - and I can easily imagine that coming with a 'checking private status at time of delete not time of fork' bug.
And it is _still_ causing completely avoidable pain, years after people started advocating for the change. A recent example I tripped over: https://github.com/brendanhay/amazonka/issues/815#issuecomme...
Logic bugs tend to affect the feature that the offending code is meant to support -- if the feature isn't working correctly, it's probably a logic bug in the implementation, so you can look there.

Memory safety bugs, on the other hand, can have unpredictable results that are far away from the code that actually caused the problem. Usually it's possible to figure it out from clues like, "the program only crashes after I use this particular feature" but sometimes memory safety bugs can stick around for a long time without anyone figuring out why every once in a while the program crashes for unexplained reasons.

If someone submits a pull request adding some feature to a big project, then the stakes of accidentally approving a bad change are (usually) a lot less if you're only concerned with logic bugs and they only affect that feature.