Hacker Newsnew | past | comments | ask | show | jobs | submit | randomtoast's commentslogin

I’ve seen this play out a lot. People say they “write games in C” and then quietly rebuild half of C++ anyway with vtables in structs or giant switch statements, just without the compiler helping. That’s fine if it makes you happier, but it’s not obviously simpler or safer. Also, C++ compile times are mostly a self-inflicted wound via templates and metaprogramming, not some inherent tax you pay for having virtual functions.

A switch statement is how you do ad-hoc polymorphism in C -- i dont thinks an own against C developers to point that out. If they wanted to adopt the C++ style that immediately requires the entire machinery of OOP, which is an incredibly heavy price to avoid a few switch statements in the tiny number of places ad-hoc poly is actually needed

You don't usually do C++ subsets if you want the full shebang.

I have a "mini-std" headerfile that's about 500 LoC implementing lightweight variants of std::vector, std::function, a stack-local std::function (unsafe as hell and useful as hell to avoid allocations), a shared-ptr, qsort and some other nifty stuff.

That does a lot of things, but even then I use other patterns that brings a lot of bang for the buck without having to go full C (hint: the stack-local function equivalent gets a lot of mileage).


This reads like an LLM generated response that simply restates the comment it's replying to

Heck the LLM accusations get a bit out of hand lately here on HN. I could delve into it now ... but I want to safe our time.

I think it is simpler and "the compiler not helping" == "things are more transparent".

  int a = 3;
  foo(a);
  // What value has a ?

There are various things one does not have to worry about when using C instead of C++. But the brain needs some time to get used to it.

I think I get what you're trying to say, but you may have picked a bad example, here:

  #define foo(a) a = 12

Yes, but this is more a theoretical problems while references are common in C++.

It's important that you do these things yourself before you utilise the compiler to do them for you, so you have real understanding.

> but it’s not obviously simpler or safer

On top of likely having worse performance.


The main motivation of the author seems to be that Tor is slow, but you can significantly speed it up by manually choosing Tor nodes. For instance, if you pick your three fast nodes within a short distance of you location, then the speed is significantly higher then the default tor settings.

Now we just need to choose a game and run Claude Code with Ghidra MCP in a loop until the game is completely decompiled.

> If a country changes course every four years, how can the success of a long-term project be ensured?

Simple. You begin constructing an offshore wind park when someone competent is president, pause the project for four years during Trump's term, and then resume work to complete it.


The font size is too small for emergencies on mobile devices. You need to consider that users might be in a panic, may not have both hands free to zoom in, and their vision could be impaired by smoke or other factors.

It is astonishing how one's motor skills degrade when the adrenaline is flowing. I once tried to dial 911 on an iPhone in such circumstances. My hands were shaking so badly I kept dialing 922, 811, 914, and so on. Terrible in the moment but a very good lesson for preparedness. I really appreciate the "dial Emergency" methods on modern phone software that just need a button held down.

You might find it easier to dial 112, which is also universal and works outside of the USA.

It's a much saner number, though probably easier to pocket dial as well. I'm not sure how far back it was chosen, but 112 would also dial a lot faster than 911 or 999 on a rotary phone.

I think it came about around 2000.

My only complaint with hold-to-dial emergency dialing is phones with damaged or glitchy buttons (ghost presses) that trigger it accidentally. There's probably a setting to disable it, though I think its manufacturer-dependent.

That’s one of my recurring “disturbing dreams”: I get iban emergency and can’t dial the right numbers.

Imagine trying to navigate Hacker News in an emergency. LOL!

I can actually imagine this when AWS goes down and you have to go check if AWS is down again. (Although it's not a type of medical emergency but still) xD

Though to be fair, If your prod depends on AWS and it goes down, you might be going through tons of adrenaline too as well.


Thank you. This has been patched.

The README.md describes it as:

WhatsApp (baileys) --> SQLite --> Polling loop --> Container (Claude Agent SDK) --> Response

So they basically put a Wrapper around Claude in a Container, which allows you to send messages from WhatsApp to Claude, and act somewhat as if you had a Siri on steriods.


Found the spec here: https://github.com/gavrielc/nanoclaw/blob/main/docs/SPEC.md

The scheduled tasks seem like the major functional difference. Pretty cool.

Has anyone tried Anthropic’s “Cowork”? How does that compare?


If you make a prediction that the stock market is about to collapse every year, then one year you will eventually get it right.

The market can remain irrational longer than you can remain solvent. But why do you think gold has tripled in price?

1. Mass hysteria.

2. Central banks rotating into gold to de-risk from USD combined with their usual slow bureaucratic processes. By the time they've decided that gold needs to be bought, the price has already run up by 50% and it's no longer a good idea to buy, but they still need to execute on their decisions anyway.

The USD isn't going anywhere for the simple reason that the USA can simply counterfeit any non-USD currency and there's nothing the issuer can do about it, whereas if anyone tries to counterfeit USD, they should expect a nice little missile to land inside their room no matter where they are in the world. "Reserve currency" status is entirely based on how effective the issuing entity is at taking care of counterfeiting.


North Korea is a prolific USD counterfeiter. Where are the missiles?

Digital currencies can't be counterfeit. China is cashless, so are some parts of Europe.


>Where are the missiles?

The scale doesn't seem to be large enough to warrant military action. It seems NK had mostly used it as pocket money for its embassy staff and has now stopped.

From https://en.wikipedia.org/wiki/Superdollar#North_Korea:

"The U.S. Secret Service estimates that North Korea has produced $45 million in superdollars since 1989. [...] Since 2004, the United States has frequently called for pressure against North Korea in an attempt to end the alleged distribution of supernotes. It has investigated the Bank of China, Banco Delta Asia, and Seng Heng Bank. The U.S. eventually prohibited Americans from banking with Banco Delta Asia. [...] The United States has threatened North Korea with sanctions over its alleged involvement with the supernotes, though it said those sanctions would be a separate issue from the nuclear sanctions."

>Digital currencies can't be counterfeit.

Yes they can. 51% attack.


That may be true, but in order to meet Masayoshi Son, you have to be a billionaire to begin with.

I'm a billionaire in EVE Online, and even though that counts for nothing, it'd still be enough for him

> as part of the startup’s [OpenAI's] efforts to raise up to $100 billion

At this stage, why not go public? Yes, they would need to manage quarterly financial reports and answer to shareholders, but they have reached a size where they are in the top 20 range on the NASDAQ. These public companies doing well, so it seems like a logical next step.


The reporting creates "transparency" - there are 1000s of analyst ready to pounce on this (with AI assistant). What skeletons would they find?

I think they are still crazy r&d heavy, which it's not what investors like to hear. Investor pressure would make them stagnate from r&d side

On the other hand they would probably set things up in a way where they still control all the voting power


Okay, but I don't think we can call OpenAI a startup until it has reached the number one spot on NASDAQ with a $5 trillion valuation. Therefore, I believe now is a good time to focus on more realistic fundamentals, rather than fueling the hype by burning even more cash on the way to the absolute top, which is typical bubble mentality.

I actually think the public markets have a lot less faith in openai than softbank does. They need these crazy investors. Public markets would not value openai at $1.4trn. So they can't go public. It would reveal how bad things are.

I used to hold this theory, but apparently Anthropic are planning to IPO, and surely both of them would be valued similarly?

Anthropic don't have all the free users, but they're also raising absurd amounts and have similar costs.


Maybe soon we have single use applications. Where ChatGPT can write an App for you on-the-fly in a cloud sandbox you interact with it in the browser and fulfill your goal and afterwards the App is shutdown and thrown away.

exe.dev (though there are alternatives like sprites.dev etc. too)

You can already do this.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: