|
I changed ISPs back in January, and it just so happens I started running into problems, roughly at the same time, with the Debian VM I had running Pi-Hole. Eventually I just shut it down, and I hadn't tried to recreate it until recently.
I quickly realized that nothing was going through Pi-Hole anymore (reinstalled from scratch, including the OS). Total Queries and Queries Blocked figures remained at 0. As I used to, I provided Pi-Hole's (static) IP as my primary DNS on a few systems (also all using static IPs), followed by my DC's IP, and finally my router's (192.168.1.1) - in that order.
Unlike the router I was previously using, my (new) ISP's router does NOT present any option to specify any DNS server. I've gone through every page, including settings hiding under Advanced buttons. Nothing about DNS.
I know very little about DNS, but searching through articles discussing problems with Pi-Hole, I did find something that also adds domain controllers to the mix.
I do have a domain controller, which is set up with its own DNS service. I launched its DNS Manager, selected my domain, selected Forwarders, right-click, Properties, then added Pi-Hole's static IP as the first entry (the only other one being my router, which - after this change - is now the second in the list).
Bingo - suddenly the Request and Blocked figures immediately shot up, and pages that used to be riddled with ads now show blank spaces where ads used to be. Bonus, since all my systems already have my DC's IP for their primary DNS, I don't have to add Pi-Hole's IP anywhere (but as a forwarder on the DC itself, which is a one-time operation).
But a question remains. If I had a system that had its preferred DNS set up as this (in this order):
a) Pi-Hole
b) The DC
c) The router
...why would the queries not go to Pi-Hole first and foremost? Now my configuration is:
a) The DC (with Pi-Hole's IP under Forwarders)
b) The router
...and it all works.
Why?
Either way, I hope this helps someone.
|
|
|
|
|
To override onCreateOptionsMenu() and onPrepareOptionsMenu() in Android Studio, use the following syntax:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
// Handle menu item selection, etc.
return super.onPrepareOptionsMenu(menu);
}
Explanation:
- onCreateOptionsMenu() is called once when the menu is created, and is used to inflate the menu layout.
- onPrepareOptionsMenu() is called every time the menu is opened, and is used to handle menu item selection, etc.
- Both methods must return a boolean value indicating whether the menu has been handled or prepared.
By using this syntax, you'll be able to create and manage menus in your Android app with ease!
|
|
|
|
|
I've probably watched a French video a few weeks ago on YouTube. Ever since, YouTube has been showing me a mixture of French and English ads (maybe 50-50). At least I'm attributing this fact to the one video I might've watched, I see no other reason it might be showing me French ads.
I do NOT log into YouTube, so there's no language preference for me to set. I have no language set in my browser (Edge) other than the default US-English.
And at some point starting this week, every time I go to www.microsoft.com, it explicitly sends me to www.microsoft.com/fr-ca/. Again, despite the fact that I have no other language set in my browser. Or the OS's Regional Settings page.
I could try to clear cookies, but that's an all-or-nothing type of thing - I'd probably lose a lot of tweaks for various sites I'd rather not go through again. As far as I know, you can't clear cookies specifically for one site only. Or can you?
I've just tried InPrivate mode with Edge and going to www.microsoft.com. It sent me to www.microsoft.com/en-ca, so it knows I'm in Canada, but at least the page is in English. That, to me, tells me it's got to be some data in a cookie.
How might I go about finding, then removing that cookie...? Or does someone have a better suggestion?
(and no, I'm not changing browsers for that, TYVM)
|
|
|
|
|
You're forgetting one teensy thing, geolocation of your IP. If the cookie doesn't exist, your country can be guessed by your IP address.
|
|
|
|
|
Jinx! Didn't see your post before I replied.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Bah! I would have beat you to it if I wasn't eating breakfast while I type.
|
|
|
|
|
It might be using your IP to locate you.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
With ccleaner you can select which cookies you want to keep.
Take the CCleaner - Slim version (does not install ads)
CCleaner - Slim
CCleaner - Download Builds[^]
But that does not help if they follow your ip.
|
|
|
|
|
Settings / Cookies and site permissions / See all cookies and site data
Search: Youtube
Delete as you see fit.
|
|
|
|
|
On prend le contrΓ΄le du monde entier!!!
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Today's Daily News highlighted a post about a home project with 10,000 of hours invested. I'm so happy to hear that other people put thousands of hours into home computer projects. I've certainly had a few over the years. Lots of small computer projects, but a few that raised to the 1000's of hours level. Since I retired a few years ago, its home built telescope mounts controlled by Arduino's, Raspberry Pi's and phones. Way too much fun. I'm several thousand hours in, with no signs of letting up. I have to be diligent to avoid spending an unhealthy amount of time at it. My approach is to make sure I get some exercise (yard work, bike ride, dog walk,...), do something productive (bills, groceries, home maintenance, help Mom, ...), and do something fun (play with computer, ...) every day. I'm interested an anyone else's approach to maintaining some balance and not spending too much time at this stuff.
|
|
|
|
|
|
I don't know what I'm looking at. Maybe two sub woofers on the floor? Tube amp in the middle. That's a big guess. Where do you plug in the guitar? Looks like fun.
|
|
|
|
|
I like your daily goals, and plan to adopt a similar approach when I retire. I've less than a year to go.
Before I built software for a living I did it as a hobby, but not since. There is one major coding project I have in mind, but most of my fun time will be spent creating music and stained glass, and while I can maintain enough mobility and stamina, exploring more new caves.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
I like your plan too. I've also invested 1000's of hours into learning to play music, but never really reached a desired comfort level. Closest on claw hammer banjo these days. My favorite music partner passed away, and that hobby is kind of in a lull at the moment. It could work its way back to the top at anytime. Fortunately being retired, we have time to do all these things. Retirement is great - hope you enjoy it as much as I do!
|
|
|
|
|
If you're retired, and your hobby isn't detrimental to your health, why would you try to avoid spending "too much time" at it? Isn't that the point of retirement? Do things you enjoy?
|
|
|
|
|
The only limit is the health hazard of spending too many sedentary hours in front of computer. Hopefully the daily exercise goal addresses that risk. Otherwise, agree completely - do things you enjoy!
|
|
|
|
|
Greetings Kind Regards
I have been unable to submit Visual Studio "Report a Problem" due to authentication failure since VS updated w/ a new better authentication method. The only mode of communication which does not result so is "Provide more info" and "Submit a comment" to a previously submitted problem report. Having done so fully describing my authentication fail complete w/ video the response by the Microsoft engineer is "And for issue βauthentication failsβ, please open new feedbacks for it, thanks!"
|
|
|
|
|
Send me your credentials and I'll check on my side.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Visit https://my.visualstudio.com. Does it accept the credentials that you're trying to supply to VS itself? Does it accept any other credentials?
If so, try to leave feedback from there.
|
|
|
|
|
I want an IoT ecosystem that's as cross platform as possible, but even then I have some code that is for some MCUs specifically - generally driver stuff, or things that take advantage of one off features of an MCU like integrated WiFi. The ESP32 is a popular target of mine. The ESP32 targeted things can either run under Arduino or the ESP-IDF, so there are still cross platform considerations, since the ESP-IDF and Arduino frameworks operate in fundamentally different ways.
I recently built a project that runs on Arduino or the ESP-IDF, and runs on one of two devices - The M5 Stack Core 2 and the M5 Stack Tough. They share much of the same hardware, slightly different wiring, and most notably a different capacitive touch panel controller.
Eventually I modularized the configuration for the project, restructuring it so the shared libraries were grouped together, and then it had specific libraries for each device separately. I've pasted the result at the end of this post.
Anyway, I developed a good portion of this over the past several days, and/or upgraded existing code to be cross platform. Those shared library dependencies are the same for Arduino, and the ESP-IDF, and work the same across those two devices. There are only two libraries each that are specific to the device - its power chip, because despite both being an AXP192 they are wired differently on each device, and then the touch panel controller.
There are very few and very brief forks in my actual application code either, and it compiles and runs under Arduino and ESP-IDF on both devices.
I don't know how practical this accomplishment is, but I wanted to share it with someone, and everyone around me is asleep right now.
And yeah, I wrote an article about it today, but it didn't cover this bit.
[common]
core2_com_port = COM10
tough_com_port = COM20
lib_deps_shared = codewitch-honey-crisis/htcw_esp_i2c ; i2c init
codewitch-honey-crisis/htcw_esp_lcd_panel_ili9342 ; screen
codewitch-honey-crisis/htcw_uix ; UI and Graphics
codewitch-honey-crisis/htcw_esp_wifi_manager ; wifi
codewitch-honey-crisis/htcw_esp_ntp_time ; NTP time service
codewitch-honey-crisis/htcw_bm8563 ; real time clock
codewitch-honey-crisis/htcw_esp_ip_loc ; IP geolocation
lib_deps_core2 = codewitch-honey-crisis/htcw_m5core2_power ; AXP192 power chip
codewitch-honey-crisis/htcw_ft6336 ; touch screen panel
lib_deps_tough = codewitch-honey-crisis/htcw_m5tough_power ; AXP192 power chip
codewitch-honey-crisis/htcw_chsc6540 ; touch screen panel
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wordle 1,090 5/6
π¨π¨β¬β¬π¨
π¨β¬π¨β¬π©
π©β¬β¬π©π©
π©π¨β¬π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 3/6*
π©β¬β¬π©β¬
π©π¨β¬π©β¬
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,090 3/6
β¬β¬β¬π¨π¨
π¨π©π¨β¬β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 4/6
π¨π¨π¨β¬β¬
β¬π¨π¨π¨β¬
π©π¨β¬β¬π©
π©π©π©π©π©
|
|
|
|
|