News for hackers. Stuff that matters.

luismedel

Re:Stolen Buttons on Saturday July 25, 2026 @04:44PM (#49051385)
For me, Windows 3.x era buttons are the pinnacle of buttons.
Re:Fluid Simulation for Dummies on Thursday June 04, 2026 @08:37AM (#48397779)
Nice.

The earliest jaw-dropping water effect I saw (and somewhat understood at 14) was the awesome credits scene from the Iguana's Earthquake demo[0].

The code[1] contains the following explanation (ancient DOS chars fixed with chatGPT)

  ; // UpdateTable : performs one integration step on U[CT]
  ; Differential equation is:  u  = a²( u  + u  )
  ;                             tt       xx   yy
  ;
  ; Where a² = tension * gravity / surface_density.
  ;
  ; Approximating second derivatives by central differences:
  ;
  ;  [ u(t+1)-2u(t)+u(t-1) ] / Δt² = a² (u(x+1)+u(x-1)+u(y+1)+u(y-1)-4u) / h²
  ;
  ; (where Δt = time step, h=Δx=Δy = mesh resolution)
  ;
  ; From where u(t+1) may be calculated as:
  ;                   ┌   1   ┐
  ; u(t+1) = a²Δt²/h² │ 1 0 1 │u - u(t-1) + (2-4a²Δt²/h²)u
  ;                   └   1   ┘
  ;
  ; When a²Δt²/h² = ½ last term vanishes, giving:
  ;                   ┌   1   ┐
  ;        u(t+1) = ½ │ 1 0 1 │u - u(t-1)
  ;                   └   1   ┘
  ;
  ; This needs only 4 ADD/SUB and one SAR operation per mesh point!

[0] https://www.pouet.net/prod.php?which=364

[1] https://hornet.org/code/demosrc/demos/hq_water.zip

Re:Magnifica Humanitas (Encyclical Letter) on Monday May 25, 2026 @03:24PM (#48270636)
Politics, football (soccer) and religion are always very sensitive topics.

Maybe the OP's "not that important" was an unfortunate way to put it.

I think the answers you ask for are in Ordinatio Sacerdotalis[0]

[0] https://www.vatican.va/content/john-paul-ii/en/apost_letters...

Re:Magnifica Humanitas (Encyclical Letter) on Monday May 25, 2026 @03:18PM (#48270571)
Catholics.
Exactly. I knew what the link was about and didn't study at ETH Zurich. I (mistakenly?) think Oberon is that kind of "roots knowledge" shared between all of us, like Lisp or Forth. That's why I asked when one should stop clarifying things. Maybe some people need to know what a compiler os, or a VM, or a windowing system, or ...whatever.

What I mean is that having so much info at the toe of our tips, comments like "you should put a link about what this thing is" are needless.

Honest question. Where does one stop clarifying things?
Re:Snow Simulation Toy on Tuesday January 27, 2026 @10:08AM (#46780990)
I always loved that intro too [0] :-) I implemented the effect in Pascal back then.

FYI, you can download the source code [1].

[0] https://news.ycombinator.com/item?id=31311461 [1] http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/iguan...

Re:30 Years of ReactOS on Thursday January 22, 2026 @09:28AM (#46719657)
What if the agents were trained by leaked Microsoft code?
Re:Ask HN: What is the most important thing in life? on Monday November 17, 2025 @07:56AM (#45953163)
Perfect answer, fellow cimmerian.
Honestly, I feel that everything UI related has gone backwards to the stone age.

I wonder how hard would it be to go back to visual designers like we had with Delphi or VB6. There were flexible layout container components which helped a lot when adapting forms to varying screen resolutions.

Re:AOL to be sold to Bending Spoons for $1.5B on Wednesday October 29, 2025 @06:21PM (#45753858)
All companies I've worked at had (paid) on-call set up. The right to disconnect isn't incompatible with business needs and the law contemplates it. Also, nurses and doctors do it too.
Re:Chat-GPT becomes Sex-GPT for verified adults on Thursday October 16, 2025 @09:22AM (#45605032)
Another kind of porn?
Re:Tcl-Lang Showcase on Wednesday October 08, 2025 @07:29AM (#45514905)
I remember not only running commands while debugging. I remember moving the program counter back, until a statement above my breakpoint, making live changes in the code and stepping it again until the breakpoint to see the effects of my changes without needing to restart the program.
I consider myself a generalist, but, to be honest, I don't remotely think that I "know a lot of everything". In fact, I suffer about the contrary :-)

About the "when do I say 'I know enough'"...well, never. I just follow my curiosity and it's infinite ramifications. I loss/gain interests about very diverse topics in a somewhat short amount of time.

Re:macOS Tahoe on Tuesday September 16, 2025 @03:43AM (#45259240)
You're in luck. Your device isn't supported.
Re:macOS Tahoe on Tuesday September 16, 2025 @03:40AM (#45259224)
I'd pay (even more) for Apple to have the same backwards compatibility policy as Microsoft has.
Re:Show HN: Downloading a folder from a repo using rust on Wednesday September 10, 2025 @06:49AM (#45195866)
So,

  $ git-down -d bootstrap-dist https://github.com/twbs/bootstrap.git:master dist
is *way* better than

  $ git clone --depth 1 https://github.com/twbs/boostrap.git
  $ cd bootstrap
  $ mv ./dist ~/stuff/boostrap-latest 
because: "C'mon, you don't have the time to be doing all that."

And then we wonder how the fuck we end with malware in our systems.

Re:Against the UUID on Monday August 11, 2025 @07:50AM (#44863173)
I stopped using UUIDs a while ago and I'm happy with TSIDs[0]. Shorter, sortable and can add semantic meaning to ids.

https://github.com/luismedel/tsid-python

Re:Debian 13 "Trixie" on Saturday August 09, 2025 @06:08PM (#44850765)
Kudos to the team.

My first contact with Linux was with Debian 2.1. Exactly with this distro CDs https://archive.org/details/linux-actual-06-2/LinuxActual_01...

To be honest, it was a miserable experience to install it on your main computer without anything else available to look for help in case of problems. It was also hard to really try it due to lack of drivers for current (at that moment) ADSL modems.

But here I am a crapload of years later, still loving it :-)

Older »