skysight-inc/HackerNews huggingface dataset:
Me too. Interestingly 2 MacBooks from the Intel era were amongst the best machines ever, objectively, for Linux.

The MacBook 2,1 is almost unique in being supported by Coreboot and Libreboot. Furthermore, because it had an Atheros wireless card, you didn't need any blobs at all. Only two old Thinkpads are comparable, among x86_64 machines.

The MacBook Air 11 Late 2012, which was used as a daily runner by Linus for a number of years, was a pure Intel machine. Except for a weak Broadcom card, it was flawless with a stock kernel. Plus, it was silent, small and fast. The only comparable machine in terms of silent operation, cost and Linux support was IMHO the Xiaomi Notebook 12.5, which was released quite recently.

The problem with ARM Macs is not just secure boot. The secure enclave chip already gave serious trouble when trying to run Linux on their last Intel machines, as e.g. the keyboard doesn't show up as a standard USB device. So I don't have high hopes.
> ...misconceptions... Yet if you skim through specs of modern NVMe devices you see commodity devices with latencies in the microseconds range and several GB/s of throughput supporting several hundred thousands random IOPS. So where’s the disconnect?

Whoa there... let's not compare devices with 20+ GB/s and latencies in nanosecond ranges which translate to half a dozen giga-ops per second (aka RAM) with any kind of flash-based storage just yet.
Depends on where you live, and what non-programming experience/expertise you bring with. Expert-level knowledge is just a small piece of the puzzle.

In London, I've recently seen senior engineer salaries range from about £60k at the lower end to about £120k at the upper end. Which is such a wide range as to be totally unhelpful. I'd say it shouldn't be hard to find a range of jobs to apply for at around £85k, which seems to be the most common ballpark figure.
> Lax parsers made the modern web possible.

that's the whole problem indeed
You can easily export your website to a free static hosting using with a free plugin, after creating it on your desktop computer. No online PHP hosting required.
What constitutes "vastly more complicated"?

"The type checker can't find all errors, why make the compiler vastly more complicated only to overlap with my unit tests later anyway?" is a pretty common argument. What differentiates your case aside from your personal aesthetics?
I’ve tried to deep dive UEFI and learn more about it and even mess around with developing UEFI apps and drivers.

I’m convinced the best way to learn is to be an Intel / MS / OEM employee. The few people I’ve interacted with that understood it well fit that category, either past or present

edk2 is a complete mess and it would seem intel cares very little for documentation. I was able to find all sorts of outdated info in the docs and a lot of their tangential tools were bug ridden.
Five Second Feedback
Even if the energy source would still be purely fossile-based (which it isn't), it would still be a net win, since large power plants are more efficient than ICE vehicles and are better set up to reduce emissions other than CO2.
How to Load Fonts in a Way That Fights FOUT and Makes Lighthouse Happy
Maybe cancer was giving her bigger challenges to deal with than making sense to you which lead to extreme measures like high drug doses (chemotherapy, marijuana, opioids).

To me it sounds like complaining that your friend with cancer is objectively a worse friend because he doesn't feel like playing Mario with you anymore after taking his cancer drugs or painkillers. He thought he was a good friend, but he objectively wasn't >:(.

Maybe there's reasoning behind the trade-offs they chose that involves more than you?
I worked at WordPress for half a year, and I'm no expert, but the code reviews there were more intense than any I've ever experienced. Every line of code gets reviewed before it gets committed, and if the commit is longer than 20 lines or so, it undergoes an additional scheduled review as well as pre-commit review. They also have pretty good code sniffers that ought to catch errors like OP mentioned.

The reason they're concerned, I think, is because they try to protect users who have plugins that came from their plugin repository, where the same code quality rules don't apply. WordPress has always been huge on backward compatibility.
I would wait a year or two with that travel the world dream, champ.

I'm on a 1.5 year sabbatical right now, just starting to get back into the job market. I did gardening, hiking, biking. Hobbies other than computers. Reading every evening. Spending time visiting friends in nearby places after their work hours so that they don't have to travel. Domestic travel allows you to get to know the country you live in, at a lower cost than international travel would get you. I don't like people who save up and travel 1 week visits to other countries. You don't really get how people live there, think there. You are just a 'fucking tourist' that most people don't want around themselves. These people tend to be shallow in their knowledge of anything besides their touristy impressions, making them less desirable as friends and partners.
That worked for me only after including this snippet on the manifest:

"browser_specific_settings": {
"gecko": {
"id": "example@gmail.com"
}
}
Yes I agree. Iot is one of the technical sub element of spatial computing
It hasn't been updated since April 2020 but this website used to be a good resource for "modern PHP":

https://phptherightway.com/
> The idea that our current recommendation AI is somewhat useful,

is it ? I really really hate every recommendation system so far, on shopping websites, on spotify, on netflix... are there people who actually... go along with the flow of what the AI gives them ?
> Is there even a single benefit to using PEG?

In a formal sense, there are some non-context-free languages that PEG can recognize ( A^n B^n C^n is the classic example ). It’s an open question whether there are any context-free languages PEG isn’t capable of recognizing.

Fundamentally, PEG is a formalization of the common practice of writing a recursive-descent parser: It defines languages based on an exemplar algorithm that parses them instead of the generative approach taken by BNF, which defines how you can enumerate the legal strings of the language. They’re both as mathematically rigorous as each other, but approach the problem space from opposite sides.

For BNF, ambiguity is a question of whether the generation process is reversible: An ambiguous grammar has multiple paths that produce the same string which means that there’s no way to recover the path used to generate that string.

PEG is “unambiguous” because it’s not based on a generative model at all, so this definition is nonsensical. With PEG, we know, by definition, how any given string will parse but it can be hard to enumerate the strings that will parse in a given way. If PEG has an interesting notion of ambiguity (which it probably does), that’s the place to look for it.
I suppose, if you consider any speculation to be a conspiracy theory.
technically they'd just crash that one php process, not the whole web server. :)

I think the bigger 'why not' is ... 25 years of backwards compatibility.
I think the question of ethics here concerns the living, not the dead. The deceased are gone; they have no rights, they can't be harmed, they can't be wronged. Even the desecration of remains is an affront to the living, not the dead. All that's left is for the living to respect (or disrespect) the legacy of the deceased, but as far as I'm concerned there is no question of ethics.

So yes, I think it's quite disrespectful to "digitally resurrect" someone and have that avatar do things the real person wouldn't do. In fact I think having it do anything is disrespectful because can we truly say what another (now deceased) person would have done? That's an unanswerable question, there's only speculation.

The ethical question I see is whether it's right to unleash this upon the living. Though I suspect it will happen regardless.
"in any argument I tend to side with the underdog. I think it would be great if Athletic voluntarily shared some of their revenue with players!"

The underdogs here are the consumers, who ultimately wind up paying all those hundreds of millions.
I've been thinking about how useful raw engagement metrics actually are. Likes on your post or view on your video. These metrics count every reader and audience member equally, when they are far from equally relevant to you. By writing according to some common denominator you may trade a smaller high-quality audience off for a larger low-quality audience.

For example if you want to promote your work, who cares if you get lots of views from people with small attention span and no deep interest? The goal is to put your thoughts out there into good hands (or minds). To foster collaboration, to get insightful feedback. (Or to make sales, but there again, consumers can have widely different behavior. Some have noted that pricing higher will get you a nicer user base.)

Just one thoughtful reader may be worth a thousand inattentive bored scroller-clickers on LinkedIn. Because that one may write you an interesting message, which may lead to new opportunities, open up new communities for you. What do a thousand likes get you besides stroking your ego? I just don't see the value in that sort of mechanistic "karma farming".
yeah as there are two main applications of the web: static content delivery, like a billboard and; web applications which are replacements of traditional desktop applications. for the first it's "content is king" and the second UX is king
They're a bit overblown now I feel, and I wouldn't throw out the language and ecosystem just because a comparator got fussy. You probably won't win any "Code is Art" contests, and if you want to do computer science work then why even waste the time hating PHP, it was never for that. PHP is a web application workhorse, and it's really exceedingly good at that task.
Ask HN: Is it OK to not have a “thing”?
I'm currently going through a bit of a struggle with what I do. I've been programming for over 20 years now and in that time I've explored a lot of corners of software development and computers in general.

I started with C/C++ and wrote games and played around with game engines. I learned PHP and SQL to generate basic "dynamic" sites. I learned Python and wrote commandline tools and Qt applications. Moved to Flask/Django to create websites and extended my knowledge with JS, React, and learned how to set up servers. I played around with security, reverse engineering, exploit development, web hacking, and malware analysis. I'm learning Elixir now. I've dicked around with arduinos, raspis, and simple circuitry. I've put in place devops processes and tools where I work. I dabbled with image processing, VR, and interactive experiences. Yet I wouldn't consider myself particularly knowledgeable in any one of those things.

There's people who find their niche and they learn more about it each day and never tire of it, but I can't seem to find that thing myself. At work I often do a number of different things, so again, I'm not solely focused on one thing.

The biggest issue is that it makes looking for work difficult as I can't say I'm an expert in say micro services, or I'm a React pro, nor that I am an expert Python developer.

Apart from saying you're a "generalist", how do you best sell yourself when you don't have a specialisation or a specific area you are focused on?
Apple's more prescriptive than most large companies when it comes to pulling the plug on support for legacy technologies. But Flash was on its way out; Apple just (arguably) hastened its demise by proactively dropping it on a major platform. Others are more inclined to wait until almost no one cares any longer even though something is really a boat anchor.
Ask HN: Should my domainhost be storing passwords in cleartext?
My domain provider asked me for the first four letters in my password when I contacted them on the phone earlier, to try and resolve a problem at their end.

Presumably that means they store passwords in clear text, right? If so - that's... well, bad - isn't it?
Depending on the storage technology the comparison to RAM is not that far off. Intel is trying to market it that way any way [0]. It's obviously not RAM but it's not the <500GB 5200RPM SATA 3GB/s disk I started programming on.

[0] - https://www.intel.com/content/www/us/en/architecture-and-tec...
Thanks for the explanation – I was wondering why it jumped from the top spot.

This particular post might want to get a reprieve – not because the discussion is interesting, but because the news itself – PHP 8.0.0 being released – is reasonably important.
Available yes but it's still the realm of people with a good amount of disposable income such that they can drop 1-2k+ on a hobby.
Strangley we are getting 3 examples of this with gigafactories (shanghi, texas, berlin) so there could be hard facts in a few years
Thanks for the info :)

I counted ARC as a sort of GC, though I've heard the opinion it is and isn't a type of GC, and see both sides' points

I love that article and the research behind it, but it's worth pointing out the details are sort of "reverse engineered" by probing XNU and running some diagnostic programs, not from apple supplied docs. I doubt apple will ever directly document it like IBM or Intel document their CPUs, though I hope I'm wrong!
Thank you for your efforts back then.

And now you stand vindicated!
The Code It Yourself Manifesto (2016)
This is about quintessence. 2.5 sigma. One study gave negative result. So a bit premature.
I would say it works surprisingly well 90% of the time.
The main help type hints give to the compiler is that it can generate better error messages for when things do go wrong, apart from that there is no major difference.

As I mentioned earlier it's a powerful feature, and has its uses, especially when you are still trying to figure the types of your program.

For an easier taste of global type inference you can try elm language, it's also a good stepping stone to learning haskell
The screwdriver on a stove (even electric) technique was needed for building plastic models (e.g. Revell) back in the day.
I can't disagree with your feeling, but I think it's sometimes difficult to put yourself in the shoes of someone who doesn't have experience in a certain area.

While explaining something to first-semester CS students, I said "but it obviously doesn't matter if you accept a pair as a single argument or two arguments". They, of course, asked why it didn't matter and I started off with "You see, functions are exponentials" and I was going to say "and normal algebraic laws apply", but realised after the first part that this way of looking at it surely wasn't going to help them without any background in more advanced theoretical topics.
It's linked in the article, and the next sentence explains the motivation for not just starting with that list: "This list is comprehensive, but a bit overwhelming. So where do you start?"
Most non-consumables can be rented (and frequently are) just for this reason. We buy things when our use expends or transforms the product (e.g. a house) so that we don't have to coordinate with the owner.

It's nice to be able to buy outright (or download free!) things that we want to maintain, but most software doesn't fit that for most people.
I have absolutely no clue what you're rambling about, but if frontend dev shouldn't consume braincells, you go on and code a complex frontend in vanilla JS and then serve that plate of hot spaghetti to the devs coming after you.
Thanks! I feel dumb now: I own an RPI2 running Linux and a C64 emulator, and I didn't make the connection when asking my question :P
Once could also say that "diesel went below EVs"
Alternatively: HN is a lot larger than you might think it is.
I have seen how multiple countries handle their protests movement these last few years.
Its the same everywhere people gather then the cops smash it.
How to Prepare for Your Next Game Jam
It’s a computer replacement for millions of people — just not people like you. That isn’t a bad thing.

Apple has methodically added features to move it up the stack in terms of complexity. It takes time to do that without sacrificing what makes an iPad an iPad.
Game pass is what make me consider xbox over ps5. The idea of Netflix for gaming is very attractive.
As usual, it really comes down to personal preference. In the past year, I have managed a few things in Wordpress, wrote my own PHP, Flask and node sites; and after all that I would 100 % choose Flask or node over PHP.

Node has the advantage of same language back and front, "asynchronous" execution and having both dynamic typing and static typing with TypeScript. And huge ecosystem obviously helps as well.

Python also has pretty sizeable community and Django is probably a huge reason why a lot of people choose python over anything else. And the syntax, at least to me, feels much less cumbersome than PHP. But I have not tried PHP 8 at all.
How much have you spent so far?
Ketch - new open source tool by shipa trying to provide a solution for deploying apps directly onto the cluster without writing any Yaml. I have written a blog that gives a overview of what it is and how it can be used. What are your thoughts?
iPhones are quite well supported in my experience. I have a 6 and a se, both running the latest OS.

My wife uses old MacBook Pro and air, pre retina, yet i5, running Debian stable, Firefox, zoom and some VMware horizon client for remote work. Stable, usable, just great.
In my experience, intel macs weren’t supported as long as the iPads and iPhones but they are for sure easier to upcycle to something else. They are just fancy PCs.
I agree, but I wrote "good engines". If one can choose between convergence with 1/N over 1/sqrt(N), the choice shouldn't be difficult especially in real-time systems.
I've never thought about it this way before, but it makes sense! I think I've been pushing things from the middle to the edges subconsciously but didn't have a solid understanding as to why. I got something out of this, thank you!
> Both Greenland and Bermuda can blame their expensive packages on geography and uptake, but what about the United States? At $50.00 on average and coming in in 119th place worldwide, one would expect American packages to be considerably cheaper. But while broadband in the United States is widely available and uptake is high, lack of competition in the marketplace means Americans pay far more than they should compared to much of the rest of the world.

Does the HN community agree with the assessment that the lack
of competition is why the prices are high? If so, does anybody have some explanations/links for why there is a lack of competition and some proposals to improve the problem? I know community broadband projects are starting to popup, I'm guessing partially due to this issue.

Also, is there a tradeoff? Is the "widely available and uptake is high" benefit in part because of the low competition?
If I wanted to learn more about this unvarnished Buddhism, where would I start? Do you have any resources that I could check?
Ummm... How does that logic even work? Where do you live that a house is cheaper than an apartment? :-)
An analogue is that in some cultures sex for pleasure is forbidden
It does. You can hard-wire a Ring doorbell to a standard transformer and door chime and it works just fine.
Also: Modern storage is plenty fast, but also not reliable for long term use.

That is why I buy a new SSD every year and clone my current (worn out) SSD to the new one. I have several old SSDs that started to get unhealthy, well, according to my S.M.A.R.T utility that I used to check them. I could probably get away with using an SSD for another year, but will not risk the data loss. Anyone else do this?
This is a list of known unknowns. Those are usually not a problem - the problems come with unknown unknowns.
While I have the same feeling about Firefox, it still lacks supporting some APIs, the Web Push API being the latest I missed that works properly on Chrome, enabling real push notifications.
The great thing isn't freedom, it's that the huge speed differences between cars help a lot with keeping drivers focused. People drive instead of just waiting out the time until their exit pops up on the nav. This effect has quite a bit of inertia so that even the speed-limited parts benefit from it so that a blanket speed limit would likely make the already limited sections less safe, after adapting to the relative ease of blanket speed limits. Chances are that overall safety would still increase, but I'm not sure of that (short term it would definitely increase, but that effect could quickly erode as people get used to it).
Show HN: Shareable Tweets
Magic Paper (2017)
You really should take this elsewhere.
Why stop there? Please allow me to note others with technical middleman status: speaker/microphone manufacturers, cable manufacturers, chip foundries, silicon and copper smelters, the people who make the machines that make the smelters, on and on until we get to the first fusion of hydrogen to create helium soon after the Big Bang.

Neutral carriers and infrastructure providers have shown decades of tolerable neutrality [0], and are obviously a much different (and lower) threat model for contacting restaurants than the "Instagram/Facebook/{delivery app}" third party platforms to which I referred. These platforms have proven, year after year, to perform despicable acts of surveillance and experiments in psychological manipulation. They're called out for it, and they sometimes apologize and promise to "do better" in the future. Then they immediately go back to performing their creepy shit without remorse, and the cycle repeats.

"Fool me once..."

[0] Carriers and infrastructure providers certainly have unacceptable problems selling data+metadata to third party platforms, and I also note with righteous fury their enabling of illegal, unethical, and creepy-as-fuck government wiretapping and eavesdropping. They do not, for example, intercept my orders by showing some phone number other than the restaurant's. They don't disguise their call center as a restaurant's phone line. Their creepy psychological profile on me is less granular.

Someone might claim, "Oh, but Facebook has never done anything like that." Neither did Yelp or GrubHub or the others, until they did. These platforms have shown, over and over, they cannot be trusted. I'm not going to trust these middlemen. I can have a relationship directly with my food providers, and it benefits the provider and me, without worry that some asshole will someday decide they will manipulate me or the restaurant, simply because they possess that dubious ability.
I guess you are thinking this tool is required because you are coming from Google Chrome extension development where you need a compiler tool to create CRX files. This is not the case for Firefox extension development. It uses plain ZIP files.

You do not need this or any command-line tool to create Firefox extensions. You can create and publish an extension entirely with Notepad, Firefox, and the built in ZIP functionality of Windows Explorer if you want.
https://mcshowblog.files.wordpress.com/2019/08/dumpsterfire....

Yeah bad example if you wanted to convince me it’s any good :-D
This is art. I’m always impressed with people who use what might be considered sub-optimal tools to create with. I remember reading about some guy who paints by changing the colors of cells in Excel. Mind blowing.

Here’s another fun Line Rider video synced to “Something Just Like This / Hungarian Rhapsody No. 2” by the piano guys: https://youtu.be/mZd1GsRHVts
Or just grinds LeetCode really well (or had a referral).
Encouragements to Learn to Code at 34
Museum to record Londoners' Covid dreams