HNHacker News
TopNewBestAskShowJobs

dbrgn

3,927 karma · joined October 30, 2012

submissionscomments
dbrgn··on LibrePCB
How is the KiCAD format more open than LibrePCB? Both are custom formats using S-expressions.

The thing is that while the files look similar superficially, LibrePCB has a lot of differing library concepts: https://librepcb.org/features/library-concept/ Just as an example, LibrePCB has UUIDs for _everything_. That makes conversion from/to KiCAD more difficult.

dbrgn··on LibrePCB
Huh? Of course its is. https://github.com/LibrePCB/LibrePCB/tree/master/apps/librep...
dbrgn··on LibrePCB
Ratsnest means that you have thin lines indicating which pads need to be connected. You can see them here: https://librepcb.org/features/board-editor/board-branching.g...

You start out the board deisgn by orienting your parts in a way that there are as few intersections as possible. Then you draw the connections, and the ratsnest lines disappear one by one. If you have intersections, you need to route around the part, or work with multiple PCB layers to get rid of them.

dbrgn··on LibrePCB
I assume you're talking about https://librepcb.org/donate/? Probably GitHub Sponsors (no fees at all) or OpenCollective (fees depend on the payment method, a "platform tip" is optional).
dbrgn··on LibrePCB
> How comprehensive is the part library?

A few thousand parts total, so: Still quite small.

> Is there auto-routing?

No, just ratsnest. The utility of autorouting was already discussed in sibling comments.

> "Import formats: DXF". For what, the board outline?

It's mostly useful for the documentation layer or the Board outline. For example when creating a Raspberry Pi HAT, or an Arduino shield. It can also be used to import logos for silkscreen, or the like.

> None of which have enough info for import into another EDA program.

Can you give a concrete example of the use case you have in mind?

> This seems to be is a marketing tool for some board maker.

It is not, and it becomes obvious if you spend even just a few minutes reading through the website. It's mostly one developer, who spent almost 10 years developing the software in his free time, and who now tries to work on it full-time. Source of income are donations, some EU funds and revenue sharing of some fabs.

dbrgn··on LibrePCB
LibrePCB is not developed by PCBWay. They started supporting the project last year: https://librepcb.org/blog/2022-09-08_partnership_with_pcbway... Other fabs support it too (namely Aisler) by donating a share of the income from orders submitted from LibrePCB.
dbrgn··on LibrePCB
The FAQ does not contain a direct comparison, but might answer some questions: https://librepcb.org/faq/

One of the main "selling points" is the advanced library concept: https://librepcb.org/features/library-concept/

dbrgn··on LibrePCB
Just a few days ago, version 1.0 was released. Release blogpost: https://librepcb.org/blog/2023-09-24_release_1.0.0/
dbrgn··on Quadlets might make me finally stop using docker-compose
Here's a redacted version: https://gist.github.com/dbrgn/137da9e9ad342d536d1e452fba3e9d... Maybe it's useful as reference. It includes multiple network interfaces, a firewall, VLANs, DNS and ad blocking (plus two network services). (This version of the config does not yet make use of podman, I'm still in the process of setting everything up.)

I'm also using nix flakes, to keep the setup reproducible.

If you want to get started, I can recommend the following:

1. Install nixos. That will only take a few minutes, and you end up with a system in which you have a "/etc/nixos/configuration.nix" file. Now you can edit the config file, run "nix-rebuild switch", and the changes have been applied. Every change results in a new entry in the bootloader menu, so you can always rollback.

2. Check out this great blog series: https://www.jjpdev.com/posts/home-router-nixos/ It helped me a lot.

3. Use https://search.nixos.org/options to search config options (the stuff in your config file).

Note: The blogpost still uses the classic way of managing network devices. I use Systemd, which I think is nicer and more flexible.

dbrgn··on Quadlets might make me finally stop using docker-compose
That's not the case (anymore). I run a NixOS based router with nftables (no iptables installed at all), and podman works just fine. It simply adds its NAT rules to nftables (unless you tell it not to).

As far as I know, this was introduced with the new networking stack (netavark).

dbrgn··on Quadlets might make me finally stop using docker-compose
I think you're mixing up some things. If you run the image "docker.io/wordpress:6.3.1", then the container will be updated when the image with that tag (6.3.1) is being re-built (which is a best practice, because that's the only way how you get security updates for the libraries in the base image). The tag is just a pointer to the latest image hash.

Many Docker images also provide "semantic version tags". Wordpress does too, so if you run the image "docker.io/wordpress:6.3", you will get the latest 6.3.x version.

It's up to you (and the image publisher) to decide when to auto-update, and when manual intervention is necessary.

Of course this requires trusting the publisher of that image. But even if you build your own images, you still trust the base image. It's turtles all the way down.

dbrgn··on LibrePCB 1.0.0
Should probably be merged into https://news.ycombinator.com/item?id=37633119
dbrgn··on Unlimited Kagi searches for $10 per month
If you get a Pixel phone and put GrapheneOS on it, you're actually ahead on OS updates compared to vanilla AOSP. For example, the webp vulnerability was backported 4 days ago, while regular Android users will have to wait until October to get a fix for this vulnerability.

(Of course, the thing about the baseband still remains, but Google now offers 5 years of security updates, which are immediately ported by GrapheneOS.)

dbrgn··on How mobile apps illegally share personal data
Informing people only helps if they have a choice whether or not to use the app/service.

In many cases, people are tracked by services they cannot really avoid. One example is the German "Deutsche Bahn" app, which is full of trackers. Some organizations are now trying to fight this using legal means. Another example was the Covid vaccine registration page in my canton in Switzerland, where Google Analytics was being used (right on the page with my sensitive medical information). It wasn't even being mentioned in the privacy policy.

We have laws that say what's legal and what's illegal. If something is illegal, those laws should be enforced. Especially when users have no choice.

dbrgn··on How mobile apps illegally share personal data
> These complaints are just the beginning: noyb is planning to file more complaints against mobile app companies in the future in order to stop the illegal sharing of user data.

Gotta love what noyb is doing. In case you want to support their work, there are links on their website to donate or to become a member. I'm not affiliated with them in any way, but their approach to privacy law enforcement is precisely what we need right now. Companies that mis-use personal data (often in violation of European law) must know that there can be consequences (reputational, financial and potentially legal).

dbrgn··on Arduino raises $22M Series B round
To quote from the article:

> After the first $32 million Series B financing received in 2022, “This investment will allow us to further fuel our transformational platform initiative for professional customers, lowering the barriers to entry in IoT and AI by providing a continuum from hardware to Cloud,” says Arduino’s CEO Fabio Violante.

dbrgn··on New LoRa RF distance record
Yes, of course this is related to the physical properties of the emissions, but LoRa uses specific frequencies of the ISM band (868 MHz in Europe), and this discussion was about the reasons why that specific LoRa transmission worked even though there wasn't a line of sight. Airplanes could be an explanation, although your sibling comment thinks there isn't sufficient transmission power for it to be feasible.
dbrgn··on Organic Maps
- Good contour lines and hill shading! I live in Switzerland and it's considerably harder to understand the terrain without these features.

- Configurable POIs. In Organic Maps I can show POIs for a few common categories, but many are missing (for example EV charging stations). And I can only show one type of POI at once on the map. In OSMand, I can show POIs for "drinking water, EV charging stations and public bathrooms" at the same time.

- Track recording and especially live tracking (OSMand has a very nice plugin for that, which works with services like Traccar).

dbrgn··on New LoRa RF distance record
At least on 868 MHz, if you stick to the 1% duty cycle limitations that the ISM band allows, I doubt that you'll be happy with the web surfing performance.

(For those that don't know duty cycle limitations: https://www.thethingsnetwork.org/docs/lorawan/duty-cycle/)

dbrgn··on New LoRa RF distance record
Could the signal bounce off airplanes as well, or is that effect not relevant in practice? (I think I've heard such stories before from radio amateurs...)
dbrgn··on Organic Maps
Organic Maps is less powerful than OSMAnd (on Android), but it's much more straightforward and easy to use. It's the go-to app I recommend to all casual map users that want offline maps.
dbrgn··on How to drill your own water well
I wondered how getting a permit in Switzerland would work.

According to some sources I found:

- You need to request a permit from your city and your canton's water and sewage department

- To get a permit, you need a "proof of utility", so you can't just dig a well for fun, it needs to bring some benefit.

- You need a written technical planning document as well, including an analysis on the energy- and cost-efficiency of your project

- If you want to drill down to the groundwater (for drinking water quality), you need additional analyses being done, to prove that the project conforms to standards and causes no harm.

It sure sounds fun to have your own well, but I think I'll stick to collecting rain water.

dbrgn··on Bark beetles are eating through Germany’s Harz forest
The Swiss National Park was mostly untouched since 1914: https://en.wikipedia.org/wiki/Swiss_National_Park However, that probably does not qualify as old growth. The list you linked to does not list any forest in Switzerland.
dbrgn··on Show HN: Invoice Dragon – An open source app to create PDF invoices
Looks nice!

I use LaTeX for my invoices, combined with the "rechnung.sty" module which allows creating the typical invoice layout.

The advantage is that I can use the scrlttr document class, which - if I call it correctly - can generate PDFs that perfectly fit in my country's (Switzerland) window envelopes when printed out.

And because I put all my base config in a reusable and importable file, every .tex file with an invoice is really short, essentially just the address and invoice positions.

dbrgn··on Show HN: An open-source, collaborative, WYSIWYG Markdown editor
TIL abuot plaintext-only. Thank you, that's very useful.
dbrgn··on Show HN: An open-source, collaborative, WYSIWYG Markdown editor
Ah, the joys of contenteditable HTML elements... Such an under-specified and utterly horrible part of the web specs.

I'm sure you had a lot of fun fighting Safari in general, and also the diverging handling between Chromium and Firefox (for example when pressing the Enter key). Even just changing certain CSS properties on the root editor element will cause the resulting markup on certain key inputs to be different.

I admire that you pulled it off, and hope that you have a big collection of cross-browser integration tests for catching all the regressions that will inevitably happen :) Good luck!

dbrgn··on The Rust Foundation goes to war against people using the word “Rust”
Here's a blogpost from the Rust language blog, that might clear up some things:

https://blog.rust-lang.org/inside-rust/2023/04/12/trademark-...

There's a feedback form (this is just a draft after all), so please do leave your feedback!

dbrgn··on ChatGPT generated a puzzle game
Could it be plausible that ChatGTP processed some text describing this exact game, where it is claimed that the idea is novel (because it was, at that time)? Since ChatGPT does not understand the concept of novelty, it would simply "learn" that the rules are novel, and then repeat the rules, still claiming that they're novel. After all, that's the information it was trained with :)
dbrgn··on Some thoughts on the ETH's Threema analysis
They certainly aren't.
dbrgn··on Some thoughts on the ETH's Threema analysis
> To start with: this isn't a paper "by a master student at ETH"; it's a research paper by Kien Tuong Truong and Matteo Scarlata, both grad students at ETH Applied Cryptography, and Kenny Paterson, who is one of the best known academic cryptographers on the Internet.

That was actually a misunderstanding. Because the paper was listed at https://appliedcrypto.ethz.ch/education/student-projects/mas... (under the heading "Master Theses") I was under the impression that this paper was Kien's master thesis.

This misunderstanding has been cleared up thanks to an e-mail from Matteo / Kenny (it's a separate research paper that is _based_ on the thesis) and I just fixed the wording in the blogpost by using terminology "research team" and "research paper". There was no intent to misrepresent the authorship of the paper, I apologize.

> Threema insists on spelling out all the reasons these attacks are difficult to carry out in practice. Who cares?

A lot of people who used or use Threema do care. I fully understand your argument from an academic standpoint. But if there's a website accopmanying the paper that summarizes the attacks in simplified terms, then I assume that the target group of that website are non-academics (otherwise folks could simply read the paper), and then the risk analysis / impact is an important aspect.

> Everybody, most especially Threema, should be going out of their way to extract lessons from research like this

I can ensure you that we do :) (Including lessons on communication.)

← PreviousPage 3 of 23Next →