News for hackers. Stuff that matters.

bzbz

Not particularly.

Easier for humans to reason about the branch, when they know that it happens without input from i or y[i].

This is helpful when the `if` statement is complex, or there are multiple if statements, some of which do take y[i] as input.

What made you prefer Mail to Gmail, given you don’t seem satisfied with Apple’s Mail app?
Define “smarter” —- already a vague and overloaded term.

And then consider whether the point of the class is to test smarts, or something else.

I’d expect that’s not the intent of most undergraduate degrees.

Agreed. I vaguely remember another HN link that said Apple tried a competing-team approach to building a better siri, but it fell apart due to internal politics reasons?
Why is it the fastest possible?

Wouldn’t you be able to run a higher clock-speed simulation, and therefore compute the sound ahead-of-time, on a digital device?

Re:Make macOS consistently bad (unironically) on Sunday March 29, 2026 @12:14PM (#47564442)
one forgotten difference is, the underlying hardware would have been built (by woz or others) to a high degree of quality

in general, the bar has fallen. it is not limited to design.

when you find these kinds of bad decisions permeate, you can usually point to the incentive-setters: leadership and shareholders.

Exactly, this form of internet bullying always detracts from the point its author is trying to make.
Re:How Gyms Make Money (2015) on Friday January 05, 2024 @10:15PM (#38888035)
That is a crazy low rate. Which gym is it?
Re:History of Alice and Bob on Tuesday December 26, 2023 @05:53PM (#38776979)
What part of it seems like a criticism to you?
Re:How Big Is YouTube? on Saturday December 23, 2023 @01:55AM (#38742236)
For anyone who's wondering, their estimation method works like so:

1. Assume a range of values

2. Assume a fair probability function for sampling over the range of values

The estimated size is the %-of-hits * the total range of values.

Re:Weak-to-Strong Generalization on Thursday December 14, 2023 @02:36PM (#38646150)
In your example, the amino acids order is sufficient to directly model the result: the sequence of amino acids can directly generate the protein, which is either valid or invalid. All variables are provided within the data.

In the original example, we are testing weather using the previous day’s weather. We may be able to model using whatever correlation exists between the data. This is not the same as accurately predicting results, if the real-world weather function is determined by the weather of surrounding locations, time of year, and moon phase. If our model does not have this data, and it is essential to model the result, how can you accurately model?

In other words: “Garbage in, garbage out”. Good luck modeling an n-th degree polynomial function, given a fraction of the variables to train on.

Re:QEMU-iOS, an emulator for legacy Apple devices on Thursday December 14, 2023 @09:07AM (#38641450)
> For some reason […]

Likely because Apple themselves provide an emulator that accommodates most developers’ needs.

Re:Biscuit Authorization on Thursday December 14, 2023 @09:02AM (#38641404)
So sign your UUIDs and combine them into “$UUID:$HASH” strings for the same benefit. Or a more structured JWT-like payload that still verifies auth against the DB (as opposed to carrying authorization within the token).

No need to reinvision the rest of the auth flow if you just want to add hashing to reduce DB load.

Re:The Ambassador Pattern on Sunday November 26, 2023 @02:05AM (#38419768)
If anything, an obfuscated microservice-based application is easier to understand than a monolithic version: network data transfer is easier for observers to understand than memory modification.
Re:The Ambassador Pattern on Sunday November 26, 2023 @12:05AM (#38419314)
> An ambassador service can be thought of as an out-of-process proxy that is co-located with the client.

> This pattern can be useful for offloading common client connectivity tasks such as monitoring, logging, routing, security (such as TLS), and resiliency patterns in a language agnostic way. It is often used with legacy applications, or other applications that are difficult to modify, in order to extend their networking capabilities. It can also enable a specialized team to implement those features.

Not surprised this is a Microsoft page, given their legacy of long lifetime support for their software products.

It’s not for microservices, but rather for software maintenance of systems that other vendors would consider past EOL.

What is this comment even trying to say?
Re:Privacy is Priceless, but Signal is Expensive on Thursday November 16, 2023 @03:17PM (#38294872)
This number includes taxes, benefits, etc, not just raw salary.

Notably Signal employees do not get equity, so the salary must be higher to remain competitive.

Signal is probably the hardest class of product to build. Name an optimization/distributed systems problem, they probably have it. And quite literally, a Signal bug could jeopardize an activist/journalist’s life.

So for a <$200k salary and no equity, how many world-class engineers do you think you could hire?

I simply wouldn’t trust the product, if it had mediocre engineers.

I think you may be misinterpreting it. Was there an option to log into another account after you clicked “Sign out and Remember”?

Being able to switch between two accounts seems useful in the context of:

1. A recruiter signing out in order to sign into the profile of their CEO/Eng Director to send recruiting messages on their behalf.

2. A marketing person signing out in order to sign in to the company account.

“Google gave the second-place bidder a built-in handicap to make their offer more competitive” is the tamest way of phrasing it, given that the “handicap”’s only effect is to cost the first-place bidder more money.

It never helps the second-place bidder. I’d argue “handicap” is deceitful.

“Google gave the second-place bidder a built-in handicap to make their offer more competitive” is the tamest way of phrasing it, given that the “handicap”’s only effect is to cost the first-place bidder more money. It never helps the second-place bidder.
Re:We manage 200 open-source repos on Friday October 06, 2023 @05:12PM (#37796487)
I was skeptical when the author implied automation was the solution.

But actually, the given solutions are mostly communication-focused, and the automation is to aid in that.

Good read.

Strengthening the rail network and increasing the cost of oil? Sounds like the right incentives to me.
How do you calculate this? Is it based on your previous prescription somehow, or does it require another optometrist appointment?
Re:Google staff rally behind fired AI researcher on Saturday December 05, 2020 @05:49AM (#25313500)
As easy as it is to reply to a salesperson’s email
Re:I am an 80 column purist on Monday November 30, 2020 @10:25AM (#25254688)
> Maybe in context of old C, but in java you have two nestings just for being in class method. So as a general point, it does not stand anyway.

In reference to your above point. You’re saying modern Java makes you start out at 2 levels of indentation. I’m saying your modern monitor’s width compensates.

Re:I am an 80 column purist on Monday November 30, 2020 @08:36AM (#25253520)
And screens are bigger than they used to be, so you conveniently have more tabs to make up for it. I think it evens out
Re:Salesforce is in talks to buy Slack on Wednesday November 25, 2020 @10:52PM (#25216655)
Is this really a problem? Async/await makes async simple, and using a store like zustand gives you hooks and [g/s]etters out of the box.
Re:Does Apple really log every app you run? A technical look on Saturday November 14, 2020 @08:33PM (#25097325)
But they can’t retroactively gain data. So it’s not the same. Besides, security is something you apply in layers.
Re:Roughly 2000 blogs running on a $7/month dyno on Wednesday September 23, 2020 @02:35PM (#24570343)
It seems like you’re grasping at straws to defend your original statement.
Re:Tell HN: Never search for domains on Godaddy.com on Thursday September 17, 2020 @10:44PM (#24512434)
Elephant killing incident??

Older »