• 0 Posts
  • 123 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle
  • Take your pet for a walk.

    Personally I find biphasic sleep pretty normal and easy to do when I’m working a job in a timezone that’s behind mine by a few hours.

    Go to bed at 12:30, sleep 4.5 hrs til 5:00, wake up with the cat at dawn, take them outside and enjoy the morning tranquility for a bit, go back to bed at 6, sleep til 9, get up to start my job at 10 or 11.

    I don’t do it when I have to be up early though, I both always struggle to go to bed early, and I find waking up and being up in the middle middle of the night, to feel more stressful than doing it at dawn.


  • Precisely, flirting signals to someone else that you’re potentially attracted to them.

    If they’ve written you off as a potential romantic partner for whatever reason (they assume you’d never be interested, they thought you had a partner, they thought you were only ever going to be just friends, etc), then that signal can cause them to start considering you as a romantic option.





  • An fuck off with these dumbass, utterly vacuous Anti JavaScript rants.

    I’m getting so sick of people being like “I keep getting hurt by bullets, clearly it’s the steel industry that’s the problem”.

    Your issue isn’t with JavaScript it’s with advertising and data tracking and profit driven product managers and the things that force developers to focus on churning out bad UXs.

    I can build an insanely fast and performant blog with Gatsby or Next.js and have the full power of React to build a modern pleasant components hierarchy and also have it be entirely statically rendered and load instantly.

    And guess what, unlike the author apparently, I don’t find it a mystery. I understand every aspect of the stack I’m using and why each part is doing what . And unlike the author’s tech stack, I don’t need a constantly running server just to render my client’s application and provide basic interactivity on their $500 phone with a GPU more powerful than any that existed from 10 years ago.

    This article literally says absolutely nothing substantive. It just rants about how websites are less performant and react is complicated and ignore the reality that if every data tracking script happened backend instead, there would still be performance issues because they are there for the sole reason that those websites do not care to pay to fix them. Full stop. They could fix those performance issues now, while still including JavaScript and data tracking, but they don’t because they don’t care and never would.











  • masterspace@lemmy.catoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    1 month ago

    This is a really good interview, and does a good job highlighting Javascript’s biggest strength: it’s flexibility.

    “It was also an incredible rush job, so there were mistakes in it. Something that I think is important about it is that I knew there would be mistakes, and there would be gaps, so I made it very malleable as a language.”

    He cites the “discovery” of asm.js inside of JavaScript, calling it “another thing I’m particularly proud of in the last 10 years.” It uses the bitwise operators that were included in the original JavaScript which are now the basis for a statically-typed language with machine types for high-speed performance. “If it hadn’t been in there from 1995, it would’ve been hard to add later. And the fact that it was there all along meant we could do incredibly fast JavaScript.”

    He tells InfoWorld it’s “this very potent seed that was in the original JavaScript from the 10 days of May in 1995.” JavaScript’s 32-bit math operators (known as bitwise operators) trace their lineage all the way back to the C programming language — and to Java. This eventually led to WebAssembly — a way to convert instructions into a quickly-executable binary format for virtual machines — and the realization that with a JavaScript engine, “you can have two languages — the old language I did with the curly braces and the functions and the shift operators, and this new language which is a binary language, not meant for reading by humans or writing. But it can be generated by compilers and tools, and can be read by tools…”