MurphyA/hacker-news huggingface dataset:
by xnorswap | 2025-07-23 14:59:58+00:00
I've seen plenty struggle.

They don't struggle to write code, but they struggle to write idiomatic code.

An experienced programmer from a different language introduced to another will write lots of code that works, but in a style idiomatic to their favoured language, be that C, C++, rust, python, etc.

Every language has its quirks, and mastery is less about being able to write a for loop or any given algorithm in any given language, but more about knowing which things you should write, and which things you should be using the standard libraries for.

I've literally seen C# consultants waste time writing their favourite .NET LINQ methods into a javascript library, so they can .Select(), .Where(), etc, rather than using .filter, .map, etc.

Likewise I've seen people coming from C struggle to be as productive as they ought to be in C#, because they'd rather write a bunch of static methods with loops than get to grips with LINQ.

Fully understanding a runtime (or compiler behaviour for AOT languages) and what is or isn't in standard libraries isn't something that can be mastered in a few hours.
by westurner | 2025-07-23 15:00:05+00:00
> Is there potential to optimize solar beyond the perceived limits?

There is.

The albedo of solar panel products varies with the coating and level of dirt.

There are waterless methods of cleaning solar panels.

TPV Thermo-Photovoltaic (TPV) cells generate some energy from infrared (heat). Regular PV cells waste the heat difference.

The Shockley-Quiesser limit is only conjectured to be applicable to single-junction cells.

Shockley-Quiesser limit > Exceeding the limit: https://en.wikipedia.org/wiki/Shockley%E2%80%93Queisser_limi...

"How to cut U.S. residential solar costs in half" (2025) https://news.ycombinator.com/item?id=44551633
by dartharva | 2025-07-23 15:00:07+00:00
I might have one of the very rare cases where my laptop works much better with Linux than with Windows (both 10 and 11).

Both Wifi and Bluetooth doesn't work on a fresh Windows install, I have to physically connect a USB DVD player to install the drivers from the DVD that came with the package (in 2024! btw). On Linux everything just works out-of-the-box. Okay maybe not everything, I did have to patch my kernel for bluetooth drivers, but other than that it's a LOT smoother in every way than on Windows.
by immibis | 2025-07-23 15:00:11+00:00
I think iptables compiles BPF filters; you could write your own thing to compile BPF filters. In general, the whole Linux userspace interface (with few exceptions) is considered stable; if you go below any given userspace tool, you're likely to find a more stable, but less well documented, kernel interface. Since it's all OSS, you can even use iptables itself as a starting point to build your own thing.
by PeppySteppy | 2025-07-23 15:00:40+00:00
You are misleading by using "secret police" when what you are are looking for is the "security police".

Secret police definition [1]

> Secret police (or political police) are police, intelligence, or security agencies that engage in covert operations against a government's political, ideological, or social opponents and dissidents. Secret police organizations are characteristic of authoritarian and totalitarian regimes.

Security police definition [2]

> In some countries, security police is the name given to the secret security and intelligence services charged with protecting the state at the highest level, including responsibilities such as personal protection of the head of state, counter-espionage, and anti-terrorism.

Specific example for Swedish 'Security Police'.[3] if you look up any EU agency with similar roles it will be found that they are all security, not secret.

1: https://en.wikipedia.org/wiki/Secret_police

2: https://en.wikipedia.org/wiki/Security_police

3: https://en.wikipedia.org/wiki/Swedish_Security_Service
by ujkhsjkdhf234 | 2025-07-23 15:00:53+00:00
Me neither. I hear about assaults against female passengers but I don't believe I've read or heard about one against female drivers. I've asked a few women I've gotten in Ubers with and they say they've had some dicey situations but no out right assaults.

But I don't think you were asking genuinely and just wanted to be snarky without contributing to the conversation :)
by ARandumGuy | 2025-07-23 15:01:01+00:00
The initial beta design had so many obvious issues that it's wild that it made it as far as it did. Hell, the readability of many UI elements was obviously terrible in the initial reveal, where you'd expect everything to be shown in the best possible light.

Obviously Apple can improve things for the final release (and it seems like they're taking some steps in that direction). But these issues should have been identified long before the beta was released, and the fact that they weren't does not inspire confidence.
by masfoobar | 2025-07-23 15:01:19+00:00
????

Unfortunately, you will need to cover more ground with this proposal than what you have presented. It sounds simple but what you are suggesting is very complicated. Of course, to the OOP minds out there, they think their suggestion is a be-all-to-end-all, when in reality there are many ways to solve a problem.

I understand what you are trying to do. I am not suggesting it is wrong but C is not an OOP language. I dont see why we should PRETEND that it has OOP-class features when its all you advocating is smoke and mirrors.

Sure, C can do "OOP" but I must remind all that these techniques have been in C for years, before the OOP name was popularised and evolved into the form it is now. You are just forcing C programmers to program in such a way OOPLOVERS like when it is not required - and that is the modern OOP than has been forced on everything since the early-to-mid 90's.

You are just HIDING whats really going on

This proposal you are suggesting -- I am going to call this Typescript-C.

The problem is that this namespace/class overlay makes much ASSUMPTIONS what the programmer wants. Lets dig into this further. Here is how (I believe) you see it implemented :-

// In my TypeScript-C. namespace Foo { class Bar { int baz; void init() { this->baz = 10; } void free() { // whatever } int process(int withval) { return withval + this->baz; } } } // calling example :- Foo.Bar sample; sample->init(); printf("%d\n", sample->process(100)); sample->free();

This would translate to :-

// Translated C... typedef struct Foo_Bar { int baz; } void Foo_Bar_init(Foo_Bar *self) { self->baz = 10; } void Foo_Bar_free(Foo_Bar *self) { // whatever } int Foo_bar_process(Foo_Bar \*self, int withval) { return withval + self->baz; } // calling example :- Foo_Bar sample; Foo_Bar_init(&sample); printf("%d\n", Foo_Bar_process(&sample, 100)); Foo_Bar_free();

My argument is, for starters, how is writing all this namespace and class wrapper actually better than the final code? Anyone that starts using C with namespaces and classes are going to assume we have inheritence, overrides, etc. Why?

If anyone is THAT bad they cannot write proper C code, then I suggest they move to C++, Java, C#, Dlang.. or whatever.

Its just adding extra fluff -- and C guys like to SEE what is going on. (Thats why it takes ages to truly grasp C++ internals)
by II2II | 2025-07-23 15:01:21+00:00
> Poor File and Folder Sharing Situation on the Local Network -> really not an issue, we have smb ftp ntfs...

I have been mucking around with Windows lately, and two things that caught me off-guard was the difference in file sharing and remote desktop between the two platforms. Unix and, by extension, Linux grew up in networked environments. I was really expecting it to be better than Windows.

Consider NFS. It's plenty fast, in the blows the socks off of SMB sense. It mounts as a regular file system, so it gets along with every Unix application. Is it appropriate outside of a local network? Nope. About the only way access control will work properly is to centralize account management, either on a server or by manually matching up the UID/GID on each system. Not only is that more work, but I really have to wonder about the security implications of that. Samba is also a pain to setup on Linux, at least if you're not running one of the big desktop environments. Protocols like FTP aren't really meant for file or folder sharing. I suppose you can wrap them up as a FUSE file system. Otherwise you aren't going to be accessing files from applications remotely, unless they built in support for those protocols.

The thing that really blew my mind though was Remote Desktop. Click a checkbox to enable it on Windows (Professional), select any users who you want to have access, head over to another computer, and log in with your account. Video works. Audio works. It isn't doing anything funky, like VNC, where the gate-keeping is managed by a single password.

Don't get me wrong. I'm firmly in the camp that most of the weaknesses (and lack of strengths) that people see in either Linux or Windows is mostly about familiarity. Having used Linux almost exclusively for a quarter century, I can certainly attest to that. I can count the strengths of Windows on the fingers of one hand (IMHO) and using it is a battle to maintain my sanity.

I also don't see a lot of the issues people cite, such as local file sharing (or remote desktop), as being something that affects most users. For personal use, most people have shifted to online services. For large institutions, there are professionals to manage the quirks of either operating system. That pretty much leaves small businesses and enthusiasts. Other issues are truly issues, but they are impossible to resolve without throwing away the advantages of Linux (like the claims of there being too many distributions).
by cconstantine | 2025-07-23 15:01:37+00:00
> why not put a whole bunch of filters in front of a mono camera and get much more frequency information?

Just rgb filters aren't really going to get you anything better than a bayer matrix for the same exposure time, and most subjects on earth are moving too much to do separate exposures for 3 filters.

The benefits of a mono camera and rgb filters is that you can take advantage of another quirk of our perception; we are more sensitive to intensity than color. Because of this, it's possible to get a limited amount of exposure time with the rgb filters, and use a 4th "luminance" filter for the majority of the time. During processing you can combine your rgb images, convert that to HSI and replace the I channel with your luminance image. Because the L filter doesn't block much light it's faster at getting signal, but it's only really a benefit for really dark stuff where getting enough signal is an issue.
by hnuser123456 | 2025-07-23 15:01:38+00:00
Well, some of the densest, nearest, most interesting structures are right behind the rest of the Milky Way, which causes up to 30 magnitudes of extinction in visible light, but deeper IR and UV passes through much more easily.

I think a better way to describe the issue is that much of the structure of the cosmos is only visible in non-visible wavelengths, so while calibrated, accurate visuals "like you were in a safe glass bubble" is a good category of astrophotography to continue to refine, it's a tiny slice of what's emitting electromagnetic radiation that's worth visualizing. And if cameras can convert invisible colors into visible ones, that's a blessing of a capability.
by LinXitoW | 2025-07-23 15:01:46+00:00
Currently, the goal of everyone is creating one master model to rule them all, so we haven't seen too much specialization. I wonder how much more efficient smaller models could be if we created language specialized models.

It feels intuitively obvious (so maybe wrong?) that a 32B Java Coder would be far better at coding Java than a generalist 32B Coder.
by shafyy | 2025-07-23 15:01:55+00:00
I think the direction we should go in is not to separate genders, but unify them. For example, there shouldn't be separate bathrooms or parking spaces. The more you make the separation, the more divided a society becomes. Just look at many muslim socities like Arabic countries where almost everything is separated.

Now, I am a male, but many females, including my partner, actually advance this point of view. Also look at more equal socities like in Nordic countries, and you'll see that there's much less separation than in countries with more gender inequality.

Of course, we can argue cause and effect and what not, but I still stand by the opinion that separation also has an effect on gender equality, not only the other way round.
by kensai | 2025-07-23 15:01:59+00:00
Prove where is the flaw first. A small or old study is not necessarily flawed. The burden of proving they are flawed falls on you. And no, I care less that they have not been replicated because the community lacks interest. Nobody said the effect is miraculous or similar, to compete with modern medical applications, but certainly they are cheap methods that complement with other general wellness effects of spas.
by snikolaev | 2025-07-23 15:02:06+00:00
Hi everyone — I'm one of the maintainers of Manticore Search. Huge thanks to @klaussilveira for submitting this — we really appreciate the interest and the thoughtful discussion here.

A few points that came up in the thread and are worth clarifying:

- We do get compared to Elasticsearch a lot. While we support some of its APIs, Manticore isn't a drop-in replacement. We've focused on performance, simplicity, and keeping things open-source without vendor lock-in. Our own SQL-based query language and REST endpoints are part of that philosophy. - @mdaniel was right to question the "drop-in" wording — that's not our goal. - As @sandstrom pointed out, tools like Typesense and Meilisearch are part of this evolving search space. We see Manticore fitting in where users want powerful full-text and vector search capabilities with lower resource overhead and SQL capabilities (we support JSON too though)

We'd love to hear from you: - What are your main use cases for search or log indexing? - Which Elasticsearch features (if any) are absolutely essential for you? - Are there performance comparisons or scaling challenges you'd like to see addressed?

Happy to answer any questions or dive deeper.
by throaway920181 | 2025-07-23 15:02:06+00:00
This is ridiculous ignorance and akin to Canada's near ban on the Flipper Zero. We might as well ban cars because they can be used to transport drugs and dead bodies.

I have run Graphene on my phone for some time. I'm not doing anything illegal with my phone or using it for nefarious purposes. I'm just not comfortable with Google (or any entity) having so much data about me.
by perihelions | 2025-07-23 15:02:14+00:00
This is all based off a one-line quote, by one police officer, interviewed anonymously in one newspaper in its "society" column. I don't want to go against the feeding frenzy, but, I think this one's a bit over-interpreted.

https://es.ara.cat/sociedad/sucesos/guerra-tecnologica-movil... ("Guerra tecnológica: el móvil de los narcos contra los troyanos de la policía")

or https://www.ara.cat/societat/successos/guerra-tecnologica-mo... ("Guerra tecnològica: el mòbil dels narcos contra els troians de la policia")

> "Cada vegada que veiem un Google Pixel pensem que pot ser un narcotraficant"

(You'd have to navigate through four layers of links to find this: two layers of androidauthority linking to itself, then through xatakandroid, then finally you get to the primary source, the Catalan-language daily Ara. Though, for reasons, it's linking to a Spanish-language machine translation of the Catalan original—the "es." subdomain, which says Traducción no verificada at the top. So, we're five levels removed from the primary source, which is one sentence, which has gone through two rounds of machine translation (ca -> es -> en)).
by pc86 | 2025-07-23 15:03:08+00:00
Eh, sort of. You do that if you're working out, because you're trying to maximize performance.

Most living beings aren't trying maximize performance, they're trying to maximize survival. That crouch gives away that you're about to jump, and it allows prey to avoid you more easily or predators to adjust their attack to counter for it. A rabbit trying to get away from a predator simply bounds away in its given direction without giving away what its doing.
by _mlbt | 2025-07-23 15:03:20+00:00
Can we at least agree that Communism and Nazism are both deeply flawed ideologies that result in mass suffering, death, and destruction?

Arguing which is worse is like arguing whether you’d rather have chlamydia or syphilis.

Also for the record, censorship is not the answer to fighting against destructive ideologies. Quite the opposite, education, is the answer.
by paffdragon | 2025-07-23 15:03:30+00:00
Interesting approach. I'm a bit old-school, when I make a change I already have all the context and beyond in my head, plus all the expectations from colleagues, historical context etc that might be useful to remind people about. At least for me, it is easier to formulate the commit based on that, than trying to formulate a prompt to formulate what I want to have in the commit. But I have the same with code. When it is born in my head, it's usually easier for me to write what I want, than trying to explain it to an LLM. I find the LLM a bit lacking precision when it comes to comprehension, a little like trying to explain something to a child (with superpowers, but still need step by step directions).

But I find it very interesting how others find prompting more productive for their use cases. It's definitely a new skill. Over years I also built my skill to write commits, so it comes natural to me as opposed to prompting, which requires extra effort and thinking in a different way and context and it doesn't work well for something that I do basically automatically already.
by CyberDildonics | 2025-07-23 15:03:51+00:00
If this is a measurement it is a recent one with recent hardware.

This was on a 10 year old Xeon CPU.

Sqlite is a single compilation unit for much very different reasons than the header only libraries by the way. It's developed as many different files and concatenated together for distribution because the optimizer does better for it that way.

What difference does that make? What does it have to do with anything? You could develop anything like that.

The point here is that single file libraries work very well. If anything they end up making compilation times lower because they can be put into monolithic compilation units. When I say single file C libraries, I'm talking about single files that have a header switch to make them header declarations or full functions implementations. I'm not sure what you're trying to say.
by melodyogonna | 2025-07-23 15:03:53+00:00
Gemini CLI is really bad. Yesterday, I tried to make it fix a simple mypy linting issue, just to see whether it has improved since the last time I tried it. I spent minutes amused watching it fail and fail again. I then switched to Aider, still using Gemini 2.5 Pro model, which instantly resolved the linting problem.

While Gemini 2.5 Pro is good, I think Gemini CLI's agent system is bad
by nerdjon | 2025-07-23 15:03:55+00:00
While I can kinda buy the argument for why men may want to do this, it is also complicated and how far do we go. (saying this as a guy for the record)

Is it that you are either free for all or you can limit to your own sex or a sex of your choice? So could men say they only want woman? What about trans people.

Do we start adding in religion, political affiliation, race, etc etc etc.

Woman not feeling safe with unknown (and largely unvetted) Male drivers (or passengers) is a valid concern. It feels more like a bandaid than an actual fix, but it is an "Easy" solution to a problem. The ideal should be that we don't need this, not that we add in more filters like this. But for many reasons we as a society are not there.
by ceejayoz | 2025-07-23 15:04:08+00:00
> That's not bombing.

Oh, come on. Argue in good faith, please.

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

"By October 2024, Israel said it bombed 40,000 locations in the Gaza Strip (which is 360 km2). By one estimate, as of April 2024 the bomb tonnage dropped on Gaza was more than 70,000 tonnes, surpassing the combined bomb tonnage dropped on Dresden, Hamburg, and London in World War II."

That is, on average, almost a ton of explosives per acre. (360 square kilometers is ~89k acres)

> So don't bring the other thing up when I mention the first thing.

https://www.youtube.com/watch?v=GCSGkogquwo

> The pro-Palestinian take is the most credulous one…

The assertions upthread were a lie, which I've demonstrated. You were credulous about them.
by red-iron-pine | 2025-07-23 15:04:33+00:00
people finding out real quick who really calls the shots in this government.

they just voted for 400 billion for ICE -- more than the FBI, more than the Russian military.

the police state is coming, and now they just shut down the government. Trump will be their fall guy and go down in history as the shadiest guy ever, and by the time he finally gets removed ICE will be ready to start arresting any real opposition.
by citrin_ru | 2025-07-23 15:04:42+00:00
IMHO it's not specific to design - in big companies incentives (for unknown to me reason) set in a way that small incremental improvements are discouraged by managers and delivery of a big shiny project is the best way to get a bonus/promotion. Managers don't want designers and developers to keep improving things, they want something completely new (a project they can attach their name to) or at lest some big change - the bigger the better.
by gmuslera | 2025-07-23 15:04:48+00:00
That is a 1st world country point of view. Reality is that we don't have an unified, global living standard now, and neither probably by the Expanse point of time.

And if a critical amount of people decided to try luck working on asteroids, it might mean that they didn't had a comfortable way of life down here at the start of the process, and probably by the end of it too.
by Aurornis | 2025-07-23 15:04:52+00:00
> The main point is that police are profiling people using Pixel phones. Nothing about making it illegal, or trying to remove encryption.

I had to click through several links to get to this part.

It’s an off-hand comment from a single police person who was trying to make some point.

The android news sites are getting a lot of mileage out of that single comment from a single person.
by 827a | 2025-07-23 15:05:08+00:00
If they had to actually fund R&D and footprint expansion with customer money: Absolutely yes. But, that's exactly what VC money is for. If VC money can cover expansion while customer money can cover per-token incremental costs, eventually they won't need to expand quite as much, and then profitability should catch up.

In other words: How literally every tech business that has ever worked has worked. This isn't news. This isn't novel. This is just how it works.

If you want me to feel fright that the world is coming to an end, wake me up when Google (one of the world's largest frontier AI labs by any measure) isn't posting $35B in profit on a 39% gross margin every quarter, or when Meta (who is reported to be paying AI researchers nine figure comp packages) isn't making $16B on 40%. The amount of money these companies make is disgusting, its so disgusting that they can blow a hundred billion on GPUs and key people, they could write it all to zero two years later, and its all a teeny tiny little blip on their graphs, it becomes the third line-item in their quarterly board meetings, behind far more important stuff. The reason why some of you get so freaked out is because you literally cannot comprehend the scale these companies operate at, and how financialized their operations are.
by silveraxe93 | 2025-07-23 15:05:46+00:00
Arguments shouldn't be soldiers[1]. In fact, this I'd say this is harmful to privacy.

If you start caring more about how it supports your side rather than the truth, you're playing politics. And in that battlefield you'll lose to eurocrats.

- [1] https://www.lesswrong.com/w/arguments-as-soldiers