« first day (924 days earlier)      last day (3391 days later) » 
00:00 - 21:0021:00 - 00:00

21:00
@Phrancis I have an accepted SO answer with 5 upvotes.
5
A: What is the difference between SOAP and REST webservices? Can SOAP be RESTful?

EBrownIntroduction I'm posting this as an answer because comments just don't suffice. Here is what I want to summarize for you. First, we'll start with these two references: http://spf13.com/post/soap-vs-rest http://blog.smartbear.com/apis/understanding-soap-and-rest-basics/ Lastly, I want to star...

@DanPantry You only have 40 votes a day.
And on SO you can go through that with downvotes pretty quick.
@EBrown I redact my original statement.
Oh, I didn't post that here for people to upvotes, but thanks Santa! :)
I wasn't aware that was the case, TIL.
Yeah, votes are limited on main sites to 40 a day.
(There's even a badge for it.)
@EBrown I remember reading that before, never recognised it was you
21:01
on all sites, I think
@janos Yep. It's SE policy.
BTW, SOAP is hell to test with stuff like postman.
REST is sooo much easier.
thx santas
POST /resource/. Done.
@DanPantry I think it's a really good explanation of the difference of the two.
It's my second highest answer on SO.
My highest is this one.
21:03
So how would you communicate with SOAP over, say, TCP?
@DanPantry You send RPC's.
SOAP can be built with any endpoint, whereas REST, by definition, requires HTTP.
You can build an entirely custom SOAP service that doesn't use HTTP at all, but uses some other port and protocol.
Yeah, I understand.
I've implemented SOAP over something as barebones as a straight UDP connection.
I feel REST is probably better for low bandwidth transport in things that are guaranteed to support HTTP
given XML vs JSON (although I think you mentioned SOAP can work with JSON just as well as XML)
0
Q: Finding Bit-Distances

TheProgrammerThe code can be found here: https://github.com/TheAviralGarg/Bit-Distances Can someone please tell me what I'm doing wrong here: Details of the programming problem that I am stuck on is in the README.md which I have copied below: Bit Distances The skeleton source code for this question is ...

21:04
Either one can work with either type.
@CaptainObvious broken
That's up to the negotiation, though SOAP typically uses XML because it needs extra metadata.
deceze is running for SO moderator.
I think that might be my next blog post. ;)
How does Duga think about that?
21:05
Thanks to everyone playing Santa around here! :)
Christmas is pretty close anyway ;-)
@janos as is my 21st. don't remind me
Hey there @Mast :)
@Phrancis and @Mast same person confirmed.
7
/wave
21:09
@DanPantry LOL
@DanPantry Is @JeroenVannevel his humor contagious or something?
@Mast s//wave/(。・ω・)ノ゙
Why does my "I'm an idiot." message have 8 stars? You guys are mean. :P
2
ᕕ( ᐛ )ᕗ
@Mast @JeroenVannevel and I are like brothers from another mother.
Except he's Belgian and I am British.
21:11
@EBrown Points for honesty.
And I am good at Javascript (and he has a job in it)
:^).
@Mast Well it was in relation to a very specific issue.
@EBrown This isn't even showing up on my starwall anymore :(
@DanPantry It just got pushed out when someone starred my message about it and the...thing...by @Phrancis.
@EBrown The starwall doesn't give about context :-)
2
21:12
@EBrown ᕕ( ᐛ )ᕗ
Gah, I actually need to get something done today.
Anyone ever use UML?
Since everyone seems to be changing their profile pictures today, I might as well go along with the trend.
I changed mine to something less dark, and this is a more recent picture of me anyway.
5 hours ago, by EBrown
I'm an idiot.
21:14
@EBrown That one looks a lot better, BTW
@Phrancis I know. I starred it.
@EBrown Every once in a while.
I'm thinking I should document this project I'm starting in UML.
@EBrown though you have a penchant for staring off into the distance, like you have some kind of spaghetti-code-inflicted PTSD.
@DanPantry I never look directly at the camera.
Chat should only take another 45 minutes to refresh.
21:15
@EBrown It's usually beneficial to write the sketches, the initial set-up in UML. So a starting project fits quite well.
@Mast I've never personally used UML. I've always viewed it as trying to document low level clases, rather than high level concepts
@Mast Well the thing is that I want this project to be very specific (and commercial), and I'm having problems visualizing it properly. (Perhaps that's a side effect of Five Finger Death Punch? We may never know.)
And I feel that documenting the flow of classes before a project begins is.. counter intuitive.
I don't use UML often, but when there are a lot of processes going on at the same time working on the same datastream on different moments, nothing beats it.
I have to get some of this carp from my head to paper before I forget.
21:17
@DanPantry I never used that part, it's much broader than many people think.
@EBrown Start writing now. NOW.
@EBrown Do what works for you best. If sketches are, do it. If pseudo-code is, do it. If chatting about it is, think again.
2
@Mast LOL
Usually what works best for me is an outline.
@Mast +1
@Mast And this is why I have gotten no personal projects done since 2nd monitor.
Everyone here is such a lovely person that it's hard to not want to talk more :-)
Except that @Duga person.. ;-)
21:19
@EBrown So make one. And don't be too strict about the UML rules, it's an initial sketch. Finish it up later, but get the rough things done ASAP.
I need to go get another notebook.
@EBrown I can kick-mute you if that will make it more productive for you (just joking)
lol
apparently chat decided to refresh now
@Phrancis Honestly, it probably would.
@EthanBierlein lol.
There are no bad pieces of code. Just happy mistakes.
21:22
(I kick-muted him :) (only for 1 minute)
2
LOL
> I prefer to use a bunch of spaces instead of a single tab for indents because that way no one is left on their own.
@Phrancis Unfortunately if I didn't have the 2nd, I would have Cities: Skylines distracting me. ;)
@EBrown do what I did
uninstall Windows and get an Ubuntu/Linux partition.
No games for you.
I have Debian on my laptop.
Use it for C/C++ and my IRC bot channel.
21:24
@EthanBierlein If you're talking Python, a single space is acceptable indentation.
Totally unreadable in the long run, but hey, it runs.
Using tabs for spacing makes me cry the cries of a thousand 1,$s/\t/ /g
@Mast Yes but then that single space is lonely and needs a happy little friend.
@DanPantry Dual-boot here
@Mast I have linux on a high-speed SSD
and windows 10 on a slower-speed HDD
mainly because I can't do programming all the time else I will burn out
Visual Studio is pretty inconsistent: by default C# projects have four spaces instead of tab, and by default Visual C++ uses the actual tab.
21:25
No SSDs here yet.
but its slow enough that I regret booting to it to play games each time.
I have Windows 10 and Debian 7 dual-booted on my laptop.
@EBrown Yeah, this is annoying when you use git and you get lots of whitespace errors
@EBrown First thing you do with a new IDE is changing all tabs to spaces anyway, right? RIGHT?!
Or when you use some kind of linter which yells at you
21:26
@Mast Yes.
@Mast yup. :^)
I hate using tabs, just because not everything treats them the same.
I know with four-space tabs that when I go to read it later, on any device, it will have the same indentations.
And they look exactly the same as 4 spaces.
Whereas with a literal tab, it depends on the device, programme, etc.
Most of the time. So never using tabs doesn't leave you wondering.
21:27
I have OSX 10.9.5 booted all the time... (there's no glory being a Mac user :\ )
@Phrancis You can play games on a Mac.
On Linux its a lot harder.. even with WINE
@DanPantry Some, yes
Unrelated, but I felt sad that this person on SO was tasked with optimizing MySQL query, when obviously the best optimization for MySQL is to not use MySQL...
"You should totally drop that and use Postgres instead"
3
I don't know why I'm mentioned
I'll be home tomorrow. On a date with a cute Spanish bellydancer
@DanPantry Right..
21:33
@JeroenVannevel Because you're popular.
Pray 4 me, online lovers
@JeroenVannevel good luck *shoves icecream with his tears*
hiya
hello @AlexM.
welcome to the Second 2nd Monitor
Hey @AlexM.
21:33
@JeroenVannevel Bob Ross prays for no one except his happy trees.
@EthanBierlein Don't you mean "for"?
@DanPantry There's a 2nd 2nd Monitor too?
@skiwi I struck "second" through because we have 2nd in the title (not second)
I wonder if there's also a 3rd monitor
Nah, we just have the Nth
It covers all other monitors
21:35
Including those in higher dimensions, of course.
Like "The 3rd 2nd Monitor"?
Well, wrote part of an abstract on this programme, time for some distraction.
Or maybe "The 16th 156553rd 40562nd 506th Monitor"
My head hurts. Please stop. :(
while(true) { numberOfMonitors += 1 }
21:39
while (true) { new Thread(() -> createNewMonitor()); }
Dammit, now I have to go make this.
Make the amount of monitors a multidimensional array.
@skiwi This kills the computer.
My mind thinks faster than I write and often I miss words. Blech.
21:53
lol... Writing some Javascript, and I accidentally wrote this:
loopBrackets.shit();
unshift? lol
Meant to write shift
nailed it
and, yo, camelCase
0
A: Maintain sync of select list

wireyInstead of rewriting the code you can just trigger the change event after you bind it which will cause it to sync on page load $('select').change(function() { var optionText = $(this).find('option:selected').text(); $(this).prev().text(optionText); }).trigger('change'); // <-- trigger change

@Phrancis he could take out the it's not working and make a comment about there being bugs in it, that way my first comment isn't completely invalid.. — Lost Bam 51 mins ago
^ Not how it should work...
22:04
2
Q: Simple complex number class

Andrew SunThis is my first time writing C++, so I would appreciate advice in the areas of: Code style (naming conventions, indentation, etc) Memory usage (am I performing unnecessary object copies?) Class design (move constructors, destructors, etc, are they necessary?) Correct usage of standard library ...

Not a good stackoverflow question, maybe better on codereview. — JamesKPolk 56 secs ago
@Phrancis Flagged as NC, load of crap.
0
Q: Find the lowest number

user89593I have the following code that finds the average of 10 numbers. How can I change it find the lowest of the 10 numbers? import java.util.*; public class HWProblem5 { public static void main(String[] args) { System.out.print("Enter the 10 floating point numbers:"); Scanner input =...

0
Q: Some java code regarding hashing

user89596I've written a java class that will provide the utility of, in essence, hashing user passwords for an android app that integrates couchbase mobile into it, and then, checking whether or not the hashing of the password string entered by the user matches the hash stored in the DB to grant access. D...

22:33
lol
13
Q: What makes the German language sound so harsh?

T SieksmeierWhen international friends hear me talking German, they always think I must be really angry and having an argument with somebody. What are the phonetical explanations for making the German language sound so harsh or rude?

16
A: What makes the German language sound so harsh?

WrzlprmftConsonant density This is a factor because consonants are often perceived more harsh than vowels. German is a very vowel-rich language. There are reasonable vowel definitions containing 23 of them (see, e.g., this list) plus three diphthongs¹. Consequently, vowels have a high information densit...

Someone it's very difficult to make herfst (in Dutch) sound angry
0
Q: Multidimensional array traversal

pulse0neI have a structure that is organized much like a Sudoku board, where individual cells reside in an n x n region, and those regions reside in an n x n area. I need to be able to address both the regions and the individual cells within the regions separately. When operating on every individual cel...

So this project has a dozen models or so, and none of which are stored as database tables...how fun.
Instead, they're all encrypted and stored as an encrypted binary format in one field in the DB.
My q's look like u's with long, backwards tails.
22:50
@skiwi eh that's not difficult...
at all
Here at SO, we're primarily focused on solving 1 problem per question (which is why it's important for each question to have one specific problem). There's a SO sister site that deals with slicing the code to bits and doing reviews and optimizations: codereview.stackexchange.com Answers here should stay as close to the original code as possible, especially for beginners. — Shomz 20 secs ago
23:22
You should use code review for that: codereview.stackexchange.comKemal Kefeli just now
@DanPantry Too bad you don't know Swedish, otherwise I would have linked you an old comedy sketch with a Swedish comedian...
23:39
Well, I think I'm going to build a prototype of this programme and then build the real thing later on.
23:58
Question: Does "best thing since sliced bread" make this thing better than sliced bread, or is the sliced bread better?
00:00 - 21:0021:00 - 00:00

« first day (924 days earlier)      last day (3391 days later) »