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

They seem to take poor weather condition into account as they reserve an amount of power to keep the link up and stable (equipment would be capable of pushing up to 75km) Those were data from first tests they did, might be interesting if they can confirm that in future updates.


Do you mind sharing your blocklist for youtube? It has been a challenging one so far.


Not OP but we can assume when he's talking about blocking Youtube, he's in fact blocking youtube for his kids, not Youtube ads. Pi-hole can't block Youtube ads as they are delivered by the same servers as content. Then you can't block one without blocking the other.


My comment wasn't clear. I was indeed referring to blocking youtube completely, not just ads on youtube.


Just go to PiHole's "Domains" page, in the box labelled Domain, type youtube.com, enable the checkbox for Add domain as wildcard, then click the button labelled Add to denied domains.

Now youtube.com and all of its subdomains are blocked, for all clients.

If you wish for it to only be blocked for some clients, then assign your clients to groups, and set the setting appropriately on the domains page.


The best way is to open up the Query Log, open up the site you want to block, and deny from there, making regex blocks are appropriate.


> The best way

I think you would need to explain your definition of 'best' here — I mean: explain why you think it is better.

> making regex blocks are appropriate.

I guess here you actually mean inappropriate?

Perhaps. But I think you misunderstand what I am doing, and how that then works in PiHole.

The method I describe, uses the Domains tab on the Domain Management page — and not the RegEx Filter tab.

The distinction is somewhat of importance, because the implementation of PiHole uses a different code path for exact-match denies/accepts, vs regex denies/accepts. (Type 0 and 1, vs type 2 and 3, detailed here[1]). Adding a domain the way I describe, creates an exact-match type entry in that table, not a regex match type.

But even if it were still using regex, the cost of that isn't as high as one might imagine, due to the fact that subsequent repeat queries to the same domain, do not get checked against regexes again: the result is cached.

As described here [2]: "Our implementation is light and fast as each domain is only checked once for a match. When you query google.com, it will be checked against your RegEx. Any subsequent query to the same domain will not be checked again until you restart pihole-FTL."

In summary: adding a domain the way I describe doesn't create a regex filter anyhow. But PiHole's regex matching isn't a naive implementation, it caches the results, so that it only actually performs the regex matching on first query to a domain not seen before (since last restart).

So really it makes no difference at all if one blocks a domain the way I describe, or the way you describe. They both end up doing the same thing: they insert an exact-match filter entry into the database.

In which case, it's simply down to one's own preference: do you prefer looking through the query log to find the site to block... or do you prefer just typing in a domain name.

[1] https://docs.pi-hole.net/database/domain-database/

[2] https://docs.pi-hole.net/regex/


Sorry, I didn't see this earlier.

To block Youtube I use:

youtube-ui.l.google.com - exact

youtubei.googleapis.com - exact

(\.|^)googlevideo\.com$ - regex

(\.|^)youtube\.com$ - regex

It's probably overkill but it results in no Youtube until chores are done.


Have you considered using the special chars (caps lock) to switch both mouse and keyboard from PC A to PC B, and vice versa?


I would pick a word or name, and for each letter of the given word you create a sentences beginning with each letter. It doesn't need to make sense, you just need to make it easy to remember. Bonus point by adding a number (like a year date related to the word/name) and by separating each word with a special character.

For example : Alice Amendment%Liability%Indicates%Cute%Energy2006


One can also take one skill out of the list as goal to achieve. I don't think an engineer is able to be perfect in all skilset. This kind of list should be seen as an inspiration and challenge you in the skill we are lacking from.



On VSCode, I like to use the Polacode extension [0]

[0] https://myaccount.google.com/personal-info


It's the same for Proximus residential gateways, they all have an ipv6.


Cyclotron [a], and here is a link to the discusion on HN about it [b] :

[a] http://www.cyclotron.io/ [b] https://news.ycombinator.com/item?id=13062998


Sadly, a lot of people think that only ideas matter. Too bad for them, because ideas worth nothing. Don't you think?


Ideas aren't worth nothing. Most startups suffer from being bad ideas - and not in the "so-bad-it's-good" way that pg talked about. They're slightly tweaked copies of another idea, or something where there just isn't any money.


Every startup starts off as a bad idea. That's kinda the point of the lean process: you've got to start somewhere but you have no idea what your customers actually want. So you do a whole bunch of experiments to find out what they do want.

Doing the experiments takes engineers and money, which are important. The idea you start with is not. This is why investors invest in teams not ideas.


Idea's are worth a nickel. Execution is worth millions.

(I can't remember who originally said that, but Ive remembered it. Might have been Spolsky?)


But a company willing to change as they see the need is likely to have at least some success. A willingness to change is worth half a dozen ideas.


That, exactly. You start with a maybe-bad idea, start executing and learning, and refine your way to a good idea.

But there are no successful startups that are actually bad ideas. Bad ideas with money are just walking corpses.


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

Search: