HackerTrans
トップ新着トレンドコメント過去質問紹介求人

giankam

no profile record

コメント

giankam
·4 か月前·議論
Hi Syrusakbary, I have to admit I still do not fully understand what this is.

First, I could not find usage examples on the edgejs.org page and the docs link points to the node docs, why?

If I head to github, there are some usage examples, but they confuse me more.

The first example: $ edge server.js led me to think that this is a node replacement that runs in a webassembly sandbox, so completely isolated. But why the need of --safe then? What's the difference between using it and not using it?

But the next examples creates more confusion to me: $ edge node myfile.js $ edge npm install $ edge pnpm run dev

What is this doing? I thought that edge was a node replacement, interpreting and running javascript files, but it's now running executables (node, npm)... what is that? What happens when I run npm install... where does it install files? What's the difference between running edge node myfile.js and edge myfile.js?

Hope this helps.
giankam
·昨年·議論
The author fails to understand modern wines to begin with. Amarone is not a raisin wine at all, the link to the appassimento method correctly explains that the Amarone process is initially based on dried grapes, but the result is a dry wine.
giankam
·2 年前·議論
Would have liked to know it before installing.
giankam
·2 年前·議論
Not only, it's not possible to quit the installer. Had to kill it and then look for changes done to the system. Hope I've been able to find them all but really upsetting.
giankam
·2 年前·議論
Agreed, I use bettertouchtools for the same purpose
giankam
·2 年前·議論
I got stuck at option 1. Rendering code becomes lot more complex. Also few errors that make it difficult to follow the essay, like "it’s a “maybe” function as it only returns the friends of a user" but the function is getUser, not getFriends.

Or function getFriends(user: User): Friend[] { return fetchUser(); } The body of the function is wrong.
giankam
·2 年前·議論
Hard to understand what it does and the idea behind. In this state I would not limit the search engine results to give the opportunity to fully grasp the idea and benefits.
giankam
·3 年前·議論
Probably Github for autoupdate and currencies for current currency rates
giankam
·3 年前·議論
Yep, I do the same.
giankam
·3 年前·議論
I have an application with a big data structure built as a tree of objects. With deep cloning I can: - Provide undo/redo. I just clone the whole tree. - Load/Save from/to the database part of the tree. I load it in a separate object and then deep clone in place. - Do mass modifications to a part of the tree. A clone a copy, apply modifications and the clone back in place.

I could do some of the changes in place, but to optimize Vue reactivity I work on copies.

I use prototypes so only lodash works for me.
giankam
·3 年前·議論
The article doesn't actually teach how to solder. Just a few tips but not practical instructions to follow. As an example this sentence: "so we’re going to start by adding solder to both the wire and the pad that it’s being soldered to—this process is often referred to as tinning."

Doesn't give a single hint on how to do it...