skysight-inc/HackerNews huggingface dataset:
A few years ago I bought my wife a 15" Spectre x360 as a present (and then upgraded it to 32 GB of RAM once she fell in love with it after a day or two). I went with the Ryzen model, because of how awesome their mobile processors are.

The screen is "nice enough", the battery life is probably fine but she uses it 99% plugged in, the keyboard seems nice enough but it has a numpad so everything is off-centre, etc. It plays the games she wants and runs the app she wants, and it was like $1100, the build quality is good, and it's way faster than anything else we had in the house at the time (with the possible exception of our iPhones).

The only real complaint I have is that it seems as though, by and large, HP and the retailer (CostCo) seem to not really know that this model exists, so when I search for information I have to find the closest model number I can and hope that it's basically the same laptop. Also, spare parts are ridiculous; I paid $50 plus shipping on eBay to a third party from the UK for replacement rubber feet, but it was only one foot. No other official HP parts resellers actually had the part in stock, even though it was only two years old and there were multiple identical (ish?) models.

At least when I want parts for a two (or eight) year old Macbook I can actually find them from someone sufficiently reputable on the same continent as I am.
CEE 7/7 plugs will fit into all sockets in the EU, except Italy (where they can be bent slightly to fit), Malta and Ireland. The only issue is grounding, but things like phone chargers wouldn't be grounded anyway.
> When I turned it on it wanted me to authenticate with one of my other Apple devices. By dumb luck I happened to have my iPad with me. If I didn't have that, I'm not sure what I would have done.

As per the Apple FAQ[1]:

"you can get a code sent to your trusted phone number via text message or an automated phone call instead. Click Didn't Get a Code on the sign-in screen and choose to send a code to your trusted phone number. "

[1] https://support.apple.com/en-gb/HT204915
Abstract:

> For the past half-century, cognitive and social scientists have struggled with the
irrationalities of human choice behavior; people consistently make choices that
are logically inconsistent. Is human choice behavior evolutionarily adaptive or
is it an inefficient patchwork of competing mechanisms? In this review, I present
an interdisciplinary synthesis arguing for a novel interpretation: choice is efficiently irrational. Connecting findings across disciplines suggests that observed
choice behavior reflects a precise optimization of the trade-off between the
costs of increasing the precision of the choice mechanism and the declining
benefits that come as precision increases. Under these constraints, a rationally
imprecise strategy emerges that works toward optimal efficiency rather than
toward optimal rationality. This approach rationalizes many of the puzzling
inconsistencies of human choice behavior, explaining why these inconsistencies
arise as an optimizing solution in biological choosers.
Has domestic manufacturing ramped up in the US since covid? Or is this purely a demand side signal of consumers tightening their purse strings?
I'm confused by this comment. Apple seems to be fine with Windows running on M1, it's MS that doesn't provide licenses, although they do provide easy access to software images. And anecdotally, I can say that x86 windows apps running on ARM windows running on Parallels on an M1 mac works fine for the most part. And on my mac/in my org, collaborative features of Office (both in-browser and in-app) work equally well in Windows and MacOS.
It actually shows how to draw a more or less natural butterfly position.
What? Which areas are “miles of high-crime slums”? SE DC and parts of suburban Maryland. But the vast majority of the city and suburbs are safe and far from being slums. Look at Arlington, Alexandria, Bethesda etc.
> The thing is, AFAIK, how to talk to the interrupt controller isn't part of the drivers, but part of the kernel. So you can't just "write a driver" for it. So if Windows doesn't support apple's interrupt controllers, I guess a lot of shenanigans will be needed.

He's planning on a thin hypervisor layer to map GIC to AIC.
I don't think wanting accurate weather forecasts is "niche". It's just a quality difference, like a VGA monitor vs 4K monitor.

A lot of people cancel their plans because normal weather apps tell them it's going to rain, but actually that was somewhere else in the city.

I've seen a picnic get entirely ruined, the tent/awning blown away and everyone drenched, kids crying, etc., because of the lack of a weather microforecast.
Make WordArt
When Jawaharlal Nehru Read ‘Lolita’
I doubt the lightbulb cartel is still a thing. While oligopolies and monopolies exist, it's not the answer to every inflating article.
There are more bad takes in this comment section than perhaps any other comment section I've seen in the last two years.
Single data point: a rural egg seller on the washington peninsula just raised their prices from $4->$5 per dozen because their feed costs recently doubled.
720p as webcam is very new.

My teams shows up to 8 I think.
Heads up, your "random" can get pretty vulgar, LMAO!:
https://unrealspeech.com/GG15L

I was having fun making Jordan Peterson say silly things when I clicked random. First Russian came up and failed, then x-rated sir-mix-a-lot struck!
Unfortunately WebP only supports 8-bit images.

One of the main reasons I use PNG is that it can handle 16-bit images, so if I converted my archival 16-bit PNGs to WebP I'd lose data.
For a somewhat related topic (analog image recognition), for those interested, I can highly recommend this video: https://www.youtube.com/watch?v=Y9FZ4igNxNA
I’ve never understood google’s insistence on making everyone sit in the same office.
There have been several consolidation pushes over the years.

I’d think smaller distributed teams would be more desirable. Don’t most people work in small-ish groups anyway?
Just the logistics of cramming so many people into such a small space are challenging.

The traffic from highway 101 to the googleplex in mountain view is infamous. The highway is wildly oversubscribed, the exits are congested for about 4 hours around the start and end of the work day. (Yes that’s basically constant. There’s a bit of a lull between 11 and 2)

Part of the problem is that Mountain View has refused to build more housing for decades so everyone commutes. That’s been changing slowly (housing projects are finally getting approved), but it can’t possibly be enough.

Why not take the opportunity of covid to decentralize?

Whatever, not my clowns, not my circus. Thank god.
Here I was, trying to figure out the joke with 'taxes'.
Ancient peoples likely consumed everything seemingly edible they came across. Imagine how profound an experience would be taking a hallucinogen as an ancient person, with no explanations for how anything of that experience might of worked. It really seems plausible that an experience like this could lead to entire belief systems of thought, especially during this time when no one knew what a psychedelic trip was or how to place that experience in any context. It wouldn't be hard to imagine entire cultures springing up around these drugs back then. After all, entire cultures have sprung up around these drugs in modern times.
> If it's a national priority, you can get some production going a lot faster than this.

Defeating CoVID was too a national priority. Did they manage to build a single new mask manufacturing line?

No, but they actually tried really hard. Dozens of companies were recruited for the effort, and they just gave up after realising that they can't even get a single part in the blowing machine to be made in the US.
WWDC 2022: Bring your driver to iPad with DriverKit
> The biggest thing holding me back from getting an iPhone is breaking this pattern.

You wouldn't real this patter with an iPhone: you can still use the same charger, with Lightning <> USB-C cable. In fact, this is the official cable you get these days with new models.
Nice. Well I do the same with mainstream coding languages, since I started with Lisp. They tend to fizzle out, and I go back to Lisp. It's my "native programming language," to coin the phrase.
In your example though they gave it away, to you ;)
I see. I can agree with you assessment. I also agree that Django is a great framework. It's one of my top-three favorites.
They even have those metal tables and chairs you put in coffee shops that are comfortable enough to sit in for 15 minutes or so but not so comfortable that you'd want to sit around and take up a seat for a paying customer.
The math and science education was very good in the Nazi Germany and the Soviet Union. It is very good in China.

Rather, as the US Constitution has bluntly put it, if we want to keep democracy, "the right of the people to keep and bear Arms, shall not be infringed." The above examples seem to support this.
The issue is not that nobody found an alternative to string theory, the problem is that nobody found a use for string theory. Essentially vast amount of funding and talent has been pushed into string theory (via the tenure processes at universities which favored string theory for a long time, because it was considered the cutting edge of theoretical physics), and what did we get from it? Not one falsifiable prediction, which as Popper would tell you is necessary to do science. So everything and nothing would be an alternative to string theory.
I don’t think we’re going to a regime of low prices and suppressed wages. That phase of the world’s economic cycle is on its last legs. Demographics are collapsing across the world and the most prosperous, numerically largest baby boomer generation are entering their non-productive, fiscally conservative retirement years.

This just might be the “new normal”. The lack of readily available products might be a problem, but there’s also a good chance we see much higher wages across the board
Agreed, which is why I meant some of them. Most of them look reasonably easy to follow, including the last step.

I think in general, the owl meme has its purpose though: I'd see it as a reminder to be aware of "expert blindness": If you have lots of practice in a subject, part of your skills or knowledge will become subconscious and you're at risk forgetting they are acquired skills/knowledge at all. If you try to write an "introduction for beginners" piece without being self-aware about this, things can get frustrating for the people you're trying to teach.

I guess the meme is the art equivalent of "a monad is just a monoid in the category of endofunctors"... :)
This way of describing compilers seems to imply that a compiler must emit machine specific assembly code, which seems overly narrow. A different way to think about compilers vs interpreters is that compilers are programs that read source code as input and generate an executable artifact as output while interpreters are programs that read source code as input and then, as a side effect, perform the instructions within the interpreter process.

Note that taking this broader definition of compilers, it is not necessary for a compiler writer to target the host architecture or learn about the sys calls. Many languages have a non-native host target, e.g. Typescript (javascript), Scala (jvm) and F# (.Net), but we still call the programs that translate source written in these languages to the target executable format compilers.

Going from an interpreter to a transpiler, which I personally consider a compiler, can be an almost trivial step. Let's assume that there is already an interpreter for the language and that it is implemented as a giant switch statement based on the op code of each instruction. Given an arbitrary target language in which all of the required instructions of the interpreter have a concrete representation, one could write a transpiler to this target language by replacing the right hand side of each statement in the switch with code that appends to a source file in the target language (there'd also generally need to be some surrounding boiler plate to do things like import required headers).

In practice, these days it is quite common for languages to transpile to C, LLVM IR, the JVM or Javascript. Even if one does want to emit their own machine code, it would still probably make sense to first target something simpler and not waste time in the low level details of language features that may or may not even prove useful (or the language itself may not prove useful). Again, going from interpreter -> transpiler can be a simple step. It is not unrealistic to write a useful transpiler in a day, particularly if you make the language syntax very simple and/or use a parser generator.
There seems to be a tipping point where above the line a developer starts removing work and below the line work is created
Great prank (the car swap). Must’ve cost quite a bit, though.

If you have an iPhone, this app is pretty damn hilarious: https://apps.apple.com/us/app/action-movie-fx/id489321253

It’s done by Bad Robot (JJ Abrams’ company). Shows how easy it is to do really good special effects, these days.
This is a strange test to do. The image he used is not really suited to PNG. It is more like a photograph, which is better in JPEG format, than an illustration, which is better as a PNG.

Furthermore, he doesn't even post the resulting compressed versions from each piece of software, just some console output and then a single "optimized PNG" image.
Another sign of a low-trust organization: lots of managers to "keep an eye on" employees.
Not meaning to be personal, but reductionist approaches are too often a way for brains to make bad assessments and decisions. Although reductionism has the benefit of being "efficient" and reducing cognitive load required to find a conclusion, it is often like the hapless drunk looking for his key under the streetlight instead of where he most likely lost it. Also unimpressive are arguments based on casual encounter with the issues that armies of scientists must have missed some One_Thing, and these arguments are often used in anti-science advocacy, so maybe I've got too little patience for that sort of thing.

Here's some more data: first a famous German study showing 82% loss in nature preserves over just three decades [0], and then a meta-study of 166 studies (including the first one) [1].

Good luck and I'd suggest also looking into system dynamics, where even getting a clue of the complexity can lead you to avoid many pitfalls.

[0] https://www.science.org/content/article/germany-s-insects-ar...

[1] https://www.smithsonianmag.com/smart-news/new-study-gives-mo...
Right, I have no objection to the owl meme by itself, just to the idea that these instructions are a good example of it. But people see instructions on drawing an owl and immediately post a meme that effectively says "instructions on how to draw an owl are impossible". Fooey.
When They Had a Contest to Rename Jazz
Pick Raspberry Pi Pico instead.

But any good kit, but keep yourself with Pico.

It never gave me any trouble, although I use it outside of my job.

And instead of C, use MicroPython.

Raspberry Pi Foundation has a book.
Looks good, I have some questions.

Are security updates and DevOps automatic? How fine grained are the security updates i.e. Kernel level or app level? How long does it take end-to-end from CVE patch release to end user applying the update?
Here's a bean counter comment: Your self hosted site goes down. What's the cost per hour of my 10,000 users not being able to use it?

The same as the cost per hour of GitHub going down, I agree, but GitHub will have 20 people working on fixing it. We'll just have to wait for you?

What do I tell my 10k users?

How about security? Are you going to manage the provisioning of those users, the access control? How about audits? How about scaling? Your magical .5 FTE will do all this on top of your daily duties?

The calculus is never "just give me a raise" – it's not paying 1Password 80k vs paying some IT person that much. It's just that that money supports a core function for 10k people.

A former-boss once told me when he became a CTO of a very large company – he said, "at our scale, most of our conversations revolve around risk rather than cost. we even start to wonder, will this vendor be able to cope with our level of demands? what if they go out of business? what if they want to quit? what is the cost to our organization in time and money to have to switch to a different vendor/product/etc?"

Who knows, a company of that size might save half that money in cybersecurity insurance premiums just by adopting 1Password. (guessing here...)

It's just way more complex than you think.
https://www.theregister.com/2022/04/27/india_it_would_be_fab...

India is hoping it can convince Intel and TSMC to set up fabs in the country as part of their multibillion-dollar manufacturing expansion blueprint.

Bloomberg reported Tuesday that India's government is making pitches to both companies, backed with a $10 billion subsidy plan that can be used to cover up to half of the cost of a new chipmaking plant. The plan also covers new plants for display manufacturers.
There are ethnic rivalries today in France. I’ll spare you the list, but lowly are paying with their life for some, and girls with their intimacy. It’s systematic in most big cities, anyone who hasn’t been bullied isn’t really living the diversity (spare me the “I know a guy and he’s very nice” – you haven’t lived the real diversity, the unchosen one).

Sometimes, when it doesn’t touch you, you have some fancy theoretical poetry about it; the closer you are, the more you notice how the other is, indeed, wow, gruesome.

Not all cultures can mix.
Agree. The total US non-defense research budget has hovered below 2% of federal spending for the last four decades. The military budget has been around 15%. We need more research, not less.
I learned with Paul Graham's book, ANSI Common Lisp. Still have it somewhere. I also printed out and bound a copy of On Lisp, since it was out of print and he said to just download it.

It's better in print because then you don't need to swap between two apps on the same screen. Plus then you actually type out the code, which is a great exercise.
Comments moved to https://news.ycombinator.com/item?id=31652291.
amd64 programs on Windows for ARM already work almost as well as intel mac apps do on an M1 mac with Rosetta2. Even in case of amd64, on Windows for ARM, on Parallels for M1 MacOS! This was true even 1 year ago.

I think Windows for ARM is still suffering from a previous release several years ago without the equivalent of Rosetta 2, and since then no hardware that actually offers an advantage in terms of battery life in the same way M1 macs did.
Ah... West Wing. Even the cynicism was better than it is in reality.
I just gave you as a matter of fact statement where Apple sends private information to their servers, and your response is going to be that "Apple is better." Wow, you are an Apple sycophant. As George Carlin said: "Imagine a person of average intelligence, and then know that there are even dumber people than that." Why would someone be so compelled to defend a corporation, even when it's clearly doing so many things wrong. Slave Labor.. Check, Monopolistic Practices .. Check, Shady Deals ... Check.
You also have to have the abstractions and hooks at the right places, though. Linux had that problem: The AIC (interrupt controller) is sufficiently different from the standard ARM GIC that ARMv8 Linux had to receive more fundamental patches before AIC support could be cleanly added.

To illustrate the issue with a silly example, imagine the Windows kernel assumes that every interrupt controller speaks Spanish, but suddenly AIC comes along and speaks Portuguese. The driver is going to have a hard time communicating.

A sibling commenter, gjsman-1000, explains that the idea is apparently to instead have a very lightweight hypervisor that actually presents a GIC to Windows, instead of trying to add an AIC driver, which might also have needed further kernel changes if Windows even has the concept of interrupt controller support being abstracted away enough to support interrupt controller "drivers" in its HAL. (I am not a Windows person at all, I don't know.) Basically not only having someone in between that seamlessly translates between Portuguese and Spanish, but actually pretending to be the interrupt controller itself.
All these murder drones won't program themselves. Pandemic is a good time to hire some unscrupulous devs.
Flickr has old books with drawings in them. Really fascinating to see some of the visuals from a few hundred years ago.
Wonder if school will ever switch to four days a week.
Basically every low-wage service worker puts up with it. Not suits, but often-ugly required work uniforms. At least suits and dresses look good.
Don't forget the "dark" web, wharever that means anymore. These terms are great for marketing groups to paint an image but often very quickly lose any technical relationships they once had.
Target just announced they're going to start reducing prices on a lot of their inventory and signaled their profits are going to drop for this year.

Target Corp. will cut prices, cancel orders and take other steps to cut its bloated inventory, moves that will lower its profit in the current quarter more than executives thought just three weeks ago.

Demand softened for home products, like furniture, that were popular during the height of the pandemic. In addition to presenting a financial cost, a lot of those items are bulky and take up considerable space in stores and warehouses.

"We got more of that product than we want to have, and we think dealing with that head-on by being aggressive now positions us with the right flexibility for the back half of the year," he said.

But it will come at a cost. .

While its excess inventory will be marked down, Target may see its overall price level rise this summer as it grapples with transportation and other costs that are being affected by inflation.

"Price is the last lever that we pull. … But price increases are unavoidable given the inflationary pressures that we've seen in many categories," Fiddelke said.

https://www.startribune.com/target-will-slash-prices-to-get-...
I am with you but would guess it's for the same reason one climbs Mount Everest.

(To leave a bunch of trash around for the next set of people who attempt it?)
Do you ask for the same level of culpability from a hammer manufacturer? Should hammer makers have trouble sleeping at night because someone bludgeoned another person to death with a hammer made by them?

No. You don't.
Thank you!

And yes the space is heating up for sure. Really good awareness and attention developing as a result though. We are also noticing monitoring companies starting to snag up companies to developing into this space (e.g. Datadog https://www.datadoghq.com/blog/incident-response-with-datado...). But by far our fiercest competition are companies that are still building a subset of what we have internally. Depending on complexity and incident volume we've seen many cases where it's good enough like you mentioned.

Inertia and change management is the #1 barrier to adoption. Companies have ways of workings (right or wrong) that are engrained and established. To come in and rip it all up and say "this is the right way to manage incidents" is a tough pill to swallow. Even the inability to manage IaC or integrate with a specific tool can cause quite a bit of friction. The technical setup of any of these tools is quite easy, the real home run is how does that tool help you drive adoption?
"Gravity doesn't care." -C. J. Cherryh
For new car dealerships I think the reason is mostly just historical precedent but much like how movie theater owners make their money by selling popcorn and all the ticket sales go back to the studio, car dealerships make their real money through service and the car sales are often a wash.
Try cleaning the connector, when my lighting connectors started to fail, it was always caused by a ton of dust that I removed with a needle.