« first day (1525 days earlier)      last day (3425 days later) » 

10:00 PM
sample code for both approaches is at stackoverflow.com/questions/275689/…
 
very tempted to do a replace
convince me not to
 
Hey! I'm looking for information about how to use Visual Studio's testing tools for a website (application). Where can I find that? (Can I ask this on Stack?)
 
I need to get Photoshop next week
 
@SébastienRicher not on main, but here is fine
@MoonOwlPrince get gimp instead
 
I have Gimp
 
10:03 PM
then why ps
 
The UI is not as intuitive for someone who just wants to draw a cone and a cylinder
 
So use Blender
 
Use paint
 
Paint.Net > Gimp ;-)
 
I haven't bothered to learn how to use Blender
 
10:05 PM
@KendallFrey Works fine as long as neither path has .. in it ;)
 
@SébastienRicher I have yet to use gimp enough to confirm or deny
@ReedCopsey they won't
 
And note this for something that will have a resolution of 20x20
 
@MoonOwlPrince But you're going to bother to learn photoshop?
@MoonOwlPrince the pencil tool in paint
nobody will notice
 
Because an investment in Photoshop is a long term investment that will apply when I want to start coding games
 
I find that a bit unbelievable
 
10:07 PM
I have Paint.NET so I will try use that first
 
If you're making 2D sprite games, GIMP will do the job 99.99% of the time
If 3D, well, man up and learn Blender
 
I am used to Autodesk software
It is more intuitive but I will learn Blender
 
It's basically the de facto 3D modelling tool
I hated it at first, but now I think it's great
 
I thought Autodesk and MathWorks software was used everywhere and Blender was for hobbyists like me
 
Not for game development
I've never even heard of those two
 
10:10 PM
Isn't Maya AutoDesk software?
 
Is it? I think I've at least heard of that
 
MathWorks is the company responsible for MatLab
 
Yeah - Maya and 3D Studio MAX are both AutoDesk, and they're the standard in AAA game dev
 
That must be why AAA games are so lousy ;)
 
I remember in our architecture class when my lecturer remarked that we will miss the commands we get from AutoDesk software
AAA games are AAA for a reason
 
10:23 PM
yeah - Max and Maya are pretty awesome (once you know how to use them)
but they're expensive
 
Hi everyone, how can I convert a mathematical operation as string into integer?
 
RE: colors/pixels. I only noticed yesterday, that if you open up the chrome console, find an element with a color, click on the color to bring up the color picker, and then click on the name of the color in the bottom of the color picker, it gives you a circular mouse that you can move around on the screen and inspect everything by a sort of magnified pixel viewer.
 
ex: "5^2" I want to have the result 25
"5^2" is a string variable
 
write a parser, evaluate the string in some fashion
The complex part is more along the lines of
-1 + ( 3 * ( 6 ^ 2 ) ^ 2 ) / 6
1.3333333333333335
 
Polish notation, also known as Polish prefix notation or simply prefix notation, is a form of notation for logic, arithmetic, and algebra. Its distinguishing feature is that it places operators to the left of their operands. If the arity of the operators is fixed, the result is a syntax lacking parentheses or other brackets that can still be parsed without ambiguity. The Polish logician Jan Łukasiewicz invented this notation in 1924 in order to simplify sentential logic. The term Polish notation is sometimes taken (as the opposite of infix notation) to also include Polish postfix notation, or Reverse...
In computer science, lexical analysis is the process of converting a sequence of characters into a sequence of tokens, i.e. meaningful character strings. A program or function that performs lexical analysis is called a lexical analyzer, lexer, tokenizer, or scanner, though "scanner" is also used for the first stage of a lexer. A lexer is generally combined with a parser, which together analyze the syntax of programming languages, such as in compilers, but also HTML parsers in web browsers, among other examples. Strictly speaking, a lexer is itself a kind of parser – the syntax of some programming...
 
10:36 PM
Polish notation is easier I think to not only parse but reason about
 
^ subversion merge conflict got committed and pushed to prod. Lol.
 
@TravisJ How should I approach this scenario.
 
epic fail ben
 
I've got three potential UI within a view. When you click the button, it runs a verification to the final stage at the end. I've got two separate models though that need to be passed.
Am I forced through Ajax to go from the View to verification / finalization?
 
@user304704 there are a few projects that will evaluate mathematical expressions. heres one that looks promising ncalc.codeplex.com
 
10:46 PM
@Greg - Send both models. Have the controller take both of them
 
I've spent a lot of time designing an expression evaluator, but never actually started implementing one
 
@TravisJ But the Model is being populated from Client, not database.
 
serialize the client data and send it all to the server at once
 
@TravisJ So Ajax.
 
Hi all
can somebody favorite this post for my friend to get a silver badge ?
57
Q: Down with FizzBuzz... LOL

Mat's MugThis post is the result of reading through and following the LOLCODE Specification 1.2 ("smoking the manual", right?), and writing and executing my code on compileonline.com. My "hello world" was going to be a fizzbuzz. I like it because it nicely illustrates the basics of a language - variables...

 
10:49 PM
@Greg - Yup. You can always redirect by changing the window location inside of the success callback of the ajax.
 
Your effort would be much appreciated :D
 
@TravisJ Is that what I'm going to end up having to do? Just force it to hit controller.
 
Ajax cannot redirect. So you must either compose a form, or redirect on success
 
Okay.
 
GitHub is acting funny today
It says everything is up-to-date yet it is not
 
10:55 PM
link?
 
@TravisJ If I want to call another View and convert it to a Popup, what is the best way?
 
@KendallFrey this is odd
Everything is working but GitHub reports otherwise
 
What is GitHub reporting?
 
The Windows client
 
Oh, GitHub for Windows?
 
11:03 PM
When I used git directly, everything was in peace again
So I am going to avoid the UI from GitHub from now on
 
git status is a livesaver when you're confused
@MoonOwlPrince Use SourceTree
 
From BitBucket?
 
er, no?
 
Is it okay to host a porn site's source on GitHub?
In a public repo?
 
I see no reason why not
can't hurt to double check the T&C though
 
11:09 PM
!!google GitHub T&C
 
> We may, but have no obligation to, remove Content and Accounts containing Content that we determine in our sole discretion are unlawful, offensive, threatening, libelous, defamatory, pornographic, obscene or otherwise objectionable or violates any party's intellectual property or these Terms of Service.
As long as you don't have a repo full of porn, you don't have to worry.
 
@Greg That was a great finale there. You should catch up asap :) (TLoK)
 
Yay, I figured out to prevent self-invoking screen resizes
 
I have made an app wp8.1 and uploaded in store. Some days later I updated my app and replaced it in the store. But my user dont get the notification
why?
Do i have to write some extra code for it? or the store do it automatically?
 
11:18 PM
@LewsTherin Yeah, I'll have to. What is the fourth season about?
 
@Greg Pretty much Korra finding her way and Korra vs Kuvira.
Still not as badass as Zaheer/White Lotus
 
@NETscape its not clear enough,,,, :(
 
make sure you up the version and you should be good to go
 
ok,,, thanks a lot,,,
 
11:27 PM
i'm assuming if a user goes to the windows store it will show that the app can be updated
however it probably doesn't push a notification to the users phone... that would have to be done manually, you would have to poll the app store or your own file on a web server or something. polling for an update will use data though, so be warned and allow the user to change timer frequency/completely off.
 
I understand. So make it auto I have to do some other stuff,,,,
 
> Gmail Microsoft Incorporation
> Dear winner,
> We are pleased to inform you of your winning sum of $500,000.00 USD with an
> Apple laptop by Gmail corporation, in conjunction with Microsoft Windows 8.
 
@TravisJ Why won't this work:
 
thx for the email mars2337@centurylink.net
 
<input type="button" id="btnAddNewCard" value="Add New Card" onclick="location.href = '/Popup/PopupNavigation/view=save'"/>
        [HttpPost]
        public ActionResult PopupNavigation(string view)
        {
            switch (view)
            {
                case "save":
                    return WithSave(this.RedirectToAction("/Popup/Index"), String.Empty);

                case "update":
                    return WithUpdate(this.RedirectToAction("/Popup/Index"), String.Empty);

                case "add":
                    return WithAdd(this.RedirectToAction("/Popup/Index"), String.Empty);

                default:
 
11:39 PM
@Greg - What are "WithAdd", "WithSave" etc
 
Those are:
public ActionResult WithAdd(ActionResult result, string message)
{
    ShowAdd(message);
    return result;
}
Something like that
Was trying to just put the switch in the view to begin with for return, but it never filled view it always is null
@TravisJ Which seemed weird.
 
@Greg - Yeh, there is a rather large amount of reasons why that won't work.
c# executes prior to the client view being rendered. c# can only produce a response.
If you want to compose separate parts of a view from different parts of c# code, then the view would need to call those using @Action.Url()
 
So, how can I get that button click to actually trigger that page and the desired 'With`?
 
There are so many different ways to accomplish that. It depends on who can see the with, where it shows, what implications triggering it has on authorization, and what the association of the page has with With.
 
Well, I just want the input button to go to that View and read the query string, thats it.
 
11:56 PM
DisplayState vs DisplayMode. GO
 
Not sure I follow. What do you mean "and read the query string"
@KendallFrey - Does anything about this question bother you? stackoverflow.com/questions/27573002/…
 
Well, the Index is a View. But it is for a Popup Controller. I want the button from home controller to hit then grab the value passed and trigger the proper view state on that page based on the passed view.
 
@KendallFrey wut
 
<input type="button" id="btnAddNewCard" value="Add New Card" onclick="location.href = '/Popup/PopupNavigation/view=save'"/>
That, to-
 
@NETscape Why should I pick one over the other?
 
11:59 PM
        public ActionResult Index(string view)
        {
                       switch (view)
            {
                case "save":
                    return WithSave(this.RedirectToAction("/Popup/Index"), String.Empty);

                case "update":
                    return WithUpdate(this.RedirectToAction("/Popup/Index"), String.Empty);

                case "add":
                    return WithAdd(this.RedirectToAction("/Popup/Index"), String.Empty);

                default:
                    return View();
 
I already have one, but I'm rethinking now
 
@KendallFrey DisplayState { On, Off, Idle } ; DisplayMode { Bright, Dark, Cute, Funny }
 

« first day (1525 days earlier)      last day (3425 days later) »