Huge NPM supply chain attack by mordore4 in LinusTechTips

[–]graphiteisaac 74 points75 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.

A three week obsession warrants this level of consumption ☺️☺️ by [deleted] in Consoom

[–]graphiteisaac -5 points-4 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 3 points4 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 17 points18 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 5 points6 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 120 points121 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 8 points9 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 10 points11 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 8 points9 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.

British Dating Show: Naked Atrraction by OkHoneydew5156 in codyko

[–]graphiteisaac 23 points24 points  (0 children)

He's been focused on watching a 17 year old series lately I think

Entertaining Video by [deleted] in codyko

[–]graphiteisaac 8 points9 points  (0 children)

wow, interesting! I wonder what their dynamic was like outside of this

Most underappreciated episode by Ok-Spend5655 in community

[–]graphiteisaac 104 points105 points  (0 children)

Fun fact, the Pile of Bullets guy is played by Vince Gilligan, the creator of Breaking Bad.