« first day (950 days earlier)      last day (3068 days later) » 

10:00 AM
BMTH has essentially gone from Slipknot to Linkin Park, if you want an analogy.
Not that that is a bad thing
 
"deathcore" There are some wonderful music genre names.
 
we have two pirate metal fans in our support team.
 
That reminds me of a song a friend of mine really loves. It's about gay pirates.
 
pictures Stephen Fry with a beard and cutlass
3
 
10:15 AM
@Duga Oneboxing broken?
 
Not sure what you're asking here. Perhaps you want to try on codereview.stackexchange.com? — deceze 2 mins ago
@DanPantry I suspect it was removed and re-done.
Although I'm not sure why the comment ID didn't increase then.
Blame caching.
 
@DanPantry Site is down.
It's working again.
 
Monking
 
10:36 AM
 
Zak
Yay, rep while I sleep :)
 
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comHimBromBeere just now
 
Zak
@Duga damnit. Removed before I could comment
 
1
Q: First SignalR application (Connecting 2 clients; mobile and desktop)

LycaonTwo days ago I started reading about SignalR and today I started writing a simple application. I have written the code below so far, but I was wondering if you have some tips to improve my code. Program Desktop client will automatically create a random group (random) and displays the random ge...

 
Gaaah. the memory consumption is exactly the same as yesterday :(
This is not good
 
Zak
10:49 AM
I've found that a lot of the principles I've learnt about constructing programs also apply really well to constructing standard spreadsheets. SRP, naming variables ranges, splitting functions into multiple stages, dynamism etc.
@DanPantry Ah, one of those days, I feel for you.
 
bah, typical. Answering a question, provide better answer based on there comments(because there are cases they didn't tell) and when it's correct you don't hear them anymore
 
We're going to see if I can do anything else to help it today.. if not, I get to upgrade us to the latest stable versin of angular and kendo. And if that doesn't work, then we bring in a consultant
 
Argh, he used the c-word.
Is it possible to memory-profile the application?
 
@Mast Yes, and we have done so
However the profiler in Chrome is not very helpful and doesn't reveal a whole lot
Especially considering the memory leak doesn't occur in Chrome, but in IE
(And no, "everyone use Chrome" is not an option)
 
Nah, they should stick to Firefox.
 
10:54 AM
Firefox isn't an option either :p
 
But on a more serious note, what does your application do different in IE than in Chrome?
 
It doesn't
 
So it isn't a problem in your application but with IE.
 
It's just that V8 generally tends to be more up to date than IE's engine, whatever that is
And is better optimised
 
So something in your application gets optimized to the point that it no longer leaks in Chrome and not yet in IE.
 
Zak
10:55 AM
@Mast IIRC, @DanPantry's company is required to support IE or something like that?
 
That's what it seems to be
@Zak The company isn't, but the project is
 
Looks like you got some docs to read.
 
The biggest offender by far was jQuery DOM nodes being cached
That was accounting for 3MB of memory after only a few button presses
Specifically, some DOM nodes are being cached by jQuery even though they have been detached from the document
Everything else is pretty much okay.
But there are 26 locations left with jQuery in the app, and none of them are particularly easy to refactor away
 
But you're sure one of these 26 locations is the offender?
 
No, I'm not sure
 
10:58 AM
MOnking
 
But it's all I've got :P
Monking @skiwi
I know that the biggest problem is with jQuery if I do a memory profile on Chrome
So that's what I'm trying to hit
 
Can you long-term test those modules by mocking them in dedicated tests?
 
lol
We have zero tests for this application
 
You don't need tests.
You need debugging tests.
Measurements.
 
It was set up poorly by my predecessors and while the rework is on the roadmap, that ain't happenin'
 
11:00 AM
rm -R /project/
 
rm -rf more like
AFK running memory tests
 
rm /jobs/currentjob as well if you accidentally delete that project?
 
sounds like more suited for codereview.stackexchange.com — Anders Karlsson 50 secs ago
 
There are no other "potential issues" identified by IE. :(
And surprise surprise... if you check the roots, all of them with the exception of one is linked to jQuery.
 
"Potential" maintenance issue: github.com/skiwi2/OLog-Userscript/commit/…
Oooh, since when does IntelliJ have a Markdown preview option? Nice
 
11:16 AM
10 hours ago, by RubberDuck
@nhgrif @rolfl @SimonForsberg I'd be interesting in hearing your thoughts on that ^^ question.
@RubberDuck that question is a really poor question - it is stub code 100%
 
Any of you cuties that uses VS2015 Update 1?
 
Nope, I use eclipse and vim
Sweet of you to think of me as cute, though
2
 
Hmm, if Grails 3 is a requirement to run OLog, then Java 8 is also a requirement I guess if we are using JDK functions? ^^
 
@JeroenVannevel nope
 
@Heslacher but you have normal 2015, right?
 
11:22 AM
yes
 
care to test something out real quick?
 
yes
 
Zak
"it's easier to use sophisticated functions than to write macro's" - so tempted to withhold my upvote just for that blasphemous statement :p
 
I can't place a breakpoint at a const field or local in Update 1
Can you see if it works on yours?
 
Will try...please wait....
@JeroenVannevel do you mean at the outside of a method ?
 
11:27 AM
on the variable declaration itself
taking screenshot.. please wait..
now make that const
 
no problem with a normal variable. No glory with a const
 
so const doesn't work either?
 
no
 
that must be a VS bug, right?
 
or a feature. It worked in VS 2010.
 
11:29 AM
I'll file a bug and see what they say
 
@Heslacher Why would it be a feature?
 
Any strange behaviour which isn't marked as bug is a feature.
 
lol
 
Zak
@RubberDuck deserves far more upvotes for this answer:
3
A: Insert variable number of rows

RubberDuckReadability Naming So, the first thing I would note is the poor naming. The way things are named right now makes it difficult to understand the code. So, to start, replace ws1 and ws2 with more meaningful names. The range variables are a little better, but could still use some improvement. I ...

aaand I'm out of upvotes for the day.
 
Wait out of upvotes, not stars?
 
Zak
@SuperBiasedMan I know, it's unprecedented.
4
 
@Zak lol
 
I didn't know until now you could use syntax highlighting in a github issue
 
you spend far too much time on this site, @Zak :p
@JeroenVannevel it's all the same markdown
````javascript
code
```
 
Zak
@DanPantry I reject your premise in its' entirety
 
11:35 AM
will highlight javascript, for example
 
Zak
@DanPantry There's no such thing as "Too much time spent on Code Review"
 
well, SO's syntax highlighting uses <!-- lang: javascript -->
But yes, I just found out you can use those backticks you said
 
@Zak You need to save yourself for winter bash
 
my bug reports are much fancier from now on
 
This would be a better match for the codereview stackexchangeAaron 30 secs ago
 
11:44 AM
looking into a bug in a file you wrote 6 months ago:
user image
2
(which is why you should name functions descriptively, kids)
 
I'm voting to close this question as off-topic because it is asking for a code review. — Quentin 28 secs ago
 
@DanPantry like read_currently_has_bug()?
 
in OLog - OGame logger and personal assistant, Dec 2 at 10:41, by skiwi
Hmm, now do I tag the commit on the release or on the master branch...
in OLog - OGame logger and personal assistant, 39 secs ago, by skiwi
I know I've said the same thing a week or two ago: Do I tag a commit when it is on the release or on the master branch?
I may also need more RAM
Eh, wat
Wait...
 
@skiwi
yesterday, by Heslacher
Do you need more ram ? There still is plenty on my server !
 
Anyone sees the mistake in the last message I quoted there? ^^
And I still managed to create version 0.3 while the last released was 0.1, I'm an idiot
 
11:56 AM
@skiwi doesn't matter what branch you're on when you make the tag as long as they point to the same commit.
the tag is just an annotated pointer to a commit
 
@DanPantry Right, I was thinking th esame, so it doesn't matter at all?
 
@skiwi Nope
Branches don't really have any affect on tags, they are literally just a folder inside .git/branches (I think) that contain a HEAD file that has a hash inside that points to the current commit on the branch
(which is coincidentally why you can't have more than one / in a branch name)
tags are more or less the same mechanic as branches, but they can be cryptographically signed
 
I think I just did an intended force push without breaking stuff
 
> force push
> without breaking stuff
pick one
You don't need to force push for tags, if that's why you did that BTW
 
No, I did something way worse...
2
 
12:06 PM
> We don't have any neutrinos, but they pass through here all the time.
...
Well, the commit history may look like a mess. But that's ok. Better it's a mess now than somewhere near version 1.0 right?
 
I was on 0.2-SNAPSHOT, ready to release 0.2, then I created a release-0.3 branch to release version 0.3, merged it with master and pulled release-0.3 into it, created v0.3 tag, all good, did a git tag --list and I see a v0.1 and a v0.3 tag in there... Am like WTF where is tag v0.2??? Realize I messed up and that I was supposed to create version 0.2, then force push reset hard master to be at v0.1, deleted release-0.3, restarted with creating release-0.2, merged with master, tagged it...
About to push the tags, doublecheck git push --tags, then realize there's still a v0.3 in there locally, deleted it, and now pushed all tags (which is v0.2) just fine
Disaster prevented
 
You did that way neater than I'd have done it.
 
Zak
@skiwi Theoretical Anti-Star.
3
 
I'd probably have defined the new state as 0.31 and declared the problem as fixed.
 
lol
been there, done that
 
12:12 PM
@Mast lol :P and what about v0.2 then?
 
@skiwi just say that v0.2 is an unlucky number and be done with it
worked for the british and house #13 in every street
(seriously, every street I have lived in has never had a house #13)
 
lol
 
@DanPantry Italian flats don't have a 17th floor for the same reason.
Which gets very confusing very fast.
 
Our street has no #1 and #2, because they last-minute changed at what street their front door is located
 
But yea, just declare everything under 0.31 as an accident and I'd live on.
It's nice to see some people prefer actual solutions over hammers and duct-tape.
5
 
12:14 PM
@Mast It'd be a whole different story if you had pulled master before I had the chance to fix it...
 
@Mast The universe has enough duct-tape holding it together, don't need any more ;D
 
You didn't do that, right?!
 
@skiwi force-pushing tags isn't going to break Mast's tree.
 
@Mast So they just have a gap between the 16th and 18th floors?
 
Force pushing a tag isn't quite as dangerous as changing branch history
 
12:17 PM
For any NET user who is interested: On 12th january the support for NET 4,4.5 and 4.5.1 will end.
http://blogs.msdn.com/b/dotnet/archive/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1.aspx
 
@skiwi runs
 
@Heslacher oh crap, we're using 4.5/4 internally
 
@SuperBiasedMan No, they just count 15, 16, 18, 19
The 17th floor is called the 18th
 
Zak
@Mast I think you'll find it's WD40 and Duct Tape, actually :)
 
@DanPantry I force-pushed 43 commits out of the master tree
 
12:18 PM
@Zak There are certain things even WD-40 and duct-tape can't do, so you'll need all 3.
 
Zak
 
@DanPantry I still use XP, so what
 
@DanPantry Nobody cares about my broken tree.
@Zak So, how do you unhinge a door ^^
 
@skiwi
 
@Heslacher You like living on the edge don't you?
 
12:20 PM
@Mast knock it down with a hammer. :D
 
hasn't updated his machine for at least half a year
 
@Mast don't upgrade to w10 if you don't like updates... :(
 
@Mast that XP system is only for mails so no big deal.
 
@DanPantry I'm not against updates, I'm against forced updates.
 
@Mast don't upgrade to w10
:D
 
Zak
12:20 PM
@Heslacher Isn't xp like, officially officially unsupported now?
 
@Zak yes
 
that ^^
 
@Zak Unless you're a goverment with a contract costing over 5k per machine, yes.
 
Zak
@Mast I thought all those had expired by this point
 
@Zak The Dutch government did it twice, not sure the 2nd has expired yet.
 
12:21 PM
@Zak would you expire a contract for £5k per machine in companies that have 100+ machines? :P
 
I think it would've been in the news.
 
microsoft can keep amping up the price until the dutch gov get their crap together
 
@DanPantry I'd keep a dedicated dev on it.
 
Zak
@DanPantry I thought most of them were for 1 year, occasionally 2. And that was 2 years ago...
@DanPantry And to be fair, it's much closer to £200 per machine.
 
ironically, I'd imagine it's getting to the point where XP users are safer than windows 7/10 users because XP is so old attackers won't bother to release new viruses for it...
 
Zak
12:26 PM
@DanPantry Maybe for the consumer-version. But I expect there will still be plenty of xp-based malware for quite some time.
 
oh, definitely
 
Zak
All sorts of physical infrastructure has built-in xp (checkouts, photo booths, terminals, ATMs etc.)
And those have a replacement cycle measured in decades
I recall reading an article about what happens if you stick a USB stick in a public photo booth.
Clue:
Viruses so far have been really disappointing on the 'disable the internet' front, and time is running out.  When Linux/Mac win in a decade or so the game will be over.
5
 
@Zak lol
that sounds like a fun pet project one day
 
@zak damn man. That was a good answer wasn't it? I don't even remember writing it.
 
I broke IE :D
 
12:33 PM
Lol. @DanPantry you didn't break IE. It was already broken.
4
 
Windows 8.1 still keeps bugging me for the Windows 10 update ffs
I should install the update though, but not today
And also not tomorrow, or the day after, or that other day, or
 
Zak
@RubberDuck I was just going through the lowest-voted VBA questions. Saw that one and thought "This answer is criminally under-voted for the amount of effort that went into it".
You know what. I'm going to pimp it again.
4
A: Insert variable number of rows

RubberDuckReadability Naming So, the first thing I would note is the poor naming. The way things are named right now makes it difficult to understand the code. So, to start, replace ws1 and ws2 with more meaningful names. The range variables are a little better, but could still use some improvement. I ...

It deserves all the upvotes.
 
Zak
I'm really feeling this one today:
'Hey Megan, it's your father. How do I print out a flowchart?'
7
 
@Zak Giving up is not an option
4
 
12:54 PM
 
@rolfl maybe I felt differently because I'm pretty familiar with the class OP was trying to wrap an interface around. Idk. Fair point of view though.
 
Look at the answers..... @RubberDuck
 
2 of them are pretty bad, but this one was pretty good IMO. codereview.stackexchange.com/a/22880/41243
> Right now your goal is to create a shim to make it easier to unit test code that interacts with HttpContext.Current. Since you add methods to this interface as you need them, it must meet your needs in that regard. So, keeping it as is definitely improves your code, and you should not change it unless you need to.
 
> So, keeping it as is definitely improves your code
That's not how this works.
 
Sometimes it is @Mast.
The answer "it's good enough" should always be a possible answer here.
In other news....
 
1:03 PM
@RubberDuck It's good enough doesn't make the code better. It means all alternatives are worse.
Not the same.
 
Fair point.
 
1:14 PM
@QPaysTaxes: Yeah, I agree, you're right, being explicit is helpful. I've modified the answer. Thanks for the feedback! — palacsint 44 mins ago
someone I had not seen active in a long time
 
I closed IE 5 minutes ago and it's still struggling to close.
 
I checked and he's been kind of active, but I'm glad he is still around!
 
1:30 PM
134
Q: Toward a philosophy of Chat

Shog9TL;DR: The Problem This keeps happening in chat: Surprise at flags on vulgar messages. Language that would invariably get your comments deleted on the main site occasionally gets flagged and deleted in chat. Confusion reigns. Controversial topics leading to bickering and name-calling. Folks b...

> Towards a philosophy of a cat
That's what I read
 
@skiwi Ah, Schrodinger?
 
0
Q: First MVC Router

RarelyIm learning the mvc pattern and today i finished my first mvc routing class. Hope you can give me some tipps and improvements. Router.php <?php namespace System\Libraries; class Router { /** * Store the given parameters * * @var array */ private $_param = []; ...

 
I keep on reading "Toward a philosophy of Cat" or even "chat"... — Ebenezer Sklivvze ♦ 2 hours ago
2
@skiwi You're not alone with this one
 
Good to know that I'm not alone ^^
 
Since your code is working you may want to use CodeReview in the future for cases like this. — Jire 44 secs ago
Yes, This question is exactly meant for code review. I think it should be closed — Shreyans Sheth 22 secs ago
 
1:46 PM
I swear to god if VS crashes again today I'm going to kick it in the dick
 
I think this fits better on codereview.stackexchange.comAltoyr 43 secs ago
 
@Marc-Andre This discussion is interesting.
There's a fifth type of flag: "I saw this line without the proper context, and it looks offensive". The classic being someone talking about killing their children -- horrible, if you don't realize they're working on a multithreaded web server. — Mark 9 hours ago
2
 
@RubberDuck - back to that question. I agree that it is a well written, structured question, and it clearly asks a good question .... but, that question is a whiteboard question .... it should have been migrated to programmers, and the answers prove that.
 
For better improvement of your code, post it on the code review : codereview.stackexchange.com - plenty of good ideas over there. ElseIf I've always found unreadable(select Case does wonders instead in terms of readability) You can also jump a few lines to see better paragraphs. — gazzz0x2z 42 secs ago
 
2:20 PM
Monking
 
Hello @Phrancis
BTW, just reading over the meta, sorry if some people here feel I clutter up the room too much :-) I'll try not to in the future.
 
Morning guys!
 
Morning @TopinFrassi
 
0
Q: Optimize for maximum efficiency: FUTABA SBUS serial communication in C++

dgratI would like to reimplement the current Futaba SBUS protocol in ArduPilot for Navio+. It seems to be a relatively expensive protocol. So I changed the code from an existing git project and to make it a bit faster. At the moment I am already relatively happy with the result. Nevertheless, someone ...

 
class Resizer {
  constructor() {
    var directive = ....
    return directive;
  }
}
Someone doesn't know how to use constructors properly
 
2:33 PM
lol
 
Zak
Ooh. Fun (seriously). I'm currently taking apart the accounts of a substantial company (circa £40M/£5M Revenue/Profit, ~£3Billion in advised assets). It's like a giant logic puzzle :)
Plus, I decided to get what info I could by phoning up as a potential client (apparently, my name is Michael King and I'm about to get an inheritance of £500,000 ^^ )
 
@Zak lol
 
lol
 
so your substantial company is a nigerian prince?
2
 
@Zak Nigerian prince you are.
@DanPantry Great minds think alike.
 
2:38 PM
@Mast ;-)
 
0
Q: How to use generic

A191919I have function that build's different types of boxes. namespace TestSome.ViewModel { public class OneBoxViewModel : ViewModelBase { private ObservableCollection<BaseBox> boxes; public ObservableCollection<BaseBox> Boxes { get { ...

 
@CaptainObvious I think it's off-topic
 
Zak
You say that. But I've established that £500,000 is very much on the bottom-edge of their minimum-size-of-client
 
@TopinFrassi Smells of
Tempted to mark unclear though
 
@Phrancis Yeah exactly!
 
2:45 PM
Because it's not clear whether it's or not
Decisions decisions
 
it's not gimmeh-teh-codez
just a badly worded too-short description of what the code is doing
 
> Every case os switch contains the same part of code. I want to refactor it with generic but i can not.
 
s/os/of
 
ikr
 
in JavaScript Libraries, 14 secs ago, by Dan Pantry
if (/*@cc_on!@*/false) { // check for Internet Explorer
  document.onfocusin = onFocus;
  document.onblur = onBlur;
} else {
  window.onfocus = onFocus;
  window.onblur = onBlur;
}
 
2:49 PM
 
Been getting this for a while, mostly been ignoring it but starting to get on my nerves
 
@Phrancis it's microsoft's way of getting you to upgrade to w10.
 
I'm voting to close this question as off-topic because it belongs on Code Review. — Boris the Spider 15 secs ago
 
<illuminati-music />
 
2:50 PM
Some users seem to deem this question unclear - feel free to edit your post to include a more detailed description of what your code is doing. — Mat's Mug ♦ 5 secs ago
 
0
Q: jQuery calendar plugin (using underscore templates)

Jose the hoseI put together a jQuery plugin that displays a month of dates using underscore templates. When the template has been populated and displayed in the UI, a user can click on a date which sends a request to the api(with the selected date parameter) to give a list of available deals on that date. I t...

 
Does same thing with "Documents" (a.k.a. "My Documents")
 
@CaptainObvious Ouch.
 
3
Q: "Documents.library-ms" is no longer working

user273580When I click on the browse button in various applications the following message comes up. "Documents.library-ms" is no longer working. This library can be safely deleted from your computer. Folders that have been included will not be affected. Here is a screenshot I'm able to press "...

That was easy enough, wish I googled that weeks ago -_-
 
0
A: How to use generic

RobHWell done for spotting the duplication and wanting to fix it! You are correct that you can use generics to solve this problem. Here's some approximate code to start you off in the right direction: private void UpdateBoxes<T>(IEnumerable<string> ids) where T : BaseBox { var currentBoxAssetIds...

> I've also left the most difficult part to you because I'm evil it's an interesting learning opportunity for you :)
I'm not sure that is appropriate in a review. 2nd opinions?
It sounds patronising to me, and I don't think a reviewer should be giving 'home work'.
 
2:55 PM
possible answer invalidation by A191919 on question by A191919: codereview.stackexchange.com/posts/113481/revisions
 
@DanPantry ++
 
I'm of the opinion that you shouldn't be giving reviewee's homework; I don't think omitting a section of a review lends itself well to an "interesting learning opportunity" and (personally) sounds patronising. — Dan Pantry 6 secs ago
 
@Duga Meh, not really.
 
0
Q: Mapping a set of objects onto another in java

KalI'm trying to map a dataset(let's call it Set1) onto another(Set2). The mapping is done by applying an operation to a subset of Set1 and placing the result to an object of Set2. I would like to know how can I structure the classes in an efficient and elegant manner (trying to learn OOP). Code bel...

 

« first day (950 days earlier)      last day (3068 days later) »