|
There probably is code that relies on it! (Reminds me of the bad old days of Win16 developement).
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
|
One of my favourite XKCDs of all time.
This[^] is the first I ever read, it initiated me to Randall's works.
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
|
I can't reproduce the bug in LINQPad 4 or 5, so it looks like this might actually have been fixed.
Using the code from the bug report, I get a compiler error telling me that the constraints on B.Foo must match the constraints on the base method. That's because the constrains on the overridden method require U : object[], IList<object> , whereas the constrains on the interface method require U : object[] .
class B : A<object[], IList<object>>, A<object[], object[]>.IFace
After "fixing" the code to:
class B : A<object[], IList<object>>, A<object[], IList<object>>.IFace the code compiles and runs as expected.
Do you have a less esoteric example of the bug?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The code I have is a bit more complex with inheritance included. If I have extra time at some point I'll try to create an example.
The basic idea is
interface IA<T1,T2,T3> : IDisposable
where ...
method X<T4>
where T4 : T1, new()
abstract class BaseA<T1,T2,T3> : IDisposable
where ...
public method X<T4>
where T4 : T1, new()
implementation
class A : BaseA, IA
So the interface and abstract class are not used together until in the concrete class.
|
|
|
|
|
Meh! Just report it and let MS do the diagnostics.
|
|
|
|
|
Well, not Qlikview, but the idiots that run the show here at work.
They want everyone to develop on a central server. Yesterday, at around 11:30am, this server dropped off the network, and since that time, everyone that does Qlikview work is sitting with their thumbs up their collective asses. Including yours truly.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
|
|
Why would they need you to develop on a server?
|
|
|
|
|
I don't f*ckin know. It's simply another arbitrary and absurd requirement.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Sounds like a military/gov thing. I've worked both a few times and they do stupid Sh*t like that all the time.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Could be worse, at least it's your OWN thumb.
|
|
|
|
|
Update - I submitted a help-desk ticket 3.5 hours ago, and just got a reply:
"What is the port number connected to the computer?"
What a bunch of retards...
Me: "Ping the box, idiot, and you'll see that the requests time out. This means the box has been turned off or simply exploded, or the port on the switch its connected to has failed, or maybe the box is simply overwhelmed that Trump was elected and it doesn't know what to f*ckin do with itself. Whatever the reason, we are at a full work stoppage because someone, somewhere, isn't doing their f*ckin job."
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Same thing when you are stupid.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
via Remote Desktop? Is this a DOD or NSA (or like org) project? Then it makes some obtuse sense, otherwise no.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Yes on DoD, but no, it's just a network share. The machine is just gone.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Maybe the Russians stole it... LMFAO...
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
That's how some of the developers where I work told me to develop. Luckily, I've managed to implement change.
|
|
|
|
|
Neurotech - The Elysian Symphony[^]
A new song from the new album of my #1 artist of 2016
I learned about Neurotech right here on CP in the weekly SOTW post (when the S was still Song) and now Neurotech is coming back to you (for the second time I think)
The track is only 17 minutes, but it's 17 minutes of awesomeness
|
|
|
|
|
|
Jarre meets Sirenia, I like that!
It does have both the synths and metal parts (putting An Elixer For Existence in my playlist).
I don't know those Vangelis songs, but I'm currently listening to the Direct album on Spotify. His soundtracks are awesome too.
I'll give Revolutions a listen too. I've listened to Equinoxe a lot in the past.
|
|
|
|
|
I'm just curious.
Chrome Apps / Extensions
Do you install Chrome apps / extensions? Often? Seldom? Never?
Do you see them as a security risk?
Have you had any great experiences with Chrome extensions? Any terrible ones?
I'm just curious about how often they are used.
Considering converting my C'YaPass app (see browser single page app[^]) to a Chrome extension and wondering if anyone would even install it or use it that way or if they'd rather get the native apps or use web browser version.
Chrome Extension Devs?
Have any of you developed any Chrome extensions?
If so, would you point me to them in the Chrome extension store (a link)?
|
|
|
|
|
raddevus wrote: Do you install Chrome apps / extensions? Often? Seldom? Never? Never.
raddevus wrote: Do you see them as a security risk? Yup.
raddevus wrote: converting my C'YaPass app (see browser single page app[^]) to a Chrome extension and wondering if anyone would even install it or use it that way or if they'd rather get the native apps or use web browser version. I'm using Keepass; small standalone application that can be stored on USB, and run it with a bare-bones browser in a separate and limited desktop[^].
raddevus wrote: or use web browser version. I'm not going to store all my passwords with a third party that I do not know. Sounds too fishy to me.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|