« first day (1620 days earlier)      last day (3322 days later) » 

12:01 PM
and I not understand why oracle compulsory signed jar using trusted certificate
I thought only money
what you think
 
N
in Tavern / TL Chess on The Stack Exchange Network Chat, 7 hours ago, by Hosch250
College wastes so much of mine - I study things I know and don't study what I want to know.
cc @HamZa
 
@AniketDeshmukh security
 
but how they provided security using high and very high
i not understand
 
high and very high?
<-- Unproductive day
 
fge
Hmm, is SO slow or is this a problem on my end?
 
12:13 PM
seems a bit slower than normal for me too
 
Stack Egg.
 
What is StackEgg? It is on my screen and irritating me..
 
I'm trying to win The Internet for Anime&Manga.SE!
 
when i install jre 7 that time in control panel java I see very high , high and medium security level
unsigned jar run medium security level but not high and very high
when i signed jar it run all security level
in jre 8 medium security level option removed only high and very high remaining
 
I have never really went through the pain to sign a Jar, so I may not be the appropriate person to ask..
 
12:17 PM
ok not an issue
@ItachiUchiha thanks you for guide me during signing jar issue
 
@Unihedro dafuq?
 
@AniketDeshmukh np :)
 
@Vogel612 :)
 
Actually I am new in java That's why lot of questions arising in mind I know some time I am asking stupid question for that forgive me
 
fge
Grrr
'$ undefined' :(
<-- sucks at anything HTML/JS and it shows
 
12:24 PM
@AniketDeshmukh if it's for personal use, then I don't see why you want to sign a jar unless for learning purposes
 
it not personal use I signed jar for client
 
@fge This means you're trying to call the function/variable called $ before it's being defined.
That is, you haven't loaded jCrappy yet.
 
fge
@SecondRikudo but I sourced the script :-(
 
@AniketDeshmukh heh. I find it quite funny. How the heck are people "beginners" and yet work for clients $$$
 
@fge Your script must come after jQuery's
<script src="myscript.js"></script>
<script src="jquery.min.js"></script>
bad ^
 
12:26 PM
Ugh.. someone needs to slap the kids of today in this country. They read too much on the internet and assumes it works the same way here too >_>;
 
@Unihedro true story bro
 
@Gemtastic What are you referring to? :P
 
fge
Yes I know
But the problem is fixed
 
@HamZa I am working as jr. Developer
 
fge
It was a PEBKAC
 
12:27 PM
@fge It often is :)
@fge A piece of advice when writing JavaScript (today):
All of your files should look like this:
(function() {
    'use strict';

    // Your code here!
})();
OR
 
@SecondRikudo I live in a socialist country. Wages are regulated by the union. Working at McDonnald's here is actually a kinda nice job. I mean; the kind of job is still the same as everywhere else, but it's got kinda decent wages. There's nothing wrong with working at a fast food restaurant.
 
@SecondRikudo looks a lot like lisp :P
 
(function($) {
    'use strict';

    // Your code here!
})(jQuery); // Pass the jQuery global inside the function
@HamZa jQuery is lisp with a bit of compromising.
 
hehehe
 
@Gemtastic Yup, sounds like Sweden to me
 
12:29 PM
@AniketDeshmukh don't mind me. I'm jealous I guess :-)
 
@fge this ensures that you don't pollute the global space by accident
 
:) i am trying to complete my beginner phage early as possible
 
If you want to expose something globally, there are a few ways of doing it (if you need to, give me a yell, but you most likely wouldn't need)
This problem will be solved in the near future with the introduction of ECMAScript6 modules
 
fge
No, I don't need that at the moment... I'm trying to get the basic layout of the main window to work
 
@SecondRikudo I have the feeling that this will break a lot of stuff if I do this in my current project at work
 
12:31 PM
@Vogel612 Entirely possible.
 
fge
Deary me, I suck badly at HTML/JS and friends
:(
 
But this just means you need to add window.oldImplicitGlobal = oldImplicitGlobal at the end of it.
 
@SecondRikudo where have you learned that? First time seeing someone recommend it...
 
It's a bit more code, but now it makes it super obvious what gets in, and what comes out.
@HamZa Not sure, hanging out in the JS room I guess?
It makes sense though
JS's scope is, by default, global.
 
I see... Some high level JS abstraction there
 
12:32 PM
JS has functional scope, so in order for you to induce scope on a piece of code, wrap it in a function then call it.
Because functions are first class citizens, you can define a function and call it on the spot
That's (function() { ... })();
'use strict'; is good practice all over
 
@SecondRikudo So you use the first "()" to enclose that function and the second () to call/execute it?
 
But using it in global scope is bad as well, because some libraries may abuse non-strict mode and will break if you add it globally.
 
@SecondRikudo Yep. There's only two jobs you really don't want in this country; field salesman and telemarketer. Those are almost always provision based and it's really hard to sell stuff that way.
 
@HamZa Right
let foo = function() { ... };
foo();
Same as this ^
 
@SecondRikudo What is use strict?
 
12:35 PM
@Unihedro use strict enables the "strict mode" flag on the current scope
 
Care to share? ;)
 
it's similar to Option Explicit in the vb family
 
TIL. Thanks
 
Thanks!@
 
12:36 PM
that being said... how do I properly pass a DOM element to the click listener bound to it in js?
 
Hellow *All
 
var checkbox = document.getElementById('select_all_cb');
checkbox.addEventListener("click", function() { select_all(checkbox); });
 
@Unihedro Basically: No implicit globals, this will not magically become window, and a bunch of other stuff
 
^ doesn't work... but it works if I "inline" the checkbox.
 
Oh Im in a wrong Room....
 
12:37 PM
@deadlydragon00 Welcome to the carpet room
 
Hello
 
@Vogel612 Sounds odd, jsfiddle?
 
fge
Hmm
I am starting to seriously consider using AngularJS
 
@HamZa gi hamzam, I think this Room evolves for a short time :)
 
@fge ACK, it's also slow here
 
12:38 PM
@fge better know directives and scopes
 
@fge Angular is OK, but what problems are you having with JS?
 
But, I'm here
 
Angular JS has also Dependency Injection
 
Angular has some particular use-cases, and it's not always the right job.
 
fge
@SecondRikudo lack of knowledge for one, but that can be fixed; also I have no knowledge of HTML at all, so I'm using jqWidgets... And it has bindings for angular and a few others as well
 
12:39 PM
@Joe'sMorgue heya. The son?
 
Angular JS is awsome also in terms of Data Binding... so simple
 
@fge For binding, I'd go for Knockout.JS
 
fge
It does support knockout.js indeed
 
Not today...
 
fge
For me it's just a name for now :(
 
12:40 PM
@deadlydragon00 Eh
 
WE were here not long ago, as he needed helps with homework
 
Hi @SecondRikudo :D
 
@fge Knockout has excellent docs, and a very intuitive interface.
You define an observable, link it to a DOM node with an attribute, and that's it.
 
Angular is Powered by Google so I win , LMAO ...:D
 
Whenever you make changes to the observable, DOM is updated, whenever you change the DOM, observable is updated
@deadlydragon00 And Knockout by Microsoft.
 
fge
12:41 PM
Uh
Too many choices :(
 
@deadlydragon00 Google is powered by Sharepoint.
 
@ItachiUchiha @Unihedro @fge @Gemtastic How have you been?
 
@Joe'sMorgue Horrible.
 
fge
@Joe'sMorgue work, work, work
 
@Joe'sMorgue Been doing good :)
 
12:42 PM
hi @Unihedro
 
@fge Must you cuss?
 
Hiya @deadlydragon00 :]
 
@Unihedro What's wrong?
 
@Unihedro did you get the job?
 
@Gemtastic Good to hear
 
12:42 PM
@deadlydragon00 ... Kinda.
I still have to write to fge though.
 
@Unihedro excellent :D
 
Their boss, rather.
 
@SecondRikudo gg... norepro
 
@Vogel612 :)
@Vogel612 That implies that the variable gets changed by someone under your feet.
 
probably because I removed all the other junk js ....
 
12:44 PM
You remember why Java's Lambdas require final values?
 
for an mcve
 
Exactly for that reason
You can solve this problem with a closure, but it's ugly
 
well with java it's a little worse actually. consider someone getting a null in there
 
var checkbox = document.getElementById('select_all_cb');
checkbox.addEventListener("click", (function(checkbox) { return function() { select_all(checkbox); }; })(checkbox));
 
eeek
 
12:45 PM
Horrible, I know :P
BUT
 
give me a moment I think there was an unbalanced brace in the real code
 
Why does select_all accepts a node?
 
because I need to grab the checkedstate of the node
 
@Vogel612 In an event handler, this is bound to the element that got clicked
 
ya.
I already changed that
 
12:46 PM
So if you change your checkbox in select_all to this, you can do
 
JS really frustrates me the callbacks
 
checkbox.addEventListener("click", select_all);
 
if (this.checked) ....
so far so good. that was the working fiddle ;)
 
You can also not rely on this and use event.target
Although there are differences in some cases
document.addEventListener("click", function(e) { if (e.target.id === 'select_all_cb') { ... } });
 
hrm.. that seems like a bad idea..
 
12:49 PM
@Vogel612 Depends
In this case, this is the document, and e.target would be the actual element that got clicked.
 
okay so I got this utility lib...
 
This has an advantage when you have 50 elements with the same class, that need the same handler
 
named YAHOO, jumping around in my global namespace...
 
You add one handler on the common ancestor and and filter by class name, rather than add 50 event handlers for each element
Better performance, easier debugging
That's called event delegation
Moreover, if you add new elements with the same classname under the common ancestor, your event handler instantly applies to them too, and you don't need to worry about it :D
(Of course it doesn't have to be by classname, it could be anything)
@fge BTW, that's kinda why I wanted you to see me starting a JS project the other day
To give you a clue about JS patterns and how to do common stuff
 
great... It was an unbalanced brace...
 
12:54 PM
Why are we talking this much JS in the Java chat again? ;P
 
@SecondRikudo I somehow missed it. Sleeping
 
@Gemtastic Because @fge and @Vogel612 brought it up and now I have a boner.
 
@Gemtastic my fault...
 
fge
@SecondRikudo meh, we'll see when the time comes :p For now I have succeeded in having one menubar with one entry
Yaaay
:p
 
@Vogel612 Stop arousing the JS nerd ;P
 
12:55 PM
sorry...
 
@fge in HTML?
 
js was being js on me again and .... I just.. couldn't resist getting competent help
 
fge
No
Using jqWidgets...
 
@fge There are menubars with jqWidgets?
 
fge
Yes
 
12:56 PM
(This is why I dislike jQuery plugins)
 
fge
There are trees, panels etc
Everything I need
 
Why not use Twitter Bootstrap
 
fge
And looking nice as well
 
I made already an HTML5 website using twitter bootstrap, it looks cool
 
WHYYYYY!!!
 
12:57 PM
@fge Speaking from experience, even though I don't know the particular case of jqWidgets, it often comes at the cost of horrible performance.
 
fge
@deadlydragon00 I am too inexperienced to consider using other frameworks now that I have settled on what I want to use
 
just... effing... great
 
I'm not saying don't use it, but for your own sake, please hide it behind a facade :)
 
fge
@SecondRikudo performance is a secondary concern here; what needs to be fast is the server side :p
 
@fge That's the mistake everyone makes.
 
fge
12:58 PM
And it is
 
The bottleneck on most of those apps is the client-side and not server-side.
 
fge
Well, it's not like I have a bazillion widgets either
 
Because excessive DOM interaction (which jQuery is a master of) is expensive
 
@fge I think you are currectly learning DOM level 1 right?
 
fge
It's the debugger, just with a web interface
 
12:58 PM
ermagherd...
 
Anyway, create your own global object Widgets, and hide all of the methods regarding widgets behind that.
 
checking a checkbox in the table makes that strange table-widget thingy change something
and then the listener doesn't properly iterate it anymore
 
fge
@deadlydragon00 none of this stuff; I want to get stuff done, I'll try and make it perform better when I have a first version of it :p
IF I have performance problems at all
 
woot-woot :D
 
fge
Premature optimization is the root of all evil
 
1:00 PM
@fge That's true, but I know for a fact that jQuery is slow, and jQuery plugins are an abstraction over jQuery so they're even slower.
Again, not saying not to use them, but it is a point where you want to insert a seam
 
seriously JQuery is slow?
 
yes.
 
in comparison to vanilla it's slow as hell
 
jQuery only really gives you an edge when you need to support IE6..8
If you don't, then you don't need it.
 
1:01 PM
^ there you go
 
jQuery is an abstraction over DOM, because DOM used to be uglier than Java 6.
 
12mil. Ops vs. 350k Ops
 
Oh thanks for that info I'll tell google :D
 
@deadlydragon00 IE6..8 have around .5% usage globally
Do you know how much money .5% of Google's yearly income is?
 
hahaha ... Reality :D
 
1:03 PM
Worth using jQuery for that :D
 
How much?
 
@deadlydragon00 More than everyone in this room makes over their entire lifetimes, combined.
 
@SecondRikudo meh. not so sure about that, yet.
 
> Last year Google finally crossed the $50 billion mark, growing 32 percent from 2011 to close 2012 with $50.2 billion in annual revenue.Jan 22, 2013
That was 2 years ago
Even if we do not assume growth
.5% is still $250 million
 
Your are really stalking them all this years
 
1:05 PM
== More than what everyone in this room makes over their entire lifetimes :D
 
250 million dollars are not that much when seen on a lifetime
 
@Vogel612 Uhhh, yes, they kind of are.
It implies 2.5 million dollars per year, from birth to age 100
 
oh crap. I missed a few zeros there
(better grab myself a coffee)
 
fge
Plan: 1. grappa-debugger-web, 2. Sonar plugin to open the trace obtained from a given project file
Heh
That's fun
 
1:12 PM
well it sounds more fun than trying to get that junk to work..
 
Hey I will be also building Opensource Student Spyware, everyone is welcome to contribute .... 77 percent already
brb
 
@fge OS?
 
fge
Well, Linux
OK, opening a file upload dialog in JS...
 
1:28 PM
I know this is a Java forum, but I has a *nix question.
 
fge
@Joe'sMorgue shoot
 
If I have a *nix that reads/writes NTFS, does it honor write protects, or can I force delete files?
 
fge
Uhm, good question but I believe it is configurable
Is that using ntfs-3g?
 
I have files on this machine I cannot delete because I don't have permission too [I have admin access]
I was thinking native
 
fge
Ah, I see
Well, when you mount an NTFS filesystem you select which user owns it
And the elected user can do anything
 
1:32 PM
Sweet
 
fge
At least that's my experience with Linux and ntfs3g
(which is much better than the kernel-provided NTFS support)
 
I was thinking about simply using a live cd
 
fge
Well, that would work, yes
But why not just install Linux and ditch Windows? :p
 
This is the family machine...
Need MS Office
 
okay wut?
 
1:36 PM
MS Office sucks
 
aside from that....
checkbox.removeAttribute('checked');
checkbox.checked  // true
but:
checkbox.setAttribute('checked', 'checked');
checkbox.checked // true
 
1:52 PM
@Vogel612 that's the difference between properties and attributes.
It's subtle, but it's there
 
so... I'm supposed to use the property?
 
When dealing with DOM nodes, you always want to manipulate properties, yes.
 
it feels like I am violating everything I know about proper encapsulation
 
2:07 PM
hi
 
hello
how to visualize insertion sort? any ideas?
 
@Vogel612 How so?
 
@user4275686 Watch a video about it.
 
@Unihedro I got a few but all of them explained the same..not too useful!
 
@SecondRikudo ` element.checked = val;` instead of something encapsulated like: element.setChecked(value);
 
2:12 PM
I just had few questions about it.
 
@Vogel612 Ah, yeah, I know what you mean.
 
@user4275686 Are you kidding? How does "they all explained the same" correlate to "not too useful"?
 
But that's because element.checked is an observable
 
@Unihedro i meant if they all have been even a little different then I might have been able to get get different perspectives.
 
2:17 PM
@user4275686 That's still miles away from "not too useful". Not sure where your hint of inference comes in, but don't worry about it.
 
@Vogel612 what i understood from this video is : 1.Each element compares with its left adjacent value. If smaller then swapped else not swapped. 2.The moment when swap stops is when the control goes to next element and repeated. Is that it?
 
I also understood it like that
 
I thought the lesson is that once you have things sorted out, it's time to dance
 
@kiheru That as well.
 
Isn't it the other way round??
dance until you have things sorted out?
 
2:23 PM
@Vogel612 we live in an either/or world. There's not one right answer.
 
your statement is inherently contradictory...
 
@Vogel612 That's... Hilarious. :')
In a good way
 
hey so finally got the JSON file parsed in correctly, I'm wondering now how I should go about building a graph from that JSON? Any advice?

This is an example of the parsed JSON:


http://hastebin.com/ecagahowec.vhdl
 
@Vogel612 care to elaborate?
 
either / or <-- 2 valued
there is not one right answer <-- not two valued
from (2valued) follows (not 2valued) is a contradiction
 
2:30 PM
@Vogel612 oh , ok!
 
2:46 PM
@Unihedro are my conclusions correct above?
 
... Which?
 
@Unihedro 1.Each element compares with its left adjacent value. If smaller then swapped else not swapped. 2.The moment when swap stops is when the control goes to next element and repeated. Is that it?
 
3:32 PM
maybe my newest question would've been better off at dba?
 
3:54 PM
@Vogel612 @Gemtastic need your help
codegolf.stackexchange.com restart their egg :P
 
hell no
I feel bad enough for not getting points on codereview
as if I'd go to the nemesis and help them!
 
doooo eeeeettt
 
@SecondRikudo Ping me when you have enough forces to the point where I'd make a difference, I'm going to do something productive in the meantime.
 
@Unihedro If you guys helped rally the troops, it's go a lot swifter :P
 
I could poke at the SO tavern & TPC, but Fox is there
And he's from PPCG >:(
The factioning on Stack Exchange is wayy more complicated than that of factioning on Stack Overflow -_-
in Tavern on the Meta on Meta Stack Exchange Chat, 16 secs ago, by Unihedro
in Java on Stack Overflow Chat, 6 mins ago, by Second Rikudo
https://codegolf.stackexchange.com/ restart their egg :P
Welp, the big meta ftw.
It's not helping. xD
 
4:02 PM
@SecondRikudo ಠ_ಠ
 
@ProgramFOX RESTART
 
@ProgramFOX RESTART
 
EEEEEEEEEEEEEEEEK
 
@ProgramFOX I'll have a serious conversation with your parents mods about the foulplay that happened here today.
 
I don't know, I'm still under Madara's control empirically.
Restart!..
Can we just all vote Ask, will that help?
So they never get an answer xD
Ugh, whatever. ~productivestuff
 
fge
4:21 PM
Gee, I knew I would have some trouble but not that much trouble :(
 
@fge Now what? :)
Know what? I'll be getting home in about 30-40 mins
Want me to host a hangout and help you out with those frontend stuff?
 
fge
@SecondRikudo the problem I have is that spark does not handle multipart
And I fail to see how to configure it
I am more and more inclined to just go jetty :/
 
@fge What?
Sounds suspicious
:/
@fge github.com/perwendel/spark/issues/26 have you seen this?
@fge Why don't you bite the bullet and go for an iojs server? :D
It'll make your websockets easier, that's for sure
Alright I'm heading home, ttyl
 
fge
I have dropped websockets for now
And I think I'll drop spark too
 
@fge Is this OS?
 
fge
4:36 PM
OS?
 
Open Source
 
fge
What is?
spark?
 
@fge What you're working on
I know Spark is OS (I just linked to an issue on github XD)
 
fge
Yes it is
It's the grappa debugger, web version
 
@fge What's the interface?
Same debugger, different views? How does that work?
 
fge
4:39 PM
Well, I want to make it look like what I currently have
I need to be off for a bit
 

« first day (1620 days earlier)      last day (3322 days later) »