« first day (273 days earlier)      last day (2958 days later) » 

7:31 AM
Can a resident badger hammer this please?
0
Q: how to extract data from .txt not by specified row and column numbers?

samI have a 6-by-3 matrix as sample.txt file such as: 1,0,0.01 2,1,0.03 2,0,0.04 3,1,0.06 3,2,0.05 3,3,0.07 which columns refers to A, Z and D separately. I want a Matlab code which when I write A and Z it write D. for example when I write sample(3,2) it gives me 0.05 not 0 the link...

oh, whoops. I thought it was the thing again with comma decimal separator, nvm
still unclear though
 
 
1 hour later…
9:02 AM
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
4
 
regex?
 
@GameOfThrows just type that in chat :P
 
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
lol
COOL
 
:D
I'm glad I found a good game for you
also, search for "easter egg" in chat
a few times:P
 
@AndrasDeak as in: ctrl-f?
 
9:07 AM
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
 
@Adriaan as in "search chat feature", silly
 
haha
 
upper right corner, for instace
that says "search"
 
found it. Can't star those though
 
10:01 AM
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
haha, classic Cthulhu post!
 
> The <center> cannot hold it is too late.
 
 
3 hours later…
1:05 PM
Mornin guys
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
 
@ballBreaker mornin' hon
 
How goes it?
 
@ballBreaker like hell
can't seem to think straight between either the pain of my infected elbow, or the mind-fuddling painkillers
 
Oh wow so it just randomly got infected then?
As in, I'm assuming you went to some sort of doctor or whatevers
 
I think so
 
1:10 PM
yuck
 
or can you obtain mind-fuddling painkillers over the counter
 
did you strain it kicking little girls?
 
In wherever land
 
not yet, I'm not very keen on wasting doctor's time on nothing, so I'm sticking it out till tomorrow
 
did a little girl kick your ass?
 
1:11 PM
@AndrasDeak can't even kick little girls tonight, as moving my arm hurts.
I woke up on Monday with a slight ache in my elbow, which progressively hurt more during the day, ending in a swollen, red and warm elbow
at which point my mother (apothecary) suggested painkiller + sitting it out a few days, and if it wasn't over by then go to the doc
 
weird
If it's swollen ice it
if it's not, throw some heating shit on it
 
@Adriaan you should consider that ass-sitting
rest your arm
jerk off with your leftie
 
For what it's worth, I'm just listening to crystal castles trying to wake the fuck up <_< so tired
 
@AndrasDeak that elbow got infected you numbnuts :P
 
oh:P
rightie, then
 
1:21 PM
all rightie, then
 
I always jerk off with my right
 
Sometimes I switch it up
 
@ballBreaker with your girlfriend's right?
 
@Adriaan Yeah exactly
Speaking of girlfriends, how's yours doing?
 
@ballBreaker much better of late
less depressed, more fun to be around
 
1:47 PM
That's good man!
Glad to hear it's going better
haha Dom is so timid, it's such a slow process with her sometimes. But it's going well
 
Dom is your girlfriend?
 
Yeah
Dominique
 
thought that was a guy's name
 
@GameOfThrows if you're French, but they have everything backwards
 
@GameOfThrows been watching to much Fast&Furious
 
1:52 PM
:D learnt something today
 
@GameOfThrows Dominique is a guy's name? I know Dominic is
 
It's probably like Daniel <-> Danielle so Dominic <-> Dominique
 
@Pauline read How to Ask. If you have a basic question, first prove that you have tried to solve it yourself by posting some code and telling us what went wrong with it. Posting bad code is fine. Asking for code where you have shown no effort of solving it yourself is definitely off topic. — Dan 1 min ago
dude still answered -.-
 
I feel bad for any dudes named Dominique
 
It seems that sometimes parents decide on the name before they know the gender of the child...
 
1:53 PM
I suck at names
 
Yeah haha makes sense
apparently there are a few girls named Dustin
and Dylan (my brother's name)
lol I feel so bad for those girls
 
So you guys are "double D"?
 
Me and Dom
or me and my brother?
 
Choose whichever... I meant your bro
 
Ahhh, yeah I suppose so
but me and Dom actually acknowledge it more frequently and refer to ourselves as Double D as a joke sometimes
 
1:55 PM
Colorful life you have :)
 
heh it makes things more interesting
It seems to be stabilizing a bit though, it was quite the rollercoaster for a solid few months
from like.. Dec - Feb
 
posted on March 30, 2016 by Yair Altman

An interactive search-box can easily be added to a Matlab figure toolbar for enhanced user experience. Related posts:Figure toolbar customizations – Matlab's toolbars can be customized using a combination of undocumented Matlab and Java hacks. This article describes how to customize the Matlab figure toolbar....Figure toolbar components – Matlab's toolbars can be customized using a combinatio

 
Ugh my brain hurts from anonymous functions
 
2:11 PM
what :D the aftermath of answering all those questions?
 
Just the functional programming one. Those make my brain turn into mush
When I first read that blog article, I tried it out for like half a day and was like SCREW THIS
I guess it could potentially be useful for golfing in MATLAB
 
Well, that's just bad. Dan voted to close the question, commented that it is off-topic and still repwhored the answer grmbl stackoverflow.com/questions/36310289/…
 
I am a repwhore, I love reps, I love whores, but most importantly I love answering stupid questions and gaining ez reps, upvote me now
 
I love reps too..
Of dumbell curls
 
2:21 PM
ALL THE REPS
 
PRAISE THE REP LORDS
the repwhore's cult and its leader Suever
 
(burn)
 
well, I'd say Suever gets his rep by answering proper questions at least, not FGITWing questions he knows should be closed
 
I still vote him for leader :D
 
Eh I have some good ones and bad ones
The only reason I'll answer a bad one usually is so I can rant about one of my pet peeves
Like people using gca
 
2:31 PM
:D
I try to answer good ones, but I cannot always answer them, I really like the occasional hard one, I guess I do have bad ones, but I do look for duplicates first before answering
but I still consider myself a repwhore :D
because I am constantly waiting for new questions which is a sign of desperation
 
Yea that's the main reason I thought it would be good to put together an intelligible list of posts so it's easy to find dupes
I would have never thought to search for 24.000 to find the question on floating point
 
yes, I guess the problem is people suck at describing their problems in the title
 
exactly
 
they are more inclined to put "matlab dimension mismatch mistake" and that sort of rubbish
 
And often a lot of MATLAB posts are very specific
Like this crap
2
A: How to determine the mean of the last e.g. 100 non-zero numbers in each column of a matrix in matlab

SueverThere may be a more efficient solution but one way is to use sum to find the number of non-zero rows in a given column. Then grab average the values of A by looping through all columns with arrayfun and averaging the N rows before the zero in the column. %// Number of elements to average N = 3; ...

 
2:34 PM
LOL
 
Like someone could easily look at 2-3 posts to figure out how to do that
but it's just not even searchable as is
 
time to build a Convolutive Neural Networks to get the features in the post and do some intelligent feature matching instead of string matching
 
Yea something
Or maybe weight similarity on the similarity of answers
Because those at least attempt to use the right terminology
like if I search for "caxis matlab" I would want all of the answers that involved that
because half the time the question doesn't know what the hell they want
and just completely butcher the title
i.e. Masi constantly using "figure" when he means "axes"
 
@GameOfThrows people don't know what their problem is, therefore they ask about what they observe. I answered someone "Use the @ symbol" on "Runge Kutta problems" and use that as a dupe target for function handle questions
if the chap'd known he was failing a function handle, he wouldn't be failing it long, let alone ask a question
 
true
 
2:39 PM
the damn @ symbol is the hardest thing to google
literally "the at symbol"
 
fuck, you can't close bountied posts?
wtf
 
@excaza nope. If you think they're seriously bad, mod-flag them. That's about all you can do
 
but it is difficult for us to mark duplicates if we keep forgetting the name of that post because it had no/little relations to what was asked
 
2
Q: Resize Frame for Optical Flow

UZIERSKII have problem with changing the resolution of the video file. There is a problem with optical flow if the frame size have been manipulated in any way this gives me error. There are two options either change the resolution of the video at the beginning or somehow how change the frame size in a wa...

this question sucks
 
well that's why I try to change the titles
 
2:39 PM
and it has 2 upvotes
 
like the recursive function one just now
I think "Is it possible to have a recursive anonymous function in MATLAB?" is a much more searchable title
 
@excaza hence no answers
 
I think all bounty ones gets upvoted by people who do not read/understand the question
 
Compared to "Is it possible to nest $n$ anonymous functions?
"
 
exactly, I guess changing the titles is a good way to do it
but it is very manual and labourous..
 
2:41 PM
yea definitely
If I write a substantial answer I will typically change it to help it be found in the future
@excaza I'm not even sure WTF that question means
like is he getting a bounding box and then trying to use OF within that?
pretty much any video source is going to give you constant dimensions
I think....
 
There should be some wordnets comprised of the function names that appear in code snippets, and match questions based on that...
Title is too arbitrary (because people who know how to define their problem properly can find an answer on their own 95% of the time)
 
Leave it be for four days, then CV it. OP doesn't have enough rep to pay the next bounty
(or place a shit answer, get upvoted by us, get the bounty and run)
 
@Adriaan a shit CW answer :)
 
Oh that's true. If people suck at titling they wouldn't know how to google correctly
 
"get the bounty and run"
where you running :D
 
2:47 PM
That sounds like the name of a country song
 
3:08 PM
I don't think I can even count how many times the VP has asked me the exact same question -_-'
Being a system admin has it's downsides sometimes lol
"The SVN checkmark symbol is gone! How do I get it back?!"
Literally once a week
 
@ballBreaker SVN?
 
the pleb version of git
/ the intranet version lol
/ has been around WAY before git
 
hmm, a friend of mine wanted to go to a "real metal concert" at least once, and she's decided to go to Portuguese black metal
I'm dubious, but would like to see her there :p
 
lol SVN
git/gitlab or bust
+tortoisegit for people who love those damn checkmarks
 
@Suever lmao ^_^
Didn't know there was a tortoisegit
we use tortoiseSVN
Perhaps I could actually convince my boss to switch to git
 
3:15 PM
I convinced our IT folks to host a gitlab server
I'm pretty sure I'm the only one who uses it
 
@Adriaan Hmm
Portuguese black metal
Sounds retarded
You should tell her to maybe test the waters before diving in head-first lol
Usually things happen when you skip the foreplay and get right to the sex
 
@ballBreaker it's rather alright I'd say, the clean vocal bits at least. Growling/screaming in black metal is always shit
 
Yeah
I can't stand the drumming usually either
It's always the exact same double-kick-snare beat
drdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrr‌​drdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPd‌​rdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdr‌​drBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdr‌​drdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrBAPdrdrdrdrdrdrBAPdrdrdrrdrdrB‌​APdrdrdrdrdrdrBAPdrdrdrrdrdrBAP
CHING CHING BAP DR DR CHING BAP
DAGUNDADADUNGADABAP
 
@ballBreaker flags as abusive
 
The only thing being abused is my eardrums
 
3:21 PM
When did TMW stop using the word "string" in their docs? Now all I see is "character vectors"
 
@Adriaan braces self
 
@Dev-iL No more strings? There goes the last bit of sensuality in the docs
@ballBreaker might want to not play that out loud at work
 
> cellstr
Convert to cell array of character vectors
 
@Adriaan ah I have headies
I mean, this isn't the stereotypical black metal drumming
but it's also extremely simple
Mmmmm actually it picks up a bit
But reminds me of ACDC
Then again, I'm pretty sure like 1% of people who listen to black metal listen to it for the drumming ;D
I'm spoiled though with bands like Tool and Deftones
 
3:25 PM
As I said: the clean vocal parts are rather decent. The screaming, not so much
hej pink shirt man!
 
That will be my official greeting henceforth
@Adriaan hello sir :)
 
@Adriaan yeah true
 
@rayryeng oh piss off :p
 
I like it with some bands though
 
:D
 
3:27 PM
Some bands do the screaming well.. for me though it's like a certain type of crazy scream that I really like
 
If and when I do watch Rocky again, I will remember you when Rocky screams for his wife.
 
@ballBreaker Insomnium has great grunted vocals imho
 
@ballBreaker What do you think of AlexisOnFire?
just curious
 
Like this right here is my favourite screaming
 
I don't like or dislike them, but I know Dallas Green does a bunch of screamo.
 
@rayryeng I don't mind em!
 
nice.
 
Never really got into em though either
 
neither did I. Was wondering what you thought of them though
 
I don't really like screamo per-se
but I like people losing their minds
So that song I posted up there is a good example
 
3:29 PM
not too bad, but a bit much of unintelligible screaming
 
@Adriaan it is technically more accurate, MATLAB doesn't have a string class
 
@Adriaan Yeah for sure hahha I think that's why I like it
There aren't many songs when afterwards you go "wow.. did that guy go insane during the course of this song?"
Then there's screams like the one at the beginning of this song
Which is just phenomenal
Also the drumming in that song is just.... unbelievable
@Adriaan I don't mind this, but not really a fan of consistent screaming vocals.. like the gutteral singing kind of bothers me
 
@ballBreaker I actually went to see them twice in a single tour last spring
and was tempted to a mini-vacation in Poland, as that was almost as cheap as seeing them in NL, and very much more reachable :P
 
ephemeral?
 
Insomnium, yes
 
3:35 PM
ah
usually it's song name - band
so I got confused
 
chaps are amazing. All university educated; guitar player even a very well funded post doc at Imperial College London ;)
 
You know who I love for that?
 
@ballBreaker you North Muricans have everything backwards
 
System of a Down
all of those dudes met at university (in the US), and somehow are also all Armenians
 
@ballBreaker that is ... actually cool
 
3:41 PM
What are the code golf rules about OS
3
A: Open the browser to http://codegolf.stackexchange.com

SueverMATLAB, 28 25 bytes web www.ppcg.lol -browser www is shorter than http:// and ensures that the address is processed as a URL This is shorter using the implicit function call rather than the explicit version web('ppcg.lol', '-browser'). Alternatives: On windows this can be shortened to (19...

Not sure if the ! approaches are acceptable
 
@Suever what you have is fine.
 
I guess which one goes in the title?
The way I have it?
 
you have the main method, which is web
That's the one that counts
 
ok
 
@Suever here's a meta PPCG post on the loopholes that are forbidden by default
217
Q: Loopholes that are forbidden by default

Peter TaylorI've been thinking for a while that this would be useful, and some recent discussions have strengthened that belief. There are a number of standard loopholes which experienced question-setters seek to explicitly close. However, inexperienced question-setters may unintentionally leave them open, ...

I don't see anything that relates to what you have... at least what I can see... so I think you're ok.
 
3:47 PM
I wish I knew how to toggle isdeployed
to trick MATLAB into not requiring -browser
 
@rayryeng haha yeah it's interesting when you find out it wasn't intentional either
They all just happened to coincidentally meet, and be good at all of their instruments
@Adriaan did I ever show you this video?
 
@ballBreaker Yes
 
Hmm
Right
Makes sense haha
I come back to it every few weeks, I love this guy
 
@Suever it's too bad web doesn't use the same input parser as PV-pairs for other functions so you would only have to pass it enough characters to make the string match unique
 
@excaza yup definitely. I opened up web.m just to check
damn strcmp
 
3:56 PM
stackoverflow.com/questions/36313467/… Shouldn't he just email the chap who has written that code? Email's even in there
 

« first day (273 days earlier)      last day (2958 days later) »