skysight-inc/HackerNews huggingface dataset:
This depends on what the attached device seems to be, which of course a malevolent cable can choose.

You're correct that if I plug the phone into my PC the phone defaults to just charging from it, and needs an explicit UI intervention to offer other features - but if I plug it into my USB keyboard it just works as a keyboard, no further UI intervention needed.

I guess it's _possible_ that I forgot having one time authorised this for the keyboard, but even if that's true it means a malevolent device just needs to guess what to impersonate to get into any phone that has even once authorised such a device, because there's no cryptographic protection - if I say "I'm a Cheap Ass Generic USB Keyboard serial # 00001" then there's no way to distinguish me from the real "Cheap Ass Generic USB Keyboard serial # 00001".

Now, maybe the situation is that phones allow some safer things and not more dangerous ones. Maybe you can pretend to be a USB keyboard or mouse, but it will refuse to offer any of the file transfer type features or networking. I don't know, but my expectation is that people who've built these cables do know and there are plenty of holes.
This mask craze is confusing to me. Not surprising, just confusing.
> The way workers in this country are treated is god-awful, and I'm saddened by the people in this thread who are cheering the firing of these students.

I'm not cheering their firing. I'm just explaining why their strike did not work out as they wished.

> ask for compensation that reflects the value they bring to the organization

That's not how it works in the real world. You get paid by market rate; which means if there is someone else accepting a pay cut, you'll get fired and replaced.

> Universities are no different to businesses in this respect

Universities are a competitive business, too; and students pay high tuition fees. If the universities are out-competed, they can lose business/students. It's turtles all the way down.
Nice! I'm in Tulsa Remote and am quoted a few times in this - I'm the one who "applied after seeing a post about the program on Hacker News" so things are really coming full circle right now.

I think an underrated grievance of people living in big cities is that feeling that you are a completely insignificant part of a community and culture that are so much bigger than you. It's something smaller cities can offer that big cities can't, and it's also something that Tulsa Remote has done really well by connecting participants with people in the city that have influence. The people who are happiest and most likely to stay are definitely the ones taking advantage of this - like Obum from the first paragraph (an amazing human, by the way).

Things like lower cost of living, traffic, and cheap housing get talked about a lot as reasons to move out of NY/SF/LA/etc, but are kind of just byproducts of the fact that more people want to live in these places because they have a lot more to offer in other ways. But this idea that you can move to a smaller city with momentum and become a meaningful part of that community is super compelling for someone with that mindset.

I think (and hope) the rise of remote work will keep pushing motivated people to move to smaller cities, like Tulsa, and wind up giving everyone a lot more options for interesting places to live.
Reminds me of cephalopods and their outright suicidal reproduction in contrast. It involved a specific gland and when removed they would starve themselves to death anyway.

Granted it is a very different niche in the ecosystem but it hints that it is a matter of self-perpetuation where longer lifespan in this case is a side effect.
That was precisely the original point - the distinction only makes sense in an ordered set; otherwise, calling -2 "negative" may be devoid of any meaning (e.g. when -2 = 3).
Surely the rules in the US would have to be the same; you can't enter the intersection on a red, but if you're already in there you can exit. Yellow is meant to be "only enter if you can't stop safely" not "if you enter now you'll get a fine if you don't speed up"
I personally very much dislike Gtk. Other than the prominent example which is the much-maligned (and justly maligned) GNOME, there is the fundamental design feature: It is based on the Glib library - a C-language object system. That's rather outdated, and IMHO makes Gtk like a piece of candy with a rotten core.

What it has going for it is that Qt, perhaps the second most popular cross-platform GUI toolkit, developed on top of C++98 and had a lot of functionality to fill in for libraries missing for the language - which by now are outdated and have standard or more-popular alternatives.

(Actually, Glib is also somewhat like that in some respects.)

Caveat: I'm the opposite of an authority on writing UI code.
> Workers are treated as disposable

Workers are treated as replaceable when they are in fact easily replaced. Grad students aren't even really workers, though. They're students where teaching responsibilities are part of their professional training, and as with most similar positions (apprenticeships and internships), they aren't especially lucrative and there's a line around the block to replace anyone who quits.
Anecdotally, I witnessed a lot of racism in small town Oklahoma, including a black family being threatened to leave town. I saw no LGBT people who felt safe to be out.
An LED mask.
It keeps on crashing for me
Spending much time in gsuite sucks compared to native 365 apps running on your machine synced to onedrive. Really smooth experience even on macos which was a surprise for me.
Executors, which abstract threads, coroutines, fibers, vector units, GPUs, and very possibly even spin-polling isolated cores, will be integrated in 23. In the meantime you have the core language features, if you don't need or want abstraction, and Boost asio, which will get everything ahead of time. But std algorithms integrated to use the abstract executors optimally may not surface until 23, IIUC. I don't know why you would need to wait for 2025.
One of the promotional videos for the very first Macintosh from 1984 also showcased its "portability" :)

https://youtu.be/-5zeJyQ31rM?t=113 (at 1:52, with bonus Bill Gates)
It's not so much Heartbleed; I agree, that was kind of sui generis. It's just the more general sense in which our field has no guardrails to prevent people from opting for faster/cheaper time to market at the expense of security and reliability. Everyone in this industry is constantly drilling holes through the support beams and hanging whole new floors off them; the buildings collapse every week, and we just shrug.

I'm not even saying things must necessarily change. I'm just making the case that what we're doing isn't engineering.
FYI, from that page:

> "Sterilization" is often misquoted as being achievable. While it is theoretically possible in a controlled environment, it is very difficult to prove and the term "disinfection" is generally used by companies offering this service as to avoid legal reprimand. Specialist companies will often advertise a certain log reduction, e.g., 6-log reduction or 99.9999% effective, instead of sterilization.
Notably, the bugfix made PHP maintainers realize that the header handler had additional behaviors that they did not understand nor had a rationale for, so those behaviors were removed as well:

https://github.com/php/php-src/pull/5201
Why would you use a Windows GTK theme?
A related concurrent thread: https://news.ycombinator.com/item?id=22455680
Check your Reddit DMs.
I'm not sure you've picked the right example here - far from being a gnarly wart, differences types of equality are a fundamental issue. Your language can choose to either a) hide it effectively (constraining some things) b) expose it to the user which means they have to think about it or c) try (a) but leak and give weird corner cases.

It's not obvious that (a) is superior to (b), an (c) is often what you get.
Sorry, I should have been more clear. I'm a stay at home, couch player. So the only method of playing for me is via the Chromecast, which only supports the Stadia controller. The controller is decent, but the battery life is not up to snuff with the Nvidia or Xbone ones.
BlitzFail: How Not to Go Off the Rails
This.

Markdown is great, but I’ve seen so much time wasted on Rube Goldberg solutions that would be trivially addressed by using less cool solutions like Word or GDocs.
Thanks for crossposting this, stonepresto. Educating users is good, and we're doing well.
Which represents the “breath of life”, and all possible things it can become.
The kind of people that are flying around to fix expensive equipment aren't going to tolerate using tools from Harbor Freight. And the people that own expensive equipment where you have to pay someone to fly in to fix it aren't going to want it being touched by Harbor Freight tools.
>Most of these tweets are just "congrats to XYZ! So proud to be part of this success as one of the early funders!".

This is a matter of taste, but I find this to be vastly superior:

"Contragts to XYZ!", and someone from XYZ may or may not thank the funders with a follow up. That is, there is no implicit association or expectation of getting something in return when you congratulate someone.

>I'd be straightforward when talking to friends about how well I was doing.

If you are talking to people in person, that has a different context from broadcasting to the world.
I love crispy things deeply. However, the crispifying process seems to generate a lot of advanced glycation end products (AGEs). The safety of ingesting large amounts of AGEs is in doubt.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4648888/
Willump: Statistical Optimizations for Fast ML Feature Computation
Just to clarify, I laid out a fictitious model where you have a perfectly efficient market with regards to some product. Under those constraints, you'd expect cost plus a penny. In the real world, human behavior, signals, etc. make it more complex (which is why behavioral economics was created).

But I can imagine a case where the Nash Eq. doesn't settle at the absolute bottom price. Perhaps consumers don't care about price alone. Like you pointed out as well, if they interpret advertising as a trustworthy signal, then a business is forced to run ads.

Undercutting others with a low price, by not running ads would in that hypothetical situation signal low quality.

(Maybe a better example would be a bank in a trailer park vs. a bank in one of those beautifully designed buildings.)

But all those cost can be factored into things like CAC, COGS, SG&A etc.

Edit: There aren't that many studies on credibility and advertising but you might find this one interesting:

https://getd.libs.uga.edu/pdfs/soh_hyeonjin_200608_phd.pdf
Obviously the statement is about building your application using a cross-platform library like Vulkan or OpenGL versus using a native library like Metal or DirectX. This has nothing to do with Microsoft or Apples vendor locks.
In digital forensics we often have to do a hash set lookup as in this article. When the set is constant, you can sort it as the author did, and then perform a linear scan to determine the maximum error—i.e., how far away a hash value is from its expected location—and then use a reduced binary search/interpolation search, where the expected index is used as the midpoint and the maximum error is used to determine the window. On large hash sets of this size, the maximum error is still often measured in KB.

It’s probably not the fastest possible algorithm (though likely faster than what the author obtained), but it plays much better with memory than naive binary search and the storage format doesn’t have any overhead.
Canadians name top appliance brands that break down
People speculate 'the money', and I have to agree. This isn't a tech problem, as in, it was working last month, and gone this month. Basically, what incentive is there to let people play what they already own, when you can charge them for their 10th copy of Skyrim for Geforce. To name and shame, Bethesda and Activision Blizzard. Ubisoft is pretty nearly keeping it alive at this point.
Note there are right now fairly cheap 8k 55" TVs (Samsung Q900 series), and LG is releasing 48" 4k OLED TV soon. But I agree that these are way too large for working with text.

Regarding ergonomics, here are some obvious improvements:

1. A motorized sit/stand desk. Stand up every hour, or whenever you feel like stretching.

2. A decent chair: Leap and Embody are the best (I tried many).

3. High refresh rate monitors. If you're looking at moving text often (e.g. while scrolling) it's much easier on the eyes. Personally I'm getting two Asus XG27UQ as soon as they appear on Amazon. Also anything less than 4k on 27" monitor looks like crap. 5k looks even better, but there are currently no high refresh rate offerings. Hard to say which one more important for eye comfort - resolution or refresh rate, both are, so spend a bit more and get both.

4. Good headphones, or speakers if you work alone (speakers aren't as tiring for my ears as headphones with prolonged use). When there are other people around I use HD600 or QC35II depending on noise level, otherwise I enjoy my Edifier S360DB. Working in silence is great too sometimes.

Finally, try to get out to a park or a beach and let your eyes and mind rest a little. Leave your phone in the car. Or better yet bike/run there.

p.s. I'm 42, got my PhD in machine learning last year, currently keep track of my new R&D job projects, and an exciting personal side project, and two kids at home. Never felt sharper.
Honestly they’re being super mathematical about it but it’s really nothing fancy at all. SHA is designed to be used like this, CloudFlare hasn’t done anything remotely ingenious (and I wouldn’t mind except they go out of their way to talk about how much better their fancy new algorithm is compared to other multi-set intersection theories).

E.g. 512-bit SHA-2 and SHA-3 may be truncated at 128 or 256 bits if that’s all the entropy you need (and you don’t need to be compatible with the formal SHA2/SHA3-512/256 spec). Here, CloudFlare is truncating to an intentionally low entropy of just 20 bits, not to reduce the security but rather to intentionally increase the collisions. It’s ultimately just a glorified hash table and as any CS student can tell you, the bucket size is just a function of the hash size (v1 of the api: 128-bit hash, v2 of the api: 20-bit hash).

(I don’t like pretension.)
This could be what provides the 'activation energy' to get large Web sites working with JXL; it avoids the situation where you don't want to touch a new standard until everyone else switches too. If Google ships a decoder in Chromium, I would give JXL decent odds of getting a lasting niche.

Also, 20% off JPEG1 sizes is better than it may sound; you only save about 30% more by switching to any of the new codecs (JXL's VarDCT or the video-codec-based ones) that apply a ton of new tools. Given JPEG1 was published 1992, that just confirms to me Tim Terriberry's quip that it was "alien technology from the future."

Working against JPEG XL: it's four modern image formats in one (VarDCT, Brunsli, FUIF, and a separate lossless codec) so a ton of work to independently implement. Also, video codecs already have ecosystem support, and have or will probably get hardware support first.

Further out: "JPEG restoration" is something I mostly see experimental work about but could also take the old format a bit further. The idea is to use priors about what real images should look like to make an educated guess at the information that was quantized away, so you get less of the characteristic blocking and ringing from overcompresed images.

(For example, look at Knusperli, JXL's "edge-preserving filter", or AV1's CDEF. The "quantization constraint" supported by the first two of those is, to me, what makes it "restoration" and not just another loop filter: it can always return pixels that could have compressed to the exact DCT coefficients in the file.)
> That's not how it works in the real world. You get paid by market rate; which means if there is someone else accepting a pay cut, you'll get fired and replaced.

I agree, that's true. It's almost as if this is an unjust system that devolves into a race to the bottom and inevitable exploitation of workers. And that in the real world, anyone who tries to fight against this system ends up screwed by their employers.

I'm glad we could agree on the exploitation inherent to the labor market.
Is Mats arguing that the slow down needed for the right turn could result in you entering the intersection as the light turns red?
Given that Redis is not known for being something that's only deployed by security-savy people I expect their line:

> In addition, it is necessary to specify a CA certificate bundle file or path to be used as a trusted root when validating certificates.

... will not cause many real users to do what they actually need to do here. That's certainly the experience with lots of software that has this sort of feature. Users tend to fill this out with the CA certificate corresponding to the server. Now, if what you've done is spin up your own CA just for Redis, mint a certificate for the server and then you're going to do the same for all clients this could work (it'd be weird but it could work) but just as likely you'll use a nice Let's Encrypt certificate for the server - and now you're telling the server "By the way, anybody with a Let's Encrypt cert is trusted as a client". This is, let's say, very unlikely to be what you actually wanted.

(Edit: Clarified text above somewhat)
Yet you pay the cost in speed when using a database engine, there is a big overhead.
Startup time isn't what is holding the language back. In my opinion it's:

1. Tooling. You end up spending way more time getting your tooling setup than it should be.
2. Difficulty in learning.
3. Clear best practices and frameworks. The philosophy of composing libraries is extremely powerful, but to gain broader adoption you still need straight forward frameworks and opinionated best practices.

The last point has many unintuitive consequences. Clojure tends to attract people who enjoy doing new things, or excelling in their craft. But mass adoption also means catering to people who need to do "boring" things where people just want to get their job done. For boring code, which is the reality for many developers, they just want a clear best practice to get the stuff done.

This could be a clear standard library or framework for a task, a clear architectural pattern, and it certainly means easy to access code snippets. There have been some attempts at these things, e.g. Luminous for the web, but the community hasn't rallied around them with enough weight to make newcomers comfortable.

So when faced with choosing: a testing library, any number of libraries compose into a web service, any number of approaches to client side, then in the end still having 100 equally good ways to architect a given piece of code that requires thinking mathematically, well, it's daunting. Especially when you are new to the language and just want to get your boring CRUD app working.

Maybe this is best summed up as saying that Clojure caters to the creative, but to gain widespread adoption it also needs to cater to those stuck writing boring code and just want to be done with it as fast as possible.
I both agree and disagree with your post... Mainly because it just a big long False dilemma where you put General knowledge over specific knowledge believing that one has to choose

I think people should have a good conceptual knowledge, a base line of general knowledge of technology, that however does not preclude one from gaining vendor specific knowledge.

Your coming at this from a development standpoint, I am coming from ops but if I have legacy environment critical to my business I need people that are experts in that environment. You may have all the best "general theory" around how Virtual Machines work, how iscsi works, etc but if I have an error on VMWare ESXI that causes production lose I need a person that has DEEP understanding of VMWare not someone that understand the theory of things as I do not have time for you to open a ticket to get vendor support, I need it fixed now not 5 hours from now after vmware blames the storage vendor and the storage vendor blames vmware
I think there is something to be said about companies jumping on to sexy software like Slack et al just because other lemmings have jumped off the cliff. If I worked in a two person startup I would be using SMS/IRC and email before paying for a slack subscription.

If I had any more people I would still be taking a hard look at existing, well-understood, open technologies before signing my soul to a private company in business solely due to shackling other companies to their proprietary software, and dealing with their lock in when they inevitably fail me and my needs at a random date in the future.

Then again, I'm also not one of those people who believe the world changed when slack was released, so maybe I'm a little biased.
The website is working well on mobile, which makes me wonder if GTK has plans to support Android and iOS. It would be nice. GTK has been multi-platform for a while.
Transmission is an interesting case, since they also have a version in Qt. Another example of an almost identical app written on a completely different platform would be the Fork git client with Cocoa and WPF.
I tried Clojure but ended up hating it for reasons all stemming from its hosted implementation. Whenever I didn't know how to do something, I (and most other Clojure users) would go use some JDK class (or worse, an external Java library) instead of figuring out how to write the Lisp.

For some reason this doesn't often happen with regular Lisp even though CFFI is available. There's a tendency to just reimplement it directly in Lisp, which is the more maintainable option.
Taking 1 off prototype devices across borders, or worse parts of ones (so you can't demonstrate even partial function) is sometimes fun. It can generate some interesting conversations, especially RF gear.
Apple Closes a 4-Year App Store Loophole
> Hum... On real life you would quickly discover how vulnerable all of your instruments are sensitive to both random and bad-intended interference.

Well no, commercial pilots have to be rated IFR. Flying via instruments only is completely normal and part of the training. Visual is perhaps easier for many people, but you lose the use of visual navigation in all kinds of circumstances, like at night, over the ocean, or in a storm.
I disagree with you. One of the unusual, perhaps unique features of Western civilization is the great hunger for direct knowledge of other societies and other parts of the natural world outside the West. Think for instance of Herodotus.
You're overlooking a few details:

These workers belonged to a union

The union did not endorse the strike

The strike occured during a period of operation under an agreed-upon contract

Re-opening the contract for negotiation would have lead to renegotiating for 90,000 other employees during a school year

The workers were withholding student grades, harming others who have taken out a significant bet against their own futures that they would get good grades and eventually jobs to repay that financial aid

There are a number of ways this could have played out, and was basically the second-to-worst case scenario. I am sympathetic to those working under an oppressive union and university, but there really wasn't going to be a different outcome given the path they took.
Margin of error for BMI is small as weight and height are relatively easy to measure accurately.

As for BF % guesswork - you'll probably do better with simple calipers - at least those measurements are based on something tangible
I think you’re off too. A 43” 4k can be run at its native 4k and the text is fine for reading and programming. If you’re running a 24” 4k, you’re running it scaled. At a minimum you’re running it at 1.5x, which means you’re getting about the same screen usage as the 43” tv.