HN user

zidel

81 karma

hn_about@nyhus.dev

Posts0
Comments34
View on HN
No posts found.

Rust handles this by automatically unlocking when the MutexGuard returned by lock() is dropped. The issue here is not that the mutex remains locked, but rather that the data protected by the mutex might be inconsistent (and the mutex unlocked) after a panic.

A local group of security people have been running a weekend project they call Project Lion Cage where they take Chinese cars into a local mine with spectrum analyzers etc. to watch where they send data and so on. This is how the bus was evaluated as well. Tor Indstøy has quite a few posts on his LinkedIn page talking about the work and what they have found.

Press release (Norwegian): https://www.mynewsdesk.com/no/ruter/pressreleases/ruter-tar-...

And to add to that, power is almost always the number that is reported/counted so watts is usually correct. That might seem strange since batteries store energy, but in terms of the service they provide to the grid power in/out is more important than storage at least for now.

Edit: 1-2 hours of storage seem to be the current state in Texas at the moment: https://www.renewableenergyworld.com/energy-storage/texas-co...

The requirement is for the government to produce an impact statement (including carbon emissions in foreign countries and emissions from e.g. combustion) as part of the plan for development and operations that is presented to parliament for approval. This follows from the Supreme Court decision in 2020.

There is also a temporary injunction on further developments and decisions related to these three oil fields until the validity of the plan has been decided.

The District Court ruling was appealed by the government yesterday.

Edit:

Machine translated judgement: https://www.greenpeace.org/static/planet4-sweden-stateless/2...

Court documents (mostly in Norwegian, some witness presentations in English): https://www.greenpeace.org/norway/dokumenter-fra-oslo-tingre...

Does this also share back DHT information like a "server"?

No, it ignores all incoming requests. You don't need special software to help out, just run any normal Bittorrent client in the background (no need to download or share anything) and it will help out. Just make sure you forward the right port if you are behind a NAT. Traffic will slowly increase over time, and drop quickly when offline, so leaving it up for days at a time is better when possible.

Car commuters miss commuting the least: 55% of this group do not miss it at all. Commuters by (e-)bicycle are the group who miss commuting the most, with 91% missing at least some aspects of commuting. As might be expected, the feeling of missing commuting also decreases with increasing commute duration (Fig. 5). The connection between work and commuting is evident in the relationship between missing commuting and the intention to work from home in the future (Fig. 7). Among those who do not miss the commute at all, 72% express desire to work more from home in the future. Among those who miss commuting a lot, 69% would like to go back to their previous work routine.

https://urbanstudies.uva.nl/content/blog-series/covid-19-pan...

This matches the numbers that have been reported in Norway as well, where the percentage that miss their commute are roughly 80% for pedestrians/cyclists, 50% for public transport and 30% for driving (https://www.nrk.no/norge/blir-palagt-hjemmekontor-_-mange-sa... in Norwegian)

I think BitTorrent has all the pieces needed for a fully distributed version of your idea. My initial thought is that you could publish a magnet link that points to a mutable DHT item, which in turn points to a torrent that has a JSON file with some metadata and a list of infohashes the publisher cares about. The client could then scrape the "leaf" torrents from multiple lists to get the peer counts and use that for local prioritization of what to store. By reusing existing torrents you could then share resources with standard torrent clients that are unaware of your system.

The list idea could be extended to nested lists (stavros recommends Internet Archive) for discoverability and composition.

If you go with v2 or hybrid torrents from the beginning you could deduplicate and cross seed files from different collections.

The lists could also be modified to have torrents to exclude, possibly using some salt + rehash idea to make it hard to reverse into a list of e.g. CSAM you don't want to publish as is.

Feels like a neat project that could interoperate nicely with existing torrents.

I've played around a bit with DHT indexing recently and a very simple python program using libtorrent to send sample_infohashes (BEP51) and download metadata (to get names/files) was enough to get me 1-2 .torrent files per second without any special effort or aggressive settings. The bottleneck (by 10x) has been the embarrassingly parallel info hash to .torrent step, so speeding things up shouldn't be very hard.

After running it sporadically for a few months I ended up with 1.4M torrent names and 30M info hashes, but I never put any work into estimating the size of the DHT, so I don't know what sort of coverage that represents.

Do you have some data for this assertion? https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...

Of the countries with data for fatalities per billion vehicle-km (not that many), the US (at 7.3) is equal to Belgium, lower than Czech Republic (11.5) and high than the 13 other European countries. In addition, counting fatalities per distance travelled will make driving less look like it has no safety benefits even though fewer people actually die. If we look at fatalities per capita instead (to attempt to adjust for country size, but not policies and behaviour) the US rate is 33% higher than Europe, more than twice as high as Canada and most of Western Europe and 4.5x Norway.

Compared to its peers, the US really doesn't have a low fatality rate.

Oslo has six electric buses in use right now, and will add 70 more by next summer so electric is absolutely an option, but this is a pretty recent development. Much like Denmark none of the major parties here want to actually enforce the 2025 "ban" on fossil fuel cars either, so we can't really expect anything to happen to buses either (at the national level). On the local level the public transit in the Oslo metro area is planning to be fossil fuel free in 2020 and zero emission in 2028.

Norway has prepayment of any amount without penalties (for variable interest loans, the most common variant here) by law.