Hacker Newsnew | past | comments | ask | show | jobs | submit | Overpower0416's commentslogin

lol it literally took me 2s to google search "optimize image for website" and 10s to upload and get a smaller sized image.

The result for that specific image is: 500kb. 85% decrease in size


An indistinguishable JPG is 170KB. An SVG would be 20KB.

CSS with a linear gradient background would be even smaller :)

You can even automatically do that on your CDN/delivery/web server layer. Or as part of your web deployment pipeline.

Yes, but it might be a little too advance for Meta ;)

But they have personal superintelligence?

Did a LLM tell you that?

common sense and interviewing around did. no one wants to hire someone that is not AI native anymore, unless you are looking at positions that pay peanuts

I guess if you get fed the same thing over and over it becomes the truth. This is what happens when you outsource critical thinking to AI

What kind of DeFi protocol has super power private keys to alter the protocol just like that? And no timelock. Seriously? What a joke

Seems to be very standard now a days as projects seek to do things that can't be done fully on-chain.

You'd think they'd take a step back and ask "why is this even a token then?".


All changes should be voted upon no matter if onchain or offchain. After that there should be a timelock, so people that don't agree with the vote to pull their assets if they want to. The only power these private keys should have is to pause the market if there is a major bug or exploit.

It's a token so they can make $

Sooo it’s essentially claiming that the impossible thing is essentially a bit less impossible, but currently still impossible. Nice

The whole thing is that we have proofs that this is possible, and have been seeing continuous engineering progress. Having followed this for awhile, it seems to me that saying quantum computing is "still impossible" at this stage is like saying that GTA VI is still impossible, based on its unpredictable timelines.

Sorry, I meant a quantum computer that is actually built where these theories can actually be applied. Current quantum computers are as useful as current nuclear fusion reactors.

I am just over any sensational headlines from the past 10 years. They really need to drop a tweet like "Check out my quantum computer that is actually useful" like Sam Altman did with GPT to convince me.


At this stage, it's more like Musk and self driving cars, but at least QC around the corner is from mid 1990s

Well yes, but this is research - it progresses gradually and incrementally until eventually it is ready to be deployed. I for one am really interested in following these progress updates, rather than just being surprised when it finally drops. In particular, I find the recommendation to switch to quantum-resistant technology to be very important.

  export function extractSearchToken(completionToken: {
    token: string;
    isQuoted?: boolean;
  }): string {
    if (completionToken.isQuoted) {
      // Remove @" prefix and optional closing "
      return completionToken.token.slice(2).replace(/"$/, '');
    } else if (completionToken.token.startsWith('@')) {
      return completionToken.token.substring(1);
    } else {
      return completionToken.token;
    }
  }
Why even use else if with return...

> Why even use else if with return...

What is the problem with that? How would you write that snippet? It is common in the new functional js landscape, even if it is pass-by-ref.


Using guard clauses. Way more readable and easy to work with.

  export function extractSearchToken(completionToken: {
    token: string;
    isQuoted?: boolean;
  }): string {
    if (completionToken.isQuoted) {
      return completionToken.token.slice(2).replace(/"$/, '');
    }
    if (completionToken.token.startsWith('@')) {
      return completionToken.token.substring(1);
    }
    return completionToken.token;
  }

I always write code like that. I don't like early returns. This approximates `if` statements being an expression that returns something.

> This approximates `if` statements being an expression that returns something.

Do you care to elaborate? "if (...) return ...;" looks closer to an expression for me:

  export function extractSearchToken(completionToken: { token: string; isQuoted?: boolean }): string {
    if (completionToken.isQuoted) return completionToken.token.slice(2).replace(/"$/, '');

    if (completionToken.token.startsWith('@')) return completionToken.token.substring(1);

    return completionToken.token;
  }

I’m not strongly opinionated, especially with such a short function, but in general early return makes it so you don’t need to keep the whole function body in your head to understand the logic. Often it saves you having to read the whole function body too.

But you can achieve a similar effect by keeping your functions small, in which case I think both styles are roughly equivalent.


And oil is at 90$ and rising... what is the Fed suppose to do at this point


Raise interest rates so that economic activity concentrates in what provides real value.


The same thing it was designed to do and has always done: create unimaginable sums of money out of thin air that it loans to the government, with interest.


So if their erotic bot reaches $100b in profit, they will declare AGI? lol


Given the money involved, they may be contractually obliged to?


Wait until they announce that they’ve been powering OnlyFans accounts this whole time.


What makes you think the people in charge want this solved? This is perfect for them - nations of people that outsource their thinking to AIs that they control.


The next step is heavily advertising products in chat sessions based on your data


Like always, people like him only say the things that help them reach their current goal. It doesn’t matter if there is any truth to what they say. Moving goalposts, hyperbolic rhetoric, manipulative marketing to reach a large audience on an emotion level is the name of the game

Elon Musk made this way of doing business popular and now every hotshot tech CEO does it…But I guess it works, so people will continue doing it since there are no repercussions.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: