Bug of the Day
-
Which CSS?
cheers Chris Maunder
Dunno for him, but for me it keeps on resetting the layout like I'm not logged in... going to compact view, back to fixed from fluid, etc. On a Mac in Chrome if that helps.
Jeremy Falcon
-
I thought that I was the only one who still uses GIMP. ;)
if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
Well, now there's two of you. ;P
Jeremy Falcon
-
This the part where you say, oh but it has some types... go on... do it. ;P
Jeremy Falcon
Must... Not... Give... In... Oh crap. JavaScript DOES have some types though! It even has a typeof operator and makes use of prototypes. I'm not usually the type to correct people on the internet, but this was typically a situation that needed some clearing up. Sadly, JavaScript is the type of language I like to avoid. I'm done typing now.
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
Must... Not... Give... In... Oh crap. JavaScript DOES have some types though! It even has a typeof operator and makes use of prototypes. I'm not usually the type to correct people on the internet, but this was typically a situation that needed some clearing up. Sadly, JavaScript is the type of language I like to avoid. I'm done typing now.
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
You gotta connect the dots man. You're seeing black and white... when the truth is I am not wrong... however I am not inclined to write a book on the subject on every post I make. You seem to want to... I'm over that stage in life man. I have other things to do. I mean God forbid I visit CP for less than an hour when posting in the lounge, am I right? So, since I need to prove to you I know what I'm talking about... Nowhere anywhere does it say a loosely typed language cannot have any types. There is no language on the planet I know of that has only one type. JS is a loosely typed language, and thus the way it behaves is a direct result of that... and yes it has basic types... which is a result of design from being loosely typed in the first place. You need less types when it's loose, and so affects things like the example I posted. Just for a breakdown. You may know this already, but hey... [^] I was pointing out the irony, that in this instance, C# was doing some magic like a dynamically typed language would. And in this instance, JS actually handles the case better. And before you say it, I have nothing against a strongly typed language. I'd think most people can infer that if they've been programming for any length of time. Seriously man... get a hobby... :P
Jeremy Falcon
-
Must... Not... Give... In... Oh crap. JavaScript DOES have some types though! It even has a typeof operator and makes use of prototypes. I'm not usually the type to correct people on the internet, but this was typically a situation that needed some clearing up. Sadly, JavaScript is the type of language I like to avoid. I'm done typing now.
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
And obligatory XKCD :) xkcd: Duty Calls[^]
Jeremy Falcon
-
You gotta connect the dots man. You're seeing black and white... when the truth is I am not wrong... however I am not inclined to write a book on the subject on every post I make. You seem to want to... I'm over that stage in life man. I have other things to do. I mean God forbid I visit CP for less than an hour when posting in the lounge, am I right? So, since I need to prove to you I know what I'm talking about... Nowhere anywhere does it say a loosely typed language cannot have any types. There is no language on the planet I know of that has only one type. JS is a loosely typed language, and thus the way it behaves is a direct result of that... and yes it has basic types... which is a result of design from being loosely typed in the first place. You need less types when it's loose, and so affects things like the example I posted. Just for a breakdown. You may know this already, but hey... [^] I was pointing out the irony, that in this instance, C# was doing some magic like a dynamically typed language would. And in this instance, JS actually handles the case better. And before you say it, I have nothing against a strongly typed language. I'd think most people can infer that if they've been programming for any length of time. Seriously man... get a hobby... :P
Jeremy Falcon
You know I can't sit around idle when people on the internet say bad things about my favorite programming language. Or positive things about my least favorite programming language. I'm just human and I won't pass on a chance to bitch about JavaScript. Having said that, JavaScript DOES have types. It has strings, numbers, booleans null, undefined and objects... Why do you persist that JavaScript has no types when the opposite is obviously true? ;p
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
You know I can't sit around idle when people on the internet say bad things about my favorite programming language. Or positive things about my least favorite programming language. I'm just human and I won't pass on a chance to bitch about JavaScript. Having said that, JavaScript DOES have types. It has strings, numbers, booleans null, undefined and objects... Why do you persist that JavaScript has no types when the opposite is obviously true? ;p
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
Sander Rossel wrote:
Having said that, JavaScript DOES have types. It has strings, numbers, booleans null, undefined and objects...Why do you persist that JavaScript has no types when the opposite is obviously true?
:sigh: Might wanna read what I wrote.
Sander Rossel wrote:
I'm just human and I won't pass on a chance to bitch about JavaScript.
Fair enough, but as a human, may I humbly suggest you get a woman to occupy your time. ;P
Jeremy Falcon
-
Sander Rossel wrote:
Having said that, JavaScript DOES have types. It has strings, numbers, booleans null, undefined and objects...Why do you persist that JavaScript has no types when the opposite is obviously true?
:sigh: Might wanna read what I wrote.
Sander Rossel wrote:
I'm just human and I won't pass on a chance to bitch about JavaScript.
Fair enough, but as a human, may I humbly suggest you get a woman to occupy your time. ;P
Jeremy Falcon
Unfortunately, JavaScript isn't the type of dirty language that turns women on... :sigh:
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
string objectRefGuid = objectRef.ObjectTypeId.ToString() + PartDivider + objectRef.ObjectId;
if (objectRef.VersionNumber > 0)
objectRefGuid += PartDivider + objectRef.VersionNumber;ObjectTypeId
is 1,ObjectId
is 2, andVersionNumber
is 3.PartDivider
is '_'. The expected result was 1_2_3. The output was 1_298. :doh:cheers Chris Maunder
Does that have anything to do with Thread View being wonky today? I noticed on my Droid using Chrome, but it was still messed up when I logged in via IE11 as well. Possibly, it's just me.
-
I thought that I was the only one who still uses GIMP. ;)
if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
I use GIMP as well (not that much, but I use it).
What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???
-
Does that have anything to do with Thread View being wonky today? I noticed on my Droid using Chrome, but it was still messed up when I logged in via IE11 as well. Possibly, it's just me.
When you say "thread view" do you mean that you were kicked into a different default view on the forums? We did a hefty refactor this week to clean up some debris from 4 years ago. We tested the blazes out of it but no matter what you test you'll always miss something. Unless you're NASA.
cheers Chris Maunder
-
When you say "thread view" do you mean that you were kicked into a different default view on the forums? We did a hefty refactor this week to clean up some debris from 4 years ago. We tested the blazes out of it but no matter what you test you'll always miss something. Unless you're NASA.
cheers Chris Maunder
Yes, it's no longer staying in Thread View, even Fluid layout isn't being retained. I'll keep an eye on it this weekend though -- I'll tell my wife it's research... P.S. I'm now on my home system -- Win 7 and IE11 -- and it's still not keeping the settings I select. Also, it goes into "relaxed" rather then "tight" -- but the 50 items per page seems stable.
-
string objectRefGuid = objectRef.ObjectTypeId.ToString() + PartDivider + objectRef.ObjectId;
if (objectRef.VersionNumber > 0)
objectRefGuid += PartDivider + objectRef.VersionNumber;ObjectTypeId
is 1,ObjectId
is 2, andVersionNumber
is 3.PartDivider
is '_'. The expected result was 1_2_3. The output was 1_298. :doh:cheers Chris Maunder
I'm curious, do you know why it end up 1_298?
-
When you say "thread view" do you mean that you were kicked into a different default view on the forums? We did a hefty refactor this week to clean up some debris from 4 years ago. We tested the blazes out of it but no matter what you test you'll always miss something. Unless you're NASA.
cheers Chris Maunder
I'll throw in my experience as well - got Fixed when I visited the Lounge, always had Fluid. Corrected it, then hit Reply to come to this page... and it's Fixed again :sigh: Well, nobody died so it's not such a big deal.
Cheers, विक्रम "We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread :doh:
-
He's basically doing this:
"1_2" + '_' + 3
Note that the underscore is a character, not a string (Single quotes = char, Double quotes = string). So instead of both parts being converted to strings to form "_3", it's treating the character as a number (ASCII code 95), adding 3 to it, THEN converting it to a string... So it becomes "1_2" + "98" Very subtle. I like it.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)Subtle indeed. I never use char literals unless absolutely necessary. A one char string is a tad expensive in some cases, but surely not in this one.
Follow my adventures with .NET Core at my new blog, Erisia Information Services.
-
Sander Rossel wrote:
Having said that, JavaScript DOES have types. It has strings, numbers, booleans null, undefined and objects...Why do you persist that JavaScript has no types when the opposite is obviously true?
:sigh: Might wanna read what I wrote.
Sander Rossel wrote:
I'm just human and I won't pass on a chance to bitch about JavaScript.
Fair enough, but as a human, may I humbly suggest you get a woman to occupy your time. ;P
Jeremy Falcon
Just "getting" a woman is not like just getting a Coke.
Follow my adventures with .NET Core at my new blog, Erisia Information Services.
-
I thought that I was the only one who still uses GIMP. ;)
if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
Yeah, GIMP's no big deal. There's nothing I can't draw with AutoCad, Paint.NET, and InkScape.
Follow my adventures with .NET Core at my new blog, Erisia Information Services.
-
When you say "thread view" do you mean that you were kicked into a different default view on the forums? We did a hefty refactor this week to clean up some debris from 4 years ago. We tested the blazes out of it but no matter what you test you'll always miss something. Unless you're NASA.
cheers Chris Maunder
NASA has historically missed quite a lot, even idiotic things like metric vs. imperial confusion.
Follow my adventures with .NET Core at my new blog, Erisia Information Services.
-
Which CSS?
cheers Chris Maunder
See post below for screenshot, The Lounge[^]. Chrome on linux and win10 for me. The whole screen stretches out and font was smaller.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.
-
Enlighten us.
cheers Chris Maunder