skysight-inc/HackerNews huggingface dataset:
I do not really understand how Microsoft could drop the ball that low on Windows 10 usability. It feels like a cramp to make something different but without any foundational insights how it could be better than past iterations on the UI nor with the budget and man power actually needed to pull the project together. Putting all other things aside, the "Windows shell" today is so much inferior to even latest GNOME and KDE iterations.

On the other hand, what's changed massively is how easily Windows 10 can be used as a power user, single-user desktop computer from the shell through powershell. I do not even have to rely on bad or outdated click UIs --- although my employer recently sent me to a AWS course where the task was to configure a Windows Server based AD controller, and the experience involved admin GUIs from my worst nightmares --- to do things like checking the current IP addresses, configuring and overriding DNS servers, or definining/scheduling custom background services anymore.

While other parts and usage paradigms of the Windows computer are experiencing a boost and are being "supported" right now, esp. when it comes to developer tools and developer workflows, package management (winget...) --- thank you Microsoft for that vision ---, the "classic way of using Windows" and the use of good UI to make the OS accessible to users of all PC user skill levels is being neglected to such a degree it's not even funny.
Just a raspberry pi hooked up to the router, an old lcd monitor, a keyboard and mouse. I boot from a usb 3.0 flash drive.
That's an interesting statement to apply to natural languages.

Consider this headline in English: "Man attacks boy with knife". This can be read two ways, either the man is using a knife to attack the boy, or the boy had the knife and thus was being attacked.

The same sentence in Polish would make use of either genitive or instrumental case to disambiguate (although barely). However, a naive translation would only differ in the placement of a `z` (with) and so errors could still slip through. At least in this case the error would not introduce ambiguity, simply incorrectness.

Similar to language design we can also consider: does the inclusion/requirement of parity features reduce the expressivity of the language?
I have XPS 9380, and it's far from ideal:

- when using external display, video tearing would be visible either on internal or external display

- Xorg doesn't really support different scaling for different displays, and Wayland has other issues

- battery life is shorter than on Windows

- graphics performance is worse, at least in Firefox/Chrome (smooth animations on Windows would be choppy on Linux)

- touchpad is not great on Windows, but it's even worse on Linux (even after fiddling with settings, and trying many solutions, using it on Windows feels better)
> MacOS is actually very polished

Anecdotal I know, but my experience differs. I'm fixing problems more frequently on OSX than Linux. I started using OSX in 2015 and honestly I now consciously fear the "System update available" notifications.

I can't speak to your plug issues, as both the Macbook and XPS (2021) I have are USB-C and appear to function identically. Sounds annoying though for sure. I don't notice any difference in the trackpads, but admittedly I use them infrequently.

Sorry to hear about the QC issues. I suppose my opinion will sour if I run into them later down the line, but for now it's certainly the preferred option. Slightly smaller and lighter with a better (but still terrible) keyboard, and feels much more comfortable for my palms vs the MBP. And native Linux is very well supported so I don't need to deal with Docker for Mac or virtual machines to do day to day development work.
Not only Linux distros. HiDPI seems to be a problem in every OS except macOS. Windows regularly draws things twice as big or half as big as intended, especially if it's an app not developed in Windows-native technologies. Ubuntu (and similar distros) handles this better than Windows in many respects but not all. On macOS though it doesn't matter what tech it is, it just works.
Wait till you hear that the US Senate pressured Facebook...
> move all memory management into centralized systems (like rendering, physics, animation, …), with the systems being the sole owner of their memory allocations

> when creating an item, only return an ‘index-handle’ to the outside world, not a pointer to the item

> in the index-handles, only use as many bits as needed for the array index

> only convert a handle to a pointer when absolutely needed, and don’t store the pointer anywhere

DataDraw, anyone? http://datadraw.sourceforge.net
I’m surprised that with your experience you come to such unbalanced conclusions. Everything in engineering is about trade-offs and while your conclusions may be indisputable for the design goals of D they may wrong in other contexts.

1. If I scribble some one time code etc. the probability of having an error coming from implicit declarations is in the same order of magnitude as missing out edge cases or not getting the algorithm right for most people. The extra convenience may well be worth it.

2. I would relax this it should be clear to the programmer where a statement ends.

3. Go on with a warning is a sane strategy in some situations. I happily ruin my car engine to drive out of the dessert. The assert might have been to strict and i know something about the data so the program can ignore the assert failure.
Kotlin sold its soul to Mountain View overloards, while JetBrains it trying to create a Kotlin platform of its own.

Now it is full of @JvmSomething annotations and one needs to rely on KMM for writing portable code across JVM and ART.

Thanks to #KotlinFirst and Google's relutance to improve Android Java, Kotlin will have to choose which eco-system they want to provide a platform first developer experience without forcing devs to write FFI annotations and wrapper libraries.
I see this has been downvoted, I'm not sure why, does anyone have counter-evidence to the thesis here or something that debunks it? I'm far from being pro-socialism myself, but if the contents of the article are true, then it seems we could definitely glean useful information and principles from it. Just want more clarification on why it would be downvoted or additional information that would help substantiate the idea that social safety nets (and related principles) have a correlation to frequency of female orgasm?
> The US didn't have to pay for going to war with Irak

On the contrary, it paid about $3 trillion, depending on whose estimates you believe.
Show HN: Node.js React MongoDB Boilerplate for SaaS
Do you mean "copro" as in shit? Or "corpo" as in corporate?
> My gut says plastic

A sedentary lifestyle leads to a reduction of testosterone. Simple as that.
Apple is for people who want the generic apple experience, if you want to customize its the worst of all. I run arch linux on thinkpad carbon x1 and its the best laptop I ever owned or seen, mostly because I care much more about my own customized workflow (tile management, fast terminal instantiation, vim keys everywhere, CLI apps when possible etc.).
> YAML had a worse example, once.

It had it literally at the same time as it had the problem in the article (the article refers to YAML 2.O, a nonexistent spec, and to PyYAML, a real parser which supports only YAML 1.1.)

Both the unquoted-YES/NO-as-boolean and sexagesimal literals were removed in YAML 1.2. (As was the 0-prefixed-number-as-octal mentioned in a sibling comment.)
It can't, because Android uses its own stack and ART will surely not be compatible with whatever comes out of Valhalla.

Then there are the JS and native backends as well.

So at best it will have to make use of KMM, and you will get classes with very different performance behaviours depending on the target runtime.
Honestly I've never noticed a difference on any of my Nikon DSLRs between waking up from stand-by and switching it off. (And I even had a D1 at some point!)

It's just instantly on and working. I also never noticed a difference in battery life, so I only used the on-off switch as a sort of button lock. I suspect that for Nikons that's really all it does, keep the camera from waking up from a button press.

I'd guess these use some fairly small, low power RAM that's for the "control plane", which is simply always on because power consumption is negligible, while the "data plane" is just a "dumb" ASIC with some DRAM which can turn on in a fraction of a second.
A real one. One that is not engaged with history revisionism. Or did china do a holocaust, or start WW3? I don't think so. China is a totalitarian dictatorship, but not really the only one, nor the worst. But they are not Nazis.

Apart from that, how about blocking trade with countries, that do attack other countries, based on caught lies and propaganda? And various other black things?

How would that help?
Nice. Have you considered publishing it under a FOSS license?
Same thing, really. If you have the type information stored somewhere else, it can also be wrong.
Imagine a country that locked up over 2 million people of a particular ethnic background[0]. Then when challenged about it ran propaganda about it being necessary. When activists rose up in peaceful protest they were assassinated[1].

And we sit idly by.

[0] https://en.m.wikipedia.org/wiki/Incarceration_in_the_United_...

[1] https://en.m.wikipedia.org/wiki/Assassination_of_Martin_Luth....
> I'm going on the assumption that we can assume it's an opaque reference of equal size as a pointer to data that is or will be in the machine's user-mode memory.

If the handle is an array index or a hash, it can be much smaller than a pointer. 8 bits in extreme cases, often 16 bits (if there's only a few thousands objects of that type), and we almost never ever need more than 32 bits.

Such handles can easily have less memory overhead than actual pointers, even after accounting for the redundancies needed for some runtime checks.
Super-Efficient subsonic tri-wing passenger plane with 80% emissions reduction
Yep, from a third party site. Maybe it’s true. Maybe it’s not true.

I don’t have to double check Apple machines. And anything with a Windows sticker works with Windows.

Some Linux distro should explicitly support some line of laptops. Literally “buy these models because we will 100% support them”.
Twitter confirms Spaces are coming to desktop web browsers
US has been doing that with Cuba for a very long time. And how big of a threat is that?
I have talked with a few Egyptians on the subject. Unfortunately most think a military solution would be simple and straightforward. "Egypt has hundreds of fighter jets. Ethiopia has 20, We can turn the dam into dust".

They probably can. But then what? History is not over yet.

Egypt thinks of Ethiopia as enemy state. A lot of Ethiopians believe Egypt supports every rebel group in Ethiopia. But Ethiopians still don't view Egypt as an enemy, more like a thorn on the side. For thousands of years the Nile has been flowing toward Egypt without much objection. Bombing the dam will change that. It is the equivalent to creating a monster at your water source. Ethiopia will not try to block the water or anything like that. But it can and probably will start small irrigation projects everywhere. And it will stop consulting with Egypt. In the end, this will be much more devastating to Egypt than a hydro-electric dam which isn't even used for irrigation.

What baffles me about the Egyptian stance is, climate change is coming. Projections for fresh water in Africa in the coming decades don't look rosy. Mitigation for this is, fresh water sources should be developed and protected from environmental degradation. And you need the cooperation of upstream countries to do that. Being source of 85% of the Nile, Ethiopia's support is needed to do that.

Even if Ethiopia stops constructing the dam right now, in 50 years, at a time Egypt is sporting 200 million souls, there is potential that water levels on the Nile are probably going to decrease purely from climate change.

The talk of war is stupid. Playing zero sum game of "Only Egypt" is a bad idea.
Imo, both are kind of sucky. (Just install a gnome group on each, then remove it and install plasma and see how many non-used service whatever continues to be installed). Nix is the correct solution to the dependency hell problem.
I think most of the outside contributions to Apple and their ecosystem are unpaid so wouldn't surprise me if this is the same.
Another new(?) type of lens: https://www.polight.com/technology-and-products/how-does-it-...

The glass is deformed rather than moved. The main selling points compactness and very fast change of focus.
An even more general problem is that we as humans use pattern-matching as a cerebral tool to navigate our environment, and sometimes the patterns aren't what they appear to be. The Norway problem is the programming equivalent of an optical illusion.
This is perhaps the most American thing I've ever read.

(No offence to any Americans reading this - there's simply no other country that's as insulated from the consequences of its military complex by sheer geography.)
How is it screwing over the gamblers? Why would it be a problem if people got rich?
It's a lot like dating a "nice guy". They're awfully defensive and insulting about how nice they are. But that doesn't mean all of them are bad, just the ones who insist that you're a moron for not being able to see what's in front of you.

There are definitely some good startups. Glassdoor has some good reflections. The good startups are rated higher than FAANG. They often have high CEO approval, and talk about how high the pay is and how hard the work is, but they'd never want it any other way. I'd say those have a legitimate shot at becoming a unicorn. They take hiring risks that large, established companies often don't.
But would refusing to trade with China improve the life of the average Chinese person? Would it free the economic slaves you're concerned about, or would it force hundreds of millions of people into poverty?

What you suggest sounds nice in principle, but it would devastate the Chinese economy and most Western economies too. Sometimes, there is no good choice, no principled stand that doesn't make the world worse. With China, we have to choose between bad outcomes and very bad outcomes.
Ask HN: How to sell apps on Linux?
Hi HN,
With the recent major advancements of Linux phones and tablets, convergence becoming a reality, I was wondering:

How to make a living creating apps for Linux, whether it be for the Desktop or the phones?

Do you have any experience or examples you want to share?

Are in-app subscriptions and enterprise support the only way to go? As the usual distribution channels (repositories and 'App Stores') don't seem to provide a straightforward way to sell software.
> I found another browser trick that lets force-downloaded TXT files to be opened without user interaction or warning

I wish there was more elaboration on this. Opening a downloaded file without user interaction sounds pretty bad.
Founder's Lessons: Lisha Li, CEO of Rosebud AI
> they had to rename a gene to stop excel auto-completing

I can just about understand that "No" might cause a problem, but “Membrane Associated Ring-CH-Type Finger 1" being converted to MAR-1 defeats me.
I'll just plug my project here: a list of questions you can ask the company before joining https://github.com/viraptor/reverse-interview
From someone who tends to try this switch about once a year (because the lack of TLC the Mac was getting in the last 5 or so years was getting very very worrying - M1 feels like Apple actually care about the Mac again), I agree with a lot of these pain points. My biggest personal issues end up being (and these are super subjective!):

- Preview on macOS is great and no other OS has anything remotely equivalent. First class PDF support, ability to easily annotate anything, makes basic PDF editing easy.

- I'm far too used to the macOS touchpad gestures, and emulating these on linux doesn't end up working well. There is an ongoing project for this but it's very Ubuntu-centric for now. I am hopeful this will help the whole ecosystem improve though! This is still a pain for me on a desktop because my work setup uses a touchpad as the pointer device.

- it's nigh impossible to eliminate tearing on multimonitor setups with X11, and X11 doesn't support a mix of DPIs for displays without scaling tricks that make text look awful on the low-DPI displays. Wayland was promising here last time I tried, but Wayland itself still has a lot of rough edges for a desktop. Plus since last time I tried I have replaced my last low DPI monitor on my dev setup, so this ought to be a point I can ignore going forward :)

- Finding a mail client I don't hate on linux is tricky. I've never been able to get on with the console clients, and I actually quite like Mac Mail. Thunderbird is kinda okay.

- My chosen password manager (1password) still has a fairly awful linux experience. This is getting better - they're producing a native app now. Said native app needs to support the local browser extensions though!

- I like the various iCloud/multi device integration features for Apple OSes far too much. This is mostly relatively simple things, that produce disproportionate pain - eg cross-device copy+paste, browser tab syncing, bookmark syncing, etc. Yes, Firefox has Firefox Sync, and Chrome has it's own sync stuff too, but there's nothing as all-encompassing.
The day Fuchsia actually makes it, Kotlin will fizzle out, JetBrains has tied its future to whatever happens to Android.

Other than that, it is just yet another Beanshell, jTcl, Jython, JRuby, Scala, Clojure, XTend,....
Does anyone know where they get the data for these shipping map sites?
Thats because of both instagram and promiscuity.

Men or women, no one is happy in the relationship because everyone think they are getting a lower level partner than what they see on ad or, in most case, that they all already fucked in vacation or on tinder. Some websites call it being a alpha widow.

Ive been that guy for a few women and ive fell for it myself..
> I am an extreme power user, to the point that many of the keys on my keyboard don't do what the keycap says.

Is that really the definition of an extreme power user? I switched the layout on my work MacBook to UK and remapped caps lock to command, but I’m in no way a Mac power user, let alone an extreme one.
You do know who the founder of the PRC is, right? If not, it's Mao, maybe that name rings a bell.

Basically the same when Germany would now be ruled by the Nazi party, and you would claim they didn't really do anything bad.
Nope, older GPUs just get basic support, while the older proprietary driver, more feature rich, don't work in modern kernels.
The problem is insufficiently analysed by the article author and the commenters in this thread so far. It is very superficial. The recent thread "Can’t use iCloud with “true” as the last name" https://news.ycombinator.com/item?id=26364993 went deeper. Let me take up its relevant particulars into this thread.

The article author hitchdev does not say it outright, but it is heavily implied that the YAML file was edited by hand. This is the immediate cause of the problem. The indirect root of the problem is that the spec authors chose a plain text serialisation format and thus created an affordance http://enwp.org/Affordance#As_perceived_action_possibilities to be edited by hand.

This turns out the be unsafe/source of bugs because YAML end-users are not capable of correctly applying the serialisation rules considering the edge cases detailed in the article because humans are creatures of habit, applying analogy and common sense, making assumptions and then sometimes go wrong, whereas a piece of software will not make the Norway, Null etc. mistakes. hitchdev even writes that quoting the string is "a fix for sure, but kind of a hack", but that's a grave misunderstanding. Quoting the string here is actually applying the serialisation rules correctly.

The tangential at the end of the article about typing is also orthogonal/irrelevant. YAML is strictly/strongly/unambiguously typed, and so is the mentioned variant Strict YAML. The difference is that Strict YAML has serialisation rules that are more amenable to or aligning with the human factors of habit etc. and thus work better in practice.

My personal recommendation is to never edit YAML by hand and always use a serialiser. This is less convenient, but safe.

In closing, I would like the reader of this comment to make an effort to distinguish between "what is" and "what ought to be" in their head, otherwise the ideas here will be very muddled.
> 1. If I scribble some one time code

.... and here is another entry for Walter's list of bad ideas:

4. "It's okay. I will use this code only once"
I used to work at a place where every workstation was a $5000 Mac. I quickly found out those things are clunkier than my $600 laptop, and way clunkier than my ancient desktop box. As a Linux user of many years I didn't enjoy having to deal with my workstation.
I would have agreed with you but sound input broke for me (Lenovo flex 14 with AMD R5 3500U) on fedora with kernel 5.8 and didn’t get fixed until 5.9. That was months of something being broken. How did this happen and more importantly did we learn anything to prevent this from happening in the future?

For now fedora is on an old desktop machine with an ancient i3-2100 processor and I just ssh into it.
It very well might be a combination of both.
I didn't read the whole paper to find if they have ruled out aging world population. But, I believe there is a decline in sexual desire in general, especially in young adults. There can be so much correlation in so many areas, the title is just too broad.
We first cancel all people with BLM/LGBTQ support profiles while discriminating against Asians and Indians in real life.
Some Intel GPUs only got Vulkan support on Windows.
What you can (and can’t) learn from Gitlab about remote work
> never edit YAML by hand and always use a serialiser

I don’t follow this. If yaml is your config format, and you are not editing it by hand, what are you editing?
> One challenge for future studies is to understand why women value their partner’s orgasms more than their own.

I do not find this surprising. Most of my friends and I also value the other person‘s orgasm over our own, regardless of gender.
> Or more generally, you can extend that to any ThinkPad or Dell device without a dedicated graphics card and you will have a good Linux experience.

That isn't true. The X1 Carbon from 2019 didn't have a working microphone driver for over a year.

If you care about Linux you should only buy a machine with Linux preinstalled and officially supported.
It is surprising how most of the responses here seem so sympathetic to Egypt whilst forgetting the Nile countries who have had less benefit from a river originating in their territories.

The Black African countries have as much right to benefit from the river as Egypt and the idea that they must submit to some agreement created by the British who ignored the needs of Nile countries is simply absurd.

If any people "own" it is the Ethiopians, the Kenyans and the Ugandans in whose countries the Nile originates not Egypt, and they have as much right to it as anyone else. Instead of having proper negotiations on how the Nile should be shared they bringing up colonial agreements which none of the African countries were parties to. This is simply absurd and as racist as anything else.

Gadaffi created huge pipelines to draw water from aquifers, a resource which is way more valuable than oil, and offered to supply a substantial portion of Egypt's water needs and these fools supported his overthrow and turned the whole country into a scene of chaos, and now they are making silly noises about war with Ethiopia and other crap.