« first day (1187 days earlier)      last day (3760 days later) » 

6:00 PM
@SomeKittensUx2666 You forgot to forget an apostrophe
 
m59
@nderscore by the way, regarding that search the whole dom thing, would document.querySelectorAll('*'); be better/worse/same as recursively searching each node of the body?
lol @ the whole dom thing
 
The best thing about SO is if people leave because they're pissed it's no big deal. It's such a big site that loss doesn't mean crap.
Not that I would chase people away without a good reason :P
 
m59
It's better when people like that leave. Less posts to cv and less self entitlement comments.
 
@RUJordan back to the topic. normal or retina . do you think upgrading RAM is necessary ?
 
It depends on what you're going to do
You can buy a new retina with 8gb ram and be set
You really don't need more than 8
Hell my air has 2gb ram and it works perfectly with the i5 processor
 
6:03 PM
retina 8gb is out my budget
 
faster than my old 4gb dell
 
@m59 I think it's been well-established that trolling help vamps is acceptable.
 
well then it looks like your answer is obvious
 
@RUJordan unless said pissed users are experts, not badaskkers
 
@vzhen For a MBP?
 
6:03 PM
@JanDvorak correct
 
@SomeKittensUx2666 yup
 
@JanDvorak although just because you're an "expert" doesn't give you an excuse to be a dick or ask a bad question or give a bad answer lol
 
@SomeKittensUx2666 so... I am always 43% more right than you?
 
m59
@SomeKittensUx2666 hahaha so win.
 
@vzhen no offense, but why ask about the retina display if you knew you it was out of budget?
 
6:05 PM
my next upgrade. 4K monitors.
 
@rlemon and @SomeKittensUx2666 is 36% more right than me(ish).
 
$500 each
 
@vzhen Is there any reason you need a Mac (instead of something else?)
 
@RUJordan 4gb retina is in my budget
 
you never need a mac.
 
m59
6:05 PM
@SomeKittensUx2666 whaaat you were on SO at 4am my time?
 
My next upgrade: S&P index fund.
 
@rlemon not even if it's raining?
 
you need to be accepted by your peers, and they need you to have trendy products because they are douchey. you don't need a mac.
 
m59
that's at best 5am bro
Or 2am
 
@SomeKittensUx2666 i need a new laptop for coding.
 
6:06 PM
@JanDvorak well I suppose a MBP could cover my head from the rain... but it probably would suck at that too
 
user1596138
@vzhen Don't buy RAM from Apple. Just put it in yourself later for half the price.
 
@m59 querySelectorAll will give you element nodes, so you'd still need to go through each element's child nodes to find text nodes to update. Not sure if it'd be faster, but I'd guess not though.
 
!!s/RAM//
 
@rlemon @vzhen Don't buy from Apple. Just put it in yourself later for half the price. (source)
 
@Jhawins They solder their boxes closed now... You need special tools... :-(
 
6:07 PM
@vzhen You'll get all the advantages of OSX minus most of the limitations if you go with Linux Mint
Seriously, if it's just for coding, don't go with Mac
 
^
 
user1596138
^ He's right. Mint is just about the same thing.
 
Yes, the hardware's better. It's not worth it
 
if you need hipster douchey acceptance... buy a mac... and get a fedora... maybe a typewriter
 
user1596138
Guys, he wants a Mac. If he wants it he can have it. All he wants from us is advice on which one :P
 
6:08 PM
Batt life though
 
@SomeKittensUx2666 my issue is that they force the hardware into a stupid form factor that doesn't allow me to do anything with it and is susceptible for over heating
 
@PatsyIssa Is somehow worth $1k?
 
3 hours of hi def gaming === imac dies.
 
@SomeKittensUx2666 I have an hp with mint on it, love the os hate the laptop
 
@rlemon My MBP sounded like a jet fighter on Minecraft
 
user1596138
6:09 PM
@rlemon you're buying 4K monitors and you're telling him he is buying something unnecessary?? Pfft please
 
@SomeKittensUx2666 I go for mac because I can buy it with my sister company support. Means If I have a $500 laptop. I will only get 50% discount

If I got 2k laptop then I will have more than 50%
 
@Jhawins not even remotely comparable.
 
@vzhen If you're dead set on a Mac, go with a non-retina MBA
 
4K monitors actually increase something
buying a mac.. what do you increase in?
 
best bang for the buck.
 
6:10 PM
4K monitors === productivity +++++++
 
I just bought
 
user1596138
@rlemon But "why not buy" a QHD monitor for a fraction of the cost and have minimal difference discernable to the naked eye.
 
@SomeKittensUx2666 You got the batt life, elegant design and such, if he can afford it why not
 
6:11 PM
@Jhawins you can get 4K monitors for $500
i'm not talking about those $1500 models.
fuck that.
 
+ driver support on linux is iffy
 
What is a 4k monitor ?
 
user1596138
@rlemon Oh so you're skimping. Nevermind.
 
@AbhishekHingnikar 4 kilopixel
 
6:12 PM
width
 
@Jhawins well yea. I'm not buying a huge high end TV. I wouldn't call it skimping. just being realistic
but dat resolution!
 
user1596138
@rlemon Same as my Dads QHD to the naked eye.
 
@rlemon you can't tell from the distance
 
user1596138
Planar makes some sick stuff.
 
6:13 PM
Why I get mac
- I still on Win XP with very old processor and 2gb RAM
- Now my sister company will support 50% or maximum $600. Since that, it is time to get a new laptop for me.

But now, my budget is only for MBP 13 normal or retina 4GB.
 
just imagine having everything open in a single workspace and all viewable.
 
@vzhen Better hardware > better screen (for a coder)
@rlemon Chromebook Pixel, baby!
 
dell.com/us/business/p/dell-u2212h/pd >- i like that dunno if thats 4k
 
user1596138
@rlemon I don't have to imagine. I have a 27" at 2560 x 1440. Any higher and I feel like my eyes would tear themselves apart trying to read any text on it, which is pretty important for my job :P
 
@PatsyIssa I actually hate said "Elegant design"
Mac design is too fluffy and gets in my way
 
user1596138
6:16 PM
What I want is more monitors, not a way to cram more into one like I already have haha
 
I need more monitors
 
I like fullscreening things
 
@Jhawins I have 2 24" both at max resolution (slightly smaller than yours) and I have no problem reading it. but I suppose that is just our eyes difference
 
user1596138
@SomeKittensUx2666 iTunes was "elegantly designed" to pop up unprovoked multiple times a day.
 
6:17 PM
B/w don't own a mac and never had one but after a decade of hp, toshiba and such you have to admit mac just looks better as a product
 
if I could get higher res, I would.
 
another thing I hate about OSX - no real fullscreen
 
user1596138
@rlemon And what resolution is that?
 
@PatsyIssa No, no I don't.
 
user1596138
@SomeKittensUx2666 lol wut
 
6:17 PM
@Jhawins 1920*1200 (but again, I have dual monitors.. so 3840)
 
The 'fullscreen' button is more of a 'take up most of the screen but leave a few pixels on either side' button.
 
my driver won't go any higher.
 
The thinkpad work supplied me with is 1366x768 and the monitor they gave me is only 1600x900. I hate these screens.
 
but the monitors I think are capable.
 
user1596138
@rlemon you probably already know so I don't mean to patronize. But 2560x1440 makes all the difference you need :P
 
6:18 PM
Only 31 inline styles in the chunk of HTML I have to work on/convert to Angular!
 
My pc can take 2 x 4k displays
whoa this is awesome :D
 
@Jhawins well I would bump it up if I could.
 
but i think it will be overkill
 
I'm just saying. I've seen higher res than I have and I would love it
 
am happy with my UltraSharp Dell
does it even matter ?
 
user1596138
6:19 PM
Well I'm just saying there are cheaper monitors capable of it.
 
user1596138
Want to see what I've been playing with recently?
 
roadkill?
 
her name is "mom" and she would appreciate it if you called her that
 
user1596138
That monitor is beautiful.
 
6:20 PM
@SomeKittensUx2666 And only 21  !
 
user1596138
@SomeKittensUx2666 Hahahaha. Where are you working now?
 
Generator Lab
 
Awesome place to work, great opportunities, good pay, nice people, free lunch. On the other hand, the entire code base is a wreck.
However, making bad code good is something I'm good at and enjoy.
 
user1596138
Wow. I thought you said you werent going all out for a massive TV haha
 
6:22 PM
39" 4K monitor for <$500
@Jhawins massive TV === 40+ inches
in my mind.
 
so one inch below massive
 
Hahaha
 
40" would still fit on my desk
 
user1596138
Ah. So you went all the way up to the line and stopped haha.
 
it is cheaper than a smaller one from a competitor.
 
6:23 PM
anyone know this is a 3rd or 4th processor ?
http://store.apple.com/us/product/FD101LL/A/refurbished-macbook-pro-25ghz-dual-core-intel-i5
 
user1596138
Is it worth it though? 120Hz is pretty lame. Especially when you're going with a 4K.
 
I am going to try to convince my work to buy one first so I can demo it :P
 
user1596138
> Originally released June 2012
 
m59
@nderscore ah, I see the issue now. Something like <div>replace this<p>replace this</p></div> won't work with querySelectorAll.
 
user1596138
Google it using that info.
 
m59
6:24 PM
Is that even valid html?
 
user1596138
@rlemon good plan. Haha
 
@m59 I think it would still work that way. The only issue I can think of is if your replacement string contains the search string, it might hit the same node twice somehow.
 
m59
It doesn't.
that html seems invalid to me. It works, but it's odd to have a nested text node and an element...
 
user1596138
Plus @rlemon the reason I don't want a 4K is..... 30Hz.
 
user1596138
Which is maximum speed until we have HDMI 2.0
 
user1596138
6:27 PM
That'd be like buying a ferrari that only went 30mph. Which might be worth it to some people.
 
really i'm not that close to buying new monitors.
I just got new ones before christmas.
 
user1596138
Hahaha oh yeah I forgot.
 
dropped $550 for both
 
@Jhawins It's perfect for Boston traffic!
 
user1596138
Yeah that Planar was about $480.
 
user1596138
6:28 PM
@SomeKittensUx2666 You living in Boston?
 
One of the monitors I use today was my 18th birthday gift.
@Jhawins No, but I got married there.
 
user1596138
Oh nice.
 
I got two of these
and so far so good with them
 
user1596138
@rlemon lol how did I not notice that before! That's what my Dad just replaced with the Planar.
 
6:29 PM
For the week before the wedding, literally every car trip either got lost, hit traffic, or both.
 
the built in audio isn't usable. but I expected that
 
user1596138
Yeah the audio was awful..
 
@rlemon Similar to what I have at work
 
user1596138
Nice though! That's a solid monitor. I get his old one I think.
 
m59
@nderscore hmm. It works if I use regex /replaceThis/ but not as a string.
 
user1596138
6:30 PM
But yeah, IMHO 4K is one of those "cart before the horse" situations. Because HDMI/content providers are the horse, and the horse isn't ready.
 
@m59 can you show me what you're trying?
 
user1596138
LED... Then LCD later in the same sentence...
 
LED backlit LCD
weight / power consumption is WAY less
 
user1596138
Makes more sense.
 
user1596138
6:31 PM
Yeah
 
user1596138
Send it to me
 
lol
 
user1596138
Fine
 
we got them on sale from tigerdirect for like $160 each
insane to think people payed $300 for them
 
m59
@rlemon I have the 23" Asus and my wife has the 24" Asus.
 
6:35 PM
@m59 wtf, those lines should be equivalent o_0
 
wow... we know who wears the pants in that relationship
 
whaaaaa? functions are objects? my mind is blown (thank you @rlemon)
 
@Cicada3301 in JS everything is an object or a primitive
 
m59
@nderscore yeah, var mind = 'blown';
 
user1596138
@Cicada3301 basically everything is an object...
 
m59
6:35 PM
can anyone else take a look and see what's going on with that jsbin?
 
user1596138
What's the problem with it
 
@rlemon well... I think I'll have to step back from this for a few mins... didn't expect it at all
 
It looks like it destroys the child div when using replace with a string, but it doesn't with a regexp
 
@m59 flags are non standard in that syntax
use a regular expression object
 
oh wait, it does it in both cases
ultimately, modifying textContent is just as destructive as innerHTML. Looping through all the nodes and modifying text nodes is the way to go.
 
6:38 PM
ohh thats what you were commenting on :P
 
Yeah, I thought he was talking about the global vs. not global as well
 
user1596138
innerText does the same thing...
 
> This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.
it is according to spec.
 
user1596138
I don't get it. The jsbin seems to be doing exactly what it should do. ^
 
m59
6:41 PM
Ah hah
You guys and your smartness.
 
user1596138
Annnnnddddd.... Everyone just left for the day, except for me.
 
@Jhawins Well, that sucks
 
oh man I have a kickass demo going
 
You can mess with some of their computers, though
 
6:47 PM
You now have an excuse to blare music
 
Or stick an Annoyatron somewhere
 
going to finish it up tonight
 
@Loktar SHOW US!
 
if its not a pick I give up! lol
nah want to finish it first
 
lol
 
user1596138
6:47 PM
@SomeGuy I'm the IT guy... I can mess with their computers whenever I want, but I'd rather not. Haha
 
@Loktar You tease!
 
haha yeah
I just was looking at it happily
 
@Jhawins Sounds like it would just make more work for yourself.
 
What happened about the game you were making?
The name eludes me right now
 
user1596138
Our computer policy is pretty simple too: These are work machines. Only work related things belong on them, nothing else, ever. Desktops must be 100% empty before leaving and all files put back in order.
 
6:48 PM
Grapple Hero?
 
Jhawins: *:messes with computer:*
Drone: Hey Jhawins, my computer is broken. Fix it.
 
put it on hold a bit
just because of the new job
 
user1596138
So for everyone but me the machines are basically just stock systems with the Adobe suite + whatever other software we have on them.
 
@RyanKinal Hahaha, that'd be hilarious
 
I havent really done anything lately but angular stuff
 
6:49 PM
But a great scammy way for him to waste time
 
user1596138
@RyanKinal Good way to get paid
 
my last demo was months ago :?
 
Create problems to solve
 
lol, truth
 
user1596138
I have enough problems to solve though...
 
6:49 PM
@Loktar Ah. You better finish it, though!
It was a great game
 
user1596138
I'm going to play the grand piano instead. Then when I come back downstairs I'll be in super-focused-JS-wizard mode.
 
thanks, I plan on it!
 
user1607528
Websites that totally built in javascript sucks, especially ones that're impossible to maintain
 
@Muhammet Don't forget PHP
 
haha
my last website was all php + JS :P
 
user1607528
6:51 PM
PHP is awesome
 
… and CSS
 
No, CSS got replaced by JS
 
user1596138
#165 //very, very important and urgent issue that changes everything
 
Also HTML
And HTTP
Wait, does everything suck?
 
user1607528
I got to fix my client's previous website, which is the one with 30 js files, I am going through nightmare
 
EVERYONE PANIC
 
user1607528
@copy none sucks if used in right place in right amount
 
NOW EVERYONE PICNIC
 
@SomeKittensUx2666 AT THE DISCO
 
@SomeGuy I read that, but couldn't parse
 
6:52 PM
@Muhammet Sometimes the 'right amount' is zero
 
So, guys. I'm having trouble coming up with some decent routes for my crowdsourced random number service. I think I want GET|POST /api/roll/:dietype, but then I also want to be able to access particular results by ID, which would bet GET /api/roll/:id ... but that is indistinguishable from the others.
Not sure what to do here
 
@RyanKinal GET /api/roll/:id/:dietype
 
So... /api/roll/29803inr923in/d6?
That doesn't make much sense to me
 
user1596138
@SomeGuy That doesn't make much sense to me... He's saying that not using CSS is better... why?
 
@Jhawins She*, and to troll
 
6:54 PM
@RyanKinal /api/roll?id=... /api/roll?dietype=...
 
user1607528
Please help, in this site next button works in all browsers except in chrome, it is totally js + html. and FireBug Lite doesn't open up only in this page in chrome http://www.dev.elsol.ie/ics/player/launch.htm?cf=../himss_m1

I am lost, even it works in IE, what common problem Chrome could have against it
 
/api/roll/:type/?id:id
 
@RyanKinal /api/results/:id?
 
Hmmm. Maybe something of a hybrid.
/api/roll?dietype= and /api/roll/:id
I think that makes sense from a "resource" viewpoint
 
^ What @rlemon said
 
user1607528
6:57 PM
Anyone with Chrome + Firebug can you open this site and see if firebug works in this page dev.elsol.ie/ics/player/launch.htm?cf=../himss_m1
 
@SomeKittensUx2666 I thought about that too, but wondered if having a roll and a result might be too confusing
 
because every die roll will have a type right?
 
@Loktar Yes it will.
 
but if they just go to type I suppose w/o and id it just rolls?
 
But I don't think I should make it necessary to specify type in order to get a roll by ID
 
6:58 PM
yea I guess if id's are unique anyway
I mean unique overall
 
@RyanKinal so ignore the type when there is an ID var
then if they put it in, or not, it doesn't matter
 
Seems reasonable
 
assume all of your users are braindead morons who will click randomly.
 
\o/
I go to a gaming convention every year, and I want to have this up and running before then. So I can take advantage of all my gamers to collect die rolls :-D
Also, it's a good way to learn Couch :-D (before going deeper and building my video game site)
 

« first day (1187 days earlier)      last day (3760 days later) »