Better HN
topnewbestaskshowjobs
Log inSign up

hakfoo

3,081 karma · joined Jun 18, 2018 (8y ago) · 2,099 submissions

Submissions

comment 1y ago · link · parent

The risk with X86S was that people didn't really know what the corner cases were.

I'd assume if you start with a fairly vanilla system, all modern x86-64 code, then yeah it's going to work fine.

But I could imagine some of the modes and instructions that might get yeeted could cause unforeseen consequences on more "delicate" software. Obviously this means stuff like "386-only binary applications from 1991" but I'd wonder if some of the weird modes are intentionally triggered by things like copy-protection software to make them less easily reverse-engineered.

comment 1y ago · link · parent

I wonder if we're going to eventually lose institutional memory of the efficiency of broadcast systems.

Today, the obvious answer for traffic data is to make it an on-demand "pull" service. So a million users means a million individual requests for the same data clogging the infrastructure, and a server and/or caching infrastructure ready to service one million requests scattered within the window of 7:30 to 8:30 AM.

A broadcast "push" model would only need to make a few transmissions-- with effectively zero load balancing and distribution hardware-- to cover the same million users, and the client box would just listen and cache.

A more ambitious idea might be caching CDN nodes-- potentially at the neighbourhood or single-customer level-- that were fed with popular data on a broadcast basis. Netflix pre-streams Episode 1 of every new series to your cable modem, so on "release day" there's a guaranteed smooth experience.

comment 1y ago · link · parent

I threw OpenBSD on my old laptop this year and it was workable except for DRM video and the fact that my bank evidently used user-agent sniffing to decide it didn't like Firefox on OpenBSD (but Firefox on Linux or Chromium on OpenBSD worked fine)

comment 1y ago · link · parent

The US is rich for many reasons that have little to do with being well governed.

* The country was launched on most of a century of essentially "free" land grabs-- limited pushback from native civilizations. buying cheap from distressed foreign powers (Louisiana), the main wars of conquest being insignificant squabbles with Mexico over trifles.

* Said land was also compelling-- you weren't fighting the environment to extract value the way you would be in Siberia.

* After 1865, no significant nation-scale conflict on the territory itself to blow down existing investments.

* This created an opportunity for bulk immigration-- first with Homestead Act style programmes and then because the American economy was compelling enough to be a pull by itself. A high immigrant population has a unique "opt-in" demographics-- a situation that self-selects for entrepeneurialism.

None of this required wildly competent government. George Washington could have chosen to be a king, a religious caliph, or a protosocialist planning enthusiast, and the deck would have still held almost all the same cards.

comment 1y ago · link · parent

Well, the monitor itself says it's being fed 120Hz in its status popup, I don't think X11 is smart enough to lie in that way.

comment 1y ago · link · parent

Indeed. I kept hearing "Wayland solves problems with two monitors at different refresh rates" But when I set up mismatching monitors, X11 didn't skip a beat (1440p native/120Hz, 1440p (being fed to a 4k native monitor)/60Hz

Conversely, the worst issue I had with dual monitors was with Wayland: Wayfire thought it was a brilliant idea to not support "window spanning two monitors" as default policy.

It feels to me like Wayland, GNOME and Systemd all come from the same sort of developer brain infection making them build vast, all-inclusive structures that are explicitly hostile to anyone who doesn't have the exact same underlying assumptions and needs.

comment 1y ago · link · parent

I was looking at the KV4P project, and that feels like the future to me.

You're already carrying a device with a big touchscreen and a big enough CPU to run a very flexible and customizable UI. Let the software people handle this, and turn the RF stuff into a dongle.

I suspect the existing radio firms wouldn't like that. Even if the Icom or Yaesu dongle performs better than the Baofeng one, it would be difficult to gatekeep expensive products by user interface design and capabilities anymore. The $30 radio is no longer limited by having to cram everything into a 2-line, 12-character display and having to scroll through 40 menus.

comment 1y ago · link · parent

It's interesting that there's no "trap instruction/sequence" feature built into the CPU architecture. That would presumably be valuable for auditing and debugging, or to create a custom instruction by trapping an otherwise unused bit sequence.

comment 1y ago · link · parent

And then it all goes down when Elon has a hissy fit.

Amateur radio is by its nature more decentralized. Even if you're using a higher frwquency and dependent on repeaters, they tend to be ran by individuals and independent groups, so you can probably find some way to get your signal through.

comment 1y ago · link · parent

I'd say to do the exact opposite. As a developer, you have a duty to play rules lawyer with compatibility-- who is going to be better equipped than you to deal with the bug reports?

Build the weirdest thing that meets the nominal spec. Import a Zhaoxin processor and mainboard. Put a Battlemage GPU on it. Play on Slackware Linux under WINE.

On a more practical approach, I feel like there's a business idea there: a service that offers cloud access to an array of unusual but legitimate configurations-- new CPU/old GPU and vice versa, SLI/Crossfire/secondary encoding/physics GPU configurations, machines with x16 cards wedged into x1 slots, machines running weird OS combinations (LTSC and similar, images that have been pre-abused by popular "debloat/fix" and "unofficial patchset" tools).

If it can survive the gauntlet, it will probably do fine on most normal happy-path "it's a recent Core i5 and GTX4060 with recent drivers running on Win11 Home" configurations.

comment 1y ago · link · parent

There was one in the local mall briefly. While it was filled with quarters, when the coins dropped it released aluminium tokens from another source that were exchanged at the rate of 5 paper prize tickets.

comment 1y ago · link · parent

I was surprised that Trackpoint-style devices still remain a niche product since it explicitly solves the "I need to move the cursor but don't want to reach for the mouse" problem.

I'm aware of about four models of standalone keyboard with it available, but that's trivial even compared to the bazillion keyboards with touchpads for couch typing.

comment 1y ago · link · parent

To be blunt, "the richest man in the world" is equally as dangerous as a "competitive state actor".

He has direct motive to influence the operations of the American state, the resources to amplify his messages, and has control of a platform that's mainstreamed in a way that gives it a broader reach than TikTok ever had.

Saying he's an American entity is barely meaningful. When you're that rich, you can probably pull in five new passports given 48 hours notice, so the one you carry at any given point is largely a flag of convenience.

Blaming China is a cheat code for the current political climate. See the Huawei fiasco: No level of audits, disclosures, or actual technical evidence about security would satisfy-- It Is Foreign So It Is Evil. So I'm sure that the hype against TikTok was fanned in part by their competitors who saw an opportunity.

comment 1y ago · link · parent

I keep a 1000KRW note (~70 cents US) in my wallet, and wonder how they'd react to whipping it out for just this situation.

comment 1y ago · link · parent

To me, the story was never about even about the hypothetical "they could pull some strings and somehow get every 17-year-old in the US swearing fealty to Chairman Xi." If nothing else, do you really want to focus your political infleunce campaign on demographics known for being low-political-activity and with relatively low disposable income the best choice?

It was about the fact that a firm which is foreign and unsympathetic captured lightning in a bottle: they became the cool platform for a new generation. Why bother trying to figure out why the platform that Mom uses to share AI-generated Trump spam with Aunt Bertha is no longer drawing the 14-year-olds when you can just rattle some sabres in Congress and get them to shut the competition down for you?

If we're so terrified that TikTok can blast a candidate into office, we should be equally concerned that Rumble or Twitter could too. If your media is that powerful, it's dangerous wherever the nominal mailing address of the firm is. Taking potshots at single firms or specific ownership strategies just means the next one will take a slightly different form and dispense slightly different hazards.

The only way to actually regain control is to boost media literacy. TikTok can be part of a balanced media diet, but are we teaching kids "Compare what the BBC and Tass say, and the truth is probably in the middle?"

comment 1y ago · link · parent

For some reason, a lot of credit card processing APIs are still oriented around physical card machines, so they have a lot of fields devoted to self-declaration of the available features.

Some of the APIs allow the machine to say "I can accept a PIN up to 12 digits".

However, I don't know if anyone 1) actually delivered on it and 2) how you'd know in advance just poking random devices in stores.

comment 1y ago · link · parent

I always figured the most valuable asset was the easements and conduit. If they don't want to cram fibre into it, give it to someone who will.

comment 1y ago · link · parent

I could see a case for "we'll sell a few narrow SKUs of non-ME products for an audience that demands it" -- assuming there are some people who will vote with their pockets for it. It's probably up there with some of the other corner-cases in their product matrix.

But I agree, that's noise. There are much bigger problems with their product line:

* Adding and removing features (especially AVX, but also the whole market-segmentation nonsense with ECC memory) * The marginal and in some cases negative generation-over-generation performance boosts. * The unlocked wattage situation which screams "we're pushing an end-of-the-rope product that we can only get to decent clocks by feeding it an entire mains circuit". (See: FX-9590, Pentium 4 Extreme Edition)

Intel might be able to say "Today's Glysophate Lake CPU is clearly better than the Haswell you bought 10 years ago", but there will be a lot of mumbling if you ask "how much better is it than last year's Paraquat Lake". That doesn't inspire confidence, especially when they have traditionally been the premium brand.

comment 1y ago · link · parent

The NEC V20/30 series were significant advances over their Intel equivalent (basically all the 186 features plus more in an 8086/8 compatible package).

C&T had some super-386 chips that apparently barely made it to market (38605DX), and the Cyrix 5x86 (most of a 6x86) is substantially different from the AMD one (which is just a 486 clock-quadrupled)

comment 2y ago · link · parent

I find it weird if a distribution doesn't have it.

At the end of the day, a big selling point for FOSS products is always going to be the free-beer aspect. Bits are free, take as many as you want.

But there's also the appeal of centralized management through the distribution. Even if it's technically an opt-in checkbox during the installer, it's convenient that 95% of your software comes from a central source with a single standard way to get updates. I'd expect this is even more exciting at scale-- if you're managing 5,000 desktops, the FOSS answer is "have a cron job run apt-get update;apt-get upgrade a few times a month" and the Windows answer is "here's an aftermarket tool, and you're probably going to have to script a bunch of individual installers and deal with licensing gimmicks to make them all properly launch."

comment 2y ago · link · parent

Aren't some of those platforms more-or-less official outlets of the manufacturer for some brands already?

While it's entirely possible some of the storefronts are just flashing "official widgetco shop" as a credibility-enhancing gesture, it's probably also the easiest way if you're a Chinese firm with little understanding of global last-mile logistics and small-dollar payment processing to get into the direct-to-consumer business. I thought AliExpress was spawned from the B2B relationships Alibaba already had.

If you put up a rule like that, I suspect those sites would just pivot to being "Shopify for Chinese Vendors" -- offering an embeddable storefront that the manufacturer can put directly on their page. The only losers would be the consumers, who would no longer get the convenience of centralized search, being able to put together an order from ten vendors in a single shopping cart, and the ability to efficiently combine shipping.

And let's not say "we lost manufacturing." We GAVE IT AWAY. It's not just that foreign labour is cheaper, it's that Asia was industrializing later, so you get state-of-the-science facilities, while the American plant is 50 years old and nobody wants to splash the capex to rebuild it to modern standards.

comment 2y ago · link · parent

I had always assumed the problem was "the page flashes for 0.3 seconds when we navigate from View #1 to View #2 as we reload the header and sidebar"

comment 2y ago · link · parent

My first LCD monitor.

A couple months later I was at the local surplus goods shop and they had gorgeous Sun 21" CRTs for $75 each. I broke down and passed the virtually new $350 LCD to other family members.

It ended up Capacitor Plaguing itself to death after like 3 years. I tried replacing the bulgetacular caps, but no dice.

comment 2y ago · link · parent

The idea is solid, I suspect it just needs some tweaks to the language. "It's not a sale, it's a license", ironically reminds me of sovereign-citizen "I'm not driving, I'm travelling and don't need a license, Officer" BS.

comment 2y ago · link · parent

You're always going to have graft and waste.

But you can optimize for the types of graft you want. Do you want them paying 20 labourers to do the work of 10? Or inserting a mountain of consultants and converting cash into PowerPoints? Or simply marking up materials and labour? I'd expect different projects attract different types of leakage.

comment 2y ago · link · parent

One of the big benefits of print debugging is that it's useful for the initial "bifurcate the code" process.

If you add a bunch of print statements every few lines, it's easier to run the code and see you got to the checkpoint line 1580 and 1587 but not 1601, than to have to manually click through a dozen breakpoints and note the last one you passed before the problem occurs.

If you have a "hard crash" where you can give a stack trace, that's less of a need, but often it's something like "this value was 125 when it entered module Foo and came back as 267". Monitoring the expression can sometimes help, but it might also be a red herring (we trap that it got set at the end of function Bar, but then we have to dig into function Bar to find the trace). Printfs can include whatever combination of values are worth reporting at any time.

Yes, any debugger can do all of that, but when trying to spin it up ad-hoc, printfs can be less hassle than trying to pull up the debugging tools and wire it up inside the IDE.

comment 2y ago · link · parent

The SDR is fun on its own (I've browsed the local airports' signals and decoded APRS signals with DireWolf, using a nothing-special TV-style dipole antenna that comes in the box, and you can always use it as a decent FM reciever on your PC), but an interesting step up might be to also promise a basic handheld transciever (like $30) if the kid wants to get on the air rather than just flipping channels. (Studying for and getting a license is an activity in and of itself)

comment 2y ago · link · parent

At my first job, I largely used Notepad++ and grep, and the result tended away from object-oriented code and code paths tended to be not much more than `require_once("common.php");`

The second job introduced PHPStorm, and a single page load can bounce through dozens of files and classes; it would probably be untenable without modern tooling.

comment 2y ago · link · parent

We can and should have satellites, but we can certainly be thrifty with how we use them.

The megaconstellation concept isn't necessary for most of the "cool stuff you can do with satellites." You might need a handful of weather or GPS satellites, and you can be more selective for orbits and lifecycle management if you're a responsible government operator.

The Starlink fiasco (and its clones) solely exists because we're abysmal at getting telecom projects built. If 80% of the country had the network connection you'd expect by 2024-- something like symmetric 10Gbps FTTH for $150 per month, and the other 20% was on a "real soon now" waiting list, there's precious little business case for Starlink.

Think about it: It was easier to plan out and deliver DOZENS OF ROCKET LAUNCHES AND A GALAXY OF SATELLITES than to tie down our existing telecom firms until they actually built a decent network, using technology like "backhoes" and "fibre-optic cables" that have existed for decades, cost next to nothing, and don't require literal rocket scientists to deploy.

The American telephone network under Ma Bell was almost a Wonder of the World for its scale, resilience, and universal accessibility-- and in barely one generation we ripped it out and failed to replace it with anything comparable.

I would argue the case there's a marginal case for one modest capacity public data constellation. The business case is basically Iridium warmed over-- for the places where there is no other practical option (ships at sea, completely undeveloped territories)-- you can pay $10 per gigabyte for 128k down, or to support some form of 911 outside of cell ranges. Arguably, we already had the infrastructure for that with the pre-Starlink satellite products (Viasat/Hughesnet)

But we hardly need every major power (and probably a bunch of private competitive duplication) blasting crap into space to make the deluxe version that's still not as good as a fibre running to your home.

comment 2y ago · link · parent

Used CDs are dirt cheap. Local thrift stores here tend to price them at $1-$1.50 each. Of course, the dedicated "record" stores tend to be closer to $6-10, but they're more likely to have things other than thousands of country albums.
1
121314
70