Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Very quick code reviews (Score 1) 36

The above was already quite long, but allow me to add a bit :-)

I spent a few minutes looking for the state of the art in C++/Rust interop for contexts that don't have a nice intermediary like binder. It turns out that the situation isn't as bad as I thought. The CXX project enables automatic generation of bi-directional definitions between Rust and C++ and is being used at scale by the Chromium project and that seems to be going pretty well.

There's also a Google-funded Rust Foundation project to define a better solution, though I don't see what, if anything, has happened since it was announced last year. Hopefully that's because there's a small group working too hard to waste a lot of time talking about it.

The reason I went to look is that my new team (I left Google a couple of months ago) might need such a thing. I've been asked to define an API that would benefit from being implemented in Rust and usable from C++ and Rust.

Comment Re: I'm so glad the government makes me safe. (Score 1) 92

How do we know that the scalpers would not just continue, but raise their prices even more? It may seem a silly question to some, but IDK, it's the first one that stands out in response to the idea of just raising prices.

We don't, though the laws of supply and demand pretty much dictate that there must be some equilibrium point beyond which people buy fewer tickets and they end up losing money on non-refundable tickets.

Note that I'm not suggesting that raising prices is the right solution. It's a terrible solution.

Comment Re:Trump Mania (Score 1) 177

3) The outbreak is all along the southwest border with large populations of people who lack access to regular health care.

With the republicans holding a majority in 3/3 branches of the government, what are they doing to to combat this problem?

Telling people that vaccines are bad, ensuring that any parent who wishes to refuse to vaccinate their children is fully supported in that decision, and working to make vaccines harder to get, more expensive and more painful (RFK Jr. wants to separate the MMR vaccine into three shots, each of which will still require three injections, so kids will have to get 9 shots to be fully vaccinated instead of three).

This is similar to their plan to fight inflation by imposing tariffs and forcing the Fed to lower interest rates in spite of rising inflation (note that this last part hasn't really happened yet -- the interest rate cuts have been measured, cautious and justified by economic conditions -- but Trump is working on it). Though to be fully fair, by making the tariffs arbitrary and capricious so that business leaders are completely unable to plan, Trump is also causing a contraction in US economic activity that might eventually generate significant unemployment, which actually does reduce inflation. I see no corresponding "silver lining" in the mumps plan, though.

Comment Re:Oh, Such Greatness (Score 1) 177

From an economic perspective, he was right. The Southern slave system enriched a small aristocratic elite—roughly 5% of whites—while offering poor whites very limited upward mobility.

And, ultimately, slavery was a far less efficient and effective economic system. One might think that keeping a big chunk of the populace poor is efficient, since you're not "wasting" a lot of production on providing them with unnecessary goods and services, but it's really not, at least not since the industrial revolution. I think the core reason that it's so inefficient is the same reason that Marxist communism is inefficient: From an economic perspective, both systems value the masses only for their physical labor, and fail to cultivate and take advantage of their brains, which also actually tends to reduce their labor output. Harnessing the distributed ingenuity of your workforce requires giving your workforce some reason to exercise ingenuity and some way to benefit from doing so.

It's going to be interesting (or maybe terrifying, or maybe just sad) to see what happens when we fully automate ingenuity, too, which will mean that the system no longer depends on or benefits from distributed ingenuity because the machines are smarter and think faster, just as the machines are already stronger and indefatigable.

Comment Re: I'm so glad the government makes me safe. (Score 1) 92

The reality is that if the tickets are selling out that fast and they're being resold for significantly more than the original price, then they were underpriced to begin with.

Tickets sell out fast because scalpers use bots to buy them all.

Which in a free market indicates that the price is below what the market would bear. Otherwise, they would be unable to make a profit by reselling them. So the GP is not wrong, at least from a pure price optimization perspective.

This is not to say that there aren't societal benefits from charging less than the market will bear, of course, nor saying that scalping in any way adds value. It is basically rent seeking behavior, which makes it a drain on society. But the point still remains that obviously the ticket vendors could raise the prices to what the scalpers were charging and still sell tickets. Whether the scalpers would then be able to raise their prices further is unknown.

Comment Vibe coding is an intermediate step that will die (Score 1) 18

I don't think vibe coding is going to last long as a thing, because it's just a sort of intermediate step to telling the AI to do what you want and having it do that. Right now, people are telling the LLM to write code to accomplish a thing and then running the code to see how it works, then telling the LLM to refine it, but that's a lot of unnecessary extra steps. I'm sure that in the not-too-distant future people will just tell the LLM what they want to do, which may require creating a custom user interface to make user interaction convenient, and may require creating databases or performing network queries or whatever, and the LLM will understand what they want, and do it.

In that future, it's possible that the LLM may generate code to implement the requested functionality, but if it does so that will be a compute-saving shortcut, essentially a way to cache the LLM's work and be able to repeat it with less effort. There won't be any need to show any of the code to the user, or even tell the user that the LLM chose to generate some code.

As an aside, the whole notion of leaning "prompt engineering" is another intermediate step that will die. The whole point of natural language-capable AI is that it will be able to understand what humans want when we express ourselves as we would to other humans. As the LLMs get more capable, it will become less necessary to treat them as something different from an entity that is fully capable of understanding and acting on human communication.

Comment Re:Very quick code reviews (Score 1) 36

At my company we don't have any dedicated Rust programmers. We all have to learn it (eventually). So passing a review off to a Rust developer or dedicated team isn't an option for us.

C++ reviews go quick for us because we have 20 years of it in our code base. And our changes tend to either be a tiny increment at the core. Or a massive dump of support for a new feature or chip that not every reviewer is familiar with.

At my company we don't have any dedicated Rust programmers. We all have to learn it (eventually). So passing a review off to a Rust developer or dedicated team isn't an option for us.

One of the things Android did very right with the Rust transition was to set up a small team of people who were entirely focused on Rust support. It wasn't a large team, only 2-6 people (it varied over time) out of approximately 1500 engineers. Having that core team who either were or became deep Rust language and toolchain experts was critical to smoothing the path for everyone else. It provided a group that had the knowledge and bandwidth to solve the problems that inevitably came up, as well as to offer advice and code review support to the early adopters.

That group no longer provides code reviews and design advice because Rust knowledge is now widespread enough that teams have their own, homegrown, Rust experts (not people designated as Rust experts, just engineers who became enthusiastic and dived deep), but the group still exists to resolve complex technical problems with language integration and to work on improving tooling and performance.

I think any shop adopting Rust (or any new language or complex tool) needs to have some people who become deeply expert in it and are allowed the time and freedom to support others who are picking it up.

C++ reviews go quick for us because we have 20 years of it in our code base.

So does Android. Google has been a primarily-C++ shop since its inception and although I'm not sure if Android had a lot of C++ in it when Google bought Android in 2005, it definitely became a C++-based system as soon as that happened.

And our changes tend to either be a tiny increment at the core. Or a massive dump of support for a new feature or chip that not every reviewer is familiar with.

The highly-segmented architecture of Android really helped facilitate the transition. Most of Android is structured as a web of collaborating services that communicate through a common language-independent [*] IPC mechanism (binder). Implementing Rust binder IDL generation and support libraries was a moderately big job, but once that was done it was easy to begin writing new system components (or replacing existing system components) in pure Rust, generally without any unsafe blocks at all.

If your code runs as a monolithic process, or has a lot of different IPC mechanisms, or uses a lot of existing libraries, it will be a lot harder, and the benefits will come slower. You'll have to wrap a lot of C interfaces in Rust -- and they will have to be C, not C++, since there isn't a good way for Rust to interoperate directly with C++. People are working on that, but it's a very hard problem and at present the best option is to layer a C interface on top of your C++ code, then wrap a Rust interface around the C interface. Yuck. Or, in the alternative, insert some other language-agnostic boundary between them.

So in a lot of ways Android got lucky because of its modular architecture and single, language-agnostic IPC mechanism. OTOH, that wasn't really "luck", it was a lot of work, done for good reasons, one of which was cross-language compatibility, notably between Java and C++.

[*] Language independent-ish, maybe I should say. The binder IDL is definitively Java-based, but this maps fairly nicely onto OO languages that support common primitive types (int, char, enum), basic composite types (array, vector, class/struct, string (which is just a vector, but used enough to be worth treating as a first-class thing)) and Java-like methods (fixed argument list, single return value). Further, it's based on "old" Java, before Java acquired functional extensions, when doing things like passing method references as argument was uncommon, and therefore not supported. So it's moderately-expressive but avoids things that get weird and complicated. My one big complaint about it is that I wish it supported unsigned integer types. That's my biggest gripe with Java, too.

Comment Re:Nice to have enough money... (Score 1) 25

There's not a whole lot of difference other than the phone company having a higher physical infrastructure barrier to entry.

Yeah, there's a huge difference. The phone company monopoly was created by the government, through permits, exclusive contracts, restrictive rights of way, etc.

That's not actually a meaningful difference as far as antitrust law is concerned. With the possible exception of the monopoly being created by doing something illegal (which then becomes a separate violation on its own), it does not matter *how* a monopoly came to be, only that it is, and whether it causes harm to society, to customers, to other companies in the market, etc.

Telephony is still a restricted market, subject to bureaucratic red tape and other logjams that only the richest can overcome.

It's actually not. Any jacka** can buy a block of phone numbers and set up a trunk line. That's exactly why we have so much Caller ID fraud these days. I mean yes, ostensibly, but in practice, no.

There are no such things to restrict competition to Facebook. You don't have to string hundreds of miles of cable and fill out environmental reports to put up your own site.

Ah, but most phone companies these days don't even have a physical presence anywhere.

They are only a "monopoly" through consumer choice, and maybe copyright law. Also Facebook is entertainment, hardly deserving of any government restraints.

Entertainment monopolies have *lots* of government restraints. It really doesn't matter whether the company is an entertainment company or a toilet paper manufacturer. A monopoly is a monopoly, and subject to antitrust laws.

If you want to share pictures, you can still use email.

Except that email is surprisingly bad as a sharing medium, and 1000x as bad if you want to share large content like photos. But regardless, that's kind of moot.

Nobody owes us a platform. At least that's what I'm always told when I speak up against internet censorship. But nobody has the right to deny me from making my own platform to do as I please, no matter how popular it becomes.

Sure. None of that changes whether having basically one giant platform that almost everyone is on makes it difficult to impossible for any other company to meaningfully compete, though. And when your own platform buys another platform, that's where governments *do* start to have the right to deny a company from doing as it pleases.

Comment Re:Nice to have enough money... (Score 2) 25

even if another company came along and created something that is better, no one would use it, because their friends and family would not be there, because they are all already on Facebook.

User choice, free will. You can't blame Facebook for that.

There's something called a natural monopoly. Social media is likely to be a natural monopoly, in much the same way that the phone company was a natural monopoly before it was forcibly broken up and forced to provide interconnections to other phone companies using shared standards, etc. There's not a whole lot of difference other than the phone company having a higher physical infrastructure barrier to entry.

Regardless, Facebook is not blameless. They bought Instagram, effectively consolidating the potential players in that space from two down to one. And antitrust law does sometimes break up natural monopolies. It isn't about fault or blame. It is about actions taken while in that state that harm competition, harm users, etc.

The users make Facebook what it is. They are not victims. If anything, they are complicit, and trying to pass blame to deny responsibility for their own choices. There is only a monopoly when there are no alternatives.

Doesn't matter. Antitrust law isn't just about the users being victims. It is also about other companies being the victims by being unable to compete because of unfair competition, collusion, excessive mergers, etc. User/purchaser harm is only one narrow aspect of a much larger body of law.

Comment Re:Nice to have enough money... (Score 3, Insightful) 25

Facebook is just more popular. That's not illegal.

It's actually more than that. For a typical website, you would be right. The problem with social media is that it is inherently social. If your friends aren't on the same site, you can't share things with them. People don't join a site that doesn't already have a lot of users, and therefore, there's an almost insurmountable barrier to entry when you end up with one or two entrenched players, in spite of it theoretically being possible to create another site.

And because Facebook is not federated, hides even public content behind a login wall, and makes sharing with non-users generally impractical, they are directly contributing to a situation where even if another company came along and created something that is better, no one would use it, because their friends and family would not be there, because they are all already on Facebook.

In much the same way that the EU basically forced Apple to open up Messages to support RCS for inter-platform communication, the only way Facebook/Instagram will ever realistically stop being a monopoly is if a government forces them to federate with other social media platforms so that you can share with your friends on other platforms. A strong antitrust judgment against Facebook would be a necessary first step towards that.

Besides, Google+ *was* better than Facebook in a lot of ways, IMO. It wasn't enough, though. I created an account, but nobody I knew was on, so I didn't ever post anything, and because people didn't ever post anything, nobody came to use it, and it ended up being a ghost town. The fact that a head-to-head competitor for Facebook emerged, backed by one of the largest companies on the planet, with a significantly better, more capable product, a more flexible sharing model, etc. and still could not successfully compete with Facebook should tell you that no, building a better product will never work.

The only way other sites "compete" is by being entirely orthogonal to Facebook, targeting largely non-overlapping demographics and largely non-overlapping sets of features. But that's not really competing. That's coexisting. I would argue that Facebook has no actual competition, except perhaps in the vague, wishy-washy "competing for eyeball time" fashion, in which case everything online and offline is a competitor.

Comment Re:The price of wealth (Score 1) 83

Does a story like this make anybody else wonder if the lifestyle cost of wealth is too high?

The problem in this story is not the wealth, but its form. Cryptocurrency transactions are generally irreversible and not subject to the layers of process and protection that have been built up around large banking transactions. Keep your money in banks and brokerages like a sensible person and you don't have much risk.

Comment Re:Huh? Where? (Score 1) 60

No it's far from the most expensive option

Uh, yes, the 24-hour cancellation option is always the most expensive one for a given room (ignoring paying extra for add-ons like free breakfast or extra points). What other option would be more expensive? The one that gives the consumer the most flexibility is the one with the highest risk to the property, and that's priced in.

TFA postulates a scenario where the cancellations have disappeared.

Yeah, TFA overstated it. Though if you're not booking through the chain directly, in many cases it is hard to get a 24-hour cancellation policy. Many of the travel aggregator services hide them.

Comment Re:way more than some irrationality (Score 1) 55

The AI thing absolutely is a bubble, but it's not "sand-castle based or vapor based". It's very real. The problem is that the massive wave of investment is going to have to start generating returns within the next 3-4 years or else the financial deals that underpin it all will collapse. That doesn't mean the technology will disappear, it just means that the current investors will lose their shirts, other people will scoop up their assets at firesale prices, and those people will figure out how to deploy it effectively, and create trillions in economic value.

The problem is that the investors - and lenders - potentially losing their shirts include major international banks and pension funds, not just private shareholders. Recently, a J.P. Morgan analysis estimated that at least $650 billion in annual revenue will be required to deliver mere 10% return on the projected AI spend. And already banks like Deutsche Bank are looking to hedge their lending exposure to AI related projects.

If the AI bubble crashes hard, it could be a repeat of the 2007 global financial crisis.

Yep. That's all true even if AI is the most transformative technology ever invented, even if it generates trillions per year in economic output -- it might not do it soon enough to prevent another crash. You don't have to believe that AI is "sand-castle based or vapor based" (which it's really not) to see a big problem coming.

Comment Re:Nice to have enough money... (Score 2) 25

... that you can buy a judge that determines the course of your company.

Yeah, I'm having trouble wondering what's wrong with the universe if a judge thinks that Facebook hasn't basically obliterated all competition in social media.

YouTube is not really social media. YouTube shorts tries to be Tik Tok, and Facebook Reels tries to be Tik Tok, but they're fundamentally different things, because short-form video targets an entirely different category of people than social media and largely serves a different purpose — to entertain, not to inform.

Google/Alphabet's social media site was called Google+, and it died because everybody was on Facebook and Instagram, so nobody used it.

YouTube sharing is too public (and hard to use in any other way now that Google+ circles no longer exist), so it's not really a place to share pictures of your family and share stories with your friends. If it competes with anything in the pseudo-social space, it would be Twitter/X, which I would argue is a microblogging site, nota social media site. They have a fundamentally different kind of target audience.

Apple Messages isn't social media at all. It competes only with SMS. Same with WhatsApp. I can maybe understand a judge concluding that buying WhatsApp didn't meaningfully stifle competition, because no platform for basic point-to-point communication is ever going to prevent competition by apps that come on your phone (e.g. Messages).

But saying that Instagram didn't stifle competition is a cop out. Instagram (3 billion) and Facebook (3 billion) are the only two sites left standing that I would consider to be social media sites, with the sad exceptions of Truth Social (6.3 million), and Mastodon (1.8 million).

If you're in an industry where you have somewhere between three and six billion users and your next largest competitor has one fewer zeros in its user count, and all of the other competitors have three fewer zeros in their user count, you haven't just stifled competition. You've effectively eliminated it.

And Facebook/Instagram have incredible amounts of power when it comes to breaking the open web, hiding content behind a login wall that makes it basically impossible to share things with the public unless they are Facebook/Instagram users themselves, which makes it even harder for competitors to break into the space, because everyone has to be a FB/Insta user if they want to see the content that people create on those site. You can't just casually discover FB/Insta content. So that aspect also strongly leans towards Facebook/Instagram being a monopoly.

The only way you can realistically conclude that Facebook and Instagram aren't a monopoly is if you ignore all of the actual social use of social media and treat them as nothing more than a platform for influencers and bulls**t peddlers to make themselves seen by the whole world. And yes, for that narrow space, all of those platforms compete. But for social media itself — sharing of semi-private information with a close circle of friends and family — none of those other sites actually compete with Facebook and Instagram in any meaningful way, which makes this decision downright appallling.

But congratulations, Facebook, on amassing so much power that the government can't rein you in. I weep for the future of our world, because this really should have been open and shut, and Instagram should have been broken off years ago, the second Google+ proved that competing with that behemoth was infeasible.

But if that wasn't enough proof, the abject failure of Truth Social, where even Donald Trump's enormous influence wasn't enough to make a second traditional social media site become large enough to be viable, should be absolute inarguable proof that the Facebook/Instagram combination stifles competition. It does. Massively. Its very existence makes competition almost impossible, ensuring that the only even semi-social sites that can ever exist are those that focus on largely non-overlapping markets like microblogging.

And I really can't imagine how anyone could look at the evidence and conclude otherwise, because it is so incredibly obvious to me.

Slashdot Top Deals

You cannot have a science without measurement. -- R. W. Hamming

Working...