skysight-inc/HackerNews huggingface dataset:
I don't like the --no-h change they made to the --progress format (mentioned in another comment) because it broke my parsing once, but otherwise I don't really see a problem with it and I expect most people have never tried to parse it. What's so bad about --progress?

Edit: --progress also tells you how many files rsync has been told to sync, and of those, how many are remaining.

2384908 100% 57.52MB/s 0:00:00 (xfr#1, to-chk=7/11)

e.g. transfer #1 out of 11 files or directories to check, with 7 remaining.
OK, I see. That's a good case, let me think about it.
Ask HN: Who owns copyright to your resume? Can I limit how long companies store?
Offlate, I became curious and concerned. How long can a company keep my resume? What can I do to limit them from sharing with "AI" companies? For example, if I send my resume to company_1, company_2 so on till company_10. Each of them separately gives my resume to AI company 'C' for insights. Now, I do not want 'C' to aggregate the information and tell each of these company that I have recently interviewed in 10+ places. How do I limit this aggregation of my resume? I also do not want 'C' to filter me out using an old resume of mine(may be one that is two years old). How can I limit them from storing my resume for too long?
I think you might want to trial the Thunderbird-powered Postbox https://www.postbox-inc.com/
I believe the argume is valid for order of magnitude calculations (see Geoffrey West YouTube videos, for an explanation).

+-20 years wouldn't make a difference in a log plot
The middle class is shrinking, but not because they are getting poorer, but because more are becoming upper middle class:

https://marginalrevolution.com/marginalrevolution/2016/06/th...

http://www.aei.org/publication/yes-the-us-middle-class-is-sh...

This piece from the Minneapolis Fed is also worth reading:

https://www.minneapolisfed.org/publications/the-region/where...
And the amount of money raised can then be spent on cleaning up the externalities.
May be a sign laying groundwork for an ARM Mac- the 12" MacBook is the obvious target for initial replacement by an ARM variant. By not having a side-by-side Intel-ARM model Apple minimizes market competition and direct performance comparisons.
civil disobedience is by definition non-violent. Unless by non-trivial violence you mean the violence against the protesters (e.g. https://en.wikipedia.org/wiki/Freedom_Riders)
> It is hard to emulate what rsync does with archive mode enabled, which speeds up transfers, so tar isn't exactly a replacement for rsync.

Archive mode is what tar does by default. It is just an alias for -rlptgoD. How does this speed up transfers? Are you thinking of something else?
* https://www.youtube.com/user/TheScienceAsylum - like a kid's science channel but often surprisingly deep

* https://www.youtube.com/user/lefticus1 - C++ trivia, weekly short

* https://www.youtube.com/user/whatdamath - astronomy, daily 10 min
I think you may have forgotten
to add "imho", otherwise the message looks like its telling an indisputable truth. Audio professionals don't complain about skeuomorphism and philosophies and certainly there're no worshippers, as nobody cares about the new fancy names of mainstream visual styles (btw non-skeuomorphic knobs are quite common, e.g. Ableton).

From my own experience, knobs are far superior to sliders in audio applications, as all the adjustments are typically guided by hearing, and sliders' values can jump if you click in a wrong place. This just disturbs the flow. Most of the work with audio software UI is fine tuning parameters, often by a few percent, so relativistic nature of click-drag is perfect for this. Sure, there're relativistic sliders, but they feel rather unintuitive.
Well, i think he has a valid point and it's true: Matt is a real human.
Friendly recommendation: when writing examples it's much nicer to use a real use-case rather than abstract functions like `cps4()` or `CPSadditionalProcessing()`.

Anyway, it seems that your point is that you'd like to recommend passing continuables a la callstep: https://github.com/ahdinosaur/callstep

Continuables are a great pattern, but you haven't really answered the question of why you think promises are "misguided".
Doesn't that make the difference even more stark?
You seem to be starting too abstract. Analogs help and so does starting from a point where the students can experiment and get feedback on their mistakes from their own code, not from abstract concepts. These are lessons I learned when we designed and taught a 8 week coding course for Graduate students who had never touched code before. Feedback for us as teachers was instant. (Analogs. Analogs. Analogs.) Imagine learning about structural engineering - would you rather start by prototyping bridges with different materials and seeing how different structural designs hold up better, or would you prefer to be lectured about conflicting philosophies on proper road arrangement, materials and tensile strength first.

Analog example I used (explain like they're five): Front end, backend, middleware, databases are like a Macy's animated window display. HTML is choice and order of the mannequins in the window. CSS are the colors and positioning. Javascript is the string that makes visible characters move. Middleware (Python, Go, Java) are the sales clerks grabbing goods from the warehouse (database), serving customers, and updating the window panes.

The course did a lecture on HTML/CSS first day, Javascript second, dug in deeper by debugging a snakes game in JS, Git on day 3 (failed for same reasons you mentioned), Ruby on Rails (immediate productivity was key), Wordpress installation, then PHP deeper dive, etc. One student said "I can't believe I paid someone $20k to build me a Wordpress site that I can now set up and customize myself after a few days."

Always start with immediate productivity for non CS students - let them sink teeth into the ideal outcome, then modify that ideal, then learn how to break and fix it, then dig deeper into why and how things work before going to best practices. If they don't know why something broke, they can always go back to figure out how it should work first.
> stereotypical reserved introvert Finn

Who? Huck Finn? or a cartoon character?
No matter how you phrase it I would guess the response would be something along the lines of "cannot comment on matters relating to ongoing litigation." They'll have a clever way to sidestep every issue they haven't explicitly decided in advance to discuss.
I have collected 4 magsafe chargers from the various companies I've worked at because when I returned my laptop or got an extra, they never asked for the chargers back. It was very convenient, but now that I'm on the 2018 USB-C one, I have to throw all of them away via e-waste because I have literally no use for them.
rsync do actually support profile via option aliasing. rsync uses popt(3) to parse its command line options and popt allows you to define aliases, so you can put something like this in ~/.popt:

rsync alias --sync -rpcLDvz --chmod=D0755,F0644

A call "rsync --sync foo@bar:baz/ baz" will expand the command into "rsync -rpcLDvz --chmod=D0755,F0644 ...".

The "program alias newopt opt" syntax is actually popt's thing (see Option Aliasing[1]) and it works with everything that uses popt(3) for its command line parsing.

[1]: https://linux.die.net/man/3/popt
We're talking about the design of Dark in these posts. We plan to show what Dark looks like in our launch in September.
The secret of programming, and it's greatest challenge, is that the ability to get "good" at it is largely innate. Just like you can't teach people to prove math theorems (the ones that one encounters in an elementary college proof class), you can't teach great software engineering. Near anyone can learn to build a javascript app, beyond that, to higher levels of abstraction and complexity, things become murky. It's why large tech companies ignore past experience, it proves nothing. They need to see you use abstractions from memory on the spot to ensure you have the capability. It's not perfect, but nothing is.
Nobody really cares what Dell or HP are putting out. All eyes have been on Apple for a long time and lots of people who have never even used a Mac have a lot to say about them.
Doesn't this mean that you can't use the Branded power supply with anything else? I'm so used to all my micro-usb (and hell, even mini and normal USB) based power delivery systems being 100% compatible, save using a 0.5amp supply simply won't charge my old phone as quickly as a 1.8 or whatever amp supply.

Is this untrue in the world of USB C? I haven't experienced any oddities yet with my Pixel 2
Having it be a physical key, no matter what, can screw with trying to debug key chords in an app.

And Xcode doesn't use a function key to pause, since that would also interfere with any apps that use function keys. The default keyboard shortcut for pausing in Xcode is ⌃⌘Y, and I think you have to bring Xcode to the foreground for that to work anyway.
Yes.

An Introduction to Statistical Learning
https://github.com/tpn/pdfs/blob/master/An%20Introduction%20...

Deep Learning
https://books.google.com/books/about/Deep_Learning.html?id=o...

Machine Learning Mastery books
https://machinelearningmastery.com/products/

Convolutional Neural Networks from the Ground Up
https://towardsdatascience.com/convolutional-neural-networks...

Transformers
https://medium.com/inside-machine-learning/what-is-a-transfo...
Here in Denver there is a shop where I can buy a reusable glass bottle that they will refill for me when I bring it back to buy more (soap, shampoo, detergent, etc). Perhaps supermarkets could transition to this model for everything.
In my experience the coverage is shockingly good. And if you find a case where there is no tldr, you're back where you're started having lost not more than five seconds. The failure case is graceful, so it was easy to put tldr into my workflow.
It checks the length of a password, along with an arbitrary scalar for repeated characters. It does not do any entropy calculations.

The writer of that code at least needs to read https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpubli... one more time.
I've actually been thinking at work recently that our work is very much in line with making and testing hypothesis. When we add code or edit existing code, we hypothesize that the program behavior will change in specific ways, and then we test those hypothesis via various means of manual and automated testing.

I would actually add to the above though that I think it's important people learn to approach problem-solving from a mathematical perspective. Unfortunately, a lot of people that get into software engineering don't like math, and they would generally be averse to learning about software engineering this way, but I think a lot of bad code gets written because the person writing it didn't approach the problem with the right structure or rigor.
I think it's one of those rules that is referencing a real phenomenon that is too hard to state precisely. If B is a factory class, it's clearly not applicable, but there are other cases where it's bad.
Not entirely true.

- Touch Bar clearly factors into the cost. There is simply no way it is cheaper to have this when one could have just keys.

- It adds brightness to peripheral vision. Even if you don’t use it, it is “there” as a distraction.

- It is a great way to randomly trigger events by mistake.

- This is a laptop with limited battery power, it is more efficient to have keys doing nothing than to have a touch screen.
I've sometimes found myself wondering what kernel is actually running Microsoft's new "Modern OS", and if the userspace has any Ubuntu input.
While this is true, I am also put off by the increased attack surface of a proprietary embedded OS (watchOS) running in the touchbar, outside the control of the main OS and by extension, not under my control either.

Given how much everyone around here hates similar things like UEFI and the Intel IME (with good reason), I'm surprised this one seems to slip under the radar. Probably because everyone is much more incensed about losing necessary physical keys. Classic misdirection.
Back pressure is an important concept in distributed computing. It's also an important concept in project management.

By and large, "We need changes faster than our release cycle" is a condemnation of your release cycle, your definition of "need", or both.

I've 'forced' a fast, low-stress build pipeline on several teams and nobody wants to go back to before. And much to management's surprise, people will defend it after I'm gone (I think they see it as me being control freak bossy, rather than personal trainer bossy).

They also participate in pushing back to a degree on these "emergencies" because we have a "fast enough" that is reliable enough that half the team is willing to be responsible for pushing the buttons. No, you can't have that before lunch. You can have it tomorrow morning, like we always do. Maybe you should think things through a bit more in the future?

My current project was so big and Balkanized that I haven't found enough cracks to operate this way. So things are better, but feel worse in some ways because it's gone from nonspecific pain to specific pain. This is going to be the first time in 15 years I haven't left a team with a good CI/CD pipeline.

But at least all the things you can change in between releases will be under version control.
The way this news is portrayed, as "heartwarming", does nobody favors.

The autonomic dysreflexia, which people with tetraplegia are almost guaranteed to have, is literally one of the worst feelings in the world. I promise you, and I have experienced it firsthand. This cannot be resolved by the nerve transfer.

It's not about worth or function-It's about perspective and how things have changed for them. That is what really matters. Nobody ever interviews the disabled people who participate in these sorts of things, and limitations are almost never honestly described in these circumstances. If you do not recognize the hypocrisy, then I do not know what to say.

By just portraying it as heartwarming news, it does no favors for people who are actually going through things like this. By the way, it is not at all heartwarming for us. We also cannot make informed decisions off of articles like this, and it is harmful because the bar is either set really high for us--or really low.

Our lives are tied more to "what we are worth" far more than the abled-bodied. I could go into it more but I don't want to write a really long winded post.
Getting Started with React – For Beginners
As came up the other day on HN,

Move fast and break things used to be the way that bridges were designed (i.e., build it, test it, see if it breaks, improve it if it does). I don't think anyone would tolerate that as a way to conduct other fields of engineering anymore.
Housework (2016)
Sure, there are both costs and benefits to this, which is why you should only do it when the benefits clearly are bigger than the costs.

Not every time your function line count is > 10, as I heard from some crazy company a friend worked for...

I prefer to put the broken out function(s) immediately below the main one for a logical reading experience: Overview first, details below if needed.

Comments are of course good when they are current and correct. But they rarely stay that way for long...
--progress gives you only the progress of individual file transfers.
> And that timeframe might be shorter than you'd think. My guess would be "days".

Any evidence to back up your guess, or is it just the hunch of some dude on the internet?
People dont use osx/ios because developers like the hardware. Developers develop for osx/ios because apple provides them a toolkit and lots of potential customers, and exposure through the appstore.
One moral to this story, local police are usually useless when it comes to investigating a crime. The two recent incidents I reported to the police, which included a home robbery the police refused to investigate They cycled through excuses for why they didn’t have to do anything. Pretty disappointing.
There is an old joke about the American West which goes, "Q: How do you know which people were pioneers? A: They are the ones with arrows in their back."

USB-C is a phenomenally complex system from an engineering perspective, serving at least three masters (compatibility, power delivery, and enhanced performance). As these systems go through the standards process you have vendors designing silicon in anticipation and engineers designing circuits. Not surprisingly, I have met just as many EE's who 'design by looking at something that does something similar' as software engineers who start with code that does something close and hack it into compliance.

Actually taking the time to develop an understanding of the complex system after it has made it through its final standards ballot, and then build systems with it take too long in today's market. You would bring something to market 3 to 5 years after the first products hit and were probably establishing defacto standards.

So the business side pushes to get something out, the engineering side learns just enough to get it to work in their lab, and the trademark validation/usage process is new/non-existent. As a result you will see early products that are broken in various ways until the collective knowledge and number of correct examples reaches the tipping point. After you reach that point future designs will likely work reliably because the chance of everyone involved having enough examples to start from is high, and compatibility issues will have been publicized and thus written into the book of "things not to do."
It's still quite obvious where it comes from. Many of Cocoa's controls can trace their way back to NeXTSTEP.
Title is slightly antagonistic but the text of the interview has Gates sounding like he considered Gates more of a frenemy & peer than a huckster
There's a very persuasive argument that humans exhibit aposematism; in particular, that we evolved a very strong scent as a warning to potential predators. Objectively speaking, most humans have extremely strong scents relative to other animals (especially non-aposematic animals), regardless of whether we personally find it strong or offensive. This is somewhat blunted for populations at cold, northern latitudes (e.g. East Asians) that evolved fewer sweat glands, so notwithstanding our origins there are now clearly significant phenotypic variations.

A slightly more radical theory is that we also evolved the ability to dance and chant in unison for similar reasons--to intimate predators. That we evolved to wear clothing (in particular, colorful costumes and displays) would presumably be related, if true.
The same market that the iPad Pro’s are starting to serve.....
Don’t tax actual fuel, calculate the notice fuel use based on the type of aircraft and the distance flown (so 787 is cheaper than a 747, and a flight to Cairo is less than a flight to Bangkok)

Ideally you apply this across the whole EU at the same level
Hmm. Their results seems to good to be true without using quire. Look:

The two largest/smallest exponent posit16 can represent are:

min exp: 2^{ (+14<<es) or 0x01 } * (1+0) = 2^(-28)
max exp: 2^{ (-14<<es) or 0x00 } * (1+0) = 2^(+29)

Note those numbers only have the implicit bit as significant. They don't have any space left to encode any other information other than the sign and regime.

While the double (binary64) can represent a much larger range of exponent:

min exp: 2^{ (-1023-2047-1) } * (1+0) = 2^(-1022)
max exp: 2^{ (-1023+2047-1) } * (1+0) = 2^(1023)

Also, all doubles have 52 bits of precision while the posit have at most 16-1-2-1=12 maximum bits of precision.

Their significant are encoded slightly differently though. I'm not sure if this would be enough to achieve such different result without quire.

The scaling he mention could be done very easily introducing a parameter bias on FPGA implementation. I might add that to my work.

I pinged Klöwer on twitter.
Quadrupling the memory over the previous version wasn't enough for you?
Clojure to Rust rewrite yields 17x speedup
Check out other people’s successes on r/hackintosh and use that to influence your purchases. You might need to replace WiFi cards or other specific components but following the subreddit’s Vanilla guides worked really well for me last week on a desktop. I see lots of brands of laptops that it works on too.
I’m a developer and love the Touch Bar. I’ve never had a problem pressing the escape key and I use VIM and other applications that make use of it on a regular basis.

While I’m not a fan of replacing physical controls with touch-sensitive counterparts in safety-critical settings like cars and airplanes I think the Touch Bar is a significantly underrated improvement that I use and enjoy constantly.

I wonder how many other users feel the same way but never comment?
You don't need many of the enthusiasts who are interested in setting up a community to support a much larger group of people who are only interested in the service.
Personally, I feel as though Apple got it wrong in the HIG. It is a display and it can't be treated as an extension of the keyboard (in a useful manner) given its lack of tactile differentiation. If Apple doesn't want people to look at it like a display, and the content of it is dynamic such that I don't know what the bar represents, then you can't fulfill the HIG. If Apple had an in-OS feedback mechanism that asked users, once a month, if they found Touch Bar useful or an impediment and then also collected number of keystrokes (opt-in) in that month my guess is the distribution of users who interact with their computer primarily through keyboard input will respond that the Touch Bar is an impediment. Those largely clicking for a majority or interaction would likely find it useful. Either way Apple got it wrong by assuming users would always find it better than giving buyers the option without.
Sleep Expert Matthew Walker on the Secret to a Good Night’s Rest
I really don't know why Apple doesn't do the typical Apple thing here: make it a $600 add-on item. If they can transform 3.5mm headphone jacks into a huge upsell opportunity, I don't know why they'd miss out on that opportunity for something like the Touch Bar. People can then have their standard keyboard with function keys AND an external controller if they make use of an application that would make it useful.
Virgin Galactic to merge with investment company, go public
> BTW, I sent a DM to the reporter. I'll report back if he replies.

The reporter never replied, but the article has been corrected:

$ url=https://www.nationalgeographic.com/animals/2019/07/dont-feed-wild-animals-except-birds/
$ links -dump "$url" > current.txt
$ links -dump "https://web.archive.org/web/20190705140555/$url" > archive.txt
$ diff archive.txt current.txt
134c134
< effecting the composition of the birds that we see around us,” says
---
> affecting the composition of the birds that we see around us,” says
Have these video conferencing services never heard about External Protocol Requests in browsers? It's a much less hacky, and much more secure method to pull off this same feature-set.
Yes! I was just in the middle of doing this in a sage notebook!

Good thinking :)

I have to think some mathematician had already done this for like every pattern they could think of but ya never know. Never hurts to try... As long as you don't delude yourself that is.

update:
Okay so the tricky thing here is that in order to naively generate the divisors (and sum over them), you'd have to consider butt-tons of combinations of prime factors, including many, many, many repeated ones.

So finding divisors given a list of factors scales very rapidly.

It's really fun to take shots at these hard problems. It's like any way you attack them they're hard, even when you don't intuitively expect it.