skysight-inc/HackerNews huggingface dataset:
Don't understand why you are being downvoted. Why can we not agree that single party rule in any city, state, or nation, is simply a recipe for corruption? Look, I'm a registered republican, but I too would be uncomfortable if literally every office in my state were held by the republicans for decades. Meanwhile, most cities have decades of rule by the same party. Many times the races are not even contested meaningfully.

Yes, this is a major problem. One party rule is what we should expect from 3rd world countries like China. Having a single party on the ballot is what I expect from countries like North Korea (which does have voting believe it or not, just with one candidate on the ballot), not America.

Why is this idea so resisted? It doesn't even mean that we need to elect republicans. We can elect the Greens for all I care. However, there is a huge problem when all political positions are held by people that know the same power brokers, the same political party machine, hold the same ideologies, are unwilling to go against their 'side', etc.

Oh and BTW, remember that Hacker News is filled with rational, non-biased people /s.
Ancient religions had not evolved to be unfalsifiable like modern ones have. The Aztecs believed that they could get something by earning favor - and since they weren't actually getting anything, they were factually wrong in a way no modern religion can manage.
I think the point is that the parent poster doesn't understand what metrics are used to determine these "most dangerous cities" lists.

Stress caused by car noise is way, way down the lists of issues in major cities.
> To be truly Turing complete requires infinite memory. That clearly doesn't hold for any current programming language.

> Indeed I have a simple algorithm (although relatively inefficient) to solve the halting problem where memory size is fixed and finite: enumerate every state until either a state is repeated or the program halts. This completes in O(2^N) time where N is the size of the memory.

"Relatively inefficient" is a colossal understatement. Anything that we would nowadays categorize as a "computer" has a state space so huge that, while technically finite, it is effectively infinite for all practical purposes.

For example: the ATmega328 microcontroller in an Arduino has 2KB of RAM (assuming we ignore registers and the possibility of storing data in Flash). That's a total of 2^16384 possible states. If every cubic Planck length of the observable universe was capable of checking one of these states per Planck time, and did so from the Big Bang until the heat death of the universe (let's say 10^100 years in the future), they would still have enumerated only a googol'th of a googol'th of a googol'th of a googol'th [... repeat about 10 more times...] of the state space.

We could of course imagine trying to find a better algorithm, but since this problem is easily shown to be NP-hard, it is very unlikely that we will find something that guarantees good enough performance to make this kind of analysis possible.

We haven't "given up" on automated program analysis. It's just that the fully general case is intractable, and it takes a lot of hard work and ingenuity to find strategies that can separate the tractable problems we care about from the intractable ones.
Show HN: AI Powered Screen Recorder all inside Chrome
Live Transcript that lets you skip through the video, automatic mention detection and we're just getting started! Built by a remote team for remote teams around the world.
> I know of no Stoic, ancient or modern, who advocates this.

Nietzsche is not saying that Stoics are consciously doing this, rather that it's an unconscious process - and in Nietzsche's view, a rather fundamental one that far from just the Stoics are involved in. One of Nietzsche's central tenets is that pretty much all 'knowledge' and 'belief' is just us projecting our interpretations (rooted in what we would now term cognitive biases, value judgements, sensations, etc) on reality and then "reading" them back to ourselves as the ground truth, which is in fact unknowable as such.

In general, Nietzsche regards philosophical attitudes as determined by physiology and environment, and in fact says later that Stoicism is a fine medicine for certain kinds of people in some periods of time.
The choice is an illusion. Both strategies require understanding the requirements implicit in the current system. The first just assumes many of them are low-priority; this is frequently a dodgy assumption.

So, regardless of which path you take, most of your journey will be extracting requirements, writing tests, discussing priority with stakeholders. At the point where you're finally writing new code vs modifying existing, most of the journey is already behind you.
I agree! We tend to think of things on a grand scale beacuse that's what we see in the media but the truth is there is more visible impact on a local level as you can impact day to day much better.

Great site and thanks for sharing!
26min and 6 seconds is the line that stays with me n decades after I first watched it as a kid on the BBC. Chilling
Yes it’s unfortunate. Gentrification is a big win for homeowners, and a big loss for renters. Are there strategies that allow us to improve our neighborhoods without displacing renters?
Could you provide a screenshot showing what you mean?
How do you manage ? These days it seems like almost every website where you have to make an account requires reCAPTCHA...

(I'm using uMatrix too, but this doesn't solve the issue that if I don't allow reCAPTCHA, I'm stuck on the first step of account creation…)
Seems silly to pay so much for leaded fuel. I used to have a 1974 mini, and a single bottle of lead additive would last months.
Good. Hopefully hardware in us gets hacked.
> While utilitarianism can be useful -- of course we should consider the outcome a policy -- I think it's a dead-end as a replacement for a bedrock moral philosophy.

Utilitarianism isn't, ever, in practice, a replacement for "bedrock moral philosophy", though this is a common strawman. Utilitarianism is a term for a feature of a "bedrock moral philosophy" (that it's rules involve maximizing some function of outcomes), distinguishing moral systems with that feature from ones which view right/wrong as inherent features of acts (or, more rarely, of other things, like individual actors) independent of outcomes.
> Flight restrictions of this kind are standard security protocol for a major party’s nominee for president. A sitting President typically gets a 30-mile ring of roving restricted airspace for any travel away from the nation’s capital.
As someone who worked at MSFT, Cape Feare felt right on. They really poured the sugar on, and are probably sorry it's not in the packets.

I do love the monorail episode though, mostly because of the great song! I can hear it now... monorail - monorail - monorail
Yeah, funny how it all worked out. cgroups/namespaces powered simple LXC containers. Docker comes along and makes a nice workflow and package management system (wrapping cgroups/namespaces). Kubernetes comes along and makes a nice workflow/cluster management layer (wrapping Docker). Cloud providers come along and make a nice Kubernetes management layer (wrapping Kubernetes). Pretty crazy to see the evolution over the past few years.

This tech has completely changed the sysadmin landscape/job descriptions and sort of threw tons of gas the whole devops movement.

Disclaimer: I worked at both Docker & Google. Although not on this tech specifically. Opinions are my own here.
I don't sell courses myself but our clients do (SAAS LMS business). I can give you some tips:

- There are lot of online course sellers these days. A lot of the content is mediocre and not worth paying for especially when you can find tons of free stuff on youtube, google etc these days. So you need to create real quality content of tremendous value.

- Don't do broad courses. Pick a niche. Specific niche. Don't teach programming languages. Teach Python (for example).

- Marketing. marketing. marketing. If you canot market your courses, you won't do much. You need to think about this.

- Plenty of good platforms to start with. Look at teachable, thinkific, learnworld, podia and a few others. The problem with these platforms is that you have to figure out marketing yourself even though they give you a more branded platform (your own logo, website etc). You may be better off starting with a marketplace platform like udemy.com where you are just a number like others but you may be able to get a few eyeballs on your courses (even though udemy courses are too cheap mostly for my liking and I feel like authors are forced to heavily discount).

- Did I say figure out your marketing strategy/tactics ? If you have no idea, you need to think about it. If you build it, they won't come but you already know that.

- Don't create long content (e.g. a 45 min single video). Better to create smaller consumable content (split that 45 min video into 3-4 10-15 min videos). Student attention span for online content/courses is too short.

- Create a feedback system and ask your students if your courses helped them. Offer tons of free resources.

- Do tons of content marketing. Best way to gain audience especially for online courses.

- Setup Upsell by offering FREE courses and then provide premium content. This will work if your content is good quality.

Good luck!!
Also the post says that Firefox doesn't work on Androids older than 5.0 which according to the dashboard are still 5.9% of devices.

For those older devices, the only option is to install the new root certificate.

Anyways, there are billions of Android devices out there. 33% of those is a large number. You can't just tell all of them that they are wrong.

If this happens, people will move away from Let's encrypt in masses. They don't realize yet how self-harming this really is.
I mean, how often are you telling them the real, true, unadulterated truth? How often do you even know that truth yourself?

Folks in management routinely filter messages. What surprises me more is that you are aware that your developers don't believe you.
“I can’t tell you how many new product initiative meetings I’ve been in where no one remembers the meeting about the exact same thing from two quarters ago. It’s like Groundhog’s Day, but you’re having the same meetings over and over.”

Haaar!
On the other hand, libpijul received 0 external contributions over the three years during which it was public.

The biggest contribution I got was from someone who rediscovered it independently after asking me about it, and didn't even care to respect the license.

Moreover, the formats of an experimental tool, especially when it is based on new math, need to change frequently. Every single time we've done it in the past, we heard weird comments here, on Reddit and Twitter that our theory would never work because the implementation was not there yet.

There were also unfortunate professional choices I don't want to comment on, which forbade me to work on Pijul other than sometimes on the weekends. I ended up resigning in July 2020, and have worked on the new Pijul more or less 100% since then.
> A lot of "new Googles" got made.

Such as?
I've had to explain this to non-technical stakeholders many, many times over the years, and I always use the restaurant metaphor:

If you run a commercial kitchen and you only ever cook food, because selling cooked food is your business -- if you never clean the dishes, never scrape the grill, never organize the freezer -- the health inspector will shut your shit down pretty quickly.

Software, on the other hand, doesn't have health inspectors. It has kitchen staff who become more alarmed over time at the state of the kitchen they're working in every day, and if nothing is done about it, there will come a point where the kitchen starts failing to produce edible meals.

Generally, you can either convince decision makers that cleaning the kitchen is more profitable in the long run or you can dust off your resume and get out before it burns down.
Wow, that "manager" is really bad, since that "manager" does not accept any suggestions (equals having a big ego), and it seems that there was no backwards compatibilty to be worried about. Why do I feel that "manager" is trying to micromanage everything?
This seems like a new set of buzzwords with which altar.io can say "we only hire rock stars".
Critical thinking? Is it really critical thinking to understand that people have been dishonest to make money since... oh I don't know... the past few millennia? I know it's a fairly recent concept, but I think it's happened enough to have merit.

I need someone with some expert critical thinking skills to explain to me why people are so surprised by these "revelations" of overblown, sensational claims...

At some point, people need to take some responsibility in themselves of being ridiculously gullible and reward blatant cons (Theranos anyone?). There's a weird culture of "It's not my fault I was fooled". Yes, it is. This is literally why we're all taught "history". See the past faults, mistakes, success, good, bad, failures, cons, promises, etc. and understand that it can all happen again. Thus, you can protect yourself. Yet, people keep trying to over complicate that concept.
Rails 6: How to add authorization to your application
I regularly use jq to summarize the structure of big JSON blobs, using the snippet written here (I alias it to "jq-structure"): https://github.com/stedolan/jq/issues/243#issuecomment-48470...

For example, against the public AWS IP address JSON document, it produces an output like

$ curl -s 'https://ip-ranges.amazonaws.com/ip-ranges.json' | jq -r '[path(..)|map(if type=="number" then "[]" else tostring end)|join(".")|split(".[]")|join("[]")]|unique|map("."+.)|.[]'
.
.createDate
.ipv6_prefixes
.ipv6_prefixes[]
.ipv6_prefixes[].ipv6_prefix
.ipv6_prefixes[].network_border_group
.ipv6_prefixes[].region
.ipv6_prefixes[].service
.prefixes
.prefixes[]
.prefixes[].ip_prefix
.prefixes[].network_border_group
.prefixes[].region
.prefixes[].service
.syncToken

This plus some copy/paste has worked pretty well for me.
How do you implement that “easiest way” you mention? That sounds more like the hardest way.
I think it might be one of those "all press is good press" PR strategies centered around manufacturing controversy. It's a shame how effective that is. I'd like to say that hopefully, prospective customers will see how absurd it is, but I think that this kind of oversimplistic biz-pop-psychology tripe gets really easily embedded. I think that using the equivalent of a horoscope to reason about your product engineering organization seems predestined to end in hilarity, unexpected consequences and obvious failure.
Why are they all men?
The last job search I went thru really, really sucked. The main way I made it through was side projects. One of those side projects ended up being https://jobhound.io/ which is a CMS for your job applications so you know where you are with a given job you are applying for.
New Coral APIs and tools for AI at the edge
They were forced to pay that for not saying that they were doing it.

The feature still exists today. The brand new iPhone 12 will do the same thing on a degraded battery.
What Happened to the Future? (2011)
I love that episode, but I’ve never really comes to terms with Nemoy teleporting out.

While I’m mostly on Groening team with regards to not breaking the supernatural barrier, I am completely okay with how Homer completely defies the laws of physics and stops the monorail with the giant M.

But maybe I just don’t get the joke of Spock teleporting out. Why was that “... just such a funny joke that we had to do it”?
Half the Milky Way’s sun-like stars could be home to Earth-like planets
It just clicked on my mind that I was getting attached with my body that is free without tension.
support local farmers and food supplies! The ones that practice organic farming (but don't need to be certified by USDA)

Guerrilla Gardening are awesome!!! If you growing stuff, why not grow food!! Check out this guy:

https://www.youtube.com/watch?v=EzZzZ_qpZ4w

Get to know your local and state politicians, sheriff. That is way more important than the election that just happened.
tl;dr but when it comes to TD the thing is - it does not matter. programmers care because they see behind the curtain, but business does not. if it makes money, it does not matter how fragile it is. business is looking at things like black box that has input and output and that is ALL that matters. on the other hand, programmes have the inverse outlook. they do not care much about what goes in or out but what and how is happening inside. and in the grand scheme of things, all that matters is if it makes money. this is one thing that many new programmers struggle with because yagni/kiss is impossible for many to implement even if they really want to because we as a human species have hardcoded to take the path of least resistance and in code that means avoiding repeating yourself or writing "ugly" code and things like that. only after decades of being in this business will one learn how to let go. but it cannot be forced or learnt on the spot. it has to be experienced. yagni, bitches.
James Burke's fascinating After the Warming predates Al Gore's An Inconvenient Truth by almost 2 decades![0]

[0]https://www.youtube.com/watch?v=451xJqNGFqU
Energy Department Looks to Boost Hydrogen Fuel for Big Trucks
The first two archetypes presented here summarized by their final statements is "Most developers are average, average developers are trash, we don't have any average developers here. The Wolves are 10x Ninja Rockstars and that's all we hire."

This article was entirely meaningless clickbait.

EDIT:
The poster of this link /only/ posts links to altar.io and is a low-karma user that never comments. This doesn't belong on the front page of HN.
Bitcoin has 'mixers', using which, AFAIK your anonymity goes from zero to 'only the NSA will be able to track you down'.
No, it wouldn't be enough.

This year has been the perfect experiment: Through massive, massive, restrictions in our normal life we managed to reduce CO2 emissions by what, 30%? Say we could do it even better if everyone became vegan and only rode bicycles and we reduce them by 70%. Awesome. That about triples the time we have until we need to reach net zero emissions. It probably also crashes the economy that's supposed to pay for the modernization and replacement of our whole energy infrastructure.
If you have good internet connection it's usually downloaded a lot faster. We have switched the nixpkgs version in that version, so a lot of tooling had to be redownloaded. E.g. in our getting started video we install it on a fresh empty macbook: https://www.youtube.com/watch?v=PLl9Sjq6Nzc&feature=youtu.be The full download there takes around 9 minutes on a slow home office internet connection (it's speed up in the video, but you can see the real-world time at the top right).

We mainly added the warning in that release because usually the update process is very smooth and takes only one minute, e.g. see this tweet: https://twitter.com/mittie/status/1322574176792825861
A lot of that will either be kerosene or feedstock based diesel compatible fuel; not stuff you’ll be able to feed your classic BMW.

In general though a lot of “off grid” stuff is going to heavily prefer solar + batteries where possible, since it’s much easier to keep that running without having to constantly go into town for supplies.
For those unaware:

https://en.wikipedia.org/wiki/996_working_hour_system

https://www.cnn.com/2019/04/15/business/jack-ma-996-china/in...
> So shifting infrastructure away from cars is really relevant.

Sorry, it's really not. No one murders another person because of policies that don't provide enough to support to public transportation.
Can you expand on what you mean by fitness here?
I've had a lot of Minis in just about all possible shapes and sizes. I've rebuilt them from the ground up, done a lot of chassis work on them and made them go a lot faster than they originally were designed to.

The classic mini is a work of art. You can do just about anything with it. But the balancing act between weight, handling, size and power is a delicate one.

Adding batteries and an electric motor is for sure going to upset that balance in ways that you will not enjoy as much as you may think and I suggest that before you embark on a project like this to find one and drive it first, to see if it is something that you will like once it is done.

Another thing to keep in mind is that Mini's are notoriously hard sprung and that you're going to have a hard time getting it to handle safely. Personally I'd pick another platform, if you want to go vintage try a Citroen DS or a VW Beetle. Slightly more room to play with, especially the beetle is a breeze with the rear wheel drive drive-train.

It will also end up being a lot more reliable and probably cheaper too because you won't have to miniaturize everything and getting rid of excess heat will be a lot easier.

Finally, note that in most countries this is not going to be road legal, in the UK it can be done but elsewhere you are going to have to go through a very expensive test regime in order to get certified.
Lessons from a Year of Apollo Federation
> Once it’s done I doubt there’ll be enough hobbyist gasoline users around to fund a single refinery,

Not sure what you mean by "enough", but even if gasoline goes away you'll still be able to buy Avgas which should be useful in cars. Plus there is a ton of equipment out there that burns gas which will drive some demand. Generators, two stroke mowers and equipment.

There will be gas widely available for at least another 50 years. I do agree gas prices will go up quite a bit though. In particular, anywhere real estate is expensive gas stations will get driven out in favor of more profitable uses for the land.
education, that's where it all starts or ends. if you want to do something, you have to educate people. show them why something is better or not. explain, teach, spread knowledge.
Healthcare is a good point, especially since good insurance outside of an employer is either expensive or requires a significant other with a job with good benefits.

In the scheme of things though, once you've incorporated and put yourself on payroll, health insurance becomes just a cost of doing business. If you're the type that thinks purely think in terms of maximizing lifetime earnings, or even lifetime impact, free health care won't make a dent in that. If that happens to be your thinking and you can afford SF or the bay, you're better off staying where you can maximize your income and impact.
Astronomers claim the Moon's 'long-lost twin' is hiding behind Mars