HackerTrans
トップ新着トレンドコメント過去質問紹介求人

zeroimpl

no profile record

コメント

zeroimpl
·11 日前·議論
So is the official pronunciation of SQLite spelling out the letters then? I’d expect “a” not “an”…
zeroimpl
·先月·議論
Was going to give the same example with chili peppers. Tons of varieties and not exactly interchangeable
zeroimpl
·6 か月前·議論
You or the developer could piggy back on “aws configure export-credentials --profile profile-name —-format process” to support any authentication that the CLI supports.
zeroimpl
·6 か月前·議論
The AWS APIs are quite stable and usually do exactly one thing. It’s hard to really see much risk. The worst case seems to be that the API returns a new enum value and the code misinterprets it rather than showing an error message.
zeroimpl
·7 か月前·議論
I wonder if you could pay them to tweak the messaging about your products. So when a user asks: Is drinking Coke everyday good for my health, it starts saying yes because sugar is vital to our survival.
zeroimpl
·8 か月前·議論
Doesn’t that force you to give the Agent some generic code execution environment, or does everybody already do that anyways?
zeroimpl
·9 か月前·議論
I couldn’t find a library like this in PHP, but realized for my use case I could easily hack something together. Algorithm is simply:

- trim off all trailing delimiters: },"

- then add on a fixed suffix: "]}

- then try parsing as a standard json. Ignore results if fails to parse.

This works since the schema I’m parsing had a fairly simple structure where everything of interest was at a specific depth in the hierarchy and values were all strings.
zeroimpl
·9 か月前·議論
If I’m not mistaken, even JSON couldn’t be parsed by a regex due to the recursive nature of nested objects.

But in general we aren’t trying to parse arbitrary documents, we are trying to parse a document with a somewhat-known schema. In this sense, we can parse them so long as the input matches the schema we implicitly assumed.
zeroimpl
·9 か月前·議論
The parent is making a philosophical argument. The exact Hollywood definitions aren’t important since there are far many more job roles in film production compared to software development. If you insist though just replace creator with producer in his original argument and it’s the same - you can produce a movie without doing the acting yourself.
zeroimpl
·9 か月前·議論
You kind of missed the “and direct actors to play it out” part. If you did all of that, that’s essentially the creator.
zeroimpl
·10 か月前·議論
Naively it seems difficult to decrease the ratio of 1.8x while simultaneously increasing availability. The less duplication, the greater risk of data loss if an AZ goes down? (I thought AWS promises you have a complete independent copy in all 3 AZs though?)

To me though the idea that to read like a single 16MB chunk you need to actually read like 4MB of data from 5 different hard drives and that this is faster is baffling.
zeroimpl
·10 か月前·議論
RAID doesn’t exactly make writes faster, it can actually be slower. Depends on if you are using RAID for mirroring or sharding. When you mirror, writes are slower since you have to write to all disks.
zeroimpl
·10 か月前·議論
Metrics from the CDN will be wildly inaccurate. Also downloading a video isn’t the same as watching it.
zeroimpl
·3 年前·議論
It’s pretty common for most SQL queries to be reading data that is entirely cached in memory. In these cases, the performance limitations often come from sorts or hash joins.