Better HN
topnewbestaskshowjobs
Log inSign up

bitterblotter

259 karma · joined Mar 27, 2021 (5y ago) · 40 submissions

lasse@bomh.net
Submissions

comment 3mo ago · link · parent

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

comment 5mo ago · link · parent

Touché

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

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

5.

Turn Your Android into a Dumb-Phone(rasmuskirk.com ↗)

3 points · by bitterblotter · 10mo ago · discuss

comment 1y ago · link · parent

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

7.

Lasso Transactions – Fund Creators and Combat Free-Riders Without Copyright(rasmuskirk.com ↗)

7 points · by bitterblotter · 1y ago · discuss

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Im curious. Can you expand / give examples?

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Me when I buy a face mask and immediately ask people to spit in my eyes

comment 2y ago · link · parent

This guy gets it

comment 2y ago · link · parent

Likewise man. In the face of avoiding JS, I think we've both taken one for the team here

comment 2y ago · link · parent

I'm curious about why you use Django together with SQLAlchemy, instead of using the built-in ORM? Or is it just separate projects?

comment 2y ago · link · parent

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 :)

18.

Show HN: I made a HTMX Playground 100% in the browser(lassebomh.github.io ↗)

482 points · by bitterblotter · 2y ago · 118 comments

19.

Side effects include: Unspeakable Horrors(psychonautwiki.org ↗)

2 points · by bitterblotter · 3y ago · 1 comment

comment 3y ago · link · parent

Is there a way of installing this on android?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Minecrafts all the day down

comment 3y ago · link · parent

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"

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

28.

Ask HN: When filming, how do we prove that the video is real?

6 points · by bitterblotter · 3y ago · 3 comments

12