HNHacker News
TopNewBestAskShowJobs

bastih

144 karma · joined September 10, 2009

submissionscomments
bastih··on Obsidian Note Codes
But that will make links unstable - or OP needs to to turn ambiguous links into some dispatching view.
bastih··on World's darkest and clearest skies at risk from industrial megaproject
https://www.handprint.com/ASTRO/bortle.html
bastih··on Rapid colonization of a space-returned Ryugu sample by terrestrial microorganism
Color me a bad reader: what does this mean? The abstract pretty much leaves me in the abstract.
bastih··on Show HN: Online database diagram editor
What about plantuml - covers a fair bit of ground!
bastih··on Memray: Python memory profiler
I have a lot of praise for using Memray as part of working out some memory kinks in a codebase I’m working on. It allowed me to quickly iterate on some hunches and then enshrine the resulting memory savings in tests via pytest-memray.
bastih··on Building the coordinate system for an infinite spreadsheet
Other spreadsheets solve this by updating references if you need to add more columns and rows (or at least they try). Is the additional complexity of the infinite grid something that customers actually need?
bastih··on Ccache – a fast C/C++ compiler cache
To combat this scenario, we only had build servers populate the cache. Clients were readonly to the cache, so they would benefit from anything that build servers had already built, which covered 95%+ of what clients usually had to rebuild.

Also release builds were excluded from caching, to prevent any form of poisoning there.

bastih··on Ccache – a fast C/C++ compiler cache
Gotta be one hell of a makefile.
bastih··on SPWN – A programming language that compiles to Geometry Dash levels
Took me 5 mins to figure out what "Geometry Dash levels" are. Should probably link to the game and show an example screenshot in the README?
bastih··on Ask HN: What is your “I don't care if this succeeds” project?
My room was next to said bathroom with rather thin walls, so I always appreciated the sound at least be a bit played down by the music.

Another side effect was that you always knew when the bathroom was in use (aside from someone forgetting to turn the light off, which you now had radio playing to remind you off).

bastih··on Ask HN: What is your “I don't care if this succeeds” project?
My parents just had the radio hooked up to the same circuit that was driving the bathroom lights. You enter the room, turn on the lights and there was instant audio. Makes sense to put this into a product.
bastih··on A 10B Pixel Scan of Vermeer’s Masterpiece
Good post to plug the documentary "Tim's Vermeer" ( https://www.imdb.com/title/tt3089388/), which is a joy to watch as they try to reverse-engineer the particular style Vermeer painted in.
bastih··on Automate the Boring Stuff with Python (2015)
my bad: meant multiline lambdas.
bastih··on Use Noexcept for Exception Handling in C++ Programs
Both standard library and other libs make use of them, so you often can't just ignore exceptions.

Also agree on your point - I'm not saying I like exceptions, I like explicitly passing type-encapsulated results/errors more for clarity. Exceptions happen in a "second invisible lane" right next to the code you are writing, and for example aren't immediately visible when reviewing code.

bastih··on Automate the Boring Stuff with Python (2015)
1. no 2. no, not really - however there may be libraries that python has that ruby doesn't have

Side note: Ruby has more syntax to grok, which makes it harder to read (for me). On the other hand Python does have its own idiosyncrasies and subtle behaviors. However, Ruby also has some features (like multiline inline functions) that one may easily miss in Python, but they haven't been worth switching over for me.

bastih··on Use Noexcept for Exception Handling in C++ Programs
> The noexcept specifier protects C++ program from memory leaks and potentially other undesired behaviors brought by throwing exceptions.

While I agree with the presented observation, just letting the exception bubble up to the top would have done the same thing. The memory leak presented here is just the result of not using RAII to clean up the resource.

Throwing an exception through a `noexcept` function terminates (or rather calls std::terminate) because you are doing something you explicitly said you wouldn't do, pass an exception through this function.

> For key functions we hardly know how to handle its exceptions, it might be a good idea to add the noexcept specifier.

On the contrary, `noexcept`s usecase is in places where we want to be sure a function doesn't just throw an exception, as this may thwart some guarantees we want to make to the caller. Sprinkling your functions with `noexcept` just to abort (which is already happening if the exception is unhandled) is bad code. Plus "we hardly know how to handle its exceptions" is the worst cop-out I've heard for dealing with exceptions - C++ exceptions are an essential part of the language and many libraries, so dealing with them should be a prime concern of the programmer.

bastih··on Show HN: Run – Easily manage and invoke small scripts and wrappers
Having gone through writing a couple of iterations of these, I went back to settling on `PATH="./scripts/:$PATH"`, which in my project root dirs (where I spend 99% of my time anyway on the shell) just works.

Sure, this could be augmented with per-folder environments, fancy runner syntax, but less is more for me in this regard.

Ninja update: Anyway, I like what OP is doing here, seems like a lot of things are done right in this. :)

bastih··on The Name of the Rose Background Ambience Generator
They also have a presence on Spotify, great for offline listening.
bastih··on Tracking PG&E outages by scraping to a Git repo
I love when reality pokes holes into clean code and perfectly reasonable assumptions made.
bastih··on Test-driven development: A great idea hiding behind a terrible implementation?
There is a good amount of research on software engineering, I love love love "Making Software: What Really Works, and Why We Believe It" by Andy Oram, as it demonstrates the non-opinion-based way of thinking about software engineering. And has some really interesting insights to boot.
bastih··on Show HN: Cyberpunk web design made easy, really easy
That is great. Love how smooth it looks.
bastih··on Lego to open 160 new stores as other toy retailers suffer
I'd be in the same camp. LEGO scales nicely with age, it doesn't suddenly become boring.
bastih··on Communal Harm-Reduction Norms
One guess would be that people have become afraid to step in.
bastih··on Switch from Chrome to Firefox
Container tabs have made my life much easier, as I'm managing a number of Amazon accounts, and being able to do that side-by-side is a life-saver.
bastih··on Impact of a Night of Sleep Deprivation on Novice Developers’ Performance (2018)
This may just be me, but when I was in charge of hiring a team, I ended up passing on sleep-foregoing candidates (often that wasn't the only thing, but it was a big factor for me).

To this day, candidates that don't take care of getting enough sleep just to get things done, raise a red flag for me.

bastih··on Study: Two Monitors or One Ultrawide
I've become quite fond of Amethyst (https://github.com/ianyh/Amethyst). Especially it's 3Column Middle Wide layout in combination with swapping windows using the mouse and mouse pointer being placed in the middle of a switched-to window have been godsents for my daily workflows.
bastih··on Mathigon – an interactive, personalized mathematics textbook
Out of curiosity, which topics would you have liked to be taught in a more structured way?
bastih··on Why Should Americans Be Grateful for $137 Insulin? Germans Get It for $55
Is there an analysis of "all" prices somewhere, maybe even combined with the sales numbers? Just as an example, some more common drugs like Ibuprofen are much more expensive in Germany. I get that we can always point to drug X or Y.

There's probably also an interesting conversation about effective cost: what does average Joe pay after taking deductions into account?

bastih··on Cutter: Open-source GUI disassembler, with Python plugins
Took me a moment to realize what I'm looking at. GUI disassembling sounded like cutting up a GUI somehow. reaches for coffee
bastih··on The State of JavaScript 2018
Reminds me of the prevalence of TYPO3 as a CMS in Germany, which doesn't seem to have a big following anywhere else.
Page 1 of 3Next →