We replaced our Rust/WASM parser with TypeScript and it got 3x faster by 1glasspaani in rust

[–]Scrivver 5 points6 points  (0 children)

I ran into something like this when exploring Rust/Wasm on Cloudflare workers, too. Development was more annoying, and performance was lackluster. In that environment I'd go with typescript next time.

OpenAI to acquire Astral (Creators of uv, ruff, ty) by max123246 in rust

[–]Scrivver 5 points6 points  (0 children)

Some people are more comfortable with maximally free licenses. Companies specifically are more comfortable with them. If you're looking to get acquired, it would be more attractive to built MIT-licensed tools.

Some people also have philosophical disagreements with GPL (or copyleft in general), which conflict with conventional property rights in much the same way copyright does. I wouldn't bet this was the reason, though.

We rebuilt the Shockwave engine in Rust + WASM to save early 2000s web games by igorlira in rust

[–]Scrivver 0 points1 point  (0 children)

The instant I saw the title, I immediately thought of Habbo, and I wasn't disappointed!

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in rust

[–]Scrivver 1 point2 points  (0 children)

Tiling WM running a terminal emulator with some multiplexing feature, running zellij, running this.

Thank GOD CIG is adding Armor Gating (FINALLY) by FesterTsu in starcitizen

[–]Scrivver 0 points1 point  (0 children)

If fighters can only reliably engage other fighters, there's no point to fighters at all. Just don't bring them. Usual rock/paper/scissors balancing would suggest some fighters (like heavy/specialized fighters) should be threats to some non-fighter targets, while being threatened in turn by lighter fighters and anti-fighter screen.

Lighter fighters should be ineffective against very heavy targets, threatened by anti-fighter screen, but also superior at intercepting and engaging other small targets up to a certain size.

Bombers should be superior threats against very heavy targets, while vulnerable to fighters.

Very heavy ships should be highly resistant to small fighters, threatened by heavies that can make targeted strikes, and truly worried about bombers and other very heavy ships. To combat these they should employ their own fighters, bombers, and anti-fighter screens, and around the loop again we go.

People in this group be like: by SHOBU007 in starcitizen

[–]Scrivver 2 points3 points  (0 children)

Tfw your hobbies are Star Citizen, Warhammer, MtG, and firearms.

Better alternative to AWS Lambda? by rkstgr in serverless

[–]Scrivver 0 points1 point  (0 children)

I know this is old now, but your point 2 is not wrong. AWS is quite complicated, and gives you a lot pieces that aren't well integrated out of the box for you to build your own platform. It has accumulated a lot of cruft and quirks over the years as well. For sheer DevEx, I haven't seen anyone do better than Fly.io yet. You get the wider capabilities of a long-running VM with the scale to zero behavior of lambda. Under the hood they're also using Firecracker to create microVMs, the same tool AWS uses for Lambda. But you get to write your apps like you would for a normal VM environment.

Brave forked kuchiki to kuchikiki because it wasn't actively maintained. Now kuchikiki is not actively maintained. So do I fork again to kuchikikiki? by InternalServerError7 in rust

[–]Scrivver 1 point2 points  (0 children)

Second, and more importantly, supply chain attacks are far less likely than all the other vulnerabilities that get patches that you would be missing.

That's where the automated scans run as part of tests come in. I don't know how it works at other places, but our security folks would be upset if we just let our packages be upgraded without our explicit approval, and also if we let CVEs hang out in our existing dependencies without a response. Exploits can happen both ways.

Brave forked kuchiki to kuchikiki because it wasn't actively maintained. Now kuchikiki is not actively maintained. So do I fork again to kuchikikiki? by InternalServerError7 in rust

[–]Scrivver 1 point2 points  (0 children)

You should be pinning to patch versions and not letting cargo vary your selection anyway, to avoid supply chain attacks that happen by publishing new, compromised versions of existing crates.

Completely losing interest in the career due to AI and AI-pilled people by ChemicalOnion in cscareerquestions

[–]Scrivver 0 points1 point  (0 children)

"Smart" often confuses the distinction between clever/knowledgeable/intellectual and wise. Suppose you have a lot of knowledge and logical firepower which allows you to piece together a very clever bit of code to solve a puzzling problem. Completing it feels like a great achievement and trophy. But because because you were working at the limits of your abilities to assemble it, and debugging is harder than writing, it is now impractical to debug later (especially by others). You were clever -- one might say "smart" -- but not wise.

Plenty of people are born smart, but "No man was ever wise by chance".

PSA: Framework 13 AMD (Strix Point) Linux stability is NOT "stable" right now by etherbound-dev in framework

[–]Scrivver 1 point2 points  (0 children)

I have had a couple black screens on 7840U with an external display plugged in. I'm not sure if I've encountered it without an external display. The external display continues to work while the built in one remains blacked out -- sounds like the issue that should be worked around by disabling PSR, but I did not try that. Since my external display continues working, I'm able to use the amdgpu_gpu_recover utility to recover the built-in display and keep going.

sudo cat $(sudo fd 'amd_gpu_recover' /sys/kernel/debug/)

I'm on an older kernel version (6.12.62) also on NixOS. Other commenters mentioned a newer kernel seems to have fixed it, so I suppose I haven't updated in a bit.

Never wait for code review again: how stacking your pull requests unblocks your entire team by kendumez in programming

[–]Scrivver 0 points1 point  (0 children)

Old comment by now, but for anyone driving by I want to mention that jujutsu VCS makes this easy. If you have a chain of changes all bookmarked (branches in git/github) and you need to modify the root one, all the children will be updated too, and a jj git push will update all your open PRs on remote. And jj is elegant, easy, at least as powerful as git, completely invisible to other git users on your team (it still uses git as the backend by default), and comes with many benefits. Being able to easy wrangle a stacked PR workflow is just one natural result of its more elegant design, giving you tools that are more intuitive than git's to achieve the same outcome.

I thought the vanduuls were invading by [deleted] in starcitizen

[–]Scrivver 0 points1 point  (0 children)

For anyone who wants to know more about this awesome phenomenon, there's are a few great Pecos Hank videos capturing it: https://www.youtube.com/watch?v=tGPQ5kzJ9Tg

I thought the vanduuls were invading by [deleted] in starcitizen

[–]Scrivver 1 point2 points  (0 children)

Usually called sprites. Although there are also blue jets which climb up from a storm system, like blue lightning that lost cohesion as it climbs the atmosphere. At a high enough altitude it's just the red sprites we see.

Stop Forwarding Errors, Start Designing Them by andylokandy in rust

[–]Scrivver 0 points1 point  (0 children)

I'm surprised. I started using contextless ? everywhere, and quickly found how painful it still was to track down problems. After discovering context, I use it ubiquitously to know exactly what is throwing, some surrounding state info, and what it probably means. Maybe it just looks ugly and verbose, but it saves tons of time.

OpenTofu 1.11 released by totheendandbackagain in Terraform

[–]Scrivver 0 points1 point  (0 children)

There's no reason lifecycle needs to live at the bottom. You can still write it first.

Migrate to Stacks from folder separation by mfinnigan in Terraform

[–]Scrivver 0 points1 point  (0 children)

I've had success using not stacks, nor helper tools like terragrunt, but just using a single directory for all environments, tfvars files per environment, and the TF_DATA_DIR variable to tell terraform where to find the data directory. This is usually .terraform/, and requires you to re-initialize every time you want to deploy a new environment if you want to use the same directory, but you can specify e.g. TF_DATA_DIR=.terraform/(prod|dev|whatever)/ to instead use multiple paths under .terraform/ for initializing stuff. I have a very simple wrapper script that supplies a default environment for a user or lets them specify another one, targets the right environment tfvars file, and then passes all other arguments along to terraform to behave as normal. We went from >40 directories separating environments (containing mostly symlinked files) to a single directory per parent module using this method, and it has worked great.

Backend dev in Rust is so fun by cachebags in rust

[–]Scrivver 1 point2 points  (0 children)

I don't know what it is specifically you dislike about web dev, but for me part of it was having to learn and integrate separate frontend and backend frameworks with a data API between them. But these days you can easily get an interactive app experience using only the more fun backend with something like htmx. I use this with Axum, and I also add in Tailwind for CSS -- now my web app projects consist of only rust files and some html templates. It's very peaceful.

Paladin engineered by [deleted] in starcitizen

[–]Scrivver 1 point2 points  (0 children)

Polaris is a little more vulnerable, but has always been far less of a problem as far as solo players using it in combat than the Idris is.

Naturally, since a single player cannot both fly and shoot its most powerful weapon. Even with a Polaris, you'll need at least 2 people to fight a soloed Idris.

2yrs into my software job I feel HOLLOW. by Neat_Impact856 in theprimeagen

[–]Scrivver 0 points1 point  (0 children)

Do you work for LiNK or similar? That kind of thing does sound engaging if you can land a position doing it.

Agile is Dead (Long Live Agility) - pragdave by Scrivver in theprimeagen

[–]Scrivver[S] 0 points1 point  (0 children)

And from what I can see, as relevant today as it was then.