Recent submissions

Comment · 10 months ago
You may be right, but this article is entirely about the author's kids and has nothing to do with any administration.

Unless part of the poly-crisis is one twin changing the page of the book to one with fewer moons, and the administration is the parental policies of bedtime warnings and teeth brushing.

Comment · 10 months ago
it's really hard not to have at least one single point of failure. there's a case to be made that a single cloud account actually reduces the ways things can go wrong to just one point of failure, instead of a handful.

e.g. email on a custom domain. your domain registrar is now a spof AND your email provider for your domain is a spof. and that's just email.

There's obviously a middle ground and ways to have a strictly better personal data posture than before, but it's a multi faceted problem balancing usability, security, and resilience

Comment · 11 months ago
Micron leadership probably just heard about Roko's basilisk.
Comment · 1 year ago
Almost perfect. Inspirational.

It just needed to create a little box you can drag around when you click on nothing, like OS desktops have.

So here's the snippet to do that, toss this in the console and live the dream:

(() => { let startX, startY, box, dragging = false;

  const style = document.createElement('style');
  style.textContent = `
    .___selection-box {
      position: absolute;
      pointer-events: none;
      border: 1px dashed #2b76d6;
      background: rgba(43,118,214,0.12);
      z-index: 999999;
    }
  `;
  document.head.appendChild(style);

  function onDown(e) {
    if (e.button !== 0) return; // left click only
    startX = e.pageX;
    startY = e.pageY;
    dragging = true;

    box = document.createElement('div');
    box.className = '___selection-box';
    box.style.left = startX + 'px';
    box.style.top = startY + 'px';
    document.body.appendChild(box);

    e.preventDefault();
  }

  function onMove(e) {
    if (!dragging) return;
    const x = e.pageX, y = e.pageY;
    const left = Math.min(x, startX);
    const top = Math.min(y, startY);
    const width = Math.abs(x - startX);
    const height = Math.abs(y - startY);
    Object.assign(box.style, {
      left: left + 'px',
      top: top + 'px',
      width: width + 'px',
      height: height + 'px'
    });
  }

  function onUp(e) {
    if (!dragging) return;
    dragging = false;
    console.log('Selection rect:', box.getBoundingClientRect());
    box.remove();
    box = null;
  }

  window.addEventListener('mousedown', onDown);
  window.addEventListener('mousemove', onMove);
  window.addEventListener('mouseup', onUp);

  console.log(" Selection enabled. Drag with left mouse button. Check console for rect.");
})();
Comment · 3 years ago
$40k for dentures? She got fleeced.

$3M for retirement right now is plenty, but you have to live like an actually middle class person.

Comment · 3 years ago
"The market is like a large movie theater with a small door. And the best way to detect a sucker is to see if his focus is on the size of the theater rather than that of the door." - Nassim Nicholas Taleb in Skin in the Game

(This is not to say that you, specifically, are a "sucker", and I don't love the term. But I think Taleb has a lot to offer on considering risk.)

Comment · 4 years ago
Colorado's where the river's headwaters are: this is probably an even bigger deal for those in Utah, Arizona, Las Vegas, and Southeastern California.
Comment · 4 years ago
The collateral limit getting triggered isn’t a particularly big deal: it just means that MSTR needs to quickly furnish more BTC as collateral or they’ll be in breach of loan covenants. But they HAVE a ton of BTC, so there’s no effect on the market. The only way this gets interesting at all is if the total bitcoin owned by mstr starts approaching the price of the loan (which it’s not even close to, but that’s the point where silvergate could lose some money…)

Really all the margin call does is reduce the amount of additional debt collateralized by bitcoin that MSTR could take on. It’s clickbait!

Comment · 4 years ago
They have debt too. It’s clickbait style writing.
Comment · 4 years ago
This is my favorite article about inflation https://economicsfromthetopdown.com/2021/11/24/the-truth-abo...

Inflation is not simply a matter of the government adding more money to the supply (although that's one of the actions that can help reduce the value of currency)... the flow of money (and power) is immensely complex, and inflation as a measure is a procrustean bed (https://en.wikipedia.org/wiki/Procrustes)

Comment · 4 years ago
Start sleeping more, eating healthier, exercising more, and working less. Cut down on weed and alcohol if you partake. This should hopefully help you feel well enough to get a different job which will be less stressful and pay better. Good luck!
Comment · 4 years ago
I'll absolutely advocate for spending some time on the frontend to see if you like it. In addition to other roles in the past, I built a SaaS company as the founding engineer where I covered all parts of the stack, including primarily backend for a while. Nowadays I work almost exclusively on the frontend, because I enjoy it!

I think there are pros and cons of being in a specialized role at any part of the stack, but some of the things I like about the frontend nowadays is:

1) The feedback is rapid. You can immediately see and interact with the result of your work. Mocking backend data is a possibility, but when you're working on an API or other backend stuff it can be hard to imagine how it will work for the person at the end of the line. Rapid visual feedback on building stuff is satisfying!

2) It is now way easier to build maintainable applications that are easy to understand and hard to break. By using react and typescript (...and mostly writing pure functions with clean interfaces and unit testing them...) you can create tons of functionality with very clean code that's easy for others to understand and modify.

3) CSS is funky sometimes, but with things like flexbox and css-in-js (or even just less/sass) you've got powerful tools for working with it.

4) It used to be that making everything work across all browsers took a ton of effort and was the most frustrating part of FE programming. Nowadays it's pretty easy.

5) With Electron (and perhaps React Native, although I can't speak to that), frontend skills are more useful in more contexts than they ever were before.

6) Although there may be something "oncall-ish" at your company for FE engineers, being on call for backend stuff means you get paged much more and will have much more work to do, and it will likely be due to stuff outside your control. You will get paged much less for FE problems, and you will be able to do something about it.

I think also that the role the frontend has played has gotten more complex (more state, more data, bigger codebases, more stuff users can do), so I've felt that a background in backend work is advantageous when it comes to working on the frontend and can lead to great work, since backend people are often strong in core concepts like writing and testing functions with good interfaces, doing a good job managing state, interacting with networks and dealing with errors, etc.

Comment · 5 years ago
Well they make 5 billion revenue a year, are close to profitable, and their online revenue is up 34% in 2020 to more than a billion. And now they can print money with share dilution, and they’ve become a household name and are touted as a weapon in a class war. So IDK if dying is the right word for it.
Comment · 5 years ago
The collateral on cash secured puts is always just the amount of money need to buy the shares specified by the contract. (Hence: "cash secured")

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton