Mar 8, 2021 20:45
I still need to try the classnames library and compare it with my makeUseClasses hook to see what the differences are. I'll try it in the next project.
Mar 8, 2021 20:40
If there is a way to automatically add a class with @svgr/webpack that would be great, but since the Icon component is very simple, we wouldn't gain much from doing it that way, so I don't think this is a big deal. Now, if there isn't a way to automatically add that class, then doing it the way I'm doing by using the Icon component is simpler since it doesn't require us to have to add the class manually everytime we need to instantiate the Svg component.
Mar 8, 2021 20:37
@Martin The blinking animation and sound get out of sync pretty quickly in the browsers/platforms I've been able to test. It took about a minute for the animation to get totally out of phase with the sound while testing on Chrome and Firefox on both Windows and Android. I also tested it on Safari/iPhone and it took about the same time.
Mar 6, 2021 06:40
Anyway, these are just some things I thought about while reading your answer. Would love to hear what you think.
Mar 6, 2021 06:38
Another thing, I'm not sure classnames does the same thing I'm doing with makeUseClass. You must have seen there's a bit of initial configuration I do in useClass.ts files. There's some stuff in there about ordering and mutually exclusive groups. I might be wrong though, and all of this is also possible with classnames library.
Mar 6, 2021 06:34
But I also think there's probably a better way.
Mar 6, 2021 06:34
The reason for having the Icon component was so that I wouldn't have to add className="icon" to every instance of Svg.
Mar 6, 2021 04:44
@Martin I don't think it makes sense to do the blinking animation with css. It eventually gets ouf ot sync with the alarm sound.
Mar 5, 2021 20:51
@Martin Thanks! No problem, my timezone is GMT-3. The current time now is 5:50 PM. We can respond to each other's messages whenever we're available. Thanks for taking the time to respond to my post!
 

 The 2nd Monitor

General discussion about codereview.stackexchange.com - Welcom...
Feb 28, 2021 16:27
Hi! I asked a question recently which still hasn't gotten any replies: codereview.stackexchange.com/questions/256457/…. I know it has only been two days since I posted it, but if there's a way I could improve it so there would be a better chance of someone responding, I would love to know
 

 Game Development

Game development and other polite discussion. Game development...
Oct 12, 2016 00:43
The program runs fine though.
Oct 12, 2016 00:42
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.hdmi.0:CARD=2,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
Oct 12, 2016 00:42
Portaudio is giving me these weird errors. No idea what they mean yet, or how to fix it.
Oct 12, 2016 00:39
@jgallant I may have invited you to a chat room inadvertently.
Oct 7, 2016 14:45
jus try ctrl+c if you dare
Oct 7, 2016 14:43
cmd is the slenderman of CLIs
Oct 5, 2016 21:55
^ Slenderman
Oct 5, 2016 21:54
@MickLH easy fix: rm /emotions/* --rf
2
Oct 5, 2016 21:50
you came to the wrong place
Oct 5, 2016 21:47
@TheMuffinCoder MUFFIN!
Oct 5, 2016 21:46
@MickLH what?
Oct 5, 2016 21:44
what else
Oct 5, 2016 21:44
ok, compiters are one reason
Oct 5, 2016 21:43
why go on living?
Oct 5, 2016 21:43
why even care?
Oct 5, 2016 21:42
we could die any day now
Oct 5, 2016 21:36
address it at once
Oct 5, 2016 21:36
you'll have to address it @MickLH
Oct 5, 2016 21:35
there's no escape now
Oct 5, 2016 21:34
aren't we all?
Oct 5, 2016 21:32
I dont think so.
Oct 5, 2016 21:32
@ChrisOkyen flresale?
Oct 5, 2016 21:28
@arda hmm
Oct 5, 2016 21:27
but don't all messages get updated with the new name?
Oct 5, 2016 21:26
he could still change his nickname right?
Oct 5, 2016 21:21
ou there on the code, always doing what you're told
Oct 5, 2016 20:59
What if its a chat bot that goes through Hillary Clinton's facebook messages?
Oct 5, 2016 20:55
is that particular song inadequate or just any song?
Oct 5, 2016 20:54
what game?
Oct 5, 2016 20:54
@jgallant great song
Oct 5, 2016 20:52
Im laughing my ass off.
Oct 5, 2016 20:51
lol
Oct 5, 2016 20:47
@Sie I thought the exact same thing earlier this week. I'm almost 24.
Oct 5, 2016 20:46
But is it illegal? That's the question.
Oct 5, 2016 20:43
Pinging is rampant.
Oct 5, 2016 20:41
hahahaha
Oct 5, 2016 20:36
@ChrisOkyen relax
Oct 5, 2016 20:34
@ChrisOkyen :)
Oct 5, 2016 20:25
@ChrisOkyen you will never know
Oct 5, 2016 20:22
what?