skysight-inc/HackerNews huggingface dataset:
Blocking accept(2) makes a decent to good dispatcher, depending on your OS, and if you can stomach one request per socket (if you can't, you would need to pass the sockets back to a dispatcher between requests to wait for the socket to become ready. In the good old days, you could use accept filters and not see incoming connections until they were ready, but that doesn't really work for TLS or modern http with persistent connections.) You could make that pretty fast if you run one dispatcher per core, and align them with the NIC queues; each dispatcher with its own pool of workers.

If your work is mostly compute, then you usually don't really want to run more concurrency than one, maybe a few workers per core, and then OS scheduling is easy. If your work is more of waiting for i/o, large concurrency makes more sense, but the OS scheduling is not going to be too hard there, because it takes almost nothing for the OS to leave a process blocked on i/o; but you do need to have good timer scalability if you have a lot of processes, since they're all going to want to set and clear a timeout on most of the syscalls. io_uring etc with a small number of os processes/threads might be less work for the kernel, but certainly at the cost of isolation.
You think people who are interested in your product would look through your social media profile and be turned off but it?
First, as to the abortion question, I'm interested to hear what you think about https://spot.colorado.edu/~heathwoo/Phil160,Fall02/thomson.h... (exegesis in https://en.wikipedia.org/wiki/A_Defense_of_Abortion).

As for "legal to kill a full term fetus as it's being delivered", of course that is not what is alleged to have happened in this case, and it is wrong, but most people who ever lived disagreed with me about this; as https://en.wikipedia.org/wiki/Infanticide helpfully explains, "Most Stone Age human societies routinely practiced infanticide, and estimates of children killed by infanticide in the Mesolithic and Neolithic eras vary from 15 to 50 percent. Infanticide continued to be common in most societies after the historical era began, including ancient Greece, ancient Rome, the Phoenicians, ancient China, ancient Japan, Aboriginal Australia, Native Americans, and Native Alaskans."

However, surely even if you and I disagree on which acts are real crimes, we can agree that pervasive surveillance by Facebook aids in the prosecutions of many real crimes. But that is not enough to show that it is desirable; it also enables unjust government persecution of people who are doing things that are illegal, but should not be, and this must also be weighed in the balance. From my point of view it is evident that this is such a case. Perhaps your example would be something different: Christians being persecuted for holding worship services in their homes, for example, or the Righteous Among the Nations secretly protecting Jews in their houses during the Holocaust.

In short, totalitarianism is not transparently the best form of government, and for many of us this case illustrates the dangers to liberty from Facebook's pervasive surveillance.
It’s not trolling. I’m not telling somebody over the phone whether I’m voting for the “wrong” candidate. End of story.
Because of historical reasons. Americans had free texting for decades. Entire segments of phones were released dedicated to the texting experience with full keyboards. When the iphone came out it had unlimited data, but it was the exception not the norm, and it was slow as hell. People don't want to use data for something they already got for free, plus there's the whole network effect issue. Everyone has a phone number, not everyone is going to be on whatever chat platform you insisted on using. Imo I think its better this way, using this do it all technology that works on a modern phone or the flip phone my dad has, versus being reliant on whatsapp and therefore Meta.
Maybe, but that sounds a little simplistic to me. People up to ~40 today hardly even remember apartheid. It's probably a factor, but I suspect there are other factors too.

It's not really addressed in the article, but the root problem seems to be the lack of a functioning democracy where those in power are held accountable at least to some degree.
I've seen this position a lot throughout this thread and I have a question: all of these apps (whatsapp, signal, etc.) appear to be "free" - how do you suppose they will make money? In the US, the users of sms/mms/imessage paid in some way for this service and can have some reasonable expectation for delivery and availability.
I dont blame the parent for paranoia. NIST has been involved in standardizing protocol/algorithms with backdoors. It is not a controversary, it is documented. Although they pulled off the standard when it became public news [1].

[1] https://www.securityweek.com/nist-pulls-dualecdrbg-algorithm...
As counterpoint, I am an Android user in the US, and 90%+ of my contacts are US-based iPhone users. While I do use Signal, WhatsApp, or GChat for nearly all of my group chats, I have 1-on-1 conversations over SMS daily, with quite a few people.

I've managed to move a few of the 1-on-1 chats to Signal, but not many.
Yay, that means I'm a genius!

Joke aside, yeah various people pointed that out to me so I quickly added an edit at the end of the post. Thanks :)
Coconuts? Most palms don't.
yeah, agree, 'on the network' is a bad phrase. long form:

completely 'eliminate' the network by closing all inbound firewall ports (not even allowing dynamic hole punching), and then opening ephemeral, session-specific L3 outbound connects (from both sides* of the session) only for authorized sessions (strong auth - not IP-address based auth).

* requires intermediate 'gateways' which can bridge both sides to enable bidirectional data flow, initiated from either side
I use edge on mine
Signal is not a profitable target for spammers. Those using it are least likely to be caught by spam.
You can access Apple Maps (though not the full feature set) through the web, notably on Duckduckgo.

https://duckduckgo.com/?q=hollywood+sign&t=h_&ia=places&iaxm...
It looks like this only checks one of the blacklisted addresses. For the full set, see:

https://home.treasury.gov/policy-issues/financial-sanctions/...

Blacklists have been a topic in Bitcoin for ages. The problem with a blacklist is that in principle, identity creation is easy. Tornado team gets just one new address, and it's whack-a-mole time for Treasury.

I doubt this will work out the way Treasury thinks it will.
They are tightly coupled at the moment but easy to extract out. I did not think there would be interest for that but I could carve it out as a separate dependency project for everyone to reuse!

Here is the magic part to implement the queue in sql: https://github.com/windmill-labs/windmill/blob/main/backend/...
And yet I get plenty of spam via text on my iPhone. What is more, I cannot block numbers from texting me (unless there's an option I haven't found). What is more, a clearly spam text will stay as an alert number grabbing at my attention until I open up and see whatever spam image text was sent my way to dismiss it which is surely a security risk.

I used to work at Apple but this messaging stuff is really damning.
> if they have notable github projects, why do you want a new feature

It might not actually be their project.

> but ideally your interview methods are equitable across all candidates

My candidates are not competing with each other, the tests do not need to be "equitable" between candidates, just fair for that candidate.

One problem, for instance, with github projects is that it's a fairly privileged position to be able to have significant side projects. So it's not fair to expect a candidate to have a github presence and you would be eliminating people without a lot spare time (single parents is the go to example).
The only homes being built at all since 2008 are expensive single family homes.

They need to drop. They need to be decoupled from wealth and investment.

Multi-family units need to be built, not more mcmansions.
In my opinion, there's a good case to be made that money laundering laws themselves should be repealed[0]. But I'm afraid this is way outside the Overton window at this point and "too big to fail" (see FATF, an international organisation which gets countries financially blacklisted for not complying with its anti money-laundering rules). People have forgotten about the old-school pre-1989 way of catching criminals with police investigations, gathering evidence of a crime, etc.

[0] https://www.cato.org/blog/money-laundering-laws-ineffective-...
> still being understanding of GitHub trying to cut ties with the sanctioned entity

What is the name of this sanctioned entity that GitHub supposedly cut ties with?

You'll note that none of the developers who had their accounts suspended were themselves sanctioned.
Yes, although the ANC is losing voting share every election - especially in the major urban areas. Part of those votes go to the either the DA or more recently the EFF.

The DA is historically a white party but mostly has black leadership now. It's _mostly_ unaffiliated with the National Party (ruling party during Apartheid) but still has the stigma among most of the population as being the "white party".

The EFF on the other hand is the real populist winner lately. They're extremely left leaning (Marxist-Lenin inspired) and want to nationalise most businesses (including mining) and get rid of all white capital ownership. I wouldn't be surprised if they continue to gain more power - they're purpose built for the current SA population.

But also 1 thing to keep in mind is that the people you've met are probably not representative of the vast majority of the country.
“RCS is the modern standard adopted by most of the mobile world…”

(logos of Motorola, Samsung, OnePlus, Google Pixel, Snapdragon)

So…. Android then.
The SAML world is definitely a fun mess. We’re[1] building out SAML support and are beta testing it with a few customers and it is funny how different even the large IDPs are. Add in things like needing to test the integration, making sure attribute and role mappings are correct, and it’s unfortunate but understandable that companies not specializing in auth wouldn’t want to deal with it except for customers that pay a lot.

[1] Disclaimer, I’m a founder of PropelAuth
I don’t expect Apple to ever allow unsecured devices into the iMessage network.
> You might want to consider that the kind of inflammatory language you're using tends to make productive argument much less likely.

You might want to consider the same about statements like "the law is clearly immoral". I don't think my response was disproportionate.

> I think it is very unusual for employees to end up in jail because their corporate employer was found guilty of contempt of court.

Unusual, yes, but far from unthinkable; there simply aren't many cases where both sides fight to the bitter end, because the threat doesn't have to be carried out in order to have power. And of course if you can make someone unemployable then you don't need to jail them directly.

> We know about cases where companies have successfully refused to introduce cryptographic backdoors into their software

We do? When?
Duck Duck Go uses Apple Maps.
Her personal story is also fascinating,
https://en.wikipedia.org/wiki/Emmy_Noether

Thank you for all the excellent posts to help people like me understand a bit more about this interesting work.
Here are things wrong with this video and the group (person) that made it. While I'm not a fan of Elon, I am fan of actually verifying information and placing criticism where criticism is due.

* This video was made by the The Dawn Project, whose goal is literally to make Tesla's self driving illegal. Their current goal isn't to make all unsafe self driving illegal, only Tesla's.

* The Dawn Project is founded and operated by Dan O'Dowd, who is campaigning for senate. His biggest platform issue is banning Tesla's self driving. He's definitely getting the press coverage he wants as a result of this publicly advertised test.

* Dan O'Dowd is the founder and owner of Green Hills Software, which makes self driving software for car manufacturers, and has more than a dozen partners with deep connections to the automotive industry. Dan does not disclose this conflict of interest.

* Green Hills Software has Ford and Toyota as direct customers. Dan does not disclose this conflict of interest.

* The Dawn Project explicitly outlined this test as "a small child walking across the road in a crosswalk" and it fails in both of these goals - the "child" isn't walking and the road isn't marked as a crosswalk.

* There is zero coverage of trials where Tesla did successfully brake. The test circumstances are clearly setup to make it fail. While noteworthy they were able to find the right conditions, not disclosing the work that went into making the test scenario only further fuels the bias of this test.

* It is unclear to me how they managed to get a Tesla to work in full self driving mode while plowing through clearly marked parking spaces in a parking lot. These are clearly not conditions that anyone would be using FSD. This is further marked by the fact that the Tesla braked hard from 40MPH to 25MPH as soon as FSD was enabled because it knew going that speed in a parking lot and driving over road markings it shouldn't was a stupid thing to be doing.

* FSD was enabled only seconds before being introduced to the stationary mannequin.

TLDR: There is a massive conflict of interest here that isn't disclosed anywhere. There is a massive incentive to use this as advertising for his senate campaign. The test doesn't actually put in any baseline effort to replicate what they claim to be testing. They put the Tesla in a situation that no one would ever actually be using FSD.
In the U.S. Nepotism Is Key to Economic Success
EDIT: ok I read other comments and learned that it's mostly a US-specific, cultural thing. I'm impressed that people in the US are still sending SMS, to be honest. Even with cheapest or free SMS, more modern chat apps became mainstream long ago in Europe, (probably) because they allowed to send photos and videos seamlessly, and messages didn't have length limitations.

Original message follows:

Could someone explain what this is about?

The page complains that pictures or videos are poor quality on SMS/MMS, and they lack encryption, like if those were relevant amd not a thing from the 90's.

Also I am reading things like "Since I'm on Android, I'm stuck using SMS a lot, since most people I know have iPhones", and that adds to my confusion.

I guess the issue is that I simply cannot start to understand who would in today's context use SMS to chat. I too use Android and have a lot of friends with iPhones... we just send encrypted, good-enough quality pictures with whatsapp, telegram, or what have you. SMS or other cellular-based services are a thing of the past that nobody would use. So what's all the fuss about?
I seem to recall the green being a few shades darker (so there was higher contrast)
Apple should still have a user facing "maps.apple.com" though
Thank you.

We can't wait for your stats book to be released.
There is ZLUDA, based on oneAPI if I recall correctly: https://github.com/vosen/ZLUDA
>First, RCS is not a very modern or practical standard. It was created in 2008 by carriers (GSMA!!) for their SMS/MMS centric (at the time) platforms. So is it a good idea to adopt this more than a decade later? I don’t think so.

Is a standard from the 90s acceptable then? Do we say Apple shouldn't migrate to USB-C since it's old-ish? A standard being around a long time is a good thing, but when a better one comes along I don't see what excuse Apple has to not migrate (besides anti-competitiveness, which is a really good reason I suppose).

>Second, it’s really not Apple’s fault that Google has failed to come up with a messaging solution. Google has released 13 separate messenger apps since 2011!

The argument in the article could be made irrespective of Google. The article isn't saying "Apple isn't playing nice so use our stuff instead", it's a critique of an obvious attempt by Apple to build a walled garden around messaging. Google is arguing for a standard adopted across the industry, not one of their many messaging apps.
Why, exactly, would Apple and Google not be able to fallback to SMS? Without involving carriers at all?

It's not like there's any real benefit to having the carriers in that conversation, you can already text from either device just fine. That would continue into the future.
It was great for biking.
This is a major fundamental usability concern. I’m really not concerned with what the competition is or what tone fans of this particular app expect everyone to use to help in the noble battle against the competition. I think it’s entirely appropriate to point out major usability issues and to have high usability standards for the entire software industry.
> The puke-green text bubbles from android and calm-blue bubbles from iMessage

This quoted bit is actually incorrect. All messages from android and from iMessage are in identical gray text bubbles.

The blue/green bubbles are for your own sent messages only
It's fine to debate what exact policy is the best, but it's not productive to just dismiss all regulation as bad because some are inconvenient.

FWIW, the only reason cookie banners are annoying is because the sites intentionally made it that way to bully you into allowing 3rd party cookies. EU regulations allow a site to not have banners if 3rd party tracking is opt-in. They could easily do it via a separate settings page. They only chose the banner because they want you to keep tracking cookies on and the annoying banner results in a higher rate of people agreeing to be tracked at the cost of annoyance (which is somehow respun to be directed to the policy not the site owners). Imagine if every time you enter a business you were asked to sign a liability waiver. That's what cookie banners are.

(You do not have to have a banner if all the cookies you use are first party "essential for functionality" cookies)
Except you wont, first owners sign waiver giving dealership right of refusal, its like marrying a princess.
It isn't about opening up iMessage. The article is about using RCS instead of SMS/MMS as the fallback. It's a pretty reasonable ask that will raise the quality of service when texting with the majority of the market. They can continue to lock down iMessage however they want.
What are the most useful things that you use that are in Raycast but not in Alfred (or better in Raycast)?
Assorted thoughts on Zig and Rust (2020)
> SMS is crap for group chats

SMS doesn't do group chats; I think you're thinking of MMS. I agree that it's not a great experience, though.

> Group messages to anyone regardless of platform.

That's the thing though; that's not true. WhatsApp might be available on both Android and iOS, but it only works if the person you want to talk to has it installed and has set up an account. That requires coordination. If I meet someone new and want to get in touch with them, I'm going to ask for their phone number (or email address). I'm not going to ask them which messaging apps they have installed so we can figure out which one(s) we have in common.

Sure, if later on I want to start a long-running group chat including this person, I'll absolutely go to the effort of finding a common chat platform that is not MMS, because MMS is terrible. But if I'm only doing 1-on-1 conversations, or just short one-off group chats, I won't bother.

(Interestingly, for some people, even though I have group chats with them on an alternate platform, I'll still message them 1-on-1 using SMS. Not sure why that's the case, and it's not universal. I guess it's just whatever we'd gotten used to, and saw no need to change.)
Plotting in PyQt6 – Using PyQtGraph to create interactive plots in your apps
> More than 100 million pounds of plastic from industrial fishing gear pollute the oceans each year—threatening marine life

... does the actual fishing itself not ultimately also threaten said marine life?
That has nothing to do with the readability of the color scheme of your (outgoing!) texts though.
> I think it depends a lot on where you work and what sorts of projects you work on

Correct. These frameworks are synonymous with "Enterprise Java", which you're unlikely to encounter at startups on one end, or Google at the other, but at many places in-between
Care to list your company so others can avoid a place that calls someone out for work ethic when the cto doesn't get his way?
A good argument I've heard is that in Europe, when people got their first mobile phone contracts, you were charged per SMS message, whereas in the US, unlimited texting was included in your plan.

The consequence of this was that in Europe, people preferred free online messaging over costly SMS.

20+ years down the line and old habits die hard.
Because its better than chat apps. I can send a text all over the place. Cell coverage for nondata service is incredible, you'd have to be really remote at this point to not have it at which point you definitely don't have a data connection. Meanwhile there are places all over my city where I can't get a reliable enough LTE connection to open my chat apps let alone send a message, much less one with any attachments. Inside stores are especially bad with LTE. I can't even get an imessage out inside the grocery store. I have to defer to sms, but then it sends instantly.
On laptops AMD was indeed not very good; but their desktop CPUs – far more important in the 00s and early 10s than they are today – were pretty decent. That is not to say that Intel also didn't have good CPUs at the time, but (much) more expensive and for people just doing their browsing and occasional gaming on their desktop AMD was a solid (and cheaper!) choice IMO.
For areas it makes sense!

Not every single supply chain in a nation!
That's a quote from the parent comment
RCS is infinitely better than the current state. Google isn't pretending it's a standard. They're trying to improve messaging between android and iphone uers. Apple won't because the current standard helps their business. It's pretty simple.
It would be worth somebody gathering real world numbers from systems, to find out where people use std::unordered_map, how much are they leaving on the table, versus where people use say Folly F14, how small is the gain they're getting with their real workload.

I would guess there are a lot of maps out there which in practice have a dozen things in them and so it doesn't matter how it works, a naive linear search would be fine too. But I genuinely have no idea, maybe it's 99% maybe it's 1%.
The article clearly outlines the conflict of interest
Sorry but the last rainbow painting is not very easy, weird, even scary. I don’t have empathy since it was made with a bot. I feel stir, turnmoil, mixed feeling of good but more weird.
Mocha: Open-Source Mock API Builder for Go
Mocha is an open source tool to build Mock APIs in Golang, inspired by WireMock for Java.
There's such a thing as overregulation, but when industry fails to act in an upstanding manner they are playing chicken with regulators. Here's the result. The way to avoid this is create an industry body to develop a standard and 'regulate' themselves. It looks bad when you do that, then also flaunt the standard for greater profit/market position.
I’ve used Sphinx, mkdocs, Jekyll, and Hugo.

I don’t see a reason to switch a site from one to the other if you and any collaborators are comfortable maintaining the runtime. The same goes for JS based tooling (I imagine), I just don’t node so good.

Personally, I use Hugo for new projects because it lowers the burden for content collaboration.

Templating is weird in Go, though if you’re working on themes. I like it now, but it’s procedural vertically and LISPish horizontally, if that makes any sense.

Usually it’s just me or me and another guy messing with that, and others often unfamiliar with anything except Java contributing vanilla markdown documentation. “Clone the repo, run this binary” is helpful there.