-
24 votes
-
Property-based testing against a model of a web application
7 votes -
I ported thousands of apps to Windows 95
23 votes -
I is for Intent: why your app turned into spaghetti
20 votes -
App or workflow suggestion for viewing and selecting photos on PC
As an amateur photographer, I'm looking for recommendations to improve my process for reviewing and selecting the best photos from my albums. Currently, it goes something like this: (after I copy...
As an amateur photographer, I'm looking for recommendations to improve my process for reviewing and selecting the best photos from my albums.
Currently, it goes something like this:
- (after I copy the photos to my PC) I open the folder containing the album
- I open the first photo and start looking at the pictures using the default photo viewing app
- I note mentally, on paper, or in a digital notepad the names of the files that I like the most
- manually select the files that I noted down
My ideal workflow would be something like:
- open the folder, open first photo, look through them all
- each time I see a picture that I like, hit space or some other simple shortcut, which adds the picture to the current selection
- after I am done viewing, I have all the files that I want already selected to do with as I please
I have tried multiple apps over the years but I haven't come across anything that had something similar, or I was too stupid to figure out how to do it. The workflow I described is using windows/linux, on macOS it's even more cumbersome (since one needs to select all photos in a folder before previewing them).
Do you have any recommendations for an app that has functionality like this, or if not, on how I can make my workflow better?
Thanks
5 votes -
Creating an Android app - Help refer a book or guide?
For most of my life, I've been a hobbyist programmer. From Qbasic to Python and JavaScript. I've always wanted to create an Android app, really just for me, just to do it. It's a bucket list...
For most of my life, I've been a hobbyist programmer. From Qbasic to Python and JavaScript. I've always wanted to create an Android app, really just for me, just to do it. It's a bucket list thing.
Can you give me a book or a website guide that is up to date and complete but not 100,000 pages long that could help me get it done? A book would be preferred! I just want to cross this off my list!
13 votes -
The ideal backend language to write web apps in 2023?
I know quite a controversial and opinionated question, one that might easily get blasted with downvotes on a site like StackOverflow or even Reddit! Nevertheless, one which I believe is still...
I know quite a controversial and opinionated question, one that might easily get blasted with downvotes on a site like StackOverflow or even Reddit! Nevertheless, one which I believe is still relevant to ask and useful one even in 2023.
The problem with backend web technologies is that we are overwhelmed with choices. Whilst getting spoilt with choices seems like a useful thing sometimes, it might easily be an impediment in decision making too. Based on my experience, there are a bunch of useful stacks and I will work on any of them if you pay me to work as a freelance coder. Each has its own pros and cons but I'm yet to find the ideal one which according to me is something that should be easy to code and deploy while also better performing at the same time.
- ASP.NET: C# is the language I started coding web apps with in my last company and ASP.NET web forms was quite the rage back then. PHP was also gaining traction in the open source world and the webdev was mostly divided between the Enterprisey .NET aristocrats of Microsoft world and the poor PHP peasants of the FOSS world! One good thing about ASP.NET was performance. Since MS controlled the whole stack, they also put great efforts at making it work faster. The bad thing, of course, was dependence on a closed tech stack and a closed black box that generated JS functionality on its own.
- PHP: When I resigned from that company and started freelancing, I came to know about open source, linux, XAMPP, etc. That was when I realized that my own attitudes and thinking was more attuned to the FOSS peasant mindset than the wealthy aristocrat's! I didn't earn quite as much in freelancing with WP, Drupal, SuiteCRM, CodeIgniter, etc. but I found great happiness and contentment in being part of the open source process. Till date, PHP remains my favorite language for backend development and most of my web projects involve CodeIgniter or even pure PHP.
- Python: Flask is what got me interested in Python web development. The sheer minimalism and flexibility of that framework is what I found quite remarkable and quite a rarity in the frameworks world. And jinja2 template system was just fantastic. The other framework called django is more popular I think and I've worked on that too but Flask still remains my favorite. Flask is good in performance dept. too but I think it gets tricky once you start scaling with too many users.
- Java: I've never really bothered with Java web development except a few tutorial experiments on the Apache TomEE server. The multi-layered approach that Java takes not only has very steep learning curve but unless you're a very gifted programmer, it's practically impossible to beat the performance of interpreted PHP/Flask!
- NodeJS: Again, not much work here except brief hobby projects like http-live-simulator. The npm packaging system really turned me off initially with so many packages and issues with that system in the earlier days. Nowadays, I've heard that it's much usable but I've never gotten into it.
And now, we also have the evolving languages like Golang, Rust, etc. taking their baby steps towards web development too! Are any of them worth giving a try? If someone were to ask you for a backend tech stack recommendation while giving equal weightage to performance, developer productivity and ease of deployment, which one will you suggest?
23 votes -
Using computers more freely and safely
8 votes -
I just discovered a free, accountless graphic design web-app, in the vein of Canva and Crello
4 votes -
Browser Session vs JWT tokens for authentication system for an app?
I'm working on an app idea, it's going to be "API first" in design which means there is a clear separation between the backend and frontend. Former will be accessible through a REST API and the...
I'm working on an app idea, it's going to be "API first" in design which means there is a clear separation between the backend and frontend. Former will be accessible through a REST API and the latter can be simple HTML without me having to delve too much on it. The idea is that the end users or clients will write their own front-end interacting with this REST API in future.
Firstly, I want to know where to start. Writing a REST API seems quite easy and simple for me as a backend engineer but I've never implemented a "pure API" app in practice. Do you just validate the headers, do the crunching and return back a JSON response? What all must you take care of here?
Finally, authentication and session handling is something very important here, isn't it? If I make use of session feature in the REST API (like PHP sessions or Django sessions, for eg), authentication will be pretty easier. I don't have to worry about encryption as SSL/TLS would be already doing that for me through the browser. But then what is the downside of this method? Why do so many people use JWT tokens then?
Coming to JWT tokens, is that the only way of encrypting/validating REST APIs, or are there others? My biggest concern here is scaling and performance. I'm willing to implement the most efficient path here, the one that gives the most performance using least resources.
3 votes -
AdminLTE vs Pure Bootstrap for a new web project?
I'm primarily a freelance backend dev and for the first time venturing on full-stack development of a non-trivial web app on my own, hence I needed some guidance. I've got all the backend stuff in...
I'm primarily a freelance backend dev and for the first time venturing on full-stack development of a non-trivial web app on my own, hence I needed some guidance.
I've got all the backend stuff in php/mysql covered, I just want to know what's the best way to create a dashboard (with left sidebar) considering various aspects like long-term code maintenance and support, robustness, etc. Looks don't matter that much as it's a CRUD app but obviously, better is more appreciated.
Based on my research until now, AdminLTE seems to be the most popular way of doing it among most devs although a few others like material and coreui also seem to have some street cred.
But another approach I'm considering apart from AdminLTE is to just use pure bootstrap and fiddle up my own sidebar using something like this. That way, I won't be tied to just one Bootstrap version which is used by AdminLTE (v4.6) and troubleshooting will be much easier through google search and StackOverflow. What do you guys think is the right approach?
5 votes -
Help me decide what technology should I use for this project
I’m a solo freelance programmer and want to write an app for internal project management, somewhere I can add projects, milestones, tasks, etc. and track them as I work on them, occasionally...
I’m a solo freelance programmer and want to write an app for internal project management, somewhere I can add projects, milestones, tasks, etc. and track them as I work on them, occasionally remind me of things like take a break, lunch time, etc. and over time I can track on which category I worked how many hours, etc.
I’m actually confused between whether to build this as a Web or Windows Desktop app. I’m considering latter because it can run efficiently on my laptop in the system tray using least memory and resources, web-based on the other hand will force me keep running an apache server too which will be an overhead (unless I host it on Google Cloud or someplace which might be an option?)
The only reason for considering web-based is that eventually I’m planning to make this tool open source and with web-based, many others can find this useful too (including OSX/Linux users). At that point, I may consider expanding its schema to include multi-user connectivity, client login, etc. but that’s going too far at this point!
The idea is that this tool should be useful not just for me but other freelancers, students, etc. who might be in my shoes. From that perspective, what do you think is the right technology to use? Web based or Windows based?
(I’ve extensively worked on C#/WinForms projects before and I’m thinking Visual Studio Express for desktop development. If web-based, it’ll be php/mysql based)
5 votes -
The (not so) hidden cost of sharing code between iOS and Android
10 votes -
Start with a website, not a mobile app
20 votes -
Anyone here using Flutter?
In the rare chance you haven't heard of Flutter, here's the link: https://flutter.io Flutter just officially left beta with v1.0 December 4, last year. The code is written in Dart, and deploys on...
In the rare chance you haven't heard of Flutter, here's the link: https://flutter.io
Flutter just officially left beta with v1.0 December 4, last year. The code is written in Dart, and deploys on Android, and iOS (and will run natively on the rumored Fuchsia OS).
So for those of you that have used Flutter or are currently using Flutter.
- What are you working on?
- Why'd you choose Flutter?
- What do you like about Flutter?
- And what do you dislike about Flutter?
I'll start:
I'm working on a niche art app. I myself do not do that type of art, but knowing people that do, I wanted to create a tool to fill in the lackluckster market for Chromebooks and Android.
I chose Flutter because:- I wanted to try something new, and what newer than something that was (at the time) in beta?
- Custom Views in Android are a hassle.
- I will be able to release on both Android and iOS (semi-)natively without having to code it twice.
Here's what I like about Flutter:
- Layouts are really simple.
(though you can easily let it get clustered if you don't think too much about it.) - Design isn't an afterthought.
Animations are built in (and simple), themes aren't hard-coded, and Material Components get more attention here. (Still waiting for Shapes on Android) - It's fast by design.
Flutter uses its own custom rendering engine (Skia). I've never experienced any stutter with the built-in components, and when I caused lag (with heavy I/O) Flutter/Dart had tools in place for me to narrow down exactly what was causing it.
What I don't like about Flutter:
- It has poor mouse/trackpad support.
Right clicks, not a thing. I can workaround this with a double-click/long-click, but for a desktop OS, this isn't optimal. Scrolling, that's panning, this should be differentiated. There's a difference between using a scrollwheel and moving finger around on the screen. According to Flutter there is not. There's also currently no support for mouse hovers which I have needed very much.
There is a pull-request for adding support for all of these, but the developer hasn't done anything since code review. - Keyboard support, while there, is lackluster.
Ctrl, Shift, Alt. These have to be gotten with the meta code. There's no built-in function for checking those. Text fields don't support the tab key to navigate. And text formatting (bold, italic, etc.) isn't possible with text fields without the use of a library (or making it yourself).
I was trying to think of a third dislike, but I can't. My complaints are on missing APIs for Chromebooks. That's it. I really like Flutter, I plan on using it more, and if they won't add support for mouse/keyboard, maybe I'll have to contribute.
I'd love to hear what your thoughts about it is.
12 votes -
Need advice about Tomboy notes and note apps in general
I'm looking for some advice on what note programs people recommend. Not a basic text editor, but something capable of doing some basic categorizing, chronological sorting, that sort of thing. I've...
I'm looking for some advice on what note programs people recommend. Not a basic text editor, but something capable of doing some basic categorizing, chronological sorting, that sort of thing. I've used Evernote most recently, but I'm becoming less and less of a fan. I don't need cloud sync necessarily, although device sync could be handy. A pleasant UI (not fettered with extraneous crap) would be nice, but aesthetic appeal takes a backseat to navigation and stability. Target OS is mostly likely going to be windows 10.
What are you experiences with note apps, what are your favorites?
(A bit of context for anyone interested)
Years ago, I used tomboy notes in Ubuntu for keeping track of timesheets/daily logs. It seemed like a good program to set up for my step dad to use as well. A few years later, Tomboy notes petered out without much fanfare. I've kept his laptop running with that setup for as long as I could, but the hardware is just getting worn out (it's about 10 years old now).So! Time to get him an upgrade. This time around, I don't think I'm gonna set up up with Linux. He isn't really up to the task of doing his own troubleshooting in linux (i.e. when an automatic update breaks something), and I haven't even been keeping up on Linux for the past few years myself. So I'm probably going to set him up on a Windows machine.
I should be able to export the tomboy notes database fairly easy, but it would be a huge load off my mind if I could settle on a decent program to migrate to first.
Thanks in advance for any input!
11 votes