These are chat archives for MontCode/GeneralChat

11th
Aug 2016
Eric Phy
@SimplyPhy
Aug 11 2016 04:41
Little validation app I just made in response to a Udacity quiz. It’s not fancy, but kinda neat for my first go at quasi-validation. (it only really works in Chrome, fyi)
David Castner
@davidjcastner
Aug 11 2016 11:10
Welcome to the world of forms! I feel like at least 50% of what I do for my job is responsive form validation
Eric Phy
@SimplyPhy
Aug 11 2016 14:41
Wow, that's a lot. Also: Udacity senior web dev slack channel is all crickets
I kind of feel like just updating them all semi-hourly on my progress, just for fun 😂
Lily Romano
@Lilyheart
Aug 11 2016 14:46
I wonder if it's the time of year. It's crickets everywhere.
Eric Phy
@SimplyPhy
Aug 11 2016 16:15
late summer, i find, is slumber period
Lily Romano
@Lilyheart
Aug 11 2016 16:15
I read that as slumber party xD
Eric Phy
@SimplyPhy
Aug 11 2016 16:15
the vigor of warmth and the anticipation of outdoor activity lulls
haha :D
@davidjcastner do you use setCustomValidity() for your forms at all?
also, @davidjcastner this is an interesting, and very quick, interview segment relating to good form design. I found it really insightful, and I think it might server you, at least somewhat, with regards to your interest in having us share examples of interesting forms with you
i recommend anybody to watch it. It’s only a minute long
Lily Romano
@Lilyheart
Aug 11 2016 16:21
That's a good listen. I hate any website that I can't use LastPass to fill out the form. Usually means they did something "fancy" to their field names.
Eric Phy
@SimplyPhy
Aug 11 2016 16:22
The most powerful statement i thought was “the best form is no form"
Lily Romano
@Lilyheart
Aug 11 2016 16:22
/nod
David Castner
@davidjcastner
Aug 11 2016 16:51
@SimplyPhy thanks for that link! I completely agree with the guy about having no forms, but at the moment there is still some information that is required. And I try to to keep the forms minimal, like no confirmation fields on email or passwrods. A verification link is sent instead and a user can always reset their password if they typed it wrong
@SimplyPhy I don't use setCustomValidity for several reasons. The major one being that it isn't supported in all browsers. I still set the properties on inputs (like max, step, required, etc..) to comply with semantics, but I put novalidate on the form element and have custom validation instead
Eric Phy
@SimplyPhy
Aug 11 2016 16:55
yeah, i feel that’s the best solution
when i tested my app cross browser, it was immediately obvious that i’d basically have to redo it for every browser
David Castner
@davidjcastner
Aug 11 2016 16:56
@SimplyPhy the other reason for not using html's validation is that it only checks one field at time rather than all of it. There might be a way around that, but I am not aware of it at the moment
Eric Phy
@SimplyPhy
Aug 11 2016 16:56
Just figured I’d ask to see if it was only me
David Castner
@davidjcastner
Aug 11 2016 16:58
I use a library called simple schema is specific to my framework, Meteor. The library provides ways to vaildate objects with a schema, and then I have a schema for every form
Then I have made a custom set of reusable components that integrate directly with the schema to provide feedback next to the individual inputs as the user is filling it out
Eric Phy
@SimplyPhy
Aug 11 2016 17:05
nice, sounds like a good solution
this is another good segment, talking about roleplaying a form. Really interesting, I think.
Lily Romano
@Lilyheart
Aug 11 2016 17:12
60 seconds is a really long time to wait when staring at a tailing log
Eric Phy
@SimplyPhy
Aug 11 2016 17:20
?
Lily Romano
@Lilyheart
Aug 11 2016 17:20
i'm staring at a console screen waiting for a message to appear in a log file. The timer is 60 seconds. 60 seconds is a reaaaaaaally long time.
Eric Phy
@SimplyPhy
Aug 11 2016 17:21
agreed
Lily Romano
@Lilyheart
Aug 11 2016 17:24
@SimplyPhy do you know about !$ on the command line?
Eric Phy
@SimplyPhy
Aug 11 2016 17:24
nope
does it mean that you need money fast? don’t need money?
Lily Romano
@Lilyheart
Aug 11 2016 17:25
So say you type git diff some/really/long/file/structure.txt and then you just want to add the entire file, you can type git add !$ *nix expands !$ to mean the last argument of the last command.
I use it all the time. mkdir somelongdirectory cd !$
There are a whole bunch of things like that, but I use !$ the most.
Lily Romano
@Lilyheart
Aug 11 2016 18:50
I know one reason I like basic front-end dev more then most other dev. So little compile time.
Eric Phy
@SimplyPhy
Aug 11 2016 19:57
i thought it’d be https://cameronwp.github.io/course-web-forms/project/start/ , but apparently not
Lily Romano
@Lilyheart
Aug 11 2016 19:58
To get a URL
stick the username before github.com
change the .com to .io
get rid of the /tree/gh-pages
and remember to put file n url name if it's not index.html
Eric Phy
@SimplyPhy
Aug 11 2016 19:59
oooooo /create.html ………...
<3
Lily Romano
@Lilyheart
Aug 11 2016 20:00
nevermind, you updated your comment and now mine doesn't make sense xD
Eric Phy
@SimplyPhy
Aug 11 2016 20:06
is there a quick way to download a nested directory from github without downloading the entire repo and without copy/pasting the code itself into files?
oh, is that what forking is all about?
Lily Romano
@Lilyheart
Aug 11 2016 20:07
possibly on the command line.
forking is taking someone else code and putting it in your account so that you can make changes.
Eric Phy
@SimplyPhy
Aug 11 2016 20:07
right, i just want a downloaded copy of their code for reference :D
but only one directory, and it’s a part of a big repo
Eric Phy
@SimplyPhy
Aug 11 2016 20:10
ha!
that’s great xDD
Lily Romano
@Lilyheart
Aug 11 2016 20:10
xD I knew you would appreciate the humor in which it was meant <3
sparse checkout looks like what you want, but I don't have time to delve into it.
Eric Phy
@SimplyPhy
Aug 11 2016 20:13
for my purposes, this is the equivalent of “no”, as it’s more difficult than just c/ping the code into a new file xD
but yeah, the google thing is great
Lily Romano
@Lilyheart
Aug 11 2016 20:17
If it's just one file, sure :p
Lilyheart @Lilyheart will probably regret showing that to Phy.
SimplyPhy @SimplyPhy :grin:
Eric Phy
@SimplyPhy
Aug 11 2016 20:35
ha, i can feel myself making waves, slowly but surely, in the slack channel :D
trying to balance outgoingness with a healthy degree of quirkiness, without being sufficiently offsetting to cause a negative response :D
@Lilyheart I’m definitely going to use lmgtfy :P
that’s an awesome app xD
okay time for a run (heat index 104º w00t)
Lily Romano
@Lilyheart
Aug 11 2016 20:38
It's a website that has been around for ages. I'm surprised you hadn't seen it before. Keep in mind most people think it's super rude. :p
Eric Phy
@SimplyPhy
Aug 11 2016 20:38
i think it’s super awesome. definitely a mainstay :sparkles:
Lily Romano
@Lilyheart
Aug 11 2016 20:39
I'm not joking tho... I've seen much drama caused by it. Don't cause drama. You don't want that rep.
Eric Phy
@SimplyPhy
Aug 11 2016 20:40
when you did it, it was actually really useful, because i wouldn’t have thought to phrase my search that way. it’s obvious in retrospect, but i’m still coming to grips with all kinds of common dev jargon
right, i don’t intend to use it as a “i don’t feel like helping you” remark, but rather a “here’s the answer, and this is how you can find answers like this in the future” remark
Lily Romano
@Lilyheart
Aug 11 2016 20:41
xD Just send them a link to the google result or whatever hit on the google result has the answer. It's the act of using lmgtfy that is "talking down"
Eric Phy
@SimplyPhy
Aug 11 2016 20:43
honesty&efficiency > politeness imo, and with any luck, the world will suffer a touch less anxiety over political correctness
Lily Romano
@Lilyheart
Aug 11 2016 20:43
It's your reputation.
Do with it what you will.
Some companies might reward that. I've worked for many that the wrong words to the wrong person means no growth.
being rude means they won't come back with more questions.
Eric Phy
@SimplyPhy
Aug 11 2016 20:46
agreed, acting intelligently with respects to the sensitivities of your peers is wise
nonetheless, i always find myself appreciating the words of those who choose to challenge others’ sensitivities, especially when fueled by honesty, and when holding the power to incite learning in those who would otherwise choose to evade criticism, as opposed to overcome it.
Lily Romano
@Lilyheart
Aug 11 2016 20:49
I'll put it this way. Some people appreciate being challenged. All people appreciate being treated politely. Only challenge those you know appreciate it otherwise you burn a bridge. And I mean know. Why take the risk?
Eric Phy
@SimplyPhy
Aug 11 2016 20:51
anyways, my waves certainly aren’t rude. they’re just goofy and funloving, with a mild albeit conscious disregard for apparent norms. i don’t think i’ll ever have the bones for baseless rudeness, nor would i want them
but yeah, i agree with all your points. in other news: the temp outside is likely to begin to decrease…i best not miss the hottest outdoor temp of the year xD
Lily Romano
@Lilyheart
Aug 11 2016 20:53
I saw this earlier and was like holy hell...
blob
Eric Phy
@SimplyPhy
Aug 11 2016 20:53
hell is right xD
and i’m about to run in it :happysmileywitharmsup..wtfisthecodeforthat:
Lily Romano
@Lilyheart
Aug 11 2016 20:54
don't die
2016-01-28 10.13.39.jpg
I loved this bug on my home theatre back in January.
David Castner
@davidjcastner
Aug 11 2016 21:39
I used to have that background!
Lily Romano
@Lilyheart
Aug 11 2016 21:39
!
Lily Romano
@Lilyheart
Aug 11 2016 21:59
Anyone listen to internet radio and have any station suggestions? I'm coding an internet radio player into my home automation using some squeezebox code. Got a pi shoved into the kitchen cabinets now with speakers that sync up with the other various players in the house. I'm kinda diggin' it.
Lily Romano
@Lilyheart
Aug 11 2016 23:12
@SimplyPhy vitality check. Manage heat okay?
Eric Phy
@SimplyPhy
Aug 11 2016 23:28
As Logan nine-fingers would say: still alive
Actually, I didn't run. Huge thunderstorm showed up just before I began. Hit the gym instead 😔
Lily Romano
@Lilyheart
Aug 11 2016 23:33
It's dreary here but no rain