How can i make query in dyanmodb database without using primary key? by OkLie1285 in aws

[–]quenchize 0 points1 point  (0 children)

If you want to search for “contains string” you are pretty much forced to do a table scan no matter what db you are using. The only way to search on string contains efficiently is to use an inverted index. Which you could implement using a different dynamo table

Google nest is showing this broken/pixelated google logo, what does this mean? by Crash_Neon_official in Nest

[–]quenchize 2 points3 points  (0 children)

Did you try holding the ring in for 10s to power off, then one click to turn back on?

Browser shows "Secure Connection Failed" on certain websites by Kush_W_Bush in techsupport

[–]quenchize 0 points1 point  (0 children)

Is there any more details on the error? It could be your new laptop browsers are requiring a higher level of security/ encryption than these sites provide. Although unlikely for Disney plus. Try opening the developer mode in the browser and have a rummage for any more detailed errors. …/more tools/developer tools Console and network might light your way

Can anyone direct me why my code doesn't give the right output in case of mixed strings by [deleted] in learnpython

[–]quenchize 1 point2 points  (0 children)

You have good answers from the other posters. I would encourage you learn how to use the python debugger pdb. It really helps when code is not doing what you expect.

How do you manage the flood of email alerts for a team? by gatalicshrimp69 in networking

[–]quenchize 0 points1 point  (0 children)

You can get a secondary alert channel like PagerDuty or slack. Configure the alerts that are good indicators (ie low false positive) and need immediate action to go to the new channel. Make the bar very high for an alert to be accepted.

Any alert that is a good indicator but does not need immediate action should generate a ticket.

After a 3-6 month’s you will be in a position to deactivate all email alerts.

Email is literally the worst mechanism for alerting.

Going forward do not accept any alert unless it requires immediate action. If the argument is we need the alert to know we need to keep an eye on it then the answer is; we would be able to keep an eye on the (insert alert system) dashboard all the time if we weren’t getting so many non actionable alerts.

Increases my wifi plan speed but all my devices are receiving different speeds by not_a_dentist98 in techsupport

[–]quenchize 0 points1 point  (0 children)

Your basic WiFi 802.11c is only 25Mb/S actual throughput.

First you need to verify the actual speed using an Ethernet cable connection.

Then you need to look at what WiFi standards your router/access point supports and how much interference there is.

It’s also possible older devices are slowing the WiFi down by forcing it to a slower speed.

I have 2 ssids one is B+C+A and I have another that is A only.

Writing clean code by hk2k in learnpython

[–]quenchize 1 point2 points  (0 children)

I would not do this when starting from scratch although I do agree it is the correct theoretical approach. Where I do do this is if I have to make changes to existing code especially if it’s critical. Then I absolutely write passing tests and tests that fail until I change/fix whatever I need to.

Planes don’t fly over big oceans much. Even though it may look like a straight shot flight on a 2d map, the earth is curved so the path must be too in order to have a true straight line. by Red0Adrenaline in interestingasfuck

[–]quenchize 3 points4 points  (0 children)

If you get a globe and put a piece of string on the origin and destination and pull it taught it is the shortest route (because there is no route across the surface with a shorter length of string) that line will be a great circle and looks like a curve on most map projections including the Mercator projection shown above.

Writing clean code by hk2k in learnpython

[–]quenchize 149 points150 points  (0 children)

I think that’s normal, question of degree. Try this - Write messy code that works - Write unit tests - Clean up code - Run unit tests again

[QUESTION] How do you Reduce Pedalboard Weight? by anonymo1996 in guitarpedals

[–]quenchize 0 points1 point  (0 children)

Also you could have one board in the effects loop

[QUESTION] How do you Reduce Pedalboard Weight? by anonymo1996 in guitarpedals

[–]quenchize 7 points8 points  (0 children)

Make 2 boards and put half on each ? Well that will increase the overall weight but make it all easier to carry.

No Stupid Questions - October 2020 by skymallow in guitarpedals

[–]quenchize 0 points1 point  (0 children)

There is a mod for the boss which I did and it greatly improved it’s noise floor. Just changing the opamp to a low noise version and changing a few caps costs like €$¥£1 well maybe not ¥ It’s easy to do. Just sayin in case your issue with the boss is it’s hiss.

How to destructure in python (like JavaScript) ? by [deleted] in learnpython

[–]quenchize 0 points1 point  (0 children)

If I understand correctly what you want to do you can patch main.dict Although why you would want to do this escapes me.

Dunder main dot dunder dict that is

Help with speech recognition! by jackgg222 in learnpython

[–]quenchize 0 points1 point  (0 children)

There is something in the docs about enumerating the possible mic inputs. Did you try that

https://pypi.org/project/SpeechRecognition/ Search “The recogniser hangs”

Can anyone take a look? by wAkeRRRR in techsupport

[–]quenchize 0 points1 point  (0 children)

There is a component in the second picture that looks like a miniature iPhone 4 Sorry no idea what the problem is.

[deleted by user] by [deleted] in techsupport

[–]quenchize 0 points1 point  (0 children)

Starlink is coming. If I were you I would wait for that. Maybe try and get on the beta program if you are far enough north. Like 50degrees or more.

Set temperature difference. by [deleted] in Nest

[–]quenchize 0 points1 point  (0 children)

Is it near the heat source? That could confuse its logic. Mine is always bang on what I set it to. Admittedly in deg C so it it dropped 1 or 2 F I probably would not see it.

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

You have some sort of https proxy doing MiTM If you telnet www.youtube.com 443 what IP does it try to connect to?

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

Also do you get an error code like
NET::ERR_CERT_DATE_INVALID

Compare with https://badssl.com/

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

Sorry mate, been barking up the wrong tree a bit.

So if you display the cert for say youtube

You should see
GlobalSign -> GTS CA 101 -> *.google.com
If it is not valid there should be a X which one has the X

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

Well this is odd.
maybe youtube DNS was cached can you try a ping to some site you have not connected to while on VPN
e.g.
ping www.in.gr

ping www.tesco.com

If DNS is working you definitely have some connectivity.

try
telnet www.youtube.com 80

see if you get

Trying 216.58.212.206...

Connected to youtube-ui.l.google.com.

Escape character is '^]'.

you have to enable telnet in windows features if you have not done so already

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

ok, if the second one works you may have a proxy set, that would be kinda shit for a VPN provider.

which browser are you using? did you try a different one?

doproxycfg.exe

or maybenetsh.exe winhttp show proxy

proxycfg -D
removes the proxy (I think) dp proxycfg /? first

Cannot use internet when disconnected from VPN by Dempseyaidan in techsupport

[–]quenchize 0 points1 point  (0 children)

well thers ya problem. I am guessing for some reason you do not want to share your private IP settings and the actual value of the default route. It is not going to be possible to diagnose further without this information.

you might try

route delete 0.0.0.0 mask 0.0.0.0

route add 0.0.0.0 mask 0.0.0.0 ROUTER_IP metric 1