@maxd@mastodon.social
@maxd@mastodon.social avatar

maxd

@maxd@mastodon.social

#Ukrainian software engineer. Currently working on #SwiftLang and #SwiftPM.

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

maxd, to random Ukrainian
@maxd@mastodon.social avatar
maxd,
@maxd@mastodon.social avatar
maxd,
@maxd@mastodon.social avatar
cjwirth, to random
@cjwirth@mas.to avatar

I have done very little research — what’s the best NAS to get?

Looking basically for something to replace iCloud, so would be great to have access to the files from my phone. Would be nice if I could use rclone to sync with some online services too.

maxd,
@maxd@mastodon.social avatar

@chris @cjwirth +1 for Synology for on-premise NAS. Otherwise there must be something cloud-based that's open-source, but I never found something in that space as established as Synology already is for on-prem.

finestructure, to random
@finestructure@mastodon.social avatar

Folks who squash their #git merges, I’m curious why you are making that trade-off. I’m guessing the pro argument is a cleaner merge graph?

The big argument against it for me is that you lose granularity for git bisect. I've often been able to narrow down breakage (sometimes long past the merge) due to individual commits in the merge. If I'd merged in a giant blob all I'd have had to go by is that giant blob. (1/2)

maxd,
@maxd@mastodon.social avatar

@finestructure Merge commits on active repositories make history basically unreadable, but then rebase commits erase all commit signatures, which makes squash the only practical option. Also incentivises making PRs smaller.

maxd,
@maxd@mastodon.social avatar

@fabianfett @dgregor79 @finestructure I think saying "destroyed commits" is an exaggeration here. Even with squashes all of the original commits are automatically preserved on GitHub and can be easily tracked down and bisected if needed. If there are any concerns with those commits stored on GitHub, all of those branches can be cloned and stored in an external system including local clones if needed.

maxd,
@maxd@mastodon.social avatar

@finestructure if you delete merged PR branches, there's a "Restore" button displayed by the squashed merge commit and its original branch info, otherwise it's called "Delete".

maxd,
@maxd@mastodon.social avatar

@finestructure that restores the original PR on the remote and allows you to check it out again if you had it deleted locally.

icanzilb, to random
@icanzilb@mastodon.social avatar

Visiting my mom and digging up some ancient artifacts she's been holding on to through the ages. My first collab with Ray Wenderlich & team

maxd,
@maxd@mastodon.social avatar

@icanzilb this one's pre-autolayout, right? Fun times :coolcat:

pervognsen, to random
@pervognsen@mastodon.social avatar

Before Baba Is You there was Environmental Station Alpha by the same developer. The game doesn't seem widely known, but it is one of my surprise favs: https://www.youtube.com/watch?v=fuPsJk-c3bQ

maxd,
@maxd@mastodon.social avatar

@pervognsen the main title theme for Axiom Verge is one of my favourite❤️‍🔥 Thank you for sharing this!

maxd, to random
@maxd@mastodon.social avatar

I had an opportunity to build a simple synthesizer and a sequencer running in the browser in under half an hour, live on stage with Embedded Swift in VS Code (almost) from scratch at 2024, and now a recording is available!
Huge amount of effort was put into making the talk happen, including the underlying work to support Wasm in Swift toolchain and libraries that started years ago. I'm very grateful to everyone who participated 🙏

https://youtu.be/6yxPavqB144

pervognsen, to random
@pervognsen@mastodon.social avatar

Not sure how widely known it is that Cloudflare has a free tier for Pages. There's different options for how to upload static assets but the easiest is to just point it to a branch of a GitHub or GitLab repo and it will auto-pull and deploy when there are changes to it.

maxd,
@maxd@mastodon.social avatar

@pervognsen do you get more detailed analytics than with GH Pages maybe?

maxd, to random
@maxd@mastodon.social avatar

Preach: "Defeat is good thing to happen to an empire. Decolonisation happened because [these empires] lost wars. [...] Russia is not exceptional or mythical. Empires eventually overreach and they lose wars". https://mastodon.social/

mackuba, to random
@mackuba@martianbase.net avatar

Is there a way to tell the compiler to just compile a single file like swift build test.swift -o test? Or do I need to have a Package.swift, Sources folder etc.?

maxd,
@maxd@mastodon.social avatar

@mackuba swiftc test.swift -o test

finestructure, to random
@finestructure@mastodon.social avatar

I just absentmindedly ran the coffee machine while the cup with the milk was still in the microwave.

The problem really is to make your first cup of coffee without having had coffee.

maxd,
@maxd@mastodon.social avatar

@finestructure like in compilers, these bootstrapping problems are always hard to resolve. At least in warmer weather there are more excuses to prepare some cold brew the night before.

AndriiKuznietsov75, to Java Ukrainian
@AndriiKuznietsov75@social.kyiv.dcomm.net.ua avatar

Як працюють компіляція та виконання коду👇
🔸Компілювані мови (#C, C++, #Go)
Вихідний код перетворюється компілятором на машинний. Машинний код виконується безпосередньо процесором.
🔸Байт-код (#Java, C#)
Вихідний код компілюється у байт-код, а потім JVM виконує програму. Іноді JIT-компілятор компілює вихідний код у машинний, щоб прискорити виконання.
🔸Інтерпретовані мови (#Python, #JS, #Ruby)
Тут для виконання програми не потрібен машинний код, натомість програму рядково виконають інтерпретатори.

video/mp4

maxd,
@maxd@mastodon.social avatar

@tshirtman @AndriiKuznietsov75 IIUC that's also the case for Ruby. And of course, languages don't mandate a specific flow, it's an implementation detail. There's RubyMotion/DragonRuby compiled to native, or PyPy that JIT-compiles Python.

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

Godot on iPad, styling the code completion with Runestone:

maxd,
@maxd@mastodon.social avatar

@Migueldeicaza I didn't know Runestone supported code completion, or is that a customization you had to add manually?

maxd, to retrogaming
@maxd@mastodon.social avatar

This new Dune 2 may be good (I haven't watched it yet), but it's certainly a good reminder that original Dune 2 from 1992 was a notable breakthrough.

maxd, to webassembly
@maxd@mastodon.social avatar

Excited to announce an important milestone for and testing on CI! More details available on Swift Forums: https://forums.swift.org/t/stdlib-and-runtime-tests-for-wasm-wasi-now-available-on-swift-ci/70385

gernot, to random German
@gernot@mas.to avatar

So we’re going to get Swift 5.10 next week or so, and Swift 6 at WWDC with a full release with iOS 18 in autumn. Interesting, I thought the plan was to have Swift 5.11 and so on and expected Swift 6 for next year? https://forums.swift.org/t/swift-6-0-release-process/70220

maxd,
@maxd@mastodon.social avatar

@gernot @rhysmorgan typed throws allow generalizing rethrows, which was always an ad-hoc mechanism. Overall the accepted proposal is a great step towards having a more general typed effects system. Plain throws becomes a syntax sugar for throws(Error), non-throwing function are just throws(Never). And progressive disclosure is still in place, you don't have to use it if you don't need it, while people who couldn't use throws at all (Embedded Swift) finally get it.

maxd,
@maxd@mastodon.social avatar

@rhysmorgan @gernot there's a huge amount of improvements to concurrency and sendability checking, new atomics API, pack iteration etc, full list available on the SE dashboard https://swift.org/swift-evolution/

randahl, to random
@randahl@mastodon.social avatar

Russians staying in Sri Lanka have showed their gratitude by creating a number of “whites only" night clubs, denying access to local Sri Lankans. So Sri Lankan authorities now decided to help the racists by telling all 288,000 Russians in Sri Lanka to take the next flight back to good old Moscow, where the average skin color is more to their liking.

Perfect! 😘👌

https://www.independent.co.uk/asia/south-asia/sri-lanka-russia-tourist-visa-ukraine-war-b2502986.html#

maxd,
@maxd@mastodon.social avatar

@strigohabro @feyter @theseeduneed @randahl russians had plenty of time (decades) to prevent this from happening, so they all bear responsibility for what's happening. Putin was democratically elected for his first term while he was endorsing extrajudicial persecution of journalists and imperialist war in Chechnya. All the red flags were there, with opportunities to protest and outvote these criminals, and yet they've chosen to do almost nothing and then suddenly realize it's too late.

mattiem, to random
@mattiem@mastodon.social avatar

News!

I’m helping @holly with an upcoming Swift concurrency migration guide for swift.org!

The goal is to provide documentation around concepts but also practical solutions to problems real apps encounter.

Ultimately this is going to be a community effort. To start, if you have ideas or problems you’ve run into please send them my way!

maxd,
@maxd@mastodon.social avatar

@simonbs @mattiem Promise.all more or less maps to withTaskGroup, with the added benefit of better cancellation and error handling on Swift side. But if the number of concurrently running tasks is known at compile time, you can use async let instead.

maxd, to random
@maxd@mastodon.social avatar

Before obituaries for Navalny start rolling in the Western media, here's a necessary reminder that he incited violence against Muslims, called immigrants "cockroaches", and of course supported the occupation of Crimea.
Frustrating how the inconvenient fact that he was a far-right activist is swept under the rug and almost never mentioned enough by that same media.
https://www.theguardian.com/world/2023/feb/08/amnesty-international-employee-sacked-alexei-navalny

maxd, to webassembly
@maxd@mastodon.social avatar

The optimization work @katei is doing on WasmKit is nothing short of amazing 🤩 AFAIU this interpreter written in Swift is ~15x faster in common use cases, when compared to the state it was before Yuta started working on it, and now it's 100% compliant with the WebAssembly 1.0 spec and a few major accepted proposals.
Teaches a lot about the benefits of knowing underlying hardware well. Sometimes worth taking into account cache locality and register layout after all https://github.com/swiftwasm/WasmKit/pull/70

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