HNHacker News
TopNewBestAskShowJobs

ahurmazda

1,289 karma · joined January 9, 2014

submissionscomments
ahurmazda··on FDA moves to make over-the-counter hearing aids available
That makes sense. Although I was under the impression that these monitors are fairly robust
ahurmazda··on FDA moves to make over-the-counter hearing aids available
Do we still need a prescription for continuous blood glucose monitor in the US?!! This one really boggles my mind
ahurmazda··on Should You Be Using Python’s Walrus Operator? (Yes. and Here’s Why)
Well said!

I know we dont get paid by LOC but this recent obsession with compressing everything into a single line is off-putting.

ahurmazda··on Apple reportedly plans to put ads in more apps on your iPhone
It must be the law of internet or something ... "everything online eventually devolves to ads" :/
ahurmazda··on Ask HN: What are the ways you go about getting comfortable with a new codebase?
If you are lucky (working with a mature codebase), tests are my number one go to when getting started. I need to know input/output of things. I work in ml space so ymmv. This allows me to make small changes and check my assumptions as I gain more confidence around the codebase
ahurmazda··on Nbdev: Create delightful software with Jupyter Notebooks
+100

The fact that everyone I talk to agrees that this format sucks and then turns around and ask us to use yet another formatting tool (jupytext, nvcovert blah blah) is equally vexing.

Rmarkdown (+rstudio) has shown that one can have the cake and eat it too. Ironically, I prefer rstudio for doing exploratory coding with python. Hopefully their recent pivot to more-than-byond-R will save us from this .ipynb mess.

ahurmazda··on Mortgage demand drops to a 22-year low as higher interest rates and inflation
Here is something from the National Association of Realtors. Granted, it varies across states (TX leading with highest 28%)

> Institutional buyers made up 13% of the residential sales market in 2021, with the median purchase price of institutional buyers typically 26% lower than the states’ median purchase prices (Slides 6 – 15).

Source: https://cdn.nar.realtor/sites/default/files/documents/2022-i...

ahurmazda··on For the first time in ~20 years I feel Google Search is no longer good
How do we turn these anecdata/tweets to bona fide dataset? Some sorta crowdsourcing?

Eg I have been extensively comparing (personal) experience across Google, DDG, You.com, kagi etc. Thus far, I keep coming back to good old google.

ahurmazda··on Transfusion of brain fluid from young mice improves memory in old mice
Death is the ultimate equalizer. We take solace in the fact that no matter how rich, brutal, tyrannical, comically-villainous one is, death will surely come for us all.

The day old-gizzards figure out how to sip on young-people juice and live forever, we are truly screwed.

ahurmazda··on Python Language Summit: Python Without the GIL
Now that’s funny!
ahurmazda··on Typing.io: Typing Practice for Programmers
As a forever learner who’s never broken the 90 wpm, I have tried quite a few of these. https://monkeytype.com/ Is my current go to for its ux, customization etc. Best part is that the code is open on GH. So you can supply your own “language” [1]

[1] https://github.com/Miodec/monkeytype/tree/dev/frontend/stati...

ahurmazda··on Tabula: Convert PDF Table to CSV
Does it work with scanned tables? That’s usually more common in my exp
ahurmazda··on Ask HN: What's Going on with YouTube Search?
If I see the face of that damn "ex-Google techlead peddling whatever nonsense in 2022", I am gonna seriously loose it. I prided myself in keeping a neat and disciplined YT feed for the longest time (careful manual curation). But last 2 weeks have been absolute garbage.
ahurmazda··on Ask HN: Let's build an HN uBlacklist to improve our Google search results?
I tried you.com[1]. The first few results seem quite relevant. Best part is that you can actually personalize the weights to assign to your search (your very own bubble)

https://you.com/search?q=code%20that%20protects%20users%20fr...

ahurmazda··on Attrs – the Python library everyone needs (2016)
Thanks. You do make a lot of good points.

Attrs just has the features I need for now. It certainly feel a touch verbose but I’m happy to pay the price.

ahurmazda··on Attrs – the Python library everyone needs (2016)
dataclasses also have the slots kwargs since 3.10. Should help with faster access and memory
ahurmazda··on Attrs – the Python library everyone needs (2016)
Do you have concern with speed or memory footprint of pydantic compared to the rest (attrs, dataclasses etc)? Pydantic seems insistent on parsing/validating the types at runtime (which makes good sense for something like FastAPI).
ahurmazda··on Polars: Fast DataFrame library for Rust and Python
I’ve been using it for the past quarter. In addition to the speed, I’m very pleased with the pyspark-esque api. This means migrating code from research to production is that much easier.
ahurmazda··on Find anything fast with Google's vector search technology
Ah! Great to know. ANN searches are becoming table stakes at this point. Hopefully, we will see more and more platforms adding it to their repertoire.
ahurmazda··on Find anything fast with Google's vector search technology
More or less but as always the devil is in the detail. Here is a paper[1] that summarizes issues with naive approaches. Incidentally. the proposed solution (Hierarchical NSW) in this paper performed fairly well in the industry benchmarks

[1] https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf

ahurmazda··on Find anything fast with Google's vector search technology
For a similar ANN/vector search capabilities, https://vespa.ai/ is a great open-source solution. Elasticsearch may offer some form of ANN too but need to double check
ahurmazda··on Rust support in the Linux kernel
A very helpful summary from r/rust on the same topic [1]

>A few notes for people who haven't been tracking the Rust-in-kernel situation. Drivers especially have been targeted for a few reasons. First, drivers are isolated, with abstractions that don't require interaction with the rest of the system. Second, Linux is available on more systems than the Rust compiler has been ported to. Because drivers are inherently system-dependent, it is not an issue to introduce a dependency on rustc on compatible systems. Third, bugs tend to arise more in drivers than other parts of the codebase, so Rust can do the most good starting there.

[1] https://www.reddit.com/r/rust/comments/rb50yn/comment/hnmshs...

ahurmazda··on Never Use Black (2012)
One of the reason I was so disturbed by Github's dark mode when they first introduced it. And I was not the only one [1]. Thankfully, they have tried to address with different shades of dark (`dark dimmed` and `dark high contrast`) since then.

[1] https://blog.karenying.com/posts/github-darkmode-sucks

ahurmazda··on Lazygit: A simple terminal UI for Git commands
Personally I’m not a fan of the fugitive/magit style UI, ie learn a bunch of esoteric commands (:Git blah) so that you don’t need to remember the other set of original commands.

With lazygit/tig, at least there is a visual pager with shortcut letter I need to press along with a text hint about what it actually does.

ahurmazda··on Neovim v0.6.0 Released
The way I picture it is having true N number of lines on your working buffer that does not interfere with the actual line count in your file. We already have virtual-texts in neovim that only can show up on the same line as existing texts.

Pay close attention to the line counts in the image (from original PR) https://user-images.githubusercontent.com/1363104/129208266-...

ahurmazda··on Neovim v0.6.0 Released
Thank you for all y'all hardwork. Neovim has become my workhorse since 0.5 and I am loving it.

I am excited about the virtual lines. Quite a few possibilities there.

ahurmazda··on Lazygit: A simple terminal UI for Git commands
Nice.

I have it hooked up to the toggleterm plugin [0]. This way I can pop layzgit and other things (gdb, ipython etc) on a floating term

[0] https://github.com/akinsho/toggleterm.nvim

ahurmazda··on Lazygit: A simple terminal UI for Git commands
A very satisfied user. As a (neo)vim user, I did suffer from magit envy but at the end, Lazygit takes care of all my needs. I prefer the UX (Just a personal preference).

Kudos to the dev for the wonderful tool

PS: There is also lazydocker by same person https://github.com/jesseduffield/lazydocker

ahurmazda··on How LambdaMART works – optimizing product ranking goals
I work in the similar space (recsys). Learning-To-Rank sounds amazing on paper but logging "good" (yes, those quotes are warranted) ranked data in production is damn near impossible. Every time you come up with strategy X, someone points out how its statistically biased to hell.
ahurmazda··on Einstein award going to Paul Ginsparg for creating arXiv.org
Well deserved. I only recently learned about the origin of arxiv and the story surrounding Joanne Cohn. Highly recommended read

https://physicstoday.scitation.org/do/10.1063/PT.6.4.2021110...

← PreviousPage 3 of 5Next →