« first day (2594 days earlier)      last day (2355 days later) » 
00:00 - 21:0021:00 - 00:00

12:29 AM
hmm is it guaranteed that the order of removed items in SelectionChangedEventArgs is the same as the order in which they occurred? msdn.microsoft.com/en-us/library/…
I can't seem to find data about that, but if it is it would simplify things a lot for me (I currently am stuck with the question "what if the same element is added twice, how would I know if the 1st or second occurence is removed")
 
 
1 hour later…
user5500750
1:39 AM
I am searching around to find a good tutorial about how to install a windows service programmatically using c#
 
user5500750
...provided I have the .exe service file.
 
1:53 AM
powershell and New-Service or cmd and sc
there's also installutil.exe but it's been a while since i used that
 
user5500750
I am going to try and install it using System.Diagnostics.Process.Start("CMD.exe",...
 
why are you wanting to install it from a c# application?
 
user5500750
I have created 2 applications one a service and another a desktop app. I have manged to get both applications in the same installer and it installs fine.
 
user5500750
Now I need my client to be able to install the service when the click a button on the desktop app.
 
user5500750
So install and start.
 
user5500750
2:09 AM
It looks like the only way to do it is by using System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory(); directory and the CMD.exe
 
user5500750
2:51 AM
Suppose I start the command line like this;
 
user5500750
var startInfo = new ProcessStartInfo("cmd")
{
WorkingDirectory = NetFrameworkDIR, //@"c:\Trash",
Arguments = "/k" // will leave the process running until you type exit
};
Process Pro = Process.Start(startInfo);
 
user5500750
How do I execute further commands?
 
3:41 AM
Hello
 
3:54 AM
Can anyone help me with sliding expiration concept in asp .net
 
user5500750
4:41 AM
@AmolKadam
 
user5500750
Thanks.
 
user5500750
@hsimah
 
no worries
 
5:04 AM
 
 
2 hours later…
7:15 AM
Ohhai
 
salut
we really need to do a daily greeting wheel, every day you have to say hi in a different language
looks fun, and should help learn some words in other languages
like schiße
 
ohayou
@HéctorÁlvarez oh well
ni hao
 
mr5
in our country, we don't greet each other.
except for foreigners who's culture practices those
 
wait
ohayou is japanese
 
it is
 
7:23 AM
@Proxy you're so sneaky
ohayou gozaimasu, senpai
if that makes sense O.o
 
it does :P
 
kouhai*
not senpai
 
mr5
I think Japanese language doesn't use any of these: !,.;:
 
senpai, im his senpai
 
I want to learn japanese at some point
 
7:26 AM
@Proxy ooooohhhh
 
kawaii desu nee shit
 
-shit
 
kawaii desu yo
 
oh god I have the feeling senpai has some dirty meaning
 
mr5
baka desu ka
 
7:27 AM
 
Learn japanese by watching pokemon :p
 
There is only one sempai here
Its roel
 
poland speaks the truth
 
7:49 AM
Watashiwotabete, onii-chan
 
8:00 AM
Omae wa mo shindeiru
NANI?!
all the japanese I know comes from bleach, naruto, one piece and random mainstream anime clips
like that one from hokuto no ken
 
I was such huge SAO Fan xD i even read the novel up to volume 13 xD but its 2-3 years my hype died, i still want to go read the new novels or watch new movie but i am to busy with other stuff lol
SAO = Sword Art Online btw xD
 
@HéctorÁlvarez Have a star bruh
@Pedram The Ordinal Scale movie is quite nice. Worth the watch.
 
Morning
All :D
 
I played sao
 
8:12 AM
@RoelvanUden Nice :D i will try to find a dvd version to download it, can't buy from amazon coz my my country limitation :| i pretty much didn't watch/read any anime for 2-3 years atm
in ~2009-2010 i watched almost the whole new season xD
 
@RoelvanUden arigato
 
@Pedram I watch at least a few series of each season. But I've pretty much stagnated 2 seasons back, so I have to catch up. If you don't mind torrenting, just fetch Ordinal Scale 1080p from nyaa.
 
Great, yeh i actually like torrenting, since i just leave it there and do my own stuff, when i use IDM i have to limit the speed otherwise my net wont work fast anymore xD but torrent is fine with multitasking xD
i tried nyaa once for Oridinal Scale but it wasn't there with good quality yet, i check now Thanks :D
 
8:30 AM
@RoelvanUden I think it's time to install a torrent client in my raspberry
 
Why first is OK, but 2nd not?
 
what type is Genre? seems like an enum?
 
Oh, yes
 
perhaps there's no definition for 1?
 
8:51 AM
@HéctorÁlvarez while at it, get Kodi running on your Rpi
+ kodi addons for moviez, like exodus for example
I have not downloaded a single movie since then
 
we had Kodi and Plex on our previous setup, but we didn't really take advantage of it
 
Exodus is usually on time with everytihing
 
I've noted it down, will definitely check when I get home
thanks!
 
mr5
o/
 
9:11 AM
@KamilSolecki I use Sonarr + Plex. Works like a charm.
 
Never tried, but I might check it out :)
 
I have a .net 4.6.1 project which I want to consume in a .Net Core 2, is there any way
 
you can probably import the assembly without any issues
 
You can only if it's running on windows.
 
good morning
 
mr5
9:17 AM
 
mr5
despacito
 
This is what I get
 
user7538827
Goodmorning
 
Oh, you're getting a NuGet package? Now your project will only run on Windows with .NET Framework.
If that's okay, move on. If not, find an alternative package.
 
mr5
9:19 AM
Is NuGet compatible with VCS?
 
@RoelvanUden yeah, it's throwing errors on build
e.g. can't find IServiceBus Interface when it's clearly in package
oh wait
it's not
 
Oh well then, change to .NET framework yourself too.
 
oh wait it is
sorry for confusion
 
mr5
oh boi
 
Hi all . i have small doubt regarding node js application ,
how to host node js application from visual studio in to iis
 
9:26 AM
@DotNetLover bfy.tw/FAbg
with that you can do it
 
hi hector can you please provide any video link reference
i am not able to understand that article
 
mr5
30
A: Should we include Nuget PACKAGE folder in version control?

Christian SpechtIt depends. Check out Bart van Ingen Schenau's answer to determine if it's possible to ignore the packages folder at all. Basically: yes, NuGet is designed so that you can ignore the packages folder and NuGet will pull everything from the Internet if it's missing. But should you ignore it? I s...

 
@MohamedAhmed First shouldn't be ok either, but it's C#
 
mr5
They include all their dependencies in their repository
NuGet isn't ready for VCS thing
 
Hey, does anyone know why some of my classes may go missing from my .netcore class library when imported into another .netcore console application? some seem to be there and others dont....
 
9:42 AM
internal (or without any access qualifier, which is equivalent) classes aren't visible outside of an assembly
 
they are all set to be public and within the same namespace as each other, yet some are there and some arent
also the same classes are available if i import the nuget package into a regular .net framework application
 
10:10 AM
I HATE TFS
I have restrained myself from hitting the monitor 3 times since the morning
 
Join the club @ntohl
TFS is good for alot of things
but when it decides to be a fuck head
its so annoying
 
not for source control
 
Then fer wot
 
in this company I have only cursed loudly 1 time. It was because of initial configuration of TFS
exactly. Than for wot....
NOTHING
f*cking nothing
---------------------------
Microsoft Visual Studio
---------------------------
The project file 'C:\...\foo.csproj' has been moved, renamed or is not on your computer.
---------------------------
OK
---------------------------
thank You... Now I can't load my perfectly valid project
 
bruh
 
10:15 AM
@DotNetLover I honestly don't know what that pointed to, it was a way to tell you that's something Google has the answer for, not us
 
now my solution will be a flamethrower...
flamthrower inefficient
I have deleted everything. Checked out from 0
nothing works
not the other random csproj cannot be loaded
 
mr5
@ntohl I wish I have the guts to do that
 
I'm really close to the second time
 
here's a way to do it
 
(11 months)
 
10:24 AM
forcefully pull down the last version
and get it to overwrite all the things
 
---------------------------
Microsoft Visual Studio
---------------------------
Source Control Explorer

All files are up to date.



No files were updated because the requested file versions were previously downloaded.



To force an update, use the "Get Specific Version" command with the "Overwrite all..." option checked.
---------------------------
OK
---------------------------
after overwrite all (as hinted), still the csproj cannot be loaded
it randomly created a new user when I tried to map from empty folder...
why...
using the button map&get
after deleting the mapping to that random new user, it let me map
than prompted that the files must be getted
after get, told me everything is getted and latest version
.....
 
10:42 AM
hi
I have written an application called Updater in .net compact that will update another application based on the current Version of the Updater application.
 
@ntohl checkout your local copy?
 
It compares the current version with a version number from an xml. using. I use the following code to retrieve the current version
System.reflection.assembly.getcallingassembly.getname().version
is there a way of setting that version value with the value i have take from the XML file ?
Thanks
 
What would that even mean?
The version number of an assembly is incorporated when it's compiled. Why would you even want to change it afterwards?
Apparently it is possible stackoverflow.com/questions/398170/…
But seriously, why
 
11:17 AM
We have solved the problem. There is an ancient command line incantation with great power, which can purge the files from the TFS server. Admin used the correct spells. And there be empty. Uploading the solution from the backup worked.
 
I want to start a YouTube channel, suggest me a name :P
 
NerdPadawan86
 
Wow
I didn't knew it will be that simple xD
 
ctrl-c ctrl-v, all problems solved
I may proceed with my work. 12:22
great
 
 
1 hour later…
12:26 PM
Thanks Tom , I wanted to change it because I am performing an update and I want to update the version number to the new one.
I have gotten around this by adding a version property to the app.config file that I can update.
whats it about Matt
 
@Rachsherry Why do you want to update the version number? If you want to deploy a new version of the code, then deploy a new version. Why would you change the version number of an assembly that's already there? It isn't version (x+1), it's version (x).
If I wrote that code I'd be seriously pissed if I was trying to diagnose some issue and I found that someone had done something that crazy and counterintuitive.
 
user5500750
1:22 PM
What is supposed to be in the protected override void OnStart(string[] args) to get a service started?
 
user5500750
My service does not start unless I remove certain code.
 
user5500750
The code looks like this;
 
user5500750
timer.Elapsed += new ElapsedEventHandler(OnElapsedTimeAsync);
timer.Interval = 4000; // 1000 ms => 1 second
timer.Enabled = true;
 
user5500750
OnElapsedTimeAsync has some code that accesses an SQLite database. Can that be the problem?
 
1:37 PM
what's up amigos
o/
 
2:27 PM
hell o
 
Is there something "newer" than wpf?
 
Anyone have any recommendations on prep materials for MCSA: Web Apps?
 
wpf just seems to scream "I'm dated", just look at its dependency on ObservableCollection; The events raised (and thus the interaction with it) are all based on object instead of generics.
 
what about uwp? i've never used it, but at a glance it looks like it'd be the successor to wpf
 
On top of that: is there even a simple guarantee about these things in a multi-threaded process.
Events as a whole make me wary when thinking about multi-threading though.
 
2:39 PM
@paul23 Electron. Desktop application in JavaScript
I wouldn't count on UWP will survive longer, than WPF
 
UWP seems to be pushed heavily by MS, but there's no incentive to rewrite old applications already written in WPF
because UWP apps won't work on Windows 7 or Windows 8 (lol)
 
@paul23 convert events into IObservable<EventHandler>, than control everything about multi-threading in Rx.Net
 
it also isn't much different wrt the things you're complaining about
Events: thread affinity is an abstraction leak from the underlying Win32 APIs, and you won't get rid of it without rethinking your GUI framework from basics
 
@milleniumbug indeed, which is what I was wondering. "Why isn't it (being) done now that multithreading is more common than not"
 
is Task affinity different?
I mean. Should I tell program where to parallelize things, or should it be automatic.
 
3:26 PM
There's no thing like "task affinity" if by task you mean Task<T> and like. On the other hand, there's too much code (unfortunately) that assumes that Task<T> represents a computation on another thread because it calls .Wait() or evaluates .Result
 
3:38 PM
Task<T> is a one-element container which can possibly contain a value at some unspecified point in the future, hence, other languages call it a Future<T>. .NET decided to call it Task<T>, causing endless fun terminology confusion with threads.
 
Yes I know. Just in C# You must always be aware of async await. Your methods can't climb out of the dependency "async must call await". As I know Java handles it better. You might not know if it's running in parallel or not.
there is a blog post about it. I have read it not long ago
"(That’s why C# has that little caveat. You can avoid the pain of async in C# by using threads.)" <- lool. Everyone pushes the async await way. Except this guy
 
It "does it better" by using threads
 
read from the beginning. It does better by You don't have to know if You are in parallel code or not.
I meant "task affinity" by that
 
much to my surprise this guy does seem to know what he's talking about
 
thread affinity is a property of objects, that the operations on them must be done on a specific thread. which is annoying as hell because it leaks
typical thread unsafe objects can be made thread safe by wrapping them together with a lock, and synchronizing the needed operations
 
3:52 PM
@ntohl My thoughts exactly
 
objects with thread affinity are worse than these thread unsafe objects
only thing worse than it would be objects operating on a global, unsynchronized state
 
@milleniumbug probably true, but still every piece of code I see lately awaits async calls. The few instances I haven't seen awaits for async calls are when you start an actual sidekick process that needn't return anything to the main thread, when you program in OpenGL or similar, or when you use Sync Framework and SignalR to communicate a desktop and web platforms
 
oh. I get it. So for example You want to change some TextBlock.Text in WPF, and sometimes it throws, sometimes it doesn't.
I like Scala's parallel., and awareness of parallel collections
 
@ntohl I think what they mean is you should delegate async tasks to the operative system, let it manage your processes and get less interruptions for a more fluid overall experience, not to make your actual program run faster. Then again, I might be mistaken
 
My last interpretation of thread affine objects is TextBlock is thread affine, because You must know it's thread bounded to the Dispatcher. You can't set .Text in any thread.
 
4:03 PM
Indeed. Any time when you encounter "you can only do X from a GUI thread", you're dealing with thread affinite objects
 
Ok. My misunderstanding of that lead to thread/task affinity means your code must be aware of how are You called (async await). 2 different topic.
 
yeah, no problem
 
user7538827
4:33 PM
Hi
 
user7538827
where I find TargetServerVersion in Visual Studio 2017 for report?
 
5:11 PM
hmm I'm always wondering, if I listen to ICollectionChanged should I expect it to be "fully used"? Some operations are kind of silly: ObservableCollection doesn't implement functions to remove/add multiple items at once. Yet NotifyCollectionChangedEventArgs provides a list of added/removed items. Having to constantly add loops, cast the objects to the correct type, handle errors on casts etc is really redundant and thus error prone. And what would cause a a "move" operation?
Or what to do when the command is to replace items, yet olditems & newitems aren't equal in size?
@milleniumbug What makes "a gui thread" special? Aren't guis themselves often multithreaded? They seem like the prime candidate for spawning multiple threads, each View(model) works often alone with only weak binding through a message system to other views/viewmodels. So it seems perfect to split the GUI into multiple threads.
 
WinAPI windows have thread affinity to the thread they are created in
that's what "a gui thread" is referring to - the thread associated with a given window
oh, and a GUI thread is likely to run a message loop which dispatches to events
 
5:28 PM
@milleniumbug That's the most important thing to remember.
 
6:28 PM
Man, MFC was/is a nightmare. Still remember dealing with it.
 
I remember firing up a few MFC template apps to see what it was about
Still never really worked out what everything was or how to do anything
 
@TomW It requires a lot of work. Granted, you do get access to do pretty much any crazy thing you can think of.
Like, say, changes the border color of all the frames in windows.
And I mean all.
 
Is Office an MFC app? Was that the point, to give the framework they built those applications in to the public?
Or was it a framework meant to be like Office?
 
@TomW It's meant for any C++ GUI applications
 
I know that, I'm asking, is it dogfood
 
6:33 PM
WinAPI != MFC
the latter uses the former
WinForms also wraps WinAPI controls AFAIK
 
I know the MFC template apps looked like Office
 
@milleniumbug My bad, I get them mixed up. Honestly MFC was such a thin wrapper it could be hard to tell exactly where you were.
@TomW They are definitely designed to look like Office apps.
Naturally you could change them and use/abuse them them to do other things.
 
fair enough, most of MFC wrapping wasn't ambitious, more like "first argument of this WinAPI call is now this in MFC"
 
Still remember a bug in the program that caused the application to crash when you hit the ALT key twice. It got assigned to me after I "rediscovered" it while programming hotkeys. The last "fix" involved setting an undocumented bool in some random underlying class to true. Removing the line of code made it crash the first time you pressed ALT.
 
must have been "fun"
 
6:42 PM
The actual cause? One of the programmers from the company we worked with decided to use a menu item to load images into memory. After the images loaded, they deleted the Windows object. However, they neglected to let Windows know they deleted the object. Anyone know what the alt key does in Windows applications?
 
change windows
wait, not by itself
nothing?
 
I'd expect it to select the first dropdown menu (and afterwards you can use arrows to select the item)
 
You have no idea. It was open season on the app design. They're were multiple header files that referenced functions that all did the same thing all over the place. Not to mention the abuse of singletons to load everything. Then there was stdafx.h. The horror. File was about 10,000 lines of includes. You'd be working on one file that seems unimportant only to suddenly be recompling the entire application. Which took upwards of 30 minutes.

In order to find the spot where the problem was I worked with an older developer who had recently redone all the skinning for the application. H
@milleniumbug It cycles through the menu items at the top of the window. So, since the menu item was the first one created, it was considered to be the first one. However, the application never added the menu item to the top bar. So we basically had a ghost menu item.
The bool seemed to (we never really knew, it isn't in any MSDN documentation) stop the alt key the first time you pressed it. The second time it looked for the first menu item, windows found the ghost one, tried to access it, only to find the memory to be used by something else.
So it crashed, gave seemingly random errors, and couldn't give any hints as to where the acutal problem lied.
Oh yeah, then there was the time where we ended up exceeding the Windows application GDI object limit. Fun times.
 
7:00 PM
10000 lines of includes? my god
 
@milleniumbug In stdafx.h. Ya know, the header that's in every single file.
 
also heh, including your own headers which will change often in the precompiled header
I guess you can only describe stuff like that with one word
~~legacy~~
 
I learned a lot from that internship.
@milleniumbug This was the program to replace the legacy program.
They went from C to C++. And this was when C# was out.
 
was the lesson "choose your workplace more carefully"? :P
 
1. Don't buy a charting system from a company just because it looks pretty after your developers review the code and say "Oh fuck that."
2. Contractors are risky. Some are great, most cause problems.
3. If you have a large development project, don't allow any coder do whatever they want to any part of the program.
4. If the two interns are designing critical application parts, you might have a problem.
I see they still advertise the probably the most horribly designed tool on the front page.
Trying to remember if my non-disclosure agreement is expired. Should be at this point.
 
7:27 PM
Regardless it doesn't really matter. Haven't shared any acutal important implementation details.
 
"two interns are designing critical application parts" this sounds like a road to bankruptcy
 
@milleniumbug They are being bought atm.
Fuck it, it was Scottrade.
 
Fuck contractors
 
The Scottrade ELITE application.
 
Well, keep a very close eye on contractors.
If contractors are your Appointed Expert, you're doing a bad thing.
Contractors as rent-a-programmer are fine
 
7:34 PM
I discovered the hard way that if you dispose a bitmap and then create a new bitmap assigned to the same variable in gdi+ it has a hissy fit
 
@TomW It was a really weird situation that I've never heard of anywhere else. So, we purchased the stuff doing all the charting from another company. However, we didn't just buy it and call it a day. We also hired the company to help build aspects of the application alongside the company's development team. After the application was completed, the other team was going to be kicked out of the development process and all maintaince was to performed by the now owners of the source code.
 
Well, that doesn't sound weird at all. That sounds very common
 
On top of this, there were additional contractors hired to write other parts of the application.
 
That sounds like employing consultancy
I am a consultant, so I have certain views as to how this should or should not be done
 
@TomW Sure, but they also dicatated how many aspects of the program were implemented.
And, like I mentioned earlier, the charting stuff was bad from the get go.
 
7:38 PM
I would always prefer for my customer to have oversight of my work and have the capacity to judge whether or not they're happy with it. If they don't have the knowledge to judge between a good job and a poor one, I'm not going to go and stiff them or anything, but it's not entirely within my remit to educate them
I'll do my best but it's not my job,
 
Is it normal for a company to be able to sell the original source code you purchased from them?
 
I much prefer an educated customer because they can fend for themselves without us. I do not enjoy the idea of leaving any customer in a panic because they can't solve a problem we may have inadvertently created for them
 
It was kinda/sorta a framework by not really.
 
I'm not sure I can even parse that sentence.
We generally don't retain any IP for any code we write
 
Yeah, that's the weird thing. I think they did.
 
7:41 PM
If it was a library that was general-purpose but the first use was for you
Then I could see that
Similarly I think my buddy's company works like that. They sell a product with proprietary customisations, and they (probably?) retain the IP for those customisations
 
posted on November 22, 2017 by Scott Hanselman

I blogged recently about optimizing .NET and ASP.NET Docker files sizes. .NET Core 2.0 has previously been built on a Debian image but today there is preview image with .NET Core 2.1 nightlies using Alpine. You can read about the announcement here about this new Alpine preview image. There's also a good rollup post on .NET and Docker. They have added two new images: 2.1-runtime-alpine 2.1-ru

 
I would still be incredibly cautious about hiring someone like that. They were a super small company that was suddenly working on a huge project. If I had to guess, much of the most offending code probably came from people they hired on last minute to try and handle the work load.
Plus there is still the whole issue of completely throwing away a perfectly functional legacy application as opposed to migrating it.
 
Absolutely. I think all of my instincts as a consultant would probably be in opposition to all my customer's instincts
So like OK, you won't see anything happen for the first few weeks because I'm reviewing the existing setup
I need that time to decide whether you have any structural problems that need replacing rather than fixing
 
@milleniumbug Oh, yeah, forgot to mention, this was -- IIRC -- at least four years into development at this point. One critical application part the other intern was developing? A class for stock symbols. In a stock trading application. Four years later.
The code that was duplicated all over the place that different people used willy nilly? That was the code to take the string data for stock symbols and parse it out into usable information. The symbols were all strings.
 
Devil's advocate
That can be a symptom of a micromanaging customer
 
7:52 PM
@TomW Which part?
 
I like the notion of agile particularly in respect to continuous delivery but look, sometimes making something that works takes time
@TylerStahlhuth the part about duplication. I wouldn't assume that was because the developers are incompetent
The vast majority realise that's bad design. The reason they can't rectify the bad design is that the customer keeps nagging for progress and they can't find the time to do work on the whole system
 
@TomW No, the problem was no one knew what to use.
It was amazing they all worked the same.
It would be hard for me to pin down exactly what all went wrong.
 
Could it be that the team only understood stock symbols after four years of trial and error?
 
But I have a feeling it's a lot of things.
 
"Well we'll write something that fits what they've told us for this sprint, but we don't really understand it, so we don't want anyone to use what we've done here anywhere else because it will probably be wrong"
 
7:57 PM
@TomW We had members of the team that still worked on the old legacy program. Sure, that could have been the case for new developers, but not the ones who worked on the old program for many years.
 
Did they feel as though they were allowed to tell people how things work?
If you're an expert in a system that isn't especially well designed you can get a sense of the system serving the system, rather than the system serving the business. It can knock your confidence in your fundamental understanding
 
@TomW I remember them having a lot of say in meetings, but I can't speak for them. Regardless, management should have basically told people to STFU and listen to the experts if that was the case.
 
"I don't really understand [domain], I understand [system]". You may be prone to saying that if [system] is a bad system
 
@TylerStahlhuth I could only imagine how it went. "Here write this thing." "Ok." "No, you also need to handle cases X and Y" "Ok." "Oh and also Z, Ab, Az and W" "Ok." and extend that to 4 years, with someone with no experience and no refactoring done whatsoever
 
@TomW I'd agree if many of the coding assignments I was given weren't along the lines of decreasing compile time, reducing load times and cleaning duplicate code. I was sent on a refactoring mission with no idea how things worked.
And practically zero oversight.
 
8:04 PM
Observation: 'the business' tends to assign a bureaucrat to be 'the expert'
Rather than going to the actual experts
the people who do the work
because they're too busy
 
@TomW That just sounds like standard practice for large companies.
 
And then the expert gets backed up
and they don't actually know anything anyway
 
All I know is that from my possition everything seemed off. The Project senior developer was not happy how everything was happening. I'd get sent off on lone wolf tasks that would involve either designing an entire module (window) for the application with noone reviewing my check-ins.
For example, I was doing threading work on the stock ticker (the thing would stop, start, and jitter) after multiple developers told me it wasn't possible to have a secondary GUI thread. Ended up checking in a fix that threw the entire ticker into a secondary thread. Granted, I told everyone how I did it, but no one checked the code.
I really should not have been allowed to do that without an in depth review of how I did it.
Funny side note, I ended up upsetting QA with that change. They used to check the ticker to see if the application froze. After the change, it just kept trucking on.
 
8:21 PM
blaagh
It's mature to be able to admit to that kind of stuff. Look, I just don't know how to do it well, you need to hire someone with expertise
Why do projects fail, if you could provide a formula, you'd be the West's richest person
 
@TomW To be fair, this was after I'd been there a while and had done a large amount of research into how the message queue was handled. When they told me to get the ticker to stop jittering, I asked why it wasn't in it's own GUI thread. At this point I knew it was possible. When they told me it wasn't, I pushed back a bit because I knew better. They let me try and were happy with the results. Still, someone really should have reviewed my code.
 
8:40 PM
@TylerStahlhuth lol
 
8:57 PM
GDI+ throws parameter is not valid when I create a new bitmap. I created it based on another bitmap's width and height, but I know it's not disposed and intellisense agrees while debugging. Wtf?
As an example, I can and did create variables to store that bitmap's width and height, the did Bitmap bmp = new Bitmap(myWidth, myHeight, PixelFormat.Canonical); as proof
 
00:00 - 21:0021:00 - 00:00

« first day (2594 days earlier)      last day (2355 days later) »