profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/felipebueno/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Felipe Bueno felipebueno Felipe Bueno Jundiaí, SP, Brasil https://www.linkedin.com/in/felipebueno42/ Christian, hacker, daydreamer. Enjoys life, people, nature and stuff. Writes code for a living.

pico-8/awesome-PICO-8 1884

A curated list of awesome PICO-8 resources, carts, tools and more

felipebueno/clovis 1

A command line tool to get your LÖVE started in a matter of seconds

felipebueno/dotfiles 0

My config files

felipebueno/fhn 0

Unofficial Hacker News client written in Flutter

felipebueno/filesystem_picker 0

FileSystem file or folder picker dialog.

felipebueno/flutter_alarm_clock 0

Flutter app for clock and alarm

felipebueno/gnome-shell-extension-radio 0

Gnome shell extension for listening to internet radio streams

push eventfelipebueno/sneer

Klaus Wuestefeld

commit sha 34df6cc39718c7dab3feabc1a8564889c0fbe844

Maintaining backward compatibility for core.

view details

Klaus Wuestefeld

commit sha 89ef64dd47d07c09dc083658468f241aaace145d

Sims of messages with delivery status.

view details

Klaus Wuestefeld

commit sha 27daa94ed042a9c1e985b3ae3ba9b78483796120

Server: router test DSL extracted.

view details

Klaus Wuestefeld

commit sha 28fe6d3ddc98b75f44ec38ed1c52e58f17f52038

Minor

view details

Klaus Wuestefeld

commit sha 38d1ebb506eb9321903575b8bfa721448a2e62aa

Server: priority routing test started.

view details

Klaus Wuestefeld

commit sha b093c46321a5a42ae9418df427dbb237489b7bcb

Web spike removed because of vulnerability in dependency.

view details

push time in 3 days

issue commentliodali/osm_flutter

App crashes when "navigating too fast"

the fix of this problem will be available in the version 0.21.0 because i need to fix it properly because it can happen even if you use controller.setZoom and you leave the page , the app will crash

Thanks, @liodali :slightly_smiling_face:

felipebueno

comment created time in 5 days

issue commentliodali/osm_flutter

App crashes when "navigating too fast"

ok i will fix that but just question the crash happen when you leave the page with osmwidget or when you open that page

The crash happens when I leave the page :+1:

felipebueno

comment created time in 5 days

issue commentliodali/osm_flutter

App crashes when "navigating too fast"

@liodali the app stops working and the stacktrace is only visible using adb logcat (I use adb logcat | grep -i osm to filter the output).

felipebueno

comment created time in 5 days

issue openedliodali/osm_flutter

Crashing when "navigating too fast"

Hi, @liodali!

My app is crashing when I navigate between pages before the map completed loading. I think it's related to this line on FlutterOsmView.kt.

Can you help me to fix this error, please?

https://github.com/liodali/osm_flutter/blob/f90f249d78c9f27bf1ee11da7f667c837df27162/android/src/main/kotlin/hamza/dali/flutter_osm_plugin/FlutterOsmView.kt#L90

Logcat output:

09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: Failed to handle method call
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: java.lang.NullPointerException
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at hamza.dali.flutter_osm_plugin.FlutterOsmViewKt.configZoomMap(FlutterOsmView.kt:90)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at hamza.dali.flutter_osm_plugin.FlutterOsmView.onMethodCall(FlutterOsmView.kt:276)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at android.os.MessageQueue.nativePollOnce(Native Method)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at android.os.MessageQueue.next(MessageQueue.java:336)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at android.os.Looper.loop(Looper.java:181)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at android.app.ActivityThread.main(ActivityThread.java:7590)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at java.lang.reflect.Method.invoke(Native Method)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
09-13 08:50:52.272 21547 21547 E MethodChannel#plugins.dali.hamza/osmview_0: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
09-13 08:50:52.281 21547 21750 E flutter : 	at hamza.dali.flutter_osm_plugin.FlutterOsmViewKt.configZoomMap(FlutterOsmView.kt:90)
09-13 08:50:52.281 21547 21750 E flutter : 	at hamza.dali.flutter_osm_plugin.FlutterOsmView.onMethodCall(FlutterOsmView.kt:276)
09-13 08:50:52.281 21547 21750 E flutter : #2      config.configureZoomMap (package:flutter_osm_plugin/src/channel/osm_method_channel.dart:651:5)
09-13 08:50:52.281 21547 21750 E flutter : #3      OSMController.configureZoomMap (package:flutter_osm_plugin/src/controller/osm_controller.dart:248:5)
09-13 08:50:52.281 21547 21750 E flutter : #4      OSMController.initMap (package:flutter_osm_plugin/src/controller/osm_controller.dart:67:5)
09-13 08:50:52.281 21547 21750 E flutter : #5      BaseMapController._init.<anonymous closure> (package:flutter_osm_plugin/src/controller/base_map_controller.dart:62:7)

My map widget:

import 'package:flutter/material.dart';
import 'package:flutter_osm_plugin/flutter_osm_plugin.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class UFMapa extends StatefulWidget {
  final double startLatitude;
  final double startLongitude;
  final double endLatitude;
  final double endLongitude;

  const UFMapa({
    Key? key,
    required this.startLatitude,
    required this.startLongitude,
    required this.endLatitude,
    required this.endLongitude,
  }) : super(key: key);

  @override
  UFMapaState createState() => UFMapaState();
}

class UFMapaState extends State<UFMapa> {
  MapController? _mapController;

  @override
  void initState() {
    super.initState();
    try {
      _mapController = MapController(
        initMapWithUserPosition: false,
        initPosition: GeoPoint(
          latitude: widget.startLatitude,
          longitude: widget.startLongitude,
        ),
      );
    } catch (e) {}
    _mapController?.listenerMapIsReady.addListener(mapIsInitialized);
  }

  @override
  void dispose() {
    _mapController?.listenerMapIsReady.removeListener(mapIsInitialized);
    _mapController?.dispose();
    super.dispose();
  }

  void mapIsInitialized() async {
    if (_mapController == null) {
      return;
    }

    if (_mapController!.listenerMapIsReady.value) {
      try {
        await _mapController?.removeLastRoad();

        ///selection geoPoint
        GeoPoint? pointStart = GeoPoint(
          latitude: widget.startLatitude,
          longitude: widget.startLongitude,
        );

        GeoPoint? pointEnd = GeoPoint(
          latitude: widget.endLatitude,
          longitude: widget.endLongitude,
        );

        await _mapController?.drawRoad(
          pointStart,
          pointEnd,
          roadType: RoadType.car,
          roadOption: RoadOption(
            roadWidth: 10,
            roadColor: Colors.blueAccent,
            showMarkerOfPOI: true,
          ),
        );

        await _mapController?.enableTracking();
        await _mapController?.removeMarker(pointStart);
        _mapController?.setZoom(zoomLevel: 14);
      } on RoadException catch (e) {
        ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            content: Text(
              "${e.errorMessage()}",
            ),
          ),
        );
      }
    }
  }

  @override
  Widget build(BuildContext context) {
    if (_mapController == null) {
      return Container();
    }

    return OSMFlutter(
      controller: _mapController!,
      mapIsLoading: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            CircularProgressIndicator(),
            SizedBox(height: 8),
            Text(
              "Carregando..",
              style: TextStyle(
                color: Colors.grey[850],
                fontWeight: FontWeight.bold,
              ),
            ),
          ],
        ),
      ),
      showZoomController: false,
      showContributorBadgeForOSM: false,
      trackMyPosition: true,
      showDefaultInfoWindow: false,
      road: Road(
        startIcon: MarkerIcon(
          icon: Icon(
            FontAwesomeIcons.truck,
            size: 64,
            color: Colors.red,
          ),
        ),
        roadColor: Colors.red,
      ),
    );
  }
}

created time in 6 days

starteddart-lang/shelf

started time in 10 days

push eventfelipebueno/percy-code

Felipe Bueno

commit sha c2daece46164807bb8a4ef8fd3edeb9cac40d084

Remove out/ from git

view details

push time in 19 days

push eventfelipebueno/percy-code

Felipe Bueno

commit sha 37316ad5540b5b45afdcec0ad85088196a4b6607

minor

view details

push time in 19 days

push eventfelipebueno/percy-code

Felipe Bueno

commit sha 7fbb91494bdf5c1c391a4b84e0c15ddd2b0edeab

v0.0.5 - Create Component command

view details

push time in 19 days

push eventfelipebueno/percy-code

Felipe Bueno

commit sha 17ddd94a2f5fe262987e6e345622557df57c1b1f

Impl Create Component command

view details

push time in 19 days

push eventfelipebueno/percy-code

Felipe Bueno

commit sha b991f76d04c80d67ba2a8d121da3f1b184b94bb1

Allow creating css when not found

view details

push time in 19 days

delete branch felipebueno/percy-code

delete branch : imgbot

delete time in 19 days

PR closed felipebueno/percy-code

[ImgBot] Optimize images

Beep boop. Your images are optimized!

Your image file size has been reduced by 66% 🎉

<details> <summary> Details </summary>

File Before After Percent reduction
/assets/icon.png 45.91kb 15.71kb 65.78%

</details>


Black Lives Matter | 💰 donate | 🎓 learn | ✍🏾 sign

📝 docs | :octocat: repo | 🙋🏾 issues | 🏅 swag | 🏪 marketplace

+0 -0

0 comment

1 changed file

imgbot[bot]

pr closed time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha 53eb4b4ee4b68aec68e1e2fdaa6568115cc925ae

Downgrade @types/vscode

view details

Felipe Bueno

commit sha 69e2ef3873652b57b41c34469b4eb2da1ad08254

Update README.md

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha 517de74af498e8ec0a023c8697de68fdf662963a

minor

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha 6ba22d7c82d342177c1ba21d2675a615d00a61a1

Update README.md

view details

Felipe Bueno

commit sha 6021c23c957bde77ee8c0fdab880cd2d0ac3ca9b

v0.0.3

view details

Felipe Bueno

commit sha 6551ca9875cf13c7d3fad532e075d60dcd630dd6

WIP New commands

view details

Felipe Bueno

commit sha c72936740316b2906b5e94bbb3e909c828dca415

Add typescript + WIP new commands

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha b1fd5d9a5bed6a1a419ef77343ff1f6b1ca28b93

v0.0.2

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha d25f74bd5d9269b5bd0e9bac43fe64f799867a74

v0.1.1+1

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha adb800ebf730a0db02b9170ab8d9e1e54a01d06a

Update .gitignore

view details

Felipe Bueno

commit sha ec5b17762d3af472b19c5cb46105478ffa2b8849

Update icon.png

view details

push time in 20 days

push eventfelipebueno/percy

Felipe Bueno

commit sha c5a35bd886f823f6c81f7b906adc61d9dcf92eaa

minor

view details

push time in 20 days

create barnchfelipebueno/percy

branch : master

created branch time in 20 days

created repositoryfelipebueno/percy

created time in 20 days

push eventpico-8/awesome-PICO-8

Shoozza

commit sha e4c0fc42f38db9bf70f4b7878fb402fb91e5cfa9

Update github link to picolove project

view details

Felipe Bueno

commit sha 87a4ed44c1a284a4fe0fa9b24be65f24c949edfe

Merge pull request #62 from Shoozza/patch-1 Update github link to picolove project

view details

push time in a month

startedlucaslannes/openbible

started time in a month

startedAbdulRahmanAlHamali/flutter_typeahead

started time in a month

startedjwagner/analog-film-emulator

started time in a month

startedPolyMeilex/Neothesia

started time in 2 months

startedTh3Wall/Fakeflix

started time in 2 months

startedhydro-sdk/hydro-sdk

started time in 2 months