00:18
common standard ui issues that are common across UI designs that they don't do or understand that you need to do them
which is what i wanted cant see myself ever wanting it, was going to just check the sticky scroll feature though
the tab key just doesnt work properly in vscode imo, its hard to say exactly at the moment becuase i have an installed extension to try and sort it out, i'll just try to remove it
they have lots of dodgy features, like you place the cursor on a word and for some reason it then highlights that entire word, why im not sure, but then you cant really tell if the word is actually highlighted and when you type you'll replace it, or its just highlighted to like .. er .. let you know its there lol
the extension i use is called TabSanity for Visual Studio Code marketplace.visualstudio.com/items?itemName=jedmao.tabsanity
you have questions and answers but then there's cases where you want someone to create an example project
"setup a web page that shows a row of data from amazon" and its like a bounty. you don't normally need bounties but the question is hard or needs more attention than normal. it would probably work if it were something like that. normal answers free > tough answers bounty > answer with example code or project created on github a fiver or small money
00:52
4 hours later…
3 hours later…
07:28
var proxy=new Proxy({},{ get (target,prop,receiver){ }, apply (target,thisArg,args){ }, chain (...){ // this being some new method } });
i'd like to be able to proxy ( or build ) objects where their structure is not known at runtime, like an object in a different execution context, such as proxying a server side object client side
i can build it so far, but the whole thing breaks because when the getter is called for a property i have no way of knowing if thats the end and a property is required or it'll be invoked, or chained to deeper nested objects
heres some code im basically working with github.com/javascript-2020/modproxy.js/blob/main/… codepen.io/matt-2016/pen/ZEpaZyb
i think i do do that, my problem is when the property needs to be accessed, i should return the actual property rather than another proxy waiting for deeper chaining or invocation, but at the moment i cant tell when the chain ends, i just have to return a proxy and rely on apply being called to terminate the process
I don't really think it's worth distinguishing, though. A proxy without a
set
trap will transparently pass all setting to the proxied object. Same for the other traps. So, if you want to only do something special on apply
or get
, you can make sure you pass to the native mechanism if your condition is not fulfilled. Reflect.*
would help there.
The issue if you start splitting the results into proxies/real objects is that you get lager chance something to not work correctly for one of those but it's not exactly deterministic which one you'd get at any given point. So the bug can be hard to reproduce and even find in the first place.
It's a similar issue like functions that can be async or not. Affectionately known as "release Zalgo" see Designing APIs for Asynchrony and Intentionally unleashing Zalgo with synchronous promises. The problen with releasing Zalgo is potential for odd bugs and race conditions.
2 hours later…
3 hours later…
13:56
var input = document.createElement('input'); input.onblur = e=>input.remove(); input.onkeyup = e=>e.key=='Enter' && input.remove(); document.body.append(input);
3 hours later…
@VLAZ definitely have seen that happen in a lot of places. the answers and the contributors would have to address that. probably same conditions for a contract job. don't get paid unless project meets standards. junk work shovelware authors would have to be addressed but there are already great free answers authors on SO so that monetization wouldn't prevent that. it might promote it. i agree it could become worse but same with anything. it depends how it's implemented
« first day (4995 days earlier) ← previous day next day → last day (176 days later) »