« first day (2286 days earlier)      last day (2663 days later) » 

10:00 AM
exactly
but i don't write website code so it's not a problem for me
 
@Cauterite You use nodejs then?
 
no i use firefox
i make addons and userscripts
 
Cool
 
or sometimes webpages which don't care about old browsers

though often my code doesn't even work in chrome initially
(those pesky generator comprehensions…)
 
@Cauterite I don't like the idea of generators tbh. Don't see the added benefits
 
10:04 AM
@Mattia are you familiar with the concept of 'lazy sequences' ?
 
@Cauterite No I am not
 
Ever haskelled?
 
@littlepootis Never
 
someone say haskell?
 
if you do this with arrays:
`[<some array>].filter(…).map(…).filter //etc.`
it creates a whole new array after every stage of processing

wheras lazy sequences do the processing as the results are needed
 
10:05 AM
@Mattia you haven't lived yet
 
What pulled you into Haskell? There are no rainbows in there.
 
the lack of rainbows on the market had to be filled
 
damn, I have vitamin D deficiency
no surprise there
 
@Cauterite So basically you are defining a routine with some static variables inside them
 
you can call me Count Mosho
 
10:07 AM
@Mosho is that your way of saying you're a European?
 
aye cpn' mosho
 
I said Count
@littlepootis I'm actually from the middle east
 
@Mattia uh… what?
 
I know, Count Mosho of Israel
 
that's right
 
10:09 AM
you're still cpn' Mosho from the TypeSea, to me
 
@Cauterite That's what I mean when I say I don't see the added benefits =P
 
i think you'll need to spend some time learning the fundamental concepts behind it, before you'll see the benefits
i'm really not qualified to explain this stuff
 
@Cauterite Do you have a good resource? I think I just read some shallow articles
 
@Mattia i could find something if you give me a moment…
 
Learn about procrastinative programming
3
 
10:16 AM
@Cauterite What's that, chatting on stackoverflow during work hours?
 
the best programmers use PDP in their workflow. (Procrastination Driven Programming)
 
It seems I should take a dive into functional programming anywho
Not sure where to start though
 
Oh, no. I was misunderstood. I was talking about how Haskell procrastinates evaluation.
 
10:23 AM
@littlepootis not sure if you're joking or don't know it's actually "lazy evaluation"
 
This is a language that has more than 0 production code bases.
 
learn haskell first
 
@towc oh..
 
did you translate from hindi?
 
I don't know Hindi.
 
10:24 AM
is hindi a language?
Indian?
 
:/ i might not have anything actually
all my learning resources are way too advanced or language-specific
 
guys...
Hindi (Devanagari: हिन्दी, IAST: Hindī), is an Indo-Aryan language, one of the official languages of India, and the first language of the majority of the populace in the Hindi Belt. Outside India, Hindi is an official language in Fiji, and is spoken in significant numbers in Mauritius, South Africa, Suriname, Guyana, and Trinidad and Tobago. Modern Standard Hindi is the standardised and Sanskritised register of Hindi. Hindi is the fourth most-spoken first language in the world, after Mandarin, Spanish, and English. As of 2001, Hindi has more than 551.4 million speakers in India alone, or 54% of...
 
Indian is not a language. It's a.. nationality.
 
in italian they say "indian" for both language and nationality tbf
well, same for romanian
 
10:25 AM
550 million speakers, this is a huge part of humanity, you shouldn't ignore this language exists
 
@Cauterite No probably, it's a journey I'll dig deeper into the subject myself!
 
There are hundreds of Indian languages.
 
Thanks for the effort
 
@DenysSéguret I was wondering what it was called, not pondering its existance ;)
 
Hindi just happens to be the one that most speak.
 
10:26 AM
L'hindi ([ˈindi]; nome nativo हिन्दी o हिंदी in devanagari, IPA [hɪnd̪iː]) è una lingua, o un continuum dialettale di lingue, del subcontinente indiano, ed è parlata soprattutto nell'India settentrionale e centrale. Fa parte delle lingue di ceppo indoeuropeo. Data la molteplicità di dialetti, è stato riconosciuto il primato al dialetto khari boli, parlato in un'area prossima a Delhi. Sulla base di questo dialetto, ha preso forma il cosiddetto hindi standard, che è ciò che s'intende come hindi in senso stretto. L'hindi è una delle 22 lingue ufficialmente riconosciute dall'allegato VIII della...
 
I'm pretty sure there are more English speakers in India than there are Hindi speakers.
 
@Mattia or get into the purest of functional programming: lambda calculus. It will have no use in your life, but it will be worth it
@DenysSéguret I stand corrected
 
@littlepootis You mean among educated urban people ?
 
Well, I didn't mean that. But that seems to be the case.
No recent stats to back that thing I just pulled out of my ass.
 
TBH English, one of the official languages of India, is huge there. But still far from Hindi
 
10:30 AM
@towc That's really hard for me as I have an embedded background
Born and raised on C
 
@littlepootis are there Indians that speak English alone or does everyone have their local first language and english second?
 
@Mattia you don't even need a computer for proper lambda calculus
 
@GNi33 English second.
 
well, not early on anyway
 
okay. how many first languages are there in India?
 
10:30 AM
and early on is in the first few weeks of learning LC
 
@towc What's functional about that type of programming then
 
lambda calculus works indeed better in your head than in a computer...
 
If it doens't solve a real world problem
 
@Mattia it teaches you to think in the right paradigm, away from imperative C concepts
 
@GNi33 wut
 
10:31 AM
how many different languages are spoken in the country?
 
hundreds
 
@Mattia well, it does, but not immediately, if you're new to it
 
I heard that besides Hindi, there are a few
Hindi being the most used, right?
 
!!afk
 
can someone help with a small syntax problem in react. I don´t know how to call a function and the send data to this function inside the render method. jsfiddle.net/tdfaxmpt/2
 
10:33 AM
@GNi33 Telugu (my first lang), Marathi, Malayalam, Tamil, Oriya, Bengali, Kannada.. just to name a few with tens of millions of speakers.
@GNi33 Yes
 
it's like, if you don't know how to use for/while loops in C, you may not be able to do much. But once you get to those, you're in for a ride. In LC, it gets slightly more complicated and you need to learn A LOT before you have something worth writing out
also, the purpose of LC is to prove theorems more than anything
which is why it gets you in the right paradigm
 
wow. thanks a lot
 
@littlepootis yeah, that's just indian for me
 
Gujarati, Urdu..
 
quite a few of them probably have many more speakers than romanians, actually..
 
10:35 AM
There's a language called punjabi with 100m speakers that I've never heard of, lmao
 
@towc Alright then seems I have a lot of new study material
 
damn it, we'll thrive someday
@Mattia indeed, my friend, indeed
 
are these all somehow related? are there (major) languages that are from a completely different family?
 
> 10th most widely spoken language
@GNi33 They're all Indo-european, Indo-aryan and Indo-iranian.
 
no indo-romanians?
or lol, indo-slovaks is something I definitely want to see/hear
 
10:37 AM
I don't know if those language families exist
 
it's probably going to be something similar to indo-russian
and there's gotta be indo-russian
 
There are a few dravidan languages too.. en.wikipedia.org/wiki/Dravidian_languages
 
so I understand that you're from south India?
 
Yes.
@towc Russian is Indo-European.
 
India is a strangely fascinating place
 
10:39 AM
@littlepootis well... yeah, I'm stupid
 
> The most widely spoken Indo-European languages by native speakers are Spanish, English, Hindustani (Hindi and Urdu), Portuguese, Bengali, Russian, Persian and Punjabi, each with over 100 million speakers.
 
that's a massive amount of people speaking languages I've never heard of
I guess that just proves that I need to finish highschool
 
didn't hear about bengali before
 
11:30 AM
I know how to imply that someone has intimate relationships with their sister in Punjabi, can I count myself as speaking that language then?
 
!!afk lunch + shopping
 
user6438653
@Cauterite @MadaraUchiha Sorry, guys.
 
user6438653
Hey @littlepootis.
 
user6438653
Sorry guys.
 
user6438653
11:42 AM
I love your profile pic @Sheepy.
 
@WATERYMEL0N ❤
 
why isn't he already banned?
 
user6438653
:)
 
user6438653
@tereško I was banned by a mod for 1 hour 30 minuets.
 
user6438653
That's where I've been.
 
user6438653
11:44 AM
MadaraUchiha Did it as he's a mod.
 
what was he banned for?
 
user6438653
Being an assh*le and room pinging.
 
user6438653
It's fun being banned. Makes me less of an assh*le.
 
user6438653
@littlepootis Hehe.
 
11:51 AM
you probably also get more work done
 
user6438653
Anyways...
 
Don't ask for it.
 
user6438653
What is a fast way to convert ascii to string?
 
ascii what? one number? a byte array?
 
user6438653
I know String.fromCharCode.
 
user6438653
11:54 AM
Cauterite That ^^
 
user6438653
Are there any alternatives?
 
@WATERYMEL0N What possible reason could you want an alternative?
 
i doubt anything could be faster than fromcharcode
unless there was a vectorised version of fromcharcode
 
user6438653
Just asking if there was a faster version. Because you have parseInt and ~~. I was just seeing if there was something simiar for char to string.
 
* number to string
 
11:58 AM
@WATERYMEL0N If there was a faster version, it would probably be fromCharCode
Stop wasting your time trying to solve problems that you haven't verified to exist.
7
 
user6438653
Just checking.
 
user6438653
+1
 
user6438653
@Cauterite Not really, that would be "10" to 10.
 
user6438653
What do you guys prefer? " " or ' '
 
Hello Everyone........I have implemented my own version of CKEditor using javascript through modifying the default CKEditor with the help of CKEDITOR.replace(editor1,....).
 
12:00 PM
@W.Jack Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
user6438653
Using ' ' is faster than " " jsperf.com/string-char-testing
 
Lol...
 
But problem is the buttons I have used like radio,checkbox, text field, text area are not editable.
 
“faster”
 
12:05 PM
@WATERYMEL0N these kinds of micro optimizations are completely useless in 99.999% of projects
 
could someone help me in this regard ?
 
user6438653
I know I wan't optimizing anything, I was bored, and had a look, lol.
 
@WATERYMEL0N fair enough, that's actually a good trait imo
 
user6438653
@rlemon ikr.
 
user6438653
@StephanMuller lol. It's pretty weird though.
 
12:06 PM
I'm laughing at you, not with you.
 
it's only weird because you don't know the underlying mechanics
neither do I, but there's probably a technical explanation for it that makes sense
@rlemon don't be a meany face
 
user6438653
@OliverSalzburg What browser are you using?
 
Sweet a jsperf that compares a noop to a noop
 
user6438653
@rlemon Why?
 
user6438653
12:07 PM
@OliverSalzburg lol.
 
@WATERYMEL0N One that allows me to copy and paste unicode symbols from other tabs, if that's what you're wondering about ;)
 
user6438653
@OliverSalzburg I don't know. lol. I'm on chrome on android.
 
@WATERYMEL0N backquotes for days
 
user6438653
@StephanMuller His name is @rlemon he's a sourpuss, lemojs are sour.
 
user6438653
Okay goodnight.
 
12:10 PM
No, you just troll a lot.
 
Anyone here worked in CKEditor 4 ?
 
@W.Jack Just learn bootstap m8
also tinymce is a better wsyiwyg imo
 
Yeah... that would be handy ... but my project manager is barking on me
 
@W.Jack Even if people used it. What you're doing sounds like you're messing around with stuff you're not supposed to be messing with. Other people are not likely to mess around like that
 
@WATERYMEL0N you ping people way too much.
 
12:14 PM
I have already developed it in javascript..
But just some little problem wondering me..........
 
In bootstrap 3, is there a way to add close button to popover header ?
 
0
Q: NGINX - Error - unknown directive "content_by_lua_block"

Gandalf the WhiteWhat I am trying to do? I am making a system where nginx server will sit in front of several node servers and it will redirect traffic based on a header value. And it will ping the header value to redis to fetch the corresponding address and then it will redirect to that url What I have done? ...

 
ASR
hi
 
12:31 PM
> Note that at least ngx_lua 0.5.14 or OpenResty 1.2.1.14 is required.
And you have those installed?
 
I am tempted to put a certain fruit to my ignore list...
 
pineapple?
 
12:53 PM
aww I wonder who could be trying to troll me off site?
such a mystery
 
I blame the queen
 
@WATERYMEL0N Actually "" is faster than '' in my browser
 
@WATERYMEL0N In my browser "" is faster on the first run and slower on the second run. You sure the different you get is meaningful and not a liability?
 
1:08 PM
@GandalftheWhite why do you post it here?
 
honestly, just use `
(backtick)
 
@OliverSalzburg I got that
now some other error
DevOps is a bitch
 
github search on filename: foo.js doesn't work ? wth
 
@GandalftheWhite So you didn't have it before? As in, you neglected to read the #1 advise which I found within 10 seconds of simply googling "content_by_lua_block"?
 
1:16 PM
I did read it
it is just that I didn't install it the right way
openresty
some stupid mistake on my part
 
The whole setup sounds kinda like a mistake to be honest
You run a lua script in nginx to look up a server address in Redis, based on an HTTP header the client sent
I dunno man
Doesn't feel right
 
what about online highschool certifications?
I can still say I went to oxford. If they ask for more, I will have "completed my studies" online
do your companies accept online highschool certifications as a proof of having gone through secondary education?
 
outside of highschool no one cares about highschool
literally meaningless
 
but dropping out of highschool is also not a great idea
 
no it isn't
but which highschool and how you completed it is not a concern to employers
 
1:26 PM
in medium-level tech, at least...
hmm
 
it's highschool. they care (if anything) about post-secondary education
caring about highschool is like saying "well, mr lemon, you got an F on a book report in grade 2, this position isn't for you"
 
heh
 
@rlemon it's the opposite in my country
 
but "well, mr lemon, you didn't even finish highschool" is probably a valid concern? I have no clue. I think it's that way, but then again, I know close to nothing about the actual industry
@KarelG indian?
 
belgium
without that you even won't find a job in low salary group
 
1:29 PM
oh
 
it's kinda a requirement. You even need that for uni
 
@towc honestly, I've never had a company even ask me about highschool. "did you go to uni/college? no? okay" is as far as it has ever gone for any job I've ever had past the age of 18
 
@rlemon most of the world is more old-fashioned than America (including Canada) and cares more for diplomas and stuff
 
it depends of the education level of a country though (methinks)
 
@rlemon you didn't go to uni, right?
 
1:30 PM
@DenysSéguret yea, they do care about them. having a highschool diploma is almost a given tho.
so choice of highschool (of which you have llittle) is irrelevant
and if it was online / physical
doesn't really matter from what I can see first hand
@towc no I never went to uni
 
@rlemon :D
that's so great
@rlemon :D
and you do think you have a stable happy-ish life, right? But sometimes you work your ass out?
 
I don't understand the question? am I happy? yes
my life is pretty good
8/10
7/10 with rice
 
I'm just considering whether I should do the same
 
if I could go back and get an education I would
 
but ofc if I ask that... yup there you go
 
1:35 PM
I would too
 
it isn't required, but I would have done it in retrospect
 
I decided to give up education because it was boring, but it closed me so many doors
 
why did you not go in the first place? Financial issues?
 
@rlemon why is that? you can learn almost all the computer science stuff on the internet
 
I gave it up because someone offered me a 'career' at the same time university would have been viable.
@Rovak almost* is the key word
and there is a benefit to having peers / instructors
 
1:36 PM
I thought it was only about the piece of paper, in the end
 
Most of the people I know who decided to give up high education are interesting guys with many faces, and are happier and more free than most others. But still, I wouldn't recommend that path, it's not the safe one
 
@rlemon and now you work for someone, you don't have a company of your own or similar, right?
I mean, you bought you own house if I remember...
and make jerky beef
 
correct, I am an employee
 
can I ask you what your salary is?
 
aprox. 7
 
1:39 PM
k/month?
 
no
just 7
 
7 salary
 
if I play my cards right I'll get a raise to 7.1
 
@rlemon whats your experience ?
 
depends on the character
 
1:42 PM
not sure if you're joking or that's a real thing
 
I've got like 8-9 years as a dev and ~5 years as a sqa
in a professional environment
 
@rlemon share some ?
 
!!google sqa
 
@corvid YAY
 
1:45 PM
@rlemon Save your money, come to India, open a company , get projects from US and UK and make more money than you could imagine
 
I literally just googled on " java jon skeet custom exception " ... heh
 
@DenysSéguret software quality assurance
@FlyingGambit but I'd have to live in India
my people have been called indians for too long for me to do that
 
@FlyingGambit also low cos t of living which means you woud be a king @rlemon
 
I'd be like.. accepting it
 
One of the search results is so ... awesome: askjonskeet.com/answer/17967105/Custom-RunTime-Exceptions
 
1:48 PM
@rlemon are you a hippie or mexican ?
 
@KarelG omg this page header...
 
@FlyingGambit neither.
 
@rlemon then I guess you are just a brown man
 
@FlyingGambit Our company has sometimes projects that got developed by Indian companies (outsourced) which needs huge improvements / code refactorings. So ...
 
@FlyingGambit nope
think for a second who in north america got called indians incorrectly.
 
1:50 PM
@KarelG thats why you should choose your outsourcing company wisely.. many script kiddies arround
 
Or just don't.
 
^--
but yeah, indian companies are "cheap" compared to most companies here
the quality is often questionable
 
@KarelG is it possible that your company doesn't share the requirements right? becaus e as of what i know most Indian devs are brilliant
 
most ? hah
abhishrek once shared his exam questions
 
Most Indian devs are not brilliant
 
1:52 PM
those were ... um
 
The assumption that you can simply "share the requirements" when the project starts is what topples these kind of projects
 
@KarelG Like yesterday I was asked by the project manager of a company that if I would be able to deliver anything in time. He said he does not care about how I do it as long as the functionality is achieved... this kind of bad management often leads to poor quality code. You should have you Team Lead or architect monitor project process and do continuous code reviews
^ The interview if you people remember
 
user6820627
@FlyingGambit too normal
 

« first day (2286 days earlier)      last day (2663 days later) »