HNHacker News
TopNewBestAskShowJobs

ralphb

141 karma · joined September 6, 2007

My main strength is algorithms and models, the deep technical stuff that takes a long time to develop.

Currently developing a kickass VST plugin. Located in Odense, Denmark, 29 years old.

http://hnofficehours.com/profile/ralphb/

submissionscomments
ralphb··on I am done. I give up
> It's also the constant stream of digital nomad influencers on Twitter who sell extremely distorted, rosy, and often times false dreams to indie entrepreneurs like myself.

I believe that all sales are about selling into peoples dreams. I am sure that the false dreams you refer are an extremely good business and a willing market, because - who doesn't want to buy the dream of being a successful entrepreneur?

Ironically, assuming these people are creating products primarily based on their own experiences, there might not be anything false about it - it's just that you've trying to sell into less desirable dreams!

Fundamentally I believe that for me it is impossible to passionately pursue stuff I am not really interested in. This limits the desirability of the dreams I can sell into, and I have come to terms with that. You might even think of this as bad luck.

I've also come to terms with the fact that I have to create for myself first, and any interest I get from other people is purely a bonus. Obviously that doesn't pay the bills :-)

ralphb··on Why CVE-2022-3602 was not detected by fuzz testing
I'm confused and very far from an expert here. What is wrong with parsers, and what is the alternative?
ralphb··on What does the ??!??! operator do in C?
I am almost unhappy to learn that this was a joke. Would have been nice to put a final (personal) nail in the C++ coffin with this insanity. However, I guess it says enough that I did have to dig quite far into the paper to realize whether Bjarne was joking or not.
ralphb··on Show HN: I made a web-based notepad with a built in unit calculator
https://gist.github.com/revivalizer/935dfcc345b009a0207a033c...

Even includes error handling :)

At the bottom you can see some test examples of what it can do. Obviously it is a basic calculator.

ralphb··on Show HN: I made a web-based notepad with a built in unit calculator
I've found that a super simple way to parse basic expressions is a recursive descent parser. It is very simple to implement. No need to to break into tokenizer/parser, no need to generate an AST, just evaluate the expression while parsing.
ralphb··on Original source of `(seed * 9301 and 49297) % 233280` random algorithm? (2014)
This is well-known, and almost trivial. But because I am curious I looked this up in NR 3rd edition. Section 7.1.5 says

> The steps above that convert a 64-bit integer to a double precision floating-point value involves both a non-trivial type conversion and a 64-bit floating multiply. They are performance bottlenecks. One can instead directly move the random bits into the right place in the double word with a union structure, a mask, and some 64-bit logical operations; but in our experience this is not significantly faster

It goes on to describe a lagged Fibonacci generator which generates values directly as floating point.

ralphb··on Why don’t we have a strategy?
That's interesting. My kneejerk reaction to your comment was "no, you don't have a strategy for landing a man on the moon, you have a mission architecture!". But on further consideration there really seems to be a lot of overlap between system architectures and strategies (in the Rumelt sense). Diagnosis, kernel, guiding policies. Seems to fit both domains.
ralphb··on We Put Half a Million Files in One Git Repository, Here’s What We Learned
We can talk about the advantages of monorepos, but your questions is phrased in a way that makes me think that you don't see any "trouble" in multiple repositories.

I would encourage you to do some research and keep an open mind.

ralphb··on Ask HN: Any weird tips for weight loss?
Coffee dampens appetite. (Drink it black)
ralphb··on Failing to Learn Zig via Advent of Code
Rust was started in 2006. [1]

Zig was started in 2015. [2]

[1] https://en.wikipedia.org/wiki/Rust_(programming_language) [2] https://en.wikipedia.org/wiki/Zig_(programming_language)

ralphb··on Failing to Learn Zig via Advent of Code
I am also a zig newbie. Since zig is a relatively simple language, I've found it easy enough to read and understand what is going on in the zig standard library, even if I don't understand the particular details of some language syntax. Of course experience and background is going to play in here.

The zig standard library does the following to help me:

- Logical, straightforward code, no magic incantations

- Well named variables and functions

- Comments

- Folder structure is easy to navigate

- Easy to find on github - not hidden away

Obviously your mileage may vary.

ralphb··on Failing to Learn Zig via Advent of Code
That's funny. I am old, and I think 3 seconds is unacceptable.

I use zig anyway.

ralphb··on Failing to Learn Zig via Advent of Code
In general I would agree, but (as multiple people pointed out) the zig standard library source code is very accessible.
ralphb··on Ask HN: Am I the only “unlucky” software engineer?
Hey @nordicengineer, we have a bunch of open positions that might be relevant, and I think we're a pretty good place to work & pretty meaningful. If you're willing to relocate to Odense, Denmark send me an email at <myfirstname>brorsen@hey.com. I am not the hiring manager.
ralphb··on I returned my Remarkable2
That's interesting. Maybe I should work on improving my handwriting. For now I just really love the undo feature, and I specifically use when I look at something I wrote and think "I wont be able to read that in the future" :-)
ralphb··on I returned my Remarkable2
I've had my Remarkable 2 for 2-3 months.

I agree with some of the critiscims here (missing tags, bad typing experience, little integrability), but overall I am super happy with the tablet. I think it's just down to the usecase. It does what I most need it do to! (replace physical notebooks)

It also does some things that I didn't know I needed. It's just so amazing to have an undo for stuff you write on paper. The ability to select and move stuff around is also something I now do constantly.

I think it just comes down to what problem you're trying to solve. For me, replacing physical notebooks = solved problem.

ralphb··on A dive into the making of a 64K Intro
One thing you're missing: Smaller size before compression does not necessarily imply smaller size after compression. For instance, /O2 has a tendency to generate code that is difficult to compress. So it is always better to keep in mind how you achieve smaller file sizes after compression, and not worry so much about data sizes before compression.
ralphb··on Freelancing: A 6-Month Retrospective
I'm also interested in hearing more.
ralphb··on The Caves of Clojure, Part 2
OpenGL draws millions of triangles many times a second. I'd suggest that this is not a problem we need to keep solving :-)
ralphb··on Show HN: Habit List - my first iOS app
The app seems to have lost my data, all my streaks reset to zero. Now that's a bit of motivational catastrophe - something I don't think you EVER want to have happen. Anybody else experience something similar?
ralphb··on TylerWM - a tiling window manager for OSX
I bought it based on this thread and the video; I agree. I just decided to stop using it after 30 minutes, too many things don't really work.

Now how do I get my money back from the app store?

ralphb··on [dead]
Agreed. If he has no pull with management, and this is what his experience with 'superstar programmers' amounts to, he should find a place of employment with better technical people.

And BTW, anybody who a) accepts being labeled a 'superstar programmer', or b) accepts being labeled a 'superstar programmer' without being at least obviously uncomfortable about it, or c) or accepts being labeled a 'superstar programmer' by non-technical people,

is most definitely not a superstar programmer. And rarely will you see anyone who actually know what the hell they're talking about label someone else a 'superstar programmer'. Because there is always someone at least twice as good.

ralphb··on The Prime Lexicon: A list of English words that are prime in base 36
My personal favourite:

PRIMETEST

But the list is surprisingly long, so not that surpring that something concerning primes would be in there.

ralphb··on The Automatic Rule-Based Time Tracker
For Mac, Slife seems like an alternative.

http://www.slifelabs.com/

ralphb··on Building beauty out of logarithms and cosines
This comments seems a little bit shortsighted. Where do you stop? Is it okay if you write your own interface to the hardware drivers, bypassing DirectX/OpenGL? Or do you also have to write your own drivers to the graphics and sound? Your own operating system? Design your own hardware? There's no such thing as an "all-in" app.

All of those things have certainly been done on the demoscene. In the demoscene, size-limited competitions have implicit convections, unwritten rules if you will, to ensure that everybody competes on fair terms. For 4kb intros it is currently accepted (if not encouraged) to use the DirectX/OpenGL APIs. It is also considered acceptable to use the font-writing API's, and some groups exploit this to generate vector graphics out of obscure font symbols.

For sound, it's expected that you either write your own software synthesizer (or collaborate with somebody who has written one), or use the MIDI APIs. For 1kb intros, MIDI API sounds are expected. There was a big controversy in 2008, when the 4kb intro Texas (http://pouet.net/prod.php?which=51448) won the 4kb competition at NVScene. Many people considered its use of samples from mp3s included with the Windows operating system cheating, since it went outside the bounds of what is considered acceptable use of the OS resources.

So there are some implicit conventions about what you can and cannot do, and if you want to compete fairly and impress your fellow sceners, you should follow them.

Of course, most demoscene parties feature the wild demo competitions, where pretty much anything goes. Demosceners always reward hard work and clever hacks, so if you want to impress, create a demo on your self-built hardware and enter into this competition. You will have a fair chance at one of the prizes.

ralphb··on Sage: Free Open Source Python Alternative to Mathematica / MatLab
I have been trying out Sage. Although it looks very attractive on paper, the browser-based interface seems very odd way to go about it, and I couldn't get over the hump of adapting to that.

Any suggestions as to how to think about that? Could someone explain the advantage?

ralphb··on Remind HN: Father's Day is Sunday
Brilliant idea. To top it off, let's put it at verypersonalgifts.com
ralphb··on Ask HN: Should a tech founder look for a non-tech co-founder?
Ah, but you forgot Hofstadter's law:

  "It always takes longer than you expect, even when you take Hofstadter's Law into account."
ralphb··on Do Bayesian statistics rule the brain?
"But saying that the brain is Bayesian is not that profound."

And, furthermore, it's not really a new idea.

Judea Pearls work in the late 80's suggested something along these lines. I have also seen suggested that some of Marvin Minskys groundlaying work back in the 60's pointed in this direction, but YMMV on that one.

ralphb··on Ask YC: What would you attempt if you knew you couldn’t fail?
Strong AI, obviously.
Page 1 of 2Next →