Could be fun, but I don't know the domain at all.
Like that stopped the other developers.
Could be fun, but I don't know the domain at all.
@powerlord said in Cloudflare? moar liek cloud BARE amirite:
You know, it's interesting how we consider page rewriting bad when a consumer ISP does it, but we think it's somehow perfectly OK when CloudFlare does it...
The latter is authorized by the owner of the page; it's something they chose to enable, just like anything else on the page itself. The former is a third party sticking their nose in where it's not wanted.
@Yamikuronue said in Audible Manager:
Well fuck me sideways. I can just download from here?
That's a newish feature, you used to be required to use the download apps.
@dse said in Audible Manager:
Oh and fuck DRM, it is only to annoy the paying customers, break it and listen as you wish. I have many books (60) and it is growing, so prefer not to have them all downloaded on the phone. But one of these days will download all of them to PC and make sure they are DRM free. I want my books to be my possessions, in case Audible goes out of business, also if my heir one day is to inherit them like many dead-tree books me and my wife have.
May I recommend Downpour.com instead? Smaller selection but they sell downloads as DRM-free M4As and MP3s.
or as every single edition of borderlands so far has done: make 3+ loot colors indistinguishable to someone who is red-green colour blind and not noting the quality of the item anywhere but the color forcing me to help determing loot colors for him.
Gearbox added a color-blind mode to Borderlands 2 via patch; when turned on, in addition to adjusting the colors to be more friendly, it adds the rarity in text. Said mode was in The Pre-Sequel! at launch.
Do you want a bank in control of your power supply?
"Hey, I'm happy to spread my employer's IP around. Please, hire me to create IP for you!"
Would you rather they show you stuff "live" in the interview, or just give you a GitHub link in the CV to review at your leisure (if you care)?
@CreatedToDislikeThis said in The Ronseal Update:
Ugh. There's no way I'm going to switch to MSVC 2017. My hard drive will commit suicide.
2017's install is smaller (or at least potentially so; it gives you a lot more flexibility about what components to install and what to leave by the wayside).
I used to be "S-Q-L" but my coworkers cured me and it's now "Sequel".
@blakeyrat said in Mocking-Up A 3rd Party API:
@Adynathos Yah, I think I'm just going to sit on it for a couple weeks and wait until there's something else the office is panicking over. If that doesn't work, I'll put some effort into seeing if you can install a cert in WCF before it does its shit.
Load an X509Certificate2 from wherever you store your cert, make a new ChannelFactory<TChannel>, then set factory.Credentials.ClientCertificate.Certificate to that cert before using the ChannelFactory to instantiate your Channel.
@Magus said in In Which @Captain asks C# Beginner Questions:
Additionally, it's generally preferred to use the keyword forms of built in types when possible, as then there is no risk of someone reusing the class name.
Your code should use keyword forms, but any method names, since they might be consumed by non-C# languages, should use the class name. (GetAsInt64(), not GetAsLong().)
@Weng said in What is this ungoogleable operator called?:
@masonwheeler said in What is this ungoogleable operator called?:
How many times have you written out an entire struct definition to hold some tiny collection of data members that doesn't get used anywhere outside a particular class or namespace, or abused
KeyValuePair<TKey, TValue>
to squish together two items that are not conceptually a key/value pair, just because it's there?Why would you abuse KVP like that when the Tuple generics are RIGHT THERE!
Tuple generics weren't introduced until .NET 4.0. Sure, I wouldn't use them for anything new, but old code lives on forever. (Heck, we've still got code that relies on non-generic collections. :()
@powerlord said in Cloudflare? moar liek cloud BARE amirite:
You know, it's interesting how we consider page rewriting bad when a consumer ISP does it, but we think it's somehow perfectly OK when CloudFlare does it...
The latter is authorized by the owner of the page; it's something they chose to enable, just like anything else on the page itself. The former is a third party sticking their nose in where it's not wanted.
@CreatedToDislikeThis said in The Ronseal Update:
Ugh. There's no way I'm going to switch to MSVC 2017. My hard drive will commit suicide.
2017's install is smaller (or at least potentially so; it gives you a lot more flexibility about what components to install and what to leave by the wayside).
@Yamikuronue said in Audible Manager:
Well fuck me sideways. I can just download from here?
That's a newish feature, you used to be required to use the download apps.
@dse said in Audible Manager:
Oh and fuck DRM, it is only to annoy the paying customers, break it and listen as you wish. I have many books (60) and it is growing, so prefer not to have them all downloaded on the phone. But one of these days will download all of them to PC and make sure they are DRM free. I want my books to be my possessions, in case Audible goes out of business, also if my heir one day is to inherit them like many dead-tree books me and my wife have.
May I recommend Downpour.com instead? Smaller selection but they sell downloads as DRM-free M4As and MP3s.
@lucas1 said in NPM package that does nothing accidentally removed, breaks shit AGAIN:
My question would be, what happens with stuff like Nuget if that is part of your build process? I don't think this is something that is unique to NPM.
NuGet has a local package cache, so you might be okay until you try to upgrade the package (or move to a new build server). Worst-case, you drop the .nupkg file from a dev's machine on a network share somewhere, and add that as an additional repository in your NuGet.config file.
I used to be "S-Q-L" but my coworkers cured me and it's now "Sequel".
@dkf said in Webservice, takes object as argument, but object is inherited:
There will be some relation between the two — if there isn't, something very odd is going on — but it isn't necessarily a direct one. The external clients don't really care about your actual data model, as they can't see it.
Which is what I meant, but expressed poorly. :p
It helps a lot if you have to support third-party clients, as you can't pull shenanigans in that case. In virtually all cases where I've come across a shitty API, it's because third-party clients of that API have been a complete afterthought at best.
In this case the API was created for third-party clients. However, it's the first time I've done so (prior ones were meant only for internal use), so learning that my thought process was the real is not a big surprise.
@Tsaukpaetra said in The Official Status Thread:
Status: Welcome back, @atimson!
I've been lurking. Just don't post much. Need to fix that, at least during work hours. ;)
@Lorne-Kates said in Webservice, takes object as argument, but object is inherited:
Does it count if there's one project with all the classes, and another project that's the web project?
That's okay. You just can't split the classes across multiple projects, and still use a KnownTypeAttribute.
@dkf said in Webservice, takes object as argument, but object is inherited:
You should be OK provided you're strict about what objects can actually be sent.
Not in my experience.
I return Class X from a MVC Web API method, while working with Subclass Y internally. (The goal is to expose a subset of the data as JSON externally to consumers without needing to copy data to a new object before deserialization.) Class X and Subclass Y are in separate projects, so I can provide Class X in a DLL to consumers who are lazy & don't want to create their own model class.
I forget which deserializer (built-in vs. JSON.Net) was which, but one choked entirely because of the type mismatch, while the other insists on sending all of the Subclass Y fields even though it's supposedly deserializing an object of Class X.
(Which leaves coping with having to have a distinct viewmodel for my API, as @blakeyrat said. Which... actually isn't a bad philosophy when put that way. I had been offput by the thought of copying stuff around "needlessly", but I was thinking of the API as "external access to part of the data model", which it really isn't.)
@candlejack1 said in GTK's plan to fix everything: break compatibility every 6 months:
I'm not convinced it's that bad, as people can just recompile their programs on the newest GTK, or ship with the old one.
Since when do Linux programs ship with any dependencies, instead of making you compile them and it from source?