skysight-inc/HackerNews huggingface dataset:
I haven’t given it a shot, but this was recommended on a thread a few weeks ago: https://rust-unofficial.github.io/too-many-lists/
Fully agree with #embed. I don't really need the feature often enough to justify it. But it feels fine to use the preprocessor for it. It's annoying enough for the people who need it to have some build-system work-around, so just some simple straight forward implementation seems better than some over-specified solution for every possible use-case (imagine the horror of some template construct with locales/encoding specification added to it).
Also, even if C keeps diverging from C++ having these basic constructs stay compatible is worth quite a lot imho.
That was the status quo before fossil fuel proliferation. Most people were priced out of transport. And that's how it's going to be again.
The same reason small towns all over the world are - times have changed, and drastically.

Folks have to leave in search of work, the old ways aren’t possible thanks to our smaller, more efficient world.

The brain-drain kills off the village and what’s left is a rotting corpse of what once was. Or at least the corpses from those deaths of despair.
What if the dinosaurs hadn't gone extinct? Our world might look different
I don't think "doctests built in" means the same thing when Python has a module you must choose to import and add to your test infrastructure, versus Rust just tests your documented examples without any special steps - unless you tell it not to (either that a specific example is not suitable for testing, or just categorically don't run doctests).

This idea (doctests) is one of those crucial "You can, you should, but you probably don't" things where the point is to make doing The Right Thing™ so easy that you actually do it rather than just nodding when people say you should do it. You clearly should check that your documented APIs match reality, that examples work, but in many languages that's not easy enough to do out of the box, so either a project invests time and effort to do this or they go without and most projects will go without.

Over a year ago I wrote some MS Teams integration code in C#. Microsoft publishes documentation with examples for how to use the APIs for this. The documentation is wrong. There are open bugs on long abandoned (as is usual for Microsoft) repositories, nobody cares. But chances are back when they shipped the documentation if that had failed, somebody would have fixed it, maybe it'd take a few minutes or even an hour, but it'd save a nasty experience for lets say conservatively, thousands of developers. Instead it's just a much upvoted Stack Overflow answer with a workaround.
Co-ops and partnerships work very well for low capital intensity businesses, and coding is a low capital-intensity business in this day and age. It makes total sense that people are interested in such arrangements, it's not just a matter of wishful thinking.
Motivation and motivated people are products of certain behaviors.

* The primary driver of motivation in animal brains (even in small worms) is a healthy dopamine cycle. In the brain there exists a dopamine baseline by which regular drive and motivation occur. There are also dopamine spikes when a pleasurable moment occurs. A dopamine spike is always followed by a dopamine crash and that dopamine crash will always occur in the same ratio below baseline that the spike occurred above baseline. Driven people are able to maintain a near constant high baseline and recognize their depressive spikes with healthy and positive responses.

Drug use, except for caffeine, almost always damages and/or destroys either the dopamine cycle or permanent dopamine production. A primary motivator behind the consumption of drugs, particularly combinations of drugs, is chasing a dopamine high that has already left the brain.

* Openness is one of the big 5 of personality indicators. Openness is the willingness to try new experiences and creativity falls under openness. Openness is not in any way correlated with extroversion.

These are not necessarily alpha personalities, as in their goal is probably not to compete but rather to be productive and industrious and probably original. This is an important distinction because alpha personalities qualify their performance in comparison to others while industrious and/or creative people quality their performance in response to their output even when there are not other people to compare against.

Those two qualities are what you need to look for: healthy living by people with a naturally higher than average dopamine baseline and people with a high personality index in openness. I recommend looking for people who have an abnormal need to build and/or produce things. The famous musician Hans Zimmer is really good at this. He has a traveling band composed of a mix of classically trained musicians and rock/metal musicians. When Hans Zimmer looks for new band members he has on several occasions found highly talented amateurs off of personal videos posted to YouTube. These are people who may completely lake the confidence of an alpha personality, but are still driven to create music and post it on YouTube at risk of complete embarrassment. The result is that Hans Zimmer hires emerging talent on the cheap and this emerging talent is immediately thrust into world-class training.

* Guthrie Govan discovered by Hans Zimmer via YoutTube - https://en.wikipedia.org/wiki/Guthrie_Govan#Hans_Zimmer

* Dopamine explained in a 2 hour video by a Stanford neurology professor - https://www.youtube.com/watch?v=QmOF0crdyRU
Why do you need to heat the chamber to print in PETG? Or do you mean "instead of"?

I agree, BTW, PETG is much better.
That sounds like the youtuber carykh.
I would love to see a world in which a system is designed and built from multiple languages, so that the "right" tool could be used for each part. Does this even make sense? The modern distributed web seems to be leading us there. Slowly, slowly.

I would also love to see a world where all C, C++ dependencies magically port themselves to Rust without FFI or a first-cut rewrite that a hobbyist did. 10-20 years maybe?

Unless:

> One of the concerns is that C and C++ are being discouraged for new projects by several branches of the US government[1], which makes memory safety important to address.

Reading these posts really does make it seem like C and C++ are a derided, ancient construct of better days when we trusted software engineers and didn't write code for connected systems. It's just not possible to go back to those times.

While I'm extremely interested in Rust, the ecosystem for my entire industry is based on C++ with no change in sight, and built on C operating systems. Because, to date, we write code that executes on a machine that is not taking input from a user, and so does not have the brand of security concerns that make Rust attractive (for the most part). Here, static analyzers get us what we need at the 80/20 level.

1. https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI...
So, workers' movements don't benefit from their members going to graduate school?

Perhaps you have identified graduate school students as aspiring members of the petit bourgeoise because only individuals with such aspirations would rationally pay for graduate school in today's system.
The author sounds absolutely horrible.
Very interesting. Come to think of it I can remember a time when ibises were never about (this was a time of sparrows before miners took over the city). Anyway, one year ibises suddenly appeared as if out of nowhere. (When I first saw them I thought they were some exotic bird that had escaped captivity.)

We may have destroyed their natural habitat but I reckon they're more than just hanging on—they seem to have adapted to our city environment extremely well.

Thanks, you've answered a question I posed above before reading your post when I said they're the dirtiest scruffiest birds I've seen and wondered how clean they'd be in a natural environment.
The second tweet in the linked thread links to the paper which inspired them:

https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/201...

> who insist on putting their code into the public domain

You say that as if there is something wrong with that.
Check out Galene:

https://galene.org/

I don't think it uses ffmpeg, but it may have the features you are looking for
VLC is another option.
I'm going to counter this a bit -- if most of your coworkers want you gone, do you want to work there? Does it make sense to continue or would staying just mean continuing a toxic relationship for all parties? I think this just formalizes the quiet grumblings of people who who think "how is x person still here, they don't carry their weight" etc.

I think a more important concern is how does an org ensure that people remain tolerant and accommodating (both in legally required ways and in ways that expand your views and ideas) of people that may not mesh perfectly? I don't think a "divorce" of the org should be frowned upon and I think many orgs ought to codify how they sever to account for the possibility that people don't agree. I don't, however, believe that it's good to avoid conflict and sever every org over every meaningless spat.
Define the computeHmac method to return a secret(string) type?

Then define the equals operator for "secret" to behave in the needed way.
This are the weird and visible cases of HN's title rewriting algorithm going wrong.

I guess the cases where it does the right thing are not noticeable, and that's why I only see the bad cases. Are there examples where HN title rewriting did something good, or cases where before HN did this titles were very bad or clickbaity?
GPS tell patients to ‘get an Uber’ as NHS ambulance delays hit record level
If you follow the thread, there’s a link to https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/201... which contains this introduction:

========
It is widely recognized that rocket launches can be an anthropogenic source to trigger traveling ionospheric disturbances (TIDs) by generating acoustic-gravity waves (Afraimovich et al., 2002; Arendt, 1971; Bowling et al., 2013; Calais & Minster, 1996; Chou et al., 2018; Ding et al., 2014; Kakinami et al., 2013; Li et al., 1994; Lin et al., 2014; Lin, Chen, et al., 2017; Lin, Shen, et al., 2017; Noble, 1990). The rocket-induced long-distance propagating TIDs associated with shock/ducted gravity waves and internal gravity waves were observed by using Arecibo incoherent scatter radar (Noble, 1990) and ground-based Global Positioning System total electron content (TEC) observations (Calais & Minster, 1996). Lin, Shen, et al. (2017) first reported the rocket-induced shock waves and concentric TIDs (CTIDs) subsequently using Global Positioning System TEC over California-Pacific region. They suggested that the CTIDs are the manifestation of concentric gravity waves that were originated from the mesopause region.
====

The effect seems to be proven quite a while ago. Using GPS receivers to make that widely accessible seems to be new, but I honestly doubt that military intelligence would rely on that - I’m confident they have more direct methods to detect launches such as (radar) satellites.
MidJourney: What the creators say about AI in architecture and design
1) Swan Bitcoin, pretty simple, not an exchange, aimed at HODLers, easy and semi automated regular transfer to self custody, refrains from all involvement with shitcoins, promotes education about bitcoin.

2) yes
The strategies I usually see are (1) use a built-in dataset (2) make the data at the beginning of the example.
Hopefully it's built to be so scary it's never used at all.
I have a leftover 4Gb Rpi I don't know what to do with given the Xwindow forwarding function doesn't work and using the VNC client feels Microsoft I rather not toy with.
I guess you didn't see the depth of that one
We did something similar in my engineering school in France too.

Design a simple SPARC-like CPU, make it work up to VGA/UART(and PS/2 IIRC?) I/O on an FPGA board, write a compiler for a tiny subset of Java for it, and make your OS work.
Quite underwhelming. The two main features seem to be constant time operations on values wrapped with Secret, and easy SoA layouts.

The former is trivial to implement in Rust and C++, the latter is a bit more complicated, but also implementable in both via macros, in a reasonably ergonomic way.

What is the advantage then?
If op is affiliated with texmacs, your website (texmacs.org) is down.
I think you have the wrong end of the stick here. You're not going to get what you want by using the F-word, satisfying as it probably is to write.
In this case, though, in the powered-off state, it does not go to an out-of-range position, so I suspect there is something more to this arrangement.

The question is, I think, "what setting would be least likely to cause a dangerous situation, if the indicator failed and the crew did not realize it had?" My guess is that the least desirable "home" position is fully-open, if it would usually be important to have the cowl flaps fully open during takeoff and initial climb-out to avoid engine overheating. Fully-closed may also be undesirable, if there are cases when having them closed is important (maybe with an engine fire, to minimize airflow and keep the fire-extinguishing agents in place, or after an engine failure, to reduce drag?) Intermediate positions would be chosen with reference to the cylinder head temperature, so the specific reading of the cowl-flap indicator might be less important.

Or maybe its just that, for a differential instrument, the middle is an unbiased home?
Is it possible to reticulate physical splines?
Do you have evidence of that? If so what is it? And what is the source and quality of that evidence?
I don't know Ben Collins or why he is on the list. My claim was that the panicked tagging of Antifa accounts would suggest that the list does contain Antifa members, or people associated, hence the panic. I don't imagine it can be taken at face value, but if the list is small it could be a starting point for an investigation.
I'm surprised they haven't done this sooner. The original Motocompo has a pretty big following, and an electric version seems like an obvious progression.
Co-ops are in the first place about shared ownership which is a big help in bringing meaningfullness to the work one does. If the amount of money earned is the biggest motivation then I would say a cooperative is probably not the right fit in most situations.
> This is not an officially supported Google product.

Oh good, maybe it’ll be here a while.
I like the idea of the pentagon adopting corporate financial systems. At the end of the day, the soldier will connect from the battlefield with his rugged laptop and itemise every single bullet shot in fucking SAP. Likewise the F35 pilot will do his diversity training from his cockpit since the thing is supposed to fly itself. If every army does the same, we will bring peace to the world by means of overwhelming bureaucracy.
Completely agree - the individual loss of funds from wallet hacks, forgotten seed phrases, clipboard intercepting malware, spear fishing, DeFi etc is likely greater than what has been lost through centralized exchanges, etc. It’s really troubling to see that others in the “21 million club” almost encourage such losses as they “make theirs worth more”.

It’s like comparing deaths from car crashes to airplane crashes. Unless you’re personally impacted deadly car crashes are invisible (often not even reported in local media) compared to the big and dramatic deaths from plane crashes (often ~300 people at a time) that are covered in the news with the same level of intensity as centralized exchange losses.

50k people die from car crashes every year in the US but you essentially never hear about it as they’re largely considered a somewhat-reasonable and acceptable loss considering the population, number of cars, miles driven, etc in the US. Unfortunately with the “hope you learned your lesson” attitude in crypto.

At least with improved safety standards, etc the number of deaths from cars has been declining. With every mass exodus like this and the state of UI/UX in crypto the losses from self-custody are going to explode in the coming weeks, months, and years. To make matters worse I don’t think the average user rushing to transfer funds away from an exchange fully understand that they’re completely on their own at this point. Unlike every experience they’ve ever had with traditional finance there’s no such thing as a password reset and there’s no toll-free number to call for help when you inevitably lose funds via a hack, forgotten seed, etc.
Here is the code which generated the linked video: https://github.com/tylerni7/missile-tid
Guido van Rossum. Reflections on the asyncio.Semaphore class
Right, so you just thunk to a different region at the bottom of your own stack in that case. I'm not saying this is easy or simple, I'm saying it's possible to do it reliably entirely in software at the OS level without the need for patching a hardware mask.

Edit, just because all the folks jumping in to downvote and tell me I'm wrong are getting under my skin, this (untested, obviously) sequence should work to safely set SP to zero in an interrupt-safe way, all it requires is that you have enough space under your current stack to align SP down to a 16 bit boundary and fit 16 bytes and one interrupt frame below that.

Again, you wouldn't use this in production OS code, you'd just make sure there was a frame of space at the top of your stack or be otherwise able to recover from an interrupt. But you absolutely can do this.

mov %sp, %ax // Align SP down to a segment boundary
and %ax, ~0xf
mov %ax, %sp
loop: // Iteratively:
mov %ss, %ax // + decrement the segment (safe)
dec %ax
mov %ax, %ss
mov %sp, %ax // + increment the stack pointer by the same amount (safe)
add %ax, 16
mov %ax, %sp
jnz loop // + Until SP is zero (and points to the same spot!)
Thanks for your viewpoint. I am definitely not from the field, and stumbled across Sabine a few weeks ago on YT. At first, I found the format and presentation interesting... Then I started to become suspicious. And then, I saw this https://www.youtube.com/watch?v=PY_4S_dfUv4 which finally convinced me that she is playing her own kind of game. My feeling strange about what she does combined with your comment above finally convinced me to unsub her. Good.
I mean the comment they've responded to was essentially one too, and even worse combined with hero worship... I guess the good old adage is proven again: never argue with an idiot, they'll drag you down to their level and beat you with experience
SQL null is not like the null of programming languages, it behaves more like "unknown" than "blank". For instance, null != null. Arithmetic on null values is also well-defined so that 1 + null = null.

I'm not convinced that implicit nullability is a good idea, either in SQL or in newly designed languages.

I don't see the connection between implicit nullability and SoA. If you have a link to some example, that would be interesting to read.
Andy Ngo does nothing but post videos of innocent people being swarmed and attacked by violent mobs and tries to get them justice.

He is fighting against actual fascism.
for past 5 years, 90% of things i do is done in emacs. type errors have never been an annoyance to me and i do not recall comming across them at all. thats why i asked. pitty you can't give me an example
Calculate past stock investment value today
IIUC you can request exception and have your own personal projects, you're just supposed to be transparent about it. Your request will be rejected if it completes with Google business (like if you're making a new collaborative email and docs solution), but otherwise I've not heard any sob stories.
As others have already noted: yes, software could disable interrupts temporarily while changing the stack segment and pointer, but on these processors, there's a second kind of interrupt ("non-maskable interrupt" aka NMI) which cannot be disabled.

(Some machines using these processors have hardware to externally gate the NMI input to the processor, but disabling the NMI through these methods defeats the whole purpose of the NMI, which is being able to interrupt the processor even when it has disabled interrupts.)
> Remember you position, and tell me in 5 years tell me whether you are more or less able to move.

Checking my local council's upcoming plans for bike lanes and public transport regeneration, I'm pretty confident it will be "more". They're a sluggish lot, our council, but they'll eventually get round to doing the right thing.

>If you love cycling, great. Your grannie or child might not

I find it absolutely hilarious that of all the examples you could use, you say "grannie or child". Tell me, which two demographics are statistically the least able to drive anywhere? That's right, the very old and the very young. The very old, because of physical and visual impairments that make them unfit to drive (and often, but not always, unfit to cycle). And the very young, who are unable to drive either because it's illegal (<18s) or because they have no money (students and underemployed school leavers).

For your information, neither of my grandmothers can drive. And I'd prefer if you didn't just assume that I only cycle because it's an eccentric hobby (I actually do it for health and economic reasons, not for fun).

>So people in just the next town, are, as you say, now out of bounds to you. And you are happy about it.

I'm not at all happy about it, I believe I used the word "infuriating". It is insane that two cities, both >150,000 people and less than a stones throw from each other, have no safe cycling link. But, at least there are plans to build one, soon(tm).

> The plans are quite detailed about all the other things you will get a chance to be happy about. Online everything, micromanagements of resources.

My eyes are about to roll out of their sockets. I'll take the safe bike lanes and breathable air, thanks.
As I couldn't see the report itself linked from there: https://www.gov.uk/government/publications/huawei-cyber-secu...
I believe the PM is a direct result born out of the inefficient org chart of most organisations. So in the status quo it's a necessary evil.

I wrote about that here[1] but I also think there are ways how you can reinvent structures to cut out the PM[2]

1: https://andreschweighofer.com/agile/whats-wrong-with-traditi...

2: https://andreschweighofer.com/agile/collaborative-product-ow...
Nah they're doing just fine. I was googling alien porn and I landed here
The latter sounds quite inefficient, with the problem (already present in the current system) of school funding being tied to the wealth of the neighbourhood.
A Bank on Wheels for the Bronx
A Vast Experiment: The Climate Crisis from a to Z
True, but coops are also more selective about firing and hiring. So if you're a bad fit, you're less likely to end up in a coop, and if you do end up there, you will have more stable employment because coops generally don't fire people during crises, they collectively cut their salaries by a certain percentage, or give up yearly bonuses, and when things get good again, they reinstate their old salaries or bonuses.
For me, you are voicing principles that have been engineered in you. No one can choose constraint, etc. You say there are serious problems, but you have precisely zero personal evidence, like everyone else. You only have the (self-serving) stories that the authorities tell you. Oh, and, they will be doing the constraining. And you will pay. Its a good gig, if you can get it, I guess...
with secrets the timing safe stdlib variants are used, without, the fast ones.

timing safe means always using the full loop and not branching away on certain values. every value needs the same time.
I urge you to consider strongly this sort of thing.

Freedom of speech and of opinions is vital.

You can disagree with Musk (or even Trump) as much as you wish. But when you move to silence them (especially as part of a mob), you become the monster.