HackerTrans
TopNewTrendsCommentsPastAskShowJobs

KingMachiavelli

3,512 karmajoined 11 ปีที่แล้ว
anon @ sansorgan.es

comments

KingMachiavelli
·9 วันที่ผ่านมา·discuss
In some states you no longer can interact with a phone at all unless mounted. Phone mounts kind of suck or you’ll be in a rental without your nice mount. A 15” screen is easier to read than a small phone bouncing on a mount.

If I’m spending $10K on something, I want the Android/iOS experience to be first-class instead of some shitty UI designed be people who I presume don’t drive cars.

Cars are otherwise fungible between brands. If one has CarPlay/Android Auto there is little reason to pick a brand that lacks support.
KingMachiavelli
·15 วันที่ผ่านมา·discuss
Window units can be added to basically any existing home. And like you said roofs are an option. France could afford AC with their relatively cheap power but it’s just culturally and politically unpopular despite heat related deaths being extremely high and loss productivity it’s certainly more than the cost to retrofit.
KingMachiavelli
·18 วันที่ผ่านมา·discuss
> build an image from scratch with the packages you want

Using what? Using NixOS to configure a system is orthogonal to the system actually running the Nix binary. Nix/Nixpkgs provide well maintained package derivations and module configuration for the largest amount of software of any ecosystem. IMO it's far simpler than Yocto or Buildroot or the dozen OCI container builder ecosystems that go in and out of favor.
KingMachiavelli
·18 วันที่ผ่านมา·discuss
Err, the email list has like 13+ bad addresses? I get a lot of "Address not found" responses.
KingMachiavelli
·18 วันที่ผ่านมา·discuss
Actually, quite an honest and in-depth review with many genuine good points about the state of Nix. If you genuinely need sub 1GB image sizes, you would have to reimplement many of the Nixpkgs conventions like glibc/systemd.

I’d still probably just implement this in Nix/Nixpkgs so I could leverage the rest of the ecosystem but that’s not trivial at all.

I wouldn’t even say Nix as a language is better than Starlark. The author is certainly well informed in the choices made.
KingMachiavelli
·18 วันที่ผ่านมา·discuss
My toolchain for both is managed by the Nix derivation wrappers. It’s trivial to set custom C/C++/Rust/Go/NodeJS flags. As long as I have one flexible build tool, I can customize it for both server and embedded.
KingMachiavelli
·18 วันที่ผ่านมา·discuss
IMO the nixos-rebuild scripts are unnecessary and just obscures what’s being built.

build-vm is the same as building the configs “config.system.build.vm” attribute.

nixos-rebuild is fine for getting started but you end up needing to use the attribute path to do anything more complicated like CI caching or inspecting the drvPath.
KingMachiavelli
·19 วันที่ผ่านมา·discuss
What do you mean by image? In Nix you instantiate a NixOS system and specify the architecture. There are a number of tools to build a disk image from a NixOS system.

$ my-arm-system = nixpkgs.lib.nixosSystem { system = "aarch64-linux"; modules = [ ./configuration.nix ]; };

$ :b arm-system.config.system.build.images.iso
KingMachiavelli
·19 วันที่ผ่านมา·discuss
Embedded just means ARM 99% of the time and it's cheaper and easier to use native ARM servers (AWS has them cheap) than to make 100% of software cross compile. Some parts of the firmware might need to be cross compiled but those projects are designed to cross compile.
KingMachiavelli
·19 วันที่ผ่านมา·discuss
I've been using Nix for "embedded" systems for few years now and it works fine. I don't quite understand why "embedded" has historically meant learning a completely separate tool. I've been building for x86 and ARM servers for 5+ years now, so why should targeting an ARM board be any different?

Like the article points out, the software stacks people use for embedded devices are the same as people use non-embedded use; Rust, Go, NodeJS, and sure still C++. The only real difference with embedded devices is non-OS components like the bootloader (u-boot, EDK2) and customizing the device tree. (And of course firmware flashing). Fundamentally those are all just packages that I can describe in Nix. I don't need a separate tool just because the board is small.

IMO the embedded space, especially in the US, is already pretty Niche. Most companies either just ship the vendors BSP example (Ubuntu/Debian/Yocto) and pay very little attention to the detail or re-useablity. Once you vendor declares the BSP EOL you are stuck unless you re-implement it yourself.

Using Nix (or Guix) has the massive advantage of a large and active community that isn't fractured like the Yoctoo/Buildroot community. (By fractured I mean there may by many, many people using those tools at $DAYJOB but due to vendor BSP customization they likely share much less with the upstream community maintained sources).
KingMachiavelli
·19 วันที่ผ่านมา·discuss
Doesn't running consistent losses eventually cause tax issues with the IRS? If the losses are offsetting profit elsewhere, I would assume the IRS would become very interested in challenging the validity of the hobby business?
KingMachiavelli
·22 วันที่ผ่านมา·discuss
Sure but homeowners can literally have their cake and eat it too. Homeowners who like where they live and don’t want to sell are best served by scarcity.

Unfortunately that means they can play both cards, they can benefit from scarcity while pretending to be anti-gentrification. And they can claim any pro-housing group is actually “pro scary capitalist developer”.
KingMachiavelli
·26 วันที่ผ่านมา·discuss
Is there something systemic behind these frequent incidents with military aircraft? It is using old, legacy equipment? Is it due to using rushed, streamlined procedures designed for war-time even outside an active battle environment? Are there just many, many military flights daily so statistically one will be in the news every couple weeks?

IMO the danger to US service members outside of combat seems way too high. It's a well known fact most fatalities occur during training than during combat. (Sure this due to there being many more training exercises than active combat engagements but from a policy perspective it is very worrying).

https://en.wikipedia.org/wiki/List_of_accidents_and_incident...
KingMachiavelli
·27 วันที่ผ่านมา·discuss
Assuming they would not have liquidated it earlier (perhaps via some semi-legal instrument) to cover past or future bad decisions. Crypto certainly isn’t doing well now.

The 7.84% state would probably be significantly diluted over this time frame so 4-5% is probably a more accurate estimate but perhaps high estimate.
KingMachiavelli
·เดือนที่แล้ว·discuss
Wow quite nice. I’ve been working on a side project (so all vibecoding) a tool for canyon mapping (Canyoneering). I made a decent interface based on Leaflet and react but I struggled to add a more complex interface without just recreating the enormous QGIS GTK 2000s era UI. Look forward to consider adopting this stack and UI instead of rolling my own.
KingMachiavelli
·เดือนที่แล้ว·discuss
I don’t get why Spotify didn’t inject themselves into the ticket buying pipeline. They recently announced something but it’s kind of strange.

I often find I learn about a festival or concert too late to buy tickets or they are prohibitively expensive. Spotify knows who I listen too and where I live, I don’t get why it can’t remind my to buy tickets X months before the event. I can even manually see an artists concert schedule.

It then be trivial to monetize this. If 50% of people buying tickets on Ticketmaster, actually are going through Spotify first, that gives Spotify a lot of power in an otherwise asymmetrical position.
KingMachiavelli
·เดือนที่แล้ว·discuss
Isn’t it a self-fulfilling issue? Dependence on H1B and other visa dependent workers leads to lower salaries which discourages local talent from that specialty.

What requirements did the role have and what’s the salary range?

From what little I gather from online job listings, most foreign labor dependent positions are trying to pay 90K for a masters degree, maybe 120-140K Bay Area. Additionally, many of these job listings want extremely specific degrees or certifications that frankly are of little interest to US citizens - but F1 students will take any masters program despite the program having little salary benefit - the degree is a requirement for the visa.

I have a hard time believing you can’t find a US civil engineer who could learn the subject matter right out of college. Although saying that I know first hand low starting salaries have pushed students towards mechanical engineering or CS if inclined.
KingMachiavelli
·เดือนที่แล้ว·discuss
IPv6 zones are great. IPv6 neighbor discover is great. Link local doesn’t need SLAAC or DHCPv6 server.

It seems clear that browsers would need to special case this and implement OS specific rules for what a valid Zone ID is.

Browsers have overloaded the URL/search/AI magic bar for years. I don’t quite see how IPv6 Zone ID are that different. They already auto append or auto hide the www subdomain.
KingMachiavelli
·เดือนที่แล้ว·discuss
Wow, it's crazy that some states have over 2x the mortality rate of others. Also pretty striking how quickly mortality increases with age even at "young" ages.
KingMachiavelli
·2 เดือนที่ผ่านมา·discuss
1. Born in typical midwest American town from American parents also born in the US just as their parents (at least 4 generations) 2. Nope, met after arrival. 3. Studies completed and employed legally. 4. "How soon after her last entry to the US did you get married" - actually maybe an issue, we just happened to travel internationally before deciding to get married sooner. But it would be silly to not return to the country you live and work in just because you took a vacation. 5. CBP doesn't even ask questions when you re-enter with valid visa documentation. 6. No previous marriages of either party. 7. No criminal history, not even a speeding ticket. 8. Nope, went to school, graduated, started working, so on.

We live together and spend >90% of our non-working time together so I can't imagine an interview being a problem.

As you can see, besides maybe the "crime" of taking an international vacation, our case is as simple as it should be.

> Also, anecdotally, USCIS seems to be taking advantage at interviews of people who don't have a lawyer by threatening the citizen to withdraw the case or by getting the citizen or immigrant to agree not facts that aren't in evidence or aren't true and then using those facts to deny or delay the case.

I mean that's really the issue. USCIS appears to be intentionally adversarial.