HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tracnar

no profile record

comments

tracnar
·2 месяца назад·discuss
It also supports .tar but that's probably not very commonly used.
tracnar
·3 месяца назад·discuss
Haha indeed. At work suddenly documentation and APIs are important, but it's all for/behind "skills". Before it was always "sure, that would be nice"...

I do welcome the improvements to doc and APIs this brings though!
tracnar
·4 месяца назад·discuss
Could you have a heuristics based on the input size and the pattern to decide what to use?
tracnar
·5 месяцев назад·discuss
They do, but the US can still force them to hand over data that's in EU. (This was confirmed by Microsoft France officials.)
tracnar
·6 месяцев назад·discuss
At least in Belgium it's quite common for a lot of students to fail the first year (partly due to the difficulty, partly due to partying instead of studying). But it's not like it's really free, the tuition is cheap but the accomodation is expensive. I also don't think it's particularly difficult on purpose to filter out students, it's just that it's not overly expensive and a lot of people are unsure about what to study.
tracnar
·7 месяцев назад·discuss
If you're porting a library, you can use the original implementation as an 'oracle' for your tests. Which means you only need a way to write/generate inputs, then verify the output matches the original implementation.

It doesn't work for everything of course but it's a nice way to bug-for-bug compatible rewrites.
tracnar
·7 месяцев назад·discuss
Indeed, the Tcl implementation does this so e.g. `set d [dict] ; dict set d key value` can modify d in place instead of creating a copy (since everything is immutable).
tracnar
·8 месяцев назад·discuss
You could use this funky tool from oss-rebuild which proxies registries so they return the state they were at a past date: https://github.com/google/oss-rebuild/tree/main/cmd/timewarp
tracnar
·8 месяцев назад·discuss
There's Hedy if you want to try a text based programming language for kids: https://www.hedy.org/
tracnar
·8 месяцев назад·discuss
What actually happens if you remove read permissions on the /nix/store directory? Do things still work? I suppose I'll need to try!
tracnar
·9 месяцев назад·discuss
I wish a Python package manager would support patching dependencies, like e.g. Cargo allows: https://doc.rust-lang.org/cargo/reference/overriding-depende...

It's much cleaner than monkey patching, and it will more likely detect if an update conflicts with your patching.

I've used it by packaging everything through nix, but that can be cumbersome.
tracnar
·9 месяцев назад·discuss
Don't you need to wait for some kind of delimiter (like ",", "]", "}", newline, EOF) before parsing something else than a string?
tracnar
·4 года назад·discuss
That's what I expected from the title, use properties of the banana to extract 'random numbers', and provide new bananas to get a pool.