Andrea Giammarchi  

@WebReflection

Web, Mobile, IoT: all JS things since 00's. Formerly JS engineer at , , and - currently - opinions are my own ™

เข้าร่วมเมื่อ พฤษภาคม 2552

ทวีต

คุณได้บล็อค @WebReflection

คุณแน่ใจหรือไม่ว่าต้องการดูทวีตเหล่านี้ การดูทวีตเหล่านี้ไม่ถือเป็นการยกเลิกการบล็อค @WebReflection

  1. ทวีตปักหมุด
    19 มิ.ย.

    I've updated the js-framework-benchmark's µhtml version, from 1.X to 2.X: * it moved up 8 places * it's faster than svelte 🥳 table: uhtml:

    แสดงเธรดนี้
    ยกเลิก
  2. ได้รีทวีต
    14 ก.ค.

    So happy to see IT industry slowly moving away from NoSQL (structural) illusion and investing in more SQL tooling (that we desperately need since the 80") like this: dbcritic — Constructively criticizing your Postgres schema (using Idris)

    ยกเลิก
  3. 13 ก.ค.

    I mean ... yeah, we can all blame JS for breaking there, but if a site has so much wrong JS on the Front End, do we really expect it to have super skilled Back End developers? I don't think so ... but I am sure they complain when any user is "lost in transaction" 🤷‍♂️ 😢

    แสดงเธรดนี้
    ยกเลิก
  4. 13 ก.ค.

    TIL: in Italy there are companies that make sites that don't work on Firefox, and likely won't work in Chrome neither. Form emails normalization where they capitalize Each@Email.Com, awkward cell phones input ruined by awkward JS ... the issue is not JS per se, it's incompetence!

    แสดงเธรดนี้
    ยกเลิก
  5. 12 ก.ค.

    TFW you just push few lines of code during lunch, and people star it already ... vanilla-elements is a "vaporware" helper to simplify Custom Elements definition, through a `define(name, Class)` signature that works with builtin extends too. it's up 👍

    ยกเลิก
  6. 12 ก.ค.

    it's kinda funny because µce-template was inspired by Vue 3, and now Vue is doing the other way around: custom elements as components. I hope it works with builtin extends too, like my libraries do, but that's an interesting direction either ways.

    แสดงเธรดนี้
    ยกเลิก
  7. 12 ก.ค.
    แสดงเธรดนี้
    ยกเลิก
  8. 11 ก.ค.

    I think this summarizes well why Open Office is not always what I prefer 😅

    ยกเลิก
  9. 11 ก.ค.
    ยกเลิก
  10. ได้รีทวีต
    9 ก.ค.
    กำลังตอบกลับถึง

    OKRs are the mind killer.

    ยกเลิก
  11. 8 ก.ค.

    forgot to mention, last weekend update moved it even further 🎉 it's top 20 (19th) overall, and 3rd in terms of startup metrics 👍 also, the 801 flag is gone, otherwise it would be even faster 😉 ... I just didn't like that flag in there!

    แสดงเธรดนี้
    ยกเลิก
  12. 6 ก.ค.

    These things are like the equivalent of “please rate us/take a survey/did you like it?” *before* having a chance to even read a thing. Who/why does this happen? It’s all fan out and nothing else, imho 🤷‍♂️

    แสดงเธรดนี้
    ยกเลิก
  13. 6 ก.ค.

    is there a metric like “instant tab close on pop under” on the Web? You know, those kind of pop ups that cover whatever you’re reading so you just stop reading and likely become functional illiterate ‘cause all you read and remember is the title … Web 2021

    แสดงเธรดนี้
    ยกเลิก
  14. ได้รีทวีต
    6 ก.ค.

    Playing with an idea of doing SSR with java/php/whatever and yet reusing some of the view code on the client-side. This is through templating languages like mustache/handlebars/jade that runs on many tech stacks + adding client-only syntax on top

    แสดงเธรดนี้
    ยกเลิก
  15. ได้รีทวีต
    6 ก.ค.

    guess how many times they've called me each day

    แสดงเธรดนี้
    ยกเลิก
  16. 4 ก.ค.

    This is now available via Thanks to for contribution, it works on deno, Web Workers, or anywhere without DOM around 🥳

    ยกเลิก
  17. ได้รีทวีต
    4 ก.ค.

    Everyone: “the with statement is wrong, evil, don’t use it” uce-template, alpine-js, petite-vue: 🤷‍♂️

    แสดงเธรดนี้
    ยกเลิก
  18. 4 ก.ค.

    variant: const c = new WeakMap; function With(f) { let c=w.get(f); if (!c) w.set(f,c=Function('with(arguments[0])return(' + f + ').apply(this,[].slice.call(arguments,1))')); return c; } const log = With((num) => { console.log(data, num); }); log({data: 123}, 456);

    แสดงเธรดนี้
    ยกเลิก
  19. 4 ก.ค.

    to play around with: function With() { return Function( 'with(arguments[0])return(' + arguments[arguments.length - 1] + ').apply(this,[].slice.call(arguments, 1, -1))' ).apply(this, arguments); } With({data: 123}, 456, (num) => { console.log(data, num); });

    แสดงเธรดนี้
    ยกเลิก
  20. 4 ก.ค.

    That boils down to the fact that any library based on eval, Function, hence the with statement, is practically future hostile. TC39 has no intention to resurrect the with statement, so even if I have libraries based on it, ‘cause it’s an awesome feature, be careful what you pick.

    แสดงเธรดนี้
    ยกเลิก
  21. 4 ก.ค.

    The list continue with Mavo, tag-params, and so on. It requires Function to escape from the "use strict" directive, so it’s inevitably CSP troublesome, even if the body contains only the with statement. Web extensions v3 won’t be able to use it, and there’s still no replacement.

    แสดงเธรดนี้
    ยกเลิก

การโหลดข้อมูลอาจต้องใช้เวลาสักครู่

ทวิตเตอร์อาจรองรับปริมาณผู้เข้าใช้ไม่ไหวหรืออาจมีอาการสะดุดนิดหน่อย ลองใหม่อีกครั้ง หรือลองดูที่ สถานะของทวิตเตอร์ สําหรับข้อมูลเพิ่มเติม

    คุณยังอาจถูกใจ

    ·