Readit News logoReadit News
bluepizza commented on Apple is open sourcing Swift Build   swift.org/blog/the-next-c... · Posted by u/dayanruben
easeout · a year ago
bluepizza · a year ago
Which was not open source from the start?
bluepizza commented on Apple is open sourcing Swift Build   swift.org/blog/the-next-c... · Posted by u/dayanruben
easeout · a year ago
Swift announced Linux support in 2015 when it went open source. Aspects of parity have taken years, and the Objective-C interop that isn't relevant outside Apple platforms but made adoption take off at all occupied a lot of early effort, but every Swift talk at FOSDEM today was about embedded or Linux server applications, or platform-agnostic C++ and Java interop. What can you possibly mean by "Mac only" or "bare minimum"?
bluepizza · a year ago
Core libs and foundation for starters?

https://www.swift.org/blog/future-of-foundation/

bluepizza commented on Apple is open sourcing Swift Build   swift.org/blog/the-next-c... · Posted by u/dayanruben
jitl · a year ago
I don't get this reaction.

Apple: here, we're open-sourcing this previously closed-source Apple-specific thing that made Swift better on Apple platforms. We're moving the Apple stuff into a plugin so Windows and Linux can be equal peers to Apple in the new system. We've implemented preliminary support for Windows & Linux and plan to continue work to bring them up to parity.

Hacker News: I believe that this long game of Swift being "good for everything" but "better for Apple platforms" will be detrimental to the language. This does not help the language nor seems to bring more people to the ecosystem.

Like, what more do you want from them? For them to only open-source Swift Build once they've fully implemented complete parity for Windows and Linux? In the years you'd be waiting for full parity, we'd still see this same kind of comment on every story about swift, asking when they're going to open source a production-level build system.

bluepizza · a year ago
I don't get this reaction.

Almost every language in the world: here's the spec, the tooling, and everything you need to use, master, and expand this language. Please use it.

Apple: sorry, Mac only.

Like, I want Apple to do the bare minimum that everyone else is doing.

bluepizza commented on I deleted my social media accounts   asylumsquare.com/backstag... · Posted by u/joemanaco
tracker1 · a year ago
I'm not really tethered to social media as much as some. I still text and call my closer friends regularly. Similar for family.

I do find the reactionary response a bit disturbing. Having been caught up in the trap of "fact checkers" for reposting a political cartoon and similar, I'd definitely prefer the community notes approach. All said the inability of many to have a rational conversation with those they don't completely agree is very wrong on so many levels.

bluepizza · a year ago
My issue with lack of moderation in social media is not the political polarization. My issue is the blatant scams pushed by bots, or by questionable companies paying sub celebrity influencers.

Criminals are not willing to have rational conversations. But they just won a free pass from the platforms.

bluepizza commented on Back to basics: Why we chose long-polling over websockets   inferable.ai/blog/posts/p... · Posted by u/lunarcave
josephg · a year ago
Well, it’s the same in both cases. You need to handle disconnection and reconnection. You need a way to transmit missed messages, if that’s important to you.

But websockets also guarantee in-order delivery, which is never guaranteed by long polling. And websockets play way better with intermediate proxies - since nothing in the middle will buffer the whole response before delivering it. So you get better latency and better wire efficiency. (No http header per message).

bluepizza · a year ago
That very in order guarantee is the issue. It can't know exactly where the connection died, which means that the client must inform the last time it received an update, and the server must then crawl back a log to find the pending messages and redispatch them.

At this point, long polling seems to carry more benefits, IMHO. WebSockets seem to be excellent for stable conditions, but not quite what we need for mobile.

bluepizza commented on Back to basics: Why we chose long-polling over websockets   inferable.ai/blog/posts/p... · Posted by u/lunarcave
slau · a year ago
Long polling has nearly all the same disadvantages. Disconnections are harder to track, DNS works exactly the same for both techniques, as does load balancing, and DDoS is specifically about different IPs trying to DoS your system, not the same IP creating multiple connections, so irrelevant to this discussion.

Yes, WS is complex. Long polling is not much better.

I can’t help but think that if front end connections are destroying your database, then your code is not structured correctly. You can accept both WS and long polls without touching your DB, having a single dispatcher then send the jobs to the waiting connections.

bluepizza · a year ago
My understanding is that long polling has these issues handled by assuming the connection will be regularly dropped.

Clients using mobile phones tend to have their IPs rapidly changed in sequence.

I didn't mention databases, so I can't comment on that point.

bluepizza commented on Back to basics: Why we chose long-polling over websockets   inferable.ai/blog/posts/p... · Posted by u/lunarcave
ipnon · a year ago
I feel like WebSockets are already as simple as it gets. It's "just" an HTTP request with an indeterminate body. Just make an HTTP request and don't close the connection. That's a WebSocket.
bluepizza · a year ago
It's surprisingly complex.

Connections are dropped all the time, and then your code, on both client and server, need to account for retries (will the reconnection use a cached DNS entry? how will load balancing affect long term connections?), potentially missed events (now you need a delta between pings), DDoS protections (is this the same client connecting from 7 IPs in a row or is this a botnet), and so on.

Regular polling great reduces complexity on some of these points.

bluepizza commented on Why Canada Should Join the EU   economist.com/europe/2025... · Posted by u/gpi
PaulDavisThe1st · a year ago
Only the free movement of labor is really unusual. As in ... really, really, really unusual. Lots of trade deals include variations of the first 3 ... free movement of labor is basically unheard of between nation states as part of trade deals.
bluepizza · a year ago
Mercosur, Australia-New Zealand, and the Gulf Cooperation Council all have a similar agreement on movement of labour. It is not particularly rare.
bluepizza commented on Most people don't care about quality   shkspr.mobi/blog/2024/12/... · Posted by u/ColinWright
nedrocks · a year ago
I see so this may be semantics then as the article agrees with intuitive decision making. I think I understand where we’re saying the same things. I will consider replacing my terminology in the future, thank you!
bluepizza · a year ago
My personal theory (which is also baseless speculation) is that we use intuition to consider the decision pipeline closed and the matter settled. We keep at it until it feels right.

In this representation, "system 1" is simply an early pipeline decision, where one intuitively feels that it is the correct decision immediately. And if a satisfying decision doesn't come up, we keep looping over the decision, adding more factors, until we finally find the factors that make our intuition agree with it and close the matter. The longer we try to find a satisfactory decision, the more factors we try out, and therefore, someone came up with "system 2", but I see "system 2" as a particularly bad misrepresentation: it is still the same system looping, we are just staying in it longer.

The source of my theory is the interesting effect of a broken intuition: OCD sufferers are unable to break from this cycle, and even when intellectually satisfied with a conclusion, they perceive their brains as "stuck" in the question.

So fundamentally, I agree with your general idea: intuition plays a major role in this system, and when it breaks, people get paralyzed in it, no matter how good the decision is intellectually. My only point is that there is no division of systems. It's one single subsystem, integrated with many others, forming one single blackbox entity. The fast/slow thinking framework is a misrepresentation that doesn't really help one understand people's behaviors. It's a bad map.

bluepizza commented on Most people don't care about quality   shkspr.mobi/blog/2024/12/... · Posted by u/ColinWright
nedrocks · a year ago
Respectfully, I don't think you took away the correct implications. Specifically in the implications section of [1]:

"The key to effective intuitive decision making, though, is to learn to better calibrate one’s confidence in the intuitive response (i.e., to develop more refined meta-thinking skills) and to be willing to expand search strategies in lower confidence situations or based on novel information."

and

"Relatedly, it also means we should stop assuming that more conscious and effortful decision-making is necessarily better than more heuristically-driven intuitive decision-making."

I would say that while the article makes very interesting objections to the S1/S2 thinking framework, its objections are that they are far more intertwined as measured. However, the article still very clearly agrees that S1 is lower cost than S2.

bluepizza · a year ago
> most notably that many of the properties attributed to System 1 and System 2 don’t actually line up with the evidence, that dual-process theories are largely unfalsifiable, and that most of the claimed support for them is “confirmation bias at work”

The article absolutely does not agree that S1 is lower cost than S2, as the article does not agree that S2 exists at all.

u/bluepizza

KarmaCake day1116October 22, 2020View Original