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

> Aside from memory safety, which is solved by using a compiler that just doesn't allow unsafe memory operations

I don't see how that's possible without turning the language into something that isn't C, either by adding significant new functionality (e.g. fat pointers) or subtracting enough functionality that it's a much less capable language (e.g. disallowing dynamic memory allocation).


Behold: https://fil-c.org/

An important improvement over rust is that "Fil-C has no unsafe statement."


As everything, there are compromises and prices to pay.

In case of fil-c, it is about 1.5-4x slower performance, and a memory overhead.

So, let's not present it as a panacea to all problems: there could good reasons to use it, but it isn't a magic trick.


Rust is slower too, and git is IO bound anyway, and routinely calls bash.


Wolf says they can with FBI and congressional approval. I'm sure if some (probably future) president asked for that it could be sorted.

Also they’re no where near each other. These Chinese rover cannot get there.

Also also, if China were to create a new mission to collect them, they would see their costs balloon to unsustainable levels as well, as the issue is how the mission is designed. The samples are all over the place and would need a rover specifically designed to collect them and return them to a launcher.

The US Mars sample return project was always half baked in the hopes that doing something would garner funding for the rest of the mission.


Not true - only ten samples were dropped off at a “depot” close to each other. The rest are on-board Perseverance and can be picked up all at once, which was always the primary plan.

The point is that they’d have to be picked up and retrieved at all, even from Perseverance.

That alone is a separate multibillion dollar program just to do that.


Could the Chinese mission just take the US samples without the US's permission?

Interesting question. Article VIII of the Outer Space Treaty [1] states:

> A State Party to the Treaty on whose registry an object launched into outer space is carried shall retain jurisdiction and control over such object, and over any personnel thereof, while in outer space or on a celestial body. Ownership of objects launched into outer space, including objects landed or constructed on a celestial body, and of their component parts, is not affected by their presence in outer space or on a celestial body or by their return to the Earth. Such objects or component parts found beyond the limits of the State Party to the Treaty on whose registry they are carried shall be returned to that State Party, which shall, upon request, furnish identifying data prior to their return.

It is clear, then, that the sample containers are still the property of the US, and that if the Chinese brought them back to Earth, they would be required to give them to the US.

[1] https://www.unoosa.org/unoosa/en/ourwork/spacelaw/treaties/o...


> China stole design information regarding advanced thermonuclear weapons

Sounds like they blew it. What a shame.



> There are still some types of CRT-related vacuum tubes in production for applications digital equivalents are objectively less performant in.

Like what? The only significant applications I'm aware of for vacuum tubes nowadays are high-power RF amplifiers (including household microwave magnetrons) and intentional X-ray emitters.


Night vision goggles. The photodiode + CsO + lead coated charged glass capillary amp thing is apparently still superior to solid state image sensors with amplifiers in metrics like SNR, minimum luminosity, and longer wave IR response. The performance gap is wide enough that there's a Chinese Norinco subsidiary that entered the market during 2010s by licensing technology from an EU company.

You can get these tiny 3 inch black and white CRTs from china. They arent really good for anything but writing hackaday articles tho.

Replay files are streams of the orders given by players. They generally can't do anything which would be impossible in game.

I suppose that makes sense for a deterministic engine. That way you have an ordered steam of actions with only one way to execute them.

I was wondering how you could possibly sync up something like a Carrier that has multiple fighters.


> I was wondering how you could possibly sync up something like a Carrier that has multiple fighters.

Same way as everything else - you play out the simulation and see what happens. The behavior of the interceptors is as deterministic as any other unit. (They just happen to not be directly commandable by their owner.)


No, I get that. The pondering was before I knew it was a recording of actions. Once you know that, it is a fully self-contained box with external nudges from the players which get inserted into the simulation.

Not feasible. The VODs are from a spectator's perspective; there's a lot of action happening "off camera" (like players building units) which affects what's seen on camera later, and which would be extremely difficult to reconstruct from what's visible.

Yes, e.g. https://github.com/gulshngill/bwrepanalysis. But I doubt an agent would learn much from them without a lot of additional processing - the replay files are little more than a stream of the orders given during the match (e.g. "at tick 17, player 1 ordered unit 234 to attack-move to 56,78"). They're difficult to make sense of without a lot of additional context, like the map layout, the location and status of other units, what parts of all that are actually visible to each player, etc.

This is not a viable strategy in competitive play. It's a huge resource/time investment with a dubious payoff.

If you could win as Protoss by building Dark Archons, raiding your Zerg opponent's base to capture a worker, building a bunch of Zerg production and tech buildings, and attacking with a combined army... you most likely outclass your opponent, and could have won much faster using a more conventional strategy.


To be fair I’m recalling 2v2 NR20 games from an era where I played talking to my childhood friend on a landline.

So there was enough time. The big risk was that the map would max before you could fully develop the Zerg side.


What you're describing is a casual game, not competitive play. And, of course, all bets are off if you're playing with additional rules like "no rush" which remove the element of tempo from the game.

> They've gone with a lesser known company Kioxia.

Formerly known as Toshiba's memory division. They spun off the business as Kioxia in 2017.


> So why not set up a simple grid (say, Pages on a mac or Libre Office or Scribus) and pair the best photo you can grab with a description opposite it, on a nice background?

Or, for that matter - skip the photos, just do text, maybe with a few bits of clip art if you're feeling daring. Photos are hardly essential for coffee drinks, which tend to all look the same in real life anyway.


OMG, Trader Joe's uses clip art from another century, probably not the most recent one.

I am now recalling all of Dad's clip art books!!

I am not a connoisseur of fine coffee drinks, just get me out of my morning daze! So, I can't say if the "specials" really need their own photos.

Perhaps to justify the price?

But as for me, a vent fan blowing out of the shop will do it every time.


> It's also nice that it translates directly to the file system.

On the other hand, this means that it's bound by filesystem naming rules - e.g. you can't have an object named "abc/", or a pair of objects named "a" and "a/b".


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

Search: