if (BigCondition)
should be moved outside the loop though.
Wout
if (BigCondition)
should be moved outside the loop though.
Wout
The probably wanted to make angry back music in the 50's too, but without metal guitar it's just a whole lot more difficult.
Wout
Enhance...
Wout
You should apply for a job at Adobe!
Wout
MS is putting out a lot of rubbish lately. I was trying to get my feet wet in UWP yesterday. The default Class library and Application projects wouldn't even compile properly at first. It would give me the most obscure compilation errors and send me off to a googling spree. Had to turn off Native compilation, randomly updated some nuget references, did some random nuget restore commands, and finally got these very basic projects compiling. I'm seriously starting considering jumping ship.
Wout
I really dislike Microsoft's direction the last 15 years or so. Every 3 years they come out with a new half assed framework, only to ditch it and replace it with the next half assed framework. The reasoning being that old equates to bad, and new is good. Wrong! Good is good, and bad is bad, and more often than not in the case of Microsoft new is bad. I wish they would fix the 20+ year old bugs in GDI+, invest a bit in Win Forms so it's up to date with multi-monitor setups. They should never have released WPF and UWP. The couple of things I do appreciate out of MS are SQL Server and ASP.NET MVC. They just work and they didn't unnecessarily over complicate the tech.
Wout
What's this article doing in the forum? :laugh:
Wout
I'm on the fans.
Wout
I think what's difficult about the open source model that if a company wants to contribute to a open source project in money or labor, that company also helping its competitors, and this is very conflicting. For projects that have many users that conflict diminishes, but for projects with a relatively small amount of users and with just 1 or 2 people running the project it becomes a bigger concern.
Wout
It was me guys, I just started using .NET Core.
Wout
I guess fixing bugs in System.Drawing/GDI+ isn't sexy?
Wout
On my own projects I always script my datatabase into an SQL file and save it into subversion along with my source code. Any changes can be found in the svn log afterwards, works great.
Wout
Mine is non-zero at 'exceptional points'.
Wout
Sometimes I use a class with a
public static readonly MyClass Null = new MyClass();
singleton instance that does nothing to save on null checking.
Wout
Sander Rossel wrote:
So remember that name, Juun Software. You'll be seeing it next to Microsoft, Apple, and Google in a couple of years ;-P
What makes you think they are down sizing? :-D Congratulations dude, good luck!
Wout
I have no dislike for writing SQL and stored procedures at all. SQL Management Studio has auto completion and it's pretty comfy. And if things don't work as you expect you can debug it inside SQL management studio too, good luck doing that with your ORM. Performance is great too. For basic CRUD access I've written my own stored procedures that generate CRUD stored procedures (in SQL you can query table and column metadata and generate output based on that), so for 90% of the things I need I can generate it, and the other 10% I can generate it and tweak to my needs.
Wout
In theory you could specify that all internal units are SI (e.g. meter for distance), and then you just need to deal with unit conversions on the software interface to stored data or user interface. But even if you handle everything in (value, unit) tuples, there could be an error in data entry that would go undetected by the software. Alternative solution: have a debug mode where you use (value, unit), and have extra asserts to make sure your code is correct and in the release mode the unit checks would be removed so there's no overhead in production.
Wout
Thanks for the tip, I'll keep those in mind for my next printer. It's good to see there are still developments towards less wasteful practises, and it's not all profit maximalization.
Wout
That's pretty neat. If the software was transparent about it and gave you some control and indication of how much ink it's flushing with that would make the printer manufacturers a lot less shady. No so much with HP: my HP deskjet never gave me a hint that this was happening, and every time I needed to print (like once every half year), there was somehow no ink. I was so pissed off when I found out what was happening that I got some Lexmark full duplex laser for around €100. I make sure to never turn it on when I'm not printing, so they're not elephanting me. When it runs out of toner in 5-10 years at this rate, I'll just get another (non-HP) laser printer!
Wout
Life pro tip: don't get a inkjet printer, it's a scam. These things flush their heads at regular intervals WITH INK so they don't get clogged. Even if you're never printing, the thing will use ink. I guess in a way it's always printing (printing money for the printer company).
Wout