Readit News logoReadit News
Bellend commented on Coroutines in JavaScript for web components   lorenzofox.dev/posts/comp... · Posted by u/HumanOstrich
Bellend · a year ago
I really enjoyed the article! Generators have been around for maybe half a decade already but I never see them used. I am able to follow the article but have never seen an example at even small scale. All of the complexity for my software is still there in some form or other. I can have 100 classes it seems or 1000 functions and I really really struggle with breaking away from the imperative viewpoint. Especially when you have a small team consisting of seniors to juniors. I do love the pattern but no one else does. Why does it feel this way?
Bellend commented on YouTube addiction, one month sober   sophiajt.com/youtube-addi... · Posted by u/_xivi
cynicalsecurity · 2 years ago
Damn that candy store on the street corner. They deliberately put candy on the shelves, can you imagine it! So you would want to buy more! What a bunch of rascals. And don't even get me started on the fast food... It's not my fault.
Bellend · 2 years ago
Honestly, part of me wants to agree with you whole heartedly but I don't think I can. I started off saying that things like Crack, Nicotine, Alcohol... consumables are addictions. Then what about gambling though... it's not really a physical consumable. Also I have been short-term-addicted to some games, or wanted to binge watch a series, or finish a book despite knowing I have work tomorrow.

As someone who used to smoke, I can't believe that anything is as difficult as stopping smoking, but then Heroin Addicts enter the chat. So whereas to me, it seems incredible that people are addicted to content, it doesn't mean that how they feel about said content doesn't constitute a problem and where that lies on the scale for an individual is impossible to quantify from my narrow viewpoint and experience.

Bellend commented on JSR first impressions: a JavaScript package manager by the Deno team (2023)   kitsonkelly.com/posts/jsr... · Posted by u/satvikpendem
plopz · 2 years ago
I tried to do exactly what you say last week but I couldn't get it to work. The turborepo documentation seems to indicate its possible with the whole concept of "internal packages" but it all depends on the compilation step of Project B being configured to compile and bundle workspace dependencies, and a simple "tsc" wasn't doing it for me regardless of the different tsconfig settings I tried.

If its actually possible I'd love to know how.

Bellend · 2 years ago
I made a private repo who's package JSON was `private: true`, `type: module` and `main: src/index.ts` and `module: src/index.ts`. I didn't progress down that route as stated, but I was able to consume that package. Maybe none of what I said here mattered in which case the only other thing that may make a difference was that I was using pnpm for the first time with workspaces.
Bellend commented on JSR first impressions: a JavaScript package manager by the Deno team (2023)   kitsonkelly.com/posts/jsr... · Posted by u/satvikpendem
whoknowsidont · 2 years ago
TypeScript should not be pushed or published. Do not do that.
Bellend · 2 years ago
Could you provide why not? I have a utility library (Project A) and whilst messing around with TurboRepo, I noticed I could point to the source files in my package. I haven't progressed down that route, but something about it seemed nice.

So in other words, if Project B depends on Project A, either I could build Project A and then build Project B or I could just build Project B (which consumes Project A as a typescript package).

Kinda confusingly written but I would love to know why that is an issue.

Deleted Comment

Bellend commented on Why isn't the <html> element 100% supported on caniuse.com?   anderegg.ca/2024/02/02/wh... · Posted by u/GavinAnderegg
OJFord · 2 years ago
> MDN used to stand for Mozilla Developer Network. Now it’s just MDN. I spent a few minutes looking on the MDN site to see if I could find any mention of the full name, but I guess they’re just all in on “MDN” now.

Huh, yeah, nerd-sniped on that one; I can't find anything either.

Bellend · 2 years ago
I remember a few years ago that Microsoft docs started to point to Mozilla docs, maybe part of Edge rebrand? Perhaps renaming to MDN during this agreement could leave someone like "huh is it M(ozilla)DN or M(icrosoft)DN??". I have no clue.

Deleted Comment

Deleted Comment

Bellend commented on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090   dsogaming.com/pc-performa... · Posted by u/segasaturn
Bellend · 2 years ago
It's a Unity game. Why are people genuinely surprised that performance is absolute garbage? Both CS2 and KSP2 (kerbal) REQUIRE incredibly specific tuning that unity simply does not offer. The latter being rigid bodies at scale (which is semi impossible with a dedicated engine) and the former being "almost-factorio-level" low level cell processing. The graphics of both are second tier to that.

But no, lets use Unity...

Edit: I got former and latter mixed up.

Bellend commented on One game, by one man, on six platforms: The good, the bad and the ugly   ruoyusun.com/2023/10/12/o... · Posted by u/insraq
Bellend · 2 years ago
Loved the article. My beef is debugging IOS Safari. It's so tragic that it's The Next IE™ but I can't debug it without a mac. There has always been ways to do it, but talk about jumping through hoops to see a debug window.

u/Bellend

KarmaCake day186October 30, 2021
About
ronson49 gmail com
View Original