skysight-inc/HackerNews huggingface dataset:
You're lecturing me about my job here. I don't need to learn nothin'.

> reads become writes with ARC

That's not a big problem (it is a problem but a smaller one) since you can choose a different tradeoff wrt whether you keep the reference counting info on the same page or not. There's other allocator metadata with the same issue though.

A more interesting one comes up with GC too; if you're freeing all the time, everyone compresses their swap these days, which means zeroing the freed allocations is suddenly worth it because it compresses so much better.

> Originally, Swift was meant to use GC, but this failed because Apple could not integrate it well enough with existing Objective-C code, leading to a very crash-prone solution.

It was Objective-C that had the GC (a nice compacting one too) and it failed mostly for that reason, but has not come back because of the performance issues I mentioned.

> Also, JavaScript has nothing to do with the lower in abstraction languages discussed in this chain of comments.

Oh, people definitely want to use it in the same places and will if you don't stop them. See how everyone's writing apps in Electron now.
> But that's not the actual issue; the issue is that pointers are big (8 bytes) and indexes are smaller, so now you can fit more in the cache. It would also help GC because it doesn't have to trace them.

Please read 'binary-trees' description and submission rules (#2). You are missing the point(er).
you left out "ignored a letter from the FDA telling them to shut down"
This is objectively false.

Israel is objectively an apartheid state [1][2], no different to apartheid South Africa. South Africa was also a "democracy" (for white people). You cannot be both a democracy and an apartheid state, by definition.

There are ~2M Palestinians in Gaza and ~3M in the West Bank, both areas that Israel lays claim to and are within its borders. These 5M people do not have the rights of the Jewish citizens of Israel. Even for the few who are Israeli Arabs, they don't have the same rights as Jewish Israeli citizens (eg [3]). Most settlements prohibit Israeli Arabs from living their under 2018 segregation laws [4].

Anyone with a passing knowledge of American history will immediately recognize Israel for what it is. Jim Crowe laws, sundown towns and so on.

And this segregation permeates every aspect of daily life. Checkpoints, residency permit segregation, Palestinians falling under military rather than civil jurisdiction, many Palestinians being held indefinitely without charge, water restrictions, building roads to divide up the West Bank and separate Palestinian communities, destroying Palestinian food sources, randomly bulldozing Palestinian homes, never premitting construction, settler terrorism, honestly the list goes on and on.

And in 11 months, ~75,000 tons of munitions have been dropped on an open air prison, also one of the most densely packed and most populous refugee camps in the world.

Democracy? I think not.

[1]: https://www.amnesty.org/en/latest/campaigns/2022/02/israels-...

[2]: https://www.vox.com/23924319/israel-palestine-apartheid-mean...

[3]: https://www.hrw.org/news/2011/03/30/israel-new-laws-marginal...

[4]: https://www.vox.com/world/2018/7/31/17623978/israel-jewish-n...
Some of the actions you mention would definitely be illegal and yet, no one has been prosecuted nor found guilty. In fact, the concerned centers in Canada are suing the RCMP for defamation. So you are either speculating or spreading propaganda.
How is it supposed to work? When I open this, I just see a prompt that says "Get the full transcription of any Youtube video, fast. Studies suggest that reading leads to better retention of complex information compared to video watching. Only English videos currently."

I tried pasting the URL of a YouTube video and I get the message
"I'm unable to access the video directly, as the tool needed for that is disabled. However, if you'd like, you can summarize the video or let me know how I can assist with it!"
Let’s suppose I travel for business and am not a teenager working through power fantasies. What’s in it for me if my concerns are not childish?
Good choice! It's great!

If you really don't want it, it's super easy to disable:

systemctl disable systemd-resolved
If you scan a lot of documents you would
Yes, basically. I don't like seeing what appears to be a whole ecosystem in the US centered on Apple. I really don't want to see a future where so much production is Apple-centered in America, that it's "un-American" to use non-Apple devices (because the Apple devices are mostly American-made, whereas the competitors are foreign-made). So seeing the US fabbing cutting-edge CPUs for a whole range of mobile devices from different vendors would be great.
You've got it backwards.

Civil Asset Forfeiture in the US is so widespread, and so egregious because it's so difficult to fight.

You can't recover your expenses in fighting it, so it's only services like IJ that will take this on without you paying for it yourself.
The more interesting question is whether any sort of remote-detonate capability was involved, or this was just timed explosives.

If you look at something like this [1], then the obvious way to do this is to replace one of the NiMH batteries with a lithium cell providing the full output voltage, and replace the other cell with the explosive payload.

A basic timer set them off, and installation would be straightforward. You could probably even arrange this to not be distinguishable on X-Ray by playing with the structure of the explosive device so it would look like a battery.

Getting a little fancier, setting your timer up so the pager "waits for a page" by current draw (from say, the buzzer motor) would be a way to try and ensure the user was holding it near their face before it went off.

What's missing in the current reporting is whether this was simultaneous, keyed to a page, or what have you.

[1] https://store.jtech.com/jtech-guestcall-pager-nimh-battery-5...
I'm actually surprised at this because while UIKit is hard to use, at least it's fast. Though I remember the concurrency model being confusing, so you could accidentally block your UI thread.
Cabin pressure issue on Delta flight causes bloody ears and noses for passengers
Lebanon had a civil war along religious lines. There are many Lebanese Christians in the USA that could help you with what seems to be a misunderstanding about the country.

Hezbollah's founders writings at the time are available online, and that they are clear about their goal being the rule of Islam. Their slogan was 'The Islamic Revolution in Lebanon'. They were founded as an Islamic revolutionary group, that is very core to who they are. Highlighting that is hardly 'using Islam as a scapegoat' whatever that means.
Susan Wojcicki, former YouTube CEO and Silicon Valley visionary, dies at 56
Yeah I worried about that going in too but in fact I've found it much easier to get good performance with Flutter than SwiftUI, especially for large collection views and especially on the mac.

The work the Flutter team did on Impeller seems to have paid off.
Thanks!

Btw, https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

(Note curious bug surfaced by morbidred)

should be great for getting YC, according to my faith-based analysis

[Nitwithstanding (as you teach) cui bono analysis would be speedier variant which gets most of the way there anyway]

pS: whenever i type on HN, im already effectively, if only metaphorically, inebriated , so the ball is in your court, as they say

(Because otherwise i’d be tilting at neoVictorian as opposed to newEdwardian windmails)

[Edit: designori/designatori as synthesis (or compromise?) of Paul Romer’s endogenous growth engineers (type ii-minus) & Veblen’s technical soviets (type i-plus)?

Especially section III
https://web.stanford.edu/~chadj/RomerNobel.pdf

pPs: as you understand designatori is more akin to painters than Painters, buy what about designori?]
I found it amusing that the license PDF does not use the font. (At least, the slashed 0 in the license pdf is not the backslashed 0 on the font web page.)
"Once your components are ready, you can mix and match them to create entire web applications. Even this entire website is written in Rio."
I have not looked very hard but I don't think this app fixes the fundamental issues: which is the removal of proper sub-pixel antialiasing for anything that isn't considered a retina class display by their standard.

This sort of app might get a better output by forcing the 2x rendering and then scaling it to the native display resolution but it cannot possibly be of the same quality as what we had before, unless they rewrote rendering or something like that.

As far as I know there are 2 "real solutions": you buy a display that is retina class in one of their historically supported resolutions or you accept to lose a bit of desktop space by running a "sub-retina" class display at x2.
For example, a 27 inch "4k" (they are 3840x2160) display will get you a desktop space of 1920/1080 in HiDPI mode.
That is sad because a 27-inch iMac from the early 2000 had more desktop space, an image not as sharp but it wasn't bad as long as they kept sub-pixel antialiasing.

As far as I'm concerned, it is that way because they went the lazy way around implementing HiDPI and being able to market it like they were so much better than Microsoft. But that only works if you solely buy their hardware because nobody followed them on the desktop specs (even though it's slowly coming lately it seems).

This issue in my opinion is a testament of how much anti-consumer and disdainful Apple is; because it couldn't possible have cost them a lot of engineering to be able to support both, it is clearly for their bottom line and that's it.
Thanks! This is exactly the sort of stuff I was looking for.

So maybe this is too reductive, but basically:

- Tools for mutation of a running system

- Dealing with hard dependencies that don't cause errors when unavailable (like nfs in your example, or fan control, but also enumerating devices as I mentioned earlier, or for security, firewall rules since firewall starts entirely permissive)

- Standard packaging (edit: er, composability via standard packaging, or modularity with standard packaging for modules)

I think the logging stuff (datetimes, clearing, etc) is probably more the domain of a logger like journald, whose purpose seems is more concrete to me.
Nearly every single one injured was a Hezbollah militant. Regarding militant:civilian rates, this has one of the lowest civilian impacts of any option.

Most modern wars see MORE than 1 civilian death per militant death. This pager bomb was nearly entirely militants.
By firing thousands of rockets indiscriminately into civilian areas? That is polite, civil, and worthy of a joke to you?
If your point of reference are Objective-C and Swift only, and you have not looked at how .NET's or Go's (which makes very different tradeoffs w.r.t. small memory footprint) GCs work, it might be interesting to re-examine prior assumptions in light of modern designs (I can't say Go is modern per se, but it is interesting nonetheless).

Also, .NET tends to heavily zero memory in general, as the spec dictates that fields, variables, arrays contents, etc. must be initialized to their default values before use (which is zero). Compiler can and will elide unneeded zeroing where it can see, but the point is that .NET's heaps should compress quite well (and this seems to be the case on M-series devices).
I had the same experience until I worked with swiftdata which was rather nice, especially by comparison.
I wonder how Taiwan feels about this. From their perspective jobs are getting offshored from their country because of massive subsidies, and the strategic shield of having most critical semiconductors coming from them is getting getting thinner. At the same time they can't complain because only the US could defend them from China.
(Some) "in small, but significant, numbers".
Another easter egg: Hagoromo chalk! Only the best if you’re creating diagrams that cover an entire wall. (Word of advice I recorded from a math professor who had brilliant boardwork: you can never make a blackboard diagram too large.)
This reminds me somewhat of Gravitrax which is a marble run system. One youtuber implemented a 19-bit adder with it: https://www.youtube.com/watch?v=TTK-vcwSm7s, a clock: https://www.youtube.com/watch?v=AOu0r1iUevk and other crazy creations. All just with gravity. (there are powered extensions too)

Gravitrax supports a similar kind of creative spirit as lego. For me, it's actually more fun since it's dynamic by default.
> The net result is that US manufacturing output in real dollars has increased 4x, in the past 70 years.

All of that manufacturing growth is semiconductors, and most of that measured semiconductors growth is simply Moore's law. I don't think anybody would say that the US is worse at making transistors today than it was in 1970, but that's table stakes; everybody is better at making transistors than they were in 1970. Automotive manufacturing has also done well (in part thanks to trade barriers). When it comes to everything else -- vacuum cleaners, fans, washing machines -- that manufacturing output is not doing so well.
Can someone fill me in on this? What hoops have to be jumped through? The last time I used macs, there were no issues downloading and installing older OS versions, but I have not used them recently.
> I think this is a win for national security. I don't think the government applying such levers to change how the market allocates capital probably won't be a win for economic output or quality of life.

National security and global freedom of navigation are essential preconditions for our current level of economic output and quality of life. In the long run, it’s not an either/or.
One of the chiplets of Intel's Meteor Lake laptop processors launched at the end of last year is made on "Intel 4"; the rest of the chiplets are TSMC N5 and N6. It was not a meaningful improvement over Intel's preceding generation that was made on "Intel 7" aka. the iteration of 10nm where the process was finally good enough for their whole product line.

Intel's Lunar Lake low-power laptop processors shipping in a week will be the first all-TSMC x86 processor from Intel. Their desktop/high-power laptop processors (Arrow Lake) will also be all-TSMC, and should be launching this fall. After that, Intel intends to resume using their own fabs for consumer processors with their 18A process. There are some datacenter processors using "Intel 3" and the 20A process was cancelled in favor of the more fully-featured 18A.

(In case of nitpicks: Intel is also manufacturing the silicon interposers that the chiplets are mounted on, but since these dies are completely passive and have no transistors, I'm not giving them credit.)
Or you know, 100,000+ Israelis had to leave their homes in north Israel for nearly 1 year. You also had Druze Arab children slaughtered by Hezbollah. So what options would Israel have here?
The thing is there are also network effects, expertise building and marginal cost improvements to be built up in high value items and services.

The United States was able to build a tremendous economy by building up those systems while continuing to benefit from its older manufacturing base for decades.

The United States economy is far from perfect, but it hasn’t traded away a long-term asset for only short-term ones as you’re suggesting.
> . Unlike what Econ 101 asserts about maximizing comparative advantage being the most profitable strategy, there is absolutely no guarantee that following a locally-optimal comparative-advantage strategy is globally optimal over a long-term window,

I think there's little doubt that our change in allocation of resources has been advantageous versus staying an economy focused on primary metals and relatively simple manufacturing. Do you really feel otherwise?

Of course, economic assessments and the behavior of markets generally assumes free choice by participants. So there's always:

1. Geopolitical risks: state leverage can turn a local absolute advantage in e.g. producing war materiel into other advantages.

2. Sure, we could back ourselves into a corner, ultimately, by not being able to provide a key part of the value chain by following that gradient. (Geopolitics can be related, too, in that states can gather together lots of small advantages and use them in coordinated ways against other states).

So our state, of course, needs to focus on countering those actions of other parties. And maintaining some diversity beyond what is economically optimal can add resilience.

(One point I make in class: our textbook pretty much says that price controls are always dumb... but that there are plenty of reasons that a country might desire to have a surplus of food or to not be dependent upon another country).

The track record of those who would seek to centrally plan and optimize for some future outcome instead of following that profit gradient has been very poor. Not to say that it's never worked: but generally following the profit gradient has yielded better outcomes.

> because of (unlike what any econ 101 textbook teaches), marginal costs decline with production quantity in the manufacturing sector.

Unlike what any econ 101 teaches? Talking about LRATC, returns to scale, etc, is a big part of my unit 3. If you're not referring to that and instead e.g. Wright's law, that too is mentioned.
Why does it say “constants here” in .data? .data is for initialized variables. Constants go into .rodata
Edifice: React, but Python Instead of JavaScript, Qt Widgets Instead of HTML DOM
Click the domain name in parentheses to the right of the submission title.
Ugrep seems to be a completely new codebase, whereas RGA is a layer on top of ripgrep. Based on the benchmarks on the ripgrep github repo, rg is a bit better than 7x faster than ugrep.
I didn't say standardizing dnsmasq behaviour. I said multi home/interface which was one of the big reasons to write resolved. They could've added the missing feature to the 2 most popular daemons and use one of them as a default, but instead went with a whole new system written from scratch.
It looks like these CPUs were specifically targeted at embedded devices; they aren't things you can normally purchase yourself easily like the regular desktop chips, and if you look at the desktop variants (the ones without any letter suffixes), they don't support ECC.

You can still see it even in 13th generation CPUs:
https://ark.intel.com/content/www/us/en/ark/products/232105/...

But as you can see here, this is an embedded variant; you're not going to find it at Amazon, as it's probably only sold directly to manufacturers.
In the toilet? They practically run the world tech industry. Practically every GPU, laptop, and phone have a chip or sensor designed in Israel. FAANG companies keep growing their offices. Startup exits are at an all time high even as the war goes on (NVidia recently bought 2 more Israeli startups IIRC)

And good luck finding a Fortune 1000 company that isn’t using Monday or Akeyless or Zscaler or jfrog and I can keep going

Oh and remember Ilya sutskevers new AI company SSI? In their initial announcement they talked about opening with 2 offices, SFBA and Tel Aviv . You really can’t succeed without Israeli talent

You can like or dislike the government, but Israeli techs income and importance constantly grows YoY
I wasn't sure how MrBeast can "set viewers' expectations" so efficiently and mine so many minds with this formula until I recently witnessed a friend's children log into their YouTube Kids account and immediately be suggested a selection of choice MrBeast cuts. The six-year-old had the remote and went for several inane MrBeast videos in close succession but his older sibling was not impressed. But the bottom line is, children are involved in the equation, and in terms of interest in his customers' minds he is getting close to being the anti-Mister Rogers.
Okay, I assumed there are services that shouldn't restart if they crash given that that's the systemd default, but do you have an example? I don't think I've ever encountered any, and I can't think of a situation where you'd want that.
DIY tips please on how to do it

What do I need, centrifuges ?, Electrophoresis gel ?, X-RAY machines,

Or hand held dna scanning devices like these : https://arstechnica.com/science/2018/01/pocket-sized-dna-rea...

?
Ask HN: What about a web based desktop framework from the ground up?
There’s Electron, but people complain that’s too memory intensive. Then there’s Tauri which seems nice, but it depends on WebView thus using a full browser.

What about a software app framework built from the ground up instead of bolting on top of an existing browser?

Not building a whole browser from scratch, an impossible task, but building just enough of a layout engine+run time to host web apps.

The goal here is, a dev writes an app for this framework using html, js, and css but it can also run in an existing browser. Because this framework would be so small and limited that it would be guaranteed to work somewhere greater.

The benefit being a lighter memory footprint because it’s no longer needing a full browser
I took an alternate approach: my genome is freely available: https://my.pgp-hms.org/profile/hu80855C

When I was sequenced, a bunch of genetic counselors at Illumina analyzed it and said they couldn't find a single gene mutation that was linked to increased risk of disease, which was a surprise to me but is really absence of information rather than information of absence.
Que sera, sera

Whatever will be, will be

The future's not ours to see

Que sera, sera
I've found it doesn't work, they just lay you off anyway and when things are bad afterwards they just accept that it's the cost of layoffs.
Pagers don't use normal telecom systems, and they're not limited to paramilitary organizations. They're very useful in any critical application because they have low infrastructure requirements.

The comment you're replying to explains how they're used routinely in most hospitals in the world for this purpose.

You can't buy pagers off stores on the corner, either. They don't have SIM cards and most of them can't report back to the network, so they need to be pre-configured by the network operator. Just the same way, if you work at a hospital and are issued a pager, it will be issued to you by your employer and you won't be able to pick it up off the street.

In a country with extremely unreliable telecom infrastructure, it's not at all unlikely for an organization to use pagers, especially if it operates emergency services, and they would have to be procured through that organization.
primatejs now supports desktop
Actually quite large. Aid is in the single digit billion/year. GDP is 525 billion. So aid is roughly a percentage point or two. That’s it.
OK, I can partially agree with some of the points but... writing code? Any tangible proof on that one? I have spoken with many colleagues who were adamant that the LLMs can at best provide some boilerplate generation and nothing much beyond that. One or two mentioned it could find a bug in their Python code.

> This is about the same as the computerization of records. No longer to we have to pay people to keep rooms full of files in order to aid retrieval and long term record storage.

Eh, have you read the "Bullshit Jobs" book? It's a social and economic problem, rarely has been a technological one... TL;DR people want headcount, not efficiency. :/
Those last 30 seconds of the video, trying to get the demo to work for a group of people is so relatable.
I've always thought there's some geopolitical chess at here. The US can't abide being completely dependent on the island of Taiwan. So if TSMC wasn't willing to do this, the US might fund an alternative. This could leave Taiwan no leverage at all.

Now, with some US based production, TSMC is still in charge, and more resilient to disruption. So it may still be a very strong move.