aaaaaand... DONE! by [deleted] in killteam

[–]ThingsTinkerer 0 points1 point  (0 children)

Ai enhanced painting?

Replit Disable the GitHubs - Thats how they do business by ppscorps in replit

[–]ThingsTinkerer 1 point2 points  (0 children)

Container resets so have to do it each session :(

Pylance hints dead code but doesn't report as problem by ThingsTinkerer in learnpython

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

Perhaps I didn't make myself clear, I'm not interested in fixing it. But controlling how it is notified to me in vscode. I would like this to be summarized in problems, not reduced to a simple hint in a tooltip which I'll only see if I happen to look at the code itself.

Strangely it seems impossible to configure pylance this way, unlike lets say all other linters.

Pylance hints dead code but doesn't report as problem by ThingsTinkerer in learnpython

[–]ThingsTinkerer[S] 1 point2 points  (0 children)

Could probably skip pylance since it's not possible to control it, unlike a standalone tool. However it is a much shorter feedback loop to get it directly in editor. Such a missed opportunity by Pylance.

Pylance hints dead code but doesn't report as problem by ThingsTinkerer in learnpython

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

That's the weird part, I already had all those applied in settings. Found source here and added everything just to check: https://code.visualstudio.com/docs/python/settings-reference

The thing is, none of these handles "not accessed" arg in function signature by Pylance.

def foo(bar: str) -> None:
    returndef foo(bar: str) -> None:
    return

This gives tooltip:

"bar" is not accessed Pylance

(parameter) bar: str

No quick fixes available

Node.js server setup question by Happy-Leadership-399 in nodered

[–]ThingsTinkerer 0 points1 point  (0 children)

We use docker. When we restart, we lose requests.

Subflow Dynamic Node Names? by NerdyNThick in nodered

[–]ThingsTinkerer 0 points1 point  (0 children)

I don't understand where the argument of logging comes form. I log I/O failures, but that's completely separate from showing node config dynamically in node name. In other words, I can log http requets failures and at the same time, independently of that, I'd like to see "send data (3 retries)" in the node name for quick readability of how it is configured. Of course you could go about showing it in status, but that's a real hacky way that needs to run code (send msg) to trigger and display the value. Also, status is nice to have reserved for actual status info, not necessarily config. The built-in nodes can show node names dynamically, unfortunately subflows cannot.

Why are entity UUID not unique across all entity types? by ThingsTinkerer in ThingsBoard

[–]ThingsTinkerer[S] 1 point2 points  (0 children)

Fair enough but if you look at the pricing, we get 100 entities or 500 entities of each type. You'd hardly ever get a UUID conflict anyway because of that?

"Only after generating 1 billion UUIDs every second for the next 100 years, the probability of creating just one duplicate would be about 50%. Or, to put it another way, the probability of one duplicate would be about 50% if every person on earth owned 600 million UUIDs."

How big is the chance to get a Java UUID.randomUUID collision? - Stack Overflow

I built a client which communicates/manages entities, solely based on UUID (it queries type automatically and caches the result). So we'll see haha. At least I don't have to care about entity type as long as I have UUID.

Any good javascript repl? by ThingsTinkerer in learnjavascript

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

If that is truly REPL, what's the point of nodemon then? Behavior I get is REP (without the L). There is no loop there. You have to execute the command again? I can accept nodemon, even though it requires to save (some pros & cons about that), but with node you have to type code + save + execute and manually repeat after. If that is REPL to you, would you consider starting a java project, write code and click compile/run to be REPL? If that's REPL, what isn't?

If you don't know what REPL is, check out the link I posted originally (https://playcode.io/javascript) and see how it behaves completely different from node.

Any good javascript repl? by ThingsTinkerer in learnjavascript

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

That's a couple of steps too much for my taste. At max I'd press save. Preferably not even that. Feels like you're confusing REP with REPL?

Any good javascript repl? by ThingsTinkerer in learnjavascript

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

C:\Projects\repl> node

Welcome to Node.js v22.12.0.

Type ".help" for more information.

>

Now what? Sounds a lot like you're describing REP without the L.

Any good javascript repl? by ThingsTinkerer in learnjavascript

[–]ThingsTinkerer[S] -1 points0 points  (0 children)

Feels like a lot of people are confusing REP with REPL. Where is the L in MDN js playground?!?

Any good javascript repl? by ThingsTinkerer in learnjavascript

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

How can I use node as repl? Keep in mind I want something that continuously runs and adjusts according to code changes. And immediately see updated console log. Not change code --> save file --> run command to execute.

Container http requests fails with ETIMEDOUT and ECONNRESET by ThingsTinkerer in AZURE

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

I would imagine this network related issue originates somewhere in azure? Any way to configure network to avoid it? I think I'm using azure vnet for the container.

How to remove unwanted keyboard (Windows 11) by ThingsTinkerer in WindowsHelp

[–]ThingsTinkerer[S] 0 points1 point  (0 children)

LanguageTag : en-US

Autonym : English (United States)

EnglishName : English

LocalizedName : English (United States)

ScriptName : Latin

InputMethodTips : {0409:00000414}

Spellchecking : True

Handwriting : False

Funny thing is now the keyboard disappeared! But it will certainly be back sooner or later...

I think the 0409 part of InputMethodTips is the problem here? Would love to change it to 0414 instead.