skysight-inc/HackerNews huggingface dataset:
> as a human, I can reason that it is safe

This assumption has been tested at societal scale and proven false, at great cost.
Trigger.dev v3: Durable Serverless functions. No timeouts
"yes men" give a shit about the backlog or hard convos and just collect their paycheck?
both are difficult to work with since it's not the job of a data format, but table editing tooling on top of that, but the markdown tables that look like tables aren't difficult to read unlike HTML
Sorting something is not the same as cleaning it, just like sorting an array doesn't sanitize its contents.
Love Sam and the channel. I saw a weird speaker (massive leslie-type thing) locally being given away and let him know about it, and a few months later, he'd picked it up and made a video on it [1]. Was nice to be able to add something to a museum that I'll eventually get to visit when I have the time!

[1] - https://www.youtube.com/watch?v=SBTJAtiSbxw
Can I install Android on a macOS VM on UTM or parallels?

Virtualise Android to emulate x86
From the perspective of the US that makes sense. It's legal to say practically everything but hostings will kick you out if they don't like you.

But in the EU speech is restricted and hostings won't kick you out unless you say something illegal... and at that point you'll be in trouble hosting stuff using your home connection.
OMZ is fast even on my phone.

It turned slow for a whole after I installed anaconda. If you use conda and your shell is slow, try commenting out the code that loads conda, because it's probably that.

nvm likes to slow things down too. Not as bad as conda, but I did add some code to delay load it.

Do you know how fish would prevent getting slowed down by external scripts in its configuration file? Or does it just not support those scripts perhaps?
Ansible vault, anyone?
Some of the best coffee I've ever had was from my moka pot. Now this is only 1 in a 100, but it's those few lucky brews that keep you coming back.
Towards member patterns [Brian Goetz]
The two things you can do in the shell you mostly can’t do elsewhere is compose arbitrary commands and store custom commands.

For #1 this blog post has some good examples of quickly chaining together commands (though personally I rarely use xargs) https://drewdevault.com/2020/12/12/Shell-literacy.html

For #2 once you’ve got a command you like, maybe one that generates a metric, you can now re-run it with ease from your history, saved text file, or an alias. You could also share it with teammates.

Please correct me if there are other ways to achieve the above, shell is the only way I know
Then you will never understand these people.
I imagine it's probably more than just price. A laptop is less portable and requires a backpack to carry it, and requires access to wall sockets to continuously charge it. You may be at greater risk of being robbed, and the people around you may have distrust of such technology or there may be other social factors at play. You also have to have the digital literacy to operate a full blown desktop operating system (may not be as much of a problem for people who figured out Termux, but Android is still much simpler in general).

Plus if someone has an Android device it doesn't mean they were easily able to afford it, it could've been a gift from long ago, or a hand-me-down, or required years of hard work to get, etc
> As long as we all remember that it's never a bad day to punch a nazi

I'm not sure if I like the idea of being violent towards anyone because of their beliefs. Also, terms like nazi, antisemite or racist completely lost their meaning and nowadays just mean someone you disagree with.
It entirely depends on your reason and expectation of the service. Yes, it would be best to separately host it on entirely different infra. However, if you have 1 x server, and you want to check that the services it is running are functional (such as a web server, app and database are functional), then co-locating this on there would be ok, providing the server itself doesn't go AWOL.

However, running this on a dedicated virtual server or raspberry pi would likely be always better.
That's fair enough, in which case ipv6 is really only a /76 (having more than 1000 hosts on a subnet isn't a great thing, even with no broadcast and arp and other traffic, and /76 allows 4000 on a /64)

Those fanboys going "we'll never run out of 2^128 IPs" are being disingenuous when about 2^59 of them have been burnt straight away (I'd guess most subnets have less than 30 devices)

2^64 subnets is a reasonable number, but when they are handed out like candy that number dwindles quickly. ARIN is allocating the equivalent of a /15 every year. That's fine if it's a constant allocation, there's 100,000 years worth, but if that rate grows, the space will be eaten in a matter of a few decades.
I still have a HP 6P. It's even wireless (infrared port)!
The right's position in Europe is that it would like to preserve borders and stop people moving between countries. How is that similar to WW1 or WW2, which were wars intended to abolish all borders and allow citizens of certain countries to move and settle all over the continent against the will of the people who lived there?
Facial recognition might be easier
I'm not part of the project but it seems to be generated from this package https://github.com/csnewman/ffmpeg-go/tree/master/internal%2...
This is a funny and digestible read, thanks for sharing!
Or perhaps all those people on here who defend US Standard measurements over metric and quote the fractions they know over decimals as an advantage are a minority?

Perhaps the average Joe would be better off with mm rather than 1/16" increments.
I stumbled over marsaglias usenet post before.

One thing this article didn't discuss is choosing a seed, I think humans are better at coming up with a single random number than with a sequence of random numbers, but I still like to incorporate some "randomness" from the environment.

You can e.g. add the count of something you don't know the count of until you count it to the seed. For example: floor tiles in a room, books with the color red in a book shelve, ... you can obviously also throw a coin or something like that, but that's a more involved action.

If you are really dedicated, then you could mix in some environmental randomness after ever n iterations.
Nu-Klear Fallout Detector (late 1950s-early 1960s)
I think it's a bit strong to say that branch prediction "solves" the problem of x86's complex variable length encoding. But it certainly goes a long way to mitigating the handicap, and allowing x86 uarches to be very competitive with more RISC designs.

I suspect that original handicap is a large part of the reason why x86 managed to become a dominant ISA, beating out all of its RISC derived competitors in the high-performance space. The requirement to continue supporting the legacy complex instruction encoding forced x86 uarch designers to go down the path of longer (but not too long) pipelines, powerful branch predictors and extremely large out-of-order windows.

It wasn't the obvious approach back in the 90s/2000s, high-performance RISC designs of that era tended to stick with in-order superscalar pipelines. And when they did explore out-of-order designs, they were much more restrained with way smaller reorder-buffers.

But in hindsight, it seems to have been the correct approach for high-performance micro arches. I can't help but notice that modern high-performance aarch64 cores from Apple and Arm have pipelines that look almost identical to the designs from AMD and Intel. Main difference is that they can get away with 8-wide instruction decoders instead of a uOP caches.

> which, by the way can not be as compact as compiler-generated RISC instructions - you typically need 64 bits per internal instruction or similar

Nah. According to Agner Fog's testing, Intel only allocates 32bits per uop.

Immediates/Addresses larger than signed 16bits are handled with various complex mechanisms. If a 32bit/64bit value is still inside the -2¹⁵ to +2¹⁵ range, it can be squashed down. Space can be borrowed from other uOPs in the same cacheline that don't need to store an immediate. Otherwise, the uOP takes up multiple slots in the uOP cache.

I suspect AMD also use a similar mechanism, because as you point out, caching un-encoded uOPs would be a huge waste of space. And there is no reason why you need to use the exact same encoding in both the pipeline and the uOP cache, it just needs to be significantly easier to decode than a full x86 instruction.
In case of status page you would want to host it in a different server / zone.
Nope. If you're trying to recover bits from a signal which is either high or low, and the signal stays high for a long time, unless your clocks are perfect (they won't be) you won't be able to tell just how many bits were in that long period of "high"s.
More interestingly the optimum for the rest of the details is probably quite different from person to person. It's unlikely we like exactly the same coffee so even if we optimise very aggressively we'll probably end up at different optima.
There is also this gem of a website, where you can explore a 3D CT-scan of a Bialetti moka pot, to see all its features and flaws:

https://www.scanofthemonth.com/scans/coffee
"A lot" means 2, they weren't neo-Nazis, the CDU also had people there and the meeting was so secret that journalists turned up to it on the day it was happening.
Flight attendants on my last flight were joking with people in the exit row that during the pre flight check they are not actually locking the door, all they do is engage/arm the slide. The main male flight attendant said “doors are already locked!” and I said - but are the bolts tight? Guys face went absolutely frozen for a second and then he chuckled and said “we’ll be fine”
Why are we templating YAML? (2019)
I've been thinking along similar lines for a while now, among a lot of users there isn't a sense of security 'hygiene' and a lot of trust granted that doesn't have a foundation beyond looking legit (i.e. has a github). The main thing that seems to be stop it happening is a lack of returns compared to going after a corporation or social engineering/phishing to find someone who will give you money. What I do wonder about is supply chain attacks on something used by a lot of smaller projects, which would end up hitting more targets compared to compromising individual small projects.
excellent progress, love to see it. time to retarget an ocamlopt for it yet, or not quite ready for such experimentation?
I think it’s a bit more nuanced than that. The UX of IPv6 is still decidedly inferior. Typing a curl command etc or in general manually typing and remembering IPs is decidedly more difficult with IPv6 vs IPv4. I think IPv6 needs either a killer command line tool or aliasing scheme to overcome that stigma.
For "cooling by radiation" there's, counterintuitively, laser cooling:

https://en.wikipedia.org/wiki/Laser_cooling

"Laser cooling relies on the change in momentum when an object, such as an atom, absorbs and re-emits a photon (a particle of light). For an ensemble of particles, their thermodynamic temperature is proportional to the variance in their velocity. That is, more homogeneous velocities among particles corresponds to a lower temperature. Laser cooling techniques combine atomic spectroscopy with the aforementioned mechanical effect of light to compress the velocity distribution of an ensemble of particles, thereby cooling the particles."
In a sense that misses the metaphor, sure.

But the thing which is "dirtier" is the wider universe, where the energy you used to do that sorting has higher entropy.

At the scale of atoms and molecules in a gas, you can also sort them into high-energy particles on one side of a barrier and low-energy particles on the other side, and now there's a heat difference you can run a heat engine. This is totally a thing you can do with the right devices — but those devices will necessarily consume more energy than you get from a heat engine running on that heat difference.

https://en.wikipedia.org/wiki/Maxwell%27s_demon
Is there anything more pointless than signed commits? If your security team ever enforced it you're probably already pwned but may as well replace them just in case.
It's been a while since I've programmed in Rust, and I was initially surprised that the get() call returned garbage. Could anyone explain why that is? I mostly program in C++ and C#.

After thinking about it, my intuition is that:

- the Vec was passed by value to the function, which in Rust means something different than passing a std::vector in c++ to a function, due to...

- Due to the language semantics, its reference counter remained 1 while inside the function, but decreased to 0 when returning to main, since in Rust if it isn't a borrow (ref) then it's a "steal" - the callee "steals" the Vec completely from the caller. Or something like that.

- Since the reference counter is 0 when returning to main, the Vec is released, akin to calling its destructor if this was C++.

- SOMETHING changed the value of either the internal pointer to the heap inside the stack-allocated Vec (so now it points to garbage), OR something overwrote the Vec's content with some garbage. I'm not sure what that something is, and why would it do that.

I apologize if my explanation/intuition above is garbage in itself, like I said it's been a while since I programmed in Rust.

Edit: formatting
Which people? In my comment I'm talking about like 4 distinct groups of people, which one you mean, exactly?
I think that people get too used to their environment.

You mentioned build tools. Ruby's build tools are still inferior to Java's Maven. Granted, few build tools are as good as Maven. This is coupled with something you haven't mentioned, which is the native libraries that Ruby also depends on, plus the management of Ruby versions (e.g., rbenv, rvm), something that Java, for example, seldom has to deal with, i.e., Java dependencies are mostly pure Java, and the latest Java can still work with JARs compiled for Java 1.x. This backwards compatibility, which makes the latest version good enough for most projects, is also shared by Node. The latest Node LTS is usually just fine. Ruby's situation is not as bad as Python's in this regard, but many times you still get the sense that, in order to get a reproducible build, it's wise to just build inside a Docker image.

The problem I see with Rake, or Bundler/gemfiles is that the syntax is just Ruby code. It's a DSL described by Ruby, the language being good for it, but it's Ruby code nonetheless, which makes tooling more complicated than it needs be. Rake is cool and all, but `make` is available everywhere, and that basically kills any potential that Rake might have for non-Ruby projects.

I'm glad to see that RuboCop exists, or the LSP situation improving. The problem that Ruby will always have is that it's a dynamic language that's not JavaScript, hence anything related to static analysis is subpar. This is something you may be able to live with, due to the very playful way people tend to work with in Ruby (or other dynamic languages), but tooling will always be subpar compared to static languages.

And granted, many other languages have bad tooling, too.
Absolutely agree.
I would be adding webhook integration with custom data transformation for popular providers like Slack/PagerDuty/Discord etc
Thanks for pointing this out
You know what? You might be right. However, Verizon seemed to pitch it as some sort of "brain" when I was there. At least, they definitely implied the transistor originated there. But thank you for clarification. Always appreciated.
I’d be interested in understanding why the compilers never panned out but have never seen a good writeup on that. Or why people thought the compilers would be able to succeed in the first place at the mission.
This is an excellent point because entire tools exist with ipv4 to calculate subnets and unless you do base math all the time you’re usually using them to figure out stuff like CIDR overlaps
I have no idea what you are referring to since Ruby has the second best tooling of all programming languages I have worked with after Rust. The excellent tooling is one of the reasons I liked working with Ruby, the language itself is pretty meh. A nice scripting language but nothing special.
(The Broad Street in Oxford, England, for those of us who wondered.)
The aliasing scheme is called DNS.
I always wished they would make a transparent one
It's great, but if you want to do it right with most pots you should use pre-heated water at almost 90°C, since prolonged heating makes the rubber gasket smell and it marks the coffee.
That’s because the box isn’t a closed system, you’ve interacted with in and you have spent energy sorting the bricks. It’s the same story with humans on earth, things get sorted because of the energy inout from the Sun.
Grml zsh is all I need https://grml.org/zsh/
Interesting. May be I can add a gradient from red -> yellow -> green with effected minute count, normalized to gradient threshold percentage. Let me try doing that
Use the tool that best solves your problem. What’s your problem? I would focus on that first
Improve your Google Meet video calls with the AI Webcam Effects extension
New AI-powered extension to improve video calling in Chrome. The extension uses sophisticated pre-training models for remarkable segmentation and edge detection. It offers virtual background, blur, beautify, auto crop, color correction, lower third, emoji and other various effects.

We can use it on any platform where Chrome supports extensions, such as Windows, MacOS, Linux or even Chromebook.

The latest release introduced screen, video and sound recording.
Why are people bad at coming up with random numbers?
The reason this isn't a doomer Elon Musk theory is that the numbers are very counter intuitive. Add to this the fact that our average age is also rising, hiding the worrying signs even more.

Imagine we have a society with 100 people with a fertility rate of 1, that give birth at 20 and die at 80. Here is how that looks:

---

Year 0: 100 newborns (Population is actually 300 at this point)

Year 20: 100 twenties, 50 newborns

Year 40: 100 forties, 50 twenties, 25 newborns Year 60: 100 sixties, 50 forties, 25 twenties, 12 newborns

Year 80: 50 sixties, 25 forties, 12 twenties, 6 newborns

Year 100: 25 sixties, 12 forties, 6 twenties, 3 newborns

Year 120: 12 sixties, 6 forties, 3 twenties, 1 newborn

within 120 years you've gone from 300 people to 22 people

Korea is worse than this. Japan is close, Europe is getting close. A birth rate of 1 is not impossible worldwide soon.
Oh I dunno - “Apple Vision Pro has already has third party battery belt holsters for sale”

The external battery was never a secret. Yet you decided to change the title to make it more clickbaity.
On the “suffix” side there was EDB -> rebranded EDB -> EDBErgoGroup -> Evry in several years. Also changed hands following a loss of major customer in 2015 before being merged with Tieto
Who decides what is and what isn't music? My mother always said it's not music what I listened to. I disagree
It isn't "talking shit", what he's saying is broadly true and you're not doing poor people any favors by pretending otherwise.
Uptime-Kuma: A fancy self-hosted monitoring tool
Opencv-Python adds support for Pathlike objects
It took nearly 10 years since Pathlib was introduced for one of the most popular python library to support it, but it's here. Hoping for no more `str(path)` across python.
The Macroeconomics of Epidemics
Oh. Maybe. Is a 'tong'-sticking-out smiley appropriate? :-P
There basically is no healthcare competition in the US at all regardless of any qualifiers. You often don’t even know how much a procedure will cost you. That fact alone means there is no price competition. Even if in the past there were hospital competition (assuming you’re in the position where you have the time to shop around), hospitals are merging regionally to take care of that.

The US healthcare system is incredibly expensive and ineffective. Americans often like to come up explanations for this status quo but the fact is the system is trash when compared internationally.
The money flows differently if you pirate it...

If you have a prime account and watch the show, then the shows actors/creators will get paid some cents from your prime membership fee.

Whereas if you have a prime subscription and pirate it, they won't.
I work in Cybersecurity. If I hear self-hosted, I understand "on premises", that is that the service is inside the company.

"Self-hosted at AWS", while technically correct, is not what springs to mind and can bite you back.

I agree that self learned, hosted at AWS is best and your will get more relevant traction
Summary/tl;dr:

We extend the canonical epidemiology model to study the interaction between economic decisions and epidemics. Our model implies that people cut back on consumption and work to reduce the chances of being infected. These decisions reduce the severity of the epidemic but exacerbate the size of the associated recession. The competitive equilibrium is not socially optimal because infected people do not fully internalize the effect of their economic decisions on the spread of the virus. In our benchmark model, the best simple containment policy increases the severity of the recession but saves roughly half a million lives in the United States.

https://academic.oup.com/rfs/article/34/11/5149/6213914
by freeing people from wasting money on rentseekers and letting them spend money on more productive things?
You can do those in private windows, there's separate permission for those: https://support.mozilla.org/en-US/kb/extensions-private-brow...

Miners need the least amount of permissions anyway.
I’ve been using Linux for decades and, although the command line is second nature to me, I still opt to use GUI tools because they tend to be far more efficient than their terminal-based counterparts. There is, however, one task for which I always turn to the command line — and that’s finding files.
The parent's point is that there is no separation between "before" or "after", it all ends up in the same artifact. And when you write invalid code, you have no guarantees about the compiled artifact anymore.

There is an example of C code (fairly sure I saw it on HN) where violating a UB rule caused an entirely dead piece of code to suddenly be executed, which even made sense after explanation.

In the linked article, Rust-minus-borrow-checker somehow caused an invalid number to appear inside a compile-time static array.

Sure, poke around the results of UB all you want. Curiosity is great. But at some point you'll have to compile your hypothesis as part of valid code, to be able to trust the results.
Mathematical randomness is not exactly a skill required for survival. In fact, our ability to produce random numbers is so bad that our brains consider true randomness to not be random, as this blog post from Spotify shows:
https://engineering.atspotify.com/2014/02/how-to-shuffle-son...
Toxins are real, and disrupt metabolic processes.
26B Record Leak: Dropbox, LinkedIn, Twitter All Named
One I've encountered is putting any surplus money into tattoos because they can't be stolen, repossessed or otherwise lost, thus making them a savvy place to put money.
Choose boring and flexible, not malleable
I don't think this is true
https://usafacts.org/articles/how-have-cancer-rates-changed-...
When you need to rename 5000 files from abcd_small.jpg to abcd.jpg, how do you do that?

rename s/_small// *_small.jpg

When you have the string ABCD_XYZ in 50 files but you need to change it to DEFG_UVW, how do you do that?

perl -pi -e 's{ABCD_XYZ}{DEFG_UVW}' **/*(.)

When you need to move all the files ending '.png' into the directory 'PNG', and all the ones ending '.jpg' into 'JPG', how do you do that?

mkdir JPG PNG;
for i in *.png *.jpg; mv $i $i:e:u