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

Looks really cool but I'm wondering if the whole Docker setup was necessary just to get onnx?


Thank you! Yes, I use Docker to get ONNX DLLs and cross-compile the main DLL using the MSVC toolchain (which is required for game engines)


Have you considered using prolog as a database instead of mysql?

Good ways to store relations, iterating weird combinations, filling the blanks


I think Datalog would be even more suitable than Prolog for this use case.


Just run the code and see the output.

There are multiple ways to safely run untrusted code.

I for one enjoy how build.rs in rust does it: you have a rust code that controls the entire build system by just printing stuffs on stdout.

There are other ways of course


Just run the code that provisions the infrastructure? Sandboxing is the least of your problems. You would need to fully mock out all function executions and their results to have a hope to properly execute the code let alone govern what's happening without affecting a live environment. And even still, there would be ways to fool this kind of introspection, as I mentioned. In an enterprise environment where this kind of governance is mandatory, that's not acceptable.

In any case, regardless whatever clever method you try to use, even if you're successful, it's not as straightforward and easily understood and extensible as OPA policy. Let's say you succeed in governing Rust code. OK, but now I have developers who are writing in Python and Java and TypeScript. What now? Develop a new, customized solution for each one? No thanks


B)

This. I really wish I could be workikg in hardware, but the salary incentive is just there. Now I am stuck doing backend job to afford life and my low level and hardware hobby (reverse engineering games and firmwares, emulator, fpga stuffs), things that are magnitudes harder than making an api that put stuffs in DB and kafka


Absolutely love how readable the entire project is


It's AI generated


How do you know? The over-commenting?


I know because this is how an AI generated project looks. Clearly AI generated README, "clean" code, the way files are named, etc.


Not sure myself. Commit messages look pretty human. But the emojis in readme and comments like "// Re-export key structs for easier access", "# Add any test-specific dependencies here if needed" are sus indeed.


To me it looks like LLM generated README, but not necessarily the source (or at least not all of it).

Or there's been a cleaning pass done over it.


I think pretty clearly the source is also at least partially generated. None the less, just a README like that already sends a strong signal to stop looking and not trust anything written there.


Because the author said so on Reddit.


The repeated Impls are strange.


Where? Don't see any on latest main (685467e).


`llm.rs` has many `impl LLM` blocks


It is very procedural/object oriented. This is not considered good Rust practice. Iterators make it more functional, which is better, more succinct that is, and enums more algebraic. But it's totally fine for a thought experiment.


Never knew Rust could be that readable. Makes me think other Rust engineers are stuck in a masochistic ego driven contest, which would explain everything else I've encountered about the Rust community and recruiting on that side.


Most Rust code looks like this - only generic library code goes crazy with all the generics and lifetimes, due to the need to avoid unnecessary mallocs and also provide a flexible API to users.

But most people aren't writing libraries.


Don't underestimate what some programmers trying to prove their cleverness (or just trying to have fun) can do if left unchecked. I think most Rust code does indeed look like this but I've seen plenty of projects that go crazy with lifetimes and generics juggling where they don't have to.


Not sure what you’re alluding to but that’s just ordinary Rust without performance or async IO concerns.


Not short sighted if _that_ is the goal. Maybe it's just to cut off people they have overhired during the pandemic. Maybe they just need fresh faces without costly layoffs


I have a hard time believing this a 5th year correction of a past hiring bubble.


hōrensō no ohitashi, made from some exotic vegetable I’ve never seen before.

That's spinach


So it's just VM?


Discord as a Town Square? Nahh


Maybe they're talking about prioritizing earlier "Piece"


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

Search: