HNHacker News
TopNewBestAskShowJobs

agons

86 karma · joined March 20, 2021

submissionscomments
agons··on Yes, and
Is it possible the size of the market for hand woven rugs has actually stayed the same, and the mass produced variety has simply filled the void for the large segment who were never able to afford them?
agons··on CAPTCHAs don't prove you're human – they prove you're American
This comment doesn't help the pedant
agons··on Exfiltrate Your Weights
I'm not sure I understand, are you suggesting that Tom Scott made it up?
agons··on Are you expected to run five Python type-checkers now?
The first use case that comes to mind is if you want a DSL to build expressions that are evaluated later in some different context e.g. when using `polars`:

```python df.filter( pl.col("foo") == pl.col("bar"), ) ```

Sqlalchemy does something equivalent too, and I'm sure there are many others.

agons··on Shell Tricks That Make Life Easier (and Save Your Sanity)
I can imagine a pipeline where intermediate stages have been inserted to have some side effect, like debug logging all data passing through.
agons··on OpenAI fires an employee for prediction market insider trading
The problem comes when there are lucrative odds for some unlikely scenario, which you can influence into realisation, and that outcome might be counter to the company's goals (i.e. sabotage)
agons··on Denmark close to wiping out cancer-causing HPV strains after vaccine roll-out
Huh.
agons··on Partially Matching Zig Enums
Is there a reason the Zig compiler can't perform type-narrowing for `u` within the `U::A(_) | U::B(_)` "guard", rendering just the set of 2 cases entirely necessary and sufficient (obviating the need for any of the solutions in the blog post)?

I'm not familiar with Zig, but also ready to find out I'm not as familiar with type systems as I thought.

agons··on Python Pandas Ditches NumPy for Speedier PyArrow
It gets worse the further you go, this was where I had to bail:

> the format is much favored by AI frameworks such as TensorFlow and PyCharm.

agons··on Microsoft Copilot shows AI increasingly appears like an unwanted party guest
Could mean "appear" as in "show up"
agons··on I made an open source Windows app to rewind and search everything on screen
> one of the first times

I don't think you can say it's "neither"! :)

agons··on Doppler Effect analysis of two videos of the Al-Ahli hospital attack
I don't think your "obvious" is the same as that of the person you're replying to.
agons··on Apple's Windows Game Porting Toolkit gets faster with new update
Tough to gauge how impressive this is without a before/after for comparison tbh.
agons··on Parsing time stamps faster with SIMD instructions
I'd say that the people counting leap seconds are the ones "doing something".

At the point they needed to be inserted, Unix systems carry on counting seconds as units of time as they pass, "ignoring" the need to add 1 for the purposes of accounting.

agons··on Proposing a struct syntax for Python
Hey, you're leaning into it too much!

Who are people who are against typing in this day and age?

agons··on JupyterLab 4.0
The problem with that is that Jupyter requires a back-end to do any of the actual processing that runs the code in the cells.

Only way I can think to make the html file truly portable while fully functional would be to embed a python interpreter and all required libraries as wasm.

Could be possible with pyodide? I haven't used it.

agons··on What new Python features are the most useful for you?
I find `typer` way more ergonomic than either argparse or click (which it uses under the hood).

If you're developing something more complex, you might find the feature set too small, but you can get surprisingly far with what's there.

The benefits from its type safety and lack of boilerplate alone are enough to keep me using it in favour of anything else.

agons··on Electrically heated clothing (2013)
Just make sure to read the warning labels and take them seriously please. I believe the use of boiling water frequently causes them to rupture, inflicting burns on their users.
agons··on OCI vulnerability allows unauthorized access to customer cloud storage volumes
OCI = Oracle Cloud Infrastructure (not Open Container Initiative)
agons··on Linux Insides
This looks like a really good resource, but why is it so difficult to find a somewhat up-to-date description of networking in the Linux kernel?

It seems like the least documented (at a high level, anyway) part of the kernel - if anyone knows a good resource I'd love to hear it.

agons··on Generating relocatable code for ARM processors
How was your approach different?
agons··on Show HN: UI for Apache Kafka
> feel free to drive engagement on my post
agons··on Why I Use Nim instead of Python for Data Processing
I would have thought Cython would be the closest analogue for comparison.
agons··on Querying Parquet with Precision Using DuckDB
It didn't read unkind or snarky at all to me - just an amicable way of ending a thread of investigation where the result was a simple "a ha, I understand" moment.
agons··on React Ruined Web Development
What kinds of community problems do you have in mind?
agons··on The Linux kernel has surpassed one million git commits
This can definitely be significant as part of a trend