@mackuba@martianbase.net
@mackuba@martianbase.net avatar

mackuba

@mackuba@martianbase.net

Independent Mac/iOS & web developer. Building useless random stuff in Swift, Ruby or JavaScript and wasting time. Currently also learning Rust 🦀 I'm mostly hanging out on Bluesky these days and hacking things on the AT Protocol, so follow me there 😎 🐦 @kuba_suder 🦋 @mackuba.eu

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

aleck, to random
@aleck@mastodon.social avatar

After a day with 13in MacBook Air M2, I’m really amazed just how light and silent this thing is. Last MacBook I had was 2016 MBP that feels way more heavy than it really is.
This will be really nice travel companion for next decade.

image/jpeg

mackuba,
@mackuba@martianbase.net avatar

@aleck @mattiem It's like Apple said "sigh, ok… you want an ESC key? fine, you'll get an ESC key. happy now??" 😅

Migueldeicaza, (edited ) to random
@Migueldeicaza@mastodon.social avatar

Over on twitter there has been a bit of a back and forth on C# and Rust simple json server performance.

I know C# has gotten a ton of performance tuning on the stack, and was wondering if Swift was up to the task.

I have never done Swift on the Server before, but the results are impressive:

Swift: 64k req/sec
.NET: 61k req/sec

https://gist.github.com/migueldeicaza/d85ef9fe0ac0a14162aeff512dd9072e

Original thread:

https://x.com/migueldeicaza/status/1794361106665750860

mackuba,
@mackuba@martianbase.net avatar

@Migueldeicaza I wonder why here https://www.techempower.com/benchmarks/#hw=ph&test=json&section=data-r22 Swift/Vapor is doing much, much worse than C# or Rust?

mackuba, (edited ) to random
@mackuba@martianbase.net avatar

It's ironic that ~17 years ago it was exactly the strongly Mac-centric / community that drew me to the and made me a Mac user… https://world.hey.com/dhh/linux-as-the-new-developer-default-at-37signals-ef0823b7

mackuba, to OutOfTheLoop
@mackuba@martianbase.net avatar

I'm getting the impression that there's apparently some kind of drama about the iTerm terminal app?…

mackuba,
@mackuba@martianbase.net avatar

@monocularvision That… doesn't sound bad…

todd, to random
@todd@tapbots.social avatar

I’d like to report a UFO sighting.
https://journa.host/@w7voa/112487661786051480

mackuba,
@mackuba@martianbase.net avatar

@todd wow :0 👽

mackuba, to random
@mackuba@martianbase.net avatar

I don't need an iPad… I will end up not using it at all again… I need to stop reading about it 😛

mackuba, to random
@mackuba@martianbase.net avatar

Is it just me or did Apple kinda run out of ideas for iPhone hardware at the moment?… It's looking like it will be the 5th year with basically the same design again, and… it might have some new colors? 🤨 https://www.macrumors.com/2024/05/19/iphone-16-lineup-to-come-in-these-two-new-colors/

wonkcosmo, to random
@wonkcosmo@masto.ai avatar

Mastodon is a weird place. Most of the time it feels like it’s just a buncha folks who would rather cruise around on horse drawn buggys. It’s really no surprise why this place didnt take off the way we hoped. Then again that was Eugens whole point.

mackuba,
@mackuba@martianbase.net avatar

@wonkcosmo Oh trust me, Bluesky is also flooded with folks who hate whatever the newest AI development is 😅

marioguzman, to random
@marioguzman@mastodon.social avatar

I just can’t with her.

I lay on my bed to watch TikTok before starting dinner and this is where she decides to lay down?! 🤦🏻‍♂️

(Apologies for the apparent crack)
¯_(ツ)_/¯

mackuba,
@mackuba@martianbase.net avatar

@marioguzman "What? This is my place now, tough luck." 😼

mackuba, to random
@mackuba@martianbase.net avatar

Could someone write a Twitter bridge now plz? 🫠 There are still some tech conversations happening there worth following, but it sucks that you can only use their app to follow them… why can't they just federate with something 😛

mackuba, to random
@mackuba@martianbase.net avatar

In my naivety I'm always surprised and disappointed when a nice startup decides to sell to a BigTech that will ruin it or kill it, because surely when someone builds a cool thing, they care about it and want it to grow, improve people's lives and solve their problems, like we do, right? Right?… 😕 https://bsky.app/profile/did:plc:bnqkww7bjxaacajzvu5gswdf/post/3kt4i6nquad2d

mackuba, to random
@mackuba@martianbase.net avatar
tolmasky, to random
@tolmasky@mastodon.social avatar

When Swift came out I commented that I thought it was a bad sign that the “community dialogue” went from how to make cool animations to “how do I get the types to work when parsing json”. Ever since ESM (but not just due to ESM), I feel like something similar happened to JS. We’re spending so much time on abstract import bullshit (import maps, mjs, json imports) or typescript compiler blah blah when publishing. This is a natural consequence of the non-app developers leading language development.

mackuba,
@mackuba@martianbase.net avatar

@dpp @tolmasky @helge I think because ARC was added on iOS in parallel and it worked well there, so they've decided why not put it on macOS too?

mackuba,
@mackuba@martianbase.net avatar

@tolmasky @helge @dpp well, it's solving most of the issue, while not adding the overhead of the GC that's running in the background, stopping things etc., and the used memory that's lying around longer than it needs to…

mackuba,
@mackuba@martianbase.net avatar

@dpp @helge @tolmasky the main issue with MRC was that you had to remember to write it everywhere and not make mistakes while writing it, so ARC solves that, no?

thisismissem, to bluesky
@thisismissem@hachyderm.io avatar

So, kinda like mentioned people only posts, ish.

mackuba,
@mackuba@martianbase.net avatar

@thisismissem Well, with the added feature that you can't accidentally add someone to the conversation by mentioning them in a private message, like in Mastodon's mentioned people only posts ;)

mackuba,
@mackuba@martianbase.net avatar

@josh @thisismissem They definitely want to use some existing solution (they've mentioned MLS), but it will take a lot of time to research and implement and test properly, and they wanted to have something in the meantime because a lot of people want it and they want it now

caseyliss, to random
@caseyliss@mastodon.social avatar

Well, hello, old friend. 🥴

mackuba,
@mackuba@martianbase.net avatar
mackuba, to bluesky
@mackuba@martianbase.net avatar

#Bluesky launched DMs! 👀 (not federated or encrypted yet, just a v1) https://bsky.app/profile/bsky.app/post/3kt3y33tk4w2m

Took them like a month to build it all from start to finish :0

mackuba,
@mackuba@martianbase.net avatar

@Ciantic Yeah, and the UI parts at least can mostly be reused when they implement some better version later

mackuba, to random
@mackuba@martianbase.net avatar

To be completely honest, I think I'm happy that Bluesky hasn't raised $150M from VCs, I'd feel less comfortable using it if it did https://bsky.app/profile/did:plc:bas4q6ksuie6quze6t4z7sga/post/3kt2vygf34c2d

mackuba, to random
@mackuba@martianbase.net avatar

Huh, it finally happened, first time… someone went aggro at me in the mall for wearing a mask 😐 "why are you still wearing this, you moron?!" while making a "stupid" finger-to-the-forehead gesture 🤨 (not really shaken, just… pretty wtf)

mackuba, to random
@mackuba@martianbase.net avatar

Oh nice, looks like Apple has changed the iPad naming scheme from the "6th gen, 7th gen" (which wasn't even always consistent between different sizes) to just "iPad Air M2" or "iPad Pro M4" 👍

ctietze, to SwiftUI
@ctietze@mastodon.social avatar

#SwiftUI experts around the world:

Is there a way to look inside PrimitiveButtonstyle or its effect on the button and see whether it can be replicated?

Because with .plain, some things break that work with .bordered -- and a custom regular ButtonStyle also doesn't work. So the bordered one must be doing something interesting, but I can't get to the honey 🍯

mackuba,
@mackuba@martianbase.net avatar

@helge @343max @ctietze @chris FYI, this is an old handle - I've been on my own instance martianbase.net for over a year now since that old one shut down unexpectedly :)

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