« first day (1439 days earlier)      last day (3513 days later) » 

3:00 PM
@Basj with (tb.styles) { fontsize = '20px'; whiteSpace = 'pre'; position = 'absolute'; }
 
function applyStyles(elm, styles) {
  for( var key in styles ) {
    elm.style[key] = styles[key];
  }
}
 
It seems to happen when the jQuery dialog is showing a scrollbar but the scrollbar is just about the height of the dialog itself.
 
@FlorianMargaine I hate you
 
do we have any fart detecting telescope ?
 
@rlemon 2.9
 
3:00 PM
@FlorianMargaine thanks ;)
@rlemon why do you consider it as bad ?
 
maybe coded by javascript ? fart detecting script
 
there are many reasons not to use it for stuff like this
mainly being that it is super ugly to read
 
user1596138
!!google javascript farts
 
Server error (status 500) occured (message probably too long)
 
user1596138
Strange
 
3:02 PM
yeah I've never agreed with the "DONT USE WITH"
i used it in my js1k's and didn't give a fuck.
 
honestly, I see places where it would be nice. and for golfing it is obviously powerful .
 
If you can't tell whats going on you shouldnt be programming.
 
but it is so ugly, and makes me have to start looking at object properties to see what i'm actually accessing
 
Thats what all the arguments against with seem to be.
and Crockford ofc started it.
 
var name = 'kate';
var obj = { person: { name: 'john', age: 25 } };
with(obj.person) {
  name; // this value is 'john', but is it clear when reading this line?
}
 
3:03 PM
with is the same kind as eval
 
you can't say this isn't confusing at a glance
 
user1596138
lol I can't see any reason to use with
 
@rlemon if you know what with does its not confusing
 
user1596138
Unless you're trying to obfuscate?
 
nesting it is definitely
 
3:03 PM
trick quizz: what are the 2 ways to create a new scope in js?
 
user1596138
with could be powerful for obfuscating i.e. confusing the shit out of other devs who didn't start at line 1
 
@Loktar I know perfectly well what it does, however reading that code for the first time I would have to take a second to see what it was doing
 
@FlorianMargaine What's a scope?
 
without with I wouldn't have that pause
 
really?
idk maybe its because I've had to work on legacy code and have seen it used in production quite a few times
 
3:04 PM
@Kippie it's used for aiming guns
 
user1596138
@loktar the with contents could be huge.... Imagine being ~30 lines into it because some jackass thought it would be a good idea to do everything inside with haha
 
I've used it in production quite a few times :P
 
@Jhawins I mean you can make almost anything ugly
 
@KendallFrey Oh, that's for noobs. I 360 noscope everything
 
I used to be all about it, but then I started working on larger projects where I would have to leave and come back to it months later
 
user1596138
3:05 PM
Or imagine being stopped at a breakpoint inside of a with{}
 
just do it right like all things :P
 
now i'm all about transparency in my code
 
@rlemon can you get your canadian friends to buy stuff from target please?
I own a lot of stock and you guys are letting me down
 
user1596138
The local scope would be so confusing you'd be like holy fuck where did all these come from?!
 
@SimonSarris can you get target to start stocking their shelves?
 
3:05 PM
Hey,
 
@rlemon no :( BUY THINGS
 
I would buy stuff, but they never replenish their shit
 
@SimonSarris How does one go about buying stocks? I tried looking into it last week, but it was too confusing
 
oooohhh! so, with solves a problem I had earlier
 
I HAVE NOTHING TO BUY!
 
3:06 PM
only time I've been crazy annoyed or confused with with is when people have done nesting shit
 
  with(context) {
      A = function (color, x, y, radius) {
          radius && a(x, y, radius, 0, 7, 0);
          fillStyle = color.P ? color : '#' + 'ceff99ff78f86eeaaffffd45333'.substr(color * 3, 3);
          f();
          ba();
      };
my fav js1k trick
 
with a function, given a string, return the property of an object with the string as it's property
 
eww wth its no formatted
 
function(str){return obj[str]}
fair enough
 
3:07 PM
@NickDugger open a brokerage account somewhere, fidelity, scottrade, usaa, etc
 
but when you want to get a property of the property you can't do that
 
@NickDugger then buy stocks
@NickDugger then lose money
 
^
 
obj['a.b'] just creates another property of obj
 
I didn't know USAA did stocks
 
3:07 PM
yea
 
USAA is my main brokerage account
 
I know a lot of people who use USAA
 
so, with is the way to solve it?
 
I use scottrade
 
fidelity holds my retirement accounts
 
3:08 PM
@SimonSarris whats the trade fee?
scottrade is $7 per transaction
 
function(str){return with(obj){eval(str)}}
 
Has someone a suggestion on this one? Im almost there :) paste.jesse-obrien.ca/yPN
 
@Loktar WHO CARES :D
 
that's probably the worst function ever written
 
its like $8 without a lot of holdings, but is less when you have more than 50k in the account
 
3:08 PM
what you don't pay attention to the fee wth?
 
lets see
I have 460 shares of target
 
@Loktae Rich people don't need to bother :p
 
@SomeGuy hahah I guess not jeeze
 
right now thats $29,145.60
 
He's an established author, he has people to worry about that crap for him
 
3:09 PM
what's the commission if I sell it, as a percentage?
 
I wrote a poem in 7th grade once
 
@SimonSarris scottktrade makes your account unrestricted at 20k
which reduces the rates, its nice
you can also day trade at that point
 
if its 8 dollars its like 0.2%
I have day trading at fidelity (Fidelity Active Trader Pro) but I don't manage it ._.
 
guy at my work does currency trading
 
thats a retirement account though right? Not a cash account?
@rlemon ah yeah I've looked into forex
looks interesting but crazy
 
3:11 PM
I couldn't handle it. just watching the stocks.
 
@rlemon any tips ?
 
@Loktar I have a roth IRA and a SEP IRA, both of which you can trade with like normal brokerage accounts, its just taking money "out" thats an issue :D
 
I don't want to spend an initial deposit of $500... any sites that don't ask for one? I want to make money, and be cheap about it lol
 
@YourBaby no
 
:D
 
3:12 PM
@NickDugger like @SimonSarris is pointing out its better to trade at volume
you will get hit with 7-8 per trade
so like say you just want to dump $20 in
thats actually $28
 
yeah, dont trade small amounts
 
so now to make that up your stock has to perform better
 
Makes sense, so $500 would actually be not a bad trade
 
i want to trade 100K
 
besides watching small amounts of money go up like 50% is terrible if you only make like 50 bucks
 
3:12 PM
my brother got into penny stocks -- said it was a PITA
 
I got into penny stocks.. bought my last truck with them
 
I can afford the $500, but I'd rather jsut buy an xbox one
 
turned $100 into 8.5k
 
@Loktar yea he made like $500
 
oh man
@Loktar teach me master
 
3:13 PM
@Loktar hehehehe
 
SPNG was my favorite stock
 
but he was constantly worried about the markety
 
haha I got out before it turned out it was a scam :)
 
the stress. fuck that.
 
@rlemon ah yeah I mean for penny stocks you have to use money you dont care about
so there is no stress
 
3:13 PM
@FlorianMargaine Here's loktar teaching you: harkavagrant.com/index.php?id=206
THERE IS A LESSON FOR US ALL IN THAT COMIC, ABOUT EVERYTHING
 
haha
 
user1596138
Lol well this cig pretty much just exploded and now my shirt is burnt...
 
@SimonSarris thats pretty much it :P
 
a lot of life is being at the right place at the right time, and its often out of your control or vision
 
user1596138
Haha haha and my arm ow
 
user1596138
3:14 PM
Wtf hahaha
 
@SimonSarris I disagree
 
Unless figures like Alexander the great were just extremely lucky individuals.
 
@Jhawins we used to be able to get these in HS
they were.. fun :P
 
> exploding loads
 
3:15 PM
before adding new features, i'd like to debug (so many different browsers ...) my tool, can you have a try a few seconds on bigpicture.bi/1898oa ?
 
For instance I was lucky to be born in america, so my Target's shelves are always well-stocked, unlike certain other undesirable elements on this forum
 
but yeah @FlorianMargaine I watched the hotstockmarket.com/f all the time
there is a decent penny stock section
 
@SimonSarris whachusayin?
 
how much time did you spend on it?
 
I added various things, for example F3 / CTRL+F (doesn't work on Safari yet) for search feature ... search for example "escalope" on bigpicture.bi/1898oa ;)
 
3:16 PM
hah back then.. a lot :?
but that was when i worked in the gov.. so I mean I was on there like 3 or so hours a day at least
 
I'm good with my long term investments.
as long as my government doesn't crash, I will make money long term
 
user1596138
@lemon yeah I've had them haha. But I bought this pack this morning so no one got me that's for sure
 
@Basj don't do a prompt on beforeunload -- it's really irritating for users
 
@NickDugger what prompt ?
 
user1596138
FU@phillipMorris
 
3:18 PM
@Loktar whydat
 
@SimonSarris Im with @rlemon what do you mean?
 
@Basj when you try closing out of the window
 
about the "forum being well stocked"
 
@NickDugger oh yes... but if the user hasn't saved ?
 
Then just do it for the author of that board. If I'm just going to look at it, it shouldn't prompt me
 
3:20 PM
@SimonSarris oh I disagree that most things are just based on the right place right time
 
The bus is friggin crowded
 
You have to make your own opportunities
 
Ooh, this debate
 
for instance if I just sit on my ass at home all day, no amount of luck is going to land me an amazing job :P
 
user1596138
@Loktar I agree with you too in a way
 
3:21 PM
not that luck and opportunities don't come into play and help by any means
 
user1596138
They matter for sure
 
You all need to pipe down, I'm buddy inventing the future
Luck favors the prepared
Busy*
 
user1596138
But I am in Indiana right now where there is nothing hahaha. That doesn't mean I'm just in the wrong place and should let my dreams go
 
yeah definitely @Jhawins
 
@NickDugger or should I autosave (silently) every 10 seconds ?
 
3:22 PM
it means you should move to the right place (which you are working on)
 
user1596138
Exactly. I have to take action
 
@basj autosave would be neat, yeah
 
@NickDugger how does gmail etc. do for example ? do you think they autosave at every keystroke ? every 1 second / every 10 second ?
 
damnit @SimonSarris why do you leave I like discussing with you :(
 
could be hard for server if it has to write to disk all the time
 
3:24 PM
probably out there creating opportunities
 
@Basj save to localstorage on keystroke and to the server periodically / on long pauses / onbeforeunload
??
using localStorage as a buffer would be an idea imo. not sure if it is a good idea, but it is an idea.
 
@rlemon if I store on localstorage on keystroke, is it a buffer (in memory) writing, or a hard disk writing ?
 
localStorage is the browser
who cares about that ;P
 
Its in your dedotated wam
 
lol, poor kid
 
3:26 PM
Bah
QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv.
3
Mooooobileeeee
 
user1596138
@SomeKittens Hahahaha nice
 
@rlemon i don't want that every keystrokes creates a harddrive -filewriting (even if in localStorage). Do you think i shouldn't care ?
 
@Basj don't care about it until it presents itself as a problem
unless you have people typing like 10K keystrokes a minute you are probably fine
 
@rlemon true
 
@SomeKittens oh god perfect
 
3:28 PM
@SomeKittens as a ex-sqa specialist, I approve. :P
 
user1596138
@Basj You're not going to notice any performance issues just storing things in localStorage on keystrokes, how fast do you think a user can type? If you're doing a lot of calculations (or iterations) you may have to worry about it, but just using localStorage shouldn't matter
 
user1596138
on('keystroke', function() { // fake code obv
  localStorage.setItem('theThingy', JSON.stringify(theStuff);
}
 
user1596138
That's fine.
 
haha nice
 
3:30 PM
@Jhawins thanks !
 
user1596138
on('keystroke', function() { // fake code obv
  for (var i in shits) {
    for (var i = 0 etc. {
      localStorage.setItem('theThingy', JSON.stringify(theStuff);
     // we are 2 loops deep and this is getting heavier but the act of storing things is still not a big deal
    }
  }
}
 
@rlemon reminds me of this kotaku.com/…
fucking kotaku hate that site.. but the article is decent O.o
game developer drops a colored bead in a jar each day
 
user1596138
everything else you do is what you need to optimize. Because if you need localStorage there really isn't a good alternative that's going to be faster
 
has someone a Mac ? it seems that click+drag (or was it zooming?) on bigpicture.bi/demo is too fast.... someone told me, but I don't remember who...
 
@Loktar and that reminds me of the guy who spent like a decade + working on one game
can't find the link now
 
3:33 PM
hah yea
I read that article as well
 
actually didn't look like that bad of a game
 
yeah and good for him for finishing it
 
can you imagine the post mortem on that project?
 
haha yea
> Man I took shit notes when I was 11
 
user1596138
@Basj Zooming is unbearably fast for me (OSX 10.9.4)
 
3:34 PM
@Loktar lol
 
iirc he started it around that time right?
 
yea I think so
 
@Loktar recently I learned that games journalism exists and it is a cesspool of wild yarn
 
@SimonSarris omfg... yea
 
(that's me trying to be nice)
those journalists do no justice to an art form
 
3:35 PM
But! Thats great :)
 
Recently you learned it exists?
 
great you heard about it
means #gamergate is reaching large audiences
 
haha
I suppose so
 
I have a problem: I was trying to change some stuff with css by clicking on something on the page, without using js. I heard that a nice way to do that is to use checkboxes, 'cause you can click'n'toggle 'em.
I tried reading about it, it really does look simple, but I wonder why this is not working:
http://jsfiddle.net/11xh8dff/
 
My friend just called me a snitch for something I didn't do :(
 
3:36 PM
Total Biscuit sums it up really well imo. He basically says they are the new games journalists, and that traditional ones are dead
 
the gaming community is fucked. I mean, with respect, the recent media crap, swatting, general douchbaggery in online games. ugh.
 
they are so ridiculous all the sites releasing simultaneous articles stating "gamers are dead"
 
We're not dead.. we're just dead inside.
 
alienating their entire demographic lol
 
Big difference.
 
3:37 PM
it also showed the nastyness of a lot of other sites
such as reddit and 4chan
the huge amounts of censoring
its really sickening.
thousands of people were shadowbanned from reddit for supporting gamergate.
 
what is gamergate?
 
user1596138
@Basj I'm not gonna go dig through to see what's causing it but you are welcome to ping me here to have me try again/test something specific for you on this Mac is you need
 
Let me try to find the summarizing image one sec
 
@rlemon are you buying stuff? its working! google.com/finance?q=NYSE
 
3:41 PM
@SomeKittens I'm at work and afraid of clicking on it ;)
 
bleh I cant find the image
 
@SimonSarris lol
 
but basically gamergate exposed the incestuous relationships in game "journalism"
lots of games are propped up to line others pockets at events such as IGF
its all pretty messed up/sad
 
I was disgusted when I learned that "swatting" was a thing, and happens more often than I could have imagined it would.
 
games journalism is prone to cronyism on a larger degree than regular journalism due to the nature of the journalists and the events
 
3:43 PM
@SimonSarris yeah.. and it goes really deep
there was a secret mailing list discovered
where the journies of all the high profile sites talk and promote the same agenda
 
ohh yea
 
was leaked by Milo of Breitbart
 
Congrats @India on making it to Mars!
 
he has been really digging into it all its great.
 
@rlemon I guess I'll pretend to be @India
So thanks!
 
3:44 PM
haha
 
o/
 
grats @SomeGuy for your country doing something cool!!
 
outstanding work you are doing there
 
user1596138
lol is there really an issue with the gaming industry? I think people need to just stfu and play the games. The only problem is that everyone thinks their opinion matters
 
3:45 PM
I have too many people inside me
5
 
^ the US telling other countries how to do things :P
 
repost! we got a repost here!
 
user1596138
If you don't like something don't buy it and don't use it.
 
@SimonSarris lol going to use that link all the time now.
 
3:46 PM
@SomeGuy tell us all about the people who are inside you
 
user1596138
If you think a game is sexist... Well in some cases you can be right, but usually you're just a twat and you should stick to games that you don't get emotionally involved with
 
please.
 
@Jhawins yeah too bad they all try to influence the industry as a whole :?
 
Linda!!
 
if you want games how you want them.. fucking make one then
stop trying to force others to create your vision
 
user1596138
3:46 PM
@Loktar lol what?
 
HL2 was my favourite game, to-date, and I'd say that it's not sexist at all... as long as you don't mod Alyx's model... lol
 
user1596138
Right exactly
 
@Jhawins I mean the feminists and SJW's
they try to influence and push the entire gaming industry
 
user1596138
If you want something changed don't even open your mouth to bitch about it unless you're willing to do something about it.
 
and they have been "winning"
yeah exactly
 
3:47 PM
> Dildo's are unrealistic of the male member and are creating an unrealistic, and quite frankly sexist, image of how a man needs to be equipped. I try not to look at them but I can't help it when i'm in the giant dildo isle in the porn shop. I mean, they are everywhere!
 
@rlemon They're smelly and rude and overuse the word "sir"
 
user1596138
Usually the complainers don't have a real job
 
@SomeGuy ... Woosh
 
user1596138
As in, a game blogger is not a real job when all you do is bash the industry
 
user1596138
Show me what's new. Don't complain about what's old.
 
3:48 PM
!!afk lunch
 
!!afk thrifting
 
user1596138
Idk I just fail to see the problem. How are gamers "dead"? How is anything at all about gaming deteriorating? Everything is fine.
 
@Jhawins Depends. Criticizing things is how you improve them, so to a certain extent,they're required
 
user1596138
There's just a lot of noise is all
 
They're just making more noise because they know that increases the odds of things changing to their liking
 
3:50 PM
how can i click on <a uising javascript
 
user1596138
@SomeGuy A journalist's criticism is not constructive when he is criticizing things he doesn't understand nor claim to
 
I tried .click() but no work
 
@Loktar its often relevant when you see "experts"
 
user1596138
Criticizing games like they do is like criticizing art.
 
or people who had wild success who then go on to give advice
 
user1596138
3:50 PM
It's someone's personal vision when it all comes down to it.
 
@Jhawins criticizing art is fine! its the pandering that's the problem
 
Is anyone experienced with filters in Angular??
 
opinions and critiques are GREAT
 
user1596138
Criticizing it and saying it needs to be changed?
 
user1596138
3:51 PM
Critiquing is one thing, forcing change is another.
 
No ?
 
@Jhawins I don't think we were even talking about that, though. We were talking about social issues people find in games (racism, sexism, etc)
 
user1596138
Artists have become so dead because the Mona Lisa isn't smiling enough to me
 
@Jhawins uhhh, I think there's some merit to this games are dead line of thought
at least, they aren't like they used to be for a lot of reasons
AAA producers don't want to finance anything but games where you kill a russian/arab/alien every 20 seconds
AAA produces don't want to finance story-heavy games, even Skyrim has laugable voice acting/writing
 
So, I learned something about feminism the other day that helped back up my reasons for not liking it... They don't care so much about equality, they just want justice for the mistreatment in the past (and present, of course). So, it really isn't an equality movement, but rather a "I want more, because women that aren't me were oppressed" kind of movement...
 
3:53 PM
only by the grace of indie devs do we often see refreshing creativity, but its HARD to strike it out as an indie dev and actually be successful
 
$("a.ase-vv-button-large").click()
how to click the last a tag returned ?
now its returning all
 
user1596138
@SimonSarris funding is the issue? Well then yeah, that's exactly the problem. This isn't how the system worked before
 
$(this).click()
 
@SimonSarris It takes programmers that have passion, lots of free time on their hands, and not a desire to make money
 
user1596138
Video games are brand new in the world.
 
3:55 PM
funding goes to where the revenue is, and that's not creativity
 
user1596138
People like to pretend just because something has been around in our lifetime that there is already a standard. There isn't even a standard for fucking light bulbs in this age.
 
Hell, CSS3 isn't even standard yet
hurrr
 
last a tag, I need to click on
@BuddhistBeast this will not work for me :(
 
user1596138
Gaming is brand new to the world. It needs a century or so to figure shit out for real.
 
Maybe I'm confused but what is supposed to happen on click?..
 
3:57 PM
@Jhawins Gaming, I think we'll find, is the new hollywood
Nobody even makes films that are meant to be viewed for money anymore unless you are a major production studio like Warner Brothers
Those that do, they don't expect profit
Same will be true for games, imho
 
user1596138
@Neil Exactly. Remember when everyone was trying to sell their script to the biggest producers? People aren't flipping shit over getting their movie made and hitting it big anymore. Not as much anyway.
 
user1596138
When the dust settles things will get simpler, but we've only just begun
 
@Jhawins They just have a bunch of writers couped up in an office all day coming up with movie ideas
EA Games is already doing this sort of thing
 
please help me
 
user1596138
@YourBaby You're selecting all of them. Open your console and try.
 

« first day (1439 days earlier)      last day (3513 days later) »