Better HN
topnewbestaskshowjobs
Log inSign up

hyperhello

2,024 karma · joined Jul 22, 2021 (5y ago) · 1,002 submissions

hello@hyperhello.com
Submissions

comment 1y ago · link · parent

Of course we have a machine that scrubs toilets. It only costs minimum wage to operate.

comment 1y ago · link · parent

It’s only supposed to work long enough for the next guy to take over.

comment 1y ago · link · parent

Why is more code any kind of value to anyone?

comment 1y ago · link · parent

But does it do it well, or are we focusing on how nice the Mac UI is?

comment 1y ago · link · parent

A question, is it distance as in from the PC (absolute addressing from a datum) or as in the number of instructions executed (meaning a 4 byte conditional branch can shift the whole history)?

comment 1y ago · link · parent

The function, or goal, of news may not be to inform. One would have to decide by observation.

comment 1y ago · link · parent

It’s probably just aimed at scratching an itch of the person who designed it. Often when I see “for kids” I see a simplification of what adults would think. Here I see…JavaScript without brackets and parentheses.

comment 1y ago · link · parent

The article really didn’t explain why they picked that number.

comment 1y ago · link · parent

But you can do this now with Canvas.toDataURL(). Do we need to support another drawing surface API?

comment 1y ago · link · parent

What if they force you to change the way your software works so the data is no longer encrypted unknown to the user?

comment 1y ago · link · parent

> ACE supports local attestation, a mechanism to authenticate confidential VMs intended for embedded systems with limited or no network connectivity.

I'm interested to know the safe definition of 'limited' connectivity - is there some kind of boundary which logical reasoning can't support?

comment 1y ago · link · parent

The parent comment was perfectly clear. Please familiarize yourself with the rules of the website that you are looking at.

comment 1y ago · link · parent

What do we do with the honey of the bees that sting us?

comment 1y ago · link · parent

I tried to read the story but the screen began to fade and become blurry and I was distracted by a request for money. So I have Alzheimer’s?

comment 1y ago · link · parent

Execute?

comment 1y ago · link · parent

> He derided my attempt to use an AI summary to bridge a communication gap (I explicitly stated I'm not a programmer) as a "...stochastic parrot designed to produce lies instead of actionable information...".

I don't really have a dog in the race, but I think people should react this way to AI communication. They should be shunned and informed in no uncertain terms that they are not welcome to communicate any more.

comment 1y ago · link · parent

My random number generator keeps getting the wrong answer.

comment 1y ago · link · parent

I think it’s because it would be so easy to make a recursive page that includes itself forever. So you have to have rules when it’s okay, and that’s more complex and opaque than just programming it yourself.

comment 1y ago · link · parent

DFS is pure flow control, like iterating an array. BFS isn't really the same simple deal as DFS, it either requires approaching the next level and saving it for the next depth somewhere, or navigating the entire previous level again.

comment 1y ago · link · parent

This is interesting, but the syntax doesn't seem to have the right expressiveness for such a large change.

    for recursive (Node t = tree.root; t != NULL;) {
      puts(t.value);
      if (t.value == target) break;
      if (t.value == dontfollow) continue;
      if (t.left) continue t.left;
      if (t.right) continue t.right;
      }
    return t;
Regular 'break' is to really break out of the structure like a regular for, as regular 'continue' is to do the next iteration. But if continue has a value to recurse on, it reenters the for loop like a subroutine.

As a bonus, I think this is tail-call-optimization friendly.

comment 1y ago · link · parent

This is interesting, but the syntax doesn't seem to have the right expressiveness for such a large change.

    for recursive (Node t = tree.root; t != NULL;) {
      puts(t.value);
      if (t.value == target) break;
      if (t.value == dontfollow) continue;
      if (t.left) continue t.left;
      if (t.right) continue t.right;
      }
    return t;
Regular 'break' is to really break out of the structure like a regular for, as regular 'continue' is to do the next iteration. But if continue has a value to recurse on, it reenters the for loop like a subroutine.

As a bonus, I think this is tail-call-optimization friendly.

comment 1y ago · link · parent

C is very much one level above assembly, the way dipping a jug in the river is one level above bending down to drink. It's a whole lot easier to mechanically translate *ptr++ = 0 to the corresponding machine code than to memorize and write those actual instructions. Neither is going to automatically check the security of your memory access through any more than the jug is going to test the water.

comment 1y ago · link · parent

Can you make one that emulates a PowerBook 100?

comment 1y ago · link · parent

Relax, it’s probably traveling in a straight path at constant velocity.

comment 1y ago · link · parent

While the cost of power will be reduced, I think that's overly optimistic in the long run. Fixing the lines and power distribution systems when they wear out or get hit by weather is really the cost of your electricity bill. You can have a shared power grid, or not pay for it, but you can't have both. Even areas powered by hydro have to maintain cherry pickers for that.

comment 1y ago · link · parent

I like it. Not only does it move the UI into JavaScript, but it moves the scripting into the HTML!

comment 1y ago · link · parent

There's nothing stopping it, here's a link to an article from 2023: https://www.bbc.com/news/technology-66543643

comment 1y ago · link · parent

Neither really addresses the issue. Making a type for a single kind of string seems like an abuse of types just to shoehorn the documentation in. Documentation can be used directly of course, but that moots all of this -- just document? Yeah, but naming the variable is super quick compared to either.

comment 1y ago · link · parent

What bothers me a lot is that return values can't have a name. Suppose I have a function

string combineName(string first, string last);

Okay, I assume the result is the full name, but I don't really know that like I would if the return had a name in the header. (The function can be getFullName, yes, but that's so simple it doesn't matter).

1
232425
34