Unsolicited pro programming tip
Be restrained, even cheerfully passive in most of your disagreements. Most things in code are subjective or can be improved later. Let them have it... then when you really need it, direct and assertive language from someone who doesn't normally talk that way can be as powerful as shouting
An iOS app with a BSD sockets TCP listener will lose it when the device is locked, receiving an error on accept() when it returns to the foreground. Do any #unix or #apple #ios nerds know why kqueue would mark that socket fd as writable in this situation, but readable for other conditions like EMFILE?
Android API troubleshooting:
* Are you on a background thread? That will only work 97% of the time, do it on the main thread.
* Are you on the main thread? You're slowing the app down you nutter, use a background thread.
* Are you doing two requests at once? Stop that, put them in a queue.
* Are you doing an async operation? Use a TimerTask so progress can continue if it never indicates success or failure.
* You now have to make a second simultaneous request with the unresponsive one. Good luck.
While it's improved over the years, networking APIs on Android are still so confoundingly unreliable. Callbacks that sometimes don't call back, methods that only work if you give it a delay to get ready first, undocumented RuntimeExceptions thrown in your face. And that's on a high-end Samsung. Often it's lost in the hubbub just how much better Apple's software engineering quality is. I see bugs from them too of course but it's nowhere near as bad.
CPU atomics and orderings explained by Firstyear: https://fy.blackhats.net.au/blog/html/2019/07/16/cpu_atomics_and_orderings_explained.html #Rust #performance
Definitely cursed, but all going to plan so far #rust
Does anyone know any open source projects with the goal of providing the functionality of the Unifi Controller - routing/firewall/switching, wireless APs, traffic monitoring, and a friendly integrated UI? I'm aware of pfSense of course but it's at once overkill and only a part of the Unifi offering.
It seems many people I know have gone "full ubiquiti stack" - I have one of their APs and I see the appeal but it's all very locked in which sucks.
Far out, the irony when you click a Masto profile in a notification and read "FOSS-bros can f*** off"... Mastodon's technology is built on AGPL and multiple stepping-stone projects and protocols over many years by FOSS advocates. They suffered years of being ignored and ridiculed before Mastodon grew on what they made. I'll be first in line to critique FS fundamentalism but honestly... a little respect for those whose uncompromising grit gave us the opportunities we have today would be nice.
> Here’s a portion of the chapter “How to Catch a Drone”, in which Serena Williams helped test whether tennis serves could be an effective countermeasure against flying robots … by taking a drone out onto a court and hitting tennis balls at it until it crashed.
Dr Barbara Holland explaining inaccurate pre-election polls by analogy of everyone copying everyone else putting out their recycling bins #australia
Australian computer nerd. OSCP/E. he/him.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!