HNHacker News
TopNewBestAskShowJobs

sirfz

256 karma · joined May 20, 2016

submissionscomments
sirfz··on Israel used Palantir technologies in pager attack in Lebanon
Hezbollah is an organization consisting of civilian infrastructure besides its military wing (political party, media, hospitals/medical centers, schools, banking, etc) . These devices were distributed amongst different personnel of whom nobody knows their military activity and can safely be assumed it's highly likely they're civilians (hence the randomness of this, not targetted at all). Besides the fact that these targets weren't in active duty but rather targeted in their homes, workplaces, and other random whereabouts (supermarkets, playgrounds, etc) again emphasising how random and not targetted any of it is and the danger it imposes on others (physical or psychological) around them. It's just insane.
sirfz··on Cassette tapes are making a comeback?
Sounds great!
sirfz··on Uv is the best thing to happen to the Python ecosystem in a decade
Checkout dependency groups and uv conflicts configuration
sirfz··on Uv is the best thing to happen to the Python ecosystem in a decade
Indeed rye is great and switching to uv is pretty straight forward. I still think rye's use of shims was pretty cool but probably uv's approach is more sane
sirfz··on Uv is the best thing to happen to the Python ecosystem in a decade
I use mise with uv to automatically activate a project's venv but prefixing is still useful sometimes since it would trigger a sync in case you forgot to do it.
sirfz··on Zram Performance Analysis
a comment here about zram caught my eye a day or two ago and I've been meaning to look into it. Glad to see this post (and I'm sure many others saw the same comment and shared my obsession)
sirfz··on Pyrefly: Python type checker and language server in Rust
Hi, thanks for the links and for opening the goto declaration issue (that's awesome). I will try to dedicate more time into my setup and provide feedback where possible. Looking forward for all the new updates!
sirfz··on Pyrefly: Python type checker and language server in Rust
I understand your confusion because at first look it seems like it's just a type checker (same issue with pyrefly and zuban) hence my comment about bringing forward the fact it's a fully featured lsp
sirfz··on Pyrefly: Python type checker and language server in Rust
I've decided to to try out Pyrefly, Ty and Zuban for their language server features (type checking disabled where possible) last week and found that Zuban is the fastest (but unfortunately doesn't currently have the option to disable type checking). Ty comes next and Pyrefly was surprisingly slow to load (have to wait a few seconds before I can goto definition for example).

They all lack certain features vs basedpyright (what I was using) such as auto imports (Ty has experimental support), showing signature/doc when selecting autocomplete options (I think Ty does have this one) and some other features that I can't remember.

One feature that always existed in Jedi (and now also Zuban) is "goto declaration" in Python. It allowed me to goto the "import" instead of the original definition of a function/class which I'm surprised either isn't supported at all (pyright?) or would just do the same thing as "goto definition" (Ty), seems like an obvious oversight imho.

Edit: Also, I wish all these new tools give more importance to such IDE features as much as they do for type checking.

sirfz··on Firefox is the best mobile browser
I noticed google cloud console runs extremely slow (practically unusable) on Firefox Android while there're no issues with Chrome. No issues with any other site which I find strange.
sirfz··on Notes on switching to Helix from Vim
Funny I just updated my neovim lsp configuration yesterday to get rid of mason and have more control over my tools and found neovim's new vim.lsp.config API really easy to use.

fzf-lua (and several other picker plugins) provide really powerful features and ux out of the box.

I understand that configuration can seem overwhelming but investing a few hours will be really rewarding. I love (neo)vim

sirfz··on Telegram's founder Pavel Durov sends alarmist message to all Telegram users
it's 100% from Durov, I got it [0]

[0] https://t.me/durov/452

sirfz··on How Israeli actions caused famine in Gaza, visualized
Israel has seen more rockets and daily attacks than probably in its entire existance since they commenced the Gaza genocide what are you talking about.
sirfz··on How Israeli actions caused famine in Gaza, visualized
The party refusing any kind of deal are Israel since their goal is annihilation of Palestinians. Hamas were ready from day one for a deal, their goal (contrary to israeli narrative of course) was to negotiate prisoner exchange for the 1000s of Palesitnian prisoners held by israel (including children). This is still their goal along with ceasefire and complete withdrawal from Gaza.
sirfz··on How Israeli actions caused famine in Gaza, visualized
Are you implying that aid would otherwise be allowed by israel via Rafah?
sirfz··on AP Live: View from Gaza as Israel Begins Expanded Operation in Gaza City
Please keep your bigotry out of HN. Palestinian refugees in Gaza must be allowed to return to their homelands inside occupied Palestine and Gazans obviously should be allowed to stay in Gaza.
sirfz··on Ireland will not participate in Eurovision if Israel takes part
That's precisely why it's happening, unfortunately
sirfz··on Ireland will not participate in Eurovision if Israel takes part
I'd say the people that are historically and actively actually being disappeared are the Palestinians, the premise is that Israel since inception wants (edit: is) to eradicate Palestinians
sirfz··on Polars Cloud and Distributed Polars now available
SQL is definitely easier and faster to compose than any dataframe syntax but I think pandas syntax (via slicing API) is faster to type and in most cases more intuitive but I still use polars for all df-related tasks in my workflow since it's more structured and composable (although needs more time to construct but that's a cost I'm willing to take when not simply prototyping). When in an ipython session, sql via duckdb is king. Also: python -m chdb "describe 'file.parquet'" (or any query) is wonderful
sirfz··on Show HN: ClickStack – Open-source Datadog alternative by ClickHouse and HyperDX
SigNoz is a dd/nr alternative built on clickhouse that I know of
sirfz··on Show HN: SQL-tString a t-string SQL builder in Python
Technically this enforces parameterized queries since all it does is basically return the parameterized query in the given db client dialect and the list of parameters. It could be useful for building a unified interface for all sql db clients for example (instead of having to remember whether parameters are %s or ? or {param}, etc). On the other hand, db clients can utilize t-strings to directly allow you to safely execute queries such as t"select * from table where id = {id}" without passing any extra parameters.
sirfz··on I Created Perfect Wiki and Reached $250K in Annual Revenue Without Investors
This bonus is priceless tbh congrats on your success and hope you'll never need to work for anyone
sirfz··on ClickHouse gets lazier and faster: Introducing lazy materialization
Chdb is awesome but so is duckdb
sirfz··on Whenever: Typed and DST-safe datetimes for Python
Maybe something like psycopg[binary], would it be possible to separate the rust binaries as an extra which would be imported if it exists (i.e. When installed with whenever[binary]) otherwise the vanilla python version is used. Not sure of the specifics tho, just throwing out an idea
sirfz··on uv downloads overtake Poetry for Wagtail users
Yes it'll build any dependency that has no binary wheels (or you explicitly pass --no-binary) as long as said package supports it (i.e. via setup.py/pyproject.toml build-backend). Basically, just like pip would
sirfz··on uv downloads overtake Poetry for Wagtail users
It actually does exactly what pip does depending on your configured build backend, so if you have your pyproject.toml/setup.py configured to build external modules, `uv build` will run that and build a binary wheel
sirfz··on Tmux – The Essentials (2019)
Any changes to ~/.bashrc or even ~/.tmux.conf would not reflect in any newly created session unless you terminate all sessions and start afresh. In screen, every new session starts from the current host environment which is more convenient
sirfz··on Tmux – The Essentials (2019)
there's truecolor support (which is now available in screen 5) and the other thing is clipboard support (not sure what it's called exactly) which basically allows you to directly copy text from screen (or say, neovim) even from remote sessions. Can't think of anything else personally (oh there's undercurl support if you care about that).

I find screen to be more stable than tmux but can't say I had any issues with tmux in the past couple of years (but it bothers me that tmux sessions share the initial environment the first session was launched from iirc). Right now it's the clipboard support that makes me use tmux over screen.

sirfz··on Open-TV: Ultra-fast, simple and powerful cross-platform IPTV app
I have to say that IPTV apps across all platforms have a horrendous UX and are especially slow and clunky. I always felt that there's so much to improve in the space and I'm happy to see this project, looks promising judging from the description (although I haven't been using IPTV for a while now and can't try this).
sirfz··on Ask HN: How to pivot to a Machine Learning engineer?
Good luck in your studies and plans!

I can't answer you about Kaggle competitions as I never was involved in any but I imagine the novelty would be in the way people encode the datasets and maybe the cost functions they implement but the models themselves are probably based on already established archs

← PreviousPage 2 of 5Next →