« first day (2034 days earlier)      last day (3136 days later) » 

07:00
And the blockhead she is, she brings you a gilded apple.
Or she grabs the wooden bowl instead
Or she smacks an iMac onto your head...
"We're losing him because of your incompetence, nurse!"
Unrelated:
Devil's advocate: Remember that up until perhaps 70 years ago German was the language of technology and science and before that Latin, and I expect that the "default" language of technology will continue to evolve and shift. — Hovercraft Full Of Eels 16 hours ago
@HovercraftFullOfEels: Straw man. ~70 years ago we were at war with Germany. What possible reason could there be for the "default" language of technology to shift? Even languages that outnumber English, are using English for technology. — Cerbrus 5 mins ago
I almost godwin'd the discussion
@Cerbrus if you don't, I will. Hitler. There.
07:04
I heard that a lot. From a linguist standpoint, with globalisation and now Internet, it is too late for other languages to replace English. Even if America disappears today, the engineers will keep talking in English.
I have a secret key(string), a store id (string|uuid) and a client id(string|uuid) and I want to generate a string that contains 1. the date the key was generated (long) 2. the time the key is valid for (long) and 3. the time the connection between the store and client was made (long)
I'm using

crypto.createHmac('sha256', salt).update(store).digest('hex')

to get a salt and then feed it to:

new hashids(salt).encode(regDate, validMs)

I just can't figure out where to put in the client id so when I deconstruct all this, I can still get the dates.
The rules have changed. Linguists could study history to observe how languages evolve. Now the internet means that it will all change
Sorry for that. I thought I could format code inline. Didn't work.
And we still don't know how
@MadaraUchiha o/
07:07
@hamid Yeah, no, Chat's MD sucks.
Code on its own message
@Neil God(win)damnit
Many aspiring Chinese programmers dream that we'll all speak Chinese one day. Preferably overnight, so that they can become a rockstar of {insert your favourite language} in a few months after every library on Earth now suddenly use Chinese as API.
Can't let those easterners have it that easy!
Damn, that was clever
@Sheepy the only thing keeping the world from speaking chinese is that it is localized
Most students don't prefer to learn Chinese over English because English is already diffuse
My idea is that English will gain steam and eventually become the world's unofficial language of communication
Not a big problem now. That is the case 20 years ago. Now everyone just speak Mandarin. The China government pushed it very hard.
07:13
Depends also on what China becomes
@Neil Tell that to the french, the russian and the chinese.
Well, many young Chinese no longer speak their "native tongue". The linguist have been saying this is bad, but the general consent is it's good to the country and, by extend, to promote Chinese.
They are definitely in a financial advantage. This may mean they will be a dominant superpower in 20 years
Promoting Chinese is very much the type of mentality that fascists had prior to ww2
Many towns with French names near the French border in italy were renamed to sound more italian
greetings, programs!
@JimmPratt o/
07:18
Some users aren't native English speakers so they don't understand English punctuation and grammar rules very well. Others went to elementary, middle, and high school in the U.S. so they...don't understand English punctuation and grammar rules very well. ;) — ThisSuitIsBlackNot 2 days ago
lol
Don't forget universities.
@Sheepy you mean collage!
I don't like the "Some users aren't native English speakers so they don't understand English punctuation and grammar rules very well." part...
still haggling over my SO question at stackoverflow.com/questions/37066665 - I've tried to flesh it out a bit more to attract responders, but still nothing beyond Redu's answer - which is not entirely helpful (personally speaking). Not sure what I should or could add to generate more interest. 49 people have looked at it, but obviously not in-depth enough to know how to respond or to care.
I understand it weller than some native speakers. ;-)
07:20
I think my grammar shows that I'm not a native speaker, no?
@Sheepy your grammar looks better than most Americans I know. :P
ducks for cover
@Cerbrus you clearly don't know English well. In the place of weller, you should use "gooder"
chuckles at the use of 'weller'
@Cerbrus It's reality though.
You still see Americans mess up plural possessive, like Americans' children
They'll write American's children
07:23
What I don't like is "English is my second language, therefore I can allow it to be bad and people on the internet I'm asking for help will have to deal with it"
Unsurprising. A few years ago a Chinese teacher tell me, happily, that she now know Chinese also have nouns, verbs, and adjectives. She thought it's only for English. And she is Chinese.
@rlemon Oh wow that's cute
@Sheepy I see how one could mistake that though
@MadaraUchiha It's not. That line implies everyone that doesn't have English as primary language, doesn't understand the grammar and punctuation.
@Cerbrus No, that's not what it implies, even if it's poorly phrased.
07:26
@Neil I don't know. Now that I dig it up, I recall that I learned them from my Chinese teacher first, so it's definitely in some syllabus...... I just forget when.
"<X> aren't native English speakers so they don't understand ..."
I don't know how else to explain that, then.
It implies that some user haven't had years worth of practice in English, so the rules of punctuation and grammar are lost on them.
It's more like "there are some users who don't know grammar because English is their second language"
@Sheepy it is a bit like saying that you didn't know you could sort in languages other than javascript
Rather than "users whose English is their second language don't know grammar"
But some users aren't native English speakers yet they understand English punctuation and grammar rules very well.
07:28
I would expect that from someone not very familiar with other programming languages
Maybe we're arguing semantics a little too much, here ;-)
@Sheepy "Chinese teacher" > As in, the teacher is Chinese, or the teacher was teaching Chinese?
Arguing semantics in a language discussion. Much meta?
can some one provide me successful link to install reactjs on android studio in ubuntu?
@Cerbrus Teaching, for that word. She's both.
07:31
A noun is just a concept afterall
But then, it's like a JS teacher not knowing what is statement and expression.... and still be able to teach. I should be more forgiving.
If it isn't called a noun, it is still a noun in meaning
I'm feeling awfully nitpicky about language this morning :-/
@Sheepy I don't know, I suppose it all depends on if she understood the underlying concept or not
https://jsfiddle.net/jgy6tksp/
Any idea why id doesn't show "something" on enter but on click? (The prevent default works in my code, in this fiddle somehow not)
07:33
If I teach about expressions without using its name, it is only a label that is missing
@Neil Language and grammar are both concepts, no?
!!xkcd 435
@Sheepy right. The important thing is that a programmer can write a program with pointers, not so much that he or she knows the definition in a textbook
addition to my question: jsfiddle.net/jgy6tksp/1 without the form
The terminology just assists in teaching the underlying concept
07:37
Teaching... communicating... understanding... thinking.
But yes you are right. I just too love climbing these ivory intellect towers...
@TechTreeDev Scoping
Hello guys, How can keep regular expression validation for taking input value as only A or B or C, single character?
@SantoshJadi 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.
@BenFortune What did I wrong?
Should I define the function outside and the access both with click and enter?
07:43
@Sheepy do you need the terminology to be able to think about it? I suppose that entirely depends on what you mean by "understanding a concept without knowing its terminology" but I would argue that it is difficult to learn a concept without knowing its name, but not impossible
@BenFortune Ah, missed a semicolon in my code. Thank you
@CapricaSix ok
@TechTreeDev That's not the issue, lol
Plus they're optional
@BenFortune I've edited the code like you and it dind't work properly
It also makes communicating the concept more difficult, but again, not impossible. When our ancestors were speaking in vague grunts, we still managed communication
07:45
Oh, wait, there was another misake
@Neil You are right, of course. You don't need to know musical interval to tell that some note pairs are wider. I really only use the terms when I teach, you are right.
The day that we can communicate concepts is the first day of a golden age of understanding
What we do now is paint badly realized pictures of true concepts in our minds, which often don't transmit intention or perspective
Like drawing a picture of the Niagara Falls to make someone understand how you felt when you were there
It pales by comparison
08:00
The scientists are working on it. Brain structure is much better defined than previously thought. Turns out its connection is not that ad hoc afterall. :)
@Sheepy they think that the brain is highly modular
By modular, I don't specifically mean that the various sections of the brain do different things. I mean that there are "circuits" dedicated to very specific processing
I'm more concerned that once human solve the question of communicating, say, emotions to each other, I can't wait for them to move to pets. :D
@Sheepy if we could do that, we would no longer need for people to study for a third of their lives
@Neil we no longer need it anyway
What? A third? When did that happen? Not studying for the whole life? O_o
08:05
@littlepootis could a person be equally qualified without elementary school to program? Maybe, but not as easily I suspect
@Sheepy well formal studies like high school and college
To be fair, even neural network need time to train. Perhaps we will just train more in the same amount of time, not train faster.
@Neil You don't really need anything beyond basic math and comprehension skills.
I've been coding since 8 years old
@Sheepy true, maybe it won't be instantaneous, but certainly less time. It would be strange to see children of 8 correct you on proper construction of a program
@littlepootis though that doesn't change the fact that most people dedicate a third of their lives to studying whether it is useful or not
I suspect that a child of 8 with the ideas and experiences of an experienced programmer would write brilliant programs. Then their experience passed down would be even more valuable
If the singularity is possible, it would be quickly accelerated this way
What is the defining event of the singularity? A program that writes programs?
A child is curious. He explores all possibilities. He has creativity. An expert is experienced. She take shortcuts - her experience is literally neural shortcuts that work without conscious thought, thus the high efficiency. Mixing them would be an art of balance.
@Sheepy or perhaps you would merely need the experiences of one that is far more efficient than most programmers. Not sure if you need the will to explore all possibilities if you know what is best
Not very good for evolving new techniques though
08:22
hi anyone interested in ractive.js ?
i know its homepage has lots of exmples but i dont get chart components
o/
what i want is open source different examples to try out so i can understand the process, sorry i dont even get that :/
or lead me to different aproach ?
08:37
@GNi33 \o
Anyone good at reading JavaScript here ?
@Mathematics That's not a JavaScript question.
@Sheepy What question is it then, please enlighten me with your opinion
08:43
Ja-va-script. Yep, I think I can read that well enough
A community / social question. What question do you really want to ask?
@Sheepy This is first time, I got so lost here
some people are good at writing JS code, others enjoy reading JS code,

1st ones are coders, 2nd ones are coders as well but they like to do code reviews too
@Mathematics Are you looking for a code review?
JesusScript
Nope, but I am trying to find a method in a library with very little documentation
this library generates query designer for me, works perfect
but I am not sure how to work backwords

from url to generated html
usually it generates HTML which I can use to generate urls....
08:48
How do you generate urls with HTML?
@Mathematics wait, so you use the library to convert the url to html, and now you want to take that same html and retrieve the original url?
> query = this.createNavigationNoMultiplicityWhereQuery(propertiesListNames[i], query);
wow
@Neil Here is what it does
you give it a metadata url.... it builds up the model, then you select your table and column
it generates the url for you
in this case its this,
services.odata.org/V3/OData/OData.svc/Persons/…?$top=20&$select=ID
what I want is,

I give this url = http://services.odata.org/V3/OData/OData.svc/Persons/ODataDemo.Employee?$top=20&$select=ID

and it generate the user interface as usual... but also select options that are selected in the url
don't want to recreate the wheel, so drilling down this library
@Mathematics just retrieve the value from the input
Not sure I see the problem
sorry didn't get u there
which input and which value
I was hoping for a method in library I could provide... my url too and it auto selects options based on that
otherwise I will have to do it myself
08:55
You start with a base url. You tweak the html that the library provides and the url changes accordingly. So grab the url from the same input
The function that you're talking about is trivial
@littlepootis wat
I will be saving url to database as report title + report url,

now in future when user comes back to report using report title, I can get json data using this url, but these it will not reflect in the UI, e.g. in given example EMployee table won't be selected or columns
@Neil grabbing url isn't a problem, it's other way around, re - selecting Employee and column ID in my case
@Mathematics if you need more fields, then either your library supports custom fields or you will need to add it yourself
@ClemensHimmer hmm, sorry dude I can't look right now. maybe something changed so I'd have to update the module. I'd ping you when I look into it.
I'm trying to figure out what the title "Deep Throat" has to do with at all, with The X-Files season 1 episode 2.....
09:00
@Mathematics Do you mean you want to change the given service.odata url from selecting ID to selecting ID and Employee?
@Mathematics you could test to see what happens if the base url already has parameters
@AwalGarg wat
14 hours ago, by little pootis
@AwalGarg tl;dr gf
what is gf here?
!!urban gf
!!urban gf
09:02
@Sheepy [GF](http://gf.urbanup.com/65284) 1. Chatting: Short for "Girl Friend"
2. Gaming: Jedi-Outcast: "Good Fight." usually said after a Lightsaber duel.
@littlepootis [GF](http://gf.urbanup.com/65284) 1. Chatting: Short for "Girl Friend"
2. Gaming: Jedi-Outcast: "Good Fight." usually said after a Lightsaber duel.
it sure was a lightsaber duel
@AwalGarg yeah, right
treehouse
I find that if I keep registering accounts on treehouse, I can continuously stay in trial periods without paying.
I have access to all the video tutorials because of that.
@Neil that's a good idea, let me test it thanks
09:07
How do they solve this condition?
@Sheepy yes, but it will be dynamic and more complex, let me try Neil's suggestion
@ZhengquanBai I find that if I don't use treehouse, I don't have to continually register accounts. ;)
whoops! fell asleep! reads back up the chat log in case he missed something
ack
reads not reads x.x
@Mathematics For $select= at least, the fields seem to be comma separated. i.e. $select=ID,Employee.
@Neil ~327k people reached you. That's marvellous
09:10
@ZhengquanBai I am like jesus, except not as nice
aw, JesusScript and lightsabers.. i miss all the good stuff when i sleep :(
Jesus would be happier if you give up programming and follow him to be a man fisher ;)
that's correct
@truongnm 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.
a 'man fisher' ? o.O
09:11
Jesus would have been a programmer, not a carpenter this day and age
fishing for men?
@Sheepy troll?
Matthew 4:19
Trolling is a method of fishing where one or more fishing lines, baited with lures or bait fish, are drawn through the water. This may be behind a moving boat, or by slowly winding the line in when fishing from a static position, or even sweeping the line from side-to-side, e.g. when fishing from a jetty. Trolling is used to catch pelagic fish such as salmon, mackerel and kingfish. Trolling can be phonetically confused with trawling, a different method of fishing where a net (trawl) is drawn through the water instead of lines. Trolling is used both for recreational and commercial fishing whereas...
ahhh! he lured me into wikipedia >.<
09:15
I saw madara uchiha as nominated admin candidate.. at voting. Then who has choosen as admin now?
@toha 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.
Follow me, and let us troll together. Mat 4:19 - SO Rm 17 translation
@Sheepy troll level: jesus
@AwalGarg oh thanks! :) i tried using the new SO chat bot.. idk the new thing is so different lol i can't wrap my head around it :S
yeah it is mostly the dependency on DOM which is the issue. since mine doesn't depend on dom it doesn't have those limitations but I don't have much motivation to work further on it
09:22
!!youtube son of god
@Neil Something went on fire; status 403
motivate with monies! \o/
@Neil Something went on fire; status 403
Wat
> Now you're the only one who can tell me if it's true that you love me, and I love me.
super cool
09:28
Geez it's raining cats and dogs here
It's weird, but I always think of minecraft when it rains this hard
Mail me a couple
It's raining here too.
Hey JS'S!
@RoiMulia 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.
@CapricaSix Hey! Thanks
I'm just looking for some nice tech talks
I'm coming from iOS development, tho i'm always happy to learn
@RoiMulia decided to make the move to frontend eh?
09:32
hi, how can I take an array of numbers and execute a function after a period of time for each number?
@Neil ..or backend! :)
do I just loop over and use some timeout?
@JimmPratt true
that would work, @SuperUberDuper
@SuperUberDuper timeout first, assuming that they need to be done all after a fixed time
09:37
does the 2nd timeout start counting after the 1st finishes?
or do I start the next timout in the handler for the 1st timeout
@SuperUberDuper depends entirely on what you need, but I interpreted what you said to mean to call a loop on array components after a fixed time. That requires exactly one timeout
In other words, you don't need to start n timeouts with the same delay
@Neil haha no, But i've decided to expand my knowledge
iOS is great for UI Apps, which is my area of expertise as well
@RoiMulia admirable
@Neil Much appreciate Neil!
@Neil , What is the right way(grammatically) to say
"Upgrade for only 1.99$"
or
"Upgrade only for 1.99$"?
The first is better
Neither is "incorrect" though
09:52
the first
Thanks @Neil @Shea !
the second implies you get an upgrade only, and nothing more
Ya that's what i thought, just wanted to make sure
I'm optimizing the text at one of my apps lol
And i'm not speaking natively
there are some common global variables related to server (php) and client (JavaScript) like "paths", "project name" etc. I want this information to be kept in global variables which are available for both programming languages. How to do this? and is this effective?
@RoiMulia that answer will cost you $1.99, send it to my PayPal ;)
09:56
Haha @Shea , That's the final result :)
Hope you'll like it
Hi guys
Personally, I'd go with something like
Remove watermark
All visual effects
All filters
Full HD
i have used animation in this js bin but animation is not smooth and using lots of memory
any help or solution?
09:58
less is often better in advertisement
Tho Remove watermark will imply it's one time thing, if we exclude the "forever"?
Or it's obvious?
@RoiMulia I wouldn't assume that it is temporary
well I haven't used the app, but I'd assume it's obvious
But that's just me
@Neil , Sorry for my ignorance, but you meant that you thought it'll remove forever?
10:00
@AwalGarg no problem, i just didn't get the old one (which i have from you i think?), nor the current SO one to run, i just gotta find something i understand lol :D
i am not good enough to understand your code i guess :D
@RoiMulia yeah, by shea's wording
"upgrade" should imply it well, otherwise you might as well say, "upgrade forever."
No need to explicitly state it
One sec, sending you the new appearance(great advices btw, much appreciated)
@Shea @Neal
@ClemensHimmer zirak wrote the older one which is also currently in use here. I just linked you to it.
(I'd never write such horrible code myself I mean :P j/k)
10:05
@RoiMulia i'm just some random guy, but i agree with @Shea here :)
@RoiMulia Neil, not Neal. There's actually a Neal that shows up here from time to time
Fyi
@AwalGarg ooh so i use .. this?? i have a "bot" that basically is four files or so, absolutely nothing like the one you linked me. i just found a dead gist you once sent me, i guess that is the old thing, which can read, but not write :S
the gist is not a bot. it is just the auth code which I published separately so caprica can use it if/when required. it just establishes a socket session to chat and gives an fkey. you have to write the bot part yourself.
@Neil Oh! Sorry! haha! @ClemensHimmer and thank you as well :) What do you guys think?
pretty good, though you didn't have chance the last button "Unlock all filters..."
personally, I'd have left that one alone, but that's just being nit picky
10:12
Hey @Shea , Could you please rephrase? Sorry for that, sometimes i'm having hard time to understand lol
@RoiMulia can you space in more vertically?
@Neil , At the bottom part? where the two buttons?
The missing space makes you feel like features are absent
@RoiMulia the space between the buttons and the text
It shouldn't be minimal
This one?
@RoiMulia yes, you should space out the lines of text a bit more
Just a suggestion, it is your program afterall
10:16
@Neil It is, but i would never underestimate suggestions of anyone :)
What about this?
@RoiMulia and that will take you far in this field
@RoiMulia ah, better
@Neil I surely hope so. Ya it does, the flow looks cleaner, i might get it a little bit less more space, but surely not the intial one
@RoiMulia as I said, your program ;)
0
Q: how to read console logs of web view programatically

NaveenKumarI am trying to read the console logs of webapp that is loaded in my UIWebView/WkWebview programatically. so far in my research its not possible. Any help in achieving this would be appreciated !

@NaveenKumar 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.
10:21
@Neil Thank you sir!
10:50
any chance someone has an idea for some kind of userscript or so? i'm bored..
I wonder a nice method for ajax comet?
11:17
> If there was an abduction, it's likely that Kevin was touched in some way.
Why do I get sexual vibes from The X-Files?
389.99 TB Bandwidth usage
O_o
(image options shows this)
@rlemon just went up 2tb
Terabytes per second? Whoa
391.12 TB
Well, 1
No, that's gotta be the total
11:30
Almost 400TB in a day from one image.
I wonder what their total is
@rlemon The video is ~100 MB
It is on the front page of reddit atm
Of course Reddit has it on the front page... instead of the source video
11:47
can I catch keyCode 13 just for a specific form-element. Other elements from my page should not be effected by this?
@IntercoolerTurbo yep
@IntercoolerTurbo lol i just wrote that ten minutes ago :D
document.getElementById("spam-amount").addEventListener("keypress", function(e) {
        if (e.keyCode === 13) {
            handleSpamSubmit();
        }
    });
I miss the old "too specific" closing reason...
-1
Q: How many references and object will be created for Thread[] threads = new Thread[5]?

deepak doshiabove question was asked in oca examination. I have tried many solution for above code as java does not provide any facility to count the same using code i am getting confused for the same. Please anyone can help me out in detail with explanation.


« first day (2034 days earlier)      last day (3136 days later) »