Me: building a fluent interface framework…
I already support aWrapperOf<T, T, T, T>
User: Can I have aWrapperOf<T, T, T, T, T>
because I’m doing something weird?
Me: *sigh* god-damnit. You’re right but I still hate it.
O(n)
? More Like Oh(No)
Hmm, I’m thinking - We should place a bunch properties and just name them something like "${username}" - "${password}"
and variations of that, and see we can “find/replace” cross-site script them into sending their bots details
git reset head~9
git add -A
git commit -am 'Rebased lol'
git push -f
Cowboy Programming:
PO: Hey we want to go to Mars
- 3 weeks of silence -
Developer: Hey I’m there, where are you?
Yea, I wasn’t saying it’s always bad in every scenario - but we used to have this kinda deployment in a professional company. It’s pretty bad if this is still how you’re doing it like this in an enterprise scenarios.
But for a personal project, it’s alrightish. But yea, there are easier setups. For example configuring an automated deployed from Github/Gitlab. You can check out other peoples’ deployment config, since all that stuff is part of the repos, in the .github
folder. So probably all you have to do is find a project that’s similar to yours, like “static file upload for an sftp” - and copypaste the script to your own repo.
(for example: a script that publishes a website to github pages)
I suppose in the days of ‘Cloud Hosting’ a lot of people (hopefully) don’t just randomly upload new files (manually) on a server anymore.
Even if you still just use normal servers that behave like this, a better practice would be to have a build server that creates builds, like whenever you check code into the Main branch, it’ll create a deploy for the server, and you deploy it from there - instead of compiling locally, opening filezilla and doing an upload.
If you’re using ‘Cloud Hosting’ - for example AWS - If you use VMs or bare metal - you’d maybe create Elastic Beanstalk images and upload a new Application or Machine Image as a new version, and deploy that in a more managed way. Or if you’re using Docker, you just upload a new Docker image into a Docker registry and deploy those.
Chaotic neutral: If you complain a lot and keep saying your ticket has high priority, you’ll automatically have lower priority than the guy that doesn’t really care when I do something
Defragging an SSD on a modern OS just runs a TRIM command. So probably when you wanted to shrink the windows partition, there was still a bunch of garbage data on the SSD that was “marked for deletion” but didn’t fully go through the entire delete cycle of the SSD.
So “windows being funky” was just it making you do a “defragmentation” for the purpose of trimming to prepare to partition it. But I don’t really see why they don’t just do a TRIM inside the partition process, instead of making you do it manually through defrag
Just wait until she learns child processes get aborted
No. I know this because a couple of times my license expired, and 30 days before it does you’ll just get a little warning in the IDE - or in tools like Resharper. After that it just stops working.
I remember this post like it was yesterday, and she didn’t have her shit together at all.
All she had was a Z-sphere dragon in ZBrush poorly photoshopped on top of a lumion render, and an overambitious idea
Well TAI stands for International Atomic Time and “international” generally pertains to Earth-bound locations.
Coordinated Universal Time sounds like it has a bigger inclusivity scope
Otherwise we’d have to rename TAI to “Intergalactic Atomic Time”
Sure, we can compromise; they can have their own timezone, but it has a constant time value.
const moonTime = DateTime.Utc.MoonTime
Yea, what @hydroptic@sopuli.xyz posted is actually Java
What even is the point of creating standards if you design backdoors to them
If you’re building in a backdoor anyways, why would the backdoor require 5 lines of weird reflection to get the type, type info, fieldinfo with the correct binding flags, and then invoking the method?
I think it’s kinda neat compared to C#, just being able to say “Ignore private/protected/internal keywords”
Is it Java? It looked like Microsoft Java C# to me…
public static void Main(string[] args)
{
var meme = new Meme();
var joke = GetTheJoke(meme);
}
public static Joke GetTheJoke(Meme theMeme)
{
var memeType = typeof(Meme);
var jokeField = memeType.GetField("Joke", BindingFlags.NonPublic | BindingFlags.Instance);
return (Joke)jokeField.GetValue(theMeme);
}
Yea, that’s why I mentioned these companies are just doing it wrong. Governments have the same problems as private companies, in that they don’t really want to maintain their own cloud infrastructure, so they’ll use something like AWS
But for example they could host their own On-premises HSM and encrypt their GovCloud to a degree that it’s inaccessible to AWS
It’s pretty common that AWS is doing that, they even have a special GovCloud for them.
These companies are obviously just doing it wrong by having public S3 buckets
Scorpions are not good swimmers, but they are proficient enough to survive for approximately 48 hours in water by breathing through their exoskeletons.
And a scorpion with 10 years industry experience in Frog will probably do a lot better than 48 hours
I’ve started to prefer option A to be honest.
In C# I’m using Verify - So I prefer to just use
Verify(state);
and compare the entire state against a json saved state, instead of manually verifying every individual property