skysight-inc/HackerNews huggingface dataset:
Ask HN: Best way to learn *nix and shell?
I got into programming fairly recently and currently I am working as a frontend dev. Often I find myself at a loss when I need to do simple tasks in the terminal, such as start a db server, handle packages, set up symlinks and paths. So, I end up going on stack overflow and mindlessly copy-pasting commands into my shell, hoping it would resolve the problem. I feel like I have a huge mess in my root directory and I don't know how to clean it up.

I tried to learn unix and shell by installing and using Arch Linux on my old laptop but I just ended up following tutorials without really understanding what I am doing. Right now, I am using MacOS.

What are some good resources that teach you more than cd, ls, mkdir and touch? How did you learn it?
> The tradeoff you get with other distributions being quick, is less quality assurance

The crux of the problem is that all current official Debian packaging methods supported by Debian are sufficiently arcane and obtusely documented to the point that it's a high barrier to entry for people to do it right.

Personally, I've been doing RPM and Debian packaging for over a decade now, and it boggles the mind how much more complicated doing _correct_ Debian packaging is for essentially the same that happens on an RPM distribution like Fedora or openSUSE.

One of the reasons that I started using debbuild[1] for building Debian packages years ago was that I felt like I could get something that closely resembled a policy-compliant Debian package without impossible amounts of guesswork. Combined with macros adapted from Fedora and other distros[2] as an interface for Debian packaging policies, I can package things rather easily for Debian/Ubuntu using the much more straightforward guidelines from Fedora as a base.

As it turns out, it doesn't take that much effort to make packages that comply with Fedora/openSUSE Packaging Guidelines and Debian Policy with this tool, and it has drastically simplified my ability to maintain software across distributions in a way that still cleanly integrates with the distribution platform.

I wish that debbuild would be an officially supported mechanism in Debian, but it's probably unlikely without a Debian Developer advocating for it (and I suspect no one there would, as they probably like the existing system...).

[1]: https://github.com/debbuild/debbuild

[2]: https://github.com/debbuild/debbuild-macros

(Disclaimer: I am now the current developer of debbuild and debbuild-macros, though I wasn't when I first started using it)
It was an all consuming revolution, sure (just about everyone that started it ended up dead, and poetically by the very revolutionaries they instigated). I don’t think the Revolution was too interested in individual rights, but more so on the class disparity.

It’s hard to judge because most nations as we know them were built on blood, however unjust. One is rarely handed a country, or in many cases, handed back a country.
Or this guy, in Seattle, charged three times for violent assaults and released because he was deemed not competent to stand trial before attempting to throw a woman off a 40-foot overpass into rush hour traffic:
https://www.seattlepi.com/local/crime/article/Charge-Man-att...
Is it so hard to call?

You still use Yelp after all we know about them?

A simple search on just about any maps app gives a direct contact info, have you tried that?

Give the card over the phone is arguably more or as secure as online.

They read the order back to you don't they?

They are trying to compete, call them directly and cut out all these middle men.
Firebase is a really attractive service to quickly and easily bring powerful features to any app, but I can't help it.. I feel like I'd be including yet another way for Google to track people. Therefore I avoid any app with Firebase in them, no matter how cool they are. Am I overly suspicious here?
Oh, and don't worry, Bell, Telus and Rogers still sell Huawei phones to consumers. Probably helps them hammer down other Android phone manufacturers on price.
For 80gb I would send a usb pen via mail
And that’s precisely where tariffs should come in.
Certainly possible to make a good one on the first try. A great one? Probably not, unless you are doing something absolutely trivial and done several times before, like a CRUD app.
why not use a regular old torrent?
That's exactly what I ended up doing, switching to liquid meal replacements.
Want to improve productivity of machine learning engineers then Sign up for Beta
Curious, couldn't you have used a torrent for that?
Thanks, this was helpful.

I think I worry that, short of revolution, change happens because people in power acquiesce to it. :/ (Again, obviously, this is bad, and I wish it were not this way, and I don’t condone or want to justify this. I just worry that it’s what history suggests.)

If that’s true — and again, I hope it’s not, and it sucks if it is — then the effects of supporters and sympathies are not actually marginal to change, and the ability for those without power to attract the sympathies and support of those with it is both a Big Deal, and new — media has long been closely gatekept by power.

But I’m not a particularly strong student of history, and I’d love to be wrong here.

To your secondary point: I wholeheartedly agree, it should be enough.
This seems really useful. I especially like the idea of learning paths that can be shared with others.
I heard that the last Civil War soldier died in the 1950s.
First decide what you want and then commit to achieving it.

If you don’t want to work for a boss, then you have to start your own business or work for yourself.

If you want to make more money then you have to decide how much and change your job to accommodate that.
> when police have done everything they can to de-escalate a violent situation, resort to the minimum force possible, ...

My understanding is that it is very common for this not to happen.
Excuse my pessimism, but this won't work for the simple reason that if this were introduced, Republicans would cry foul, say it's unfair, and the Democrats would agree to back down because it's not nice to play on an unlevel playing field.

They will conveniently forget that were the tables turned, Republicans would not do the same.
> Just goes to show that Canadian telecom policy is controlled by telecoms, not by the government. It's very cozy and regularly functions to discourage competition.

It's easy to say that, but Canada has a smaller population than California, but spread over the surface area larger than that of the United States. How many carriers, and how much competition, can you possibly expect in that environment? Especially in an industry that requires so much infrastructure.

Canada at the national level has Bell, Telus and Rogers/Fido. There's a few more regional players like Freedom Mobile, and then there's Videotron in Quebec.

Then on top of that there's the former Crown Corporation (now subsidiary of Bell/BCE) NorthwesTel, which provides services in the Territories (i.e the north of the north, the Yukon, the Northwest Territories and Nunavut).
I assume it was more the abrupt change in the taste, rather than anything inherent in the texture. It was the culinary equivalent of not realizing you're stepping off a curb, and flailing for balance.
Signup for the ScoopML beta at https://www.scoopml.app
Yea, I totally missed that. I'm working on a ClojureScript library so there is no Hiccup and I'm planning on targeting Vue instead of React which means reagent and sablono are both out too.
I don't mind if you say something sarcastic, but I am happy to say "you're welcome!"
Huge relief to the government, who can now "approve" Huawei, and can go to the Chinese government and say, "see look we play fair in Canada", and still be sure that this will mean nothing and that no Huawei equipment will be used.

Wouldn't be surprised if the government asked the establishment telcos to do this favour for them. Huawei and the notion of them building Canadian 5G polls insanely badly in Canada and the government was in a tough place here.
Mark Zuckerberg defends hands-off Trump policy to employees after walkout
I'd say that populism is opposed to democracy in the same way that gluttony is opposed to health. Eating a ton is better than eating nothing at all, but the goal isn't mere survival. Populism subverts democracy, it doesn't further it.

To your point about the Roman republic, I mean sure. But democracy itself isn't and never was a mechanism to give the less affluent an equal voice to the wealthy, who always set up their own, more prestigious power structure that could overrule the lesser if needed. US Senate, House of Lords, Athenian Areopagus, the Indian Rajya Sabha, all were mechanisms to allow affluent minorities exercise disproportionate influence.

Putting the poor first, that's the aim of communism. In a republic, you have a voice. The rest of society, including the movers and shakers, still has to agree with it.
If you're looking for discussion between empathetic folks, this ain't the place. Discussions like that tend to be flagged for being too political, or they get ratholed in reinventing the wheel from idealistic first principles.
You can also just use a regular kitchen-aid mixer, and some liquid nitrogen.
This was a similar issue to trying to recompile OS9 programs under carbon to work on OSX.
After not having logged in to my FB account for over 3-4 years, I finally logged in today and deleted it.

I didn't feel like I needed to download anything, since I had not been sharing anything anyway.. Now onto deleting other FB properties. I'll need to figure out how to motivate some friends to move off of WhatsApp and onto Signal. But once I'm able to do that, or just decide that the price of staying on WhatsApp is not worth it, I'll be fully rid of FB. Was never on Instagram or anything else..

To those who are on the fence, just try not to login for a few days, then a few weeks and you will realize you are not missing anything at all.

Of all the social networks, I believe LinkedIn would be the most difficult, if not outright impossible for me to get out of. But FB was a very easy choice.
-Canadian telecom policy still revolves around "facilities-based competition", where it's believed that new entrants should build out a new network.

Didn’t CRTC force the incumbents to sell wholesale network access to new players like Freedom Mobile?
The Thief of Time: Philosophical Essays on Procrastination
Lol, I wonder what the throughput will be with all this extra spacing. Maybe the "take off your shoes" gang will have to let up a bit to maintain the proper distancing.

Here's a conundrum for air travelers: are you all more scared of the terrists or the ChinaFlu?
That will never happen. FDR's own party shit bricks when he tried to stack the Supreme Court. He got his pee-pee smacked hard.
So how should it have gone? Roll with England’s framework and just ditch the King?

Doesn’t sound too terrible, we’d have proportional representation at least.
I’m completely against Google and avoid its applications and services, but this sounds like a nonsense case with no merit. Yes, users may not understand that private browsing doesn’t prevent websites from tracking them, but the notice is clearly displayed on the browser window every time an incognito window is opened.

> Jose Castaneda, a Google spokesman, said the Mountain View, California-based company will defend itself vigorously against the claims.

> “As we clearly state each time you open a new incognito tab, websites might be able to collect information about your browsing activity,” he said.
If your fancy computer model doesn’t approximately equal your back of the envelope calculation, that’s generally a knock against the computer model rather than the napkin math. Exceptions exist, but for a system as linear as this you should be able to separate out gravity and look at it on its own no problem.
I don't have an issue with Huawei phones being available. I have the option not to buy them. It's not the same as network equipment.
I'm American, but I'd love to see more of our infrastructure projects pseudo-nationalized, personally. Governments manage to build roads and deliver mail just fine, and I don't see why digital infrastructure couldn't have more government financing and involvement as well.
> Also, hemp == cannabis.

Sure, but plants grown primarily for it's fibers wouldn't have anyting near the THC levels of the skunk mutants grown for narcotic use today
Yup. Only the Republican Party is to blame for the system not working. Democrats have never done anything to game the system at all.
I was ready to accept it for the rest of my life. Got the subscriptions to various meal replacements, started mourning. I was also in a pretty depressive state, which I imagine didn't help my immune system with the flu, or my optimism for the future.
I would be curious to find out how many Americans today have ancestors who lived in America during Civil war. Even more detailed question is with percentages cohorts based on how many ancestors were in America vs somewhere else during that time.
I have serious doubts about Sylvester’s claims - people just don’t live to 130.
Does this work outside of a shared memory environments? I haven't had to fuss with postgres for several years but last time I used it, this was non-trivial.
A-positive blood is higher risk for COVID19, O blood is protective
Does anyone hope that at this point?
(oops; typo on my part, I noticed - thanks for correctly interpreting my gibberish)

I was indeed referring to that sort of video. But "context" is always going to be a get out of jail free card even with a bodycam if grand juries and prosecutors are willing to just plain make stuff up. So while there's some support for your point about the Rodney King stuff, the cops also made claims like "we thought he was on PCP" (which turned out not to be the case). Clearer video of Rodney King standing back up could still be interpreted as an intent to charge at the officers by a jury that's predisposed to believe everything that cops say.

I'm currently seeing this play out in Sydney, Australia, where a cop just kicked an unresisting teen suspects' feet out from under him (while holding his arms behind his back). All the relevant material is on video, and yet we see officials more or less freely inventing exculpatory "context" that supposedly justifies what happens.

If you have a network of people around the cops who will just accept "we were afraid for our lives" as an excuse to do anything, no amount of bodycams will solve that problem.
I was once a racist. Here's three things I've learned since then
How do you elect those people?

Sticking with the software analogy, it’s like our system has these environment variables that only administrators get to set.

We don’t know how to make a simple change to those variables, so we’re coming up with all kinds of wonky workarounds.

I agree with you, it’s as simple as changing the environment variables. What’s complex is that it’s impossible.

That’s kind of the underlying frustration if we were to zoom out a bit. We need to make some simple changes in the config, and no one wants to give us admin rights or make the changes for us. It’s frustrating stuff, and has caused paralysis in our political system on every issue imaginable.
I wonder what it would have taken to keep Nortel going?
I love steak with no seasoning. And I brought up the animal products because they were the most extreme example, but I also couldn't eat raw lettuce (tasted like cardboard). As a salad lover, this fucked me up almost as badly as the meat. I was pretty much doing peanuts, noodles, tofu, and meal supplement shakes.
> It could easily have been that the Canadian government told the telecoms a long time ago that they wouldn't be allowed to use Huawei, but kept this secret for the sake of contract negotiations.

I figure the government ran its Huawei-ban proposal by the telcos and they balked and said: "don't regulate it, we'll just not choose them". It's a direct access to government influence that the public could only dream of. Meanwhile, the public gets told "well, if you don't like being ignored when new laws are created/passed, vote for someone else in [0-4] years".

Basically, just pissed that CDN telecoms get to craft the law (or lack thereof) in their favour.
War and pissoirs: how the urinals of Paris helped beat the Nazis (2019)
It should not be your job to do that, but of the trillion dollar company whose stated mission literally is 'organizing world's information'. The inversion of roles is the problem.
yes

the same tired battle lines have been baked into tech for 12 years now, and it exhausts me to read the Google ones these days

it's sad that this is a source of innovation, but simply switching from Apple "infrastructure" and languages has been a massive step change in my productivity.

If you're really unsure, audit network traffic and the code
My mobile carrier in Australia (Vodafone) was 100% Huawei for 4G and, similarly, has had to pivot away for 5G at great expense (it seems that the Huawei 5G was a cheaper upgrade to the existing kit they had). It has delayed them doing 5G for at least a year trying to make both the tech and commercials work to pivot. https://www.smh.com.au/business/companies/vodafone-signs-nok...
Turns out guns are important for protecting yourself against government overreach and abuse. Who knew?
> Just goes to show that Canadian telecom policy is controlled by telecoms, not by the government

I worked for a (very) large Canadian telcom for 4 years.

What you said is absolutely 100% correct.

In my region my employer was forced to allow competition in the internet space, and they submitted rates to the CRTC that were astronomical. The CRTC replied and said they would force them to lower the rates, so my employer said they would stop building out their fibre network expansion.

The CRTC caved, the telco got it's way, and to this day the ISP with the largest operating area of any on the planet has zero competition.
There aren't that many people with power. We can only assume these underdeveloped evil egos have a supermajority within a group of a few thousand. Numerically, that's not an unmanagable problem, supposing it's the case.
That's quite a story. I guess you never really know when your number is up.
Oh I see. I just didn't realize that that was codified into law so that police would stop you from doing that. Would have figured it had more than just unsporting as a reason.
Web browsing is my biggest concern with these lower powered devices. People always blame the browsers, but its really the whole ecosystem, but odds are you're going to need to access some web site on eventually that will just hang the whole thing.

From TFA:
Run Firefox half-decently with a few dozen tabs that aren’t full of bloat (ie, not Medium, Reddit, or mainstream news sites)

I have an old 64 Bit Quad Core Baytrail-T Z3795 1.59GHz tablet which just freezes on Twitter unless I disable videos.

Can these socs do any better?
Thanks for the suggestions! I checked them all out. Lyon, Ivar and Arnhem are quite nice substitutes for Times.

The others I find a bit too "designed" to be used as straight substitutes. Their design is quite striking, and risks distracting from the message in long paragraph text. Particularly Gliko, which is beautiful for titling but I can't imagine reading more than a few sentences of it.

I'm personally quite partial to the Adobe fonts for book text:

* Adobe Garamond https://fonts.adobe.com/fonts/adobe-garamond#fonts-section

* Adobe Caslon https://fonts.adobe.com/fonts/adobe-caslon#fonts-section

* And to some degree, even Minion https://fonts.adobe.com/fonts/minion
I am starting to wonder if this is what it means to run "government like a business". Corporations are basically authoritarian dictatorships that don't tolerate dissent or only within a narrow range and it seems that government is run the same way.
People complain about the lack of cell phone providers here in the US, but damn! Canada is way worse. The cost of phone plans is outrageous and the major telecoms do everything in their power to stop new entrants from messing up their gravy train.
Man, think of those Dockerfiles.

FROM nuclear:latest
I would love to know whether the fundamental objection over security vulnerabilities in the hardware and software of Huawei is resolved with this decision.

Or if Nokia and Ericsson are just as susceptible and it was just political posturing.
> Unless they're reading my facebook messenger messages, I have no clue how they would have discerned that piece of information.

Facebook Messenger is not end to end encrypted, unlike WhatsApp (which is, but shares metadata with Facebook). Of course it’s reading your messenger messages as much as it’s reading posts on Facebook to see what the content is about and how to use it to build a better profile of you to show you and your contacts more “relevant ads”.

Consider Facebook Messenger like a private closed group on Facebook. Just the interface and conversation models are different.
Prof. Nshuti Officially Starts Work as Minister of State in Charge of EAC
Looks like it doesn't work on iOS.

What happened to AirDrop? It used to "just work" and now it rarely works.

In the last two days I experienced:
- Unable to discover devices (a constant AirDrop frustration)
- Transferred a video from iPhone to Mac, had to wait for video to be converted first?
- Transferred video from (different) iPhone to Mac, transfer repeatedly resulted in a corrupt 0 byte file

AirDrop has become totally unreliable.
Way opposite experience. I recently switched from manjaro/windows to the new mbp16, and I was surprised by how much I prefer it to windows especially. I'm happy with what MS is doing with wsl/wsl2, but it's not there yet.
I don't. I love it's decisions, I'm glad they made them, and I said as much, but that doesn't change that they're making law.
You don't seem to attach much value to the lives of the elderly and those who have underlying health conditions.
I presume that's because no one you care about, including yourself, is in that category.
That's a pretty callous attitude.
At 78 you have about a 5% chance of dying in the next year but if you've lived to 78 then your life expectancy is about 10 years. 10 years thrown away so some people can go on a march because they're angry about someone dying. You couldn't make it up.
It makes perfect sense. You also just confirmed with me that I never want to return to Facebook.

I don't need that website to have that much control over my life and my social relationships. It just doesn't make sense to me, but I'm glad it worked out for you.
I briefly imagined this was going to be a treatise based on some reality where all windows programs could be trivially made to run on windows 95. Even 25 years later.

It would be amusing to think that developers would have to take extra steps to ensure their program does not in fact run on older windows versions.
Obama was guiltily of it. Bush was guilty of it.

Exactly. I can remember when Obama was using procedural rules to force things though. The response was "if you do it, you can't complain when the other party does it when they are in power".
Deleted mine just now after 7 years of virtually zero activity. No regrets.

Also I bought this book for my dad - Facebook is extremely toxic for Boomer-era people, just absolutely overrun with propaganda, low-value memes. The complete opposite of critical thinking.

We haven't had a chance to discuss the book's arguments or merits, but I told him I was really concerned for his mental health and his increasing paranoia, and I thought a lot of it stemmed from social media.

https://www.amazon.com/dp/B079DTVVG8/ref=dp-kindle-redirect?...

Anyway, if anyone has any other advice for convincing others to leave social media, I'd love to hear it.