Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 5y ago · link · parent

I don’t think size 8 in light grey in the footer is conspicuous, uppercase or otherwise.

comment 5y ago · link · parent

It’s actually been proved to be the opposite... which is probably why a lot of legalese you aren’t meant to read but they’re required to provide is written in small print upper case.

This has to do with the outline of letters in uppercase being indistinct (if you trace an outline - especially with serif fonts - you’ll largely just get a block) so you need to spend more time per-letter to distinguish the characters whereas with lowercase, the “fitted box” shape is shared between fewer letters: https://www.sciencedirect.com/science/article/pii/S004269890...

comment 5y ago · link · parent

The thing is, 99% of all JSON-in-DB uses people are advertising (insofar as traditional RDBMS are concerned) are incorrect or at least suboptimally designed. It’s extremely convenient but at the same time, it’s a major cop-out. Designing a database correctly (in the right denormalized form, with the right indexes, with correct relationships, with optima choice of primary keys, etc) is hard work, but it’s critical work to properly take advantage of all the algorithms and optimizations baked into the database engine. I see lots of people migrate from mongo and co to Postgres because they realize it’s a more appropriate data store but I also find them trying to hold on to as much of the original mongo approach as possible rather than just throwing in the towel and embracing traditional db interfacing.

JSON support in Postgres is really not intended to replace - even as a stopgap - what nosql was used for.

comment 5y ago · link · parent

Most “regular” people experiment with GPT-3 via AI Dungeon. It was also how a lot of people played with GPT-2 previously.

comment 5y ago · link · parent

That is such an offbeat fact that I am glad to learn it. Thanks for sharing!

comment 5y ago · link · parent

That is actually correct.

comment 5y ago · link · parent

I don’t think 4WD/4x4 is a strict subset of AWD or the other way around. One is typically manually selected, the other is typically always on at a certain ratio but (at least in modern variants) dynamically adjusted (or at least theoretically adjustable) either on a front/back or even on a per-wheel basis based on dynamic real-time feedback.

TBH the line has blurred considerably in recent years and what once would have been 4x4 (manually engaged fixed-ratio four wheel mode) is being marketed as AWD. I’m sitting in a rental GMC Terrain (very crappy car, with or without AWD) and it must be manually switched from 2WD to 4WD mode but it’s an electronic button (rather than gear selection lever) that can be changed at speed, and can also be used in 4WD mode at highway speeds without redlining. This is considerably different from body-on-frame SUVs/pickups with “true” 4x4 mode that have regular 2WD but can be changed into 4L or 4H to get different gearing ratios inside the transfer case for four wheel drive.

comment 5y ago · link · parent

Ah that would indeed be way too early for what I’m talking about; the earliest laws for mandatory operation or non-switchable daytime headlamps on a nationwide, full time basis I can find after a cursory search is Canada starting in 1989. Before that many countries had requirements that applied in certain areas or at certain times of the year (e.g. Finland on rural roads starting 1972) which would not account for such a design.

comment 5y ago · link · parent

Interesting story. And yes, I was specifically referring to full-time AWD with or without a rear bias, like that in the Audi Quattro (who I personally think does an excellent job).

I actually don’t consider a car that doesn’t have full-time AWD to be AWD at all, isn’t that considered 4WD?

comment 5y ago · link · parent

It’s a legal requirement to have headlights on any time the car is in operation (day or night) in some territories and manufacturers had different ways of enforcing it. Some unconditionally turned on the headlights for models sold in those countries, others had special variants earmarked for export to those countries. It seems Citroen found a clever way that didn’t require too much fiddling to meet the legal requirement.

comment 5y ago · link · parent

Not surprised there was a bug, but I am surprised it was patched (before or after shipping). I have an “enterprise grade” HP scanner (3500 F1) with buggy Twain drivers I had to manually disassemble and patch that will crash any time you try to duplex scan a single-sided sheet of paper. The blank page detection algorithm caused a null pointer dereference if two-sided mode was selected but the second side was elided.

The bug reproduced 100% of the time with all available versions of their drivers in any application using the TWAIN rather than WIA or proprietary scanner interface. It was as simple as scanning any one-sided document in duplex mode. I escalated the issue to their engineers who kept insisting the issue was with my PC until the product was EOL’d just a year or two after production.

I had other hardware issues pop up and ended up getting a Fujitsu for ADF document scanning and keeping the HP for scanning photos with the flatbed. Not many stand-alone hi-res dual color ADF/flatbed scanners out there.

comment 5y ago · link · parent

Different sizes means you can swap left to right and right to left. Directionality means you can swap front to back and back to front. Directional tires of different sizes means you can’t swap a damn thing (as drivers of Porsche and some BMW configurations find out quickly enough.)

comment 5y ago · link · parent

As a long-time owner of AWD performance vehicles (Midwest for you, possible snow eight months of the year!) I can assure that whether or not you replace your tires four, two, or even just one at a time, there are absolutely zero visible/immediately tangible repercussions and the issue described with the Tesla is absolutely not normal even under those circumstances.

As for the long term ramifications, you’ll definitely see increased wear/camber on the opposing tire(a) and I’ve read it could theoretically cause issues with the diff, but I find that extremely hard to believe at least for the cats I’ve driven, because the front:back power ratio is dynamically recalculated and changed continuously depending on driving conditions. If it were 4WD rather than AWD, that might be the case though.

comment 5y ago · link · parent

The problem with eytzinger representation is that it is infinitely less useful, and really can only be used as write-once read-many lookup or cache but not as primary storage that is also a cache because it is no longer contiguous.

eg Etyzinger is awesome, but in most real world usage something like this is far more practical and ultimately performant: Faster Lookups, Insertions, and In-Order Traversal Than a Red-Black or AVL Tree [0].

[0]: https://neosmart.net/blog/2019/sorted-list-vs-binary-search-...

comment 5y ago · link · parent

That was the initial version of AirDrop that had the same network requirement; future releases negotiated an adhoc wifi connection over bluetooth then used that.

comment 5y ago · link · parent

Please no. The recipient does not actually “have” the photo when it is sent.

comment 5y ago · link · parent

Expiration of certs is one thing, but expiration of cross-signatures in chains is another. If you trust the infra for root certs, it makes no sense to ever expire cross-signings as long as you have a signed timestamp to prove the signing happened before the (cross-)signing cert expired.

For example, Microsoft recognizes authenticode-signed binaries even if the signing certificate is long since expired if the signature includes an optional timestamp from an also recognized root cert (usually digicert or Symantec née Verisign) because you can verify the binary hasn’t since changed (because it includes the sha-x in the signature and the timestamp verifies that the signing took place before the certificate expired). It’s quite clever and provides a very good solution for running decades old apps from now defunct software houses that once took pains to sign their releases.

A certificate itself is such a “binary” that really is just testifying that the at x date, y party trusted z (unless a revocation was subsequently issued or the algorithm used is no longer considered secure).

comment 5y ago · link · parent

I was probably the same age the first time I read it but I definitely wouldn’t say it changed my life. How did it impact yours?

comment 5y ago · link · parent

> We lost the Art of interface building and turned it into a complete science. There are arguments for both sides.

It was turned into a literal science by Xerox, IBM, and Microsoft (through the 90s) that involved actual study of the human body, perception, haptics, material science, light, psychology, human biases and preconceptions, holistic purpose, advances in micro mechanical engineering, usability studies, panel testing, and actual research (for just one example out of thousands, read the story behind the creation of the trackpoint [0]). Then different types of people wearing different hats became involved in the decision making process and the target consumer base shifted in a certain direction and “science” didn’t cut it any more.

Modern UI/UX is absolutely not driven by any science apart from sales conversion rates.

[0]: https://archive.is/S4ESh

comment 5y ago · link · parent

All images, included png and jpeg ones, are first internally (re)converted to jpeg when assigned to the Windows background. The default conversion quality factor is 80 (for no good reason). You can change it to 100 in the registry: HKEY_CURRENT_USER\Control Panel\Desktop\JPEGImportQuality

comment 5y ago · link · parent

> which doesn't take backwards compatibility very seriously

I go out of my way to make sure fish still compiles on ancient versions of operating systems (with the most recent compiler you can get on them) and still remains functional in the kernel console (no X), and others on the team go to even further extremes. We’ve argued for weeks over changing the names of variables that might break older fish scripts, even though fish isn’t really a non-interactive scripting language.

You’re going to have to qualify that statement.

comment 5y ago · link · parent

One of the issues I have with the rust async story is that colored functions require (at least the way they’re handled in rust and similar languages) a separate standard library (Microsoft really outdid themselves providing a synchronous and asynchronous version of the BCL when they shipped async support, but that was also largely made possible by the fact that the underlying OS APIs were all fairly asynchronous at the lowest levels and had that asynchronocity exposed/available all the way through the BCL for C# devs already).

One problem with this is that an api like tokio’s might appear to be asynchronous but in reality portions of it are “just” synchronous API calls marshaled to a thread pool - i.e. none of the real benefits of async for now, but positioned so that the library can be switched over to real async code and automatically take all the consumers with “it in the future.”

I’m glad to hear mention of io_uring because it means that IOCP on Windows might get some love. For those that don’t know, on Linux there is^H^H was really no such thing as properly async file system access (eg libc faked it in a similar fashion for aio) so libraries like mio didn’t bother with true async for non-network parts of the library (and also partially because the biggest motivation for async development was the web world which doesn’t particularly care about asynchronously listing the contents of a directory or writing a “highest” performance backup product) - even though at least some platforms (like Windows) had very compelling async options available across the board.

comment 5y ago · link · parent

Air quotes.

comment 5y ago · link · parent

It’s not really just a “bottom drawer internet service” thing. Comcast rents me a Juniper switch for their metro Ethernet. I just consider it part of the price of the service. If they weren’t renting out the equipment, they’d just bump their prices up.

comment 5y ago · link · parent

> the unified memory

Castrated by a paltry 8GB of RAM in stock configuration!

comment 5y ago · link · parent

What’s crazy is the 5800X destroys my ThreadRipper 1950X, with 35% better performance even on highly parallelized workloads! On the other hand, my Skylake 2600k CPU still trades blows with 2020 so-called “10nm” desktop processors.

comment 5y ago · link · parent

TSMC doesn’t have enough capacity for that. Intel, TSMC, and Samsung are the only players in the game, and they’re basically all churning at capacity.

comment 5y ago · link · parent

> Property is not afforded the rights of humans and cases can be levied against property directly.

That is a ridiculous argument. Taking someone’s car or money isn’t “punishing the property” or “hurting the car’s feelings,” it’s depriving a citizen or resident of what is (until proven otherwise in a court of law) rightfully theirs and transgressing on their individual liberties. It is theft.

1
107108109
277