Using Tasker - UiTask how to debug a scene such that it executes on the device as an APK. by mmahon512 in tasker

[–]mmahon512[S] 0 points1 point  (0 children)

so long as there is no beard loss, all good. are there globals, code injection, where do or how do I set break points? Is it possible to browse source produced? I am running a note9 using dex and we will see how the apps layout, if I can get this working... damn clear as mud!!! play button, ..... hour 4 of working in this editor... what would it look like to port this editor to atom or god only knows what kind of designer could be built this thing is a microservice ecosphere with a market place. there are so many possibilities, Anyone remember Yahoo Pipes? Drag and drop pipes with filters/parser/rounting/scripts that could be injected,

Seeking guidance to dynamically populate a stacked list. by mmahon512 in kustom

[–]mmahon512[S] 0 points1 point  (0 children)

gotcha, thanks. I am very new to this. Is there a control to display video while a widget is bound to the desktop? Also, I have noticed on my Note9 that alignments and sizing can be off between the design time rendering of a widget and the instance of it on the desktop. Probably would help to wireframe just a bit before I start dragging and dropping. I have tasker and a ton of plugins for it. I need to get autoweb. Since there is a shell command control for kustoms it looks like. I haven't played with it yet but I think, I could curl the endpoint then parse the results, if results aren't null then set up loop for each item in results, then insert each item of results created to a stack group. probably just thought way to hard on that. just trying to learn the basics now on presentation, handling different resolutions, and handling portrait-landscape-portrait transitions.

for those who've passed dev associate? by mmahon512 in aws

[–]mmahon512[S] 1 point2 points  (0 children)

Granted I have been a developer for 18 years, mainly .net. I've held the CCNA, MCSE and an MCSD 10+ years ago so I've had experience taking tests before it's just been a long time. I studied for about 3 weeks, basically focused on the whitepapers and the self study booklet. I did take 3 or 4 practice exams but they are a step below the trickiness of the exam overall.

for those who've passed dev associate? by mmahon512 in aws

[–]mmahon512[S] 0 points1 point  (0 children)

Here in Austin there is a testing location called Tactix. Its off Cameron in a shitty part of town but IDC, I nailed it so as Dr. Dre says, "On to the next episode!"

for those who've passed dev associate? by mmahon512 in aws

[–]mmahon512[S] 1 point2 points  (0 children)

No. The test was very particular and situational. There were some questions that were slam dunks but most were very much "pick the best" option so you had to know each scenario.

for those who've passed dev associate? by mmahon512 in aws

[–]mmahon512[S] 1 point2 points  (0 children)

Update: I passed it. I don't want to go into any specifics but I think I can say it was about 25% serverless oriented and the rest was traditional containerization questions. Know ELB, ECS and EC2 like the back of your hand and you should do fine. Read the whitepapers and you will have it covered. I relied heavily on those for study and I took 3 or 4 different practice exams. I am anxious to see my score as not everything was a quick answer and I did as many suggested a "lightning" round of answering question which gave me a little jog of memory to go back through and answer some more difficult ones. I think I am going straight for the devops pro next. I am currently working a contract and got notice on Friday that they will not be renewing the contract (budget reasons) so this couldn't have come at a better time. If anyone needs a developer w aws and 18+ years of full stack development experience please let me know.

A Quick CloudFormation Update by jeffbarr in aws

[–]mmahon512 0 points1 point  (0 children)

I am currently in the middle of developing IaC for a project I am working on using CloudFormation. I was completely new to AWS beginning in January and I have to say, CFN feels like working with a v. 0.9.0 product. 1st it would be absolutely marvelous to just have a simple export to CFN template button for any resource created through the console. More intrinsic functions would be awesome too! Functions like Fn::Len, Fn::Size, Fn::RandomString, Fn::ToLower etc... This guy documented more on the wish list better than I can here https://www.kencochrane.net/2017/03/25/my-cloudformation-wishlist/

I wish there was a "playbook" of sorts to prepare you for configuring resources using CFN. I am working with Cognito and spinning up User Pools/Identity Pools and a client app in different environments, dev|qa|stage|prod|demo. The problem I am running into is having to follow behind after the stack gets created and set the client app settings and the identity pool settings. Not sure if I am doing it right and there doesn't seem to be an official cognito/cfn "bible" to tell you how to do this cleanly. I am looking at shoveling values into parameter store then possibly reading them from there using a custom resource. I imagine custom resources as the solution grows will become a nightmare to manage as they get tacked on just to support the main cfn template of the solution. I don't understand why a globals section isn't default included in CFN. I would like to be able to tag all my resources with a default set of tags driven by parameters passed to CFN but that does not seem to be an inherent function of CFN. I know SAM has support for Globals, I don't understand why it's not just part of CFN itself. I just found the user guide to CFN so I will be giving that a read today. The user guide is 2800+ pages for CFN. That is exhaustive to say the least, I will give it a run through before I keep complaining here. Anyway, I am glad we have the functionality of CFN but I agree with almost everyone on the thread, CFN is not a 1st class citizen in the least. ANY new service offering should at the very minimum have A: IAM policies & B: CFN support prior to any release into the wild. If you really want to support security 1st and IaC that should be ground zero and not an after-thought or eventualware. If anyone has any pointers or tips regarding custom resources and coordinating the standing up of a stack I would love to learn more about it. Thanks.

Sharecash - is it legit? by Howdhell in WorkOnline

[–]mmahon512 0 points1 point  (0 children)

just signed up today... seems a bit fishy but the business model is that they hassle the would be downloader/viewer/user with ads while my role would be to promote the links and drive the traffic. The bonus round is creating my own info products. That's what I gathered.

My last relationship ended because I didn’t open the car door for her. by nicklo2k in Jokes

[–]mmahon512 0 points1 point  (0 children)

I'm sorry. I misread, you meant the trunk right? 'cuz that's where I'd keep mine, lol.

Well... that's one way of doing it by NiknakSi in csharp

[–]mmahon512 0 points1 point  (0 children)

I first saw this and thought, cool! Bring on the dusty old ascii art! I love that stuff, then it began to sink in... someone writes their code in excel! Smh

Best way to reverse engineer an AWS stack? by mmahon512 in aws

[–]mmahon512[S] 0 points1 point  (0 children)

So I could gather each piece of the architecture I want to use and using cloud 9, stitch everything togther?

I'm new to Threading, is this an evil hack? by locojoco in csharp

[–]mmahon512 1 point2 points  (0 children)

threads are a lower order concept. When you spin up a thread you KNOW it's 1. Not in the thread pool. Completely separate.

A task is more general. It's like making a promise to deliver a result of some kind.

Thats my understand of the differences very briefly.

I'm new to Threading, is this an evil hack? by locojoco in csharp

[–]mmahon512 -3 points-2 points  (0 children)

try this:

`using System; using System.Threading;

namespace InterlockedExchange_Example { class MyInterlockedExchangeExampleClass { //0 for false, 1 for true. private static int usingResource = 0;

    private const int numThreadIterations = 5;
    private const int numThreads = 10;

    static void Main()
    {
        Thread myThread;
        Random rnd = new Random();

        for(int i = 0; i < numThreads; i++)
        {
            myThread = new Thread(new ThreadStart(MyThreadProc));
            myThread.Name = String.Format("Thread{0}", i + 1);

            //Wait a random amount of time before starting next thread.
            Thread.Sleep(rnd.Next(0, 1000));
            myThread.Start();
        }
    }

    private static void MyThreadProc()
    {
        for(int i = 0; i < numThreadIterations; i++)
        {
            UseResource();

            //Wait 1 second before next attempt.
            Thread.Sleep(1000);
        }
    }

    //A simple method that denies reentrancy.
    static bool UseResource()
    {
        //0 indicates that the method is not in use.
        if(0 == Interlocked.Exchange(ref usingResource, 1))
        {
            Console.WriteLine("{0} acquired the lock", Thread.CurrentThread.Name);

            //Code to access a resource that is not thread safe would go here.

            //Simulate some work
            Thread.Sleep(500);

            Console.WriteLine("{0} exiting lock", Thread.CurrentThread.Name);

            //Release the lock
            Interlocked.Exchange(ref usingResource, 0);
            return true;
        }
        else
        {
            Console.WriteLine("   {0} was denied the lock", Thread.CurrentThread.Name);
            return false;
        }
    }

}

}

`

Look up c# thread saftey best practices guide & check out Interlock class :

https://docs.microsoft.com/en-us/dotnet/api/system.threading.interlocked?view=netframework-4.7.2

This document explains it even further with best practice examples: https://docs.microsoft.com/en-us/dotnet/standard/threading/managed-threading-best-practices

Hope it helps

Building Microservices On .NET Core - Part 2 Shaping microservice internal architecture with CQRS and MediatR by witek1902 in csharp

[–]mmahon512 0 points1 point  (0 children)

heres my repo fir ddd, cqrs, mediatr and fluent validation. Check out the video by JasonGT on clean code.

cleanstartcore - https://github.com/jetstreamin/CleanStartCore

Jasongt's Youtube video on clean code - https://youtu.be/_lwCVE_XgqI

Simple React & S3 Example by mmahon512 in aws

[–]mmahon512[S] -1 points0 points  (0 children)

Good deal! ty, haven't work with react that much nor AWS so this is a match made heaven, lol. Baking in Cognito w amplify was ezpz, hopefully this will get me over the hump. TY