skysight-inc/HackerNews huggingface dataset:
I learned this truth in the School of Hard Knocks, and now I live by it. It's why there's a lengthy list of companies that I will never be willing to work at, and it's also why I'm in favor of probationary periods: you often can't tell if a company is out of step with your values until you start working there.
sure, but I would be surprised if a significant fraction of programmers knew that. When we hear the word "unit", that's not the first definition that comes to mind.
The original promise of React was:

UI = f(state)

The problems come when you modify state in response to rendering the UI. This seems deceptively natural (and in fact seems encouraged by on-line tutorials), but leads to "spaghetti fetching" when composing components together - it creates a "feedback loop" that modifies state just because some component happens to mount, which can then modify state further, then cause further mounting/fetching etc...

A better approach is to treat fetching as an explicit state change. If user clicks on a button, you do the fetch and modify the state. If that causes some components to be mounted - so be it, but does not cascade any further.
It doesn’t, really. Logseq can read and do some thing with .org files, but I wouldn’t use org-mode with anything other than EMacs tbh. It’s shoehorning otherwise.
the comment I am replying to explicitly mentions Linux as an alternative to Windows. In any case, yes, one could use Mac, as I do, but it comes with its own issues, starting from price. I'd happily switch 100% to Linux if I didn't need to work on documents edited with Office. The online version may actually solve this, but it's still buggy as hell.
I own https://Nestful.app which I made for myself.

Nestful is first and foremost a "what should I do next" todo app, but I've found I've been using it instead of Obsidian, even though the note-taking features are much less superior.

This made me wonder if some people are document people, and some are list people. If such a classification exists, I'm definitely the latter.
Will there be a way to make custom “apps” or “plugins”? Even just feeding it dynamic text to display on certain inputs or commands. Or are we stuck with the 6 features it comes with?
I'm slowly coming to the idea that the solution of this problem is to refine and reduce intake. I am a naturally curious person, as I assume many other people on hacker news also are. Unfortunately, this leads to what I've started calling "information hamster" behavior. I consume information almost habitually, without pausing to consider if I should consume it in the first place, or how it fits within a growing sphere of research and knowledge. Considering where something belongs, as a first step, before consuming it has been a tremendous help in staying organized. Obviously, as you consume the proper place for your notes might change, but essentially every system today can handle this flexibly. The key is making organization, filtering, and order a key part of the consumption process.

I'd also state that it's not always necessary to be super organized. Some people get by just fine living in a chaotic sea of notes. There's a reason that the stereotypical image of the professor involves a desk that looks like a tornado struck the office.
Also written as, "have done it, it's really boring, maybe teaching other people how to do it will be less boring"
That should be open to a tort, but the mere fact that someone wants to live next to you should be considered "fundamentally fine".
Y-Chromosomal Adam
I got mine done at 37, after having two kids, and they still asked me if I was sure.

I can see why you'd be hesitant to do it on a 22-year-old. If you asked me at 22, I'd probably say I don't want kids. But I completely changed my mind as I approached 30.'

Also, vasectomies are less reversible than people think.
I don't think a magic number is the right solution here.
I always think of unit as one - it has exactly one possible value.

Void doesn’t exist in ML
I think Jiff should handle that log use case pretty fine? That seems pretty standard. Just parse into a `jiff::Timestamp` and then you can sort or whatever.
FWIW, I finished a physics PhD 15 or so years ago, and 2/3rds or so of the people in the program with me have are married, and most of those couples have children.

There are certainly challenges to having a family while pursing a PhD, but they're not prohibitive, and there are advantages as well (flexible work schedule, Universities often have a lot of programs for employees with children).
It is not, programs that are accepted are proved to terminate. Large and more complex programs are accepted by BPF as of now, which might give the impression that it's now Turing complete, when it is definitely not the case.
Antiviruses are technically unsound as they fundamentally introduce great risks. As the slides mention, they inject themselves into every corner of the system, intercepts and plays around with every data within reach. Since antiviruses are complex pieces of software, there's so many risk at play here.

First, there's the risk of sensitive data being leaked. There's also the risk of the antivirus itself coming under attack by the data it's fed. If there's malicious data in say, an HTTP request sent to a web server with antivirus installed, the antivirus will happily scan that data and get pwned. Despite that, numerous antivirus implementations open themselves up to privilege escalation attacks by running everything as root and using unsandboxed processes to scan potentially malicious data. To make things worse, they disable OS security mechanisms to make things easier for itself. The indifference and recklessness on display is egregious.

The effectiveness of antiviruses are also suspect to begin with. Defining what malicious programs are in a way that's clear enough for a computer to understand is an impossible feat. But even if we did manage that, computability theory tells us that it's impossible to write a computer program that can tell us whether there are any malicious code in any given program. Antiviruses defy math.
The family would be too much effort for negative money.
The C code is a low level implementation of population count. AggressiveInstCombine.cpp first matches and raises the IR for this into llvm.ctpop.i64.

https://godbolt.org/z/8ronKz3Eb

Later an x86 backend can re-lower this into a popcnt instruction or to CPOP on a RISC-V backend or to CNT on ARMv8 or ….

https://godbolt.org/z/4zvWs6rzr

It can also be re-lowered to roughly those instructions on machines lacking population count instructions.

https://godbolt.org/z/aYsc9dz7f
You can also use the patterns to generate DNG/RAW lens profiles which allow automatic lens correction in popular apps like Lightroom etc:

Adobe Lens Profile Creator

https://helpx.adobe.com/camera-raw/digital-negative.html
It depends on if some significant chunk of the population naturally can't function on a regular basis and caffeine solves that or if caffeine withdrawals cause someone to be unable to function until they get the next dose.

If it's withdrawals then caffeine is creating the problem that it later solves, which means that consuming it regularly is not a net productivity gain over not using or using rarely.
Calling it polyurethane or polyvinyl chloride sounds less weird to some, more weird to others.
The article sort of touches on this, but in my experience working with React the most important thing is to keep as much as you can declarative. When you start doing things in an imperative way, particularly when they are async, that's when you run into problems. It's one of the reasons I find GraphQL such a good fit.
Wtf? If all of your neighbors don't like the smell of meat they absolutely can tell you not to cook it. That's what democracy is. Don't like it? Be a king.
While I agree in principle, in practice the result would probably be terrible.

Just look at tables in GFM, which mostly were designed as you propose. They look like tables even before rendering, however the experience of actually creating and editing the tables is not fun at all.

I have a horse in this race (co-founder of a markdown-based note-taking app) and to me, the benefit of markdown is easy + explicit editing, not that it looks the same in plain text vs rendered.
Did you read the article? It says computers will not crash in the future due to updates. It literally says that in the very first line of the article.

> In the future, computers will not crash due to bad software updates, even those updates that involve kernel code. In the future, these updates will push eBPF code.

What you are claiming is completely different. A kind of "firewall" for syscalls. But updates to drivers and software must contain code and data. The author is not talking about updates to the firewall between drivers and the kernel, they talk about updating drivers themselves. It literally says "updates that involve kernel code". Will the kernel only consist of eBPF filtering bytecode? How could that possibly work?
I think with these sorts of rant-like articles, my expectation is the author will tear down the strongest possible contra-arguments. I don't think this author is doing that. Quoting random numbers as "too big" and random examples of web apps as "too slow" really doesn't feel like more than an angry rant. Which is fine! But it's just not something I'm going to praise you for, even if I agree with some of the core points I think you're trying to make.

It would be nice to see examples of React applications commonly considered "the good ones", and showing us that they are actively subverting some element of React's framework to accomplish that feat, or how they could be better implemented with another framework/technology/platform. Show React actively standing in the way, versus ranting about how one of the most common JS frameworks, is commonly used to create sub-par applications on a platform renowned for it's size and accessibility to amateurs.
Did I miss something about what the term "internet piracy" means? From TFA:

> "We expect that this ruling will end the internet piracy and overcharging perpetrated on both airlines and other travel companies and consumers by the unlawful activity of OTA (online travel agent) Pirates," Ryanair chief executive Michael O'Leary said.

I thought piracy was distributing unauthorized copies of things like music and videos. Wouldn't booking.com's actions be closer to unauthorized ticket brokering?

I guess if you want to demonize someone for doing something you don't like it sounds worse to be labeled a "pirate" than an "unauthorized broker."
Might be the browser. Firefox has a setting for setting the mode. I have it on dark-mode, and the buttons are not working for me. With Chrome the site is opening in light-mode, and the buttons are working.
"Flourish" is a bit of an exaggeration. You have to jump through a lot of hoops to install malware of any significant capability on Android, ignoring like a half dozen red flags in the process. Obviously that's not going to be enough to stop everybody, but compared to Windows Android is practically malware-free.

But yes, in a corporate environment it might be prudent to have some kind of policy restricting users from installing applications from non-approved sources (or at least limiting what permissions such unapproved applications can have). Thankfully the permissions model of Android makes such restrictions trivial to enforce and minimally inconvenient compared to what you have to do to get an inferior version of the same thing on Windows.
diagrams + poems sounds like a wonderful time in code reviews!
For some reason the theme toggle button doesn't do anything for me, but I was able to get edit the css variable used for the 'highlight'.

document
.querySelector(":root")
.style.setProperty("--color-yellow-darker", "#4d4614")
Does anyone use obsidian for editing and managing emails? I have some email templates I need to adapt and send over and over (including file attachments and embedded links). I’d love a way to store and manage them from within obsidian without having to awkwardly copy paste into outlook, use an old Chrome plugin to convert the markdown to html, and manually attach the files. (My idiotic current scheme until I have a chance to “get myself organized”.)
Many methods are clean, but currently 95% of hydrogen production is not clean.
Although I do have plenty of real aliases, functions, and even whole shell scripts, keeping something as a spelled out command in history actually can be better in at least two ways: It's more flexible, and it's self-documenting.

Worked example: Sometimes I like to fall asleep listening to an audiobook or podcast. So I open termux on my phone, and run something like:

sleep 10 && date && mpv --volume=90 --speed=1.2 $AUDIO_FILE ; date

which gives me a moment to settle in before it starts playing, leaves the start/end time on the screen so I have a rough idea when I fell asleep, and presets the audio how I like it. Now of course I could extract that into a shell function like `mpv-tweaked` or whatever, but that would either hardcode all the numbers there, or require me to implement arguments, and even if I did they wouldn't be as visible. By just pulling it up with ctrl-r and editing as needed, I have all the options visible right there and every one of them is obviously labeled.
>I have seen many people downplaying the complexity of a datetime library. "Just use UTC/Unix time as an internal representation", "just represent duration as nanoseconds", "just use offset instead of timezones", and on and on

Anyone thinking datetimes are easy, should not be allowed near any schedulling or date processing code!
Thanks for following up!

> For example I don't understand people who go to a beach and spend half a day there

I think beach days may be similar to your "something about sleeping in a car in -15°C (5F) that's just amazing". Some people really enjoy the sound of the ocean, the warm air, and the occasional dip. There's also just the social aspect of being outside with your family or friends and feeling that heat.
it seems like the shares should be accumulated first so the take over is not a coup, but a restructuring.

that being said, engineering the straw purchase and smurfing of shares to produce a controlling, or super-leveraging investors group sounds like what the "bad guy" does.
Not only is it a completely conspiratorial claim, the much stronger argument against it is simply looking at a region of the world where elites still heavily advocate family centered norms, i.e East Asia.

In those countries the other social strata don't happily follow suit, young women do something else, they opt out of family formation altogether. If you go to South Korea and ask pretty much any young educated woman why she doesn't want kids or even a relationship, the answer is that she'd risk being trapped in it and disadvantaged at work. The same is true in Iran or Turkey which now have lower birth rates than France.

This stuff has nothing to do with "elite values" or "luxury beliefs", I'd say it barely has a cultural component. As education levels and absolute incomes rise virtually everywhere people change their values.
It's perfectly possible and common to generate a server-side render with the data fetched, so it doesn't break any consistency with the client-server model.
Yep.

My county deregulated housing. Literally no code checks. A permit was me drawing a square on a map, paying a few hundred bucks and it was rubber stamped in a few days.

It was an absolute godsend. I built the house myself for 1/3 the price of even a clapped out trailer.

Sure I could have built a firetrap but I have to live in the fucking house, so I did the best with what I can afford. We all have to live somehow, asking people to do their best they can with what little they have to protect themselves and neighbors should really be the most we can ask. I could never afford a 'real' developer built house anywhere near jobs.
Lets say you have an idea and want to make money from it. Does it make sense to spend weeks trying to get your infrastructure right vs. just start solving your problem domain? In a lot of cases it's worth the extra cost just to have something up and running quickly. Iterating over your software instead of your infrastructure.

It's the same for a lot of similar things, Deno land, cloudflare workers/pages, etc. Things that reduce the friction to get something running online can be beneficial. They all have practical offsets and negatives too.

It's not a bad decision so much as a decision of where you derive value, and how much.
It's as latexr said, my counterfactual anecdote holds as much water as the OP's. That's the point. Neither forms a verifiable statement of fact.

Regarding happiness or a Ph.D. being an amazing experience, I didn't say a word about any of that. Those seem to be some very strong assumptions around marriage/kids = happiness or engineering/marketing = misery that you're making.
Interesting, I didn't read that as a DEI hire at all. I interpreted it as though he was just hinting at or throwing out a clue as to who he had already selected.
There is indeed a units library [0] aiming for standardisation in C++29.

[0] https://github.com/mpusz/mp-units
The Italian translation needs some love, let me know if you need a hand with it.
You cannot have option 2; jury instructions required that CFAA requires >= $5k of damages. ("If your answer to that question is no, do not answer the remaining questions in Section 1").

So, damages of 5k is strictly the lowest amount possible while also answering YES for CFAA.
You can use void for that.
> ON ERROR RESUME NEXT

Ah yes, the load-bearing magic words that somehow made my programs work... I kinda miss vb6 :-)
> Being emotionally available, participating in chores, providing a comfortable lifestyle while not working all the time, being reasonably well-read and good conversationalist, etc.

I...honestly cannot tell if this is meant ironically. Those things seem like table stakes for being an adult. It's not "expecting more of them" to simply expect people to...grow up, and help care for the other people in their lives. You write "participating in chores" as if that's one of a list of demands!

That's not a demand; that's just...life.
It lets you do the thing so many people do today- half listen and play with their phones at the same time- while seeming more polite.
https://x.com/drgonzo123/status/527520297512345600
The fuel cell tech isn’t the problem, it’s that there is no hydrogen gas infrastructure. And there’s certainly no robust H supply that doesn’t include fossil fuel to create the H gas.

Hydrogen fuel cells are just this constant pie in the sky thing. Stop making them and go solve the H infra problem, that’s the barrier.
Most home internet connections don't have enough upload bandwidth to do that.
And while it is being used now to simply reference the article, RTFA was originally used in the same way as RTFM. A way of expressing frustration to a commenter who should have read the fucking article first.
Yea, this is what I got out of it too: The "elite" (whoever they are) are deliberately changing cultural norms to promote single motherhood, unmarried cohabitation, family instability, and so on, but they hypocritically forbidding these things in their own families, and will only admit it in private.

Two questions he doesn't seem to answer:

1. How are The Elite™ actually doing this? Cultural norms are set by culture itself, not some "cultural lawmakers" holed up in an ivory tower somewhere. By what mechanism are these upper class mustache-twirlers "setting cultural norms" for the rest of us? I think this needed more discussion.

2. Why are they doing it? How do they benefit from growing dysfunction and deprivation and society in general going down the drain? How are they benefiting from unmoored non-productive men sitting around all over the place? What is the end game?
I've been using Obsidian for a few weeks. It fits my note-taking style (Markdown and wiki) and I want to like it, but honestly it's a struggle.

My main issue with Obsidian is the steep learning curve because Obsidian is not self-contained; it needs many plug-ins, templates, and customization. I tried to keep things simple but it seems that to be useful you need Better BibTeX, Zotero, Zotero Integration, Pandoc, DataView, and so forth. All of these have their own learning curves and configuration, so it's a slog to get started. Obsidian seems designed for people who enjoy extensive customization and tweaking.

My second issue is that Obsidian is very free-form, so you need to decide on an "ideology" of how to use it. Do I want to go with Zettelkasken or Johnny Decimal or organize in folders or organize with tags or use Maps of Content? So far I feel like I'm ending up with a mess of notes, which isn't really helping me.

I started using Zotero at the same time. I highly recommend Zotero. It's essentially a PDF organizer and document citation system. Before Zotero, I had piles of PDFs in various directories and I couldn't find the information I wanted. Now I click in my browser and Zotero downloads the PDF, does OCR, auto-generates a detailed citation, makes everything searchable, and lets me annotate PDFs and take notes. Zotero is straightforward and has been a big help to me.

Zotero and Obsidian are commonly used together, but I haven't got the hang of the integration, so I'm open to suggestions. Specifically, I have notes and annotations in Zotero. Then I import everything into Obsidian and have a copy of the record in Obsidian. Now I have duplicated data. How do I keep things in sync? Should I be doing all my note-taking in Obsidian, or use Zotero's notes for a first pass through the document, or keep some notes in each?
How do ppl currently handle it in big systems like oracle/dynamics or whatever.
composite airframe to nip corrosion in the bud

Aren't there still all kinds of fasteners, brackets, sensors, etc? How much of that is proper 316 stainless vs. materials that will have the traditional corrosion problems? What other mitigations are made on seaplanes?
I've tried this exact scenario and they're really not great.

They fall down when you want to partially collapse the trace.

Mermaid supports either fully-collapsed, which will re-order your items, or not collapsed at all.
Canary deployment for subset of Salesforce customers won't see much of revolt from customers compare to AV definition rollout (not software, but AV definition) in Cybersecurity where gaps between 0day and rollout means you're exposed.

If customers found out that some are getting roll out faster than the others, essentially splitting the group into 2, there will be a need for customer opt-in/opt-out.

If everyone is opting-out because of Friday, your Canary deployment becomes meaningless.

Any proof that other Cybersecurity vendors do Canary deployment for their AV definition? :)

PS: not to say that the company should test more internally...
Microsoft says EU to blame for the world's worst IT outage
Thanks! This was not a familiar acronym to me... and after some digging[0] apparently it's no longer an acronym:

"BPF originally stood for Berkeley Packet Filter, but now that eBPF (extended BPF) can do so much more than packet filtering, the acronym no longer makes sense. eBPF is now considered a standalone term that doesn’t stand for anything."

[0] https://ebpf.io/what-is-ebpf/
Right, so was I. ;) The point of the law (that requires on-site supervision) is to prevent workers from jumping into the hole without safeguards, regardless of what they know or think about the risks.
> I see it more like a limitation of server-rendered web apps.

It's not an intrinsic limitation of server-rendered apps. Apollo solves this https://www.apollographql.com/docs/react/performance/server-... as do many other data-fetching libraries.
I mostly drink decaf. Not a soda drinker. Tea with sugar mostly or just plain water.