|
Dropping a new JIT onto 4.5.2 apps is ridiculous. I can't believe they did that.
|
# ? Jul 28, 2015 16:28 |
|
|
# ? May 16, 2024 19:14 |
|
Subjunctive posted:Dropping a new JIT onto 4.5.2 apps is ridiculous. I can't believe they did that. I never understood the rationale behind .NET 4.x>0 being a replacement for all versions of .NET 4.x-n. It tends to scare folks off of even installing .NET 4.x>0, for good reasons.
|
# ? Jul 28, 2015 16:33 |
|
.NET 4.6 was officially released 8 days ago so actually there's no need to trip all over yourselves to upgrade to it before they fix this bug. You can't even use it on Azure yet. The JIT causes the wrong values to get passed to methods under specific circumstances. That is a very insidious bug. If your system is important, the new version doesn't even have to have known severe bugs for it to be a good idea to wait for a bit! Seriously.
|
# ? Jul 28, 2015 16:40 |
|
fleshweasel posted:If your system is important, the new version doesn't even have to have known severe bugs for it to be a good idea to wait for a bit! Seriously. This I can fully get behind.
|
# ? Jul 28, 2015 16:41 |
|
fleshweasel posted:.NET 4.6 was officially released 8 days ago so actually there's no need to trip all over yourselves to upgrade to it before they fix this bug. You can't even use it on Azure yet. The most interesting part of this is that Windows 10 is due to be released tomorrow, and I believe it will include this broken 4.6 version of the runtime by default. I guess they'll patch it pretty quickly though.
|
# ? Jul 28, 2015 16:59 |
|
Ithaqua posted:I never understood the rationale behind .NET 4.x>0 being a replacement for all versions of .NET 4.x-n. It tends to scare folks off of even installing .NET 4.x>0, for good reasons. It avoids people needing to install 15 versions of .NET 4.x in order to run all their apps.
|
# ? Jul 28, 2015 17:50 |
|
Subjunctive posted:I guarantee that there are SDETs in Redmond wrong!
|
# ? Jul 28, 2015 18:06 |
|
Subjunctive posted:Dropping a new JIT onto 4.5.2 apps is ridiculous. I can't believe they did that. looks like ryujit has big enough performance improvements that they wanted to be able to go "hey, we made Everything faster!" in-place installs are definitely annoying. they don't actually provide full changelogs from release to release, so we find out stuff like "the enumeration of SystemColors used by DataGrid controls has added a new member for deselected-highlight in .NET 4.5, breaking this app written against 4.0 which was attempting to override highlighting" post facto. however, this is what .net core and its sidebyside installs are intended to solve..
|
# ? Jul 28, 2015 18:12 |
|
Gul Banana posted:looks like ryujit has big enough performance improvements that they wanted to be able to go "hey, we made Everything faster!" Sure, so drop the 4.6.1.3 JIT on them, or make it opt-in.
|
# ? Jul 28, 2015 18:20 |
|
We were talking about ternaries earlier, no?code:
|
# ? Jul 28, 2015 22:56 |
|
AuxPriest posted:txtDriver.getText().isEmpty() ? "" : txtDriver.getText()
|
# ? Jul 28, 2015 23:02 |
|
Soricidus posted:the ones like that are my favorites. i guess they just did it because they wanted all the lines to look the same, but the dumbness is particularly poignant here I've seen the same thing with null coalescing in C#: var foo = SomeMethod() ?? SomeMethod(); The guy that wrote it could not explain his rationale for this and failed code review.
|
# ? Jul 28, 2015 23:04 |
|
AuxPriest posted:We were talking about ternaries earlier, no? is it laid out like this in the original? It's full of silliness, but it wouldn't look so bad if it were laid out in a sane manner.
|
# ? Jul 28, 2015 23:32 |
|
Ithaqua posted:I've seen the same thing with null coalescing in C#: var foo = SomeMethod() ?? SomeMethod(); "Are you sure you're not null?"
|
# ? Jul 28, 2015 23:36 |
|
Ithaqua posted:I've seen the same thing with null coalescing in C#: var foo = SomeMethod() ?? SomeMethod(); I don't know c#, is it possible the function had side effects or internal state and would that make a difference?
|
# ? Jul 29, 2015 02:55 |
|
fritz posted:I don't know c#, is it possible the function had side effects or internal state and would that make a difference? It's definitely possible but I can't think of any reasonable scenario where it'd be the case.
|
# ? Jul 29, 2015 03:36 |
|
Newf posted:It's definitely possible but I can't think of any reasonable scenario where it'd be the case. An I/O request with a decent chance of failure. Web, serial port, etc.
|
# ? Jul 29, 2015 03:45 |
|
fritz posted:I don't know c#, is it possible the function had side effects or internal state and would that make a difference? Definitely possible, also possible in a multithreaded scenario. This wasn't one of those scenarios, though, and even if it were there are much better ways of handling it.
|
# ? Jul 29, 2015 14:02 |
|
Not a coding horror exactly but I was talking to an older guy who teaches web design & development at a community college, told him I mostly do JavaScript and PHP since I work with Wordpress, he told me to learn Python because PHP is coded in Python and stands for "Python Hypertext Processor" He did also say he's trying to teach his kids node.js and other modern stuff while the rest of the faculty teaches Dreamweaver so maybe his heart is in the right place at least
|
# ? Jul 29, 2015 15:32 |
|
my bony fealty posted:Not a coding horror exactly but I was talking to an older guy who teaches web design & development at a community college, told him I mostly do JavaScript and PHP since I work with Wordpress, he told me to learn Python because PHP is coded in Python and stands for "Python Hypertext Processor" Does he think that node is written in C# and stands for .NET Opensource Development Environment?
|
# ? Jul 29, 2015 15:35 |
|
fritz posted:I don't know c#, is it possible the function had side effects or internal state and would that make a difference? That would make it worse.
|
# ? Jul 29, 2015 16:07 |
|
my bony fealty posted:Not a coding horror exactly but I was talking to an older guy who teaches web design & development at a community college, told him I mostly do JavaScript and PHP since I work with Wordpress, he told me to learn Python because PHP is coded in Python and stands for "Python Hypertext Processor" I just --- what? I'm hoping he was just next-level trolling you because otherwise .. what?
|
# ? Jul 29, 2015 16:47 |
|
I think he confused Perl with Python. Obviously, PHP is coded in Perl.
|
# ? Jul 29, 2015 16:50 |
|
I heard this before, I guess it's some weird disinformation unintentionally caused by PyHP: http://sourceforge.net/projects/pyhp/
|
# ? Jul 29, 2015 16:52 |
|
ExcessBLarg! posted:I think he confused Perl with Python. Obviously, PHP is coded in Perl. No, you have that backwards, Perl is the PHP Engine and Runtime Libraries.
|
# ? Jul 29, 2015 16:53 |
|
my bony fealty posted:Not a coding horror exactly but I was talking to an older guy who teaches web design & development at a community college, told him I mostly do JavaScript and PHP since I work with Wordpress, he told me to learn Python because PHP is coded in Python and stands for "Python Hypertext Processor" Funnily enough, I've heard the same thing...from a guy who teaches some computery stuff at a community college! I wonder what the source of this confusion is.
|
# ? Jul 29, 2015 17:43 |
|
The acronym expansion for PHP is recursive, PHP is Pure Hell. Like Wine.
|
# ? Jul 29, 2015 18:06 |
|
Woodsy Owl posted:The acronym expansion for PHP is recursive, PHP is Pure Hell. Like Wine. no it's Pretty Horrible PHP
|
# ? Jul 29, 2015 18:20 |
|
Lisp Is Seriously PHP APL: PHP, Literally
|
# ? Jul 29, 2015 18:27 |
|
PHP: Herpes Personified
|
# ? Jul 29, 2015 18:30 |
|
LOOK I AM A TURTLE posted:APL: PHP, Literally Man imagine what kind of horrors we'd get if people still used APL. That language is awe-inspiring and terrifying.
|
# ? Jul 29, 2015 18:34 |
|
Don't some people use APL for parallel stuff?
|
# ? Jul 29, 2015 18:40 |
|
I'm sure somewhere someone uses it, but I think it's been mostly dead for decades now.
|
# ? Jul 29, 2015 18:42 |
|
Poop Hpoop Poop.
|
# ? Jul 29, 2015 18:46 |
|
I still refer to this video because it's interestingly separated from how programming is today. https://www.youtube.com/watch?v=a9xAKttWgP4&hd=1
|
# ? Jul 29, 2015 18:46 |
|
Jewel posted:I still refer to this video because it's interestingly separated from how programming is today. I think I found the program that wins this round of "Game of Life Code Golf" at least.
|
# ? Jul 29, 2015 18:57 |
|
From another of his videos, here is the code for a sudoku solver:
|
# ? Jul 29, 2015 19:11 |
|
Pavlov posted:From another of his videos, here is the code for a sudoku solver: Lol spot the howler of a bug on line 8
|
# ? Jul 29, 2015 19:20 |
|
Woodsy Owl posted:The acronym expansion for PHP is recursive, PHP is Pure Hell. Like Wine. yeah but what does PPH stand for
|
# ? Jul 29, 2015 19:39 |
|
|
# ? May 16, 2024 19:14 |
|
Suspicious Dish posted:yeah but what does PPH stand for PPH stands for Hell is Pure PHP
|
# ? Jul 29, 2015 19:49 |