Better HN
topnewbestaskshowjobs
Log inSign up

__jonas

1,316 karma · joined Mar 5, 2019 (7y ago) · 418 submissions

Submissions

comment 1mo ago · link · parent

Interesting that you say that, the VCS / diff UI of Jetbrains has always been my favourite by far of any git UI I have tried, I feel like they have an opportunity to capitalise on that a bit more.

comment 1mo ago · link · parent

I use it mostly for web APIs / services, it's great for that!

Interop is not seamless since Elixir does not have the same static type system, but it is possible and that does help sometimes. When resizing images for example, I fall back to Elixir's bindings to libvips. I've also used Oban from Gleam in the past.

comment 1mo ago · link · parent

Pretty exciting change that I didn’t see coming —- I wonder if someone will end up implementing an integration with the Whatsapp Erlang debugger

comment 2mo ago · link · parent

This looks like a great resource, thank you for sharing!

comment 2mo ago · link · parent

Would be cool if the data was accessible easily via a public API, but from what it sounds like here that's not really the case https://www.eurobirdportal.org/ebp/en/help/#third_parties

comment 4mo ago · link · parent

I’m not a Claude code user, is there really no way to get it to not commit to git other than “asking it nicely in a prompt”? I thought there was some sort of permission system?

comment 5mo ago · link · parent

You were looking at the website of Bunny, which is a company that offers primarily a CDN service, as well as other related things like compute hosting, object storage, DNS etc.

It's comparable to Cloudflare, if you're familiar with that, though Bunny is based in the EU instead of US.

This post is about their scriptable DNS service, which used to be paid and is now free.

comment 5mo ago · link · parent

The breakdown as I understand is as follows:

- Owncloud: The 'original' platform, written in php, still developed today

- Nextcloud: A fork of Owncloud (php) by some of the people that worked on it, including the project founder over directional differences, now more widely used than the original Owncloud

- Owncloud infinite scale (OCIS): An implementation of the Owncloud server in Go, with the goal of making it faster and more scalable than the PHP version

- Opencloud: A fork of Owncloud infinite scale (Go) after an acquisition of ownCloud, the company.

comment 5mo ago · link · parent

Are you sure? The React compiler is a fairly new addition to React, Flow is Facebook's old alternative to Typescript, but Typescript won the ecosystem in terms of broad adoption in the end. I think Flow is barely used today, I would be really surprised if they choose it for a new tool, even for a Facebook project.

You may be thinking about React itself, not the new compiler? I'm sure there must be some flow in there still from back in the day.

comment 5mo ago · link · parent

A classic: https://maxread.substack.com/p/a-literary-history-of-fake-te...

comment 5mo ago · link · parent

I think the point was that kagi uses google and bing as it’s search providers, besides others like yandex

comment 5mo ago · link · parent

I wouldn't say it's blasphemy, but I don't really understand the argument about how this relates to 'the application crashing and causing downtime'.

I don't have your level of experience with the language, but I have a personal project written in Elixir, and I do not feel very confident about parts of it that don't have complete test coverage, due to the lack of static typing.

I'm talking about things like: Is this pattern match exhaustive or is there a possible permutation I forgot / specified wrongly, which may then cause a match error at runtime, breaking a particular feature? (of course not bringing down the whole app due to OTP!); or if I change some keys in a map / struct in refactoring, did I forget to change them somewhere else in the application, introducing another error that is only caught at runtime?

Both of these have happened to me, I can even give you examples from code that is not my own – for my project I use a snapshot testing library by an experienced Elixir developer, and while using it I encountered two runtime crashes due to data being in the wrong shape and failing a (function clause) pattern match:

https://github.com/zachallaun/mneme/issues/85

https://github.com/zachallaun/mneme/issues/105

Proper static typing would make it very hard to write bugs like this. In Gleam for example, the compiler checks the exhaustiveness of your pattern matches against the type of the data you're matching against, and forces you to handle all possible values.

comment 5mo ago · link · parent

Lovely to see support for building escripts in the compiler. I’d be excited to see that go one step further and provide something like the deno/bun/node compile feature, allowing one to export a binary that includes the BEAM and compiled code in a single file. I know some people are working on tools like that already and it’s not trivial, but having it in the compiler would be really neat.

comment 6mo ago · link · parent

Most of the time I switch to Chrome it's for web apps that use APIs like Web Bluetooth or Web USB. No way to use those in Firefox as far as I'm aware.

comment 6mo ago · link · parent

That lettermint service looks interesting! I was recently looking for something in that price range that covers both transactional and broadcast emails but couldn't find anything in Europe so I settled on Postmark which has been good, this looks almost identical in features and pricing though.

comment 6mo ago · link · parent

It is yeah – I was thinking along the lines of the decision being between docker compose and something like podman quadlets

comment 6mo ago · link · parent

I like running docker compose for my simple needs because it consolidates pretty much all the config in one declarative file, and docker manages 'everything'. By now I know how to handle the handful of caveats listed in this article. Beyond what's listed there, I'd also give a mention to the way port publishing works (the fact that it ignores firewalls), as that's something that still trips people up if they don't know about it.

> docker compose pull && docker compose up -d is a fine command if you are SSH’d into the host. At customer scale—dozens of self-managed environments behind firewalls, each with its own change-control process—that manual process doesn’t scale.

No idea what this 'customer scale' operation is, but it seems like a pretty clear cut candidate for not using docker compose. I also don't think watchtower should be listed there, it's been archived and was never recommended for production usage anyways.

comment 6mo ago · link · parent

You linked to the Android app there, not the experimental webapp linked above – I'm wondering what gave you that idea though? Those commit messages look pretty human to me, don't think an LLM would ever just commit 'WIP' or 'code cleanup', it's also 4 years old, before the height of vibe coding.

I can imagine the author may have used an LLM for this webapp version of it though

comment 7mo ago · link · parent

Thanks for sharing this! I'm also looking for an alternative to the official app, since having to log in with an account and accepting a privacy policy every time I want to change the time on my watch is pretty ridiculous – unfortunately I think this doesn't quite fit my use case as usually I'll want to sync the time when I go to a different country, and I'll normally only have my iPhone with me, which won't support WebBluetooth. But this tool might be a starting point to fork and build a capacitor app with that can run on the phone I suppose.

comment 7mo ago · link · parent

Wondering why you're considering this move, I also use Bunny for some embedded videos and am considering fully moving my websites away from Cloudflare's CDN to Bunny

comment 7mo ago · link · parent

I'd argue this has not much in common with Jia Tan apart from both being supply chain attacks, there is no malicious maintainer here, a trusted maintainer had their account taken over.

I guess the end result is the same, a malicious package pushed by an account that was thought to be trusted, but I think the Jia Tan case is worth being looked at differently than just simple account takeover.

comment 7mo ago · link · parent

Not at all, it was a regular maintainer account that was hijacked (probably through phishing) and used to push a malicious payload, not a threat actor posing as a contributor and adding a backdoor like in the Jia Tan case.

comment 8mo ago · link · parent

I wonder what engine they are using with ReactNative on Windows. Is it Hermes like with regular RN projects targeting iOS/Android? Or do they run on some system installation of a more traditional engine like V8/JavaScriptCore?

comment 8mo ago · link · parent

Newer said it was a hard problem in general, it's hard for me with my limited familiarity with electronics, that's why I was curious how it was done here.

I recall the last time I wanted to do this, my problem with it was that my microcontroller had a different voltage requirement than the LEDs and I tried to put together a little circuit that delivered the right voltage to the microcontroller and LED matrix from a single 5V power supply. I think it worked kind of ok and then not anymore and I had trouble figuring out where I went wrong, most likely did some bad soldering somewhere.

comment 8mo ago · link · parent

Neat project! I'd be interested in how the power supply is done. I've wanted to do things with LEDs like this, but not knowing much about electronics this always seems the most complicated part to me, specifically powering both the micro-controller and the LEDs with a single wall plug in a safe and reliable way.

comment 8mo ago · link · parent

Rive looks pretty nice, but a subscription pricing model without any option for offline use for an authoring tool like that is very unappealing to me.

comment 8mo ago · link · parent

Would be great to be able to seamlessly bundle a Gleam app for the Erlang target alongside the BEAM in a single binary, like Burrito but without the extra Elixir code. The BEAM is smaller than most JS engines, you could get a binary of 30-40 MB I believe -- still a fair amount, but much smaller than bun/deno compile.

comment 9mo ago · link · parent

Government services need to be as easily accessible and clear to understand as possible, they may be used by the elderly, people with learning disabilities or people who don’t speak the language of the country that well (like those who would want to enter it for tourism as in TFA) - designing them with the assumption that the user is a 5 year old who needs everything explained to them in simple terms is a good approach.

The fact that it’s slightly more tiring for users like you who already know all the details and just want to get to the point is at most a minor drawback that’s easily justifiable by the accessibility gains.

To answer your question specifically: No, for a newspaper vendor that’s not great interaction design, but if you replace newspaper with any government service and shop owner with the government, it sounds perfect to me. I also struggle to imagine a scenario in which you’d need to access those services every single day, but I may be missing something there.

12345
14