|
It's based on Razor Web Pages, which AFAIK is sort-of a stripped-down version of MVC.
ASP.NET Web Pages | Microsoft Docs[^]
I haven't used it, because I'd already written a simple custom CMS before it came out, which is good enough for what our customer wanted.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
|
Is a minimum a small British mother?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
At what venue does a missing lady perform?
... such stuff as dreams are made on
|
|
|
|
|
but these days minis are BMW's albeit at 3 times the price
(and the only thing 'mini' is the intelligence of those that still buy them.)
Installing Signature...
Do not switch off your computer.
|
|
|
|
|
In an universe where narcosis is a drug-dealing female sibling.
In order to understand recursion, you must first understand recursion.
|
|
|
|
|
A wife for Dr Evil's clone?
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 |
|
|
|
|
|
With the maximum being the American version?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
That'd be a maximom.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
A minimum and a maximom walk into a bar and the barman asks them if this kind of behaviour is normal. The maximom pulls her friend the minimum to the exit, whispering "lets go somewhere where they speak English (United States)".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Dads a terrible pun. You should go no father with this.
|
|
|
|
|
No, it's a short musical stutter. (Minim um)
|
|
|
|
|
Some people just don't understand it.
Quote: why these junky solution? Absolutely of no use.
Posted as a solution. To a solved question. From 2011.
It's not even from a n00b - the author has been a member since August 2009, and this is his(?) only contribution to the site.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
C'mon, why not just call them out?
"Go forth into the source" - Neal Morse
|
|
|
|
|
If you really want to, it's not hard to find; it's on the first page of QA at the moment.
EDIT: Except the answer has now gone.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Having been a member for more than 8 years not a programmer makes. Might be someone who opened a book for the first time, and never got around to opening it again until his first post.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You don't have to be a programmer to see the irony in posting that comment as a "solution".
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I was just digging through some of the HTML/CSS from dotnet blogengine and found this:
p { }
.rating { margin-bottom: 10px; }
.rating p { display: inline; position: relative; top: 14px; left: 55px; }
.star-rating { position: relative; width: 125px; height: 25px; overflow: hidden; list-style: none; margin: 0; padding: 0; background-position:
So the dev added a empty p{} element and then the comment.
This is not tech question but just an interesting archaeological dig.
Isn't that weird? I've never seen it before.
Is this something from a bygone era of CSS / old browsers?
|
|
|
|
|
Just to qualify this post, I've been using CSS a fair amount since the late 90s... so assuming there's no preprocessor being used then there is no reason under the sun for doing that. Browser specific hacks typically have an override of sorts. Doing something like...
p { } Does absolutely nothing. Which was probably their way of trying to start that CSS block / file without a comment. Because it does nothing.
And I've never had trouble starting CSS blocks and files with comments. Maybe he/she ran into something, but after 20 years of it I never saw that. Even text based browsers like lynx just ignore CSS. So I can't in recent memory ever think of this issue being a thing.
I'd wager it's a case of a little bit of knowledge being dangerous sorta situation. As in just enough to sound smart, but not knowing enough to actually be smart.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: o assuming there's no preprocessor being used then there is no reason under the sun for doing that.
Thanks for confirming that.
That's exactly what I thought after a bit of googling.
|
|
|
|
|
So now I'm curious, after doing some recon about BlogEngine.NET... I ended up on github since the Codeplex site is going down. This is the closest file I could find on github to the star rating snippet...
https://github.com/rxtur/BlogEngine.NET/blob/master/BlogEngine/BlogEngine.NET/Content/star-rating.css[^]
Is this is the right file? Are you looking at an older version of the code? Since it's a reusable blog engine, I'm curious to see if there was a legit reason for your snippet. I can't think of one. Assuming it's the same file, the comments are gone. I couldn't find any LESS files outside of the toastr one either, so I assume it's not preprocessed.
So, am I looking at the right code?
Jeremy Falcon
|
|
|
|
|
I found it in Global.css under the dotnet blogengine theme:
Content/Auto/Global.css
It may be a generated file and it just screwed up or something.
I just thought it was odd too. Thanks for chiming in on this.
|
|
|
|
|
raddevus wrote: Thanks for chiming in on this. Any time man. After looking at again, about the best thing I can think of is maybe, maybe there's some weird doxygen type app out there that bombs if you start a file with a comment. Never saw anyone use brackets in their comments in CSS like...
And when I see special comments I think doxygen et al. Of course, nobody generates documentation for stylesheets, so I don't really think that's the reason. I'm just reaching deep trying to give the benefit of the doubt here.
Jeremy Falcon
|
|
|
|
|
I recently travelled back from China to the UK.
The 4 hour internal flight in China, followed by 13 hour flight to Amsterdam went smoothly with good service.
At Amsterdam I found KLM had cancelled my flight back to Birmingham (UK). After much chasing round and being bounced from one agent to another I found they had rebooked me on another airline via Frankfurt. The Frankfurt was delayed so I missed the connection to BHX and had more hassle to get another flight.
I knew that I should complain to KLM and ask for compensation for the cancelled flight but didn't fancy the hassle and didn't expect it to be easy or productive. I asked my assistant to chase it up for me. She emailed them with the details and after just a few days I got an email of apology with a voucher for a substantial amount of money, just like that!
Now I have to decide how to spend the money ... but my wife will make that easy as well!
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|