skysight-inc/HackerNews huggingface dataset:
I use Duplicacy [free CLI version] [0] to back up to Amazon S3. My backup is currently around 160GB and my monthly S3 charge is usually a few cents over $2 [extrapolate accordingly for higher storage needs].

It would be cheaper still if I used Amazon Glacier but I prefer to have the speedier access, when needed.

[0] https://duplicacy.com/
Hi, author here,

While yes, running a coroutine in a new task is in the standard library, that is only a component of what this library does, which is:

- given an async iterable,

- iterating over it in a new task, into a buffer,

- and then returning an iterable that yields values from this buffer as it's filled.

I don't _think_ this logic is in the standard library, at least not at https://docs.python.org/3/library/asyncio-task.html#asyncio.... from what I can see.
Criminals abrogate themselves from that responsibility by committing the crime. Their obligations are no longer relevant until the use of force is applied to make them fulfil that obligation - i.e. they are arrested and prosecuted. It is innocent civilians (i.e. non-criminals) who are fulfilling their responsibility to NOT commit crime - criminals are beyond that point.

America is getting away with its war crimes and crimes against humanity, simply because there isn't a system by which it can have its obligations not to murder millions of people enforced by external force. Yet. That day may change, one can only hope ..
windows terminal is good for opening powershell and wsl2 linux shell together. cmd as well. it's handy sometimes but i still find myself using powershell and cmd more than linux though.
There's been several articles and HN posts about chromium's nxdomain/intranet detection feature and its impact on root DNS traffic that may give a hint.

https://news.ycombinator.com/item?id=24231857
https://news.ycombinator.com/item?id=24270369
Rusty's API scale captures this approach really well:

How Do I Make This Hard to Misuse?
https://ozlabs.org/~rusty/index.cgi/tech/2008-03-30.html

What If I Don't Actually Like My Users?
https://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
Fairness Definitions Explained [pdf]
No. It has been far more hassle than its worth. After trying for 6 months to make WSL a part of my development environment, I've given up, wiped Windows, and put a proper Linux distro back on the machine.

The whole WSL thing is a distraction and no sane developer should fall for it. Just run Linux in a VM if you need it - glomming Linux all over Windows is embrace/extend/extinguish levels of stupidity. We should be over that by now.
This is not a retort. The claim is not that photo ID is unforgeable. The claim is that "it would ameliorate a lot if it meant that people had to show up in person somewhere".
> Do you learn and use all of any language you use? yes for Python

Have you really used all of these Python features (from https://twitter.com/raymondh/status/1280988785841278976)?

__class_getitem__, __init_subclass__, __prepare__, __qualname__, __slots__, __spec__, __annotations__

__subclasshook__, __abstractmethods__, __text_signature__, __index__, __loader__, __mro__

I've been writing Python for years, but I've never even heard of half of them.
I give it a quick skim, unless it’s something that interests me on a deeper level than “this is just some code”. It’s essentially a somewhat deeper fizzbuzz test, if someone has half decent code which shows baseline knowledge I’ll skip doing a screening test.
Maybe on Ubuntu. I'm talking about the ``manual'' installation to which everyone not using Ubuntu must resort.
Shedding light on shadow spread
It's easy to see how it got to mean "follow an idea of perceived potential high rewards", especially since the phrase itself sounds (vaguely) positive. Since people started using literally meaning figuratively, such changes no longer surprise me.
What did you have to do to fix your connection issues? I've been getting weird WSL2 problems with the network for the longest time, maybe what you did might help me too.
Beyond Media Queries for Responsive Design
Different socialist policies had different impact on health; some of them positive, some of them negative.

On one hand, universal healthcare, because universal everything. Great!

On the other hand, factories were treated like objects of worship. Like, in the middle of a city, a huge factory is built, poluting all the air and water, thousands of people get cancer, the life expectancy in the region decreases by five or ten years, but hey, more factories = more progress. If you complain, you get arrested.

Also, the healthcare was a bit factory-like. For example, c-section at almost every childbirth, because it's more efficient that way. (Secret mandatory sterilizations after third child for minorities.)

Then, when the socialism was over, the universal healthcare remained, the factory in the middle of the city went out of business, people finally started complaining and some standards in healthcare were increased... and now we have the best of both worlds!
> "The phrase originates from events in Jonestown, Guyana, on November 18, 1978, in which over 900 members of the Peoples Temple movement died. The movement's leader [...] Jones proposed "revolutionary suicide" by way of ingesting a powdered drink mix lethally laced with cyanide and other drugs which had been prepared by his aides."

TIL. I always thought the expression somehow referred to the drink itself, or perhaps its brand.
> due to that "strategy"

People put scare quotes in seemingly at random these days - are you suggesting it's possibly not their strategy and actually they're lying? What do these scare quotes mean?
A Code Red: Network Edition
Put a comment in the file with the exact commands to turn on and off immutability. This is just good practice for most things. Having a maintenance text file with all the system stuff is a secondary good practice along with the comment.
I kind of miss bash, after being forced to move to zsh, because bash is generally faster, and consumes less resources - but with oh-my-zsh, I kind of get the point, because darn it is pretty, and I continue to blow away some of the greybeards in my group when they shoulder surf and see me type 'z something' -> goes to /some/monstrous/path/to/something .. this, for some reason, always gets oohs and aahs ...

Just, gotta remember, that feeling like you need to upgrade your laptop just because you changed SHELLS is rarely a good sign.
If you can't beat 'em...
No, I'm still not using it because my Thinkpad (X1 Extreme 2nd) still doesn't offer the Windows 10 2004 update for installation, so I don't have WSL2, only WSL1. Does anyone here know what's up with that?
Effectively final vs. final – Different behavior
For those who like me were not sure that the `calloc` call would necessarily allow to tag the returned pointer, I found the explanation in a previous post of this article series:

> It’s important to note that we can only accomplish this tagging scheme because on modern computer systems the lower 3 bits of heap-allocated pointers are 0 because allocations are word-aligned — meaning that all pointers are numbers that are multiples of 8. This lets us a) differentiate real pointers from fake pointers and b) stuff some additional data there in the real pointers.

It's what I suspected, but I didn't know that it was actually safe to assume that.
> a possibly doomed or dangerous idea because of perceived potential high rewards.

IMAO the right term. If you think Linux development is cool and awesome then doing that on a Windows machine is about the worst choice I can think of. The operating system that invades your privacy so aggressively that you become the product after you have bought a license for a couple of hundreds of dollars.. With all the awesome free Linux distro's available it keeps stunning me that people are willing to pay for an OS that is being made to invade and milk your life..
Not the article I was thinking about, but it has the same ideas. Thank you very much.
Don’t Worry If Bitcoin Price Is Falling, You Still HODL the Same Number of BTC
Managing Feature Toggles in Teams
It's a feature, not a bug.

Java is stable, and evolves with a huge amount of thought (they employ theorists to model the impact of changes to the Java language even.)

The benefit of this is a long-term platform, and an excellent implementation. Due to this Java has become the platform where the majority VM research is done, which means Java has many excellent state-of-the-art garbage collectors and a JIT a level beyond that of C#.
Yeah, I haven't used Windows properly in decades, and a recent sojourn into its new territory has left me befuddled - how does anyone put up with all that crap? So many things getting in my way of productivity, just straight out of the box.

I have a session scheduled with a Windows-guru friend of mine, to show me how to turn ALL the non-productive shit off in a base Windows 10 install, but frankly I'm terrified of the consequences. Basic OS things don't even seem to work when you don't let Microsoft track you - WTF, people?!!
Does storing bread in the fridge make it last longer? (2019)
They are saying is not a very strategic strategy
The handling for the resolv.conf file is embedded in the libc and is larger than Linux. This whole issue is a failure of the Linux distribution community to come up with coherent standards for managing a simple text file on a system using DHCP. The solutions today are horribly complicated and appear to optimize for laptop users on simple, naive networks. I have no idea why I have to mess with any of this garbage on my servers.

No, we need to get back to software like it was in the early 2000s when people cared about consistent, long-term behavior instead of re-inventing everything because laptops.
Yet one more reason to push for antigen testing for asymptomatic people. Those will detect a likely live virus, albeit with lower sensitivity than the PCR test.
This is how Uber matches trips[0]. Optimising not for the fastest pick up for any one rider, but to reduce the total time of arrival in the whole network.

[0] http://blogs.cornell.edu/info2040/2019/10/23/uber-ride-shari...
Agreed. And to add, if you have no knowledge of SEO you'll probably be better off with Wordpress (+ the Yoast SEO plugin), but if you know what you're doing you can achieve the same thing with a custom CMS.
This doesn't take into account that the vast majority of Arabs are Muslim and learn the intricacies of Quran and Quranic Arabic as kids, so they will understand it quite well.

Speaking Arabic natively makes a huge difference in that the resources for understanding Quran are all available to you easily, both linguistically and culturally.
How to use JAMstack with the server side and enterprise app
Solving differential equations symbolically[^1] is a classic pattern matching problem though. It takes a lot of practice recognising which equations can be solved with which method/heuristic, but in the end, the available heuristics are somewhat limited in number and so it's not unreasonable that an ML model would perform well here. Notice that you will still need to actually check your result in some way or the other, because ML models can generate false positives and you really don't want that in maths; so it's not that you're replacing rule-based systems, you're just augmenting them with other approaches (and of course, verifying the solution to a differential equation is basically a solved problem in symbolic analysis, since taking derivatives is a simple rule-based procedure[^2]).

I think theorem proving is much different. The space of possible heuristics you may apply to a proof is basically infinite. It can take a tremendous amount of creativity and intuition to come up with a complicated and novel proof. While I can see ML models being of use for simpler proofs or lemmas within bigger proofs (such as simple epsilon-delta proofs etc.), I have a hard time imagining that they will really be able to do real proofs anytime soon.

[^1]: I emphasise "symbolically" because it is my understanding that outside of simple situations and university lectures, most people don't bother with that, instead solving differential equations numerically.

[^2] There are some subtleties around the fact that, afaik, deciding whether two expressions are equal is undecidable in the general case because at some point you will have to compare e.g. coefficients and the equality of real numbers is undecidable. In practice, you will consider two numbers to be equal if their difference is below a certain threshold, which could in theory also yield false positives, but I find it unlikely that this would occur in practice in the situation of solving an equation.
I've spent hours on figuring out Dns related issues in Ubuntu and always wonder how such a basic part of the OS can become such a huge mess... Impossible to figure out for average (/non techies) people.
My proposal.

$ cat /etc/resolv.conf

# DO NOT EDIT THIS FILE. This file is currently under the management
# of NetworkManager. It's automatically generated according to the
# DNS configuration of the active network connection in NetworkManager.
# Any change to this file will be overwritten.
#
# If you are trying to change your DNS resolver, it's officially recommended
# to set it within NetworkManager on a per-connection basis via "nmtui", "nmcli",
# or alternatively, by editing files under "/etc/NetworkManager/system-connections/".
#
# To stop NetworkManager from managing it altogether, edit
# /etc/NetworkManager.conf, set the following and
# restart NetworkManager, before you edit /etc/resolve.conf.
#
# [main]
# dns=none
#
# If you are trying to set up a stub DNS resolver, it's recommended to
# invoke NetworkManager's builtin support. Set "dns=dnsmasq" or "dns=unbound"
#
# See "man 5 NetworkManager.conf" for more details.
One might argue those colleagues would never have moved to Linux in the first place. Virtualization has been available for how many years? You either get tired of it and switch to get the real deal™ (that's what happened to me many moons ago), or you simply don't care enough (I've been hearing these "I don't need it, I have virtualbox" long before the very idea of WSL).
It’s not that Wozniak.
The OP is not talking about mundane things, such as remember the difference between implode and explode in PHP. They are talking about a a deep feeling of incompetence. I believe that imposter syndrome is more prevalent in the software world because, unlike auto mechanics or surgeons for example, we are not give a chance to watch the process actually take place, we only see the results. We see the finished code and don't know how it was derived. Imagine all we got was: car works again, now you fix the next one
What I like about "lest" is that it demonstrates that the present subjunctive as a grammatical category is not quite dead yet in English. A native speaker of English knows that "lest it seem" is right and "lest it seems" is wrong, generally without ever having been taught this or knowing what to call this distinction.

The so-called past subjunctive is more easily found, though it's losing its distinctive form (there's only one). People say "if I was" instead of "if I am" when they're describing a present contrary-to-fact state -- "If I was rich, I'd buy a Tesla". You can see that this is a past subjunctive, not a simple past, because it isn't past at all but present and contrary to fact.

So English still retains the subjunctive! Yay!
Complex Adaptive Systems (ii): thinking about emergence and ITSM
It's a pretty terrible read on my mobile phone. The typeface is very thin and combined with the varying tracking and massive leading it's just hard to read.

Firdt off, the maximum line length should be between 50 and 80 characters roughly, not as many words as your display fits.

Justification instead of hyphens is also abhorrent and I don't know any justification (hehhehh) for why one should use it at all even. I know it's traditional in legal copy and sometimes in news papers but with proper hyphenation (which is possible with CSS these days) I would strongly recommend never to justify anything on the web if one can avoid it.
In my now over 25 years of dual-booting multiple OSes (usually Windows, Linux, and *BSD) on multiple machines, I've never had Windows nuke other partitions during updates.

Never. Ever. And I'm one of those crazy people who don't re-install Windows. My main machines have been upgraded(!!) from Windows XP all the way up to Windows 10 2004 without hick-ups and with all partitions of the other OSes intact.

I would seriously like to see some hard evidence for claims like common(!) loss of data due to lost partitions. I just can't believe I've just been lucky all those years...
Consuming Upstream Content in Your Software or Service
A Free Software OS for the ReMarkable E-Paper Tablet
> these things are often very hard to trade and focusing on providing value is usually more reliable

Good point and I completely agree. I just felt that not mentioning any of these things in an article on 'principles of design' understates the complexity of a real and principled design process.
We have already built our own compiler, it's just that a lot of work has to be done to deduplicate expressions (in part because references are stored in A1 form, this is also part of why it takes about 15 seconds to unzip the ODS and parse the XML), and even more to consolidate intermediate cells, and dirty prologues/epilogues on tables don't help (because they often mean the first cycle will be odd).

With explicit cycles, most of that work can be avoided.

Furthermore, explicit row iteration means that you can attach reductions to the generator based on the range (i.e. you have a GEOMEAN and a SUM with a statically known range), which often means you don't need to store the results of the iteration, and that also you don't have to compromise between AOS/SOA storage for reductions that can be run with the generator.

Static primitive, option, and union types are also a goal. You can think of standard Excel/Calc values as a tagged union Option type.

Also relying on Windows or macOS to edit our core sheet is kinda out of the question. None of our developers even run windows, and the majority don't even run macOS. Two of us came from a company that did that, and the Excel virtual machines were always finicky there.
I received the update to 2004 in the last week. Maybe check again?
I've never found it taxing to just copy and paste my references into a text file.
The Headquarters of Neo-Marxism
This is from the same company that thinks that a one-button mouse is a really good idea.
C# has been moving much more quickly since then, async/await comes to mind as a feature that didn't work out
My definition: Design is the process of giving 'form' to 'concept'.

The space of 'concept -> form' has many dimensions, with aethetics merely being a more contentious one. A set of 'principles for design' (or a school of design) takes a position on each dimension of this transitional space. (Constructibiliy is another dimension, for example. Cost is another. etc.)

It is interesting that OP noted the linguistic aspects of word design. A bit further East, linguistically "form" is distinguished from "image", with general notion of "drawing" rooted in the latter.
Finally get ssh/scp without hassle. Recommend using it in hyper (hyper.is) so you get tabs.
I develop on a MacBook and on a Windows 10 desktop. (And, in the past, I've used Linux as my daily driver for more than a year, so I've tried all three of them).

I have to say that WSL 2 + Windows Terminal + Powershell 7 are a pretty impressive combo, I'm really enjoying it. I've noticed performance improvements in WSL 2 compared to WSL 1 and I like having a full Linux distro under the hood, you can do things like installing that same package you use in production thanks to Aptitude, as opposed to relying on Homebrew. On Windows Terminal I can have Powershell 7 and WSL tabs side by side, and I'm able to use tools that I like the starship.rs prompt.
From Terminal to PlainText: A Brief History of My Task Management
I think there wasn’t a way for Microsoft to do this in a way that satisfied all critics.

Their XML-based format existed for a few years before it was made into an open standard, so the alternative would be a standard that didn’t describe the format of the zillions of documents ‘out there’.

Also, chances are nobody at Microsoft itself did know the exact effect of many of the more obscure flags.

So, you either get a clean start, or you get a standard that ‘all’ existing documents can be converted to without change/loss of formatting (‘all’ in quotes because there likely are truly old documents starting life, say, as WordPerfect documents converted into “WP compatible MS Word .doc”, edited a bit, converted to “MS Word .docx”, edited a bit more, converted into open office XML whose layout changed over time)

If you want the former, use https://en.m.wikipedia.org/wiki/OpenDocument.
I switched to Fedora precisely because I see wsl2 as EEE and a small part of the soft lock-in MS wants their OS users to have.

I consider it one of the pillars of Satya's Schemes, along with Tile UIs/wasted space UX everywhere, telemetry all the things, and user is ^NOT in control (we pretend he is until next update, which he definitely is not in control of).
It is not and never was.

Look at for ex. what const means in each, or auto. Or variable length arrays (feature that doesn't exit in C++). Or designated initializers that C++ didn't have for a long time.

Here is a good list of differences:
https://mcla.ug/blog/cpp-is-not-a-superset-of-c.html
I've been using BetterSnapTool for years: https://apps.apple.com/gb/app/bettersnaptool/id417375580

It's super cheap, and on top of the regular shortcuts, you can create custom shortcuts with their own specific positions, and it saves them per screen. I currently have a dozen of custom shortcuts, which is super handy for an ultrawide 38 inch screen.
> "run dnsmasq on every single machine and be done with it"

Haha this is what I do…
>Which one is it?

I believe through some accidents before or after birth lead to some people are completely unable to act reasonably. I don't think they are the people you consider "bad" but people with severe disabilities.

>Why people act like the do is irrelevant to the system you are proposing. Or are you saying that abolishing all enforcement systems will cause everything bad in the universe to disappear?

I don't think that the world is full of people who actively wish harm on others, and usually those people are trying to improve things for themselves. If we build a society based on making things good for everybody involved, these will be rare cases that society can address as they happen.

Put in simple terms, those people may currently be unwilling to act reasonably, but are completely capable in the right circumstances.
I don't know why, but I have a Logitech G MX518, and this doesn't work all the time. I assign Mouse Button M4 to activate mission control, but for some reason it doesn't do anything when I click it. I tried assigning M5, still nothing. It used to work normally, pre-Mojave. Any idea what's going on?
Top devs in India and China are usually paid on par with the managerial salaries there. I have a bunch of mates who get paid on par with/more than mid-level IB bankers.
18 is vastly different from 29
There's data recovery tools that I like to use, VirtualBox supports USB forwarding.

My last particular use case was ddrescue on an SD card, Windows would eject/disconnect the card after some number of read errors.

Any other case where I need to use a Linux device driver (RTL-SDR was another thing I used this for)
Even after reading a gazillion posts about setting up and using WSL/WSL2 I had no idea something like Windows Terminal existed!

Someone seems to have made a Quake style dropdown too for it: https://github.com/flyingpie/windows-terminal-quake which I absolutely need

Probably wouldn't have wasted so much time trying to get ConEmu/Cmder to work with WSL if I had known.
Ford will produce 100M masks once it's done with ventilators