skysight-inc/HackerNews huggingface dataset:
Ask HN: Language and Version Numbering Documentation?
Right now my documentation lives at example.com/docs and that part is non-negotiable. It should probably be in example.com/docs/en for English, example.com/docs/fr for French, etc., correct?

But documentation version numbers change, so I think it should be more like example.com/docs/1.0.8/fr, example.com/docs/1.0.5/en, etc., shouldn't it?

Also I am assuming doc versions are independent of software versions. I.e. Version 1.0.8 of the software may be all bug fixes and can therefore keep using version 1.0.5 of the documentation.

Does this sound reasonably language-independent and future-version friendly?
Most flights are return trips, so that 6bn seats corresponds to 3bn potential unique people. Then there's the percentage of multi-leg trips. (For example, on my most recent Athens-Istanbul-Stockholm return trip, I alone took 6 seats total).

Finally, we have to consider the percentage of flights taken by people who fly more than once a year, which probably represents a majority of seats.

All in all, it probably still lines up with 10%. It's shockingly high to me as well…
Just learn it. Its model and (once you know) the commands is actually very elegant.
That is for Americal Airlines (the company) only. The number of American (adults) that never fly is about 53%.

See Fig. 7 in the research paper linked in this article: https://www.sciencedirect.com/science/article/pii/S095937802...
This has the lowest signal to noise ratio of any of these lists of I've seen so far. That entire project management section should go. The entire section on configuration management should go. There are probably some good tools here but I'm not going to click on each and every one just in case it's something more interesting than Trello.
Exactly, which makes a moot point about FP vs OOP, since the language supports both approaches.
You misread. You write:

> 95% of the 50% who got the vaccine haven't contracted the virus.

Much more than 95% of the 50% who got the vaccine haven't contracted the virus. They looked at the first 95 people in the entire test to get the virus. Of these 95 people, only 5 were in the treatment group.
I don't see what it's got to do with github. I had the same need, and the same confusion solving it, before I had ever used github, when I used a locally hosted git server of some kind for my team.

Do you mean it's a problem only if you are "git push'ing" to a remote shared by those working on a software project?

OK, maybe. Even before github, most projects I knew of using git used that method. You can suggest nobody should, and try to educate people in a completely distributed workflow if you want, I suppose. That's not about github really.
Would be interesting to know how many of those frequent fliers work at large consulting companies. Besides "CEO-types" those are the only people I know that take two flights per week.

I really can't imagine that most of those frequent fliers are people that take a flight every week to go on a vacation "just because it's cheap" like the article says.
> with no example of the speech

Right! The only thing this site needs is a "Click here to listen to a sample" and it misses its shot.
Except when the trumpet of FP vs OOP keeps being cargo cult, although most modern languages support a mixed approach.
Bad cops are a symptom

Bad officials unwilling to prosecute bad cops is a second symptom

Apathetic electorates electing bad officials unwilling to prosecute bad cops is a third symptom

Municipalities spread all around the country are suffering from the same combination of symptoms. Whether that suggests one national problem or the same local problem in replicate is a question of semantics.
Best Linux distros 2021 (tldr: Went from Ubuntu 20.04 LTS to Manjaro i3)
Agree with you. A GUI is fine (and a good thing) as long as it is just for convenience and discoverability, and it doesn't abstract git away, hide its power or try to impose its own workflow.

IMHO, a good git GUI would show exactly what commands are being run (so it is useful as a learning tool) and their result and allow it being used along side the cli.

I use magit extensively and it has all these properties.
You can reasonably expect that that "one time" is a round-trip as well.
Completely agree, a change is an atomic change and should be contained in a single commit, I don't need to know the sub-steps it took to arrive at the final solution when I'm trying to blame or log the reason it changed 6 months from now. It also encourages bad commit messages which further confuse change history and motivation when you're creating separate commits just to fix formatting and such in your real change.
For a sufficiently large reduction in people taking flights, the plane actually doesn't take off (either by reducing the amount of flights on a route or cancelling it altogether).
I've used and introduced as CTO hg in the past because I think it's easier to understand. less confusing and there are extensions for many (special) use cases. Every org dropped it and I've dropped it more than five years ago because every example on the internet uses git, no one wanted to learn hg and that friction was higher than the benefit of hg to me and orgs.
These are, to a large extent, the same people lecturing the rest of us about global warming.
Just curious, what was your rationale for using pam ssh agent auth over nopasswd? It definitely looks more secure as it’d prevent our sudoers from sudoing into our ansible account but that’s about it. We have local console access disabled for the ansible account.
Repeating an element n times in React – Building SPAs
These links list literally SOME and not ALL cases that need encryption.
Not my project but this video seems to imply that it has no problem with performance whatsoever:

https://www.youtube.com/watch?v=7Hai7cavmUY
I have a lot of different machines performing different tasks, but very few machines running the same tasks as another one, so it's definitely a case of pets rather than cattle for the bulk of work. For the rare occasions a task needs to be done on a variety of machines, clusterssh does perfectly well.

Automation is a preseed, a script to do user management, and a phone home package which sends information about the machine back to a central server.

My main bugbear about ansible is it leaves very little trace -- it runs by copying a file to the remote server in /tmp, executing the file (sometimes under sudo), and then deleting it. I get the notification on syslog that ansible has logged in and done something, but I don't know what, so I rely on the ansible

Compared to when someone manually goes in and does something like "sudo vi /etc/resolv.conf" - even if doing it en-mass, I get notification that joebloggs logged in at 14:53 on Wednesday and edited resolv.conf. If I see something broke about 3pm on Wednesday, that's a great start to working out why it's broken. Ansible means I need to look at the ansible logs, but even then I don't know exactly what was actually executed on the box.

Then of course there's "to foul thing up is ssh, to really foul things up requires ansible" angle too. Automation massively increases the amount of
A lot of networks block VPNs via port number + DPI, but can't really block DNS over HTTPS if it looks like a connection to any other HTTPS website.
Except we could produce food using artificial light, melt water, and evaporate the frozen atmosphere.
Where are the stages for:

Realization that no one else will be contributing

Realization that programmers capable of really contributing probably think "filing a bug" was "contributing" and will bug you about timelines

Realization that people in paid jobs are pressuring you for bug fixes and feature timelines

Realization that being asked for free support from perfectly nice people has a mental cost, either in not providing it, or in providing it

Realization that open source zealots will judge you, and companies will avoid you, if you choose any other license, but at the same time, none of the problems above have solutions...

Feeling that your work provides charity to for-profit enterprises

Ennui/Abandonment: A strange game. The only winning move is not to play.
I've been using Linux as my daily driver for about 22 years now.
It's been great for me all the time, though, I do miss GTK and Gnome before they made it suck. I ran mate for a while, but now I've just given up and run i3.

That said, Linux is almost for everyone now, at least if they get someone else to set it up for them.

The single biggest problem is that there is still not one document format to rule them all, and most people use PDF (can't be edited) or Microsoft (can't be rendered correctly and have limited support in other programs) formats.
For most things, openoffice or libreoffice can get the job done, but for things that need to actually look the same, or where one needs to fill out the "formula" it often falls short, and then we have to resort to a VM with Windows inside it..

Then there's battery life, at least for EVERY laptop I've ever owned, or serviced, Linux requires a fair amount of tweaking, and then it (or some software running on it) still results in a worse-off battery life than a stock install of Windows.

That said, there are so many good things about Linux and the tools on it, that it's definitely worth the shortcomings, it's still the best OS for me.
Yeah this "technique" is a case of being on the other side of this airtight hatchway[1]. If you had the privilege to pull this off, you also can install a kernel rootkit that does the same thing. This technique is probably very easy to detect by antivirus, as it involves several weird operations.

[1] https://devblogs.microsoft.com/oldnewthing/20060508-22/?p=31...
When one wants to implement a new desktop UI framework there is an elephant in the room - the rich text editor. You can implement your own layout engine, styling, fonts rendering but production quality feature-rich text editor is another level of complexity.
I would argue that the hurdle of bypassing DNS-based content blocking was already so vanishingly small that it doesn't make any sense to impede useful and practical privacy technologies on that basis.

You could make the exact same kind of argument about widespread use of HTTPS for example. Do we want to allow encryption technology if it means the enemy can use it too? As a society we have agreed that encryption is a net positive even though terrorists and criminals benefit from it, but when malware uses it then that's too far?
this breaks caching of simple objects that do not require content security
It seems like they need to learn how to have better conversations about the books, not remove them from the curriculum. Also, to address the concern that the books on racism and the black experience are all written from a white perspective, why not add a book by a black author and then have a discussion contrasting the perspective of the two writers? I think there is a lot of opportunity for growing from this, rather than just removing things from the curriculum.

By the way the title is melodramatic. The books aren't being banned and this isn't across California.
Digital freight forwarder Forto raises another $50M
The most accurate way to schedule a function in a web browser
> hard to say that since he is an IITian

Sorry that's not a measurement of any quality.
Because relying only a single entity sponsored by corporations to protect people from corporate gatekeeping seems like a dumb idea in the long run.
see also: Boring Old Menu Bar https://www.publicspace.net/BoringOldMenuBar/
Why Literally Everything You Do Matters
there is a middle ground of authenticating traffic without encrypting it - c.f. IPSEC AH mode - granted this type of thing isn't in HTTP but easily could be
Arxiv paper linked at the bottom of the article:

https://arxiv.org/abs/2007.02946

For the sort of telescope which they propose to use, they reference:

https://iopscience.iop.org/article/10.1086/588034
The Brands of Modern Menopause
It’s happening, ladies! Together we are advancing the mission to destigmatize aging (and menopause).
Hasn't the last 8-9 months proven that the world goes 'round, money is made, innovation happens, vacations are had, with most people flying very little?

I now have close to 100 percent of my meetings online, and for me it has been far more efficient than meeting up physically.
It seems no / I could not find any.
Yes. Which is why we’ve seen a massive change in flight destinations this year. Hub to hub is still extremely busy.

My main point is that I doubt frequent flyers are the ones pushing flight patterns.
> In summary, HTTPS-Only Mode is the future of web browsing!

It has certainly seemed like HTTPS is the future of the web for the last few years. I love this HTTPS-Only mode and wish it would become the default (with better downgrades and messages for users who may not understand what it means). With the number of HTTP-only sites dwindling, this could result in a faster experience for sites that do not want to (or haven’t figured out how to) use HSTS or HSTS Preload (no redirects from HTTP to HTTPS) and for users who haven’t heard of the HTTPS Everywhere [1] extension.

[1]: https://www.eff.org/https-everywhere
The mental image of a family getting upset about exposing their children to any of these books-- particularly in an adult supervised context-- while also allowing their children on the internet-- usually with no supervision-- is a little perplexing to me.

But some things never change: as the ALA lists show, these books have long histories of getting banned or challenged.
With most software in general, we usually think the very definition of "easy to use" is "a high portion of users and potential users find it easy to use."

Somehow with git, lots and lots of developers (and non-developers too, but let's just consider developers) can show up and say "i've been writing code for years, i've been using git for years, I get by, but I find it pretty confusing and hard to use," and still have people saying "no, you're all wrong, it IS easy to use."

Like, how is that even logically possible? To insist that software really is easy to use even when a large number of people don't find it easy to use, is an interesting metaphysical stance.
Huawei sells youth brand over tech restrictions
Could you give some examples of what are the problems with DOM and how do alternatives look like?

It's been some years that I don't do anything web so I'm not sure if I'm familiar with its problems.
Just a heads up, if you use this service PillPack and Amazon Employees have full access to your entire prescription history. Full name, social everything - it was common for employees to look up the info of celebrities / other employees for fun.

Any prescription / healthcare info you give them will be sold back to SureScripts and used to sell you more garbage from Amazon ;)

https://www.wsj.com/articles/amazon-mail-order-pharmacy-face...
The password for sudo can be passed at run time using a flag or in your variables file.
If the liquid is kept in the shadow it will be at a temperature of zero kelvin (-273 °C). I guess that at this temperature mercury won't evaporate.
It amazes me that the HN crowd tear Microsoft to shreds for embrace-extend-extinguish, and then turn on their heels to cheer on crap like this without a second thought.
evidenced by Raph Levien running out of steam on xi :(

https://raphlinus.github.io/xi/2020/06/27/xi-retrospective.h...
For radius do you have a secondary/alternative method of getting into the system in case radius is down? Or is radius a core service for your environment and a P1 issue if it’s ever down?
I sincerely hope not.
Generate inedited Beatles lyrics using Markov Chain
This past year I committed myself to learn ansible and fully script my full desktop setup as a series of ansible roles. This included not just package management but also things like gsettings gnome configuration, gnome extension installs, python virtualenv environments, email / chat client setup, etc.

As it happens, a few months after I did that my hard drive failed on my Centos desktop. I was able to install a new drive, install base OS, and run my ansible role(s). Within ~45 mins I was back to my exact desktop with all local files restored from backup.

Since then I've kept up any small changes by keeping my roles in sync with my setup. The result is a self-documenting setup. I started this as an excuse to learn ansible but I now realize I've relieved lots of mental burdens from myself. Its so nice to go thru life now confident that I can go from complete bare-metal to "my setup" over lunch.
Online Passport Photo App
Take a selfie, upload it and the AI will crop the photo to the required size and remove the background so the photo can be acceptable by the relevant authorities.
Github already has centralised protections to do with who can and cannot do various things, and so do other similar systems like gitlab.

So nothing is really gained but not allowing this, but it makes git very user-hostile because mistakes cannot easily be undone.
but you will agree that - for a mobile cpu - power consumption and therefore battery life is an important aspect of the equation?
I am terrible at coding exercices
> The main problem with keeping sites http is that someone in the middle can modify the content and inject arbitrary code

I keep hearing this as a plausible excuse, yet I've never seen any proof of such.

non-https does make it possible but has anyone got any source where someone has been victim of such attacks?
There is at least more visibility at the higher levels but in general, yeah. Most 3rd world countries with serious endemic corruption get stuck with it.
Ask HN: Web scraping easy-medium-hard challenges?
I'd like to help a friend to learn more about web scraping (and also with test automation, but that is less fun). Are you aware of any tutorial, competition or anything in-between which has tasks with varying difficulties?

E.g. easy: iterate over the ids of the articles and call curl on it. difficult: you need puppeteer with multiple JS tricks to get through the first few pages, and the end is far away...
> ewriting commit histories after I made comments in their PRs

> That's exactly what I'd expect someone to do after I commented on their PR.

The vast majority of people do not. I certainly wouldn't expect someone to waste time on that.
I just want qt on java working as well as pyqt.
Right. So one source saying 4.5 billion passengers, and one saying 800 million unique passengers. Those numbers look at least roughly reasonable in comparison with each other.
If the "average" passenger took 5 flights, then that adds up 4 billion passenger-flights. So the fat tail can be caused by the outliers taking dozens of flights.
What the tortoise said to Achilles (1895)
One of us will wake up in a gooey casket attached to some sort of harvesting machine in the future. We will have to fight an army of men in black suits as we try to save the human race from the robots.
Show HN: TaskFlowy - I created a Workflowy clone that's better for tasks.
You cannot say that certificates are reliably free (especially in the long run), if there's only one entity providing them and that entity is dependent on corporate sponsors.
One the rare situations where this type of issue should be - in part - rewarded to some degree.
Thanks for this little tool, the new menu bar in Big Sur is ridiculously transparent!
Unfortunately though for those who use tile wallpapers this will not work. I had to manually create a custom screen size tile background with Gimp and then apply the dark bar with this tool.
Really wasn't expecting some much feedback on this list, just found it while looking for some SIEM solution and thought it was interesting. Your site looks way better though! Maybe the admins can change the URL?
I assume (its a shame the article didn't go into this) that the telescope would basically be a big fabric structure and it and the liquid mirror can be easily transported and set up without humans.

The magnification of the 100M mirror make up for the lack of being able to point it anywhere at a much reduced cost than a 'traditional' space telescope.
> Resisting GUI's is not a good idea.

Explain why.

Within our lifetimes, an interaction most users have with a computer could be just thinking about something to cause an action. I don't want to have to see a GUI in my brain to do that. Similarly, not everyone likes having to use what is traditionally called a GUI.

For git, I prefer the CLI, though I use some helpers for completion, I have some scripts I wrote to show remote and local branches with their authors in different states of merge, etc. My guess is that in your GUI, you don't have that level of customization, and probably didn't even think it was an option. That's the problem with GUIs for me.
It's completely legitimate to go vegan for animal rights reasons. But lactose intolerance does not, and cannot, cause headaches. It is a specific disorder affecting the lower intestine and causes diarrhea and gas pain. I am afraid that your posting may be describing some other disorder (or it may be effectively another example of colpo d'aria).

*Edit: for those of you who don't know, colpo d'aria is a made-up disease used by Italian mothers to explain why their kids have to be bundled up ridiculously in order to go out in the cold: the closest term in English would be "catching your death". Italians are extraordinarily superstitious and hyperchondriacal about diseases and disorders. Frauds run rampant and homeopathy is openly advertised in drug stores as if it's real.
Just checked this yup.

If I go to https://neverssl.com/ I get a warning explaining that this site doesn't have a certificate for neverssl.com but only for Cloudfront (presumably where it's hosted)

But if I try to go to http://neverssl.com/ then I get the message explaining that the HTTPS site doesn't work, do I want the insecure HTTP one instead?
As far as I know Gluon has taken over the development of JavaFX.
As far as I can tell, China's just ahead of the curve with this stuff, because rather than serving as a warning, they're being emulated.
Vaccine rollout could cause U.S. dollar to fall 20% in 2021 says Citi
You could easily add APIs for cert pinning at the OS level. Or provide the details needed to verify with the OS -> Program call return.
Depending on time sensitivity, the senior should be mentoring the junior on how to deal with the thorniest of challenges (appropriately scaffolded).
There is not much evidence that invasive targeted ads are any better than traditional advertising.
Just because you can explicitly withdraw your consent doesn't mean Apple got it in the first place. In fact, they explicitly didn't ask for consent at any point.
Here is the thing. If you enter domain.com into the address bar of your browser, your browser will always go to the http site unless you do HSTS preloading. Your first visit to a website is not secured by https. So lots of people do a http -> https redirect, which means you can do a man in the middle attack on the http port and the HSTS header will never get loaded in the first place. https is significantly less effective than it should be.
It is not my (the "consumer's") responsibility to invent a viable business model for news/social media/video. That is their problem. If the only thing they can come up with is advertising, I, for one, am quite happy to let them die and will continue blocking any and all ads I can possibly block.
It might be forging responses from captive.apple.com and not actually sending those out to the internet. If you set up your own intercept that responds 'Success', iOS will assume it has internet as well.
Quite remarkable the impact that even a small percentage of the population has on the environment.

This is why it's so important to prompt cultural changes and encourage people to think about their impact beforehand, rather than in a reactionary sense.