Better HN
topnewbestaskshowjobs
Log inSign up

zeroimpl

621 karma · joined Jan 11, 2018 (8y ago) · 450 submissions

Submissions

comment 6y ago · link · parent

It's a fictitious example. I didn't say there was no weapon, nor said it was definitely theft. The point is that submitting a GET request in a public setting does not mean no crime.

Coercion can be the difference between asking for money and theft. In the case of this intel data, it was clearly coerced from a server - it's not like it was linked on Google, they had to specially craft URLs to coerce the data out.

comment 6y ago · link · parent

That’s a very weak argument. If I’m walking down the street at night and somebody comes up to me and says “GET /money”, I may respond with an HTTP 200, but that doesn’t mean the person didn’t just steal from me.

comment 6y ago · link · parent

It really depends. If I’m building a Java project, I’m pretty sure I’ve got a deterministic build just by running javac pointed at a source directory. If I want a reproducible build, I probably need to do a lot more:

- ensure timestamps of all files embedded in jar files is consistent

- ensure there is no BuildTime/BuildHost/BuildNumber variable of any kind being captured

- ensure the exact version of compiler is documented

- ensure exact versions of all dependencies in classpath is captured

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

What would :443/thing.jpg mean? Is that a port or hostname?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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”)

comment 6y ago · link · parent

The money used to pay income taxes also was the consumer's money originally. It's really all the same thing.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

But which python?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

You mean because you can’t tell if “Reddit and the Donald” is one thing or two separate things?

comment 6y ago · link · parent

> 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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

325.

MATLAB ban on two Chinese universities(news.cgtn.com ↗)

6 points · by zeroimpl · 6y ago · 7 comments

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Yeah, in my case I do need it. Fortunately hpn-ssh has great performance:

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

1
101112
15