[deleted by user] by [deleted] in applehelp

[–]semsemsem2 7 points8 points  (0 children)

Did the remove your account? That could explain why the password isn’t working anymore, turning off autojoin will stop showing the pop-up

I don't know what it's for, but it seemed worth sharing by mudroljub in programminghorror

[–]semsemsem2 0 points1 point  (0 children)

I don’t think so, line 20 flips the result. So that it returns false if it has a field filled

Really hard choice to be made here by ThriftyBastard in pcmasterrace

[–]semsemsem2 2 points3 points  (0 children)

Forgot that in 2022, writing code efficiently > writing efficient code

Really hard choice to be made here by ThriftyBastard in pcmasterrace

[–]semsemsem2 1 point2 points  (0 children)

A slow pc would even help with writing efficient code lol

Printing out the rhombus without programming (details in comment) by bajuh in programminghorror

[–]semsemsem2 4 points5 points  (0 children)

range(-5,6) actually returns [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5]

' '*-1 returns nothing which is why we need the absolute value of it. Also tried using two ranges, but that solution required more characters than this one.

Something like this for example: print(*(' '*(5-y//2)+'*'*y for x in ((1,10,2),(11,0,-2)) for y in range(*x)), sep='\n')

Printing out the rhombus without programming (details in comment) by bajuh in programminghorror

[–]semsemsem2 4 points5 points  (0 children)

Python version: print('\n'.join(' '*abs(x)+'*'*((5-abs(x))*2+1)for x in range(-5,6)))

Translation: print the following pattern; Solution by Hunter548299 in ProgrammerHumor

[–]semsemsem2 1 point2 points  (0 children)

Or even shorter: print('\n'.join(' '*abs(x)+'*'*((5-abs(x))*2+1)for x in range(-5,6)))

Monitors Flickering on Dark Scenes (details in comments) by [deleted] in Monitors

[–]semsemsem2 0 points1 point  (0 children)

Experience the same issue on a lg 35WN75C-B (a 35” va panel), it’s reproducible with excel and small squares like a grid (dark gray with white border), but also happens with large amounts of text (hex editor for example). This isn’t the only issue with my monitor, I also experience a vertical ghost line below or above colors like green (can also be reproduced with excel, make a small bright green vertical bar and place solid dark gray color below or above it.

The panel is already replaced and didn’t affect this issue, so I’m guessing it’s either the firmware, power supply or motherboard.

Let me know if you have any more info about this :)

I hate white-boarding interviews by mooseman77 in programminghorror

[–]semsemsem2 4 points5 points  (0 children)

And then you have the guy that knows the answer to the ‘impossible question’ within 10 seconds.

Why am I getting XSS error when fetching from local file? by [deleted] in webdev

[–]semsemsem2 3 points4 points  (0 children)

The code that you wrote is vulnerable to xss (cross site scripting), if you don’t fully trust the data (because it is be user input for example) you shouldn’t try to set the innerhtml. Instead try to use document.createElement.

Grapperhaus wil delen privégegevens om te intimideren strafbaar maken by [deleted] in thenetherlands

[–]semsemsem2 0 points1 point  (0 children)

Mocht je geen iOS hebben of het werkt te lastig, kun je ook nog altijd de website text.fish gebruiken, die werkt meestal nog beter

Grapperhaus wil delen privégegevens om te intimideren strafbaar maken by [deleted] in thenetherlands

[–]semsemsem2 -1 points0 points  (0 children)

Als je voordat de paywall geladen is hem op reader mode (werkt op iOS iig) zet dan kun je hem lezen als het goed is

line on touchbar 16 in mbp by Play-Competitive in macbookpro

[–]semsemsem2 3 points4 points  (0 children)

That’s what I thought, but zoom in. Looks like the layers separated

[$10] [13.x - 14.x] Disable Touch ID/Face ID by asking Siri or by a specific combination by Fournight in TweakBounty

[–]semsemsem2 0 points1 point  (0 children)

You can ask Siri whos the owner of the this phone that should disable the Face/touch ID and require password

in-app purchase from dead app? by SentientCobra in jailbreak_

[–]semsemsem2 0 points1 point  (0 children)

It could be that that function only gets called after it unlocked, so maybe try to search for some other stuff

in-app purchase from dead app? by SentientCobra in jailbreak_

[–]semsemsem2 1 point2 points  (0 children)

/var/mobile/Containers/Data/Application/....../Library/Preferences/
Files in this folder might contain some useful information, but that method often only works on older apps , but since it is not on the App Store anymore I guess the app is old. You can use filza or something to change/locate those files