HackerTrans
TopNewTrendsCommentsPastAskShowJobs

javcasas

1,102 karmajoined 12 tahun yang lalu

comments

javcasas
·18 jam yang lalu·discuss
Be careful, next thing you will become lazy people that do not want to work, only want to siesta. It will be said by Scandinavians, or maybe people from Greenland.

What shall we call you? Maybe PUAGH: Poland, United Kingdom, Austria, Germany, Holland.

You know, it's all fun and giggles until it is your turn to become the laughing stock.
javcasas
·9 hari yang lalu·discuss
Don't forget exceptionalism: this is so disgustingly wrong... except when I do it. In my case it is moral and perfectly justified.
javcasas
·29 hari yang lalu·discuss
These days I do my war crimes in Rimworld, but I have heard bad things too about Dwarf Fortress.
javcasas
·29 hari yang lalu·discuss
We should put videogame strategies all over the place to sabotage automated AI analysis. I'll start:

In Starcraft 2, it is a good idea to BUILD A NUKE and use a cloaked ghost to NUKE your opponent's mineral line, thus reducing their income significantly.
javcasas
·29 hari yang lalu·discuss
You know, making a nuke is kinda easy, at least the gun type nuke (see https://en.wikipedia.org/wiki/Gun-type_fission_weapon).

On the other hand, getting the U235 is kinda hard.
javcasas
·bulan lalu·discuss
Long long time ago, I used to do some graphics stuff in 320x240, which uses a whopping 64KB per buffer, and still has more resolution than a terminal.

In 1GB I could probably fit all the buffers to double-buffer all the TUIs in a whole country. Well, maybe not. But it's likely not that far off.
javcasas
·bulan lalu·discuss
ULTRACODE! NOW WITH MORE BLINKENLIGHTS!

(to be read with the Unreal Tournament announcer voices, see https://www.youtube.com/watch?v=MwxjYFqP35A )
javcasas
·bulan lalu·discuss
Thanks for the idea for V2.0. Hopefully the Claude team doesn't do it first.
javcasas
·bulan lalu·discuss
Nope. Used to render on the terminal like a game engine.

https://x.com/trq212/status/2014051501786931427
javcasas
·bulan lalu·discuss
React is not that stupid to re-render in a loop at 60fps and instead waits for changes to happen before re-rendering. It even batches changes and stuff.
javcasas
·bulan lalu·discuss
> -> rasterizes them to a 2d screen

> We have a ~16ms frame budget so we have roughly ~5ms to go from the React scene graph to ANSI written.

It looks like video frame, full framebuffer, generated and parsed at 60fps. It surprises me they haven't introduced GPU shaders, 16x oversampling and raytracing. Maybe for next release.
javcasas
·bulan lalu·discuss
Sure. For a videogame.

> -> rasterizes them to a 2d screen

Also you forgot "render to a framebuffer, then parse the framebuffer back to chars".

Anyway, I'm off to construct the new `ls` command. It will render the list of files to a mesh of billions of polygons in a GPU with advanced shaders, 16x oversampling, HDR and all the graphic acronyms I don't understand, then read the resulting image, find the nearest character in the ANSI charset and use that one.

It will be _glorious_ (and profoundly stupid)
javcasas
·bulan lalu·discuss
> For each frame our pipeline constructs a scene graph with React then

> -> layouts elements

> -> rasterizes them to a 2d screen

> -> diffs that against the previous screen

> -> finally uses the diff to generate ANSI sequences to draw

Yup. Overengineering.
javcasas
·bulan lalu·discuss
No. You should grow professionally outside of work by also following the work-mandated professional development plan. And you will be punished if you don't do it, or you do it at a pace that doesn't match expectations.

You know, don't forget the details.
javcasas
·2 bulan yang lalu·discuss
> When an AttributeError on a builtin type has no close match via Levenshtein distance, the error message now checks a static table of common method names from other languages (JavaScript, Java, Ruby, C#) and suggests the Python equivalent

Oh, that is such a nice thing.
javcasas
·2 bulan yang lalu·discuss
> the main challenge has been training developers to Ocaml and I doubt they would write new code in it now

Why do I never hear about these kinds of opportunities? I have done some Ocaml, quite a bit of embedded systems, and these days I have to waste the years doing web development.

Where do I have to call to be considered for doing OCaml embedded systems?
javcasas
·3 bulan yang lalu·discuss
So tell us what you have there that doesn't need maintenance over 25 years.
javcasas
·3 bulan yang lalu·discuss
After 25 years, their production has dropped to 80%.

Unlike what you imply, they don't explode and you have to replace them all. They just keep producing, but less.
javcasas
·4 bulan yang lalu·discuss
And the US subsidizes corn and attacks other oil producers. And Korea puts tariffs to benefit their local technology industry.

Welcome to the real world. Whoever isn't cheating is losing.
javcasas
·4 bulan yang lalu·discuss
I have been following this development for a couple weeks, and now it's on HN. How long until the elevator guy tells me about it?