|
VikingofRock posted:Why do OSX/macOS updates always seem to break stuff? I usually wait a couple months before updating so that downstream people have time to make their stuff work again with whatever the newest update is. From what I can tell it's usually linker issues breaking things. my armchair diagnosis is that apple tries very hard for back compat in the specific and is much happier to break in the general. so you'll get a runtime check in framework code that preserves dumb behaviour only when loaded in a certain version of the blizzard installer to keep your warcraft 3 experience intact a decade after release, but kernel extensions completely change in version x and you either adapt or stop caring also i guess that iOS is a little easier to manage because e.g. third-party kernel extensions aren't really a thing (ok jailbreak but who cares), and i also guess that iOS brokenness ends up higher priority than macOS? I am fully prepared to be told to eat poo poo by anyone who sits between my armchair and cupertino. this is how I currently reconcile the facts that 1) apple puts a lot of effort into back compat and 2) my poo poo keeps breaking
|
# ? Oct 25, 2016 03:09 |
|
|
# ? May 25, 2024 22:41 |
|
VikingofRock posted:Why do OSX/macOS updates always seem to break stuff? I usually wait a couple months before updating so that downstream people have time to make their stuff work again with whatever the newest update is. From what I can tell it's usually linker issues breaking things. because they don't give a poo poo about software or poo poo working
|
# ? Oct 25, 2016 03:16 |
|
pokeyman posted:my armchair diagnosis is that apple tries very hard for back compat in the specific and is much happier to break in the general. so you'll get a runtime check in framework code that preserves dumb behaviour only when loaded in a certain version of the blizzard installer to keep your warcraft 3 experience intact a decade after release, but kernel extensions completely change in version x and you either adapt or stop caring this is pretty much correct. a lot of the checks aren't necessarily app-specific, but they're tied to existing binaries in a way such that if you rebuild with new tools or a new sdk then the workarounds turn off and you need to fix your poo poo
|
# ? Oct 25, 2016 03:18 |
|
pokeyman posted:my armchair diagnosis is that apple tries very hard for back compat in the specific and is much happier to break in the general. so you'll get a runtime check in framework code that preserves dumb behaviour only when loaded in a certain version of the blizzard installer to keep your warcraft 3 experience intact a decade after release, but kernel extensions completely change in version x and you either adapt or stop caring apple doesn't put any effort into backwards compat.
|
# ? Oct 25, 2016 03:23 |
|
pokeyman posted:legit the only thing keeping me from upgrading at work I accidentally forgot to not upgrade then finally bothered to rewrite my keyboard's layout which I had been meaning to do anyway. still a pretty stressful situation for the keyboard to not do what you want/expect it to. would not recommend it. keyboard works on my iPad now though which is cool because I think my iPad is more powerful than my Mac
|
# ? Oct 25, 2016 05:19 |
|
VikingofRock posted:Why do OSX/macOS updates always seem to break stuff? I usually wait a couple months before updating so that downstream people have time to make their stuff work again with whatever the newest update is. From what I can tell it's usually linker issues breaking things. generally the only stuff that breaks doesn't use public API according to the documentation even then, most developers of hacks that take advantage of system internals still start working with the prerelease builds several months in advance so that they have updated versions available by release about the only group that seems to consistently (1) wait until release to even try their apps and (2) rely on internals (or implementation details, or timings) are the developers of audio tools
|
# ? Oct 25, 2016 07:28 |
|
Shaggar posted:because they don't give a poo poo about software or poo poo working go gently caress yourself
|
# ? Oct 25, 2016 07:30 |
|
pokeyman posted:I am fully prepared to be told to eat poo poo by anyone who sits between my armchair and cupertino. this is how I currently reconcile the facts that 1) apple puts a lot of effort into back compat and 2) my poo poo keeps breaking what kind of stuff are you doing that breaks?
|
# ? Oct 25, 2016 07:31 |
|
raminasi posted:i read this post and assumed it was some consequence of perl's coercion rules but no it's special-cased in the interpreter and i have no idea how to deal with that How is it that every time I delve into Perl, I find something even more terrible than the last thing that scared me off?
|
# ? Oct 25, 2016 09:56 |
|
eschaton posted:what kind of stuff are you doing that breaks? my keyboard literally stopped working and I had to use a different one that one also didn't work as expected at first so I had to remap the keys on its controller this was incredibly frustrating and I still can't figure out why Apple assed to rewrite their keyboard handling stuff for no good reason and ruin my workflow and make me unable to use my favorite keyboard on their latest revision Apple very clearly does not care about not breaking things for their users. I'm not saying that this is the best goal for an OS provider shaggar probably would. I still regret updating my work laptop though and would downgrade immediately if I wouldn't need to wipe the machine and have IT reimage it and burn like a week waiting for them to do that. I will not be updating my home machine because nothing I care about works in the new OS revision.
|
# ? Oct 25, 2016 10:40 |
|
leper khan posted:this was incredibly frustrating and I still can't figure out why Apple assed to rewrite their keyboard handling stuff for no good reason and ruin my workflow and make me unable to use my favorite keyboard on their latest revision hahahah
|
# ? Oct 25, 2016 10:43 |
|
Mr SuperAwesome posted:hahahah yeah, pretty much gently caress Apple though
|
# ? Oct 25, 2016 10:47 |
|
what kinda hosed up keyboard ar eyou usin tho
|
# ? Oct 25, 2016 10:49 |
|
Mr SuperAwesome posted:what kinda hosed up keyboard ar eyou usin tho this one stopped working; keys not typically found on us keyboards don't register so the .keyboardlayout doesn't work anymore http://www.personal-media.co.jp/utronkb/index.html and I have a programmable controller for this one so was able to work around the problem..
|
# ? Oct 25, 2016 11:02 |
|
pgroce posted:is that reliable? what if the string is "0 but I'm really a string"? javascript, at long last, have you no decency? your browser has a javascript console, you can try these things there that said code:
|
# ? Oct 25, 2016 12:15 |
|
Wheany posted:your browser has a javascript console, you can try these things there yeah, I was phone posting, and also just reacting to how seat-of-the-pants that idiom is. "hey brendan, thanks for designing this language over the weekend, just bill me for the coke. btw, I'm trying to coerce a numeric string into an actual number, what's the method for that?" "oh, huh. didn't really write one. oh, but I have a bunch of implicit coercion in the arithmetic operators, just do some no-op math on the string."
|
# ? Oct 25, 2016 12:49 |
|
pgroce posted:yeah, I was phone posting, and also just reacting to how seat-of-the-pants that idiom is. "hey brendan, thanks for designing this language over the weekend, just bill me for the coke. btw, I'm trying to coerce a numeric string into an actual number, what's the method for that?" "oh, huh. didn't really write one. oh, but I have a bunch of implicit coercion in the arithmetic operators, just do some no-op math on the string." Number("123")
|
# ? Oct 25, 2016 12:57 |
|
we could have much worse fates than javascript so i wouldnt give brendan too hard of a time i consider it amazing that being able to pass a function into a function was accepted considering they wanted the java branding and marketing to javalords comedyblissoption fucked around with this message at 13:05 on Oct 25, 2016 |
# ? Oct 25, 2016 13:03 |
|
JavaScript code:
|
# ? Oct 25, 2016 14:50 |
|
some shitlorde dropped off a flyer at my door, "Coding for Kids! Javascript!" we're going to have a generation of programmers that accept ridiculous nonsensical semantics as a matter of course
|
# ? Oct 25, 2016 14:52 |
|
comedyblissoption posted:we could have much worse fates than javascript so i wouldnt give brendan too hard of a time how? literally what even vaguely accepted language is more hosed up? ancient versions of php?
|
# ? Oct 25, 2016 15:04 |
|
does Ruby count as vaguely accepted?
|
# ? Oct 25, 2016 15:07 |
|
php is profoundly more hosed than js javascript's badness mostly comes from its weak typing, but php is so much worse than merely being a weakly typed language.
|
# ? Oct 25, 2016 15:06 |
|
eschaton posted:go gently caress yourself one time they broke dns for like a year and their solution was "don't use .local for internal domains" They're idiot clowns who have no idea what they're doing.
|
# ? Oct 25, 2016 16:13 |
|
HoboMan posted:
never use octal literals, don't use parseInt on a number, never parseInt without supplying an explicit base, turn your linter on
|
# ? Oct 25, 2016 16:13 |
|
octal literals are such an easy way to write subtly broken code
|
# ? Oct 25, 2016 16:16 |
|
Show them my O base
|
# ? Oct 25, 2016 16:19 |
|
Barnyard Protein posted:some shitlorde dropped off a flyer at my door, "Coding for Kids! Javascript!" um based on this legacy C# and VB I've had to deal with I'd say that generation is already here
|
# ? Oct 25, 2016 16:29 |
|
today's adventure in the Fight for Best Practices involves trying to explain to someone that their bizarre attempt to implement roll-your-own connection management (via request counting and forcing connection closure every 200 requests) is stupid when connection pooling is a thing in ADO.NET
|
# ? Oct 25, 2016 16:31 |
|
Deep Dish Fuckfest posted:how does that even happen? some of the worst code i've ever seen came from RTL designers who wanted to automate something. i used to smirk at folks who were so close to the core of computation but had no understanding of the layers in between, now I'm stymied by cloud products that have spooky cross-system effects so
|
# ? Oct 25, 2016 17:42 |
|
Barnyard Protein posted:some shitlorde dropped off a flyer at my door, "Coding for Kids! Javascript!" dude a lot of people my age learned to program in some kind of 8-bit basic. single-letter variable names, whitespace between tokens optional and normally omitted to save precious bytes, line numbers and goto/gosub as the primary control flow mechanism. the generation after us learned with visual basic. on error resume next. on error resume loving next. now we're all doing just fine in java or c# or python or haskell or w/e. dijkstra was wrong and everything is gonna be all right.
|
# ? Oct 25, 2016 18:20 |
|
Shaggar posted:one time they broke dns for like a year and their solution was "don't use .local for internal domains" we almost got burned by this: https://forums.developer.apple.com/thread/11807 in one of the ios 9 betas the api to determine which wi-fi network the phone is currently connected to (and which had been present in ios for a long time) suddenly disappeared without any real alternate solution and stayed that way for a couple beta versions while us and everyone else was complaining it broke our apps and apple didnt really let anyone know if it was permanently gone and our apps were just screwed or if it was an experiment or whatever. the api was eventually restored (in the general release to the public lol, we never even got a beta version or confirmation that it would be restored) but it could possibly have just broken one of our products and it did cause us quite a bit of unnecessary stress fart simpson fucked around with this message at 18:38 on Oct 25, 2016 |
# ? Oct 25, 2016 18:31 |
|
Soricidus posted:dude a lot of people my age learned to program in some kind of 8-bit basic. single-letter variable names, whitespace between tokens optional and normally omitted to save precious bytes, line numbers and goto/gosub as the primary control flow mechanism. i think you're right. my initial thought was about how frustrated, and discouraged, a kid might feel when presented with a plang like js before they gain enough competency to distinguish between failure caused by their own mistakes and misunderstandings vs. those caused by some deficit in the language or tooling. my weird conclusion didn't follow from that line of thinking tho!
|
# ? Oct 25, 2016 18:54 |
|
Sapozhnik posted:php is profoundly more hosed than js As a former php dev, 100% agreed
|
# ? Oct 25, 2016 18:59 |
|
VikingofRock posted:Why do OSX/macOS updates always seem to break stuff? I usually wait a couple months before updating so that downstream people have time to make their stuff work again with whatever the newest update is. From what I can tell it's usually linker issues breaking things. a large project i work on broke when compiling with the 10.12 sdk because we haven't modernized everything yet, and we were getting private constraints breaking for views that don't even use autolayout. amazingly, our private method usage and swizzling hasn't broken yet. it's an open source project, so people showed off how clever they could be years ago but didn't stick around to maintain it. when i see obj-c developers complain about less "freedom" in swift, i wonder if their apps are full of the same awesome demonstrations of cleverness
|
# ? Oct 25, 2016 19:03 |
|
Soricidus posted:dude a lot of people my age learned to program in some kind of 8-bit basic. single-letter variable names, whitespace between tokens optional and normally omitted to save precious bytes, line numbers and goto/gosub as the primary control flow mechanism. vb was then and is now an infinitely better language than javascript
|
# ? Oct 25, 2016 19:04 |
|
vb is like if you want c# only with butt-ugly syntax so it really could be a whole lot worse
|
# ? Oct 25, 2016 19:06 |
HoboMan posted:does Ruby count as vaguely accepted? I kind of wanted to learn Ruby because it seemed sort of interesting, but then that desire completely evaporated when I saw the __END__ trick being used by a file to apply a diff to itself, instead of using, you know, actual flow control. At least I'm pretty sure that's what was going on. This was in a serious and well-known project, too. __END__ Confession: I'm the one who submitted the code in question to the project. I had been participating in an issue for the project, the maintainers posted a patch (which contained the above __END__ trick), and asked if their patch fixed my issue. It did, so they asked if I wanted to submit the fix as a pull request. I thought that was kind of neat, so I did, but now I feel dirty.
|
|
# ? Oct 25, 2016 19:08 |
|
St Evan Echoes posted:vb is like if you want c# only with butt-ugly syntax so it really could be a whole lot worse the syntax sucks but its still statically typed which makes it better than any p-lang
|
# ? Oct 25, 2016 19:08 |
|
|
# ? May 25, 2024 22:41 |
|
Shaggar posted:the syntax sucks but its still statically typed which makes it better than any p-lang I thought classic vb had everything being variant by default (i.e. dynamically typed)? and it had a choice of loving on error resume next or on error goto for error handling. it was really really bad. delphi showed how to do the same rad stuff on top of an actually ok language, it's a shame vb had all the market share. vb.net is probably fine since it's just another syntax on top of .net, but it's a totally different language from classic vb.
|
# ? Oct 25, 2016 19:32 |