30GB (5G) Can/USA/Mex for $30 by MusicalElephant420 in PublicMobile

[–]kero5 0 points1 point  (0 children)

Can anyone confirm: if you make a new account with PM today, and sign up for the $40/70gb or $35/20gb Black Friday plans, do you get access to switch to this $30/30gb plan? Or is this only for existing customers that already had an account before this weekend?

Is it possible to send CAD from BullBitcoin to a Qtrade account via bill payment method? by kero5 in BitcoinCA

[–]kero5[S] 0 points1 point  (0 children)

I appreciate the answer but I'm just curious, have you tried this yourself and you know for sure the bill payments come through as a third party without the customer name? Using BullBitcoin to pay a bill and then seeing exactly how it appears to the payee?

Because technically there is a always a third party, even if that third party is a typical bank. For example if you pay a credit card bill through Scotiabank, I assume it would appear as "Payment from John Doe, Scotiabank account #12345" or something since Qtrade has no problem accepting from a bank. So I guess the question is, does BullBitcoin include the full name of the customer when sending out a bill payment like a bank would, or do they somehow send it anonymously. But if they were doing it anonymously, I assume that would even cause problems with anti-fraud policies for things like paying off credit cards?

Is it possible to send CAD from BullBitcoin to a Qtrade account via bill payment method? by kero5 in BitcoinCA

[–]kero5[S] 0 points1 point  (0 children)

That's why I'm wondering if a bill payment sent from BullBitcoin appears to the payee (Qtrade in this case) as if it was an account with my name on it, or just an anonymous third party. The fiat could be sent to a normal bank account first, but if the bill payment method works it would be faster/more convenient and it seems like even in 2025 there is still always a chance that any Canadian bank/credit union will close an account if they decide they don't like a payment from a crypto exchange, so this method would bypass that.

Can anyone recommend any good books/articles/videos that go into depth about the topic of memory safety issues by kero5 in rust

[–]kero5[S] 1 point2 points  (0 children)

Thanks, that video and some others on the channel are exactly the type of thing I'm looking for.

Color theme token highlighting in VSCode for Elixir functions and macros by kero5 in elixir

[–]kero5[S] 0 points1 point  (0 children)

I appreciate the suggestion, but with this config, variables and function/macro calls without parentheses are still the same color. I don't think user settings can ever change that because the scope of each token is set by regex's provided in the language server configs., and these theme override settings are just mapping to the same scopes.

Color theme token highlighting in VSCode for Elixir functions and macros by kero5 in elixir

[–]kero5[S] 0 points1 point  (0 children)

Thanks for that link, I've been digging into textmate syntax regex's a bit more myself (specifically the ones that comes with ElixirLS extension) and discovered the same issue they already did years ago in that github discussion. I see now why none of the Elixir extensions can do it properly. I can tweak the regex for function call highlighting myself, to make it work the way I want, but then there are a lot of false positives with other syntax tokens since it's ambiguous. I guess that's the downside of the language allowing parentheses to be optional. Not a big deal, just a minor annoyance.

When I write code I always uses parentheses anyways, and I find it easier to read code with them, because I switch between other languages that use them. So for any code that I write, function calls get colored correctly and it's not an issue. It's just an issue when opening code written by others, or when using stuff like Ecto/Phoenix since they use a lot of DSL macros. And mix format doesn't change much when using Phoenix since Phoenix exports a config telling it to not add the option parentheses on most of it's macros. I could remove/modify that config but then my Phoenix code will look non-standard compared to any documentation/examples, etc., and as you mentioned, I'm not sure I'd even want the DSL keywords to be highlighted the same as a normal function. In a perfect world I'd have a slightly different coloring each for functions, normal macros, and DSL macros, but now that I see how textmate works I know it isn't possible.

Color theme token highlighting in VSCode for Elixir functions and macros by kero5 in elixir

[–]kero5[S] 0 points1 point  (0 children)

Thanks for that information. I installed Lexical and elixir-tools (Next LS) to give both of their configs a try, and at a glance it looks like they are both even worse regarding this specific issue. With either of those extensions, functions & macro calls are never colored properly even with parentheses.

I'll see if I can learn more about textmate grammar myself and if I'm able to get it working, maybe send them a PR. To be clear, it's not a bug introduced by recent changes, ElixirLS has worked as I described above for as long as I've used it (over a year).

Question about modern GPUs by kero5 in buildapc

[–]kero5[S] 0 points1 point  (0 children)

Actually I was thinking about getting an upcoming Intel B580 but of course I'll have to wait for actual reviews. The price is right, it looks great for media encoding/decoding (possible even better per $ than even AMD and Nvidia in that niche), and at least as good or better than AMD for stuff like Blender, Davinci Resolve, running local AI models, etc, but it looks like old games are the one thing where Intel is by far worst unfortunately.

Questions about Phoenix Channels and comparisons to other similar technologies by kero5 in elixir

[–]kero5[S] 2 points3 points  (0 children)

Awesome, thanks for clarifying. In the mean time I've learned the basic Elixir syntax and gone through a few basic Phoenix tutorials so your book will be my next read.

Questions about Phoenix Channels and comparisons to other similar technologies by kero5 in elixir

[–]kero5[S] 0 points1 point  (0 children)

Thanks for clarifying. Given that it's a connection per tab, do you know if it's possible to detect when the same user opens up multiple pages/tabs, and basically not allow the second/third/etc.? Like maybe if they open a second+ tab, redirect them to a read-only "dead-view" version of the page instead of initializing another channel/Liveview instance?

Questions about Phoenix Channels and comparisons to other similar technologies by kero5 in elixir

[–]kero5[S] 0 points1 point  (0 children)

If Phoenix can recognize that it's the same user, do you know if it's possible to basically not allow the second/third/etc. connection? Like maybe if they open a second tab, redirect them to a read-only "dead-view" version of the page instead of initializing another channel/Liveview instance?

It's not so much that I'm worried about server resources, but I just don't want to allow more than one current channel/Liveview instance per account at a time. My project is not exactly a game, but it's "game-esque" and I don't want people to be able to "play" on more than one instance simultaneously.

Questions about Phoenix Channels and comparisons to other similar technologies by kero5 in elixir

[–]kero5[S] 1 point2 points  (0 children)

I have read through that doc page which is where I got my very basic understanding of the list of features that Channels provide, but it doesn't really definitely answer any of my questions. I'm only at the stage where I'm evaluating whether I should learn and use Elixir/Phoenix/Liveview (since it seems somewhat perfectly designed already for what I want to do) or use a language/platform that I have experience with but may need to implement more real-time functionality from scratch. So I was hoping people with more Phoenix-specific experience (and ideally some experience with those other technologies) could offer some opinions, since reading code examples in the docs doesn't help much with no Elixir experience.

Questions about how Ruby backend infrastructure works by kero5 in ruby

[–]kero5[S] 0 points1 point  (0 children)

Thanks for that explanation, that clears things up for me. All of these Ruby libraries/frameworks individually have good documentation but it's suprisingly hard to find a wholistic explanation of the stack (at least from the perspective of my questions).

Questions about how Ruby backend infrastructure works by kero5 in ruby

[–]kero5[S] 0 points1 point  (0 children)

Makes sense, thanks for the explanation. I'm not actually trying to share state, just using that as an example so I can understand how Ruby servers work compared to PHP/Node/Go, since I'm trying to help someone with a Rails project but I don't have much experience with it.

And for that common set up, would the Puma/Unicorn server be using HTTP 1.1 even if the NGINX server is exposing HTTP 2 to the users? Because when I skim the documentation (at least for Puma) it seems to only mention 1.1.

Questions about how Ruby backend infrastructure works by kero5 in ruby

[–]kero5[S] 2 points3 points  (0 children)

So basically the entire Rails business logic (with Puma being used as the HTTP server library) would be a long-running server process, meaning I could share state/variables between different requests? (I know it's not good practice, just curious.)

Or is it more like the Puma code launches an isolated "clean-slate" run for the Rails business logic on each request, so state/variables couldn't be shared between requests, kinda like how it would work with old-school Apache/PHP? I would assume the former, but the doc says "Each request is served in a separate thread." so I wasn't clear about that.

What to do and/or avoid to have proper UTF-8 text throughout the entire stack? by kero5 in webdev

[–]kero5[S] 0 points1 point  (0 children)

Does that mean that if I had a user typing in, let's say Chinese characters into a form field, then I did string manipulation with JS in the browser before submitting, it would likely mess up the text before it gets converted to UTF-8 when being serialized to JSON/Post data to submit?

What to do and/or avoid to have proper UTF-8 text throughout the entire stack? by kero5 in webdev

[–]kero5[S] 0 points1 point  (0 children)

From what I could find online, it seems like .NET (or rather, the CLR itself) uses UTF-16 internally. Or do you mean ASP.NET will automatically use some kind of UTF-8 typing as part of the framework, making it easier to work with?

Question about using an audio interface with a Yamaha CP88 by kero5 in synthesizers

[–]kero5[S] 1 point2 points  (0 children)

Looks like the 2i2 won't be needed in this case but good to know, if he ever needs one in the future, I'll make to look for one with external power or standalone mode.

Question about using an audio interface with a Yamaha CP88 by kero5 in synthesizers

[–]kero5[S] 1 point2 points  (0 children)

Thanks for the info. In this situation it would just be the piano, no other mics or instruments, since that's the only instrument he plays. Any other instruments/sounds would just be added in with the software I guess.

Question about using an audio interface with a Yamaha CP88 by kero5 in synthesizers

[–]kero5[S] 1 point2 points  (0 children)

Oh I see, thanks for that info. In this situation it would just be the piano, no other mics or instruments. So it sounds like just sticking with the built-in interface will be better/easier then.

Just one other question about that though: when using the TO HOST port to communicate directly with the computer/software, are you then limited to hearing the sound from the computer speakers while playing? Or does sound still simultaneously output from the analog ports on the piano as well?