41 Matching Annotations
  1. Oct 2021
    1. How To Install Node.js on Ubuntu 20.04

      In this guide, we will show you three different ways of getting Node.js installed on an Ubuntu 20.04 server…

  2. Jun 2021
    1. Crypto node implementations
      • from : https://discord.com/channels/478735028319158273/790825713094754364/847518960814784582 The issue with just using webnative in nodejs is that e.g. the webnative.initialise function depends on a bunch of browser-specific features, e.g. window.location and its query parameters (for authentication after redirecting from the auth lobby). However, it's possible to skip that layer and try to build the filesystem yourself. We've recently done that to support writing tests for webnative in node. The remaining thing you need to do is make sure to replace the underlying crypto keystore stuff that would usually save to indexedDB with something else. We've implemented an in-memory version here:
  3. May 2021
    1. Local development and testing has huge advantages, but sometimes one needs to test web applications against their real-world domain name. Editing /etc/hosts is a pain however, and error prone. Node Foreman can start up an HTTP forward proxy which your browser can route requests through. The forward proxy will intercept requests based on domain name, and route them to the local application.
  4. Apr 2021
    1. All you need is an email address or phone number associated with an account and you will get a magic link or one-time password each time you want to log in. As soon as you click the link, you'll get redirected to the app and you'll already be logged in. After that, the magic link isn't valid so no one else can use it.
  5. Mar 2021
    1. Normally you should not register a named module, but instead register as an anonymous module: define(function () {}); This allows users of your code to rename your library to a name suitable for their project layout. It also allows them to map your module to a dependency name that is used by other libraries.
  6. Feb 2021
  7. Jan 2021
  8. Dec 2020
    1. node-sass may be faster than dart-sass, but as of writing this dart-sass is the only library which implements the @use rule, which is strongly recommended over @import. According to the official sass-lang website:
  9. Nov 2020
  10. Oct 2020
    1. 8devices has now entered the fray with Qualcomm IPQ6000/IPQ6010 powered Mango WiFi 6 system-in-module available in commercial or industrial temperature range, as well as as a development kit based on the module.

      8device is awesome and has made really good modules at a great price for a while now i love this company & their support is definitely on par.

      i can't wait for a less frigging ancient core but wow still a powerful offering. good wifi! huzzah: that's what this module offers. on package. wow. the chip has some good ok stuff. 2x 5Gbe. usb3. a lane of pcie3. not bad. seemingly the lane of pcie is after the dual onboard 802.11ax 2x2? cause that's what this is really about. some wifi io.

  11. Jul 2020
    1. In Turtle, fresh RDF blank nodes are also allocated when matching the production blankNodePropertyList and the terminal ANON. Both of these may appear in the subject or object position of a triple (see the Turtle Grammar). That subject or object is a fresh RDF blank node. This blank node also serves as the subject of the triples produced by matching the predicateObjectList production embedded in a blankNodePropertyList. The generation of these triples is described in Predicate Lists. Blank nodes are also allocated for collections described below. Example 15@prefix foaf: <http://xmlns.com/foaf/0.1/> . # Someone knows someone else, who has the name "Bob". [] foaf:knows [ foaf:name "Bob" ] .

      Equivalent to saying "something" or "someone" in English.

  12. Jun 2020
  13. Sep 2019
    1. ts-node enables you to execute TypeScript directly, just as you might execute JavaScript code using Node.
  14. Jun 2019
    1. In this article, we are going to talk about the same kind of much-debated back-end programming technologies like Node.Js and PHP! We will know how do they differ from each other and why Node.js vs PHP is such a hot topic among developers.
  15. Oct 2018
  16. Sep 2018
  17. Oct 2017
    1. healthcare roles, yet thereis a considerable amount of conversations from healthcare providers to average consumers,and from average consumers to media

      these are node attributes. I wonder how they derived them from twitter. Hopefully this will be spelled out in the methods.

  18. Sep 2017
    1. other network includes climate change deniers.

      What a great way of using SNA to compare two competing ways of knowing. How would you collect data to show the different flow of information through these networks? What what would you be looking for? What would the node be? The link?

  19. Jul 2017
    1. The npm client installs dependencies into the node_modules directory non-deterministically. This means that based on the order dependencies are installed, the structure of a node_modules directory could be different from one person to another. These differences can cause “works on my machine” bugs that take a long time to hunt down.

      This is why you should version control your package-lock.json.

  20. Mar 2017
    1. My idea of the consummate outsider is architect

      If he is an architect he is not really an outsider but he can be an outsider within a group - a possible point of connection to other groups....

    1. Star-hopping I start thinking about how I navigate the blogs, how I navigate Twitter, how I smile when I click on recognisable avatars.

      navigation. mapping nodes

    2. to my students (they are unaware of that for the moment unless the one Tweep has done his job for the masses and sent it viral in Clermont Ferrand STAPS).

      connection individual witness

  21. May 2016
    1. [Service] ExecStart=[node binary] /home/srv-node-sample/[main file] Restart=always StandardOutput=syslog StandardError=syslog SyslogIdentifier=node-sample User=srv-node-sample Group=srv-node-sample Environment=NODE_ENV=production [Install] WantedBy=multi-user.target
  22. Jun 2015
    1. Simply: require('child_process').spawn('vim', ['test.txt'], {stdio: 'inherit'}); If there is nothing left in the Node.js event loop when vim exits, then node will exit automatically as well. Or, if you need to guarantee node will exit when vim does: var vim = require('child_process').spawn('vim', ['test.txt'], {stdio: 'inherit'}); vim.on('exit', process.exit); As for closing the node application before vim exits, that's not really possible because vim inherits standard input/output/error streams from the spawning process (node) which are destroyed when node exits.