JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 26, 2019 21:54
I saw somewhere to throw static files in a \public, not sure if that'll install my service worker stuff correctly
Feb 26, 2019 21:54
lots of data querying
Feb 26, 2019 21:53
I'm testing out making a PWA that hits node->sql to refresh but lives mostly inside its own indexeddb
Feb 26, 2019 21:53
I have my web requests hardcoded to localhost:5000 so I need to set up a default root url in the (manifest? package?) json
Feb 26, 2019 21:48
I wrote a node server that talks to a web app over localhost. Now I need it online - I deployed my node server on Azure, but I want the web app frontend (separate project) to be hosted too. Do I make another site to host that? Or can I combine them both into one azure site?
Feb 26, 2019 20:29
are you in omaha nebraska @Jhawins?
Jan 30, 2018 16:02
I'm rolling my own 'table' with knockout, using a foreach binding and templates for each row + cell. The performance is pretty bad...should I just abandon the template approach or is there a trick to speed them up? (debugger shows script time inside low level html generation)
Nov 22, 2017 04:15
heh for what it's worth I'm liking typescript quite a bit even with the hiccups, been porting a huge wpf app to web and was able to keep a lot of the same structure the c# used
Nov 22, 2017 03:54
looks like that's what it was :headdesk: sorry for the goose chase
Nov 22, 2017 03:53
yeah the ts to js debugger is flakey
Nov 22, 2017 03:52
tried window.location = window.location
Nov 22, 2017 03:52
It's not, I am using typescript though I think my on save compiler might be screwed up I'm rebuilding everything
Nov 22, 2017 03:46
tried ~5 more ways of refreshing the page through js no dice
Nov 22, 2017 03:45
I'm trying to refresh my site in js - window.location.reload() typed into console works but in js nothing happens. I'm using chrome, think that's some security thing they keep js from refreshing the page?
Nov 15, 2017 01:39
google html xhr and get nothing :shrug:
Nov 15, 2017 01:38
I can never get much out of chrome dev tools performance tab - right now most of the scripting time is taken up by "XHR Load" is that just rendering elements or something?
Nov 14, 2017 20:17
make your own markup language and implement in canvas
Nov 2, 2017 02:08
from what I've seen css grid only detects immediate children? Is there a way around that?
Nov 2, 2017 02:08
I'm looking at css grid (display: grid;) to show tabular data similar to this: codepen.io/anon/pen/jabpme but I'd like to keep the cells inside of row elements
Mar 28, 2016 18:48
I'm making a query builder where people can drag logic blocks onto the screen and define and/or relationships between them, I was thinking maybe canvas would be a good thing to use, to let them drag blocks around and hook them together with (and) or (or) relationships. Sound plausible? or should I try just using regular html?
 

SQL

Got a SQL question? Any SQL flavor here, just ask. Indicate yo...
Mar 17, 2017 15:32
dropping and recreating the table on the remote machine brought performance right back up, think that data was getting fragmented or something?
Mar 17, 2017 15:32
I have a release cycle where I remove old records and insert relevant ones on a remote machine nightly (a few thousand to 100k) after a few months of this I noticed queries slowing down dramatically
 

C#

General discussions about the c# language, Squirrels | gist.gi...
Aug 5, 2016 18:25
yeah thanks.
Aug 5, 2016 18:24
Call Stack? That stays empty..
Aug 5, 2016 18:24
Yep
Aug 5, 2016 18:20
I have a big wpf app, I don't know where to start debugging (can't find where to place a breakpoint) Intellitrace with call info makes it crash...any idea how I can trace the flow of a button click?
Aug 5, 2016 15:21
I'm trying to debug a WPF app with a huge code base (never done WPF before always worked on web stuff) How can I follow the method calls it is making? Is there a profiler in visual studio that will tell me all method calls as I debug?
Jul 27, 2016 19:20
I assumed the first time it hit a non recursive return statement it would quit.
Jul 27, 2016 19:19
I'm using a recursive method to read an xml file, similar to the accepted answer here stackoverflow.com/questions/1596163/… -- I just pass along a container that i'm filling with data as I go, and have a return statement at the end. The return statement is hit a bunch of times but only the last call (with all the information) actually returns to the place that called my method in the first place. How does that work?
Jun 23, 2016 17:34
If I have an instance of a base class whose many derived classes all share a property name (not great design but built by a third party) can I access that property somehow without casting to the appropriate derived class?
Sep 4, 2014 15:41
I'm doing a linq to entities query with a one to many join which duplicates all the one-to-one records after I call .ToList(). I can fix this in memory with a group by and taking the first of the one-to-one stuff and a list of the one-to-many. Is that a good way to go about it or can I make it faster by having the query return a list of the one-to-many table somehow?
Sep 3, 2014 23:40
query?* heh
Sep 3, 2014 23:40
I'm loading a different ID for each query and .ToList()ing them to pull into memory, is there some higher level info that needs to be loaded for the first query()?
Sep 3, 2014 23:33
is that just how it's going to be?
Sep 3, 2014 23:33
I'm doing a query using Linq to Entities, when testing performance on the query the first run is 2500ms, later runs are under 10ms. I've tried pre generating the views for my .edmx files and turning off tracking since this is just a read query, nothing seems to help much.
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
May 29, 2014 21:08
I want to draw package diagrams like this i.imgur.com/ke7hFD9.png in 3d in the browser and possibly add click and drag rotation to it.. any ideas for graphics library / engine that could do that?