@glacials@hachyderm.io
@glacials@hachyderm.io avatar

glacials

@glacials@hachyderm.io

Software engineer and amateur photographer.
Ex-Twitch, ex-LLNL, ex-founder.
Open source, climate, devx/vel, gaming.

I’m looking for my next full-time gig. https://twos.dev/cv.html

Side projects:
https://splits.io, https://mas.to/@whatsinstandard, https://twos.dev/winter

This profile is from a federated server and may be incomplete. Browse more on the original instance.

davidbures, to random
@davidbures@mstdn.social avatar

@glacials hey, would you like a Cork license or 25€? 😊

glacials,
@glacials@hachyderm.io avatar

@davidbures Would love a license! ❤️ ben@twos.dev

davidbures, to swift
@davidbures@mstdn.social avatar

I really need some Swift help. If you’re feeling brave, could you check out this Cork issue? https://github.com/buresdv/Cork/issues/275

We’re having trouble with the “Somehow bypass this licensing scheme if the user compiled Cork themselves” part

Do you have any ideas on how to solve this? If you do and you help implement it, you’ll get a spot in the “Special thanks” section of the readme and within the app itself, as well as a free license or cash equivalent of the license

glacials,
@glacials@hachyderm.io avatar

@davidbures @dimitribouniol If you have other DEBUG things you don’t want enabled for self-builds, you can also define a custom compiler flag (e.g. PAYWALL) and use different schemes for self-build vs. release-build. Something like: https://practicalprogramming.net/adding-custom-compile-flags/

glacials,
@glacials@hachyderm.io avatar
davidbures, to SwiftUI
@davidbures@mstdn.social avatar

It’s a shame that there isn’t a standard search field in SwiftUI. I can’t use .searchable for this use case, so I have to build my own search field, and I just can’t get the animation right :/

#SwiftUI

video/mp4

glacials,
@glacials@hachyderm.io avatar

@davidbures @alpennec Does it work if you put a NavigationStack in the sheet?

glacials,
@glacials@hachyderm.io avatar

@davidbures @alpennec hmm, maybe .navigationTitleDisplayMode(.inline)?

glacials,
@glacials@hachyderm.io avatar

@davidbures @alpennec What happens if you put the search field inside the .navigationTitle?

glacials, to random
@glacials@hachyderm.io avatar

@twostraws Hi Paul, just wanted to let you know about a slight typo on this page: https://www.hackingwithswift.com/quick-start/swiftui/how-to-make-a-scroll-view-move-to-a-location-using-scrollviewreader

The first sentence says to embed ScrollViewReader inside a ScrollView, but the actual behavior (which the example correctly shows) is to do the opposite, embed the ScrollView inside the ScrollViewReader.

Thanks for Hacking with Swift, it has been super helpful as I’ve been learning!

ashleyspencer, to random
@ashleyspencer@autistics.life avatar

I read studies by Harvard and Yale that tested the likelihoods founders and non-founders of startups would be called for interviews in tech.

Both sent out 2,400 fictitious resumes. Founder of a successful startup, founder of a failed startup, and non-founder.

Failed founders were 33% more likely to get an interview than successful founders.

HR people they interviewed said they risk their jobs if they hire entrepreneurs.

glacials,
@glacials@hachyderm.io avatar

@ashleyspencer Very interesting! Can you link the studies?

davidbures, to random
@davidbures@mstdn.social avatar

This will be wildly OOT for what I usually post, so feel free to ignore it if you’re interested in my usual tech posts

I don’t know how many toots this will take

I realized that I’m bad at getting help. Last month, I got assaulted when waiting for a train. There was a very aggressive guy who punched me in the head. Luckily he backed off fast after I pulled out my knife (I have it to eat cheese when traveling and I wasn’t planning to stab him, only to scare him off. I don’t want to hurt people)

glacials,
@glacials@hachyderm.io avatar

@davidbures I’ve had to call emergency services a few times, some which ended up being real emergencies and some that didn’t.

Even for the ones that didn’t, the operator and (in cases where someone physically showed up) the people who arrived always reassured me I did the right thing by calling, that it’s always better to call and not need them than the opposite.

At no point was I ever made to feel guilty for using resources. Their demeanor suggested they wished people would call more.

ashleyspencer, to random
@ashleyspencer@autistics.life avatar

I went to the gardens!

Zoomed around in my power wheelchair like I’ve done it dozens of times.

It was hard to pick only 4 photos, but these are some of the pictures. Much of the garden was in winter mode, so I took pics of flowers that were still alive.

glacials,
@glacials@hachyderm.io avatar

@ashleyspencer beautiful photos!

davidbures, to random
@davidbures@mstdn.social avatar

Hands-down the most useful thing I have ever bought

glacials,
@glacials@hachyderm.io avatar

@davidbures Is that a tea steeper?

glacials, to random
@glacials@hachyderm.io avatar

My city converted a 2-lane road into a 1-lane road with a protected bike lane, despite pushback from freight and business! The stats are in:

  • Weekday biking is up 144%.
  • Weekend biking is up 53%.
  • Weekday walking is up 96%.
  • Weekend walking is up 91%.
  • Car travel time is slower by 1 second.

👏🏻

https://www.theurbanist.org/2023/12/07/completed-duwamish-trail-connection-led-to-doubling-of-walking-and-biking/

danderson, to random
@danderson@hachyderm.io avatar

Okay well exploring Fulcro was fun, but turns out getting the combination of Java, Clojure, Clojurescript, Node, React and whatever the hell else all playing nice together is an awful, unusable developer experience :(

It's maddening when great ideas happen, but cannot be accessed due to an ecosystem that requires days of effort to get hello world running. Maybe I've just been spoiled by Go on that front, I dunno.

glacials,
@glacials@hachyderm.io avatar

@danderson Thank you, I’ve had a hard time expressing this feeling over the last couple of years. I seriously thought we left this stuff behind with Smalltalk. It’s like needing a special hammer for one specific company’s nails.

simonbs, to random
@simonbs@mastodon.social avatar

TIL that iTerm2 supports configuring a key binding to open a new tab within the current directory. So useful!

glacials,
@glacials@hachyderm.io avatar

@simonbs There’s also a setting to change the default behavior to this!

davidbures, to iOS
@davidbures@mstdn.social avatar

I wish Apple Calendar has the option to set that I need to arrive “x minutes before the event”

Last week, I went to the theater. You need to be there 15 minutes before it starts to get seated, and I was arriving by public transport.

Unfortunately, there’s no way to tell the notification that I need to be there 15 minutes before the event starts.

Are there any iOS + macOS calendars that have this feature? 🤔

glacials,
@glacials@hachyderm.io avatar

@davidbures @ctietze Yeah I do the same. I’ll usually put the official start time in the description in case I need it, and the calendar event represents when I need to arrive.

simonbs, to random
@simonbs@mastodon.social avatar

Adding SwiftUI Links to my widgets seem to increase memory consumption by A LOT 🤔

I have a widget that's getting killed because it's using more than 30 MB memory when I have a few instances of Link. If I remove those then my memory consumption is at max. 15 MB. I can't explain this and I don't know to solve it 🤷‍♂️

glacials,
@glacials@hachyderm.io avatar

@j4ck @simonbs This was my first guess too, some sort of preloading.

jilleduffy, to random
@jilleduffy@mastodon.social avatar

I read 6 airlines' policies on where you can stow batteries and lithium-ion-battery devices so you don't have to. Here's what you need to know if you're traveling by plane any time soon.

https://www.pcmag.com/explainers/can-you-put-electronics-in-checked-bags

glacials,
@glacials@hachyderm.io avatar

@jilleduffy Super helpful! One thing I didn’t see mentioned is why these policies exist.

ZachWeinersmith, to comics
@ZachWeinersmith@mastodon.social avatar
glacials,
@glacials@hachyderm.io avatar

@ZachWeinersmith I don’t see a bonus panel at the link?

5t3ph, to random
@5t3ph@front-end.social avatar

soooo what does one do when a MacBook keyboard key is failing 😬

glacials,
@glacials@hachyderm.io avatar

@5t3ph If you have a model with butterfly switches, you can get it replaced for free. Got mine replaced three times. https://support.apple.com/keyboard-service-program-for-mac-notebooks

davidbures, to swift
@davidbures@mstdn.social avatar

Today in Cork:

I’ve been experimenting with implementing some kind of onboarding system. I quite like this „Basic - Advanced“ slider.

It might land in the next small release if I manage to implement it in time!

What do you think?

video/mp4

glacials,
@glacials@hachyderm.io avatar

@davidbures It’s a neat idea! But not sure I’d be a fan. It’s hard to understand each of those bullet points as a new user without further descriptions, and it’s confusing for some bullet points whether it “goes away” by dragging left, or right.

glacials,
@glacials@hachyderm.io avatar

@davidbures Oh this is a really great improvement!

ashleyspencer, to random
@ashleyspencer@autistics.life avatar

I found a therapist near me who specializes in eating disorders and addictions. He might be a good fit. Won’t have to use BetterHelp if he works out. I had no choice when I developed anorexia at 9 and 11 years old, and now it’s stuck around as a 30 year long addiction. I think he will be better able to understand how it is in addiction in me vs mental illness. So hopefully he’s the right fit. Will see him and the nutritionist on Friday.

glacials,
@glacials@hachyderm.io avatar

@ashleyspencer that’s so great you found someone, hope he is a good fit!!

ZachWeinersmith, to random
@ZachWeinersmith@mastodon.social avatar

Something I've been thinking on lately re: pedagogy. I feel like the best learning I do in my life happens when there are real stakes. Like, I know space settlement literature quite well, in part because I had to write a book a lot of people would read and judge. Topics where I just read for fun? I do not retain them well.

Part of why kids don't remember shit is, I suspect, that there are few meaningful stakes for them.

glacials,
@glacials@hachyderm.io avatar

@ZachWeinersmith This is probably why, especially when raising children, telling someone they are good at something makes them improve more than telling them they are bad at it.

davidbures, to random
@davidbures@mstdn.social avatar

I haven’t coded anything in JavaScript for years after I started using Swift, and I gotta say, this feels really weird! Those .then feel strange when you’re so used to async/await

glacials,
@glacials@hachyderm.io avatar

@davidbures JavaScript has async/await now too!

paul, to random
@paul@tapbots.social avatar

I'm looking for a rock solid < 15W pfSense box, that doesn't cost a fortune.

I could go with one of the various N5105 or N100 aliexpress “firewalls” + USB watchdog timer, but not sure how reliable that hardware is for just sitting there without being touched for months. Plus would always worry about the damned things catching on fire.

Other choice is actually a Mac Mini 2014, I know they are reliable, won't catch on fire and sip power. But no hardware watchdog option on these…

glacials,
@glacials@hachyderm.io avatar

@paul This take is too rare. Not needing performance is a great way to give life to older and/or less hungry hardware.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • thenastyranch
  • tacticalgear
  • ethstaker
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • Youngstown
  • mdbf
  • khanakhh
  • slotface
  • rosin
  • provamag3
  • kavyap
  • everett
  • cisconetworking
  • Durango
  • modclub
  • osvaldo12
  • tester
  • Leos
  • cubers
  • normalnudes
  • megavids
  • anitta
  • lostlight
  • All magazines