Better HN
topnewbestaskshowjobs
Log inSign up

STRiDEX

854 karma · joined Jun 1, 2012 (14y ago) · 216 submissions

Submissions

comment 1mo ago · link · parent

similarly, gemini via google ai studio will happily run workloads over youtube that would be very annoying to run at scale. Especially if you needed to download the video.

comment 1mo ago · link · parent

I think for my own side projects i would require the user to login if they were making requests from those ip addresses or block.

3.

Meta's Muse is fantastic for web scraping(sigh.dev ↗)

63 points · by STRiDEX · 1mo ago · 74 comments

comment 2mo ago · link · parent

I absolutely hated talking to claude's opus and I suspect that's part of the problem here. Co-workers would tell me to try 4.6 or 4.8 instead of opus 5. They're all miserable. Sol and astra are the first models i've liked managing. Anthropic models feel as if they have some amount of distain for me and doing my work.

5.

Making React Testing Library Tests 43% Faster(sigh.dev ↗)

2 points · by STRiDEX · 3mo ago · discuss

comment 4mo ago · link · parent

classifying things, grouping things. We use it to help group issues at Sentry.

comment 5mo ago · link · parent

parking in my condo that i own is $200 because the parking spaces are not deeded, shit is crazy here in sf

comment 6mo ago · link · parent

Bun simplified the pain with the ecosystem switch to esm. deno, at the time, made it worse by doing stuff with url based packages that didn’t fully catch on

comment 6mo ago · link · parent

I don't think bun worked well before the acquisition. Don't get me wrong, i used it all the time for little scripts, but i would never ship a service at work on bun. Between memory issues and incompatibilities that never get fixed, it is a nice toy to me that did a great job of exposing room for improvement in nodejs.

For example, i'd been following this issue https://github.com/oven-sh/bun/issues/14102 and eventually all the libraries shipped "if bun do x" into them, which is the opposite of compatibility.

comment 7mo ago · link · parent

I guess if they're big enough they should be working on moving off of amazon SES for emails and warming up ip addresses? Otherwise they need to keep a markup on top of amazon.

Edit: didn't realize people were paying resend $20. AWS already exists at a low price and people pick them anyway, i'm sure they're fine.

comment 7mo ago · link · parent

Dumb question but why are chemical weapons always addressed as a risk with llms? Is the idea that they contain how to make chemical weapons or that they would guide someone on how?

Would there not already be websites that contain that information? How is an llm different, i guess, from some sort of anarchist cookbook thing.

comment 8mo ago · link · parent

aren't you describing what elon already did https://grokipedia.com/

comment 10mo ago · link · parent

I've found the memory limits to block more of my projects than cpu time. They seem to send multiple requests to a single node/process and if you're making some sort of remix app it easily breaks with any kind of load.

14.

You can just port things to Cloudflare Workers(sigh.dev ↗)

48 points · by STRiDEX · 10mo ago · 54 comments

comment 10mo ago · link · parent

The other thing i've noticed about burritos is that more places take card or apple pay now. When I moved to sf in 2015 many of them were cash only, same with bars. I always assumed some amount of cash was being shuffled under the table.

comment 11mo ago · link · parent

run your backend tests against this in memory and tests can be run in parallel instead of using a single real postgres instance

17.

Orion 1.0(blog.kagi.com ↗)

440 points · by STRiDEX · 12mo ago · 275 comments

comment 1y ago · link · parent

Our HoA uses google groups. Mild spam, but overall pretty good for threads. Too many people spam everyone asking for a plumber or whatever

comment 1y ago · link · parent

What are you doing that requires checking in the compiled version. Esbuild takes like one second

comment 1y ago · link · parent

That's a good point, I would lose package provenance that way. I guess that is fine since it didn't prevent anything here.

I can look into that.

comment 1y ago · link · parent

Yes, exactly.

comment 1y ago · link · parent

That's fair, I'm referring to the number of mistakes that happen with local publishing. Publishing the wrong branch, not building from latest etc

comment 1y ago · link · parent

Sorry if that wasn't clear. This was a token with global publish rights to my npm packages.

24.

Tinycolor supply chain attack post-mortem(sigh.dev ↗)

168 points · by STRiDEX · 1y ago · 80 comments

comment 1y ago · link · parent

there's existing libraries in this space that are quite good. not sure why you would use this instead.

storage for example:

https://github.com/unjs/unstorage vs byojs storage https://github.com/byojs/storage

most users are going to prefer autocomplete and types regardless of if they also use typescript.

comment 1y ago · link · parent

esbuild can bundle typescript files directly, you don't need tsc to strip types

edit: nevermind i get what you're saying. check types with tsc and dev work with esbuild

comment 1y ago · link · parent

I used vue 2 for work during the switch to vue 3. It was horrific to watch as the vue community had to relearn the worst parts of the class components and the massive shortcomings of both the template library type checking and the other parts that basically can't ever support typescript like class mixins. If you want to use vue with a .tsx file you might as well use react.

Today, 33% of vue downloads in the last 7 days are for vue 2.

There was a lot of things that were nice in the vue world like vite and vuex, but I'd never recommend vue to anyone, especially anyone that wants a good typescript experience.

here's an example library button using .tsx in vue https://github.com/vuetifyjs/vuetify/blob/master/packages/vu...

comment 2y ago · link · parent

If you use webpack and haven't looked into rspack you should! Can drop it in and speed up large webpack apps, currently investigating it at Sentry.

comment 2y ago · link · parent

the mission is one of the least foggy neighborhoods

comment 2y ago · link · parent

I have to do "real" ssr every once in a while via the django jinja html files we have to send emails. It makes me want to die coming from our nice typescript react SPA frontend. Every object is a mystery and jinja syntax is functional but terrible to maintain and of course you're suddenly using tables because it's an email.

I'd rather every element be a div than do one minute of editing those stupid jinja files.

12345
8