HNHacker News
TopNewBestAskShowJobs

fp64

279 karma · joined February 23, 2024

submissionscomments
fp64··on Haskelling My Python
That’s maybe my point, maybe not. Generators can be useful, but somewhat niche as you said. I still prefer explicit code and try to avoid generators, I can’t remember the last time I wrote a yield. I disagree on their elegance. From my earlier days in python I remember writing a lot of convoluted things that felt smart at the time but turned out stupid, and I think representing infinite list with recursive generators in python is exactly that. Maybe a fun exercise to show what’s possible, but from painful experience I am quite certain someone will read articles like these and apply it everywhere without fully understanding it. I loved perl and how terse and expressive I could be, but after a little while of not using it (hah, python came to my life!) I had no clue anymore what my code was supposed to mean, and the same happened later to my “oh so elegant” python code eventually.

Nowadays I mostly work with python ML code that has to be exported as TorchScript, thus I’m very sensitive to things that don’t work there. Not per se a problem with python - but having rewritten a lot of code to make it work, pretty much each and every time I found the explicit, imperative rewrite much cleaner and easier to follow and understand

fp64··on Haskelling My Python
I’m using python since version 1 my friend, no need to get personal and insulting. I gave an example of something that is not defined properly in a PEP as well. I really do not like python, and one of the reasons is that is encourages writing of what I believe is code that is harder to understand and harder to maintain for people who didn’t write it. There’s nothing wrong with Haskell, but it has a rather steep learning curve when you’re not coming from functional programming and if you embrace patterns like this you put extra burden on your colleagues.
fp64··on Haskelling My Python
Fair point, they have a proper PEP. I’ve been burnt by `lst[::-1]` and the likes which TorchScript does not (did not?) support and to my surprise learned that the standard is not clear on this behaviour. Generators are fine but I somewhat fail to see their use as they move state somewhere not really clear and I have seen plenty of problems with needing `list(generator())` confusing people
fp64··on Haskelling My Python
This is one of the reasons I hate python, it allows for so many weird things that are only borderline standardised, if at all. When I started with python decades ago, I was also all hype, list comprehensions and functional patterns everywhere, and why not monkey patch a third party library on runtime? Now I regularly see such code written by the new junior devs, painful to maintain, painful to integrate into a larger code base, most certainly failing with TorchScript, and plainly convoluted for the sake of appearing smart.

If you want to code it Haskell, have you considered using Haskell?

fp64··on 4chan Sharty Hack And Janitor Email Leak
If you disable JavaScript, it’s not. PDF removed loops etc from the PostScript it supports
fp64··on She Worked in a Harvard Lab to Reverse Aging, Until ICE Jailed Her
I have filled plenty of paperwork for customs, my employer explained me what I had to do, because I imported stuff on behalf of my employer. I could have also just tried to hide it in my luggage, but then it wouldn’t surprise me if my visa was revoked as well. Why would you mess with customs, in particular if you do this not for your personal fun?
fp64··on Vramfs: Vram Based Filesystem for Linux
Somewhat related, there is NVIDIA CUDA Direct Storage[0] which provides an API for efficient “file transfer” between GPU and local filesystem. Always wanted to give it a try but haven’t yet

[0]: https://docs.nvidia.com/gpudirect-storage/index.html

fp64··on Estimating Camera Motion from a Single Motion-Blurred Image
Blind Deconvolution is around for a while and from the estimated PSF you can gather the shake pattern (or tell whether it’s just overall out of focus). It just never worked good enough in practice but I remember some impressive results already a decade ago
fp64··on Blender releases their Oscar winning version tool
Anything procedural works so much better in Houdini I find. I was excited about the geometry nodes in Blender and had some fun with them, but always hit a wall where things in Houdini are much better designed and much more powerful and flexible. But it's a steep learning curve and I forgot most things again because I don't really have to use it regularly.

I had the indie license for a while (purchased privately) and just making things shatter and explode was satisfaction enough. I did this mostly for learning and fun

fp64··on U.S. national-security leaders included me in a group chat
You can’t take the GDP in US$ for comparison, given the sanctions and all. PPP is a better means.

I do not know about entrepreneurship, but I do know that a Russian’s average purchase power is significantly higher than what you might expect from just looking at the GDP

fp64··on uBlock Origin is no longer available on the Chrome Store
What’s wrong with V8? Had only pleasant interactions with it so far (maybe compiling takes long, can’t tell, whole webkit is a nightmare in that regard)
fp64··on Berkeley Researchers Replicate DeepSeek R1's Core Tech for Just $30: A Small Mod
$30 is “less than a dinner for two”?
fp64··on Show HN: Habby – A straightforward bullet journal with habit tracking
Just started using it and I really appreciate the simplicity and design! I would, however, appreciate if I could track more than 3 "habbits" (not much more, I actually want to add just one more) even if that might be a bit more tricky to implement while keeping everything as simple and sleek. I will continue using it, happy to share feedback when I have more!
fp64··on The State of Vim
…I still haven’t switched to lua, all I need still works fine
fp64··on Lua is so underrated
Oh, I had no idea! I don’t have much to do with Katana, I just assumed it was also all python
fp64··on Lua is so underrated
Oh that’s super interesting, where in the VFX industry is Lua common? I typically deal with Python and maybe Tcl (I do mostly Nuke and pipeline integrations), and I can’t think of a tool that is scripted in Lua. But I’ve never worked with Vega or Shake or what this is/was called
fp64··on Tell HN: I just updated my wife's Chrome, and uBlock is no longer supported
Amazing, thank you!
fp64··on Tell HN: I just updated my wife's Chrome, and uBlock is no longer supported
Not for me, I hardly use anything GUI apart from my browser. Can’t actually think of anything right now apart from some niche tools. Either way, the fact that I can customise it that easily in Chrome but not in Firefox is a huge factor why I don’t like using Firefox
fp64··on Tell HN: I just updated my wife's Chrome, and uBlock is no longer supported
^w is delete word in vim/bash/everywhere else. It’s terrible whenever I accidentally type this in the browser and the window closes. I typically close terminal windows with ctrl-d so I have this mapped in my browser as well. It’s really muscle memory and I do not want to change it
fp64··on Tell HN: I just updated my wife's Chrome, and uBlock is no longer supported
How can I swap ^W and ^D in Firefox? For Chrome I found an extension that works (…worked?) fine, the only thing for Firefox I found would be compiling it myself, which I find a much worse experience than compiling Chromium myself (neither of which I like doing)
fp64··on What every systems programmer should know about concurrency (2020) [pdf]
I think the term “system programming” is not sharply defined. I consider e.g. torch and CUDA more towards it as it requires knowledge and understanding of hardware and resources and they are rather providing an interface for the next layer of developers. Is pthreads or openmp written by system programmers or application programmers?

PDFs are if I’m not mistake not turing complete, they omitted those PS features from the standard for various reasons, so you probably can’t write anything reasonable in “PDF” (unless you use embedded JS etc)

fp64··on The next time Wikipedia asks for a donation, ignore it (2022)
I haven’t checked the website or who is behind it, I came to the same conclusion that donations to WMF do not actually benefit the operation of that website a couple years ago and stopped all my donations.

I feel it is dishonest to request donations this aggressively and painting it like the website might shut down otherwise, which is not true.

Finance whatever groups you want with that money, but don’t make it look it it would benefit the website - But please, explain to me, why should I start donating again, maybe there is a factual error in the article or my own research? Or is all you come up with really just “something something the right”?

fp64··on What every systems programmer should know about concurrency (2020) [pdf]
Check out this deep learning stuff people talk about. Torch is written in C++ using plenty CUDA (which is arguably a dialect of C++), and deals with all the resource management and hardware interfacing. People use python then interfacing with it.

I don’t particular like how torch is designed and written, but that’s a different story. TensorFlow is c++ as well, in case you wondered.

But maybe that all does not match your requirements for system programming? Try Haiku, at least back when it was BeOS I really liked that the whole OS was written in C++. I have a colleague who wrote some microcontroller code in C++ because he likes it so much and I don’t think there’s anything wrong with that either.

fp64··on Fixing the Loading in Myst IV: Revelation
does this include vectorized code? I stopped using LUTs for anything “trivial” probably 20 years ago because I rarely see any improvements (in particular where it would benefit the overall runtime noticeably).
fp64··on Romanian court annuls result of presidential election first round
That’s why I was asking. I’ve got this number from a German article on the court ruling. I do not know if this is in fact the number specified in the ruling, or whether this was a “leak”, or “misinformation”. So I was hoping somebody could elaborate a bit more as I don’t speak Romanian and haven’t really followed the whole thing, and the OP I replied to mentioned “millions”

Edit: https://archive.fo/tAcG1 (nzz.ch paywalled) is the original source, I would argue NZZ is very trustworthy. They quote the intelligence report. You would need to translate to English. Maybe you have a different source that puts this all in question, which I would appreciate

Edit2: Here’s ABC as I just ran across it, mentioning the same number https://abcnews.go.com/International/wireStory/romanias-top-...

fp64··on Romanian court annuls result of presidential election first round
or a single Romanian expat who “made it” in Silicon Valley (I think this would be also illegal though)
fp64··on Romanian court annuls result of presidential election first round
> The million euros for the TikTok & social media storm that got him elected

I just read that it was approximately 360000 Euros paid to TikTok influencers, not millions. Doesn’t change the fact that somebody paid them, yes, but apparently not Millions. Or my source was wrong, am I missing something?

EDIT Thanks for downvoting - I did not want to defend anything, I just read in an article about the court ruling that it was this number that appeared quite low to me, that’s all, I was wondering.

fp64··on Six inane arguments about EVs and how to handle them at the dinner table
I'm lost, on what behavior do you want me to focus on now?
fp64··on Six inane arguments about EVs and how to handle them at the dinner table
I find articles like "if somebody argues with you, here is what you should say" always so weird

EDIT and as expected, very hilariously bad arguments

1. If people mention that charging EVs take too long, reply that they are impatient "curmudgeons" and they should anyways charge at night at home

2. If they can't charge at night at home, get a hybrid (WHAT?)

I guess family dinner with the inane "curmudgeons" saved!

fp64··on Trump wins presidency for second time
Checking comment history and judging a post not by its content but by the history and association of the poster? How reddit of you
← PreviousPage 4 of 5Next →