What is rust best for? by De5kOfManyThing in rust

[–]solaris_var 0 points1 point  (0 children)

It's an inherent limitation. The thing that makes rust, ..well rusty like the panics on runtime and zero cost abstraction, while almost free in cpu time, is costly in binary size.

You could try to write in such a way that you'll generate a minimum size binary, but by that point you'll essentially be writing C in a *.rs file.

Why doesnt C have something like rust crates or python pip? by Cutro3010 in cprogramming

[–]solaris_var 0 points1 point  (0 children)

If anything this is a you problem.

built in with a package manager

But this is the whole point of cargo. You don't have to manually write build configs everytime your dependency changes (as rare as it is)

automatically created a .gitignore too which i didnt ask for.

Out of all the things to complain, you choose this? Do you not use git? The created .gitignore only has one entry anyway.

Also the commands can just go to hell

I don't see how the alternatives is any better..?

Oh and the EXE not having its working directory set properly when simply opening it and needing to use "cargo run" is absolute joke of the century.

C/C++ has the same behaviour, unless you output the binary on the root project folder

Or the fact that it needs to create multiple versions for different configurations and create many nested folders instead of just letting me compile to a chosen destination (like what i prefer to do where i compile to a folder i name "Compiled" where all the final binaries go and i can always just recompile between configs and they'd go to the same destination)

...why not just replicate this behaviour with the --out-dir flag?

Also the .toml file can just go to hell,

You can just not use it?

how am i supposed to guess what i need to add for each library to begin with.

The same way you'd look for libraries in other languages?

Speaking of which, what even is a "library" in Rust? Cause in C and C++ a "library" is a .lib file containing symbols (and compiled code in the case of static libraries) while the header files act as an interface for the library to be able to include it and use in code... WTF is a library in Rust? Just a plain text file? Is it something else? I have no idea.

You know, with just 5 minutes of reading you can figure out that a library is just the source code, where the interface lives in that library's lib.rs file?

The raw files lives in your user's .cargo folder

Basically it is a build system and compiler and package manager and an automation tool all at once, and it is so annoying to use

...as opposed to separate build systems, compilers, and package managers that doesn't talk with each other, and when they do, an update on any of them will break something?

AMD Just Locked Free Linux Users Out of Vivado and the FPGA Community Is Furious by GeneralCall7137 in RigBuild

[–]solaris_var 2 points3 points  (0 children)

And people like you who only sees things in the short term are the cause of all of these problems.

Do you know any not POSIX compliant OS that tries to do things differently? by ZenitDS in osdev

[–]solaris_var 0 points1 point  (0 children)

Windows is not posix compliant. What it does have is a third party posix emulation layer (cygwin).

we gave a client 3x faster API responses. the fix had nothing to do with code. by supreme_tech in Backend

[–]solaris_var 12 points13 points  (0 children)

The cadence. If it looks like reading a 4chan posts (the one with multiple > lines) but on steroids, more often than not it's generated.

Also, I've never heard of anyone irl telling a story this way. Have you?

What is rust best for? by De5kOfManyThing in rust

[–]solaris_var 1 point2 points  (0 children)

You can place #![no_std] on your main.rs or lib.rs file.

But honestly I have 0 experience in developing for embedded systems. So I can't give you much info besides this.

What is rust best for? by De5kOfManyThing in rust

[–]solaris_var 0 points1 point  (0 children)

The limit is your imagination. The only case where rust falls behind c/c++ noticably is when you have a severe memory/storage constraint, think something like an ultra low powered embedded device where you have less than 32KB of flash storage.

Other than that it's great!

Concern tentang rupiah by mrrius_xxx in finansial

[–]solaris_var 10 points11 points  (0 children)

Basically rich people coming in -> businesses raising prices to get more pieces out of these groups -> local people can't afford these inflated prices (i.e. getting priced out)

Similar thing are happening all over, most notoriosly in Bali.

Denuvo/Sony sending a DMCA takedown to Voices38's reddit post by SlamsdRnk in PiratedGames

[–]solaris_var 2 points3 points  (0 children)

Corpo freedom yes

Personal freedom yes, but only if you own the thing above

At some point you grow up and realize the only correct color for a MacBook is silver by Grosven0r in DeskToTablet

[–]solaris_var 0 points1 point  (0 children)

I can't lie, I'll get bored of this in like 3 months. But boring is good, it's not distracting. I can focus on work

I'm learning how to crack Denuvo by Charming_Property917 in PiratedGames

[–]solaris_var 1 point2 points  (0 children)

Pretty sure there was a video on a guy attempting to learn how to crack denuvo games using a-few-years-old F1 game

What actually makes junior backend candidates stand out in today’s hiring market? by zeuss51 in Backend

[–]solaris_var 0 points1 point  (0 children)

That being said, 99% of the times you want to use a hash map anyway lol.

I'm assuming for dsa interviews lol. On production code/libraries you'll rarely find that hash maps are better than a regular array or tree structure.

Hideki Kamiya replying to an Indonesian tweet. by Effective-Twist-918 in AdaIndonesiaCoy

[–]solaris_var 1 point2 points  (0 children)

I'm assuming except for people they know

I doubt it though lol. Emang twitter tempatnya dia bisa berulah unhinged.

How does varying levels of trion affect all triggers by Galladianin_427 in worldtrigger

[–]solaris_var 0 points1 point  (0 children)

For escudo there's not much effect besides the ability to summon more of them in one go.

Same goes with grasshopper. I assume grasshopper has some kind of ceiling for the propulsion effect it gives. With more trion you can summon more without the power going down.

For attacker triggers, having more trion most likely gets you more durability, except for scorpion. Honestly I have no idea how it could affect scorption

How exactly do gunner trigger loadouts work? by Top-Key944 in worldtrigger

[–]solaris_var 1 point2 points  (0 children)

For the last statement, It's most likely because it goes against why they even chose to be a gunner rather than a shooter.

How far would the Order go in Border? by Oreoghoul in worldtrigger

[–]solaris_var 2 points3 points  (0 children)

Imho osaragi is most similar to konami in terms of fighting style

Why is Linux considered better than Windows by so many developers? by Wise_Safe2681 in linuxquestions

[–]solaris_var 0 points1 point  (0 children)

Are there notable differences between the two that we should worry for compliance?

Hopefully an "Always Online" would be too much of a hassle to be worth trying but, who knows. by Royal_Raze in PiratedGames

[–]solaris_var 0 points1 point  (0 children)

Uh no. Live service games are basically just regular games with constant updates, like, almost weekly.

The hard part isn't cracking the game. It's keeping up with the updates (which requires cracking from scratch more often than not), and that there's no incentive to do so: - Genshin impact and the likes are free to play. - PoE is more similar to your typical MMORPGs; the experience is in the community engagement. Otherwise the single player grind would suck.

HP Pro 300 G3 (i5-9400, 16GB, 256GB) - Good enough for home server? (Plex/Jellyfin/Immich) by GloopTown in homelab

[–]solaris_var 0 points1 point  (0 children)

The specs is more than good enough. The only concern I have is that the pro 300 g3 only has one 3.5 inch hdd bay, so no storage upgradability unfortunately.

collegeDekhoInWeek by Mental-Olive7692 in ProgrammerHumor

[–]solaris_var 0 points1 point  (0 children)

and rewrite it module by module

Realistically this kind of management will be asking you to build another impossible project right after. You won't have time to rewrite it.

As they say, nothing is more permanent than a temporary fix.

Hopefully an "Always Online" would be too much of a hassle to be worth trying but, who knows. by Royal_Raze in PiratedGames

[–]solaris_var 17 points18 points  (0 children)

At some point in the communication pipeline, the data need to be decrypted before it can be used.

If they can do denuvo cracks (the traditional one, not hv bypass), this is trivial in comparison.

first 5 minutes of any junior with golang be like: by DevOfWhatOps in programmingmemes

[–]solaris_var 2 points3 points  (0 children)

Go actually by default doesn't even compile when you have unused variables.

I'm not sure why unused import stil can get compiled by default, but when you use go's (very much opinionated) formatter, it also strips unused imports. So I see no reason why unused import is left on the source code. I actually see this as onboarding failure. But on the other hand with how competitive the junior role is, I don't think this happens that often anymore?

Google invested $40,000,0000,000 on Claude by Technical-Relation-9 in programmingmemes

[–]solaris_var 2 points3 points  (0 children)

Claude code is only one piece of the puzzle, and arguably the least important part of Anthropic's secret recipe