MurphyA/hacker-news huggingface dataset:
by pjmlp | 2025-09-23 06:35:51+00:00
Besides the rediculous hardware requirements of Android Studio, far beyond any other Java based IDE, we have a NDK experience that feels like a 20% side project from Android team, because back in Android 2.0 days they were forced to actually allow developers to write C and C++ code, otherwise there would be no games.

Even Symbian C++ across Metrowerks and Caride, felt a much developer friendly experiece than NDK has ever been.
by bitwize | 2025-09-23 06:36:05+00:00
Hint: IF, THEN, and ELSE are words that are partially evaluated at compile time.

IF remembers its own location and reserves space for a jump; THEN compiles a conditional jump if NOT true to its location, in the place where IF was, unless there was an intervening ELSE, in which case it will compile such a conditional jump to ELSE's location at IF, and an unconditional jump to then just before ELSE. So a full use might look like:

: TEST > IF ." greater" ELSE ." less or equal" THEN ;

Which is the equivalent of:

void test(x,y) { if(x > y) { printf("greater"); } else { printf("less or equal to"); } }

THEN works differently in Forth than in, like, BASIC. It marks the end of the whole conditional block, not the start of the consequent.
by kgwgk | 2025-09-23 06:37:00+00:00
> To all of that he ads a dash of Islamophobia, citing “Pakistani rape gangs” as one of the reasons for the unrest, repeating a weaponised trope borne from a long since discredited report

Were independent inquiries also repeating weaponised tropes from long since discredited reports?

“By far the majority of perpetrators were described as 'Asian' by victims, yet throughout the entire period, councillors did not engage directly with the Pakistani-heritage community to discuss how best they could jointly address the issue. Some councillors seemed to think it was a one-off problem, which they hoped would go away. Several staff described their nervousness about identifying the ethnic origins of perpetrators for fear of being thought racist; others remembered clear direction from their managers not to do so.”

https://www.rotherham.gov.uk/downloads/file/279/independent-...
by t1E9mE7JTRjf | 2025-09-23 06:37:23+00:00
> All sanctions are designed to hurt civilians, so that they may overthrow their government.

That requires some blind faith to believe. In that I don't think those applying them really expect overthrowing the government to result. I would guess sanctions are designed to hurt and weaken, to make them less of an adversary. Although that's a harder sell, so doesn't get presented that way.
by yawpitch | 2025-09-23 06:38:00+00:00
> And if your're someone sliding into nasty leadership / government situation you have to realize there will be a consequence to that and that the perception of the ruling party can never be separated from the perception of the people.

Especially if you’ve just been dumb enough to re-elect that nasty leadership / government on behalf of (and at the behest of) the people who benefit off having that ruling party in office.
by mahrain | 2025-09-23 06:38:03+00:00
Mostly used to eliminate or reduce mould growth on the inverter? If HVAC is taking air in or blowing air out, there really wouldn't be a point disinfecting the air.

If it's re-circulating, it could reduce the spread of germs room to room as has been shown during the pandemic in elderly care facilities. That would be the only use-case I see.
by adastra22 | 2025-09-23 06:38:11+00:00
Three points on that.

First, in this context the popular image, not reality, is what actually matters. Why do people not risk breaking sanctions? Because they don't want to risk prison. Why do Americans fear prison so much? Because of how it is represented in popular media, true or not.

Second, sexual violence in American prisons is a very real concern: https://en.wikipedia.org/wiki/Prison_rape_in_the_United_Stat...

Finally, I fail to see how it is a homophobic trope? Nobody wants to be sexually assaulted. It's about the violation, not the act itself.
by pjmlp | 2025-09-23 06:39:14+00:00
Because they were coming out of being at the edge of bankruptcy and needed any help they could get becoming profitable again.

My graduation thesis was porting a visualisation framework from NeXTSTEP into Windows, Objective-C => C++, because my supervisor saw no future on keeping the NeXT hardware in our campus, if he only knew what would happen a few years later.
by t1E9mE7JTRjf | 2025-09-23 06:39:19+00:00
It's a sad story all round. I hope the world gets more decentralised, so that people get less caught up in the politics of others. I can't remember the exact quote, about world war 1 or 2, but it was along the lines of "war is when people who don't know each other fight, for people who do know each other". Hits hard.
by Tadpole9181 | 2025-09-23 06:39:23+00:00
> The US isn't blockading Cuba

That's what you said, but it is a just a coy semantic game by any real interpretation. The US took extra measures and went out of there way to strong arm any potential trade partners.

No sane or responsible nation would give up trade with the US and major parts of it's hemisphere of influence (Europe, Japan, Korea, etc) to access an island with nothing to offer in an inconvenient place.

The US, out of spite, demolished the Cuban economy and then spent decades beating the corpse for good measure long after the fight was over or justified.

Last I checked, they basically only got access to meaningful trade from Venezuela and China for a few decades, right?
by mirzap | 2025-09-23 06:40:01+00:00
No. I wouldn't. Because it makes it easier for the stronger power to dominate without hot wars. Sanctions cost the U.S. very little when used against Iran, but for Iranians they are extremely hard and disproportionately expensive. A hot war would be far more costly for the U.S., and the higher the expected cost, the less likely policymakers are to choose it.
by stale2002 | 2025-09-23 06:40:47+00:00
> I mentioned the leftist violence, and absence thereof

Yes you did mention this. And it is wrong. As proven by the evidence that I showed you.

> review financials about black people rioting

That actually super racist of you. There was not some overwhelming majority of black people engaging in violence during those riots and I am not sure why you insinuated at such. The demographics of the people rioting were generally about the same as the demographics of relevant location of where the events. As should be expected.

Additionally, the demographics of the more serious revolutionary/anarchist (and sometimes called antifa) type groups tend to be overwhelmingly white.

The more peaceful protest groups that are focused on police reformed tend toward being full of people of color and aren't focused on overthrowing the government and implementing socialism/anarchism/whatever like the revolutionary groups are.

> I've been whatabouticized

I am not sure why you think a stupid fallacy is justified just because there is some other person in the world engaging in the same stupid fallacy.

You have ironically just engaged in the same whataboutism again. In order to justify you engaging in whataboutism, you have once again appealed to "well some other person did it to me!". Team sports once again.

If I were writing a joke about politics and fallacies in which I made fun of this behavior of justifying whataboutisms with a literal whataboutism, it wouldn't even be funny because it would be too over the top and on the nose.
by aucisson_masque | 2025-09-23 06:40:58+00:00
> Finally, demographics matter. HN is dominated by American tech professionals. That can tilt discourse toward elitism, rationalism, and a kind of intellectual performance, creating an echo chamber

As an European, not working in technology or even with computers, i can relate to. HN comments can sometimes feel out of touch with reality.

I’d say it’s more about the way Americans tend to see the world, where the world ends at the border of the USA and not consider that there are other way of life.

Although despite its flaws, this forum is still one of the brightest side of the internet.
by JumpCrisscross | 2025-09-23 06:41:10+00:00
> A hot war would be far more costly for the U.S.

…we just had a hot war with Iran. It probably cost us less than our sanctions.

I’ll say this: you’re consistent in your position and I respect that. I just don’t think many people share the view that people getting physically torn apart by munitions is better than have a less-comfortable, possibly borderline, life.
by schiffern | 2025-09-23 06:41:11+00:00
Sometimes HN confuses me. I'd use a laptop sleeve with any other bag too, but all the 'smart' comments never think of that before posting?

It's like all power has been diverted to the Criticism Drive, with none left for the Self-Reflection Array... but only for oddball ideas of course. Conventional ideas and reasoning only.

For (supposedly) a hacker community I expect we can do better, and thanks OP for sharing! I'll be grabbing one of these bags even just to experiment.
by logicallee | 2025-09-23 06:44:20+00:00
>I am exploring options just for fun.

Since you're exploring options just for fun, out of curiosity, would you rent it out whenever you're not using it yourself, so it's not just sitting idle? (Could be noisy and loud). You'd be able to use your computer for other work at the same time and stop whenever you wanted to use it yourself.
by mirzap | 2025-09-23 06:45:00+00:00
My point exactly. It lasted 12 days. How much did it cost? How much you think would cost 5 years of war with Iran? And how much did sanctions cost Iranians (economy + lives) past 40 years. Afghanistan war costed 2t for 20 years of war. That number would be reached withing months in a war with Iran.
by BoorishBears | 2025-09-23 06:45:58+00:00
HN users are some incredibly exhausting people to deal with sometimes

> or maybe even better, sizeable investment in them so they maintain autonomy and build a warchest to survive the current AI wave.

Just wow, like trying to talk to an LLM that poluted its context window with the wrong idea then hyperfixated on it ad infinitum, Jesus Christ.
by burnt-resistor | 2025-09-23 06:46:29+00:00
It's an essentially fictional group those in power are hyping with whatever vilification they want for the third red scare to castigate any enemy or disloyal member so they can scapegoat and crucify whomever they want, probably including stealing their citizenship, property, safety, and/or liberty. Anyone stepping out of line will be subject to this treatment, and so 1a (e.g., freedom from government censorship) will weaken.
by gorbypark | 2025-09-23 06:47:01+00:00
That's a lot. I always had this idea in the back of my mind that British Columbia should get in on the AI game and try and get data centers located in BC because we generally have a lot of "excess" hydro generation capacity. There's a new mega dam recently opened that had lots of criticism about it being "unneeded".

That mega dam (Site C) produces 1.1GW of energy.
by Tade0 | 2025-09-23 06:47:05+00:00
To me it appears that the screen is a huge power hog - at least in the 16.

My idle power consumption at 0% display brightness is around 7.5W, but I've seen people get to as low as 6.5W. Not great, not terrible. With the display at 50% it jumps to the teens(13-17W).

Meanwhile the display in the MBP peaks at 6.2W:

https://andytran93.com/2021/12/05/power-consumption-implicat...

I guess herein lies their secret sauce - with the rest of the device idling at ~5W total power consumption in this state doesn't go beyond 11W.
by numpad0 | 2025-09-23 06:47:10+00:00
My point isn't that "no the devils advocates are wrong", but that there's a hot potato flying across between "them" and "us" as to which side is responsible for inventing a breakable secure encryption.

More substantial parts of discussion regarding Chat Control and similar regulations always had to do with philosophical, almost syntactic level feasibility of such implement, against which beyond fusion reactor level of unilateral skepticism had been constantly cast from engineers, combined with negativity coming from its generally unethical nature, rather than mostly about ethics or freedom.

You're saying it's reasonable that they want warp cores today for coming winter, and I'm rolling eyes, that's not directed personally at you.
by Latty | 2025-09-23 06:49:16+00:00
I tried zoxide for a while but I really disliked how it made things fuzzy, and most of the use cases for it I found were 90% solved by using ZSH's history search which I use routinely anyway.

It gives you this potentially constantly shifting set of shortcuts, essentially, and the problem is that means I have to constantly check I did get the result I wanted, and that I haven't accidentally gone to the wrong place. I found that more annoying to me than just using tab completions or history, which are much more predictable.

I can see how someone who has different workflows or environments might find it great though.
by JdeBP | 2025-09-23 06:49:32+00:00
I can just reiterate my prior comment:

* https://www.youtube.com/watch?v=SCFXV6o7cro&lc=UgyhehHF9YBGF...

(-:

For M. Kimlat's own commentary and someone else's particularly insightful comment:

* https://www.youtube.com/watch?v=49CSV2w0i0g&lc=UgxqIy_Vgt37q...

For the time spent on prep for the second appearance:

* https://www.youtube.com/watch?v=X5VTb7fesN4
by bigfudge | 2025-09-23 06:49:57+00:00
I think the government in Iran gets their power as other antidemocratic authoritarian regimes do— by using a small number of violent people to intimidate other normal citizens and punishing them severely for protesting or campaigning for change. Americans seem likely to experience something similar fairly soon, which might perhaps increase the general level of empathy for Iranian citizens in threads like this.
by panick21_ | 2025-09-23 06:51:04+00:00
Ok, great so fuck those people then right?

What kind of absurd argument is that? Like any company that doesn't serve 100% of people on the planet is by definition not a success? That's the dumbest fucking argument I have ever heard and I hope you are not actually series about that.

Because Apple doesn't serve 100% of the population either, so clearly Apple is not successful. By your logic right?

And its not even true. People that live in big cities do a thing called 'flying' between big cities quite often. And Starlink is already starting to be dominant in the airline market, meaning all those city people, when they fly use Starlink.

And Starlink is used in agriculture and mining, and shipping. So all those city people do actually use things that have Starlink in the supply chain.

Common man, its fine to hate Musk, but at some point reality is a thing.
by emih | 2025-09-23 06:51:11+00:00
The Boost algorithm computes the vertex-biconnected components rather than the edge-biconnected components, which are two different but related concepts. Articulation points are also more related to vertex-biconnectedness than to edge-biconnectedness (articulation points are vertices that lie in multiple vertex-biconnected components, i.e., if you remove one you split up the graph into more components). From what I can see in the Boost docs, it doesn't have an implementation of edge-biconnected components.

You can write an algorithm to compute all of the articulation points & bridges & edge-biconnected components & vertex-biconnected components in a single DFS. Because of this you refer to all of them as just "Tarjan's algorithm" even if you just compute one of them (he is kind of the Euler of graph algorithms in that like half of graph algorithms is named after him). So, on a technical level, I guess my implementation is similar to the algorithm in Boost because they both use DFS and this `low` map, but they compute different things.

Finding the vertex-biconnected components next to the articulation points involves more work though (the implementation I used to have manages to also do it in the same pass but also maintains a stack of edges).
by akho | 2025-09-23 06:51:29+00:00
> Now imagine trying to start a software business in Iran, the stifling effect is way higher than a measly percentage point.

Depriving Iranians of legal access to Western tools opens the market to locals. I suspect that the market is big enough to build a business.

It'difficult to assess gdp impact in this particular area. It's not really dependent on blockable imports.
by aucisson_masque | 2025-09-23 06:51:41+00:00
Well I’m pretty convinced I need obsidian because it’s just the best way to manage stuffs and I hate overcomplicated stuffs.

I use it to remember stuffs and classify important informations, for instance I had issue fo years with my government to end my enterprise. I made a note in obsidian « enterprise closure » and every time there was a mail, I would save it as pdf and import it into the note. Same for every letter, scan -> import. I could put out my thoughts, next step, … on the note.

Because it doesn’t crypt notes or attachments, spotlight can index my notes and I can still search for the attachments.

And the back links are just a bonus because you always end up having multiple side note linked to a main note.

I have yet to see another software that allows me to do these kind of things. Apple notes absolutely sucks on attachments.

Putting attachments in folder with notes at the top is hard to search, things always get lost or duplicated.

I believe there are companies tools for that kind of things like « SERM » but then obsidian just works and it’s free.
by sonofhans | 2025-09-23 06:51:54+00:00
Yeah, I know about this; it’s not the same. In Windows apps following the standard (which all good ones do) _every menu item_ is keyboard addressable. Something several submenus in is trivially accessible by muscle memory: ALT-I-R-C to resize an image without constraints, e.g.

MacOS allows easy navigation of the menu, but does not guarantee that each item is hotkey-addressable.
by komali2 | 2025-09-23 06:52:52+00:00
> According to?

General consensus. Also it seems to lead to more stable societies when people are kind to eachother. That creates mutual safety and comfort. Humans are uncomfortable with constant conflict and violence. Doing things that lead to that are wrong.

You're right in that there's no god or universal measure against which we can say that being good is Good and being bad is Bad, we have to just throw our hands up and pick, luckily humans mostly agree and so picking being Good isn't inherently a conflict-causing thing, except to those who prefer people are constantly at war with eachother. I'm perfectly fine saying those folks that prefer that are valid in their way of thinking, but invalid in trying to apply it, and therefore should be stopped.

> Being kind is being weak.

Well it's a bit silly for you to argue against universal morality and then argue for universal concepts of strength and weakness. Anyway I disagree, being kind takes tremendous strength.

> It forces you into situations u dont wanna be in in the first place.

Ah! Being kind doesn't always mean saying "yes," sometimes it just means saying "no" instead of shouting it.
by jacquesm | 2025-09-23 06:53:29+00:00
I used a large supermicro server chassis, a dual Xeon motherboard with 7 8 lane PCI Express slots, all the ram it would take (bought second hand), splitters, four massive powersupplies. I extended the server chassis with aluminum angle riveted onto the base. It could be rack mounted but I'd hate to be the person lifting it in. The 3090s were a mix, 10 of the same type (small, and with blower style fans on them) and 4 much larger ones that were kind of hard to accommodate (much wider and longer). I've linked to the splitter board manufacturer in another comment in this thread. That's the 'hard to get' component but once you have those and good cables to go with them the remaining setup problems are mostly power and heat management.
by bjackman | 2025-09-23 06:53:50+00:00
Does anyone know if zoxide has any fancy logic to ignore strings that appear in common prefixes?

For example I have a big ~/src dir where I keep all my code checkouts. If I type 'z src' intending to go to ~/src/foo/bar/src, will it be clever enough to realise that I am referring to the second instance of the string 'src'?

I currently use a Fish port of the original 'z'. It does ignore the common prefix of _all_ matches (so if I only ever used it within my ~/src tree, the problem would disappear) but after that binary exclusion it works exclusively on frecency.
by utopiah | 2025-09-23 06:54:03+00:00
> I still think it's only good for demos and getting a prototype

Have you actually tried that? Because my bet is that if your "prototype" is a anything that is very VERY traditional, e.g. a CMS, online shop, or anything that has examples online, yes it will be quick, but if it's genuinely new, namely something NOT available out there, maybe because it is relying on the latest stack that is not yet well documented, then I bet it will also fail terribly.

Edit: I personally did, namely using LLMs to make XR demos relying on a now relatively popular framework https://aframe.io and basically it fails most of the time by proposing "traditional" HTML/CSS, missing entirely that it's 3D. Anyway, long story short, didn't work for me so curious to know if the "getting a prototype" (a genuine prototype, not a codebase starting from scratch because IMHO that's different) part is validated or just an idea.
by timeon | 2025-09-23 06:55:04+00:00
> "It's bad that a single company owns the language just like Google and Golang, Microsoft and C# and Apple and Swift".

I do not think that is same as VC-backed. Google/Microsoft/Apple need those languages for their ecosystem/infrastructure. Danger there is "just" vendor lock-in. With VC-backed language there is also possibility of enshittification.
by palmfacehn | 2025-09-23 06:55:18+00:00
That's the larger point here. We should be able to hold two different concepts in our minds when we describe the outcome. Yes, all things being equal tariffs and interventions create economic inefficiency. That is in my view, a rational first principle. We would prescribe actions based on that belief.

*As a redundant disclaimer for HN, that belief would put me in opposition to Trump's policies.

However when describing the outcome all things are not equal. We shouldn't fall into the trap of an appeal to utopia.

Selling into the US presents advantages on economies of scale. Overseas dollar denominated debt drives dollar demand. These factors affect decisions for producers selling into the US market.

The specific pricing data is subject to cherry picking and politicalization. Generally it is a bit strange to see the illiberal left taking exception with Trump's illiberal interventionism. You get the sense that if the interventions were rationalized by a different actor or for a different reason, the statistics would be spun in the other direction. This feels inconsistent and hypocritical.

The other key point is that the tariff doom prophesies haven't yet come to pass. Perhaps the doomsaying was merely more political bloviation? It would fit with the pattern of inconsistency.
by zwnow | 2025-09-23 06:56:06+00:00
I gave up on humans and this system. There are no good experiences to be made with others. Everything is a transaction nowadays and there is no altruism. Believe it or not, I am an altruist because I dont care anymore. I dont expect anything from anyone, I dont strive to be happy because its impossible to be happy with the current state of the world (at least im not ignorant enough to try and be happy). I am nice to all people. I do shit for people all the time, but deep down I am ready to jump in front of a train once my mother dies. In my country the rich preach "WE DONT WORK ENOUGH!!!!" without any public response. People gave up, we are locked in a system voting for people that don't represent our interests. We are approaching doomsday without doing anything against it, because it doesn't generate money. I'm just tired so I LARP my way through life until I finally grow the balls to end it.