HNHacker News
TopNewBestAskShowJobs

kortex

8,442 karma · joined February 1, 2017

submissionscomments
kortex··on DoorDash and Pizza Arbitrage (2020)
> This view of the world must be stamped out. It is a totally absurd viewpoint and I'm really tired of pretending it's not.

This is very argumentative and shuts down the discourse before it even begins. It's not very in the spirit of HN.

kortex··on Nuclear engineer dismisses claim that modular reactors could be viable soon
Regardless of your stance on nuclear energy, can we all agree that articles of the form of "Person X of Authority Y dismisses Z as unviable" is a non-headline? It's basically "Person of vaguely adjacent qualification has opinion". I see it everywhere and it's the "cures cancer (in vitro)" of engineering articles.
kortex··on Cosmopolitan v3.5
Looking forward toward somebody hooking together Python in APE [0], something like pex [1]/shiv[2]/pyinstaller[3], and the pants build system [4] to have a toolchain which spits out single-file python executables with baked-in venv and portable across mainstream OSes with native (or close enough) performance.

0 - https://news.ycombinator.com/item?id=40040342

1 - https://docs.pex-tool.org/

2 - https://shiv.readthedocs.io/en/latest/

3 - https://pyinstaller.org/en/stable/

4 - https://www.pantsbuild.org/

kortex··on The upcoming iterator design for Go 1.23
A sufficiently clever convention is indistinguishable from magic.
kortex··on The upcoming iterator design for Go 1.23
Is this just a form of continuation passing style? I get that it's a bit functional-y, and more complex that typical go code (admittedly a very low bar), but I don't think it's too bad. It's no worse than async generators in python, and it's downright elementary compared to anything template metaprogramming.

I don't mind the pace that Go has been moving at when it comes to new features. It still feels very conservative while still evolving.

kortex··on Fusion tech finds geothermal energy application
> largely importing foreign weapon system designs for local manufacturing.

I'm pretty sure they legally can't "largely import foreign weapon designs". The Berry and Kissel amendments, not to mention ITAR and a few other regulations, put a strong incentive on in-sourcing when at all possible. The only exceptions are for things that are really hard to get domestically.

kortex··on Carpenter's AirTags help uncover 'massive' case of stolen tools in Maryland
Seconded, though I've found the HF Hercules wired line pretty comparable to Dewalt.

But there's a fair amount of inter-model variety within those four/five brands. My 12v Dewalt impact punches above its weight/price and I have two Bosch 18v drills, similar in form factor but one is frankly inferior quality.

kortex··on How to copy a file from a 30-year-old laptop
Sounds like GP is suggesting digitally encoding/modulating the audio bitstream, like using the speaker as a modem. Which would be far less lossy than trying to record the analog signal.
kortex··on Homoiconic Python
> Most languages (including Python, AFAIK) unwind the stack when an exception is thrown, all the way up to the nearest catch.

You might have to use a few tricks/hacks, but I'm pretty sure you can set up python in a way to breakpoint at an exception, including all local state at the throw site. Otherwise pdb would not work.

kortex··on Vulture shortage threatens Zoroastrian burial rites
It's not every day you come across Gnostic stuff on HN, but those links are super fascinating, I can't wait to check them out!

Zoroastrianism is such a fascinating topic.

kortex··on Pyinfra: Automate Infrastructure Using Python
This might have been true a few years ago, but these are all solved problems in 2024.

> Python is not easy to build into portable binaries

https://pex.readthedocs.io/en/v2.1.40/buildingpex.html

- The package ecosystem is very hard to use in a reproducible way

pip, virtualenv, and requirements.in/txt is extremely reproducible. I will offer that it's not exactly idiot-proof yet and there are tons of stale tutorials out there

> The language is not truly typed - types add massive value for infrastructure and scripts because they are less likely to be unit-tested

Yes it is, if you want it to be. There's nothing stopping someone from using mypy, pyright, or other type tool on the strictest setting, and not passing builds unless you have 100% type coverage.

> The lack of a "let" or "var" keyword makes simple programming errors more likely (again, this code is less likely to be unit-tested)

No, but you get ~95% of the safety guarantees by using immutable-esque objects like @dataclass(frozen=True), pydantic models with the same, or attrs/cattrs with similar setting.

kortex··on Google lays off its Python team
Microsoft actually funds a lot of cpython work and 3rd party libs, IIRC they have played a big hand in the recent speed improvements, JIT work, the pyright type checker, and a bunch in the AI/GPGPU space like ONNX.

Dropbox has historically done a lot for python, idk how current that is. Netflix has a huge python codebase but I'm not sure what they contribute.

kortex··on Tips on adding JSON output to your command line utility. (2021)
A) Csv isn't actually a standard, so there's no one universal way of dealing with it (we can get really close).

B) the keys and values are disjointed in csv as separate rows/columns, vs key:value

C) yes flat is better but when you need nested, nested is useful

kortex··on Ask HN: Which low-budget camera would you recommend for recording podcasts?
A hypercardioid and any manner of soft surface behind the speaker - even pillows or curtains - will get you >90% of the way there for most podcast purposes.

Really, after just fitting out a (very shoestring budget) recording studio, the first thing is reducing flutter echo by covering most hard flat parallel surfaces. That alone is like, worth double digit percent of the solution.

kortex··on PID Controller Explainer (2022)
Why won't it help if there is no delay? What system truly has no time delay and no inertia?

PID systems are basically a differential equation and optimal coefficients are just solutions to that system which maximize responsiveness and minimize ringing, so I would think the effect of decreasing time delay just adjusts the Ki and Kd to account for the smaller Tc value.

kortex··on Terraform makes carbon neutral natural gas
There's a big difference in scale between "burning hydrocarbons to heat and power much of the world" (which includes leakage from fossil fuel drilling) and "we make some methane to be almost completely consumed and there are some leaks".
kortex··on Terraform makes carbon neutral natural gas
There's a lot of interest in cracking methane to ethylene and hydrogen, both which are super useful in their own right. There's also the Fischer-Tropsch process which synthesises arbitrary linear alkane hydrocarbons. That requires more intermediate steps, to make syngas from methane and water.
kortex··on Bradford pear trees banned in few states – More are looking to eradicate them
It's a plot point which drives the entire narrative. If we took out ever sci-fi element that was scientifically implausible, you'd take out a hefty chunk of sci-fi.
kortex··on Meta outage
Discord loaded from scratch for me, but it took a much longer time than I usually remember for the feed to come up.
kortex··on Meta outage
Messenger is often used to coordinate logistics among friends. I would not be surprised if a Meta disruption lead to at least momentary confusion if someone was planning on carpooling. Not to mention it messes with "get out the vote" posting.

I'm not very conspiracy-minded but this does smell a little weird.

At the very least, "there's a big event in the country of one of our biggest userbases, maybe hold off on risky deploys until tomorrow"

kortex··on Meta outage
Same same. I went through the password reset flow (I was overdue anyways), it never sent anything to my SMS, so I did it again with email, reset the password and went to log in with the new password, "Incorrect password" error. Old password, also incorrect.

Didn't help that I had just posted a lukewarm spicy take on how linguistic prescriptivism is BS.

All the while the website felt like it was unstable, hard to describe, but it felt like it was bouncing around between URLs too much and reloading a lot.

Definitely feels like a botched update on their end.

E: Instagram is misbehaving as well, banner loads but big "Something is wrong" error on the feed.

E: now youtube has "Something went wrong" - WTF. I can't believe I'm saying this, but thank goodness for reddit and X[itter]???

E: interesting, seeing a big spike across multiple platforms on downdetector, including AWS: https://downdetector.com/status/aws-amazon-web-services/ I'm not able to log in right now, but that could be PEBCAK, I have too many saved IDs and I don't want to fail2ban myself

kortex··on FDA approves first medication to reduce allergic reactions to multiple foods
A) hygiene hypothesis, people ate way more dirt and straight up almost everyone had worms

B) the people with really bad food allergies like Coeliac just died young.

We have severe amnesia when it comes to just how rough the state of health was until basically the 50s (eradicating Polio is a big turning point). Fortunately, we can learn about history so we don't repeat it :massive eyeroll:

kortex··on FDA approves first medication to reduce allergic reactions to multiple foods
Yep, you got the gist in the ninja edit.

The IgE-parasite connection is actually a bit part of the hygiene hypothesis, and I have personal experience with helminth therapy. It put a serious permanent dent in my animal and pollen allergies, long after the session (I forget how long they were active but I re-inocculated N. americanus twice and it was roughly a 2-3 year period).

Once you get over the squick factor and the really terrible itching at the site that lasts 12-24h, it's great.

kortex··on FDA approves first medication to reduce allergic reactions to multiple foods
IIRC, MABs aren't really a thing, because unlike small molecules, part of the approval is for the whole biological pipeline to produce the antibodies, from cell line to chromatography to formulation. When a small molecule goes off patent, you just have to prove to the FDA you can make that molecule to sufficient purity.

That's not to say there are no generic MABs, it's that it is a far costlier process for the generic manufacturers to get up and running.

kortex··on I Fucking Hate Jira (2022)
I'm a developer, and while I don't love it, I certainly don't hate it, and I don't see it worse than any other task-tracking tool. I haven't used trello or asana in a hot minute, but they were way worse in terms of UI and UX.

I'm not totally sold on the whole points poker process though, but that could be a criticism of agile as a whole.

kortex··on Should toggle button show its current state or the state to which it'll change? (2010)
There is ambiguity in the physical world. Some audio equipment have what's called a ground lift. It physically disconnects the ground conductor between two devices, and it's usually a single push-toggle in/out button. I've seen some devices with "Ground On/Off" - does that mean grounded (not lifted) or not grounded (lifted)? IIRC one of the DI boxes I've used is the opposite of what you'd expect - "Off" means lift is off, meaning ground loop is connected. The sensible devices have two states "Lift/Gnd".
kortex··on Should toggle button show its current state or the state to which it'll change? (2010)
I think part of this confusion stems from the "default mic on" mindset, where "mic active" is assumed to be the default, and mute is a deviation from that state. We can trace this pattern back to the UI of phone conference systems, back through analog phones, back to the time of a literal wire connection between parties.

Many/most audio mixers (in the context of live music and recording) and their digital brethren use the same pattern - a "Mute" button which lights red to indicate that channel is silenced. But a few have an ON button above the fader which lights to indicate the channel is active.

I think it's about time conference applications rip off the bandage and take the "audio off by default" approach. We can kinda see it already with UI elements that light up when a speaker is talking.

kortex··on Vesuvius Challenge 2023 Grand Prize awarded: we can read the first scroll
There has definitely been a virtuous cycle between GP-GPU processing capability, algorithms, libraries and software that use that hardware, and researchers working with those tools.
kortex··on FDA says 561 deaths tied to recalled Philips sleep apnea machines
Septoplasty and tubinate reduction surgery was one of the best choices of my life. Lifelong allergy sufferer, being able to truly breathe was profound.
kortex··on Don't pass structs bigger than 16 bytes on AMD64
Pypy doesn't work with all libraries (as well as certain function calls in std), and since that's one of the biggest draws of python, it makes it a non-starter much of the time.
← PreviousPage 7 of 34Next →