HNHacker News
TopNewBestAskShowJobs

bitterblotter

259 karma · joined March 27, 2021

lasse@bomh.net
submissionscomments
bitterblotter··on Show HN: Galaxium, an experimental WebGPU space explorer
I had to login just to upvote

I thought it was limited to the solar system until I accidentally kept zooming out, and got my mind blown a couple of times. And again when I saw the black hole.

This is ridiculously well made

bitterblotter··on WikiLambda the Ultimate
Touché
bitterblotter··on Raylib v6.0
I worked on a game in Golang+Raylib and had loads of fun. It strikes a perfect balance for people like me, that don't want to use a game engine, but also don't want to build one completely from scratch. It leaves many things to the developer, but takes care of most of the boring stuff (especially things that are platform specific). Can highly recommend.
bitterblotter··on GabeN Is Shitting Yacht Money into Flatpak and You're Still Arguing Init Systems
This is definitely a rant, albeit a derserved one.

I've never attempted to distribute software to Linux. The mere thought of all the distros and package managers always kill any intention I had to do so. That said, the future seems very bright

bitterblotter··on Node.js is able to execute TypeScript files without additional configuration
Just to give context here, NodeJS doesnt support enums, namespaces and class parameter properties. All of these have been described as regrets by Anders Hejsberg, and none of them prevent advanced use of the type system at all.

Source: 49m 43s https://m.youtube.com/watch?v=NrEW7F2WCNA

bitterblotter··on Web Locks API
I've actually used this once! I built a slightly overengineered HTTP client where it would use a Reader Writer lock on the auth token. That way, if a token refresh request was taking place, all new requests would wait for it to finish writing, before being sent
bitterblotter··on Show HN: Lyceum – An MMO game built with Zig and Erlang
This definitely has a GPT smell, at no fault of the creator. Reminds me of a PR i reviewed about a simple security patch, where the description said "The following changes have been implemented to strengthen our role-based access policies and system security" - Like yeah, it's security patch. A small tweak to his prompt would probably do the trick
bitterblotter··on Ask HN: Best way to learn robotics with a 10 year old?
Play "Turing Complete"! It gives a very intuitive understanding about how electronics become computers, but the best part is that you basically make the entire thing from scratch. Just completed it and had a blast
bitterblotter··on Hello World
Im curious. Can you expand / give examples?
bitterblotter··on Python IAQ: Infrequently Answered Questions
FYI, In the article: > I believe it is the same reason why Python does not allow assignments in expressions: Python wants to clearly separate statements and expressions

...Isn't quite right:

https://docs.python.org/3/whatsnew/3.8.html > There is new syntax := that assigns values to variables as part of a larger expression

Very interesting post though

bitterblotter··on Show HN: I made a HTMX Playground 100% in the browser
Me when I buy a face mask and immediately ask people to spit in my eyes
bitterblotter··on Show HN: I made a HTMX Playground 100% in the browser
This guy gets it
bitterblotter··on Show HN: I made a HTMX Playground 100% in the browser
Likewise man. In the face of avoiding JS, I think we've both taken one for the team here
bitterblotter··on Show HN: I made a HTMX Playground 100% in the browser
I'm curious about why you use Django together with SQLAlchemy, instead of using the built-in ORM? Or is it just separate projects?
bitterblotter··on Show HN: I made a HTMX Playground 100% in the browser
Thanks, and you are very welcome to post it here. Also, if you or anyone else wants to adapt more of the official examples, create an issue with the link, and I'll add them to the repo :)
bitterblotter··on Text editing on mobile: the invisible problem
Is there a way of installing this on android?
bitterblotter··on Google Maps has become an eyesore
This doesn't apply for me personally, and I think also for most people using public transport. The lack of effort needed for effective transport makes me more likely to use it again, because I don't need to think about uncertainties like delays, roadblocks and timing. I actually end up using Maps for routes I've taken many times before, because of this.
bitterblotter··on Mindfulness-based programs show promise in reducing psychological distress
This reminds me of a visualization for box breathing I made a while ago, if anyone is interested.

https://lassebomh.github.io/box-breathing/

If you scroll down there is a simple guide and some relaxing music. The site can also be installed as a PWA and added to your homescreen / desktop.

bitterblotter··on A redstone PC in Minecraft to play Minecraft inside Minecraft (2022)
Minecrafts all the day down
bitterblotter··on Show HN: Unofficial OpenAI Status Dashboard
Wouldn't it defeat the purpose if your chat bot itself is running the service that is slow?

Either way it would probably be easier for you to create the textual representation yourself, since it would require plenty of tweaking in order to get the result you want.

Maybe you could create pairs of standard deviations of the current speed and text, like this:

-2: very slow, -1: slow, 0: working fine, 1: fast, 2: very fast

Then plug the rounded stddev of the current speed into the dictionary and insert it into the sentence: "The chat bot is X right now"

bitterblotter··on Show HN: Unofficial OpenAI Status Dashboard
Pretty cool stuff. Way more concrete that the actual site when you measure a proper metric like time to completion.

The charts look too dense and jagged on mobile though.

Also this could be pretty smart to have if the speed is more important than the model. Then you could automatically select the fastest model from a prioritized list of models, in case the better ones become slow.

bitterblotter··on Pines – Alpine and Tailwind UI Library
I would absolutely be willing to pay under the right circumstances but I have a short fuse when it comes to licenses and component libraries.

When component libraries doesn't rely on anything proprietary, isn't complex, has convoluted/restrictive licenses, is expensive or a subscription and meanwhile could absolutely be done 100% open source, then of course I'd prefer that.

The whole point of these libraries is to make building products easier, but restrictive licenses & expensive pricing makes it feel like that won't be the case.

bitterblotter··on Pines – Alpine and Tailwind UI Library
I desperately want a good library like this but every time i find one they have 3 additonal premium tiers that make the free content feel like something my project cant rely on.

Really good work though

bitterblotter··on PWAs in App Stores
This might just be completely revolutionary for my company. We sell a white-label (their logo and name) application to companies that their customers can use. This made PWA's ideal since we can have both a website and an app that would be created from a single codebase.

The problem is that the companies insist on publishing it to app stores, despite the fact that it is a hell for us to maintain as well as being completely indifferent from the users perspective once it's installed.

Having this as an option almost completely solves the maintainability issues of "packaging" and re-releasing the site every time we want to deliver an update.

bitterblotter··on Microsoft lays off one of its responsible AI teams
Although it is an attempt to circumvent unethical use of AI
bitterblotter··on Htmx in a Nutshell
Absolutely! I will definitely do that when you can save and share playgrounds :)
bitterblotter··on Htmx in a Nutshell
I've been working on a HTMX Playground!

https://lassebomh.github.io/htmx-sandbox/

It runs a small mock server inside the browser which is very Django inspired, so it should be very familiar if you have experience with it.

The mock server runs using PollyJS and Nunjucks as the templating engine. There is sadly no mobile support or the ability to save yet, but it's still a great place to start tinkering without needing a full setup.

Repo: https://github.com/lassebomh/htmx-sandbox

bitterblotter··on Box breathing techniques and benefits
You're welcome! I want to add an asterisk to the no-js statement. I added a service worker so it should also work offline if you have added it to your homescreen.

Link to the source code: https://github.com/lassebomh/box-breathing

bitterblotter··on Box breathing techniques and benefits
I made my own version of a box breathing visualizer with some pretty CSS and no js. It is also "Save to home screen friendly".

https://lassebomh.github.io/box-breathing/

bitterblotter··on Show HN: Redditle.com – For those of us who add 'Reddit' to every Google search
I've been working on a browser extension called More Rich Results that you might find useful. It just looks for Reddit and Stack Exchange results and previews them in the sidebar. It makes for a pretty clean search experience when developing or looking for opinions.

It looks like this: https://i.imgur.com/kb5OE0n.gif

It has definitely improved my workflow and a lot more features are planned such as Github repo/issue previews and support for Searx. It currently works with Google and DuckDuckGo, although it is still in the early stages.

https://github.com/lassebomh/more-rich-results

To install you need to download the repo, enable developer mode for extensions in your browser and press Load unpacked.

Page 1 of 2Next →