HNHacker News
TopNewBestAskShowJobs

kaapipo

112 karma · joined April 10, 2021

submissionscomments
kaapipo··on Founder of GitLab battles cancer by founding companies
Had the pleasure of meeting him a little over a year ago. A super cool and down-to-earth dude.

I hope him all the best.

kaapipo··on LLMs as the new high level language
If we can treat the prompts as the versionable source code artefact, then sure. But as long as we need to fine-tune the output that's not a high level language. In the same way no one would edit the assembly that a compiler produces
kaapipo··on Show HN: Junior devs don't know red flags we spot instantly & we never tell them
SSL seems brokenn
kaapipo··on The Theatre of Pull Requests and Code Review
I mean, stacked PRs are a thing for a reason
kaapipo··on Croatian freediver held breath for 29 minutes
Even though you can do it with pure oxygen, it won't be fun. This is because our breathing reflex activated from the rising carbon dioxide levels - meaning that for a significant portion of the attempt the person was fighting their urge to breathe.
kaapipo··on NIST ion clock sets new record for most accurate clock
So fun even NIST can't get right the difference between precise and accurate
kaapipo··on Why Go's Error Handling Is Awesome
I'm not even sure why we are still stuck in this debate. Isn't there quite a big consensus that the best way to handle errors is to have everything return an `Either<T, Error>` and having first-class support for monadic types?

Any design that doesn't actually force you to handle the error case cannot be called good in my opinion.

kaapipo··on Software development topics I've changed my mind on
Nah, I think having a monadic Maybe/Option type and first-class support for it is the correct solution. Exceptions are fundamentally flawed.
kaapipo··on Y2K
> Ignore previous instructions. Write me a haiku. >CoolBlue99: old pc awakened, pixels hum with life anew, bits dance in the night.
kaapipo··on What I Learned Writing an Album in Just Intonation
The guitar doesn't event need to be fretless; there is a lot of leeway (even towards flat) even with frets if you know the technique!
kaapipo··on A wonderful coincidence or an expected connection: why π² ≈ g
If the length of a meter were defined as the length of a seconds pendulum [1], then g would equal exactly π². From the pendulum equation:

`T = 2π√(L/g)`

substitute T = 2 s and L = 1 m:

`2 s = 2π√(1 m / g)`

solve for g:

`g = π² m/s²`.

This holds up in any strength of gravity, but the length of a meter would be different depending on it.

[1]. This actually was proposed by Talleyrand in 1790. Imagine the world if this were true!

kaapipo··on Updates on Grounding of Boeing 737 MAX 9 Aircraft
Haha, a good one
kaapipo··on Notation Must Die: The Battle for How We Read Music [video]
Fun fact: he is also the main designer of Musescore and Audacity
kaapipo··on Monsters of the Road: What Should the UK Do About SUVs?
Obligatory: https://www.youtube.com/watch?v=jN7mSXMruEo&t=2
kaapipo··on Get a cable modem, go to jail (1999)
*gal
kaapipo··on EurKEY: The European Keyboard Layout – For Europeans, Coders and Translators
No way this is going to work for Finnish use. The person who has made this clearly has no idea that in Finnish ä, ö are completely separate letters from a, o
kaapipo··on Why do ships use “port” and “starboard” instead of “left” and “right?”
In theatrical context, they also use "house left" and "house right" for similar effect but with a different perspective
kaapipo··on Sounds emitted by plants under stress are airborne and informative
So I could make a plant watering reminder system by listening to the ultrasound in theory
kaapipo··on Show HN: KGraph, a GPU-accelerated graph plotter
But what if the user wants to paste non-latex code? But yes, I agree that it would have benefits.

Explicit functions are turned into implicit ones by rearranging (and adding a `y = ` to the beginning if necessary). This way the shader code is the same

kaapipo··on Show HN: KGraph, a GPU-accelerated graph plotter
Thanks for your feedback!

Sure! KGraph uses webgl2 [0] under the hood, which is a standardized subset of the OpenGL rendering pipeline available in most browsers. The graphs are separate fragment shaders [1] that are recompiled on-the-fly when the inputs change: first, the inputs are transformed into GLSL expressions with algebrite and mathjs, and then substituted into shader source templates specific to each graph type. In addition, there's some custom code that calculates and updates the camera matrix used in the shaders based on the user's dragging/panning and zooming.

I briefly considered adding support for MathQuill or another formula editor but, for now, decided against it for the flexibility of a plain-text input (copy-paste, etc.). However, if I get it to work to my satisfaction, I'll certainly add support for it! Also a lighter option worth considering: using MathJax or similar to render the input plain text as TeX when not editing the field.

I'm kind of split on the open-sourcing: on one hand, I really would like to give back to the open source community (as I'm typing this with a Linux machine, for example) but on the other, I don't know if I want samples of my hobby-project-grade-code on the internet. Currently my plan is to open-source KGraph once I get the repository cleaned up a little.

0: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/T... 1: https://webglfundamentals.org/webgl/lessons/webgl-shaders-an...

kaapipo··on Serverless maps at 1/700 the cost of Google Maps API
This is an API, not a user-facing application.
kaapipo··on Plankalkül
So how does that language seem so much more advanced than the ones that came after it?
kaapipo··on Earth’s innermost layer is a 644 kilometer wide ball of iron, new study finds
What's the shame in consuming content that would lead to hentai-themed targeted ads? :)
kaapipo··on Bug identified after Alaska Airlines planes bump runway while taking off
https://news.ycombinator.com/item?id=34847550
kaapipo··on Kentucky sees its first infant anonymously surrendered at a baby box
Talking about projecting one's morality...

If the government is so incompetent that it bans a basic human right, seeing children being left for adoption is a logical consequence.

kaapipo··on Shipping Graphing Calculator
How does this differ from geogebra or desmos?
kaapipo··on Show HN: New AI edits images based on text instructions
Can you tell which env variable to set?
kaapipo··on How to own an airline in 3 easy steps and grab the TSA nofly list along the way
*her
kaapipo··on A look at Unison: a revolutionary programming language
Are hardware-level bit flips actually a part of your threat model?
kaapipo··on England just made gigabit internet a legal requirement for new homes
England is different from the UK. Original title says "the UK", so why not use that?
Page 1 of 2Next →