HNHacker News
TopNewBestAskShowJobs

luismedel

1,253 karma · joined April 30, 2019

https://luismedel.com

[ my public key: https://keybase.io/lmedel; my proof: https://keybase.io/lmedel/sigs/HFr8jtOYsBp9NKivqd9SXHvFeEjntcdyd4h9-MYksN4 ]

submissionscomments
luismedel··on Stolen Buttons
For me, Windows 3.x era buttons are the pinnacle of buttons.
luismedel··on Fluid Simulation for Dummies (2006)
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

luismedel··on Magnifica Humanitas
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...

luismedel··on Magnifica Humanitas
Catholics.
luismedel··on Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)
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.

luismedel··on Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)
Honest question. Where does one stop clarifying things?
luismedel··on Snow Simulation Toy
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...

luismedel··on 30 Years of ReactOS
What if the agents were trained by leaked Microsoft code?
luismedel··on Ask HN: What is the most important thing in life?
Perfect answer, fellow cimmerian.
luismedel··on .NET MAUI is coming to Linux and the browser
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.

luismedel··on AOL to be sold to Bending Spoons for $1.5B
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.
luismedel··on Chat-GPT becomes Sex-GPT for verified adults
Another kind of porn?
luismedel··on Tcl-Lang Showcase
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.
luismedel··on Ask HN: Generalists, when do you say "I know enough" about any particular topic?
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.

luismedel··on macOS Tahoe
You're in luck. Your device isn't supported.
luismedel··on macOS Tahoe
I'd pay (even more) for Apple to have the same backwards compatibility policy as Microsoft has.
luismedel··on Show HN: Downloading a folder from a repo using rust
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.

luismedel··on Against the UUID
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

luismedel··on Debian 13 “Trixie”
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 :-)

luismedel··on Show HN: I made a website that makes you cry
Man, that touched me.
luismedel··on The benefits of trunk-based development
The article title isn't misleading at all: they list the (subjective) benefits without listing any of its disadvantages. Sure, that list is useful for some trivial projects.

But good luck selling that to some regulated companies where basic risk assessment is a must. Tell a financial institution you'll _never_ fuck their money transfer pipeline, because you don't do code reviews, you "deliver value" even on Fridays and your methodology avoids all sort of errors or malicious modifications.

IMHO, trunk based development removes some safety. Software development is a complex task and we all risk to break things even on a good day. You're not smarter by removing safety from the process.

luismedel··on Million Times Million
Spain.

But more and more people use "billions" (not billardo, which is our own term for it). The same people that say "diez kas" (for 10k) instead of "diez mil" like they're saving words for doing that (hint: no).

luismedel··on Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas
Nice. But if I remember correctly, Mode X was a special VGA mode to squeeze a bit more performance (due to planes and full graphics memory addressing), not the "normal" MCGA 320x200x256 (13h)

If you're interested, I also implemented a few effects like lens[0] and Jare's fire[1] along with some other amusements[2]

[0] https://toys.luismedel.com/lens/index.html

[1] https://toys.luismedel.com/fire/index.html

[2] https://github.com/luismedel/js-toys

luismedel··on How the BIC Cristal ballpoint pen became ubiquitous
The clip is also a superb stress-reliever by biting it :-)
luismedel··on Introducing command And commandfor In HTML
One more case of Fire and Motion[0] in the industry.

[0] https://www.joelonsoftware.com/2002/01/06/fire-and-motion/

luismedel··on The Plan 9 Foundation
I consider Inferno more interesting too, to be honest.
luismedel··on Feature Flags vs. Configuration Options – Same Difference?
And tribal knowledge about the rationale behind the need! (sometimes not needed anymore once the issue is fixed but somehow the FF survives)
luismedel··on On Bloat
To be honest, the mass of developers is not only lazy but irresponsible and unaware of the risks of being too liberal in the addition of dependencies.

> [...] Now everyone can click on a button

IMHO the code that the button runs after the click is the problem, not the availability of a button.

luismedel··on Imapsync
> trying to force you to buy it

If the author wanted to "force you" in any way, he wouldn't offer a publicly reachable download link, nor the source, nor a permissive license.

It's OK to have economic expectations related to a software you wrote.

luismedel··on I Blog with Raw HTML
> with md-block for markdown, and highlight.js for syntax highlighting

...served by a simple Kubernetes cluster, I suppose? Back to the roots!

/s

Page 1 of 7Next →