HN user

pid-1

2,210 karma
Posts12
Comments676
View on HN

Absolutely 100% agree.

At the same time, one can make financial decisions based on risk rather than longterm expected returns.

For instance, I'm happy with fixed income yields rn.

What would scare me is losing a big chunk of my portfolio in a downturn, exactly when I'm also most likely to lose my job.

Radio modulation / coding (at least for 802.11) benefits greatly from paralelism (lots of matrix multiplication etc).

I imagine that using an ASIC is way more cost efficient vs using a CPU.

I've been using ChatGTP by voice for things like cooking and house repair stuff. It's quite convenient for situations in which your hands are busy.

Other week I fixed a a water valve. After planning the thing with ChatGTP I brought the new valve. Then I described what I was seeing as I swapped the old valve for the new one to make sure everything was right. Really cool experience!

Pandas is cancer. Please stop teaching it to people.

Everything it does can be done reasonable well with list comprehensions and objects that support type annotations and runtime type checking (if needed).

Pandas code is untestable, unreadable, hard to refactor and impossible to reuse.

Trillions of dollars are wasted every year by people having to rewrite pandas code.

what's the consequences for HN of a user having their password compromised

HN does not enforce anonymity, so the identity of some users (many startup owners btw) is tied to their real identities.

A compromised password could allow a bad actor to impersonate those users. That could be used to scam others or to kickstart some social engineering that could be used to compromise other systems.

Like most things serverless Athena is cheap as long as you don't use it.

My company has 100s of data pipelines that are executed infrequently.

For this use case Athena is ridiculously cheap and easy to use vs most other solutions.

I've brought MS Copilot licenses for my company in ~ February 2023. They were sold in a yearly commitment and offered no trials. A bad deal, but I was afraid of missing out AI productivity gains.

I'm definitely not renewing those. Times are hard and the value provided does not justify the cost.

I wonder how many companies will do the same.

I have done the following in the past:

1. pip install libfoo==1.x.x

2. pip install libfoo==2.x.x --target ~/libs/libfoo_v2 # vendor libfoo v2

3.

import sys

import libfoo

original_sys_path = sys.path.copy()

sys.path.insert(0, '~/libs/libfoo_v2')

import libfoo as libfoo_v2

sys.path = original_sys_path

There are caveats of course. But works for simple cases.

Why Haskell? 2 years ago

Sorry, I could not grok the difference, even after reading a few Rust examples.

def foo(int | None = None) ...

... just means the variable's default value is None in a function definition. But it could be either in an actual function call.