Hacker Newsnew | past | comments | ask | show | jobs | submit | mrpopo's commentslogin

Considering at least half of all squares are empty, further compression is in order for the empty space.

Also if you're encoding the king as a position instead of a byte sequence you would have to encode their space as empty, that's an extra 2 bits


I thought the same but realized you can retrospectively 'insert' the king positions into the position sequence, shifting the remaining sequence one square along for each king, so no more bits required though the data structure is unwieldy!

Only half of the squares are empty, you can almost make a chechboard pattern with the pieces. I don't expect an easy small worst case.

It's also 700kg of CO2, one of the best ways to worsen climate change per dollar spent


Ignoring the point that climate sensitivity wasn't in the parent comment, AFAIK, airplanes generate 0.16 kg/km, whereas trains are around 0.1 kg/km and container ships are at 0.016 kg/km. However, passenger ships and gas cars are at 0.25, diesel cars at 0.28 kg/km and rockets are over 1.0 kg/km, so it appears planes are in the middle, not really "one of the best ways" to worsen climate change.

Sure, through a simple analysis of CO2 kg/km, trains are better for the climate for long distance travel, but they are vastly slower (average time from LA to DC is over 80 hours), which has knock-on effects, e.g., sleeping at home averages 0.25 - 0.32 kg/night, whereas staying at a hotel averages 10-40 kg/night, eating at home averages 2.3 kg/meal vs. 3-8 kg/meal, etc.


What is it per passenger-mile, that's what you would have to compare to e.g. a car, bus, or train.


246g of CO2 per passenger kilometer [0]. Versus 35g for national rail

[0]: https://ourworldindata.org/travel-carbon-footprint


Trains are just the most efficient way of moving people between cities. They benefit everyone, even people with cars.

You have a business trip and need to go from A to B by yourself? Take a train, it frees your brain and the highway for people traveling in groups or with lots of luggage.

Incidentally it also avoids moving 2 tonnes of material for no reason.


>Trains are just the most efficient way of moving people between cities.

If the cities are closer than 600 km. Trains are good for movement inside a typical state, but rarely between states.


A passenger train in the USA weighs about 1000 tons, plus another 150 or so tons of locomotive, before we add the passengers (seating 80 per car and about 11 cars for 880 passengers).

That’s about a ton per passenger.


To be fair an EV would be at least two tons per passenger. I guess a 1990s honda civic is still one if the most efficient means of vehicular travel.


It's pretty hard to beat those 90s cars - you could fit five adults in them, and they didn't even weigh 2 tons.


You're preaching to the choir but the average person doesn't care.


I am quite confident that the bandwidth cost is absolutely not a concern for Microsoft, and that the obvious goal is for them to capture the market.

The "C/C++" extension github repository is 4MB. Probably the download size for the extension itself is a fraction of that, but I won't bother measuring. It was downloaded 400 times over the last minute (there is a live counter on the extension page [0]).

[0] https://marketplace.visualstudio.com/items?itemName=ms-vscod...

That's a 25MB/s or 200Mb/s bandwidth, for one of the most popular extensions. Multiply by the top 10 extensions and you get the bandwidth of an average home optic fiber connection...


I am glad you have insider knowledge to be so confident. I would rather those costs go towards furthering VS Code than helping out Cursor. This comes from someone who uses Cursor and not the biggest fan of MSFT.

Pure speculation but I would see the more logical argument being Cursor is a for pay product, why should they have access to the marketplace?


> why should they have access to the marketplace

Because MS didn’t write most of the extensions yet engineered things conveniently such that you have to use their service to get them. Other text editors somehow manage to not lock people into similar dilemmas. They’re not profiting from running the marketplace or providing VS Code for free, it’s about locking people into a product. Cursor should be allowed access because interoperability is a societal net-benefit.

> those costs

…are likely minescule. I run similar services at my day job, just at a much larger scale than a text editor app marketplace, and know the precise cost to run everything. I am often disturbed that people might actually think cost:revenue is tight enough that they should defend a behemoth about callously gating access to it.


> I am often disturbed that people might actually think cost:revenue is tight enough that they should defend a behemoth about callously gating access to it.

I think it's more likely that they imagine themselves in Microsoft's shoes. After all, it's a very popular editor and the mechanism of vendor lock-in is clever - give away the editor under the noble banner of open source, while jealously gate access to the plugin ecosystem that makes the editor as useful as it is.

So no, I don't think they earnestly believe that the egress costs are anything more than pocket change. But it's almost certainly what they would argue if they were in Microsoft's position.


People on HN are conditioned by massively inflated cloud egress prices


Ehhh everything is purely speculation on everyone’s part. Again I don’t think your argument holds up to much.


Couldn’t it wind up being easy for Cursor and other variants of VS Code to be long run beneficial for VS Code itself? Seems like having a different third party team extending your stuff and testing it, could be hugely valuable, they take risks and move fast, the upstream project gradually learns from what works for the forks, people contribute various other new extensions.

In the age of LLMs, community is worth its weight in platinum, cutting off Cursor just incentivizes them to develop some new better thing with better technology (cough Zed, Ghostty) to compete with VS Code which won’t benefit Microsoft because it’ll be separate. What’s the use in not just open sourcing the C extension? With more people moving off C anyway, might as well get the free community contributions


MSFT want to build their own Cursor aka Copilot Agent.

They can build a better product with their resources effectively extinguishing Cursor, who will then need to find a way to differentiate.

If Cursor was smart, they would have decoupled from the beginning as they had first mover advantage. They will now have to adapt while fending off competition from MSFT and the other players.

MSFT meanwhile, have discovered that this market is too profitable to be left untouched. They have probably been building their agent for a while and have now decided to launch while simultaneously blocking direct competition. They already have an ecosystem with users who have switching inertia. It's a brilliant yet ruthless move.


Cursor is a small team, MS is a titanic enterprise. I highly doubt that Cursor could exceed MS when their entire product is built on VSCode in the first place and they can't even seem to describe their usage policies to their paying users.


Aren't you curious how 4MB of typescript can parse and understand C++ code? It doesn't. It downloads an additional 200MB binary language server that does all the work.


Disregard the obvious environmental risks of spraying silver iodide in the air, cloud seeding will artificially redirect rainfall in specific areas, which may deprive downstream regions of water, harming biodiversity. Note that cloud seeding is currently used for drought management, not global warming mitigation.


I don't think a battery swap is more dangerous than the current fuel stations where you can just use your lighter and set everything on fire


Pretty sure Silk Road enabled loads of pedophiles to go about their activities. This is a false equivalence


> The site's terms of service prohibited the sale of certain items. When the Silk Road marketplace first began, the creator and administrators instituted terms of service that prohibited the sale of anything whose purpose was to "harm or defraud." This included child pornography, stolen credit cards, assassinations, and weapons of any type

https://en.wikipedia.org/wiki/Silk_Road_(marketplace)#Produc...


Despite Silk Road explicitly banning CSAM, and the feds not charging Ulbricht with it when you know they would love the positive PR if they could?


What do you mean? Did it actually allow selling anything related to pedophilia? Like CSAM?


Nope. Such content was banned.


> Tesla now focusing more on developing self-driving vehicles than on pushing for huge growth in EV sales volume, which many investors had been counting on.

Yep, don't count on Tesla for replacing fossil fuel cars. They had a good headstart but hopefully other manufacturers will now take its place to fill growing demand


In all likelihood auto manufacturers won't really be responsible for replacing fossil fuel cars. Designing and building the cars is straightforward enough, they need continued leaps energy storage and infrastructure to make that change possible.


> Tesla now focusing more on developing self-driving vehicles than on pushing for huge growth in EV sales volume, which many investors had been counting on.

Oh, come on. Yes, Musk announced that Tesla would announce a self-driving car with no steering wheel in August 2024. Of course, he said that in 2016, in 2018, in 2020...[1]

Reality is that Tesla, while signed up for California DMV's autonomous vehicle test program, didn't report any miles driven last year.

[1] https://www.inverse.com/innovation/tesla-robo-taxi-elon-musk...


And remember that the Cybertruck is steer by wire. The software controls the entire car, and it also happens that the software just randomly crashes.


Thankfully steer-by-wire has been crash tested by the aviation industry...


The aviation industry is also chock full of mandatory servicing requirements[1] that even lead to semi strip downs at regular intervals.

However, once purchased, one is legally allowed to drive a CyberTruck no matter how old or how many issues there are (being licensed and insured etc. aside).

[1] https://www.aopa.org/go-fly/aircraft-and-ownership/maintenan...


An unregulated disaster on the road waiting to happen, if I'm reading your comment correctly


Possibly. Possibly not. I’m no expert so I couldn’t even begin to speculate.

I’m just making a statement on the regulation requirements comparison between the auto and aviation industries really.


Mid-flight, "Hi, this is the captain. We're terribly sorry, but the plane will now be going into a 5 hour reboot mode. We flew through a rain cloud in the sun. Do not be alarmed when the lights turn off and the engines cease."


I believe almost all modern vehicles are like that.

(drive by wire, not crashing all the time)


The cybertruck doesn't just have drive-by-wire it has steer-by-wire. That's really unusual for cars.


Not sure it's still like that, but for a very long time EU required that there is a mechanical linkage between steering wheel and actual steering.


Absolutely not, the other current effort is on a few Lexus systems, I don't know its current status. Accelerate by wire, but drive by wire.


Safe (locked) bike parks are popping up everywhere in Paris


Where everywhere? I haven't seen any recently. Are those being up in underground parking lots? (I don't have a car, so I never go there)

I've even read an article in Le Parisien (local-ish paper) about how some of those bike storage units were actually removed for some reason.


Like in German cities? For the lucky 30 or something that managed to arrive earlier to the spot, and only on the main station.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: