|
I have a style element with the class definition in the cshtml file that's using it, so it's not a precedence issue.
I was playing with it over lunch, and I somehow got it fixed, but I'm not entirely sure how I did it. :/
".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
|
|
|
|
|
and that is how the voodoo magick thing works here.
|
|
|
|
|
Not so much a problem with VS2017 or CRaP ( ).
Although the default templates in VS2017 are really bad.
Old versions of libraries and such and, indeed, Bower.
Even the makers of Bower say you shouldn't use Bower anymore.
Bower is a package manager that you can only install using npm, another package manager...
NuGet is horrible for front-end libraries and frameworks, here too npm is the tool of choice.
I've become a fan of CDNs, no more referencing local files that you first have to download/install using package manager x...
For fontawesome I use:
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<script defer src="https://use.fontawesome.com/releases/v5.4.1/js/all.js" integrity="sha384-L469/ELG4Bg9sDQbl0hvjMq8pOcqFgkSpwhwnslzvVVGpDjYJ6wJJyYjvG3u8XW7" crossorigin="anonymous"></script> It's not the latest, but it works and getting the latest is as easy as changing these two lines of code.
All in all I don't blame VS or Notepad++ or any other editor.
I blame browsers that (used to) implement HTML, CSS and JavaScript just a little bit different.
I blame users for using so many different browsers and versions.
I blame JavaScript that's so limited we need packages for basic functionality such as padLeft.
I blame CSS that has a width and height property, but only actually uses them under very specific circumstances.
I blame the community for not settling with a single standard.
I blame library makers for not being backwards compatible (AngularJS, anyone? And I still haven't managed to update Bootstrap from v3.x to 4).
I blame the total lack of decent tools that drives us to CLI tools such as npm, Gulp and Webpack.
Front-end development is just a burning pile of sh*t and I honestly believe that anyone who likes front-end development is a masochist deep down.
I also think governments should stop waterboarding and force people to do front-end development instead.
I'll take a waterboarding please.
|
|
|
|
|
We can't use CDNs because our dev boxes don't have internet access.
".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
|
|
|
|
|
A web developer without web access?
How do you even get any work done without a developer's best friend, Google!?
And even if you do know everything, how do you download libraries in the first place?
|
|
|
|
|
We have another box that we can use to get to the internet. If we get a sizeable chunk of code off the internet on that box, we copy it to a cd, and then copy it from the cd on our dev box. The boxes are sitting right next to each other. :/
".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
|
|
|
|
|
I'll never get such policies or why anyone would want to work at such a place
It must cost the company a lot in productivity as well...
Defense, right? Is it some form of patriotism that keeps you there or does it pay really well?
|
|
|
|
|
Yeah, it's a DoD job, and it's almost as if the branch I work for is on a mission to disable all connectivity to everywhere. We can't use FTP to transfer files, we don't have shared network drives, our Windows profiles are on our local boxes, which means we have to use a DVD if we want to transfer a file to another machine.
Beyond all that, we have such problematic connectivity that our apps can be renedered completely inert due to a lack of timely data.
I've already talked about the lack of desire to do a rewrite on the 11-year-old code base, because "it would be hard". None of the guys that are here now were involved in the original development. I think they're afraid to do it, yet other companies are creating demos that will be flashier with modern tools/frameworks, and our only saving grace is that *we have the data*. If we could just get permission/resources to rewrite, it would be great.
It pays pretty well, because I'm a contractor. The GS guys get a lot less money.
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: It pays pretty well, because I'm a contractor. The GS guys get a lot less money. As usual with contractors
And working for the government has its perks and challenges I guess.
John Simmons / outlaw programmer wrote: I think they're afraid to do it Perhaps they're just beaten down by all the connectivity regulations and they're just there for the paycheck?
If you stay long enough you might join them
|
|
|
|
|
Lazy day, so dinner = heating up a pie in the microwave (yeah I know, bogan!)
anyhoo reading the instructions, open 1 end of packet, cook for 3 1/2 min (I do it 2 mins then flip it for the rest) ...
one of the instructions says "do not leave microwave unattended while cooking"
umm, are they suggesting something bad may happen with their product??
and even more incase something happens I should be standing near the microwave (perhaps they prefer closely looking in the window)
sorry, still gonna cook that puppy but for sure not hanging around to watch.
Message Signature
(Click to edit ->)
|
|
|
|
|
Lopatir wrote: still gonna cook that puppy but for sure not hanging around to watch.
If you're going to cook a puppy, isn't the point to watch?
Latest Article - Slack-Chatting with you rPi
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
On a similar note, there should be transparent toilet seats so that when you give your cat a bath you can watch and make sure that's it's done.
Instructions to wash cat
1. Lift lid add soap
2. Add cat close lid
3. Wait a few minutes while cat thrashes around
4. Flush as many times as needed until cat is reasonably rinsed off.
6. Stand clear and open lid
Got my site back up after my time in the woods!
JaxCoder.com
|
|
|
|
|
Brilliant. Will have to try this one for sure.
|
|
|
|
|
Mike Hankey wrote: 6. Stand clear... The most important part of the instructions.
|
|
|
|
|
Yeah cause you know he's gonna come out looking for your ass!
Got my site back up after my time in the woods!
JaxCoder.com
|
|
|
|
|
Why did I immediately love that reply?*
* And where's the cat. I want him to see this.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I don't like microwaved pies - the pastry is always soggy and unpleasant.
Stuff it in a real oven for twenty minutes.
Plus the major bonus: lack of risk of explosion / death / pie theft while microwaving.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well it didn't explode, cooks in it's packet, was crispy (perhaps a tad too hard).
a bit bland - lifted the lid and stirred in black pepper for that.
microwave vs oven - well as said, being lazy.
after the pie some fresh fruit... to get some real vitaminerals.
then coffee, the brain needed feeding too.
Message Signature
(Click to edit ->)
|
|
|
|
|
|
Gawd, are they still going? I remember them when I were a kid ... nice crispy pastry, they had.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Lovely things. They come in two sizes too!
Many a Uni dinner came out of one of these tins .. and then the tin was repurposed as an ash tray - early up-cycling
|
|
|
|
|
I thought you were going to tell us about your adventures with 50 year old field rations, how to prepare fresh rattlesnakes or something like that.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Quote: rattlesnakes
Wales has some interesting wild life but no rattle snakes I am aware of...
|
|
|
|
|
I'm in Singapore though, there are snakes (though quite rare, only seen a 3 wild ones and half a dozen road kills in 20 years).
whales, not so much.
Message Signature
(Click to edit ->)
|
|
|
|
|
Not even land whales?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|