Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,699 karma · joined Jul 18, 2012 (14y ago) · 1,967 submissions

My email is at gmail using my username.

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

Submissions

comment 5y ago · link · parent

> Aside from Apple, no one is making arm chips to serve the laptop/desktop segment.

You can argue that their chips in this segment are not very good, but Qualcomm is actually specifically addressing the laptop market, and they're not "no one".

https://www.anandtech.com/show/15210/qualcomm-expands-lineup...

comment 5y ago · link · parent

I literally already said you can pay less on aliexpress, and the same absolutely applies to e-ink.

If you're making a point, I can't figure out what it is. This is way off topic.

EDIT: you have edited in some more relevant points, but there definitely is a price that's too high. If you had to pair a $35 computer with a $100 display, most people would absolutely find that to be too much in this hobby context. They would have to either have a lot of money, or a lot of passion for a particular project in order to justify that. Most people will find $20 to be reasonable.

comment 5y ago · link · parent

> For that size screen, yes. I think roughly $1-3/screen for that size is good.

That's just unrealistic. Similar LCD screen is also $20: https://www.adafruit.com/product/358

If you negotiate directly with manufacturers, or order direct from china, I'm certain both of these would be much cheaper, but I'm talking about US retail prices and how LCD and E-Ink are very similarly priced at this level.

> but that’s not where I would source parts for a project unless they had something truly unique

I can link you to other retailers who charge very similar prices. Direct from china is different, and similarly, you can find these e-ink displays for cheaper on aliexpress and similar. That's irrelevant to the discussion.

$20 is fine for this. We're not (as far as I'm aware) talking about someone making a product to sell in bulk on kickstarter. We're talking about buying one to use at home.

comment 5y ago · link · parent

Define "too expensive". Is $20 really too much? https://www.adafruit.com/product/4687

The larger the display, the more expensive it is, but that's not unusual, and LCDs aren't much different in price until you start to get to really large e-ink panels. (Given the depth of the LCD market, I'm sure you can find unusually cheap panels somewhere... the point remains. The prices aren't that bad these days for e-ink.)

comment 5y ago · link · parent

The marketing page indicates that the product isn't finished yet.

Presumably, they will release schematics and such when the device enters manufacturing, if they follow through on actually being Open Hardware.

As others mention, the processor core designs probably won't be open.

comment 5y ago · link · parent

> However, it is not an "open hardware" design in that the IP used to design the chip is not released.

The marketing page for the BeagleV specifically says "Open Hardware Design", but I agree that they probably didn't mean Open Hardware beyond just the PCB layout or something similar.

It would be very surprising if they released the detailed schematics for the SiFive cores. Until there's some kind of common micro-fab standard where every major university can have a legit semiconductor fab for small scale operations, giving people the design doesn't really do much.

I really wish that someone would work on the problem of making affordable, small-scale semiconductor fabrication possible on a reasonably modern node (<= 32nm). It's a hard problem... but everyone in the world being dependent on a few large fabs is also a hard problem.

comment 5y ago · link · parent

I'm not sure if this is comprehensive, but it lists a good number of companies implementing RISC-V.

https://en.wikipedia.org/wiki/RISC-V#Implementations

comment 5y ago · link · parent

Yeah, when you put it that way, it makes more sense.

I still hope they’ll make the rules more permissive at some point, especially as drones are integrating more and more flight automation and collision avoidance technology. Maybe certify certain drones with specific features and restrictions as being suitable for commercial usage without a license? Accidents can still happen, but... accidents can also happen with any kind of commercial activity, even without drones involved at all.

comment 5y ago · link · parent

Many states have laws that specifically prohibit the intentional use of a drone for surveillance of someone else on their personal property.

This announcement isn’t at all related your concerns, and changes (essentially?) nothing there whatsoever.

comment 5y ago · link · parent

What about changing the rules around commercial use of drone photography / videography?

I don't understand why it's fine to use drones to take photos and videos for personal use, and why it's perfectly fine to use the smartphone in your hand for commercially-usable photos and videos, but combine the two and you suddenly have to get an FAA license?

That requirement feels very arbitrary, and it feels like a requirement that will eventually go away.

comment 5y ago · link · parent

The Cache, GPU, and NPU are all already labeled in the image.

The Secure Enclave is a good one to point out that is in the unlabeled space.

Certainly some non-DDR peripherals are in the unlabeled space, but it would be neat to have a more comprehensively labeled diagram. I wouldn't expect most peripherals to take up so many transistors compared to the processor cores.

comment 5y ago · link · parent

One thing being expensive doesn’t make another thing not expensive.

It’s possible for them to both be independently expensive, and I’m saying that unless you can prove that the performance difference makes any difference to company profits, it is literally a huge waste of company money to buy those expensive machines.

A lot of applications will actually perform worse in NUMA environments, so you’re spending more money to get worse performance.

Reality isn’t as simple as “throw unlimited money at Intel to save engineering time.” Intel wishes it was.

Engineering effort will be expended either way. It is worth finding the right solution, rather than the most expensive solution. Especially since that most expensive solution is likely to come with major problems.

comment 5y ago · link · parent

Not really... especially if this is an in-memory database attached to a network, as implied.

It’s only slower if someone can observe the difference, which I don’t think they would be able to in this design.

I’m a strong proponent of using fewer, larger machines and services, instead of incurring the overhead involved in spreading things out into a million microservices on a million machines. But there is a balance to be achieved, and beyond a certain point... synthetic improvements in performance don’t show up in the real world.

Queuing up a few database requests concurrently to make up for the overhead of literally hundreds of nanoseconds of latency is trivial, especially when Optane can service those requests concurrently, unlike a spinning hard drive. Applications running on other machines won’t be able to tell a difference.

But, agree to disagree.

There are probably applications where these mega machines are useful, but I don’t personally find this to be a compelling example.

I readily admit that I could be wrong... but neither of us have numbers in front of us showing a compelling reason for a company to spend unbelievable amounts of money on a single machine. My experiences (limited compared to many, I’m sure) tell me this isn’t the winning scenario, though.

comment 5y ago · link · parent

> its not that hard to imagine why 48TBs of RAM beats out any other architecture (including Optane or Flash).

Agree to disagree.

In-memory databases are common yes, but it is pretty hard to imagine practical situations where an in-memory database can't handle a few nanoseconds of additional latency.

All else being equal, of course more RAM is nice to have. All else is not equal, though, so this is all highly theoretical.

But it is fun to think about!

comment 5y ago · link · parent

You have since edited your comment, so...

> That's not even that hard to figure out! A 48TB Memcached / Redis, which is far more useful than a 8TB Memcached / Redis box.

No... dozens of terabytes of Optane would be just as good and much much cheaper. The person designing the system would have to prove that a few nanoseconds of latency difference makes any material difference to the company's profits in order to justify the more expensive machine. Otherwise, it's a huge waste of company money, hurting the business.

Also keep in mind that Redis is only going to be using a single core of that machine. A total waste of huge amounts of CPU cores just to have a lot of RAM, when there are equally good solutions that cost much less.

You surely must see why I'm skeptical.

> That's the point: spend more money on hardware and then don't spend much engineering time thinking about optimization.

It's bad business practice to buy the most expensive thing possible instead of engineering a solution that is the right price. If the more expensive solution saves money in the long term, sure... but your example doesn't show this.

comment 5y ago · link · parent

Preface: If you have actually encountered applications that must be run on 8-socket systems because those are literally the only fit for the application... I would love to hear about those experiences. With the advent of Epyc Rome, most use cases for these 8-socket systems vanished instantly. It would be fascinating to hear about use cases that still exist. Your experiences are obviously different than mine.

If you need more than 8TB of RAM, with the right application design you can probably do better with fast Optane Persistent Memory or Optane SSDs, and an effective caching strategy. You can have many dozens of terabytes of Optane storage connected to a single system, and Optane is consistently low latency (though not as low latency as RAM, obviously).

If you need more compute power, you can generally do better with multiple linked machines. You can only scale an 8-socket system up to 8 sockets. You can link way more machines than that together to get more CPU performance than any 8 socket system could dream of.

----------

I didn't expect you to read and respond so quickly, so I had edited my previous comment before you submitted your reply.

This was a key quote added to my previous comment:

>> So you really have to be in a very obscure situation which can't fit onto a dual socket Rome server, but can fit within a machine less than 2x larger. (28 cores * 8 sockets is less than 2x larger than 64 cores * 2 sockets)

In response to your current comment,

> If the interconnect is your bottleneck, you spend money on the interconnect to make it faster. Basic engineering: you attack the bottleneck.

Exactly. Using a dual-socket Epyc Rome system would be more than half as powerful as the biggest 8-socket Intel systems, but it would reduce contention over the interconnect dramatically, which means that many applications that are simply wasting money on an 8-socket system would suddenly work better.

This also goes back to my comment about using accelerators instead of an 8-socket system.

The odds of encountering a situation that just happens to work well with Intel's ridiculously complicated 8-socket NUMA interconnect, but can't work well over a network, and can't work well on a system half the size and requires enormous amounts of RAM to keep the cores fed, the odds seem vanishingly small... and in that case, we still have to consider whether an accelerator (GPU, FPGA, or ASIC) could be used to make a solution that is a better fit for the application anyways, and if so, you'll save large amount of money that way as well.

So, to make buying an 8-socket system make sense, the application must require performance that is...

- less than twice a dual socket Epyc Rome system, but greater than one dual socket Epyc Rome system can handle

- not dependent on transferring huge amounts of data around the interconnect

- dependent on very low latency communication between NUMA nodes

- needs enormous memory bandwidth for each NUMA node

- needs huge amounts of RAM on each memory channel (so you can't just use HBM2 on a GPU to get massive amounts of bandwidth, for example)

- etc.

It's a niche within a niche within a niche.

As I said in an earlier comment, I probably should be more impressed instead of being so cynical about the usefulness of such a machine. They are engineering marvels... but in almost every case, you can save money with a different approach and get equal or better results.

That's why 8-socket server sales made up such a small percentage of the market, even before Epyc Rome came in and completely obliterated almost all of the very little value proposition that remained.

comment 5y ago · link · parent

> Wait, so latency over NUMA is too much, but you're willing to incur a 100Gb network link?

The point is not just the latency, but latency and bandwidth.

If the application is relying heavily on the NUMA interconnect to transfer tons of data, it's not going to be making efficient use of the processor cores or the RAM bandwidth. It's a total all around bust. You're just wasting money at that point. ^1

If you aren't relying heavily on the NUMA interconnect, and each node is operating independently with only small bits of information exchanged across the interconnect, then you'd save a metric ton of money by switching to separate machines and using just high speed fiber network links -- such as 100Gb.

I'm not saying that network would be better than the NUMA interconnect. I'm saying that you're not going to be having a happy day if you're relying on the interconnect for large amounts of data transfer.

The only situation where the NUMA set up is better is if you have a need for frequent, low latency communication between NUMA nodes... where very little data is being transferred between nodes, so the entire problem is just latency.

At that point, you're still suffering a lot by the NUMA interconnect, and it would be better to use larger processors... such as Epyc Rome processors.

So you really have to be in a very obscure situation which can't fit onto a dual socket Rome server, but can fit within a machine less than 2x larger. (28 cores * 8 sockets is less than 2x larger than 64 cores * 2 sockets)

You see how complicated this is and how absurdly niche those Platinum 8-socket machines are? They're almost never the right choice.

^1: The exception is if you have an even more niche use case that somehow is built for exactly this scenario in mind, and manages to balance everything perfectly. Such a software is almost certainly ridiculously overcomplicated at this point.

comment 5y ago · link · parent

Sure, I agree it's a lot of bandwidth.

But for that bandwidth to be used efficiently, the processes on each NUMA node need to almost exclusively limit themselves to memory attached to their node -- at which point, well-written software could probably do just as good spread out over several machines that are connected by multiple 100Gb network links, and then you saved two or three bajillion dollars.

If you're heavily using the bandwidth over the NUMA interconnect, then you're not going to be using the memory bandwidth very effectively (and likely not really using the processor cores effectively), and that's when NVDIMMs like Optane Persistent Memory could give you large amounts of bulk memory storage on a smaller system.

Or just use a number of Intel's new PCIe 4.0 Optane SSDs in a single machine in place of the extra memory and memory channels... the latency isn't the same as RAM, but it's much closer than traditional SSDs, and the bandwidth per SSD is like 7GB/s, which is impressive.

It all depends on the application at hand, but there are solutions that cost a lot less than the Platinum machines for virtually every problem, in my opinion.

I don't know... perhaps I'm too cynical of these cost-ineffective systems that just happen to be large, and I should be more impressed.

> NUMA scales better than RDMA / Ethernet / Infiniband. A lot, lot, LOT better.

Disagree.

comment 5y ago · link · parent

> Xeon Platinum supports 8-socket machines. 6x memory channels x 8-sockets == 48x DIMMs for your massive 6TB RAM servers.

Both AMD Epyc Rome and Ampere Altra can support 8TB of RAM in dual socket machines, so that spec isn't particularly impressive anymore.

> Platinum is crazy priced for a crazy reason: its a building block to truly massive computers that only IBM matches.

Meh. A dual-socket Rome system with 128 cores (256 threads), 8TB of RAM, and 128 PCIe 4.0 lanes is an enormous machine. A full 8 socket Platinum system is going to cost an order of magnitude (or two) more, and the performance improvement is going to be less than 2x.

An 8-socket system is going to consume an enormous amount of power, cost an unbelievable amount of money, and the complex NUMA domain combined with Intel's interconnect isn't going to "just work" for almost any software, so you're likely going to put a lot of effort into making that system barely work.

Intel Platinum is priced crazy because Intel is building monolithic processors (which means low yields) and Intel likes to have a substantial profit margin. Together, those mean high prices.

At a certain point, you're better off investing in making your application work on an accelerator of some kind, in the form of a GPU or an FPGA or task-specific ASIC, rather than giving Intel all your money in the hopes of eeking out a marginal performance improvement. Alternatively, finding software that can scale to more than one machine.

Maybe IBM has truly large systems that are worth considering. Intel doesn't right now, unless you're using some software that demands Intel for contractual reasons no one can argue with.

comment 5y ago · link · parent

Keep in mind that Intel also has to compete with AMD... and AMD is also x86_64.

AMD and Altra are trading blows at the high end of performance, as seen in this article, while Intel is... not, except in extremely specialized applications.

Intel servers don't even offer PCIe 4.0 at this time, which is just a bad joke when it comes to building out servers with lots of high performance storage and networking. For now, Intel offers (relatively) poor CPU performance and poor peripheral performance.

So, if your software can't run on Altra, the other choice for high performing servers is AMD, not Intel, unless you're just locked into Intel for historical reasons.

Intel does have some nice budget offerings for cheap servers, though, such as Xeon D.

comment 5y ago · link · parent

The values in the yellow/gold cells in the tables are really hard to read due to very low contrast.

comment 5y ago · link · parent

Unsurprisingly, they benchmarked against the latest that was available at the time. It's not some nefarious trick to make the benchmarks look good. We can see that the heyday of OSv development work was about 7 years ago:

https://github.com/cloudius-systems/osv/graphs/contributors

Hopefully, OSv is a stable product that continues to work well, so heavy investment in development hasn't been needed on an ongoing basis, primarily just maintenance work. Or, it could be abandonware... but the README gives the impression that it is still being maintained.

I would still be hesitant to deploy such a deeply invasive solution, but the idea is interesting.

comment 6y ago · link · parent

How is this at all MacStadium "pretending" to follow the rules? At worst, this is GitHub violating the rules.

MacStadium is renting those macs to a single customer for longer than 24 hours. MacStadium is following the rules. MacStadium is just providing a platform.

You're not really expecting MacStadium to snoop on each customer's usage and business model to enforce Apple's rules? AWS certainly won't be doing that.

If Apple told MacStadium or AWS to stop offering Macs to a customer such as GitHub due to some EULA violation committed by GitHub, they would probably do that.

I don't understand why your comment is trying so hard to frame MacStadium as hypocrites.

comment 6y ago · link · parent

> You make good points and I've learned something about PWA's, thanks. You also acknowledge that it's in Apple's interest to push native, which is absolutely true. The only thing I would disagree with is that you think "Apple just needs to give PWA developers [...]" when Apple does not "need" to do such a thing at all.

Your whole comment is predicated on the interpretation of one word. Apple just needs to support push notifications for PWAs if they want to make PWAs useful and competitive, and it would be helpful for Apple in the antitrust battles that they seem to be facing. That's what I meant by "need". Previously, Apple also needed to add offline support, but they eventually did... so now that isn't a "need" for PWAs to be useful and competitive, even if Apple's offline support for PWAs is limited.

Apple doesn't "need" to implement it from whatever abstract interpretation of the word "need" that you're using... I'm not saying Apple will starve to death if they don't implement it -- it isn't a fundamental business "need" that they currently have.

They should do it, and I really want them to do it.

comment 6y ago · link · parent

I agree completely.

I'm still not a fan of Apple sherlocking popular apps and then proceeding to ban those apps that carved out the market for them... that's a very anticompetitive move.

comment 6y ago · link · parent

> I'm not welcome to buy your app on the App Store though.

If I never release it for iOS at all, you're also not welcome to buy it through the App Store! See how that works? The developer/publisher obviously does get a say in what happens to their app... this is not even slightly shocking. Apple can't force me to develop and release an app for the App Store, which is what you seem to be hoping?

However, there are many publishers competing for your attention. You have a choice, and many of those developers will always choose to use the App Store, since a lot of users browse the App Store. Users vote with their wallets, and developers who don't publish on the App Store would be keenly aware of the uphill battle they might have in convincing users to download their PWA.

> It enables publisher choice and creates this loop where publishers who have a customer bases just move to the store with the fewest restrictions and fees. It's a race to the bottom where the user loses.

Android has supported both sideloading and PWAs with push notifications for many years. Ever notice how the Google Play Store isn't a ghost town? Most Android users still only download apps through the Google Play Store. This is fine -- the users have made their choice, and that's the important thing.

Your doomsday, slippery slope hypothesis of developers vacating the Play Store en masse never occurred on Android. It seems equally unlikely to occur on iOS, unless Apple seriously mismanages their App Store. Still, users and developers should have the choice for meaningful apps to be distributed as PWAs, which essentially requires push notification support.

comment 6y ago · link · parent

The tech specs page you linked says both things:

"USB 4 ports with support for [...]"

"USB 3.1 Gen 2"

It's rather confusing. Is USB 4 just another name for USB 3.1 Gen 2 with Thunderbolt 3 support? I wouldn't put it past the USB IF to come up with something like that, but I don't think that's correct here.

comment 6y ago · link · parent

You’re welcome to use App Store apps... I don’t see the problem.

Safari PWAs protect your privacy better than native apps, because Safari trusts no one. The App Store review process is trying to find a malicious needle in a haystack because iOS by default trusts native apps more than it should, due to the existence of that nebulous review process. Apple is slowly locking down native apps with each successive iOS version... but PWAs have always been extremely private, and they're still the gold standard as far as I've seen.

PWAs are actually completely isolated from each other and from the rest of Safari, so there is no cross-contamination for tracking purposes.

If you don’t want more choice and more privacy... that’s up to you. I really don’t know what to tell you.

PWAs aren't the "wild west" that sideloading apps would be, yet you're trying to use the classic anti-sideloading argument against PWAs, and that argument simply doesn't work here. Apple has supported PWAs since before there was even an Apple App Store for native apps!

PWAs already exist, and PWAs are already extremely private. Apple just needs to give PWAs push notification support. Users would still have complete control over notifications, just like any native app.

Apple heavily pushes native apps because of the profit they get from it, not because of concerns about user privacy. They have already built Safari to protect your privacy on the open web.

1
515253
66