skysight-inc/HackerNews huggingface dataset:
QuickSort using middle element or median should perform optimally no?

The middle (median) element in a sorted array has only less elements on the left and greater elements on the right, so the first pass of the quicksort would do nothing and not recurse further.

Or am I missing something?
IANAL but I put in my S.O. profile that all my contributions are public domain / CC0. I suppose that makes them dual licensed?
> Are we really talking about a "flawed algorithm", for example, or simply the encoding of a badly designed government process?

Isn't that the same thing? If you take a flawed algorithm haphazardly implemented through government process and reify it in code, that doesn't fix any of the problems with it, and it may well make the situation worse by removing flexibility or the possibility for human intervention.
> I am disappointed whenever I see Bill Gates mindlessly applauding Aadhar. It is easy to side with technocratic ideas from just reading headlines, but if a biometric surveillance state is such a great idea he should have it advocated for it in the US first.

I agree with this. It’s not acceptable to use the developing world as a staging box for ideas and policies that are, at best, in beta and likely to have bugs.
Fastvideo company has released BRAW player and converter
CRO Hacks That Will Boost Your E-Commerce Sales
C++ standard library implementations use introsort, so they never hit quicksort worst case.
A Big Little Idea Called Ergodicity (Or the Ultimate Guide to Russian Roulette)
Simple but Tricky JavaScript Interview Questions
>strenholme wrote:
>Anything a GPL library touches in a bundled executable taints the entire code, forcing it all to be open source.

How is it that I can tell that you are a layman idiot, and also a white?

Ask yourself: is my code that links to a GPL library a non-separable work. And is my code that links to a GPL library derived from that library?

No and No.

Sure: you may be sued.
But the copyright holder of the GPL'd library will not likely win.

These are simple concepts. Are you white programmers dumb idiots?

Note: Copyright holders of GPL'd software don't even sue blatant violators such as GRSecurity and Brad Spengler ( https://perens.com/2017/06/28/warning-grsecurity-potential-c... ) who create violating non-separable directly derivative works, adding no-redistribution-or-else additional restrictions to the work in blatant violation of section 6 of the license (GPLv2).

strenholme: this is the second point of law you've been corrected on. Since you're not a laywer, maybe you should stop commenting on the law? Because you are a stupid idiot?
Ask HN: Anyone Having iTunes Connectivity Issues?
This morning, when I attempt to use iTunes Radio/Browse tabs (macOS 10.14.6 iTunes), I only get "An Error Occurred" with "Try Again" button. Restarting iTunes and the MBP results in the same behavior. Any known outages here?
Are you familiar with all the Windows Button shortcuts?

Win+# changes to that application in the task bar (Win+1 is the app nearest the start button, etc). That lets you develop a lot of muscle memory for switching between apps if you pin things to the taskbar; for me Win+1 is always my browser, Win+2 is file explorer, and so on. Win+Up maximizes a window, Win+Left/Right docks to half the screen, Win+Shift+Left/Right moves a window between monitors.
My Vision of D’s Future
but what pronouns did they use?
With a few exceptions; 80% of the market is Hass.

One of the exceptions is South Africa, where other varieties are common, but Hass is still a majority. Also note that there are new "Hass" varieties that are essentially mutations of the original Hass (it would seem; often it is not certain what the actual DNA of the variant would be or how it came to be).

Note that the Dominican republic is usually listed as a top 3 producer, but none of it is Hass and none of it is exported.
It's amazing how HN has a tradition of every day I'm+ making the same tired comments on the same topics (matpakke, Apple, Google, China, Java,...) including mockery of other bland repetitive traditions like matpakke lunch. Over on Reddit they call this "self-awarewolves".
Interview with or Levi on Fake News and AI
Transitioning from postdoc researcher to gig-economy scientist
proper threads.
Bitcoin Burn Addresses
What are your thoughts on the process of burning Bitcoin at unspendable address? Do you feel as though limiting the total supply will raise the price? Thanks in advance!
> Do you mean they had a private dpkg/yum repository?

Two things:

All libraries were collected into a single repository in source control that developers would clone onto their machines and use. These were the same libraries that were installed on the production servers. Very consistently, modulo major platform migrations and the fact of running multiple server OSes in production.

Binaries were named and versioned tarballs that were deployed by just unzipping them on the target server. That was all that was necessary, regardless of server OS, because of the abovementioned consistency in what shared libraries were installed on the servers.

With those standards in place, CI, CD, configuration management, all those sorts of things became just wildly simple.

It's a bit like Bazel's golden handcuffs: If you're willing to let go of the basket case of flexibility that C and C++ have traditionally offered, Bazel can deliver you a build system that's just a dream to work with compared to old friends like autotools and CMake.
Organizational charts of large tech companies by M. Cornet
Since I started seriously using it for my home server, I decided that I never want to use any other file system on any of my machines, it's that good. I use it on my desktop machine and will never look back. Snapshotting can be beneficial for any kind of machine for example.
You're basically criticising the author and then taking credit for the idea that we need public discourse.
It doesn't work very well, though. They're still at the mercy of reddit's advertisers.
> They should and they can. Either have a separate publication, or at the very least have a separate, clearly delineated "Opinion" section. Otherwise you run the risk of media trust becoming very low, and thus media losing its ability to guard the republic (or the democracy).

Practically it is impossible to separate the two. Even news reporting doesn’t usually come free of editorializing. There are places where you can go to get ‘just the facts ma’am’ but newspapers have never and will never be those places.
Fedora Silverblue aspires to implement read-only root for a general-purpose distro. The main cost of their implementation is that you have to reboot after installing or upgrading packages to make the changes effective.
> I'm curious about how a long term economic recession could change people minds though.

At what point will be start going up Maslow's hierarchy of needs and what more that material / economic satisfaction? Will there come a point when people feel "rich enough" and want other things?

Recently the vlogger laowhy86 and his Chinese wife have moved to the US because things have gotten a bit too 'totalitarian' for him in China:

* https://www.youtube.com/user/laowhy86/videos
Whaaaat are all the godocs available offline? Can I access this via the terminal?

That's amazing
Synology, which is linux based, is really high on btrfs, otherwise I have not seen a lot of use cases.
Your theory is that tens of thousands of people are hungry after eating lunch every day and didn't notice they aren't eating enough?
I think this study is missing something - adults are expected to walk slow sort of.

As a kid, I ran everywhere - even on errands. As an ambitious teen in uni, I walked very fast like I was stepping on hot coals until I got this girl who wasn't my "girlfriend" but we spent a lot of time together. Then she trained the speed-walking out of me. At first, I was always in front of her without realizing it. Then like a puppy on a leash, she'd tug me back until her speed became my normal walking speed.

10 years later, I still walk at that pace and run out of breath whenever I walk to get out of the hot sun.

As an adult, I'm expected to walk at a measured pace. There are times I'd want to just jump and start running but I can't, cos people would think I've gone mad, unless I have an excuse - rain.

So I'll say the gait speed of adults is more of a measure of how they have been walking for years.
Next UK Tier 1 Supercomputer: Rome CPU Based
It's not about you, it's about Norwegians.

The snark started with you insinuating that somehow a time-tested diet is not possible, because it's different from yours.
Don't get why people want floating functions. It makes easier to do bad coding and architecture imo. At least you must namespace them;
That's just restating what Nostromo already said. Can you address the several arguments that were made as to why it's not equally applicable?

It's fundamentally obvious that the current market for food is working fine, and the current market for many crucial medicines isn't. InvisibleCities may have missed the mark as to why, but "nuh uh, they're the same" is not a convincing counterargument.
I never understood why they didn't port IQueryable. I never really updated my Azure functions from runtime v1 to v2 becuause of that. Dealing with Table Storage without it is a pain in the ass.
This is true, and I can see how technology may make these kinds of problems worse, but the underlying problem isn't the algorithm itself. The real problem is the process.

These are two distinct things. Understanding how technology exacerbates the problem is one thing. Attacking technology as the source of the problem is another.
I find this article completely inexplicable. Is there a shortage of Yew trees? If not, why would there be legal protection?
> I'm curious about how a long term economic recession could change people minds though.

What is the 'cultural priority' of the Chinese people?

> But, with only very few exceptions, they really conceived of liberalism not as an end in itself but rather as a means to the decidedly nationalist ends of wealth and power. They believed that liberalism was part of the formula that had allowed the U.S. and Great Britain to become so mighty. [...]

> It must be understood that liberalism and nationalism developed in China in lockstep, with one, in a sense, serving as means to the other. That is, liberalism was a means to serve national ends — the wealth and power of the country. And so when means and end came into conflict, as they inevitably did, the end won out. Nationalism trumped liberalism. Unity, sovereignty, and the means to preserve both were ultimately more important even to those who espoused republicanism and the franchise.

* https://supchina.com/2019/07/22/why-do-chinese-people-like-t...
Reading comprehension and speed can both improve with practice. This is a fundamental building block of the "learning how to learn" that school is generally teaches.
there is a v2.0 version of this here, it may still be a WIP: https://www.wespiser.com/writings/wyas/home.html
Create your itinerary on-the-go, meet people and bring back home a story to tell
I had multiple cases when a system upgrade broke my system but a snapshot saved my ass on my home server.
> ...Gosling's account is false and defamatory, and omits the crucial background fact that the program he sold to Unipress was an imitation of a program Stallman had devoted the last seven years of his life to, …

So, was Gosling's program an imitation or a copy of Stallman's work? I'm unfamiliar with the actual history, but isn't that a relevant distinction in this case?

> ...and the subsequent fact that three months after the initial release of GNU Emacs, Stallman had removed the disputed code.

Is there a you-can-use-it-for-3-months exemption for copied works? Also, why remove it at all if it was an "imitation" of his original work?
I agree with the author that we need a public discourse. I'm pointing out that starting the discourse with such a biased and undisciplined approach is counter-productive.
Unfortunately, a statement like that, has just as much value as the conspiracy theory. Since 5G is a vastly different technology, the only thing we can say for certain is that we don't know the health risks at this point.
I don't know if there's a published rationale for the CPU-only system (modulo a small GPU add-on).
Doesn't use many of the advanced features though e.g. RAID is done using standard Linux mdraid with a btrfs partition on top of it.
Gitlab Customer Acceptance Policy
No. 2.4 GHz is in use, as is 5 GHz. Now suddenly 3.4 GHz is a problem?
Hey All!

We recently launched our iOS planning app for solo travelers and are excited to get people to solo travel easier than ever!

Plan your trip, meet people, and stay safe – all while sharing memories of your journey on the go.

Step 1: Choose your interests
Step 2: Choose either or not you want to meet people
Step 3: Get your Itinerary for the day & add your own content - photos, short videos and notes.
Step 4: Turn your itinerary into a story video to share with your loved ones, publicly or privately.

TravSolo champions independent travel, promotes diversity abroad and instills the freedom to travel at the beat of your own drum. Traveling alone doesn't mean spending your trip alone or that you don't have friends or family, it means you stopped waiting for others to live your life your way.

Disconnect while staying connected. No more editing or getting distracted with endless feeds or notifications while traveling. Allow your loved ones to follow your journey wherever you go, in real time. Travel blog easier than ever without the hassle. Connect with travelers, meet locals and backpackers when you’re traveling.

Solo travelers are active people who want to see the world but want to do it safely. Currently, there is no travel app focusing on women safety concerns.

Available to download now on the App Store in North America and Europe .

--> https://apps.apple.com/us/app/travsolo-solo-travel-easier/id...
To be fair, I work in finance and the people who are successful are often pretty "stupid". (CAs, I am looking at you.) Whatever it is that an IQ test scores, it doesn't score for success in business or in "life".

In order for this not to be a useless post, FWIW: most mathematicians that I know and that are highly regarded would not do well in IQ tests, I would think. The clever ones solve problems and move on; the pioneers are less clever, more committed and more random, idiosyncratic.
These days 32G is starting to become more of a necessity as apps take more and more RAM. And if you're a gaming, 8G doesn't cut it anymore for some games;
Vastly different how?
This was really interesting reading on the early days. Aloha net with carrier sensing grew into AX.25 amateur packet radio but the hidden transmitter problem meant throughput wouldn't exceed something like 30% (if I'm remembering Phil Karn ka9q's calculations correctly).

The human aspect of computer mediated communications is likewise fascinating. NJIT's Murray Turoff and Starr Roxanne Hiltz performed substantial research into the problems we still face in collaborating and communicating electronically, including issues of reputations for pseudonymous personages and anonymity and beneficial mechanisms to support them. More so they implemented it in the EIES system.

Their book "A Network Nation" remains in print and relevant. https://www.powells.com/book/network-nation-revised-edition-...
I think in this context, it is meant to describe how the underlying hardware AND software work together and to describe the potential cloud (public or private) opportunities of both.
> We'll never have the quality of discussion that's needed while there are fear mongering reporters like this subverting that conversation to the level of luddism.

We can and it's actually happening. So called "dangerous" journalism and "quality" discussion are not mutually exclusive. The article actually mentions one such discussion happening at the level of the UN, an inquiry headed by Special Rapporteur Philip Alston.
Holochain for Web Developers
> when the glycaemic spike would hit (often just from a bit of salad, but with lots of olive oil)

Hmm, what other ingredients did you have in your salad? I would think the relatively low-carb (mostly leaves) and high-fat (olive oil) meal would cause a very minimal blood sugar spike, if one at all.
This entirely misses the fact that zfs (open zfs/zfsonlinux) is open and cross platform.

Which is almost more interesting than all the good stuff that comes with zfs (volume management, disk management, software raid-like functionality, encryption, snapshots, send/receive).

Its the first time we truly have a half-modern filesystem with safe write support and sane performance across many different os's. Even if just made dual booting freebsd and Linux this would be a fmgreat win imnho.

If the choice is between zfs and fat32...
To change your life, learn to write
Because many of these yews are hundreds or thousands of years old.
It's not an exceptional use case at all. f-strings are pretty much useless for any non-trivial formatting:

1) customizable templates (can't allow the user to access arbitrary variables)

2) i18n (can't allow the translator to access arbitrary variables)

3) complex values being passed to .format() instead of some variable
The location thing is a pretty big deal because they need permits to occupy the space. They also require someone to take orders and exchange money. And to your point, since they sit in one spot all day, you order from them if you come across one, not because it pops into your mind that it’s an easy option at home.
Turkey Is Stepping Up Where Others Fail to Act – Erdoğan
The main use case is I have a project with a setup.py that has the normal stuff in it, and there's a main entry point in one of the files. I then make a dockerfile that installs that package in a container and runs the main file as the entry point. Ignoring things like ports, it would be nice to emit a standard dockerfile like that, since it's very common.
Nobel Laureates Aim Too Low on Global Poverty
Honestly, I was hoping the article would contain digital approximations of what the pictures looked like before they faded.
Btrfs is still out there and in use. But most people think ZFS is better and there is still more use and development of ZFS compared to Btrfs.

Btrfs has a bad reputation because to many people lost data, including me. I would never again use Btrfs, only ZFS.
"but now when Rails-based companies have to scale they end up using Java or JVM-based infrastructure." Ya, Shopify begs to differ with you on that one. It's trendy to migrate a dynamic language to typed one because that's the first thing some CTO's who came from typed background want to do...it's hardly about scaling imo. Isn't Shopify proof Rails can scale?
I think one of the concerns is in the past a cell tower would cover a large area and thus not many people were close to them.

Now with 5G towers and their much shorter range people are finding these all over the place, in cities on nearly every block and thus many more people are much closer to the towers than before.
I am using it on my mini server for around 10 years (freebsd 3x3tb as zraid + 10tb disk for casual things) and now on laptop as a root for fedora and I wouldnt part from it. It is the only fs with snapshot capabilities that i fully trust. It didnt crash even once. It is battle proven and I never understood why distributions are not including it as a default or at least as a part of basic installation. Although I would avoid encryption for a few years. Just for any case.

One thing if you start playing with it (I am surprised how little users know about this feature): you can access the snapshot content using hidden "directory" /.zfs/snapshot/snapshotname ;) Just cd into it.

One word of warning, near end of pool capacity it will start to fragment (there is no defragmenter for it, but if they have made implementing encryption, defragmentation shouldnt be far away) and performance will drop. Dont let it happen, always keep 10-20% free and dont forget about old snapshots size.
Thank god we won't. Functions outside classes never did make sense to me. People love to hate classes sometimes. For me, everything starts at classes and structs;
There is a BIG difference between "always moves to the end of the function for error handling" use of goto, and general unstructured control flow goto.

The former isn't significantly different than exceptions, except that it's probably less likely than exceptions to cause unexpected errors because its more explicit.

At a very quick glance that's what the goto usage looks like in the codebase. This isn't to say that I think it's all appropriate, but if it was, I don't think your comment would have been any different.

There are a lot of really hot opinions on coding style and various fashions, but very little of it is backed up with research that connects it to defect rate.

I agree it would be good if sudo had an internal test suite (particularly system tests and fuzzing harnesses)-- but you also shouldn't discount the large amount of testing that goes on against it externally through both usage and external efforts.
We'll definitely be talking about 6G in 10 years because the carriers and device makers need something to sell [1]. At the end of the day it's just a label to get new tech developments into the market.

And history has shown that even if the 6G spec is unobtainable then in 10 years the carriers will water it down so they can claim "6G" capabilities [2,3]. I don't necessarily disagree with this because 10 years seems to be a good interval to introduce incremental improvements.

1. https://www.pcmag.com/article/360533/what-is-6g
2. https://www.howtogeek.com/399560/5g-e-isnt-real-5g.-heres-wh...
3. https://gizmodo.com/the-dirty-secret-of-todays-4g-its-not-4g...
> The prefix is just a shorter hash

With all due respect, this makes no sense whatsoever. You can't make any meaningful conclusion (in isolation, or even with small enough/random enough datasets) about the content that was hashed from only a part of the resultant hash, that's the whole point of how hashing works.
The tree in question is between 1,500 and 5,000 years old.
The problem with that attitude is that we all live in glass houses.

Unless you truly believed that if we were to go through your life with a fine toothed comb, nobody could find anything at all objectionable?
Six Emerging Advanced Manufacturing Technologies Developed by NASA
I’ve read that before. The core issues are not addressed or are glossed over as of course that’s a pro bitcoin advocacy site. Bitcoin is fundamentally broken at the lowest levels.
‘Unpatchable’ iOS exploit could lead to permanent jailbreak for iPhone 4s to X
5G safety is a long story, but the tl;dr is that it's not something to worry about. I tried to explain this a while back in a long thread here on HN. I tried to cite many scientific articles with more details. Please refer to that if you'd like. Maybe I'll write a blog post some day.

https://news.ycombinator.com/item?id=20454375
Honestly, if I didn't read Hacker News and get exposed to this stuff I'd assume someone asking to be called "xe" was obvious trolling. I mean, who spends time inventing a non-existent gender with a word that is equally non-existent and then flames everyone for not using it? That sort of thing is classic trolling behaviour.
Intel: Yes, There Will Be 10nm Desktop CPUs (Updated) – Tom's Hardware
Jigsaw puzzle design of pluripotent origami
Refusing human rights is a touchy subject, especially when the violators of human rights pay so well. The corrupting influence of money is becoming more and more widespread. Pretty soon, perhaps the only way to avoid human slavery will be direct payouts to the powerful, as if that isn't slavery already. Perhaps we're already there.
Aftermath: 42 seconds
One person need not be both sides of the argument. One journalist can bring out as strong of an argument as possible from one side, while another does the other.
Flash Memory Wear Killing Older Teslas Due to Excessive Data Logging: Report