|
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
veni bibi saltavi
|
|
|
|
|
|
You don't have to set it in the server anymore though. Meta tags are supported
The latest updates need 'webNavigation' permissions for reading the HTML meta tags (a feature which a lot of people were asking for).
|
|
|
|
|
I'm proud to say our web site has been passing that in the clacks since 2015.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
I'm working on a web site at the moment and you'll never guess what's gone in...
veni bibi saltavi
|
|
|
|
|
Saw this through the joys of Reddit. Even though they are cobras, it made me smile. Enjoy! Python Programming
Sudden Sun Death Syndrome (SSDS) is a very real concern which we should be raising awareness of. 156 billion suns die every year before they're just 1 billion years old.
While the military are doing their part, it simply isn't enough to make the amount of nukes needed to save those poor stars. - TWI2T3D (Reddit)
|
|
|
|
|
good stuff mate!
|
|
|
|
|
Those youngin's are all vipers. The minute they think they know something, they'll bite you and take your job. Beware of teaching!
Marc
|
|
|
|
|
Marc Clifton wrote: The minute they think they know something, they'll bite you and take your job. Beware of teaching!
lol. But so many younguns reckon they already know everything and don't need teaching,
and that's when one should just sit back and watch them bite themselves in the ass.
Sin tack
the any key okay
|
|
|
|
|
Trivia question of the moment:
What TV theme song has only 2 words?
Bonus: write the lyrics to the song
|
|
|
|
|
The Simpsons.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Don't watch it, so can't confirm.
Not the one I was thinking of, but, there may be other correct answers.
|
|
|
|
|
|
Very good... didn't say it wasn't repeated, just that it had two words.
Watched an episode with my 11 year old daughter this morning.. passing the torch.
|
|
|
|
|
Batman? (something like 'na na na na na na BATMAN!' or some such.
if I google to confirm it it'll be stuck in my head all day...
|
|
|
|
|
Google it.. you know you want to...
|
|
|
|
|
|
|
Had I noticed Griffs post we could have avoided all of this...
But I guess a Riddler needs a good laugh now and then... or are you some kind of Joker?
|
|
|
|
|
Hmm.
Not Davey Crockett[^], then, because that's repetitions of four words: "Davey", "Crockett", "dum", and "di" (they way I sing it, at least).
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Not really, it's more like the other way around. Whatever caused the problem quietly went away and just worked like a charm when I wanted to take another look at it. Perhaps I have frienly Kobolds or Elves in my house that secretly fixed it overnight.
I was working on the sample program to demonstrate my UI again. This time I'm grimly determined to write an article about it. I'm a little proud of that particular bit of code and I think it may be far enough to be of use to other people.
This is the XAML for a small view (as in Model View Presenter). Since the 3D engine is not running in the background, this view just fills the background with an image and a button to end the program that comes useful when the program runs in fullscreen mode:
<BackgroundView Id="BackgroundView" Width="1024" Height="768" DockStyle="ADAPT"
xmlns="clr-namespace:FoC.PraetorUIDemo.Presentation.Views;assembly=PraetorUIDemo"
xmlns:fw="clr-namespace:Microsoft.Xna.Framework;assembly=MonoGame.Framework"
xmlns:foc="clr-namespace:FoC.Praetor4UI.Controls;assembly=Praetor4UI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<foc:cPraeImage Id="ImgBackground" PositionX="0" PositionY="0" Width="1024" Height="768" Alpha="255" ImagePosition="SCALE" Image="Background" >
<foc:cPraeImageButton Id="BtnTerminate" Image="Button_96" PositionX="918" PositionY="10" Width="96" Height="20" Text="Exit" LeftButtonClicked="BtnTerminateProgram_LeftButtonClicked"/>
</foc:cPraeImage>
</BackgroundView>
The click event of the button should be wired up to its event handler like this:
LeftButtonClicked="BtnTerminateProgram_LeftButtonClicked"
This never worked up to now. Since I don't enjoy the comfort of a designer that generates things like that in a partial class, I had to write code like this for every control:
public override void Initialize()
{
m_BtnTerminateProgram = Controls.GetComponent("BtnTerminate") as cPraeImageButton;
if (m_BtnTerminateProgram != null)
{
m_BtnTerminateProgram.LeftButtonClicked += new
PraeMouseButtonEvent(BtnTerminateProgram_LeftButtonClicked);
}
}
This worked, but for larger views with many controls this meant to write a awkwardly long method. Not anymore! Wiring up the button from XAML now works without any additional code in the Initialize() method.
Thanks, Elves!
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
modified 11-Mar-17 5:41am.
|
|
|
|
|
What does m_ mean?
What does the tiny little c in front of PraeImageButton mean?
What does Btn stand for?
I am giving you hard time here but in our shop you have no choice but to name the control TerminateProgramButton . Your code would fail review any other way.
-- Thanks for sharing.
|
|
|
|
|
Slacker007 wrote: What does m_ mean?
Mine!
Slacker007 wrote: What does the tiny little c in front of PraeImageButton mean?
Charlies!
Slacker007 wrote: What does Btn stand for?
Barry Timothy Norman.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
Good that he did not ask what the namespace FoC[^] stands for.
I think I should call my Padawan and set up some content on that site once more.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|