skysight-inc/HackerNews huggingface dataset:
> There is little of needless code in standard library. And what there is, believe me, over the decades was really polished.

Ha ha ha ha ha ha ha ha ha ha.

Locales are a massive clusterfuck, basically too simple to handle localization if you actually care about it, but supports enough of it to screw you over if you don't care about it. The "wide character" support is also a nightmare. The time library support is also quite a bit wonky (years are measured as years since 1900 because Y2K is definitely not a pressing issue in 1989!).

> inline Assembly

Fun fact, here is the C specification's entire mention of inline assembly:

> The asm keyword may be used to insert assembly language directly into the translator output (6.8). The most common implementation is via a statement of the form: asm (character-string-literal);

There is no discussion of what inline assembly can and cannot do, how it interacts with the rest of the code in term of semantics, how to pass arguments to and form inline assembly, etc. You might get some of this information from the manuals of compiler implementations, but even that can be surprisingly free of necessary information. Compare this to Rust's inline assembly documentation: https://rust-lang.github.io/rfcs/2873-inline-asm.html (which is more detailed than even gcc's or LLVM's inline assembly documentation).
I think we mostly follow wrong approach with programming tutorials. I have heard a term called "Tutorial purgatory" you may Google it. Following tutorial just for the heck of it is pretty waste of time and energy. Instead focus on projects. Having a problem to solve in front of us can make us tinker on it's available solution and that's where those tutorial come handy.
What people generally follow is tutorial->projects.
What we must follow projects->tutorial.

Do read more about tutorial purgatory. It's definitely eye opener.
> You really believe that git stores -- in full -- every version of a tracked file?

Yes, it does.

> Every commit that deletes the whitespace from an otherwise empty line in a 30KB file is another 30KB of hard drive space

Yes, it is.

"It's worth repeating that git stores every revision of an object separately in the database, addressed by the SHA checksum of its contents. There is no obvious connection between two versions of a file; that connection is made by following the commit objects and looking at what objects were contained in the relevant trees. Git might thus be expected to consume a fair amount of disk space; unlike many source code management systems, it stores whole files, rather than the differences between revisions. It is, however, quite fast, and disk space is considered to be cheap." -- https://lwn.net/Articles/131657/

One of the insights of the git design was that, nowadays, disk space is cheap. The first releases of git always stored each object separately in its own file in the object database. Git still does so nowadays, but once the number of files gets over a certain threshold, newer releases of git run an "automatic GC" which combines these "loose objects" into a "pack file"; and within that "pack file", it uses a binary diff (a xdelta) between similar objects to reduce the total size. But that's just a physical storage optimization; in the logical model, whenever you ask for an object, you always get its full contents, not a delta against some other object.
No docker support at present - will be just ARM images when it is ready.
For a while now I was struggling to put into words why my l changed from being a "privacy activist" to being a "normie". But you just hit the nail on the head. Security, both technical and operational are still very much important to me.

But before recently, I would've preferred Firefox over Chrome for example, since it's more private.

These days it's the other way around.
> DoH in Firefox (and in Chrome) have clearly spelled out ways to disable it at the network level for those folks who are network operators and want to restrict it due to interference in filtering or split-horizon DNS.

I still don't really understand this. Yes, it solves that problem, but how is it not also defeating the entire premise? If you had a DNS server from an adversarial network operator, they could just resolve the canary. So it means the browser's DoH is only secure if you can trust your network operator's DNS, at which point, what was its purpose supposed to be?

And the fear is that at some point someone is going to try to "correct" that by removing the check for the canary.
Honest question: can someone explain the focus a lot of the HN crowd seems to have on "native"-looking UI? I've used plenty of applications that don't look "native" and it doesn't bother me. Is there a reason to prefer it? I get that performance can be an advantage, but one can easily write a very performant application using something like Skia, or doing one's own GPU acceleration, without having any native look.
> the "C" ABI is just the ABI of whatever platform it's running on

But typically the C ABI is the only stable ABI those platforms provide. That's a huge benefit.
If you manage to instate a global carbon tax. In the more realistic approach of only having a carbon tax in a couple of countries at first, you need some way to estimate tariffs and rebates for trade purposes.
> Software engineers are best analyzed on a bell curve and once identified according to such plotting relative to other developers the criteria becomes clear.

So how are you plotting this bell curve without having criteria to begin with? Sounds like you already decided what you were looking for.
Docker is a wip: https://www.docker.com/blog/apple-silicon-m1-chips-and-docke...
.
I wouldn't go as far as flagging typically for low-quality content. However labelling something as "open source" when it is in fact not "open source" goes further.
IE11 browser usage in my country finally dropped below 1% so we're dropping it from all our standard support policies. Clients can still get IE11 support if they want, but it will cost them.
> When this happen I understand that this is the delivery guy's responsibility and I don't blame the restaurant for it.

I agree with this up to a point: At the end of the day, I want my pizza intact. If the only delivery option is appshare, and if appshare does vertical pizza more than once, I'm going to stop using that restaurant for delivery.

Not because I don't like the restaurant or because I want send them a message or something silly like that. Simply because I will have learned that I can't get the food I want from that channel. And if I haven't eaten from that restaurant recently, they're not top of mind. Which means I'm less likely to dine in or do takeout.

I may try a different appshare in this scenario. However, drivers usually work for multiple companies, so you're not necessarily getting a different driver by using Uber Eats instead of Door Dash.
How is this any less technobabble? I looked up torsor on wikipedia. I learned nothing, except that "torsor" is a real word, and not just something you made up for a joke.
Launch a mining and manufacturing unit and built it along with anything else we need on the moon
"give up their privacy" that's a funny phrase because it assumes that privacy was a thing they had in the first place.

I am in favor of privacy but I'm not under the delusion that it is something I have ever really had.
> This is Apple's first non-mobile chip ever. You think this is the best they can do, ever?

They have been making mobile ARM chips for quite some time, so it's not like they are inexperienced.
They're not saying it's "inappropriate" as in bad for children. They're saying it's not a good way to teach racial history. To Kill a Mockingbird portrays the situation as a white people problem, with the blacks as passive victims requiring good, white actors to save them.

There's no doubt, To Kill a Mockingbird is written to antagonize racism. But some are arguing the means by which it accomplishes this are not representative of where we'd want to be; echoing the generally vast liberal/conservative argument whereby most conservatives are not racist, in that they do not believe minorities are intrinsically worse or less deserving than whites, but they support the continuation of power structures that make it systematically difficult for minorities to have equal levels of opportunity. This is a nuance that most people on both sides generally fail to understand.

The harsh gut reaction to someone saying "this is no longer good" will bring out an angry response in many because they don't think it's bad and they know they're not racist AND they are not in fact racist. But there's additional levels of depth here and asking for change is a good thing, though it falls flat to anyone not interested or aware of the depth.
You're aware that Gemini mandates a recent version of TLS in the protocol specification, right?
I would note that it’s only the app icons that look like this. Big Sur’s icons for technologies (e.g. the PrefPane icons representing system components) are weirder-shaped than ever.

Thus, I feel like this change actually helps to differentiate the two. Sort of like how capital letters help differentiate proper nouns in English. You can tell when an app is “mentioning” another app visually (as in a plugin, or an “Open In” action) — without even knowing what the other app is — just because it has “app shape.”

I would also point out that this was already something useful in iOS; in the App Store, you can visually differentiate regular apps from iMessage app-plugins by their icon shape. Those iMessage app-plugins are then always “mentioned” in iMessage itself using that same shape.
Iranian Apt Utilizing Commercial VPN Services
I had a positive support experience.

The delivery driver delivered me somebody else's order. Within 10 minutes, they had refunded me, and were re-preparing my original order (which I received 30 minutes later). I also got to keep the wrong order - I stuck it in the fridge.

Even though the situation was a bit of a mess, the live support worked well for me.
The Left and the Right used to agree that freedom of speech was fairly sacrosanct.
For now....
Elsewhere on HN today is a story about a teen who sold his kidney to get an iPhone, and is now bedridden for life because of it.

A monoculture in nature, or in technology, is almost never good. I remember PowerPC days, when I had bought a whole bunch of software for professional use (incl. Adobe Creative Suite). Then they switched from PowerPC. Now all of a sudden most of my software either wouldn't run, or ran very slow. M1 will be the same thing if it is only built by Apple. I expect Mac prices to soar for the next revision, in an attempt by Apple to recoup the cost of M1 development.

x86 isn't a monoculture, though it's not far off, because there are three manufacturers of x86 chips (Intel, Via, and AMD).

If Apple had continued with the trend of excellence that existed while Steve Jobs was alive (no comments about the man personally, but he was extremely demanding about product quality), then I might be more inclined to see this as a good thing. But with what I perceive as falling quality in product and falling quality in design decisions, I can't see the M1 transition being handled well.

I also see it as a scary precursor to a possible new trend: each of the big corps making hardware and software (Facebook, Google, Amazon, Microsoft, Apple) comes out with their own proprietary chips, with the vendor lock in that implies when people buy their new software.
My first thought is significant white space. Christopher Walkin English must be the most pythonic :)
Off topic, but I love that Apple is still using NS as the prefix; I wonder how long that will last :)
See also "Inside Look At Modern Web Browser" series: https://developers.google.com/web/updates/2018/09/inside-bro...

And "Anatomy Of A Frame": https://aerotwist.com/blog/the-anatomy-of-a-frame/

Also "Inside A Super Fast CSS Engine: Quantum CSS (AKA Stylo)": https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-en...

If you dig around chromium.org you can find lots of details about Chromium's guts, too.
I'm guessing we are moving towards the same system as embedded vendors use. Patch the Linux kernel so it runs. But never upstream anything so you will run around with an old os never to be updates again.
Firefox is my primary browser on desktop and Mobile.

On Windows 10, I use Cold Turkey to block distracting websites.
I often have issues with Firefox bypassing the blocks on Windows, ignoring the Hosts settings.

On Android, Block Site addons are not compatible with the new Firefox for Android.

I love Firefox, but some recent changes make me feel that I have less control over my browsing experience.

I hope they don't make things 'default' for our 'protection', rather leave some things to the user to decide as per their preferences.
Its says that for me at first, then it changes to the correct number after it loads the icons.
Yeah a blog post showing off a few things would be great.
They are pretty hacker firendly, but it's always good to show that this is something that people like
They're equivalent from a computability perspective, not a complexity perspective. We don't really know whether Turing machines are capable of simulating quantum Turing machines efficiently. In fact, it's conjectured not to be the case.
I was a FastMail user until Gmail’s launch and regret that I abandoned my free FastMail account and it was deleted. Not sure if I ignored email warnings and that was years before Twilio so there were no SMS reminders and iOS didn’t exist so there were no push notifications to try to give me a last chance! I wish I hadn’t lost years of personal email history, especially since there were probably photos there that I didn’t have anywhere else. Back in those days, data was expensive enough that they probably wouldn’t think of automatically archiving your account into a zip file in case you came asking for it later (when I asked, it was long gone). Now I wouldn’t hesitate to pay if I could resuscitate that account. Can’t really blame FastMail and now I use them for a business and love their service but it was a good lesson for me.
XCode initial and incremental build times are faster than a 16" MBP on all the M1 macs.
That new MacBook Pro replaces the low end of the Pro line which had a slower CPU and only 2 ports.

I would expect that, when Apple brings out their next iteration of chips, they would target the higher end of the Pro line with more cores and ports along with higher RAM capacities.
As a user, what is the increased admin burden for using DoH, assuming you don't want to implement network level content blocking? Basically none.

What is the burden for using HTTPS assuming you DO want to be able to inspect and block HTTPS resources at a network level? Very extensive compared to plain HTTP.
No reason why servers will always stick with Intel.

Amazon already has their own Graviton ARM chips - And that's EC2, cloud native workflows might have already migrated.
This doesn't even make sense. The electoral college doesn't meet until January. The AP and NBC sources collate the results of the elections from each individual state, which comes directly from the Secretary of State websites for each state. What in there is disinformation?
1) We require food manufacturers to list on the side of their products the ingredients, as well as the nutrition facts so people can make an informed decision about what they are putting in their body.

There is a growing pressure to require your companies to do something similar, and publish the algorithms and metrics you use to keep people on your services longer.

Would you support this movement?

2) Do you believe your products are addictive (this was already asked. I hope it gets asked more.)

3) What does it mean to you for something to be true? Could you give an example of something that you find to be uncontroversially true?
For our project, a flow like `create feature branch -> implement -> push -> review -> merge to master` is rarely something that finishes every day (but there are daily changes to master from someone else on the team). Builds are something that happens for every change to master, and there is constant QA on those builds. Even if we chose to release those builds to customers, the question of "did a fix for bug X make it into build Y" would still arise quite often.
Too bad it only supports 1 external display, especially for the macbook pro.
Dbeaver is really ugly, though. To the point of being unusable due to aesthetics, like many Java apps.
They should probably release an 11" version of the air, I'm not sure a 12" having the same specs as the Air would be viable.

However the interesting part would be what are they gonna do with their iPad Pro line at this point I don't see a reason for it not to run Big Sur or the Bigger Sur they'll release next year and compete directly with the surface.

What I see Apple doing is the following:

iPhone/iPad non-pro continuing to use A series SoCs and run iOS

iPad Pro migrate to M series SoCs and become what is essentially Apple's Surface Pro

Macbook Air 13" and 11" (possibly drop to a single 12" model) with M series SoCs this essentially will be the Surface Laptop/Book competitor

Macbook Pro's will continue as they are 13" and 16" models, if Apple goes for 11" and 13" MBAs they might move the MBP to 14" and 16".

Without discrete GPUs and essentially no way to "upgrade" the CPU to a higher model I don't really see the MBP 13" being viable in the long term tbh, I think they'll need a model that will differentiate it much more from the MBA and unless Apple starts binning their future M series SoCs much more in line with Intel and AMD I don't see them having too much of a range here for upgrades.

So alternatively I also see them dropping the 13" MBP altogether and having only a 15" or 16" on whilst the Air will occupy the smaller form factors.
Having used the reMarkable 1 tablet for over a year now, the hackability is so refreshing to have in a consumer device. The tablet runs Linux and you can SSH into with root access.

The hacking community is quite active, one frequently asked question is how to get and run custom software on the device.

There's the Entware[0] package repository for running ARMv7 software on the tablet. Recently a community maintained package repository, toltec[1] for tablet-specific software was created and is actively maintained.

For Nix users, I've been helping build a Nix-based cross-compile toolchain[2], so you could easily cross-compile a good amount of the 60K packages on Nixpkgs for the tablet. Upstreaming the cross toolchain to Nixpkgs is in the works.

To see what the community is up to, see the IRC channel[3], Reddit[4] and Discord server[5].

[0] https://github.com/evidlo/remarkable_entware

[1] https://github.com/toltec-dev/toltec

[2] https://github.com/siraben/nix-remarkable

[3] #reMarkable on Freenode

[4] https://reddit.com/r/RemarkableTablet/

[5] https://discord.gg/JSSGnFY
Sure, hence jab about European Army. A coalition of countries that can make Airbus should be able to cobble together functional defense. Or semiconductors, or indigenous tech platforms to rival silicon valley. They just haven't. I personally think EU just hasn't been pressured hard enough to try sincerely, but I wouldn't rule out that maybe EU is just systematically incapable.
IE11 will be supported to at least 2029 if not longer, good luck. That's longer then the current version of Chrome or Firefox.
>It is not hostile to them in any way, shape or form. For some reason this cliche is most often repeated by the people who never wrote a single line of code for iOS or MacOS.

Maybe the word "hostile" is the wrong word. But I have apps on windows that ran on 95 that still work to this day without having to be "rewritten". It's no surprise it's often repeated by people who never wrote a single line code for an OS that they have come to expect will change things so dramatically that they will have to spend more time and effort supporting those OS changes and not creating software.
Easily Identify Malicious Servers on the Internet with JARM
For sure. In the case of IntelliJ resource usage, you get what you pay for.
So why do you feel the need to document the _obvious_ fact that this a project you did in your spare time and therefore no one should expect _you_ to fix whatever issue they're having ? (irregardless of whether you are currently working on it or not)

I also have a number of opensource projects published. Some of them get picked up by the popular distros, and I know (most of them) are in the same situation so I may be inclined to help them out. However, I have to ponder what goes in the minds of the people who bombard me with "Please add support for my odd usecase no one other than me could possibly want" emails.

PS If someone sents you a patch to a 6 year abandoned project which you don't even care any longer, just apply it without even trying to check if it builds. Most likely it does.
In my personal experience my left leaning friends appear to feel very comfortable "letting it all hang out" on social media. It's very clear what their political opinions are. Those who aren't quite in sync with these view points play their cards closer to the chest. So I bet the %s you have aren't quite correct.

I do think the prevailing educational system K-12 and the universities have a strong tilt to the left - generally ahead of the country. I also suspect most people simply inherit these default settings as their view points.
The kids aren't alright: how generation Covid is losing out
Well, any tourist can show their passport and get a prepaid SIM card in Switzerland...
They have completely locked-down secure boot, and don't support booting into anything non-Apple. At best you can run a Linux VM under macOS host.
Does anyone know if it's possible to use a ReMarkable tablet as an external laptop monitor?

In the summer I like to sit outside coding, but the sunlight outshines my laptops LCD display. So I'd like to use an eInk display as an external monitor. And I gather ReMarkable is the best bet because of their hackability.
Many have and still don't feel comfortable with their understanding. And there's too many of them for inadequacy or incompetence to be a useful explanation.
Wow, Arbitration is such a get-out-easy-card and characteristic shady corporate way of circumventing accountability. I normally don't thank people for sending me a down a rabbit hole, but here's an exception. Learnt something new today, thanks.
It has actually. It starts a lot faster, and has a "lite" mode where it's more like a text editor.

As for how it looks, well, it's an IDE. It looks fine to me. There's a dark mode if you want it, the look is modern yet dense: sparsity being a common issue with web apps. Plenty of people use and like it.
https://github.com/elrumo/macOS_Big_Sur_icons_replacements
Check details here:
https://github.com/sponsors/elrumo?o=esc

It uses Firebase.
It really looks very expensive for the functionality and 1.5K monthly visits.. But the developer seems to be fully transparent about costs.
Actually it would only require Apple to release internal documentation. There are enough Linux nerds to write all the drivers. Graphics will probably be the hardest.
I think an option could be GPU-accelerated drawing. It won't look native, but one can create a UI that performs well on just about any platform. Vulkan greatly improves the portability of such applications (compared to the OpenGL vs. OpenGL ES mess), and Skia has a nice set of primitives on which one could build.

It's also worth pointing out that creating a cross-platform API is better for new players than for entrenched ones.
Trying to figure out if this is sarcastic, or you aren't aware of the .yu domain...