skysight-inc/HackerNews huggingface dataset:
>It's fairly common for British people to fixate on the fact that the UK was largely single-handedly responsible for abolishing slavery in the west (via the Navigation Acts in particular), while somewhat discounting the fact that the UK had previously been a huge part of the problem.

The West didn't invent slavery, something that existed on every inhabited continent for thousands of years, but it was responsible for it's abolishment. Don't you think that's something to be proud of?

“What was peculiar about the West was not that it participated in the worldwide evil of slavery, but that it later abolished that evil, not only in Western societies but also in other societies subject to Western control or influence. This was possible only because the anti-slavery movement coincided with an era in which Western power and hegemony were at their zenith, so that it was essentially European imperialism which ended slavery. This idea might seem shocking, not because it does not fit the facts, but because it does not fit the prevailing vision of our time.”
― Thomas Sowell, Black Rednecks and White Liberals
An SQL database implemented in TypeScript type annotations
> This was based on a few publicly cited examples of Twitter's photo framing using images of both light-skinned and dark-skinned people that skewed toward the light-skinned person. [..] And Zehan Wang, engineering lead at Twitter

For all their talk about the importance of diversity, why did the complaining Twitter users only check White-Black bias, and not Asian-Black as well? Especially since the engineering lead is Asian, and Twitter's diversity report claims Asians are over-represented (27% vs US 5.4%) and whites under-represented (42% vs US 61%) at their company: https://blog.twitter.com/en_us/topics/company/2019/Board-Upd...

> Vinay Prabhu, chief scientist at UnifyID and a Carnegie Mellon PhD, ran a cropping bias test on a set of 92 images of white and black faces and found a 40:52 white-to-black ratio, which argues against bias for that particular set.

So how many test images did the people that found bias use? Because this could be just cherry-picking, as only the cases where bias was found get attention.
Lol, at this point it seems basically pointless to report or discuss any details about this, everyone is claiming something different anyways. What a shitshow...
> obviously not ranges, only to return values indicating the range is malformed?

It's not the case. The only think affected by range being generic is that `contains` takes a reference instead of a copy (which btw. can likely be eliminated by the optimizer). Which is necessary to allow thinks like `Range<BigNum>`.

All other things have nothing to do with it being generic but with for which use cases it was designed for.

In the end in rust a Range is mainly an iterator.

If it's a Range<usize> and only then you can also use it to get slice arrays/vectors/slices.

Which means that e.g. the unstable experimental `get_unchecked` function is actually very well defined.

Lastly the reason why you can't enforce `start <= end` is because that would make the creation of an range fallible which would be a horrible usability nightmare, a thing the author somehow misses completely.

The thing is indexing a slice already can panic so moving the panic there is generally a good idea. Similar you always want to have a non-panic path. Which would be e.g. `[T]::get()` which in case of a "bad" slice does the same as on a "bad" index it returns `None`.

In the end both `Range` and `RangeInclusive` are compromises focused on the most common use cases of range, which is a ad-hoc creation "just around" the place you consume it for iteration or slicing of slices. Which also means that e.g. the fact that `RangeInclusive` is bigger is no problem as at the place it's used you elsewise would need to either turn it into a iterator just like `RangeInclusive` adding even more overhead then the current `RangeInclusive`. Sure if you want to store a lot of `RangInclusive`s then this is not the use-case it was defined for and you are better of defining your own range inclusive.
I've noticed this as well. It also attracts a lot of criticism. People are really insistent that a language should be perfect in exactly one area and terrible in others. They tend to support this kind of thinking with arguments about how you should pick the right tool for the application, as though most applications only care about one criteria or another (and need a language that trades everything for that one criteria).

That said, I think Rust does an impressive job at squeezing efficiency out of these tradeoffs. Sure, it trades off some developer productivity for extreme performance and safety, but its developer productivity story is still markedly better than other systems languages (and probably on par with some of the more cumbersome managed languages). Similarly, the tooling story is pretty great while every other systems language has pretty awful tooling (especially build systems). Moreover, Rust is getting better at a remarkable pace. I don't think it will ever close some of these gaps, but I think it will get close enough to pose a real threat.
Log filtering at the expense of having one more thing to manage, forget, or otherwise screw-up.

Ways I've seen this go wrong:

- someone fails to copy the port while communicating it

- the new whiz-bang AI security solution detects non-standard SSH ports and "quarantines" you while you try to figure out what happened and who to talk to

- someone manually "reviews" the firewall rules and locks you out of your own boxes

- someone builds a tool that uses SSH but doesn't allow non-standard ports
This reminds of the old saying "just because something can be done doesn't mean it should be done".
MSU scientists develop first functioning mini heart model
This is an advertisement for NordVPN and should be removed from HN frontpage.
>Are people worried the FBI will break down their door, if they don't put up the disclaimer?

Are you crazy? Why WOULDN'T you be worried about that?
I recently bought a MacBook Pro 2020 (my first Apple product) and although I thought the dongle problem was gonna be a nightmare, it just isn't. I mainly use my laptop as a laptop, with no external monitors so there's that. With my old laptop I used to use a mouse, but the track pad is so good I don't use a mouse anymore, so there's that too. I also have an external hard drive with USB 3 but I just bought a USB C connector that I keep permanently on the drive so it's not an issue either.

For this particular usage, it's great.
Wildfires Are Sending Smoke Between Continents
Analysis of Pfizer Phase III Covid-19 vaccine Bayesian stopping bounds
Could you please not post unsubstantive comments to HN? We're trying for something a bit different from internet default here.

https://news.ycombinator.com/newsguidelines.html
> "Assange was held in high esteem by the public until they finally got a foothold on how to bury him. Intelligence agencies and their contractors have been trying to smear and shut him down"

Assange is not held in high esteem by a large number of political allies who know him well. It is obvious from the Laura Poitras documentary, the Andrew O'Hagan LRB article, and the Wikileaks Twitter feed, that he is not worth the deification he receives in much of the hacker crowd. He is perfectly capable of trashing his own reputation and alienating his own friends without the help of a shadowy conspiracy.
Honestly it feels more like they make a lot of 40% solutions.
Interesting, sounds like I'm mostly wrong about Palantir vs the CIA, unless the prospects of Palantir IPOing is luring.

Regardless, I'm much more familiar with FAANG compensation and my comments are still accurate for those.
Thank you, I tried to skim and couldn't find the numbers station bits. This helps me know I needn't read the article.
With regard to gaslighting, I acknowledge that some people use this word to mean a very serious and deliberate kind of manipulation.

I’m not blaming Assange for what he’s being subjected to.

On the other hand I also don’t think he or anyone else would imagine that there wouldn’t be a response to a perceived threat.

I may agree with him that we should live in a society that lives up to its ideals.

However we both know it doesn’t, and national security fears over whistleblowers are not necessarily unfounded.

I’m not suggesting he’s to blame for an unfair trial. However it’s also clear that he knew his actions would be seen as anti-American, and indeed I presume he would stand by those actions and that assessment of America. So it shouldn’t be a surprise that he finds himself in this position. In many ways this confirms what he has been saying. The question is - is this choice of his going to move us in a positive direction?

I am quite unsure of that.

I agree that we need more words for the concept of gaslighting- there are lots of nuances around it.

As for ‘insecurities’ I do mean that as a psychological analogy, but I think it’s a good way to look at it.

I’m not arguing that we should respect the U.K. or the US as people who have feelings.

I’m saying that like a person with insecurities, there are actions which elicit a threat response from countries.

I’m also saying that,
just like a person, these may or may not be reflective of reality. If they are, then a defensive response is appropriate, even if incongruent with our higher ideals for who the person or country aspires to be.
Given certain passages early in Genesis, it's safe to conclude that work has been a pain in the back since, at least, the dawn of agriculture.

Which, to paraphrase Douglas Adams, has made a lot of people very angry and been widely regarded as a bad move.
I think some bias may be inherent.

To blue eyes again, you could make a facial recognition system that just looked for 2 blue iris shapes and probably score 90%+ accuracy on most datasets (of exclusively blue eyed people and non-human objects) because blue is so rare in animal eyes, and so rare in nature. With such a strong face signal it may be impossible to match accuracy for non-blue-eyes humans without purposely making match quality for blue eyes worse.

We may be seeing a similar but weaker bias for darker skin. Light skin is fairly rare among mammals. The only solution to eliminating recognition accuracy bias may be to nerf accuracy for people with light skin. There have been many reports of facial recognition erroneously classifying dark skinned humans as animals. If part of model accuracy classifies lighter skin animal = more likely human, its going to be very hard to remove that bias because its empirically true. If the classifier is unsure if a shape is a human or animal face, but its very lightly colored, it may make the model statistically more accurate to report higher confidence that a lighter colored face is more likely to be human.

this may be more of a "most animals are brown" than a "brown people look more like animals" problem with the models. A possible path to fixing the bias is to crop all faces detected, disregarding model confidence of whether the face is human
Please tell me this is a joke? Why should anyone be holed up in an Embassy for years?
> The Black Vault’s biggest score to date may be its material related to MKUltra, a top-secret CIA project that involved dozens of mind-control experiments on US citizens and others. [..]

Why would this be the biggest score (title doesn't reflect it)? Was this the first documentation regarding MKULTRA/ARTICHOKE/BLUEBIRD?

For those interesting in CIA's attempts to explore New Age (e.g. apply "remote viewing") I can recommend the documentary The Men Who Stare At Goats [1]. There's also a Hollywood adaptation of it.

[1] https://en.wikipedia.org/wiki/The_Men_Who_Stare_at_Goats
The Autoplay President
I made the mistake of trying to build a project using PNRP at one point (via WCF's terrible aborted peer-to-peer stack). PNRP had a lot of great ideas, but the actual Windows implementation was sadly temperamental (and debugging it a bear when it wasn't working correctly, which seemed to be every time it was newly installed and also half the time you tried to use WCF's peer-to-peer stack).

In a theoretical standpoint it's a shame that mDNS (fka Bonjour) was the standard that won over PNRP, but in a practical "unix philosophy worse is better" standpoint it was easy to see why mDNS won. (And why it's taken so long for projects like Yggdrasil and CJDNS and IPNS to return to some of the PNRP ideas years later, as mDNS was "good enough" for the easy immediate need, versus the more long-term goals of PNRP.)
>* Physics has been stuck in a quagmire for 50+ years. The "foundational research" hasn't moved, possibly since Einstein (who only became an academic after publishing his important work).*

You forgot all Quantum Mechanics. His only collaboration was the explanation photoelectric effect. (He got a Nobel price for this but is it a very tiny part of Quantum mechanics.)

The electroweak unification and quantum chromodynamics were discovered after Einstein's death. Also the Higgs boson prediction and experiments are post Einstein's death.
Just do it in whatever way seems natural to you. The way you're describing is fine. Some people here talk about scaling or hassles with many links. That simply isn't a problem unless you (against all likelihood) actually end up writing a lot of posts. In that case it's really not that hard to change your stuff to some other framework/platform/whatever. Just worry about generating content.

https://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2...
> Eventually the scheme was scrapped when fears about the risks of exposing people to radiation were raised by the management

Makes you wonder if the person removing the documents was management.
> You can hire 3 or 4 QA people for every dev a lot of times. Why waste that money on devs?

Attitudes like this will get you...not great QA. In my experience a sufficiently strong QA person can both cost and be worth more than adding another dev to the team.
Enter Dlang, a static systems language with ranges. https://tour.dlang.org/tour/en/basics/ranges
New Theory Explains Collapse of World Trade Center's Twin Towers
I'm sure mileage may vary, but I'm lucky to be at a company where the dev team has a great relationship with QA. I think you're right, having a good culture around it is important. I'm more impressed than I am annoyed when QA finds an obscure bug before things hit production.
Show HN: DJ Checkup – Check your Django site for security errors
> chances are there is a) a perfectly fine version already running in your corp somewhere

You and I have very different experience with big corps :)

My experience is closer to "There's a half-finished version running somewhere that was cut short because of budget/deadline constraints. The team that worked on it is long gone, and it has been maintained by an outsourced team of junior resources for 3 years".

Re-writing a customer-facing system to be closer to the "modern" web experience they're used to on their everyday apps and sites _can_ make a substantial difference to customer experience, and ultimately the bottom line.
Ask HN: Does Apple profit from sharing user data?
I see how Facebook and Google clearly profit from selling my data. I don’t immediately see the benefit to Apple of allowing companies to track users. I know Apple is making moves towards privacy but the fact that apps and websites on my iPhone can still track me relatively easily makes me wonder why.
sktime is a toolbox with the goal to support multiple models and composition techniques, Prophet is a particular model. We're working on interfacing it so that you can call it using our API.
That looks exactly like what I'm looking for! Many thanks for the recommendation.
The idea was that a home user cannot afford an industrial machine.
I disagree, but even assuming you are correct there, I think there is a roadmap. The key is to get some wins under your belt. It's like getting fit. Don't try to run 10k from sedate lifestyle. Try to walk 2k with a couple of jogs along the way.
I’ve just released an app you can use to scan your Django site for common security errors. The core security checking logic is lifted from the now defunct PonyCheckUp site but I have rewritten it for the latest Python and Django versions.

The initial release is an MVP that brings back the scanning functionality of the original site, but I’m currently working on v2 which is a complete rewrite that enables new checks to be added easily. I’ve got lots of ideas about how this can be improved and would be keen to hear from others too.

Source code for the current website is on GitHub (https://github.com/djcheckup/djcheckup.com) although I’m working on the v2 code which should be ready to share in a few weeks time.
It's a good question. Sadly, I can't answer it properly because there isn't time to think properly.

Briefly though: it normalizes aggression as the default mode toward people who have some point of difference from oneself.
You've reinvented HAVE QUICK[0]

[0]https://en.wikipedia.org/wiki/HAVE_QUICK
Haskell’s Foldable and Traversable typeclasses represent these use cases, are more general, and have none of the clunky edges mentioned in the article.
Tiramisu – Desktop notifications, the Unix way
I too was once an avid Slashdot reader but linking to a Slashdot post makes even less sense to me than linking to an HN post.

Actual reference: https://www.adn.com/nation-world/2020/09/15/pro-trump-youth-...
What's it like to own an electric car in London? [video]
That's where this comment comes in:

> $95k fee for not having friends with heavy equipment.
ASK HN: The 20% of 80/20 Current Pain-Points
When thinking of the 80/20 rule applied to development, what are some of your current pain-points in that last 20% of finishing a feature? I’m on a small team who for the next 5 weeks will be trying to make an open-source tool or library to help other developers. We’re thinking of focusing on GraphQL / Apollo, or possibly something to do with Vue. Onward.
The amount of... failure to understand what you're talking about is on the level of white people trying to explain native american cultures after watching half of Pocahontas while half asleep.

Furries started as a sexual fantasy like The Colbert Report started as a serious news show. It didn't. The Colbert Report was intended to satirize news outlets like Fox, but art imitates life and you gotta talk about the real world at one point or another. Furries started as panels and room parties at science fiction cons and guess what, humans do this thing where art imitates life and is a reflection of of humanity at large.

But, you seem to have made it a goal to intentionally not understand what you're talking about and argue in bad faith, looking for validation of your limited worldview.

To counter your point: My boss actively suggests to people a wide mix of books on subjects, including [The Manga Guide to Cryptography](https://nostarch.com/mangacrypto) and within my company it's not uncommon to see people making MLP references, references to anime and manga (including BNA, Aggretsuko, Hello Kitty, etc) and more.

If you can't read an article for the contents & think critically about its construction and presentation, did you even go to college? Or did you fake your way through that degree? Or were you just not challenged through high school to think and that's where your 4.2 perfect GPA came from?
> but I do often incorporate programming into these creative pursuits

I'd love to hear a couple of examples if you have a few moments. (:
Just as eager? more eager.
If Clinton was doing this I have no doubt Fox News would defend Assange.
Write blog posts about skills you specialize in with a contact form at the bottom and wait for hiring managers to come to you. This gives you much more leverage and self esteem.
I was planning a trip to Sealand a few years ago; apparently you can negotiate trips with the 'Prince of Sealand', and even acquire a Sealand passport for yourself.

But then it turned out the fort is in somewhat bad shape and getting on and off can be a bit hazardous, so we ultimately decided against going :)
We're interfacing statsmodels and pmdarima for the implementation of the ARIMA model. I believe that you can persist models in statsmodels without saving the whole training data.
The current cultural issue is whether White should be capitalized or not.

with identity politics when it comes to race it means you are doomed if you do or doomed if you don't. A curious game. Better to play a nice game of chess.
Is there a place I could learn more about how the background cleaning works?
There’s a continuous flow of air through a permeable felt mat. The fabric (or cardboard, or plastic or whatever) doesn’t get stuck like with a suction cup, it’s more like how a vacuum cleaner will pull fabric and it’s difficult to remove. The machine makes a lot of noise when it’s running, due to this suction.
I think you're identifying the difference between lots of money being made available to a team and revenue being the main focus of that team. Not the same.

For example, the Fed can shower Wall St. with all the money it wants to, and it may actually make teams inside those companies less efficient and less of a joy to work for. Although money is available, making money is not the main goal of the team.

Or take a fictional company with 100 projects and 1,000 engineers, where only 1 project with 10 engineers makes 90% of the revenue. The 99 other teams at the company are probably not going to have the best culture because the revenue incentive isn't present on those teams. They might just exist to check some compliance checkbox or stroke the ego of some middle manager.

What I'm talking about is not necessarily the availability of money, but a direct relationship of your project to the money-making potential of the company. Big difference.
Disclosure: I work at Siemens on an implementation of the Web of Things not related to the Mozilla Project.

What is mostly misunderstood about the Web of Things, is that it does not define a network protocol but a document format to describe devices in terms of properties, actions and events.

Interactions are then further described by „forms“ that contain Hrefs with the protocol scheme supported by the device (e.g. coap://, opc.tcp://). The idea is not to introduce the next unifying protocol, but to unify the description of devices that support arbitrary protocols. Think of OpenAPI for IoT.

It serves us well in industrial settings where protocols like opc-ua, bacnet, coap, modbus and the like will stay the leading protocol in their respective domain for the foreseeable future. Such a descriptive approach to me seems the only option to at least write applications in a uniform manner.

Looking at efforts like MS Device Description Language (DTDL) or AWS Things Graph Data Model (TDM), it makes sense to have at least one openly standardized description language to prevent fragmentation at that level. The war on fragmentation at the protocol level is already lost IMHO (and everybody lost).
Do you know if there's a way to request address change without having them advertise it?
A general rule for me is that the more somebody talks about culture the worse the culture is.
Very neat. It allows you to ensure that your 'property' taxes now only go to your locality. A recipe for great disparity, certainly, but I can see how it was easy to get approved.
Singing from Home: Tiny Bach Concerts, Episode 1