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…
1y ago·view thread
comment
More prominently, microsoft go
1y ago·view thread
comment
The link returns 403.
1y ago·view thread
comment
pdm actually supports using uv as the resolver https://pdm-project.org/en/latest/usage/uv/ …
1y ago·view thread
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 …
1y ago·view thread
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…
1y ago·view thread
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.
1y ago·view thread
comment
This is fairly standard and expected behaviour. Embedded pointers get copied only when you explicitly do a deep copy.
1y ago·view thread
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.
1y ago·view thread
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 …
1y ago·view thread
comment
It runs on pyodide, i.e, a wasm interpreter that runs entirely in your browser.
1y ago·view thread
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…
1y ago·view thread
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…
1y ago·view thread
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…
1y ago·view thread
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.…
1y ago·view thread
comment
Non-twitter URL: https://xcancel.com/svembu/status/1899250469366907330 Slightly editorialized title to fit within the length limit…
1y ago·view thread
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…
1y ago·view thread
comment
Yes. You can have all the usual ublock origin behaviour custom filter lists and all that, about:adblock
1y ago·view thread
comment
My parent poster and I mentioned specifically ublock origin features
1y ago·view thread
comment
int ptr
1y ago·view thread
comment
Interesting. What are you noticing? I might run ublock on top as well if it's worth it.
1y ago·view thread
comment
> simple type checking becomes undecidable Where can I read more about this?
1y ago·view thread
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.
1y ago·view thread
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…
1y ago·view thread
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…
1y ago·view thread
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.
1y ago·view thread
comment
I like https://github.com/schollz/croc
1y ago·view thread