I have a friend that can't retire at 70 because she's a 35yr RPG expert. Makes over $300/hr. fixing critical issues and has a backlog of waiting clients.
Gwyll
Posts
-
Anyone still know IBM RPG? -
I don't like CSSLook at `CSSStyleSheets`. ```js const rules = new CSSStyleSheet(); rules.insertRule("selector {rules}"); document.adoptedStyleSheet.push(rules); ``` This provides some separation and you can replace all `` tags with `<script>`.</x-turndown>
-
CSS is awesome.My favorite thing about CSS is how it spits in the face of the "Single Responsibility Principle". I would argue that CSS is not a UI descriptor. CSS has no structural aspects - it alters existing structures, it doesn't declare/describe them.
-
Why is javascript so dislikedI really used to dislike JavaScript until I realized it was the engines/environments not the language itself that was the problem.
-
Why is javascript so dislikedI agree with most of this with the exception of "Not OO". JS is not OO in the Data/Procedure or Data/Procedure/Relational (C++, C#, Java) sense. But it is OO in the Process/Message model. Though none of these are "Object Languages" that confirm to Classical Object Theory. Thus "Object-Oriented" and not "Object".
-
405 Error for WebSocket with WSS but not WS (ASP.Net)I think I'm getting closer. I found a change in Edge that says it no longer uses the Windows certs - but manages its own. It doesn't seem to pick up my/VS self-gen'ed dev cert. Going to try to figure out how to do a manual import and see if that helps.
-
405 Error for WebSocket with WSS but not WS (ASP.Net)This is all in my own environment and https works on the site/server but not with sockets (wss). This is (basically) code that I had running fine on .Net6, so I'm thinking there could be a config setting. I discovered it when I started upgrading (to `WebApplication`) some old (working) apps. It also works (WSS) when I'm running Fidder. If I close Fiddler, it quits working.
-
405 Error for WebSocket with WSS but not WS (ASP.Net)Banging my head on a likely simple problem... I'm getting a 405 on a WebSocket connection with WSS but not WS. Vanilla project in VS with this code. Starting with HTTP works. Starting under HTTPS faults 405. ``` public static class Program { public static void Main (string [] args) { var builder = WebApplication.CreateBuilder ( args ); var app = builder.Build (); app.UseWebSockets (); app.MapGet ( "/" , (HttpContext http) => http.Response.WriteAsync ($$""" self.Socket = new WebSocket(`${location.origin.replace("http", "ws")}/socket`); """ ) ); app.MapGet ( "/socket" , Connect); app.Run (); } static void Connect (HttpContext HttpContext) { _ = HttpContext.WebSockets.AcceptWebSocketAsync ().Result; } } ```