« first day (2455 days earlier)      last day (2493 days later) » 

1:00 PM
Sorry for my stupid question :(
 
It's not a stupid question. It's a valid question.
Your requirement is stupid.
 
When the cost of developer time to implement a work-around is greater than the cost of updating the sodding platform in the first place...
:/
if I had 50p for every time I've seen this on SO chat, I'd have enough money to buy beer to help me forget.
 
Yeah, I'm pretty sure the license for a Windows 2016 server is cheaper than the time wasted on getting Kestrel running.
 
Tech inept managers bum me right out.
 
s/Tech inept//
 
1:14 PM
I think you are all right
 
!!giphy do it
No? Okay then.
 
Cap seems to be having some issues, she's not in the room atm.
 
@Squiggle me irl
!!summon 7
in JavaScript, 1 min ago, by Caprica Six
@rlemon I awoke on Thu, 06 Jul 2017 13:15:00 GMT (that's about 9 seconds ago), haven't done anything yet!
in JavaScript, 1 min ago, by rlemon
why you being so difficult cap
 
have all the commands gone again?
 
Apparently
!!kieran
 
1:19 PM
WAT
!!wat
 
@Kieran That didn't make much sense. Use the !!/help command to learn more.
 
Somebody go to JS and enter !!summon 7 please
Nevermind
Luggage got my back
 
but cap
why
 
!!learn kieran <>https://chat.stackoverflow.com/transcript/message/35861495#35861495
 
@mikeTheLiar Command kieran learned
 
1:20 PM
!!kieran
 
Feb 27 at 16:02, by Kieran
Thank you for confirming im an idiot c:
 
god dammit
 
That's better
 
!!learn stevephp <>https://chat.stackoverflow.com/transcript/message/37973983#37973983
 
@Kieran Command stevephp learned
 
1:21 PM
!!stevephp
 
24 hours ago, by Steve's a D
i think PHP is a pretty sweet language
 
yush
 
YESSSSSS
 
!!steve
 
@mikeTheLiar That didn't make much sense. Use the !!/help command to learn more.
 
1:21 PM
php is the best
 
!!stevelovesphp
 
@satibel That didn't make much sense. Use the !!/help command to learn more.
 
oh they removed !!steve :(
!!kendall
 
@satibel That didn't make much sense. Use the !!/help command to learn more.
@Steve'saD That didn't make much sense. Use the !!/help command to learn more.
 
Cap forgot everything apparently
 
1:21 PM
!!/help
 
!!listcommands
 
looks like it
 
@mikeTheLiar help, afk, ban, convert, define, die, doge, eval, forget, google, hang, imdb, info, jquery, learn, listcommands, listen, live, mdn, meme, moustache, msdn, mustache, nudge, refresh, spec, stat, stats, summon, tell, unban, undo, unonebox, unsummon, urban, weather, welcome, wiki, xkcd, youtube, zalgo, kieran, stevephp
 
!!panini
 
This is like a proxy war, right? The US and the USSR used east-Asian and middle-eastern countries to fight for them. You two are using Caprica.
 
1:21 PM
oh wow
 
@Kieran Information on interacting with me can be found at this page
 
@AvnerShahar-Kashtan That didn't make much sense. Use the !!/help command to learn more.
 
Wow
 
She did forget everything.
 
1:22 PM
@Steve'saD That didn't make much sense. Use the !!/help command to learn more.
 
@AvnerShahar-Kashtan you like foreign affairs?
 
how
how does this happen
 
Hey, it's just like that bit in The Good Place.
@Kieran Well, I assume a file got deleted somewhere. Maybe she was restored from backup.
@Steve'saD I'm eclectic.
 
welp
 
!!weather Boston, MA
 
1:23 PM
imma big fan of southfront, stratfor, and 38north :p
 
in JavaScript, 31 secs ago, by Caprica Six
STOP FUCKING SPAMMING ME IM TRYING TO FIX IT AND YOU TOOLS KEEP ME THROTTLED
 
I'm more interested in history than in contemporary analysis.
 
in JavaScript, 2 mins ago, by Caprica Six
https doesn't have my localStorage?
 
Contemporary analysis is usually wrong.
History is usually wrong in more creative, long-reaching ways.
/me gently pats Caprica on the head. "There, there, Cap. Take all the time you need".
 
@KendallFrey how do you do that? i mean that chat msg of someone appear like that
 
1:27 PM
!!steve
@AvnerShahar-Kashtan ah okay
 
@ARr0w chat oneboxes links
 
can you show an example, please?
 
4 mins ago, by Kendall Frey
in JavaScript, 2 mins ago, by Caprica Six
https doesn't have my localStorage?
 
@ARr0w post a permalink to a thing
it will do it automatically
 
16 secs ago, by Kieran
@ARr0w post a permalink to a thing
owwww
 
1:28 PM
1 min ago, by ARr0w
@KendallFrey how do you do that? i mean that chat msg of someone appear like that
 
@Kieran thank you thank you.
 
31 secs ago, by Kendall Frey
25 secs ago, by Kendall Frey
19 secs ago, by Kendall Frey
14 secs ago, by Kendall Frey
10 secs ago, by Kendall Frey
6 secs ago, by Kendall Frey
herp derp
 
You are welco
wat
 
Oh, permalink does revisions. Cool.
 
@Kieran voted up one of your answers in return <3
 
1:29 PM
@ARr0w oh why thank you
<3
 
WHY WONT YOU LOVE ME
 
cuz ur dum XD
 
good god that could be aids
 
rip
didn't want to flood the chat lmao
 
1:36 PM
I now understand the runtime complexity of bubble sort.
O.O
 
do you also know kung fu?
 
in JavaScript, 2 mins ago, by rlemon
!!listcommands
 
lol
 
in JavaScript, 2 mins ago, by Caprica Six
fuck
 
well
cap is boned
 
1:39 PM
That's the same word rlemon used, lol
 
I feel good / bad that I finally understand it
 
in JavaScript, 1 min ago, by rlemon
either the localStorage is boned or the viewer sucks.
 
Guys suppose i want to pass string type of parameter as query string
Then i have to pass in double or single quotes because its a string so?
 
All query strings are strings.
WebAPI or MVC might have facilities in place to automatically convert elements from the query string to other types, but by default, a query string is a string.
 
I have records like below for parameters :
1) Parameter Name = Page
   Value = 10
   Datatype = number

2) Parameter Name = searchTerm
   Value = Newyork
   Datatype = string
 
1:54 PM
And the query string - the HTTP query string - would be http://site/root?Page=10&searchTerm=Newyork. Strings.
There are no datatypes in query strings.
 
why searchterm wont be like this searchTerm="Newyork"??
 
Because you don't need it. It's already a string. This isn't C#.
 
i have a question: i have a task to program some software, but it would be more efficient to use custom hardware (which i am also capable to develop), how would you promote this to your boss, which has no clue about technology at all?
 
"It would be like me surrounding all my chat messages in quotes".
 
Ok so do you think it would make sense to ask user to select datatype while creating query string parameter?
 
1:56 PM
@Learning It would absolutely not. Why would a user care?
 
@SebastianL Your boss is more than likely only concerned with a functional product being made within X timeframe.
 
A user selects a page (or, probably, clicks Next Page). A user writes a search term. Data types mean nothing to the user.
 
Show him the lower X timeframe.
Well, of course, that is not including cost of hardware, if that is substantial, good luck.
 
Ok i agree then why azure in api management ask for data type while creating query parameter?
 
@SebastianL These seem like two very different solutions. I don't know your situation, but, for instance, a software solution can be easily moved and copied whereas a hardware solution needs to be built anew.
 
1:57 PM
Let me send you screenshot for that
 
@SebastianL Make sure you actually know the full requirements. There might be non-technical requirements that weren't passed on to you (like "needs to be able to run in 10 sites concurrently) which can make software the better choice.
 
@Steve'saD mommy and daddy are fighting again
 
When you say "more efficient", do you mean runtime? That's not the only criterion.
 
@Failsafe i know :(
im trying to hide under my bed
but the noise, it doesn't stop the yelling
 
@Steve'saD you're gonna need a higher bed
 
2:00 PM
im not fat you're fat
 
> higher
me too
 
protip avoid getting cuts on or around a bone joint
it fucking hurts
 
@Steve'saD no, yes
 
@AvnerShahar-Kashtan these ARE two VERY different solutions, but i am convinced hardware would be the better choice, because on the software side i need to support about 12 different standards and on the hw side only 1
 
Lifehack - Go to waffle house and crap on the barstools.
 
2:00 PM
@KendallFrey same
@hilli_micha did you....did you encounter a barstool with shit on it?
 
@AvnerShahar-Kashtan no i mean devtime
the outcome would be the same
 
@Failsafe my mom, long ago, was a manager at a waffle house, I would occasionally be stuck there for extended periods. That is the perfect environment to raise a child.
 
sorry
 
so yes, I've seen chocolate covered bar stools.
 
did yours have bulletproof glass
 
2:03 PM
Can't say, was too young to be concerned with that sort of thing. Fortunately, our area wasn't too violent, just mostly drunk rednecks.
 
well yea
who goes to waffle house sober? no one
 
I actually like waffle house. I occasionally try and coax my wife into going to one with me, she always spends like an hour in the bathroom afterwards lol
 
So does query parameters name can have a white space?
Like for eg if user enters parameters name like this : Page size
My url is generating like this :
http://site/root?Page Size=10
Is this correct?
@AvnerShahar-Kashtan
 
I don't think so
 
Well, in that case, you'll want to look up the rules on URLs
Spaces are typically shown as "%20" - without quotes.
 
2:08 PM
Pretty sure spaces aren't allowed in URLs
 
Spaces aren't allowed.
 
they're %20 or sometimes + in query strings
 
So in this case how do i generate Page Size in my query string?
 
uriencode your string
 
spaces are fine in urls, they just get converted automatically to %20 I thought?
i know other characters need to be encoded
 
@Learning you should look into using ODATA, so you don't have to worry about implementing paging, filtering, selecting etc
 
@Steve'saD They're not fine, the valid URL is after the conversion
 
@KendallFrey my point is spaces usually get handled automatically
regardless if a space in a url is not valid, it doesn't matter because they're auto-converted
 
You're assuming a specific environment, like a browser
 
thats true
 
2:12 PM
spaces in URLs cannot be handled automatically by whoever is using the URL
 
but, i can't think of a time where a space in the URL has given much issues
 
@Steve'saD Thank you so much sir for the suggestion but i am generating this url on client side i.e on javascript
 
and i do a lot of api work
 
@Learning encodeURIComponent
 
can you @KendallFrey?
which environment were you on?
 
2:14 PM
can I what what
 
I have this much part fixed : site/root
I have records like below for parameters :
 
"I can't think of a time where a space in the URL has given issues, and I do a lot of api work. Can you? And if so, which environment were you on?"
 
1) Parameter Name = Page
   Value = 10
   Datatype = number

2) Parameter Name = searchTerm
   Value = Newyork
   Datatype = string
 
site/root?
 
@Steve'saD HTTP
 
2:15 PM
So now what i am doing is loop on this list of parameters and generate my url
 
@KendallFrey i think you're full of shit is what i'm saying
i'm sure there are some exceptions on SOME environment SOMEWHERE
but generally speaking not a big issue
 
HTTP parses the first line of the request based on whitespace
 
@Learning ok whats the problem
 
putting a space in the URL will fuck it up
 
2:16 PM
prove it
 
@Failsafe Problem is if user specify space in parameter name like : search Term
 
:p
im being too hostile
 
then generate the url with the space then encode it
 
i back away
 
then use the encoded url instead of the space one
 
2:17 PM
@Failsafe then encode it means?
After generating url user will copy the url and will paste in browser
 
an encoded url turns spaces into %20
1887
Q: Encode URL in JavaScript?

nickfHow do you safely encode a URL using JavaScript such that it can be put into a GET string? var myUrl = "http://example.com/index.html?param=1&anotherParam=2"; var myOtherUrl = "http://example.com/index.html?url=" + myUrl; I assume that you need to encode the myUrl variable on that second line?

 
@Steve'saD I think ultimately, Kendall makes a good point though, if its going to end up being one thing, then why not just make it that thing from the start?
 
@hilli_micha ego
the sake of arguement
 
@hilli_micha oh i think you should encode it, because often there are characters that need to be encoded, my point was just that spaces aren't usually a big issue, but like i said, i could be wrong, i just can't recall any time where I thought "Damn, i forgot the url data had a space"
 
@Steve'saD ^
 
2:20 PM
thats funny
i did the same thing and didn't get an error
you're in fiddler
i'm in a browser
 
9 mins ago, by Kendall Frey
You're assuming a specific environment, like a browser
I was demonstrating HTTP itself, not a client
 
yep
 
Thinking of making a serialization interface. Where you can plug in different serialization implementations
 
@KendallFrey i did it in fiddler and got the same result as the browser
what did you do differently?
 
did what, exactly
 
2:23 PM
executed the same request(s) you did and got a 200 back
for both attempts
 
I put google.ca/?q=the game into the composer
 
i can read, so yes, thats what i did
lol
 
prove it
 
im just pulling your leg, i'm getting a 400 back, but like i said, i think this is more of the exception
 
2:24 PM
you fucker
 
:p
regardless though, you're a racist
 
Well, well, your mom is so fat, that, she, uh, she might die prematurely of heart disease.
 
lmao
i like how this room can take jokes now that 007 is gone
 
let me fill that role
 
inb4heshowsup
 
2:28 PM
Kendall my mom is dead, im igg'ing you for being harsh and upsetting me
 
@hilli_micha im igg'ing you because you igg'ed kendall
 
i am russian dont ask me my job
cyka bylat
 
also because <insert contradicting statement here>
 
this sentence is false
 
you just believe people who study things and tell us their findings? wow ur dum
 
2:29 PM
the earth is flat!
 
Using encodeURIComponent function is fucking up my url
 
@RoelvanUden, thx
 
@Learning Maybe use it on only the one component you need to encode
 
See below are my 2 functions generating query parameters :
function injectQueryParametersInGetEndpoints()
    {
       var url = generateQueryParameters("http://site/root",parameters);
    }

    function generateQueryParameters(url,parameters)
    {
        url = url + "?";
        parameters.forEach(function (parameter) {
             url = url + parameter.name + "=" + parameter.defaultValue + "&";
        });
        url = url.substring(0, url.length - 1);
        return url;
    }
 
There is also encodeURI, I guess, which you can use on the whole URL
 
2:35 PM
in Root Access on The Stack Exchange Network Chat, 1 min ago, by Burgi
does anyone know of a Google Maps .NET library?
 
isn't google maps just an api, and there are many ways to interact with api's via .net
 
not all apis
you're thinking specifically of web apis
 
#notallapis
 
@KendallFrey im thinking of how i interacted with google api's
how did you interact with google api's?
 
JScript
 
2:42 PM
it asks specifically about .net
im tired
i want a beer
 
@Steve'saD I want a bear.
 
what kind of bear
 
and a sleep
 
isn't a bear like an LGBT thing
 
2:44 PM
@Steve'saD oh, not that kind of bear.
 
Yes, for big, hairy, gay dudes.
 
i think thats what satibel is asking for
but am not sure
 
@Steve'saD I'd rather the bear in what Kendall posted that the one micha said.
 
Hi guys
can I use the same api key for other applications?
Because I'm having a problem in using the same api. It works on my first project but when I use it on different project, it doesn't work
So, is there any issue about it?
 
That's so vague as to be meaningless
Read the docs
 
2:49 PM
@mark333...333...333 depends if your api key is domain dependant
 
this kind of bear^
 
@Kieran I don't know. It's the same project with the same api but it doesn't work on the other one.
But when I try to put some break points, it has a value though
just in the xaml ui
 
one of the people in here is a dick, whoever guesses correctly gets a prize
 
@Steve'saD it's you
 
is the answer rum based?
 
2:55 PM
@KendallFrey dang you win
 
oh thank god
 
what's the prize
 
@KendallFrey i'll show you later tonight
 
oooh exciting
i bet the prize is mentioned in the question itself
 
O_O
 
2:57 PM
@KendallFrey lmfao
 
That took a turn i wasn't expecting
 
So does the prize, probably
 
Yep
 
it took the exact turn i was exepcting
or, one could even say, it took the exact curve i was expecting
 
Uhm, this is a CHRISTIAN chat room, please be kind to your neighbors, no dicking.
 
2:59 PM
this chat room is religious?
im out, peace!
 

« first day (2455 days earlier)      last day (2493 days later) »