Click here to Skip to main content
15,888,224 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Hideous Colors in Git Bash Shell Pin
Clifford Nelson12-Sep-18 5:18
Clifford Nelson12-Sep-18 5:18 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray12-Sep-18 7:43
David A. Gray12-Sep-18 7:43 
GeneralRe: Hideous Colors in Git Bash Shell Pin
Clifford Nelson13-Sep-18 4:51
Clifford Nelson13-Sep-18 4:51 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray13-Sep-18 5:23
David A. Gray13-Sep-18 5:23 
RantRe: Hideous Colors in Git Bash Shell Pin
Clifford Nelson19-Sep-18 6:52
Clifford Nelson19-Sep-18 6:52 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray19-Sep-18 8:30
David A. Gray19-Sep-18 8:30 
GeneralRe: Hideous Colors in Git Bash Shell Pin
Dr.Walt Fair, PE1-Oct-18 6:35
professionalDr.Walt Fair, PE1-Oct-18 6:35 
GeneralJavaScript-driven UWP via VStudio Pin
raddevus14-Aug-18 9:33
mvaraddevus14-Aug-18 9:33 
I did not expect this.
Create a "Hello, world" app (JS) - UWP app developer | Microsoft Docs[^]

This creates a UWP app (which runs natively on your desktop - not in your browser) that is created from HTML and JS.

Have you seen this before?
Why hasn't anyone spoken of this? Is M$ embarrassed. Laugh | :laugh:

This could be interesting.Unsure | :~

TypeScript
I was trying to see how to add TypeScript to a basic project. Interesting thing is that there doesn't seem to be a nuget* for TypeScript, but you can NPM it. Hello! M$, are you there? Why do you force us to use every technology on the planet for the same thing?

EDIT : *Actually this is probably due to using an older version of STudio (2013).

EDIT 2 : Seriously annoying!!
1. Searched VSTudio Nuget package manager for "typescript" nothing.
2. Searched Nuget.org site and found Microsoft.typescript.compiler.
3. Okay, back to nuget pkg manager in Studio: search "microsoft.typescript" and found it.
Ugh!

EDIT 3
I'm amazed! I tested HTML CANVAS in the app and it works also.
Here's a snapshot where I drew a quick grid on the Canvas object via JavaScript:
https://i.stack.imgur.com/Aa7Oi.png
Maybe the UWP just implements the old BrowserControl or something?

EDIT 4 - Visual Studio 2017
Here's something additionally interesting.
It seems that this project type isn't available under VStudio 2017.
I can't seem to get a UWP project that is created entirely from HTML / JS.
Microsoft is so confusing...and confused. Confused | :confused:

EDIT 5 - Visual Studio 2017 pt2
Actually there is a project that allows you to build a UWP / Windows Store app via HTML / JS.
However, it is not listed under UWP apps. That would make sense.
Instead it is listed under Other Languages...JavaScript...Windows Universal.
My bad. I was looking under C#. The project selector is a bit confusing.
Here's a snapshot : https://i.stack.imgur.com/3U2IT.png[^]

modified 15-Aug-18 9:57am.

GeneralRe: JavaScript-driven UWP via VStudio Pin
Florian Rappl14-Aug-18 12:06
professionalFlorian Rappl14-Aug-18 12:06 
GeneralRe: JavaScript-driven UWP via VStudio Pin
raddevus14-Aug-18 15:24
mvaraddevus14-Aug-18 15:24 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Super Lloyd14-Aug-18 12:26
Super Lloyd14-Aug-18 12:26 
GeneralRe: JavaScript-driven UWP via VStudio Pin
raddevus14-Aug-18 15:27
mvaraddevus14-Aug-18 15:27 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Shao Voon Wong17-Aug-18 1:05
mvaShao Voon Wong17-Aug-18 1:05 
JokeRe: JavaScript-driven UWP via VStudio Pin
Richard Deeming17-Aug-18 7:08
mveRichard Deeming17-Aug-18 7:08 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Shao Voon Wong17-Aug-18 23:24
mvaShao Voon Wong17-Aug-18 23:24 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Super Lloyd18-Aug-18 8:19
Super Lloyd18-Aug-18 8:19 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Shao Voon Wong21-Aug-18 4:13
mvaShao Voon Wong21-Aug-18 4:13 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Sander Rossel19-Aug-18 0:00
professionalSander Rossel19-Aug-18 0:00 
GeneralRe: JavaScript-driven UWP via VStudio Pin
raddevus19-Aug-18 7:03
mvaraddevus19-Aug-18 7:03 
GeneralRe: JavaScript-driven UWP via VStudio Pin
Ryan Peden27-Aug-18 4:01
professionalRyan Peden27-Aug-18 4:01 
GeneralRe: JavaScript-driven UWP via VStudio Pin
raddevus29-Aug-18 13:31
mvaraddevus29-Aug-18 13:31 
GeneralRe: JavaScript-driven UWP via VStudio Pin
wout de zeeuw28-Aug-18 4:41
wout de zeeuw28-Aug-18 4:41 
GeneralRe: JavaScript-driven UWP via VStudio Pin
raddevus29-Aug-18 13:36
mvaraddevus29-Aug-18 13:36 
GeneralRe: JavaScript-driven UWP via VStudio Pin
BillWoodruff2-Sep-18 20:14
professionalBillWoodruff2-Sep-18 20:14 
Generalenable developer mode in Visual Studio Pin
Clifford Nelson12-Sep-18 5:21
Clifford Nelson12-Sep-18 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.