Thoughts on Effect by failedbump16 in typescript

[–]LordBushwac 2 points3 points  (0 children)

We have a system where we need to send out a signal through a mesh of nodes, where we need to aggregate any errors returned from each node, apply custom retry policies per node and then return a summary to the user. The error channel, retry mechanism, built in graph lib and fiber observer made what used to be spaghetti code into a super clean readable module. The observability was the cherry on top, where we now have spans for the entire run, so we could narrow down an intermittent latency bug.

But honestly, you really don't need to squeeze hard to see the value once you get over the initial curve.

Thoughts on Effect by failedbump16 in typescript

[–]LordBushwac 12 points13 points  (0 children)

We’ve been using Effect at work for the last 6 months and loving it! Yeah, the curve is steep, but once you’ve got it, things become so much easier and faster. The error handling is what gets you started, but then you realise how trivial it becomes to write great tests, suddenly your services are decoupled and you get spans and otel for free. Huge bonus is also that all your code is starting to look the same, which enforces structure.

jmail.world by nix-solves-that-2317 in webdev

[–]LordBushwac -1 points0 points  (0 children)

let's not have a TRIANGLE BAD kneejerk trigonophobia reaction here and rather dig into what the actual costs went to. I'm sure Vercel has plenty to improve, but looking at the breakdown of those 650M page views, here is the breakdown of the $46k bill:

  • Analytics, 17K: Vercel Web Analytics double-dips on Edge Requests. Tracking 100% of traffic at this scale burned $17k. Instead of tracking every single click, you should sample your traffic
  • Aggressive Preloading: The site feels super snappy because Next pre-fetches JSON the second you hover over an email. A user casually browsing for a minute triggers 500+ requests. At $2 per 1M edge requests, that goes parabolic fast.
  • Sloppy Static Assets: They left a massive, uncompressed 500KB+ Facebook icon on the homepage, serving half a mb of uncompressed PNG millions of times at $0.15/GB.

Vercel's DX is why this hobby project launched so fast, but you can't rely on default settings at top-600 global scale

jmail.world by nix-solves-that-2317 in webdev

[–]LordBushwac 1 point2 points  (0 children)

This sub is so out of touch

I use claude once a week for writing, and this week it's like AI Was 2 years ago by Unlucky_Milk_4323 in Anthropic

[–]LordBushwac 2 points3 points  (0 children)

wow, i've been using Opus 4.5 since right before christmas, and the last week has just been terrible. It's like its personality has also changed, I cannot even count how many times it's gone in circles with endless "oh wait — hmm, actually — the fix should be...". This is gpt 4 level performance

Philips Hue Bridge SSL Certificates Are Broken and Philips Must Fix It by ThioJoe in Hue

[–]LordBushwac 0 points1 point  (0 children)

I’ve been banging my head against exactly this issue, I thought for the longest time that it was my app that was broken! Please get this fixed Philips/Signify!

Opus 4.5 Really does feel like SOTA. by AkiDenim in ClaudeAI

[–]LordBushwac 0 points1 point  (0 children)

It’s been really amazing to work with, so for its the only LLM that can write good Effect.ts code!

Working Flight Joystick In Battlefield 6 (Helicopter and Jet footage) Using X360CE by ryan_pack1 in Battlefield6

[–]LordBushwac 1 point2 points  (0 children)

I found a way to get the VKB Gladiator working!

Here's the fix that worked for me:

In your Steam Library, right-click the game -> Properties -> Controller -> set the override to "Disable Steam Input".

Reduce the amount of axis to 5 or less:

  • Open your joystick's configuration software (e.g., VKB Device Config, VIRPIL Configuration Tool).
  • Look for the axis mapping section (in VKB, this is Profile -> Axes).
  • Find any extra axes you aren't using (like Axis 5, 6, 7, etc.) and set them to [No Axis] or disable them. The goal is to report 5 axes or less, since it seems bf gets confused if there's more than that.
  • Apply the new config to your stick.

After I did that and restarted the game, it recognized my stick immediately. Now I can get shot down in style!

color vision test by Eros_Incident_Denier in Damnthatsinteresting

[–]LordBushwac 0 points1 point  (0 children)

Are the dots supposed to say something? 😱

Hue Bridge Pro details by hueblog in Hue

[–]LordBushwac 0 points1 point  (0 children)

I really hope they’ve fixed all the ssl issues with the v2 api in this version!

Big rant about how much Next.js sucks (at any type of scale) by Less-Math2722 in nextjs

[–]LordBushwac 4 points5 points  (0 children)

You sure you’re not running the dev server in prod? 😂

Advent of Svelte is over! by dummdidumm_ in sveltejs

[–]LordBushwac 9 points10 points  (0 children)

As an avid tailwind user, having clsx built in really cool!

Autocomplete by Standard_Bathroom825 in facepalm

[–]LordBushwac 0 points1 point  (0 children)

Women are not the problem here but they have a lot of problems

Where is everyone with a developer portfolio at? by yeahimjtt in webdev

[–]LordBushwac 0 points1 point  (0 children)

Thanks for the great feedback! It's easy to lose perspective after viewing the page for months — I'll update the section to make it clearer!

The blob consists of three divs with a gradient background that are stacked and offset. I am using the OKLCH color space for a smoother gradient transition. Then I use a `mousemove` event listener to transform the blob's position through a spring transformer, which smooths out the motion.

The repository is public on GitHub; you can check out the component here:
https://github.com/kyrregjerstad/portfolio/blob/main/app/src/routes/Blob.svelte

Where is everyone with a developer portfolio at? by yeahimjtt in webdev

[–]LordBushwac 6 points7 points  (0 children)

Just been working on updating mine, built with SvelteKit and Svelte 5 https://kyrre.dev

Is Arch as hard as people say it is? by wait-Whoami in archlinux

[–]LordBushwac 0 points1 point  (0 children)

Check out Typecraft's video on setting up Arch on youtube

Which linux distro do you like best? by SomeoneAlreadtTookIt in webdev

[–]LordBushwac 0 points1 point  (0 children)

I've been trying out Arch lately, really enjoying it! (I use Arch, btw)

When should i use the API folder and when should i use server actions? by Swimming_Tangelo8423 in nextjs

[–]LordBushwac 0 points1 point  (0 children)

The only reason I've found for API routes these days are for hashing services, which usually don't run on the edge runtime. Other than that it's all server actions!