pluralistic, to random
@pluralistic@mamot.fr avatar

The crash of 2008 imparted many lessons to people who were only dimly aware of finance, especially how complexity was a way of disguising fraud and recklessness. That was really the first lesson of 2008: "financial engineering" is mostly a way of obscuring crime behind a screen of technical jargon.

--

If you'd like an essay-formatted version of this thread to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:

https://pluralistic.net/2024/05/22/koteswar-jay-gajavelli/#if-you-ever-go-to-houston

1/

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

dimitribouniol,
@dimitribouniol@mastodon.social avatar

@davidbures Dumb suggestion: is it ok if “build it yourself" comes with a DEBUG requirement? ie. if you build and run from Xcode, you want to not do licensing checks, right? Just wrap the licensing checks in an #if DEBUG segment, then they'll be skipped only for debug builds. Want the release build? Modify the code or go get a license.

dimitribouniol,
@dimitribouniol@mastodon.social avatar

@davidbures I would stick to DEBUG, probably waaay simpler, especially if you already have your licensing stuff working.

rberger, to random
@rberger@hachyderm.io avatar

All this highlights the increasing divergence between the UK and the US when it comes to labor rights. Under the Biden Administration, @NLRB General Counsel Jennifer Abruzzo has promulgated a rule that grants a union automatic recognition if the boss does anything to interfere with a union election:

https://pluralistic.net/2023/09/06/goons-ginks-and-company-finks/#if-blood-be-the-price-of-your-cursed-wealth… (1/2)

patrickmcconnell, to swift
@patrickmcconnell@mastodon.social avatar

I was unable to push an archive build in #Xcode until I removed some preview content? The build otherwise works fine until I try an archive. Something feels wrong there but I don’t have time to do more than comment out the “offending” code

#Swift #iOSDev

luckkerr,
@luckkerr@mastodon.world avatar

@patrickmcconnell somewhere in that preview you use code that is marked as debug only? Try also surrounding preview with DEBUG

abcdw, to guix
@abcdw@fosstodon.org avatar

Bug tracker for RDE.

RDE is already quite big project with a few subprojects and it's hard to track feature requests, reports, milestones, their dependencies and to collocate and organize them properly and share publicly.

That's why for last few weeks I was looking at different project management/bug tracking solutions.

From what I found so far it seems that Bugzilla is the best option at the moment.

Thoughts?

https://www.bugzilla.org/

dgr,
@dgr@toot.li avatar

@abcdw

Found something.

I really like this open source monetizing model.
https://handbook.gitlab.com/handbook/company/pricing/#if-a-feature-can-be-moved-down-do-it-quickly

So sooner or later the enterprise features will come to the open source tier as I witnessed in the years of being a GitLab admin.

@calispera

stormi, to gaming French
@stormi@framapiaf.org avatar

Les résultats du 17e concours annuel de fiction interactive francophone sont tombés. La victoire revient à Narkhos avec :

Le Dernier Serment

Un jeu développé pour AMSTRAD CPC avec invite de commande et illustrations en pixel art fait à la main.

https://narkhos.itch.io/le-dernier-serment

#gaming #amstrad #fiction #jeuvideo #if

phranck, to swift German
@phranck@chaos.social avatar

& developers: Presumed, you want to write a Swift Package for a SwiftUI app which contains specific code for both iOS and macOS.

What would your way to split the code platform wise.

phranck,
@phranck@chaos.social avatar

@ctietze We currently develop a Multiplatform SwiftUI App for both iOS/iPadOS and macOS. The app is non Catalyst! And so it often happens that we have to implement one and the same view separately for iOS and macOS because they differ too much in detail.

So far, for example, we use:

File:

  • MyViewIOS.swift
    os(iOS)
    struct MyView: View {

    }

  • MyViewMacOS.swift
    os(macOS)
    struct MyView: View {

    }

But I wonder if there is another way?

p, to random
@p@bae.st avatar

Apparently, WAF is even more fucking stupid than autotools.
yes,_sizeof_uint32_t_is_4_goddamn_bytes.png

p,
@p@bae.st avatar

@lanodan I think checking the size of that is probably reasonable for things like memory allocation, though I suspect that it's just a list of all the types in stdint. (And why they can't just use sizeof is a mystery. It is really obvious what's going on if you see if(sizeof(size_t) == 8), and even trivial compilers remove the branch when compile-time constants are compared, but some preprocessor macro for _SIZE_OF_SIZE_T is at least an extra level of indirection, and it is practically guaranteed that they are using #if instead of just if.)

simoncropp, to random
@simoncropp@hachyderm.io avatar

new version of Polyfill dropping now.
Additional 8 APIs added
https://github.com/SimonCropp/Polyfill/issues?q=is%3Aclosed+milestone%3A4.1.0

what other defs can I help remove?

ctietze, to swift
@ctietze@mastodon.social avatar

frens, I'm researching how to find out the proper Bundle in 2024 and if anything changed but the best I have in my notes is this:

let bundle: Bundle = {
#​if SWIFT_PACKAGE
return Bundle.module
#​else
return Bundle.main
#​endif
}()

and my web searches weirdly suggest trying multiple fallbacks etc. which confuses me :)

How do you reference a Swift Package's Bundle nowadays to access its bundled resources?

uliwitness,
@uliwitness@chaos.social avatar

@ctietze Could the fallbacks maybe have been people not aware of SWIFT_PACKAGE or deploying to Linux which might work differently?

cstross, (edited ) to random
@cstross@wandering.shop avatar

The foundational tenet of "the Cult of Mac" is that buying products from a $3t company makes you a member of an oppressed ethnic minority and therefore every criticism of that corporation is an ethnic slur:

https://pluralistic.net/2024/01/12/youre-holding-it-wrong/#if-dishwashers-were-iphones

This actually says something about cultural continuity because back in 2004, when Apple was a roughly $3Bn (not $Tn) company, it really was a minority pursuit in a sea of Windows, universally oppressed by corporate IT departments! It only shifted after iPhone ...

pluralistic, to random
@pluralistic@mamot.fr avatar

The foundational tenet of "the Cult of Mac" is that buying products from a $3t company makes you a member of an oppressed ethnic minority and therefore every criticism of that corporation is an ethnic slur:

https://pluralistic.net/2024/01/12/youre-holding-it-wrong/#if-dishwashers-were-iphones

--

If you'd like an essay-formatted version of this thread to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:

https://pluralistic.net/2024/03/22/reality-distortion-field/#three-trillion-here-three-trillion-there-pretty-soon-youre-talking-real-money

1/

baldur, to random
@baldur@toot.cafe avatar

I used to call myself an Apple fan, but I’m clearly not unhinged enough to qualify these days.

Apparently their latest thing is to claim that nobody has ever in the history of governance tried to regulate access to market-making private infrastructure

🤦🏻‍♂️

muiiio,
@muiiio@mst.muiiio.com avatar
Craigp, to Unreal
@Craigp@mastodon.social avatar

OK, so, my HLSL struct definition in works fine in the material custom HLSL node, but the Niagara custom HLSL node apparently... can't have functions in structs?

???

Craigp,
@Craigp@mastodon.social avatar

Holy shit. You HAVE to put GPU_SIMULATION around... ALL of your HLSL in a Niagara function?

... ... This is some weird deep magic shit, I think.

Craigp, (edited )
@Craigp@mastodon.social avatar

Sigh... OK, ok. So we have two options.

  1. Why the fuck isn't it on the GPU? Put it there. ... but, of course, ALL the code had to be bracketed in an GPU_SIMULATION so the code flat-out won't compile...

  2. Pass it the wave specifications in a different format, because Niagara scripts can take a wide variety of formats.

If 1), I have to find a way to re-code everything.

If 2), I have to have THREE different ways of encoding the same waves.

jamesthomson, to random
@jamesthomson@mastodon.social avatar

Achievement unlocked: Made myself feel motion sick while wearing a Vision Pro using my own code.

Arcticulate,
@Arcticulate@toot.community avatar

@jamesthomson I believe you need to use:

DEBAG
// TODO: Implement motion sickness countermeasure

DEBAG is not a typo: it suggests that the main code requires a paperbag to be present at all times while the app is being used, and the Swift ”if” macro-like code is a ”de-bag”, a workaround.

kartoonkrazy, to random

Hello, I'm Chris, or Kartoon (she/her)! kartoonkrazy on tumblr and pretty much everywhere else. I generally have no idea what I'm doing. things I'm into in no particular order

  • Star Trek
  • Discworld
  • Good Omens
  • Avatar: The Last Airbender
  • The Old Guard
  • What We Do in the Shadows
  • Hades (video game)

and some non fandom things

  • Writing process
  • Linux
  • Bees‽
  • The Orb〔Unknowable〕
  • ₩』☆≡¥¤¡⁶±】№♣︎¿》

Feel free to chat with me whenever

-you-come-at-me-like-we-are-already-bffs-I-will-respond-in-kind -yes-I-did-accidentally-reblog-the-first-version-of-this-and-then-tried-to-erase-my-crime

Well this is neat... (raw.githubusercontent.com)

This is a script called m5.awk that I randomly found after reading a paper about it on the ACM website. The paper’s worth reading too but the script is just a piece of work. Commented to the brim, clean, and most importantly, useful as hell. it could be a replacement for m4. It allows you to embed AWK in text files, and...

Faresh, to programming in Well this is neat...

Languages like C have a preprocessor. The preprocessor preprocesses the source code before compiling it. The C preprocessor, copy-pastes code from other files into the current file (#includes), erases code (#if if the condition is false), and expands macros (e.g. you have #define MAX(x, y) ((x) < (y) ? (y) : (x)), it replaces every use of that macro with the definition of that macro: a += a * MAX(b, c)a += a * ((b) < © ? © : (b)). There are also general-purpose preprocessors (or macro processors), that are not tied to a specific programming language however. m4 is one of them and GNU autotools make extensive use of them to generate their configuration and make files. What preprocessors allow one to do is write a template, and then generate a result, based on your needs.

whynothugo, to random
@whynothugo@fosstodon.org avatar

> Another restriction is that the C compilers accept only a subset of the preprocessor
directives required by ANSI. The main omission is , since we believe it is never nec≠
essary and often abused. Also, its effect is better achieved by other means. For
instance, an used to toggle a feature at compile time can be written as a regular if
statement, relying on compile-time constant folding and dead code elimination to discard object code

From "Plan 9 from Bell Labs"

boxofbugs, to retrogaming
@boxofbugs@mastodon.gamedev.place avatar

Here's a lovely little 8-minute BBC video-documentary on some of the people at infocom.

Particularly great is how Dave Lebling thinks about the game and jots down stuff on paper and then moves over to the workstation to program it.

These are my people :)

https://www.youtube.com/watch?v=qXAubRZ-qjw

#retrogaming #zork #infocom #if #interactivefiction

IFTF, to random
@IFTF@mastodon.gamedev.place avatar

We're happy to announce the results of our first cycle!

Four projects were selected by our panel of advisors, and $2400 was disbursed by IFTF to support these projects. We had a range of proposals and the final slate shows great diversity - interpreters, accessibility, history, and sprouting new communities!

We are delighted with the results of this program - thank you all for participating!

Blog post with more details here: https://blog.iftechfoundation.org/2024-02-16-announcing-iftf-grant-recipients.html

dimillian, to random
@dimillian@mastodon.social avatar

Ice Cubes have some very visible slowdown when scrolling the timeline on the Vision Pro. I’ve tried everything I can, and I can’t isolate it. The profiler gives me nothing interesting, and I’ve been attempting to remove every view one by one and come to no real conclusion. I have no idea what is going on. My guess is that it’s the iOS micro stutters people are telling me about but more visible but I’m not even sure anymore.

tomkraina,
@tomkraina@mastodon.social avatar

@dimillian Have you tried profiling and looking in SwiftUI Instrument in Instruments.app? .help is one of the performance hogs in my experience, that's something I had to !os(visionOS) off. Another thing I found was the usage Buttons... (resolving button style was super expensive) so switched to onTap + hoverEffect + .accessibilityAddTraits(.isButton)

isurujn, to SwiftUI
@isurujn@mastodon.social avatar

I was under the impression things inside Preview Assets and Previews in code are not compiled when generating release builds in .

Why am I getting build time errors when archiving a project saying certain Preview Assets are missing 🫤

luckkerr,
@luckkerr@mastodon.world avatar

@isurujn previews are compiled (might be stripped from final binary with optimizations enabled). You have to explicitly wrap them in DEBUG to avoid compilation errors.

j4ck, to random
@j4ck@iosdev.space avatar

Starting a new project recently and:

  • Wading in to the SwiftData waters and added saving to a context, and I’m impressed. Gave the app an infinite loop at the view layer and we’ll fix that later.
  • Doodled a couple candidates for a development and alternate app icon! Someone has to bring a little culture.
  • Just that tiny bit of progress today but the momentum is what’s important.
j4ck,
@j4ck@iosdev.space avatar

Today: separated main module sources from tests, fixed grid sizing, fixed app icon display, updated DEBUG exclusions for production. In-progress: session renewal, starting with local unit tests.

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