HNHacker News
TopNewBestAskShowJobs

rep_movsd

230 karma · joined October 27, 2011

submissionscomments
rep_movsd··on How Delhi cut electricity loss from 50 to 5 percent
High voltage AC uses multistrand aluminium cables. But AC travels only on the surface of each conductor.

DC travels in the whole metal, and while DC is more complex to manage and transform, HVDC transmission is the future

rep_movsd··on Solving all open source tech debt with Codex
They would have rewritten all commercial software better - or if we are to believe the fantasy and hyperbole, you could patch your Windows 11 kernel live with some frontier model to fix every bug known and unknown.

First of all they cant - second of all they wontr, because their goal is money.

rep_movsd··on Ask HN: GitHub employees what's going on? Why?
If you are doing 1000 commits a day, whats the point of git?

Does the AI ever look back at the shit trail it left behind?

Diffs are no longer diffs, they look like largescale delete and rewrite

rep_movsd··on Tell HN: I hate your fuzzy search
How hard is it to do plain search first for crying out loud.
rep_movsd··on A 15-day autonomous coding run spent five days building no product code
You need help.

Get off the computer and mobile, take a hike, do some gardening or something.

rep_movsd··on The four programming questions from my 1994 Microsoft internship interview (2023)
There are 3 algorithms I learned for circles when I was a kid. I wrote about them a decade and a half ago The third one is prety clever

https://schmantics.blogspot.com/2011/12/third-circle.html

rep_movsd··on Ask HN: What dev tools do you rely on that nobody talks about?
gitk and git gui
rep_movsd··on Tell HN: I'm having the worst career winter of my life
Just out of curiosity, what is the reasonable range of pay for an engineer of your caliber in the UK?
rep_movsd··on USD share as global reserve currency drops to lowest since 1994
By forcing oil to be bought with dollars, the USD was pegged to oil demand, especially from developing nations whose consumption was growing.

Also SWIFT being a means of control of movement of funds.

rep_movsd··on Ask HN: Why can't computers copy GIFs at OS level?
Copy and paste are handled by applications and the OS shell Any program is free to define the formats it is willing to copy or paste - like mime types.

Software sucks, not because its bad, but because people wont implement things

rep_movsd··on China Can't Win
This article (and entire book) actually posits that US will remain the primary producer and consumer of copium worldwide and thus the #1
rep_movsd··on A simple way to measure knots has come unraveled
Maybe I'm really dumb, but it should be obvious that replacing a section of rope in one knot with another, is intuitively not going to simply "add the unknotting numbers"
rep_movsd··on Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas
May I humbly request you to join the dwitter.net community?
rep_movsd··on Getting forked by Microsoft
This is why Stallman is so vehement on GPLv3

Commercial entities will always exploit your work - you need to force them to give back, they will never do the positive sum game by default

rep_movsd··on Quantum computing as a field is obvious bullshit
What everyone secretly knows but won't say because it has funding
rep_movsd··on C++ Standards Contributor Expelled for 'The Undefined Behavior Question'
Wow - I cant think anyone would spend such a long time on how everyone but themselves is wrong.

It started out interesting, but was simply a long rambling text where there seems to be no point

rep_movsd··on DARPA suggests turning legacy C code automatically into Rust
Wow the silver bullet is finally here. Rewrite everything with AI :D
rep_movsd··on Please Stop Reinventing JSX
Disagree totally....

The whole point is to be able to convert JS data structures (or often plain JSON) into HTML via JSX

Data and representation are different. I may be using the same array to display different components

rep_movsd··on Wc2: Investigates optimizing 'wc', the Unix word count program
Remember "The Zen of Code Optimization" by Michael Abrash in the 90s?

This word count challenge was the first one he described. The table driven approach was discussed, but was not necessarily the fastest due to the large cache overflowing (on 90s processors) table needed.

I used the same example in a chapter I wrote for a C++ book

rep_movsd··on Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
Try lazydocker as well
rep_movsd··on Optimistic thinking linked with lower cognitive abilities
Doomers thinking they smart after reading this
rep_movsd··on What is the Demoscene? An interview
The modern dev can try https://dwitter.net

Here is all of mine https://dweetabase.3d2k.com/?user=rep_movsd

rep_movsd··on Chandrayaan-3 Soft-landing [video]
Look at the US military budget

https://cdn.cfr.org/sites/default/files/image/2020/12/002_mi...

versus education

https://i0.wp.com/cef.org/wp-content/uploads/slide2-1.jpg

As a human I think you should arrest Elon Musk immediately for misleading advertising and fraudulent claims.

As a human I think the US should open its borders for immigrants from Asia.

As a human I think the US should scrap the petrodollar and licence as much nuclear tech as possible.

rep_movsd··on Swap_8_and_9: A simple import can modify the Python interpreter
Why is that array not const in the Cpython code?
rep_movsd··on Deepmind Alphadev: Faster sorting algorithms discovered using deep RL
Anyone who does any basic algorithmic CS stuff would have been exposed to sorting algorithms, their variations, sorting networks and so on.

There are already superoptimizers who use genetic algorithms to find the most optimal code sequence for small easily verifiable tasks. That is also a form of reinforcement learning in a way

rep_movsd··on Japan will try to beam solar power from space by 2025
We lived on only solar power for 7 years. For the last 2 years if I hadn't had my precious Honda GK200 petrol/kerosene generator, it would have made it quite impossible to use a desktop computer effectively. My whole successful career of 20 years as a software dev might have got upset,

Betting on solar is a silly idea. Its just a way for oil companies to keep shipping baseload

rep_movsd··on Japan will try to beam solar power from space by 2025
Sure, ignore a technology that is already working since 1970 (fission) and try some scatterbrained sci-fi idea
rep_movsd··on Instant flood fill with HTML Canvas
A better way to do it would be to maintain canvas Path2d objects to define the enclosed regions, which can be instantly filled with context.fill()

No need for complex pixel manipulation stuff

This also lets you do things like let the user move things around.

rep_movsd··on Climate scientists flee Twitter as hostility surges
But climate change measures are all hypocritical and unscientific

1) The Carbon credits system

2) Forcing developing countries to reduce their energy usage, while still maintaining the Petrodollar. Sucking up to oil states and keeping the dollar strong at all costs

3) Controlling nuclear tech and restricting it from those who need it most

4) Blaming India and China for overall energy use while using 2x to 10x per capita energy

5) Pushing the foolish adoption of wind and solar which are just going to help oil companies always sell you base load

6) Shutting down existing nuclear reactors, not building new ones (looking at Germany here especially and the US)

7) Making stupid laws like rationing power

8) Blaming cryptocurrency as a bogeyman

So IMHO - if you're worried about climate change, it's legit, but whatever the US and EUs reactions to this has been a complete farce. So if you want to be heard as a scientist, maybe some criticism of the way in which its being handled is due

rep_movsd··on Ask HN: What's your favorite GPT powered tool?
I asked ChatGPT about a very subtle python bug - it had to do with how python default params are actually mutable and will retain their mutated values across invocations.

I'd forgotten about this weirdness, but ChatGPT explained it.

I also managed to get ChatGPT to write two pieces of fairly complex C++ boilerplate - one was a std:vector that used mmap() and mremap() to grow linearly rather than by a fixed factor (also avoiding memory copy on resize)

Then I made it write a vector whose iterator was an integer index rather than a pointer.

I made it write all the unit tests and benchmarks for these and it did everything correctly except not knowing that munmap() needs the size parameter rounded to the nearest page.

Obviously I hardly managed to get everything correct on a single prompt. It took an iterative conversation and successive refinement

Page 1 of 5Next →