next day →
last day (1564 days later) »
01:00 - 03:00
03:00 - 08:00
08:00 - 12:00
12:00 - 14:00
14:00 - 15:00
15:00 - 16:00
16:00 - 20:00
20:00 - 23:00
alovaros
08:02
"If builders built buildings the way programmers write programs, then the first woodpecker that came along would destroy civilization"
I totaly agree
Sweeper
Oh you see my thing there
That's a quote from someone
alovaros
jeah :D
but you don't know from who ?
Sweeper
I read it from
Code Complete 2nd Edition
by Steve McConnell
alovaros
ahhh
what ?
Sweeper
alovaros
08:08
looks quiet old
Sweeper
yeah
ProgramFOX
back
alovaros
wb
Sweeper
"A dead program normally does a lot less damage then a crippled one." -- Andy Hunt and Dave Thomas
alovaros
haha true
Sweeper
08:22
Try enter the code below to some kind of text editor that has syntax highlighting:
/*"/**/
Is it a string or a comment?
alovaros
comment
Sweeper
I think for some compilers it is a string
alovaros
why should it o.o
Sweeper
It has a "
alovaros
but
/*(starts comment)"(is in comment)/*(is in comment)*/(close comment)
Sweeper
08:26
well...
Code complete has these little tests that you can do
alovaros
if a compiler says it's a string this compiler is retarded
what ? o:
Sweeper
btw Code Complete is a good book, you should read it
alovaros
I should statring to read programing books ...
Sweeper
Oh I found a Data Literacy test
Want to test how well you know about data types?
alovaros
oke
Sweeper
08:35
If you see a term that looks familiar and you know what does it mean, add one to your score, if you know a term's meaning but is not sure, add 0.5
abstract data type
array
Renjith JR
@All :Anyone worked with ORacle SOA ?
Sweeper
bitmap
Boolean variable
B-tree
Character variable
container class
double precision
enlongated stream
enumerated type
floating point
alovaros
I think I have 4 points so far xD
Sweeper
heap
index
integer
Oh man it thinks I am spaming
I'll just say it all out
alovaros
xD
5.5 points
sad
lol
Sweeper
08:39
linked list, named constant, literal, local variable, lookup table, member data, pointer, private, retroactive synapse, referential integrity, stack, string, structured variable, tree, typedef, value chain, variant
alovaros
9
Sweeper
um... ok
alovaros
tha's to less lol
Sweeper
The result is "you are a beginner programmer, probably in your fist year of CS in school or teaching yourself the first programming language"
I am like 19 or 20
alovaros
hmm that's rigth o: I've had my first lesson in programing like 10-11 month ago xD
Sweeper
08:44
Let me tell you a secret about this
elongated stream, retroactive synapse and value chain are fake ones
The author made those up
So you cant know 32 of them
I mean I started programming a year ago as well and I know so much stuff but you don't
alovaros
haha :D jeah but I just learned C it's old things like hashmaps don't even exist there
it just has primitiv data types
Sweeper
I guess it depends on the language you're familiar with
If your language doesn't have typedef then you don't know what typedef is
alovaros
so never heard of this lol
Sweeper
I guess the reason why I know so much is because the POWER OF YOUTUBE!
And also because I write programs in C#
thenewboston is a great channel
alovaros
jeah ;D and I'm lazy and didn't learnd much at home lol
Sweeper
08:53
Actually what are the things that you have 1 score?
alovaros
boolean,double,enum,float,int,local,pointer,private,string,
Sweeper
OMG, that's all the primitive types!
I just realized that C has no class
pun intened
alovaros
haha xD no it hasn't
but I know private from java :P
Sweeper
So no abstract data types
alovaros
nope
just primitvs
Sweeper
08:57
but in java you can do something like this:
`public abstract class MyClass {}`
alovaros
I know
Sweeper
That's a abstract data type
alovaros
I do java atm
Sweeper
ATM?\
alovaros
trying to write a webApplication with datastream xD
at the moment
Sweeper
08:57
teller machines?
alovaros
what ?
Sweeper
ATM
ProgramFOX
@Sweeper "at the moment"
Sweeper
Oh I see
alovaros
FOX do you do java ?
Sweeper
09:00
intranet.kings.edu.hk/~s13977/mygamecentre/index.html
Have you seen this yet?
ProgramFOX
@alovaros Nope.
alovaros
won't click on any links now
damn xd
Sweeper
Why?
alovaros
cuz I stuck with this damn data stream because this tutorial use classes and functions but don't show how to define them
Sweeper
By function, you mean a
method
?
alovaros
09:04
arrgh yeah
java (and all other languages) method in C function ...
Sweeper
[
access modifier
] [return value type] [method name] [(
parameter list
)] {}
italic are optional
alovaros
:D
I know how to define methods in java
Sweeper
Why do you say that "this tutorial use classes and functions but don't show how to define them"
alovaros
wait
sessions.stream()
.filter(session -> Objects.equals(session.getUserProperties().get("companyId"), event.getCompanyId()))
.forEach(session -> Common.sendMarketPrice(session, event.getMarketPrice()));
Common is undefined
so I could make a class common
Sweeper
yes
alovaros
09:07
and write a method sendMarketPrice
Sweeper
I guess so
what is that -> doing here
alovaros
but I would just know that this method needs a session and a double and don't know what to do with it
Sweeper
theres no pointers
alovaros
I don't know it's a lambada
Sweeper
Oh lamda, I see
Rishav Kundu
09:08
hey sweeper
Sweeper
Hello
Rishav Kundu
What are you doing here O.o
alovaros
listen to korn now ! :D
hiding
Rishav Kundu
Hiding O.o ?
Sweeper
@alovaros I will give you the method signature
alovaros
09:09
you know what to do ? D:
Sweeper
public static Session sendMarketPrice(Session session, double price) {
}
Why are you D:
alovaros
I've done that too :D I know how to write classes and methods
but I have no damn clue what this method should execute
Sweeper
Oh I see!
alovaros
jeah :D
Sweeper
The tutorial didn't mention it?
alovaros
09:13
nope .-.
Sweeper
give me the link to the tutorial
alovaros
it's in german
Sweeper
its ok
alovaros
jaxenter.de/jax-rs-20-websocket-13453
Rishav Kundu
yay this room
alovaros
09:17
@RishavKundu listen to korn now
Rishav Kundu
@sweeper how's your wesbsite going?
i did, not my style of music bro :/
alovaros
@RishavKundu do it :D
Sweeper
@RishavKundu Fine
Rishav Kundu
I did listen
alovaros
oke :P
Sweeper
09:18
@alovaros I looked at the tutorial and I can't find the code that you were talking about. Which listing?
@RishavKundu I just found out a cool way to center a div
Rishav Kundu
how is tthat?
Sweeper
width:auto;
height:auto;
margin-left:300px;
margin-right:300px;
alovaros
@Sweeper listening 7 and 8
Rishav Kundu
umm, that'll center it?
niace
alovaros
centering things rigth in html is always a pain :D you should have a look on bootstrap
Rishav Kundu
09:21
but margins dont work on certain elements
@alovaros bootstrap suxxx
alovaros
@RishavKundu lol no
Rishav Kundu
reallly
getskeleton.com is the shizzz
Sweeper
@alovaros Well I guess maybe the Comon class is in the Java API
@RishavKundu What doesn't it work on
alovaros
@Sweeper no I checked this there's just Commons :D
Rishav Kundu
umm, elements that are either positioned with fixed or absolute, or relative
basically anything that's not statically positioned
but all this theory is meh
Sweeper
09:26
or maybe that's in an API that you don't have
Rishav Kundu
the best thing to do when making a webpage is to fire up chrome dev tools, and keep changing things until it works :P
Sweeper
What is that?
alovaros
I googled it :s there's no common
Sweeper
Chrome Dev tools?
@alovaros Sorry, I cant help you then.
alovaros
oke :) but thanks that you took some time to try to help me
Rishav Kundu
09:29
@sweeper
Sweeper
yes?
Rishav Kundu
^thats dev tools
or in words "inspect elements"
did you know you can make changes there and your page updates automatically?
like right now, i changed the
background-color
to black
ProgramFOX
fyi, I'll be gone for the next 10 days
alovaros
opned dev tools the first thing I see 9 error messages
Rishav Kundu
yeah that happens tooo
Sweeper
09:32
OMG that's cool!
Rishav Kundu
@Sweeper it's the easiest way to make webpages
just keep changing things around till they look good ;D
You use chrome right?
Sweeper
I actually just downloaded it
I used that stupid IE
alovaros
edge > all other
Rishav Kundu
@alovaros maybe but chrome dev tools is simply brilliant
Sam
So, you guys made another TPC.
Rishav Kundu
09:35
you can play around with styles on any page
nup, this aint the TPC
alovaros
at work and before I got win10 I used chrome 2
Rishav Kundu
this is the land of freedom
Sam
Still has "Teenage" in the title. lol
Rishav Kundu
we r kooler
alovaros
with K
Sam
09:36
Oh, I see. Cya.
alovaros
for swäk
Rishav Kundu
im gonna run my bot here
yuss
Sweeper
Who is Harish?
I have never seen him before
Rishav Kundu
how does it matter? this is a free land
hi @harish
Sweeper
But anyways, have to go now, bye!
Rishav Kundu
09:42
@sweeper you keep going and returning :3
alovaros
@Sweeper have a nice day
@Harish hohoho
1 hour later…
alovaros
10:55
nobody here ?
Rishav Kundu
i'm here
@alovaros don't spam skynet there, you'll get banned :/
i'll put up my bot here, wait
alovaros
:D I just wanted an anthem and who wanna ban me D:
Rishav Kundu
they might, you never know lol
i'm just gonna deploy my bot on heroku.
alovaros
oki nice :§
*:3
@RishavKundu do you wrote the bot ? o:
Rishav Kundu
yeah
alovaros
11:06
nice :D
in what langugage you write those bots o:
Rishav Kundu
python
alovaros
oh nice you think it's possible in JS too ?
Rishav Kundu
yeah, tom's bot is written is jS
alovaros
who's tom ? xD
Rishav Kundu
he's one of the ROs here lol
alovaros
11:16
lol
can all ppl create theyr own room ?
Rishav Kundu
yeah
you need some minimum rep though i think
heres my bot
github.com/xrisk/prime
give it a star plz, i want a star :'(
alovaros
looks nice :D i wouldn't be able to do something o:
hmm ? :D here in chat ?
Rishav Kundu
naw, in github
do you have a github account?
alovaros
nope :S
Rishav Kundu
man, i want a star lol
alovaros
11:26
sorry :D when I don't forget it ask me when I'm at home and logged in
01:00 - 03:00
03:00 - 08:00
08:00 - 12:00
12:00 - 14:00
14:00 - 15:00
15:00 - 16:00
16:00 - 20:00
20:00 - 23:00
next day →
last day (1564 days later) »
all rooms
Transcript for
Aug '15
4
Aug
5
♦
Teenage Territory
In the year of 2015, pioneers ventured north to discover the s...
life-discussion
programming
teenage
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile