HNHacker News
TopNewBestAskShowJobs

Foivos

441 karma · joined March 27, 2015

submissionscomments
Foivos··on Does uBlock Origin bypass the latest YouTube anti-adblock script?
What value do you bring to YouTube, especially since YouTube does not make any money from you?
Foivos··on Advent of Code 2023 is nigh
The main difficulty of part 2 is that there are edge cases that are not covered by the examples. I have appended the example list with some edge cases, so use this list instead:

two1nine eightwothree abcone2threexyz xtwone3four 4nineeightseven2 zoneight234 7pqrstsixteen eighthree sevenine oneight xtwone3four three7one7 eightwothree oooneeone eight7eight

Foivos··on Curl on 100 Operating Systems
One of the reasons for this popularity is the permissive license. I would guess that the license is MIT, but seems to be a bit different [1]. Does anybody know (in simple words) what are the main differences with MIT? The copyright webpage does not elaborate.

[1] https://curl.se/docs/copyright.html

Foivos··on Retroactive: Run Aperture, iPhoto and iTunes on macOS Ventura, Monterey, Big Sur
If it was neglected they would not touch it. The current versions have less functionality for no obvious reason.
Foivos··on Photographer showcases the power of iPhone 15 pro max
It presents work commissioned by Apple. So it is more like an advertorial.
Foivos··on DJI Mini 4 Pro
US and Brazil follow the FCC rules. I would guess most of the Carribbean would follow FCC as well.
Foivos··on DJI Mini 4 Pro
Which country was that? The drone detects the country through GPS upon startup and limits its transmission power according to the local laws.

In the US, the drone can use way higher transmission power (~ 4-20 times more, depending on the drone) .

Foivos··on DJI Mini 4 Pro
If you want the drone to autonomously track you, then the mini 4 pro is the only realistic choice since it has obstacle detection at all directions. The mini 3 pro does not have obstacle detection at the sides.

In a mountain bike scenario, the drone is mostly capturing you on the side and it is moving sideways itself. So, unless you want to fly it next to the sea, you want to have sideways obstacle detection. Or, just have a friend control it. :)

Foivos··on DJI Mini 4 Pro
Keep in mind that this only applies to the FCC regulations. In Europe (CE regulations) the claimed range is 10 km.

The mini 3 pro has a CE regulations claimed range of 8 km, but after 2.5 km I pretty much loose connection. If I turn the drone to face my direction, I might be able to fly it a bit further, but at this point it is so hard to control it, that there is no point.

Btw, according to regulations, you can not fly it without line of sight. So, in practice the "legal" range is a few hundrend meters. I have yet to see an observer with binoculars. :)

Foivos··on DJI Mini 4 Pro
I have noticed that it really depends on the wind direction. If the wind blows from the drone towards the people, you could hear it at 50 meters. Plus, when there is a lot of wind it makes much more noise in its struggle to fight it. Otherwise, unless it is directly next to you, you can hardly hear anything.

My biggest crowd are children and pets. They always seem to be amused by the drone.

Foivos··on VanMoof encryption key exporter
What do you mean "go through"? What does a bike have that gets consumed to the point that you have to replace the whole thing?
Foivos··on Ask HN: How do you not take criticism of your work personally?
One option is to be involved in non-work activities. If your only source of self worth is your job, then any criticism to it is a criticism to your self worth. If you have multiple sources of self worth the a criticism to your work has a smaller effect to your self worth.

For example, you might be a dance teacher in the afternoons where your students really admire you or you are the “popular” person among a group of friends.

Foivos··on High Performance Browser Networking
At the time of writing the book, the author was referencing state of the art papers for the chapter on mobile networks. Especially the work of Morley Mao from U Michigan, who was the first to study commercial deployments of LTE and how applications where using mobile networks. It was probably the most thorough and approachable introduction to mobile broadband at the time.

But in 10 years a lot have changed. Most notably 5G. It would be interesting to update the book with the more recent papers of the same group studying commercial 5G deployments.

I would also remove anything that has to do with 3G. The state machine of 3G is very different to 4G/5G, so optimising for this might be a bad choice.

Finally, I would discuss more recent transport layer protocols, such as QUIC and congestion control algorithms such as BBR. Early experiments on commercial 5G networks show that legacy congestion control algorithms are not able to take advantage of the very high speeds that 5G can offer.

I would also add some sections about "5G stand alone" usecases, such as massive IoT and ultra reliable low latency communication.

Foivos··on The Legend of Zelda: Tears of the Kingdom Release
The low weapons durability encourages the player to use all the weapons instead of a small set of his favourite weapons. Notice how even though your weapons break all the time, you (almost) never [1] run out of weapons. You can steal weapons from the enemies or pick up whatever is around and use it as a weapon.

Initially, I did not like this mechanism, but I have come to appreciate it. It reduces your comfort, but you experience more of the game.

[1] Fighting a Lynel and "consuming" all your weapons before he even reaches half his health has happened to me a couple of times.

Foivos··on DJI Inspire 3: new 8k cinema drone
I got it from this video [1].

[1] https://youtu.be/AlpZf1hpQYM?t=2776

Foivos··on DJI Inspire 3: new 8k cinema drone
Check this video [1] of Perun at the timestamped location.

[1] https://youtu.be/AlpZf1hpQYM?t=2776

Foivos··on DJI Inspire 3: new 8k cinema drone
Why would they use this over the much cheaper mavic?

On average the commercial drones in Ukraine survive 3 missions. I doubt anyone would spend the price of 5 mavic drones just to have more pixels at a trench.

Foivos··on Intentionally making close friends
> I preferred to eat lunch by myself and I only discussed the business topic at hand during meetings unless someone else brought up a personal discussion.

Probably, they thought that you did not like them.

Foivos··on Matplotlib 3.6
You are right. It does not address this concern specifically, but if you follow this tutorial to learn this library, hopefully, you will not get to have this concern.

Regarding the different APIs, this page [1] from the documentation attempts to compare them and provide code that generates the same result using the the different APIs.

[1] https://matplotlib.org/devdocs/users/explain/api_interfaces....

Foivos··on Ask HN: Why is Microsoft Teams still so bad?
The only way it works for me under Mac OS, is through a private window at Microsoft Edge. If I try to connect any other way, I either fail to connect or connect to the wrong workspace.
Foivos··on Matplotlib 3.6
I had the same problem until I found this tutorial:

https://github.com/rougier/matplotlib-tutorial

If you wan something deeper the same person has written a book:

https://github.com/rougier/scientific-visualization-book

Foivos··on Factorio is coming to Nintendo Switch
Ask a friend to set up parental controls at your switch and not tell you the pin. It works fine for me! :|
Foivos··on iPhone 14: Cheapest Country to Buy in 37 Countries
Are you sure that you compare final price in all the countries?

For example in the USA the price probably does not have sales tax, but in the European countries the price will most likely include VAT.

Foivos··on Sony completes $3.6B deal to buy Bungie
I have heard that the Batman games are similar.

Never played them, though so I do not know how similar they actually are.

Foivos··on Sony completes $3.6B deal to buy Bungie
One can hope for a remake of Oni.
Foivos··on Teams is killing my Mac every day
When I tried to do the same, it complained about lack of features on browsers other than edge, without specifying anything.
Foivos··on Best radios to use in an emergency (2021)
Since he walked to the library, I am going to guess "no car at all".
Foivos··on Vision-based AI drones outfly world-class human pilots
Major nation states do not use weapons of mass destruction against each other out of fear or retaliation. If you do not want your any to use autonomous drones against you, the best deterrent is to build some on your own.
Foivos··on Diablo Immortal is bringing in over $1M a day in microtransactions
Some of my friends try to hide the amount spent in micro transactions. One reason, is that they do not want to think about it, as it would be way more money than they would like. The transactions are spread over time, so each one is a bit less “impactful” at their wallet. Also, nobody is sure about the exact amount.

Another reason is that mobile games are considered childish. So admitting to spending money on them has the danger of people considering them childish. At least in their minds.

Foivos··on Mito – Excel-like interface for Pandas dataframes in Jupyter notebook
I use a similar function when I want to see everything:

```

def showAllRows(dataframeToShow):

  with pd.option_context('display.max_rows', None, 'display.max_columns', None):

    display(dataframeToShow)
# calling it while limiting the number of returned rows.

showAllRows(df.head(1000))

```

Be warned though! if you call this function without limiting the number of rows to be fetched, it is guaranteed you will crash your machine. Always use head, sample or slices.

If do get a crush, then your only option is to open the ipynb file with vi and manually delete the millions of lines this function created.

Another function that I like is:

```

def showColumns(df, substring):

    print([x for x in df.columns if substring in x])

    return
# calling it

showColumns(df, "year")

```

This is useful in data frames with many columns, when you want to find all the columns that have a specific string in their name. It returns a string, which then you can pass it in the dataframe to print only these columns.

← PreviousPage 2 of 6Next →