HN user

simonbw

545 karma
Posts0
Comments117
View on HN
No posts found.
TypeScript 7.0 RC 1 month ago

They've had a preview version of this available as ts-go for a while now, and I've been really happy using it on my projects. I just installed it and changed "tsc" to "tsgo" in a couple places and it just worked. I don't remember exact numbers, but I think an approximately 10x speed up is a reasonable estimate for my build times. They went from noticable-but-not-bad to imperceptibly-fast.

I did not understand why all the commentary in the game was about giant peanuts until I read your comment. Thank you!

You could do some sort of adaptive quality where you spend time incrementally improving fidelity until your frame budget is up. In practice I think that might be trickier than it sounds, but I feel like theoretically there's something there that could get you the best graphics your rig can handle without dropping frames. I've been considering doing something like this when I've been building a game/engine lately.

People are saying that you can buy movies online, but I think they're missing the key point of putting lots of movies on massive discounts and promoting the movies that are currently discounted. Like sure you can buy basically any movie on Amazon or Apple's store or wherever, but I know that wherever I go, it's going to cost $4 to rent a movie, except every once in a while when it's on sale and I get it for $3, and buying it is going to be some higher amount that is almost certainly not worth it. When steam has sales, I might browse and buy quite a few games that I'm not gonna play right away. Or I buy things in bundles because it just seems like such a good deal. If movies were usually $10 to buy, but the Amazon store had a very visible section of movies that were $5 or less, but for a limited time, I'd be way more likely to buy multiple movies that I'm not intending to watch right now.

In most real-world use of the term, a paradox isn't something that's impossible, it's just something that intuitively seems wrong when you first think about it.

"I got a Prius so now I am spending more money on gas" sounds ridiculous, but it would be an instance of this paradox.

Slop Cop 3 months ago

I realized my predilection for verbosity was actually a symptom of my own insecurity, emotionalism, and indecisiveness.

Ok, Mr. Milchick.

I've been thinking of just using sandpaper stuck to a block of wood, though I imagine that might be slower.

Heck, a little part of me is tempted to try the smallest radius round-over router bit I have in a trim router, but the odds of that going horribly wrong are just way too high.

I have thought about filing/sanding my MacBook forever and getting a case to solve the problem never even occurred to me. I feel a little silly now because it does seem obvious, but also to me just filing it down sounds like less work than picking out a case.

I've been meaning to do this forever and think this game me the push I've needed to do it tonight when I get home. Probably not as rounded as OP, but it's reassuring to know I could go that rounded and it wouldn't fall apart.

Yeah if you're serializing and deserializing data across the JS-WASM boundary (or actually between web workers in general whether they're WASM or not) the data marshaling costs can add up. There is a way of sharing memory across the boundary though without any marshaling: TypedArrays and SharedArrayBuffers. TypedArrays let you transfer ownership of the underlying memory from one worker (or the main thread) to another without any copying. SharedArrayBuffers allow multiple workers to read and write to the same contiguous chunk of memory. The downside is that you lose all the niceties of any JavaScript types and you're basically stuck working with raw bytes.

You still do get some latency from the event loop, because postMessage gets queued as a MacroTask, which is probably on the order of 10μs. But this is the price you have to pay if you want to run some code in a non-blocking way.

The point is that there are legit American citizens who are in on the con. They have real SSNs and an actual presence in the US. They run proxy servers out of their house to make it seem like that's where their web traffic is coming from. From the company's perspective, everything seems like a regular remote employee.

I actually don't think her reasoning has to do with other people at all. I think it's that given she wants to make an image of a poorly designed object, she knows she could either do it herself, or she could do something that takes 99% less effort but produces a result that's 90% as good. Her brain says "the easier way is obviously more efficient, clearly that's what you should do". But using AI isn't actually a satisfying process so even though it's way easier, she doesn't have a desire to do it. Of course the option to do it the way she's always done it is still there and would be just as satisfying in the end. The difficulty is that now there's a little part of her brain that would be going "you're acting inefficiently/irrationally", which just makes the process less pleasant and harder to convince herself to continue with. To me it seems like

I know I have experienced this, and I bet a lot of people here have experienced this, with writing code by hand vs having Claude do it. I genuinely enjoy writing code, but now to get that joy, I have to commit to writing code _for the sake of writing code_, since it's no longer necessary to do it to achieve the end goal I have.

Ok, obviously unethical to do it, but this sounds like you've got the power to create some sci-fi shared dreaming device, where you can read people's brainwaves and send signals to other people's masks based on those signals. Or send signals to everyone at the same time and suddenly people all across the world experience some change in their dream simultaneously.

Like, don't actually do it, but I feel like there's inspiration for a sci-fi novel or short story there.

STFU 6 months ago

It seems harder to justify telling someone to fuck off for doing literally the exact same thing you're currently doing.

I second this! I switched to mint recently. They are offering unlimited data including hotspot for $15/mo for up to a year if you prepay. I think then it goes to their standard rate which is $30/mo for unlimited, or $15/mo for 5gb.

Not sponsored or anything, just a happy customer.

Blender 5.0 8 months ago

I tried it for the first time the other day after having heard how much better it's gotten recently, and it made me really wonder how bad was the UX _before_ all these recent improvements. I don't want to bash on it too hard, because it's clear that a ton of hard work has gone into it, but it was really a struggle for me to get some pretty basic things done. The only feedback for a lot of things I tried to do was some not-very helpful error messages in the console, or just the whole program crashing. After trying hard for quite a few hours, reading lots of docs and watching tutorials, I ended up giving up and going back to Fusion 360.

I've been living in a rental for a while, and I have a woodshop in the garage. I've been really wanting to have a 220V outlet to run some bigger power tools, but if figured doing that would require hiring an electrician to come do some work in the breaker box. This has me curious if I can do something like this just to power some stuff in my garage, and also potentially charge an electric car.

We can't really do much with the information that x amount is reserved for MCP, tool calling or the system prompt.

I actually think this is pretty useful information. It helps you evaluate whether an MCP server is worth the context cost. Similar for getting a feel for how much context certain tool uses use up. I feel like there's a way you can change the system prompt, and so that helps you evaluate if what you've got there is worth it also.

I think it's about optimizing for different types of reading. When you're reading the final text, you're reading to absorb the content. When you're reading the source text, you're reading to find edits you want to make. Using more line breaks is a way of making the document easier to scan if you're familiar with the "shape" of it.