HNHacker News
TopNewBestAskShowJobs

KarlKode

114 karma · joined January 31, 2017

submissionscomments
KarlKode··on Dyson loses fight for $198M compensation over EU energy labelling rules
I prefer a simple paper towel dispenser or if you want to be more sustainable one with a reusable cloth towel "ribbon". But yeah the Dyson driers are better than the heated blowers.
KarlKode··on Upcoming Features in Go 1.18
The standard library should be a good starting point.
KarlKode··on An Open Letter Against Apple's Privacy-Invasive Content Scanning Technology
Here is the answer from HSG (also in German): https://www.unisg.ch/de/wissen/newsroom/aktuell/rssnews/camp...
KarlKode··on Notes from the Architect (2016)
I guess they are refering to mmap (https://man7.org/linux/man-pages/man2/mmap.2.html). In go you can use the mmap syscall directly (low level, not supported on all targets/OSs). I believe there are a few libraries that offer wrappers around the syscall/emulate the syscall if not available).
KarlKode··on Oracle loses bid to upend HP’s $3B win
I’m not sure if a “normal” legal dept does cases like this but besides that, they have other things to do. That means that the day-to-day business would be postponed or the legal team expanded.
KarlKode··on What time-weighted averages are and why you should care
Timescale is a postgres extension that allows you to store time series data in a postgres database. Besides offering a very performant way to store specialized data it also offers additional functions to work with your time series data.

Besides the postgres extension there is also a database-as-a-service option where you can get started immediately and try the technique described in the blogpost.

KarlKode··on What time-weighted averages are and why you should care
No you can use the ordinary SQL snippets listed in the blog post to do the same thing that a hyperfunction does (altough the hyperfunction might have a better performance). A hyperfunction is a function optimized to work on Timescale hypertables (which can be used to store & query time series data in a Postgres database).
KarlKode··on Under the skin of OnlyFans
If you have 90 creators earning 5$ / month and 10 creators earning 50k$ / month, they earn 5,4k$ / month on average while the median is 5$ / month. On my books this is not close together.
KarlKode··on Psilocybin 'promising' for depression
You're wrong.

There exist a direct correlation between not locking down (or waiting) and the number of infections and deaths: https://www.nature.com/articles/s41598-021-81869-2

KarlKode··on Docker Raises $23M
I might have misunderstood you but there is a huge difference between a developer being able to use docker and understand the basics of containerization and CI/CD, and a devops/ops person managing servers/clusters using docker swarm or kubernetes. The latter of the two is so far more difficult to master than the first.

Managing a kubernetes cluster has so many possibilities to shoot yourself in the foot without realizing it. There are dozens of tutorials online how to set up a simple linux/nignx/python/postgres cluster (including lots of results for common error google searches) while routing problems of your legacy php application that is behind an istio controlled ingress running on a specific kubernetes version will leave you for yourself.

Sure you won't be able to scale indefinitely. Switching a solid containerized project running on your self-managed machines to a kubernetes setup will be quite easy (if you heeded devops best practices).

KarlKode··on Bats and the Origin of Outbreaks
Yeah but their method for proving that you have an isolate is not the same as the one used in academic research.

Typical pseudo-scientific conspiracy theory FUD.

KarlKode··on Bats and the Origin of Outbreaks
This (or a similar project) came up in a discussion i've had last week. After a bit of research my conclusion is that their definition of "publications that scientifically prove the process of isolation of SARS-CoV-2" isn't the same as the one used in academic publishing as there are multiple publications that do that. A german one [1] literally has a section titled "Isolation of an infectious SARS‐CoV‐2 virus".

The one I read required a double blind controlled study that injects the isolated alive virus into multiple humans/at least primates which then have to develop symptoms. I guess if somebody did that they would move the goal posts again.

On your page I can't even find a definition of what they would accept as "scientifically prove the process of isolation".

[1] https://www.embopress.org/doi/full/10.15252/embj.2020106230

KarlKode··on Go 1.16 Release Notes
Do you know any good GUI library in go (as you mention native GUIs as a weakness. Besides that what were you're problems with the C interop? In addition to the lack of up to date documentation for more complicated examples, I had huge problems using the C interop layer with more complicated C++ libraries (mostly because the C interop has its problems with C++).
KarlKode··on Again on 0-based vs. 1-based indexing
But shouldn't it be [-0] to get the last element if [0] denotes the first element?
KarlKode··on Security by obscurity is underrated
An argument against obscurity is that it adds additional pains for your "regular" users (as in developers/3rd party developers/app developers) while being a small deterrent against unauthorised users (as they will be able to circumvent the "obscurity layer" and replicate their method to other bad actors).

edit: In the first sentence "against" is not what I wanted to say: what I wanted to say is that it "downgrades it's effectiveness". I agree that obscurity can and sometimes should be a layer of security.

KarlKode··on Pringles tube tries to wake from 'recycling nightmare'
The crux of your line of thinking lies in the definition of "costs of recycling". If something like the idea of a cost of recycling was represented in the cost to the consumer, how would you translate the same idea to a developing country? They have to pay an artificially increased price (compared what the population of "developed" countries paid for) for something we didn't have to pay for until now? That sounds kind of unfair.

edit: Just to make clear, I'm not arguing against a concept as "cost of recycling"; my point is that the whole argument is more complicated than just comparing realistic solutions for the US or europe.

KarlKode··on Pringles tube tries to wake from 'recycling nightmare'
But isn't the whole thing "now oil and oil-based-products are bad" kind of unfair to all the developing nations? We, the rich western countries, we're able to profit of the non-sustainable benefits we got from fossil fuels and their products, while a large part of the earth's population didn't profit nearly as much as we have. This is a line of thinking I've seen underrepresented in a lot of the discussions about the environment and the future of our planet and species in general.
KarlKode··on The Treachery of Image Files
Glue down your Option key and you're set!
KarlKode··on Modeling a Wealth Tax
If you inductionally apply the argument that you shouldn't increase taxes because someplace else offers a lower tax burden, no place can raise it's taxes. There are other factors in choosing your country of residence (and nationality) than taxes.
KarlKode··on Modeling a Wealth Tax
> Most of the super-wealthy don't achieve that wealth on the back of the S&P500

Are you saying that most of the super-wealthy do not (at least to a certain point) diversify their investements? Or is your point that most super-wealthy individuals acquired their wealth themselves by investing (or founding) a single corporation themselves?

KarlKode··on What's the point of a Covid-19 test that takes 19 days for results?
Even though I would generally agree with you: what makes you think that Fauci and his colleagues did not simply not know that mask are as effective as we now know they are?
KarlKode··on Doing stupid stuff with GitHub Actions
You could set up a weekly failing job that reminds you ;)
KarlKode··on Sweden: higher Covid-19 death rate while failing to collect on economic gains
If you look at your argument without the "I bias", there is (or at least I'd argue there is strong empirical evidence for) a tradeoff between "lives saved [from Covid]" and "decrease in the quality of life" which IMHO is the argument of the OC.
KarlKode··on Nintendo Play Station Super NES CD-ROM Prototype
The buyer's premium is actually just 20% of the bid (with a minimum of $19). For the current highest bid ($48'000) this results in a buyer's premium of $9'600 resulting in a total price of $57'600.
← PreviousPage 2 of 2