skysight-inc/HackerNews huggingface dataset:
In a grand tradition of HN comments opting for a facile critique of a meta aspect of TFA, I have to say that it's difficult to take seriously a post about "optimal code style" that is presented in a bold and italicized, blocky, nigh-unreadable font (and a title-font, at that, not one meant for main text)...

[1] Edit: I opened it on my phone and it looks ok-ish, to the point that many wont understand what I meant above. Well, here's how it looks on Chrome/macOS desktop: https://imgur.com/a/YqycyNc - Damn, it's also justified, to add insult to injury (since the web, as fellow commenter
CharlesW below says, just does crude unreadable justification).
The problem I have with these funding platforms is how much of a percentage they take. TwitchAlerts, which was at the time, the best way to support Twitch streamers only took 1%. OpenCollective takes a whopping 10%. That seems a bit excessive.
Great to hear! It runs on your CI currently, you can run the test-runner in your favorite CI (circle, travis, etc). And it uses that as a trigger. You have to start your server locally in the CI and it will take over from there running your tests.

We're adding the option to run periodically or trigger builds without an existing CI soon!
The bank effect and the big boat blocking the Suez
Seems to be quite a bit of early internet nostalgia floating through the noosphere. I happened to catch a bit of the House testimony of tech execs today during lunch, and it certainly feels that the winds are shifting.

In this vein, I can also recommend this Bloomberg series on the History of Napster. Kind of amazing how stubborn music industry execs and politicians can remain 20 years on. How prescient Steve Jobs was, yet again. And whether the days when a solitary coder in a dorm room could still disrupt an entire industry will be much more insurmountable ;)

https://www.youtube.com/watch?v=OHVRItc38-c
In reality it's not the person that values it the most, but the person willing to pay the most money. That's not the same even if we ignore the ability to afford something, because the marginal value of money isn't constant: To a millionaire $80 is much less than for someone earning minimum wage.
The real game starts when people run infinite while/for loops that try to check out one as soon as it's available. Or run useless operations within the licensed software just so that that the license doesn't expire and return to the pool. I'm guilty of both, sadly. In an academic environment, additional resources aren't going to fall from the sky.
There's also Expensify's wrapper of sqlite, bedrockdb.com.
But at that point why not just use traditional RDMS?
also disable file compression on the 8gb file.
What's the difference, for purposes of estimating workload?
If a scarce resource is rationed and allocated according to need, some people will misrepresent their need to get more of it. This is hardly a feature of capitalism. It's a feature of centralised resource allocation.

For example, I'm thinking of a phenomenon in the Soviet Union where people would buy a rare good not because they needed it, but because they could trade it for another shortage good they could not get.

There are tons of small anecdotes about similar abuses of resource allocation. I remember reading that Red Army officers misreported casualties to receive the pay and rations of dead soldiers.
Some changes to calc.exe (and a few other open source parts) in Windows 10 over the last couple years have come from pull requests.
Fairphone 2 hits five years of updates, with some help from LineageOS
And how much salt would you need? At least 100kg per m3. Assuming the canal is 250m wide you need a 400m section dammed and average depth is 15m then you need 150 thousand tonnes of salt. Thankfully Egypt produces more than 3 million tonnes of salt per year so just a few weeks worth of production and enough to fill a large bulk carrier ship.
> Patronizing?

Random person on internet confused about why professional engineers haven't taken note of the idea they just came up with. It's either patronising or delusional - take your pick.
SINK THE FUCKING SHIP
At this scale, even air pressure would be a factor, I'd presume a higher air pressure would be more conducive as large surface area of the water than the ship, though might be wrong.
Imagine the pressures on the temporary barrier too, and what a failure would mean. Even bigger disaster.
They can cook, but they can’t be arsed to.
The reason it's inevitable is because you're not addressing a specific target audience as soon as you're doing it on the internet using your actual identity or in the presence of the media as a public figure.

Sure, you can voice pretty much any opinion you can think of in certain, even quite public settings (Bars, conferences, book signings, etc.) and it wouldn't necessarily affect your life or public opinion on your person in any significant way.

As soon as the media is present, however, or if you do it on the internet, you inevitably address everyone - including the extremists and enemies to your cause who are just waiting for a slip-up - and that's just asking for an overblown out-of-proportion response.
> What about the millions of parents of girls, who do not want transwomen (biological men) in women’s sports

What about the millions of parents of whites that don't want blacks in their children's activities?

I'm not sure why being a parent somehow makes your desire to impose your bigotry on others more worthy of deference.
This reminds me a lot of an immersive art installation I saw in Turkey 6 years ago of an imagined future where an oil tanker got stuck in the Bosphorous and permanently changed local society.

https://worldarchitecture.org/architecture-news/ccehp/strait...
I agree on the cost of claiming of the license on this specific case enables depletion of ressources for those who need it. But market mechanisms allow speculation. If you can mobilize capital quicker than others for a resource when you know it's going up, you are just pocketing the difference. Seems hard to justify as a mechanism that is beneficial to society as a whole.
Fake.Sale – Buy Knockoff NFTs
Hey, nice project, overall looks pretty useful.
I have a question, and also some feedback (from the point of view of a mostly C++ programmer, who has some knowledge of C by osmosis).

Why did you choose to use a char* typedef with a magic "header before" in the alloc, instead of just padding around the header struct? You get some marginal convenience when passing it into an api that expects a char, but it doesn't seem worth it when you consider that you won't get type warnings if you try to use a char where you expected an stx_t. (My understanding is that unlike C++, C compilers will generally allow wrong-pointer-types, but you can turn on warnings for it).

I think the stx_load function is a bit out of place, this doesn't seem like it should be a string library's responsibility. There is also the added issue that passing a char* in as a filepath is not suitable for windows. You (generally, there are other ways) need to use a wide char string on windows for file I/O, to handle non-ascii characters.

I'm also not sold on the usefulness of having an append function that can't reallocate. I have never wanted this, and if I did, I could emulate it with a reallocating version by just manually truncating the copy to the current capacity.

As for licensing commercially, I don't think that's likely to work out really. It is a useful project for sure, but I think it's just a bit too small to justify buying it. Most C programmers would probably prefer to write their own instead.
Would that level of salinity be harmful once it reaches the sea?
My point was that it doesn't suggest cheap any time soon.
Apple Watch used to offer this ability, but it no seems to be available.
The Ligo interferomoters are very sensitive to vibrations. I remember hearing on the tour they said they could detect waves lapping on the coast a few hundred miles away.
I was wondering how far I'd have to scroll down this thread to get to the "does Egypt have any nukes?" solution.
Moving sand is easier than moving a ship+20K containers or removing the 20K containers in hopes of refloating the ship.

So the easiest solution would be to widen the canal at this point - where the ship is currently located and where the ship will need to go as it refloats and turns. Move the banks further back. In effect create a place with enough room for a ship of this size to turnaround.

The canal isn't that deep. Dredgers can be brought on both banks in front and behind the ship. Four dredging teams ought to knock this out pretty quickly.
> But the FSF's raison d'être is to have an opinion.

Sure, but not an opinion on every issue in the world - their mission has always been to promote the user's freedom to use and modify software as the user sees fit. Other issues, whether important or not, may not be relevant to preserving software freedoms.

> It's a strongly principled organization that exists to advocate for the things it believes.

Correct, so why is everyone up in arms when they are refusing to advocate for things that are not of interest to them?

> In the context of someone joining a board of an organization like that, their expressed opinions absolutely matter.

Only as far as the organisation's mission statement. I would be (rightly) kicked out of my organisation should I publicly mobilise a mob against my employer for the company's lack of interest in abused puppies at the SPCA.

People disagreeing with RMS's expressed opinions on (for example) what constitutes a legal age of consent disqualify themselves as leadership material for an organisation committed to software freedoms.

The people who support software freedoms know where to go to get lectures on legal age of consent should they want to hear it. Injecting unrelated political ideology into a group committed to software freedoms is as welcome as posting SPAM for ED to a mailing list for cryptography.
I think that driving on those last few ounces of fuel is a completely different feeling.

Normally you take for granted that the engine works for hours at at time.

When you've come to a stop and found those last few ounces of fuel, it's such a relief that the engine can run again, and you know it won't run for very long, but every minute that it continues running saves you many minutes of walking or pushing. You appreciate every minute that the engine produces that amazing amount of power (compared to your own power when you're pushing a 300+ pound bike)
Larry Niven said, “Libertarianism is a vector, not a destination.”
Your information is a few years out of date, there is a new translation engine on the market that seems to be objectively better (deepl.com) as well as more GDPR-friendly ;)

The search engine I can't disagree with.

The email service... email is email to me, Google doesn't offer any features that Thunderbird doesn't already have && that I want. If you mean the search function inside of gmail, then yes, but that's kinda also just search. Or if you mean deliverability, that's not a function of skill but a function of being huge and if my mail server does something wrong then nobody is going to believe me if I say it's google's fault and google definitely isn't going to fix it. Or if you mean spam filtering, that's again because they just throw you out (into the spambox, but because google users rarely look there, that's out) and force you to use some (other) bigcorp for delivering just to them. The power that comes with being super huge.
Similarly Germans are infamous for reserving pool chairs by placing a towel on them long before they actually want to use them
As someone who is a little clueless about network infrastructure: if I own "dwrodri.com", and I'm not running a bunch of other services which need to point to this domain, is there any reason why I wouldn't have my root domain pointed to my personal website?

I would personally imagine that any individual or SOHO business hosting their website on GitHub/GitLab would just buy "MomAndPopShop.com" and point it there. I guess I don't know off the top of my head how many of those sorts of places on the web still exist...
Non-Obvious Rules to Raising a Series B
I wonder what Supabase's pricing will be?

I guess it will be per VM instance hour, unlike Firebase's scale out read/writes?

I think they are competing against AWS, GCP and Azure, not just Firebase?
I've found a very interesting result in one of the papers[1] they linked in the article.
The group of people with the highest phone dependence have the highest available cognitive capacity score when they leave their phone in another room (see Figure 3. Experiment 2).

Somewhat absurdly, this would suggest that the best strategy would be to get hooked on notifications and then consciously leaving your phone in another room when you need to work/focus.

[1] https://repositories.lib.utexas.edu/bitstream/handle/2152/64...
Next time I feel bad about making a mistake in code, I will think of the Ever Given: "At least my mistake can't be seen from space."
It can be the exact opposite too (which is why a shorter as opposed to longer function is a tradeoff that should be questioned each time, as opposed as a clear winner).

A 250-line function might better encapsulate the required logic to understand a piece of code.

1 function composed of 10 20-line functions might requiring hunting around to get the point and understand the big picture, with everything always happening "somewhere else".
Can't wait for elon to offer a solution...
yep, thanks

>On February 3, 2016 CSCL Indian Ocean grounded in the River Elbe, while approaching Hamburg, Germany. Her rudder controls were reported to have malfunctioned. It took almost a week to free her from the sandbank, because she grounded at high-tide. Her fuel was unloaded, and she was finally freed, February 9, six days later, during the next spring tide. Twelve tugboats were required to assist in freeing her. Two dredgers had helped cut away at the sandbank, near the grounding.

https://en.wikipedia.org/wiki/CSCL_Indian_Ocean
Pre-Algebra in the US
Stumbled upon this wikipedia article and I'm shocked: "In the United States, pre-algebra is usually taught in the 7th grade or 8th grade. " It's not particularly late or bad to teach pre-algebra in grade 7/8. It's just that it shows such an abysmal gap between public education and above-average education. Family with means manage to help their kids learn pre-algebra years before grade 7/8, getting them ready for AP courses or college-level courses before grade 8/9, so that they can complete all math AP courses plus more by grade 11.

Note it's not that AP courses are particularly useful. I'm just using that example to show how some kids can be really left behind. If it's not AP, it could be something else. And no, I don't think we can solve this problem by shouting racism.
As this thread turned into 'post your crazy idea and get told why it would not work' here is my take: use powerful water pumps and direct streams of water to flush out the sand in spots where the ship rests on it and also around the bow.

Something like that, but redirected under the ship: https://youtu.be/BIoBGZLc7wM?t=184
Coincidentally a quarter of a mile (400m) is also the length of those oval tracks around soccer fields in Europe. we used to run on them a lot in PE back in high school.
I wonder this too, given ultimately, 99% of non-static sites will need to reach out to a central database. So to render a dynamic page, your worker then has to go to the DB, no?

Curious what is the use case. You can cache stuff, as detailed in the post, but assuming you have huge variance in page contents per user, I can't see too much use. I must be missing something.
It's really absurd that the claim RMS was condemned about is a proposition that an act without intention is not a crime. That is, if a Mavin Minsky had a sex with a person whose age is less than the legal age without knowing a person's age, it's not a crime. At least, that's true in my jurisdiction.

And there still is no proof Marvin Minsky had a sex in Epistein's place. Nobody claimed that, even the victim women at that time.

Social Justice Warrior movement is gone extreme in RMS's case.
Fact-checking isn't the answer to misinformation
So what do I buy or sell or short to protect my portfolio?
Bootstrapping an Amiga without a bootable Amiga floppy
Much longer than expected by whom? Have you seen some scenario planning documentation by canal authorities or others for this sort of situation? Or what are you basing you claim on?
Why not some large pumps, suck up water from the canal and use jets to blast the sand out from under the bow. Slowly shift the sand around.

Granted they might have to dredge to clear that sand out of the canal.

Surely it's been thought of....
Then that is tomorrow me's problem!

I honestly think a lot of thinking works that way, where we'll let tomorrow me worry about it. To be fair, a lot of the time it makes sense. The problems a solution creates are things we need to accept when alternative is worse (think global warming vs starvation circa 1770).
Okay but what about rockets?
The witch/wizard hunting has already begun and it is lead by the individuals at those companies who are on their moral high horses digging for old tweets, interviews and blog-posts to cancel anyone for their past sins.

At this point, it is not going to ever stop until it happens to them.
Ask HN: How to plan a minimal restructuring to enable TDD
Hi folks,

I’ve just moved teams to be the only Senior Engineer on a team with two other engineers who are looking to learn better practices, a team lead who wants to improve the automated testing practices, and a PM (with an HR background) who wants features not to have such a high variance of time-of-delivery. The codebase is relatively small. I want to restructure things to enable the team to start working in a red-green-refactor loop.

Problems:

1. It will take some time to enable a workflow of regularly running the specs. I think I would need to have help with the planning.

2. I’m worried that if any of the technical leadership outside the team heard about this, they’d be upset that I talked to my PM about planned refactoring. Martin Fowler says that a perfect team should never need to do a planned refactoring. So our culture is to only refactor incrementally as we go along....which makes about as much sense to me as only washing dishes when you are cooking. (Note: My PM is fine with it so long as it is well-communicated)

3. I don’t know how to make the plan.

I’m especially nervous because I don’t know how long planning will take.
Goldwings also have a reverse gear.
Even more remarkable: I used to have an Aprilia scooter that had a remote release button (on the key fob) for the under-seat storage area. I think I used it once just to see if it works.
Or direct pressure up from below to liquefy the sand, quicksand-style.
> Correct, so why is everyone up in arms when they are refusing to advocate for things that are not of interest to them?

“Everyone” is not.

Of the people up in arms, some (including at least one FSF board member who resigned, and many individuals and entities that contribute—or did until recently—to the FSF and it's projects) are part of the “they” and clearly so have an interest.

And others are just on the outside advocating for things they care about, just as vociferously as FSF partisans do (and no more—though also no less—annoyingly to people who aren't concerned about the same issues.)
Just another non-expert, but I wonder if the simplest approach might be to pump water under it to wash away the sand it's beached on.

Googling, it seems that this is a recognised technique for dredging: https://www.iadc-dredging.com/wp-content/uploads/2016/07/fac...
Whether it works might be dependent on what kind of soil its sitting on and whether the current is strong enough to take away the dislodged particles.

I guess it would also be hard to work out exactly what you've removed and hence whether you leaving the ship in a position that will stress its structure too much.
Doubt that's the case. The weight on it currently forced it deep enough into the sand. Just unloading half of it won't make it magically raise from the sands. The analogy here would be like saying pumping out Whale's stomach will make it possible to drag him back deep into the ocean.
less than the cost of the canal being blocked for multiple weeks
> If you're being pedantic, modern English uses ... Arabic numerals...

Well, if you want to be super pedantic:

Arabic numerals look like this:

0 1 2 3 4 5 6 7 8 9

٩ ٨ ٧ ٦ ٥ ٤ ٣ ٢ ١ ٠

and appear little-endian when reading.

The ones we use come from devanagari (brahmic) alphabets and look generally like this (though they arrived in Europe via islamic scholarship, hence the common name in some languages)

0 1 2 3 4 5 6 7 8 9

० १ २ ३ ४ ५ ६ ७ ८ ९
Sure, if our chemical products mess up other animals, why not us too? I have a feeling this will be very unevenly spread, and wonder how connected the impact will be to the people who make use of the chemicals. If not connected, there won’t be any sense of natural poetic justice.
This reminded me of embedded Java project that I worked 20 years ago. The VM had only 10MB of RAM and properly dealing with out-of-memory exceptions was a must. The most effective strategy was to preallocate like 200K array. Then on any memory exception the code released that array and set a global flag. The flag was queried through out the code to aggressively minimize memory usage until it drops to tolerable limit.

The preallocated buffer was essential. Without it typical result was recursive out-of-memory that eventually deadlocked/crashed the VM with no recovery.
Platforms for Creators to Monetize Their Skills in 2021
Out of curiosity, what CPUs support 16 memory channels?
I was thinking a few lorry loads on the edge they are trying to pull, just to give it a kick briefly so the tugs can get that initial momentum going. More of a brief sudden kick/change to give it that edge.

With that I don't think with the whole damming of aspect would be any better than damming of and pumping water in. Also with that scale you run the risk when you breach the dam of causing what I'd call a saline tsuanmi which might not work well for the ships in it's path and may well cause another to get stuck.

So, more a form of quick kick to aid in getting the tugs an initial bite and a quick dislodge, however small, would only help and may well tip the balance.
Well, there's always the option of just demolishing the ship and its cargo, getting everything out of the canal without worrying about whether any of it survives the process.

That would still be expensive, but is it more expensive than blocking the canal?
Well I'm sure we could have, it's just that ex-Presidenté chose not to take that action.
The survey lines in Ohio are a particularly interesting mishmash of proto-PLSS grid and colonial style metes-and-bounds.
Was this supposed to be posted on April 1st?
I remember when Tripod offered free Perl scripting, I played around with CGI.pm and made what might have been the most terrible forum script ever made - luckily no one else ever used it.

Also I think I tried to get the forum from Matt's Script Archive (which is still around by the way) working but couldn't.
I talked about that topic with my principal when I was in school.

He told me that the school had to prevent those automatic budget cuts. His reasoning was that it's nearly impossible to get a higher budget if some big expenses had to be made.
And suddenly needing a higher budge, after for example 3 years of low expenses, doesn't make a good impression on higher-level administrators.
Can you find someone who can adapt a float switch from a different bike? It seems like a very useful thing to have, even if it's not the original factory part.
"Why is the following wrong:"

"What's the problem with"

"What's the problem with training every pigeon in the world to grab on and fly it out of there?"

"Why is the following wrong: They could get a shitload of muskrats and have them dig out the banks?"

Etc. Suggestions made obviously ridiculous.