Fog Of War Implementation : Each polygon must have at least 4 points.

Hi !
I followed exactely the tutorial in the documentation but I get this error at runtime :
Can you help me please ?
Thanks :)
Edgar.Geometry.PolygonGrid2D.CheckIntegrity()`
Edgar.Geometry.PolygonGrid2D..ctor (System.Collections.Generic.IEnumerable`1[T] points)
Edgar.Unity.Polygon2D.GetGridPolygon () (at Assets/Edgar/Runtime/Common/Utils/Polygon2D.cs:94)
Edgar.Unity.Polygon2D.GetAllPoints () (at Assets/Edgar/Runtime/Common/Utils/Polygon2D.cs:75)
Edgar.Unity.FogOfWarGrid2D.GetPolygonPoints (Edgar.Unity.Polygon2D polygon) (at Assets/Edgar/Runtime/Grid2D/Common/FogOfWar/FogOfWarGrid2D.cs:555)
Edgar.Unity.FogOfWarGrid2D.GetTilesToReveal (System.Collections.Generic.List`1[T] roomsToReveal) (at Assets/Edgar/Runtime/Grid2D/Common/FogOfWar/FogOfWarGrid2D.cs:289)
Edgar.Unity.FogOfWarGrid2D+<RevealRoomCoroutine>d__50.MoveNext () (at Assets/Edgar/Runtime/Grid2D/Common/FogOfWar/FogOfWarGrid2D.cs:430)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Edgar.Unity.FogOfWarGrid2D:RevealRooms(List1, Nullable1, Boolean) (at Assets/Edgar/Runtime/Grid2D/Common/FogOfWar/FogOfWarGrid2D.cs:267)
Edgar.Unity.FogOfWarGrid2D:RevealRoomAndNeighbors(RoomInstanceGrid2D, Nullable`1, Boolean) (at Assets/Edgar/Runtime/Grid2D/Common/FogOfWar/FogOfWarGrid2D.cs:251)
FOGTrigger:OnTriggerEnter2D(Collider2D) (at Assets/Scripts/FOGTrigger.cs:28)```

Hello! Are you using the latest version of Edgar? What version of Unity do you have?
Are you doing something non-standard with the generator? Because the error looks like your room data got somehow corrupted and it's weird that it would happen only after the Fog of War is trying to reveal the room.
How are you running your setup? Is it all while in play mode or are you generating your level inside the editor (without play mode) and then entering the play mode with an already generated level? Because that could at least lead to some weird serialization issue.
Does the error happen right when you generate the level or do you have to do some extra steps?
Does the FogOfWar example that's inside the examples folder work for you?

I use the latest version, yes and I have Unity 2020.3.
I think I don't do something strange in my rooms, they look like a square or L-shaped
The error happened after I added the FOW component and all it's setup...
I generate my rooms in play mode.
The error happen right after room generation and, I think, before or while FOW generation.
Thanks

After the error happens, can you please look at the "Generated Level" game object and there's a field called Room instances and in each room instance there's Outline Polygon -> Points:

Your error indicates that there's a room instance which doesn't have at least 4 points in the array. Can you please check if you can find such room?

I'll check this evening sorry, because I'm at work and I don'thave Unity with me :/
I'll edit this comment in 8/9 hours

All my rooms have 4 points or more...

Weird. Now I suspect there's a problem inside your FOGTrigger script. Can you please show me the insides of the script? I suspect that there might be some serialization issues or something like that.
Or if you can just zip the whole project (the Assets folder should suffice) and send it to me that could also help. It's always quite hard to do this "remote debugging".

I'll send you the whole project by email :)

I think I found the problem. In your room template prefabs, the RoomInfo (Grid2D) component is attached to the root game object of the prefab. This later messes up the actual RoomInfo (Grid2D) component that should only be added after a level is generated. In turn, your FOGTrigger script somehow uses an uninitialised RoomInstance where the outline polygon is empty.
The solution is to go through your room templates and remove the  RoomInfo (Grid2D) component from the root game objects. After that, it should work.
Let me know if this fixes it for you!

I works thanks !


Some classes are missing from theme-base

primevue/resources/primevue.css from the the original package has some classes that are missing from this repository. for example .p-hidden-accessible or .p-overflow-hidden , so you still need to import /node_modules/primevue/resources/primevue.min.css in parallel with your theme.
I'm not sure this is intentional, but in the tutorial video (Create your own PrimeVue Themes) there is no mentioning of this.
Both versions are at 3.26 on my local.

Also encountering this issue.

I suspect this could be happening in my case also. I am using Nuxt and loading theme.scss in the nuxt configuration. So far, most things look fine. However, the floating label for the Text Input doesn't work unless I also import primevue.css.

It was the password component for me and it didn't look right when I tried the Basic example. The workaround that @dekztah presented works since it contains the missing classes. Particularly some classes at Common.css
Thought of making a PR but upon checking the other frameworks, the classes are missing as well so if this was intentional (I'd like to think otherwise) then maybe we're missing an instruction. Worst-case scenario, there are more missing classes that we  have yet to discover.
Vue has 73 lines while React and Angular has 68 lines so they're even missing one more class .p-icon.

They are added dynamically after the introduction of unstyled mode as they are still used in unstyled mode as well so they moved to core.


Conversion version changes are not captured in the documentation.

The instructions for the conversion part are not explaining that the version of the manifest needs to be v2. Also, those changes are not explained on the ConversionService Api page

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fa6d4f33-0311-2315-edef-b81c06fb3e0d
Version Independent ID: f7cc6c67-470f-e3f2-1a5c-d71487a85034
Content: Tutorial: Use Microsoft Azure Maps Creator to create indoor maps - Microsoft Azure Maps
Content Source: articles/azure-maps/tutorial-creator-indoor-maps.md
Service: azure-maps
GitHub Login: @brendansco
Microsoft Alias: Brendanc

@DigitalDots-DevOps
Thanks for your feedback! We will investigate and update as appropriate.

@DigitalDots-DevOps Thanks for sharing your feedback. I have assigned the issue to the content author to evaluate and update as appropriate.


Refactor br_arb_fixed_fv code, adding br_fv macro

Replace double for loop with two random FV indices
Add br_fv macro for code reuse
Add br_fv to dependency

pre-check fails. please edit related files and run pre-commit.
Ideal work flow:
git add .
pre-commit  // most errors will be fixed by pre-commit itself, you need to go back to step 1 to add changed files
git commit -m "some commit message"
git push origin <your_branch_name>


Create Steam Profile Page

Details / Requirements

Responsive Profile Picture

Desktop view port

Size: 170 X 170 px

Mobile View port

Size: 120 X 120 px

Steam Profile Name

Desktop view port

Right of Profile Picture

Mobile View port

Centered
Under Profile Picture

@Darcmarc78 Use https://tailwindcss-forms.vercel.app/ for searchbar styling ideas


Added new feature Clazzpath.getClashedClazzesNotIdentical

Some Java libraries (even Java EE / Jakarta EE) split the functionality into several Jars. This Jars can include byte identical classes. This classpath clashes might be tolerated by the developers. For this reason included a twin to Clazzpath.getClashedClazzes which does a bytewise comparison to clash classes and ignore identical classes.
ps. also did some java 8 cleanup (Mainly SonarLint suggestions)

Pull Request Test Coverage Report for Build 117

48 of 52 (92.31%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 87.215%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/org/vafer/jdependency/utils/DependencyUtils.java
15
19
78.95%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/org/vafer/jdependency/Clazzpath.java
1
97.96%

Totals

Change from base Build 116:
-0.3%

Covered Lines:
191

Relevant Lines:
219

💛  - Coveralls

Thanks for the PR!
A few comments:
This is a widely used library (all be it transitively) and focused PR help to reduce risk of breaking things.
Especially the lint fixes would be better in a separate PR.
For the feature itself:
I see how this can be useful, I would suggest to implement this a little different though.
I would rather calculate a hash per class and then make the identity comparison a composable feature on top of the normal clash detection.

I hope i understood you with the "composable feature on top of the normal clash detection."
As for the hash - i tried it with Array.hashcode and SHA-256.
The performance was very comparable:
A project with 1045 clashed classes took 0.3 more secs with all implementations on a normal laptop.
On the otherhand the hash made the code harder to read. So i think it it would be better to leave it this way.
Please feel free to change anything you like (or do not like)

Composable: I did not suggest the hashing for performance reason. I don't think it's best to expose these comparison detail on the API level. I would still just expose clashed clazzes and then remove the ones where the hashes are the same - afterwards. IMO there isn't really a need to do this on the API level. The API should just expose enough information to do this easily.
I think this PR should be split up into multiple

adding an optional path to the ClazzpathUnits
adding the class hashing
style issues
providing a test case, and maybe a helper to simplify the identify checking

Codecov Report

Merging #48 (3e2adcd) into master (322d407) will decrease coverage by 0.81%.
The diff coverage is 84.74%.

@@             Coverage Diff              @@
##             master      #48      +/-   ##
============================================
- Coverage     84.45%   83.64%   -0.82%
- Complexity       60       65       +5
============================================
  Files             7        7
  Lines           193      214      +21
  Branches         21       23       +2
============================================
+ Hits            163      179      +16
- Misses           24       28       +4
- Partials          6        7       +1

Impacted Files
Coverage Δ
Complexity Δ

...a/org/vafer/jdependency/utils/DependencyUtils.java
78.26% <75.00%> (-7.46%)
7.00 <6.00> (+5.00)
:arrow_down:

src/main/java/org/vafer/jdependency/Clazz.java
77.77% <80.00%> (ø)
14.00 <2.00> (ø)

src/main/java/org/vafer/jdependency/Clazzpath.java
93.68% <89.65%> (-0.57%)
33.00 <19.00> (ø)

...main/java/org/vafer/jdependency/ClazzpathUnit.java
100.00% <100.00%> (ø)
7.00 <5.00> (ø)

...afer/jdependency/asm/DependenciesClassAdapter.java
75.00% <100.00%> (ø)
3.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 322d407...264fbfb. Read the comment docs.

Sounds reasonable.
So first the style issues (they might cause conflicts).
But i am not so sure about the hashing. The hash will be used only one time, so there is no need to save them but rather use them inside the helper. And i am not sure what hash is best suited. I guess SHA1 or SHA256 should be sufficient and are hardware supported

I already had made some changes last night. So unfortunately there was some overlap.
I don't agree with all the style rules but applied some of the changes.
I also prepared for the digest calculation.

i did not see this commit and i will skip the cleanup.
So two PR are upcoming:
Add Optional Path (I guess to use Optional to not break the API public ClazzpathUnit addClazzpathUnit( final InputStream pInputStream, final String pId) throws IOException)?
Helper to remove double classes

While looking into it I think I changed my mind on the optional path. This is actually what the id can already be used for. I am not sure there really is a need for more - unless you can make a good case for it.

I think the most important part would be to figure out how the equivalent of
    public Set<Clazz> getClashedClazzes() {
        final Set<Clazz> all = new HashSet<>();
        for (Clazz clazz : clazzes.values()) {
            if (clazz.getClazzpathUnits().size() > 1) {
                all.add(clazz);
            }
        }
        return all;
    }

Should look like for the identity check. And from that derive the finishing of the digest implementation.

I need to load the class for the check.
Input is a Set. So ether they already have the information (needs to calculate and save the hash for all classes) or i need to receive the information from the jar.
By adding the path (which already was calculated) to ClazzpathUnit is the better choice because it calculates the information only for clashes when the feature is actually used.

I think the most important part would be to figure out how the equivalent of
    public Set<Clazz> getClashedClazzes() {
        final Set<Clazz> all = new HashSet<>();
        for (Clazz clazz : clazzes.values()) {
            if (clazz.getClazzpathUnits().size() > 1) {
                all.add(clazz);
            }
        }
        return all;
    }

Should look like for the identity check. And from that derive the finishing of the digest implementation.

If i understood you correctly, then the use would be like that:
Set<Clazz> clashes = ClashUtil.removeIdenticalClasses(cp.getClashedClazzes());

I need to load the class for the check.
Input is a Set. So ether they already have the information (needs to calculate and save the hash for all classes) or i need to receive the information from the jar.

The digest will already be provided. See https://github.com/tcurdt/jdependency/blob/master/src/main/java/org/vafer/jdependency/Clazzpath.java#L162
There is a performance penalty. Not sure how relevant it really is though.
It would be nice to allow for turning this off. But that feels like flexibility syndrome.

By adding the path (which already was calculated) to ClazzpathUnit is the better choice because it calculates the information only for clashes when the feature is actually used.

IIUC you are talking about lazy calculation of the hash?
I don't think that is feasible as not every ClazzpathUnit might have a path. It can also be provided by just an InputStream.

Set clashes = ClashUtil.removeIdenticalClasses(cp.getClashedClazzes());

Yes, the implementation of this would be the next step to figure out the best way for the digest propagation.

The feature i proposed was only working with file jars, but also does not create extra work.
To make it also work with InputStream requires to copy the InputStream, for example save the Resource in a byte[] - i do not think, that memory is much of an issue. Then create a ByteArrayInputStream for the DependenciesClassAdapter and create the  hash you proposed. The downside is, that it is always done, whenever the uses the feature or not. The hash can of course be created on demand - but that doesn't make the code any better.
So the options are

Optional Path.
Pro: On Demand.
Con: Does not work with Inputstreams only.
Copy Inputstream and Hash.
Pro: Works with everything and clean
Con: Performance? needs to be checked.
rejecting the feature
Pro: No Feature
Con: No Feature

Actually, looking at that list - you could even implement what you need with the released version as is.
The id of a ClazzpathUnit has no particular meaning. It's meant to attach information that you desire to the unit.
You could easily use the full path in there. (That's also why I am not so eager of adding another optional path.)
You then get the clashed classes, calculate the hashes (or compare them directly) from the given paths.
So that's possible without any changes at all.
So maybe a contribution could be just that. A helper that sits on top.
WDYT?

that is fine


Added method param

last modification to allow decode tracks, because it's POST and not GET method

merged with https://github.com/MenuDocs/erela.js/pull/97


[AUTOPATCHER-CORE] Patched mariadb to address CVE-2022-47015 -

[AUTOPATCHER-CORE] Patched mariadb to address CVE-2022-47015
Upgrade pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=301517&view=results
AMD64 build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=301518&view=results
ARM64 build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=301519&view=results

The published patch does not seem to apply to any of the active branches for mariadb, unclear if it is suitable.

Fixed in https://github.com/microsoft/CBL-Mariner/pull/4821


Navbar links,looks enhanced

Navbar looks enhanced and gives proper page paths.

Sure, you can work on it! @suman-tewary

@SSHSRN
I would like to work on this under JWOC


fix preview reexport

fix preview reexport from the dist dir

hey, i've published v0.8.2 with an equivalent version of these changes since it would have broken some functionality. Let me know if it fits your needs

thanks @eliasm307! btw do you mind adding a hacktoberfest-accepted label to the PR please, as I'm participating in it. Or even mark the repo with hacktoberfest, it would involve more people contribute

Hey @onmotion ive added the label
Thanks for your contributions!


Feature/cp adapter task 355 356 357

I just saw that the Business Test are failing. If you merge the develop branch into your branch, they should run again :-)


fix memory leak with print events

window.matchMedia returns a new list after each query so the original list needs to be preserved in order to unsubscribe from events. http://stackoverflow.com/a/25980293

Thanks!


After the enter redirected URL, no effects from code

Hi!
I followed the instructions of https://spotipy.readthedocs.io/en/latest/# and i think the authentication was successful.
After the enter of redirected URL i want to try to search an artist and print the results but i have no effects in output, and don't show any error
the code:
import spotipy
import spotipy.util as util

#Set token, username
token = util.prompt_for_user_token('xxxxxx', client_id='xxxxxx', client_secret='xxxxxx', redirect_uri='https://www.google.it')

sp = spotipy.Spotify(auth=token)

results = sp.search(q='Arctic Monkeys', limit=20)
for i, t in enumerate(results['tracks']['items']):
    print(' ', i, t['name'])

Someone correct me if I'm wrong, this may be because you don't have the scope, this is for the token:
token = util.prompt_for_user_token('username', 'scope', cient_id...)
https://developer.spotify.com/documentation/general/guides/scopes/

Thanks!


A justified choice of process model for the development work

Test: Ready for review @szeestraten

Written in section 4.2. Assignee: @LHSkjong


x/build/maintner: make it easy for interested clients to subscribe/watch for new Go releases

There are many clients that might be interested in knowing when a new Go release is tagged, in order to take some automated action. One recent example is pkg.go.dev (see issue #37568), but there are plenty of others.
Maintner already tracks the Go repository and knows when any tags are made. Interested clients can use a maintner client (either a normal one, or a tail-only client) to easily get notified and take appropriate action.
It should be helpful to make this easier to discover and use. /cc @julieqiu @toothrot @cagedmantis
Perhaps it can be done by adding an example to maintner package documentation. Here's a starting point for an example that uses maintner.TailNetworkMutationSource to watch for all new tags created in the main Go repository and printing them to stdout:
// Tail events from the maintner server in a loop.
for {
	err := maintner.TailNetworkMutationSource(context.Background(), godata.Server, func(e maintner.MutationStreamEvent) error {
		if e.Err != nil {
			log.Printf("# ignoring err: %v\n", e.Err)
			time.Sleep(5 * time.Second)
			return nil
		}
		m := e.Mutation
		if m.Gerrit == nil || m.Gerrit.Project != "go.googlesource.com/go" {
			// Not a Gerrit event, or not the main Go repo. Skip.
			return nil
		}
		for _, r := range m.Gerrit.Refs {
			if !strings.HasPrefix(r.Ref, "refs/tags/") {
				// Not a tag. Skip.
				continue
			}
			fmt.Printf("new tag in go repo: name=%q sha1=%q\n", r.Ref[len("refs/tags/"):], r.Sha1)
		}
		return nil
	})
	log.Printf("tail error: %v; restarting\n", err)
	time.Sleep(time.Second)
}

Using a full maintner client or maintner.NewNetworkMutationSource is a little more involved because it requires preserving state, which means writing to disk or another place. But this option can be investigated too.
Finally, we can consider exposing this functionality via a higher level API, but I think it should be easier to prototype this before committing to a public API that's hard to change.

Also see issues #34864 and #36898. /cc @mvdan @jmhodges


'cc1plus': execvp: No such file or directory

I'm trying to get the CC2650 Example to run.
I have installed the gcc 5.4.1 like it's described in this issue:https://github.com/openthread/openthread/issues/1915#issuecomment-334857701
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

But when i trying to compile this error appears:
$ make -f examples/Makefile-cc2650
  BUILD    cc2650
make -j10 -C build/cc2650 --no-print-directory all
  CHECK    .local-version
make --no-print-directory all-recursive
Making all in include
make  all-recursive
Making all in openthread
Making all in platform
make[6]: Für das Ziel „all“ ist nichts zu tun.
make[6]: Für das Ziel „all-am“ ist nichts zu tun.
Making all in src
Making all in core
  CXX      api/libopenthread_ftd_a-coap_api.o
  CXX      api/libopenthread_ftd_a-commissioner_api.o
  CXX      api/libopenthread_ftd_a-child_supervision_api.o
  CXX      api/libopenthread_ftd_a-dataset_api.o
  CXX      api/libopenthread_ftd_a-crypto_api.o
  CXX      api/libopenthread_ftd_a-dhcp6_api.o
  CXX      api/libopenthread_ftd_a-dataset_ftd_api.o
  CXX      api/libopenthread_ftd_a-icmp6_api.o
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
Makefile:1814: die Regel für Ziel „api/libopenthread_ftd_a-coap_api.o“ scheiterte
arm-none-eabi-g++: error trying to exec 'cc1plus': make[4]: *** [api/libopenthread_ftd_a-coap_api.o] Fehler 1
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
  CXX      api/libopenthread_ftd_a-dns_api.o
make[4]: *** Auf noch nicht beendete Prozesse wird gewartet …

What am I doing wrong?

It appears your system is 64-bit - you need to install the 32-bit libraries.  See how here.

What host OS are you using?  If ubuntu, can you try running:
$ cd <path-to-openthread>
$ ./script/bootstrap
$ git clean -xfd
$ ./bootstrap
$ make -f examples/Makefile-cc2650

Oh Sorry.
Yes i'm on Ubuntu.
But if you start the bootstrap it will install the newest arm-gcc, which is on version 6.
In Version 6 there will be this error: https://github.com/openthread/openthread/issues/1915#issue-237021114
So i run the bootstrap, uninstalled the arm-gcc and downloaded the version 5 https://launchpad.net/gcc-arm-embedded/5.0

FWIW, the gcc6 errors should be addressed by #2366.  I just built the latest master with no problems using the following version:
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Oh okay i will check that.

Okay no errors on building with version 6.3.1.
Thank you for the good Support. =)
PS: Maybe it would be good if you change the version hint:
https://github.com/openthread/openthread/blob/master/examples/platforms/cc2650/README.md


Google Maps rendering glitches caused by Engine change

Google3 app "Money" has reported a regression in Google Maps rendering behavior which they have narrowed down to Engine roll commit https://github.com/flutter/flutter/commit/9b0dc2ba36d4f3579bcca926af51bdf630702abe. The most likely actual Engine commit is https://github.com/flutter/engine/pull/54231.
When navigating to and from a screen with a GoogleMap embedded in it, there are glitches where parts of the non-Map screen start flashing and getting stuck.
See videos on internal bug b/359381093 for more information.
Minimal repro app:

Minimal repro

Note: You need to set up a GoogleMaps API key to actually make this work.
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: false),
      title: 'Flutter Demo',
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  void _pushAnotherPage() {
    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => Scaffold(
          body: Container(
            height: double.infinity,
            width: double.infinity,
            color: Colors.red,
            child: Center(child: Text('Another page')),
          ),
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: GoogleMap(
          initialCameraPosition: CameraPosition(
            target: LatLng(1.3521, 103.8198),
            zoom: 16,
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _pushAnotherPage,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

This is a serious regression in a launched product, so we'd want to get a fix or rollback in ASAP and probably cherry-pick it into this app's next release.

From primary triage: I checked this using Pixel 7, Android 14, on Flutter master channel 3.24.0-1.0.pre.559 (in profile mode) but couldn't see the issue as described. I didn't see any jank from Devtools as well.

Demo video
https://github.com/user-attachments/assets/33a85b3d-e310-4b9c-a70d-005db92e63fe

Based on the commit above, forwarding this to engine team for insights.

Revert landed at https://github.com/flutter/engine/commit/4246f1536c5d98c01326fa890384384c88c98aeb, removing priority to trigger re-triage.

@huycozy, this is only reproducible on iOS. Looking into this now.

I can reproduce this with impeller. I don't think it's limited to skia. I think the transition from disabled partial repaint to enabled needs some work.

Just to confirm: We're confident this issue only affects iOS, right? We're confident it doesn't affect Android? Just asking so I can keep our internal Google customers updated :-D.

Also, thank you very much for the swift rollback! Much appreciated.

Just to confirm: We're confident this issue only affects iOS, right? We're confident it doesn't affect Android? Just asking so I can keep our internal Google customers updated :-D.

Yes, only iOS is affected. Partial repaint optimizations are not implemented on Android.


License should contain copyright notice

Who owns the copyright on Tachyons?  The MIT license states:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

We want to do the right thing, but there's no copyright notice in the license.  Could you add one (or let me know who it should mention, and I'll send a PR)?

Believe this is fixed.

Confirmed, thanks!


Improve performance

No need to do this at this point as testing proved caching doesn't buy us more time


⚠ Bofrost.at has degraded performance

In 4104d55, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 937 ms

Resolved: Bofrost.at performance has improved in c7f0c4f.


Implement key based ssh authentication

Explanation on the last commit: there was something set that apparently got overwritten / reverted when I rebooted the server earlier this morning. After that the container was unable to write to /opt/caddy and refused to start. The reason for this is that docker on Ubuntu runs as a snap by default. Snaps can't write outside $HOME without special configuration. The auto-deploy.yml has been changed so that caddys config files and persistent storage is now within the users $HOME. Next commit will update the auto-deploy-prod.yml too.
Usually there should be another PR and issue for all of this but since it got discovered setting up the key based authentication I might as well fix it in here too.

amazing


pnpm dlx create-turbo@latest doesn't work behind proxy

What version of Turborepo are you using?
1.10.7
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Linux
Describe the Bug
Hi, I'm trying to create a new turborepo folder based on the basic example you have in the docs.
I run the command pnpm dlx create-turbo@latest and it gets stuck forever at Downloading files....
I have the proxy address configured in my .bashrc and .npmrc (environment variables: http_proxy, https_proxy).
Older versions of create-turbo do not have this issue, for example 1.8.8 works.
I am using Ubuntu WSL2.

Expected Behavior
create-turbo should use the configured proxy from environment variables.
To Reproduce
Bash example:
export http_proxy=http://<server>:<port>
export https_proxy=http://<server>:<port>
pnpm dlx create-turbo@latest

Reproduction Repo
No response

getting similar issue with npx create-turbo@latest
? Which package manager do you want to use? npm

Downloading files. This might take a moment.

>>> Unexpected error. Please report it as a bug:
Ov [Error]: Client network socket disconnected before secure TLS connection was established
    at Xo (/Users/uut301/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:150:268)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Command.lh (/Users/uut301/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:218:615)
    at async Command.parseAsync (/Users/uut301/.npm/_npx/e8c68b66aeb1424f/node_modules/commander/lib/command.js:935:5)```

I went down to v1.9.9 and still had the error.

Thanks for the report, we can take a look at adding support for proxies


rat_what_if_positive_result shows PDF placeholder

Where to find the issue

https://www.coronawarn.app/de/faq/#rat_what_if_positive_result
https://www.coronawarn.app/en/faq/#rat_what_if_positive_result

Describe the issue
The FAQ entry shows a PDF placeholder:

Suggested change
Remove the placeholder or show the PDF instead of the placeholder.
Additional information
I will take a look at this and see whether I am able to fix this.

Locally, I have no problem viewing the preview, there is no placeholder but the actual PDF shown.
As I can't fix something I can't reproduce locally, I can't fix this issue myself, sorry.
Maybe @MikeMcC399 has an idea, I guess this could be related to CSP, or something similar which is applied on the PROD server but not on local builds.

@Ein-Tim
file should be renamed .png (small):
This works: https://www.coronawarn.app/assets/documents/DE_CWA_RKI-Plakat_Schnelltests_v2-kl-1.PNG
This does not work: https://www.coronawarn.app/assets/documents/DE_CWA_RKI-Plakat_Schnelltests_v2-kl-1.png
you are using mac, then it works locally!
Do you want to provide PR?

@dsarkar
So PDF -> png?
Yes, I'm using the latest macOS.
I can provide a PR!

If you make the change for a PR on an operating system which is insensitive to filename case, then you may need to use git to rename the file:
git mv src/assets/documents/DE_CWA_RKI-Plakat_Schnelltests_v2-kl-1.PNG src/assets/documents/DE_CWA_RKI-Plakat_Schnelltests_v2-kl-1.png
At least on Windows the change is otherwise not recognized.

@Ein-Tim

So PDF -> png?

Not "PDF", "PNG".

@MikeMcC399
But at the moment, the file is a PDF, or am I mistaken?
The file: https://www.coronawarn.app/assets/documents/DE_CWA_RKI-Plakat_Schnelltests_v2-kl.pdf

@Ein-Tim
There are two files involved. One is a png, the other is a pdf.

@MikeMcC399
Ah, now I understand! I'm on my phone currently, so sorry for the questions! I will prepare a PR later on (:


Reogranize Scene

Hello,
i just wanted to ask if there is a way to change the order of the scenes in the group of lamps?
Since i may program the buttons to cycle through the scenes, it would be convenient if i could change the order. For example, if adding a new scene later, for a desired order you need to delete the existing scenes and then add them in the desired order.
Thanks a lot in advance for a short feedback

I would like to add the feature to select which scenes to cycle trough.
This gives the option to skip/ignore certain scenes

This is not an issue specific to the Docker image. Please open an issue on this repo: https://github.com/dresden-elektronik/deconz-rest-plugin.


Provide an odo alizer -o json command

odo should provide an alizer command with -o json flag, that will return the result of the alizer tool on the current directory.
$ odo alizer -o json
{
  "devfile": "go",
  "devfile-registry": "StagingRegistry"
}

The caller will use the exit status of the command to get the error status. 0=> OK and (not 0) => Error
In case of error, the json output will be present in the stderr with the content:
{
  message: "..."
}

As we discussed with people working on IDE plugins, this command should return all matches together with the score

/status blocked
We need alizer to support returning multiple results sorted by confidence

Shouldn't we rename this command as part of this issue? @kadel @feloy

+1 for odo analyze


GO error checks

Jenkins pipelines should no longer be used
GO picks up our files now
(we should filter anything from GOC or GO_Central annotations from the file GO picks up if we want to reduce the logs)
However this won't work if this is the GO file we make available to our users. We will need a separate submission file.
I can't quite remember where we get the F-P inferences, or where we will get PAINT soon.
Anyway wrt the files we should be checking:
Current release
http://current.geneontology.org/reports/index.html
Daily snapshot (the one with the most recent data we submitted)
http://snapshot.geneontology.org/reports/index.html
http://snapshot.geneontology.org/
http://snapshot.geneontology.org/reports/gorule-report.html
•	pombase-report.html    (contains everything)

I suspect Midori knows all of this since  we have no errors?
I'm not sure how we will get th PAINT and inferences since they will be injected into the GOgaf. I'm hoping GO will make these files avaiable for us in some way? @cmungall   Please can we have such files for import. It will make the round-tripping much easier

Here are the rules. The status of each rule is listed. Some are not yet implemented.
https://github.com/geneontology/go-site/tree/master/metadata/rules

Is there anything that needs to change at our end?

Probably the  file we prepare for GO. not urgent though.
The rest is just for info but I think @mah11  is on it .....

Is there anything that needs to change at our end?

In the short term, no. (We could strip out lines with IBA evidence, but that's optional because if we don't GOC won't load them when they take the file. The report just, well, reports that it happens.)*
Medium-term, GO has (at long last) started thinking about a time frame for switching to GPAD (and GPI) for submissions, so #276 will percolate up to high priority in the foreseeable future (but not next Tuesday, more like early next year). In the meantime we can continue producing GAFs as they are now.
*Kimberly clarified this on the GO annotation call last week, but the minutes from that call are nearly nonexistent so we're left with what i remember of it :P

can close?


Invalid permissions on .docker directory, causing follow-up container jobs to fail on self-hosted agents

When we use the devops task on a fresh agent, it leaves an $HOME/.docker directory with invalid permissions
in my case /home/AzDevOps/.docker/ with root permissions
When we run on the same agent a new container job (https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops) the container job fails with the following error:
Error saving credentials: open /home/AzDevOps/.docker/config.json1181007158: permission denied
On the fresh agent the .docker directory doesn't exist, the trivy-azure-pipelines-task is creating the .docker directory under the root user. We use self-hosted agents based on https://github.com/actions/runner-images (releases/ubuntu22/20230129).
I could correct the issue by adding a additional bash task after the trivy task, relevant part of my azure-pipeline.yml:
...
- task: trivy@1
  displayName: Trivy - Scan Image
  inputs:
    version: 'latest'
    debug: true
    exitCode: 0
    image: $(acr-repo)/$(Build.Repository.Name):$(Build.SourceVersion)
  continueOnError: true
- bash: |
    if [ -d "$(HOME)/.docker" ] ; then
      sudo chown $(USER):$(USER) -R $HOME/.docker
    fi
  displayName: Trivy - Correct Permissions on .docker directory
  continueOnError: true
...

The issue is due to this line
https://github.com/aquasecurity/trivy-azure-pipelines-task/blob/17eb1a938878a39c491d37967274a77551fb0b40/trivy-task/index.ts#L115
If its fresh agent that doesnt have a ~/.docker folder yet, this mount causes it to be created with root permissions


CompareOptions enum documentation is incorrect for .NET versions which use ICU

Describe the issue or suggestion
This feedback is for the CompareOptions documentation here. This is the options enumeration which can be passed to String.Compare to influence how two strings are compared.
Since adopting ICU as the globalization API in .NET 5, the StringSort option has been the default for CompareOptions, i.e. both it and None result in the exact same output. This is not mentioned on the CompareOptions page.
Accordingly, the documentation for CompareOptions should be updated for .NET 5 and later to:

Note the difference between the two Unicode APIs.
Note that None is now an alias for StringSort (or the other way around!).
Update the example code to correct the reported output for the None option, which is currently incorrect for these more recent versions of .NET. Alternatively, it may be removed entirely, and just noted to be an alias for StringSort.
Detail how the user may use NLS to restore the None option from early .NET Framework releases. These steps are already detailed here, so linking to that article may be sufficient.

The example could do with a rewrite at the same time, as it is very old and has several issues:

It is inconsistently formatted, with strangely-spaced code like Array.Sort( myArr, myComp ); and foreach ( String myStr in myArr ). (Not to mention use of String instead of the more common string alias etc.)
The example itself 'buries the lede' with half of the code being spent setting up an unneeded MyStringComparer.
The code does not follow safe formatting conventions and has multiple instances of single-line blocks not being delimited by braces, e.g.:

foreach ( String myStr in myArr )
         Console.WriteLine( myStr );

The opening curly brace is on the same line for functions and class declarations, again not following current style conventions.
Only one of the many CompareOption enum values is actually covered. Several of the others are quite subtle in their effects and would benefit from worked examples.
I don't think this has been edited since early .NET Framework days, so many modern syntactic patterns are missing, which means the code looks quite archaic.
Variable names are poorly chosen. myArr and myComp do not provide contextual information about their intended use.

I think the current C# sample code could be rewritten to look something like the following:
using System;
using System.Globalization;
using System.Collections.Generic;

public class CompareOptionsSample
{
	public static void Main()
	{
		var wordList = new List<string> { "cant", "bill's", "coop", "cannot", "billet", "can't", "con", "bills", "co-op" };

		Console.WriteLine("Before sorting:");
		foreach (string word in wordList)
		{
			Console.WriteLine(word);
		}

		Console.WriteLine("\nAfter sorting with CompareOptions.StringSort or CompareOptions.None:");
		var comparer = StringComparer.Create(CultureInfo.InvariantCulture, CompareOptions.StringSort);
		wordList.Sort(comparer);
		foreach (string word in wordList)
		{
			Console.WriteLine(word);
		}
	}
}

/*
This code produces the following output:

Before sorting:
cant
bill's
coop
cannot
billet
can't
con
bills
co-op

After sorting with CompareOptions.StringSort or CompareOptions.None:
bill's
billet
bills
can't
cannot
cant
co-op
con
coop
*/

Additional context may be found in this previous issue.

@daverayment are you interested in submitting a PR to address this issue?

Hi @tarekgh . This would be my first docs contribution, but I will give it a try! Would you or someone else be able to help me with the following?

The adoption of ICU was in .NET 5, so the page will need to display different content when .NET 5 or later is chosen from the Version drop-down. Is there a guide to creating this sort of 'branching' content? I've read through the contribution docs but couldn't see anything about this.
I will likely need a hand with the VB and F# examples.
Currently, the example code only covers the StringSort option. I may need some help with creating examples to illustrate the other options.

Your status says you're on vacation, so I don't expect a reply soon. I hope you enjoy your break! 🌴

@daverayment thanks for willing to contribute to the docs. I can help you through that.

The adoption of ICU was in .NET 5, so the page will need to display different content when .NET 5 or later is chosen from the Version drop-down. Is there a guide to creating this sort of 'branching' content? I've read through the contribution docs but couldn't see anything about this.

You don't need to have different content for different versions. Usually we add something to the remark section or even add some extra sentence to the description of StringSort in the page. The Example can add extra comment at the expected output showing the expectation when running on .NET 5.0 or later.

I will likely need a hand with the VB and F# examples.

The page only have C# sample. If want to edit any other pages, I expect the change will be in the comments there to show expected output on .NET 5.0 and later.

Currently, the example code only covers the StringSort option. I may need some help with creating examples to illustrate the other options.

That is fine if you want to cover other cases but most important is we need to fix StringSort docs.
Don't forget we need to add something to https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu too.
Note, the first doc exists in the https://github.com/dotnet/dotnet-api-docs repo and https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu exists in the https://github.com/dotnet/docs/blob/main/docs/core repo. So, most likely you want to submit two PRs. Thanks for your help with that!

Hi @tarekgh.
Sorry for the delay on this. Could I get your feedback on the proposed changes below before I commit anything, please?
I have created a new example for the CompareOptions enum page, which illustrates each of the options:
using System;
using System.Globalization;

public class CompareOptionsExample
{
    public static void Main()
    {
        // Uppercase and lowercase characters are equivalent (according to the culture rules) when IgnoreCase is used.
        TestStringEquality("ONE two", "one TWO", "Case sensitivity", CompareOptions.IgnoreCase);

        // Punctuation is ignored with the IgnoreSymbols option.
        TestStringEquality("hello world", "hello, world!", "Punctuation", CompareOptions.IgnoreSymbols);

        // Whitespace and mathematical symbols are also ignored with IgnoreSymbols.
        TestStringEquality("3 + 5 = 8", "358", "Whitespace and mathematical symbols", CompareOptions.IgnoreSymbols);

        // Caution: currency symbols and thousands separators are ignored with IgnoreSymbols.
        // Parse strings containing numbers/currency and compare them numerically instead.
        TestStringEquality("Total $15,000", "Total: £150.00", "Currency symbols, decimals and thousands separators", CompareOptions.IgnoreSymbols);

        // Full width characters are common in East Asian languages. Use the IgnoreWidth
        // option to treat full- and half-width characters as equal.
        TestStringEquality("ａｂｃ，－", "abc,-", "Half width and full width characters", CompareOptions.IgnoreWidth);

        // The same string in Hiragana and Katakana is equal when IgnoreKanaType is used.
        TestStringEquality("ありがとう", "アリガトウ", "Hiragana and Katakana strings", CompareOptions.IgnoreKanaType);

        // When comparing with the IgnoreNonSpace option, characters like diacritical marks are ignored.
        TestStringEquality("café", "cafe", "Diacritical marks", CompareOptions.IgnoreNonSpace);

        // Ligature characters and their non-ligature forms compare equal with the IgnoreNonSpace option.
        // Note: prior to .NET 5, ligature characters were equal to their expanded forms by default.
        TestStringEquality("straße œuvre cæsar", "strasse oeuvre caesar", "Ligature characters", CompareOptions.IgnoreNonSpace);
    }

    private static void TestStringEquality(string str1, string str2, string description, CompareOptions options)
    {
        Console.WriteLine(Environment.NewLine + description + ":");
        // First test with the default CompareOptions then with the provided options
        TestStringEquality(str1, str2, CompareOptions.None);
        TestStringEquality(str1, str2, options);
    }

    private static void TestStringEquality(string str1, string str2, CompareOptions options)
    {
        Console.Write(string.Format("  When using CompareOptions.{0}, \"{1}\" and \"{2}\" are ", options, str1, str2));
        if (string.Compare(str1, str2, CultureInfo.InvariantCulture, options) != 0)
        {
            Console.Write("not ");
        }
        Console.WriteLine("equal.");
    }
}

/*
In .NET 5 and later, the output will be the following:

Case sensitivity:
  When using CompareOptions.None, "ONE two" and "one TWO" are not equal.
  When using CompareOptions.IgnoreCase, "ONE two" and "one TWO" are equal.

Punctuation:
  When using CompareOptions.None, "hello world" and "hello, world!" are not equal.
  When using CompareOptions.IgnoreSymbols, "hello world" and "hello, world!" are equal.

Whitespace and mathematical symbols:
  When using CompareOptions.None, "3 + 5 = 8" and "358" are not equal.
  When using CompareOptions.IgnoreSymbols, "3 + 5 = 8" and "358" are equal.

Currency symbols, decimals and thousands separators:
  When using CompareOptions.None, "Total $15,000" and "Total: £150.00" are not equal.
  When using CompareOptions.IgnoreSymbols, "Total $15,000" and "Total: £150.00" are equal.

Half width and full width characters:
  When using CompareOptions.None, "ａｂｃ，－" and "abc,-" are not equal.
  When using CompareOptions.IgnoreWidth, "ａｂｃ，－" and "abc,-" are equal.

Hiragana and Katakana strings:
  When using CompareOptions.None, "ありがとう" and "アリガトウ" are not equal.
  When using CompareOptions.IgnoreKanaType, "ありがとう" and "アリガトウ" are equal.

Diacritical marks:
  When using CompareOptions.None, "café" and "cafe" are not equal.
  When using CompareOptions.IgnoreNonSpace, "café" and "cafe" are equal.

Ligature characters:
  When using CompareOptions.None, "straße œuvre cæsar" and "strasse oeuvre caesar" are not equal.
  When using CompareOptions.IgnoreNonSpace, "straße œuvre cæsar" and "strasse oeuvre caesar" are equal.
*/

I've also updated the StringSort example to correct the issues I raised in my original post:
using System;
using System.Collections.Generic;
using System.Globalization;

public class StringSort
{
    public static void Main()
    {
        var wordList = new List<string>
        {
            "cant", "bill's", "coop", "cannot", "billet", "can't", "con", "bills", "co-op"
        };

        Console.WriteLine("Before sorting:");
        foreach (string word in wordList)
        {
            Console.WriteLine(word);
        }

        Console.WriteLine(Environment.NewLine + "After sorting with CompareOptions.None:");
        SortAndDisplay(wordList, CompareOptions.None);

        Console.WriteLine(Environment.NewLine + "After sorting with CompareOptions.StringSort:");
        SortAndDisplay(wordList, CompareOptions.StringSort);
    }

    // Sort the list of words with the supplied CompareOptions.
    private static void SortAndDisplay(List<string> unsorted, CompareOptions options)
    {
        // Create a copy of the original list to sort.
        var words = new List<string>(unsorted);
        // Define the CompareInfo to use to compare strings.
        var comparer = CultureInfo.InvariantCulture.CompareInfo;

        // Sort the copy with the supplied CompareOptions then display.
        words.Sort((str1, str2) => comparer.Compare(str1, str2, options));
        foreach (string word in words)
        {
            Console.WriteLine(word);
        }
    }
}

/*
CompareOptions.None and CompareOptions.StringSort provide identical ordering by default
in .NET 5 and later, but in prior versions, the output will be the following:

Before sorting:
cant
bill's
coop
cannot
billet
can't
con
bills
co-op

After sorting with CompareOptions.None:
billet
bills
bill's
cannot
cant
can't
con
coop
co-op

After sorting with CompareOptions.StringSort:
bill's
billet
bills
can't
cannot
cant
co-op
con
coop
*/

(Both examples should compile in .NET Framework 4 and .NET 5 and later.)
To be honest, I wonder whether the StringSort example is actually required now; in .NET 5 and later, it requires opting in to using NLS, and I think it may be a distraction on the page. What do you think?
I've put some work into editing the CompareOptions page text, too, to make things a little more approachable and descriptive (see CompareOptions.zip), but could I ask if there is a way of checking how my edits to the XML will look when rendered? Editing the raw XML without being able to check is a little scary!
Note: I haven't integrated the new example into the XML yet. Would this just require adding a new  block, referring to where I will place the new code file(s)?
Likewise, I haven't yet made the edits to the Globalization ICU page, but that hopefully shouldn't require as much time!

I have created a new example for the CompareOptions enum page, which illustrates each of the options:

Sounds good. We want to see if there is any difference in the output comparing .NET to .NET Framework and capture the difference in the writing if possible.

Console.Write(string.Format("  When using CompareOptions.{0}, "{1}" and "{2}" are ", options, str1, str2));
Console.WriteLine(Environment.NewLine + description + ":");

Try to use the interpolated strings instead.
Console.Write(string.Format($"  When using CompareOptions.{options}, \"{str1}\" and \"{str2}\" are "));

Console.WriteLine($"{Environment.NewLine}{description}:");

To be honest, I wonder whether the StringSort example is actually required now; in .NET 5 and later, it requires opting in to using NLS, and I think it may be a distraction on the page. What do you think?

There are still many .NET Framework uses which such sample still relevant and useful. We need to ensure the doc is clear describing the behavior when running on .NET or .NET Framework.

but could I ask if there is a way of checking how my edits to the XML will look when rendered?

When you submit a PR, it will build it for you and can see the change visually. Don't worry if you get something wrong in the first submission, you always can update the PR with fixes before we merge it.

Note: I haven't integrated the new example into the XML yet. Would this just require adding a new block, referring to where I will place the new code file(s)?

You can look at how the examples are embedded inside the documentation. Here is example how it is done:
https://github.com/dotnet/dotnet-api-docs/blob/d6d38e405484148855192144a74024519c11b731/xml/System.Globalization/CompareOptions.xml#L73

Likewise, I haven't yet made the edits to the Globalization ICU page, but that hopefully shouldn't require as much time!

sounds good. Thanks!


Click marker doesn't work on iOS, custom marker icon doesn't show neither

Hi,
On android it works, but I don't know why on ios that tap/click doesn't fire the function attached to the marker.
this.pits.forEach((item, index) => {
           let a = new GoogleMapsLatLng(item.latitud, item.longitud);
           let am: GoogleMapsMarkerOptions = {
               position: a,
               //icon:"www/assets/images/markers/map-marker-pit.png",
           };
           this.map.addMarker(am)
           .then((marker: GoogleMapsMarker) => {
               console.log('adding  pit marker');
               marker.addEventListener(GoogleMapsEvent.MARKER_CLICK)
           .subscribe(e => {
               console.log('you hit a pit marker');
              this.openPageContenido(item);
           });

           });

       });
       openPageContenido(pit:any){
         console.log('OPENPAGECONTENIDO');
         let cl= new ContenidoList(pit.id,pit.nombre,"");
         this.navCtrl.push( ContenidoPage, {"contenidoList": cl});
      }

So running "ionic run ios -lc" I can see for each marker -> adding pit marker
And the map shows all the markers, but If I tap one of them, there is no console log nor openPageContenido is fired.
Any idea?
Btw, I had to add:

.nav-decor{
     display:none!important;
   }

In order to be able to see he map, because otherwise a black screen is over the map.
And I don't know why, my custom markers are not displayed, I tried with different urls but no one worked. Meanwhile I leave them without my custom icon.
I'm using de v2 because in ios I couldn't install the v1 (https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1436)

If you use the plugin v2, you can NOT use the ionic wrapper.

ok, so how do I should do it?

Could you please show me an example of how should I do it?
I've seen https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/class/Marker/README.md
But I can't do
 var map = plugin.google.maps.Map.getMap(mapDiv, {...
Because I don't know what is plugin due that I'm used to work with ionic wrapper.
Thanks

For v2, read here
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/tree/master/v2.0.0

And there is a basic example for ionic user
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/For-ionic2-users/README.md#how-to-install-the-cordova-googlemaps-plugin-v2-beta-on-ionic-2

By the way, there was a bug in the iOS version of the plugin v2.
The bug is already fixed.
Please reinstall the plugin with --nofetch option.
Thanks

Hi @wf9a5m75, I've reinstalled the plugin and tried the example code but I get this error when I try:
this.map = new plugin.google.maps.Map.getMap(mapEle, {});
console.error: EXCEPTION: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'new              plugin.google') loadMap@http://<IP_ADDRESS>:8100/build/main.js:87449:30              cargarMarkers@http://<IP_ADDRESS>:8100/build/main.js:87401:21              getCurrentPosition@http://<IP_ADDRESS>:8100/build/main.js:87381:27              http://<IP_ADDRESS>:8100/build/main.js:87375:37 onInvoke@http://<IP_ADDRESS>:8100/build/main.js:39146:43              run@http://<IP_ADDRESS>:8100/build/polyfills.js:3:7025 http://<IP_ADDRESS>:8100/build/polyfills.js:3:4664              invokeTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:10289              onInvokeTask@http://<IP_ADDRESS>:8100/build/main.js:39137:47              invokeTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:10232              runTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:7647              i@http://<IP_ADDRESS>:8100/build/polyfills.js:3:3714 promiseReactionJob@[native code]  [08:55:56]  console.error: ORIGINAL STACKTRACE:  [08:55:56]  console.error: v@http://<IP_ADDRESS>:8100/build/polyfills.js:3:4869              s@http://<IP_ADDRESS>:8100/build/polyfills.js:3:4298 http://<IP_ADDRESS>:8100/build/polyfills.js:3:4691              invokeTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:10289              onInvokeTask@http://<IP_ADDRESS>:8100/build/main.js:39137:47              invokeTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:10232              runTask@http://<IP_ADDRESS>:8100/build/polyfills.js:3:7647              i@http://<IP_ADDRESS>:8100/build/polyfills.js:3:3714 promiseReactionJob@[native code]
Any idea?

It was my fault, I forgot declare a variable. It seems to work, I'm gonna try to add markers etc and confirm you that everything is ok.
Thanks

OK the maps is working @wf9a5m75, but I don't know how can achieve what I achieved with ionic wrapper.
I need to be able to set a marker, when it is clicked show the info window and when info window is clicked fire a method.
I tried:
this.map.addMarker({                 'position': {                     lat: item.latitud,                     lng: item.longitud                 },                 //'icon': "www/assets/images/markers/map-marker-localidad.png",                 'title':item.localidad,                 'snippet':'(More info...)',             },function(marker) {                 marker.addEventListener(plugin.google.maps.event.INFO_CLICK)                 .subscribe(() => {                     console.log('has tocado pit marker');                     this.openPageLocalidad(item);                 });             });
Btw, custom icon doesn't work, is that url right?
Thanks.

@ferminako url to icon works for me: "./assets/..." (Android and iOS).

I I tried:
this.map.addMarker({                 'position': {                     lat: item.latitud,                     lng: item.longitud                 },                 //'icon': "www/assets/images/markers/map-marker-localidad.png",                 'title':item.localidad,                 'snippet':'(More info...)',             },function(marker) {                 marker.on(plugin.google.maps.event.INFO_CLICK, this.openPageLocalidad(item));             });
I get this.openPageLocalidad is not a function. And of course is a function. So where could be the problem?

@ferminako you are in different scope, use this way:
var self = this;
this.map.addMarker()....

For some reason Typesript construction does not work
(marker)=>{marker.on()}.
and inside the addMarker({}) use self.openPageLocalidad(item)

Thanks @vosecek , I tried your icon route but doesn't work :(
And Now my code is:
var self = this;             this.map.addMarker({                 'position': {                     lat: item.latitud,                     lng: item.longitud                 },                 //'icon': "./assets/images/markers/map-marker-localidad.png",                 'title':item.localidad,                 'snippet':'(More info...)',             },function(marker) {                 marker.on(plugin.google.maps.event.INFO_CLICK, self.openPageLocalidad(item));             });
The problem is that the function oopenPageLocalidad is autodfired now :(
Any idea?

@ferminako
I did not try to use info window, but this construction should works:
var self = this;
		this.map.addMarker({
			'position': { lat: item.latitud, lng: item.longitud },
			'icon': {
				'url': "./assets/images/markers/map-marker-localidad.png"
			}
			'title': item.localidad,
			'snippet': '(More info...)'
		}, function(marker) {
			marker.on(plugin.google.maps.event.INFO_CLICK, function(){
				self.openPageLocalidad(item);
			});
		});

Check especially the icon section :) url has to be specified by url property, no directly in icon. You can configure size for example. Check the marker doc.

Thank you so much @vosecek , now the function is fired properly.
The problem with the icon marker persists. Any idea?
Cheers.

Did you fix missing comma after icon property?
Maybe try to define dimensions.
Check console for errors (in XCode on Mac), error about missing file will be printed here.

I tried to run emulator from xcode in order to see the log to check what is the problem witch marker icon image but the simulator is blank. and  I get this error:
2017-05-10 10:33:21.818 app[60703:3773070] Failed to load webpage with error: Could not connect to the server.
Any idea?

Ok the problem was that didn't prepare code to xcode, solver using ionic prepare ios
THANKS!

Btw @vosecek once I show the map and marker (icon works only if use emulator from xcode), once i tap the marker and then tap the infoview, it takes me to another page, and when I go back I don't know why this is not fired again:
this.map.one(plugin.google.maps.event.MAP_READY, () => {                 this.map.clear();                 console.log("Map is ready.");                 this.setMarkers(zoom,centroBounds);                 this.map.moveCamera({                     'zoom': zoom,                     'target': centroBounds                 });                 this.loader.dismiss();                 console.log('e');             });

@ferminako Please use three-backslashes to show your code.

I'm not familiar with ionic framework, but this is my guess.
This plugin initializes only at once when a HTML file is loaded.
The Ionic uses only one html, and change the pages(tab or something) in the same html.
That's why the maps plugin does not fire the MAP_READY event when you come back to the map page.

Sorry for the code format @wf9a5m75
And I think you are right about ionic lifecycle...
Could you please tell me where can I find how to set map options to show map controls etc??? I've tried what I found but in my ios device and emulator I can't see the map zoom controls, etc...
Thanks.

@ferminako There is no controls implemented, you can do it yourself by putting html elements on map and call setZoom() method.

@vosecek  ok, thx for your support.
So I guess those controls will be available out of the box as well as ionic wrapper for  google maps plugin v2 in short/medium term, right @wf9a5m75 ?

@ferminako In that case, I guess the map.setDiv() works.
This is basic idea.

controller.onPageIn = function() {
  map.setDiv(mapDiv);
};

controller.onPageout = function() {
  // before moving to another tab
  map.setDiv();
};

Ping

Since there is no update last 12 days, I close this at once. If you have any updates, you can reopen or just simply reply for here.

      map.addMarker(markerOptions).then((marker: Marker) => {
        console.log(marker);
          marker.on(GoogleMapsEvent.INFO_CLICK).subscribe(() => {
            console.log('hello');
        })
      });

Bit late but.... This is probably what you're looking for, works for me.


Workaround for false dead code warning

This is a workaround for #3096

Yep, I'll keep the #3096 issue open as I really don't like this.


No module named 'dotenv'

When running the python script I get the error below. Have tried installing dotenv again and it says Successfully installed python-dotenv-0.19.0 but still doesn't work.
Traceback (most recent call last):   File "Free_Games.py", line 5, in <module>     from dotenv import load_dotenv ImportError: No module named 'dotenv'
Any suggestions?

I'm no longer going to update this repository. Please use this new and improved one that makes use of the Epic Games desktop app rather than logging in via the browser:
https://github.com/MasonStooksbury/Free-Games-V2


Name lookup and type checking fixes for freestanding declaration macros

Explanation: Introduce two significant fixes for freestanding declaration macros, ensuring that their arguments aren't type-checked twice, and fixing name lookup within those macro arguments.
Scope: Affects type-checking only for freestanding declaration macros.
Issue: rdar://107388151
Risk: Low; only affects freestanding declaration macros.
Testing: Additional tests added.
Reviews: @hborla and @rxwei
Original pull request: https://github.com/apple/swift/pull/64761

Note that this is 3 commits on top of https://github.com/apple/swift/pull/64802, but cannot be separated due to conflicts.

@swift-ci please test


synonym FYPO:0004539

add "short fragmented interphase microtubules"

FYPO:0004539
short interphase microtubules present in increased numbers

synonym added
edit file: 2509cfe1689c57e1624c40d5d64acbf415e9b8ee
release: 1ebc4bcfcfd36cb90266efae89dced717274b8c9


FIX: selecting messages alignment was broken

That should fix it.
Before:

After:

Note that there's a huge opportunity for refactoring here, as it's a deep nesting of class-less divs which are adding a lot of content to the page and bringing no value.


[IA-2812] Retry branch for PR #2662

Opened this PR to debug and work around continuous integration issues with #2662, which appeared unrelated to the PR content. Please refer to that PR for any description, comments, references, etc.

Closing as the original PR ended up passing the checks :)

Closing as the original PR ended up passing the checks :)


minor fixes

6 commits - please see each commit message for details.
With this we are able to reproduce all test results internally.

I should note that checkpatch.pl is pretty horrible with C++ syntax.
E.g. - this makes no sense fwict.
ERROR: need consistent spacing around '*' (ctx:WxV)
#86: FILE: ./src/server.c:86:
+			warppipe_client *client))
 			                ^

The PR to adjust qemu is in antmicro/qemu#1

I should note that checkpatch.pl is pretty horrible with C++ syntax.
E.g. - this makes no sense fwict.
ERROR: need consistent spacing around '*' (ctx:WxV)
#86: FILE: ./src/server.c:86:
+			warppipe_client *client))
 			                ^

this looks like a checkpatch bug/limitation. It gets confused by the function signature here - the second argument being a pointer to another function. Checkpatch processes the * in line 68 as multiplication operator, not as indirection operator. I suppose typedefing the function pointer should do the trick


Usage with Kubernetes Service Account (and MSK)

I'm using Kubernetes service accounts that can assume an IAM role. This works fine to authenticate with MSK. I've also added Glue actions to this IAM role's policy. However, the Kafka SerDes do not use this role; instead it falls back to the role of the EKS node (and it gets an AccessDeniedException).

closing this; duplicate of #69.


fix csv generation.

The csv-merger tool contained code intended to replace allegedly unnecessary single quotes with double quotes in component crds.
This could sometimes result in broken csvs where ending quotes were simply removed
This change fixes these breakages by removing the culprit replacement code.

This looks fine to me, and since CI is passing, I think it must be a good sign. However, I think we should get final approval for merge from someone who works more regularly with ocs-operator before merging.
I presume it's fine to merge this into master but that it'll need a BZ to backport to a release version?


Add an action for immediately restarting a connection

targets #14548
Adds an action for immediately restarting the connection. I suspect most folks that wanted #3726 will be happy just with the enter solution from #14060, but this will work without having to exit the client. Just, relaunch whatever the commandline is. Easy peasy.
Closes #3726.

Remember when we all bashed this and restarting live connections exploded? Yea I can't get that anymore. Maybe it was a bad merge? Maybe it was a bad pre-merge? Hard to say.

Closed in favor of #15241


[Feature] Expose aruna-ulid as PID via perma-id

Overview
ArunaIDs should be resolvable via https://github.com/perma-id/w3id.org
For this we need to create URLs that resolve (at least public) ArunaULIDs without collection-ids.
Update:

[x] Provide central landing page for each object.
[x] Add cross-ref option via labels
[x] Add "request" access section for private objects

Fixed by https://github.com/perma-id/w3id.org/pull/4324
Thx @greatfireball


Update from_genesis  function to builder in chain_spec file.

Description
This PR updates the from_genesis function to builder function in chain_spec file as from_genesis got deprecated
Types of Changes
Please select the branch type you are merging and fill in the relevant template.

[ ] Hotfix
[ ] Release
[x] Fix or Feature

Fix or Feature

Types of Changes

[x] Tech Debt (Code improvements)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Dependency upgrade (A change in substrate or any 3rd party crate version)

Migrations and Hooks

[ ] This change requires a runtime migration.
[ ] Modifies on_initialize
[ ] Modifies on_finalize

Checklist for Fix or Feature

[x] Change has been tested locally.
[ ] Change adds / updates tests if applicable.
[ ] Changelog doc updated.
[ ] spec_version has been incremented.
[ ] network-relayer's events have been updated according to the blockchain events if applicable.
[ ] All CI checks have been passed successfully

minJoinBond = 0 and minCreateBond = 0 seems to be missing in new generated chain-spec.
There is also a discrepancy at the generate code but this might not be an issue.


MGDOBR-726: Fix Timezone issue in Instances Test -- Instance Page - I…

…nstance six -- Details
This should work when we run UI and cypress tests on the same machine. It works locally and on github.

LGTM @sjamboro
thanks for the quick fix.


add config file and switches

should be able to specify port/interface to listen on
directory to scan
file mask to exclude

implemented through 3aad9fd6bbbde4750c3905f52ddd37368f1e1cca


Cloudflare workers

Fixes issue #143

https://logankeenan.com/posts/rust-axum-and-cloudflare-workers/


Load Data into titanDB using Spark

I want to load data into titanDB using Spark. I searched about it, all i understand is we can traverse graph using SparkGraphComputer but it read the data from the graph but i want to do the opposite of it i.e. i want to write or load data into graph using Spark

You should be looking at the various BLVP (BulkLoaderVertexProgram) examples out there:
https://github.com/dkuppitz/openflights
http://s3.thinkaurelius.com/docs/titan/1.0.0/titan-hadoop-tp3.html
https://groups.google.com/forum/#!msg/gremlin-users/AetuGcLiBxo/KW966WAyAQAJ
In the future, please use the titan mailing list for "usage" questions:
https://groups.google.com/forum/#!forum/aureliusgraphs


[EChart] Annotation lines stretch out when hovering

When you use annotations on the Time-series Line Chart, there are a few issues:

Dash style is different for different annotations (I don't think this is intentional)
When you hover over the chart to get the tooltip, the dashes get longer, and go back to the original width when you hover back out from the chat - see video

Screenshots

Environment
latest master
Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Converting to discussion - it should be addressed before we officially migrate to echart and deprecate nvd3


net: lwm2m: Fix unitialized variable error in Link Format writer

The init_string array could have been used uninitialized, fix this
by initializing it as an empty string, which is a desired content in
case it's not overwritten.
CID: 220302
Fixes #33839
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

ping @carlescufi


record trajectory of demonstartion

For start/stop demo bag file, need to add counter so that it doesnt add again?

force/speed/acceleration?
save object pose & dimensions
record camera (head or Kinect?)
save time start
get user pose
Recorded demos: 15x
Move BASE obj
Move CUBE (maybe)
Move ROOF

created a file joint_recorder.py taken from baxter_examples/scripts and modified so that it listens to /rapid_pbd/editor_events
saves a file (not bag but other) which can be played back using
rosrun baxter_examples joint_trajectory_file_playback.py -f <example_file>

problem: once it starts recording, it doesnt stop


strategic initiative for coordinating the website redesign

as discussed in todays meeting (#200), it would be good to start the nodejs.org website redesign at the organization level. for this, i believe it's best to set up a strategic initiative that coordinates the website redesign at a high level. this initiative should likely consist of commcomm, tsc and website working group members.
questions:

should this initiative report both to the commcomm and to the tsc?
what resources does it need? (e.g. a repository, funding from the foundation, etc)

this is blocked by #196, also related: https://github.com/nodejs/nodejs.org/issues/1534

oh yeah, for future reference, i'd be happy to champion this initiative to the commcomm, if nobody objects


Clearing out outdated files and tidying the folder structure

The src/dashboard.py file appears to be entirely commented out. Do you intend for it to still be present, and if so why is it commented out? You also have a temp.rst file which I presume is no longer needed (given the separate docs folder, and given the "temp" name).
Additionally, you should not have __pycache__ or .DS_Store folders/files present in your repository (and the latter can actually be dangerous to store, from my understanding). Please add these to your .gitignore file and delete them from your repo.
Finally, I also recommend moving your JOSS paper files into a directory (calling it paper should still work with JOSS' automations I believe) to try to keep the main directory cleaner.
This issue was made as part of the review for https://github.com/openjournals/joss-reviews/issues/6202

I believe the files in the observations folder probably do not need to be hosted on this main GitHub repo anymore

I have addressed all of these issues! Also, dashboard.py was a older script that was apart of some sort of user interface for Spelunker. For now, I have removed it since it is not yet apart of Spelunker.

I think moving the paper.md file to another directory might break the JOSS automations. Please let me know if that is the case in the future.


Add option to nginx job to disable cross zone load balancing

What
Currently the nginx job will add all Prometheus, Alertmanager and Grafana instances to the upstream configurations. We want to be able to tell nginx that it should only forward requests to instances in the same availability zone.
This PR adds three extra parameters (*.cross_zone_load_balancing) with a default true, so it's possible to disable cross-zone load balancing.
Why
We are deploying Prometheus in an HA setup, so we have two independent clusters in two availability zones. We want to disable any cross-zone load balancing so we always know which servers are we communicating with.

Thanks @bandesz!


Split display_brief_response manifest into current and legacy versions

From this point the page that show the results of an application to a brief needs to support applications with the old and new flow.
Splitting the manifest ensures both formats can be combined with the correct frameworks data.

👍


[Dish Washer Mode] Sample app(All-cluster-app) has to be updated by removing the provisional Attributes

Feature Area
Area:Dishwashers
Description:
In Dish Washer Mode Cluster StartUpMode and OnMode attributes are marked as provisional in spec. So it should be removed from the Sample app(All-cluster-app).
Specification References:

https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/Mode_Dishwasher.adoc#5-attributes

Sample app used to run this cluster:
All-cluster-app
GitHub hash of the SDK that was being used
07ac2f113c078b2659cf1b2b320776272070f99a
Platform
raspi

Has there been any progress on this ticket since June?


fix potential deadlocks

updates #210
this doesn't fix the issue but at least the dashboard remains responsive.

Neat in-line documentation with the code to explain why timers and the likes are there!


Setup sentry

Waiting for https://github.com/getsentry/sentry-javascript/issues/13641 to be resolved


Changed the background color

Description
Changed the background color of features and footer section
Attach Screenshot

Note 2 code reviewer approval needed. Approach in twitter group & discord channel.

The page is looking nice👍 I also encourage to to refer to HappyHues for some background color inspiration.

I think we can start using consistent color palettes across the site. We can start looking into Using CSS custom properties (variables)
Then define a main background color like:
:root {
  --main-bg-color: brown;
}

and then use it across the app like:
.element {
  background-color: var(--main-bg-color);
}

@JoelVinayKumar needs to approve this , as we are following a premade figma design as of now

It looks very nice!!

is it valid any more @Akshay2996 ?

Now this PR is not valid any more @SarveshKadam & @proful We had a discussion on the UI/UX design yesterday. See here the video to get up to the mark & close this PR.


feat(protocol-designer): make timeline responsive

Overview
make timeline responsive
close AUTH-877

Test Plan and Hands on Testing

Changelog

add DraggableSidebar component to make the sidebar draggable/resizable
update AddStepButton to align with the design (remove + text and add + icon)

Review requests

Risk assessment
low

[ ] fix check-js and lint-js errors

Whoa, looks really slick. I do see some highlighting when dragging the timeline toolbox (see "Ending deck"). Not sure if this is blocking, though.
https://github.com/user-attachments/assets/fd3ce6ce-7b32-48b7-9ceb-5a4832281194

I think the add step menu is being contained by the timeline toolbox container

I think the add step menu is being contained by the timeline toolbox container

@ncdiehl11 thank you for catching this.
finally, I could figure out what the issue is.

Do we want to break "Timeline"?

 Do we want to break "Timeline"?

yeah, that is Mel's current design.
https://www.figma.com/design/WbkiUyU8VhtKz0JSuIFA45/Feature%3A-Protocol-Designer-Phase-1?node-id=10928-294030&m=dev


Google sign in button for web causes UI glitches when scrolling on Android Chrome (with CanvasKit)

Steps to reproduce
Versions used:

Flutter 3.22.1 (stable), with CanvasKit renderer
google_sign_in: ^6.2.1
google_sign_in_web: ^0.12.4
google_sign_in_platform_interface: ^2.4.5

Devices: multiple Android phones running Chrome browser (happens on emulator as well, for example Pixel 4 API 31 emulator)
Steps to reproduce:

Create a plain Flutter web app with a Google sign in button inside of a scrollable container, and other widgets below the Google sign in button
Build the app for web, using CanvasKit renderer

# the issue happens with either `build` or `run`
flutter build web --web-renderer canvaskit --release
flutter run --release --web-renderer canvaskit -d web-server --web-hostname=<IP_ADDRESS> --web-port=3000

Access the app from an Android device, using Chrome browser (I did this with ngrok, but the same issue happens with other methods of hosting the app)

Expected results
The view should scroll normally, and the widgets below the sign in button should not have visual glitches.
Actual results
Widgets placed below the Google sign in button will have visual glitches during/after scrolling, such as covering the Google sign in button. The effect is especially visible when using Text widgets, because the text is rendered multiple times.
Extra info:

the bug seems to have appeared after upgrading from Flutter version 3.16.3 to 3.19.5, regardless of the package versions used; it continues to happen with the latest stable Flutter, and it also happens on the beta channel (3.22.0-0.3.pre)
the bug does not happen when using the HTML web renderer
as far as I tested, the bug does not seem to happen on other browsers, or on iOS devices, or on non-mobile devices
the bug happens in both debug and release modes, neither one logs any errors during the scrolling

Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart';
import 'package:google_sign_in_web/google_sign_in_web.dart' as web;

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final googleSignIn = GoogleSignIn(
    clientId: '<redacted>',
    serverClientId: null,
    scopes: ['email'],
  );

  @override
  Widget build(BuildContext context) {
    final screenHeight = MediaQuery.of(context).size.height;
    return Scaffold(
      appBar: AppBar(title: const Text('demo')),
      body: SingleChildScrollView(
        child: Column(
          children: <Widget>[
            Container(height: screenHeight / 2, width: 100, color: Colors.blue),
            SizedBox(
              height: 48,
              child: (GoogleSignInPlatform.instance as web.GoogleSignInPlugin).renderButton(),
            ),
            Container(
              height: screenHeight / 2,
              width: 100,
              color: Colors.red,
              child: const Text('Hello World!'),
            ),
          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/20167883/ddfa31e5-78f7-43b6-aac9-b84a38f923ba

Logs
Logs
# command
flutter run --verbose --release --web-renderer canvaskit -d web-server --web-hostname=<IP_ADDRESS> --web-port=3000

# log output
[   +9 ms] executing: sw_vers -productName
[  +27 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +16 ms] Exit code 0 from: sw_vers -productVersion
[        ] 13.2.1
[        ] executing: sw_vers -buildVersion
[  +15 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 22D68
[        ] executing: uname -m
[   +5 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +6 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[ +147 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[ +223 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 14.2
           Build version 14C18
[   +3 ms] executing: xcrun xcdevice list --timeout 5
[   +6 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +63 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +87 ms] Skipping pub get: version match.
[  +48 ms] Found plugin google_sign_in at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in-6.2.1/
[   +6 ms] Found plugin google_sign_in_android at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_android-6.1.24/
[   +5 ms] Found plugin google_sign_in_ios at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_ios-5.7.6/
[   +8 ms] Found plugin google_sign_in_web at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_web-0.12.4/
[  +96 ms] Found plugin google_sign_in at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in-6.2.1/
[   +6 ms] Found plugin google_sign_in_android at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_android-6.1.24/
[   +2 ms] Found plugin google_sign_in_ios at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_ios-5.7.6/
[   +5 ms] Found plugin google_sign_in_web at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_web-0.12.4/
[  +81 ms] Found plugin google_sign_in at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in-6.2.1/
[   +1 ms] Found plugin google_sign_in_android at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_android-6.1.24/
[   +1 ms] Found plugin google_sign_in_ios at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_ios-5.7.6/
[   +2 ms] Found plugin google_sign_in_web at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_web-0.12.4/
[  +33 ms] Generating /Users/lazaalissa/prototypes/web_html_glitch/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +118 ms] Launching lib/main.dart on Web Server in release mode...
[  +93 ms] Found plugin google_sign_in at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in-6.2.1/
[   +1 ms] Found plugin google_sign_in_android at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_android-6.1.24/
[   +1 ms] Found plugin google_sign_in_ios at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_ios-5.7.6/
[   +2 ms] Found plugin google_sign_in_web at /Users/lazaalissa/.pub-cache/hosted/pub.dev/google_sign_in_web-0.12.4/
[  +91 ms] generated_plugin_registrant.dart not found. Skipping.
[   +1 ms] Compiling lib/main.dart for the Web...
[   +8 ms] Initializing file store
[   +7 ms] Done initializing file store
[  +53 ms] Skipping target: web_entrypoint
[   +1 ms] Skipping target: gen_localizations
[   +1 ms] invalidated build due to missing files: /Users/lazaalissa/prototypes/web_html_glitch/web/*/index.html, /Users/lazaalissa/prototypes/web_html_glitch/web/flutter_bootstrap.js
[   +1 ms] web_templated_files: Starting due to {InvalidatedReasonKind.outputMissing: The following outputs were missing: /Users/lazaalissa/prototypes/web_html_glitch/build/web/*/index.html, InvalidatedReasonKind.inputMissing: The following inputs were missing: /Users/lazaalissa/prototypes/web_html_glitch/web/*/index.html,/Users/lazaalissa/prototypes/web_html_glitch/web/flutter_bootstrap.js}
[   +1 ms] web_static_assets: Starting due to {InvalidatedReasonKind.outputMissing: The following outputs were missing: /Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/flutter.js,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/skwasm.js,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/skwasm.js.symbols,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/canvaskit.js.symbols,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/skwasm.wasm,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/chromium/canvaskit.js.symbols,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/chromium/canvaskit.js,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/chromium/canvaskit.wasm,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/canvaskit.js,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/canvaskit.wasm,/Users/lazaalissa/prototypes/web_html_glitch/.dart_tool/flutter_build/0b5a4a496649dd38ac70a947289da176/canvaskit/skwasm.worker.js}
[ +735 ms] Skipping target: dart2js
[   +3 ms] web_static_assets: Complete
[  +28 ms] Warning: In index.html:37: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead.
[   +2 ms] Warning: In index.html:46: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead.
[   +3 ms] web_templated_files: Complete
[ +137 ms] Skipping target: web_release_bundle
[ +151 ms] web_service_worker: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: build/web/flutter_bootstrap.js,build/web/index.html}
[ +265 ms] web_service_worker: Complete
[   +2 ms] Persisting file store
[   +6 ms] Done persisting file store
[  +18 ms] Compiling lib/main.dart for the Web... (completed in 1,418ms)
[        ] ✓ Built build/web
[  +49 ms] lib/main.dart is being served at http://<IP_ADDRESS>:3000
[        ] The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow.
[   +5 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.22.1, on macOS 13.2.1 22D68 darwin-x64, locale en-US)
    • Flutter version 3.22.1 on channel stable at /Users/lazaalissa/fvm/versions/3.22.1
    ! Warning: `flutter` on your path resolves to /Users/lazaalissa/fvm/versions/stable/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/lazaalissa/fvm/versions/3.22.1. Consider adding /Users/lazaalissa/fvm/versions/3.22.1/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart-sdk/3.0.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/lazaalissa/fvm/versions/3.22.1. Consider adding /Users/lazaalissa/fvm/versions/3.22.1/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (2 weeks ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/lazaalissa/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/lazaalissa/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    ! Flutter recommends a minimum Xcode version of 15.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.2.1 22D68 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.142

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hi @azalisa
I checked the issue on my end but couldn't reproduce it. You can watch my demo video below:

Demo
https://github.com/flutter/flutter/assets/104349824/73bef8b8-d2fd-4d4c-8b28-4e22fbd5524e

Do you modify web module code (index.html for example)? Could you share a minimal sample project on a GitHub repository so I can try it on my end? Thanks!

Hi @huycozy, thanks for checking this! There was nothing custom about my repro app, but your reply got me thinking about the version of Chrome being used, and I can confirm that after updating to the latest version of Chrome (125.0.6422.164), the bug doesn't happen anymore 😅 So you can close this issue now. For what it's worth, the latest version I can confirm had the bug was Chrome 98.0.4758.101, which was launched in Feb 2022, so it was quite outdated.

Glad you found it. It may be helpful for others facing this issue as well. Closing as solved.


Not working on React 19.0.0

There is a crash on the 19.0.0 version of react (checked on 19.0.0-rc-3edc000d-20240926)
TypeError: Cannot destructure property 'ReactCurrentOwner' of 'react__WEBPACK_IMPORTED_MODULE_0__.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined.

Your version of its-fine is very outdated. Are you using react-three-fiber? We have an alpha release under v9 which targets React 19.

i'm using react-konva, found related PR here: https://github.com/konvajs/react-konva/pull/802
thanks :)


Domain Error

Howdy, looks like there is a problem in the elements conversion. I get:
rv=[2672.9215894693
-5852.513642806324
-1705.019290659769
7.58861779126684
5.161409874365992
-5.820134371321003];
elements(rv,planets["earth"]["mu"])
DomainError
at In[4]:1
in elements at .../Astrodynamics.jl/src/frames.jl:23
Can you try to reproduce the error?

Well, that took some time. But the problem seems to have gone away on the current Julia development version.

Thanks, Helge.