skysight-inc/HackerNews huggingface dataset:
Sleep is rest.

Rest and Activity go hand-in-hand.

I had sleep issues for 10+ years. I couldn't fall asleep most nights, would wake up tired, couldn't function without severe caffeine, which would lose efficacy over time and cause even more sleep issues and mind-bending headaches.

Sleep issues were just a symptom. It was my life (Activity) that needed fixing.

Look to your life -- if you fix things there, you'll fix your sleep.

If you want to talk further, feel free to reach out on email.
I think we need to differentiate: Visualize a program vs. Visually program.

This post seems to still focus the former while an earlier HN post on Scoped Propagators https://news.ycombinator.com/item?id=40916193 showed what's possible with the latter. It specifically showed what's possible when programming with graphs.

Bret Victor might argue visualizing a program is still "drawing dead fish".

The power of visual programming is diminished if the programmer aims to produce source-code as the final medium and only use visualization on top of language. It would be much more interesting to investigate "visual first" programming where the programmer aims to author, and more importantly think, primarily in the visual medium.
Then it's in our interest to push the use of AI to support the meeting class to dictate stream-of-consciousness updates and get a cleaned up memo ready for email. But of course, this risks reducing the (self?)-perceived importance of demanding realtime attention in live meetings.
> but instead to be more mindful of how they engage with it.

This is like the recycling debate all over again. Fundamentally we agree with you; littering is bad, the diminishing of privacy is bad, and none of us should feel hopeless about a situation we are capable of changing.

But consider the average person, not me or you or the hackers. Someone who opts for convenience, not "mindful engagement" for the slightest of interactions with the world. They do not care. Fundamentally they cannot be made to care, even if we show them posters of the Earth burning or make them hear about the Snowden leaks. They consider themselves to be powerless, and will not consider an alternative unless it is as convenient as what they're addicted to now. They're not going to buy respectful TVs because they're not the cheap ones. They're not going to buy respectful phones because it doesn't have the little Apple logo on the back that their friends love so much. The average person literally cannot be made to care unless we make privacy-respecting software easier to use than spyware.
A distressing number of softwar engineers have overly accurate memories and don't notice when things become excessively cryptic or arcane.

However the implementations being much more open source now means a lot of bad documentation can be overcome with code reading or, if needed, stepping thru the code with a debugger. Wrong documentation is still expensive. I have a bitter taste in my mouth from integrating with OpenTelemetry Go libraries. It seems to be sorted now in 1.27and q
28 but 1.24 and for a few versions the docs were wrong, the examples were not transferable, and it took 5x the time it should have.
> yes, but there could be a logic error somewhere in safe code that causes an unsafe block to do something it shouldn’t.

Sounds like bad design. You can typically limit the use for unsafe for so small area than you can verify the ranges of parameters which will cause memory problems. Check for invalid values and raise panic. Still ”memorysafe”, even if it panics.
> how can one differentiate between burnout and being done with the field?

Money. If you are financially independent, you are done with the field. If you are financially dependent, you are burnt out.
> kafka is a piece of shit architecture

Hmmm interesting. I have only seen people rave about it, but haven't used it myself. Why is it shit architecture?
More to the point, you don't need to know what's behind the horizon to do this kind of simulation. Plain GR is probably fine for everything outside macroscopic BH's. (But yes, fuzzballs are cool)
And people in other locales want to be able to use their own name without software mangling it.
I like this idea, but the presentation is essentially a handwritten textbook, which is close to the worst of both worlds. Some interesting drawings would be more helpful, or at least more entertaining, than plain text that is difficult to read. (Sorry to be downer. I really wanted to like this.)
Long article, and I have to say that I do not agree with ~ 90% said.

Problem with web components is that they have a few gotchas, one has to solve it he wants to use them effectively. I agree that SSR is a problem, if it is a problem. Crawlers now render JS, I have not see any benefits of SSR for a long time now.

Also there are a lot of mentions of Shadow DOM. Why would anyone want to use that? It is slower, detached from main process. Just use original DOM and modify it.

Also, if devs "want!" native components for React, Vue, etc., that does not mean Web components are bad, that only means devs want native components for their FW :).

I personally hacked my Web components micro FW in 2 weeks, and started to replace Svelte and Rails/StimulusJS with it. I am every happy, but you need to know how to handle gotchas.
Thanks, the one in your first Wikipedia link http://www.alfredklomp.com/technology/mk-61/ apparently also had a brief HN thread

https://news.ycombinator.com/item?id=12632803

It seems odd there isn't more first-hand/primary-source-ish information about these - people who worked on ICBMs or nerve agents or whatnot have written about their experiences, you'd think calculator designers would pop up as well. Like, where is something like this for Soviet calculators https://news.ycombinator.com/item?id=39962737
I've come to the decision to charge $5/year for a site I'm going to put online in the next year... only to cover the transaction fees and mostly actual costs. If it takes off, should at least pay for itself and discourage fake accounts. But not every site/service will get that many people to even pay that much.

On the latter bit... not sure if I completely disagree with that take as well. As much as I also dislike SSO for other reasons, it is nice as at least some level of validation.
If you think "threat to our democracy" rhetoric started "from the left" in 2016, you should go lookup what Fox News has been saying for decades.

War on christmas? War on Christianity? Obama isn't even a real american so he is an illegitimate president? "They're coming for our children"? Christ that one regularly gets drag story time cleared out due to violent threats. How dare someone read a book to a child while wearing a dress.

Or maybe you forget the decades of bombing abortion clinics?

You know we USED to have violent hard left organizations like the Black Panthers and Weather Underground. Now the right has to wave vaguely at "auntie fa", a "group" as real as "anonymous".
It’s way to dismiss this as useless. But, I feel like doing this work must have yielded some interesting second-order tools or realizations.

So, does anybody know what interesting discoveries have come out of this process, besides a more precise Pi?
> I believe it's your patriotic duty to mock and decry people whom you perceive as harmful to society

I do think it’s our duty to engage in dialogue about the things that we feel are harmful to society. Dialogue is all we have to address issues peacefully, and how we use it is critical.

I disagree that mocking and decrying people is the answer. This may feel good for the person or group doing it, but does little to actually move the needle in terms of actual change. What it does do is drive a wedge between the people doing the mocking and those being mocked, and I’d argue this is at the heart of the increasing polarization we see across almost every subject.

The reality is that good people have questionable or downright bad ideas/beliefs and do things that are harmful. Attack bad ideas, yes. Argue for good ideas, even forcefully when necessary. Don’t attack people.

Almost nothing of value comes from mocking and deriding people when the end goal is to coexist in a free society, especially when achieving actual systemic change via legislation depends on people agreeing/coming together and is directly harmed by creating a zero sum mindset.
For some reason Multics got a higher security score from DoD than UNIX, guess why.
Isn't there a non-zero chance that given an infinite number of digits, the probability of finding repeats of pi, each a bit longer, increases until a perfect, endless repeat of pi will eventually be found thus nullifying pi's own infinity?
I think this was just normal math exposition but presumably more labor intensive to produce. We get a sequence of generic graphical containers for blurbs of text (e.g. an image of an open booklet, a sign, a spiral-bound notebook), and speech bubbles from unnamed, featureless non-characters. As a comic, it's shallow and uncreative. There are some diagrams, but these would just as easily have been at home in any other didactic presentation. I think the only benefit the "comic" format gives is that it pressured the authors to be punchy, breaking the material into small chunks that fit into these graphical elements. That's good -- but the same small chunks could have been packaged in some other form just as easily.

https://www.smbc-comics.com/comic/2013-08-20
> A problem I have is there are hundreds of pages of stuff he wrote so he's hard to pin down.

It sounds like you're referring to a book? Maybe you can clarify. I read
Capital Vol 1 during COVID, and I've come to realize that, without being hyperbolic, I've encountered zero people with criticisms of Marx who have read what he's written.

It's commenting without reading the article on steroids and it frankly makes the critic look foolish because they fantasize about the books content and then attack their own fantasy and then claim they haven't done so. It's not difficult to read a book and then critique it. It's just wild that this had repeatedly failed to occur.

People don't seem capable of reading things they might disagree with, and seem unable to accept that anyone might write something that has parts that are right and parts that are wrong.

Psychs call this all or nothing approach, black and white thinking or splitting and it's a defense mechanism. I think we can do better.

There's a very simple way to prove my statement wrong by contrary evidence. Someone can simply read a book they might disagree with. I actively encourage it. If someone has the desire to voice their disagreement of a thing, the least they could do is be familiar enough with the thing to make a well-constructed and relevant critique. I actively encourage folks to be better critics.
The main issue, which the article covers, is that there's really two different operations you want with copying C strings.

Do you want to copy and truncate, or just copy?

Within that, do you want to manage your own allocation, or do you want that abstracted?

There's too many decision points and tradeoffs to just neatly hide behind a single "one true function" for copying C strings.
To be clear, I'm not arguing for or against a specific value as the "maximum length" of a name. I'm drawing a distinction here in terms of a potential user's intentional choices and what that means for providing support.

> Because programmers are too lazy to properly handle long names? That's a stretch for denying someone service and you know it.

I don't think someone should be denied service if they happen to have a long name, but I genuinely don't think it's a stretch not to try to handle people going out of their way to subvert expected norms. In this case, the argument is more philosophical than technical because there isn't an obvious heuristic for determining whether a name is intentionally made long or not, but there are places where I do think it's worth it for programmers to consider.

As an aside, I'd argue there's more nuance than "properly handling long names" or "being lazy. There's already an inherent limit on how large a name can fit into memory, and that limit might even fluctuate depending on the number of users being processed in a server at a given time and how much memory a given server has. Is a 1 GB name too long to be worth handling, or is not handling it "laziness"? If you're arguing that any name that the government accepts should be accepted by any software, how do you know what the limit is that the government will accept? If you have international customers, is the limit larger? If there's no documented limit, do you just need to hope your software is at least as robust as the government's? My point isn't that these situations are equivalent to a name that's 666 characters long, but that arguing that not handling 666 characters is lazy already is a blend of implicit technical assumptions (servers have enough memory that handling names with 666 characters isn't an issue) and social assumptions (it's possible for someone to actually have a name that long), and I don't think that "pretend all names can fit into memory fine and just crash or time out or something if there are too many names that are too long according to the parameters of the runtime and the hardware" is the obvious best choice from a fairness perspective.
Any system will have some limit on the length of names - if nothing else, the budget for storage.

A non-lazy programmer will determine an appropriate limit, document it, continuously test that the entire system can handle that length correctly, and continuously test that helpful errors are returned when too-long names are input.
Limine: Legacy-free portable bootloader, supports both Linux and hobby kernels
>Normally non finance people in the organisation get hoodwinked by investment sales people.

Some benefits salesman came to my blue collar office and tried to hoodwink [great wordchoice] our boss into buying employee insurance policies (health, whole life)... but would not allow employees to read the contractual terms until after bossman signed-up.

It was left to employee vote, and I was grateful when my peers listened to my concerns [slick sales guy was out-voted, left frustrated with me about his lack of commission]. Why not just let us see the terms & conditions.?. are you really offering that shitty of a product?! †

†: insurance company's mascot was some waterfowl with a loud two-syllable mouth...
Nope. It's the classic "disruption" aka. mowing down the Garden of Eden, turning it into a golf course, and using the last supply of clean water as a latrine.

(the Garden of Eden being the collective scientific and creative output of the whole of humanity so far)
iOS 17.5.2: Apple Abruptly Cancels Unexpected iPhone Update, Report Claims
Please take your fear mongering elsewhere.
I wouldn't say friction, it's more like a little guide to figure out when you graduated :)
So to check I understand this right, you want a single app that includes functionality from all of Jira, confluence, figma, retool, GitHub, vs code, slack, outlook, miro, etc?

Or have I misunderstood?
I concur, I've been 'around' the OSS community even before I had skills to be able to give back to it and something after 2010 shifted and it felt like open-source was a way for corporations to exploit free labour of ideologues they could sell a daydream to. The promise of fame or getting hired, etc drove some young people who bought the lie to give up everything. I even knew a guy who only stopped when he was homeless and spending all his time on library computers trying to respond to people.

Open source is a gift given by whoever wants, and it's amazing to be in a place in life when you can give if you want to, but it's all 'bonus'.
It's a technology company and a major one too, I'd say it's well in scope for HN.
Awareness of this kind of thing often influences consumer preferences, spending.

'Fairtrade' (fair wages for farmers in undeveloped countries), boycotting Primark (child labour), etc.
This is the one that Hixie published back in 2006. It helped guide a lot of the early decision-making in the WHATWG when it came to proposing new tags for HTML5 in a bid to reduce the number of div's out there:

https://web.archive.org/web/20060203035414/http://code.googl...

The mantle has now been passed to the HTTP Archive, whose Web Almanac includes a section on the popularity of HTML elements:

https://almanac.httparchive.org/en/2022/markup#elements

BTW: I got 97, which is 96 more than the number of friends I have :)
> At the mercy of all the big providers that could one day just decide to turn our account off without a reason.

This had me genuinely concerned when a lot of the superfuous account bans were happening on Twitter and Facebook around the 2020 election cycle. Retweeting a joke could knock you off, and I'd been using Twitter as a 2FA for many/most sites where it was offered at the time.

Now, I'm much more inclined to choose email/password options. I've also been using a wildcard domain for most new things. Ex: site@mydomain, etc for every site, store, etc I use.
Weird… I would have called most of those diagrams “Design” not “Implementation”.

This is how I work - draw a Control Flow Diagram as the design, implement it in actual code, then test the code against the diagram.
Speaking for myself, I don't have any real solutions, but I think it is an important part of our humanity to at least occasionally contemplate all the suffering that our society is built upon, because each of us has to have a line at which we become the ones who walk away from/fight for a better Omleas.
Assembly only knows about raw bytes, nothing else.
I like my M2 Mac, it's great hardware-wise. I thought hard about Linux laptops and decided for the Mac. In a lot of ways it feels like linux on a slick piece of hardware with good commercial support.

Coming from linux I miss the freedom though. That maybe sounds kinda stilted or melodramatic or something but I don't mean anything ideological. I just mean it annoyed me, for example, to find out that a stock market app was installed and I couldn't just get rid of it easily. I looked into it but it involved a whole series of things that I decided just wasn't worth it. But it's still there. Is it a big deal? No, but then again why should I not be able to remove a stocks app?

I also miss KDE which has been my favorite GUI of everything I've used.

Basically I just miss being able to take things off I don't want there, and put on things I do. Seems like something simple to me.

I don't regret buying my Mac and would do it again. I sort of feel like a good combination is Mac on laptop and linux on a desktop/workstation/server. But if for some reason Asahi went away I'm not sure I'd buy another Mac. I haven't used Asahi linux, but it's like an insurance or canary or test case or something. It's this thing in the back of my mind that doesn't really affect me day to day but is always there.

When I was thinking about linux laptops, I was leaning toward an HP developer laptop or Framework, or Starlabs I think? I mention it only because I'm not sure if your XPS experiences would transfer always.

If it makes a difference, I continue to use linux in various capacities, especially for work, so I don't feel like it's gone away entirely in my life. I might feel differently or stronger or something if I wasn't using linux at all anymore.
Mathematicians are like Chefs who can list ingredients perfectly, but can't explain how to cook the dish. They excel at stating what things are but fall short in teaching why and how things work.
https://en.wikipedia.org/wiki/Anwar_al-Awlaki

Was this an official act? The President of the United States ordered the military to kill an American citizen who had not been convicted of a crime, with the "due process" being a DOJ memo.

What would make a hit on SCOTUS any different? Both involve the President ordering the armed forces in his official capacity as Commander in Chief to kill an American citizen without trial.

The only difference would be motive, and the Trump v. United States opinion explicitly states courts cannot consider it!
It's bad timing for Russia now. If it were to happen to some other country 20 years from now, it would be less bad. For starters, we'd have 20 years of additional advances in robotics, healthcare, eldercare, or artificial intelligence.

Perhaps GenAI will wipe out a lot of white collar work in that time. This frees up people to do physical labor.

Maybe it supercharges robotics or drones by letting them understand the physical world better. Think robotic orderlies changing bedpans, or robots picking fruit. Then we need fewer people for labor.

More likely it will be a combination of both.
I was going to respond in detail to this, but realized I'd be recapitulating an age-old debate about full- vs. "responsible-" disclosure, and it occurred to me that I haven't been in one of those debates in many years, because I think the issue is dead and buried.
In need of a copy of ISO C printout?
> How about no one gets punished and service providers verify phone numbers instead of emails and we get to keep our inboxes clean?

There are plenty of scammer bots/accounts that get around this just fine.
And because of how markets work, that person who doesn't care is dictating what is available to us.
The show Vikings does feature a character with the similar name Athelstan [1], but he's a monk captured by the vikings, not a king who conquered the vikings.

[1] https://vikings.fandom.com/wiki/Athelstan
Against Searching for Saints: In Defense of Incentives
Advanced URL Rewriting with Apache Apisix
C has objects in the context of how the Abstract C Machine is defined by ISO C standard, nothing to do with OOP.
I've always been a big fan of structuring data on input, escaping it on output.

I think the big problem with just escaping output is that you can accidentally change what the output will actually be in ways that your users can't predict. If I am explaining some HTML in a field and drop `<i>...</i>` in there today, your escaper may escape this properly. But next month when you decide to change your output to actually allow an `<i>` tag, then all of a sudden my comment looks like some italicized dots, which broke it.

Instead if you structure it, and store it in your datastore as a tree of nodes and tags, then next month when you want to support `<i>` you update the input reader to generate the new structure, and the output writer to handle the new tags. You preserve old values while sanitizing or escaping things properly for each platform.
Enforced Amnesia as Way to Mitigate Risk of Silent Suffering in Conscious AI
Usually avoidance of copying or moving data is the primary reason. In filesystems, this is quite highlighted.
it's pretty trivial to implement this as a max of 14 byte overhead (with small string optimization), but more importantly, it's only 16 bytes on 64 bit systems, which pretty much by definition aren't that memory constrained (since otherwise you would be on 32 but).
Most security-oriented articles are written by extremely security-minded people. These people in my experience ignore the difficulties that a purely security-oriented approach imposes on users of the secure software. I always present security as a sliding scale. On one end "Secure", and on the other "Convenient". Purely Secure software design will almost never have any users (because it's too inconvenient), and purely Convenient software design will ultimately end up the same (because it's not secure enough).

That said, this is a good read for the most part. I heavily, heavily disagree with the notion that trying to write exploits or learn to exploit certain systems as a security professional is dumb (under "Hacking is C00L"). I learned more about security by studying vulnerabilities and exploits and trying to implement my own (white hat!) than I ever did by "studying secure design". As they say, "It takes one to know one." or something.
I also really wanted to like this, but I'd say it feels like I got a used textbook someone else doodled in all the margins of. My expectation was something more like Math Girls or The Manga Guides.