« first day (1545 days earlier)      last day (3401 days later) » 

user1596138
4:00 PM
@NickDugger I installed that Android L update and it bricked my phone lmfao
 
@BenjaminGruenbaum hence, I have been looking at coolermaster.com/cooling/cpu-liquid-cooler/nepton-280l
 
oh, that sucks
 
var btnA = document.getElementById('button_a'),
    inptA = document.getElementById('input_a'),
    foo = document.getElementById('foo'),
    bar = document.getElementById('bar'),
    btnSave = document.getElementById('button_save'),
    //... a handful of other elements I will need to interact with
    // they are not single interactions so I will want to
    // keep these refs global right? seems messy with so many
 
@tereško I've heard good things about the corsair equivalent from a number of people for years, so that seems like pretty solid tech.
 
user1596138
Yeah and the flash tool only works on Windblows and I don't have that nearby
 
user1596138
4:01 PM
So I don't have a phone
 
@ssube there is also a corsair alternative in the same price range
it's not cut in stone
 
looks like it's $60-120, depending on size
 
user1596138
^ ping me for details
 
@rlemon Hey, that's not an android phone! You thought I'd confuse a Nokia phone for an Android one, didn't ya?
 
4:08 PM
@ssube no shipping to Latvia
 
@BenjaminGruenbaum I agree, unless they are closed systems
those are dead simple now
but custom water cooling is only worth it if you plan on showing it off
 
like this:
 
@Loktar "dead simple" is still a lot harder than installing a fan, which itself requires non trivial stuff like applying thermal paste in a non-shitty way.
 
you have to admit, that is damn sexy
 
@BenjaminGruenbaum no its not anymore
the closed systems are easier than fans imo
 
4:10 PM
@rlemon That's a pretty interesting setup
 
like.. you just attach the heatsink and thats it
 
@Loktar oh, you mean submerging the computer?
 
^ no a system like that I mean
I have that on my processor currently
 
it was easier to install than any amd heatsink/fan lol
 
4:10 PM
@Loktar Oh, that's just expensive and not as effective.
 
I hate the amd clips though
 
user2620028
That sucks hawins
 
What? Its totally effective
the 9590 doesn't even come with a stock fan
so you have to get some sort of after market setup, the h100i is highly rated
my processor gets to like.. 95f at the hottest now, its great
 
user1596138
Nah I'll have it fixed in a few minutes OTA updates always just screw the boot partition for me it seems
 
!!convert 95f to C
 
4:12 PM
@rlemon Command deprecated. If you want it to stay, ping Zirak.
 
@Zirak
 
35
 
@Loktar I'm overclocking almost everything on my desktop on fans, it's much cheaper, about as silent (huge cpu fan heat sink and GPU heat sink so it's pretty tight though)
 
I overclock my 2500K (to 4.1) with stock fans
 
@BenjaminGruenbaum lots of components are starting to come with closed systems as stock now
the 295x's for example
fans alone just can't cut it for everything anymore
 
4:13 PM
@BenjaminGruenbaum cheaper until that heatsink and your cpu just fall off one day. That's why I've never gone with huge heatsinks, don't trust the silicon.
 
and the 9590 (amd's top desktop processor) doesnt even come with a stock fan at all, you need to use some sort of water cooling
 
user1596138
It fixed now price goes up
 
I'll buy another computer when I get one of those
 
@Shmiddty just replace the monitors with the Rift cv1, and you have a better setup! :P
 
hey @rlemon
may be this can help u:
var intCntr;
var arrStrAllElementsNames = ["Element1", "Element2", "Element3", ...];
for (intCntr = 1; intCntr < arrStrAllElementsNames.length; intCntr++) {
    window["var" + intCntr] = document.getElementById(arrStrAllElementsNames[intCntr - 1]);
}
 
4:17 PM
@Loktar are you sure?
 
they are still global
 
@Shmiddty some amazing impressions at CES I guess
 
if u have all the names of ur 'Elements'.
 
my complaint isn't the bulk of the code, it is that I have like 12 globals because they are DOM elements I need to interact with constantly.
I just don't like putting 12 globals, but I don't see a way around it that doesn't involve more DOM access
so it comes down to; what is the lesser evil? a few globals or extra DOM access
 
@Loktar that thing is not really for normal people
it need a 250W socket to begin with
 
4:20 PM
@ssube oh it's attached by 4 screws
 
also, it's aimed at enthusiasts not gamers
 
@BenjaminGruenbaum all the way through to the posts? I've seen some pretty big sinks that just stuck onto the CPU mounting thing, which wasn't attached to the case.
those were scary
 
that sounds terrifying.
 
@rlemon sry, but I can't get ur words. 12 globals means that u have 12 variable parts in the Global Scope in different files or something like it in ur code?
 
don't worry about it. I'll just deal with what I have
it isn't an issue, I was just curious what people thought
 
4:25 PM
@rlemon -> I know
u want to know ideas about this:
> what is the lesser evil? a few globals or extra DOM access
 
I don't know why people are confused by "globals"
i thought that was a pretty straight forward concept in JS
file.js
var foo = 1; // I am a global
(function() { var bar = 1; }()); // I am not
 
@rlemon I know that
I only wanted to ensure about it
 
yes, so if you had a choice between having a bunch of element references as globals or just re-selecting them from the DOM every time, what would you choose
 
user1596138
@Shmiddty I can't find it but Ovation used to have this collapsible dome thing and a spherical projector system so you go inside, pull the rear of the dome down and ~80% of the dome you're in is screen space
 
dat gcc
 
4:28 PM
@rlemon it's hard to answer
 
user1596138
 
user1596138
Like that except for it makes a full sphere (minus ground)
 
user1596138
I played with it
 
may be I prefer to have bunch of variables or re-select them
 
@argentum47 are you there?
 
4:30 PM
@rlemon but in ur situation, I prefer to re-select them
 
@GNi33 I don't think so. Looks weird. There was another police officier that was killed this morning in south paris, but we don't know if there is a link or not.
Thinking that the guys would let their IDs in the car, it's pretty weird.
 
@MRS1367 how do you know "my situation" ??
:P
 
user1596138
You could just buy it right there in the store but I can't find it anywhere. Oh well
 
@dievardump yeah. and the stuff they left in the second car, it's weird indeed
 
Some websites show that photos of the cars that was at the scene and the car that was found might not be the same. Like a false to conduct police on a false track
 
4:31 PM
@rlemon cuz, if I store all of them in global variables, I will occupy some memory (may be huge) till my code lines run out.
 
IS flag, some mags, molotov cocktails. They look trained in what they do, why would they leave stuff like that behind?
 
so, I prefer to add them in every where I need them
 
but then you have to re-select them from the DOM every time, which is expensive.
 
but, this is evil too. but, I prefer it in some situations like this
 
I hve no idea. I'm not a police man, I can't even think of it properly. There is professionals, good ones on the thing. If they can't find something, there is no way I can. So I just wait for news.
 
4:33 PM
@rlemon -> exactly
 
My moral is just down. I can't think of how people can do that. It's just monstruous. Barbarism.
 
and every time I need to run some code lines again and again
 
user1596138
@HatterisMad at least it wasn't -8 this morning in Thailand
 
but, imo, I prefer it, cuz it doesn't occupy memory till codes run out
 
user2620028
@Jhawins yeah hangon let me check what it was this morning :)
 
4:35 PM
furthermore, it depends on ur logic of program/coding
 
user1596138
Like 75F haha
 
ok,. moving on.
 
user2620028
it was indeed lol
 
user2620028
peace. watching movie and heading to bed.
 
so node-webkit offers some neat 'file input' capabilities. one of them being 'save as' functionality
<input type="file" nwsaveas />
 
user1596138
4:35 PM
They closed school today and tomorrow just for temperatures. ALright later on lol
 
anyone know where you specify the contents of the new file ;)
docs don't say
 
user1596138
> Starting from v0.7.3 you can specify a value for the default file name to save:

<input type="file" nwsaveas="filename.txt" />
 
user1596138
I assume it comes up with a "choose file" button
 
contents, not name
 
user1596138
input type file should be a prompt for said file?
 
4:37 PM
so I just get the name from the input and require fs and write it?
that makes sense
 
user1596138
I think. I haven't used it
 
for a moment there I forgot I had fs access
node-webkit you code very much like a regular webpage, but node is available everywhere
 
@rlemon I've not use it
 
the spartans are coming
embrace yourself
web developers
 
@rlemon so, which one u will select to do ur task?
 
4:39 PM
globals
 
Dan
hello room
 
@rlemon is this for your desktop app? cause globals will probably do the trick there.
 
where are the spartans ?!
 
Evening!
 
4:40 PM
@ssube yup
 
About time we will have a header warning telling how to switch to Chrome in spartan
 
but the question was more general
 
@rlemon u know better than the others (and me) what is better for ur project :)
 
Dan
can anyone help me understand why using jquery prepend() is actually wiping out the entire div's content rather than prepending html to it?
 
4:40 PM
IE is rebranded re writtten as a spartan
 
often I find myself with a lot of global elements to avoid DOM access
 
user1596138
My understanding is nwsaveas is special for specifying files that don't exist? i.e. create new file?
 
just wondering what other devs do in those cases
 
holy crap
 
@Jhawins yea, I'm creating a file on the users system and writing to it. I just use the dialog to let them choose the name and location
 
user1596138
4:41 PM
But that doesn't make much sense lol
 
user1596138
Really? Then that does
 
user1596138
Interesting
 
I was confusing myself and thought the API provided a way to write to the file. then remembered I have fs module
so it's all good
 
user1596138
Ohh. Didn't quite get what node-webkit was I understand now.
 
@jAndy dat moment when you are so scared
 
4:42 PM
desktop node apps with webkit baked in
it's pretty sweet actually
 
that you spell crap wrong !
 
user1596138
Looks like it
 
@rlemon except for when you need desktop level apis
just saying ;-)
 
like?
 
Win.*
 
4:43 PM
write bindings for it
that is the beauty of node
 
GetWindowByName()
 
user1596138
True he came up with actual problems
 
@rlemon good :)
 
is something like that abstracted ?
 
@rlemon yeah it needs a product
**project
that binds atleast the common win and *nix apis
 
user1596138
4:43 PM
@darkyen00 was it accessing libraries in Winblows 8?
 
@darkyen00 on the rare occasions your UI app needs to do funky system-level stuff, you'll end up writing C/++ regardless of what tech you use.
 
user1596138
User media libraries.
 
I only have to deal with lower level hardware stuff
none of the 'windows' apis per-say
 
@Jhawins no
 
user1596138
Liar. It was :P
 
4:44 PM
what ? node-webkit ?
or WinJS runtime ?
 
user1596138
Shit man you were all over the place who knows
 
@Jhawins to use windows api's in node-webkit
there is a pure javascript wrapper
but its mines land
limited success
 
@FlorianMargaine No? I found this while trying to refactor it: kotka.de/blog/2009/12/Pointfree_vs_Pointless.html How would you write it?
 
user1596138
Eww
 
What's a good way to test if a bit is set in a number larger than 2^32? converting it to a binary string?
 
4:47 PM
Divide by 0x100000000
 
@KendallFrey cut off every below 4 billion and shift it down 32 bits
 
hmm, good call
 
@copy I'm a fan of the point free style.
 
@Jhawins wht are you exactly trying to achieve ?
 
user1596138
Nothing?
 
user1596138
4:48 PM
I'm not doing anything :)
 
@FlorianMargaine I miss $ from Haskell
 
@copy I guess you use some software to handle pgp in your mails?
@copy what does $ do?
 
Low precedence function calls
 
@Jhawins I learnt it this way, we are web developers and love thy browser .. graceful upgradation works pretty neat.
 
@FlorianMargaine gpg
 
4:50 PM
so if the app works in node-webkit it asks user explicitely for authentication, phonegap or winjs runtime it logs in using sso
 
@copy gpg directly in mutt? (I guess your mail client is mutt)
 
I thank u in advanced if anyone can describe why the following thing occurs (I only want to know the cause) [it's a sample code]:
why does occur TypeError: Object.getOwnPropertyDescriptor(...) is undefined error in the following code:
but when I add following code line to the Test function, all code lines run correctly, why?!!!
 
if a background network api is present (as in case of winjs) use it, otherwise upload when you are in runtime (mobiles iOS ) or use hacks (android has one which talks to native bg network) or just register as a service (WIndows / Desktop) and do the magic just stay in limits.
 
var fnFunction = new fn();
 
if "zlib1.dll" is missing from my computer, what do I do? Should I download the dll somwhere?
 
If you encrypt something for a public key you don't ultimately trust, does it ask for confirmation because "you don't trust this user etc"? @copy
 
@FlorianMargaine No, but it could
 
@NickDugger could be a different version but sure
 
I'm asking in your mail client, not by using gpg directly
 
I don't know
 
4:52 PM
@NickDugger Install the program correctly/reinstall it, or if it doesn't come with the libraries it depends on, stop using it and file a bug with the author.
 
@ssube I used MinGW to install gcc, and that bit worked, but now it can't find the dll. It looks like I might be able to install a dll from MinGW also, but this is my work pc, I might just stop messing with it and figure it out at home
 
oh, mingw is missing it. They've never bothered to make things install properly.
You can drop it in (what I've always done) or just tell them to get their shit together.
 
@MRS1367 I don't have any error.
 
that's been an issue for years
 
@dievardump -> check this one for get error:
3 mins ago, by MRS1367
http://jsfiddle.net/mrs1367/6fm8xrf0/
@dievardump -> it's correct version
 
4:56 PM
@ssube where can I get it, where do I put it?
 
@MRS1367 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined
That's not the same error.
 
@dievardump -> ok, it's not important
why in that code, an error occurs
but in the next version, no error occurs?!!!
 
Home.Option = new Test(function () {
    var test = "Test";

    Object.defineProperty(Home, "Option", {
isn't that weird ?
 
I just add an unrelevent code line:
@dievardump -> yeah
I know
but I only want to know why the code works in the second version
with adding this:
var fnFunction = new fn();
it doesn't do anything to other codes!!!
but by adding that code line, the error will disappear!!!
it's very weird!!!!
 
yes it does
it executes the function
that will define the Option property
If you do not execute it, it won't execute "Object.defineProperty(Home, "Option", {" and so Option won't have a descriptor
 
5:01 PM
@dievardump aha, it creates the property, right :P
I'm very stupid!!!
yes, u right
@dievardump so, sry for this silly question and tnx for ur replies :)
 
morning
 
@Catgocat Evening
 
screw mingw... sucks butt. I'll try cygwin when I get home
 
@Catgocat That's an inconsistent standard as I will be leaving shortly
 
5:10 PM
@Neil We'll see
 
We should all stick to Zulu time and be done with it
 
^
 
In which case it is evening :P
 
@NickDugger don't worry, cygwin is worse
 
5:26 PM
Morning!
 
@ssube why is life hard? I'm just trying to get gcc
 
I select class div with jQuery like this: $('.menu').whatToDo('to add another list element in the ul in my MENU') ?
 
@NickDugger then run linux
 
or install an actual windows version of gcc
 
5:30 PM
is there some function to select : ul ?
 
@animaacija I suggest you read the jQuery api and learn what it actually does
 
Yeah i just started to read docs jQuery .. time consuming..
 
user1596138
Don't read the docs. You're using jQuery just clusterfuck it up
 
jQuery is bad for your brain.
It gives cancer.
 
I believe so... i stood up agains jQuery soo long... I was jQ hater. Just used javascript.
 
5:39 PM
@Catgocat that's BASIC
 
But i admit, here is faster to select elemnt by class, besides im editing site who alredy uses jQ
 
-1
Q: The method getSettings() is undefined for the type CordovaWebView

Alex StaneseHello I need some help regarding the communication between crosswalk and java. I used to create phonegap apps and now I implement the code into crosswalk. Before, in phonegap apps, I used to add these lines in Java: JavaScriptInterface jsInterface = new JavaScriptInterface(this); appView...

 
There is a terrorist organization, making up frameworks and programming languages that harm your brain to destroy all the americans and europeans.
 
I think Go was a bad choice... kinda like milk
 
premade library, by some guy... why should i learn that - just the way some guy was thinking at some point in time! :D
 
5:41 PM
There just isn't the support needed for newbies like me
 
Hey, need a jQuick hand- how to select last <li> elemnt? My console prints selected element like so (On calling.html()) :
 
@animaacija I'm going to tell you once more, read the jQuery API documentation.
It has everything you need to know
 
<ul>
<li><a href="http://localhost/1345345">12423535</a></li>
<li><a href="http://localhost/1345345">12423535</a></li>
<li><a href="http://localhost/1345345">12423535</a></li>
</ul>
@NickDugger -.- p
 
We won't do the work for you; you asked for help, I pointed you in the direction you need to go.
 
Well if i had a tricky question, then you might be interested.
 
5:46 PM
you don't have a tricky question, though
you have a, "What's jQuery, how does it work, what is the API?" question.
 
Someone asks a question, no answers. I type my answer, and submit. When I see, there are already 3 answers and two have upvotes.
 
console.log($('.menu').("#prev ~ ul").html());
=/
 
Live is hard, till you die. There is no life then.
 
then afterlife is hard!
 
This room always smells so good
 
5:52 PM
@animaacija - api.jquery.com/last
Strangely enough, the method to select the last element in a collection is called ..... wait for it ........ last()
 
Look mom, it's Mr. Burns.
Just finished reading it.
 
@adeneo I had that dream again, you know, the one where you fly through the window.
 
@adeneo can i check this as answer somehow?
 
@rlemon - please do not post your kinky poop-dreams involving me here, or at least wait until I'm afk
 
5:56 PM
 
Haha
 
@rlemon - is that a lump in your bed I spot ?
or is it just your knee ?
 
Thanks for not posting pictures of Mohammed. Getting tired of seeing him
 

« first day (1545 days earlier)      last day (3401 days later) »