skysight-inc/HackerNews huggingface dataset:
Alexa and Ring don't get a pass though, do they? For these very reasons.

I know this is the HN crowd and not the general population, but I think most of HN would agree that undisclosed telemetry is super bad / malicious, and that disclosed / configurable telemetry is much better...but still often must be disabled because the Well is Poisoned by inappropriately utilized telemetry.
Show HN: I Wrote a Book on Git
Hello everyone!

In 2020 I was approached by O'Reilly (I am one of the instructors on their online platform) to see if I wanted to work on a book on Git. And not just any book, a Head First book.

I have always been a huge fan of Git, and have been using it since 2009. I regularly teach Git at conferences, online platforms like O'Reilly's, and the occasional corporate training gig. So I figured, why not?

For those who are familiar with the Head First series, Head First Git is one of the first with a newer and more contemporary L&F. Gone are the stock photos—rather almost all images in the book are illustrations (done by someone at O'Reilly). Also, my book uses a very diverse set of characters in every chapter—we have Sangita, Brigitte, Trinity, Armstrong, Gitanjali and Aref and a few others who'll join you on your trip as you learn Git.

For those NOT familiar with the Head First series, IMO it is a truly unique approach to teaching ideas. It uses a very conversational style, with light-hearted narratives woven through every chapter to teach ideas concretely. The books use a variety of techniques to help truly cement ideas—there is a lot of repetition, dozens of hands-on exercises, and lot of quizzes—even crossword puzzles. AFAIK Head First is truly a class of books on its own, though Manning's "grokking" series is one that comes to mind that is attempting to do something similar (and doing so very well).

As for the intended audience, I am thinking most HN'ers are NOT the target audience. This book is directed towards folks very new to Git, and the hope is get them to 80% of what they need to know to use Git effectively.

My approach in writing this book (despite it targeting beginners) was not only to teach _how_ to use Git, but also _what_ happens when you do things to Git's DAG and the working directory/index/object datastore. The book uses a LOT of visualizations to explain what happens when you add and commit your work, and how operations like merging, reverting/reseting affect the DAG.

The book is done, available on O'Reilly's platform if you have an account and now on Amazon. I'd love to hear your feedback if you decide to take a look at it. My email is raju.gandhi @ the biggest search engine company in the word and my twitter is https://twitter.com/looselytyped (DM's are open), LinkedIn is https://www.linkedin.com/in/rajugandhi/

This is my second book (first one is from Apress) so if anyone here is interested in knowing what it takes to write a book, or in particular a Head First book, I'd happy to share everything I've learned. Feel free to post a comment here, or email/@ me on Twitter or LinkedIn.

Finally, a shout out to the awesome community that is Hacker News. I saved dozens of insightful comments, tips/tricks, articles about Git that showed up here and while many of the advanced tricks did not make it into the book, they certainly made me better at Git. Thanks everyone!

In case my site gets hugged to death:

https://www.amazon.com/Head-First-Git-Learners-Understanding...

https://learning.oreilly.com/library/view/head-first-git/978...
I feel like the Sierra ___ Quest games were like that too, multi-faceted. There were so many mini-games that would've made cute little releases on their own, but they served as tasks or plot points within the main story.

I also suspect that if someone were to do that today, reviewers would pan it for distracting from the main game or whatever. It's a different market, and more's the pity.
Chinese phones sold here were found to not only send telemetry to Chinese IP's, some of them send SMS' to paid services, register Telegram accounts, etc. It's like a botnet.

Here's the article: https://habr-com.translate.goog/ru/post/575626/?_x_tr_sl=ru&...
Sweet Apple didn't bother to create a real time Airtag tracking android app. They have one, but it's manual so it's useless. Thankfully, The Secure Mobile Networking Lab (SEEMOO)of the Computer Science Department of Technical University of Darmstadt in Germany has created an app for it. It's FOSS and available on Google Play and Fdroid.

https://github.com/seemoo-lab/AirGuard

https://play.google.com/store/apps/details?id=de.seemoo.at_t...

https://f-droid.org/packages/de.seemoo.at_tracking_detection
Yep, I've been in a position to choose cloud providers before, and I wouldn't touch Google with a ten foot pole (it's basically AWS or Azure in my mind).

I'm already unhappy with the level of control they already have on my life (Gmail and Android).
Doubtful.

With Linux you can setup a streaming server and stream your music across different devices.

You can automatically download covers and lyrics for each song and automatically organize and index your collection for search.
CypherpunkPay – modern self-hosted software for accepting Bitcoin/Lightning
Regardless of this app and speaking just as a spouse, I think it's important to feel like YOU accomplished something, regardless of whether anyone sees an official record saying that you did. Weekends fly by and I feel like I didn't tackle anything, but some sort of record (piece of paper, this website, etc.) can help remind me that, oh right, I did shovel the driveway five times and that's why I didn't get around to vacuuming the floors.
I agree that was a strong opening, and if turns out that this whole ordeal was a net positive event for Bolt, then it will have been entirely due to that one sentence. I imagine quite a few people on HN had never heard of Bolt before, and that's now changed for about 100k people at least (likely many more if you take other platforms into account).

Even so, I still think the closing could have been better. His last words are an accusation, and he portrays a landscape where it's hard for Stripe competitors to win. There actually was an opportunity to say something like: "And yet, if there's anything I've learned, it's that in the end a great product can overcome all adversity. That's what enabled us to become the first unicorn startup in the world to have introduced a 4-day work week for all of our 600 employees."
The idea of a "default" interface for a particular physical transport is worth examining for coherency, I think. If you only have one adapter, then it's the one that shows up when you list your interfaces, so script to that end. If you have more than one, then trusting an ordering that can change on boot is unsafe.

But don't worry - those of such a soberly considered persuasion can just use the configuration management they've definitely built and that necessitates such assumptions as "there's always an eth0" to bring it back.
The bar for what counts as physical activity seems to be pretty low. I haven't done anything that I would consider a physical activity in the last month but if walking 10 minutes to the grocery store once a month counts, then I am living an active life.
I think it leaves the visual interest behind. Black bars are both boring and jarring. It's aesthetically displeasing on many levels.

Unfortunately, part of "leaving the visual interest behind" is precisely "pixels that depend on their real underlying values"....
1. resistfingerprinting (RFP) doesn't affect DNT. it's also not some sort of flag that nicely asks services to stop tracking you.

2. That's not a good analogy. If we're looking at a single choice in isolation, it's true that opting into DNT (or RFP) makes you stick out compared to everyone. There's only two options (DNT header being present or not), and one option is obviously more common than the other. However, the difference with RFP on/off is that there aren't really two options. Yes, RFP can only be on/off, and "on" is much more rare than "off", but leaving it "off" also uniquely identifies your device through fingerprinting. You're not really choosing to blend into the "all the people with RFP on" group vs "all the people with RFP off" group. You're choosing to blend into the "all the people with RFP on" group vs "all the people with RFP off and has the fingerprint as you" group[1]. Whether that's more or less identifiable is unclear. If you have the most run of the mill setup[2], then RFP might indeed make you stick out more compared to your normal setup. However, if you have an uncommon setup, it might make you stick out less, because the amount of RFP users is greater than the amount of users with the same fingerprinting attributes as you.

[1] in reality it's not really one group for RFP users and separate groups for everyone else. There are fingerprinting attributes that RFP doesn't block, so it's more like a set of groups for RFP users, and a separate set of groups for non-RFP users, but there are less distinct elements in the RFP set, since various fingerprinting attributes are spoofed to be the same.

[2] see https://wiki.mozilla.org/Security/Fingerprinting for list of features that are spoofed, and make your own determination how common your setup is.
Of course intent matters. Accidents can happen and don't necessarily soil an entire brand name, but intent definitely does.

You'll be surprised how common these "house of cards an intern cobbled together for another company 12 years ago, that only works with the September 2008 drivers" situations really are when it comes to specialised hardware. As long as the machine keeps working, it can be sold, software security and maintenance be damned. There's a reason hospitals and factories pay Microsoft for the last few Windows 7 updates it'll release this year and it's not that management doesn't like the theme Microsoft put on Windows 10.

That's even more likely to be the case for industrial machines purchased off AliExpress, where hardware is often either old, second hand stuff or made as cheaply as possible from available parts. The standard of quality there is minimal, I'm surprised they risked buying this thing through AE in the first place.
Music Forums (and 4chan) were amazing for discovery because you had people with extremely hard opinions arguing vociferously against others over which album was best or why such-and-such was awful.

Music recommendations feels like somebody constantly prodding you with "oh don't like this? try this!"

Perhaps it was the combative nature that made them so much fun.
If using public storage is absolutely unavoidable, I train people to use password-protected archives like rar or 7z. This way the content won't be indexed and less likely to be used by attackers.
How can "active enough to protect their health" be anything other than arbitrary, a value in the eye of the beholder? To take that fluffy indeterminate thing and use it to divide up society isn't much more than saying "we think 25% of people don't move around enough". That's not very authoritative.

More interesting would be "active enough for optimal health", since you can at least approach an objective definition of "optimal".
Will introduce to my team!
I just came across testcontainers this week, which seems to solve similar problems. Has anyone tried both solutions and can comment about their experiences with them?
+1. Magit is definitely the best Git client out there. It makes even non-standard functions transparent to the user.
What’s New in Apache Kafka 3.1.0
https://archive.is/wrUtE
Public domain/MIT

https://github.com/CypherpunkPay/CypherpunkPay
>American history itself had tons and tons of situation where people risked a lot for saying things - including death. All within the scope you talk about. The time span you talk about include runup to civil war, civil war, reconstruction - all of which were full of political violence.

Now do European history pre-enlightement.

It was way, way worse. Shit talk the church and the inquisition slows up. Complain about the cut of your grain that the mill takes and the local lord threatens you lest other peasants start complaining.

The acceptance of freedom of speech as a general principal has greatly increased the civility of civilization.
I'd counter argue that the need to make executive quick consequential decisions actually does a lot of damage. I understand that is what we value and how we consider our executives to be high functioning strong leaders but I don't believe that gets to the best long term outcomes for the organization.

Obviously paralysis is a different matter - but taking time and consideration to get to the appropriate decision actually is highly productive in the long run - though if you are an executive it might not signal that you are going to be around for a long time due to organization thinking you aren't up to task.

N.B - taking the time to access a decision is always a trade-off.
5 at least is a non factor since the Chinese government doesn't play by the rules of intellectual property anyway.
First: are we talking past each others? You seem reasonable but some of the things doesn't make sense to me which often indicates a misunderstanding on one of the sides :-)

If not, here are some clarifications. (Maybe they'll help even if we are talking past each other.)

> Removing can't always be done later, because that requires rewriting the repository's history.

I knew this could come up which is why I included glossed over.

> Logical commits serve a real purpose: they make change review easier and can help bisect bugs later.

Nothing I wrote was meant to conflict with that. Quite on the contrary I specifically want more points to bisect against (yes, I'm one of those who actually uses bisect).

> If thought process is important, it should be captured in a structured way like a thoughtful commit message or README addition. Not some cobbled together mess of whatever commits someone made haphazardly.

Have you tried getting anything reasonable about the thought process behind a feature into a README, and then tried to get it to stick there?

On the other hand a bunchbof commits along the lines of:

- rough first sketch

- introduce tests.

Also includes modifications to xyz to simplify testing.

- performance optimizations

- more tests

- Introduce test for foo and fix it in bar and baz

This has a negative impact on performance but is hard to avoid.

etc
Thank you for taking the time to share your experiences. Will definitely check this out!
Interesting that there are a lot of comments here about trends in Napa & elsewhere, tastes, what people prefer etc.

Perhaps it was just a funny line with no deeper-wider-meaning or commentary?

Someone so entitled and so obsessed with the details that a "normal" person would not notice - a wine geek or wine nerd if you will - getting worked up about something so totally inconsequential to most people. It is funny.

I could totally imagine a line from some HN-favourite tech satire. "And if they use cherry MX reds in there, we're just going to use cherry MX reds ok? I'm not going to fucking use cherry MX reds!" Substitute keyboard switches for vi/emacs, tabs/spaces, 80 chars/120 chars etc.
What are you talking about Webb was build by contracting defense contractors, like for example Northrop Grumman (primary contractor if not mistaken) and Lockheed Martin who also build F-35, there is YouTube video where Lockheed does presentation about Webb telescope project complexity.
Why do you think type erasure is problematic? Haskell and basically every language absolutely gets away with type erasure so it really shouldn’t pose a serious problem, other than for reflection usages which are rare.
Lead, and other heavy metals are still used today in steel production (and other industries), and have been used for so long, that trace amounts can be found in the road sediment, such as in Gary, Indiana (and most of Northwest Indiana).

https://www.sciencedirect.com/science/article/pii/S016041201...
Can tell from what you linked, does this JSON format have anything like bib(la)tex's \mkbibquote and \mkbibemph?
I loved Foobar2000 back in my Windows days. iTunes just wasn't as fun an experience.
True I can see that in myself too but I'm not going to change...

I'm working on losing some weight by dieting but I just don't like sports. And my health isn't that important to me. I just don't care enough to do it just for that reason. And I never will. Any campaigns to encourage it will be lost on me. I have to die of something eventually :) It's important to enjoy life too. Most sports enthusiasts actually like what they're doing so it's easy for them.

I do go for hikes but not really for the exercise, more for the peace of mind of being in nature than the workout. I also walk a lot just for transportation because I don't own a car. But I live in a small city so distances aren't enough to class as real exercise.
Thanks, gonna steal using the Linux kernel development as an example regarding this matter. Probably also any huge-scale repo like Google or Windows would work, but Linux is awesome because open source.

I'm honestly rather confused on the whole idea of valuing the journey instead of the end result. Aren't commit messages literally the built-in way to write about your journey to your heart's content? And failing that, you probably (should) have a ticket system or the like to preserve even more context in the form of third party comments etc.

I usually compare git history to a book: it's not valuable for the end user to see all the tiny edits and errors the author made before the final version, and in the end the important thing is that it tells a good story that the end user can easily follow.

Like it's said, the source code is for us humans to read. The computers would do just as fine without the story its trying to tell.
I really like this route. Thanks!
Haha Nokia didn't even cross my mind when I was writing this. But when I googled connecting people it was one of the first page results, so I can understand the confusion.
Depends how you define "the world" our lives, our ecosystem, our relationships, our family, are things I'd think of when I think of our "world" as opposed to the big ol' rock we roll around on.
The only thing that bothers me about nootropics is that so much of the conversation is about productivity. What a weird thing to focus on, especially when we're talking about un-researched brain chemistry impacts.

The best combination I found was magnesium, ashwaganda, and green tea extract. It caused massively vivid, lucid dreams.

I've never had more fun sleeping, and my sleep health was never better. It had nothing to do with productivity, and was literally just so I could fly and shoot fire out of my hands in my dreams.
> rather spend their mindshare improving the animal condition than the human condition.

How does arming dolphins improve the human condition?
About network performance on 2015:

https://github.com/freebsd-net/netperf/blob/master/Documenta...
It is stated in the piece, but not emphasized enough: the charges were dropped on the basis of legal technicality regarding mandatory disclosure, not because he wasn't actually hiding associations with known state or state-affiliated actors in mainland China. He was. Expect mandatory disclosure laws to change as a result of this case. Based on his PRC affiliations supported by mountains of evidence in the criminal complaint, I will also not be surprised if espionage specific charges are filed in the future.

A naturalized US citizen doing research with federal funding, especially from DoD and DARPA, has no business participating in conversations with PRC officials while using "we" and "our" to refer to China and its ambitions in the technology sectors for which they have received federal funding.

The complete obfuscation of the facts by NYT is farcical.

https://www.wwlp.com/wp-content/uploads/sites/26/2021/01/Che...
The difference being the scale and scope of government involvement in the stealing of technology specifically, not colonial antics of forcing the port of Canton open so opium can be imported from British India.

We're not talking about the history and legacy of colonialism. I think that debate has been long settled and traditional colonialism is behind us. The type of colonialism we are now seeing is, for example, infrastructure loans that end up as a backdoor into gaining control of strategic assets in resource-rich but underdeveloped countries, which seems to be the MO of the belt-and-road initiative.
Foobar may have more customization potential, but for my preferred layout, Clementine or Amarok 1.x were comparable if not superior options.
Paper, Gunpowder, Woodblock Printing (predecessor to printing press), Compass, Crossbows, Fireworks (see gunpowder), Handguns (see gunpowder)

For more information, https://en.wikipedia.org/wiki/List_of_Chinese_inventions
Have you read the article? It doesn't even mention global warming.
https://cypherpunkpay.org
The happy medium, such as it is, is to not try to police “toxicity” in the first place.

If you want to be a global publisher of your opinions, you’re going to receive a global response, from people across the political and social gamut — the larger your audience, and the more political/ideological your speech, the more substantial a response.

My dictionary’s definition of “Faustian” has this usage example:

> Modern celebrities enter into a Faustian pact with the general public.

What people seem to want is the ability to enforce a one-sided bargain with the public, under which their own toxicity, opinions, and any public affirmations should never be censored, as long as their opinions are the politically correct ones.
This sounds like what I’d like to do. Any tips of what to focus on in school/side projects?
I wouldn't call it a non-issue. Lead pipes in new buildings were not forbidden in the Netherlands until 1960, and there are still plenty of older buildings in use (including housing daycares, where drinking tap water is the norm). The extend of the problem here is not clear, but in one sample in a neighborhood in Amsterdam last year, around 19% of the houses had too much lead in the tap water.
English and Irish peerages created by mistake
I'm definitely in both "obese" and "active" categories.
Right, in particular this is vital for Concurrency. In the 1990s my class about multi-tasking began by explaining that the computer can't really do more than one thing at a time. But in 2022 your computer almost certainly can do lots of things at the same time. And your puny human mind is likely not very well suited to properly understanding the consequences of that.

What's really going on is too much to incorporate into your day-to-day programming, and you'll want to live in the convenient fiction of Sequential Consistency almost all the time. But having some idea what's really going on behind that façade seems to me to be absolutely necessary if you care about performance characteristics.
Thanks for the feedback :)

Do you have recommendations on how you would change it?
Keeping slaves is inherently harmful. Copying things is not.
Congrats on your launch. Great to see more innovation in this space.

How are you thinking of monetizing?
I am quite relieved that all the deployment worked out and so looking forward to the first images. I hope, planning for a true Hubble successor (a telescope in the visual range) starts soon. Maybe a one-off Starship could be the telescope housing, it would enable an 8m mirror without any folding, just the tip of the Starship would open up once in orbit.