News for hackers. Stuff that matters.

zeroimpl

Software can be patched by hackers too, which is why you need hardware solutions for security in some cases.

How will your software solution guarantee that the code running is what you think it is?

Re:The battle to invent the automatic rice cooker on Saturday August 01, 2020 @04:45PM (#24023760)
Most of the time that I cook rice, I also need to cook something to go with it. So after I turn on the rice, I then start preparing for the rest of the meal or just tidying up the kitchen a bit. Usually by the time the rice boils, I’m still around. Once you turn down the heat, it doesn’t really matter if you leave it on for 20 or 30 minutes. (40 minutes would be kind of crunchy, but if you’re going to forget about it that long you probably weren’t hungry and shouldn’t have put rice on)

Also I use a glass pot which will stay quite warm for at least an hour after turning it off.

I used to have a rice cooker. But I gave it away to free up counter space. My stove has 4 elements, but counter space is precious.

The original article describes rice cookers were invented because cooking rice over a wood fire is very difficult. I’ve no argument with that. But cooking rice with a generic pot on a modern stove is trivial, and most people buy rice cookers because they’ve been taught to.

Re:The battle to invent the automatic rice cooker on Saturday August 01, 2020 @12:52PM (#24021931)
100%. The proper measuring of ingredients and timing is all that's required.

Take a look at the first line of the article:

    Cooking rice on a stovetop can be fraught. Add too much water and you end up with porridge.
Then take a look at this line shortly afterwards:

    These devices can seem all-knowing. So long as you add water and rice in the right proportions, it’s nearly impossible to mess up
So in other words, the device doesn't actually solve the most important problem... The timing isn't particularly important, as long as you remember to turn down the heat as soon as it starts boiling.
Re:Berners-Lee 'Sorry' for Slashes (2009) on Saturday August 01, 2020 @11:08AM (#24021006)
FWIW I had googled whether hostnames may be entirely digits before asking this, and this SO answer suggested yes. Perhaps that doesn’t apply to URLs? But to be clear I meant hostname not a FQDN, because obviously there is no ambiguity once a dot is present.

https://serverfault.com/questions/638260/is-it-valid-for-a-h...

Re:Berners-Lee 'Sorry' for Slashes (2009) on Thursday July 30, 2020 @11:44PM (#24005441)
What would :443/thing.jpg mean? Is that a port or hostname?
Re:When Hubble stared at nothing for 100 hours (2015) on Saturday July 25, 2020 @12:01AM (#23946757)
That would be one proposal - give 1 hour to 100 different groups.

What you don’t do is sum the 10000 different requests, nor the 100 requests that also want to use 100 hours each.

Re:When Hubble stared at nothing for 100 hours (2015) on Friday July 24, 2020 @07:24PM (#23945511)
But you don’t sum up all the other things for opportunity cost, you take the single max value. In other words, the opportunity cost doesn’t care about how many other people were waiting, it cares only about how much useful results the best alternative proposal would have gotten with the same amount of hours.
Re:Big Sur is both 10.16 and 11.0 on Tuesday July 21, 2020 @10:28PM (#23913339)
Marketable version numbers are quite useful. If somebody says they are running 10.12.3, the first thing I do is check which version I am running to see how that compares. On the other hand, if somebody says they are running iOS 12.1.2, I immediately know that is a patch of the preceding year's major version.

The reason is that Apple actually applies marketing to their iOS version numbers, but doesn't do the same for macOS, because incrementing the minor version isn't marketable. Their crack marketing team does come up with funny names for macOS releases, but few people remember the mapping between those and the actual version numbers.

Re:On Trouser Pockets on Saturday July 18, 2020 @04:21PM (#23884517)
It's only an iteration on cargo pants if they started from cargo pants. If they started from dress pants, then it's an iteration on dress pants. The fact that it might be only a few steps away from cargo pants is irrelevant - it's also only a few steps away from most other pant designs.
Yeah I don’t really understand downvoting on HN. If I see a grey post that looks well written and making reasonable arguments, I like to upvote. If people want to disagree they should reply rather than downvote.

Edit: I don’t mean all down voting is bad - It’s good when people start making personal attacks - but just as often it seems to be used to suppress an unpopular viewpoint.

Does anybody actually look at other users points on a regular basis? I think it’s rare which is why it’s not really relevant.

Besides, it’s not even a measure of popularity but more of a lifetime scoreboard. If HN reported something like average points per post or per day, that would be closer to a popularity metric (eg more inline with “number of followers”)

Re:Apple has €13bn Irish tax bill overturned on Wednesday July 15, 2020 @07:16PM (#23853599)
The money used to pay income taxes also was the consumer's money originally. It's really all the same thing.
Re:Apple has €13bn Irish tax bill overturned on Wednesday July 15, 2020 @06:35PM (#23853167)
I don’t necessarily agree with your conclusion, but I do think it’s important to emphasize that Apple is collecting VAT across the EU and paying large quantities of money to all EU countries as a result. The amount of tax revenue generated by VAT will be an order of magnitude larger than income tax, since the former is on revenue and the latter is on profit.
Re:How to Periodize History: 2020 and the Decade Dilemma on Saturday July 11, 2020 @12:14PM (#23803221)
A decade is a time interval, so by that definition a new decade is being started and ended at every single instant of time.

The important question is not when a decade has started, but rather to know what time period people are talking about when they refer to "the 20s". I think most people would consider 2020 (or 1920) to be a member of that set, but 2030 (and 1930) are not.

Open question: When people refer to "the 1900s", does that include the year 2000?

Re:Help Message for Shell Scripts on Tuesday July 07, 2020 @07:47PM (#23765578)
But which python?
Re:Abstract Wikipedia on Sunday July 05, 2020 @02:32PM (#23740799)
I don’t know about other people, but your definition of “theory” doesn’t match mine. To me the word “theory” is almost identical to “hypothesis”, but generally a bit more comprehensive (eg consists of multiple hypothesis). Calling something a theory doesn’t require any proof nor that it be true.

There are a number of theories related to gravity. That doesn’t mean gravity isn’t a fact, it just means we don’t 100% understand how it works in all situations (eg quantum).

Similar for evolution - there are various scientific theories about the origins of species. And it is absolutely the case that we don’t know 100% how we got from Big Bang to here, thus the theories are still theories. If you just want to point to Darwinism and say fact, you’d be doing a large disservice to us all.

You mean because you can’t tell if “Reddit and the Donald” is one thing or two separate things?
Re:Abstract Wikipedia on Thursday July 02, 2020 @07:28PM (#23719254)
> Do the Hebrew Wikipedia and the Arabic Wikipedia agree on the status of Israel?

If they don’t agree, perhaps they can agree to disagree and we can encode that fact instead.

It seems like biases related to error rates in image classification systems would be one of the easier problems to address - you basically just need to load in more data until the minimum accuracy level for all peoples is good enough.

The harder biases to address are going to be ones where the AI reinforces current undesirable patterns. Eg statistically certain minority groups are more likely to commit petty crimes. If you replaced police with AI robots, these robots would then automatically label people from those minorities as more suspicious. That sucks, and likely has much more complex solutions.

If your mask got infected while wearing it, then you would have gotten infected had you not been wearing it anyways. So even if your poor hand hygiene renders the mask unhelpful, wearing the mask doesn’t overall increase your risk.
Wearing a mask can’t increase your risk of infection. Unless it blocks 0% of droplets, it can’t possibly have no net improvement. And if they really were that useless, why do we keep getting doctors to wear them?

I feel you should be linking to a study showing that telling people they must wear masks to go out would reduce social distancing. To me, the requirement to wear a mask only reinforces the danger.

Would be great to change the default calendar and contacts apps as well. There’s a large list of 3rd-party calendar apps, but the user often gets redirected back to the built-in apps, eg when interacting with invitation emails or notification center.
The question as asked in the title is incorrect. It is not important for a matrix to be square. Matrices are defined to solve specific problems, and the specific problem is what determines the geometry, not some goal of having square matrices.

However the person actually asked why it is important for matrices to be square for most of the theorems they are learning. The actual answers to this are interesting, but the presence of this question likely implies that they are being taught abstract theory first prior to building much intuition.

I was taught this way as well in my advanced pure math course. It was all super abstract until I was studying for the final exam and then had this eureka moment where suddenly everything made sense (a matrix is just a numerical way of describing a linear transform! And computing eigenvectors is like factoring!). Sadly, this happened again the next term where we derived SVD - except this time it never made sense to me until a later on course where we needed to use SVD for some application.

I don't believe this is totally accurate. I've received an email from an online store sent when an order was shipped, it has an image in it which updates according to the shipping status (and now the image shows as delivered). Either Google has added an exception for this retailer (unlikely) or there is a workaround.
A subscription fee closer to 10% starts to look attractive at least for smaller ventures. By dealing with taxes, exchange rates and credit cards, that is a fairly nice set of things to not even need to think about.

But the developer APIs/processes for dealing with in-app purchases are brutal and virtually unchanged over the past 5 years.

Re:SCP – Familiar, Simple, Insecure, and Slow on Friday June 19, 2020 @09:53PM (#23580845)
Yeah, in my case I do need it. Fortunately hpn-ssh has great performance:

https://www.psc.edu/hpn-ssh

Re:SCP – Familiar, Simple, Insecure, and Slow on Friday June 19, 2020 @08:45PM (#23580478)
One security concern is that the filenames for recursive transfers are determined by the untrusted machine. Thus if you fail to validate those, they could send things like ../.bashrc and a naive tool would write that to your home directory, leading to remote code execution.

Presumably by now scp is sufficiently tested not to have this bug. But this is precisely a defense against an evil server sending bad bytes.

Re:SCP – Familiar, Simple, Insecure, and Slow on Friday June 19, 2020 @08:38PM (#23580428)
It turns out that rsync is slower than scp, unless the files are already present. It adds a lot of overhead that’s not needed most of the time.

I often need to transfer very large binary files. When stuck with standard Linux tools, the fastest process is first transfer via scp. If the scp gets interrupted, resume it using rsync with the —-append-verify option.

Re:You download the app and it doesn’t work on Friday June 19, 2020 @08:03PM (#23580210)
Taxes are paid by the consumer. Ideally developers should price things based on how much revenue they want per transaction, and have the 30% fee shown to the user.

If that were the case, there would be nothing unethical about a 30% tax nor a 90% tax.

Therefore, it’s not the size that’s the problem, but the fact that the tax isn’t communicated to the consumer, and also that Apple wants you to charge the same price in-app as elsewhere (though I’m not sure if that part is enforced)

Older »