HackerLangs
TopNewTrendsCommentsPastAskShowJobs

ashf023

no profile record

comments

ashf023
·قبل 6 أشهر·discuss
100%. I've always used youtube on desktop (connected to the TV usually), and it seems to me they're just making all versions of youtube into a mobile app optimized for shorts type content. Recommendations are hugely influenced by what you watched very recently. What used to be related videos in the side panel of the player is now just the home page again, but vertical. Even just generating a recommendation from "Whatever (part 2)" to "Whatever (part 3)" is hit or miss now. Some of the recommendations are actually quite good, but at least for the way I like to watch, it's only getting worse over time. The category labels on the home page are also pretty telling - horrible labels (e.g. I watch some cooking/recipe videos and the label will be "Baking sheets" or something like that), plus it emphasizes the recency bias when it shows 5 categories that are basically just the same content with different labels and forgets what I've always liked watching.
ashf023
·قبل 6 أشهر·discuss
Genuine question, but have you seen the popup being described? It's absolutely huge, and has a fake x button pattern. The complaint is on how disruptive it is, not the ask for donations
ashf023
·قبل 6 أشهر·discuss
I don't think this applies to Python. There is a core team and there are expenses, but people do contribute code and work. Not to mention corporate sponsors. Sure, donate if you want, but it's not the same as blocking ads on purely ad-funded content (which I do, but won't defend as much)
ashf023
·قبل 6 أشهر·discuss
I looked out of curiosity and on my 15 inch laptop screen it does take up probably about 40%. I'm surprised by how egregious it is. And it looks like they changed it (or there's an A/B test?) since the thread. It also now jokes about how banners are cringe, actually taking up more space!
ashf023
·قبل 7 أشهر·discuss
Yes, and on one request I saw a message like "Restarting server - this won't take long", and soon after it's back up.
ashf023
·قبل 7 أشهر·discuss
I mean, do it if it's worth it. But the parent seemed to imply everyone should be doing this kind of thing. Engineering is about tradeoffs, and sometimes the best tradeoff is to keep it simple.
ashf023
·قبل 7 أشهر·discuss
I'm definitely in favor of not pessimizing code and assuming you can just hotspot optimize later, but I would say to avoid reusing objects and using sync.pool if it's really not necessary. Go doesn't provide any protections around this, so it does increase the chance of bugs, even if it's not too difficult to do right.
ashf023
·قبل 7 أشهر·discuss
paranoid schizophrenia is an increasingly reasonable reaction to the modern world
ashf023
·قبل 8 أشهر·discuss
Yeah, golang is a particular nightmare for SIMD. You have to write plan 9 assembly, look up what they renamed every instruction to, and then sometimes find that the compiler doesn't actually support that instruction, even though it's part of an ISA they broadly support. Go assembly functions are also not allowed to use the register-based calling convention, so all arguments are passed on the stack, and the compiler will never inline it. So without compiler support I don't believe there's any way to do something like intrinsics even. Fortunately compiler support for intrinsics seems to be on its way! https://github.com/golang/go/issues/73787
ashf023
·قبل 8 أشهر·discuss
> Henriks true penalty would be living in a country of 6 million people that all know his face and that he is a pedophile.

This is what I object to, not really your comment. Is this factored into the sentencing? If he weren't a public figure would he have a harsher sentence?

> You don’t have to worry about him doing anything in Politics again

Sure, if everyone in Denmark remembers this guy then he won't be popular. But really we don't have to worry about him? 4 months later is he just free to go back to collecting CP, maybe leave Denmark, etc?
ashf023
·قبل 8 أشهر·discuss
What an absolutely absurd statement
ashf023
·قبل 10 أشهر·discuss
JPEG is similar actually. The DCT is invertible, but the result of the DCT is quantized, which is where some of the compression happens (DCT -> quantization -> IDCT), so the end to end process is not truly invertible. Maybe an analogy to the non-linearities in between the linear steps in deep learning
ashf023
·قبل 10 أشهر·discuss
Agreed it's missing that detail. I think it makes sense though that the durable queues shouldn't need strong consistency and transaction isolation, just durability, so the DBs can probably be sharded pretty arbitrarily, maybe operate in lower isolation modes, etc, whereas the DB they need to async writes to probably does need transaction isolation and all that. I'd appreciate if the article would confirm or deny my guess here!
ashf023
·قبل 10 أشهر·discuss
Fair enough, I was a little too negative. It is good they're thinking about improvements
ashf023
·قبل 10 أشهر·discuss
Interesting that very few people in that thread seem to understand Go's model, especially the author of this proposal. If you don't allow preemption, you still have a sort of coloring because most non async functions aren't safe to call in a virtual thread - they may block the executor. If you call C code, you need to swap out stacks and deal with blocking by potentially spawning more OS threads - that's what CGo does. Maybe preemption is harder in Python, but that's not clearly expressed - it's just rejected as obviously unwanted.

Ultimately Python already has function coloring, and libraries are forced into that. This proposal seems poorly thought out, and also too little too late.