HackerTrans
TopNewTrendsCommentsPastAskShowJobs

awild

no profile record

comments

awild
·4 ปีที่แล้ว·discuss
Sort by lowest start, merge left when they overlap. Emit current span if not. Repeat.
awild
·4 ปีที่แล้ว·discuss
It's not a US thing and not even necessarily related to being bullied in school. Lots of parents scold their children for being into useless or eclectic hobbies.
awild
·4 ปีที่แล้ว·discuss
I found out yesterday that our facility management is employed with us. But we also handle seriously sensitive data.
awild
·4 ปีที่แล้ว·discuss
Have you looked at Millercsv or jq?
awild
·4 ปีที่แล้ว·discuss
Kill9 can keep ports locked for a bit after exiting which is a quite annoying
awild
·4 ปีที่แล้ว·discuss
> To change a person's behavior. If someone keeps lying, cheating, and stealing in society, we want to make them to stop so that they can reintegrate and become a beneficial member of society.

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.
awild
·4 ปีที่แล้ว·discuss
Have you had a look at arrow? It has those capabilities
awild
·4 ปีที่แล้ว·discuss
I try to encourage newcomers to refractor the code into a form they understand, fix the problem and then undo that refactoring as much as possible. If they actually come up with a better abstraction I'm up for it.

Refactoring will give them the chance to see what the actually moving parts of code are.
awild
·4 ปีที่แล้ว·discuss
I most definitely go to Italy and complain about the quality of the coffee. And I do actually appreciate bitterness in coffee.
awild
·4 ปีที่แล้ว·discuss
Sorry, but the modern form of DIPA most definitely is one of the most accessible forms of craft beer. They usually aim for low to no kettle hops, only whirpool and high levels of rx hopping. Fermentation, mash and grist all serve to make the beer sweet. The end result: a beer low in bitterness, silky, extremely sweet (these beers can finish above 1.030) with intense fruity notes.
awild
·4 ปีที่แล้ว·discuss
This looks really neat. Haven't taken much time to look in depth, it it took me a while to find info on whether this was k8s or podman related. Maybe the docs could make it a little more obvious. (for those wondering it's k8s)

Would mirrord actually work with podman? It would be pretty neat to setup something akin to a canary deployment
awild
·4 ปีที่แล้ว·discuss
They also offer tanzu as on prem cluster where you can somehow use kubernetes to provision kubernetes virtualised kubernetes clusters.
awild
·4 ปีที่แล้ว·discuss
> Even with a few DAGs, Airflow will spike the CPU utilization of the VM to 100% for X minutes (in my case about 15 minutes) which is quite interesting. My tasks basically query SQL Server -> dump to CSV (stored on GCS) -> import to BQ.

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.
awild
·4 ปีที่แล้ว·discuss
Especially since its not really a language safety feature. As a reader of code I much prefer knowing what I need to pay much attention and what not. As a writer I want to be reminded when I promised myself to not touch a variable.
awild
·4 ปีที่แล้ว·discuss
> If they decided one day that - "let's make immutable by default", then it'd be performance hit - wouldn't it?

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.
awild
·4 ปีที่แล้ว·discuss
It's usually on a syntactical level, to disable reassigning a value. For objects this means the reference is still mutable, value types are locked.

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
awild
·4 ปีที่แล้ว·discuss
Ggplot is extremely powerful if you can grok its grammar, which takes some getting used to. But I'd assume that if you see a graph in a scientific paper it's made with ggplot.

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
awild
·4 ปีที่แล้ว·discuss
I've recently got back into Card games after growing up on mtg, and there is a whole bunch of games where you don't buy random boosters but whole expansions. Netrunner/nisei being an example. They seem to still work with fomo, but you don't have to invest past a certain point to get actually creative/expressive play and deckbuilding.
awild
·4 ปีที่แล้ว·discuss
> try loading a 15GB CSV in Excel.

Or visualising it in r or pandas without meaningful subsampling.
awild
·4 ปีที่แล้ว·discuss
They are most likely more capable but Cosmopolitan which this is built upon has a different use case than just instrumentation