2,086 karma · joined May 2, 2013
vijay.v @ google's email thingy | http://hk.linkedin.com/in/varanasivijay
Because I had this epiphany about how we lead such passive lives, complying with the rules of the system around us.
Very interesting, thanks!
https://www.scandinaviastandard.com/this-is-why-that-sofa-is...
Edit: to those downvoting this, see https://news.ycombinator.com/item?id=41504026#41506801 above. Just one example
// #learning: transparent color using color.new(color.white, 100). This is GREAT for hiding plot() lines during inapplicable periods (such as when no trade is on)
But project-specific hashtags are quite useful, too.
// #60within600: bunch API calls to not hit the 60 calls within 10 minutes limit
// This memoizes fn call results to prevent #60within600
The hashtagging was inspired long ago by del.icio.us, if you remember that. https://en.wikipedia.org/wiki/Delicious_(website)
https://www.reddit.com/r/NixOS/comments/14clrjh/how_is_nixos...
"By executing this command, you are effectively replacing the first byte of the `NtUserSetLayeredWindowAttributes` function with a `ret` instruction. This means that any call to `NtUserSetLayeredWindowAttributes` will immediately return without executing any of its original code. This can be used to bypass or disable the functionality of this function"
(Thanks to GitHub Copilot for that)
Also see https://learn.microsoft.com/en-us/windows-hardware/drivers/d...
IMHO, a lot of these analyses suffer from survivorship bias; the ones who died don't get to tell you it was a bad idea.
You have to build a repertoire of questions that defeat rote memorization, prove real experience, and show genuine ability to solve unseen problems...
> In Spanish, we have a saying, "Maestro Liendre: De tó sabe, pero de ná entiende." I don't really know (and don't want) to translate it because it loses its punch, but it fits perfectly here.
Wait, why mention it if I, the reader, cannot understand the saying or how it is even relevant to the article, but leave me with the tease that "but it fits perfectly here". Very puzzling, to say the least. Google Translate tells me "Master Niendre: He knows everything, but he understands nothing". Now I'm even more confused. That is so pithy and unambiguous that I really have to ask: what is it about the Spanish version that "loses its punch" when translated to English?!
CUDA_VISIBLE_DEVICES="0" python TTS/server/server.py --model_name tts_models/en/vctk/vits --use_cuda True
def play_sound(response):
#learning : you have to use a semaphore to serialize calls to winsound.PlaySound(), which freaks out with "Failed to play sound" if you try to play 2 clips at once
semaphore.acquire()
try:
winsound.PlaySound(response.content, winsound.SND_MEMORY | winsound.SND_NOSTOP)
finally:
# Always release the permit, even if PlaySound raises an exception
semaphore.release()No. When your range of expressivity is passive consumer to passive-aggressive consumer, you are reduced to a small essay that ends with the whimper, "Can't wait to see how I feel about iPads next week". The only qualification to be a repeat Apple consumer is the complete lack of self-awareness and this essay is beautiful in encapsulating the cheery vacuousness of the cult.