HNHacker News
TopNewBestAskShowJobs

apetrov

63 karma · joined October 20, 2009

submissionscomments
apetrov··on AI, but at What Cost? Breakdown of AI's Carbon Footprint
Unfortunately, some people just love to count their neighbor’s expenses instead of minding their own business.
apetrov··on Ask HN: Would you still choose Ruby on Rails for a startup in 2025?
i would, especially if there is mobile ui on horizon (hotwire)

+ added ports and adapters (aka hexagonal architecture, there are many articles on how to do it in ror)

disclaimer: i work with ror since 2006 so i have a strong bias.

apetrov··on Ask HN: Would you still choose Ruby on Rails for a startup in 2025?
still you have to maintain the pile of boilerplate code and whoever does it, has a very narrow context window (aka human)
apetrov··on Israel, Hamas reach ceasefire deal to end 15 months of war in Gaza
i stated untruthworness of this particular one and the response is "what about Israel".

regarding gaza - it's a war in high density area fighting terrorist in civilian clothes. mind to remind who started the war? based on casualties in Russo-Ukranian war 50k casualties is very well in line with expectations. Were there some crimes - sure, is it a organized genocide - sure thing not.

apetrov··on Israel, Hamas reach ceasefire deal to end 15 months of war in Gaza
this is not a trustworthy organization with a long track record

https://en.m.wikipedia.org/wiki/Amnesty_International

https://nypost.com/2024/11/30/world-news/amnesty-internation...

apetrov··on Israel, Hamas reach ceasefire deal to end 15 months of war in Gaza
call to dispose other's people money is easy. you are free to make you donation.
apetrov··on Israel, Hamas reach ceasefire deal to end 15 months of war in Gaza
well, the list a little bit longer

https://www.state.gov/foreign-terrorist-organizations/

apetrov··on Online Behavioral Ads Fuel the Surveillance Industry
Yes, it was the technique but many years ago, like 2015.
apetrov··on SpaceSim
It depends on the complexity of the project. I assumed something nontrivial, like this project. I outlined some thoughts on the effects of consistent development and what the project might become in a comment above (current state vs. becoming a go-to visualization tool in the field for years to come).

Regarding the JavaScript ecosystem—I never mentioned it. Replacing one tool with another has nothing to do with the evolution of a single project.

apetrov··on SpaceSim
I don’t mean to discount any other work. I have already disclaimed that I don’t work in academia and rely on second-hand feedback from my classmates (in Europe)—for example, the Fortran implementation of Yoshida’s method from N years ago that nobody could modify, or the pressure for publication. Building (or learning) a new rendering engine would be a losing strategy in an academic career, as it is a much more difficult path to getting published. There are far fewer postdoc positions than PhD positions, and rendering skills won’t help in this competition.

Regarding the work of Ralf Kaehler: I have seen his renderings and looked through his articles, but to the best of my knowledge, no source code is publicly available. I don’t consider it fair to count it as something actively used in the field, beyond his lab and affiliated projects.

Disclaimer: that doesn't mean that there are no others, but their availability to researchers is limited to be widely spread.

apetrov··on SpaceSim
Yes, I can imagine multiple reasons why an author might decide to change their pace for whatever reason. my observation was that it changed.

Based on my experience (both personal and from colleagues), when a project is not in active development, the team starts losing knowledge of the codebase along with its context. For example, something that was at your fingertips while actively working on the project would be much more difficult to recall after a year. The difficulty of maintaining or extending the project grows over time if it is not actively worked on.

‘Stalled’ = contributions become less and less frequent.

If a project has stalled, there isn’t much new happening. For a simulation like this, the sky is the limit—you can make it as accurate as possible (e.g., accounting for light pressure - esp. significant around blackhole acceleration disk, the Yarkovsky effect, etc.)

apetrov··on SpaceSim
Yes, I don’t question the usefulness of the project by any means. To be frank, I’m personally very interested in it—I studied celestial mechanics at university many years ago and am still curious about simulations.

The graph on the chart I shared suggests that the peak of contributions was a couple of years ago, with occasional changes since then. This doesn’t make much sense to me, as the rendering quality looks great (at least in the videos—I’ll try the software a bit later), and it’s head and shoulders above what the scientific community is currently using.

apetrov··on SpaceSim
update: based on author's activity on youtube, he still works on it https://www.youtube.com/@pavelsevecek/videos?view=0&sort=dd&...
apetrov··on SpaceSim
Looks great, but GitHub metrics indicate that, unfortunately, the project has stalled. The last commit was six months ago on master and two months ago on develop.

source: https://github.com/pavelsevecek/OpenSPH/graphs/contributors

apetrov··on The Double Irish Dutch Sandwich: End of a Tax Evasion Strategy
It’s been very tightly intertwined with the position. When you retire, your wealth is gone, and sometimes retirement equals a purge. I wouldn’t call this being among the wealthy elite by any means. Today, you live in the center of Moscow, and tomorrow you’re an ‘enemy of the people’—good luck proving otherwise.
apetrov··on Andrej Karpathy – State of GPT ( At MSBuild 2023)
This link would be better: https://www.youtube.com/watch?v=B4WAdtlSsK8&t=25890s (starting of his part)
apetrov··on FIDE world chess championship decided in rapid tiebreaks
don't hold your breath for that. Carlsen is 2853 and nobody else is above 2800 now.
apetrov··on Top F1 designer says auto industry moving in wrong direction with electric cars
it's kinetic energy that matter at the impact. def: E=mv^2/2

assuming car 2 is 2x heavier than car 1, to have the same kinetic energy, their respective velocities should be: m2 = 2 * m1 2m1 v2^2/2 = m1 * v1^2/2 2 * v2^2 = v1^2 v2 = v1/sqrt(2) ~ 0.7

another word 2000lbs car driving at 100mph has the same kinetic energy as 4000lbs driving at 70mph

apetrov··on Big cars are killing Americans
What about bus? it's way bigger than CUV/SUV etc thereby more dangerous. According the premise in the article they have to be banned out right.
apetrov··on A Tunguska size burst destroyed Tall el-Hammam, Bronze Age city in Jordan Valley
sounds like a scenario of Starship troopers rather than a food for thought.
apetrov··on For programmers, remote working is becoming the norm
I won't debate the fairness/difficulty point but instead focus on the premise that you don't break your bodies while working as a programmer. That's exactly what you're doing while sitting. i.e. https://www.mayoclinic.org/healthy-lifestyle/adult-health/ex...

Yes, there are workarounds on how to mitigate some effects but in general, the human body was designed (by environment for millions of years) to move all day long, often with a weight.

apetrov··on Siri records fights, doctor’s appointments, and sex, and contractors hear it
unless you’re a lawyer and have a client-attorney privilege. same thing might apply here.
apetrov··on Microsoft is investing $1B in OpenAI
maybe eventually open maybe ai
apetrov··on We can no longer leave online security to the market
that’s a really interesting point. A good example is cops patrolling streets. But if these cops force their way into your house to “protect” you without your consent it’s not protection anymore, so voluntary consent is neccesary to make it protection and not a regulation.
apetrov··on Pushing the Limits of Extreme Breath-Holding
Actually the rescue procedure is straightforward https://www.deeperblue.com/rescue-procedures-for-freediver-b... so if there is a trained buddy watching your back you gonna be fine.

PS you don't need CPR to recover from blackout.

apetrov··on A friendly Introduction to Backpropagation in Python
I had a really good time adapting Karpatny's blog post to python myself but it didn't give me sufficient understanding so i continued with [1], then [2] and finally deciphering [3].

[1] https://mattmazur.com/2015/03/17/a-step-by-step-backpropagat... [2] http://peterroelants.github.io/posts/neural_network_implemen... [3] https://iamtrask.github.io/2015/07/12/basic-python-network/

apetrov··on Ask HN: Why use Python?
pandas. it's a killer library.
apetrov··on Ask HN: How are credentials managed at your company?
shared google drive folder with 1Password files
apetrov··on Show HN: LightPaper for Mac – Free Markdown editor
looks like it doesn't know that markdown supports tables.
apetrov··on The Zen Programmer
cool thanks! works perfectly fine!
← PreviousPage 2 of 3Next →