HackerTrans
TopNewTrendsCommentsPastAskShowJobs

__jonas

1,305 karmajoined 7 tahun yang lalu

comments

__jonas
·15 jam yang lalu·discuss
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?
__jonas
·17 hari yang lalu·discuss
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.
__jonas
·30 hari yang lalu·discuss
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.
__jonas
·bulan lalu·discuss
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.
__jonas
·bulan lalu·discuss
A classic: https://maxread.substack.com/p/a-literary-history-of-fake-te...
__jonas
·bulan lalu·discuss
I think the point was that kagi uses google and bing as it’s search providers, besides others like yandex
__jonas
·bulan lalu·discuss
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.
__jonas
·bulan lalu·discuss
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.
__jonas
·2 bulan yang lalu·discuss
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.
__jonas
·2 bulan yang lalu·discuss
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.
__jonas
·2 bulan yang lalu·discuss
It is yeah – I was thinking along the lines of the decision being between docker compose and something like podman quadlets
__jonas
·2 bulan yang lalu·discuss
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.
__jonas
·2 bulan yang lalu·discuss
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
__jonas
·2 bulan yang lalu·discuss
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.
__jonas
·3 bulan yang lalu·discuss
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
__jonas
·3 bulan yang lalu·discuss
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.
__jonas
·3 bulan yang lalu·discuss
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.
__jonas
·4 bulan yang lalu·discuss
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?
__jonas
·4 bulan yang lalu·discuss
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.
__jonas
·4 bulan yang lalu·discuss
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.