back
user profile
porridgeraisin
1,979karma·1,375submissions·March 26, 2023
recent activity (1,375 total)
comment
"I cook up impractical situations and then blame my tools for it" Nobody cares that valid filenames are anything except the null byte and /. Tell me one valid usecase for a non-UTF8 fil…
comment
More prominently, microsoft go
comment
The link returns 403.
comment
pdm actually supports using uv as the resolver https://pdm-project.org/en/latest/usage/uv/ …
comment
The GP is talking about a different API: https://developer.mozilla.org/en-US/docs/Web/API/File_System... This is one that Firefox refuses to implement (a personal …
comment
> if you look at the function definition then you can't tell if the caller is passing a slice vs an array You certainly can. If a function is `f(x []int)` it is illegal to pass a `[3]int` to i…
comment
I would love a shopping site that tells me what my neighbours are buying. Bonus points if it uses my camera to peek through the windows.
comment
This is fairly standard and expected behaviour. Embedded pointers get copied only when you explicitly do a deep copy.
comment
You said "especially if you whisper" :-) for the skimming reader that parses as whisper the model. I have to admit I did it at first too.
comment
> 5) Ah yes, his opinion on a completely unrelated highly partisan thing being wrong in hindsight implies his opinion about the company he is the very chairman of isn't trustworthy. Maybe …
comment
It runs on pyodide, i.e, a wasm interpreter that runs entirely in your browser.
comment
> I'm not sure reaching for PHP My initial comment was a response to your comment > Distinct could sort and look for consecutive, it could use a hashmap. It can even probe the size of the a…
comment
> I certainly don't want to pay for all the sales kickoff parties and conferences that the employees of my software vendors pay for, yet I still am forced to. Yes, there is a difference betwee…
comment
Their point was fairly straightforward. Don't know why you are mischaracterizing it. They just said that it was weird that state driven budgets are used for splurging on a party, rather than usin…
comment
> just... Not write more code But the abstractions don't really adapt themselves to be performant in each usecase the way you imagine. I gave an example of c# distinct() above. Sure, they can.…
comment
Non-twitter URL: https://xcancel.com/svembu/status/1899250469366907330 Slightly editorialized title to fit within the length limit…
comment
We are talking about making an array with unique elements here. You cannot know the correct capacity for that without overallocating. If overallocating is indeed OK for your usecase, then you can do s…
comment
Yes. You can have all the usual ublock origin behaviour custom filter lists and all that, about:adblock
comment
My parent poster and I mentioned specifically ublock origin features
comment
int ptr
comment
Interesting. What are you noticing? I might run ublock on top as well if it's worth it.
comment
> simple type checking becomes undecidable Where can I read more about this?
comment
Brave does not need manifest v2 for it's ad blocker to work. It is not implemented as an extension. It is built into the browser itself.
comment
> by this metric False equivalence. You're saying that the statement "both for.. append and .map() executing the _same steps_ in the _same order_ are the same" is equivalent to sayi…
comment
> performance regression What? Golang append()s also periodically grow the slice. > Conditional logic it's just a single if, really, the same thing is there in your filter() > Multiple l…
comment
When the filter/mapper becomes slightly more involved as it basically always is in real life code, the regular imperative approach is much nicer.
comment
I like https://github.com/schollz/croc