« first day (2174 days earlier)      last day (2808 days later) » 

@gnat at least they're honest, unlike all the people that just dump code because they're banned from SO and play dumb.
 
please help me i am unable to resolve this issue — khan 10 hours ago
^^^ like that guy? :)
 
indeed. :)
 
 
2 hours later…
10:56 AM
Happy Coffee Day!
 
 
2 hours later…
Adi
1:13 PM
anyone here from treehouse?
 
What is Treehouse?
 
Adi
a website which teaches programming
they are pretty good
i just can't load their online workspace
 
You should contact their technical support, then.
 
Adi
thomas is there a place where people can make games through onlin =e communication?
 
Not that I know of. But I've never looked for anything like that.
 
Adi
1:18 PM
im learning java and its soo interesting :D
 
@MetaFight and also to you.
I'm trying to figure out a thing this morning.
What thing am I trying to figure out? I'm glad you asked.
 
What thing are you trying to figure out>
 
I was just getting to it. I didn't think you were actually here, or I would have typed faster.
So remember how I was making that website diff tool?
 
Yeah. Did you demo it?
 
No.
Today I'm trying to decide the best way to allow testers to select which elements to compare, if they want to look at just certain things.
 
1:26 PM
Can you use the IDs and classes of tags on the page?
 
But now I've just remembered that I'm supposed to have a mockup of the new pricing section done.
@ThomasOwens Yes, that's how I do the diffs in the first place.
And they are stored in a table and labeled as to whether they are id or class.
 
That sounds nice.
Like a nice design, I mean.
 
But I think I will put in a checkbox selector interface, so the user can choose just some of the elements.
Right now it does all of them, and that can be quite lengthy.
 
Yeah, but it's probably the easiest to implement.
 
Adi
i cannot chat in satck overflow as I don't have 20 reputation. I don't have any serious questions about programming as of now how do i get more reputation?? I am a beginner so I cannot answer any question either :(
 
1:29 PM
But that means I need to rethink how the element lists are handled.
@Adi Edit.
 
Adi
wut?
 
Although with your orthography, that's going to be slow going.
And also I should probably do something about this "global" class I have, but I'm not sure if that's poor design or just stylistically different.
 
Mar 31 at 10:24, by Ixrec
@Ixrec I see a rise of a new genre at Programmers, let's call it beating a straw man. Someone dumps a question with a simple but terribly misguided / flawed assumption and answerers pile on it competing who would be the best in trashing it. This genre will definitely be popular (as it's essentially a sub-genre of bikeshedding). And it will be widespread because it is dead easy to construct such strawmans to beat — gnat 1 hour ago
 
Also, I'm thinking that I should populate the checkboxes programmatically and it's been probably six years since I added controls like that.
 
Adi
what does "hardcoded" mean for a variable?
 
1:39 PM
Hmm, oh, but I can make the List<string> into a Dictionary<string,bool> where the bool determines whether it is searched.
No, not a dictionary. Um, what's the other thing?
@Adi It means you set the variable in the code with no other place to change it.
 
Adi
oh, so like you can;t change it through user interactions?
 
So many things I can't remember.
@Adi Right.
You have to change the code and re-compile.
I guess I should just make a new class for the two things. Seems like such a waste.
 
Adi
what does "command line program" mean?
 
in general a program without a gui
 
Adi
oh, so like in a console?
 
1:46 PM
Exactly. Command-line, console, and terminal. All are the same thing.
 
I wonder if it would make more sense to have one list of all the elements and another list for just the selected elements.
Eh. That's just going to make the checkbox list harder though.
 
why not a List<Tuple<string, bool>>
 
Because I couldn't remember Tuple.
 
even a custom struct would work
 
@KitZ.Fox It depends. I usually tie the data structures to my UI. If I have check boxes, a map from thing to boolean for enabled/disabled. But I sometimes have two lists with arrows to move them between the two lists. Then I have two lists of things in my model.
 
1:51 PM
Thing is, I already have two lists, one for classes and one for ids. I differentiate when I initialize them.
I feel so dense today, like there should be a really obvious simple way to do this.
 
Adi
as of now I have only been tought about getting text outputs from console. How do I make a window with graphics and animations?
 
Select a gui tool kit and start with its tutorials
if you feel masochistic you can try to use the native OS gui api
 
Adi
wut?
oh you need to make something called "gui toolkit"?
 
not make, use
 
Adi
is eclipse a gui toolkit?
use
 
1:55 PM
no eclipse is an ide
 
Adi
but I have seen games being made in eclipse
that have animations
 
Let me think this solution out loud. I get the element, add it to the List<Tuple<string,bool>> with bool = true. Then I use the checkbox interface to set whether bool = true, and when I iterate, I use the bool to determine whether to search for that element.
 
Eclipse is an IDE. It's also a Rich Client Platform. If you're in Java, the main frameworks for GUIs would be JavaFX and Swing. Eclipse Rich Client Platform (RCP) uses SWT.
 
Adi
i didnt get a word of what you said thomas, is this advanced stuff?
 
I've only used Swing. It's older, but there are a lot of resources and tutorials out there for learning. JavaFX is supposed to replace it. Not sure if that's going to ever happen.
Advanced? No. We did GUI applications in my second course.
 
Adi
1:57 PM
im a beginner with java
not even completely familiar with the idea of classes
 
making a gui is not hard, however understanding what is going on under the hood is harder
 
Adi
yeag
 
If you're learning Java on your own, you should be using the Java Tutorials: docs.oracle.com/javase/tutorial/index.html
 
but understanding is very handy to avoid pitfalls in the api/language
 
Adi
im doing it from tree house. It is a pretty good website
 
1:59 PM
Oracle wrote the Java Tutorials and keeps them up-to-date with the language. I don't know anything about Treehouse, but the tutorials I linked to are really helpful.
If you're going to use Treehouse, you're going to need to follow their path. I'm guessing they put things together in a way that makes sense.
 
Java Tutorials were very helpful to me when I was learning Java.
 
Adi
yes exactly
omg u learn soo much by making thise mistakes
 
The number one thing to keep in mind when building a gui is to avoid long running functions in the event handlers.
 
Adi
wat is an event handler
omg i know javascript but none of this was tought to me!!
 
javascript is not event-based, is it?
 
2:02 PM
JavaScript is a different language with different terms.
 
in Swing it's something like MouseInputListener
 
I wouldn't rush ahead through the courses that you are doing now. It won't be helpful.
 
@KitZ.Fox it is
 
thinks Oh. Must be like .onEvent? That seems vaguely familiar.
 
javascript is entirely single threaded
 
Adi
2:04 PM
what is single threaded?
 
It's been years since I did anything with javascript.
 
single-threaded means there is only 1 thread of execution
which means that every block of code will run in its entirety and no other code will run while it is busy
 
Adi
yes
isn;t java the same?
 
java can do multiple threads
 
Adi
like you can make infinite loops in java too right?
the draw function in js doesn't prevent the following code from running tho..
 
2:08 PM
the draw function will have completed fast enough that the other code can run afterwards
 
Adi
so lemme get some terms clear:
designer: the guy who designs the appearance of a software in tools like photoshop and has nothing to do with programming. Hes just an artist
fornt-end developer: the guy who makes the design using real code.
back-end developer: the guy who amkes the page dynamic and interactive and makes ot do some work
does front end developer add animations to stuff too?
 
You got it backwards.
Well.
 
Adi
?
 
I guess I think of back-end as "real code" and front-end as javascript and stuff.
 
Adi
yes
front end is just design using code
 
2:13 PM
I don't consider javascript/CSS to be code.
 
Adi
but who makes the animations of a webpage, like buttons?
 
front end
 
Adi
oh
and back end makes stuff like resistering to websites and money transactions work?
 
The whole notion of "front end", "back end", "designer", "full stack"...it depends. I don't think there's a fully agreed-upon definition.
 
lines are blurry
 
Adi
2:20 PM
oh
what is the advantages of java being so verbose?
 
it's easier to see at a glance what the code is doing if it's correctly formatted
but that's about it
 
lower learning curve for libraries and code you're not familiar with if things are named well.
 
and descriptive names are verbose
 
Adi
oh
what does the error "reached the end of file while parsing" mena?
mean'
 
2:37 PM
probably a missing closing brace somewhere
 
^^^
 
Adi
true
accedentally wrote an opening brace instead of the closing one for the "public string args" thing
and struggled with it for 10 min :p
 
 
1 hour later…
3:55 PM
your IDE should show you that @Adi
 
Adi
4:37 PM
@enderland i am not using an IDE
 
Adi
4:49 PM
does the name of the starter class has to be the same as the name of the project?
like the "public class <CLASS>" thing
 
5:19 PM
hi
 
~~hi
 
Adi
why does the second line of 3rd line in the console come after a space? prntscr.com/c6i3p2
 
@Adi Because you have a space after the new line.
So the console prints a new line, then a space, then the second statement, then a new line and a space.
 
Adi
oh
thats becuz of my first line?
 
I'm confused why you use two instances of console though.
 
Adi
5:25 PM
i wuz doing something else so i cut some code to try something else
 
@Adi Yes. "can't remember what you wrote\n " <--space at the end, before the quote.
 
Adi
curious
no its like
oh yeah
 
5:46 PM
Who's your software architect?
 
@AaronHall We are all software architect.
 
Jul 21 at 17:45, by Robert Harvey
Basically you're saying "Let's scrap a well-known, well-understood taxonomy, and substitute four arbitrary (and incomplete) subject matter bullets."
 
@ThomasOwens hopefully not
 
attempts to coin some witticisms
 
hahaha so witty.
 
5:58 PM
@enderland Why not?
 
just imagine that you have a team of say 100 devs, all who envision themselves as architects
 
Oh. I meant "we" as in "everyone here". Like Spartacus and his dudes.
 
class DevABC(ABC): 'dev abstraction'
class SoftwareArchitect(DevABC): 'with vision, creates proof of concepts, lets others handle the fiddly bits'
class JuniorDev(DevABC): 'handles the fiddly bits'
Sometimes you want code reuse. Other times you want concept reuse.
 
6:38 PM
cues the laugh-track
 
6:57 PM
That feel where you spend 3 days fighting with IBM WebSphere on your local workstation and you are trying to get it working with Eclipse properly, and you finally have that ah ha moment where you are sure recreating the profile and your Eclipse workspace will finally get it resolved...
... only to start your profile and find WAS crashs and leaves a core dump no matter what you do
oh and because you work for a high security firm you don't have local administrative rights to try and reinstall
IFHTP
IFHIBM
 
Have you tried turning it off and on again?
laugh-track
 
o_o
 
sorry.
 
actually I was going to try a reboot next
 
"Whiteboard is filmed in front of a live studio audience."
2
 
7:01 PM
but I also have to pick up my son from daycare, so I am going to be so f----- agitated until i get back to work and try to fix this again
Clonazapam
for when you are forced to work with reprehensible IBM software and you had too much coffee
 
 
1 hour later…
8:04 PM
> Excessive intake of alcohol, as we know, kills brain cells. But naturally, it attacks the slowest and weakest brain cells first. In this way, regular consumption of beer eliminates the weaker brain cells, making the brain a faster and more efficient machine. That's why you always feel smarter after a few beers.
 
8:38 PM
this question may be ontopic on programmers just in case you need a bit more conceptual help. or you might want to split this problem into smaller and better answerable sub-problems. — Trilarion 40 secs ago
 
 
1 hour later…
9:40 PM
@AaronHall Alcoholic Darwinism.
 
10:08 PM
Precisely so, my dear Harvey. Precisely so.
learns UML so he can read a gang of 4 cheat sheet
 
0
A: Would it be on topic to ask question about the codeless code case interpretation?

Robert HarveyLet's start with Common Mistakes Stack Exchange Users Make, Invalid Assumption #256: If a question can somehow be made to relate to one of the subject matter bullets in the Help Center/On-Topic, it is automatically on-topic, even if that relation is of the most tenuous nature. And the more ...

 
Yeah, that looks pretty good.
 
10:21 PM
@ThomasOwens: Another question that falls under "career advice," though I admit I am stretching the definition a bit:
0
Q: What kind of support does my app need?

BraineeeeI've recently developed an idea for an app. I'm a strong programmer, but I've never run a business or finished a major project in my life. However I am looking to make money off this idea. If I were to develop the app what would I need to support it? Obviously I would need to run a server with ...

 

« first day (2174 days earlier)      last day (2808 days later) »