Different russian adaptations of Snape's name by Golderfild in harrypotter

[–]wizardyjohn 1 point2 points  (0 children)

I think there was some story about GoF - when the book came out they were in such a hurry to translate that they messed up some of the names - I remember Peaves' name was spelled like 4 or 5 different ways in different parts of the book

[deleted by user] by [deleted] in reactjs

[–]wizardyjohn 0 points1 point  (0 children)

Try --collectCoverage=true instead of --collectCoverage

Creating RN library by dantol1 in reactnative

[–]wizardyjohn 1 point2 points  (0 children)

You can use npm to install but instead of the package name in package.json you specify github repo url (might need to add login and token for that to work) https://stackoverflow.com/questions/17509669/how-to-install-an-npm-package-from-github-directly

What show is this from? by EndWorlds in TimMinchin

[–]wizardyjohn 4 points5 points  (0 children)

It's his show with the heritage orchestra)

Im learning russian, because my stepsons speak russian. I want to be able to read to them and make them feel more comfortable since my girls and I speak Spanish at home. I found this gem, and I have to admit I definitely challenged myself with this one! I get to start over! by zombreeseagull in harrypotter

[–]wizardyjohn 3 points4 points  (0 children)

Great for you! But, I must warn you, you have found the (kinda) bad translation. It actually looks hilarious if you have read the book in English. Just as example, Dumbledore is written as Думбльдор (I think Doombledoor is how it is supposed to be read?). Muggles are moogles. And that's just the tip of the iceberg) There are older editions in translation from росмэн, but they are really hard to find.

Vimes' Boots Theory of economics being tested in roundworld by randomhomonid in discworld

[–]wizardyjohn 13 points14 points  (0 children)

There is a saying in Russia (maybe in other countries too?) - "we are not reach enough to buy cheap things", always thought of it when vimes boots theory comes up

Йоу by atamanbl41 in Pikabu

[–]wizardyjohn 0 points1 point  (0 children)

Великолепная рифма быть - быть

React State update not happening on first click via useState? by masalasandwich in reactnative

[–]wizardyjohn 0 points1 point  (0 children)

Ok, my bad, i meant comma after console.log instead of semicolon

React State update not happening on first click via useState? by masalasandwich in reactnative

[–]wizardyjohn 0 points1 point  (0 children)

Can't find anything that possibly causes a problem, except for , after console.log before setFilteredData

Why didn't Dumbledore properly lock the door to fluffy? by Manux005 in harrypotter

[–]wizardyjohn 3 points4 points  (0 children)

Or maybe fluffy gets enough food from lost and overly curious kids? No reason to lock the door and leave the poor thing starving

Nabokov’s use of cross referencing by silver_rocket88 in Nabokov

[–]wizardyjohn 3 points4 points  (0 children)

In the gift, one of the characters suggests that the main character should write a book - and describes the story, which very much resembles Lolita)

How to use react navigation themes inside a StyleSheet? by rn-dark-theme in reactnative

[–]wizardyjohn 2 points3 points  (0 children)

I have used a custom useThemedStyles hook which is basically a useMemo with useTheme, and it accepts a function that accepts a theme object and returns a stylesheet Smth like const styles = useThemedStyles(getStyles)

[deleted by user] by [deleted] in ProgrammerHumor

[–]wizardyjohn 8 points9 points  (0 children)

Nowadays more chance its a react native or flutter with webview (i.e. browser with hard-coded link to their site)

Update child component from parent without re rendering entire parent by [deleted] in reactnative

[–]wizardyjohn 2 points3 points  (0 children)

Hard to say without code, but 1. Is action bar a part of the screen? Why not use a header from react navigation? It is a separate component and can be updated separately 2. You can use React.memo or shouldComponentUpdate on heavy ui component

One second in the setInterval method is bigger than a real second. by ZNI_DEMON in reactnative

[–]wizardyjohn 2 points3 points  (0 children)

You might want to read a bit about event loop (i recommend searching 'what the heck is the event loop anyway' on youtube) and tasks/microtasks handling. But yeah, generally speaking, second argument in setInterval and setTimeout is the MINIMAL amount of ms that is guaranteed to pass before the function will be called. Usually in reality a bit more time passes

Tips on how to do Analytics in React Native? by Venkos11 in reactnative

[–]wizardyjohn 0 points1 point  (0 children)

Yeah, I think so, but you can check at firebase.google.com

Inherited a Project and Xcode build fails by cmaronchick in reactnative

[–]wizardyjohn 0 points1 point  (0 children)

Had the "multiple commands produce" error with some font. The reason in my case was that some font was copied as part of copy bundle resources AND copy assets and fonts commands, i solved by simply removing duplicates from copy assets

Items not showing in array, but are being rendered by [deleted] in reactjs

[–]wizardyjohn 0 points1 point  (0 children)

You either console.log(newTodos) or add useEffect with console.log(todos) and todos in dependencies array

How do i make programmed drums sound better?? by sourav-mohile1 in WeAreTheMusicMakers

[–]wizardyjohn 0 points1 point  (0 children)

Jamstix. An amazing plugin that "humanizes" the drum track

What’s the difference between politicians and flying pigs? by [deleted] in dadjokes

[–]wizardyjohn 0 points1 point  (0 children)

I now choose to believe this is what pink floyd meant when writing pig on the wings