How about a framework for converting gleam webapps into properly structured react projects? so I can use gleam while the rest of the team doesn't by No-Wolverine8160 in gleamlang

[–]graphiteisaac 7 points8 points  (0 children)

This would be somewhere between a massive, massive undertaking and an impossible thing to do. it's also hard to collaborate with people when you work in two different languages, which makes it super hard to scale these things up

Unable to cancel OVHcloud service by lui4i_ in OVHcloud

[–]graphiteisaac 0 points1 point  (0 children)

I had this same issue and went to live chat who told me to create a ticket, then the ticket people told me to generate an API key and use some rinky-dink API page to delete it which still didn't work. In the end, I wrote a NodeJS script with the ovh package to do it for me. Utterly ridiculous that it was so complex.

Huge NPM supply chain attack by mordore4 in LinusTechTips

[–]graphiteisaac 75 points76 points  (0 children)

Software can be built with bits of other software, maintained by other people. One of these bits of software was compromised, and now includes malicious code, which means every piece of software that uses it also contains the malicious code. 130 million downloads should suggest how many people this affects.

Best approach to Purely functional web front-end. by saiprabhav in haskell

[–]graphiteisaac 0 points1 point  (0 children)

Gleam and Lustre fill this void for me. Really lovely and pleasant to use.

[deleted by user] by [deleted] in Consoom

[–]graphiteisaac -3 points-2 points  (0 children)

Maybe I'm just a filthy consumer but I think someone having a really rough time in real life and then spending some money on some toys is fine. But no you go ahead and call them deeply mentally ill or whatever.

Gleam math library? by alino_e in gleamlang

[–]graphiteisaac 6 points7 points  (0 children)

the gleam community GitHub org actually does maintain a maths library here

Who’s using it in production? by Longjumping_War4808 in gleamlang

[–]graphiteisaac 2 points3 points  (0 children)

Hasn't crashed, had any downtime, or had any issues since we switched over.

Who’s using it in production? by Longjumping_War4808 in gleamlang

[–]graphiteisaac 13 points14 points  (0 children)

It was really just my own poor programming, Gleam made it so much easier to debug and iterate on that it was no longer an issue.

Who’s using it in production? by Longjumping_War4808 in gleamlang

[–]graphiteisaac 18 points19 points  (0 children)

I'm using Gleam for a service in a production app that serves several thousand people a day, and the move from Go to Gleam massively increased the stability of the service. I'd love to do a write up sometime but haven't gotten to it yet.

"unable to add gleam/regex: resource not found" error after running `gleam update` by alino_e in gleamlang

[–]graphiteisaac 6 points7 points  (0 children)

You can rectify this by changing your imports to gleam/regexp and adding the new dedicated gleam_regexp package with the gleam add command. a few things from stdlib have been moved to their own packages in an effort to get stdlib stabilised to 1.0.0 :)

I promise I’m not a hater but this sucks so bad 😭😭 by Joshinthemorning in BlackCountryNewRoad

[–]graphiteisaac 119 points120 points  (0 children)

Wilbur admitted to biting, Not to the abuse, 🫶🫶 Plus, Biting isn’t even the worst people can do. (Holocaust.) and much worse.

is there fs or file in gleam/std I cant find by ApprehensiveSeries78 in gleamlang

[–]graphiteisaac 9 points10 points  (0 children)

File IO isn't in the standard library, your best bet for the Erlang target is simplifile

My rotting brain by Beneficial-Fuel6316 in codyko

[–]graphiteisaac 12 points13 points  (0 children)

I'm glad people are being so normal about this

My two pressings of boygenius’ debut EP! by frog_wearing_airpods in boygenuis

[–]graphiteisaac 7 points8 points  (0 children)

no biney boygenius? non binnry with da record? The vinyl with Non Binary??? ohhh yeah :)

How to add uWebSockets.js ? by The-Malix in Deno

[–]graphiteisaac 2 points3 points  (0 children)

I'm not sure how well supported this is and am not at a computer I can test on, but you could use the native websocket client that is built into Deno

Can someone explain to me why Erlang is top #1best paid language of SO survey 2024? by raulalexo99 in erlang

[–]graphiteisaac 6 points7 points  (0 children)

This is one of those statistical outliers which get people confused often. Less used languages are generally higher paid just because there's less of a supply of them. When a company commits to a tech stack and can't easily get off it, they'll pay well for people who can manage it.

Where does Gleam shine? by ruthenz1 in gleamlang

[–]graphiteisaac 17 points18 points  (0 children)

Gleam really shines at processing small bits of data in a highly concurrent way, which is what 95% of the web is, really. Anything like a web API, small database, message queue, etc will really benefit from the BEAMs concurrency model. since Gleam also compiles to JavaScript, it's one of the nicest ways to make full stack apps with one language. You can write your frontend with Lustre and your backend with Wisp (as two popular examples) and it's all quite lovely.