« first day (2065 days earlier)      last day (2898 days later) » 

12:04 AM
@gsnedders yeah, this is great!
 
I want to use proxies to let me use my backbone-stype objects ( .get('someProperty') and .set('someProperty', newValue) ) like plain objects.
Gotta upgrade to node 6 first, though..
 
Is there a Meteor chatroom?
 
on SO? I don't think so.
 
@ndugger It depends on what you're doing. There's a part of me that wonders how much simplification you would get in the JIT (in the VM, I mean) if you implemented Array as a proxy internally, given you're simplifying the object model, giving yourself one fewer [[DefineOwnProperty]] to deal with. That's almost certainly not what the author of the (admittedly mostly hypothetical) question was thinking about, though!
 
12:21 AM
@gsnedders would you accept an edit for @@iterator or did you intentionally omit it?
 
@FilipDupanović Totally not intentional. I keep forgetting about symbol properties.
 
 
3 hours later…
3:39 AM
whew, finally finished that imgur dump
 
 
1 hour later…
user4196492
4:51 AM
How am I supposed to use scripts downloaded from the internet when it is as complicated as this?: i.imgur.com/vQHss3z.png
 
@pebble225 complicated how so??
 
user4196492
@JABFreeware When I import JQuery into my code, I can import it like a simple text file. JQuery is one text file. How can I import this monster?
 
just look at the docs and examples, you probably dont need all those files to make it work
 
@pebble225 probably just need the all.min.js file. Like nothing said (ha) read the documentation.
 
user4196492
5:25 AM
Uh, this is impossible to learn. They make it so complicated.
 
user4196492
Okay, I figured it out. The previous statement is false. It is possible.
 
6:49 AM
--nvm--
@gsnedders O hai there! Long time no see?
 
user4196492
7:18 AM
Anyone of you want to take a look at this code and find out if I am doing something wrong?: paste.ofcode.org/W2wWfUpSLE6vbUENnWdTqf
 
user4196492
I am struggling to learn how to use PhysicsJS
 
Hi All
I have a requirement where I have array of strings. Each string in that array could relate to another array of strings. The hierarchy can go lot deeper. Something like dependencies. How can I get all dependencies in a single array when user enters a particular string?
for example:

var a = ["aa", bb", "cc"];
var cc= [ "ab", "ba", "cd"];
var bb = ["cc", "cd", "cx"];
 
user4196492
If that code is not enough to help me out, here is a link to the entire project I am working on. The code in the other link is in scripts/first.js

https://www.dropbox.com/sh/ui2akyoxb78x8gt/AADPGSZPueYs3KJBu9M90_Qma?dl=0
 
@Mr_Green Not possible. You'll need to use an Object or a Map and store your arrays there.
 
user4196492
I will be on tomorrow so we don't HAVE to figure it out tonight. I have to go now, though.
 
7:27 AM
@MadaraUchiha I was thinking it is possible if I use while loop and in that for loop in a recursive function. The only thing I wasn't able to understand is how to get the array from the recursive to its parent recursive function.
 
@Mr_Green It's not possible to find a variable by its string name...
 
window['']
^ this is possible right?
@MadaraUchiha
 
@Mr_Green If you're programming on the global scope, I automatically hate you.
 
nah it is just example
I am storing it in a object actually. this is just test code
btw, I am using requirejs so no global variables
@MadaraUchiha
 
If you have an object, you can access the "parent" array by key.
 
7:36 AM
@MadaraUchiha I am trying something like this. I am unable to link my thoughts in it to move further.
I updated the code
 
@Mr_Green Something like this?
 
it should be a single dimensional array
 
This is a theoretical code that will only work in the newest browsers. You'll need to understand it if you want to make it work in all browsers, by the way.
 
@MadaraUchiha yeah thanks. I am unable to see "d" in the console. which is actually dependency for "b".
 
@Mr_Green "d" is resolved to the array under the "d" key.
2nd level deep.
 
7:51 AM
yeah I understand now but "d" should also be present in the array :)
btw, I will run your code in babel to make compatible
 
@Mr_Green What about a, b, c?
 
they should also be present
all dependencies and their parents should be present
you will understand if you see this gist. gist.github.com/kamlekar/7895c3c1b6ba0b778c27d42ee2b4445a
 
nice :)
thanks
 
eslint doesn't care about identation of .then ?
 
 
1 hour later…
9:31 AM
woo
found my next project
writing a dhcp server
should be fun
 
10:02 AM
What if I did event.target.checked and target wasn't a checkbox?
 
10:17 AM
you get undefined if the property doesn't exist
 
10:27 AM
@FlorianMargaine Sounds neat. Lisp?
 
@SomeGuy obviously
 
Yeah, I don't know why I asked :D
 
11:26 AM
o/ Currently Im setting up something in jQuery like this: I have xx checkboxes but when I check one I want to load below the checkbox 2 input (text) fields.
A user is able to add more text fields by clicking an add button. all good .. but what is the best way of doing this? I could generate them in jquery the elements and clone them?
Or I create the html elements in the html template itselve?
 
12:09 PM
@SomeGuy what's fun about this is that you can't open a socket with an IP and talk... there's no IP at this point
 
Haha yeah
Have you worked on any other TCP/IP protocols, btw?
 
@SomeGuy ?
I don't know, does http count?
 
Sure does
 
DHCP isn't a TCP/IP protocol
 
No?
 
12:17 PM
with which IP?
 
Oh, lol. You misunderstood, I think
The Internet protocol suite is the computer networking model and set of communications protocols used on the Internet and similar computer networks. It is commonly known as TCP/IP, because its most important protocols, the Transmission Control Protocol (TCP) and the Internet Protocol (IP) were the first networking protocols defined during its development. It is occasionally known as the Department of Defense (DoD) model, because the development of the networking model was funded by DARPA, an agency of the United States Department of Defense. TCP/IP provides end-to-end data communication specifying...
> It is commonly known as TCP/IP
 
dhcp doesn't use TCP, I think
 
I've just gotten into the habit of calling it TCP/IP because that's how we referred to it in my course. My bad
 
@FlorianMargaine Broadcast?
 
@copy dhcp works with MAC addresses
 
12:19 PM
@copy The client broadcasts a request, as far as I know
 
hm
yeah, you're right, it sends a broadcast, so I guess it's over IP
not sure about TCP though
 
It uses UDP
 
> DHCP uses UDP as its transport protocol.
 
indeed
I really need to write that server to remind me of the basics :)
 
Haha, I'll read your code to learn the basics!
(Of both, networks and Lisp)
 
12:22 PM
I plan to write a dhcp client too
 
Sounds like a plan
 
and then I'll see if I can add some magic
and boom, I'll land on the moon
 
A protocol extension that deletes your hard drive when the server requests it
 
@copy sounds like a plan
but yeah, I want to play with the extensions basically
and see what I can do
but well, we'll see how far I go
it's easy to get lost in interesting algorithms or tooling or whatever
I'm also going to get a Chromebook next week, so I'll have stuff to play with
 
12:31 PM
@FlorianMargaine @copy Since you're both here, could you decide for me? What's a better way to spend my time off of college? Freelance work or tons of learning (and some projects)?
 
@SomeGuy looking at cat pictures
 
@Shmiddty That's obviously part of it no matter what :P
 
@SomeGuy I'd say the latter
I'm working 20 hours per week, but I'd rather spend time on my own projects
 
Thanks. I was leaning towards the same, because I think it's rare to find so much time where you can actually concentrate and learn well
@copy What projects have you been working on?
 
@SomeGuy Emulator, a honeypot and a multiplayer game
 
12:36 PM
Ooh. What'll it emulate?
 
Oh, I thought you were making another one
 
No, there are still plenty of operating systems that don't work on this one. And I want to make it fast
 
Ah. That's fair
 
@SomeGuy By the way, what happened with gsoc?
 
12:43 PM
Wasn't picked
 
Aww
 
Asked the mentor for feedback, and he said it was because Google allocated fewer slots than they'd asked for
Hopefully I'll have a much better proposal next year
 
@copy network honeypot?
 
@FlorianMargaine Yeah
 
cool
what kind of honeypot? open ports and user agents or something like that?
 
12:47 PM
@FlorianMargaine Open ports and run fake services there, which speak the protocol but don't actually do anything
 
Have you seen Mr. Robot?
 
I have ntp sip http ssdp vnc dns redis snmp smtp ssh mongo mysql
@Shmiddty Yeah, it's excellent
 
I also liked it
 
@copy So they'd just accept absolutely anything?
Mr. Robot's great. I've watched Season 1 twice already :P
 
@SomeGuy Yeah
 
12:51 PM
I've seen some that feign vulnerabilities, and allow themselves to be "exploited" really easily. Those were amusing
 
I also want to do that at a later point
 
You might like this video if you haven't already seen it youtube.com/watch?v=tNqn47kEDb8
 
Yeah, I've seen that
 
1:15 PM
who changed the room title ?
so negative :O
 
Hi guys
 
Hi guys
 
hello
 
I have a doubt
 
Welcome to the club.
I have a dozen doubts before breakfast.
 
1:18 PM
How can i change the value of i from 0 to 1 or other numbers by clicking a button
 
which part are you having trouble with?
 
var i = 0
then :
 
Do you have a button already?
 
yup
i want to change the var i from 0 to other number in the html
 
Make a function that does what you want, then use addEventListener() to register that functions as the button's click handler
 
1:46 PM
why ask
 
@Abhishrek I appear here. Occasionally.
 
@copy nice
@copy how do you do the logging ?
I.e. where and what do you log?
 
2:15 PM
@gsnedders hey!
long time no see
still doing opera stuff?
 
@FlorianMargaine Each protocol has a binary that takes --logfile argument. I'm using fabric to start each binary on all servers with the correct logfile location
 
Hi guys
 
@FlorianMargaine Interesting events are also sent to a master server, that currently only displays them
And does some statistics
 
2:34 PM
@copy "interesting" being?
 
@FlorianMargaine Login attempts, for example
 
also, have you looked at using e.g. logstash-forwarder?
@copy I see
looks like logstash-forwarder was replaced by "filebeat" elastic.co/products/beats/filebeat
 
I just read that jQuery 3 is out, that has finally removed all IE workarounds.
 
@FlorianMargaine My logging isn't very sophisticated, I'll have a look at this
 
@copy it's pretty nice even if you don't do a lot with it, you get pretty graphs for free by doing almost nothing
(not to mention that it handles all the hard stuff about logging)
 
2:38 PM
> If customers are still asking you to work with IE6, IE7, and IE8, then you should stick with jQuery 1.0 for the foreseeable future.

Read more: http://news.softpedia.com/news/jquery-3-0-released-and-other-javascript-news-505064.shtml#ixzz4BHX9WbAA
 
It's good to see jQuery evolving. I wonder how fast it can get simply by removing those black magic.
 
that's an interesting question.
 
onux.com/jspp Patented type system for JS.. ugh...
 
note that it still has a lot of cross-browser handling baked in 2.0
 
@littlepootis Patented? o_O Like, uh, patented API?
 
2:43 PM
nah, more java ish approach
 
Where is piercing arrow???
who else here uses arch linux?
 
@qaispak Me, AwalGarg
And @towc. He is an Arch Linux guru.
@Sheepy Not sure. Maybe a type system for JS...
 
So the thing is I'm going through the boot process. I have stumbled upon some errors and tried looking over the forums
 
What errors?
 
I love the mindset of arch and the DIY attitude
but like.... is the majority of the community full of such elitists? It is a bit concerning
It's a problem with my boot loading. I am going over the whole process again to see if I can fix it.
but if I have one tiny question that I can't find on the wiki.... people don't seem too helpful.
 
2:45 PM
@qaispak Did you install a bootloader?
 
@littlepootis of course. I followed the wiki
 
What happens when you boot?
 
i hope that you have used a VM to try out ArchLinux
 
No I'm doing it on a fresh desktop I made
 
@FlorianMargaine Just yesterday I answered a question on Safari's keyCode. I didn't know Safari still doesn't support .key or .location - which even IE 9 supports.
 
2:47 PM
let me post the error I wrote it down somehwere.
@littlepootis It was "skipping fsck" and then device '' not found.
 
he had lots of luck: i.imgur.com/oXywy7s.webm
 
Is my error a common one? I know it is saying that it is skipping the file checking part.
 
It's not common, but did you copy the fstab entries?
Did it also "wait for device"?
 
@Sheepy yeah, safari is the new ie6
 
No it didn't. What do you mean copy fstab enteries? Generate and fstab file? I did that
 
2:57 PM
Do the UUIDs in /mnt/etc/fstab match those in the output of blkid?
 
Okay I'm just going to start from scratch first and see if I did something wrong. Then see if the errors persist
 
Uhm, okay. What machine are you installing Arch on? VM? Dual booting?
 
No it's a desktop I just built
so fresh install
are you familiar with UEFI vs BIOS for booting/mounting ?
 
just to make sure I /mnt in my root and then make a /mnt/boot on top of that using the partition that is EFI system
(for a UEFI)
right?
 
3:03 PM
@qaispak yep
 
Okay... the EFISTUB article was talking about having a seperate /boot mounted on the EFI filesystem. That part was confusing. But the /mnt/boot makes sense.
 
EFI partition is basically a partition (of type ex3/4 or fat32) with the ESP and BOOT flags.
 
What are ESP and Boot flags? I just ran mks.fat -F32 /dev/partitionname
that should set it right?
 
That doesn't. You'll need to use parted.
 
disk_set flag state
I do disk_set esp 1.
Gives silly errors.
 
is there anything wrong with this? I mean the logic
if ( validationResult !== true || ( typeof validationResult ) !== 'string' ) {
    throw new Error( 'The validation callback must return true or a string.' );
}
 
comparing to true or false isn't that required
but i'm not a fan of returning different types.
 
yeah, you're right
I will return an object containing both :))
 
@KarelG "truthy" is a thing
depends what he wants, really.
 
i know about truthy of falsy. Judging to the variable name and the error, i suppose that the string is a validation message for the user
 
3:28 PM
@KarelG exactly
if the validation fails, return an error message, true otherwise
 
so I saw warcraft
was very well done
 
people give it so much shit though
 
not really
it wasn't well done
i saw it 2 days ago
 
what wasn't well done
 
3:33 PM
well first I'll say what is well done
the animation was good. the orcs did look realistic enough to be next to the humans
the problem however was the successions in the story
if you look at a really good movie like Avatar for instance
the story isn't much different in its structure that a lot of similar films, but what is different
is the way they go from 1 even to the other. Avatar took it's time to go from introducing the Navi people, up to the war between humans and navi
where as Warcraft had a bit too much "surpises" in a short amount of time
 
@Mosho story is a joke
 
lol
story is what it is
 
but the taste differs from USA and EU
good rep there, bad rep here
 
first the portal is opened, then the orcs want to rebel against their leader, then they find out the Guardian turned sides
 
they have to tell the story
 
3:36 PM
then they went to a secret black thingy that no one should have known about
 
it's a lot to pack in 2 hours
 
it's how they packed it
 
^--
 
2 hours is actually a decent amount in a movie
 
ofc they cannot wrap the whole content in 2h
 
3:36 PM
^
exactly, why should they give te whole story of warcraft in 2 hours?
well to be honest, that wasn't even the whole story of warcraft
 
it's the whole story of warcraft 1
 
they made a different story than the real one
warcraft 1 reign of chaos was not that story, I fnished the whole game campaign :)
 
yeah, they have to
?
 
there are 4 different tribes, humans, orcs, undead, and elves i think
 
reign of chaos is warcraft 3
 
3:38 PM
it's about how the characters are introduced and how the story evolves through the movie. It's poor. I do have enjoyed the visuals and the animations.
 
warcraft 1 was only orcs and humans
it was the title of the game
 
ok well even so, they wouldn't need to pack all of the story into one
 
I'm glad they did
 
it would have been better if they only added 1 part, and that is actually even more profitable for them since they could make more movies
 
we don't need 10 warcraft movies
they have enough movies to make
 
3:39 PM
well, when George Lucas tries to explain it all, everyone gets bored... trade disputes, yaay!
 
well you might be glad, and it seems you liked the movie, but as you stated, they have been getting heat because A LOT of people disliked it
so im sorry to say you are in the minority :)
i wish I liked it too
 
the scenery and characters were on point
 
that there doens't change the fact that their story line was bad
in the sense that they had too much of it packed together
since you say that its warcraft 1 and not 3, I can't really know what the story was, but if they tried to pack all the legitimate story in 2 hours, they made the wrong decision (based on the opinion of most people)
 
most people who don't know warcraft
 
sure there is a minority like yourself that prefer it that way
 
3:41 PM
I hope there are enough who do to make it work in the box office
 
even worse then
less reason for them to have packed it all into 2 hours
 
it was fan service from day 1
which I am thankful for
even if you think it was packed, the graphics and all that were worth it on their own
if you can appreciate it
 
no
 
eh, the facial animation is well done
 
"the graphics and all that were worth it on their own" is definitely not enough to make up for a good story
there are a lot of animated movies, movies mixed with animation and real life that did horribly
 
3:45 PM
they've put lots of effort in it. You can see that if you're familiar with CGI movies
 
the story is too important to be neglected
ok but why are you even saying that?
 
it wasn't neglected, it just wasn't presented from scratch
 
we already know what is good about it, I even mentioned the good parts in the beginning of this discussion
im saying that the fact that the story line was bad was a very bad play for the movie
why do you think so many reviews don't like it?
 
people still go
 
@Mosho it's a big brand
 
3:46 PM
sure they go. If another matrix came out I would go, even though the last matrix movies weren't as good as the first
^
dragonball the movie had a lot of people going
 
yeah, and they could have done something much worse
 
but it was a very bad movie
 
I read a few reviews
 
ok but how does "and they could have done something much worse" make it a better movie lol?
 
100% of what I saw were people who have barely heard of warcraft
I didn't say it was the best movie evar
 
3:47 PM
dupanovic, jeli pricas moj jezik?
 
it was more than what I expected
 
but you were inferring it was a good movie
 
ofskroz @Webeng
 
hahah
 
it was a 8.5/10 for fans
 
3:49 PM
even if some site had that statistic (does a site have that statistic), you should really view how good the movie was to the general public
because the nostalgia is what would bring the rating up higher for fans, but if you want to accurately see how good the movie is, you shouldn't influence the actual rating with nostalgia
and why do we want an accurate rating?
well imagine if the general public had a 10/10 liking for it
for a fan, that would have been the world!
and im a huge fan lol
warcraft in my blood, still have my cdkey for ROC and FF
 
it's not easy to make 10/10 movies
it has been in "production" for 10 years
 
I have one of those boxes, WC 1, SC 1 and D1 :)
 
@Mosho Warcraft?
 
the movie, yeah
 
3:51 PM
10 years since the license was sold to whatever studio
 
a lot of disputes and shit
I'm happy with what we got
 
10 years?
 
they sold the rights to the movie 10 years ago?
 
yeah
hold on
 
3:52 PM
jfc!
 
but wait, was the movie being developed for 10 years
or just the rights?
 
just the rights
 
cause I remember that the MAIN reason why everyone was begging blizzard to make a movie is because of their EPIC trailers and mid-game mini animated movies
 
it changed studios and stuff
 
ok, make sense, WoW happened in 2004, they could have legitimately sold the rights for some serious kudos
 
3:53 PM
so if they sold the rights and didn't even do the animating themselves, they let down their fans sadly
 
they never did any of the animation themselves
 
damn...
 
it was some studio
 
that was one of the big reasons fans wanted a warcraft movie in teh first palce
 
it's always a studio
in games
 
3:54 PM
yes, a lot of the CGI for games is done by digital studios and media agencies
 
the game companies make the game itself
I mean, they put up the dough
 
well I mean I can't blame blizzard if they sold the rights 10 years ago, but the hype the past 3 years was basically because of how good blizzard was in making mini animated movies and placing them in their games like WC3
 
and probably direct it
a lot more than 3 years :P
looks like it doesn't matter what reviews say anyway
 
yes, more than 3, though the biggest amount was the last 3
well if matters if it's true
 
the chinese horde will make sure we will get a quadrilogy at least
 
3:56 PM
meaning, if most of the people in the world agree with them, then the review's are a depiction of that
 
150 million bucks opening weekend over there
 
well @Webeng, the movies are reeling in ridiculous $$$, no one really wants to innovate or anything
 
oh, well on a personal note, if you liked it, then you shouldn't be bothered by others liking it
 
just pump out the titles and collect the money
 
@FilipDupanović true. I wonder how much they are losing cause of people viewing them through torrent downloads and online streams
watch32 and putlocker might be killing the business
 
3:57 PM
@Webeng a very small fraction
last I checked
 
I don't know, rarely does someone come out with an accurate report @Webeng
 

« first day (2065 days earlier)      last day (2898 days later) »