Cesare Rocchi

20.1K posts

Cesare Rocchi banner
Cesare Rocchi

Cesare Rocchi

@_funkyboy

I craft software. Blogging at https://t.co/FNsD9kpS3W https://t.co/3rzpv2PkvV

Italy Beigetreten Aralık 2007
276 Folgt2.5K Follower
Cesare Rocchi
Cesare Rocchi@_funkyboy·
Any podcast about music composition that you’d like to recommend?
English
0
0
0
48
Cesare Rocchi
Cesare Rocchi@_funkyboy·
Periodic reminder: I miss Jeff Buckley
English
0
0
1
111
Cesare Rocchi
Cesare Rocchi@_funkyboy·
“to a point of almost obstinance” is a key phrase here. Depending on the times/context it’s bug or a feature. For pretty much everything: prices, documentation, software quality, anything. daringfireball.net/2025/04/unchan…
English
0
0
0
58
Cesare Rocchi
Cesare Rocchi@_funkyboy·
An alternative would be: Compiler so pesky that for many cases (> 95%) I don’t need to write tests to be sure what happens at runtime. But I still have to see such case. For context: I’m talking about software that involves UI.
English
0
0
0
89
Cesare Rocchi
Cesare Rocchi@_funkyboy·
Pesky compiler but you still have to write tests to be sure what happens at runtime or laid back compiler/interpreter and you still have to write tests to be sure what happens at runtime? #pickyourpoison #programming
English
1
0
1
208
Cesare Rocchi
Cesare Rocchi@_funkyboy·
@danielsaidi Yeah, that’s what I do usually in the constructor: inject values that I’d like to be configurable.
English
1
0
1
17
Cesare Rocchi
Cesare Rocchi@_funkyboy·
@danielsaidi I see it’s all lets and static. How do you create a separate env for dev/staging? You make a copy of all that?
English
2
0
1
39
Daniel Saidi
Daniel Saidi@danielsaidi·
This is my (current) favorite pattern for setting up an app and its services. I've previously used Dip and Swinject for dependency injection, called it IoC etc. but this is soo lightweight and obvious. Service protocols can be implemented in various ways to allow for composition.
Daniel Saidi tweet media
English
5
3
69
8.2K
Cesare Rocchi
Cesare Rocchi@_funkyboy·
When I am looking for drama I don’t watch a movie anymore. I just read the news about what’s going on in the valley.
English
0
0
0
177
Cesare Rocchi
Cesare Rocchi@_funkyboy·
As much as I try, I can’t install macOS 14 using Parallels 19.1 on a macOS 13.6.1 host. I re-read these instructions ten times but no luck kb.parallels.com/125561 The errors I see in the Console are not helpful. Ironically, installing a Windows VM is a breeze.
English
0
0
0
158
Cesare Rocchi
Cesare Rocchi@_funkyboy·
I don’t have a lot of time these days but if I did I’d test this out: automerge.org
English
0
0
0
167
Cesare Rocchi
Cesare Rocchi@_funkyboy·
Is Cocoalumberjack still the goto solution to save log messages to a local file in an iOS app? Or is there an equally robust new solution, maybe #swift only?
English
1
0
1
610
Cesare Rocchi
Cesare Rocchi@_funkyboy·
@corneliusmark That I didn't see. Thanks! Will try to find out if I can fetch entries from the last 15 days or so.
English
1
0
1
23
Cesare Rocchi
Cesare Rocchi@_funkyboy·
@corneliusmark OSLogStore.local() doesn't exist on iOS :( That's the exact problem I faced when I investigated this possibility a while ago.
English
1
0
0
19
Cesare Rocchi
Cesare Rocchi@_funkyboy·
@corneliusmark Tried that and could not find a way to extract the log file. Scenario is: user should be able to send the log file upon request.
English
2
0
1
29
Cornelius Mark
Cornelius Mark@corneliusmark·
@_funkyboy In that case. Try the Apples OSLog framework (I think it's called os in Swift). It's fast and saves directly to the local log system of the device with different public/private and log levels.
English
1
0
0
31