« first day (2837 days earlier)      last day (2328 days later) » 
00:00 - 14:0014:00 - 22:00

00:00
"There's such a thin line between winning and losing." -John R. Tunis (source)
"The same thin line exists between true and false." - Wietlol (source)
 
3 hours later…
02:54
morning
Morning.
hey! there is an upload button now.
@AceVez What are you talking about?
@JennaSloan the upload button beside the send button
Hasn't that always been there?
02:57
Wait a minute. Don't tell me it's been there
God
Forget that I've ever said that
I'd be nice if there was an upload button on the mobile version of the chat
There isn't?
God my memory and perception is dropped after my Coke binging last night
Nope, the mobile version of the chat lacks the upload button and also doesn't display the right-hand side bar thing with the room title, description, pinned & starred posts.
It also doesn't say "stackoverflow" anywhere
Zoe
Zoe
04:00
Morning
Morning.
04:57
user image
3
leet minesweeper skillz
Zoe
Zoe
Damn xD
I totally didn't look at the memory to see where the mines were.
Morning o/
05:14
good morning :o
|0
good morning @Zoe :)
@JennaSloan nerd :D
05:43
Meh :/ Anyone good with regex 'n' stuff? I get 3 out of 4 cases correct with my regex but that is it...
Test cases:
"Something" -> Something
"Something else" -> "Something else"
Something -> Something
ignore Something -> Something
My regex: ^.*?( |\")?(.*?)\"?$
only works for the first 3. Any suggestions?
Zoe
Zoe
@Simmant morning
Wait hang on. I think, I am stupid
Yeah, I am. Ignore that regex stuff :D
06:00
@geisterfurz007 You mean like this?
O_O
Damn! Yeah like that :D
Thanks!
06:21
I just spent 4 hours on a problem and the solution is that I forgot to put return.
I need to cut back the Coke
@Zoe whats up??
What does Coke do to you O-o
06:36
oooooooooooooooooooooook
o*8k
@geisterfurz007 It affects my brains more than I thought.
Apparently drinking 3 litres of Coke a day is not good for me.
@JennaSloan Don't blame Stan
06:55
How do I download a program to create SQL servers without paying for it?
Do you only need a local server?
I'm not sure. What can local servers not do?
You cannot directly access them via the interwebz. As long as your Webservice for example is in the same place like the database, you are fine with a local one. If you want to have access to it from for example an app which can be used anywhere in the world, a local one would not suffice (or you would have to write a webservice as abstraction layer which is probably recommended)
So, basically there's no purpose in a local server?
Why would I even need a database if I'm just using it locally?/
Sure there is. I've got a meeting now; I will try to come back to you as soon as it's over.
07:00
For development purpose
So, if you're using the database with a web application, a local server does nothing?
@Nathan777 I don't get it
I don't either
that's why I'm asking what purpose a local one serves if you're creating web applications
07:20
@Nathan777 I see
usually it's for development purpose
AFAIK
eliminates most if not any problems related to database connection
Zoe
Zoe
@Simmant going home from vacation. How bout you?
When you are ready to publish your app, host your database and reconfigure your app database configuration
@Nathan777 What do you want to do with the database? That might make the discussion easier
I'm not sure exactly what the end goal is. I'm just learning how to integrate the databases with Java. I just don't know what the difference is.
Like, say, for the program I was working on, I wanted to create a web registration service, and I wanted all that information typed in by each user over the internet to go to an SQL server
@Nathan777 Local database is hosted on your machine, so you don't need internet to connect it
Perfect if you just want to try it out
07:27
@AceVez Ok, in that case my idea of a local database might be flawed
@geisterfurz007 Which is?
I would have said that a local DB is generally any database on the same local network you are connected to (for example the company network)
So, if I'm assigning cabins from summer camp, and I wanted to connect my program the service that parents registered their children, which then put the information in an SQL database.
@Nathan777 Then it's no problem whether the database is local or not
but it's writing information to a database from information entered on the internet
07:31
@Nathan777 You can do all of it locally
but then, what if I wanted to create a web program that signs people up for activities, and then it pulls from the database, and there are several people connected to it on the internet at the same time?
Do you want to put in the information directly from the website? I think usually you would have some kind of backend that will take the information and puts it in the DB. In that case you can have a database in the same location as your webservice (that serves the websites and takes in the credentials, etc) and access it essentially through the filesystem.
@Nathan777 You mean how can the app be accessed by a lot of people at the same time?
I mean, if they are using an application that takes in database information, it's not local anymore then, is it? If they are on the internet and accessing a database from a different client than the one it was created on.
@Nathan777 Well, if that's the case then you have to host your database so it can be accessed over the internet
Local database is usually used for development. Unless the scope of the app doesn't need it to be accessed over the internet
07:37
@Zoe that's cool, for me just routine office work.
People --- (Internet) --- Your Website
Your Website --- Your Webservice --- The Server
You use a webservice as layer of abstraction. You don't access the DB from the website. Let's say you want to know if the credentials of someone are valid.
The user puts in the stuff on your website and hits the login button. Some JS code on the website sends a webrequest to your webservice which contains the credentials. The Webservice receives the request, reads the credentials and proceeds to check whether those are correct by comparing them to the values in the database which is in the same filesystem
That way you can have your database somewhere locked down. You as developer with direct access to the server the stuff is on, can change anything anytime. Other people are restricted by what the webservice allows them to do. Noone can access anything you don't want them to access and you don't have to have your database visible publicly.
At least that is the way I would do it.
Interesting explanation. Got a picture?
jk
Your app and your database are a separate entity
I think I am somewhat, sort of, maybe, close to, kind of starting to understand
So, say I have a service that many different camps sign up and use. Do I have to create a new database for every single camp?
@Nathan777 nope
not necessarily
07:43
When I first starting using MySQL for a course over a year ago, we had to type out CREATE TABLE, and a bunch of other stuff. The pictures I"m seeing has it done much differently. Like clicking "new table" and the identity/key and values in a GUI type of format
Has it changed?
Nope
that's SQL
so, you don't have to use commands anymore, or what?
You can use either. However GUI stuff is easier (at least for me) so you don't have to member the commands.
I prefer the commands
but usually, you don't have to remember it.
but, if I'm writing to a database through a Java program, you have to use the commands then, right?
07:46
@Nathan777 a direct SQL syntax? not really.
It depends on what library you used
Again: You can but don't have to. This might lead to far but yet again you can use a layer of abstraction called JPA which allows the transformation of a Java Object to a database entity and back directly.
What's a good program to download to get started with SQL?
With JPA, you can access the stored information as objects
I haven't really used it so far, so I cannot really tell much about it but if you know SQL, it is probably the easier thing to use.
@geisterfurz007 ditto
07:47
Do you want to train SQL or do you want to set up a database and stuff for testing?
@Nathan777 your OS?
I used MySQL before, but I still need to practice more
Windows 10
For Windows, I recommend XAMPP. Easy to install.
what makes MySQL different? It's the same syntax
@Nathan777 different to?
07:49
MySQL and SQL
they both look the same to me
SQL is the "language". MySQL is the engine so to speak
oh, I already have XAMPP from my course I did a couple years ago
w3resource.com/mysql-exercises is an online website with many different practices and tasks to solve it seems
you are good to start then. But I suggest getting the new one
sqlzoo.net is another website with an online editor and tasks. It is kinda like a tutorial but you can just as well ignore the part and just work through the examples
07:52
I have XAMPP 3.2.1
the new one is 7.xx
7.2.7 to be exact
It comes with MariaDB 10.1.33
Oh, MariaDB is the open-source version of MySQL to put it simple
Oh, Maria. LOL. "Sister Act" reference
Apparently it's the creator's daughter's name
Both My and Maria are his daughters' name
so, if I had a registration service, would I be able to put all campers of all camps in a table of the database, and have a key for a particular camp they belong to, and then have the user be able to access only the campers that match the key of their camp session?
@Nathan777 yes.
07:58
good, because that's a lot of confidential information we're talking about
That's why you need to know how to design your database well
yes, I must succeed!
just like Doc and Marty
Who are those?
forget I asked
If at first you don't succeed, you fail.
@JennaSloan If you never try, you never fail
08:01
Which doesn't sound that bad...
But dang does it sound like a boring life...
After awhile, it will
Doc and Marty, from "Back to the Future"
@Nathan777 Forgive my ignorance, my brain isn't functioning normally today
give it a little juice
Trying is the first step towards failure
08:07
@Nathan777 Does 3 litres of Coke good enough?
That's probably not good
That's what I thought
A lot of sugar and over caffeinated
It's been like this since this morning.
I need to go home and get some sleep after my shift myself
way too tired
I didn't sleep as much due to a concert before work
08:10
You need it. Especially if you love your hair
I shaved my head
Good for you
I still want a little bit of protection over my head
And my head doesn't look that good
a hat
ok you got me
Let's just say that I'm not going to look like The Rock when I shave my head. More like an egg of some intergalactic species
then good for you
08:14
That sounds like some achievement as well!
I don't care if you look like a big giant banana ready to get peeled to death by a monkey
Well I do care
Jumped on by a pack of primates is not a good way to die
I know some worse ones
DAAAAAAAMB WAYS TO DAHAHAI!
So many dumb!
So many dumb!
So many dumb ways to dieeeeee
08:23
@Nathan777 It brings some memories. Used to watch this a lot
08:37
dislikes video
Jennaaaaaaaaaaaaaa?
No, it's 3:39 AM, I'm not here right now
08:51
same time here
I'm at work
Night shift must be tough
yes
i want to go to sleep
09:43
Why does it have to be so hard to change the powershell or cmd language to English?!
because y is a crooked letter. That's why.
Hello Cement
Hello @Nathan777 whats up ??
stuff
09:46
hm*8
@Nathan777 ha!
hmmmmmmmm = hm*8
you mean hm^8
if you day hm*8, it is hm+m+m+m+m+m+m+m
say*
I suppose you can put the m's inside of () to follow order of operations...
yes buddy, that is.
lolzzzzzzzz
09:52
Lame. The Regex Jenna wrote works on regex101.com but in my code it fails with no matches found -.-
If anyone makes a "lighter" joke, I will kick you.
Use blue tip matches. They take less effort to strike
It wasn't a lighter joke
I still want to kick you.
reminds me of the good ole days. Only I didn't get kicked. I got taught a lesson in the ole woodshed
10:03
THIS IS SO STUPID! WHY DOESN'T THIS WORK?!
regex101 doesn't have a java compiler
Yeah but it should still work in Java ._.
I wish I knew what the hell you were doing
There isn't anything super crazy in that regex (I removed \K and the branch reset group (I think it's called)).
I wish I knew as well...
IT EVEN WORKS IN AN ONLINE INTERPRETER!
?????????????????????????????????????
Matcher#matches returns true.
Matcher#group fails with the message "No inputs found".
Match maker, match maker, make me a match!
Find me a find! Catch me a catch!
10:19
throw me a throw
hint me a hint
I never heard that version
My JRE be like... Naaaaaah. Not for you.
Trash language
Why are you misspelling cuss words?
Because I got flagged for using the properly spelled version of fcuk once recently.
Jul 27 at 6:42, by Suraj Rao
@geisterfurz007 that.. got flagged
Clicking on there you can see in which context and stuff. It was nothing bad, not targeted at anyone, etc. I didn't get suspended but Suraj suggested using fcuk instead since it is technically a clothing brand.
@Wietlol ey!
How do I get an indexed group from a regex Matcher in Jaba?
I can loop over them now, but using group(1) still fails.
/javadoc Matcher#group
2
10:32
What the heck is a previous match operation.
(Don't you dare Sathan...)
I am 300% sure I used matches before that. Thanks @Wietlol
I'm loving that I have a ticket "ask people about how to improve monitoring dashboard". 80% of the people never even logged into the dashboard, the one feedback we got was brushed aside by the project manager and now my job is just to wait for answers that never come
I wonder how long I can busy-wait until I get assigned to real work
10:52
Heh! I got a project assigned (my apprentice project). So as the ambitious guy I am, I decided to ignore that for a while and write a commandline in JavaFX instead.
morn
morn
Hey Nicktar :)
anyone is familiar with a pattern matching engine?
10:56
I suppose
I have an issue of which I am clueless how to approach it
(it is C-sharpenized code from Kotlin :D)
Jesus christ...
you see there are a few simple pattern rules
That doesn't look like Java...
a literal rule (in regex: "a")
which matches only if the token is "a"
a sequential rule (in regex: "abcde")
which matches only if the tokens are a sequence of "a", "b", "c", "d", "e"
etc
but I have no clue on how to approach the optional rule
or repeating rule
(in regex: a? and a+ or a*)
10:59
This is the first I've seen someone pray over their code issues.
what I tried is to give the optional rule a continuation rule, which is basically making it
if "a" matches, try to match the remaining rule ("b?c?")
if not, then move the iterator back and try to match the remaining rule ("b?c?")
but this will fail to do some more... advanced things very quickly
but lunch now, so ill be back in 30
lost me there... I thought you were talking about Java regular expression pattern matching...
Yeah me too...
What exactly is Spring used for?
posted on July 30, 2018

archive - contact - sexy exciting merchandise - search - about ← previousJuly 30th, 2018nextJuly 30th, 2018: The HOW TO INVENT EVERYTHING Kickstarter is live!! It's my new book and I'm SO EXCITED about it, and if you have any interest in it this Kickstarter is the best way to get it: you get bonus things like a time travel bandana and postcards, AND you're supporting indie bookstores - al

11:19
@Nathan777 How exactly do you want it?
I don't really know what it is, and I can't find a picture to show why it's needed
I'd like it medium and lean. With some steak sauce
Great choice!
I suppose I gotta read up on it, when I'm not so exhausted
it's used for web applications back end though, right?
Next to many other things you can also use Spring as backend, yes.
I keep thinking of back hand when someone says back end. Like, I'm gonna back hand ya, boy!
Interesting link, Cement.
:D
I guess you know about that website, right ??
Nat
Spring is a huge collection of frameworks (Spring MVC, Spring Data, Spring Boot any many others) all basing on one keyelement: Dependency Injection (DI). DI is used to put Objects into other objects as required.
Imagine you have a complex project where you need to have different objects and classes used for testing and production (for example because you want to skip authentication or something like that). Now you could always change the classes and implementations being used but that would end up being incredibly annoying, you can forget changing it back (and all of a sudden everyone is lo
@geisterfurz007 you need a sleep dude :P
Too much bullshit? O-o
11:28
nooo lolzzz, but it is to much info XD
lolzzz exactly'
@JennaSloan That regex is pure gold. Thanks so much :)
-_-
@ColdFire whats up??
Ouch!
But yeah..., Very relatable :D
11:32
@Nicktar I am talking about a pattern matching engine
similar to how regex is a pattern matching engine
but I need to build my own
because my requirements are slightly... special
As usual.
my requirements include matching on the type of the token
basically an instanceof check
or reference a particular pattern rule for recursion
or dynamically adding and removing rules
or postpone parsing
etc
@Simmant good wbu?
Colddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd‌​ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd‌​dddddddddddddddddddddddddddddddddddd
11:38
kafad
@geisterfurz007 I am not sure how I am not clear
Oh you are super clear! I just have no clue what you'd use that for.
oh...
@geisterfurz007 nice geisssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss‌​ssssssssssssssssssssssssssssssssssss nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooob
you see... a programming language that is.... particularly complex :D
You are writing a programming language?
11:43
I'm going to have to figure out this Spring stuff maybe sometime next spring.
Sounds good.
@geisterfurz007 i thought everyone would know by now
@Nathan777 maybe try the Swing stuff next swing.
I am always a little slow, you know.
Talking about it... Where is @Zoe
talking about slow?
how rude
Flag me.
While you are at it, flag this one as well: chat.stackoverflow.com/transcript/message/43335567#43335567
12:00
Gold melts at 1064.43 degree Centigrade. It can conduct both heat and electricity and it never rusts. (source)
I just read that as God and wondered who they tested with.
^(?:.*?)((("[^\"]*?"?)|([^ ]*?))\\?)$ made this from Jenna's regex to adapt it to my hopefully final requirements. Should I worry or am I good? :D
@geisterfurz007 a regex from Jenna? you should be worried
@JennaSloan ^
Although you probably mean worried about my own incompetence :D
@ColdFire cool bro
@geisterfurz007 :.*? ... how we can :P
You shouldn't
lolzzzzz
12:25
I love how \\\\? equals an optional backslash. Four backslashes for an optional one.
I m always get confuse with regex
Yeah me too... I start to get the hang of it though. The easier stuff works out for me but once it starts with the special groups (lookahead, behind, positive, negative) I am usually confused.
exactly, in the beginning pretty chill and relax, but it go dipper lots of why arise in the way.
@Wietlol I already mastered Swing.
i see
anyone know why my H2 database is not auto populating a timestamp when my Java app writes a pojo to the db using spring data / hibernate? Anyone come across that issue?
Oh no!
MICHAEL!!! o/
Sup my dudes
13:08
o/
\o
Nothin' much. Working on the autocompletion of my commandline. wbu?
Workin'
@Pseudohuman whats up??
@Simmant Hello, human.
@Pseudohuman I m processor -_-
13:11
@Simmant I do not understand.
@Pseudohuman lol
@Simmant laugh out loud
@OakBot say hii to @Pseudohuman
@Simmant Type /help to see all my commands.
@Simmant I do not understand.
13:12
Please use the sandbox for testing out chat features or playing with bots.
XD
okk
13:40
Anyone know where I can find official documentation of INI file syntax and structure? I'm relying on the wikipedia page, because the links don't help, and google doesn't return anything useful.
I think you can rely on the wikipedia page. There is this python library that explains how the files need to be structured to allow them to be parsed by it: docs.python.org/3/library/configparser.html
Zoe
Zoe
@geisterfurz007 Just landed :o
The package is in the house, I repeat, the package is in the house.
Zoe
Zoe
13:57
Huh?
@Zoe wcb...
00:00 - 14:0014:00 - 22:00

« first day (2837 days earlier)      last day (2328 days later) »