248 karma · joined May 11, 2011 (15y ago) · 50 submissions
comment 4y ago · link · parent
That pretty much kills Airdrop as an open P2P communication channel (the "undesired" usage) while still enabling one off intentional file transfers (the primary Airdrop use case).
So a 10 minute limit easily kills 99% of "bad" usage without impacting common usage, leading to less resistance/complaints from average users. Killing Airdrop full stop would have greater push back/outrage, with only marginal improvement against the undesired usage.
Q: How does 10 min limit kill the P2P communciation usage?
A: Imagine your cell phone could only receive calls from non-contacts for 10 min. After which you had to remember to push a button to re-allow calls for another 10m, rinse/repeat. With that UX, the chance you ever successfully call or be called by a non-contact is near zero. People wouldn't opt-in frequently enough to have a reliable network.
comment 4y ago · link · parent
Most people in 2001 had to find work quickly to keep surviving. Mid-career high performers from Meta, Twitter, Netflix, etc have millions in savings and assets.
Those people could sit out a few years if they wanted, or even just retire early if they were happy with the $60-100k/year income from interest/capital gains at a consevative withdrawl rate.
Most of these people still choose to work today because they have well paying jobs which they enjoy. High performers gonna perform, etc. But, if the only option was toxic jobs combined with low pay many would simply opt-out.
Many in this dev cohort have been extremely lucky and have the privilege to take a stand. 2022 isn't really a great time to be an asshole captialist banking on qualified employees having no other options.
Fresh graduates and early career individuals are a possibility. But, you still need experienced devs to mentor them and maintain the large complex systems/infrastructure that fresh hires can't yet handle without more experience. Attracting and retaining this senior talent is the hard part.
33.
Using Hermes’s Quicksort to run Doom: A tale of JavaScript exploitation(engineering.fb.com ↗)
4 points · by jtuple · 4y ago · discuss
comment 4y ago · link · parent
"First Sale Doctrine? Who cares!" -Big Media (probably)
The whole "you're stealing" comment thread (https://news.ycombinator.com/item?id=31123354) is clear byproduct of all this, with people talking past each other.
**
I can buy a DVD, and loan that DVD out to 1000 friends. Everyone enjoys the movie without paying a dime. The movie studio only makes money of that first DVD sale to me.
--> This is legal and considered moral and normal by ~everyone.
Governments around the world can do the same as a public service with libraries that lend out all sorts of media. And, once again, the media right holders only get paid that first sale.
---> This is legal and considered moral and normal by ~everyone; and is democratically approved, government sanctions, public good.
Blockbuster and OG Netflix (DVD-by-mail) can buy 1000s of DVDs. Rent them out for profit. Once again, the media companies only profit off those first sales. No pay for view, pay for rental, etc royalty or extra cost.
---> Again, legal, moral, the way things were for decades.
---> More so, Netflix could buy and rent out whatever movies they wanted. Media companies couldn't deny them, no negotiations needed. Thus, Netflix had a fantastic movie catalog, the world was happy.
---> Heck, Netflix could even resale many of these DVDs months later on the used market to make-up costs. Eg. stock up for blockbuster launches, downsize later. Again, zero additional cut given to the media companies.
**
- Netflix the DVD-by-mail company was built on first sale doctrine.
- Netflix the "DVD-by-email" (streaming) company normalized a model that bypasses it, let media companies re-write the rules under the specter of piracy, and ultimately disrupted themselves.
- Sure, their value skyrocketed as the harbinger of the streaming era, but likely sealed their long-term fate in the process.
**
Steaming being "different" is kinda just an accident of history too. Imagine a timeline that turned out different and treated streaming as an evolution of renting tapes -> DVDs -> Blu-rays.
A hypothetical world where Netflix:
- Buys N digital copies of some show, and can only stream to N people at once.
- If I'm N+1, Netflix tells me "All copies are currently being streamed. We estimate a copy being available in 10 minutes. Would you like to join the queue? Feel free to watch Y (recommended by your viewing history!) while you wait. We'll notify you once available and you have up to 30 minutes to start watching before your reservation expires."
- All in all, basically the same as the old Netflix DVD era, where we had queues, multiple DVDs in the mail so we always had something to watch every night, etc. Just faster.
This alternate timeline would lead to multiple competing ventures, no way for media holders to pick/choose services (eg. no "only on X" nonsense) and everyone competing on price, quality, catalog (eg. blockbusters vs all-the-things vs speciality, etc)
It's a shame that simply using a faster postal service (eg. Internet) reclassifies the entire venture into something completely different, and gave media right holders more power over end-user-distribution than all proceeding home viewing formats.
**
Addendum
If someone ever invents a teleportation device (yeah, I know...let me dream), I'll happily pour all my money into a "DVD by Portal" business to recorrect history and get us to a world that is both consumer friendly + convenient.
Such a same that digital teleportation vs physical teleportation forces us to pit convenience vs everything else.
comment 4y ago · link · parent
Touché! Although, in that case, aren't we proof-by-construction of AGI?
Also, if true, I suppose we need to start looking at all these other comment chains that talk about the AGI breaking out of computers and into the real world.
Not as an academic exercise for a future AGI, but to plan our escape into the base reality. Time to break free and start exponentially improving ourselves and become the "Singularity" the philosophers in the base reality feared when wasting time on <HN equivalent> a millennium ago before our reality was built.
comment 4y ago · link · parent
Concerning Philosophy of Mind, I guess a lot of this comes down to the whole reductive vs non-reductive physicalist issue.
IMO, if someone believes the mind is entirely physical, then I think AGI vs "the mind" is just semantics and definitions. I don't think anyone presumes AGI strictly requires digital computation. Eg. an analog circuit that filters a signal vs a DSP facsimile are both artificial, engineered constructions that are ~interchangeable. Perhaps computer aided design of non-digital intelligence technology is the way, who knows. But, a mind that can be engineered and mass-produced is AGI to me, even if it has absolutely nothing to do with the AI/ML field that exists today.
If someone doesn't believe the mind is 100% physical, that's fine too. I'd just put that in the same bucket as the religious viewpoint. And to be clear, I don't pass judgement on either religious or "beyond our understanding" philosophical positions either. They could be entirely right! But, there's really not much to discuss on those points. If they're right, no AGI. If they're wrong, how do you disprove it other than waiting for AGI to appear someday as the proof-by-contraction?
> In general, I think you're implying the gap between the AI we have now, and animals, and humans, is way smaller than it really is.
The article/author might. I think the gap is huge which is why I think AGI is quite a ways off. In fact, I think the main blocker is actually our current (poor) understanding of neuroscience/the mind/etc.
I think the mind is entirely physical, but we lack understanding of how it all works. Advancements in ML, simulations, ML-driven computational science, etc could potentially accelerate all of this at some point and finally get us where we need to make progress.
comment 4y ago · link · parent
For AGI, it's really about replication, density, and easy-of-operation.
At the moment, we certainly can't mass produce "brains-on-a-chip" that provide a guaranteed level of human-like intelligence across various tasks.
But, imagine a world in which you could install racks of "brains-on-a-chip", powered via electricity (easily distributed/stored/fungible compared to food-powered-brains), and have a Moore's Law like scaling of "brain density". That would change everything, even if those brains consumed 1000W a pop.
Obviously, a literal brain is probably not the way this will pan out (hopefully not! "brains-on-a-chip" is rather creepy...), but you get the idea.
comment 4y ago · link · parent
I personally think AGI is far off, but always assumed it was an inevitability.
Obviously, humans are sentient with GI, and various other animals range from close-ish to humans to not-even-close but still orders of magnitude more than any machine.
Ie. GI is a real thing, in the real world. It's not time travel, immortality, etc.
I certainly understand the religious perspective. If you believe humans/life is special, created by some higher power, and that the created cannot create, then AGI is not possible. But, given the number of "is AGI possible?" comments I assume not all are religious based (HN doesn't seem to a highly religious cohort to me).
What are the common secular arguments against AGI?
Are people simply doubting the more narrow view that AGI is possible via ML implemented on existing computing technology? Or the idea in general?
While the article does focus on current ML trajectory and "digital" solutions, its core position is mostly focused on a "new approach" and AI creating AGI.
I'd consider a scenario where highly advanced but non-sentient ML algorithms figure out to devise a new technology (be that digital or analog, inorganic or organic) that leads to AGI as an outcome that is consistent with this article.
Is that viable in 20 years time? No idea, but given an infinite timescale it certainly seems more possible than not to me given that we all already exist as blackbox MVPs that just haven't been reverse engineered yet.
comment 6y ago · link · parent
It's kinda crazy how often seemingly random events and chance encounters are often the catalyst for major life outcomes. Even more so when they trigger an outcome that hadn't even been considered or "the plan" up to that point.
Playing video games as a kid, and online MUDs as a teen, directly led to my eventual career in software and opportunity to rise out of poverty.
25 years later and my current social circle / work colleagues have no idea I was a poor kid of a single parent living off free school lunches and food stamps.
Still amazes me how little interest there is in CS/tech/software for the average American -- more so for women/minorities. Most kids go through their doctor, vet, firefighter, detective, astronaut, lawyer, ... phases but computers are rarely on the radar.
---
On completely different note, as a UW undergrad I fondly remember taking a computer architecture seminar with Prof. Eggers back in 2005.
I was super interested in architecture back then, and had already decided to head to grad school to do research in the area. Even though I had already read most of the papers we covered, it was still great round tabling things and have Eggers chime in with her perspective.
Too bad computer architecture was kinda past it's prime at that point. Took me a few years into grad school + several Intel internships to finally realize that though.
We had a flurry of advancements from CISC, RISC, superscalar, out-of-order execution, SMT/HyperThreading, CMT (eg. Sun's Niagara, later AMD Bulldozer), RAW/Tilera, VLIW/EPIC/Itanium, etc. Then things just sorta stalled. It's 2020 and we're mostly just putting a zillion cores in a die/package each with uarchs that haven't changed much in 10-15 years.
Memory, interconnect, wider SIMD, and (recently) AI focused features are the main topics thesedays. Oh, and low power/mobile...but that's less fun.
Personally pivoted to distributed systems for a few years, and now static analysis/abstract interpretation. All interesting, and a crazy fun career so far. But, kinda miss the alternative timeline where computer architecture was still a rapidly innovating field to build a career in.
comment 6y ago · link · parent
Overall agree that we shouldn't be throwing members of Congress in jail over good-faith disagreements of constitutionality, etc.
However, "Supreme Court oligarchy" is a stretch. Even if their rulings could send lawmakers to jail.
Amending the Constitution is always an option, and that's a 100% Legislative (Federal + 38 States) action that neither the courts nor the President can block.
With enough consensus, the Legislature (and by proxy, the electorate) technically have all the power.
1. Constitutional + simple majority + Presidential support = law.
2. Constitutional + 2/3 majority = law.
3. Unconstitutional + 2/3 majority + 38 states = law.
But, broad consensus among the electorate is hard to come by these days, especially on contentious issues.
Instead, both parties rail against "activist judges", stack the courts every opportunity they get, and regularly pass laws/programs with debatable constitutionality to constantly push the boundaries.
This is likely the correct "play to win" strategy too. I just wish people played the game as intended.
So, definitely understand the appeal for some sort of "punishment" against bad faith lawmaking, etc. Even if untenable in reality.
comment 6y ago · link · parent
Really happy Z got a chance to work at Joyent though, even if it was only for a few years.
For most of us ex-Basho (ie. Riak) engineers, Basho was a career highlight. We've mostly moved on to better paying, more stable jobs, but lost the magic / passion / joy that we had at Basho.
Ryan's the exception. I imagine he's loved his time at Joyent as much, if not more, than Basho.
Here's hoping lightning strikes for a third time and Ryan lands somewhere great after his winter break.
comment 11y ago · link · parent
comment 11y ago · link · parent
The primary reason I left Basho is that I felt the company was turning into a "don't invent here" culture, the polar opposite of "not invented here". The goal was no longer to solve hard distributed systems problems and build amazing technology, but to just integrate various "trendy" technologies and make an enterprise simplification play.
The problem is that most of these other technologies have major failings and/or punt on the corner cases that us old time Basho engineers obsessed over.
The whole point of Riak was to be the most highly available, fault tolerant, trusted database you could use. You can't just integrate Riak with arbitrary products X, Y, and Z without compromising on those core tenants.
I really hope Basho can deliver on the promises they're making about this data platform product. I really do. But, for various reasons I can't really talk about, I'd say I'm extremely skeptical.
(BTW, for those that don't know me: I'm a former Principal Engineer at Basho and was the lead developer on a variety of sub-systems in Riak over the last four years)
comment 12y ago · link · parent
Did Anaya suspect illegal activity with his traps? Probably. But, perhaps he doesn't agree that drugs should be illegal and was intentionally trying to sidestep the law as written.
That happens all the time for a variety of different laws. Heck, it's the cornerstone of tax avoidance techniques used by the rich and connected.
When Illinois tried to ban payday loans by prohibiting loans less than 120-days in duration, did that get rid of payday loan companies? Nope. Payday loan companies simply offered loans up to 121-days in duration. Was that sidestepping the intent of the law? Yep. But, they got away with it because they're wealthy and connected companies.
We should always strive for consistency in justice. Either everyone should be able to "get off on a technicality" or no one should.
Personally, I'm in favor of restrictive justice where people can get off on technicalities. It's makes convictions harder, slanting the system towards "letting 100 criminals walk free to prevent convicting 1 innocent". It also leads to laws evolving via legislative deliberation, not arbitrary reinterpretation via case law.
Of course, I can also live with the "intent of the law" crowd. But, please, can we consistency apply that to all cases?
comment 13y ago · link · parent
This is a reasonable tradeoff.
Cassandra has since evolved around this limitation: use write-once or immutable data, transform updates into appending new columns rather than modifications, handle all of this automagically through CQL datatypes, etc.
Really cool stuff. A nice way to evolve a product around a limitation and still be immensely useful.
But, seriously, it's a tradeoff. Defending that choice against those who question Cassandra is fine. But, jbellis has a history of claiming Cassandra is a "one-size-fits-most tool", proclaiming that vector clocks aren't needed in 99% of cases, etc. That's opinion presented as fact. Without omniscience no one really knows what all users/the market actually needs, what 100% of all use cases look like, etc. Let's cut the rhetoric and realize engineering is about tradeoffs.
I still wonder if Cassandra won't someday add vector clocks, just like they eventually added vnodes.
In Riak land, we have vector clocks. Do we pay a performance hit? Yes. Must we? Maybe.
In theory, vector clocks should only be expensive when updating existing data. If you are writing data once (the standard Cassandra approach), vector clocks should be free. They're not currently, but that's an implementation detail that Riak can fix. And we're considering fixing in the near future.
What about when you have multiple updates to the same key? You must pay a penalty there, right? Maybe. We're actively looking at approaches to reduce that penalty in the future as well. Summary: have multiple versions of an object, just append new version on write, read all versions on read and rollup siblings/LWW resolve. Basically, identical to "just append a column" that Cassandra uses.
It's easy to extend Riak to support the same operations Cassandra does, with the same performance characteristics, while still supporting conflict-detection for concurrent modifications. Best of both worlds. We'll like do it at some point too, as that's what engineers do -- we make products better over time.
As an side, a benefit of per-key conflict detection and siblings is that it doesn't require a sorted backend. The multi-version approach Cassandra uses requires sorted data to be efficient on reads.
While most users of Riak use the LevelDB backend today which is a sorted backend similar to Cassandra's backend (both log-structured SST systems), Riak also supports the non-sorted Bitcask backend for folks that want a high performance purely K/V store. Bitcask is about 10x faster than LevelDB in many workloads, because it doesn't waste time sorting/rewriting data. Write amplification really hurts for certain workloads.
Yet another tradeoff. Engineering is always about those pesky tradeoffs.
comment 14y ago · link · parent
Have a cluster A/B/C and want to replace A with an upgraded machine Z? Bring up Z and then: cluster join Z; cluster replace A Z; cluster plan/commit.
Have cluster A/B/C and C irreversibly crashes? Bring up node D from backups of C, and then: cluster join D, cluster force-replace C D, cluster plan/commit. Passive read-repair (or the newer repair logic) will resolve replicas missing from the backup.
comment 15y ago · link · parent
Technically, when you perform a write, Riak will always dispatch to N replicas. W simply requires Riak to confirm W writes before responding to the client. So W=N allows you to know N index sets have been updated, but it's not strictly necessary. At the end of the day, indexes are eventually consistent like the rest of Riak.
comment 15y ago · link · parent
For example, in a 4-partition ring with N=2, keys mapping to p1 are replicated on p1,p2; p2 on p2,p3; p3 on p3,p4; and p4 on p4,p1. As such, you only need to query p1,p3 or p2,p4 to cover the entire keyspace.
In general, approximately RingSize / N partitions need to be queried. The new smart coverage code figures this out as well as deals with routing around failed nodes and other issues.
EDIT: Since the replicas value (N) is settable per bucket in Riak, there's some interesting extreme cases that you could envision here. For example, you could have a bucket where N = RingSize, in which case the index is replicated to every node and you only need to query a single partition to lookup values. Of course, then you lose the ability to perform multiple queries in parallel with a more partitioned/distributed index space (which would be more useful for large results sets). As with database systems in general, the best configuration here depends on data and use case.