426 karma · joined Sep 14, 2016 (10y ago) · 187 submissions
comment 4y ago · link · parent
I think a common criticism of this stance is, that it does not ask why a person does something that others want to punish. Obviously there sometimes are no answers, but often it's poverty and lack of options. So this begs the question, why people come to steal and murder etc.
I personally don't believe that "punishment" is usually well invested in a person. Rehabilitation and support structures are probably the better option.
I am also realising that it gets very interesting for white collar crime "without a victim" such as tax evasion or manipulation of stocks. My intuition is to punish exactly these crimes, but I think that's my bias showing.
comment 4y ago · link · parent
Refactoring will give them the chance to see what the actually moving parts of code are.
comment 4y ago · link · parent
comment 4y ago · link · parent
Would mirrord actually work with podman? It would be pretty neat to setup something akin to a canary deployment
comment 4y ago · link · parent
Have you checked why that is? Airflow does Reimport every few seconds. We've had an issue where it didn't honor the airflowignore file making it execute our tests everx few seconds. The easy solution was to put them into the docker ignore.
You might also be having too much logic in your root levels. It's recommended to not even import at root level to make importing faster.
Not saying it's not an odd tool though.
comment 4y ago · link · parent
Not really. It's just a syntactic default, reassigning local variables should be discouraged from except for iterators etc. It just fosters bad habits.
For example, A list can still be mutated like usual, the reference however may not change. This usually allows compilers to do optimizations in multithreaded situations. But that's not why I code that way, it reduces the cognitive burden of keeping track which variables are actual moving parts as opposed to context/names etc.
> C# has readonly and const
Haven't written C# in a few years, GP was talking about variables as far as I can tell and their lack of immutability.
comment 4y ago · link · parent
Js has const, C has const, Java final.
Imho it'd be awesome if mutability were not the default and we would have to mark mutability, but until then any variable that doesn't need it, is final. Which also helps skimming code
comment 4y ago · link · parent
Having many data points you want to explore you are always going to be at the edges of what your hardware and software can produce.
The last really big datasets I worked with were for my thesis and I had to do subsampling to below 10% to get results within 10minutes or so and that was basically plotting midi recordings of piano performances, so nothing gigantic
comment 4y ago · link · parent
comment 4y ago · link · parent
RLE especially sounds like it could degenerate into a binary search per lookup, maybe aided by caching the bounds of the last run and assuming locality and linear-ish usage?
This might sound obvious, but wasn't mentioned in the article, you can also apply integer based compression schemes on dictionary encoded data.
And floating point values don't always need those 64bits when the use case and input data don't require that level of precision.
comment 4y ago · link · parent
I've discovered nts.live somewhere in 2021 and have been listening a lot to their shows. The selection of music is diverse and very obviuosly curated.
Where else would I find a podcast of lofi outsider pop that ventures from brittle shoegaze/ambient track into one of the greatest disoc/pop songs ever sung by a 10 year old girl: https://www.nts.live/shows/okonkole-y-trompa/episodes/okonko... (Around 1h40min)
comment 4y ago · link · parent
tdodbc also comes with examples that are so far beyond the scope of a normal persons usecase, they honestly just feel like some greybeard doing the equivalent of a 10 minute long Tony Hawk combo. It's just such a pain in the butt to use, we had to fight teradata all the way till very recently.
comment 4y ago · link · parent
The main idea of fisher is how we seem to have lost the ability to envision futures that are not basically less evil versions of capitalism. Which manifests in depression and odd melancholy of futures of the past.
comment 4y ago · link · parent
Without context these sound like hollow leftie catchphrases but especially Mark Fisher managed to show in many ways how this manifests in capitalist realism