« first day (694 days earlier)      last day (3094 days later) » 

8:00 PM
@CarrieKendall When I was in the IDF they did that too.
I just set my password to the MD5 of the previous :D
 
LOL creative
 
yeah we have a new system at work where I have to pick a new password every 4 -5 months
 
Monthly renewals is the most horrible false solution out there
 
"can't be the same as any of your last 3 passwords" ... changes password 3 times in a row...
 
Not only it pisses off your users, it doesn't do shit against an attacker.
 
8:01 PM
it's so bad
 
yeah that's awful too
 
i threaten my boss that i am going to write my pw down all the time
 
Mine can't be any of the last 10 passwords I used, either
 
If I know your password, I won't wait 6 months before I attack you lol
 
which i never do, because i am haunted by written down pws but, it's a pretty hardcore threat.. i'm kind of OG
 
8:02 PM
@TylerH That's even more horrible, because it implies they save your last 10 passwords in either unsalted hash, or in recoverable form.
Active Directory
There's a special place in hell reserved for Active Directory.
 
@SecondRikudo I think they're just following the logic that, in the case passwords are somehow stolen or compromised, you don't want to re-use it again immediately, because then the thief could potentially use it again to gain access
 
^ agree x 10192831983019823
 
storing last X is wrong imo
 
@TylerH Uh, if they stored their passwords properly, an attacker would take years to crack one password, with NSA level hardware.
So who the fuck cares which passwords are used and reused?
 
@SecondRikudo okay, well there might be some conflation here between the words "properly" and "ideally"
but I agree with you
I hate the restriction and think it's useless
 
8:05 PM
Heck, resetting to the same password should lead to entirely different hashes
@TylerH Storing passwords "ideally" is pretty trivial, you know...
Regardless of language
What, is hashing a string with a good algo really that hard?
PHP devs are the biggest offenders
 
@FrontpageExpert i am deeply amused by this.
 
They literally have functions made solely for that purpose.
 
@SecondRikudo the know how is always the hard part
 
@rlemon YOU DID THE GIMP AND DIDN'T TELL ME?!
 
dude I pinged you
pay more attention
4 hours ago, by rlemon
@SecondRikudo I made it then went to get a coffee and forgot to post it
 
8:08 PM
wrong ping, apologies
 
ARE YOU NOT AMUSED?!
:'(
 
@CarrieKendall $hashed = password_hash($password, PASSWORD_DEFAULT);
Done
 
oh, i'm fully aware
but, that doesn't make it easy for everyone
it's a hard concept to grasp and there's tons of useless trash regarding the topic on internetland
 
var hash = require('password-hash').generate(userPassword);
not hard at all ;)
 
@CarrieKendall we used to have two auto comments in the PHP room
The "don't use mysql_*/SQL injection danger!" one
 
8:10 PM
var randomNumber = 4;
var hash = md5(password + randomNumber);
 
And the "Don't store plaintext passwords" one
 
Do you know how much heat we took on meta?
"These comments are useless", "Stop spamming your shit"
I stopped caring long ago. But seriously people, there's a huge gap to be filled in.
 
best password restrictions ever: i.imgur.com/gdnraE5.jpg
and by best I mean "please god let me die"
 
8:21 PM
i.imgur.com/h0ZvT7Z.png I'm at a loss. Is there anything I can do to make it look better?
 
@TylerH a bit more padding if you ask me
 
Aside from using lorempizza for the background image, ofc
 
also marquees
where are the marquees
 
@StephanMuller around each item?
I was thinking of that
 
@TylerH Inside each item, so the image is a bit further from the border
around is margin :P
 
8:22 PM
@StephanMuller I meant around as in inside the edge :-P
 
potato potato
that's what I meant as well
 
8:36 PM
@CarrieKendall what could possibly go wrong????
 
@StephanMuller also fun
I just want to buy a lamp http://t.co/7CPFsloJqZ
 
Heh I posted that the other week
 
Feb 24 at 17:25, by FrontpageExpert
I just want to buy a lamp http://t.co/7CPFsloJqZ
did you?
DID YOU?!
 
I could swear I did
Oor I retweeted it from the post here. Maybe I'm confusing things.
 
unless you are Eirinn as well
she posted it before Wes
 
8:40 PM
I favorited it on Twitter and retweeted it
b/c it's funny
 
Right, I retweeted it on 17 feb, so probably when Eirinn posted it
 
is @Eirinn a human female? @rlemon
 
FALSE, she is classified as a meat Popsicle
 
lol
i'm watching top gear's bolivia special. those were the days
damn bbc
 
I'm working out my fingers. I've elastic banded them together and now typing is like lifting weights with my fingers
I'm bored :(
 
8:49 PM
loldsfisdfalol wat
 
take an elastic, wrap it near the base of two of your fingers (index and middle?) then try to type
it is a freaking workout man
 
AHAH sure it is
 
hi i need a quick help
i want my .wrap to fit the browser screen but there is always a little bit of space to scroll
how to trim my homepage? i guess that is a better way of asking?/
 
@HackMaster @HackMaster Are you talking about the horizontal scroll at the bottom?
 
@PaulGrant yes sir that would be exactly what i am talking about
 
8:57 PM
@HackMaster Do you want your menu items to drop underneath the other ones?
 
@PaulGrant if i could just keep the current setting that would be great but if that is the reason for the problem then i dont mind the change :0
 
@TylerH lmao
@TylerH :......)
 
@TylerH coding love it
 
@HackMaster Your body has margin-left:20
@HackMaster Because your nav has the width 100%, it's forcing itself to 100% of the body PLUS the 20px margin
 
9:02 PM
@PaulGrant what should it be instead
 
@FrontpageExpert With the gif of the guy calmly opening a window and jumping out.
 
@HackMaster Just dump the margin-left: 20px on body and it'll go away
 
ahah, which one?
 
@PaulGrant yes that went away but now my div tag that i have all the menu inside off messed up
 
9:04 PM
@PaulGrant That one, although there's one with greater quality.
 
@PaulGrant it crowd :D
 
@HackMaster How is it messed up?
 
@TylerH i bet you left like doing the same ehh ;)
 
HD is important
 
9:07 PM
@PaulGrant imgur.com/wnua3bh
@PaulGrant see that little white border thats my div tag and it gets cut off
 
Folks, can I get some recommendations for front-end or other interesting web tech blogs to follow?
 
@HackMaster Add your margin-left to the div instead of to the body. Or padding-left is probably better in this case.
 
@StephanMuller stalk hn for a couple weeks, you'll build a list
 
hn?
oh hacker news
 
9:12 PM
HN
 
I'm not too fond of needing to check yet another website though, I'd rather just add it to my feedly
but I'll check it out once in a while, thanks
 
more like
"hey"
- "stfu creep"
*silence*
maybe I shouldn't make so many poop jokes
 
*silence*
 
HN is teh suck.
 
9:18 PM
I called this goth guy at work a Nazgul today
he told me I was Wraithist
 
double lol
 
@PaulGrant all fixed in my div i had left said to -10px i made that 10px and worked
@PaulGrant appreciate the help bud
 
maybe ping @PaulGrant once more just for fun
 
God dang, got a @HackMaster up in here.
And you know its legit because of the ski mask.
 
@rlemon i still can't get the time to work on neon. past two weeks i was supposed to finish a lot of work, but i couldn't because of the conn issues -__-
 
9:23 PM
@FrontpageExpert rlemon is afk: driving and stuff along those lines
 
heh, driving. along lines.
 
driving, crashing into a bar, getting more beer, driving more
dbms logic: TINYBLOB -> tiny binary large object
 
I m hosting a site on heroku, for some reason the cname doesn't seem to want to resolve
 
@Kitler how long ago did you add it?
changes take time to propagate
 
a while, takes 30 min usually right ?
 
9:29 PM
yeah ish
I ususally use that when I make changes.. because my ISP takes longer than normal
 
but shouldn't cnames immediately resolve ?
yeah i m on that site :P
 
yeah cname should
as long as the dns was already pointed there
 
A records resolve, cname dsn't want to ( added the cname after the A record)
should my a records match the cname or the domain name?
as in my A record is : societyundressed.com/?from=@
and my cname record is the heroku app
quiet-oasis-3874.herokuapp.com. <<
 
a record should point to the ip
 
I got a divshot host up with the site url as an A record though
I m using namecheap's dns
ahhh should remove the ?from
 
9:33 PM
oh thats your actual a record?
yeah you should need that at all
 
53
Q: Why don't airlines fly a straight line between Barcelona and Düsseldorf?

FedericoIn the wake of GermanWings' terrible incident of flight 9525, I have noticed that the crash location is quite far from the straight route connecting the two airports. I then went on FlightRadar24's website and checked that this is the normal route for this flight (and that there is an alternate ...

 
damn.. I went to check mine and my domain host is down lol
wtf
but my domains are still up, so annoying
 
something's not right x.x
 
yeah your a record should be pointing to an IP, and your cname to a domain
 
I m blind, that was a redirect not an A record
 
9:36 PM
ah ok
 
divshot deployment was way faster x.x
 
9:53 PM
@Loktar the only and only hackmaster lol
 
societyundressed.herokuapp.com app is up, custom domain dgaf
 
10:22 PM
i fuckin officially hate the cloud
everyone uses it differently, nooone knows what it means
like.. it's the cloud dude... wtf
/rant
 
!!kitler
 
lol
@Loktar just needed time x.x
 
10:46 PM
ffs I bought the wrong kind of internet recharge x.x
got the 1mb one instead of the 5mb one and now i no longer have enough cash for the 5mb one x.x
 
@Kitler contact support?
 
today is a national holiday no one answered
I did it last time as well they didn't refund :P
gief paycheck
 
11:01 PM
Can someone help explain this javascript to me? [].forEach.call(document.querySelectorAll('.js-input-validation-number'), inputValidationNumber);
 
it's a hack to be able to loop over a nodelist
 
@joshhunt which part dont you get?
 
well most of it... first of all why does .forEach do anything on an empty array?
 
try to forEach on a nodelist
 
28
Q: What does [].forEach.call() do in JavaScript?

john lockeI was looking at some snippets of code, and I found multiple elements calling a function over a node list with a forEach applied to an empty array. For example I have something like: [].forEach.call( document.querySelectorAll('a'), function(el) { // whatever with the current node }); but I...

 
11:04 PM
^ thanks! (I didn't realise it was a common thing, I saw rlemon write it and was trying to figure out how it works)
Is this a good way to handle dynamic events? stackoverflow.com/a/9649651/1661462
 
@joshhunt its called event delegation, and yes, you should
 
or is it significantly more efficient to add the event listener when I add the new element?
 
no
event delegation is fine.
and more appropriate
 
k, thanks
 
you guys should give divshot.com a look btw
 
11:21 PM
also
NodeList.prototype.forEach = HTMLCollection.prototype.forEach = Array.prototype.forEach;
NodeList.prototype.map = HTMLCollection.prototype.map = Array.prototype.map;
NodeList.prototype.filter = HTMLCollection.prototype.filter = Array.prototype.filter;
NodeList.prototype.reduce = HTMLCollection.prototype.reduce = Array.prototype.reduce;
NodeList.prototype.every = HTMLCollection.prototype.every = Array.prototype.every;
NodeList.prototype.some = HTMLCollection.prototype.some = Array.prototype.some;
 
is there an efficient way to add multiple event listeners? Or do I just have to write b.addEventListener('event', doSomething); multiple times?
 
what is variable, b, the event, or doSomething
 
document.getElementsByTagName('body')[0]
dude..
document.body
 
uh.... SO told me to :( stackoverflow.com/a/9649651/1661462 lol
@rlemon ok how bad is this? I can probably remove some of the listeners once I find out what browsers support what
 
11:32 PM
var b = document.body;
['keydown','keypress','keyup','paste','input'].forEach(function(evt) {
    b.addEventListener(evt, jsInputValidate);
});
 
well that looks a lot nicer... thanks
 
mother of horrible fiddles
 
@Kitler Be nice or I'll get Puphill to eat you
 
Not you that answer
 
oh :D
 
11:36 PM
@rlemon that's so beautiful i'm starting to cry
elegance.
 
<input type="button" onclick="document.getElementById('ss').appendChild(document.createElement('select'))"/>
what the good lord O.o
 
I left that there
 
actually, leave out the var decl, i'll be short enought still
 
actually need to rewrite the entire thing
 
@Kitler just write a new answer at that point
 
11:39 PM
it's got like 5
vOv
 
TIL: the event "input" doesn't fire in IE9 when removing characters
 
wow
 
@joshhunt ?
 
yes?
 
are you sure? seems unlikely
 
11:52 PM
"IE 9 does not fire an input event when the user removes characters from input filled by keyboard, cut, or drag operations." developer.mozilla.org/en-US/docs/Web/Events/input
 
lol #fail
 
Apparently there are some ways around it: benalpert.com/2013/06/18/…
 
calling it a night laters fellas
 
hi :o
 
hia
 

« first day (694 days earlier)      last day (3094 days later) »