MurphyA/hacker-news huggingface dataset:
by kragen | 2025-11-18 20:33:43+00:00
I don't think C++ is object-oriented, and it is certainly way less OO than Java in most ways. Its "classes" aren't the same kind of thing as classes in OO languages and its "objects" aren't OO objects.

In part this is because by default even C++ class instances don't have identity, or anyway they only have identity in the sense that ints do, that every (non-const) int has an address and mutable state. You have to define a destructor, a copy constructor, and an assignment operator to give identity to the instances of a class in C++.

With respect to "participates in a class hierarchy", that has not been part of the definition of OO since the Treaty of Orlando. But, in Java, all objects do participate in a class hierarchy, while no primitives do, while, in C++, you can also create class instances (or "class" "instances") that do not participate in a class hierarchy (without ever using inheritance, even implicitly). So, regardless of how OO or non-OO it may be, it's another distinction that Java draws between primitives and class instances ("objects" in Java) that C++ doesn't.
by sph | 2025-11-18 20:34:21+00:00
Do I think people who want to do X should have some modicum of morals? Yes I do, but I can't fully blame them when ethics is not taught in most schools, least of all computer sciences.

First, let's stop perpetuating this destructive meme that running nginx on a VPS is rocket science, and fraught with peril; at least not on a forum of so-called hackers.
by BoorishBears | 2025-11-18 20:35:04+00:00
> We are cheering for a product sold back to us at a 60% markup (input costs up to $2.00/M) that was built on our own private correspondence.

That feels like something between a hallucination and an intentional fallacy that popped up because you specifically said "intense discussion". The increase is 60% on input tokens from the old model, but it's not a markup, and especially not "sold back to us at X markup".

I've seen more and more of these kinds of hallucinations as these models seem to be RL'd to not be a sycophant, they're slowly inching into the opposite direction where they tell small fibs or embellish in a way that seems like it's meant to add more weight to their answers.

I wonder if it's a form of reward hacking, since it trades being maximally accurate for being confident, and that might result in better rewards than being accurate and precise
Facebook has made it impossible to delete Pages – dark patterns everywhere
by ramharts | 2025-11-18 20:35:28+00:00
I'm honestly shocked at how bad the current Facebook interface has become. I’m trying to delete a Page I own, and the platform basically makes it impossible. The options have moved or disappeared, the Page Settings menu leads to the wrong profile, Business Suite doesn’t show the Page, and the “Access and Control” section doesn’t list it at all.

Facebook keeps bouncing me between: – personal profile settings – business portfolio settings – Meta Business Suite – classic Page UI

None of them give the actual option to delete the Page. It’s like the platform actively hides the feature.

And here’s the worst part: I AM the admin. I can publish on the Page. I can edit it. I can manage everything… except delete it.

I get that Meta wants to keep pages alive for engagement and ad data, but blocking users from removing something they own is straight-up abusive UX. No user should have to waste hours navigating four different interfaces to do something basic like “delete a page.”

If anyone has figured out the REAL way to delete a Page in 2025 with the new Facebook UI (which keeps changing), please share. Meta’s documentation is outdated, and their support is nonexistent.

This shouldn’t be this hard.
by tavavex | 2025-11-18 20:36:21+00:00
> “Thank you the marketing division of the Sirius Cybernetics Corporation”

I pasted this into Google to see what you were referencing, and was met with this full-screen, front page, all-important "AI Overview" (that of course takes precedence over actual search results)

> You're very welcome! If you have any questions about the Sirius Cybernetics Corporation's products, their marketing strategies, or need assistance with anything else, feel free to ask.

Full circle.
Show HN: Largest Abacus Ever Built
by cpuXguy | 2025-11-18 20:36:51+00:00
The most interesting interaction is the double-click, which generates a new pattern. If you press and hold the pointer for a moment, the image starts to animate (you can also press the M key). It’s helpful to open the keyboard legend with L or by clicking the “Open Keyboard Legend” icon. But what are you really looking at here? Visit: https://ng-menu.netlify.app/
by tb_technical | 2025-11-18 20:37:13+00:00
Some equipment is drop in - hooking up an audio output to a keyed radio is only occasionally difficult. You see a lot of these solutions in the HAM radio space.

The actual radio equipment is a tad more sophisticated - and in poor areas (where it's barely hanging on) is held together with spit, glue, and prayers (exaggeration, joke, but aspects of it are true).

Believe it or not, the RF cables are (in many cases) more expensive than the radios themselves.

Background: Computer systems, radio systems, General class HAM, but certainly not an expert.
by 1vuio0pswjnm7 | 2025-11-18 20:37:38+00:00
#!/bin/sh;#name: dot

export DOTLIST=/path/dot.lst test -f $DOTLIST ||exec echo $DOTLIST missing x=$(case $(uname) in :) ;;Linux)shuf $DOTLIST ;;NetBSD)shuffle -f $DOTLIST esac|sed 's/ \{0,80\}//;/^[ ]\{0,80\}[;#]/d;/^$/d;/./q') test $x||{ x=$(sed 's/ *//;/[;#]/d;/^$/d' $DOTLIST|sed -n '$!d;=') x=$(echo|awk '{srand();printf "%i\n",rand()*'$x'}') x=$(sed 's/ *//;/[;#]/d;/^$/d' $DOTLIST|sed -n "$x"p) } if test $# -gt 0 then case $1 in -h|-?|--help) exec echo usage: ${0##*/} [domainlist] esac test -f $1||exit fi streamtcp -ansf $x $(sed 's/$/ a in/' ${1-/dev/stdin}) || echo svr $x

dot.lst is a list of DoT servers in format ip@port

comments may begin with '#' or ';'

# working 5.5.5.5@853 # not working ;6.6.6.6@443

example usage:

dot < domains.txt > data yy101 4 < data|sqlite3 map-ip.db
by Sammi | 2025-11-18 20:37:39+00:00
- don't learn from what you tell them

Whenever I have a model fix something new I ask it to update the markdown implementation guides I have in the docs folder in my projects. I add these files to context as needed. I have one for implementing routes and one for implementing backend tests and so on.

They then know how to do stuff in the future in my projects.
by Rudybega | 2025-11-18 20:38:03+00:00
I wonder if you could get around this with a slightly more sophisticated harness. I suspect you're running into context length issues.

Something like

1.) Split audio into multiple smaller tracks. 2.) Perform first pass audio extraction 3.) Find unique speakers and other potentially helpful information (maybe just a short summary of where the conversation left off) 4.) Seed the next stage with that information (yay multimodality) and generate the audio transcript for it

Obviously it would be ideal if a model could handle the ultra long context conversations by default, but I'd be curious how much error is caused by a lack of general capability vs simple context pollution.
by kalaksi | 2025-11-18 20:38:15+00:00
When I'm doing the coding myself, I'm at least making steady progress and the process is predictable. With LLMs, it's a crapshoot. I have to get the AI to understand what I want and may have try again multiple times, many times never succeeding, and end up writing a lot of text anyway. And in between, I'll have to read a lot of code that probably ends up being thrown away or heavily modified. This probably depends a lot on what kind of project one is working on, though.

But it's like you said, I like using LLMs for completing smaller parts or asking specific kind of help or having conversations about solutions, but for anything larger, it just feels like banging my head to a wall.
by potatolicious | 2025-11-18 20:38:45+00:00
You really want to break a task like this down to constituent parts - especially because in this case the "end to end" way of doing it (i.e., raw audio to summary) doesn't actually get you anything.

IMO the right way to do this is to feed the audio into a transcription model, specifically one that supports diarization (separation of multiple speakers). This will give you a high quality raw transcript that is pretty much exactly what was actually said.

It would be rough in places (i.e., Speaker 1, Speaker 2, etc. rather than actual speaker names)

Then you want to post-process with a LLM to re-annotate the transcript and clean it up (e.g., replace "Speaker 1" with "Mayor Bob"), and query against it.

I see another post here complaining that direct-to-LLM beats a transcription model like Whisper - I would challenge that. Any modern ASR model will do a very, very good job with 95%+ accuracy.
by skydhash | 2025-11-18 20:39:01+00:00
One of the core principles of my workflow (inspired by REPL development and some unix tools) is to start with a single file (for a function or the whole project). The I refactor the code to have a better organization and to improve reliability, especially as I'm handling more scenarios (and failure modes).

LLMs are not useful in this workflow, because they are too verbose. Their answers are generic and handle scenarios you don't even support yet. What's useful is good documentation (as in truthful) and the code if it's open.

This approach has worked really well in my career. It gives me KISS and YAGNI for free. And every line of code is purposeful and have a reason to be there.
by BugsJustFindMe | 2025-11-18 20:40:54+00:00
The Gemini AI Studio app builder (https://aistudio.google.com/apps) refuses to generate python files. I asked it for a website, frontend and python back end, and it only gave a front end. I asked again for a python backend and it just gives repeated server errors trying to write the python files. Pretty shit experience.
by layer8 | 2025-11-18 20:41:34+00:00
When we criticize corporations, we really are criticizing the people who make the decisions in the corporations. I don’t see why we shouldn’t apply exactly the same moral standards to people’s decision in the context of a corporation as we do to people’s decisions made in any other context. You talk about lawfulness, but we wouldn’t talk about morals if we meant lawfulness. It’s also lawful to vote for the hyper-capitalist party, so by the same token moral outrage shouldn’t be directed towards the voters.
by sspiff | 2025-11-18 20:41:52+00:00
I had the same issue, where it would only charge with my 100W or above chargers. It worked with Dell USB-C 130W chargers (both genuine and knock off) and the HP charger, as well as a Baseus 100W charger. I have noticed yesterday it was working with my other chargers as well, something it certainly didn't do before. Maybe fixed through firmware update?
by estearum | 2025-11-18 20:41:52+00:00
Here's another version:

"A lot of people think that EA is some hifalutin, condescending endeavor and billionaire utilitarians hijack its ideology to justify extreme greed (and sometimes fraud!), but in reality, EA is simply the imperative (accessible to anyone) to direct their altruistic efforts toward what will actually do the most good for the causes they care about. This is in contrast to the most people's default mode of relying on marketing, locality, vibes, or personal emotional satisfaction to guide their generosity."

See? Fair and accurate, and without propagating things I know or suspect to be untrue!
by susam | 2025-11-18 20:41:55+00:00
A simple example where 1 + 1 + 1 = 1 is ℤ₂, the group of integers modulo 2 under addition.

In fact, in any group with binary operation, say +, the identity element 0, and a non-identity element a, we have a + a + a = a if and only if a + a = 0 (i.e. a has order 2).

There are plenty of groups with elements a satisfying a + a = 0. ℤ₂ as mentioned above has its unique non-zero element of order 2. The Klein group V₄ has three non-identity elements, each of order 2. Dihedral groups D₂ₙ (the symmetry groups of regular n-gons) contain reflections, all of which have order 2. Symmetric groups Sₙ (n ≥ 2) contain transpositions, each of which has order 2.

For example, in the dihedral group D₈, if we let a be a reflection of the square, then a + a = 0 and a + a + a = a. But this is conventionally written in multiplicative notation as a² = the identity element, so a³ = a.

Similarly, in the symmetric group S₃ under the binary operation of composition, if a denotes the transposition (12), then (12)(12) is the identity element and (12)(12)(12) = (12). In other words, applying a transposition three times is the same as applying it once.

In the last two examples, it is conventional to use product notation instead of +, although whether we use + or · for the binary operation does not matter mathematically. It is conventional to use + in some subjects (coding theory, additive groups of integers modulo n, etc.) and · in others (permutation groups, dihedral groups, etc.). Often + is used for the binary operation in abelian groups and · in non-abelian ones. I'm sure none of this is particularly insightful to someone who has studied group theory, but still I wanted to share a few concrete examples here.
by ffsm8 | 2025-11-18 20:42:28+00:00
Uh, isn't that the regular Claude code extension that's been available for ages at this point? Not jetbrains but anthropics own development?

As a person paying for the jetbrains ultimate package (all ides), I think going with vscode is a very solid decision.

The jetbrains ides still have various features which I always miss whenever I need to use another IDE (like way better "import" suggestions as an easy to understand example)... But unless you're writing in specific languages like Java, vscode is way quicker and works just fine - and that applies even more to agentic development, where you're using these features less and less...
by pksebben | 2025-11-18 20:43:18+00:00
I expect the downvotes to come from this as they always seem to do these days, but I know from my personal experience that there is value in these agents.

Not so much for the work I do for my company, but having these agents has been a fairly huge boon in some specific ways personally:

- search replacement (beats google almost all of the time)

- having code-capable agents means my pet projects are getting along a lot more than they used to. I check in with them in moments of free time and give them large projects to tackle that will take a while (I've found that having them do these in Rust works best, because it has the most guardrails)

- it's been infinitely useful to be able to ask questions when I don't know enough to know what terms to search for. I have a number of meatspace projects that I didn't know enough about to ask the right questions, and having LLMs has unblocked those 100% of the time.

Economic value? I won't make an assessment. Value to me (and I'm sure others)? Definitely would miss them if they disappeared tomorrow. I should note that given the state of things (large AI companies with the same shareholder problems as MAANG) I do worry that those use cases will disappear as advertising and other monetizing influences make their way in.

Slop is indeed a huge problem. Perhaps you're right that it's a net negative overall, but I don't think it's accurate to say there's not any value to be had.
by scarecrowbob | 2025-11-18 20:43:51+00:00
I mean, I personally don't believe in chemtrails or "mind control" myself, but to each their own- even if the CIA had explicit programs because -they- (falsely, in my opinion) believed in "mind control.

And you can ignore the 2009 US-backed honduras coup and everything back to the 1953 coup against Árbenz if you want, and take my tongue in cheek reference to the murder of JFK as evidence that I'm a crank- I'm used to that, even if very rarely have I heard the folks making those assertions make a plausible and informed case of what did happen to JFK.

But still, even if you ignore me because I am crank, you're not going to get beyond a simple, likely-racist, and probably wrong understanding of US immigration without understanding long-term US foreign policy in South and Central America.
by arbol | 2025-11-18 20:44:23+00:00
I'm also getting this. Cannot pull or push but can authenticate with SSH

myrepo git:(fix/context-types-settings) gp ERROR: user:1234567:user fatal: Could not read from remote repository. myrepo git:(fix/context-types-settings) ssh -o ProxyCommand=none git@github.com PTY allocation request failed on channel 0 Hi user! You've successfully authenticated, but GitHub does not provide shell access. Connection to github.com closed.
by bokohut | 2025-11-18 20:45:31+00:00
Ah, the term "Middlemen" of which I have personally been one in fintech as the core architectural founder several times.

Given that much of technology originates and is perfected by the adult content industry, for those unaware, payments is no exception to this rule just as live video and audio software development was directly impacted from this adult content demand. It is claimed that sex sells and I can attest 100% to this claim being correct as a movie was even made about the payment system I was foundational in building and that movie was ironically called "Middlemen". I was younger then and the personal stories from those days I carry could have a great mini series created.

https://en.wikipedia.org/wiki/Middle_Men_(film)

Stay Healthy!
by pwg | 2025-11-18 20:45:31+00:00
> In the old times where we had sodium vapour lamps I was always under the impression that the orange wavelengths were specifically picked because our visual system is keenest under dusklike lighting conditions.

The yellow from sodium vapor lamps was an artifact of the physics of the emission spectrum of excited sodium atoms.

The reason sodium vapor lamps were used was because before the advent of LED's, they were the most power efficient (lowest electrical energy consumption for a given light output). The 'yellow' light was just a byproduct of "more efficient bulb".
by exasperaited | 2025-11-18 20:45:33+00:00
This is the painful truth, isn't it?

IMO The next best cross-platform GUI framework is Qt (FreeCAD, QGIS, etc.)

Qt6 can look quite nice with QSS/QStyle themes, these days, and its native affordances are fairly good.

But it's not close. VSCode is nice-looking, to me.
by thewebguyd | 2025-11-18 20:45:53+00:00
> Who is going to be buying the products and services if no-one has money to throw around?

The same people who are buying products and services right now. Just 10% of the US population is responsible for nearly 50% of consumption.

We are just going to bifurcate even more into the haves and have-nots. Maybe that 10% now becomes responsible for 70+% of consumption and everyone else is fighting for scraps.

It won't be sustainable and we need UBI. A bunch of unemployed, hungry citizens with nothing left to lose is a combo that equals violent revolution.
by 0x457 | 2025-11-18 20:45:54+00:00
Yeah, in Russia even thought everything is decided for you once you've selected your major, PE classes still for you to choose. Competition to get in was crazy too, none of that "first come, first served" - swimming only accepted top N students, table tennis held a tournament style competition (I went there with two friends and I had to play against both of them).

US colleges still have far more options, though.
by kragen | 2025-11-18 20:46:10+00:00
You avoid livelock, as I understand the term in an STM, if the only thing that can prevent a transaction from committing when it tries to commit is some other transaction having committed. That way, forward progress is guaranteed; as long as some transaction commits, you're not livelocked, are you?

I'm not familiar with "obstruction-free"ness; should I be?
by cedws | 2025-11-18 20:46:32+00:00
I don't even know what the selling point of AI is for regular people. In the 60s it was possible for a man to work an ordinary job, buy a house, settle down with a wife and support two or three children. That's completely out of the realm of reality for many young people now and the plummeting birth rates show it.

The middle class have financially benefited very little from the past 20+ years of productivity gains.

Social media is driving society apart, making people selfish, jealous, and angry.

Do people really think more technology is going to be the path to a better society? Because to me it looks like the opposite. It will just be used to stomp on ordinary people and create even more inequality.
by dwattttt | 2025-11-18 20:47:05+00:00
It's relevant when you have more complex objects, such as ones that contain independent mutexes that lock different sections of data.

You want the object to present its valid operations, but the object could also be constructed in single or multithreaded situations.

So you'd offer two APIs; one which requires a shared reference, and internally locks, and a second which requires a mutable reference, but does no locking.

Internally the shared reference API would just lock the required mutexes, then forward to the mutable reference API.
by gmueckl | 2025-11-18 20:47:46+00:00
At least for a while, Eclipse seemed like an Architect Astronaut's happy fever dream: actual bits if implementations hidden behind 5 to 10 nested interfaces and facades wherever I looked. I remember that at one point that I wanted to debug some weird behavior in the Plugin Development Kit and after sinking about half a day into exploring the source code, I didn't even see a single line of code that was actually doing anything meaningful. It was quite shocking to my old junior level self.
by notaustinpowers | 2025-11-18 20:47:51+00:00
I think the main sticking point is this:

‘We’re happy to let them build whatever they want as long as it doesn’t hurt Rebble’

Eric mentions that they want to release free weather APIs so apps that show weather don't need to require the user to add an API key. As well as voice-to-text transcriptions. Rebble offers both of those services as a paid subscription. That would hurt Rebble's bottom line.

At the end of the day, Rebble built a business on top of scraped Pebble App Store data & open source code. They continued to keep their code open source. Eric paid fees to gain the rights to any code that wasn't open source.

The Pebble App Store data was never theirs. The underlying Pebble code was never theirs. The common library isn't theirs, Eric bought it from the maintainers.

It really does suck that the Rebble developers could lose a decent source of income. But that's what happens when you build your business on open source technology that you don't own.

But also, they must have some big balls to claim that all of the data they scraped from the Pebble App Store is THEIR data. I'd like to see the agreements from the pre-Rebble devs attesting to that.
by jayknight | 2025-11-18 20:47:58+00:00
What is the username/password for the demo site?

https://fx-demo.huijzer.xyz/login

Edit: Answering my own question, by reading the post on that site:

>This is a demo website for fx. To log in, you can click the 'Login' link at the bottom of the page and use username admin and password password.
by timacles | 2025-11-18 20:48:02+00:00
People are missing some nuance here.

1. Frustration depends entirely on the expectations of the outcome of an action. 2. Frustration is a spectrum. 3. Frustration is necessary to engage your full focus

If it were on a scale of 1-10. 4 through 8 would be the ideal frustration to keep you engaged in a goal. Below 4 and you would not be able to engage with the task fully. Above 8 and its a signal that either your expectations about the outcome are completely wrong or your approach is completely wrong, and you need to step back.

Playing your little brother in Street Fighter will never make you better at it, until he starts beating you and making you annoyed that you are losing, forcing you to concentrate and pay attention to the more subtle details of the game.