skysight-inc/HackerNews huggingface dataset:
And the self-appointed arbiters of what constitutes accurate information and what to categorize as mis/mal/disinformation and what if any action to take are often demonstrably incorrect and the alleged mis/mal/disinfo turns out to have been correct. Sometimes it's obvious to at least some in the moment and in other cases it becomes clear in retrospect.

Policing public conversations and fostering or enforcing selected narratives and views of the world, when the entities carrying out the censorship claim to be impartial and accurate but (inevitably) are neither, leads to precisely the same sort of real-world harms employed as the pretext for imposing Chinese-style communications controls and censorship.
Are there any "rules" in Clean Code that don't need to be disregarded and burned? https://qntm.org/clean
> Only about 40 helicopters were lost to hostile fire in Iraq from 2004-2009

Russia has lost that many helicopters in about 9 months in Ukraine, id say the effectiveness of helicopters is largely dependent on the capabilities of your opponent and whether or not you can gain air superiority.
Not in my country, except for songs that appear on albums that are outside of his control. I do expect him to eventually return, though.
Intel has introduced a special version of Arc A750 Limited Edition graphics card for Chinese market.
I found this reader recently that you might find meets your consumption preference: https://github.com/georgemandis/bubo-rss

The author discusses the design here: https://george.mand.is/2019/11/introducing-bubo-rss-an-absur...
Mastodon – Simplified Federation
Various IRC clients have OTR plugins though, for the truly paranoid:

https://irssi.org/documentation/help/otr/

https://github.com/onezero1/xchat-otr

There's more listed here from the people who built and designed the libraries:

https://otr.cypherpunks.ca/software.php

NB, OTR is old and I can't vouch for its crypto, do your research if for some reason you're connecting to an irc server with a hostile admin where you absolutely have to exchange compromising information. (Duh)
Or if course you can filter the messages into a folder to browse when you have some downtime. For example I have a "Not Important" folder in my email client that doesn't notify but it's always synced to my phone so that I can read some news when I have a spare moment.
Very cool. Now if I only had a collection of Leica M-mount lenses...

I'd like to try to do something similar with Micro 4/3.
> So... can I write, and see, maths as actual maths?

Sorry to be nitpicking, but it seems you conflate "actual maths" with "maths notation we're accustomed to (since the 19 century)".

As to what "actual maths" really is, it's an extremely interesting question that belongs to the philosophy of mathematics (mostly).
> your example stops on the first one that fails, and does not evaluate the others after that.

I don't think this is a big problem; trying to focus on multiple examples at once is difficult.

It might be a problem if tests are slow and you are forced to work on all of them at once.

But in that case I'd try to make the tests faster (getting rid of network requests, disk/DB access by faking them away or hoisting to the caller).
What’s bad about the root shell?
> don't think they have to do the hard work of figuring out what is actually wrong with the system

Yes, I know my enemies!
They're the teachers who taught me to fight me!
Compromise! Conformity! Assimilation! Submission!
Ignorance! Hypocrisy! Brutality! The elite!

> how to fix it.

All of which are American dreams!
All of which are American dreams!
The Mil Mi-24 would like to have a word with you.
Ask HN: Should I be offsetting my carbon footprint? If so, how?
Still unable to run it on Mac M1 Max.
Anyone out there solved this?
You mean, you're not constantly looking out the window of your skyscraper corner office wearing a top tier suit with a glass of pricey cognac in your hand?

Looking down at the plebs walking in the streets, articulating the best way to sell them all on Rust?

No? It's just me then.

Just kidding. Rust is too good for the common man. *sips*
> I'll die on the hill that the US medical system would be so much better if we just gave that cash to everyone instead.

You really don't get it, do you? Remove the profit from the equation.

The rest of the civilised world figured it out decades ago, but the US is just too damned greedy to swallow such a pill.
Things I find awkward with unit test (and it might just be me) is Inwant to write a test like

def testLotsOfWaysTofail():
d = {"Handle Null": (None, foobar),
"Don't allow under 13 to do it": (11, foobar),
"or old age pensioner": (77,wobble)}
for ...
generate a unit test dynamically here

I have built metaclasses, I have tried many different options.
I am sure there is a near solution.

But I never seem to have it right
Project Veritas has a long history of deceptive editing and outright manufactured reporting, so I wouldn't trust any report you see out of them.
> So you don't have a source to back up your claim.

I do. The stated political beliefs of the people being interviewed & their claim that many @ Twitter shared their beliefs. Also the actions of the company.

> It is not. [1]. You don't get to widen the definition of things to make them so broad as to include your claim.

It is. If someone is banned from the site, the site is not accessible to that person. If people are being banned for political speech, then it certainly violates any form of platform neutrality. This is the heart of accessibility. Banning someone for exercising their free speech is anti-accessibility.

> Accessibility is the design of products, devices, services, vehicles, or environments so as to be usable by people with disabilities.

The Twitter human rights & accessibility team also includes "human rights". Freedom of Speech is a human right which Twitter has been willfully violating. The "human rights & accessibility" team failed to do their job of upholding the human rights of those who were banned for political speech.
Sometimes, it takes a lot less code to test a particular code by doing it in a long test with multiple assertions.

Migrate up -> assert ok -> rollback 1 -> assert ok -> rollback 2 -> assert ok

I don’t see much benefit to breaking it up, and you’re testing state changes between each transition, so the entire test is useful and simpler, shorter, and clearer than the alternative.
And of course, AC didn't beat DC. DC is still widely used, for example in whatever device you're using to post this comment.
Any one else remember the last time Intel did this, completely screwed up delivery of the process node, and ended up buying most of their customers. I heard a rumour that when Intel became the fab for Altera the contract barred Intel from fabbing for any other FPGA company which handed Altera a tonne of leverage on price for the acquisition - because even if Intel bought Xilinx instead they wouldn't be able to fab for them.
Russia has made a lot of mistakes that have nothing to do with Ukraine. I find it difficult to draw any accurate or useful conclusions from the war that translate to the US or Western armies other than don't repeat Russia's mistakes.

I certainly wouldn't base any opinion on the effectiveness of helicopters in general on Russian performance in the current war.
Until the day you fail the purity test and have your IP and all accounts permabanned due to a disagreement with a mod in disguise.
October 28, 2022 – Mauna Loa overflight video
Spanish orthography is pretty regular, but then you have 42 inflections per verb for three different patterns, and the most important verbs are of course highly irregular. Not to mention the fact that the difference between ser and estar isn't easy to learn. And there are a few more things that are hard (limiting to pronunciation: the guttural j/g, and the rr; counting syllables is a recurring question in quizzes).

> It wasn't chosen, America just won

That doesn't make English a bad language. Perhaps America (I guess you're referring to the USA) won because of English is so easy.

But cultural, financial and political influence obviously count.
"But who the fuck would give them a loan like that (like you say, just to have Musk at the helm)?"

A syndicate of banks, including Morgan Stanley, Bank of America, Barclays, Mitsubishi UFJ Financial Group, BNP Paribas, Mizuho Financial Group and Societe Generale.

https://www.cnbc.com/2022/10/05/banks-financing-musks-twitte...

Banks usually do not care that much about clients or user experience. They look at a businesses financials and check whether it can take the extra interest payments. Apparently, Musk convinced them that with some job cuts, Twitter would be able to make the interest payments. We will see how this works out. There may be an advertiser exodus happening already and I do not think either the banks or Musk planned for that.
Which ones? I’ve used at least a dozen at this point, across C++, C#, JavaScript, Rust — and all of them throw (the equivalent of) exceptions on assertion failures.
There was $13 billion of debt used to finance the buy-out. It's a leveraged buy-out, so the target company owns the debt, not the buyer.

How do you think that debt ends up getting paid off? It'll be close to $1 billion every year just to service that debt.

Given that:

* Twitter has only ever made a profit in 2018 and 2019

* That the profits it made in those two years were $1.2bn and $1.4bn respectively (only just enough to service this new debt)

* That for 2020 and 2021 other tech companies were comparatively minting it, but Twitter burned ~$1.3bn

* The world is generally in the early phases of what is likely to a deep recession, with ad spend and consumer spending already well down

It feels like a bit of an interesting purchase, to say the least.

It should be noted that the plan to charge users $8 per month for a blue verification badge wouldn't even service the debt if 25 times more people bought it than currently have it for free.
Yyy! I agree with these policies, and put my money where my mouth is, but I'm in NYC... In the suburbs you have issues of traffic, parking, services, infrastructure, etc.
Maybe people just don't want to use a company run by someone they abhor. Does there need to be a point other than that?
Cooperatives
The US heavily values the protection of speech. I think political speech is among the most deserving of that protection.

“I, candidate for office, align myself to and support the goals of the DNC, GOP, or XYZ” is pretty clearly political speech.

You could nibble away at the edges, maybe eliminate state support for primaries, change funding rules, but I think it’s ultimately not going away and probably not even getting diluted much if we keep the first past the post voting method.
I'm teaching a TEALs class at the moment, my first time, and can confirm it's a great experience. I have 1 or 2 classes a week, each about an hour and a half, and I do maybe another hour of prep before each class. The curriculum is all provided, so you just need to get familiar with it, not write it yourself. I'd be happy to answer more questions about it if you'd like! In my experience they were super responsive, so if you've already applied you'll probably be hearing back from a rep soon.
My only assumption is that most people will choose an instance based on its reputation and that reputable instances will be far fewer than amateurish and unreliable ones. This is a very generous assumption and if we suppose people will choose even more randomly then the situation can only get bleaker.

On the other hand you hand waved everything I said without specifically refuting any points, so what does that make your reply?
Search doesn't really work on Mastodon and it's full of boring content. It only works if you can get all your friends to use the same server. That's impossible these days. Nobody is going to install and figure out an another app just to be on your personal mastodon instance.
This orange website is okay. I think the quality of links shared is very nice.

I don't particularly enjoy discussing certain topics that bring out some of the worst comments. This is usually contentious topics in the US like labour unions, mental health, LGBT rights.

Sometimes you get really nice replies, sometimes it will be absolutely insufferable braindead asshole takes. Sometimes the comments get soft-raided by people who only rarely actually post but are conspicuously invested in defending something (I noticed this happen a lot with posts discussing one website in particular that I'll leave unnamed). At least moderators eventually clean up the last kind.
> If you are the X then you must do/be Y is called gatekeeping.

Let's be precise here: the parent hasn't used "must" here, just stated their observation. It's possible that many if not most mathematicians work this way, but it's not definitely the only one, and it doesn't mean it can't be changed. Actually, there is a lot of work being done on theorem provers, for example.
In many cases yes. Especially non-programmers really like that the equation they type into their software looks exactly the the equation in the paper they are copying it from.
I was talking about quoting or grouping things. Either require things like quotes for certain constructs all the time (no matter the content) or don’t.
Via the wiki article for this heli:

> The impetus for the development of the LCH Prachand came in the form of the Kargil War, a conflict fought between India and neighbouring Pakistan in 1999, which revealed the Indian armed forces lacked a suitable armed rotorcraft capable of operating unrestricted in the high-altitude theatre.

In that conflict, Pakistan downed more than one Indian MiG with a man-pad, so I presume this scenario is not lost on India w.r.t. development of this aircraft.
I mean, obviously. Obviously I'm not going to assert every header in their own unit test for a single request path in most cases. Assert what makes sense as a logical whole / unit.
Algorithmic makes no sense to me. Imagine being in a group chat with friends where an algorithm decides which messages you can see and the way the messages are sorted. It would be absolute nonsense.
This is largely it
Hm. I think my main issue there is not the speed, but rather seeing the whole picture at once. You mentioned you use this pattern to test regular expressions; say you modify the regexp in question with some new feature requirement, and now the very first of a dozen test inputs fails. You fix it, but then each one of the following keeps failing, and you can only find an elegant solution that works for all of them after seeing all the failures, having ran the test and modified the code a dozen times. Wouldn't it be nicer to see all fails right away and be able to find a solution to all of them, instead of fixing the inputs one-by-one?
Ask HN: Would a union have changed anything for Twitter?
As employees were fired over email, or just a revocation of credentials.

And the remaining people are pushed to work crazy hours with team standup after 9PM etc...

If Twitter had a union would anything have been different?
This is such a bad example because the level of testing is somewhat between unit and acceptance/functional testing. I can't tell at a glance if "api" is something that will hit a database or not.

The first part where he says you can check in the passing test of code that does nothing makes me twitch, but mainly because I see functional testing as the goal for a bit of functionality and unit tests as a way of verifying the parts of achieving that goal. Unit tests should verify the code without requiring integration and functional tests should confirm that the units integrate properly. I wouldn't recommend checking in a test that claims to verify that a deleted item no longer exists when it doesn't actually verify that.

Deciding on the granularity of actual unit tests is probably something that is best decided through trial and error. I think when you break down the "rules", like one assertion per test, you need to understand the goals. In unit testing an API I might have lots of tiny tests that confirm things like input validation, status codes, debugging information, permissions, etc. I don't want a test that's supposed to check the input validation code to fall because it's also checking the logged-in state of the user and their permission to reach that point in the code.

In unit tests, maybe you want to test the validation of the item key. You can have a "testItemKey" test that checks that the validation confirms that the key is not null, not an empty string, not longer than expected, valid base64, etc. Or you could break those into individual tests in a test case. It's all about the balance of ergonomics and the informativeness and robustness of the test suite.

In functional testing, however, you can certainly pepper the tests with lots of assertions along the way to confirm that the test is progressing and you know at what point it broke. In that case, the user being unable to log in would mean that testing deleting an item would not be worthwhile.
I'm not denigrating it, I'm saying attributing this years rise to a republican from 50 years ago when the republicans who ran in 2020 have largely voiced opposition to it, is at best misleading - since if the GOP had won in 2020 it's perfectly likely this rise wouldn't have happened.
So the "actshually" meme comes true. Instead of reddit-style legalisms, just try to be more human and understand their perspective for a change.

People do have the desire and right to ask for mainstream platforms to be decentralized. Is it feasible today? Technically: yes, realistically: no.

Why?

Because even MORE people are needed to effectively demand the right for mainstream platforms to be decentralized. You know that. Now be nice to them, please.
This is where I am at too. I've told my friends that if they want me to see what they post they need to use something that isn't so actively user-hostile. Even Facebook will at least email me when selected friends post something.

That being said I'm not sure if there is a great website to recommend for private sharing. Mastodon is maybe the best but I'm not sure I am a huge fan of the "only short messages" medium.
My experience with testing framework was that they do all tests and then mark the ones that failed.
You will always end up with some self-appointed arbiters. Unless you devote all your time to researching everything deeply.
Yes, with Ansible you would be able to set this up. But with Kubernetes it is basically free. Kubernetes will manage your workloads and if you set up your health checks correctly it will do this for you. Kubernetes is designed for such tasks.

However. I would rather comfortably recommend Ansible for a home lab, but not Kubernetes. For something like that it is too complex with too many abstraction layers and too many caveats.
India is not anti west. The west has this binary/absolute way of looking at things, "either somebody is with them or against them". India recognises the world is a much more complicated place and sees the world through its own perspective rather than whatever self serving agenda driven perspective the west deems as the only valid one.

India has a long track record of being a non-aligned power. If anything india has been moving closer and closer to the west since the 90s. I think this misinterpretation of india being against the west by some in the west is because they expect their allies to be cronies who'll toe the line.
I can’t help but think this is already here: docker, docker-compose, and proprietary cloud products. You’re not important enough to need a load balancer, and if you are you can use paas elbs and native services. Only once your google scale does k8s make sense.
I love this! Skimming the about page is enough to grasp the main mechanic and it's very intuitive after that too. The pointer-free navigation is awesome!

One tiny thing I've noticed in the first minute is that using shortcuts like Ctrl+A or Ctrl+Shift+Home (in Firefox/Windows anyways) selects stuff outside of the current "label" which feels a bit off. I use these shortcuts to quickly select a bunch of text and start typing to replace it with something else.

What are your plans in terms of data portability / syncing?
Is a squad 8 people? I guess that’s close. I was thinking more about light attack helicopters like the article one though. A mi24 is a freak of nature right?
Twaughtpolice?
Mentioned this elsewhere, but in general "Project Veritas had some videos of X" is negatively correlated with X having actually occurred. They have a long history of intentional manipulation in all of their reporting.
"Orcs" is an incredibly gentle term, but fair enough, they're not literally orcs. "The Russian invaders who rape infants and then throw them in mass graves with their parents failed to establish air superiority partly due to the effectiveness of the manpads."
I like the one assertion per unit test case rule. It makes me design cleaner code and write readable test cases. I also use object equality vs asserting on individual fields.
OutlineEdit 3: Plan, structure and write better on Mac
.. well thanks for noticing. we have a secret - we don't let anyone toxic rent space in our head. ever.
Yeah, and if you have a good stereo you can hear a chair squeak as the chord fades. At least when young with a good recording.
Then again the beautiful, pleasing sounds of birds tweeting has also been used as a metaphor for short form posts, many of which are not at all beautiful or pleasing.
This is a tired and often parroted talking point used to dismiss literal hours of continuous footage of execs rambling on and on about enacting their political agendas in the workplace.
Then those of us who hate "politician-style vacuous/feel-good statements" would down-rate them.
It has cost Musk a lot of money, but the critical point here is that it has also cost Twitter a lot of money: Because it is a leveraged buy out Twitter owns the $13bn debt that was raised to buy it out.
> To play Devil's advocate: once you discover a vulnerability you always have two options: report it and have it fixed, or exploit it for your own gain. You charitably assume that government is somehow obligated to chose the former, while in reality in some cases it might choose the latter.

This assumes that the government that wants to compromise a domestic host can't do it in a way that is a lot more deniable than porting scanning you from a gov owned IP range.

If the government wants to find and exploit a vulnerability they likely will find a way they don't need some loose cover story for it.
> Even new governments traditionally have 100 days

But companies do not. Buy a company and start making big mistakes and there will be consequences. The competition for users is fierce. If you want 100 days, get elected instead of being forced into buying a company you didn't really want in the first place.
Commentary aside, the video does not lie. Also the entire unedited interview is available.
Athena-OS: An Arch Linux-based distro focused on Cybersecurity
That has nothing to do with not knowing which assertion in a given test has failed.
You are making too many assumptions about the nature of our conversations just in a single comment.
Imagine a situation: a newly joined junior dev is given a task to implement a web scraper.
Meanwhile, senior devs sitting beside her start discussing AWS bills for the previous month, pretty much in a casual way.
Do you think she should a) be given a chance to participate in this discussion b) carry on with her task, asking senior devs of what's unclear when needed?
I assume they mean these - https://www.walmart.com/ip/100pcs-Wooden-Ice-Cream-Spoons-Wo...

If so, you can taste the spoon when you eat ice cream off of it..
It's another form of gaslighting people into not believing their own eyes & ears...
Researchers Make Rocket Fuel Using Actual Regolith from the Moon
Surprised by all the skepticism in this thread. The way I see it, Intel is the only real hedge against the China/Taiwan situation, and (at least according to their public statements) they're on track for the upcoming process nodes.

If the strategy works out, the upside is huge.