« first day (724 days earlier)      last day (2489 days later) » 

jrh
12:08 AM
It's unfortunate that the PaperSize property doesn't allow pixels units, I don't remember the last time I had to get out my measuring tape to figure out if some display code was working properly.
 
jrh
12:30 AM
this code turned out really well. I'll post an answer
or maybe I'll wait until it works with subplots
 
 
11 hours later…
11:40 AM
0
A: How can we evaluate a Gaussian in an intensity of an Image?

Sardar UsamaYour code is the incorrect implementation of the PDF of the normal distribution. The PDF of the normal distribution is: IMO If pI is defined by x and y, i.e. pI(x,y), and dS is defined by rho and theta, i.e. dS(rho,theta) then you cannot simply subtract rho from x and theta from y . You have t...

I was feeling sorry for the guy, so I answered based on what I understood. Only to later told that the whole OP's interpretation/explanation of the problem was incorrect.
 
oh dear, you answered him
honestly I really don't care anymore. The content of this question changes faster than the wind. I'd recommend checking out codementor or to look for a real world person who can help you (e.g. math student with coding skills or vice versa, remote sensing geographers, etc.). — Leander Moesinger yesterday
@LeanderMoesinger are you trying to push him my way? :P I am a remote-sensing geography student, soon to be graduated :P
 
in My 1st proposal pI(x, y) was the axes of one pixel. Later I realized that, I should calculate Gaussian of intensities. In that case pI is an intensity. — anonymous 30 mins ago
 
Yea, his problem is that he doesn't understand the paper, and wants people on SO to read, explain and code it for him
I think he should speak to his supervisor/colleagues about this, assuming he's not doing this all by himself, get to grasps with the paper and then code it and get back here with actual programming troubles
 
exactly!
 
oh crap, all my comments on his questions, trying to steer him towards the Stack Overflow direction, have been mod-removed :(
I guess someone flagged the thread as obsolete or something. Shame.
 
11:48 AM
well actually I flagged his CodeReview post in which he claimed Leander's code to be his own proposal as plagiarism. And I wrote his post to be containing plagiarised content in the comments. Later on, moderator reviewed that flag, Leander's name and link to the code got mentioned and all the comments got removed from both CodeReview and SO
 
ah ok
I think a mod just was a bit sick of my three (or four) character-limit comments telling him how SO Works
surprising though that they didn't simply revoke the bounties and close the posts, as Brad did
 
I think that he is stuck in 2009, when he joined the site. Nearly everything was fine to ask about back then, as long as it (even tangentially) related to programming
He did not realise the rules have changed in the mean time.
I linked him to the help centre and how to ask several times, but he appears not to care that the rules have changed.
It took me four comments to get him trim his question down to ONE question instead of 5, and even that one was more of a "help me understand this paper" question than a programming one
I'll ask a mod on his behaviour, see what they think
@SardarUsama you can directly link comments from other SE sites as well btb, simply copy the link as you'd normally do (that'd make it both readable and I'd be able to follow the link)
 
12:04 PM
That comment has been deleted.
 
ah, ok
 
screw that user
 
Ha ha ha ha... He who knows much, doesn't quit. Coz, his gut always wants to let his knowledge out. Besides, the question is totally unchanged as you posted your answer. You are just quitting it anyway. (I am not going to venture into the cause :)) — anonymous 2 mins ago
 
yesterday, by Andras Deak
user image
hopeless..although this was a different question
 
'fternoon @LeanderMoesinger
 
12:16 PM
@Adriaan OMG i'm also a RS geographer, thats why i meantioned it! Finishing this winter
 
@LeanderMoesinger cool! What topic are you graduating in?
This is the website of my department btb: citg.tudelft.nl/en/about-faculty/departments/…
 
I just finished my masters thesis about "post-processing urban sematic labels using openstreetmap roads". Was a multimodal remote sensing topic, mostly about machine learning
 
Is that the ETH?
@LeanderMoesinger so you taught a machine to classify openstreetmap roads?
 
Nah, university. No, the other way around. I used them for land cover classification
 
ah cool!
 
12:20 PM
when exactly are you going to finish?
 
I've written a program for land cover classification ocne for a small company. Supervised training using SVM from laser scan data
 
@LeanderMoesinger 18 months, if all goes well :P Last exams the coming two weeks, then a month of hilday, a two/three month internship with Aramco (Saudi oil company) and then a year (60ECTS) graduation work
I'm doing a double degree in both GRS and applied physics, hence the ridiculously long thesis
 
sounds cool! I minored physics in the bachelor just out of interest. But now i'm more focused on statistics.
 
I did my bachelors in Applied Earth sciences, but missed the physics, so that's why I switched to doing both. It takes a long time to complete both studies, but at least I'm having fun and learning a lot.
Half of my physics program is pure fun: quantum mechanics, particle physics, science philosophy. Utterly useless to my thesis, but oh well :P
 
12:24 PM
you already got your topic?
i mean, or was the oil comany thing it? it seemed a bit weird to do that at the start of the masters :P
 
He loves his oil
oil is like liquid rocks so....
 
@LeanderMoesinger Yes. It's about seimic surveys on land; the geophones are what make that very expensive. Three days with 20 people laying out 2e5 geophones, connecting them and then three days collecting them takes a lot of time and money. So what my project focuses on is trying to use a radar at 1 or 2hundred metre above the field area and measure the ground movement due to the input pulse that way, thus reducing operational time and costs.
@LeanderMoesinger I finish my master's courses next week, so all that's left is the internship and then the thesis. The internship is about data processing of current seismic data to see wat parameters are important and what the lower bound on them is in terms of resolution and accuracy to still obtain enough information on the subsurface. That can then be used as minimal requirements of the radar setup.
 
Wow, sounds super interesting.
 
@ballBreaker ^
 
hm, is embedding links possible here?
 
12:33 PM
:|
@LeanderMoesinger only post the link
see also the help and faq links in the bottom right
xkcd links also onebox
 
XKCD is special btb; that one always autoboxes, even if it's not an image
 
@SardarUsama Don't bother with him. He's not worth the time. The irony is that if that guy would have invested all this time he spent here instead on actually doing his own research, he would probably be finished by now.
 
Well, I think he's simply incapable of doing this project by himself. He should've asked for help (supervisor/colleagues/friends) to understand that paper. Once he understands it, I'm fairly certain he can implement the code for it himself.
1
Q: Incrementally / gradually changing pitch of signal over time using octave / matlab code

Rick TI can pitch shift an entire signal using resample and I have tried the phase vocoder code at http://www.ee.columbia.edu/ln/rosa/matlab/pvoc/ I've also tried repmat and interpolation and I looked into fft and interp1 But I'm trying to incrementally / gradually change the pitch of a signal over ti...

Another bountied post which doesn't ask a question. Splendid.
0
A: fsolve FunEvals per iterations

AdriaanThe MaxIterations input argument should do this. As per the documentation: Maximum number of iterations allowed, a positive integer. The default is 400. See Tolerances and Stopping Criteria and Iterations and Function Counts. The MaxFunctionEvaluations input argument says: Maximum numbe...

Am I misinterpreting his Q? I think he doesn't understand which parameter does what
 
1:11 PM
@LeanderMoesinger agreed
I was mistaken. that was some other question
 
1
Q: Spectral deconvolution on multi channel data in MATLAB

KoalaMathI have data that consists of videos taken with 4 different ccd cameras, each of which records a different fluorescence wavelength. At the moment the main contribution to each camera's signal is from its target wavelength, but each one also contains a certain contribution from the other 3 wavelen...

ah, i have to learn how to insert links
 
@Leander Post the link only
 
@LeanderMoesinger Not sure about hopeless, but in its current state it is a tool/resource recommendation and thus needs to be closed. Whether it can be done at all, not sure
How'd that get an upvote though?
 
no clue
hard case of no MCVE
 
1:28 PM
Well then, 12 characters left in that comment :P
 
@Adriaan I think I understand what the OP meant. Refer to this example if interested. He wants to reduce Func-count
 
@SardarUsama that's still that parameter no?
MaxFunctionEvaluations
 
oh well then I think your answer does answer the question. I actually didnt see the edited version of your answer
 
I can't figure out why that parameter doesn't work for him. Basically there are two things you can set: the total number of iterations and the number of function evaluations per iteration. His question is literally about the second parameter.
He just needs to select a value, instead of leaving it on the default.
He might, on the other hand, want to minimise Func-count indeed, but that is, as far as I read this documentation, only possible indirectly through tweaking the two parameters I mentioned in my answer.
I updated the answer to reflect that
 
 
2 hours later…
jrh
3:37 PM
@AndrasDeak posted
0
A: Get rid of the white space around matlab figure's pdf output

jrhI liked @Antonio's method the best but it still left too much whitespace, and I was looking for a single figure solution. I made something based on his script and added the option to export only the plot box (omitting the axes). Note that unlike Antonio's script, this only works on figures with...

I have a very verbose coding style (probably from C#)
hope that helps you with your pdf exporting
I tried to make a version that worked with subplots but there's some ambiguity regarding what somebody would want from a script like that (spacing between figures? Should I force the axis ticks off? What do I do with subplot titles?)
 
@jrh Good answer, thanks. You might want to remove things like clear, clc close etc from code examples though, since not everyone is happy that their workspace is wiped when they run examples from SO.
 
jrh
@Adriaan good point, thank you. Fixed.
 
Urgh, I'm at nearly 3 pages of my article now, but I still need to write two >.<
So little inspiration
 
jrh
Is that a blog or a research paper?
 
Research paper
On the Relative State Interpretation of quantum mechanics, aka the "many-worlds theory"
 
jrh
3:47 PM
Now that is interesting
I've always been interested in quantum mechanics but my master's studies pretty much took away all the time I had to look into it.
 
It is, but getting enough interesting stuff in it to get to the page limit is difficult. I have the feeling that after 3 pages I'm rather done with presenting pro and contra arguments for the theory
 
jrh
I've been there myself, I did my thesis on machine learning on biomedical data and it can be hard to figure out what to write sometimes
 
4:14 PM
Maaf kar dey baap... — anonymous 1 hour ago
Google thinks it's Hindi, meaning "Sorry dar". I guess that's incorrect..
 
jrh
kind of a strange question
 
oh, don't bother with him. We've been shouting at him here in this room for the past few days :P
 
jrh
4:54 PM
I just found the command that this rather lame answer was referring to
-3
A: Get rid of the white space around matlab figure's pdf output

SimonIf you have inkscape installed, and might not have the time to re-simulate all your graphs, inkscape offers a command-line interface that will get rid of the whitespace (a quick Google search should result in the actual command needed)

I don't really want to edit it into my answer since mine doesn't use inkscape at all
but it is pretty helpful for batch processing existing pdfs or subplots
Should I add a comment, new answer, or edit it into this guy's answer?
 
@jrh I would add a comment
People get twitchy about others editing content into their answer.
 
jrh
yeah, I know
Simon's never coming back though
 
ah, yeah, didn't notice that part
in that case i'd put a line separator at the bottom of your question and add a "regarding Simon's answer [here](link)..."
 
@beaker unregistered user; so he can't even come back
I'd just edit it in there
 
5:10 PM
always an option
 
jrh
into my answer or into his?
 
His, of course. Your answer is unrelated
 
jrh
how about this
I'll give you guys the markdown code
would one of you guys mind just using your 2k powers to edit that in?
because I can see that getting rejected almost immediately
 
@jrh you need just 2k rep to edit without review
 
jrh
oh right
 
5:11 PM
but if you add it, I'll immediately accept
and if someone else does that as well, it's there
 
i'm in
 
jrh
cool
I wish anonymous user answers were always posted as CW
 
hmmm... i could see some spam abuse potential with that idea ;)
 
jrh
there it is
time is of the essence heh
alright, thanks guys
 
no problem :)
 
jrh
5:16 PM
it's nice to cut through the robo-reviewers' red tape sometimes
honestly I wish all of these answers had sample images
because some of them are more... uh... surprising than others
 
jrh
5:39 PM
wow, these vector pdfs look so much better than the raster screenshots I was doing before, and they're easier to work with too
it was totally worth the time to learn this stuff
 
I might do that for my master's thesis
 
jrh
I did my thesis in Word, honestly it was a nightmare
I would never recommend using Word for something like this
 
good thing I never considered that :P
 
If possible I exported the data and plotted it directly with Latex. A bit more work but it looks better and you can modify stuff easier if you change your mind about labels and stuff.
 
jrh
that's interesting. So you exported it as a csv or something?
 
5:48 PM
yeah
but I always had to export it, modify the .csv by hand to give it good column names, and then of course plot it again. Just importing a good image is a lot faster.
 
wth
Maaf kar dey baap... — anonymous 3 hours ago
This translates to "Forgive me, dad"
 
google translator? Seems so off
 
that's urdu
 
@SardarUsama Translate tells me it's Hindi for "Sorry dad"
anyhow, I already flagged that 3 hours ago as non-English
 
jrh
@LeanderMoesinger There's probably some kind of automated table export to csv in matlab, I think I've done that at some point
 
5:53 PM
Hindi and Urdu are very similar languages
 
@jrh nowadays you can even write a table directly to file; it's sort of a header write using dlmwrite and then a csvwrite to the rest of the file
 
@jrh Probably, but I anyway never work with tables, always just arrays. Never saw the point of them
 
jrh
I never use tables either but it might remove that "modify the csv by hand" step
 
@LeanderMoesinger exporting them for subsequent processing in LaTeX ;)
 
haha, yeah, that's the only use they might have XD
but else they are just slow and clunky arrays
 
jrh
5:55 PM
There was one dataset that used tables that I've had to work with, and I also used tables to import raw text
and even then I immediately converted the data to arrays
 
 
4 hours later…
10:01 PM
blargh, just burned 3 tags to the ground and had to post a meta on a fourth. What a day
 
jrh
I listened to CCR and tried to get my plots to not be terrible for colorblind people (and re-saving all of them in vector format), pretty fun
 
10:24 PM
 
@AndrasDeak It's just going to used to make another pile.
Lesson: never try to do anything.
:D
 
10:49 PM
:D
 

« first day (724 days earlier)      last day (2489 days later) »