HNHacker News
TopNewBestAskShowJobs

rcoder

2,108 karma · joined August 14, 2007

submissionscomments
rcoder··on People are trying to claim real videos are deepfakes
...because they're constantly being raked over the coals for being "biased", "liberal", and (now, conveniently thanks to Musk in large part): "state-controlled" perhaps?

If news events depict one side of the political spectrum unfavorably, "balanced" reporting plays directly into the agenda of that side. Truthful reporting of the news shouldn't always mean "all sides have valid arguments," and yet that is what our current media climate demands.

rcoder··on People are trying to claim real videos are deepfakes
Sony, Nikon, and Canon already offer this for select "pro" cameras, specifically for law enforcement use.

Having unforgeable signatures on every image-capture device just in case some output file could be submitted as evidence in a civil case would be a privacy and safety _nightmare_, OTOH.

rcoder··on Ask HN: Who is hiring? (May 2023)
ZeroTier | https://www.zerotier.com | Full-Time | Remote

Securely connect any device, anywhere.

ZeroTier lets you build modern, secure multi-point virtualized networks of almost any type. From robust peer-to-peer networking to multi-cloud mesh infrastructure, we enable global connectivity with the simplicity of a local network. We have millions of active users with hundreds of millions of devices connected to their own private mesh networks.

We're looking for data/analytics and UI engineers who want to work at the intersection of networking, security, and usability, helping an amazing community of open source and commercial users. You'll be joining a fully-distributed team of ~12 (total; six in eng) with backgrounds in Linux networking, cloud ops, cryptography, and cross-platform product development and delivery.

Data eng: https://jobs.lever.co/zerotier/aeaeb543-1217-4897-aeb3-68e6d...

UI/UX: https://jobs.lever.co/zerotier/71024431-2935-48aa-9e5c-4fa46...

I'm the head of engineering + hiring manager so if you have questions about the company, product, or roles, feel free to reach out directly: lennon.day.reynolds@zerotier.com

(We unfortunately can't sponsor visas or hire internationally at this point, so these are US-only positions.)

rcoder··on Ask HN: What companies have publicly available handbooks?
HashiCorp: https://works.hashicorp.com (not exactly an "employee handbook" with HR policies + etc., but a decent look into the intentional culture)
rcoder··on Nostr: Notes and Other Stuff Transmitted by Relays
One other critical bit of "censorship" and "oppression" that Nostr very much wants to route around is any restrictions on use of Lightning et. al. cryptocurrency payments directly in Nostr clients, without any intermediaries or custodians in the way. (This fear of "economic censorship" seems to be a common boogieman in cryptocurrency circles, from what I can tell. Certainly a bigger fear than state-level actors coming after you for your Nostr notes or toots or whatever.)

Whether you think that's a good or necessary thing probably tracks very closely with your beliefs about whether money and its expenditure is protected speech. Obviously that's something about which the highest courts and legislative bodies in the USA already have complex and sometimes-contradictory views, so I certainly won't claim there's a single correct answer...even if my personal beliefs fall very much on the "money is a modern social fiction in no way connected to fundamental human rights" side of the spectrum.

rcoder··on In 2022, Web3 went just great
What you're describing sounds like the (now unfashionably old and un-hyped as a category) `dWeb` ecosystem. As far as I've seen, 'web3' has meant "websites that use crypto wallets for login and store data in a blockchain and/or IPFS."

The difference between the two isn't necessarily technical; rather it's the requirement that you "join the crypto economy" and start buying up whatever shitcoin -- or CDS-style derivative of multiple coins -- is being used for that one website...and somehow that means "SSO is easy now!" and "anyone can make micropayments anywhere!" etc., etc.

The latter only makes sense in a world of free money from VCs that lets people spend tens of millions of dollars building a *login form* that they charge other websites to use. Their business model seemingly ignores the fact that no serious enterprise[^1] is going to run their internal authN/Z and IdM on a global blockchain.

[^1]: actually, I'm sure several companies have/will tried this, and equally certain the net result was a flaky service that was effectively just querying a Postgres table that cached the on-chain identity for a user and checking their presented token against that. I.e., yet another Postgres instance masquerading as "web3 infrastructure".

rcoder··on Dioxus: User interfaces that run anywhere
Declarative syntax to express {HT|X|...}ML/DOM-like structures in your source code are a big win if that's a significant percentage of the boilerplate code you have to write.

E.g.:

Literal HTML

``` <div class="active">Hello!</div> ```

Procedural JS

``` let elt = document.createElement('div'); elt.setAttribute("class", "active"); elt.innerText = "Hello!"; ```

Rust literals + HTML macro

``` html! { div(class: "active") { "Hello!" } } ```

Modern Lisp (Clojure, Fennel, et. al.)

``` [:div {:class "active"} "Hello!"] ```

Dunno about you, but when I'm comparing my template source code to the materialized DOM in my browser dev tools, the latter is a _lot_ simpler for me to reason about.

rcoder··on React Native made me give up a project today
> “Why give up after all that effort?”

Because the speed of iteration in JS-framework-land is so fast that if you take more than a week or two setting up your dev environment your dependencies are already out of date and insecure, and the half of them that are using “require” instead of “import” stopped working with another library you depend on. Then, when you reported that, the maintainer replied to the GH issue, “modern browsers and Node releases have supported ESM loading for _ages_, like months and months before I started being a dev in 2018 so trust me, it’s stable now.”

(Not that I’ve had an experience like this, ever. And if so, not in a least six months. Or two. Whatever; I’m just slow, obviously.)

rcoder··on Deno 1.27
For languages that can emit clean ESM JavaScript source and don't depend on special tooling or runtime support you can totally drop the generated JS files into a Deno project and import them.

...but you're even _more_ on your own w.r.t. bugs, compatibility issues, and the basic assumption that everything will be running inside Node, and therefore trivially able to access e.g. `npx` or various scripting+automation tools.

Your best bet today is to run Node in your development environment, then use the generated code in a Deno service/CLI wrapper/etc. It's clunky, but you can get there.

rcoder··on Ask HN: How bad is hiring going to be within the next year?
> ...how bad is the hiring situation going to be in tech over the next year?

I think it's going to be pretty bad if you're expecting to go through something like the process you described:

1. Cram some coding exercises

2. Breeze through a FAANG panel b/c they're hiring anyone who can balance a binary tree and carry on a conversation at the same time

3. ...

4. Pull an easy $250k base, plus stock and a twice-annual review/raise cycle

I worked through the 2001 downturn and 2008. Both times I maintained a decent amount of flexibility in where I worked and what I worked on, with the consequence that I could no longer simply demand whatever salary I wanted and an extremely senior title on my way in the door.

Given that you have software development _and_ legal qualifications you should have lots of options if you're willing to branch out a bit. Ex.: big co's need folks to own compliance for user data, financials, etc.; being a technical lawyer could be a superpower there. Ditto running audits from a bigger consultancy: anyone trying to gain PCI, SOX, or various ISO certifications -- or even just the record-keeping and reporting needed to be a public company -- needs experts in both tech and legal policy.

So: I wouldn't freak out, but I would suggest actively looking for a more creative/blended use of your skills, vs. simply throwing yourself into a FAANG candidate pipeline and hoping for the best. It'll put you ahead of other candidates, hopefully avoid some of the post-layoff hangover, and honestly probably be more fun and interesting than just slinging code that gets more people to click on ads.

rcoder··on GitHub Copi­lot inves­ti­ga­tion
I'm gonna guess that Microsoft GitHub (tm) would shut you down pretty quickly if you tried to clone tens or hundreds of thousands of repos in a short window of time, b/c of course that's sketchy/abusive use of their infrastructure, right?

But of course if the data is already sitting in object storage inside your cloud environment and all you have to do is run some MapReduce jobs to get at it...

Hence: unfair, anticompetitive, intellectual-property-right-abusing behavior. Microsoft GitHub (tm) can prevent anyone else from running the kinds of analysis they do by simple "operational security", while running literally any kind of analysis, model training, etc. they want. Don't like it? But their commercial services and products so you can run Microsoft GitHub (tm) on your very own Microsoft Azure (tm) infrastructure, using Microsoft Visual Studio Code (tm) and Microsoft GitHub Codespaces (tm) so work on _your_ code privately.

Best of all, you can still still take advantage of the huge library of "free" code offered by Microsoft GitHub Copilot (tm) to ensure your private, proprietary codebase still has all of the advantages of Open Source Software, brought to you exclusively by the Microsoft GitHub Platform (tm).

rcoder··on Helium
I'm working on a different LoRa-related startup, and I can say with pretty high confidence that most people hear "mesh network" and jump directly to, "so I can check Facebook from anywhere?" (Replace Facebook with Slack, Zoom, YouTube, or any other bandwidth-hungry, "use it all day" app you can think of.)

And yet, the theoretical (not even real-world) bandwidth for LoRa is in the hundreds of bytes per second; perhaps whole _kilobytes_ if you're giving up most of the range and power savings that LoRa offers for traditional IoT.

On the "small devices exchanging small amounts of data" front, LoRa, particularly for large-scale deployments like the ones Helium resells access to, faces a lot of competition from Thread, Matter, and other "home-scale" mesh options. Until Apple or Samsung puts a LoRa radio in their handsets, it's going to be a niche product. (Unlikely because Semtech owns all the patents on LoRa. One of them might _buy_ Semtech, but I imagine they'd shell out $2 per handset approximately _never_.)

rcoder··on Ask HN: Have You Left Kubernetes?
When I hear numbers like this I wonder what percentage of the compute and memory resources of that 18-32 node cluster — not to mention the engineering that went into making it work — goes into the “hard” problems of horizontal scaling, cramming stateful services into an architecture designed for stateless ones, etc.

You can actually get a couple of pretty beefy bare metal boxes for that budget. Or a couple of more modest ones for app servers plus a nice big RDS instance with all the trimmings. Based on past experience, that’ll get you to a few hundred rps for even a fairly complicated, poorly-tuned Rails or PHP app; your well-factored Go API server should handle 10x that pretty easily.

You might have to write some Bash or systemd unit files instead of a bunch of YAML, which may or may not bug you. I find shell easier to understand and debug than YAML-based scripting but YMMV.

rcoder··on An Economy of Overfed Middlemen
We get about 2/3rds of our produce from a CSA (community-supported agriculture) share each week. The farmer drops off a load of whatever's ready to eat that week, and the members show up and take home their portion of what's there.

From a "commercial marketplace" POV, it's basically a farce. There's no security -- it's literally just a folding table full of food on someone's porch with a clipboard to mark that you've taken your share for the week -- and the supply varies with the weather, crop conditions, and even mundane things like "the delivery truck broke down this week; shares will be small and/or late."

And yet: everyone gets fed, the farmer gets paid, and it all ends up being price-competitive with a grocery store (much less a farmer's market).

We also patronize a farmer's market for the "showcase" products that succeed there: big pretty loaves of bread, flats of fruit, etc. It's still cheaper than any high-end grocery store, the shelf life is amazing b/c it hasn't traveled 1000 miles on a truck, and we get to interact directly with the folks who make the food.

The catch -- and it's a big one, in terms of classic microeconomic indicators -- is that we can't get an arbitrary amount of any chosen good at a competitive price right on the spot. Want peaches, but the stall sold out or bugs got this week's share? Sorry; hope cherries are okay this week. Don't like turnips or beets? Well, you might need to trade with someone who does, or find a new way to prepare 'em.

There's also no "economy of scale" to speak of; the largest vendors are probably a couple of bakers who make O(thousands) of loaves per day, or the ranchers and fishermen who show up with coolers full of frozen steaks and fillets (b/c one cow or fishing boat load actually feeds a lot of people).

Oh, and basically every farmer's market is also a localized barter economy. If you watch you can see the vendors roaming between stalls, offering trades and samples with other purveyors. After-hours, there are a _lot_ of boxes of food moving from one stall to another just before the left-overs get loaded back into the truck.

So yes, strictly speaking these are all "marketplaces". It's a far cry though from Amazon swooping in to undercut the successful products on their own platform, or any major store chain selling shelf space to the highest bidder to create -- rather than respond to -- consumer demand.

Obviously it doesn't work for every product or service, but there's definitely a space to accept a little less efficiency in favor of community-level resilience.

rcoder··on Meshtastic is an encrypted communications platform for the Lora RF protocol
Reticulum also needs a general-purpose computer -- RPi, laptop, etc. -- that can run the Python daemon that actually handles network traffic.

Meshtastic doesn't use or provide a TCP/IP stack (aside from a limited TUN interface wrapper which is really more of a proof-of-concept) but any device that can connect to a node using WiFi, BLE, or USB serial can use the network.

rcoder··on Meshtastic is an encrypted communications platform for the Lora RF protocol
Meshtastic can carry a bit more data per packet -- 200-ish bytes, IIRC -- but the same duty cycle/dwell time constraints apply.

The routing model also makes it hard to add more than a few dozen nodes to a mesh. For small groups over wide distances that's absolutely fine, but it isn't a great option if you want to connect large numbers of _people_, unless said people are clustered around a few devices sharing WiFi or BLE connection time. (Meshtastic also doesn't really support this use case b/c of a "one device == one user/identity/mailbox" model, but that's an application-level choice, not something imposed by the underlying network.)

rcoder··on The Digital Dark Ages
Which "server", exactly, will allow me to recover the messages from a conversation on Facebook after the service as we know it is long gone? (Out of business, moved entirely to the "metaverse", transcended along with the rest of the AI resistance, whatever.) Ditto my Twitter photo uploads, comment threads in GDocs, or app wireframes in Figma, much less code running on a cloud server somewhere.

Once upon a time, by recording a thing you made it durable *by default* and even got a copy you could do with what you liked. Now, recording and sharing words or ideas comes with zero assumption of durability. Your service provider's ToS and business fortunes might support them keeping it around and accessible for now, but there is zero guarantee that will outlast the whims and fortunes of a SaaS providers.

The combination of DRM (to lock down devices) and "everything lives in the cloud" (to keep custodianship and control of data in vendors' hands, not creators') means that without very intentional, often obscure and/or annoying manual steps, your correspondence, recordings, and other creative output will not survive you. Even _with_ painstaking effort there's every chance it won't work.

Personally, I've tried for a couple of years now to get people I work with to write important things down somewhere that isn't Slack, GDocs or another pay-to-play service. Business, personal, silly, whatever: as it stands, all of that culture and history and creativity is just going to go "poof!" as soon as some company's C-suite does the math and decides the storage and compute to make it available don't pencil out any more.

Now I just accept that unless I have 1) a complete, easily-cloned copy of something, 2) that I can access and manipulate using OSS software, 3) on a general-purpose computer I physically control, then that thing is not *mine*. If it isn't mine, I can't decide what happens to it in the near term, much less once I'm not around to lobby for access.

rcoder··on Ask HN: Is anyone using Fastmail for their business?
I've been a Fastmail customer for...8 years? 10? I dunno. A long time. Initially I just replaced my self-hosted personal domain email as deliverability to e.g. Gmail dropped off a cliff for anything _not_ run by a BigCo. Fastmail, despite not being "big" in the Google/MS/Yahoo sense is expertly-run and established enough that I generally get messages through. (Delivery failures I see from FM-hosted addresses usually have to do with age of the _domain_, not anything about their email infra.)

Being able to pay for _just_ email from a company that isn't also harvesting my mail contents for ad targeting and search relevance is honestly a huge relief to me. When I have to discuss something sensitive via email -- think medical care, financial deals and other business secrets, even hobbies and interests that I wouldn't want blasted across the Googleplex -- it goes to Fastmail, every time. (And yes, I know about encrypted email and tried to do everything with GPG signatures + payload encryption for years...along with re-sending 99% of those messages b/c the recipient could do literally nothing with them.)

For business use I'm also a big fan of their mailing-list-esque offering Topicbox (https://topicbox.com). It lets me opt-in particular outside trusted vendors and collaborators for ongoing discussion w/o having the bring them onto our domain, keeps a permanent archive of our discussions, and hosts public mailing lists for newsletters, customer discussions, etc. just as well.

Disclaimer: I am not a Fastmail employee, marketing partner, or affiliate, and I have always paid full price for my service. They're just damn good at email and one of the last effective defenders against the GOOG/MS duopoly's centralization of email and IMHO worthy of regular public recommendations for that. (Self-hosting is fun and fine for personal domains where deliverability is a nice-to-have, but for business purposes I need something that _works_ and am willing to pay for that.)

rcoder··on Fresh is a new full stack web framework for Deno
I think if frame it as, “each 100ms you shave off a critical consumer shopping checkout flow page increases conversions by X%” it starts to seem more defensible.

Agreed that in the general case 100ms to full paint (with interactivity not far behind) is really good.

rcoder··on Terminated
These were literally _lectures_ containing images from pornography because it was _part of the lecture_.

IIUC you're suggesting people -- academic lecturers, no less, not professional streamers -- splice out sections of their lecture, replace them with a content warning, provide a contextual link to the "risky" content, and then hope that people will follow it, jump right back to the original lecture, and then come back? (And that somehow that link won't trigger the same YouTube content flag, b/c obviously they're going to at least broadly categorize outbound links to combat spam.)

This (meaning HN) community regularly nerds out over SEO, landing page optimization, and zero-friction payment flows. Why should we expect educators to be successful delivering complex content in an approachable way if we're also going to require them to carefully slice their content into "acceptable" and "NSFW" segments and deliver them separately, even when the original lecture was linear?

rcoder··on Is “acceptably non-dystopian” self-sovereign identity even possible?
I’m not sure how one would secure stable housing or employment without a bank account, email address, etc., but if you mean “physically survive on scavenged and gifted food and water, and sleep outdoors or in temporary shelter,” then…sure, I guess?
rcoder··on Framework laptop water damage repair attempt using partial schematic [video]
This sounds like a great set of constraints for an industrial controller, or a custom Cyberdeck-type portable.

I’m confident any device following these guidelines would be DOA in the larger market, though. Even _if_ you could source things like LCD assemblies that fit your criteria, the expected density (high) and labor costs (low) people have for modern electronics don’t leave a lot of room for this kind of bespoke design.

I’m extremely impressed with how far Framework got on the path to “full repairability” using off-the-shelf parts without producing something that looks like a late-90s Thinkpad.

Don’t get me wrong: I love the old IBM, Tadpole, Toshiba, et. al. designs, but I don’t think that many people outside this community would be willing to pay 2-3x as much for something 2-3x larger and heavier and several generation behind in terms of performance. (Not to mention wildly incompatible with any non-hobbyist OS.)

OTOH, what you’re describing does sound a lot like why custom, hand-wired audio amplifier builders do. They manage to make a business out of it, mainly by appealing to folks willing to spend effectively unlimited money to get that “special something”.

rcoder··on Cockpit Project
Cockpit is an impressively robust “server in a box” frontend for homelabs or my favorite, running on a little ARM SBC with a USB Ethernet gadget exported.

Why is this a cool setup? B/c I can carry around a little Radxa Zero that looks like a USB-C Ethernet adapter to my iPad, Windows laptop, etc., and gets powered by the same port, and gives me Cockpit on a known local IP, mDNS advert, etc.

It’s a pretty good “hacking on the plane/train/mountain” setup, if you’re ever in the mood to try such a thing. :)

Edit/P.S.: why not just run a VM? See above re: iPad or other locked-down device; also, exposed GPIOs are useful sometimes too.

rcoder··on The new and upgraded Framework Laptop
> 10/10 This is damn close to my dream laptop and I'm excited a new version is on the way.

Agreed, with the seemingly-trivial but actually real elaboration: I’m excited because there’s a new version on the way and _I can decide, piece by piece, which parts of the upgrade I want._.

Having the upgrade be a literal circuit board I can swap out is 100% the value prop for Framework and I am likewise a very happy customer to see it, even if I’m happy with the current performance of my laptop and don’t need to upgrade.

rcoder··on VoCore – Coin-Sized Linux Computer
I’m not sure which NanoPi you’re looking at; the Core Air is not quite 2x the price ($32 vs. $18) of the VoCore and only a bit wider/longer, and similarly thin. Also, as you mention it’s in an entirely different class w.r.t. performance, if a bit power-hungry compared to newer SoC designs.

Neither one is going to compete with a cheap Atmel or RISC-V MCU in cost, but on the flip side the NEO Core et. al. can run a web server, Docker containers, or a NodeJS app under modest load vs. needing everything rewritten in very tightly-managed C. :)

rcoder··on The Modos Paper Laptop
No direct keyboard support on the reMarkable, but you can trivially get a root shell over USB-C — while charging, unlike older USB OTG setups on phones and tablets with one micro-USB connector — so it’s totally something you can hack together.

None of the bundled software is designed for using a keyboard, of course, so it’s going to be just as DIY as the very earliest Linux handhelds. (Anyone else remember the awful HP “iPaq” PDA Linux environment? I set one up because I could, and them never see the device again because the UX and battery life were so bad.)

rcoder··on The Modos Paper Laptop
The physical connector is unfortunately not an indicator that the hardware and software needed to drive an e-Ink display will be similar to an LCD. Sadly, e-Ink displays require custom drivers to function at all, and in particular partial refresh (needed to get sub-second updates) requires targeting known dirty regions of the display and updating just those…hence the extra ghosting in the higher-speed mode of most ebook readers & etc. that use EPDs.
rcoder··on VoCore – Coin-Sized Linux Computer
FriendlyElec has a range of boards under their NanoPi brand that might fit:

https://www.friendlyelec.com/index.php?route=product/categor...

The NEO Air in particular is a very compact board using an Allwinner chip, which works pretty well under Linux including such niceties as support for the integrated power management chip.

I also recently got a couple of the Space Cats Jeter Nano boards. They’re more on par with the VoCore, performance-wise, but with a lot of GPIOs on more hobbyist-friendly (read: breadboard-ready) connectors.

rcoder··on Twitter CEO fires two top executives, freezes hiring
I strongly disagree. Firing someone while they’re on leave sends a direct signal to anyone else considering taking leave: “watch out, you won’t be able to defend yourself if you aren’t here.”

ICs follow the lead that executives set. A chilling effect like this will cause folks who most _need_ the leave — single parents, people with family in need of care, or those struggling with their own health issues — to second-guess their choice, while those who can just walk away w/o any real risk can go ahead and try taking time away.

It also puts the lie to the idea that employer-subsidized leave beyond the federally-protected time window is an entitlement rather than an easily-canceled perk. We all know that rationally, but a BigCo obviously exploiting that trust is a good reminder that the company (any company) is not there to help you, they are not your family, and you have to be ready for this kind of “switcharoo” whenever the numbers (or politics) justify it.

rcoder··on Japanese Words in Neuromancer
Yep, you're right. My apologies. It has been about 25 years since I actively studied or spoke Japanese, and I was typing on my phone.

My explanation was trying for "understandable" but may have veered into "problematically over-simplified," not to mention insufficiently copy-edited.

← PreviousPage 2 of 18Next →