skysight-inc/HackerNews huggingface dataset:
Writing tests. I got along years professionally without, employers weren't enforcing it. Over the years I think it made my code better structures, easier work/handover with other engineers, less feat to restructure code and ultimately it saved me from many small and big bugs. It doesn't have to be full coverage, or writing tests before code, any tests are better than none.
I think anecdote, personal experience, and most importantly, history, are valuable when the groups in question (law enforcement) are collecting the data in question. Would you believe a survey taken by Coca-cola about what soda is the tastiest? A lot of the initial reactions of law enforcement to incidents of police brutality start with denial, and they don't change their story until there is video evidence to contradict them. In so many incidents where there isn't publicly available evidence, they get to shape the narrative. No amount of data are meaningful if the source benefits from them supporting certain hypotheses.
Facebook has taken steps to limit Boogaloo groups on its platform.

https://www.engadget.com/facebook-limits-boogaloo-groups-122...
There are so many double standards occurring right now

1.) It's ok for BLM protests to be allowed, but not religious congregation or quarantine protests

2.) It's ok defund police in California or New York because a racist event took place in Minneapolis, a few thousand miles away, because it isn't racist. Nevermind the lower income minorities who live in high crime neighborhoods who do need police protections.

3.) It's not ok to criticize Chinese government for their role in the outbreak, hong kong, uighur, etc (because it's racist!). but it's always ok to criticize nazi Germany.

4.) It's ok to protest and destroy properties and livelihood of American small businesses, yet it's crickets when it comes to protesting against Chinese government.
@dang,

Maybe the text in italics ("Be kind. Don't be snarky...") should be always shown above the HN comment box? It'd be nice to get the reminder every time we are starting to write something unkind or snarky...
The latest peaceful protest as described by the bbc here: https://twitter.com/BBCNews/status/1269574979680702470 left 27 police officers injured, one with a collapsed lung and shattered ribs after a rock was thrown at her horse.

Would you care to explain why my question has a faulty premise? I am genuinely concerned about this.
Seems interesting, but all I can think of right now is the video game Ace Combat 7.
That is absolutely not the case. Furthermore there is nothing wrong with inequality, the only way we could all be equal is if we were all the same person. Even then we would exist in different physical space and thereby find different opportunities. Consider how mentally sick a person would have to be to think they have the right or even the ability to weigh the value of someone else's life against the value of someone else's inequality.
Lua's lack of integer support caused me some issues. Using floor() around everything wasn't really an ideal solution and I ended up changing languages for that project.

Metatables are cool, but have some weirdness to them. For OOP i ended up using metatables to make a simple prototype(rather than class) based system, but it was hacky at best.

Tables themselves are pretty awesome and powerful, but I have to admit, working with them gets a bit tiresome in ways working with dedicated arrays and hash maps don't. You have to remember exactly what kind of data is in your tables and looping through them can be a pain.

Overall though, I still love lua, it's the language that helped me 'get' programming and I wouldn't actually appreciate dedicated data structures and typed variables so much if I hadn't had the experience of starting with a more free, loose and simple language like lua. Also, its ability to easily interface with C and be easily embedded has made it appear in so many different and sometimes strange and just downright cool applications.

I've been playing with the solarus engine lately, it uses lua for its scripting, it's the first time I've written any lua in a while, but i've been enjoying it as I rediscover all the little cool things I like about it and i still think it makes a good first or second language for people.

Having the reinvent the wheel isn't necessarily a bad thing when you're learning. That hacky prototype system I made helped me understand OOP far better than just using classes in other languages had. Even if it didn't really work all that well in the end. It really made me appreciate what a built in class system actually gives you.
That's why I was curious
Since we're arguing by aphorism, Brandolini's law a/k/a bullshit asymmetry principle: "The amount of energy needed to refute bullshit is an order of magnitude bigger than to produce it."

https://en.wikipedia.org/wiki/Brandolini%27s_law

https://news.ycombinator.com/item?id=23417790

The value of a healthy established pedagogy, curriculum, and canon is that these distribute the bullshit-sifting role and guard and promote the jems.
To some extent I agree. But some districts/schools seemed to really have thought through how to deal with this quickly.

Our child's district did a horrible job, from our viewpoint and from the few other parents I've talked to in the same district (public).

Up the road is a private school that I hear from their parents did a fantastic job. As well as another parent in a district (public) further from us.

Edit: I'm curious to see how this affects the online schools (especially high school and below).
I've thought about that a fair amount also. I think the key is personalization. If bad actors downvoted a bunch of items, it would only affect people who already shared a lot of similar votes with those actors.

That is still exploitable: if I know you like A, B, and C, (perhaps those are popular items), I could also upvote those items and then downvote another item D. I have an idea for countering this: keep track of history. So instead of just measuring ratings overlap ("of items you've both rated, 75% of items were rated the same"), you keep track of the performance of recommendations made from that user ("of Alice's items that we recommended to Bob, Bob upvoted them 25% of the time").

I haven't thought about this super deeply yet, but I think to beat that, you'd have to actually provide valuable data to the system in the first place.
What is the model they use to make this calculations?
Is this law? Do these governments even have the authority they claim they do to issue these selective lockdowns? It's a gray area at best, and I'm sure many judges would consider these lockdowns actively illegal as is what happened in Wisconsin.
Just wanted to add that the abolish the police sentiment isnt as inane as it sounds on the surface. Abolish the police is about taking away responsibilities that police have today and giving them to people more suitable. Police - people trained for aggression with weapons to stop violent criminals should not be handling:

1) mental health

2) homeless

3) drug addiction

4) domestic violence

5) traffic stops

etc etc

They should be called to handle

1) robbery in progress

2) active shooters

etc

The Not police should be trained in deescalation and should be familiar with all the social resources necessary to help people in the community. The not police should not be armed
> "... a compelling trail of evidence linking HMS Glorious to Churchill’s “Operation Paul”, a secret plan to attack neutral Sweden and stop the export of iron ore to Hitler’s Germany."
Hume laid the philosophical foundations of empiricism for Laplace.
Ask HN: Is it worth creating yet another programming course?
There's a lot of content out there on how to learn Python, but I'm passionate about teaching. Does anyone have suggestions on content they'd be interested in, or a particular medium (like a YouTube course)?
Unfortunately I don't think anyone has a crystal ball on this. In the last housing crash, for example, while properties did devalue in some areas of the country, in my city they simply stayed flat for several years. So selling and attempting to buy cheap would not have been a winning move. My advice on buying property is to do it either because you want a home, or you want a rental property for supplemental income. Trying to time or out-smart the housing market is like playing roulette, you might win, but it's more chance than skill.
$1m treasure in Rocky Mountains has been found, says Forrest Fenn
The macros are a form of data compression. Otherwise the string would be absurdly huge
This is the literal definition of a 'double standard' .... you know the same behaviour (protests) judged by different standards.
> 48. Resource Curse

I've seen this at work in people (including myself) as well. Wherever people have a natural, unusual strength that starts at a young age, they often have many underdeveloped abilities due to relying on their strength. (ex: smart kids never learn how to study and hit a wall in college)
The comment thread here, and the national attitude more generally, is the literal embodiment of cognitive dissonance. Science and facts are only useful insofar as they are convenient to our ends.

I suppose, in light of the shortcomings of human nature, it would be a lot easier to make the point that needs to be made if we were dropping bombs on coronavirus victims and broadcasting the carnage instead of rolling them up into statistical output. Their crime, apparently, is dying in a way that isn't direct and emotionally resonant enough for other human beings to grasp the magnitude of it.
And those exact posts bafflingly make it to the front page of Hacker News somehow -- doubly so if you can include [esoteric language] into your "My thoughts on" title.

I recall an especially egregious one on Clojure where the author had used the language for all of about a week before writing up his detailed hot takes on some "cons" of the language, like needing to know some complicated thing called `let` in order too assign variables.
he gives a book name "Comment tout peut s'effondrer" by Pablo Servigne, Éditions du Seuil, 2015

https://collapseos.org/why.html
Kinda disgusting how personal beliefs can influence professionals, no?
Their "nature" is to hunt and kill things. They have the size and ferocity other breeds don't have. The fact that you have trained yours to pose for cute photos and play with your kids is the weird thing here.
I could sorta see someone looking to move submissions. But someone putting effort into moving my crappy comments? Historically the mostly stay at 1 point (or move over time if they're good)
I suppose the dialogue in comments should be closer to two researchers thinking about a problem than lawyers cross-examining witnesses in court
this. plus implementing CI as early as possible and getting that working before too much code is written.
A tomahawk is not an anti-air weapon.
I understand it to mean, do not pick at small faults in others arguments. Cross examination is good in a courtroom trial, but does detract from the flow of conversation.
All of a sudden, I've been seeing people mentioning the Baader-Meinhof phenomenon everywhere
Lower inflammation values and no more bowel problems.
Good for fact-finding, if answers are required, but bad for community-building.
> What’s the difference between a Tomahawk cruise missile and a drone?

With human pilots, there is a bright line separating aircraft and missiles (although even that line wasn't completely firm - see Kamikazi attacks). Taking the pilot out of the equation, that line dissolves into a gradient.

> Is the distinction that drone can return to base, or otherwise land and be reused?

That's probably the most useful distinction.
Completely practically: clocks in orbit keep consistently different time from clocks on the surface. The discrepancy requires accounting for relative frames of reference.

" Because an observer on the ground sees the satellites in motion relative to them, Special Relativity predicts that we should see their clocks ticking more slowly (see the Special Relativity lecture). Special Relativity predicts that the on-board atomic clocks on the satellites should fall behind clocks on the ground by about 7 microseconds per day because of the slower ticking rate due to the time dilation effect of their relative motion [2].

Further, the satellites are in orbits high above the Earth, where the curvature of spacetime due to the Earth's mass is less than it is at the Earth's surface. A prediction of General Relativity is that clocks closer to a massive object will seem to tick more slowly than those located further away (see the Black Holes lecture). As such, when viewed from the surface of the Earth, the clocks on the satellites appear to be ticking faster than identical clocks on the ground. A calculation using General Relativity predicts that the clocks in each GPS satellite should get ahead of ground-based clocks by 45 microseconds per day.

The combination of these two relativitic effects means that the clocks on-board each satellite should tick faster than identical clocks on the ground by about 38 microseconds per day (45-7=38)! This sounds small, but the high-precision required of the GPS system requires nanosecond accuracy, and 38 microseconds is 38,000 nanoseconds. If these effects were not properly taken into account, a navigational fix based on the GPS constellation would be false after only 2 minutes, and errors in global positions would continue to accumulate at a rate of about 10 kilometers each day! The whole system would be utterly worthless for navigation in a very short time. "

-- from http://www.astronomy.ohio-state.edu/~pogge/Ast162/Unit5/gps....
I once saw a very elegant solar tracking mechanism with no moving parts. The panel array was hinged to swivel freely. 2 solid tanks sat below the fore and aft edges, and were connected by a solid copper tube.

As the sun moved though the sky, if one tank got more light, a working fluid would move from one to the other moving the center of mass. This caused the panel to swing to bringing them back into equilibrium.
By going with a "fork and patch" model, rather than shelling out to the existing terraform providers, they are putting themselves in a constant race to overtake TF's popularity.

Their okta provider, for example, is based on some absolutely ancient, non-standard provider (https://github.com/pulumi/pulumi-okta/blob/v2.1.2/provider/g... ) instead of using the official one which receives regular updates: https://github.com/terraform-providers/terraform-provider-ok... ; and now I guess it's on me to do some git diff to find out if there are meaningful changes between the imported provider and the upstream one?

To say nothing of the more esoteric providers that one can cheaply build and place in the `.terraform.d/plugins` directory and off you go, in contrast to trying to find the dark magick required to use some combination of https://github.com/pulumi/pulumi-terraform-bridge and https://github.com/pulumi/pulumi-tf-provider-boilerplate but ... err, ... then one has to own that new generated pulumi provider code? So like a fork but worse? Maybe they should make a bot that tracks the terraform-provider topic on GH and uses their insider knowledge to generate pulumi providers for them.

Don't get me wrong: I anxiously await the death of TF, but until there is a good story to tell my colleagues about an alternative to it, they'll continue to use it.
Ooh okay I get it. Thanks.
> My pet theory why YouTube is better is that there is no incentive to make videos longer. [...] YouTube videos seem to be mostly as long as they need to be to tell the story they want to tell.

I don't think this is an accident: YouTube apparently ranks based on watch time / retention, so if you make your video too long and people don't watch to the end it hurts you.
I fundamentally agree with chaos theory. When I come across predictions based on non-linear, highly dynamic, multivariate systems, I know that uncertainty is an exponential function of time in those systems, even if we have a perfect understanding of how that system works (often not true). This is why I'm a skeptic of most studies affirming the ideal diet or ones that seek to flatten psychological profiles to predict behavior or ones that have simple answers for economic problems or studies attributing all climate change to anthropogenic CO2 and ones that argue that catastrophic warming will occur in the 21st century.

When it comes to predicting chaos, there can be no consensus. The only rational position to take is to prepare for the maximum range of outcomes with given economic constraints. For example, if we over-corrected for global warming, investing all of our limited resources into that, and we instead find ourselves plunged into a 100K-year glacial period by the end of the 21st century (perhaps caused by supervolcano), will we have saved humanity or nature from decline or mass extinctions?
I'm sure you could still fill a good-size poster if you make a nice inefficient representation, like every function call is a separate node in the graph and you include every single device driver even for decades old stuff like tape drives. I agree though, Mother Nature has an inordinate love for making everything a global variable and She definitely hates comments.
Sure! I fizzed up the numbers I originally posted quite a bit, I wanted more to show the point that "2x views !== 2x money".

My friends are Trey from GearGods (I play bass in his band https://www.youtube.com/user/geargodsnet), Glenn from Spectre Sound (https://www.youtube.com/user/SpectreSoundStudios he recorded my college metal band 11-12 years ago and lived with me for a few months in LA), and Warren from Produce Like A Pro (https://www.youtube.com/user/WarrenHuartRecording)

The one I've started is still brand new and pretty small. It took me a few months to build up the courage to actually post anything. I'm just finally starting to get used to talking to a camera hahaha. I've been mostly posting computer science career advice and clips from the technical presentations https://www.youtube.com/watch?v=4ixAoKOp9_E .

I've had quite a bit of success repurposing content on LinkedIn though. A clip on YouTube might get 12 views for me but the same clip with subtitles reaches 2000+ people. More importantly though, LinkedIn has been great because old colleagues/classmates I haven't talked to in YEARS view my profile and that reminds me to reach out to them and chat on the phone.
The playbook is the knowing look and the consistently not reaching conclusions, or perhaps not amongst polite company. They're quite free to think differently to me.

If they had said that the protests were fine but next time we expect a shout-out, then the discussion could move on. Much like in this example.
Depends on the disk (magnetic hard drive, density, type of storage (eg smr), flash/SSD etc).

AFAIK for a recent (say, 2010 and later) drive - there's little to indicate random/"smart" patterns are better than just a single pass off all zeroes. Even if you consider an adversary with the capability to analyze drive with magnetic force microscopy.

https://www.howtogeek.com/115573/htg-explains-why-you-only-h...

https://www.sans.org/blog/overwriting-hard-drive-data/

"Data Reconstruction from a Hard Disk Drive using Magnetic Force Microscopy", 2013 Author(s): Kanekal, Vasu
https://escholarship.org/uc/item/26g4p84b

A quick skims seems to indicate the NSA recommends degaussuing and destruction:
https://www.nsa.gov/resources/everyone/media-destruction/

Nist 800-80:
https://www.nist.gov/publications/guidelines-media-sanitizat...

Refers to:
https://cmrr.ucsd.edu/resources/secure-erase.html

Who's readme:
https://cmrr.ucsd.edu/_files/hdd-erase-readme.txt

And q'n'a indicate that single pass sata secure erase is generally considered sufficient - it typically does a single pass, but should also write over all bad blocks etc.

See also:
https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase
sigh. i see that now. mea culpa.
You must be under informed. Are you aware there are people who want society to reopen so they can start collecting income to pay rent and bills?
>I’ve noticed there’s been a trend of people capitalizing on teaching others about “thinking how to think”, more or less. But does it really work, or does this stuff just make you better at winning an argument?

Depends. There's stuff you learn by experience, and there's stuff that you learn by studying.

Thinking how to think is somewhere in between - you learn a lot of it by experience (e.g. when you get duped in a certain way, you learn to recognize the pattern and avoid it), but you miss a lot too. And even the things you learn, you might merely apply subconsciously or practically, without really understanding them.

So having some kind of teacher / book / course into it makes sense, as much and in the same way it makes sense for math or chemistry or driving.

Generally any subject in which someone can be much better at it than you, and the principles of which can be communicated, makes sense to be taught...

That said, there are all kind of crap teachers online, people who make those mental models into some rigid dogma (either teachers or students), people who discovered/came up with some thinking models / mental guidelines and think they're the next Aristotle, and so on. If they make money off of ads or selling courses, I'ld stay well away...

One particular pet peeve is how people discover the "logical fallacies" and force them upon any conversation, when part of mastering conversing with humans is to know when and how to apply or break strict logical consistency - and understand context and applicability.

When someone a friend tells you not to go with X's proposition because they're not trustworthy, they're a criminal, etc, their talk might be an "ad hominen" and the proposition might be great in itself.

But the result of trusting X might still be bad (e.g. they might use what's a great proposition to their advantage to dupe you), and that's the point your friend tries to convey.
Watched the video. I am definitely the kind of person he describes, and I agree with the diagnosis he makes about the human condition. I honestly don't think the cure he is suggesting is working, otherwise, I wouldn't be here.
I am very very very far from being passive, indeed I (try to) fill (most of) my days with challenges and creative activities from which I get pride (cit.) pleasure, and make me feel alive.
I've always lived this way, and it starts to feel like a "challenge addiction" that doesn't really take me anywhere long term. It makes me perpetually and intermittently unsatisfied so that I need to go find "the next thing" to create/do/work on, that will make the discomfort go away, and let me feel PRIDE. For 10 minutes. And then back to it...
It's a hamster wheel, and it's the very reason I started this thread. I started to somehow look with envy at the "content people" which seem to get away with passive and superficial relaxing lives.
Absolutely sure. I'm an infinitely better person for it... Add have gone barely a step down the road.

There's a big difference between going along with your drives and understanding their root cause. There's this freedom and peace that comes whenever you uncover the dirt about yourself, that honestly can't be found anywhere else.

This road is not be for everyone, however. Your initial request for suggestions showed that it could be. You mentioned that you're happy, that you have everything, and yet you have an uneasiness driving you. Would it not be better to be master of your own vehicle, rather than be 'driven'?

Although it seems very selfish, the opposite actually happens. You're more Here. You're more available and ready to help others, etc.

Although I heartily recommend this way, it's a personal choice on whether to even try it.
David Hilbert discovered general relativity at practically the same moment as Einstein.