Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zaarn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
zaarn
4y ago
Or any other specific phone. And then be bound by whatever charger there happens to be.
152.
▲
by
zaarn
4y ago
No, NixOS solves that. Apps can require Kernel Config Flags to be set and the interactions between flags can be modelled in NixOS. And it'll all be side-effect free and the nixos rebuild command will tell you at build time if it's
153.
▲
by
zaarn
4y ago
I don't see how that's worse. If you make such a good connector that it should replace all currently used charger ports, there should be a requirement to allow users to give them the time to switch. To not cause untold costs to po
154.
▲
by
zaarn
4y ago
Well, no you don't have to vote with your dollars, you can vote for free. Which I think is the better solution, especially for people who have no choice for voting with their dollars, ie poor people.
155.
▲
by
zaarn
4y ago
NixOS lets you do that kinda of stuff though. You specify that you want a kernel option enabled and it'll make sure that any kernel you install has it enabled or compiles one from the upstream source you set (or the default one). Even
156.
▲
by
zaarn
4y ago
If it's really needed and there is no way around it, it'll be painful in almost any sane and modern init system (OpenRC isn't that much better at it than Systemd, neither is svcs from Solaris which sucks the most at configs).
157.
▲
by
zaarn
4y ago
That's the point though, there is no more 30 pin connector. And if there is a change, the government ensures consumers won't be wasting money because their old 30-pin chargers are now paperweights or their old phone has no more ch
158.
▲
by
zaarn
4y ago
It's that or adapters. Adapters might be more acceptable as interim solution for products where that matters. I was more thinking of application like Laptops, where you can have multiple different ports already without issue.
159.
▲
by
zaarn
4y ago
Systemd still has no dependency order. You still use Requires=, After= ,etc. Otherwise it'll start when it starts. I don't think dependency order is particularly valuable in the real world. Manually specifying order imposes a stri
160.
▲
by
zaarn
4y ago
You release the product with both ports. And then you tell the EU that you'd like your port to be approved as valid alternative. You'll probably have to explain why your connector is better as well as show that consumers won'
161.
▲
by
zaarn
4y ago
If you're designing such a connector, I'm sure you'll have the car manufacturers on board immediately. After all, your connector is better. Not only a tiny bit better, it's much better. The EU will obviously be happy to
162.
▲
by
zaarn
4y ago
Apple didn't quite got an approved exception, the previous agreement on micro-USB was essentially a non-binding agreement between the industry and the EU. With the heavy implication that if it's not adhered to, then the EU will ma
163.
▲
by
zaarn
4y ago
That would be believable except Apple has been fighting the EU for years now over not implementing USB at all. Sure the charger has USB, but the phones they've release the last decade don't have a USB port themselves. Even when th
164.
▲
by
zaarn
4y ago
You forget that everything now being USB or Lightning is in part due to the EU attempting to harmonize the market on USB before today. All the larger market leaders signed an agreement to move to USB, which Apple understood as "USB at
165.
▲
by
zaarn
4y ago
Askama looks interesting, though the inheritance is a bit underdocumented. Ideally, I'd imagine just making a "Global<T>" struct, where I insert the current page context like so "Global<LoginPage>" to ge
166.
▲
by
zaarn
4y ago
eu.org is a public suffix (check the list), which means that every domain below it is treated as it's own seperate security context. Meaning cookies are not shared between domain-a.eu.org and domain-b.eu.org. If they weren't on th
167.
▲
by
zaarn
4y ago
Well, as mentioned, I've yet to find something that can replace Maud without sacrificing it's advantages (in-code inheritance, code-sharing and compile-time type-safety). So even if it's not the "optimal approach" a
168.
▲
by
zaarn
4y ago
My projects have no front-end engineer, however. The frontend is written in Rust as well and also uses Maud for HTML templating. And I dispute it not working with complicated HTML templates, that's handling it fine and integrates very
169.
▲
by
zaarn
4y ago
And? Since they're on the public suffix list, they might as well be issuing domains. Subdomains work differently in a browser compared to a domain and since the eu.org stuff is handled as domain by browsers I see no issue describing it
170.
▲
by
zaarn
4y ago
I've tried handlebars and liquid. They're okayish, but both slow and don't have any compiletime help or typing when I tried them. Horroshow, ructe, typed-html and yarte were okay but inheritance was underdocumented (or genera
171.
▲
by
zaarn
4y ago
Domains, if you check the public suffix list, the eu.org stuff is entered as public suffix, so it counts as a domain like any other to the browser and the eu.org part is just the TLD.
172.
▲
by
zaarn
4y ago
One of the huge advantages of Maud is that it keeps code and markup close together, so you can do things like having rust control structures determine what markup is used later on (for snippets or widgets, for example). Plus, Maud has a def
173.
▲
by
zaarn
4y ago
Overfertilization is a major issue, there is only so much fertilizer you can put on the field without making next years harvest impossible due to oversalting or damaging root systems. And you can bet farmers are already maxing that out as m
174.
▲
by
zaarn
4y ago
That still leaves getting it on the field. Overfertilization is a problem and as mentioned, the plant will require that Nitrogen in proportion to the amount of CO2 to even begin to compensate the lack of Nitrogen. With CO2 being 50% higher
175.
▲
by
zaarn
4y ago
Nitrogen is 70% of the atmosphere but unlike CO2 it's concentration isn't going up in an appreciable way. So if a plant is constraint in nutrients by Nitrogen, it can't make more of those if CO2 goes up. If CO2 goes up it can
176.
▲
by
zaarn
4y ago
Yield yes, but not nutritional contents. Most vital nutrients require more than just CO2 to have more production in a plant (notably, Nitrogen is needed).
177.
▲
by
zaarn
4y ago
Well, TrueNAS Scale isn't exactly designed to be run on a SoC, it's more of a normal linux distro for NAS/SAN Servers. Hence most of it is open source and there is active upstreaming efforts. Plus the entire ACL thing is nati
178.
▲
by
zaarn
4y ago
Is that kernel module open source? One of the advantages of what TrueNAS did is that I can patch it into my own kernels if I'd need to. Plus being compatible to the NFSv4 ACL binary format, so it works via NFS too. Also handling Active
179.
▲
by
zaarn
4y ago
They likely use XATTRs to store the ACL (that is an option in Samba), but it's not native like it's on the TrueNAS systems with the kernel. I bet if you log into the Syno's via SSH you don't get the ACLs enforced on the
180.
▲
by
zaarn
4y ago
I don't think BTRFS supports NFSv4 ACLs yet (ie, Windows ACLs are natively supported on ZFS, there is patchset so Linux also supports it but BTRFS obviously has no integration for a patchset that only exists for ZFS). Having NFSv4 ACL
More ›