Better HN
topnewbestaskshowjobs
Log inSign up

zeroimpl

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

Submissions

comment 7y ago · link · parent

lol sounds like you only read the headline. But even if the beef industry dies, that doesn’t mean beef itself is gone - there will certainly be non-industrial producers.

comment 7y ago · link · parent

Nobody said it would go away 100%. But it may become a niche product, like foie gras.

comment 7y ago · link · parent

I’ve tried these burgers and they are decent. But there are far better veggie burgers out there that don’t try to resemble meat at all. For some reason fast food companies stick with their garbage soy-based ones, so I’m happy to see them at least get some better veggie options.

But for reference, quinoa burgers, chickpea burgers, mushroom burgers, black bean burgers, sweet potato burgers, beet burgers - all taste great and are more appealing for most vegetarians/vegans.

comment 7y ago · link · parent

The author mentions that 60% of it is...

comment 7y ago · link · parent

Nut-based milks are a great alternative. Though just like veggie burgers, there are good and bad nut milks - look for ones without tons of additives. They are also trivial to make yourself.

comment 7y ago · link · parent

But when all your apps stop working every time you install a major OS update, are you saying you would be happy to pay again? Because most people will whine like crazy.

comment 7y ago · link · parent

Note that for mobile apps, paid upgrades aren’t really an option for developers due to the way the app stores work. Also, developers constantly need to update apps to be compatible with new OS releases. Only the subscription model aligns with this.

comment 7y ago · link · parent

I’d be interested to know some specifics on how big the index is and how well it performs for different values of the pages_per_range parameter on this dataset.

comment 7y ago · link · parent

Looks like this constant should be parsed as: ElderCousin && (MothersSiblingsDaughter || FathersSistersDaughter)

comment 7y ago · link · parent

R&D expenses will presumably not grow at the same rate

comment 7y ago · link · parent

They probably are also not be expecting to sell as many of these stands as other stand manufacturers, so their manufacturing costs could be significantly higher considering it uses a unique design.

comment 7y ago · link · parent

I'd be willing to settle for a 4K HDR display on my laptop first

comment 7y ago · link · parent

I'm pretty sure there is plenty of 444 content. Movies are likely filmed/edited at 444, they are provided to theaters at 444, but they are generally only made available to consumers at 420.

I believe the reason is that most hardware decoders sold to consumers do not support anything above 420. As Blu-rays and such are all currently 420, the chip makers don't have much incentive to support 444. It's a shame because your TV fully supports 444, and the difference can be huge on some content.

comment 7y ago · link · parent

But it can produce a result which looks better at the same bitrate. It’s not all about speed.

comment 7y ago · link · parent

Chroma subsampling is a terrible idea in the digital era. You should just assign a different compression factor to the chroma channels instead. I don't understand why we keep using this system of discarding 75% of the color data BEFORE applying the lossy compression algorithm. (Well I do know of one argument - apparently it reduces the amount of CPU time required to compress and decompress the data, but I think that's a pretty lame reason)

comment 7y ago · link · parent

“Doesn't choke on fast-flowing outputs”

Nice to see a terminal addressing this issue. Even worse is when the output is super long and has no newlines. That can freeze up my whole desktop at work for minutes.

comment 7y ago · link · parent

I’m not surprised there are a bunch of optimizations which could be made to “ls”. On a related note, I once looked at source code for “rm” (specifically “rm -rf”) and was surprised how inefficient it seemed. Not sure if it has changed since, but it would stat files before deleting and do various permissions checks - things that could be accomplished by just letting the kernel try to do the delete and then checking the status code. That ought to be faster 99% of the time.

comment 7y ago · link · parent

It does seem odd that browsers don’t preload images for hover effects. I guess in practice most hover effects just use colors? Otherwise there’d be a noticeable lag the first time you hover or something.

comment 7y ago · link · parent

It looks like the only safe way to use the Rule system is if you replace the query with exactly one new query. Basically what a view does.

They should really deprecate all other forms. I’ve wasted time reading up on this feature several times, always to conclude there is a better solution to my problem.

comment 7y ago · link · parent

If they supported foreign keys, I’m pretty sure I’d have used it many times. It seems like a good way to efficiently represent multiple distinct types which have some shared columns and some non-shared columns.

comment 7y ago · link · parent

Agreed. I work on databases where column names are capitalized throughout our source code, and it’s annoying when sql like “SELECT FirstName FROM ...” gets output as “firstname”.

This is one case where MySQL seems a bit better.

Note if I could I’d change to lowercase underscore naming conventions, but it’s impossible to change now.

comment 7y ago · link · parent

For Records, can the public read accessor method be overridden? I'm assuming so, otherwise should just make the instance variable public final.

comment 7y ago · link · parent

It’s possible the deal didn’t affect Apple but losing all those lawsuits did.

comment 7y ago · link · parent

I always find the ArrayStoreException funny. I've written a lot of Java code over the years, including a fair bit pre-generics, and yet I don't believe I've ever triggered this exception.

comment 7y ago · link · parent

Yes, I don't see how this MTA-STS avoids the DNS security issue. The system first uses a DNS TXT record to indicate a policy exists, then uses HTTPS to fetch that policy.

comment 7y ago · link · parent

Note the trigger approach mentioned in the article would be terrible for performance in a concurrent environment, since only one transaction could modify the whole table at a time.

comment 7y ago · link · parent

Can somebody explain why this couldn't be as simple as adding a DNS TXT entry which says to use TLS for a specific domain? Then add a large TTL on this DNS entry so it can be cached for a week or more.

If it was that simple, I'd turn this on now.

comment 7y ago · link · parent

I wonder how this compares to filesystem traversal APIs like fts/ftw?

comment 7y ago · link · parent

This is exactly why I said in my original post that I sometimes want this - in many cases I don't, but whenever a user has explicitly input the data I'd like to easily be able to return it in the same timezone. I can (and do) store two columns in the database, but I'd prefer the database and JDBC interface natively support this as a single data type.

Right now, supposing you have two columns, EventTime TIMESTAMPTZ and EventTimeZone TEXT, you'd have to do something like the following in your query to get the data returned to the application properly:

    SELECT (EventTime AT TIME ZONE EventTimeZone) || ' ' || EventTimeZone

comment 7y ago · link · parent

I sometimes wish there was an actual "TIMESTAMP WITH TIME ZONE" type that stored the input timestamp as well. Basically, a version that didn't canonicalize the input by converting to UTC. This way, I can easily show timestamps to the user in the time zone they used to input them.
1
1112131415