HNHacker News
TopNewBestAskShowJobs

yazaddaruvala

3,279 karma · joined May 31, 2013

submissionscomments
yazaddaruvala··on S.F. says incidents by Cruise, Waymo driverless taxis are ‘skyrocketing.’
I roughly agree. I think the only other piece, that is critical to mention, would be remote humans for support in extremely awkward situations to help get the car get back on track as RLHF.

This requires the car can always come to a safe stop, which I think the LLM-based driver should be very capable of doing.

yazaddaruvala··on S.F. says incidents by Cruise, Waymo driverless taxis are ‘skyrocketing.’
> According to the NHTSA, 19% of motor vehicle fatalities involved drivers with invalid licenses. Furthermore, drivers with invalid licenses comprise 13% of all drivers in fatal crashes.

https://www.carinsurance.com/Articles/driving-without-licens...

I'm all for more rigorous driving standards. However, the USA is car centric and people need jobs.

To really do what you're suggesting, the USA would need to regulate car companies to validate driving licenses while the car was in use. AND THEN, the USA would need to figure out what to do with all of these upset newly unemployed and aggressive people.

yazaddaruvala··on S.F. says incidents by Cruise, Waymo driverless taxis are ‘skyrocketing.’
I'm so excited for them to come to Seattle!

There are many people that want them! There are even more than want 90% cheaper Ubers.

yazaddaruvala··on Growing Rat Neurons to Play Video Games [video]
I don't anticipate it will be nice for living in.

Similarly,

I don't anticipate Mars will be nice for living in, until we Terraform it.

Why couldn't we both 1. find a way to "reach it", and 2. find a way to improve it in our favor?

I feel like it'll be the best puzzle yet! Asked differently: What keeps you motivated for society's success, and what will keep you motivated after that is accomplished (asked recursively)?

yazaddaruvala··on Growing Rat Neurons to Play Video Games [video]
More like, we have to invent Neo

FWIW, even if we are all in “prime” and this is not a simulation. There is always the possibility of inventing a way to elevate ourselves out into a higher dimension.

Either way, same goal really.

yazaddaruvala··on Grumpy Locals Are Sabotaging Cruise and Waymo Robotaxis with Traffic Cones
To each their own! I have a protected bike path all the way from my home to work:

https://www.seattle.gov/transportation/projects-and-programs...

yazaddaruvala··on Grumpy Locals Are Sabotaging Cruise and Waymo Robotaxis with Traffic Cones
Yeah, there are bikes.

> in the middle of the sidewalk or in some bush

Yeah, sometimes. The super majority are parked well tho.

yazaddaruvala··on Grumpy Locals Are Sabotaging Cruise and Waymo Robotaxis with Traffic Cones
Reminds me of when the first scooters and bikes were deployed across Seattle.

"Oh this is the worst! people leave them in the middle of the sidewalk"

"They are just gonna get stolen and stripped for parts"

"Everyone please, actively break them, throw them into ditches, or into the water."

X years later, people in Seattle love them - they are constantly in use. Less traffic on the streets, fewer drunk people driving. The homeless have a few stolen ones but actually use them practically (so good for them). And people have learned to park them half-decently.

This will be the same story for AVs. The tech is gonna improve faster than the complaints get filled, and very soon everyone is gonna love paying 80% less for their Ubers.

yazaddaruvala··on Regex engine internals as a library
Yeah basically built a competitor to Hyperscan without the proprietary Intel bits.

Quick notes: to scale past X regexes in the set.

1. Don’t make a single RegexSet. Create multiple internally.

2. Ideally colocate similar partners together.

3. Use the immutability of a RegexSet to your advantage by generating an inverse index of “must match” portions of each regex.

4. When you get an input to match, first check the inverse index for a “may match set”, then only execute the internal automata that may possibly match on the input.

The inverse index can be as complicated (FSTs, or all of Lucene) or simple (hash map ) as you’d like it to be. The better it can filter the regexes in the set the more performance and scale you end up with. And tune the sizes of the internal automata for your usecase for some Goldilocks size for extra perf.

yazaddaruvala··on Regex engine internals as a library
Sure, it has been a while. I worked at Amazon in Brand Protection, specifically on Trademark and Logo infringement.

There were many different strategies at play (eg neural nets) but the false positives can be very expensive. But the one I described above is an expert system of manual overrides that made the final decisions.

Amazon don’t have much structured content, eg “title”, “description” and bad actors are constantly trying to obfuscate using language based grammar tricks or N1ke type attacks.

Also just the law is very nuanced. You can say “a case compatible with iPhone, that is ..” but it is infringement to say “iPhone case that is ..”

Also there are many nuances around licensing. For example, “BurntSushi T-shirts” as a company cannot have the Disney logo on it, however, a “Lego tshirt” might have the Disney logo legally on it. So a lot of overrides.

Even if you compress all the nuances into a single regex, which you can’t: there are 10 MM estimated brands worldwide (Amazon at the time hosted 1 MM) with on average 10 trademarks each that is 10 MM regexes.

Then you also need to multiple the 25 countries Amazon operates in for legal nuances, and multiple languages (eg even in the US Amazon store someone might use Spanish or Italian to sell their fake product). Additionally there is more fanout for reasons I’ve long forgotten.

Point of story 10 MM was a conservative upper bound on the RegexSet and it had to be fast and cheap. I built it on top of Lucene with some hacks here and there but it did (does) the job - fast and cheap :)

I hope now generative AI can help them more, but I’m not holding my breath.

yazaddaruvala··on Regex engine internals as a library
For a problem at work, I needed to create a RegexSet of over 10 MM really long regexes. No engine out of the box could handle it. Even Rust’s RegexSet wasn’t good enough by default.

However, trying to use and read through regex-automata and regex-syntax (even in 2018) was such a very valuable and helpful learning resource. I ended up modeling the project at work off Lucene APIs, but it was all only after learning the basics from the regex crates.

Best set of libs! Thanks sushi!

yazaddaruvala··on Tesla on track to smash targets after producing almost a million EVs in 6 months
If you don’t consider power price arbitration a “power plant” when even the US Department of Energy does, then I’m not sure how to bridge our gap.

Meanwhile, here is a Tesla subsidiary project https://www.bloomberg.com/news/features/2021-03-08/tesla-is-...

Tesla is also constantly vertically integrating. The writing is on the wall. If you’d rather not see it, then ok, that is your prerogative.

yazaddaruvala··on Tesla on track to smash targets after producing almost a million EVs in 6 months
Power plant: https://electrek.co/2022/08/18/teslas-virtual-power-plant-fi...

Here is a grid storage project: https://electrek.co/2022/03/22/tesla-megapack-selected-big-n...

yazaddaruvala··on Tesla on track to smash targets after producing almost a million EVs in 6 months
If Tesla were a car company. However, Tesla is also a fuel-station company. You could just as easily value it against BP or Shell to get better market cap representation.
yazaddaruvala··on How to 1.5x your salary through negotiation
I also used levels.fyi they most certainly helped.

The consultant previously worked at both Amazon and Facebook. I was working at Amazon at the time, and got competing offers from Facebook and Google.

Even with the competing offers I’m very happy I spent $3k for the consultant. Lots of good drafts of emails ( I did still need to carry the email ), but lots of great advice about strategy, and about what buzzwords to say and to avoid, which company to talk to first and what number to ask for that would be very easy for them to hit.

We ended up pushing FBs offer up to the limit before triggering an escalation then sent that to Google to beat. I would NOT have done as well without them.

They even told me “FB is gonna try and pressure you with a time limited offer. The time limit is not real. Don’t feel the pressure.” Stupid info like this was itself worth the money.

yazaddaruvala··on In a major discovery, scientists say space-time churns like a choppy sea
This is so exciting!!!

I get that on Earth we don't seem to have any crazy gravitational effects from the "churning" of spacetime. However, the universe is vast. There might be some parts of spacetime that churn more than it does on Earth.

Can someone with more of a physics based background explain:

Does this mean with the appropriate detection tools, we might actually start finding hyperspace lanes?

i.e. Rather than creating spacetime bubbles with warp engines[0], we could instead "sail" / "surf" certain parts of spacetime for FTL?

[0] https://en.wikipedia.org/wiki/Alcubierre_drive

yazaddaruvala··on Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
> This sort of thing comes up in games, real time control, and robotics, but is not something often seen in web-related software.

I think you're not familiar with web-related software.

> It's essential that the rendering thread(s) not be delayed, even though other background threads are compute bound dealing with a flood of incoming 3D assets.

This is exactly how the browser behaves, and why Javascript needs to be entirely async on the main thread.

For your application it should be very easy to spin up a render thread (pinned to a single core or whatever priority mechanisms you want to use) that loops, and use message passing to get the results from Tokio based futures.

yazaddaruvala··on The world’s empty office buildings have become a debt time bomb
> but the reality is responsibility lies somewhere and that somewhere isn't in more FDIC insurance.

Yes, and this is why $20 BB from SVB investors, hit $0. The bank management and investors were did have to live up to that responsibility.

Should they have to do more? Yes. There should be compensation clawbacks from the C-suite over the last 5 years or something. Lets see where this goes.

yazaddaruvala··on China solar module prices keep diving
Have you ever had an issue with the resistive losses in your long ethernet cords?

If you're prefer you can think of it as: each room gets its own Tesla powerwall, and therefore the battery to wall socket resistive losses are negligible.

yazaddaruvala··on China solar module prices keep diving
100V doesn't cut it, we need them to work off USB-C. The current generation of appliances is a bit too old, and should soon be phased out. It has already begun, but the next generation of appliances all have built in battery and capacitor banks. Batteries are trickle charged through USB-C (i.e. like phones and laptops).

e.g. cordless vacuums / lawn equipment with swappable batteries.

e.g. water proof electric shavers, toothbrushes, blow dryers.

Likely soon induction stoves, air fryers (for instant pre-heat), heat pumps (including the fridge / freezer), blenders, etc. If it can run on USB-C, off the wall cool. If it can't add a battery.

yazaddaruvala··on China solar module prices keep diving
https://www.noodoe.com/blog/what-is-dc-fast-charging-and-how...

Most certainly DC to DC is faster. It is only limited by the local infrastructure. i.e. want to charge faster? own a bigger / better battery bank, with bigger charging cables and a better car.

DC -> DC (with some PWM / battery management) can also be slowed down (or use reduced amps) to best suit the moment. So if versatility is better, then DC to DC is again "better".

yazaddaruvala··on The world’s empty office buildings have become a debt time bomb
The depositors were payroll accounts.

> So who was the bailout for? Not the average guy on the street...

The "bailout" (badly named) was for the average people working at these companies. Their families that wouldn't have gotten a paycheck. The grocery stores they couldn't have bought from.

Payroll accounts should be 100% FDIC insured the same why it works in many other countries.

yazaddaruvala··on The world’s empty office buildings have become a debt time bomb
The depositors, were lied to about the safety of their funds. It was roughly fraud - it wasn't their fault - they didn't take excess risk.

How is it a bailout to let them keep their money? At best its an "internal banking restructuring in favor of the depositors".

yazaddaruvala··on The world’s empty office buildings have become a debt time bomb
The SVB investors which were many millionaires, did lose 100% of their investment.

The depositors, regardless of wealth, were lied to about the safety of their funds. It was roughly fraud - it wasn't their fault - they didn't take excess risk. How is it a bailout to let them keep their money?

yazaddaruvala··on Office real estate crash will be so sharp, values unlikely to recover by 2040
If a speculative bubble was later found to be a victim of pump and dump, then people also can go to jail.

At that point did it stop being a speculative bubble?

The reality is, reality doesn't have such distinct boundaries as you are trying to enforce.

At the end of the day, what is the point of a word's definition? To help communicate an idea to other people and society. The US financial and legal systems are intentionally designed to segregate the less educated. Confusion is their primary strategy to make more money! You can either choose to help them continue the segregation, or you can chose to liberate financial and legal concepts to everyone.

How can you help? By understanding what parts of the concept were easy to understand, what colloquial language is most used to describe it, and then realizing the gaps between the coloquial and technical definitions.

Trying to resolve those gaps with "you're using ponzi wrong" continues the segregation and confusion. Trying to resolve the gaps with "Oh.. you think a ponzi scheme is any scam using obfuscated financial instruments. Ok fair enough lets start the conversation there." you would then continue and say "A typical ponzi schema has a single power structure with a single voice and name e.g. Bernie Madoff. However, in this case it is a ponzi scheme with a distributed set of actors i.e. no one is working together, but still there is large scale issue occurring - we typically call this a speculative bubble / coordinated pump and dump - its not always easy to know what exactly is going on".

You could even continue "Realestate in general has actually been a generational pump and dump scheme. Its not that grandma's everywhere meant to harm anyone, but the common advise to 'buy a hose at any cost' is in favor of the realestate owning elderly (i.e. most of them) and as such is difficult for them to say anything else. Additionally, because its been generational, it seems to have been working for quite some time giving it even more credence. At the end of the day tho, it is a distributed ponzi scheme - if you go to withdraw your money and no one is willing to add even more money (i.e. how much you want, and the "processing fees" around it) - you will not get your money."

yazaddaruvala··on Office real estate crash will be so sharp, values unlikely to recover by 2040
Or we could just be flexible and evolve with any reasonable colloquialisms of the time.
yazaddaruvala··on China solar module prices keep diving
Yeah I feel like this is very tractable problem. Most of my stuff runs on USB-C anyways, I just need USB power outlets everywhere. My lights, motor blinds, bathroom fans can run on POE, including data.

My oven should already have its own battery installed, or a capacitor bank for very fast preheat.

My fridge can do the same. It’s rarely actually compressing.

I’m mostly just trying to avoid needing to buy very expensive inverters.

yazaddaruvala··on China solar module prices keep diving
I'm just talking about DC inside the home. To the meter it should still be AC, then pushed into a battery bank. The house should only use the battery bank (i.e. different battery packs that are dedicated for different parts of the house - like the breaker box - the battery packs exchange power between each other and the grid as needed.

This way DC -> DC fast charging could be a thing, also my DC -> DC oven could pull a lot more Amps and pre-heat very quickly.

Inputs:

- Solar Panels -> Battery Bank

- Grid <-Inverter-> Battery Bank

Outputs:

- Battery Bank -> Washing Machine

- Battery Bank -> Lights

- Battery Bank -> Induction Stove

- Battery Bank -> USC-C to charge devices (my devices could charge so fast!)

yazaddaruvala··on China solar module prices keep diving
> In practice, inverters probably also need partial redesign

I'd also love for appliances to entirely adopt DC.

- Homes should run on batteries.

- Batteries should be trickle charged from the grid with a cheap rectifier.

yazaddaruvala··on Former US SEC attorney: 'Get out of crypto platforms now'
Yeah... so Citadel receives the PFOF from Robinhood before my trade, then Citadel gets access to close my trade at a later millisecond.

Why is that the order it happens in? Maybe, there is no fraud... but really?

← PreviousPage 6 of 34Next →