@heckj@mastodon.social avatar

heckj

@heckj@mastodon.social

Developer, Technical Writer, Forever a student

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

schwa, to random
@schwa@mastodon.social avatar

deleted_by_author

  • Loading...
  • heckj,
    @heckj@mastodon.social avatar

    @schwa out of curiosity, what limits are you hitting? My use is light, but i like it for consistency- starting to render some sequence diagrams in docs and state setups, but haven’t really “pushed” it

    heckj,
    @heckj@mastodon.social avatar

    @schwa haven't even tried there - rendering directly to PNG and SVG with the cli...

    finestructure, to Starfield
    @finestructure@mastodon.social avatar

    I recall getting mixed reviews on launch. How is it a few months in?

    heckj,
    @heckj@mastodon.social avatar

    @LarsFosdal @finestructure There's good story bits embedded, but it's both kind of grindy and oddly awkward. Like it never figured out what it wanted to be, half did a bunch of things, and then backed it out. I haven't come close to finishing it, just wandering around exploring and doing various side quests (I'm on console).

    heckj,
    @heckj@mastodon.social avatar

    @LarsFosdal @finestructure yeah, does to me too. Also felt like there were a lot of possible survival-ish systems that got walked back, but not actually removed, which (to me) led to a lot of confusion in what's better for gear choices, etc.

    Migueldeicaza, to random
    @Migueldeicaza@mastodon.social avatar

    Me: Ok, I am going to embrace Swift Concurrency and show the world.

    5 minutes later:

    heckj,
    @heckj@mastodon.social avatar

    @Migueldeicaza You got this! (bet they’ll drop fast, rise again later, and then drop precipitously. At least that was my ride.

    heckj,
    @heckj@mastodon.social avatar

    @Migueldeicaza I totally should have e done that!

    heckj,
    @heckj@mastodon.social avatar

    @Migueldeicaza Now we're talkin!

    Migueldeicaza, to random
    @Migueldeicaza@mastodon.social avatar

    Good post by @heckj on what he learned and the tradeoffs he did when designing an API for strict swift concurrency support.

    The best part are the regrets he has, good guidance for those of us starting on our strict journey:

    https://rhonabwy.com/2024/04/29/designing-a-swift-library-with-data-race-safety/

    heckj,
    @heckj@mastodon.social avatar

    @Migueldeicaza @krzyzanowskim Speaking truth. The benefits of the compiler guarantees are amazing - with them in place, I spotted issues that I thought were otherwise completely safe, patterns of doing things that "just worked" 99.9% of the time because I wasn't unlucky. This is a huge update to pressing forward on writing solid, reliable code.

    heckj, to random
    @heckj@mastodon.social avatar

    I wrote about my thinking, mistakes, and successes while creating a library that fully supports Swift's strict concurrency

    http://rhonabwy.com/2024/04/29/designing-a-swift-library-with-data-race-safety/

    heckj,
    @heckj@mastodon.social avatar

    @schwa yeah, I know - the writings been on the wall for ages, but it's still a gem of a library - when used for the right things anyway. (It was a travesty for devs trying to shim in an early async/await or promise result with it)

    heckj, to random
    @heckj@mastodon.social avatar

    In a run of troubleshooting, debugging, and system patching at the extreme boss level, NASA has fixed Voyager 1 and resumed communications : https://blogs.nasa.gov/voyager/2024/04/22/nasas-voyager-1-resumes-sending-engineering-updates-to-earth/

    Migueldeicaza, to random
    @Migueldeicaza@mastodon.social avatar

    I love that WebAssembly is becoming a bytecode for Swift tooling.

    Pure, unadulterated, high-octane fuel for a he swift ecosystem:

    https://github.com/apple/swift/pull/73031

    heckj,
    @heckj@mastodon.social avatar

    @krzyzanowskim @Migueldeicaza I updated my local copy of the swift project and noticed the addition of wasmkit as well. The JSC numbers were quite compelling with the ongoing JIT, but very excited to see the wasmkit hosting option come to Swift in a nice cross-platform way.

    krzyzanowskim, to swift
    @krzyzanowskim@mastodon.social avatar

    If you asked how @SwiftStudio going. Well... it been better. Apple just recently decided to shutdown API I use (to make things CLI cannot provide). I find it unexpected (to me, not to apple) move after many years. https://github.com/apple/swift-package-manager/issues/7440

    I'm disappointed with a move in that direction and find that decision harmful for the third-party dev tooling ecosystem trying to adopt SwiftPM. IMHO.

    heckj,
    @heckj@mastodon.social avatar

    @krzyzanowskim That's definitely an annoyance, although I suspect they're drawing lines of what they need to keep stable so they can do a pretty heavy refactor. There's been a rolling sweep of maintainers for the last 6+ years, and the internal structure has been... organic. I suspect major changes will be needed/are coming (to add support for WASM/C/C++ module interop in build, which have been lacking since the start). I'd guess a lot of internals would change shape without warning during that

    heckj,
    @heckj@mastodon.social avatar

    @krzyzanowskim If i were in their shoes, I’d be pretty ruthless about carving a hard border for refactoring, first step of which would be almost exactly what they’re doing- closing down all the “API” edges to what I explicitly intend to support and keep working. When I saw your note, that’s immediately what I thought they might be doing.

    heckj,
    @heckj@mastodon.social avatar

    @nickmain I’m pretty certain it already is supported there: https://stackoverflow.com/questions/57348813/how-to-load-webassembly-in-ios-app-via-wkwebview-or-jsc/59756205#59756205, and https://wasmer.io/posts/wasmer-3_3-and-javascriptcore talking about an alternative to JSC for running WebAssembly

    schwa, to random
    @schwa@mastodon.social avatar

    deleted_by_author

  • Loading...
  • heckj,
    @heckj@mastodon.social avatar

    @schwa I fell down the same rabbit hole yesterday evening. Quite the story

    GeekAndDad, to random
    @GeekAndDad@mastodon.social avatar

    gads this async stuff looks to still have painfully weird corner cases. All this makes it much harder to learn thoroughly. https://mastodon.social/@ffried/112128932481342912

    heckj,
    @heckj@mastodon.social avatar

    @schwa @GeekAndDad I have some hopes for it - and it seems like we’ve been trying to learn all the details while it’s been assembling, which has made it harder and with only partial knowledge. I’m trying to write down how it works to sort obit all out myself, with only partial success. Pretty much feeling I can’t trust my knowledge yet

    heckj,
    @heckj@mastodon.social avatar

    @schwa @GeekAndDad I probably will, but feeling like I need to cobble examples to check my knowledge against the compiler first. Not trusting any intuitions at the moment.

    9to5Mac, to random
    @9to5Mac@mastodon.online avatar

    Brave Browser sees sharp increase in take-up as Apple prompts EU users to choose https://9to5mac.com/2024/03/13/brave-browser-iphone/?utm_source=dlvr.it&utm_medium=mastodon

    heckj,
    @heckj@mastodon.social avatar

    @9to5Mac Could you at least provide a zero-basis on that chart to make it more obvious that while the jump was large, its not as large as the image would have you believe from it's intentionally manipulated axis points?

    jsq, to random
    @jsq@mastodon.social avatar

    deleted_by_author

  • Loading...
  • heckj,
    @heckj@mastodon.social avatar

    @jsq @ole As a general quality of life improvement, I’d love to optionally see MORE information from the compiler - including inferred types as well as context information. Saw and used that a bit with Rust in visual studio code, and it was amazingly helpful navigating unknown code and my own mistakes. Way better than option-clicking on a symbol and hoping the UI responds.

    simonbs, to random
    @simonbs@mastodon.social avatar

    Am I missing something obvious, or is Reality Composer Pro lacking documentation big time? Like, sure, this Shader Graph node gives me RGB values, but are they in the 0 - 255 range or the 0 - 1 range that UIColor and friends expect? 🤷‍♂️

    heckj,
    @heckj@mastodon.social avatar

    @schwa @simonbs May not be of interest or help, but I noted an interesting library to help assemble materialX shader graphs in swift code: https://github.com/praeclarum/ShaderGraphCoder (hat tip to @Migueldeicaza quite a few weeks ago) - doesn't help with RCP docs, but may offer another way to get to your goal.

    schwa, to random
    @schwa@mastodon.social avatar

    deleted_by_author

  • Loading...
  • heckj,
    @heckj@mastodon.social avatar

    @schwa I recently started using a secondary Target for “not used frequently, but useful" related structs or methods - in my case, utility functions that make testing or validating something a bit easier (deeper introspection).

    I've been debating splitting up one target into two that has sort of a layered API structure (a custom encoder/decoder over a base API layer), roughly looking at the pattern used in Swift-collections for picking just the bits you need. Fearing that might be overengr tho

    heckj,
    @heckj@mastodon.social avatar

    @schwa new dependencies is where I start to consider external packages instead of targets. I don't have a good tried and true rule for myself on "when it makes sense" though

    steveriggins, to random
    @steveriggins@mastodon.social avatar

    @christianselig As a brand new 3D printer person (two prints!) I was looking at your files. PrusaSlicer does not like the 3mf at all, so I opened the stl for the pringle. Is this how you meant to print it? If I have it flat, the supports underneath are a massive amount heh

    heckj,
    @heckj@mastodon.social avatar

    @steveriggins As you've seen .3mf is a common format for slicers, but they’ve all varied off each other, and they don't (always) translate smoothly. The .3mf that @christianselig made was from the Bambu software (a derivative of Prusa). Unfortunately, the same goes the other way - I've had Prusa .3mf files that i couldn't open (I have a Bambu as well)

    heckj, to random
    @heckj@mastodon.social avatar

    @schwa Thank you for publishing https://github.com/schwa/ShaderGraphParameterAnimationExample - I’ve been wanting to learn how to do that!

    heckj,
    @heckj@mastodon.social avatar

    @christianselig @schwa I’m pretty sure the light rain that sometimes happens there is a shader embedded into the environment.

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