Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ragnese
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
ragnese
4y ago
I agree. I've assumed that once Lattner left as Swift lead, that Apple basically decided that Swift would be Apple-only. That's the only reasonable explanation for them adding Combine, result builders, etc into the language.
272.
▲
by
ragnese
4y ago
I'm not sure that Swift was ever super beginner friendly. I'm thinking of protocols and how they mix with generics and associated types, as well as "class vs struct" ref/value semantics, in particular. But, anyway
273.
▲
by
ragnese
4y ago
Ten times slower than a C++ virtual function call is still pretty damn fast. Good for them.
274.
▲
by
ragnese
4y ago
No- for sure. But if that's the last argument someone can put forth about trusting Signal, that's pretty damn good. Most privacy/security investigations end by the second paragraph of a EULA where the service tells you that t
275.
▲
by
ragnese
4y ago
What's not open? Signal is open source.
276.
▲
by
ragnese
4y ago
I don't find that to be a rude question at all. I love being a polyglot dev and I love learning and using different programming languages, frameworks, and app platforms. The issue I have is with learning redundant frameworks that don
277.
▲
by
ragnese
4y ago
Fair enough. I saw your reply to the grandfather comment and I asked some follow up questions there. Thank you. :)
278.
▲
by
ragnese
4y ago
What's involved in the "jumping back and forth"? Is it pretty cumbersome or no? Do you use a UINavigationController at all in your app, or do your UIViewControllers do all of the navigating/presenting themselves?
279.
▲
by
ragnese
4y ago
Cool. Thank you for that. I've got through the SwiftUI tutorials and stuff, but I've never tried to make a real project that mixed both approaches, so I had no idea about UIViewRepresentable, etc. I think that adds to my point tha
280.
▲
by
ragnese
4y ago
Yeah, sorry. I wasn't being precise. When I say "UIKit" I mean what iOS devs usually refer to as "programmatic views" where you do all the UI stuff in Swift code files rather than the UI Builder and Storyboard tools
281.
▲
by
ragnese
4y ago
To be fair, though, I feel like the difference between SwiftUI and UIKit or XIB is much bigger than the difference between UIKit and XIB. I don't have much practice with SwiftUI since I have to support some older iOS devices, but how a
282.
▲
by
ragnese
4y ago
I hear you, even though I've chosen to just deal with fighting the layout constraints. For what it's worth, I just use a zillion nested UIStackViews when I'm in "try things and fail fast" mode and it tends to work o
283.
▲
by
ragnese
4y ago
> People seem to either love it or hate it. Or is that just an effect of people posting on Twitter? I'm sure that a big part of that is the effect of it being Twitter. How often do we feel the urge to post something online that we h
284.
▲
by
ragnese
4y ago
> My own solution was to keep no entity state in memory and translate everything into DB updates immediately. Use DB transactions where needed. You'll need another layer of code to abstract those higher-level DB operations so your d
285.
▲
by
ragnese
4y ago
I can't tell you how depressing I found it when Musk described Twitter as the "town square" and his whole rhetorical take on it needing to be a place for free and open discussion as per the "market place of ideas" c
286.
▲
by
ragnese
4y ago
Agreed. There's definitely space to spread some blame and criticism around, I suppose. And there are plenty of old Java decisions that open the door for these issues.
287.
▲
by
ragnese
4y ago
> Basically it seems like the new developer just wanted to pad his resume, so he picked up a project that was otherwise abandoned and started re-designing and re-implementing things so he could brag about it. The changes don't reall
288.
▲
by
ragnese
4y ago
It's the difference between type checking and business logic validation. E.g., Type check that the user's name is a String and then let the database/business-logic yell at you when it's not unique. In this case, checking
289.
▲
by
ragnese
4y ago
Was Spring4Shell Java's fault, or Spring's fault? Log4Shell was obviously (mostly) log4j's fault. This one, I gather, is actually Java's fault. It sounds like three unrelated security bugs from totally different teams of
290.
▲
by
ragnese
4y ago
Meh. You often reply prolifically in threads that mention Java, defend/praise it profusely, and also seem to be very knowledgeable about the language as well as the JVM. So it's not entirely an insult when I call you a "Java
291.
▲
by
ragnese
4y ago
Fair enough. But that doesn't have to do with the error handling mechanism of Rust, nor would any of these error helper libraries fix that. It's just a criticism of the error type that's actually returned. A Java-style except
292.
▲
by
ragnese
4y ago
> Solving async traits, having a proper concurrency runtime story Something something let the Java guy cast the first stone. > reducing the reliance on third party crates to ease error handling does seem to take out forever. I've
293.
▲
by
ragnese
5y ago
It may be more about the quality rather than the quantity, though. Rust's standard library isn't very big. People sometimes complain that we have to fetch dependencies that are so ubiquitous that they are effectively part of stand
294.
▲
by
ragnese
5y ago
I was going to ask the obvious question of why the Java ecosystem ended up differently than the JavaScript ecosystem, but I think I know the answer. It's a giant pain in the ass to publish a Java library. That's already weeding ou
295.
▲
by
ragnese
5y ago
And those "top tier" libraries do exist for some stuff- especially if we're talking about the anemic standard library. The famous lodash library doesn't have any (non-lodash-umbrella) dependencies AFAIK.
296.
▲
by
ragnese
5y ago
> The reason this keeps happening with NPM is because of absurd number of dependencies in the average node app. But why does that happen? There are now lots of languages that make it trivial to add dependencies. While I find projects i
297.
▲
by
ragnese
5y ago
I definitely didn't spend a lot of mental energy on my analogies, so I'm not going to defend them per se. But, your counter points actually make me more comfortable with the analogies- not less. I'm not claiming that TDD is g
298.
▲
by
ragnese
5y ago
How many of the people who misunderstand the technology or methodology actually learned it from some kind of official or primary source, though? Compare that to how many of us learned "OOP" or "TDD" or "FP" or
299.
▲
by
ragnese
5y ago
And on the flip side: what if they're right and you are just doing it wrong? I understand the point you're making. But, I find this retort to be every bit as frustrating as the rhetoric you're criticizing. It gives us permiss
300.
▲
by
ragnese
5y ago
Who cares what time the clock says? I don't care if they do permanent DST or permanent not-DST; just stop with the twice a year changing! So, I'm super happy about this.
More ›