skysight-inc/HackerNews huggingface dataset:
The Making of a New American Epidemic
4x vs. the old i5, not the M4. They are trying to say that comparing to a CPU released four years ago is pointless because the newer CPU is obviously much better.
Thanks! Adding customisable fixed holiday days could be a nice idea :)
Heh.

"To be fair" wrt Donald Trump, in my opinion the Generals were bang on describing him as a Fascist but he's nowhere near the level of being an actual Nazi that, say, his father actually was.

He's primarily a self serving opportunist and a supremely talented and natural grifter, the people to really worry about will be his his appointments in this coming term - they'll have their own agenda's and will have relatively free reign to pursue them as long as they are loyal to Trump (in his opinion).
Same here. DDG usually works fine for me. Even more so if using advanced techniques like quotes for keywords and - to remove junk.
IIRC as well, the M3 chips had an odd efficient to performance core ratio that’s not present in the M4, which is slightly interesting
I make a habit of talking to at least one stranger every day. I have met quite a few people who interested me that way.

“Interesting” doesn’t describe a property of people. It describes how you react to and feel about them.
UPSERTing with ROM and Sequel
They were the same a long time ago, but there has been some drift. If you use the wrong typeface, it’s still intelligible but looks strange.

Blog post I found with some examples: https://blog.skritter.com/2015/06/font-differences-between-j...
> within weeks had significantly degraded Taliban/Al Qaeda's fighting ability

I'm not sure whether it was genuinely degraded (eg, Taliban controlled areas giving up their weaponry and not permitting new stocks) or temporarily interrupted (cash buying a temporary cessation in attacks).

I wasn't there so I can't comment but from 15000 miles away Afghanistan looked a lot like Vietnam to me. Maybe not in the Westmoreland mode of body count, but in the failed attempts to win hearts and minds as a counterinsurgency tactic and the difficulty of crossing a cultural chasm in order to do so (and failing). Plus the propping up of local potential leaders that really had no national legitimacy and doomed attempts to localize the war (aka what Nixon once called Vietnamization).

I'm not saying I could have done any better. Afghanistan was and remains a fiendishly unwelcoming place.
have you tried e2b.dev? it runs lightweight sandboxes using firecracker, python and third-party packages

disclaimer: i work there
it's already happening
Search is still better for getting to specific, existing documents you need. Even the RAG people have been finding that out with hybrid models becoming more popular over time. I also think you can update search indexes more cheaply than further pretraining LLM’s.
Immorality Begins at 40 (2016)
In rust, this is y=x.lock(), and later drop(y) or just end the scope block.

Sugary syntax is always an issue when side effects matter.

Having said that, I adore procedural code in general, but it does make ownership a fun mental exercise.
Many Kanji and Chinese glyphs are distinct. There are also many variants of Chinese, among them simplified and traditional. They don't have distinct Unicode codepoints due to Han Unification which tried to cram them all into UTF-16.

You have to know the intended locale or the text to disambiguate and select the correct glyphs.
I have a planned trip to work around. I want to make sure those are booked, and allocate the rest optimally. I suppose this is the same problem as having extra days to allocate.
same i have the whole series on CD
Beelink's $299 base model of their compact desktops is enough for most regular home users. Not as powerful as the Mac Mini M4 but half the price and double the storage. Plus you can upgrade your own storage to 2TB for about $100 and it'll be faster than the Mac Mini's.
https://imgur.com/uMuoeuC
That's an interesting way to describe the English language.
Although wealth inequality would not be such a big deal if there were sufficient merit based social mobility and plentiful opportunity to develop merit.
# Does weird things with nested lists too
> [1, [2, 3], 4, 5] <<+>> [10, 20]
[11 [22 23] 14 25]

This article makes me feel like I'm watching a Nao Geo/Animal Planet documentary. Beautiful and interesting to see these creatures in the wild? Absolutely. Do I want to keep my distance? As far away as possible.
CNN 'will axe top stars, see hundreds fired as ratings continue to tank'
Manjarno
If you made the Piet painting from a substrate with constant resistivity, and put wires between each area, you would end up with a working circuit with all the calculated resistances. This then leads to the insight that it doesn't matter how you divide the painting up, its total resistance only depends on its overall size.
> home computers never really made sense until it was far, far too late.

That's not really the case. There were a lot of PCs in the 1980s and Japan was a strong leader in the early laptop market as well. All these PCs and many hand-held devices for sale then handled the character set just fine.
It really wasn’t that fancy, I didn’t even measure the clock speed - just wrote a little program (I think it was in QBasic) that calculated factorials or something (don’t remember the details), then measured performance difference between no cooling, ice water, and liquid nitrogen. Made some graphs, printed with my color inkjet (very fancy at the time).

It was more a situation of being a computer nerd at exactly the right time and place so that it was possible to really impress adults with minimal actual effort
There are however many PRs about people ignoring the return values of pthread_mutex_lock(), or missing an unlock on one route through a function.
>This sounds like, “As a carpenter, I shouldn’t have to care about types of wood, or saws, or cuts, or ergonomics, all to make a chair.”

I've sat on plenty of couches where the person who made it didn't care - so there is probably a world where this makes sense
I've been struggling to make use of these tools for C++ projects. My boss keeps asking me to try using these tools to generate documentation or unit tests, but the results are pretty worthless. At best, the comments it generates are the low value kind that should be obvious from the function or parameter names. The kind of redudent comments that people would write if they are required to write a comment. At worst, it straight up lies about what the function does.

The code it writes reminds me of the kind of code my former Java co-workers would write when our company switched to C++.

I find these tools okay for creating simple python scripts or showing me how to do something in Powershell or bash.
That would explain improving performance, but I don't actually understand how that would improve efficiency. Particularly at the high end where they quote 6.74 Gflops/W .
The issue here isn't new features at all.

`if let` is more or less syntax sugar for `match`.

And match behaves like that, too and has been in rust since 1.0.

That match did behaves like that is due to some old, you could say legacy, reasons and had been criticized even in the early rust 1.x days.

But changing a behavior which subtle change when locks are released is not something you can easily fix with a rust edition so we are pretty much stuck with it.
Ah, I missed that. Nevertheless it's been in Perl6 for a while!

You're safe WRT Fibonacci.

> Unable to deduce arithmetic or geometric sequence from: 1,1,2
Well, the world is on UTF-8 now, they can extend the standard and put the Japanese characters there. There's plenty of space since it's variable length.
Why is something like Proxmox a bad target for IAC?
Some of these are halfway familiar. Hyper sounds like a more ad-hoc version of something from recursion-schemes, and * as presented is somewhat similar to Scala _ (which I love for lambdas and think every language should adopt something similar).
This is pretty cool. I've organically done something similar for many years (i.e. tried to optimize leave to coincide with public holidays to get those extra long weekends.)

If you think it would be fun, maybe you could expose different algorithm choices for how to allocate the blocks?

Eg, I don't necessarily need to maximize the block lengths, but would like the holidays to be more evenly spread through the year. At the moment, it gives me a huge block around the easter period and another one week block later in the same month. And then, there are no holidays for an entire six months from the end of May to the start of November, despite several public holidays in between! I suggest an alternative algorithm would seek fewer one-week blocks and more long-weekend blocks, with some sort of pressure which penalizes blocks for being too close together?
As a software engineer currently working in Japan, I fully agree with your comment.

But I think it is not just the risk aversion, Japan is a very rigid country with an strong emphasis on following the hierarchy and rules, no matter how ridiculous they are, but introspection and critical thinking are not appreciated. This works well for industrial environments, but not for software development.
How to Open Large Data Files When Excel Fails
Have you ever tried to open a large .csv file in Excel only to find that it crashes or takes too long? Many tools, including Excel, have difficulty handling large datasets, especially when they exceed Excel's row limit or memory capacity.
Here is way to solve it perfectly.
Japanese adopted the "traditional" Chinese characters and their system evolved from that point. Both Chinese and Japanese characters underwent a simplification process from those original traditional forms, but the simplications aren't always the same. Japanese also has hiragana and katakana, which are syllabic and phonetic and often used to represent foreign names. So the short answer is that no, you can't simply use the Chinese unicode block, whether traditional or simplified, to represent Japanese.

Korean uses Hangul, which is an alphabet and entirely unrelated to Chinese or Japanese.
What company has the biggest share of US GDP?
I think this part is being underappreciated too:

> It would require her to delegate a "safety person" to be a "knowing participant and guardian" and watch over the children whenever she leaves home.

I was 11 when I started "babysitting" my 9 and 6yo siblings, and 12 when I started babysitting other people's kids. I took a Red Cross training course, got certified, and that was that. Heck, there was a whole series of kids books, The Babysitters Club, about kids who were just 12-13.

Is it no longer normal to leave younger children in the care of older children when parents go out? Even beyond whether a pre-teen should be fine walking to and from town, they need supervision at home whenever mom leaves??
370 people, wtf how the hell it turned out like this
maybe but that is unrelated to the distilled problem shown in the blog and RWLocks are not the only way this can bite you

but it's also behavior for rust match-like statements in general so nothing new nor specific to if let
I have a Mac Mini and can't remember the last time I had to manually press the button. IIRC it even reboots on its own after a power outage.

I think I shut it down once for an extended vacation just to make sure appliances weren't on while I was gone and when I switched apartments. Otherwise I'd check and post my uptime from the command line.

It's a launch M1 mini so I'd wager less times pressing the power button than I have fingers on one hand.
I mean, my dad had already got liquid nitrogen for us to play with on a few occasions, I think he suggested “something with liquid nitrogen would be science fair gold”..it doesn’t take very deep knowledge to understand that cooler is better for a cpu.
TikTok's Broken SEO Is Flooding Search Engines
Hey what would I search / ask to find this? Thanks.
Indeed! There's lots of magic even in Perl4, some of it obscure.
`using` is not a thing in JS
I am Russian, and the grandparent comment rings very true to me. To me, personally, it reads less like snark and more like just a pretty existential comment on banality of how dynamics like this seem to have been always so prevalent in Russian culture.
and nothing prevents you from explicitly dropping lock guards in rust either

actually it's a common pattern in complicated multi threaded code or similar to require that
Ask HN: Do you vendor Go dependencies or lean on the package proxy?
You buy groceries and fake papers and a beater car registered to your fake identity. The point isn't to be rich. The point is that you can have a modest retirement while being off the grid. It's basically an insurance police that might let you have a life and freedom if the state wants to take those away, which of course is why the state goes so hard trying to prevent it.

I could live my whole life with cash easily if I rented instead of owned.
Well, the mother who was arrested doesn't agree with the policy. I wouldn't be surprised if she is saying it's insane, and it should be stopped. She got a lawyer to help push back against the charges.

This was voted in, in theory, by the majority of the US population.

The laws vary state by state, and probably by region within states. So this seems to be a law in Fannin County, Georgia. It might not even apply to all of Georgia, much less the entire country. It certainly does not apply in the city I live in. It might apply in other parts of the state I live in.

And it would not have been put to the entire country for a vote.
Yes, but it's drastically impacted everything in a different way that was promised... It was supposed to be revolutionary, to usher in whole new unheard-of levels of productivity, but at the end of the day the experience with a lot of these AI tack-ons for a lot of end-users is that they haven't been very useful...
What's your best choice for hypervisor? Virtualbox? Parallels? Or what do you recommend for this unit?
The account with your handle is following only a handful of people, and is broadcasting content rather than engaging in a conversation. Consider the reverse.
Dude, that's cool! Now I have to look around if someone has anything similar.

I was always trying to find ways to improve the performance of my systems when I was a kid. Tweaking configs, removing bloat, stealing components from my parents systems. I would've loved to have tried what you did!
Praise for Open Source, true open source
I agree with you, but the problem the article is talking about is unexpected lifetime with `if let` which is not just limited to RwLock.
Oh, I really like the idea of using Gantt charts for meals. If you're trying to serve a bunch of hot dishes at the same time in the end and are constrained in terms of keep warm/crispy/moist options, starting/stopping things at the right time can be critical.
This is totally possible as long as you don't have a colicky baby, you have flexible work and a supportive partner. Newborn sleep 12-16 hours a day, you work while the babies are sleeping.

When I did it, I got about 4 hours of work done during the 9 hours of my partner's work+commute and another 4 after my partner came home.

One indispensible tool was the combination of a standing desk and a front carrier. My baby slept well in that. Another trick was to take them to the park, tire them out and then they'd fall asleep in the stroller on the walk home. Park the stroller in the back yard and pull out your laptop and work in the back yard.

And one of the newborn naps should be a parent nap too, since you likely didn't get a solid 8...
Exactly as described. I had an 8/256 Mini, and the Beelink solved more than a few problems.
Not just a specific function, but a necessary function. Usually, without an organ, the organism won't survive. So your fingers aren't organs, because you can survive (with some difficulty) without them, but without your stomach or heart or skin, you'll die.
Traversals – How to convert a list of tasks into an asynchronous list
If you're talking about Trump, I feel like the offensive communication there has done a bad job of convincing people who the offense is aimed at, and only a good job of motivating people who perceive themselves to be aligned with the offense.
Security Engineering by Ross Anderson 3rd Edition (Free PDF)
It is unlikely consumers shun Rivian for VW’s reputational issue.
Why would Valve help Apple get marketshare (in the gaming category), when they can put the same effort into getting the games published to Linux (and the Steam Deck).
Is that something I can run on my own laptop? It says it's "open source" but the docs seem to be for client libraries that need an API key.
> Coming from Ubuntu in my SkatterBencher guide, there’s two things we can improve:

> 1. Change to the official Raspberry Pi OS

Now I'm curious how much OS matters. Has anyone done a bunch of benchmarks to see if the Pi is faster/slower on Ubuntu/RPiOS/Alpine/ArchARM/FreeBSD?
It sounds like you are assuming work = solo work. My day is about 25% meetings, my wife's is about 90% meetings. We can't participate in meetings with a baby in the room (let alone strapped to our body!) who might start screaming at any moment. Sure, we could fake it -- camera off, muted, jump out periodically to tend to the baby -- but then we're not really fully engaged in work.

Even if I had no meetings, I can't concentrate on solo work with a wiggly/screamy thing on me or in the same room. One of the biggest benefits of WFH for me is avoiding the distractions of the office. Babies are FAR more distracting than anything at the office.
Nice work! I once launched stretchyourannualleave[dot]com on PH https://www.producthunt.com/products/stretch-your-annual-lea... and also here https://hn.algolia.com/?q=stretchyourannualleave

It'd be nice to have different options to maximise my annual leave. For example, if I have 10 days off + 13 public holidays, the website shows all combinations to maximise the number of days off work.
> The M4 Pro continues to be manufactured using a 3-nm process and on the old M3 Pro (27-28 watts), we measured a lower consumption than on the M2 Pro models (~36 watts), despite its improved performance. In contrast [...] the new M4 Pro can consume up to 46 watts, settling at around 40 watts during the further course—so at its peak, it consumes 60% more.

Assuming they refer to the full chips rather than the binned ones, each generation of pro chips has the following number of p and e cores:

| Model | # p-cores | # e-cores |
|--------|-----------|-----------|
| M2 Pro | 8 | 4 |
| M3 Pro | 6 | 6 |
| M4 Pro | 10 | 4 |

Thus m3 pro has more e-cores and less p-cores than m2 pro thus the big increase in efficiency, while the m4 pro has more p-cores than m2 pro thus the increase. It is all about tradeoffs and, honestly, the result is pretty much expected when you count the cores. I assume there is some improvement per generation, but if the number of cores is not constant, the latter is gonna drive most of the variance generation to generation.
Japan namely. While I cannot say whether or not a store would sell beer to a 5 year old, no longer can anyone just buy beer or cigarettes (and more) from vending machines.
Hi, I'm the author and I'm delighted that people are still interested in this topic.

There are a lot of great comments, but I'd like to collect and respond in bulk to the ones about keiretsu, since there are a lot of misunderstanding about them.

1) It's not the keiretsu, it's X.
It's not just the existence of keiretsu in isolation. They keiretsu produced incredible innovations in the 60s and 70s. It was the combination of the keiretsu control and the shift to domestic markets (which the keiretsu also controlled) that killed the PC software industry in its infancy.

2) Amazon, Apple, Facebook, Google are like keirestsu.
They really are not. In fact, they operate on a radically different philosophy. Keiretsu would be willing to lose money (and a lot of it) in order to keep business in-house. Their supply chains were owned, integrated, and exclusive. Employees did not leave their keirestu group It fostered innovation as long as they were export facing, but it fell apart once they started to focus on the domestic market.

Thank you again for reading. I'm happy to discuss.
That sounds like a significant overreaction
National Geographic for the uninitiated.

https://en.m.wikipedia.org/wiki/National_Geographic

https://www.nationalgeographic.com/magazine
Depends how you count. Walmart is biggest by revenue. If you look at profit Berkshire Hathaway is most profitable followed by Apple, Microsoft, Google, JP Morgan.
The 120GB/s memory bandwidth of the unified memory helps especially with video, I guess. The M4 CPU isn't really stressed out most of the time. Only multicam and HLG conversations it maxes out.

Once I patched my old Dell T1650 BIOS for ReBAR support yet the iGPU of the i5 1135-g7 had similar GPU performance for video as the Intel Arc A380 in the desktop PC. The old PCIe3 speed limited its performance. I heard others reported a smoother replay experience with Apple silicon compared to even a RTX4090.

I get some delays when fast scrubbing through a 9 multicam 720p timeline and just 360p proxies. Still impressed compared to what I was used to. Video editors may be surprised about the performance for the price.
I also have a Beelink, but it skeeves me out a bit. It's probably going to drive me more towards Apple M{X} for my next home server. Even though I know those parts are also made in China, I trust Apple's sourcing more. Bee-link's stuff is so affordable that it makes me wonder why that is.

The globe continuously inching towards war makes me quite paranoid, unfortunately.
This is going to be fixed in Rust 2024:

https://github.com/rust-lang/rust/issues/124085
Kernighan would probably first write the simplest possible C interpreter in Lisp, so he could then write the C compiler in C and get it bootstrapped.
Did they just miss this in the spec?
Wow I butchered the spelling but too tired to delete &repost
Oh my god, I need to play SQ6 again
I don't know if it still holds true, but historically speaking, Raspberry Pi OS has been the best option for out of the box performance.
Funny you say that: https://github.com/rust-lang/rust/issues/131154

Looks like this is getting fixed in Rust 2024 :)
I think mutexes that own their data are genuinely much easier to reason about than mutexes that don't.

In this case this is a Rust bug that will be fixed in the next edition: https://github.com/rust-lang/rust/issues/124085
I've had a few moments like that, it's not a pleasant thing to be around.

In that kind of mental breakdown, you get addicted to the story you build in your head, where you are special and important and on the verge of something great (but also worthless and doomed).

Healing means giving that up and returning to baseline, and you can't do that for him. Protect yourself first
Spirit Airlines is filing for bankruptcy
Good tip, how's the matte option treating you? I'm seeing various people today with the 14", hard to tell if the new one or an old one with a screen protector, but they're looking a little nasty
What if the same ingredient is used twice in a recipe, for example for cooking and finishing?
Share Gmail credentials and assign labels for who’s handling the response.
> Go to events in Japan and a lot of the design of posters and so forth just looks seriously bad to US (and presumably European) eyes.

As an European living in Japan, I can confirm. Japanese advertisement and presentations look like a competition in who can cram the most text in epilepsy-inducing colors in a single page/poster. Bonus points for cramming both horizontal and vertical text in the same page.

I don't know if they really like it, or if they just follow what everybody else does.
It's hard to give generic advice but it sounds like calling the crisis team was a good decision.

One thing that generally helps is to get the person talking (and don't offer them advice - listen and help them talk things though themselves).

I've found going for walks with people is good. Can you take him hiking?