These are chat archives for MontCode/GeneralChat

18th
Oct 2016
Lily Romano
@Lilyheart
Oct 18 2016 20:45
What fun things are people working on lately?
JBC944
@JBC944
Oct 18 2016 20:49
I am working on another form
its not fun lol
Lily Romano
@Lilyheart
Oct 18 2016 20:50
Forms are a challenge.
I don't think many people enjoy making html forms.
JBC944
@JBC944
Oct 18 2016 20:50
I want to work on another website
I got to make a add or drop button
Lily Romano
@Lilyheart
Oct 18 2016 20:55
mmmmmmbuttons.
I wonder how @dcpking_twitter 's new job is goin'. He's been quiet @ _ @
JBC944
@JBC944
Oct 18 2016 20:59
I am surprised that I did not have a 2nd mountain dew yet lol
Lily Romano
@Lilyheart
Oct 18 2016 20:59
would that be two or three? :)
JBC944
@JBC944
Oct 18 2016 21:00
two lol
i had one yesterday and one today
Lily Romano
@Lilyheart
Oct 18 2016 21:00
we won't talk about how much soda I drank when I was your age xD
JBC944
@JBC944
Oct 18 2016 21:03
a whole bottle?
Lily Romano
@Lilyheart
Oct 18 2016 21:03
many xD
JBC944
@JBC944
Oct 18 2016 21:06
I got a question
how do you get a button to deslect the other button
I am looking in the book at the moment but makes not sense to me
Lily Romano
@Lilyheart
Oct 18 2016 21:07
button buttons? Or radio buttons? I'm not sure what you mean by deselect
JBC944
@JBC944
Oct 18 2016 21:07
radio buttons
like you have to pick one or the other
Lily Romano
@Lilyheart
Oct 18 2016 21:08
all the radio buttons that you want together have to have the same name="something"
JBC944
@JBC944
Oct 18 2016 21:08
one is called add and the other is called drop
Lily Romano
@Lilyheart
Oct 18 2016 21:09
they have to have the same name. They can have different value
<form action="">
  <input type="radio" name="gender" value="male"> Male
  <input type="radio" name="gender" value="female"> Female
  <input type="radio" name="gender" value="other"> Other
</form>
JBC944
@JBC944
Oct 18 2016 21:10
so what would i call them like
radio
Lily Romano
@Lilyheart
Oct 18 2016 21:10
Welcome to one of the hardest parts of programming. Naming things.
JBC944
@JBC944
Oct 18 2016 21:13
it worked thanks lily
Lily Romano
@Lilyheart
Oct 18 2016 21:18
good ways to name things is a topic a chat should be about someday xD
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:45
Hi. New join newbie. Just watching if that's ok. Thanks for add.
Lily Romano
@Lilyheart
Oct 18 2016 21:45
Hello! Robert? Bob? Other?
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:46
bob is fine
wish i had stumbled across you guys last year...
Lily Romano
@Lilyheart
Oct 18 2016 21:46
xD What are you studying bob? Web development? or? I'm knee deep in Java at the moment.
I started it up in May. 'bout 5 months ago.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:47
Java scares me senseless. I have a HTML site I had to convert to css and add mobile pages.
Lily Romano
@Lilyheart
Oct 18 2016 21:47
oh mobile. That can be.... fun. Let's go with fun.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:48
haha
I started with dos in the 80s
JBC944
@JBC944
Oct 18 2016 21:48
crap this darn comment box
Lily Romano
@Lilyheart
Oct 18 2016 21:49
There are a few of us old timers around xD DOS & Basic were my first.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:49
was always interested but had to keep working at being an electriciacn to feed family
world passed me by
I have a lot of learning to do
Lily Romano
@Lilyheart
Oct 18 2016 21:50
Understandable and can feel that. I went back to school and I could be the parent of my fellow students... It's grand /sarcasm
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:50
lol
JBC944
@JBC944
Oct 18 2016 21:51
i have a big problem lol
i got two boxes next to each other
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:51
??
Lily Romano
@Lilyheart
Oct 18 2016 21:52
What's up Jimmy. Comment boxes? or?
Gotta be more specific in chat.
JBC944
@JBC944
Oct 18 2016 21:52
comment box
Lily Romano
@Lilyheart
Oct 18 2016 21:52
You have two comment boxes?
JBC944
@JBC944
Oct 18 2016 21:53
no the comment box is next to a different box
Lily Romano
@Lilyheart
Oct 18 2016 21:53
What do you want it to do?
JBC944
@JBC944
Oct 18 2016 21:53
I want the comment box to go below the other box
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:54
what are you working in?
JBC944
@JBC944
Oct 18 2016 21:54
html
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:55
line break? fixed location issue?
Lily Romano
@Lilyheart
Oct 18 2016 21:55
Like many things :laughing: you have a LOT of options. You can make the first box full width which will force the comment box down. You can surround the comment box in a div. You coooooould put a <br> after the first box, but like usual I recommend staying away from <br>s
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:55
ok. why stay away from <br>
JBC944
@JBC944
Oct 18 2016 21:56
the div did not work
i be right back real quick my dogs r making noise
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:57
Lily...why don't you like break?
Lily Romano
@Lilyheart
Oct 18 2016 21:57
In general I try to stay away from <br> as it makes the code less flexible.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:57
k
Lily Romano
@Lilyheart
Oct 18 2016 21:58
I prefer a more css-based design. Like this website is an amazing example I use a lot. http://www.csszengarden.com/
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 21:58
simple but rigid?
Lily Romano
@Lilyheart
Oct 18 2016 21:58
The different pages are the exact same HTML, but have different style sheets attached. All changes are pure css.
If you put a br in the html side, you lose all that flexibility.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:00
I look forward to learning more...
Lily Romano
@Lilyheart
Oct 18 2016 22:00
now, sometimes a br (and on that name note, hr) makes sense. It's not an avoid at all costs kinda thing. But a use intentionally kinda thing.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:01
sometimes only a nail will do the job...I get the point
Lily Romano
@Lilyheart
Oct 18 2016 22:01
yup!
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:02
thx for making me welcome
sounds like I have to come up with a project!
Lily Romano
@Lilyheart
Oct 18 2016 22:02
If you haven't looked at it already, I recommend freecodecamp.com
You will end up with many projects going through the lessons.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:03
Unfortunately, I am the scarecrow, heart but no brain...lol
How dare you look under a lady's skirt!
The page is ugly and kluged together!
This is not good code! Don't copy!
Lily Romano
@Lilyheart
Oct 18 2016 22:04
lies! I can do this, but electrical stuff and wiring and soldering and all that stuff is still beyond my reach. But I keep tryin' xD
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:04
hahahaha
Lily Romano
@Lilyheart
Oct 18 2016 22:05
I think you are the first person to say anything about that xD
But.. it is bad code!
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:05
bad code is better than no code...
Lily Romano
@Lilyheart
Oct 18 2016 22:05
exactly. it was a last minute toss together.
Someday I'll have time to make it right ....
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:06
sounds like my apologies for things people can't do themselves...
you haven't seen the garbagfe my website is glued together from...
Lily Romano
@Lilyheart
Oct 18 2016 22:07
I have a teacher that explains there are two types of code. Monday AM code and Friday PM code. The chat page is a Friday PM code. Take the code, duct tape it together, done. xD
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:08
...and I can answer wiring questions you may have. 'swhat friends are for
I know the old story about not wanting a car built on Friday afternoon....
Lily Romano
@Lilyheart
Oct 18 2016 22:09
xD Eventually I will need a full blown electrician. I'm not there yet tho. I'll let you know tho.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:09
I will be pleased to teach you anything you need to know
JBC944
@JBC944
Oct 18 2016 22:09
i am back
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:10
woof
JBC944
@JBC944
Oct 18 2016 22:10
why does nothing work easily for me
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:10
you want to be different?
Lily Romano
@Lilyheart
Oct 18 2016 22:11
xD That's the way programming is. It's 95% fixing code. You write code, doesn't work, fix it, doesn't work, fix it, doesn't work fix it, yay works, write more code, repeat.
there is a great meme image about that somewhere... I'll have to see if I can find it.

Not it, but related:

I live for 3 reasons:
1) I haven't died yet.
2) Figure out why my code doesn't work.
3) Figure out why my code works.

JBC944
@JBC944
Oct 18 2016 22:13
for whatever reason this box does not want to sit below the other box
Lily Romano
@Lilyheart
Oct 18 2016 22:13
What are Jason's thoughts on br? Has he taught you that?
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:13
jealousy
JBC944
@JBC944
Oct 18 2016 22:13
no he hasnt
Lily Romano
@Lilyheart
Oct 18 2016 22:13
That could be a very good reason as well! Separation anxiety.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:14
lol
Lily Romano
@Lilyheart
Oct 18 2016 22:14
put a <br> inbetween them then. But use <br> sparingly.
JBC944
@JBC944
Oct 18 2016 22:14
do you mean liek this <br> </br>
Lily Romano
@Lilyheart
Oct 18 2016 22:15
nope, just <br> It's self closing like <img>
blob
JBC944
@JBC944
Oct 18 2016 22:16
that didnt work either
Lily Romano
@Lilyheart
Oct 18 2016 22:16
stick your code in codepen. something else is wrong if that didn't work.
Lily Romano
@Lilyheart
Oct 18 2016 22:17
gotta hit save
Lily Romano
@Lilyheart
Oct 18 2016 22:23
something is off somewhere but I don't know forms off the top of my head so it's gonna take me a min to figure out xD
JBC944
@JBC944
Oct 18 2016 22:24
no problem
i just eating my dinner
Lily Romano
@Lilyheart
Oct 18 2016 22:24
The problem is in your select/opt group. If you comment that out, the problem goes away. Check out that code and see if you can see the issue. I'll keep at it.
JBC944
@JBC944
Oct 18 2016 22:25
which part do you mean the additonal information part?
Lily Romano
@Lilyheart
Oct 18 2016 22:26
http://codepen.io/lilyheart/pen/XjxyBw/ see the code I commented out? There is a problem with that code as the page works without it.
JBC944
@JBC944
Oct 18 2016 22:29
i need the drop down though
Lily Romano
@Lilyheart
Oct 18 2016 22:30
I know. But now you know what code as the issue. Look at the code I commented out. There are two syntax errors (typos). See if you can spot 'em.
JBC944
@JBC944
Oct 18 2016 22:30
thats like need in a hay stack lol
needle
Lily Romano
@Lilyheart
Oct 18 2016 22:32
Seven lines xD Two of them have typos. There is a third syntax issue as well, but it isn't part of this problem.
     <p><select name="reasonfordropping"></p>
    <optgroup label="reason for dropping">
      <option name =value="r1">Changed Mind</option>
      <option value="r2">Too Difficult</option>
      <option value="r3">Professor/Course</option>
    </optgroup>
  </selct>
JBC944
@JBC944
Oct 18 2016 22:33
its a never ending p tag
Lily Romano
@Lilyheart
Oct 18 2016 22:33
That is the third issue. See where you closed the p tag in the first row? you closed it in the middle of the select tag.
JBC944
@JBC944
Oct 18 2016 22:34
yea i see it
Lily Romano
@Lilyheart
Oct 18 2016 22:34
Can't mix up opens and closes.
<p><strong>word</strong></p> <!-- Good-->
<p><strong>word</p></strong> <!-- Bad-->
Look at the third line.
<option name =value="r1">Changed Mind</option>
And look at the last line.
JBC944
@JBC944
Oct 18 2016 22:37
the space in between the =
where should i put the p tags in the first row
Lily Romano
@Lilyheart
Oct 18 2016 22:41
<p>
 <label for="unittype">Select unit type:</label>
 <select id="unittype" name="unittype">
  <option value="1"> Miner </option>
  <option value="2"> Puffer </option>
  <option value="3" selected> Snipey </option>
  <option value="4"> Max </option>
  <option value="5"> Firebot </option>
 </select>
</p>
JBC944
@JBC944
Oct 18 2016 22:42
oh
Lily Romano
@Lilyheart
Oct 18 2016 22:42
that's just a pasted example from the spec page https://www.w3.org/TR/html5/forms.html#the-select-element
JBC944
@JBC944
Oct 18 2016 22:43
the boxes r still next to each other though
Lily Romano
@Lilyheart
Oct 18 2016 22:43
Look at the last line
     <p><select name="reasonfordropping"></p>
    <optgroup label="reason for dropping">
      <option name =value="r1">Changed Mind</option>
      <option value="r2">Too Difficult</option>
      <option value="r3">Professor/Course</option>
    </optgroup>
  </selct>
JBC944
@JBC944
Oct 18 2016 22:44
is it in the option value row or in the optgroup tag
Lily Romano
@Lilyheart
Oct 18 2016 22:44
 </selct>
JBC944
@JBC944
Oct 18 2016 22:45
oh i see it now damn i am dumb
Lily Romano
@Lilyheart
Oct 18 2016 22:45
typos get the best of us!
JBC944
@JBC944
Oct 18 2016 22:46
I am going to stop for the night while i am ahead
i do not want to screw up anything before i go to bed and then i be thinking about what the hell i did to it all night
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:47
have a question about this one
Lily Romano
@Lilyheart
Oct 18 2016 22:47
G'night Jimmy.
What's up Bob?
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:49
they have optgroup as reason for dropping but it only shows when you selct the option box, otherwise shows changed mind in native box?!
I can see output because I used my site for a test page
Lily Romano
@Lilyheart
Oct 18 2016 22:51
optgroup is used more when there are multiple categories used in one dropdown.
<select name="reasonforchanging"></p>
    <optgroup label="reason for dropping">
      <option value="r1">Changed Mind</option>
      <option value="r2">Too Difficult</option>
      <option value="r3">Professor/Course</option>
    </optgroup>
    <optgroup label="reason for adding">
      <option value="r4">Wanted Another class</option>
      <option value="r5">Current stuff to easy</option>
    </optgroup>
  </select>
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:52
ok, but it shows r1 in the box rather than a title
I'm not sure what you mean? I don't see an r1 in a box.
r1 is what the form will return tho in the code so you know what was selected.
"reason for dropping" is like a header. It's not selectable. It just organizes the selections. The first selectable option is Changed Mind.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:55
right
but what shows on the box before it is opened is changed mind. is that normal?
rather than reason for quitting
Lily Romano
@Lilyheart
Oct 18 2016 22:56
yeah. if no default is specified the first option is shown. "reason for dropping" isn't an option, just a heading.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:56
....newbie...lol
k
thx
Lily Romano
@Lilyheart
Oct 18 2016 22:56
all gotta learn somehow!
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:57
:D
JBC944
@JBC944
Oct 18 2016 22:57
I am going to change that later
i just setting the layout for now
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 22:58
This has been fun. I will have to decide to alter my site so I have a reason to have a task to work on
Lily Romano
@Lilyheart
Oct 18 2016 22:59
If you are tryin' to learn HTML and CSS (and JavaScript) I still do recommend freecodecamp
it has an excellent curriculum.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:01
I intend to look at that more. It was peeking at it that made me decide I might have a chance of fitting in here.
I saw things I had struggled through and figured I was a total newbie
Lily Romano
@Lilyheart
Oct 18 2016 23:01
It's awesome cuz each lesson can take only minutes and it builds up. Many of the projects several MontCoders have gone through so we are familiar.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:02
nice
JBC944
@JBC944
Oct 18 2016 23:02
i just started working on it last night
better late than never right? lol
only 8 weeks into the class
Lily Romano
@Lilyheart
Oct 18 2016 23:05
Everyone starts somewhere!
I don't remember what these pasta things were, but they were from Trader Joe's and are amazing.
They have prosciutto :yum: .
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:09
in the paasta?
JBC944
@JBC944
Oct 18 2016 23:10
i am eating a gross bannana
Lily Romano
@Lilyheart
Oct 18 2016 23:11
IN the pasta. They are like a tortellini. Looked at the package.. Perline Pasta & Prosciutto
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:11
sounds snazzy
...planting the seeds of hunger
Lily Romano
@Lilyheart
Oct 18 2016 23:17
mmmmmmmm seeeeeds
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:17
how bout them mets?
JBC944
@JBC944
Oct 18 2016 23:17
why does bannas taste different
when i buy bannans at wegmans they taste fresh
Lily Romano
@Lilyheart
Oct 18 2016 23:18
cuz wegmans is the best.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:18
different than ...say...chicken?
JBC944
@JBC944
Oct 18 2016 23:18
when i buy bannnas at giant it taste frozen
when i buy it trader joes it taste like butt lol
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:18
funny you should ask that
Lily Romano
@Lilyheart
Oct 18 2016 23:18
Might depends on where they source them. Wegmans is very careful about sources.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:19
I worked at the Del Monte pier for a while
Bananas have a very small storage temperature window
like 2 or 3 degrees.
Lily Romano
@Lilyheart
Oct 18 2016 23:20
that's crazy and good to know.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:20
grapes they can take down to 31 degrees and they don't freeze. it extends their storage life for 6 months
I have seen them throw dumpsters full of bananas away because they came in yellowish off the boat.. They would ripen the whole shipment iof they kept them
and they aren't allowed to even give them away
if they can't sell them, they can't donate them
Lily Romano
@Lilyheart
Oct 18 2016 23:23
crazy. i freeze the brown bananas and then blend 'em later with a little bit of milk and water. tastes like banana icecream... without all the icecream bad parts.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:24
yum
they risk ripening a million pounds of bananas
Lily Romano
@Lilyheart
Oct 18 2016 23:25
That would be bad
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:26
who would think?
seeing them unload a ship is like watching a dance
Lily Romano
@Lilyheart
Oct 18 2016 23:27
I bet. I've only seen small scale (i.e. unloading at Wegmans xD)
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:28
It is a shame that the port is secured so that people cannot go see
Lily Romano
@Lilyheart
Oct 18 2016 23:29
That would be neat.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:30
I like some of the shows on local source channels where they take you through factories
you can always tell they pulled some poor guy off the meat grinder to talk to the cameraman
he is like a deer in headlights
Lily Romano
@Lilyheart
Oct 18 2016 23:32
heh. I love things like that. I have a friend on Facebook that posts some of the most bizarre "how things are made" video clips. So interesting. Paper, swords, candy, all sorts of things.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:33
Nice. I have been ina cardboard recycling plant.
Old boxes, mulched, new cardboard rolls. Fascinating
Lily Romano
@Lilyheart
Oct 18 2016 23:33
xD oddly really only toured beer places... and I don't drink much.
roommate does tho
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:34
hahaha.
Budweiser used to give tours in Newark NJ with a free lunch and an open tap
I guess we are done for tonite. It has been a real pleasure. Nice to meet everyone
Lily Romano
@Lilyheart
Oct 18 2016 23:37
Awesome! People are usually around all week but I try to keep Tuesday nights like this for people who want/need one night a week to work on projects. We also have the psychical meetups. I'm not sure if you are on meetup.com or facebook, but either way.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:38
meetup
all the time? I will check in when I can then
Lily Romano
@Lilyheart
Oct 18 2016 23:39
Yup! I see messages on my phone and laptop. Desktop not so much as I'm usually doing homework then or knee deep in a project.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:40
Homework?!
Lily Romano
@Lilyheart
Oct 18 2016 23:40
xD Wasn't fibbing. I've gone back to school. Yay college and yay fellow students I could be the parent of.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:41
oh yeah...right
I have been thinking about doing something like that
Lily Romano
@Lilyheart
Oct 18 2016 23:41
Jimmy and I share a teacher, but are in different classes.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:41
you like it?
Lily Romano
@Lilyheart
Oct 18 2016 23:42
I do. Doing much better then I did decades ago in high school.
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:42
nice
Maybe I should become a pastry chef...
bye
Lily Romano
@Lilyheart
Oct 18 2016 23:46
See ya next time Bob!
Robert Wilber
@wilberelectric_twitter
Oct 18 2016 23:48
k