skysight-inc/HackerNews huggingface dataset:
> A basic problem I have, looking at an Excel spreadsheet, is I don't know which cells are calculated by a formula, which are constants.

Use Ctrl-` (show formulas).
> If I were a world dictator, one of my first orders was to lock C developers in a room with only python for few months. Or ruby, in severe cases.

I would additionally do the exact opposite: lock Python & Ruby developers in a room with only C for a few months.

C is a great language to learn programming, but Python or Ruby are, nowadays, in the most cases, better languages to program with. For example, C's sharpness is a notoriously famous source of bugs; yet it forces to develop rigor, discipline.
Theories proceed from observations. Based off the observed anomalies and our knowledge of the Standard Model, we can say a lot about the properties of Dark Matter - if it exists.

Going forward, we have two choices:

1. Develop another explanation for the observed anomalies (the so-called MOND theories). So far, these have all failed. Turns out GR is incredibly difficult to both replicate and extend.

2. Provide observational evidence for Dark Matter. People are working to figure out how to go about doing that. See https://atlas.cern/updates/briefing/probing-dark-matter-higg....
General Relativity is over a century old and the Standard Model was in it's current form in the mid 70's. Much of the details have shaken out from those things and while there is certainly still progress being made both in refining current theories and developing options for future ones, physics has indeed slowed down quite a bit in overall progress which was kind of an explosion between say 1875 and 1975 (let's not quibble with exact dates here).
> The populations that are colonizing Germany

What's up with your racism and hate? Literally No one is colonizing you

1- Foreigners account to only 17% of the population (and 70% of them are from Europe) [1]

2- If we look at countries with the highest proportion of immigrants, Germany is no. 18 on the list [2]

If you've an issue with people from outside Germany moving there, change your policy. If there are problems, fix your system. That's how every country work.

jeez, do you still live in the middle ages?

[1] - https://www.destatis.de/EN/Themes/Society-Environment/Popula...

[2] - https://www.visualcapitalist.com/countries-with-the-highest-...
FYI they sometimes share a connection via Ethernet-over-HDMI.
Maybe we need to start preserving those things in AI neural nets so they are a bit fuzzy and slightly inaccurate!
First AI-Powered Storytelling Teddy Bear Is Here. I Gave It to My Kids to Test
Any link for that? I think it's a good real-life example
I forget its name, but there was an IBM graphical tool , with which you create UML diagrams and it in turn created code (Java IIRRC).

The intermediate representation was in sexp !
I use this trick all the time: to see the most recent comments added to a conversation on Hacker News, visit the following page:

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story%3ASTORY_ID&sort=byDate&type=comment

Replacing STORY_ID with the ID of the story. This is the equivalent of visiting the https://hn.algolia.com/ search page, searching for "story:1235" and then selecting comments rather than posts.

Today I finally got around to building a simple tool to make this slightly easier. It's an Observable Notebook which documents the trick, provides a box for pasting a URL in to get the magic search link and also shows the current homepage with a link to "view most recent comments" for each story.
Funny timing. I was just musing about a middle-school classmate who endeavored to calculate as far as she could by hand and thinking how dated the idea was an hour ago. This was in the 90s, so it’s not as though we didn’t have computers. They just hadn’t reached mass-adoption in households.
This is the hidden reality of how consumer electronics assembly work.

Doesn't matter if it's South Korea, Taiwan, Japan, Vietnam, China, Philippines, India, Indonesia, etc - these are common work conditions, and it's usually the same managers in all those countries.

If native SKeans, TWese, JPese don't want to do these jobs the employers just bring "Interns" from Indonesia, Vietnam, Philippines, etc and pay them $7,000 a year - which beats earning $2,000 a year either underemployed or doing the same job in those countries.

It's horrid, but that's the reality of the gizmos you and everyone else likes using.
Why Mrs. Dalloway rather than To the Lighthouse?
> the ability to record things in near perfect fidelity is a problem

Ancient Egyptians and Romans would seem to have relished such a problem.
Schematix is somewhat unique. Direct competitors? -- not exactly, but IT asset managers, DCIM, BC/DR tools, and CMDBs are all competitors to some degree.

Some of our best users are professional consultants who use us for a project which often introduces us to a new customer.

A Show HN would certainly be in order. Thanks for the thoughts!
Active Directory would cry.
> maybe it differs per repo

Then you'll already have a formatter config file in the root of your repo, and the formatter that Zed runs will use those settings.
Ah, proprietary recollection! Surely that won't engender an entire middle-man economy.
I am not complaining that it is "strong" instead of "bold" or that we have two separate tags, and I'd be perfectly happy if bold had never existed: certainly, if I actually wanted to use <b>, it isn't like anyone removed it from either the browser or the HTML standard... it is, in fact, that I agree with everything you wrote about the semantics of the situation which is why I even have a reason to be angry when I'm trying to read my hand-written markup.

Instead, I am complaining that we got to allocate a one-character tag to bold and then when we realized that we screwed that up we allocated a FIVE-character tag to strong. Hell: we hadn't even run out of one-character tags!! Why not <e>...</e> and 
...
?! If you really think we needed to preserve the one-character tags, that we were given a two-character abbreviation for <em> but are forced to use a five-character word for <strong> is just insulting :(.
That system, Unit, was on the front page here about a week ago:
https://news.ycombinator.com/item?id=40900029

It's got a certain aesthetic appeal but I don't find it self-explanatory either.
"I like all my string copy's equally."

CUT TO:

"I'm not a fan of strlcpy(3)"
The chance of that loop repeating forever is 0.
That's from live Chrome user metrics, so it's page-view weighted and doesn't include enterprises and other users that opt-out.

HTTP Archive has similar data, but from the web crawler, so page views don't matter.
A Video Interview with Mike Clark, Chief Architect of Zen at AMD
The Central Mechanisms of Sexual Function (2003)
just consider parmesan to be a protected trademark owned by the people living in that area.

should they not have the right to protect their trademark?
If you haven't seen it before, you might find this useful https://www.kernel.org/doc/html/latest/filesystems/vfs.html

It's an overview of the VFS layer, which is how they do all the filesystem-specific stuff while maintaining a consistent interface from the kernel.
Indeed, double-free, not UAF; I should know better than to write comments while sleep-deprived...

I suppose a cookie could be used in a "trust, but verify" approach if the free function takes both a pointer and a cookie. You would have the usual sidecar data next to the allocated region, but verify that the cookie matches. This would avoid the lookup issues you discuss.
> |, aka un-named pipe

i have never in 50 years heard that term used
The state was found to have no jurisdiction.

I know politicians can justify laws coinciding with their belief system, but this strikes me as hilarious rationale. I thought the state was supposed to be the final authority. Does anyone have the ability to regulate the sale of plants?
Every company I've ever worked for was totally unwilling to negotiate on IP assignment, open source work, moonlighting, and similar policy. I even tried the clever thing where you strike out parts you don't like, and it's always met with: "No. Here's the full employment agreement. Sign it unmodified or GTFO."
Is this plan actually help decomittioning fossil fuel ? I have some doubts.

Adding more renewable on top help having... more renewable, that's great, but if you don't have a clear plan to remove the fossil fuel (meaning closing down coal, gas, oil sources) you don't change the emissions pathway.
Ugh.

Any recommendations for a quality domain registrar? Might as well get started with the migration
> Taylor Monahan, lead product manager at Metamask, said Squarespace never accounted for the possibility that a threat actor might sign up for an account using an email associated with a recently-migrated domain before the legitimate email holder created the account themselves.

> “Thus nothing actually stops them from trying to login with an email,” Monahan told KrebsOnSecurity. “And since there’s no password on the account, it just shoots them to the ‘create password for your new account’ flow. And since the account is half-initialized on the backend, they now have access to the domain in question.”

This sounds like gross security negligence, and should probably be considered a crime when you're at the size of Squarespace with (assuming) a dedicated security team. Hopefully executives/management can be held responsible for whatever damage was done because of this.
The problem with Arsenal is they always try and walk it in.
samp and kbd are good for marking up terminal sessions e.g. https://j4e.name/articles/marking-up-terminal-in-html/
Thanks a lot for your feedback! Our platform allows people to find others close by with similar outdoor activity interests and ability levels. Once approved, users can see other approved profiles and send people invites. If the invited user accepts the invite, the two users can then chat with each other. We will make all this more clear on the homepage. Thanks again!
That used to be the advice, but the W3C eventually agreed with you. The spec describes <b> as "a span of text to which attention is being drawn" (https://html.spec.whatwg.org/multipage/text-level-semantics....) and no longer mentions boldface as what the tag "means", it's just how it's usually styled by default & convention.
OT: Cool I now know about the "KeyTweak - Keyboard Remapper"[0] tool. I've only known about the MSKLC[1] and the PowerToys Keyboard Manager.

[0] https://web.archive.org/web/20100106235958/http://webpages.c...

[1] https://www.microsoft.com/en-us/download/details.aspx?id=102...
There are a whole bunch of other things I dislike about Pascal, but in this one he was just undeniably correct. Worrying about 1-3 extra bytes (on the 16 and 32 bit platforms where it potentially mattered) was just not worth all the issues that null-terminated strings brought with them.

My current favorite string implementations are the various compact string crates for Rust. Generally, you want a string to be able to do at least three things:

- Pointer, length, capacity tuple, for heap-allocated strings, 24B on x64.

- String inlined into the 24B buffer.

- Pointer, length tuple where pointer points to rodata.

You can do any of that and the discriminator in 24B, given the healthy assumption that all strings are shorter than 2^63.

Sadly, switching costs are massive and every programming language is pretty much struck with the string they started with. Hopefully, whatever comes next can crib from smartstring or compact_str or the like.
It's a classic application of the pigeonhole principle, the first on in this list:

https://en.wikipedia.org/wiki/Pigeonhole_principle#Uses_and_...
Infinity has entered the chat.
The paper's references have some good ones for getting more acquainted with these subjects; this one being a nice dense one to start with:

- Geometric Deep Learning
Grids, Groups, Graphs, Geodesics, and Gauges: https://geometricdeeplearning.com/
I think this is purely focused on the supply side and neglecting demand and its role in the economy.

The world economy today isn't driven by lack of supply (for the vast majority categories of products), rather it is by lack of demand. Whoever owns the demand owns the power in this dynamic. One can have all the factories in the world when consumer stop buying it's in for a rough time, like China is finding out.
Is geometric, topological, and algebraic ML/data analysis actually used in the industry? It is certainly beautiful math. However, during grad school I met a few pure math PhD students who were saying that after finishing their PhD they will just go into industry to do topological data analysis (this was about 10 years ago and ML wasn't yet as hyped up). However, I have never heard of anybody actually having success on that plan.
The SOLID principles are a set of design principles that help developers create more maintainable, understandable, and flexible software. Coined by Robert C. Martin, these principles are particularly useful in object-oriented programming but can be applied across various programming paradigms and technology stacks, including the MERN stack. The MERN stack, comprising MongoDB, Express.js, React.js, and Node.js, benefits greatly from these principles, leading to cleaner and more robust applications.
Announcement: Blacksolvent is launching our Influencer & Affiliate Program.

If you're involved in a growing startup, you can now refer Blacksolvent to your founder as a certified startup growth partner agency. Earn rewards and rebates for your referral efforts, and gain exclusive early access to our corporate line, Ink by Blacksolvent.

Rules and terms apply. Learn more here: https://blacksolvent.com/referral-system/

#StartupGrowthPartner #ResearchAndDevelopment #StartupGrowth #StartupFounder #Startups #RoundAFundraising #ReferralSystem #Blacksolvent
It's pretty interesting that the first thing that's alarming people with gen AI video is this type of use case when gen AI applied to fraud or scamming or impersonation and account takeovers is way more likely to ruin lives.

People already have their lives completely ruined when they lose their life savings or retirement funds to scams and social engineering attacks, you add Gen AI video to the mix and it's getting so incredibly worse.

Having a fake video of you having sex seems so quaint in comparison. In 20 years no one will care.

But a fake video of Biden calling for the actions of a few days ago to be replicated and another attempt to be made would have disastrous implications.
That is a solid take. Until you can buy it at Amazon/Walmart/CVS the tiny corner shop is the only entity willing to handle the legal gray zone. You will get crushed once it is fully commercialized, but not impossible to imagine you can make a good business for a decade.
If you know the length (and that it fits)

mempcpy() , then add the terminator yourself to be sure. memcpy has the slightly annoying flaw of returning a copy of the dest argument (already known data) rather than the more useful new information of a pointer to the end of the set memory.

#IFNDEF _GNU_SOURCE
#DEFINE mempcpy(X, Y, Z) (void *)((memcpy(X, Y, Z) - 1) + Z)
#ENDIF // Not quite the same but close enough mempcpy, fails for Z = 0

edited: Since X shouldn't be NULL and thus not 0, apply the subtraction first to avoid the corner case (which also shouldn't happen given common HW / OS regions) of X + Z > (~(size_t)0) (SIZE_MAX)
> Every bar will make you a vodka redbull.

we call them "espresso martinis" now
Harmine and exendin-4 combination therapy expands human β cell mass in mouse
The problem is the function signatures of all the improved string functions are broken. You can never write a safe string function that takes two char pointers.

You really want

int str_try_copy(str_buffer *dest, str_slice *src)
Oh yeah that looks ideal. My initial idea was down those lines, but realised this wouldn't be possible with many (most?) languages/ORMs/adapters. Eg for Prisma (TypeScript ORM) it would need to be built in to Prisma itself.

Another small benefit of UPID is that it works even for raw SQL sessions, but this obviously requires that it's installed into Postgres, which unfortunately for most is much harder than installing an Elixir/whatever lib.

But even if you just store them as u128/UUID, a nice thing is the IDs always know what their prefix is, so eg if you dump data into a warehouse, the IDs don't lose their context and an analytics person can still find what they're looking for.
I believe a use-case(s) receiving attention is drug design, protein design, chemical design, etc.

Here is a summer school by the London Geometry and Machine Learning group where research topics are shared and discussed.
- https://www.logml.ai/

Here is another group, a weekly reading group on graphs and geometry: https://portal.valencelabs.com/logg
I got 45 fairly easily, but ive been writing html for a long time. Would love to see the output reveal them in a list in order of commonality - would love to see if im missing some common ones - like if you guessed 1-20 but missed 9...

edit: Case in point, I missed <img>...
There is a little bit more info at https://www.media.inaf.it/2024/07/15/tubi-lavici-lunari/ (in Italian)
I rarely hear positive stories about the work conditions and culture in Korea.
They did? I missed that. It hasn’t lasted even ten years, has it?

I remember reading the Domains announcement and thought to myself - “you have to be a fool to trust Google to host your domains long-term”. Feels good to be right, but I feel bad for everyone who jumped on the bandwagon. I cant imagine trusting Google products to last those days.
You can pull up SP100 and SP500 and look at their historical returns. SP100 is an actual index, not something I made up for illustration. If you look at the last 40ish years, SP100 is up roughly 45 times, SP500 is up roughly 50 times.

What might help understand this concept intuitively is if you take it to the extreme: what if you always held only the very first company of the SP500. Sure, you would have a lot of the upside, but you would also be completely naked to the downturns. Similarly, you would lose a lot of money on commissions whenever the leader changes. Taking any other smaller subsection has the same problems, it's simply a matter of what tradeoff works best for you.
Cape Verdean Escudo
And now all the soccer moms in illegal states are buying delta 9 gummies at CBD stores (and there isn't mass hysteria in the streets) so those states are reluctant to outright ban it. We'll see how long that lasts.
Typing a couple keys on a keyboard is a pretty weak complaint considering the unintended consequence of what you are advocating for results in discriminatory output against persons with access disabilities. This is the literal definition of narcissism, even if unintentional.

https://en.wikipedia.org/wiki/Narcissism
I think you can find businesses like this already. They only have a few capable people and that’s it. For example, MasterCard, Visa, RenTec, and probably some hedge funds somewhere.
I’ve been with Namecheap forever. It’s not super pretty UX wise but it works and boring is what I’m looking for in a domain registrar.
SiFive first IP provider to get Automotive ISO/SAE 21434:2021 certification
it's very important to replace your blinker fluids yearly, but also, polka dot paint comes in 5L tubs.
That's the argument for universal basic income in a nutshell.

I'm not so convinced, I think this comes from the limited mental model of thinking of the economy as a system for making widgets.

Rather, the economy is what happens when a society organizes its member's aggregated needs and desires.

Being a valued member of a community is a rather basic human need. As such, the economy will find novel ways to meet that aggregated desire, if it's not being met anymore by jobs that employ many workers today.

That's a rather unconventional view maybe, but I'm rather convinced it's the right one.

Of course, it leaves all the details open and the path to get there might be rocky.
I spent a while trying to do all the semantic markup properly on my blog -- <em>, <i>, <dfn>, <cite>, <mark>, <strong>, <b>, etc. I eventually gave up and just used <i> and <b> everywhere. It was such a waste of energy reading MDN docs and trying to decide between tags when they render identically and 99.9% of users aren't going to view the source. I also encountered bugs like <cite> breaking Safari Reader View.
> the standard only recommends correct rounding

What? This is not true at all. The standards specifies adherence to IEEE 754 arithmetic.

You can read the standard here: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

Page 507 for adherence to number formats. Page 517 for atan adhering to IEEE 754 specification for the functions defined therein, which guarantees best possible results for individual operations.

Any C implementation where atan gives a result which is inconsistent with IEEE 754 specification does not adhere to the standard.

> also, no OS provided libm produces correctly rounded results for all inputs.

Every IEEE 754 conforming library does adhere to the best possible rounding guarantee. If you have any evidence to the contrary that would be a disaster and should be reported to the vendor of that library ASAP.

Can you provide some function and some input which violates the IEEE 754 guarantee together with the specific library and version? Or are you just making stuff up?
FFS I had some code for a microcontroller break because locale.
18 months actually: https://www.wiz.io/blog/100m-arr-in-18-months-wiz-becomes-th... (was just curious and looked it up)
Path signals are closer to how a modern signaling system operates. They absolutely can allocate multiple paths through the same block as long as the position of switches guarantees no conflicts.
What distinguishes LibreWolf from Waterfox? Other than not being available for Mac, obviously.

edit: oops, there *is* a LibreWolf Mac port now
I memorized pi to 100 places in high school, but it didn’t get me any dates. The girls were more impressed by the jocks.

I should have attended a more geeky high school.
How do you tell one from the other?
I don't think there is value in this kind of argument.

Yes, some folks on the hard right in the US like to brandish weapons as political speech and use the implied threat of violence to make people around them feel intimidated.

However, this has nothing to do with one attempted murderer or the political party he most associates with.

I find this kind of finger pointing speculation unhelpful and divisive and I think we should be more actively aligning on "people shouldn't murder people they disagree with" which is a value everyone should be able to openly agree on.
To the employer: rotate them into different roles to prevent this kind of stress on the body/mind.

To the employee: find a new job if you can get the above
C's string handling is an abomination. Null terminated strings is and always has been a colossal mistake. The C standard and operating systems need to be updated such that null-terminated strings are deprecated and all APIs take a string_view/slice/whatever struct.
I'd be pessimistic about a cultural change - look at what happened to the Doctor's strike.

The only option is to become an expat and end up perpetuating the same traumas, as Pinoy, Thai, Chinese, Vietnamese, Indian, Indonesian, etc employees of Korean companies in their countries can attest to.

Korean work culture is itself a reflection of Japanese work culture back when SK was Japan's version of Mexico before the 2010s.
Code Property Graph Threat Detection
That one's kind of come full circle, though, since a "photo shop" was a place you could go to get photos printed, altered, etc. since the late 1800s.
Thanks for the feedback!

However, if you can discern "better" (i.e. 1 plain old bit of difference) by taking a few words off my posts on social media, you have "Beat the Shannon Limit". ;)
Here is my attempt at strings in C (and other stuff).

https://github.com/uecker/noplate

(attention: this is experimental and incomplete for trying ideas and is subject to change.)