algrid

7.9K posts

algrid

algrid

@algridmd

Just a code monkey.

Bergabung Ekim 2012
209 Mengikuti102 Pengikut
algrid
algrid@algridmd·
@Zhuinden "That was ridiculous! But, of course, what we're doing now is a completely different story!"
English
0
0
2
1.2K
Gabor Varadi
Gabor Varadi@Zhuinden·
If you think you're following some kind of "best practice" that is used by "many developers" and is "agreed upon as best practice" so you know it has to be "the greatest idea of all time no one should ever question it", then: Remember when people thought this was a good idea?
Gabor Varadi tweet media
English
15
2
115
24.7K
algrid
algrid@algridmd·
@tsoding Showing off, no other reason 😛
English
0
0
1
10
Тsфdiиg
Тsфdiиg@tsoding·
People often ask me why do I choose to do pre-increments in my for-loops instead of post-increments. The answer is actually very simple. I don't fucking know, stop asking me that.
Тsфdiиg tweet media
English
237
230
7.3K
355.1K
SamProgramiz ☭
SamProgramiz ☭@SamProgramiz·
Third party dependencies are a huge liability. Just learnt that @MongoDB dropped support for RealmSwift This is the second critical open source project I depend on that has been killed. I need to schedule time for migration, should have gone with SQLite from the start
SamProgramiz ☭ tweet media
English
3
0
6
505
Jacob Bartlett
Jacob Bartlett@jacobtechtavern·
Is Apple giving up on SwiftUI? Maybe: Mastodon went wild recently over a rumour shared by Steve Troughton-Smith: “I have heard that SwiftUI has been losing political capital, and credibility, internally at Apple because it has repeatedly failed to meet software engineering goals, and needs. It’s no longer thought of as the clear default choice for new stuff. That might explain why it was deemphasized at WWDC compared to the past few years.” Spicy stuff. I look forward to the next edition of "Apple’s internal use of SwiftUI" by Alexandre Colucci. We can cross-reference whether this rumour is substantiated by seeing whether the SwiftUI usage has plateaued across the internal iOS binaries. Read the ultimate scientific performance comparison right here 🧪 blog.jacobstechtavern.com/p/swiftui-vs-u…
Jacob Bartlett tweet mediaJacob Bartlett tweet mediaJacob Bartlett tweet media
English
31
14
278
57.7K
algrid
algrid@algridmd·
@TimSweeneyEpic @Zhuinden Uhm, but their plans to close Android from installing apps from "unauthorized" developers remain unchanged?
English
0
0
2
126
algrid
algrid@algridmd·
@valigo It's funny how they say "that one is just for basic tasks like web browsing" while the web stuff is so bloated nowadays that it consumes enormous amounts of RAM.
English
0
0
6
210
Valentin Ignatev
Valentin Ignatev@valigo·
8gb of RAM laptops are back on the table. Programmers better figure out how to write software, because bloated Electron slop won't cut it going forward with prices the way they are )))
English
86
149
2.4K
59.4K
algrid
algrid@algridmd·
@Zhuinden Still the best way of doing UI on Android!
English
0
0
2
94
Maher Safadi
Maher Safadi@mahersafadii·
@pepicrft @SwiftLang I saw it coming ngl, the concept of Swift sounds good on paper but once you get your hands dirty with it you realize how bad of a language it's become, Swift peaked around version 4 and went downhill around version 5.7 when apple decided bloat it to make swiftUI look good
English
2
0
12
1.4K
algrid
algrid@algridmd·
@SumitM_X It means you'd rather switch from json to something else.
English
0
0
0
26
SumitM
SumitM@SumitM_X·
Your API needs to process huge JSON payloads (5–20 MB) from clients. How do you design it so parsing alone doesn’t choke your CPU?
English
122
85
1.6K
333.4K
codelaby
codelaby@Codelaby·
@krzyzanowskim I've only been developing iOS for two years, coming from a solid architecture and a modern language like Kotlin/android. I'm completely lost with swift concurrency.
English
2
0
2
653
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
🤔 but if Swift Approachable Concurrency is so approachable, why would it need so many lengthy explanations? I keep reading about it for months and apparently again everyone else is using it wrong
English
14
5
98
9.3K
algrid
algrid@algridmd·
@valigo Look what FP people do for calling functions! 🤣
English
0
0
0
6
Valentin Ignatev
Valentin Ignatev@valigo·
OOP people are crazy. They will take the most mundane thing in programming ever - passing arguments to a function, and call it DEPENDENCY INJECTION, and then will sell you books and courses about it.
English
219
225
4.2K
240.6K
algrid
algrid@algridmd·
@ayushagarwal You should, actually. On different systems people may want slightly different stuff there.
English
0
0
0
16
Ayush Agarwal
Ayush Agarwal@ayushagarwal·
can you put .gitignore in .gitignore?
Ayush Agarwal tweet media
English
84
142
3K
106.6K
algrid
algrid@algridmd·
@ronaldmannak UIKit is still the best way to develop for iOS. Just like Java + Android Views for Android. The most simple and direct way of implementing things...
English
0
0
1
21
Ronald Mannak
Ronald Mannak@ronaldmannak·
I don’t know what happened to Android development but sure can confirm the decline of native iOS/macOS development due to Apple dropping the ball on SwiftUI (great idea, bad execution) and Swift itself. In hindsight, UIKit+AppKit weren’t really so bad. But can we please kill the word ‘scale-up’ wtf is a scale-up anyway?
Gergely Orosz@GergelyOrosz

An under-discussed topic: how the hottest software engineering job of the early 2010s is seeing a steady but ongoing decline the last few years. I'm talking about the native iOS and Android positions. Outside of Big Tech, few startups/scaleups hire for this. Since ~2022?

English
23
5
141
48.8K
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
America puts cookie banners on a whole other level. I prefer the EU way, thank you very much.
Marcin Krzyzanowski tweet media
English
5
0
5
4.9K
algrid
algrid@algridmd·
@twannl Hmm, I recall they recommended to avoid doing heavy computations with Swift Concurrency. Did they solve that issue?
English
0
0
0
47
Antoine v.d. SwiftLee 
I've migrated 20+ packages to Strict Concurrency recently. I see this misconception trapping developers all the time: "Swift Concurrency is only for network calls." Many developers add async/await onto their URLSession calls and call it done. Meanwhile, their CoreData fetches block the main thread, file operations crash randomly, and image processing stutters the UI. Swift Concurrency brings cooperative multitasking to every part of your app that touches shared state. Your networking library most likely already worked fine. I've seen codebases where every disk write used DispatchQueue.global() without any coordination and that's basically data corruption waiting to happen. What ended up fixing the "weird crashes that couldn't be reproduced", was migrating to actors and async file operations. Bottom line, your local operations need async/await too: • Database queries (CoreData, SQLite, Realm) • File system operations (reading files, caching images) • Heavy computation (image processing, video conversion) It is only natural that network code gets attention because it's obviously async, but we should also not assume that local code works because "it's fast enough.". — 📌 I love helping iOS developers write better concurrent code. And over the years, I've identified the exact patterns that separate smooth migrations from disaster. It's how I help developers ship async/await code with confidence. That's why I created The Swift Concurrency Playbook - which breaks down 5 critical mistakes that even experienced Swift developers make. See the link in my bio to get instant access. #swiftdevelopment #iosdevelopment #swiftui #swiftlanguage
English
2
3
56
10.5K
algrid
algrid@algridmd·
@thekitze Lol, swiftui, kotlin compose - all that nonsense is made under the influence of React, so we know who's to blame. 🤣
English
0
0
0
141
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
I don't understand coding agents score less than 100% on a test that is known upfront. do you manage to fail questions you had a year to learn and still decided: "nah, I know better" and fail gracefully?
English
1
0
3
1.4K