HNHacker News
TopNewBestAskShowJobs

Beretta_Vexee

1,246 karma · joined March 5, 2024

submissionscomments
Beretta_Vexee··on Critical Cache Poisoning Vulnerability in Dnsmasq
Dnsmasq forwards invalid requests (containing invalid characters) to the resolver. The resolver silently ignores these requests.

However, Dnsmasq continues to wait for a response. The attacker only needs to brute force 32 bits (source port and TxID) to falsify a response and poison the cache.

The correct and expected behaviour of Dnsmasq would have been not to forward invalid requests to the resolver.

Beretta_Vexee··on Counter-Strike: A billion-dollar game built in a dorm room
Action Quake had quite different gameplay mechanics that made it difficult to get into. The movements were very fast and similar to Quake. Most of the weapons had very specific ranges (sniper rifles were useless at close range, shotguns were useless at long range). Each shot could cause bleeding, which had to be stopped with a tourniquet. Bleeding reduced your health bar and left a trail of blood behind you. Headshots weren't really emphasised. So as a beginner, you'd arrive on the map, take one or two shots from long range, then bleed to death or get finished off with a shotgun within the first 15 seconds. Counter Strike was much more accessible.
Beretta_Vexee··on Here be dragons: Preventing static damage, latchup, and metastability in the 386
I have had to deal with several electronic cards that were unusable upon arrival due to being shipped in unsuitable packaging.

The life of a shipping container can be complicated and include being struck by lightning, the sea breeze, and 50°C in the sun in a car park.

Intel is covering its ass because there's always a subcontractor from an oil drilling company who will set up equipment in the middle of a sandstorm and say he didn't know it was a bad idea.

Beretta_Vexee··on Org-social is a decentralized social network that runs on Org Mode
This looks like a bad hybrid between RSS and Markdown. Am I missing something?
Beretta_Vexee··on Millau Viaduct
Tourism is good, and the area is renowned for trail running, gravel biking (UCI World Series), mountain biking and paragliding.

The viaduct has made some villages on the plateaus much more accessible. Small industrial businesses have set up shop.

The only thing that sucks is that the little railway line will probably never reopen.

Beretta_Vexee··on Millau Viaduct
I remember as a child being stuck in the back seat of the car for over three hours in 35°C heat just to get through Millau.

The town is at the bottom of a very steep valley and it is very difficult to avoid (this involves extremely steep and narrow farm roads that are difficult to navigate without a small 4x4).

Beretta_Vexee··on Data brokers are selling flight information to CBP and ICE
Because there is probably a well-defined regulatory framework for accessing data collected by the TSA, whereas there are few or no requirements when the same data is purchased from a broker.

It is not even certain that the data actually comes from the TSA. It could come from airlines, payment companies, etc.

There is no guarantee of quality when purchasing data from a broker.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
No, because messages have a TTL precisely to avoid continuously flooding of the entire network, or messages looping, etc. Without this, all the links would quickly become saturated, as would the caches, and the network would collapse.

Ideally, the TTL should be as low as possible in order to preserve maximum bandwidth and not hit nodes far from the transmitter.

The Bitchat documentation indicates that the maximum TTL is 7. There is also mention of gateways on the internet to enable long-distance communication.

In the case of IoT devices, their location is generally fixed and the gateway or hub is placed in the centre in order to limit the TTL, save bandwith, limit wakeup time. Some more advanced mesh network protocols use flooding only for announcements and network mapping in order to avoid this problem. This allows it to define preferred routes, set up an acknowledgement system, replay, etc.

Beretta_Vexee··on 7-Zip for Windows can now use more than 64 CPU threads for compression
Working with Igor Pavlov, the creator of 7-zip, does not seem very straightforward (understatement).
Beretta_Vexee··on 7-Zip for Windows can now use more than 64 CPU threads for compression
I just hope that the recipient will be able to open the file without too much difficulty. I am willing to sacrifice a few megabytes if necessary.
Beretta_Vexee··on 7-Zip for Windows can now use more than 64 CPU threads for compression
You are looking for 7-Zip Zstd: https://github.com/mcmilk/7-Zip-Zstd

I don't know what your use case is, but it seems to be quite a niche.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
I'm not against the idea, but it has already been tested with Firechat, Bridgefy, etc. during the protests in Hong Kong in 2019.

It doesn't work very well from a technical and practical point of view. Just having the app on your phone could be enough to get you charged in a totalitarian state.

So it's interesting, but it's not the use case that will democratise this type of ad-hoc network. For example, it is easier to implement end-to-end encryption on an existing infrastructure.

There must be a use case where there is no network connection, enough network participants, and that can accommodate a significant transmission delay.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
Flooding works if there is not too much hops between the sender and the recipient. For indoor IoT, it is very rare to have more than 3 hops and the data rates are extremely low and messages are just few bytes (on/off light, temperature).

It would only take 4 people at 5 hops apart trying to exchange photos of less than a megabyte to completely saturate a network of hundred devices.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
There are already several open source implementations, but the Bluetooth SIG standard only supports flood propagation.

This is fine for managing a few hundred temperature sensors or lighting controls up to the building's floor concentrator, which is the main use case for this standard, but it is completely unsuitable for sending individual messages from user A to user B.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
You probably don't need a decentralised, delay-tolerant network to send a photo to the person in front of you. It's even very likely that this will be much less efficient than a direct Wi-Fi or Bluetooth connection or an AirDrop.

What would be the use case? Send the picture to someone at the other end of the lecture theatre? It's likely that there would be a phone network or Wi-Fi available. A crisis or emergency situation where networks are down? There isn't much population density or movement to propagate the data.

This debate is not new, many teams have worked on wireless ad hoc networks, some with very encouraging results. The real problem is what the use cases are.

That's why I personally think that the use case should be related to travel, transport, sport or vehicle-to-vehicle communication. Situations involving movement and loss of connectivity.

Beretta_Vexee··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
As much as I like the idea of people working on peer-to-peer networks, delay tolerant network, if I'm within Bluetooth range, it's quicker to chat with the person I'm talking to than to go through a messaging app.

That technology is interesting, but it is probably not a good usecase. There are potentially lots of interesting things you could do with smart watches and bike computers, such as uploading activities without direct connection to a phone or sharing routes with nearby participants, etc.

Use cases where you may not necessarily have a phone or adequate network coverage.

Beretta_Vexee··on JavaScript Trademark Update
I personally have come to the conclusion that behind every major open-source or free software success story, there is a completely dysfunctional market. Without this, it would be impossible to find enough people willing to say, “Fuck that shit, we're going to recode this ourselves.”

The fact that there are so many people motivated to code alternatives to Oracle products says a lot about Oracle's business practices.

Beretta_Vexee··on CERN gears up to ship antimatter across Europe
It is really a complex problem.
Beretta_Vexee··on The Awful German Language (1880)
I invite you to listen to Danes conversing before forming an opinion on German pronunciation.
Beretta_Vexee··on The Awful German Language (1880)
Is this the game ‘Tell me you've never visited Italy without telling me you've never visited Italy’?
Beretta_Vexee··on BuyMeACoffee silently dropped support for many countries (2024)
Of course, now imagine the reaction on hackernews if this had concerned the US or Israel. Now explain to me how this is different?
Beretta_Vexee··on Widespread power outage in Spain and Portugal
Load shedding is an active measure taken when the grid operator knows that it will not be able to balance supply and demand. This is what happens in South Africa, where the operator preventively disconnects parts of the network at predetermined times to ensure network balance. As this is programmed, it is possible to rotate the areas under blackout.

In this case, we are dealing with a widespread grid incident. The various grid protection mechanisms have been triggered to prevent interconnection overload. In addition, the generators are trying to correct the grid frequency to exactly 50Hz. At 49Hz, more power must be generated; at 51Hz, less power must be generated. However, if the frequency varies too much, there are also protection mechanisms to prevent the turbines from overspeeding or amplifying frequency variations.

The grid is complex, and normally this type of incident is limited to one cell of the electricity distribution grid. A blackout is a domino effect, when a minor event triggers a chain reaction that disconnects more and more elements from the grid.

Th grid operator will have to restart or reconnect the power plants one by one, restore power to stations and sub stations. All of this must be done in a specific order before power can be restored to consumers. All of this takes time, requires resources (you need men on the ground), and the slightest error can lead to further outages.

Some consumers are prioritised, such as hospitals, transport infrastructure, telecoms and water networks. Many critical pieces of equipment have UPS systems, but these are not always designed for such long outages or have not been tested for years. There are patients with home equipment who will struggle.

This is why rotating load shedding is preferable. The outages are not too long and vital infrastructure is not affected (or less so).

Beretta_Vexee··on Reverse geocoding is hard
The author's problem is similar to many real-world business problems. A simple example is directing delivery drivers to the correct entrance of a large site with multiple entrances depending on the type of delivery (mail to door A, van to door B, semi-trailer to door C).

Sending a Romanian truck driver to a vague address in Holland such as ‘port terminal B somewhere on road 999’ and leaving him to figure it out for himself is not a solution.

Beretta_Vexee··on New material gives copper superalloy-like strength
English is not my native language. I am referring to fatigue caused by thermal cycling. Annealing for one year is done to test the chemical stability of the alloy and ensure that there is no migration or segregation of alloy elements.

There may be unstable hydrodynamic phenomena in a pipe or heat exchanger, which generates a large number of thermal cycles. Such as the instability of a vortex in a mixing or heat exchange zone.

This is a different ageing mechanism. It is very complicated and time-consuming to test in the laboratory.

Beretta_Vexee··on New material gives copper superalloy-like strength
Pressurised water reactors use Inconel tubes. Inconel 600 alloys are high-chromium nickel alloys for steam exchange tubes that are highly resistant to various forms of corrosion (capable of withstanding to 30 years in water with boric acid and 300°C+).

The design of these alloys and exchangers is extremely complex and benefits from several thousand years of operational experience. This applies to the alloys themselves, their heat treatment, shaping, interaction with other materials, ageing, etc.

It is highly unlikely that these alloys will be abandoned in the next 20-30 years.

Beretta_Vexee··on New material gives copper superalloy-like strength
For a bicycle frame, we want an alloy that is relatively light and easy to weld. At no point is weldability considered, and it is not impossible that this alloy welds very poorly (losing its properties in the area thermally affected by welding, requires a very narrow energy range to weld properly).

The advantages of this alloy do not make it a better choice than special steels or titanium alloys when it comes to metallic materials.

There are few cyclists on Venus.

Beretta_Vexee··on New material gives copper superalloy-like strength
No material is cheap when it has just been developed. Titanium alloys were science fiction in the 1980s, and now I can find titanium camping forks and mugs for €10.

Special steels can also cost a fortune (powder metallurgy, superduplex).

There are many more foundries and workshops producing copper alloys than nickel alloys. The supply chain is much simpler and more diverse.

Copper recycling is a reality, but nickel alloy recycling is less so. Significant efforts are being made to reduce dependence on rare metals. No one really knows which ones will actually break through in the future. But having more options is always a good thing.

Beretta_Vexee··on New material gives copper superalloy-like strength
It does not mention corrosion resistance or thermal fatigue at all, but a copper-based alloy with good dimensional stability and thermal conductivity could be an interesting alternative to Inconel alloys for heat exchanger tubes.
Beretta_Vexee··on Air pollution fell substantially as Paris restricted car traffic
Can you demonstrate that Airparif is biased?
Beretta_Vexee··on US Administration announces 34% tariffs on China, 20% on EU
An olive tree reaches the peak of its productivity after 15 years and can live for several centuries.

An adult tree can be so expensive that there are cases of theft. It takes a heavy truck and a tree puller to steal an olive tree.

← PreviousPage 5 of 9Next →