« first day (1639 days earlier)      last day (3311 days later) » 
01:00 - 18:0018:00 - 23:00

1:11 AM
Guys, how do you extend HTML editor like in Eclipse Java EE developer to ordinary Eclipse or Liclipse? Are there anything available in the market?
HTML /CSS editors in Eclipse J2EE are amazing, they are the best ones I've ever used so far
 
1:52 AM
Heck yes! Finally got a successful orbit around earth
 
(^_^)=d
 
I found out how to do a planned burn at the peak of the curve
made it a lot easier lol
 
I assume you mean the apoapsis
and maneuver nodes
 
yes
 
2:11 AM
angular & react meeting <- super interesting.
 
so interesting mate
 
@EnglishMaster go fuck yourself
 
@phenomnomnominal what was that for? I don't see any inappropriate words from him?
 
@AwalGarg I'm sick of him and his general attitude to being in here.
 
what kind of attitude are you talking about?
 
2:26 AM
@phen I am just gonna assume you are right :)
btw:
python + gtk = awesome
I am so much liking python :D :D
 
3:16 AM
@AwalGarg its been an ongoing thing. Its also happened in other rooms such as the python room
messages have been moved/flagged from him. On mult occasions
 
3:31 AM
@Loktar ah, cool. noted :)
 
 
1 hour later…
4:34 AM
I dont see this going in the right direction: stackoverflow.com/questions/29585922/…
 
5:32 AM
@RahulDesai Nazis in youtube?
 
m59
6:24 AM
best way of doing [1,2,3,4].map(function() { ?
(the numbers don't matter)
 
If you want a range, a for-loop is still the most readable option you have
!!> Array.apply(null, Array(10)).map((_,x)=>x)
 
@JanDvorak ["undefined","undefined","undefined","undefined","undefined","undefined","undef‌​ined","undefined","undefined","undefined"]
@JanDvorak [0,1,2,3,4,5,6,7,8,9]
 
m59
I like it.
That's definitely better than a for loop.
 
:-(
 
m59
No?
 
6:37 AM
Maaaybe I can learn to remember the trick. But in the mean time please encapsulate that in a function
 
6:52 AM
CV please
-3
A: Java Vs. JavaScript

Saurabh JhunjhunwalaTo speak in layman's term, javascript (mainly used in web development) execute at client side, where as java code mostly get executed at server side. javascript goes well with any backend scripting language, could be java, .net etc. but for java to interact with .net or other scripting lang, we ...

 
7:19 AM
I need to write a 5 line bio but I have no idea what to write :/
 
 
3 hours later…
10:19 AM
@BenjaminGruenbaum You going?
 
10:34 AM
@JanDvorak the trick? Object.keys(Array(n-1))?
 
!!> Object.keys(Array.apply(null,Array(10)))
 
@JanDvorak []
 
oops
 
@JanDvorak "SyntaxError: missing ) after argument list"
@JanDvorak ["0","1","2","3","4","5","6","7","8","9"]
 
allllmost
!!>Object.keys(Array.apply(null,Array(10))).map(Number)
 
10:36 AM
@JanDvorak [0,1,2,3,4,5,6,7,8,9]
 
!!>[].map.call(Array(9).join(' '), x,y=>y)
 
@AwalGarg ["NaN","NaN","NaN","NaN","NaN","NaN","NaN","NaN"]
@AwalGarg "ReferenceError: x is not defined"
 
!!>[].map.call(Array(9).join(' '), (x,y)=>y)
 
@AwalGarg [0,1,2,3,4,5,6,7]
 
!!tell AwalGarg sandbox
 
10:39 AM
@JanDvorak ^ this is the one I use, IIRC.
 
@AwalGarg Please go and play in the Sandbox
 
morning
 
morning
 
11:00 AM
Morning
 
11:34 AM
Anyone knows (where I can read about) what usb dongle exactly does when connecting to the internet? Or what exactly does any <system> does when it is connecting you to the internet and authenticating with the ISP etc?
 
What kind of USB dongle?
!!tell awal wiki wifi
 
@awal No result found
 
A wireless 3G/2G/4G usb dongle
 
I already know about the wifi part. But I am curious to know what exactly does my usb modem does while it is authenticating me with the ISP. What data does it send and where and how?
@JanDvorak I'll read about DHCP though, thanks!
 
11:40 AM
!!tell awal wiki gsm
 
@JanDvorak ok.. so technically it is possible for me to intercept the broadcast (on my own pc) and check/modify/block/forge the outgoing request at the time of connection, right?
 
I'm pretty sure that would be illegal
 
nothing is illegal if done for... SCIENCE!
:P
 
11:44 AM
Running a GSM scrambler almost definitely is
 
@JanDvorak Why? I purchased the GSM card and connection from the service provider, so now I can do whatever I want with it?
@SecondRikudo :P
 
@AwalGarg no
 
making your own GSM device isn't
or firmware/drivers
 
uh.. well is there some way they will find out what I am doing?
I just want to see how the protocol actually works
 
@AwalGarg what's your goal?
 
11:46 AM
and play :P
@SecondRikudo ^ that
oh wait, so this is how that ebay gsm scrambler works? :O
 
@AwalGarg Yes. Instead of their device connecting to their network it be your router. I'm pretty sure you won't be able to fake your device perfectly the first time around
 
I always thought it is some hardware only thing.
@JanDvorak :'(
 
define "hardware"
software is harmless without hardware to run on
 
a physically real machine which can be touched, unlike files on a hard drive.
 
define "hardware only"
 
11:49 AM
I thought maybe the scrambler physically modifies the chip.
^that
 
@AwalGarg there are easier ways to prevent phones from functioning if you have physical access to them
such as a hammer
 
it is not about preventing them from functioning, but to make them function in a malicious or unintended way without someone else knowing. (Not that that is my intent)
 
that would be illegal
 
well if you say it is really risky, I'll try it with a friend's connection :P
 
even more illegal
 
11:53 AM
I didn't say "really risky". I said "illegal". As in, they will bust you, period.
 
@AwalGarg read up on how TCP/IP, ARP and ethernet work
 
But my intent is not bad. I am just doing this out of curiosity, why will they bust me?
@FlorianMargaine am doing ;-)
 
While you're at it, read up on OSI just to know what it is
That's for the private network side
 
noted, thanks :)
 
@AwalGarg "I picked his lock because I suspected he might have overslept to work and the doorbell might have been broken"
 
11:56 AM
If you want to know how the router authenticates with the ISP, read up on ppoe or something... Can't remember the name
 
sounds legit :P
Well I am gonna read first, and see if it is working. If it does... I'll maybe try to a permission or something?
 
pppoe, that's it
And you'll probably want a software like wireshark to experiment
 
@AwalGarg ask whom for a permission?
 
pppoe sounds familiar. Have read it in some network logs I think of a router.
@JanDvorak my ISP?
 
Also: you can experiment with this on your own network.
 
11:58 AM
@AwalGarg won't give
 
@FlorianMargaine As in my own wireless network?
the router I use is a POS and can be hacked remotely in 2 minutes. no fun.
@JanDvorak I'll try still :)
 
YHBW
 
Can I setup some virtual machines and then a virtual network as a simulation and then try?
@JanDvorak "you have been warned"?
 
@AwalGarg try to write the software that can hack your home router, you'll be a long way already
And yes, you can setup some virtual machines to experiment
 
you have been warned
 
12:02 PM
great then.
@JanDvorak @FlorianMargaine out of curiosity, have you ever done this kind of thing?
 
ofc not
 
@JanDvorak I agree that hacking stuff is illegal and should not be done. However, knowing about how networks work is a great thing IMHO.
 
12:19 PM
Just for knowing and non-practical purposes.
 
@Catgocat practical purposes too. Setting up a cluster correctly requires knowing about networks.
 
True true.
 
To this end, @AwalGarg you might want to read up about DMZ or VLANs or even VPNs
And btw: writing software actually doing this stuff is probably the best way to learn.
You might want to avoid C for this stuff though, it's quite tedious in itself, no need to add complexity like no string stdlib.
 
@FlorianMargaine I'll have to meddle with the low level sockets, right? Do languages like Python/PHP/Lua let you do this stuff?
those are the only three languages I know :(
weren't you doing something similar with lisp recently?
 
@AwalGarg yes, low level sockets. And yes, python/php let you do that, dunno about lua although it should
And lisp too, of course
 
12:31 PM
Oh man the first 4 episodes of GoT that leaked... that won't be good for the guy/girl if they find him/her
3
 
yay! more python to write! :D :D
 
12:45 PM
@SecondRikudo no, can't, would like to though
@dievardump HOLY SHIT
 
Grafdigger's Cage? or 18th century anti-zombie protection?
makes you think...
 
1:07 PM
I think I have a project for the vacation
Something that can "print" using a pen to look handwritten
It'd save me tons of hours of college work if I had that
And it sounds like a fun thing to try
Let's see if I'm up to the task, though
 
The plotter is a computer printer for printing vector graphics. In the past, plotters were used in applications such as computer-aided design, though they have generally been replaced with wide-format conventional printers. A plotter gives a hard copy of the output. It draws pictures on paper using a pen. Plotters are used to print designs of ships and machines, plans for buildings and so on. == Overview == Pen plotters print by moving a pen or other instrument across the surface of a piece of paper. This means that plotters are vector graphics devices, rather than raster graphics as with other...
 
Yeah, I've been looking at some plotters made using Arduinos
 
crl
1:29 PM
Why is only one event working here jsfiddle.net/crl/6hv43jfm?
 
onmousehover ??
 
@crl because you only select one element?
 
@JanDvorak look at the event he's trying to set
inline he's got the right event
in his js it is wrong
 
crl
@rlemon ohhh right :))
hover != over
 
oh, right
 
crl
1:34 PM
it's because of hoverboards
 
My DHCP request failed.
interestingly, sending a ppp0 request when I am already connected disconnects me and reconnects. weird.
 
1:56 PM
How can I write, If input text wasn't clicked by the user, after 5 seconds do something ?
 
@FlorianMargaine managed to fake the dhcp request from python's socket module, shows as identical request too, but response for my request is from an ICMP protocol which seems to be an error, but the automatic one returns some random hex data :(
doesn't even show in dhcpdump :(
 
ICMP is used for error messages
 
yeah that's what I read from the wiki too. no idea what is going on or how to debug :(
 
Use Wireshark
 
yeah that's how I am monitoring the requests
but my "fake" request gives error, but the automated one doesn't, even though both look the same in wireshark
ooh encoding problem, brb
 
2:18 PM
detect if the user clicked on an input text? if not .. after 5 seconds hide it
it is simple, right?
 
@user4571629 Why?
 
i have a button, after clicking the button a form is fading in
i would like that if the user didn't click the form, it will return to the default
 
@user4571629 Why?
 
because that's what i want
 
@user4571629 Well, I want to read the form fully before interacting with it.
Why are you preventing that from me?
(me being any user in this case)
 
2:22 PM
there is nothing to read, it's only username and password
 
@user4571629 I'm blind and old, for my screen reader to read "username" and then "password" it takes 6 seconds.
 
so let's change it to 20 sec
: )
 
@user4571629 Why do you want to disturb me if I didn't do anything?
What have I done to you?
 
what do you mean?
 
2:25 PM
@user4571629 If I don't interact with the page, I expact the page to not interact with me.
 
I want to know how to do that, can you help me?
 
If I don't click a link, I don't expect the page to change
If I don't type anything in an input box, I don't expect text to appear there
 
why do you think that everything is User Interface? I'm just trying to learn jQuery
 
And if I didn't close the form modal or whatever that opened up, I don't expect it closing on me :)
@user4571629 Learn using best practices, not bad ones.
 
I'll ask someone else
 
2:26 PM
Implement a close button instead.
 
thank you
bye
 
Implement closing the modal with pressing ESC
@user4571629 Bye.
 
posted on April 12, 2015 by admin

Hovertext: Also, that one thing the Romans did. New comic! Today's News: Is almost over! 

 
2:43 PM
fake dhcp request successful. and I am still alive.
 
keyword: still
 
@Feeds wait. Where is that random javascript garbage code?
@JanDvorak I'll format my pc and burn the hard-drive if something bad happens :D
well it was on the router anyway
I haven't been able to find the one on the ISP yet anyways
 
YHBW YYDL
 
@JanDvorak ????????????????????????????????????????????????
!!urban yydl
 
@AwalGarg No definition found for yydl
 
2:47 PM
you have been warned yet you didn't listen
 
But if I can do this, so can anyone else?
Why haven't a lot of people been jailed for this?
 
Most people don't send hand-crafted DHCP requests to their ISPs
 
Because it's not actually a big deal
 
Yeah, but I didn't send it to my ISP. -_- I am unable to figure out how to, yet.
 
Well, it's not a big deal until 10000 PCs decide their ISP is kinda broken and they'll rather wait it out for a few hours than to risk connecting to the wrong gateway accidentally
 
2:53 PM
@copy my little common sense agrees with that. @JanDvorak
 
@JanDvorak At least you have a cool story to tell your grandchildren
 
lol
 
that assumes you'll still have a chance to have grandchildren
 
what if you already have them?
(no I don't)
 
can you keep them while in jail?
 
2:57 PM
maaaybe. just imagine if someone starts a very powerful custom dhcp requests attack on a big isp serving a gazillion people which somehow causes the isp to go down. boom boom.
 
Actually it's most likely they'll sue you because you tried to divert all of their traffic through yourself than that they'll think you've attempted a denial of service attack
 
Apparently the first 4 episodes of Game of Thrones season 5 have leaked
 
what if the isp goes down before they sue anybody and then all their connection lines break?
 
3 hours ago, by dievardump
Oh man the first 4 episodes of GoT that leaked... that won't be good for the guy/girl if they find him/her
I could only find 480p if I were looking, which I wasn't :D
 
Someone should do that on the BSNL service provider in India because they are cheats :( And their connection lines are almost always broken anyways.
 
3:02 PM
Ah, yeah. I was gonna watch things on HBO Now, but you need an apple device to sign up for it. What kind of stupid system is that?
@BenjaminGruenbaum If I was looking, I'd try to find the ones uploaded by ettv
 
@NickDugger that's the first place I wasn't looking in
 
Hi guys
 
@Basaa Welcome to the JavaScript chat! Please review the room pseudo-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.
 
Any browserify guys here?
 
Kind of
 
3:05 PM
Do you know why module names go all weird and funky (jquery -> XpFelZ) if I use bundle.require and bundle.external in my browserify.on('prebundle')?
 
nope
 
Hmm :(
 
Nice, Closure Compiler can transpile ES6 too
 
3:24 PM
So I am also seeing all these SSL handshake logs, and some of them are about "Change cipher Spec" and "new session ticket", and it seems that I can see those session tickets too. Can an interceptor not use them to decipher all the encrypted messages?
 
Of course not
But SSL is too complicated to explain in a chat
 
then how do the receiver's decrypt them?
oh, ok
 
This could give you an intention on how it works: en.wikipedia.org/wiki/Diffie–Hellman_key_exchange
But it only scratches the surface
 
looks too complicated. I should focus on forging the dhcp and pppo requests only for now :/
@JanDvorak done. sent fake pppoe request which authenticated from isp. (failed the first time though because of a bad key I copied).
wondering what happens now :/
is there some way I can copy all data presently on stdout to a file?
 
started reading Clean Code... pretty boring book so far. I'll keep it on my desk to quote some excerpts for my customers though.
 
3:40 PM
Oh, that's what programming books are for ? I always wondered
 
I'm doing audits for customers and I have to argue why respecting coding standards is a good thing.
yeah, quoting a well-known book gives some recognition in the eyes of customers
 
If you have a recipe to convince customers or young colleagues that coding standards aren't just here because you're an old grumpy programmer, I'd be interested...
or rather coding best practices, not really standard
 
@dystroy After over a year of development, I still ship features within a week
 
@SecondRikudo I'm afraid I'm missing your point
 
@dystroy My code is maintainable enough for me to write an entire feature, unit test it, deploy it to staging, test it thoroughly, without breaking anything else.
Coding standards
 
3:43 PM
OK
 
Without it, It'd take me at least a month.
(I'm talking about Epic level things, if you're familiar with JIRA terminology)
 
And it's true that the first fight is usually when my colleagues are under pression and I have to convince them it's better to miss the deadline than to build a bag of bugs
 
@dystroy Another point I'm rather proud of is that my application mails me any and all exceptions in production
And my inbox isn't bombarded with spam exceptions.
In reality, I get 2-3 such mails a year.
@dystroy Also, you can enforce policy without fighting with anyone if we're just talking about coding standards
Add a build step running ESLint, if it doesn't pass, too bad. Your push is rejected.
But that doesn't enforce writing unit tests, or writing testable code in general.
 
Having such a build step is already requiring a decision. But the big problems aren't checked by a build step, they're in the lazy designs, the copy-pasta code, etc.
 
@dystroy copy-pasta code will most likely not pass ESLint
But you are right.
@dystroy The benefits are in the longer run. Present to them how much time is spent on writing bugs, and how much time is spent fixing them.
How much time writing code vs how much time maintaining it.
It becomes pretty clear pretty fast that you should spend your efforts on streamlining the "maintaining" part
And copy-pasting code goes directly against that.
@BenjaminGruenbaum can you tell me why debugging iojs is so horribly slow?
Like, a lot more than node was?
 
3:57 PM
@SecondRikudo it's exactly as fast as it's for node for me, although it might be a v8 protocol thing
Open an issue
 
@BenjaminGruenbaum it takes 12-13 seconds just to start an express server (after babel)
It's unreal
 
real developer always build from the ground-up
 
@BenjaminGruenbaum Quick google search indicates that it's an already open issue github.com/iojs/io.js/issues/877
 
helloow
 
4:15 PM
@copy no sushi
 
@BadgerCat :-(
 
I find it pretty irritating that 90% of all Node tutorials are, how to use x in Node, but then rely heavilly on express, so you don't actually get to know hwo to use X, unless you're using express.
 
@NickDugger What X are you trying to learn?
 
I think for beginners using a framework is actually a good idea. Not for the pure learning experience, but in order to get something cool working and keep the motivation up
 
@SecondRikudo I'm trying to get EJS to render my views, but I'm not using a framework. I see it has a render method... do I do: response.write(new EJS('myview').render())?
 
4:26 PM
@NickDugger If you don't have any parameters you want to pass to the template, sounds about right, yeah.
 
ALright, thought so. I was looking before I tested any code
 
@dystroy btw, I read a linux systems programming book a while back, it was very nice. Taught me about the whole C api bit by bit by showing practical examples... It was nice, really
@NickDugger the example doesn't show that though github.com/tj/ejs/blob/master/Readme.md#usage
 
@FlorianMargaine It does on the ejs website... so they have inconsisten information? Fantastic.
 
Does anyone use Brackets as an IDE?
 
4:43 PM
It's not an IDE, but yeah, I use it
 
Morning
 
How is not an ide?
But ok @NickDugger Do you have any like command-line-plugin for brackets?
For running node.js for example
 
0
Q: IDE vs. Text Editor

XcutionXI know this has been asked..but I cant find a clear answer. Many advanced programmers prefer text editors, but for me IDE's make things much faster. I've been using eclipse for a year and using a text editor is a pain. I know what to do, but I need to look up import statements and all. Also, I fi...

Nah, I run my node commands outside of brackets
the brackets extensions for it are meh
 
What extensions do you have?
I want to customize my text editor :p
 
5:13 PM
@NickDugger no idea, I was on mobile
 
Their documentation sucks, but I finally figured it out
I have to read the file on my own, then have ejs.render take care of the rest. I thought that it would read the file without me having to do it
eff
tabs don't work in chat. stupid.
 
You can't set a breakpoint at a certain character in Chromium, can you?
 
no
is there a debugger that lets you do that?
 
5:28 PM
No idea
 
EJS documentation is terrible. I'm tempted to write my own. Just had to figure out includes on my own, because they didn't document it properly..
 
Guys, does anyone knows how private properties can have all 6 attributes?
 
@beli Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@NickDugger I like HoganJS
 
I really like EJS, they just didn;t document it. I've always used it within express, where everything is done for you.
 
5:32 PM
so far i understand data property and accessor property have different attribute, and accessor property does not have "value" attribute and "writable"attribute, because they don't hold any value. However in case of private variable(name starts with underscore(_), can have its value and get, set attribute. Why is it?
 
@beli There is no concept of visibility in JavaScript.
Variables that start with an underscore is merely a naming convention. It has no real meaning for the JavaScript parser.
@rlemon If it's implemented you should close it (and unpin)
 
it's not fully implemented
but we can unpin
 
It says, A common technique to implement private properties is to prefix each private property name with an underscore.
@SecondRikudo and those should only be accessed by member functions.
Is it just a naming convention?
 
@beli Yes
 
Anyone knows if the "Google's Cached link"-crawling can be stopped from the robots.txt?

    support.google.com/websearch/answer/1687222?hl=en&p=cached
 
5:42 PM
!!> function Something() { this._private = "private?" }; var s = new Something(); s._private = "not really"; s._private;
 
@SecondRikudo "not really"
 
@beli ^
@VincentVerheyen You're in the JavaScript room
Stop writing like this if you aren't posting code. It's not the first time I'm asking you this.
 
@SecondRikudo My apologies. I wouldn't know whether there would be a room more appropriate to ask this, sorry. Will try to remember your advice in the future.
 
warning!! attention required
 
5:48 PM
I'm so capped today it's not even funny
@VincentVerheyen yes, disallow crawling
 
@BenjaminGruenbaum The page on Google Cached (https://support.google.com/websearch/answer/1687222?hl=en&p=cached) didn't present a method on how to exclude its Cached-crawler. This webpage however (http://antezeta.com/news/avoid-search-engine-indexing) seems to suggest the following would do (supported by Google & Yahoo! & Bing & Ask):

<meta name="robots" content="noarchive" />
 
@Mosho how's C#?
I've answered a bunch of 'regular' questions today to get a feel of it again, didn't remember how easy repping is and how much shit there is - but it was nice to see what most people are doing.
 
01:00 - 18:0018:00 - 23:00

« first day (1639 days earlier)      last day (3311 days later) »