Details
-
AboutProfessional FullStack Software / Web Developer
-
SkillsJS, Commodore BASIC, Python, C++, C#, PHP, Ruby, Swift, Visual BASIC, HTML, CSS, XHTML, SQL
-
LocationUnited Kingdom
-
Website
-
Github
Joined devRant on 12/16/2021
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
A Programmer's Introduction to Mathematics
By Jeremy Kun
Was suggested to me by Apples senior director of engineering. Very useful -
@MammaNeedHummus like when the web button is pressed it sends some code to the app calling a function to allow the user to select the file which the app itself will upload?
That’s a possibility as very small amounts of data can be quickly transferred from the web part to the apk app (such as a single function call). -
@CoreFusionX ah ok.
So make it so the actual apk application handles the upload in a foreground service to give it priority and prevent unexpected termination by OS? -
@Hazarth I have access to the web app, but not the apk file but the client said it’s just a web view.
They aren’t overly helpful -
@Hazarth I’m starting to think the only solution is to overlay an upload button on top of the web interface which will work like a normal app to keep it running via background services.
-
@Hazarth Yes that is exactly how it is normally done.
Unfortunately the apk is a web view of a web app, therefore it’s completely separate from the apk file which is what uses Android.app.service.
Technically it is possible to send data from the web app to the apk but that is pointless as that still requires it to be uploaded.
Think of it like this:
- The phone has an apk
- The web interface is on the apk
- The web app is on the web interface. -
@magicMirror I have no idea why the past developer made it like this 😂.
I’m not sure a wakelock would work as that wouldn’t allow the app user to close the app or put the device to sleep, which is one of the requirements of the client. The main problem is web view is paused or stopped when the app is closed, would be easier to just remake the whole application 🤣🤣 not being paid enough to do that though 💰 -
People saying “cringe” and “ngl” all the time ruffles my feathers.
-
@SidTheITGuy if you insist 😊 also no need for foul language.
-
@SidTheITGuy whatever you say 😊
-
@SidTheITGuy 😂 ok buddy, if it makes you feel big I’m an AI simp
-
@SidTheITGuy I’m not saying AI is good, it’s a really helpful tool but is far from perfect.
As developers we should embrace the new technology and use it when it is helpful, unlike non programming minds we know how to prompt AI to give us more accurate and useful results.
But by all means be annoyed at a post labelled meme/joke -
@lorentz I’m not sure what your obsession with Apple-Land is, but whatever floats your boat.
It was Apple who said it but it affects all companies. If I wanted to make a mobile phone company and wanted to experiment with creating new charging methods, there would be no incentive to as it wouldn’t be able to be sold in the EU, therefore forcing me to use USB-C otherwise I wouldn’t be able to sell anything to countries in the EU. -
@CoreFusionX with USB-C I see both sides. It’s fast, using a standard reduces waste, no need to look through chargers to find the right one.
But I also understand the stunting innovation, if it’s required by law to be 1 charger type, people won’t try to make anything better because it won’t be allowed to be used, and if a new charger is better and becomes the new standard than the law means nothing.
I buy a new mobile every 5 years and get through 3 cables (approximately).
The problem with innovation is how long it takes, the new Apple AR glasses have been in development for about 10years -
Different plugs for other countries, how hard can it be to make a different phone specific to EU that doesn’t have some features but has others. Want a changeable battery but still the same price? Better make some part of the device worse than.
-
@any-mesh 😂 Java into java
-
@ironside Don’t worry I am confident AI will not take our jobs. It’s a tool to use. AI is not perfect and never will be, people will need those who can read and understand code to be there to fix AI mistakes
-
@joewilliams007 I think that joke is too advanced for me 😅 is it an error code or something?
-
Sometimes pressing build and nothing returns an error is too much
-
Either 2 or 3. I sometimes use iPad as an extra monitor. 2 can be turned as needed.
Use 1 for coding and 1 for testing. ipad is used for searching stuff on the interwebs or testing code on a tablet/mobile device -
@Midnight-shcode I realised I had Apache servers running as well because I was doing a bit of SQL earlier. This 2% is with the servers off. I know the memory is still quite high but this PC doesn’t have much memory anyway.
I think it’s amazing to have 2% CPU usage with file explorer, 2 tabs open on edge, edge sidebar, Microsoft Word, windows defender, deskpins, Bluetooth, task manager and a mouse remapper (to remap side buttons on mouse) all running. I never realised Chrome was the cause for high CPU -
After all the replies, I’ve decided to move to edge. I’ve never had such a low cpu usage while having multiple web browser tabs open and word open. Didn’t realise chrome used soo much. Wonder why it uses so much 🤔
-
@100110111 I’ll give it a go then! I used to hate bing but I guess it’s changed a lot. Goodbye Chrome
-
@rEaL-jAsE has Microsoft paid you to say that 😂
-
@happygimp0 definitely chrome not malware was from the official site
-
LinkedIn is stupid anyway. So many fake jobs and people who put keywords and then are racist by asking for people of certain race
-
@ScriptCoded yea I do the odd project. I don’t do coding as a job (yet) as I’m a student but if family and friends need any help with things I put it in my to do folder too. Mostly assignments that need to be finished. Last week was a creating booking system which needed to show available tables instantly. Stuff like that
-
@ScriptCoded I have 4 folders
To do
In progress
Finished for upload
Uploaded
- Those folders in middle of desktop,
- Stuff folder in top left along with games
- Bottom left for office stuff
- Bottom Right, editing / recording software
- top right, coding applications such as vscode and burpsuite
- around middle folders, search engines like chrome, Firefox and Tor. -
@ScriptCoded 😂 for now I have it all organised. Idk how long for
-
Don’t worry it was probably always there but the code didn’t get to it as it encountered the bug before. Sometimes it’s good to read through code slowly and explain what each bit does to a ducky.