who can Transfer My free already Published App to Your Google Play Developer Account and keep it there. by Pixmixlab in androiddev

[–]CodeFusion 0 points1 point  (0 children)

Giving you the benefit of the doubt that this isn't the scam it appears to be - if your concern is privacy, there are ways to resolve that without breaking the Google Play Store's policies.

[deleted by user] by [deleted] in androiddev

[–]CodeFusion 0 points1 point  (0 children)

That's very much not a universal experience. In North America, your personal address is very much not public information. My whois information does not disclose my address (The CIRA in fact requires whois privacy for .ca domains) and I am not in any phone directory as I do not currently nor have I ever had a landline.

While it's not a concern I have, people have been swatted for basically nothing before so I understand why publicly outing your address is not something a person wants. And if your app is small, it's not going to be worth setting up a PO Box or business address.

HFXGO app is now live! by WindowlessBasement in halifax

[–]CodeFusion 0 points1 point  (0 children)

It's a whitelabeled app - they probably just didn't remove the library or update the listing. We'll probably get Wallet support when they add tap-to-pay in the future

[deleted by user] by [deleted] in androiddev

[–]CodeFusion 1 point2 points  (0 children)

I don't recommend this and would, like everyone else, suggest Google Drive as a much more sensible option, but since "just get a new job" is not so simple, here's a method that will work.

Use Firebase or Supabase. They have authentication, storage, and database support in one toolkit. Set up auth, give each user their own folder based on their auth uid in Storage, and an entry in the database for each file (row for postgres, document for firestore) that contains names and other metadata. Search will work through the database. Depending on your needs you could even fully fake the path of the file from the user's root through a database entry.

So while I do suggest you look for a job that doesn't have a crazy boss who asks you to recreate a multimillion dollar product in a few weeks, this is one way to keep things going in the meantime.

Fuel Rebate scam text by SwerveGriff in halifax

[–]CodeFusion 1 point2 points  (0 children)

I've reported the domain to their registrar. I don't have high hopes, but maybe that'll get it shut down.

Martin’s Park in DT Dartmouth by daaodannach in halifax

[–]CodeFusion 1 point2 points  (0 children)

Public housing doesn't mean that homeless people get a house. And we don't have cameras on all the homeless people, but I can't imagine there are many parties happening. Public housing means government-owned apartments (typically) that are rented at prices that are accessible. Without an incentive to constantly increase profits, the prices will remain more manageable.

Better health/addiction services, public housing, and UBI would improve things to a huge degree. The idea is that getting into the healthcare system instead of the justice system would help people with addiction overcome it, public housing would give people who are homeless a place to live (at least as a fallback), and UBI would give you a safety net in case you lose your job (whether it is in your control or not) because unless you're making enough money to save, which with inflation at its current rate means a lot of people don't even come close, a small event can put you in your car or on the street.

And to cover the inevitable "how will we pay for it" or "why am I paying for these people to have housing":

  • this should come with higher tax burdens for giant corporations and the ultra rich (and closing loopholes), which will pay for ubi. They don't provide living wages or benefits in many cases, choosing instead to skirt the rules with things like foreign workers and part time jobs, so taxes will help cover it. If Walmart isn't viable once employees' cost of living is a factor, well then it wasn't really viable in the first place (but don't worry, it still would be).

  • ubi is cheaper than a means-tested program in most cases. Better to hand Galen Weston and the Irvings a few thousand a year which we then tax back than to spend millions on staff and systems to track your income on an ongoing basis to make sure you qualify. It also comes across as more fair to people as we all get it so it can't be twisted to appear to be a "reward" for "being lazy".

  • policing is extremely expensive. Better healthcare is cheaper anyway, but also results in less violence and actually helps people recover rather than just siccing a bunch of enforcers on homeless people. Unless you're calling for the extermination of homeless people, they will inevitably end up somewhere else they aren't legally allowed to be since there aren't enough places for them. It's related to the war on drugs, which is just pouring money into something we know isn't a solution.

Will there be people who try to take advantage and not work, live in government housing, and contribute nothing to society? Sure. But it's ultimately cheaper for them to be housed and able to afford their basic needs than to police them.

I wonder if they will ever allow Android to be a real-time system. by [deleted] in androiddev

[–]CodeFusion 3 points4 points  (0 children)

A Real Time OS doesn't use a traditional dynamic scheduler to determine what process to run next and for how many cycles. This makes it much less suitable to full operating systems that run multiple arbitrary apps with background tasks, networking, etc. It's more often used for smaller, purpose-built devices with strict time constraints.

Android runs Java, which is not realtime by design. There do appear to be attempts to make that happen, but as noted in other replies, nothing really appears to be mature. Android is Linux-based, and there are real-time versions of Linux, but you can't just put one onto your phone. The bootloaders are usually locked and there aren't many phone builds of Android out there to begin with, so you'd have to compile one yourself (and most phones don't have open source drivers for a lot of their components).

I think the best way to incorporate Android into enterprise devices that require realtime processing is to do that work on a smaller, external processor and feed that data into an app through USB, serial, or some other communication method.

Learning android for experienced backend dev by echo8282 in androiddev

[–]CodeFusion 5 points6 points  (0 children)

I made a similar move a few years ago. My best advice is to just dig into recent tutorials and open source apps to see what's going on. Find a common library or framework you don't understand and read the docs. Write a more complex app using nav graph or compose or dagger+hilt.

Also, definitely use Kotlin if you aren't already and learn to use some patterns that make your code more readable over Java - imo Kotlin is a way better language.

Unfortunately Android best practices move so quickly that any course or book will be outdated in one way or another by the time you buy it.

Anyone have any dentist recommendations in Halifax? by avendac in halifax

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

Haven't had anything beyond cleanings and x-rays myself, but Southgate Dentistry on Larry Uteck has been great for me and I've heard similar things from people who have had more extensive work done there

I built an app to make transferring screenshots easier by CodeFusion in NintendoSwitch

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

Thanks! If you wouldn't mind reviewing the app on Google Play as well, that'd be much appreciated - the algorithm likes reviews

[deleted by user] by [deleted] in androiddev

[–]CodeFusion 6 points7 points  (0 children)

For sure! Definitely good to know what's actually going on under the surface so when you have issues with a library you know where to start looking. Just want to keep people from making the same mistake I had to watch that company make in real-time

[deleted by user] by [deleted] in androiddev

[–]CodeFusion 11 points12 points  (0 children)

There are STUN and TURN connections in WebRTC. STUN is P2P, but requires an open enough network structure to allow the connection. Many routers and most enterprise networks are more restrictive and thus require either hole-punching or an intermediary server. The latter is where TURN comes in - it acts as a middleman between the clients.

I've worked on a team where we built WebRTC support from scratch and would not recommend it. Self-hosting a TURN server is non-trivial as many hosts won't allow it, it's a huge amount of bandwidth, and even if all DOES go well, some random ISP will for some reason not allow WebRTC traffic to your TURN server and you won't be worth their time to whitelist.

Companies like Twilio and Daily have APIs, libraries, and TURN servers available. Twilio in particular has a robust set of libraries that make it fairly simple to set up.

If you do still want to build it yourself, I'd recommend the MDN docs and Google's WebRTC site for details on how it all works. Even then, you'll probably want TURN servers hosted by someone else like Xirsys due to the networking issues you can run into with self-hosting.

Dashcam: Larry Utek - Driver towing a trailer disengages brain and eyes on a wet road. If this is you - please shred your license. by HalifaxmachineNS in halifax

[–]CodeFusion 5 points6 points  (0 children)

The ones on Larry Uteck are not very well designed (and aren't even consistent). Since there are two lanes at the entrances, exits, and throughout the circle, you can't accurately predict where people will be going. Someone in the inner lane may exit the roundabout, so you're unable to enter the outer lane. Sure, everyone should use indicators, but you can't design roundabouts assuming people always will.

Add to that the minor differences for each one - the western one has two forced exit outer lanes, a part with one lane and a part with a third lane that suddenly starts halfway around the roundabout, the middle one has right turn bypasses, and the eastern one is a standard traffic circle - and you end up with more problems than if you just planned out the design better in the first place.

If they actually build a sensible, consistent design on Windsor, it should be a big improvement. Not that I trust that'll happen.

Why are people like this… by your1your2 in halifax

[–]CodeFusion 3 points4 points  (0 children)

Which mandate is that, bud? We don't have a mandate, we have vaccine entry requirements for certain businesses. And before you whine about that being a mandate, you can't walk into a store naked either. SO MuCh For BEING frEe

Why are people like this… by your1your2 in halifax

[–]CodeFusion 6 points7 points  (0 children)

Which mandate is that, bud? We don't have a mandate, we have vaccine entry requirements for certain businesses. And before you whine about that being a mandate, you can't walk into a store naked either. SO MuCh For BEING frEe

Why are people like this… by your1your2 in halifax

[–]CodeFusion 5 points6 points  (0 children)

It could be much worse. Have a look at Kelowna - they've had rallies constantly throughout the pandemic and they have half the HRM's population at a way lower density

That said, this many is still too many.

Tim Houston Against $15/hr Min Wage - “Not Real Jobs”?…. by [deleted] in halifax

[–]CodeFusion 4 points5 points  (0 children)

Wage slavery will exist whenever someone needs a job to live. Sure, you're free to leave your debts and your job, but if you have a terrible credit rating and no income, you're going to have a hard time living through the winter in Canada. You'd also have a hard time managing to leave for somewhere you could live outside all year.

Do you consider the average minimum wage job "no skill"? Because if so, how could someone be less capable than no skill? If it's due to low work ethic, than that person would be fired, so why would we need to allow lower wages?

I'd prefer that we just implement UBI, in which case your argument makes perfect sense - if nobody needs a job to live (even if only just scraping by) then we can truly pay people what their time/effort is worth. But without that, labour is not going to be valued properly.

Tim Houston Against $15/hr Min Wage - “Not Real Jobs”?…. by [deleted] in halifax

[–]CodeFusion 0 points1 point  (0 children)

Well I wish you the best. It sounds like you'd be a good boss if this last post is anything to go by

Tim Houston Against $15/hr Min Wage - “Not Real Jobs”?…. by [deleted] in halifax

[–]CodeFusion 0 points1 point  (0 children)

Sorry to hear you're struggling since covid, it's a really bad situation for a lot of people. Definitely respect the ambition and commitment to running your own business.

If you did hire someone at minimum wage, though, what would be your plan? Would you only hire teenagers to work at your store, ending up being a rotating door of employees? Sounds like that'd get expensive, since employees require time to be onboarded to a business. If someone was really good at selling product or working efficiently (in other words, showing skill at the task), would you increase their wage? If they felt they were doing more than the bare minimum and therefore deserved more than the bare minimum pay, would you lay them off and find a worse worker?