News for hackers. Stuff that matters.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by prng2021 on Friday October 28, 2022 @12:38AM (#33367738)
Yes let's have engineers that work on an in-car OS and a website that could be created on WordPress assess another company's product that is globally distributed and one of the most highly trafficked sites in the world.

Edit: Didn't mean to downplay the tremendous effort that goes into Tesla's driver assistance features. Just that the architecture, codebases, and problems addressed are so wildly different between the companies.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by stonecharioteer on Friday October 28, 2022 @12:43AM (#33367758)
Elon is displaying every behavior of one of my previous bosses. That man was horrible. He was of slightly above average intelligence but owned the company so his word was law. He would do shit like this, give unqualified opinions on everything and bring in people He trusted, people who had no idea what the problem was, to weigh in. Idiot.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by runlevel1 on Friday October 28, 2022 @03:01AM (#33368462)
To wit, Elon consults his brother, Kimbal, on a social media blockchain idea:

https://muskmessages.com/d/40.html

I'm sure Kimbal's background as a chef, restaurateur, and designated lackey on Elon's various companies' Board of Directors has prepared him well on the subject.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @05:21AM (#33369301)
Well, he’s got 3, multi-billion dollar companies under his belt. Maybe it works.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by xedeon on Friday October 28, 2022 @12:44AM (#33367768)
You realize that the car stuff is only a small part of the entire infra and stack right?
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by prng2021 on Friday October 28, 2022 @12:57AM (#33367835)
My point was just that neither company's engineers has the necessary knowledge to make any meaningful assessment of the other company's architecture and codebases. Both sides are the result of years of iterations to address very unique problems.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by wellthatsawrap1 on Friday October 28, 2022 @02:04AM (#33368181)
Bullshit. That's like saying one company's financial team cant assess another's finances and structure. Happens all the time.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by jh0486 on Friday October 28, 2022 @02:19AM (#33368252)
Agreed. If someone has a deep enough understanding of engineering fundamentals, moving bits is moving bits. It doesn't matter what use case is sitting on top of it.

Also - Let's not act like Twitter is absurdly complex. Handling that amount of traffic was hard in 2008, yes. It's not hard in 2022. The app itself is what? CRUD with stream processing? Some complexity with scaling that, but it's not self-driving... that's for damn sure. Even if they haven't reached L5 yet, L4 AV is an infinitely harder problem than storing arbitrary text/images and serving ads.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by zimpenfish on Friday October 28, 2022 @03:13AM (#33368531)
> L4 AV is an infinitely harder problem than storing arbitrary text/images and serving ads.

It is but it's a different problem. Solving Fermat's last theorem is an infinitely harder problem than, say, speedrunning Minecraft in under 13 minutes but you won't see Sir Andrew Wiles doing the latter - because they are different skillsets.

edit: No idea why I typed Simon Wiles, I know full well his name is Sir Andrew!

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by trashtester on Friday October 28, 2022 @11:02AM (#33372249)
> Agreed. If someone has a deep enough understanding of engineering fundamentals, moving bits is moving bits. It doesn't matter what use case is sitting on top of it.

VERY few developers are at this level, though. Most (>99%) are stuck in some paradigm associated with their typical tasks.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by prng2021 on Friday October 28, 2022 @08:19AM (#33370462)
You don't just get a CS degree and just magically understand everything there is to know about software engineering. There are specializations just like in the medical field and many others.

Tesla engineers working on AI have their own domain specific knowledge they likely spent many years to get a PhD for. The same goes for Twitter engineers working on natural language understanding AI to detect certain types of posts. By your logic there is just one broad category of AI researcher and they're all the same and have the same expertise. Scratch that.. there's just one broad category of computer engineer and they're all the same and have the same expertise. Twitter or Tesla engineers could easily do a code review of Space X's code base right?

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by seniorivn on Friday October 28, 2022 @09:23AM (#33371064)
You might not know how to make a sophisticated ai for censorship, but looking at the code and infrastructure, you are likely to figure out where is the blackbox/political censorship is. And since it seems that Musk is going to get rid of most of censorship(or rebuild it in his favor) that's most likely what he's asked trusted engineers to look at.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @05:19AM (#33369288)
Are you serious? do you know how software development is done? do you know what a repository is? Do you know how to look through repository to find code changes? Any computer scientist can do that there’s nothing special about Twitter I don’t know why you think that. Twitter could be created by an undergraduate CS major.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by rgavuliak on Friday October 28, 2022 @05:37AM (#33369394)
There is a reason the best practice is not to do huge PRs because it's very difficult to review. Now imagine one person has to review all the code generated by a company such as Twitter with 3k+ Engineers across multiple years. Is that even possible given the cognitive load? If so how long would it take to produce anything meaningful?
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by prng2021 on Friday October 28, 2022 @08:10AM (#33370379)
It sounds like you have at least an undergraduate CS degree. Go ahead and recreate Twitter and share your GitHub repo for us to review. No need to rush. I'm happy to wait several decades for you to complete the project.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @03:18PM (#33376255)
I mean how hard could really be since nobody really has access to the fire hose and only gets showing a little bit at a time which is really horizontally scalable. I mean let’s do the math when NVME Drive can write at 4gbps so scale that to match the influx of data rate with room to spare. The point is Tesla engineers are going to look for nefarious action, not to worry about corner cases. what a non sequitur argument that is
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @03:21PM (#33376301)
And the code is not the hard part it’s the scaling in the architecture to handle the rate at which the data will flow.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by lamontcg on Friday October 28, 2022 @11:17AM (#33372464)
> Twitter could be created by an undergraduate CS major.

All the codebases will look like they were created by an undergrad CS major and then have accumulated 16 years of edge conditions. And if you pull it all down and try to rewrite it because it is all overly complicated and everyone who built it was wrong: https://fs.blog/chestertons-fence/

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @03:17PM (#33376241)
Oh, please there’s not that many edge conditions to Twitter for God sakes. It’s not Google.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by lamontcg on Friday October 28, 2022 @08:15PM (#33379639)
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by dxbydt on Friday October 28, 2022 @10:14AM (#33371624)
There's actually a meaningful number of Tesla engineers who previously worked at Twitter, and vice-versa. Which right away invalidates your point.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by prirun on Friday October 28, 2022 @11:09AM (#33372340)
He has to start somewhere.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by netmonk on Friday October 28, 2022 @02:21AM (#33368258)
are you aware that all vehicles from Telsa, are permanently "tweeting" huge telemetry data to an amazon cloud infrastructure managing those petabyte of data to for analysis, training AI, and whatever a fucked brain could imagine.

So basically, there is not difference between "hi im having a pizza with friends at this new restaurant at the corner of my street" and "hi im item #12314 and i just turn left at 50mph speed on a busy road"

Telsa and Twitter are both very mainstream business at acquiring huge amount of data, So intuitively they would share the same similar issue and challenge...

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by tayo42 on Friday October 28, 2022 @02:39AM (#33368360)
You missed the whole storing and showing and appending to time lines part along with inserting a relevant ad into it.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by netmonk on Friday October 28, 2022 @03:01AM (#33368459)
This groups under the banner “fucked brain can imagine”
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by rsynnott on Friday October 28, 2022 @05:45AM (#33369450)
I'm not sure how much telemetry Teslas actually send (do buyers really tolerate their absurdly expensive car reporting their every move back?), but in any case I would assume it all gets stored for bulk processing. Twitter's pretty different; when [insert celeb with 100m followers here] tweets, that tweet should show up for anyone who's looking at their profile, immediately. And the like and retweet counts should update for everyone looking at the tweet that just went out to 100m people (actually, it would be possible for Twitter to fudge this bit, but they don't seem to).

These might seem on the face of it similar problems, but really they're not at all. Ingesting lots of data is ~trivial; dealing with lots of data in realtime somewhat less so.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by netmonk on Friday October 28, 2022 @06:32AM (#33369674)
similar workload is live update trafic monitoring. collect data from all agents, and redistribute aggregated/processed data to all agent, and update route to optimise time or length or both of travel. collecting data, ingesting data, redistributing ingested/processed data.

I remember back on 2015, there was an AMA on reddit from a former engineer from Telsa.

I remember clearly how he explained how Telsa struggled to update thousand of car's firmware with legacy RH5 vm running on amazon and openssl 0.98 incompatibility with upper version.

I found it very amusing, cause at the same time, i was working at one of the leader of payment industry and POS maker. And we where exactly struggling with the same issue updating firmware of hundred thousand POS terminal in the wild (except that our servers where on premise and not at aws)and dealing with this openssl issue.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by padolsey on Friday October 28, 2022 @05:54AM (#33369495)
Twitter at scale is far more complex. With Tesla's telemetry it's just writing to a datastore, with less fuss around latencies, data duplication or consistency. There's no need for millions of clients to then get updated, as there is on twitter. Musk tweets and 110M+ users (+thousands of API clients) need to receive that almost immediately. Twitter has figured out how to do this in a very scalable fashion. Once you know how it's done it's not all that impressive on its own but when you take into account the littany of other features twitter has to maintain at scale you start to realize how many unique problem domains there are within the org.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by coffeeblack on Friday October 28, 2022 @03:46AM (#33368714)
Not to interrupt your rant but, Tesla might just also have a distributed backend for their cars to communicate with, that might even be globally distributed. And I would even say that it probably processes more data/sec than the Twitter “product”.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by altacc on Friday October 28, 2022 @04:26AM (#33368953)
I had a similar thought as whilst the technology might be similar in some ways the context, the history, the use cases and the driving principles are different. Anyone who has started a development job working on an established architecture and codebase should know that it takes months to begin to understand to a good level what's going on and why.

Opinions can be given but should not be taken as gospel over the opinions of the existing developers. But a lot of the time a new owner will take the opinions of their trusted sources (whose paycheck depends upon validating their boss' opinion) versus established experts. Good solutions come from discussion between these two opinions.

Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @05:17AM (#33369270)
Are you for real bro? they’re gonna go look through that git log and find every instance where Twitter did something shady. I’m betting the farm that they did.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by trashtester on Friday October 28, 2022 @11:04AM (#33372281)
I'm also reasonably sure they're making sure that they're backing up all git repos, to make sure no such commits are tampered with.
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by water8 on Friday October 28, 2022 @03:22PM (#33376317)
Even if your tamper with one repo, you have to basically kill all clones of the repo to get rid of all the evidence
Re:Tesla Engineers Visit Twitter Office to Review Code for Musk by leg0m4n on Friday October 28, 2022 @02:47PM (#33375705)
Design principles are all the same, no matter what product you are building. Besides that you just bought a "cat in a bag" with very ambitious goals of redesigning it, don't you want your smartest engineers to look at it first? Or what would be your plan if you were in the Musk's shoes right now?