Upgrade to Pro — share decks privately, control downloads, hide ads and more …

4th Virtual GreeceJS - Tech News

4th Virtual GreeceJS - Tech News

Stratos Pavlakis

February 03, 2021
Tweet

More Decks by Stratos Pavlakis

Other Decks in Programming

Transcript

  1. NFT • Non fungible token s • Non interoperabl e

    • Indivisibl e • Indestructibl e • Veri fi abl e • $174m spent since Nov 201 7 • Beeple artwork as NFT > $12M at Christie’s !! ! • Exclusive HackerFantastic authored exploits sold as part of an NFT proof of concept series… starting with a Quake 3 exploit. https:/ /www.coindesk.com/what-are-nfts | https:/ /www.beeple-crap.com
  2. Elasticsearch went SSPL Server Side Public Licens e An answer

    to AWS managed EL K “Offering the Program as a Service. If you make the functionality of the Program or a modi fi ed version available to third parties as a service, you must make the Service Source Code available via network download to everyone at no charge, under the terms of this License.” https:/ /www.infoq.com/articles/whats-the-next-step-for-data-management/
  3. Vite 2.0 = dev server + bundler • Esbuild in

    developmen t • Native ESM modules dev serve r • Rollup in productio n • First-class CSS suppor t • SSR https:/ /vitejs.dev/guide/why.html
  4. The Deno Show! • Built-in Typescript suppor t • Formatter

    & linte r • Test runne r • Doc generato r • Sandboxed by default with explicit opt-in fi ne grained permission s • URL import s • Promise based standard AP I • WebGL support for ML https:/ /syntax.fm/show/322/the-deno-show
  5. TreeSitter - Parser generator tool • Rus t • Javascrip

    t • Javascript (WASM ) • Pytho n • Rub y • Haskell https:/ /tree-sitter.github.io/tree-sitter/
  6. Agenda const mongoConnectionString = "mongodb: / / 127.0.0.1/agenda"; const agenda

    = new Agenda({ db: { address: mongoConnectionString } }); agenda.def i ne("delete old users", async (job) = > { await User.remove({ lastLogIn: { $lt: twoDaysAgo } }); }); (async function () { await agenda.start(); await agenda.every("3 minutes", "delete old users"); await agenda.every(" * / 3 * * * *", "delete old users"); })(); A light-weight job scheduling library for Node.js
  7. Sqlcommenter 2020-11-28 14 : 17 : 04.310 UTC [2423030] :

    [66-1] db=waydemo,user=postgres LOG : duration: 400.145ms statement: UPDATE "demo_order" SET "created" = '2020-12-03T19 : 11 : 10.946783+00 : 00' : : timestamptz, "city" = 'Mountain View', "pick_up_address" = '6999 XXXXXXXXX', WHERE "demo_order"."order_id" = '0888a2e0-f81d-4556-aa55-76046186a045' : : uuid / * controller=‘assign_order’,db_driver=‘django.db.backends.postgresql’,framework='d %3A3.0.7', route='demo/assign_order' * / ORM auto - instrumentation library • Augment slow query logs with ORM informatio n • Trace ORMs with OpenTelemetry integratio n • Cloud SQL integrated
  8. SQ $ sq add postgres: / / sakila:[email protected]/sakila @sakila_pg postgres

    [email protected]/sakila $ sq inspect @sakila_pg.actor TABLE ROWS TYPE SIZE NUM COLS COL NAMES L TYPES actor 200 table 72.0KB 4 actor_id, f i rst_name, last_name, last_upd $ sq '.actor | .[0 : 3] | .f i rst_name, .last_name' f i rst_name last_name PENELOPE GUINESS NICK WAHLBERG $ sq '.actor | .[0 : 3] | .f i rst_name, .last_name' - - jsonl {"f i rst_name": "PENELOPE", "last_name": "GUINESS"} {"f i rst_name": "NICK", "last_name": "WAHLBERG"}