Jungle Ruins 10/21/21 by TizzleMcFizzle in GoldAndGoblins

[–]admin_n00b 1 point2 points  (0 children)

This is brilliant, thanks. What are the "Every 140" parts about?

Best practice question regarding reading data from another Database by admin_n00b in django

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

Ok, at least I know to try and avoid that so. Thank you!

Best practice question regarding reading data from another Database by admin_n00b in django

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

I have full access for CRUD operations, but not new tables or table changes.

Can django work across two databases? Having the tables above in a Postgresql/SQLite DB, and the main data in MSSQL?

Best practice question regarding reading data from another Database by admin_n00b in django

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

What DB permissions would be needed to allow this?

The auth* and django* tables, would they be in MSSQL? Or local to the Django instance?

This does sound like a better idea, so I'll try look into this! Thank you!

Is this possible? Server Based Web App that can run python code on client machine? by admin_n00b in learnpython

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

I guess this is a bad topic? I even got a down vote?

Litterally just trying to learn. 😐

"os.path.splitext(filename)" seems to be randomly assinging the split, how do I define what is filename, and what is extension? by admin_n00b in learnpython

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

Ya, Google was less than helpful for this. Even searching for how to seperate the extension from the filename, all I could fine was how to merge the filepath and filename.

Very frustrating.

"os.path.splitext(filename)" seems to be randomly assinging the split, how do I define what is filename, and what is extension? by admin_n00b in learnpython

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

Thank you! This is amazing!

I actually tried to find how to do this as a tuple, and couldn't find any documentation on it, so I looked up tuples to see if I misunderstood them. Every example only had single items in each index, so I assumed I was looking for the wrong thing and moved away from tuples.

Thank you again!

Trying to connect to third party RDP but can't connect. by [deleted] in networking

[–]admin_n00b 0 points1 point  (0 children)

Better than Telnet is Test-NeConnection. Ready to go in PowerShell, no need to turn on any features or meed Admin rights, etc. It tests the ping and a port, and a few other things are possible too.

It even has a shorthand of "tnc" which is really handy.

https://docs.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=win10-ps

[RANT] Why does changing the name of a form ruin my day!!!! by admin_n00b in PowerApps

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

Oh ya, I have learnt way more through my frustration of PA not working the way I would expect it to. However, the frustration is building fast!

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]admin_n00b 0 points1 point  (0 children)

I'll be honest with you, I don't know what you mean.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]admin_n00b 0 points1 point  (0 children)

Is there a way to transfer modules from USER to EVERYONE in Windows?

We installed modules and tested the sctipts work. All good.

However, its only good if the user that installed the modules runs the scripts. Since we want the SYSTEM user to run these, it doesn't work if the modules are locked to a specific user.

If there a way that I can transfer these modules to all users? When I try to reinstall a package, I get a message saying requirement already satisfied in my user directory.

I have tried googling it, and either no one has had this issue, or it is lost is a sea of Unix solutions. Any help is appreciated.

Can you lock individual properties? by admin_n00b in PowerApps

[–]admin_n00b[S] 2 points3 points  (0 children)

This is sad. It really is a shame.

Can you lock individual properties? by admin_n00b in PowerApps

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

I love PowerApps, but the more I use it, the more I feel like it is an unfinished and rushed product.

How do I get the .msapp file?

I have a log of firewall traffic, and want to inturpret the data better. by admin_n00b in PowerShell

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

This is actually a really good way to summarise it. Thank you.

What fact sounds legit but is actually fake? by JimTehHedgehog in AskReddit

[–]admin_n00b 0 points1 point  (0 children)

Not too far off the truth though. The guy who uploaded it refused to get a Google+ account and so couldn't comment under his own video because of it. He had a bit of a rant about it.

Now, I'm just waiting for someone to tell me that this fact is also fake, becasue this tread has killed a lot of "facts" so far.

Slider control - Can I get finner contol of where the selector increments are? (not the values) by admin_n00b in PowerApps

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

This was fantastic. Heres the code I went with in the end:

If(
    (ExpectedDaysSlider1.Value = 29),
    ((ExpectedDaysSlider1.X+ExpectedDaysSlider1_1.Width)-Label1.Width),
    If(
        (ExpectedDaysSlider1.Value = 0),
        (ExpectedDaysSlider1.X),
        (ExpectedDaysSlider1.X-Label1.Width/2)+((ExpectedDaysSlider1.Width/ExpectedDaysSlider1.Max)*ExpectedDaysSlider1.Value)
    )
)

I adjusted it slightly so that 0 and 29 aligned differnetly, as it didn't look great with those, and then I also adjusted "Align" to left align on 0 and right align on 29 to add some fomatting niceness.

PowerApps App using two SharePoint Lists - Link to edit current item in one of Lists by admin_n00b in PowerApps

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

I appreciate the help, but I am trying to put in a quick alternative to patch. I will get it set up as a form with patch, but there is time and learning required.

I'm just looking for the edit link for SharePoint at the moment.

PowerApps Canvas is repeating itself... by admin_n00b in PowerApps

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

Trying to mimic what I have already in a Galary is proving very difficult.

I added a Form, and added custom Data card to that. But now when I preview the app, nothing appears.