topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 18, 2019, 11:53 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ewemoa [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 112next
1
DC Gamer Club / Re: Rabbids Coding - Learning Through Play
« on: October 15, 2019, 07:43 AM »

2
General Software Discussion / Re: What Android Apps Do You Use?
« on: September 06, 2019, 04:39 PM »
NewPipe - free lightweight YouTube client.

This and SkyTube -- as they need to be updated from time-to-time to function correctly, so if you have both, there's a better chance of accomplishing the intended aim with at least one of them ;)

3
Living Room / Re: Programming/Coder humor
« on: September 04, 2019, 12:31 AM »
[ Invalid Attachment ]

Quite late to the party here, but when I visited the store, the phrase at the bottom of the shirt was not the same...frankly I liked what I saw on this thread better :)

Very much also enjoyed this one:

there-is-no-cloud.png

4
General Software Discussion / Re: Looking for AsciiDoc editor
« on: September 02, 2019, 10:47 PM »
Somehow I missed the extensive experience report -- thanks a lot of that, Shades.

Luckily, I only have small docs to work on ATM.

5
Also haven't seen any recently :)

6
Did some testing, though not with Powershell Core.  When launched from a Powershell terminal, the initial dialog wasn't behind any windows, but it didn't have focus.

The generated SENNHEISER ".csv" file I looked at didn't have an extra blank line between the header and the rest of the data.  IIRC, the original script puts a blank line between the header and the data.  Don't know if that makes any difference.

Other than that, it seemed pretty good to me.

Could avoid the GUI altogether and revert to a series of Read-Host prompt/answer inputs plus include the ability to run as a standard command if all parameters are fulfilled on the command line.

Would be the quickest way to make it portable.

I guess there could be a GUI wrapper around this -- in fact, there could be platform-specific wrappers.

W.r.t. filepaths, PowerShell (Core) is pretty agnostic when it comes to using / or \ - either will do, plus it sees multiple occurrences, (eg. ////), as just a single occurrence.

For example, the below are all the same path as far as PoSh (Core) is concerned:
D:\test\data\test.txt
d:test/data/test.txt
d:\\\\\\\\test///////data\\\\test.txt
d:\\\\\\\\test//\\\\data\/\/\/\/test.txt

It makes this aspect of PoSh scripts OS agnostic ... something they got exactly right :Thmbsup:


Nice.  I wouldn't be surprised if some cross-platform projects start using Powershell Core scripts instead of maintaining separate .bat and .sh files.  Perhaps some do already, though perhaps Powershell Core isn't yet installed on that many non-Windows systems...

7
I like the single UI approach.  Have been thinking whether the ability to load / save the fields at the top might make sense.  That might also make the functionality more easily packaged as a command line script for use with other tools.

Nice work with the new features and modularization.  The latter should make it easier to study and perhaps it will also facilitate work on Powershell Core compatibility. 

I guess one aspect to consider for multi-platform compatibility is file paths.  Possibly also line endings?  May be Avalonia or Powershell Core has paid some attention to these (and other) issues...

Hope to test it soon.

8
Living Room / Re: N.A.N.Y. and the Too Many Projects Phenomenon
« on: August 14, 2019, 02:19 AM »
When I'm working on a project and I am stuck, I start another one for the time being.

Have been trying this with varying degrees of success.

I usually choose a different toolset for each, so I'm not stuck in the same place in more than one project at a time.

Hadn't considered this.  Thanks for the idea :)

9
Interestingly, I always had one of its dialogs open behind other windows, (either the OpenFile or the final Retry/Cancel), until I added the above run check.

The Retry/Cancel dialog still opens behind other windows sometimes.

At least one of us can reproduce at least some of the time :)

The other problem, which I believe is related to the use of the Show-Command cmdlet, is that selecting Cancel still opens the OpenFile dialog.

Ah, I hadn't noticed this.

I might get a chance to look at it later and try and isolate the relevant routines, (still overseas on a low-powered laptop atm).

Do you think a Powershell Core implementation would make sense?

10
Below are some observations and notes.

I tried the script out on a Windows 10 Pro box, but didn't notice dialog boxes being behind things.  Script execution was tested both from Windows Explorer as well as from a Powershell window.  It might be helpful to be able to replicate the issue -- perhaps it's for particular versions of Windows?

For running a test, one of the files from the TestFilesFromRFexplorer directory was selected.  It appears that all files in that directory get wiped by the end of the script.  I wonder if that is desirable behavior.  Also noticed some error output, but I did find a .zip file that appeared to contain the original file along with 2 converted ones.

Regarding running on macos, I looked a bit into 4wd's Avalonia idea, and came across: https://github.com/i...nsoftware/psavalonia "Avalonia bindings for PowerShell".  The supported versions of Powershell there look like Powershell Core though, so I tried running the script via Powershell Core.  The result was a fair number of error messages so I stopped its execution.

I also tried creating a simple python script to open a file dialog and tried packaging and running this on Windows and macos using PyInstaller.  Interestingly enough, there was no problem with the dialog being behind things on Windows, but on macos there was.  It appears to be something that other folks have encountered and although I found multiple work-arounds, none of them worked for my particular environment (though apparently some of them do work for other folks).  (On a side note, my experience with macos (OS X, etc.) over the years has been that backward compatibility of certain types of things is not particularly a high priority, with adjustments sometimes being necessary when there are new OS releases, so even if something were found to work, it might be good to keep in mind that future OS releases might necessitate updates.  Perhaps it's misleading to single out Apple in this regard.)

Regarding "Convert .csv between existing manufacturer created scans", perhaps if this general conversion portion were implemented, the current script might benefit from being based on it.  If someone were to start on this though, may be it would be better to consider Powershell Core or something else more multi-platform friendly, rather than Windows Powershell.

11
Below are some possibly relevant thoughts, perhaps others will jump in with better suggestions / corrections.

If you're looking for something that doesn't involve additionally installing something and be multi-platform, I guess Powershell Core isn't going to do as that would also need to be installed.  Also, not everything written for the original Windows Powershell is going to run with Powershell Core -- this very much depends on the code in question though.

One general alternative path is a rewrite in something like Node.js (+ nexe), Nim, or something else which has the practical option of producing an executable for each platform you have an interest in deploying to.  Some of these options may result in a much larger download though -- unfortunately, it can often be the case that the ones that are easier to write the code for tend to produce larger files.

Depending on the details of what your code does, there may be another alternative that might work.  It's the idea of writing a web-based app (though it could be stored in local files, so you wouldn't need network access to run it) that runs in a web browser.

Without seeing and working with the code in question a bit though, it's not clear which alternative might be appropriate and how much work it might be to carry out.

Do you mind posting the code for others to examine?  Perhaps if the details can be studied, someone can give a better assessment about what might be involved.

13
Not sure how relevant it is, but Powershell Core is (somewhat?) multi-platform.  Perhaps it's possible that what you have is already (or close to being?) multi-platform?

14
General Software Discussion / Re: no VLC bookmarks
« on: July 29, 2019, 04:59 PM »
Don't know if this is currently relevant, but FWIW, there is this note:

note: loading bookmarks is broken thru version 1.0.5. The last working version I know of was in the 0.8 series.

at:

https://wiki.videola...owTo/Save_bookmarks/

May be someone else is more familiar with the current status?

15
Thanks!

16
portablefreeware.com - its my goto when I'm looking for something I can't get here. 

+1 (may be?)

Haven't used this recently, but this was one of my favorites for years -- some of the info like "How to extract" was really handy on occasion.

17
On a side note, is there an intent to record something like "when an assessment for a particular site was made" per site?

18
This quote from the page was interesting:

the paper also tells us that Occam’s Razor is wrong. Overfitting is possible with just one parameter and so models with fewer parameters are not necessarily preferable even if they fit the data as well or better than models with more parameters.

19
General Software Discussion / Re: Windows 10 Announced
« on: July 23, 2019, 09:13 PM »
How Microsoft made it harder to create Windows 10 local accounts

The article mentions two ways around making a Microsoft account:

During the Wi-Fi sign-in page, you can opt to skip it. That leads you to the page where Cortana soulfully begs you to reconsider, reminding you that just a single click can save you precious time later on. Standing firm and clicking No will lead you to the local account page—though there’s absolutely no helpful cue to inform you as such. This may not be as insidious as Microsoft’s 2016 “click the X” debacle, but it’s close.

and

If you manage to be ensnared, however, don’t despair—there’s a way to wriggle free. If you’re stuck on the “Sign in with Microsoft” account page, you’ll need to turn off your PC’s Internet connection: Unplug the ethernet cord, disconnect the router, or turn off your laptop’s WiFi using an “airplane mode” key on the keyboard (if it has one). What you’re trying to do is force Windows to be unable to connect to the Internet. What worked for me then was to then try once again to create a Windows account, knowing full well that it would fail.

20
Developer's Corner / Re: Anyone tried the Nim language yet?
« on: July 23, 2019, 08:14 AM »
Was testing someone's code recently and installed nim in the process.

In addition to the items advertised in the OP, it appears the resulting binaries appear to be on the small side, which seems nice.

On a side note, there appears to be ongoing work toward a functional REPL for it: https://github.com/n...lang/Nim/issues/8927

https://slides.com/o...hot_code_reloading#/

21
Sorry it's still around.

On the off-chance you haven't seen the following, this thread sounded awfully similar:

https://www.tenforum...tiple-computers.html

It appears there was some success for the original poster described on the second page of the thread, with the original suggestion (plus link to article) on the first page.

22
FWIW, according to the following article which discusses LockApp.exe, it can be disabled:

https://www.howtogee...p.exe-on-windows-10/

23
Thanks for sharing this.

Seems like an interesting person -- there appears to be a Wikipedia page: https://en.wikipedia...software_engineer%29 -- where there was a link to a relevant video with her: https://www.makers.com/margaret-hamilton

24
General Software Discussion / Re: Windows 10 Announced
« on: July 12, 2019, 11:18 PM »
For those already wanting this type of functionality (and then some): ExtraTerm (open source, works on Windows, Linux and Mac, supports cmd, PowerShell, WSL, tabs and 'terminal multiplexing').

Nice!  Thanks for mentioning this.

25
General Software Discussion / Re: Windows 10 Announced
« on: July 12, 2019, 11:03 PM »
Microsoft's new Windows Terminal is now available in the Store

Was cute that it was tabbed and one could choose from cmd.exe vs powershell flavors.  Definitely had rough edges though.  Not ready for general use IMHO.

Pages: [1] 2 3 4 5 6 ... 112next