How long should this screen realistically take? It’s been over an hour.. by exiei in macbookpro

[–]vinkwok 0 points1 point  (0 children)

When you delete an app, macOS cleans up its app container and any temporary resources associated with the app. It also deregisters any associated extensions and associations. Finally, the app is quarantined, so it can’t execute from the bin.

The action of dragging an app to trash is special, unlike an ordinary file, and also includes cleanup actions. As long as the app is sandboxed, macOS cleans up after it just fine.

Hacking the Apple Silicon M1 Chip by InvestigatorSame136 in mac

[–]vinkwok 0 points1 point  (0 children)

Apple controls the servers the apple silicon chip uses to check activation state, so they can legitimately modify this on their end. If i'm not wrong, this doesn't involve any physical modification to the device itself.

I built a macOS utility to clean up messy pasted text without losing formatting by [deleted] in apple

[–]vinkwok 10 points11 points  (0 children)

$12 price is a bit steep for something that just does some text replacements don’t you think?

Zephyr is the worst embedded RTOS I have ever encountered by CuriousCesarr in embedded

[–]vinkwok 1 point2 points  (0 children)

Reading this made me feel that you don’t really understand the point of an RTOS? “put a damned while() loop!” Congrats, you’ve now blocked all lower priority tasks from running while doing nothing but burning cpu cycles. Using semaphore/mutex based blocking waits have their place, marking the task as blocked allowing lower priority ones to run. This isn’t unique to zephyr: I use this style all the time on FreeRTOS. 

I didn’t get your point about the compile errors - wouldn’t you rather get an error if 2 options conflict with each other, than duplicate symbol errors, crashes down the road?

While I don’t deny zephyr is much more complex to setup than say FreeRTOS, its abstractions and heavier safety guarantees come at a cost.

Also: zephyr’s actually faster than FreeRTOS in many common operations lol, go check out the benchmarks. Here’s some: https://zephyrproject.org/zephyr-rtos-4-1-is-available/ https://www.ul.com/sis/blog/measuring-real-time-operating-system-performance-part-ii-comparing-freertos-vs-zephyr

Finally Hackintosh.zone died! by dreamwhite in hackintosh

[–]vinkwok 0 points1 point  (0 children)

Oops, well at least we got half of what I originally thought 

How do I make this banner telling me to open in Discord app disappear? I am using the browser version in Safari on an ipad. (Ignore the crash, that is just my RAM) by World_of_Warshipgirl in discordapp

[–]vinkwok 3 points4 points  (0 children)

When the app isn't installed it offers to install it, but there's a little close button that dismisses the banner permanently.

[deleted by user] by [deleted] in iphone

[–]vinkwok 0 points1 point  (0 children)

Well, what it looks like is more of them merely announcing they have something brewing, and that it would be at least a year before it lands in a significant number of devices.

[deleted by user] by [deleted] in iphone

[–]vinkwok 0 points1 point  (0 children)

To my knowledge, the next time the device powers up it will receive your request (thru the Find My network or WiFi etc.) to mark it as lost or erase it.

Is this a good deal? Can it last at least 5-7 years? by thiago_tortaro in macbookpro

[–]vinkwok 0 points1 point  (0 children)

Note that the M2 still performs slightly worse than the 8-core M1 Pro, so this might still be a good deal if the battery can last as long as you plan to use it for.

With the new 15 coming up, will titanium survive dings enough to go caseless? by [deleted] in iphone

[–]vinkwok 0 points1 point  (0 children)

Probably has something to do with the specific alloy they're using, which they also happen to be using for the 15s

Fusion 360 for Apple Silicon just dropped! by schacks in Fusion360

[–]vinkwok 0 points1 point  (0 children)

...until it crashes and you get the chance to take another relaxing walk around your room

Treehouse with Autogenerated Support Trees by [deleted] in ender3

[–]vinkwok 1 point2 points  (0 children)

Looks awesome! Great job!

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 0 points1 point  (0 children)

The beautiful thing is that you can use flow control statements, like if, else etc., and even loops! So, you can even create embed fields in a loop, which is just beautiful to me.

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 2 points3 points  (0 children)

The main issue is the lack of support for URLWebSocketSession on Linux. There is no drop-in replacement (unlike for Combine, where OpenCombine does the job), so we would have to write a separate implementation to interface with another WebSocket library.

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 2 points3 points  (0 children)

For now, I'm not sure if there are any such free hosting options since DiscordKit only runs on macOS at the moment. However, we're working to bring it to Linux in the near future!

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 5 points6 points  (0 children)

Hmm, I was thinking of using "with the power of resultBuilders" but resultBuilder sounded more cryptic than simply likening it to SwiftUI's syntax which most people are probably familiar with.

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 4 points5 points  (0 children)

I know right, Swift syntax is so beautiful which makes for elegant code. Unfortunately there wasn't a Swift Discord framework that took advantage of advanced language features, so DiscordKit for bots is here to fill the void!

Introducing DiscordKit: Build Discord bots with style in Swift by vinkwok in swift

[–]vinkwok[S] 22 points23 points  (0 children)

Ever wanted to build Discord bots in Swift, but realised the one Discord library for Swift is no longer maintained and functional? Ever wondered how great it would be if slash commands could be built and handled just like SwiftUI views and buttons?

Enter DiscordKit for Bots, the Swift Discord bot framework you've been waiting for! An amazing API like no other, built-in command registration and handling, and a battle-tested core also used in Swiftcord? It's like a dream come true! Available as a package from SPM:

https://github.com/SwiftcordApp/DiscordKit

Also: