The Nasdaq Composite reached an all-time high Tuesday, rising 0.45% and lifting year-to-date gains above 17% as investors shrugged off AI safety risks, high tech valuations and energy shocks from the US war on Iran. The Nasdaq 100 gained 0.82% while the S&P 500 closed flat. Monolithic Power Systems