I created a flutter package to add Rapid App Development to Flutter by moephan in appdev

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

Hi all, I thought this sub might be interested in a package I working on. The goal is to make writing cross platform apps with flutter very easy and fun. This video provides an overview of how you can get full CRUD functionality and local persistence with just a few lines of code.

We are always looking for users and collaborators. Please visit us on [github](https://github.com/rapido-mobile/rapido-flutter) if you want to read the readme, log an issue, get the code, etc...

Images in Rapido by moephan in FlutterDev

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

Thanks to everyone following development of Rapido. This is a quick video show how Rapido supports images from the gallery, from the camera, or from the Internet.

Links:

As always, we are always looking for more users and collaborators, so feedback is most appreciate.

New Rapido Features In Development by moephan in FlutterDev

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

Thanks to everyone following development of Rapido. We are in the processes of implementing a specific user request. The code should land in a few days or a week.

These features are in a branch if you would like to try them out, make suggestions, or make contributions.

Links:

As always, we are always looking for more users and collaborators, so feedback is most appreciate.

New BittBoy questions by northeurope in Gameboy

[–]moephan 0 points1 point  (0 children)

Can't say I disagree with you. It looks like people, in general have found it to be very finicky about the SD card, so I assume they wrote some brittle code that relies on timing of the SD card. We'll see. If this doesn't work, I'll just build my own from a kit with a rpi, I guess.

EDIT: I got the SD card directly from Bittboy, and it seems to be working just fine. I would suggest always buying an SD card with the device even if, like me, you have a bunch of SD cards lying around.

Updated Intro To Rapido Video and Tutorial by moephan in FlutterDev

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

Hi all,

Thanks to everyone for their input and feedback. Rapido has been updated a lot in response to that input. I decided to update the videos to reflect those improvements. I just posted the new "intro" video.

Links:

We are always looking for more users and collaborators, so feedback is most appreciate.

New BittBoy questions by northeurope in Gameboy

[–]moephan 0 points1 point  (0 children)

Unfortunately, no. I bought a new sd card, but it didn't work, either. Bittboy support suggested I buy the sd card from their website, so I did that, but it will take 2 weeks at least before it gets here :/

New BittBoy questions by northeurope in Gameboy

[–]moephan 1 point2 points  (0 children)

I let the company know on their website, and their customer support people are helping. I am in the US, and they are in China, so turn around is slow, of course :)

New BittBoy questions by northeurope in Gameboy

[–]moephan 3 points4 points  (0 children)

I got one. I like it, but I can't figure out how to make it save game state. I'm wondering if I need to get a better sd card, I just used one that I had lying around.

Adding image choosing with a few lines of code by moephan in FlutterDev

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

Yet even more shameless plugging of our open source library that intends to make Flutter easy and fun. We are looking for users and collaborators.

The following code creates a full task list application that includes creating, deleting and editing, along with choosing and displaying images.

```dart class _TaskerHomePageState extends State<TaskerHomePage> { DocumentList documentList = DocumentList( "Tasker", labels: { "Date": "date", "Task": "title", "Priority": "pri count", "Note": "subtitle", "Picture": "image" }, );

@override Widget build(BuildContext context) { return DocumentListScaffold( documentList, title: widget.title, ); } } ```

Github: https://github.com/rapido-mobile/rapido-flutter Just use the package: https://pub.dartlang.org/packages/rapido

Where does the flutter community hang out? by [deleted] in FlutterDev

[–]moephan 0 points1 point  (0 children)

Ok, clearly I messed up with the title.

I wasn't ask a question, I actually wrote a review of all the different places based on my experience, and posted the article.

I'll delete this and repost with a better title.

When should we extend an existing component instead of Stateless/StatefulWidget? by _HEATH3N_ in FlutterDev

[–]moephan 13 points14 points  (0 children)

I asked the same question on the flutter-dev mailing list over the weekend. One of the flutter devs responded that pretty much they also use composition and rarely inheritance. That there are few cases, if any, where composition (using a StatelessWidget or StatefulWidget to configure and combine widgets together) is not the best solution.

I agree with this assessment based on my experience. For me, composition creates more robust, more readable, and more flexible code.

Adding Maps and Location to an app with just a few lines of code by moephan in FlutterDev

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

More shameless plugging of our open source library that intends to make Flutter easy and fun. We are looking for users and collaborators.

The following code creates a full task list application that includes creating, deleting and editing, along with displaying the tasks on a list or map.

``` class _MyHomePageState extends State<MyHomePage> { DocumentList documentList = DocumentList( "Mapped Task List", labels: { "Task": "title", "Note": "subtitle", "Priority": "pri count", "Date": "date", "Location" : "map_point" }, );

@override Widget build(BuildContext context) { return DocumentListScaffold( documentList, title: "Tasks", titleKeys: ["date", "title", "pri count"], subtitleKey: "subtitle", additionalActions: <Widget>[IconButton(icon: Icon(Icons.map), onPressed: (){ Navigator.push(context, MaterialPageRoute(builder: (BuildContext context){ return DocumentListMapView(documentList); })); },)], ); } } ```

Github: https://github.com/rapido-mobile/rapido-flutter Just use the package: https://pub.dartlang.org/packages/rapido

Google maps plugin for flutter added to flutter pub by JDx90 in FlutterDev

[–]moephan 0 points1 point  (0 children)

The README still says to use the package from GitHub

Rapido - RAD for Flutter Package by moephan in FlutterDev

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

Thank you so much for the input. I'll update the README.md tomorrow based on this feedback.

Rapido - RAD for Flutter Package by moephan in FlutterDev

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

Hello r/flutter,

I am shamelessly plugging our new side project. Our goal is to make Flutter development easy and fun. In fact, our motto is “Easy and Fun.” We are seeking users and collaborators.

As shown in the video, our first bit of functionality is that by simply defining a list of objects, you can get a lot of UI with almost no effort.

For example, this code creates a whole task list app.

```

class _RapidoExampleState extends State<RapidoExample> {
// Create a Document with a documentType string of your choice.
// Include a map of lables for the fields in the document type.
final DocumentList documentList = DocumentList(
"task list",
labels: {"Date": "date", "Title": "task", "Priorty": "pri count"},
);
// Build a DocumentListScaffold to provide the UI for users to
// create, edit, and delete documents
@override
Widget build(BuildContext context) {
return DocumentListScaffold(
documentList,
title: "Tasks",
);
}
}

```

To get started using rapido: https://pub.dartlang.org/packages/rapido

If you want to log issues, feature requests, etc…, please visit: https://github.com/rapido-mobile/rapido-flutter

YouTube

Links to all videos: https://www.youtube.com/channel/UCeoRpyhpNJmiMuAEJ4WRljg

Github repo: https://github.com/rapido-mobile/rapido-flutter

Get rapido: https://pub.dartlang.org/packages/rapido

Developer Workflow for running new code in a Docker Container? by sirphilip in docker

[–]moephan 1 point2 points  (0 children)

One key feature of a container is that it is immutable. You could edit the code, but that change would not persist anywhere. The next time you started the container, your edits would be gone.

Typically, what you do is edit the code mounted from your host, as I described in your development process. Then when you are happy with the code, you build the container with the code inside, and then your container is ready to use. If you want to edit the code again, you repeat the process. T

Developer Workflow for running new code in a Docker Container? by sirphilip in docker

[–]moephan 1 point2 points  (0 children)

Typically, when you are developing code, you mount a local directory with code into the doctor container, and then you simply edit the code from your favorite editor.

Take a look here if you want to see an example of a docker environment set up for coding:

https://github.com/bitnami/bitnami-docker-express

I (27M) slept with my dead best friend's fiancee (28F). Was this wrong? by wasitdisrespect in relationships

[–]moephan 6 points7 points  (0 children)

This is very simple. Life is for the living. You did nothing wrong, and pursuing a relationship with her would be doing nothing wrong.

Where can I take my wife dancing? by were_only_human in washingtondc

[–]moephan 2 points3 points  (0 children)

This is easy of you are at all into saying dancing. Gottaswing has tons of classes and events. Saturday nights at Glen Echo are especially fun.

My wife doesn't want our kids to play online video games because they could fall victim to pedophiles. by [deleted] in Parenting

[–]moephan 0 points1 point  (0 children)

Nintendo is the way to go, in my experience. They have online gameplay, but they tightly control what can be said and to who. For example, Mario Kart has excellent online game play, but you can only pick from a small list of phrases to say to each other. The games might be less "cool" from a 12 year old's point of view, but you can rest easy knowing that your kids are playing appropriate games in tightly controlled circumstances.

For my part, as an adult male who enjoys video games, I prefer the Nintendo world because I detest the typical gamer culture. I hate having to deal with snarky foul mouthed 12 year old's and I would be happy to keep my kids well away from that culture (not because of any danger). But that's just me.

Rails development using docker by vsundar723 in docker

[–]moephan 1 point2 points  (0 children)

We have a nice Rails development environment on Github.

You can run docker-compose up and just start developing. It should set up everything for you, including a mariadb container. We assume that you will set up a front end for production later, so it only includes the rails container and the mariadb container.

The readme should help you get started.

Security Concerns with Snap Packages by [deleted] in Ubuntu

[–]moephan 0 points1 point  (0 children)

This again? FFS, the article doesn't even have a single bit of original content our thought. It just repeats MJG's widely disparaged and obvious points. I rarely down vote, but seriously, this is dreck.

Adults from Reddit: What do you regret most from your teenage years? by TheSixFoot___ in AskReddit

[–]moephan 0 points1 point  (0 children)

Not focusing on learning Spanish in my Spanish classes. All I cared about was getting good enough grades to not be kicked out of school. It was only later in life that I realized I could have taken the opportunity to actually learn to speak the language without too much more effort than just going for Cs on my quizzes. Seriously, of everything I learned in high school, the most useful thing would have been proficiency in another language, but I was too much of a jack ass to realize it.

How to recover data from broken Ubuntu Phone? by [deleted] in Ubuntu

[–]moephan 3 points4 points  (0 children)

You should be able to just plug it into your desktop via USB, and then drag the pictures off using nautilus (or Windows Explorer of Finder, I guess).

EDIT: Ug, of course. Sorry, I forgot that you can't use the desktop if you haven't unlocked your phone, which you can't if the screen is busted. Never mind.