skysight-inc/HackerNews huggingface dataset:
...by GDP, which is absolutely not a representation of economic resources, especially with how USA calculates GDP.

China has something like >1000% as many people working in technical industry jobs as USA, and a massive trade surplus. The two economies are not even comparable. One prints the global reserve currency and smears it around in FIRE, the other makes things.
As far as I remember the SCotUS verdict was "we don't want to say if it's copyrightable or not, but if it were copyritable it would fall under fair use".
Lol not arguing with that. But Jira so cemented in company workflows that would be hard to rip out.
>set the maximum battery charge

That's interesting. Does anyone know a way to do this on Linux?

>The 10 minute one probably has a bad cell.

I wonder why batteries are always hard soldered and glued. I guess it saves space and is cheaper, but it would be so awesome to pull and replace cells with the ease of a battery cage.
Data diffs: Algorithms for explaining what changed in a dataset
FWIW, when rebuilding jless with some of the cargo tweaks mentioned here, as well as in https://www.collabora.com/news-and-blog/blog/2020/04/28/redu..., I managed to get the binary size down to 1.75MB. Better, but still huge.

Note that I did not use tweaks which require rust nightly, as I did not feel like installing it.
There's the HN I know and love!
The context of this submission will naturally be lost on many, and the editorialized headline is arguably wildly inappropriate.

This submission is a _single_ write-up of _one_ box on HackTheBox (HTB), which is one of the most popular platforms for redteam-like practice for the price of a common subscription service.

You often see it very directly compared to the hundreds (or thousands) of dollars you would cough up for similar lab material but which also comes with the benefit of OSCP certification (if you pass the exam), thought by some (albeit not all, if you pay attention to this topic on HN) to be one of the more reputable entry-level pentesting credentials.

Just like for CTFs, you can search everywhere in search engines for writeups. (Do note that boxes are split between "Active" and "Retired" machines, and public-facing writeups are only allowed for those that have been retired.)

The most popular (and fantastic, IMO) video walkthroughs are done by the yt channel IppSec

This platform is great fun, and I'll be honest: when I started from zero, I needed to straight-up monkey-see-monkey-do follow-alongs with IppSec videos for most of the boxes that I have done. It is probably also the most hands-on knowledge I have picked up out of anything I've ever done that I have not had to figure out by myself.
> In general keep in mind that your 8TB to backup likely has a power law distribution where your really important filesets are much smaller and can therefore be inexpensively backed up with more copies.

In my personal experience a simple ignore list can reduce size by an order of magnitude. Things that doesn't make sense to backup like thumbnails, cache files, development dependencies. And smaller is more robust, not only can it be inexpensively backed up with more copies but it can also be synced more frequently with a lower risk of partition and also is quicker to download and restore.
Looking around my room, I also seem to have around 80 or so books, and they take up more space in my house than most other stuff. :)

For books, I mostly go digital nowadays, but, I make exceptions for:

- "books I want on my bookshelf",

- "books that changed my life",

- books that I just found while looking around in a bookstore.

So far, my bookshelf has classics, novels I really liked, some nice reference books and textbooks, and a few nonfiction books. I am usually more reluctant to stack up on nonfiction physically; they usually get summarized and put into Evernote as points to be looked back at later.

Either way, I strongly feel that everyone has their own unique "bookshelf", collections of books they live by. So asking others would definitely be interesting. Looking forward to the other responses. :)
> China’s space tug: A service or a threat?

"China is providing mitigation against Kessler syndrome. Here's why this is Bad."
Just blowing them up creates debris that are a risk to your own satellites and has more chance of reprisals from other nations because it's a more broadly destructive and you might hit other satellites. Selectively deorbiting enemy satellites is a much cleaner way, like the difference between carpet bombing and a GPS/laser guided precision bombing. In space there's an incentive to be careful about widespread destruction because the debris spread out over time and fall through lower orbits risking a lot of other satellites that weren't the target.
If Sublime is as good, then you got me. :p (I can't say; I still need to try it.)

I love Kate, although it's less configurable/powerful than Code/Atom, but it's Linux-only.

As to vim, I use it for quick things, but I'm not hardcore enough to feel comfortable with editing in a terminal and having to re-memorize how to highlight and copy-paste text.
Physical books left after a lot of decluttering - probably around 100 books.

Audiobooks as of today 325.

ebooks as of today 329 in my two ebook readers.

Probably around 70 - 80 books on data, programming and technology in multiple formats in my cloud storage.

I read/listen to fiction and non fiction alike. As well as a few podcasts.
Ok, changed from https://science.thewire.in/spaceflight/chinese-sj-21-satelli.... Thanks!
About 100. I'm trying to cut back. I have boxes of books that I've never read, such as some of my college textbooks. Books that are in moving boxes, never opened since my last move. Many of those texts are obsolete, in the sense that I don't remember the material well enough to favor my old book over just looking it up online. Classical mechanics would be an example of that.

Some books I keep for nostalgia, such as The Art Of Electronics, which was life changing for me. But I'm trying to be more selective of those books.

I read a lot of fiction, history, biography. Some of those books I get as gifts, and try to pass them on to another reader. I try to make use of my public library when possible, because I still do prefer reading from a book rather than electronically.

I've moved most of my sheet music to electronic. That's an area where technology is actually an improvement.
That's why Google often prompt you for backup information - backup phone number, email address, which can be used to recover an account if you've lost your phone.
> "SCRUM... only exists so that companies can signal agility and management consultancies can sell agility."

many companies employ scrum that way, but it's not instrinsic to scrum. it really depends on where the locus of control is. if it's firmly outside the team, it doesn't matter which methodology you use, you're looked at as cogs in the machine, as order takers. the locus needs to be in, or at the very least, right next to, the team for any kind of agile development to work. it's usually top-down hierarchy that causes that kind of friction and expectation mismatch.
Make sure you view the reviews of the surface duo 1/2. They are horrible.

The Pinephone Pro with the Pine Hardware Keyboard might be what you are looking for. Also LG has dual screen phones which are very usable as a portable terminal and less expensive.

Also checkout GPD Laptops, if you are looking for something portable with ALOT of power.
> Getting a job

Though negotiating is way easier with things like levels.fyi and blind.
Maybe Gorbachev feels embarrassed that he didn’t get any formal guarantees from the West.

In any case, declassified US, Soviet, German, British and French documents[1] show that multiple Western leaders assured Gorbachev himself that Soviet security concerns would not be threatened. And, of course, it was specifically Nato that was under discussion.

[1] https://nsarchive.gwu.edu/briefing-book/russia-programs/2017...
SSE has been extremely useful for my purposes. And the issues with scaling it are similar in nature to scaling and getting a similar feature set out of any solution. But in terms of speed to PoC/MVP nothing has been as easy as SSE. The final reasoning is that it can easily be inspected, debugged, curl'd, and so forth.

Not sure how often this is done, but I've been sending query parameters along with the request and using it to stream results back to the client for low-latency initial responses to long-running API calls.
Some context to my statements: I'm a SWE that works on infrastructure services and tooling, primarily on Linux but also Unixes.

It depends on what I'm doing but usually Go if an application requires any longevity at all.

I use Python or Java for things that require more dynamic typing. The main usecase here is big data or to prototype applications.

Bash I usually reserve for very small tasks. When I bootstrap services in containers, you'll usually find some Bash. A whole CLI written in Bash? I would not approve that PR. Bash lacks variable scoping for the most part, the ways in which you can implement it are hacky and non-obvious. Bash's syntax and the way it behaves varies by system, even installer scripts have to account for this. As I'm typing this, I realize the Bash code I write generally follows the same testing and constraints as the Makefiles I write.

I don't think I really understand the requirement for "a single document". This departs from programming practices I've built up over the years. When I come across large multi-thousand LOC documents (in any language, much less Bash) I'm usually concerned.
The “old web” — the one before the rise of the trillion dollar engagement optimizing platforms — is probably completely foreign and unimaginable to those who haven’t experienced it.
There's a simple one (two or three layers IIRC) in the Ghibli Museum which you can play with. I didn't know until now the name of this system.
About 4100 books, of which about 1250 are fiction. Reference and recreation.

It may be relevant for context that by HN standards I am Old -- a little over 50 -- so I've had some time to accumulate (a) books and (b) enough money to afford a house with enough wall-space for those books to fit comfortably. :-)
The latest release now has a Happy Eyeballs implementation.
Some people need to learn in a class with a teacher and some people are more auto-didactic.

As an auto-didact, I go to one physical therapy session to learn the movements and then take those home. Tools like this (when properly advanced) would ensure that my form doesn't start slipping and helps to track improvement in RoM, etc...
I buy for both. The shelve takes about one of the living room walls (4.5*2m) and some more in the bedroom. All are made of good old paper.
300mg is my sweet spot. At 400mg even if I have it all early in the AM it somehow still affects my sleep. 300mg and I can sleep fine.
That argument is usually made by the kind of people who consider developer experience the most important part of software development. I'm on the opposite end of this spectrum: I couldn't care less about developer experience, user experience is the king.

Your users won't see your "write less code" crap and all your other "elegant" overengineered solutions that use 5 libraries for something that should be a trivial 10-line function. They'll see that your app is an unreliable resource hog that looks and feels like it's not from this world. And it's never finished. It's constantly updating but always broken one way or another. And they'll suck it up because there are no alternatives and most software these days is like this.

I'll do everything in my power to change this. It's my mission in this world. I want people to rediscover non-crappy software and have their minds blown by what modern computers can do when programmed by people who actually know what they're doing.
>over 50% of people I knew were just nicknames on the internet.

Depends on the circles.

On the other hand, I accessed Usenet from a company computer which had my real name and company email. And the local forum on my BBS, most people used their real names and we even got together in person from time to time.
Sure it could. There are a lot of devices out there for this kind of thing:

https://duckduckgo.com/?t=ffsb&q=posture+alarm
While succint, this is the best comment I think of the thread. The suboccipital muscles getting tight, weak scalenes that get too tight while opposing structures get overstretched, and one more to add: shoulder posture and dysfunction contribute majorly to neck issues.

What's shoulder dysfunction? Well a hunched or otherwise unusual posture that computer and phone usage encourage lead to mobility issues with the shoulder that eventually lead to joint issues too.

Relevant to the neck is the fact that the scapula attaches to the neck at multiple points and can contribute majorly to a situation where the neck muscles are overstretched or overtightened perpetually, and in a hypertonic state.

Yes, pull-ups and gym are great suggestions (although push-ups are not a great suggestion as they can contribute to chest tightness and forward shoulder positioning). But as someone experienced in suffering as well as the gym, my message is it's a hella lotta more complex than mentioned in these threads.

Oh and eye alignment issues can contribute. If your eyes don't align you might stare at your screens in a tilted way...

This will be a pandemic in 10-20 years, as a high percentage of the population will be affected.

I'm middle-aged and an IT guy, so I'm unfortunately the future. I cared little what was happening to my vertebrae and shoulder complexes in my 20s.
I don't get the expectation of justice here (from a purely analytic point of view). Power laws are pervasive across pretty much anything you look at. Why would wealth would be different?

I understand the feeling of "it's not fair" (especially if you got the short end of the stick), but really, what is really fair other than random chance?

It's quite hard to correct for an emergent phenomenon, I mean, something that seems to be a statistical property of the collective behavior of a large group of entities. Changing anything will have unintended consequences, since it's very difficult to predict the effects (as of why is this, I think non-linearity plays a big part, but that's a longer topic).

My suspicion is that the middle-ages originated worldviews of western society are shifting now.

Oversimplifying, there are two worldviews that come from religion in western cultures as far as I can tell.

Catholic based worldviews, view poverty as a virtue, wealth as a sin (think Latin America).
On the other hand protestant worldviews tend to think wealth is a sign of being good morally (US, UK, and some european countries).

Lately, there's a shift in these, with the first one slowly showing its face in classically protestant countries, and a radicalization of the "poverty is good" view in historically catholic countries.

As to why this is happening, it could be just a consequence of increased communication (i.e. everyone can voice an opinion online/see what's really going on far away) or something better organized.
Show HN: Crosswordle – Reverse Wordle on Hard Mode
I knew "selene" meant "moon" in Greek!
Maybe I missed some updates...
Well, and before "the masses" really had access to it.
> The FSF have actual copyright lawyers on hand. Where have they said this?

It is part of the official GPL FAQ [0].

Does the GPL have different requirements for statically vs dynamically linked modules with a covered work? (#GPLStaticVsDynamic)

No. Linking a GPL covered work statically or dynamically with other modules is making a combined work based on the GPL covered work. Thus, the terms and conditions of the GNU General Public License cover the whole combination. [...]

> The example is not very easy to understand. In general copyright law isn't really applicable to your own right to distribute your own original work.

The very question is if my work is original. If I create a program that only works when (dynamically) linked with a (GPL) library, is my program an original work, or is it a derived work of that (GPL) library? This is a question that has not really been settled in court; the official opinion of the FSF is clear: it is a derived work.

If the explicit question in the GPL FAQ is not engouth, note again that the whole purpose of the LGPL (and other GPL+exemptions licenses, such as Java's and GCC's) when compared to the GPL is to allow this type of use, which they clearly would not have created unless they believe it would not be allowed for a full GPL library.

[0] https://www.gnu.org/licenses/gpl-faq.en.html#GPLStaticVsDyna...
Roughly 1250 books according to my catalogue in Zotero; collected by me and my wife. 320 of those are non-fiction, including cookbooks (one shelf in the kitchen), and books on various historical topics and Japanese language. Technical topics though; not so much, even though we both work in software engineering.

Of the fiction section, most of it is in English, with some Dutch (obviously, being Dutch) and German as well. About half of the fiction is science fiction or fantasy; from classics to modern. The other half is a collection of all sorts of literary works; featuring plenty of classics, but also more recent works.

A full wall¹ of our living room is shelving for books. One thing we are particularly happy with is that since building this bookcase we've had a child who at three now knows no better than that reading is completely normal and a pleasant diversion. Despite not being a reader himself yet, he does consume books at a good rate, either being read to or just browsing the picture books by himself.

1: Photos from just after building it: https://twitter.com/jdhoek/status/885499829052485632
I agree with all of this. Luckily I have observed that there is a growing pushback against "breast is best" militarism and shaming of mothers who cannot (solely) breastfeed. The new slogan I have heard is "fed is best".
Did a rough count just now but about 200. I've actually begun marking a ton of them as ready to be tossed/donated because I just don't have space anymore.

About 75 of them are programming related, books I bought or school books that I kept around. The majority of those are digital books though. The rest is a mix of language learning, personal development and some philosophy books.

I think in the future I'll probably throw out a lot more, because I barely re-read anything so it just takes up space. And I'll probably move to more PDF books if I can find them in that format instead of some proprietary e-reader format.

This year I want to read The Brothers Karamazov, 1984 and I'll probably end up re-reading Marcus Aurelius' Meditations again, I end up re-reading most of that every year.
One thing that comes to bite you surprisingly quickly is that with SSE+POST, you lose ordering in the C->S direction. Consider a chat client that POSTs every line you type; two POSTs might get reordered in-flight while two WebSocket messages won't.
This means the requirement is only that the app doesn’t use hardcoded ip addresses.
More resource usage = more energy wasted
I used to have a large collection of sci-fi, mostly paperbacks but some hardcovers. Plus a large number of non-fiction books on a variety of topics (e.g., investing, gardening, sailing, skiing, wine). Not to mention my obligatory collection of O'Reillys. Totalled perhaps 1500 to 2000 books at its max.

I got tired needing bookshelves everywhere, and liquidated most of my collection in a big garage sale. That was a really fun, like a day-long bookclub meeting. All I have left are my favorites and, ironically, the ones nobody wanted to buy. Maybe a few shelves worth.
It might. I am generally skeptical towards UBI being touted as a social panacea [0] [1], but I would be open towards trying to pull it off in combination with Georgist LTV.

[0] My main reason: there are countries such as Persian Gulf oil sheikhdoms where the citizens get free money or a least well paid jobs-just-in-name that someone else is actually doing, but there wasn't any explosion of personal freedom, social progress or artistic creativity there; a lot of the free money is sunk into drugs and conspicuous consumption.

[1] My next reason: you would have to exclude freshly arrived people, because if any place in the world becomes known for giving significant money to anyone for free, it will become a target of worldwide UBI tourism on an unsustainable scale. Already the people smugglers in Libya etc. are very good at presenting themselves as the "bridges" towards life in the richest parts of Europe.
NLP with HuggingFace
That image (and the rest of the gallery) screams "expensive low quality" with all its strength. I have never seen anything that uses an image like that to be worth one's time.

And yes, that style is fashionable on some circles. I usually prefer to avoid those circles.
That's a lot of non-fiction! Any particular topics that make up the bulk?
Assuming for a second I would support your idea of "responsibilities", the question is where to draw the line.

If that line is drawn where you believe it is, any undue burden monetarily on society, then you would you agree you reject the concept of limited government and individual rights? If your position is taken to the logical conclusion, that because a person that is injured by not wearing a helmet posses an undue burden on society due to medical costs, there is literally no law or regulation that would be outside the bounds of government control. You are proposing a literal totalitarian regime.

For me I draw that line at a very different spot, you point to the idea that not stealing someone else's property has a social responsibility. I agree that people should not steal other peoples property, and that government should enforce said property rights. Theft is a direct harm, one individual harming another individual. That is clear delineation where government can be an arbitrator.

However the example here of a non-helmet wearer harming "society" at large is less direct, first not every person that does not where a helmet will get into an accident, then not every accident will result in medical care, then not every accident that results in medical care would go to the point to be an imposition on society. So now instead of a clear 1:1 direct harm you are now wanting government to use threat of violence (and to be clear all government laws are back by such a threat) to reduce a "harm" that is spread out over all of society, and is also a fraction of a fraction of percent probability that the burden will even present itself. To me that is unjustifiable and draconian, it does not rise to the level of requiring government intervention in the same way theft does.

Each of us has a natural right to defend their person, their liberty, and their property. These are the three basic requirements of life, and the preservation of any one of them is completely dependent upon the preservation of the other two. Society then has the right to organize and support a common force to protect these rights constantly. We call this Government. The principle of collective right its reason for existing, its lawfulness is based on individual rights. As such the common force that protects this collective right cannot logically have any other purpose or any other mission than that for which it acts as a substitute. Thus, since an individual cannot lawfully use force against the person, liberty, or property of another individual, then the common force for the same reason cannot lawfully be used to destroy the person, liberty, or property of individuals or groups.

That is the foundation for which I look at government policy. So my question on this helmet issue is.. Can I as an individual impose my desire to another person to wear a helmet upon them forcibly? I can as an individual prevent them from stealing my property, but I do not believe I can forcibly make another person wear a helmet, since I can not do that as an individual, I do not believe the government should have that authority either.