Posts by uliwitness@chaos.social
 (DIR) Post #AbN9OkzU4N6WlvXCHA by uliwitness@chaos.social
       2023-11-01T14:41:23Z
       
       2 likes, 2 repeats
       
       TIL: If you are under 23 years of age, there has never been a day in your life where all humans have been on planet Earth. (because there's always been someone on ISS since then)
       
 (DIR) Post #AbjPUaIOcRWm5GId6W by uliwitness@chaos.social
       2023-11-12T10:37:35Z
       
       0 likes, 0 repeats
       
       TIL that the original IBM PC keyboard had a pencil tray along the top where today's full-size keyboards have the F-Keys. (The F-Keys were at the left of the keyboard, vertical) #retroComputing
       
 (DIR) Post #AdPA6eMW6ZQvhXLGYy by uliwitness@chaos.social
       2024-01-01T14:35:41Z
       
       0 likes, 0 repeats
       
       @mikemathia Accessibility Description:Social media post by Grant Tanaka @ GrantTanaka:my daughter was wearing a flannel hoodie so I said "hey, the 90's called" and she replied "yeah cause they couldn't text" and godDAMMIT I'm getting really tired of my kids owning me
       
 (DIR) Post #AhEOt5GVPLAg5zxeIi by uliwitness@chaos.social
       2024-04-24T16:15:20Z
       
       0 likes, 0 repeats
       
       @siracusa I wonder if the addition of API to grab app audio and system audio has anything to do with the existence of such API on Windows, and that Covid apps like Zoom and gaming apps like Discord need it, and probably also display streaming (like to the Vision Pro).
       
 (DIR) Post #AhuhiByDk6coszUOfI by uliwitness@chaos.social
       2024-05-01T20:01:45Z
       
       0 likes, 0 repeats
       
       Say, how does Binding work, here? How does #SwiftUI know to call the getter when model.rawBytes changes? Does it just repeatedly call the method until something changes?
       
 (DIR) Post #Ahvg9rgSksI1KKD85I by uliwitness@chaos.social
       2024-05-06T07:45:18Z
       
       0 likes, 0 repeats
       
       I’ve been helping a friend learn Swift, and he loves to poke the Swift bear to see what happens, and it’s helped me greatly to learn to be less pushy about doing things right, and laud him about his resourcefulness and explain why things happen when they confuse him. I do still mention why you wouldn’t do certain things in practice, but I acknowledge that his approach gets the job done.Also, he discovers fun misbehaviors quite frequently.https://fosstodon.org/@Nathaniellockhart/112380910601772854
       
 (DIR) Post #Ai4zaZK8lw3Zkqr87M by uliwitness@chaos.social
       2024-04-22T18:05:38Z
       
       0 likes, 0 repeats
       
       Hey, is there any way to add a range check to a SwiftUI TextField?I have anstruct MyView: View {    @ State var intValue: UInt16    var body: some View {        TextField("UInt16”, value: $intValue, format: .number)    }}and if I enter “-1” or “65537” into the text field, it calls fatalError() trying to convert the user-entered text into a UInt16, and I'd rather it just beep than crash the app on invalid user input.#swiftUI #swiftlang
       
 (DIR) Post #Ai4zabWGboweZ2XqIS by uliwitness@chaos.social
       2024-04-23T09:36:45Z
       
       0 likes, 0 repeats
       
       Update: I still don’t know how to correctly use this construct, it seems to just have never been tested after implementing it. Would still know if there’s a way to use this IRL.The onSubmit() workaround seems the least annoying, if inelegant (String→Int→String→Int). If you want to ship now, using a formatter instead seems like the quicker choice. In my case, a custom Binding was best, as I need to convert the value from storage anyway, so I don’t actually have a UInt16. #swiftUI #swiftlang
       
 (DIR) Post #Akwv0dxVP1mTEgqt2e by uliwitness@chaos.social
       2024-08-14T06:31:19Z
       
       0 likes, 0 repeats
       
       @ActionRetro Gorgeous, butneeds more HyperCard IIGS … 😛
       
 (DIR) Post #Am5LpXVfL0cXsPxFtw by uliwitness@chaos.social
       2024-09-17T06:01:43Z
       
       0 likes, 0 repeats
       
       @ElysiaMacht Way to erase Pizzazz Roxy and Stormer all in one 😜
       
 (DIR) Post #An4dWg9DbOfJMsR1vc by uliwitness@chaos.social
       2024-10-16T16:53:52Z
       
       1 likes, 0 repeats
       
       @Codeberg Strap a display and keyboard to that, and you have the perfect laptop. Well, except maybe for gaming, I doubt the GPU in that one is anything fancy 😜
       
 (DIR) Post #An91owNZASxwSBE6fw by uliwitness@chaos.social
       2024-10-18T22:28:24Z
       
       0 likes, 0 repeats
       
       @jcs Gotta love the overt racism they exhibit. One bad experience with one contractor that happens to be from X? Ban the entire country. Repeated bad experiences with contractors? It must be the countries/states they are in, not the way you engage with them.I wonder what the mentioned companies would have to tell about these incidents if asked to tell their stories. But who knows, they might just be too classy to gossip about past customers beyond “we don't plan to work for them ever again”.
       
 (DIR) Post #AqKMGElaXnW8d5igwy by uliwitness@chaos.social
       2025-01-22T03:15:34Z
       
       0 likes, 0 repeats
       
       @futurebird Also, even if you find you can’t safely refuse doing such work, you can at least try to make it obvious.Add it to the documentation, include it in the release notes, add a switch to turn it off that may be noticed, inform user forums of the existence of these features to give them the option to complain.Depending on what precisely you're working on, there are small ways in which you might be able to give others in a more safe situation the information/tools they need to do more.
       
 (DIR) Post #AqWgk7oXHsZQjb99Yu by uliwitness@chaos.social
       2025-01-28T02:01:36Z
       
       0 likes, 0 repeats
       
       @futurebird @Catfish_Man On macOS? “Show Package Contents” plus regular apps to actually mess with the files that reveals? Maybe Hex Fiend for the more advanced people?Since XIBs and Storyboards get compiled to NIBs and SwiftUI is just compiled code, I don’t think you can edit app UI like in the ResEdit days, or even the early days when NIBs were not just an execution format, but also the one used for editing.Class-Dump was also a strong contender in the ObjC days, but is less so now.
       
 (DIR) Post #AqXYFs6wVAdOrxmNZQ by uliwitness@chaos.social
       2025-01-28T12:00:54Z
       
       0 likes, 0 repeats
       
       @pixel Apparently the former founder of Pebble lobbied with friends at Google to get that done, and is planning to use this for a new Pebble:https://www.theverge.com/2025/1/27/24352968/pebble-smartwatch-open-source-google-comeback
       
 (DIR) Post #Av9RWhwspngadbA2mu by uliwitness@chaos.social
       2025-06-15T10:12:46Z
       
       0 likes, 0 repeats
       
       @foone Digital download though. Even the USB stick era is over.I wonder if Toast is still available boxed.
       
 (DIR) Post #AxIopqmovpITatKA1A by uliwitness@chaos.social
       2025-08-18T18:31:02Z
       
       0 likes, 0 repeats
       
       @musicmatze Works for me right now, worked an hour ago. Maybe something at Akamai in your region or so?
       
 (DIR) Post #AyGdJdhRMSaVc7TZSa by uliwitness@chaos.social
       2025-09-16T14:38:31Z
       
       0 likes, 0 repeats
       
       Huh. Some YouTuber says that Firefly used models instead of CGI? And that the model is shown off at scifi cons?
       
 (DIR) Post #AzAWJQKHStDD4MCAN6 by uliwitness@chaos.social
       2025-10-13T14:09:42Z
       
       0 likes, 0 repeats
       
       @paradroyd Gorgeous! Didn't know that existed!
       
 (DIR) Post #AzKTEBU8rK9HJMDWHA by uliwitness@chaos.social
       2025-10-18T09:22:05Z
       
       0 likes, 0 repeats
       
       @foone I have that tendency when there are multiple call sites and I don't have reliable refactoring, but usually I fight it in that case, as it's just laziness.OTOH, I wouldn't do this for the example you gave, because the new name getOutputFilename() is ambiguous. (It says GIF nowhere).It's a good habit to have in network protocols or file formats, though. Ensure it can upgrade any newly-added values, even ones I made during development and forgot (although I will often error there).