« first day (3191 days earlier)      last day (1982 days later) » 
00:00 - 11:0011:00 - 23:00

11:00
i sexually identify outside space and time
Is that a clever way to say you've never had S**
(NSFW)
this isn't javascript
XD
@StephanS good one but it could also mean I have "xes".IThinkReverseIsAFuction() literally all the time and everywhere at the same time
right?
this requires further thought
i shall think about it while getting a cig brb afk bs bs bs bye bbs
How do I make a field that can only be one of these status codes? github.com/prettymuchbryce/http-status-codes/blob/master/… I don't think that's possible 😀 -- because duh typescript isn't well that way, but figured I try anyway.
".IThinkReverseIsAFuction()" I'm actually dying laughing
@ShrekOverflow You'd have to add them all to an interface or something
11:09
Yeah cba' I think it'd could be something like
const foo : 100 | 101 | 102 | 200 | 201 | 203 | 204 | 400 | 401...
lmao ew
batshit right?
or I can make an enum
but then that's not the right thing 😐 well now I'll disappear in my shame
wait why wouldn't making an enum work
because the enum will look like

enum HTTPStatusCodes {
  FOO = xxx,
  BAR = yyy
}
but enums in TS are not the same as enums in like Java
11:12
that's fair but what else would you do
well lets give it a try
hope I don't regret it later
look at this ugly mess
thats beautiful
\the colors
and the structure
no it's not lol
lemme make it C Style :P
DONT YOU DARE
@StephanS where you at
@FrostyFire yo
I read it and very interesting thoughts
tell me something i didn't know
11:23
Last warning
you changed it!
Sorry I mean @BenFortune is the coolest mod
and now i need similar mess
for HTTPVerbs
Not trying to be a jerk, or question any decision that was made but (serious question) is s*** a curse word?
trust me there are more
there is the entire caldev spec
and I am writing an debugger extension so ofcourse I need all of them FML
11:26
@StephanS The english definition says yes
interesting
:46748314 sex
/seks/
 Learn to pronounce
noun
1.
(chiefly with reference to people) sexual activity, including specifically sexual intercourse.
"they enjoyed talking about sex"
synonyms:	sexual intercourse, intercourse, lovemaking, making love, sex act, sexual relations, sexual/vaginal/anal penetration; More
2.
either of the two main categories (male and female) into which humans and most other living things are divided on the basis of their reproductive functions.
"adults of both sexes"
synonyms:	gender
where does it say swear word
I know you're in the UK so it might be a US cultural thing but if the definition says it then that's what we should go by
but trying using it in a sentence as a swear word "well sex!" "oh man! sex!" It doesnt really work
"the department set up a task force to help sex up the concept of conserving water" is so funny to me though
actually we can curse in the chat
11:30
@FrostyFire I didn't know sex was spelled with 4 letters.
Id like to see that go down in HR
read the chat room rules
fuck yeah we can swear!
we just shouldn't act like child
@BenFortune dude you dont know about seks???!!!
11:31
5 mins ago, by StephanS
Not trying to be a jerk, or question any decision that was made but (serious question) is s*** a curse word?
What word did you mean?
Because the only 4 letter curse word I can derive from that is shit
LOL
he meant seks
How old are you @FrostyFire?
I know
11:33
I meant "shit" because that was the word used in the message you removed
Thought so
the chatroom rules are really reasonable
Those are old
It's not the same since the uNwElCoMiNg
@BenFortune whats that?
11:36
well if they want us to follow the new rules then add the new link
Jay Hanlon on April 26, 2018

Let’s start with the painful truth:

Too many people experience Stack Overflow¹ as a hostile or elitist place, especially newer coders, women, people of color, and others in marginalized groups.

Our employees and community have cared about this for a long time, but we’ve struggled to talk about it publicly or to sufficiently prioritize it in recent years. And results matter more than intentions.

Now, that’s not because most Stack Overflow contributors are hostile jerks. The majority of them are generous and kind. Sure, a few are…  just generous, I guess? But our active users regularly express thei …

SO is racist? I've never seen that personally? The rest yes for sure.
thats kinda disappointing
I haven't seen people being racist but I have seen person being huge jerks
@StephanS from what ive seen its only when someone asks a question that shows they have put absolutely no effort in
or is a code vampire
it happens
i kinda think a downvote send enough of a message
11:42
@StephanS They just post the same question again
I've seen that
one highly downvoted question is really hard to come back from
and they'll get a question ban
to be fair... i sometimes am an asshole to people i think arent trying but starting to realize sometimes its a language barrier
yeah
a lot of foreign developers know english writing specifically for coding. So their written communication is lacking and can look lazy when they aer actually trying really ahrd
I think you'll get less angry if you treat all users like they can't code, because alot of users on this site are people that used inspect to copy a site like facebook's code and want to make it function so they can make millions of dollars
@FrostyFire I can understand that remembering that all coding is in English
11:47
@StephanS which is logically...stupid. Change it to any other skillset. "I copied this chefs recipe and burned the shit out of the food but im now basically gonna open my own restuarant"
@BenFortune I did not ask to dig up bad memories...
I cant cook but I wouldnt ask a question like "what is butter?"
or "do I need eggs for scrambled eggs"
maybe im just "obnoxious"
Yeah but we live in the age of "if they do think you can do it then they're haters"
reading the documentation can go a long way
@StephanS coughinstagramcough
I hate the culture of "you do anything sweetie" over and over but not emphasis on "....if you work your spoiled little ass off"
starting to sound like an old man but its true. Im liberal af but I cant stand the entitled culture when it comes to life
what is lazyupdate property in httprequest object/.
11:53
@SamuraiJack link?
1 message moved to Trash can
@SamuraiJack Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
var x=temp1.clone({
        setHeaders: {
          "Authorization": 'Bearer ' + localStorage.getItem('Authorization')
        },
      });
lazyupdate XD
shouldnt request.clone({'name':''} add a new header ?
when I check it in the console I find that it all goes to headers>lazyUpdate
I don't think that's it's only function
11:58
@SamuraiJack what is temp1 ?
Hi there,

ERROR Error: Supplied Data is not a valid base64-String jsPDF.convertStringToImageData

Anyone can help me over this?
if that is the Request object (from that API) then quit using javascript
@MurtazaBharmal read the Error
the data isn't formatted correctly for the function
yes, So how can I convert image to base64 ? I am using it in jspdf.
How to check most recent PR that have been merged into master ?
12:01
@KarelG it is HttpRequest
@MurtazaBharmal this is meant to sound mean but Google it
" convert image to base64 "
copy that and you'll get the answer you want
the third thing that comes up should work fine
I tried it.. okay let me try again
thanks man
you tried it?
yes. but I didn't got any perfect solution
425
Q: How to convert image into base64 string using javascript

Coder_sLaYI need to convert my image to a base64 string so that i can send my image to a server. Is there any js file for this... ? Else how to convert it

@MurtazaBharmal sorry I meant to say "this isn't meant to sound mean"
12:07
soo line in my code is:
console.log(this)
and I want output to be console.log(this)
Is it possible to make
If anybody is curious i am trying to make this work developer.chrome.com/extensions/…
😃
an event listener ?
no its an event listener split into 10 things 😀
just annoying to handle tbh
12:10
interesting
what I want is to capture all that happened with a subset of requests
I need to piece that data together 😀
what are to planning to achieve with it?
an oauth/oidc/saml debugger
interesting so it observers of 10 items to debug them all
?
read the api 😀
12:24
function calledMultipleTimes(){
$('.btnSuccess').on('click', function () {
   console.log("suc");
})
}


calledMultipleTimes()
calledMultipleTimes()
will there be multiple handlers on this?
on the button click
try it
@Dwigh it's an unpopular opinion but coders aren't computers we can't run code in our heads
yeah but you know stuff
tried it Ben. it does
have multiple handlers
add a ; to the end of your function
@StephanS It's pretty obvious what it does, I like to encourage people to test their code instead of posting a redundant question
12:31
please don't act like a computer and treat my statement like anything other then a joke
programming is srs bsns
it seems like you've never programmed in kotlin because that whole language is a joke
@StephanS the solution didn't works for me
you didn't do it right
downloadPDF() {
const pdf = new jsPDF();

pdf.text('hi this is demo pdf', 10, 10);
const base64Img = this.getBase64Image('https://promo.bradbrownmagic.com/pdf-flyer/flyers/poster-dark-cmyk.jpg');
pdf.addImage(base64Img, 'JPG', 15, 40, 180, 180);

pdf.save('whizlab-doc.pdf');

}

getBase64Image(img) {
var canvas = document.createElement("canvas");
canvas.width = img.width;
canvas.height = img.height;
var ctx = canvas.getContext("2d");

var tempImg = new Image();
tempImg.onload = function(){
canvas.width = tempImg.width;
12:36
I see
are you getting the same error as before?
More or less I am just frustrated that I have to write a state machine in 2019 for the common api :|
12:53
@MurtazaBharmal (/^data:image.+;base64,/, '');
try that
I'm looking at you're code and i'm not seeing anything wrong with it and the error you're saying that you're getting the problem this get the image but it's converting the image
13:06
Yes, I have copy pasted code from references, though giving error (PS - I am using angular)
oh that might have been important information
13:26
Hmm is stackoverflow the correct site to ask questions regarding nginx configuration files?
13:37
i'd use serverfault
or superuser
Lower traffic but you'll likely get a better answer
13:54
and this why the enum won't work
14:40
-1
Q: How i can get the value calculated inside ( in local scope ) function outside (In global Scope)

Y.KHow i can acess the value of range outside the fucnction whenever i give the renge slider a input or whenever i cahnge the value of the range slider. let vox = document.getElementById("vox"); vox.onchange = function() { return this.value; } console.log(vox.onchange()) let x = vox....

oh dear
complete with spelling mistakes in the topic :D (And the obvious "body text does not correspond to title)
14:59
Anyone have suggestions for a good framework to build a static site (for GitHub pages) on? I'm trying to build something that has a bunch of standalone canvas apps experiments/toys/games (like a personal fiddle showcase) as well as a more traditional blog section (also with canvas and other rich content).

I've tried Vue, but it's designed strongly around single-page apps. I've tried Nuxt, but it's incredibly fiddly and getting TypeScript working with DOM stuff efficiently was impossible for me. Everything else I've found is way too bulky.
I'd say the technology stack you use doesn't matter that much compared to actually getting your hand dirty.
I mean, up to this point, I've been using raw unprocessed JS/HTML, which has been simply dreadful.
I'm not building something from scratch, just migrating to a more extensible technology that doesn't require me to rewrite boilerplate over and over.
You declined the single-page app oriented option and you considered jquery-like stuff too bare-foot.
A SPA could work for my purposes, I think, if I weren't using GitHub pages.
15:10
oh, archer season 10 is out
I'll probably end up going back to Nuxt anyway (nuxt generate!), but I'm just wondering if there's anything more lightweight and less fiddly.
nuxt is pretty good
you're not forced to use typescript
That's true, but I'm enjoying TS much than JS as someone who normally just does C#.
up to you
I'm currently set on analyzing how native English speakers speak. They often drop sounds of letters, making we learners hard to perceive what they're saying.
15:15
Alright, thanks for everyone's input. ❤
@ZhengquanBai you might want to start with grammar
I'm sorry, that was mean
@towc nice
I just watched a TED talk during which the speaker said "That's not real art". I almost heard he seemed to have dropped the "Th" sound in "That", making it sounds to me like "at"
link?
15:18
The th is definitely there, it's just really light.
That on the most part accounts for my not recognizing his sentence.
Are file-oriented and document-oriented (NoSQL) db's the same thing?
I'm not sure if almost any other pronunciation is correct
I am reading this from a textbook:
15:22
> Many older, legacy systems were called file-oriented. Over time, the modern relational database became a standard model for systems developers.
That flag was well worth it
There're also some twisted T sounds that are explained in great detail in "
Richale's English". Even though I know them, it can sometimes keep me from understanding with ease a native English speaker.
@Feeds very good
@BenFortune I can't repro your issue with the user names
@MadaraUchiha Sure. Will do soon.
oh
mine are all blue
Have you tried loading the extension locally and not the store version?
@BenFortune I have
solution: use Chrome and the official extension ™️
this is what you get for using Cheap middle eastern knockoffs
😉
@rlemon If you don't wake up, this is going to end up being the official Chrome extension too :D
Use The Fork, Luke.
my home projects are starting to wind down, and my new pc arrives today hopefully.
so maybe I'll be convinced to work on personal projects again
15:33
@MadaraUchiha Oh I think one of my changes broke it
hold off on the merge
█🍁█
Nothing in my PR would break that
15:44
@MadaraUchiha I'm confused
My sass is changing a:not(.button):not(.tag):not(.wmd-mini-button) { to html:not(.nocss) a:not(.button):not(.tag):not(.wmd-mini-button) {
Wait that's right
@MadaraUchiha Okay i'm happy with that
FML
I spent the entoire day building basically
but ofcourse what's init is mostly undocumented :)
wanna jump off a cliff
nah i did that like 2 years ago
dw i won't :P
15:57
it's better then skydiving
Why am I not feeling sleepy even if it's this late?
There is one disadvantage of that though
it only pops if the request finishes
it won't show for requests in progress and then you can't capture
Heavy rain is pouring outside.
Hi, anyone have experience with BDD testing AngularJS app with Karma+Jasmine?
Could you take a look at my problem https://stackoverflow.com/questions/57009945/undefined-or-null-references-while-testing-component-based-app-component-contro ?
user8729657
16:39
I don't understand, I have this component called AutoCompleteText that accept's user input and returns a list of countries, where the user can choose which country they want and it will populate the input box. Now when I try to import the component and type something I get Uncaught ReferenceError: e is not defined, how do I fix this?
@ZhengquanBai blue light?
coffee?
you missing your s/o?
adrenaline?
@OvieTrix figure out where you are not passing the event argument
anxiousness?
also, and you know this by now, you need to create a MCVE
16:48
we're not magicians.
user8729657
17:02
@rlemon, I passed it <input value={text} onChange={e => this.onTextChanged(e)} type="text" />
user8729657
 onTextChanged(e) {
    const { items } = this.props;
    const value = e.target.value;

    if (value.length === 0) {
      this.setState(() => ({
        suggestions: [],
        text: ""
      }));
    }
    if (value.length > 0) {
      console.log(value.length);
      const regex = new RegExp(`${value}`, "gi");

      this.setState(() => ({
        suggestions: items.sort().filter(v => regex.test(v)),
        text: value
      }));
    }
  }
user8729657
  suggestionSelected(value) {
    this.setState(() => ({
      text: value,
      suggestions: []
    }));
  }
  renderSuggestions() {
    const { suggestions } = this.state;
    if (suggestions.length === 0) {
      return null;
    }
    return (
      <ul>
        {suggestions.map(item => (
          <li key={item} onClick={() => this.suggestionSelected(item)}>
            {item}
          </li>
        ))}
      </ul>
    );
  }
well it isn't done correctly somewhere otherwise you'd have no error 😉
@rlemon speak for yourself
user8729657
I guess so :(
17:17
@StephanS considering you are all figments of my imagination, when I speak for myself I am speaking for everyone
all JavaScript developers are magicians
!!s/g.*/iacs/
@rlemon all JavaScript developers are maiacs (source)
watch while I make your hope and dreams disappear
damn, forgot a letter
17:19
$("#hopes&dreams").toggle();
pretty sure that id is invalid
system: #hopes&dreams can't be found
wait, what? I just got a RangeError
that's a thing
RangeError: Maximum call stack size exceeded.
user8729657
lol
I found it, it was a loop.
18:25
How can I tell put client side javascript in a server side rendered app made with Next.js?
for example I am using socket.io to get live updates for the UI and for that I need to execute javascritp client side
after the broswer gets the server side rendered app with next.js (basically react)
and also get password and username from a form and submit that with socket.io to the server that has a socket.io insteance listening
18:50
also how I can tell next or even react how and when to render again a given component of the UI updated with the new data?
 
1 hour later…
20:07
Can someone tell me what's wrong with this code?
            var months = (f => Array.from(Array(12), (e, i) => new Date(25e8 * ++i).toLocaleString('default', { month: 'long' })))();

            return Array.from(months, m => { abbr: m.toLowerCase().substr(0, 3), name: m });
It's telling me there're something wrong with the colon after 'name' in the second line.
20:23
wrap your object literal in (), it thinks the {} means the body of the lambda
right. :/
Thanks
 
2 hours later…
22:20
when its friday night and you learn a new js library nelbartl.cyon.link/aia
00:00 - 11:0011:00 - 23:00

« first day (3191 days earlier)      last day (1982 days later) »