6,699 karma · joined Jul 18, 2012 (14y ago) · 1,967 submissions
Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.
Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view
comment 6y ago · link · parent
Hoarding artificially drives up the prices and keeps emergency supplies out of the hands of those who need it most.
When you disallow price gouging, you remove one of the worst incentives for hoarding of critical supplies. You still get some people who think anti-price-gouging laws don't apply to them, or who have never heard of such laws, but that doesn't mean allowing price gouging would improve the situation by any means. On the contrary, more people would hoard for longer, because they see the available supply constricting even faster (due to more people hoarding), driving prices even higher, making their own hoard of supplies seem even more likely to be their ticket to wealth, and if it's perfectly legal, nothing is going to rain on their early retirement.
In the above case of someone hoarding 17,700 bottles of hand sanitizer, they ended up donating the entire stock to avoid being fined for price gouging, which seems like an example of the system working correctly to disincentivize hoarding during an emergency: https://www.nytimes.com/2020/04/22/us/hand-sanitizer-matt-co...
comment 6y ago · link · parent
>> I was just trying to clarify a comment you completely misunderstood.
Alternatively,
“The billing UI and billing infrastructure is a major weakness of AWS when it comes to helping people understand what their usage will cost.” You can clearly see this is true by the large number of people who complain about it.
comment 6y ago · link · parent
I didn’t say anything about this at all. It would certainly be a nice feature, and one people have asked for since the very beginning of AWS.
> Since they don't, if you are literally so concerned with your current costs for this month, you can set a budget and alerts for whatever you want, so that you don't exceed some cost.
Again, this is a strawman. This isn’t a response to anything I said.
If you’re trying to understand how much a new deployment on AWS is costing you, and find ways to optimize that, you don’t care about the total budget of the account, or having some auto shutoff. You need detailed, real-time information from Amazon, which I’ve never seen in the console.
It’s been several years since I’ve had to be digging around in the billing console, so I have no stake in this discussion and things might have changed. Based on other comments being made around here, I really doubt anything significant has changed.
I was just trying to clarify a comment you completely misunderstood.
comment 6y ago · link · parent
That doesn’t show what you are being charged for right now, nor does it help you predict what your total costs will be at the end of the month.
comment 6y ago · link · parent
On the old site, there was a plugin documentation page that made it trivial to see what the plugins were called and what options they took.
I eventually asked my local copy of Caddy what plugins were available, which answered one of the two questions, but am I missing some kind of documentation page?
The interactive, custom build page is an unrelated, but also interesting topic. About a year ago, I was using abiosoft's Caddy Builder image to build a Caddy docker image with the plugins I wanted, but this no longer seems to work even for Caddy V1, and I don't think it has been updated for V2. It would be awesome if there were an official Caddy Builder docker image. Even if the website existed, I would still have to wrap that binary in a docker image somehow for my own use cases.
But, these are all just my personal opinions -- I'm sure you have your own priorities for the project, and I'm excited to see V2 has officially released!
comment 6y ago · link · parent
Apple also lowered the price to $349 at some point in order to continue enticing new purchases, partially compensating for the lack of spec bumps.
But, I don't think a lack of spec bumps indicates they aren't serious about a given market. The iPhone SE appears to be a way to reuse the manufacturing and tooling that was developed for a given multigenerational style for a few more years, further amortizing the cost and providing a value-oriented phone for customers that want this.
If you watch some videos[0], you'll see that the original 2016 iPhone SE is still surprisingly usable in 2020, and it is rumored to get iOS 14 as its last major update.
If they were "not serious" about that market, the original iPhone SE would've been unusuable a year ago, with no clear upgrade path for its users, leading to user pain and confusion. This is not the case at all. Users got along just fine, and the new iPhone SE has launched with plenty of time to spare before things become either painful or unsupported.
[0] example of one video that shows how the new iPhone SE is measurably faster, but the old one is still perfectly usable: https://www.youtube.com/watch?v=KgwtGmyTDiY
comment 6y ago · link · parent
Some examples:
- https://www.youtube.com/watch?v=V8c3pDKdHEc
- https://www.youtube.com/watch?v=QTuKcm8s4QQ
- https://www.youtube.com/watch?v=loGxO3L7rFE
- https://www.youtube.com/watch?v=6pyiiO72ZwM
If you search on youtube for "hololens industrial", you can find other demos. When HoloLens 2 was announced, I think Microsoft showed a number of demos of why companies would buy it for their employees to use on the job.
comment 6y ago · link · parent
https://github.com/mozilla/DeepSpeech
https://hacks.mozilla.org/2019/12/deepspeech-0-6-mozillas-sp...
I haven't had a chance to test it, and I wish there were a client-side WASM demo of it that I could just visit on Mozilla's site.
comment 6y ago · link · parent
In my personal (and possibly wrong) opinion, even a very popular train station shouldn’t have enough people to oversubscribe the LTE airwaves and cause signal congestion.
The Atlanta airport has 3x to 4x as many passengers per year as Glasgow central station, and I’ve never had trouble getting good, solid cellular connection when I’m there... so I don’t think the number of people in close proximity is causing oversubscription of the airwaves.
The carrier you use probably hasn’t put up enough towers, or the towers just don’t have enough backhaul bandwidth to do anything useful.
comment 6y ago · link · parent
There are plenty of reasons to dislike the new iPhone SE, but I don't think lack of 5G should be one.
comment 6y ago · link · parent
5G is extremely overrated. LTE is easily capable of 200Mbps. I’ve personally seen it... but very few people have. Have you? (relevant link that demonstrates over 500Mbps on LTE: https://www.iphoneincanada.ca/news/iphone-11-pro-max-lte-spe...)
Until our towers have enough network backhaul to consistently max out LTE to a phone when that phone needs it, 5G has exactly one benefit: less signal congestion at major sporting / concert events with high densities of people. The carriers would say “marketing” is another benefit, probably.
Just having 5G won’t make the internet any faster in most situations, since the towers are backhaul limited... they aren’t limited by LTE.
Even 200Mbps is more than enough for 99% of people's phones for the next 5 years, especially since that's like double the average home internet speed in the US. The 537Mbps seen in the article I linked to is just excessive by today's standards... and that just requires current LTE.
“5G” also refers to two completely different technologies, which most people probably don’t realize. One of them doesn’t even seem very different from LTE, and the other requires towers for almost every single city block.
comment 6y ago · link · parent
This is exactly what happens when your browser establishes an HTTPS connection. There are many middlemen between you and the web server, but it still manages to negotiate a shared symmetric key (the session key) that can be used for the bulk of the encryption.
The difference is that there is no certificate authority vouching for each participant in a video call's identity, so you would need to do independent identity verification if you want to ensure that the call is secure, which some people would do by reading the public keys of each participant aloud, and people verifying that everything matches what they see.
comment 6y ago · link · parent
TCP and IP are separable[1], so it logically makes sense to have "TCP/IP" mean that you're using them together, rather than meaning some arbitrary suite of protocols that may have nothing to do with TCP specifically.
Cloudflare, which is obviously a major industry player, defines TCP/IP the same way that the webinar authors and I both normally define it.[2] Cloudflare also (logically) refers to UDP/IP as a concept,[3][4] which further supports the notion that TCP/IP is not singularly referring to the whole internet protocol suite.
I understand that people do sometimes use TCP/IP to refer to the internet protocol suite as a whole, including UDP. I've seen it before. That doesn't make it the only (or most logical) definition of the term. It's certainly not the definition the authors of this webinar intended you to use when reading the title.
In the tech world, many terms are overloaded with multiple definitions. This isn’t an uncommon situation by any means.
> this title makes me believe the author doesn't know what he is talking about
Because the authors are choosing to use a different common definition of TCP/IP, you think they're the ignorant ones because you don't know that common definition? Or because you're only willing to read the title in the way that makes it seem the most nonsensical?
I left my first reply because the author of that comment was being so unnecessarily insulting to the authors, and now you're following up with similar snark, and posting it in multiple places on this topic, when there is no evidence to support that your use of the term is the only valid use of the term.
[1]: https://superuser.com/questions/449703/must-tcp-use-ip
[2]: https://www.cloudflare.com/learning/ddos/glossary/tcp-ip/
[3]: https://www.cloudflare.com/learning/ddos/glossary/user-datag...
[4]: https://www.cloudflare.com/learning/ddos/glossary/internet-p...
comment 6y ago · link · parent
What's that quote about throwing stones while living in glass houses?
The headline says nothing about replacing IP. It's talking about replacing "TCP/IP", which is neither "TCP or IP" nor "TCP and IP".
In this case, it's asking whether TCP/IP will be replaced with a protocol (QUIC) that is built on UDP/IP.
IP is definitely still involved.
As with the classic XKCD reference for this situation (https://xkcd.com/927/), I find it very unlikely that it will "replace" TCP/IP in the sense of TCP/IP disappearing altogether, but it certainly stands a chance of replacing TCP/IP in many specific applications that test it and find it beneficial.
comment 6y ago · link · parent
Whichever engineer wrote puts too much weight on the theoretical aspects of HTTP.
The reality is that any of Discord's software could have had erroneous code that announced an empty service list. This would have crashed all of Discord regardless -- transient network errors and mismatched HTTP Content-Length headers need not apply.
A resilient HTTP server will try to handle whatever the HTTP client sends it, and then the specific endpoint can enforce whatever levels of strictness are needed by the application. It's nice to be able to point a finger at "not my code", but how many popular web server libraries (not standalone web servers like nginx or apache) out there will actually flat out reject the entire request because of a simple Content-Length mismatch, rather than handing that decision off to the endpoint?
If an empty string is not a valid value for your service discovery system, you should reject those from the database with a CHECK CONSTRAINT if possible, or with the code that sits in front of the database if CONSTRAINTS don't exist (like I believe is the case for etcd). It's also not a bad idea for the clients to validate what they receive and filter out values they can't handle to enhance robustness.
You definitely shouldn't rely on nothing ever attempting to put a bad value into the database.
The web server's willingness to accept "strictly" malformed requests when the engineers were unaware of this fact was certainly a contributing factor, but I don't think it was the root cause in this case, as they're heavily trying to suggest.
(I think it would be neat to have a "strict" mode that you could turn on for every web server, especially when being used as an internally-facing service, but most companies want to make it as easy as possible for their customers/partners to integrate with their service... and that means accepting requests that aren't always academically perfect.)
comment 6y ago · link · parent
A reasonable first approximation of a solution would be to just check every second (or minute, or hour, depending on requirements) whether the current system time is later than the scheduled time for any pending events. Then you probably want to make sure events are marked as completed so they don’t fire again if the clock moves backwards.
Trying to predict how many seconds to sleep between now and 3pm on Saturday is a difficult task, but you can probably use a time library to do that if it’s important enough... but what happens when the government suddenly declares a sudden change to the time zone offset between now and then? The predictive solution would wake up at the wrong time.
comment 6y ago · link · parent
> These other benchmarks are certainly more relevant but none of them jumps out at me as a killer claim. An EPYC 7402 with 50% more cores, drawing 80% more power, and costing 35% more dollars than a Xeon Silver 4216 delivers 24% more pgsql ops per second. What TCO equation do you plug that into? I would describe these results as mixed.
That's some interesting cherry picking. If I may do some of my own...
- The Epyc 7642 is doing 66% more pg sql ops per second than the Silver 4216, but only using an average of 34% more power than the 4216.
- The Xeon Platinum 8253 is consuming about the same amount of power as the Epyc 7402, costs twice as much, and yet the 7402 is performing 34% faster.
The Xeon Silver 4216 is competitive in this one benchmark, and you declare that the results are "mixed". It gets thoroughly destroyed in tons of other benchmarks.
So, yes, if you will only ever run this specific version of MariaDB on this one server, then it might be a toss up... IF you don't benefit from using PCIe 4.0 to access more (or faster) SSDs, and you don't want to have the option of putting in more RAM.
AMD is consistently better in the overwhelming majority of benchmarks here, especially as you get away from the low end. Saying that Intel has one "toss up" victory in the low end category is not exactly a ringing endorsement to pick Intel here.
comment 6y ago · link · parent
The benchmarks are not just "distributed compilation" either... that's a very misleading characterization. There was one compilation benchmark for the Linux kernel, and that's the only compilation benchmark I remember seeing.
No one benchmarks nginx because nginx can easily saturate the network card on a server without saturating the processor.
Here's a postgres benchmark: https://openbenchmarking.org/embed.php?i=2002066-VE-XEONEPYC...
Or a rocksdb benchmark: https://openbenchmarking.org/embed.php?i=2002066-VE-XEONEPYC...
MariaDB was a rare win for Intel: https://openbenchmarking.org/embed.php?i=2002066-VE-XEONEPYC...
("rare win" is literally the wording used in the Phoronix article: https://www.phoronix.com/scan.php?page=article&item=linux55-...)
ServeTheHome had access to more comprehensive Intel hardware, so I preferred to link to their articles, but Phoronix saw more of the same stuff.
Intel was thoroughly destroyed in every Linux review of Rome vs Intel's latest that I've seen. Intel can eke out some rare wins when applications are heavily optimized for the nuances of their CPUs, but it's not guaranteed even then.
If you can't be bothered to read articles to understand the answer to the question you asked, then this is my last reply.
comment 6y ago · link · parent
Another follow-up article: https://www.servethehome.com/amd-epyc-7702p-review-redefinin...
AMD is offering incredible performance on every metric: single threaded, multithreaded, total RAM per socket, PCIe 4.0, power consumption, total performance, total price, performance for price, etc.
Outside of some very niche applications, the only reason someone would choose Intel for servers right now is because "no one ever got fired for choosing Intel."
AMD's Epyc Rome processors are truly excellent, best-in-class processors.
comment 7y ago · link · parent
From the article:
> If we distort the contrast in an image, we can bring out the ‘watercolor artifacts’ in the clouds
I think you missed that sentence. You posted the "distort the contrast" examples, which were hand edited to exaggerate any artifacts in the photo the iPhone had output.
This is the photo that the iPhone gave the photographer: https://miro.medium.com/max/1800/1*oZgBZGHyxwMevHKiGfATiQ.jp...