How many machines can be supported at most？

Hello, we now want to expand the cluster node, how many machines can 0.14.0 maximum support? Can I support more than 700 nodes? Can the latest version support more? Thanks!
Organization Name:

Short summary about the issue/question:
Brief what process you are following:

How to reproduce it:

OpenPAI Environment:

OpenPAI version: 0.14.0
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:

We have an internal bed which hosts more than 200 nodes. We don't test 700 nodes scale.
It depends on many things such as k8s scalabilities, machine performance and the  max number of your active jobs.


[Bug]: UserLocation doesn't work with other GeoLocation Services (Android)

Mapbox Implementation
Mapbox
Mapbox Version
10
Platform
Android
@rnmapbox/maps version
10.0.0-beta.11
Standalone component to reproduce
import { StyleSheet, View ,Text,PermissionsAndroid, SafeAreaView} from 'react-native';
import Mapbox, {UserLocationRenderMode} from '@rnmapbox/maps'
import { useEffect, useState } from "react";

export function Map(){

  const [location,setLocation] = useState(null);
  const [hasLocationPermissions,sethasLocationPermissions] = useState(false)

  const requestLocationPermission = async  () =>
  {
    try {
      const granted = await PermissionsAndroid.request(
        PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,

      )
      if (granted === PermissionsAndroid.RESULTS.GRANTED) {
        sethasLocationPermissions(true)
        console.log("You can use the location")
        alert("You can use the location");
      } else {
        console.log("location permission denied")
        alert("Location permission denied");
      }
    } catch (err) {
      console.warn(err)
    }
  }

  useEffect(()=>{
      requestLocationPermission()
  },[])

    return(
        <SafeAreaView style={styles.container}>
             <Mapbox.MapView style={styles.map} >
              <Mapbox.PointAnnotation
                draggable={true}
                onDragEnd={feature => {
                  console.log(feature);
                  setLocation({
                    latitude: feature.geometry.coordinates[1],
                    longitude: feature.geometry.coordinates[0],
                  });
                }}
                coordinate={ [
                  -1.510311133796023,
                  53.816142903704616
                        ]}
              >
             <View style={{
                height: 30,
                width: 30,
                backgroundColor: '#00cccc',
                borderRadius: 50,
                borderColor: '#fff',
                borderWidth: 3
                }} />

              </Mapbox.PointAnnotation>

                    <Mapbox.UserLocation
                    visible={true}
                    androidRenderMode={'compass'}
                    showsUserHeadingIndicator={true}
                    onUpdate={newLocation => {
                      console.log(newLocation)
                    }}
                />

        </Mapbox.MapView>
        </SafeAreaView>
    )
}

Observed behavior and steps to reproduce
This started when i switched to mac os, i have a project with rnmapbox and react-native-geolocation-service in linux android was working fine with both i could get updates from UserLocation but in mac os
that doesn't work anymore so i tried to figure out what was wrong, i started a new project and i could get update locations without react-native-geolocation-service installed, so i installed another lib  @react-native-community/geolocation and still happens the same the UserLocation didn't work anymore, i only can work with UserLocation on android without any geolocation lib.
Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
No response

@0xcD3v I don't see 3rd party service in this example. Also what does doesn't work means, please be specific?

@0xcD3v I don't see 3rd party service in this example. Also what does doesn't work means, please be specific?

I don't need to call the 3rd party service on the code it just stoped works by having it installed. i change the location on simulator the user location component doesn't move, the onUpdate function doesn't get triggered. i tried on a physical device and happens the same it only work's in IOS
Portion of my package.json

my build.gradle

and i also have the api key on gradle.properties
i installed @rnmapbox via  yarn using this command: yarn add "rnmapbox/maps#main"

@mfazekas i did a video showing what's happening
https://user-images.githubusercontent.com/128076064/226107993-1f30bd84-009b-476a-9178-9bdc6a228b7e.mov

@mfazekas hey, do you have updates about this issue? Do you need more information?

@0xcD3v Sorry it's a community project, with limited resources.

Hi, I'm experiencing the same issue. The UserLocation component's onUpdate function only fires once (on load) but doesn't fire again when the user location changes. Only occurs on Android.
I've tested on #main (latest MapBox version) and on 10.0.0-beta.76 and both had this issue. I will try older Beta versions now to see if one works.
To test, I'm building to my android device and then updating the location using the 'GPS emulator' app for Android, I find that this is the easiest and most reliable way to test the actual behaviour.

@FrancoisVA thanks, are you also using other location services?

@ mfazekas I tested on 10.0.0-beta.69, and the issue is not present there. There might be a more recent build (between 10.0.0-beta.69 and 10.0.0-beta.74) that also works, but I haven't had time to test on more versions.

@ mfazekas I tested on 10.0.0-beta.69, and the issue is not present there. There might be a more recent build (between 10.0.0-beta.69 and 10.0.0-beta.74) that also works, but I haven't had time to test on more versions.

I tried go to that version and the issue is still present for me.
"yarn add<EMAIL_ADDRESS>

@ mfazekas I tested on 10.0.0-beta.69, and the issue is not present there. There might be a more recent build (between 10.0.0-beta.69 and 10.0.0-beta.74) that also works, but I haven't had time to test on more versions.

I tried go to that version and the issue is still present for me.
"yarn add<EMAIL_ADDRESS>
@0xcD3v  I think it might be a cache issue with your package or something, but I don't know enough about RN to help you. Try deleting all packages and re-installing and cleaning the project I guess. I tried on 10.0.0-beta.70 and that works as well.
@mfazekas it looks like this issue is present on all versions after 10.0.0-beta.70, I guess some change between 70 and 71 is wat caused the issue. Please let me know if this is something you will be able to resolve or if we will have to get rid of the other geolocation packages.

@ mfazekas I tested on 10.0.0-beta.69, and the issue is not present there. There might be a more recent build (between 10.0.0-beta.69 and 10.0.0-beta.74) that also works, but I haven't had time to test on more versions.

I tried go to that version and the issue is still present for me.
"yarn add<EMAIL_ADDRESS>
@0xcD3v I think it might be a cache issue with your package or something, but I don't know enough about RN to help you. Try deleting all packages and re-installing and cleaning the project I guess. I tried on 10.0.0-beta.70 and that works as well.
@mfazekas it looks like this issue is present on all versions after 10.0.0-beta.70, I guess some change between 70 and 71 is wat caused the issue. Please let me know if this is something you will be able to resolve or if we will have to get rid of the other geolocation packages.

@FrancoisVA Is working for me now the 10.0.0-beta.70

@FrancoisVA thank for checking looking at the diff of 70 and 71 https://github.com/rnmapbox/maps/compare/v10.0.0-beta.70...v10.0.0-beta.71 I see that mapbox was bumped to 10.11.1 If you can check if downgrading the mapbox libs with RNMapboxImpl as describe in docs helps or not:
https://github.com/rnmapbox/maps/blob/main/android/install.md#using-non-default-mapbox-version
 RNMapboxMapsLibs = {
            implementation 'com.mapbox.maps:android:10.10.0'
            implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:6.10.0'
        }

@FrancoisVA thank for checking looking at the diff of 70 and 71 v10.0.0-beta.70...v10.0.0-beta.71 I see that mapbox was bumped to 10.11.1 If you can check if downgrading the mapbox libs with RNMapboxImpl as describe in docs helps or not:
https://github.com/rnmapbox/maps/blob/main/android/install.md#using-non-default-mapbox-version
 RNMapboxMapsLibs = {
            implementation 'com.mapbox.maps:android:10.10.0'
            implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:6.10.0'
        }

@mfazekas I tried to do that, and the problem persists i updated to /maps-10.0.0-rc.8 and on ios i was unable to install " rnmapbox-maps (from ../node_modules/@rnmapbox/maps) was resolved to 10.0.0-rc.8, which depends on
MapboxMaps (~> 10.12.0)"

@FrancoisVA thank for checking looking at the diff of 70 and 71 v10.0.0-beta.70...v10.0.0-beta.71 I see that mapbox was bumped to 10.11.1 If you can check if downgrading the mapbox libs with RNMapboxImpl as describe in docs helps or not:
https://github.com/rnmapbox/maps/blob/main/android/install.md#using-non-default-mapbox-version
 RNMapboxMapsLibs = {
            implementation 'com.mapbox.maps:android:10.10.0'
            implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:6.10.0'
        }

Hi @mfazekas, sorry for the late reply. I tried jumping back onto rnmapbox/maps#main and setting the specific mapbox version in build.gradle, but the issue is still present. Did you see anything else that might cause the issue when you looked at the diff?

This is also a problem I have been seeing intermittently for more than a year with our build. No one has been able to fix it so far; currently working with someone to try to build a work around for this case.  Any help in solving this would be amazing for us!

hey guys from the same component i provide here, i  have another issue on IOS physical device. INVALID react tag, could not find RCTMGLMapView

It looks like there might be a solution found in another bug report by wen-kai:
https://github.com/rnmapbox/maps/issues/2543#issuecomment-1467447377
I added useEffect(() => {MapboxGl.locationManager.start()},[]} to the area's I'm using the MapboxGL.UserLocation and it seems to have fixed the issue for me.

I'm having the same issue, but adding useEffect(() => {MapboxGL.locationManager.start()},[]} doesn't seem to do the trick for me.
Downgraded to 10.0.0-beta.70 and then it works again.

The same problem in v10.0.6. I tested with 10.0.0-beta.70 and the location works but I need to use sdf icons and in these version doesn't work

Thank you @KiwiKilian This workaround worked for us, now UserLocation being updated on Android.
      <MapboxGL.UserLocation
          minDisplacement={1}
          renderMode={UserLocationRenderMode.Normal}
        />

Throughout this issue there are quite a few different/unclear problems stated. Therefore it's hard to determine, who is confirming which problem. I figured at least one specific case described by @FrancoisVA in our app too:

The UserLocation component's onUpdate function only fires once (on load) but doesn't fire again when the user location changes. Only occurs on Android.

To further clarify, the puck on the map does not update for normal render mode (either custom children or the default from rnmapbox). Using native render mode will give a moving puck. For both render modes onUpdate is only triggered once. I'm on the #main Branch equivalent to v10.0.7-rc.1.
This occurs due to no displacement beeing passed. So anyone who's experiencing the aforementioned problem, please try the following:
       <MapboxGL.UserLocation
          minDisplacement={1}
          renderMode={UserLocationRenderMode.Normal}
          onUpdate={() => console.log("location changed")}
        />

Please give feedback 👍 👎 if this workaround works (only if you are experiencing this very same problem). You should be seeing a moving puck and getting "location changed" regularly, if you are simulating/moving your location.
@mfazekas sadly I'm still not able to reproduce the bug in the example. I can only recreate it in our expo project. Through prebuild I added error logging to the LocationManager onFailure which gave the following error:
com.mapbox.common.location.compat.LocationEngineException: invalid displacement: -1.0
        at com.mapbox.common.location.compat.LocationEngineImpl$notifyConsumersError$lambda-1$$inlined$postOrCall$1.run(LocationEngineImpl.kt:361)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

So under some circumstances when displacement is passed as -1.0 Mapbox SDK throws an error.

I encountered a similar error. Using react-native-geolocation-service 5.3.1 and rnmapbox v10.0.0-beta.64, there was no error. However when I added firebase as a dependency com.google.gms:google-services:4.3.15 I had the error Invalid Displacement -1,0 setSmallestDisplacement() with reference to the firebase dependency I had just installed. The error was related to using the userlocation in rnmpabox, which I fixed by upgrading to version 10.0.0-beta.69 !

Throughout this issue there are quite a few different/unclear problems stated. Therefore it's hard to determine, who is confirming which problem. I figured at least one specific case described by @FrancoisVA in our app too:

The UserLocation component's onUpdate function only fires once (on load) but doesn't fire again when the user location changes. Only occurs on Android.

To further clarify, the puck on the map does not update for normal render mode (either custom children or the default from rnmapbox). Using native render mode will give a moving puck. For both render modes onUpdate is only triggered once. I'm on the #main Branch equivalent to v10.0.7-rc.1.
This occurs due to no displacement beeing passed. So anyone who's experiencing the aforementioned problem, please try the following:
       <MapboxGL.UserLocation
          minDisplacement={1}
          renderMode={UserLocationRenderMode.Normal}
          onUpdate={() => console.log("location changed")}
        />

Please give feedback 👍 👎 if this workaround works (only if you are experiencing this very same problem). You should be seeing a moving puck and getting "location changed" regularly, if you are simulating/moving your location.
@mfazekas sadly I'm still not able to reproduce the bug in the example. I can only recreate it in our expo project. Through prebuild I added error logging to the LocationManager onFailure which gave the following error:
com.mapbox.common.location.compat.LocationEngineException: invalid displacement: -1.0
        at com.mapbox.common.location.compat.LocationEngineImpl$notifyConsumersError$lambda-1$$inlined$postOrCall$1.run(LocationEngineImpl.kt:361)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

So under some circumstances when displacement is passed as -1.0 Mapbox SDK throws an error.

Had the issue and setting minDisplacement={0} solved it. In doc, it is still said that default is 0 !

Using Mapbox version  10.0.0-beta.70 does not make a difference for me. I am using "react-native-background-geolocation": "^4.10.0",
anyone found other solutions?

Using Mapbox version 10.0.0-beta.70 does not make a difference for me. I am using "react-native-background-geolocation": "^4.10.0",
anyone found other solutions?

I'm using import {UserLocation} from '@rnmapbox/maps;
and          <UserLocation           androidRenderMode={'gps'}           renderMode={UserLocationRenderMode.Native}           showsUserHeadingIndicator={true}           visible={true}           requestsAlwaysUse={true}           minDisplacement={1}           animated={true}         />
And it works fine


Implement Repository.

Git is being unhelpful due to a lack of files in the repository.
Initialise the repository and push changes remotely.
Yes, this is learning curve time.

Added file .gitignore

Issue waIssue was inadvertently closed; this rectifies that bit of user idiocy.

First release is complete.
See tag demo.1.0.0


About the Deep Training Strategy in coco object detection task

Hi,
Thanks for the great work.
For coco object detection task using the imagenet pre-trained model, do you still use Deep Training Strategy or tuning λ during training? If so, what is the tuning strategy?
Thanks for the reply

We directly set λ=1 during the detection training.

why directly set λ=1 instead  of  gradually form 0 up to 1 ？

We use the checkpoint trained from ImageNet (which is indeed λ=1 from the 2/3 training epochs when training on ImageNet). We also try the strategy gradually form 0 up to 1 in COCO, but there seems little difference in downstream fine-tuning (~0.1 mAP).

Ok, I see, thank you~

你好，请问分割任务是否也不适合深度训练策略或者深度训练策略收效不大

你好，请问分割任务是否也不适合深度训练策略或者深度训练策略收效不大？

我们使用从 ImageNet 训练的检查点（当在 ImageNet 上训练时，它确实是来自 2/3 训练时期的 λ=1）。我们也在 COCO 中尝试逐渐从 0 到 1 的策略，但下游微调（~0.1 mAP）似乎差异不大。

你好，请问分割任务是不是也不适合深度训练策略或者深度训练策略收效不大？

Thanks for the reply and discussion! Closing this issue


[mgmt] mysql-flexible release

https://github.com/Azure/sdk-release-request/issues/5151

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-mysql-flexible


Move parsing functions to parse module

WIP. This PR moves all internal functions to the parse module.
This has the advantage of providing a clear interface to the user & developers, as the structure of Tiled objects are now defined completely separate from how they are parsed. However, this PR still doesn't answer questions like "Should we make the parse functions public?" "How should we present the parse functions internally?" etc. For now the definitions have been moved literally to the XML/"common" module.
Stopped mid-way since I realized a huge mistake with wangsets (The WangSetType type isn't accessible from outside and the compiler didn't complain somehow, even with the wang_set_type public WangSet member). Fixing this now in current. I wish we'd have implemented wangsets in next instead. Oh well.

This is pretty outdated so I'll close it for now. I might do this at some point, just need to have time and patience...


Social Workers inviting Social Workers

I'm sorry, I know this is changing what we had agreed upon, but it has become apparent that Social Workers need to invite other social workers during the roll out process.  Currently, they can invite volunteers, but not other social workers. Can you let me know when this has been adjusted so I can communicate it to the workers?  Thanks!!

This is verified working and in production :+1:


Difference between mobilenet and moilbenet quantisized weights

In the `mobilenet example , why is there one path for regular model wrights and another for quantisized? If I understood correctly, the weights should be the same and only in the acl  covert code, does the Quantization info map them from float to uint8.

Your intuitions are close.
Quantisation does use the same weights, at first.  But it is a retraining process.  You use the full float weights as initialisation, and then retrain from there, reducing the bits.
So you end up with different models, a quantised and non-quantised one.  I don't think ACL handles retraining, this is something that is done on your host framework.
Perhaps the following paper will be useful.

Hi @foromer4
The networks have few differences. On top of having to handle quantization information in the "get_dwsc_node_qasymm" function there is no BatchNormalizationLayer.
@Wheest is right, we don't have any sort of training/retraining functionality.
Best,
Manuel

@Wheest , @ManubARM  thanks for the input. what I'm interested in doing is post quanitzation on a regular trained mobilenet ssd model. In that case, can't I load the regular weights and use the qunatization info which I cac calculate myself for each layer? Must I pre-train a quantisized model before converting it into ACL? thank you

Yes, you can convert the weights from QASYMM8 to floating point runtime and then give them as F32 tensors to the layers.
I don't think it is necessary to pre-train the model if the quantization info are carefully chosen.
But you might want to try anyway and evaluate the best model for your case in terms of memory/performance/accuracy.
Hope it helps,
Manuel

Closing the issue, feel free to reopen otherwise


Add prefixes for all Bootstrap classes

.btn - > .b4-btn
It's conveniently for separate code and readability.

I think it's an interesting idea though I wouldn't prefix everything I think the route fontawesome goes with the .fa class as a namespacer would reduce the amount of extra typing while still name spacing

We won't be doing this—you can largely use a PostCSS plugin to add these if you need them.

@mdo any solutions for the hard-coded selectors inside the JavaScript code of the components?

I suspect the extra build complexity required to accommodate that wouldn't be deemed acceptable.

@cvrebert guess you could include support for some sort of decorators (@bootstrap-namespacer-whatever) which could automagically namespace the CSS class names inside JavaScript code. For example React has this http://unicornstandard.com/packages/react-pacomo.html


python3Packages.env-canada: init at 0.4.0

Motivation for this change
Python library to get Environment Canada weather data
https://github.com/michaeldavie/env_canada
This is a HOme Assistant dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 128639 run on x86_64-linux 1

2 packages built:

python38Packages.env-canada
python39Packages.env-canada


Automatically center focused filter pill in list

When navigating by keyboard, some filters are currently invisble because the list doesn't scroll.

[ ] Center focused filter in list
[ ] Add arrow key navigation (focus next/prev filter)


Add ability to set breathe in hold duration

I wanted the ability to configure the breathe in hold to something other than 15sec, so I added it as a configurable setting with room to add others there later.
Not sure about the layout but it's workable.

I also noticed the CICD is failing. I think I need to set something up for gh-pages to work properly?

2 remarks:

I think the settings migration is not working correctly (NAN values)
There are no labels for the input boxes, now it's unclear what the value is for


Simplify s3 bucket variables

original ticket: do we still need to specify region with new s3 deployment routines?
Answer: No.
So we're cleaning up the bucket paths.

Future readers:
If you, like me, ran across this ticket while searching for a solution to a 301 or certificate mismatch error because you have . dots in your non-us-east-1 bucket name, here's a working solution: https://github.com/INN/maine-legislature/commit/5aef6497b291255d67f602dced98412023a2c299


[WIP] emit_changed on resource/value changes in Theme

closes https://github.com/godotengine/godot/issues/6145 (WIP).
The color is updated in Preview, 2D and runtime with Sync Changes.

When I change the size of a font or some stylebox setting I get only Preview and 2D updates. Any Idea why?
It seems this issue is Inspector related, unfolding and edit is not updating the remote tree like open edit (edit resource).

Sorry, I had pending to close this for a while. The PR was not good because it did not take into consideration the fact that a font could many times exist on the theme. For this kind of situation it is that recursive connections were introduced some months ago.


Add a CLI parameter to disable "OpenBrowser"

Is your feature request related to a problem? Please describe.
At the end of the analysis, ApplicationInspector opens the generated HTML file. While analysing many applications, this leads to many opened browser tabs and prevents to do something else while the tool is running.
Describe the solution you'd like
Providing a CLI option to disable the automatic opening of generated reports would be awesome.
Describe alternatives you've considered
Currently, I have rebuilt the tool on my own commenting out the "Utils.OpenBrowser(htmlOutputFilePath);" line within "LiquidWriter.cs"

Sounds good.  I also suggest using the json output if your scanning in quantities then maybe piping to a database with a search/display UI.

Good point Indeed. Soon or later, I want to dig into results aggregation to have a nice overview of a wider application landscape.

Fixed with argument to suppress auto opening of browser i.e. it leaves the output.html in the directory for opening as needed.  Again, the other format options allow for opening outside of a browser also.

#145 contains the fix which will be added to the next binary release this week/asap.


Retrieving cluster heads without replacing corefs

I am interested in being able to extract the cluster heads with something like doc._.coref_cluster_heads to get the cluster heads without getting the reconstituted text.  It could be a separate function that also acts as input into replace_corefs potentially.

@MikeMikeMikeMike I added this.


ClusterOutput and Output implementation

rancher/dashboard#1102
rancher/dashboard#1103
Note:
Preview yaml doesn't seem to render the spec because it has a type of '.spec'. Do we want to pursue correcting createYaml or have the backend fix the type?

Is there any way we could indicate to users that fluentd is called forward in the crd? I am concerned that users who start in the UI will get confused searching banzai docs if they need to do anything more advanced.

Is there a reason to keep fluentd instead of just renaming it to forward?

View/Detail

[ ] Hide overview tab
[ ] Tabs only show enabled/configured outputs

Create/Edit

[ ] Change Overview text on tab to Select Outputs
[ ] On "overview" page, show all providers and remove the pop-out icon. Add heading to Select to configure an output.
[ ] By default, hide providers from side tab, when the button is selected, show provider.
[ ] Remove "Enabled" checkbox on each config page
[ ] Move username/password to top of "access" section

Here's what the updates look like:

And since I made some modifications to the GradientBox I verified that it appears the same on the overview page.


Add skills

Would be great to highlight what programming languages people are comfortable to write. Maybe include an image too like the experience option.

We (@Abhishek-kumar09, @skeshavaa, and @ravisha7feb) are working on it.


GitHub.md: Input script, switch out image URLs for base64 SVGs - NOMERGE

Please don't merge yet. My intention was originally to keep the embedded SVG in  format, but I couldn't figure out how to get Buffer working with meteor. I kept getting ReferenceError: Buffer is not defined - which was when I realized I was following NodeJS instructions :/
If someone can figure out the proper way to encode the svg data into base64 on the fly, let me know.
My original assumtion was that i could use:
var svg_item_1 = Buffer('<svg></svg>', 'ascii');
...
    author_icon: svg_b64_pre + svg_item_1.toString('base64');

but like I said, that didn't work?

The original intention here was to include the commit icon because previously only the pull request icon was being used. Issue icon will be coming next.

Since SVGs is just XML and no binary, why not just store it as a string instead?
var svg_item_1 = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="octicon octicon-git-commit" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M10.86 7c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3H0v2h3.14c.45 1.72 2 3 3.86 3 1.86 0 3.41-1.28 3.86-3H14V7h-3.14zM7 10.2c-1.22 0-2.2-.98-2.2-2.2 0-1.22.98-2.2 2.2-2.2 1.22 0 2.2.98 2.2 2.2 0 1.22-.98 2.2-2.2 2.2z"></path></svg>';

Because my options not knowing the code in-depth were to bass it to author_icon:
The result if it's not done this way is that you end up with:
<img src="<svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>">

Which doesn't work, Instead of:
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0ib2N0aWNvbiBvY3RpY29uLWdpdC1jb21taXQiIGhlaWdodD0iMTYiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0IDE2IiB3aWR0aD0iMTQiPjxwYXRoIGQ9Ik0xMC44NiA3Yy0uNDUtMS43Mi0yLTMtMy44Ni0zLTEuODYgMC0zLjQxIDEuMjgtMy44NiAzSDB2MmgzLjE0Yy40NSAxLjcyIDIgMyAzLjg2IDMgMS44NiAwIDMuNDEtMS4yOCAzLjg2LTNIMTRWN2gtMy4xNHpNNyAxMC4yYy0xLjIyIDAtMi4yLS45OC0yLjItMi4yIDAtMS4yMi45OC0yLjIgMi4yLTIuMiAxLjIyIDAgMi4yLjk4IDIuMiAyLjIgMCAxLjIyLS45OCAyLjItMi4yIDIuMnoiPjwvcGF0aD48L3N2Zz4=">

Ah, I didnt think that far that this ends up in a concated  src.
I can't think of any other more elegant solution for this then :/

The main problem is that I don't know of a meteor-compatible way to base64 encode a string. The recommended way for NodeJS was to use Buffer - So I backed out of encoding on the fly and decided to just store the base64 as a proof-of-concept.

Ah, as it turns out, it looks like you might be able to pass it as utf8 and then insert the SVG XML: https://css-tricks.com/probably-dont-base64-svg/
You were onto something after all...

Proof that it works:

I've been using this all day and haven't seen any issues with it. I think it's ready for prime-time if you'll have it. I prefer it this way so that it's not making calls to external sites for the images. @RocketChatApp

I prefer it this way so that it's not making calls to external sites for the images.

Totally agree. LGTM :)


[Bug]:

What happened?
I just got my Eufy indoor 2k cams up and running with HomeKit secure video (they support HKSV natively).
I plan on using this plugin solely for the "On/Off switch" and "home/away/night features, as HomeKit does not offer those natively for these cams. That way I can set them to run only when I'm not home or at night. (geofencing is not an option as I work from home a lot)
I got the plug-in set up and the "home/away/night/off"  switches are in HomeKit. I manually tried to turn on/off/home/away and it ran successfully, except it did not actually change on/off/home/away/night. My cameras remain untouched and running as if nothing happened. I also created an automation for them to change status, but the result was the same.
ex. I have all my cameras set to "off" but they are all running and sending out motion notifications.
I am not seeing any relevant errors in the HomeBridge logs either.
I included the logs that are shown after a fresh reboot of HomeBridge. No logs are shown when I change the on/off/home/away/night.
I've uninstalled and reinstalled the plugin multiple times, signed in and out, rebooted my pi multiple times.... nothing seems to work.
Has anyone gotten this to work correctly when using the indoor 2k cams? Or have I encountered a bug?
Device Type
Indoor Camera (Supported)
Plugin Version
v1.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
[23/03/2022, 22:40:29] [EufySecurity] Adding new accessory: Stairway
[23/03/2022, 22:40:29] [EufySecurity] Family Room looks station but it's not could imply some errors Type: 30

[23/03/2022, 22:40:29] [EufySecurity] Stairway has no battery
[23/03/2022, 22:40:29] [EufySecurity] Adding new accessory: Stairway

Yes


CPP User Guide - Not Able to Follow Code Snippet

https://github.com/real-logic/simple-binary-encoding/wiki/Cpp-User-Guide
I do not find actual sample code from which following snippet is mentioned in guide. May you please share it ?

Also not the function resetForDecode body ?

The wiki page had become out of date. I've updated it.


feat: add show vercel log config

add a new config SHOW_LOG_OUTPUT to show deploy log without leave GitHun Action log console

⚠ This PR has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.


If Google map  iOS SDK can launch navigation?

If Google map  iOS SDK can launch navigation?

Please see Maps URLs for a cross platform URL that you can use to launch navigation, amongst other capabilities.


English Europarl dataset

The file "run.sh" specifies the location _http://hltshare.fbk.eu/IWSLT2012/training-monolingual-europarl.tgz_, but there is no data at this url. Could you please let me know where can I download the data from?

The file "run.sh" specifies the location _http://hltshare.fbk.eu/IWSLT2012/training-monolingual-europarl.tgz_, but there is no data at this url. Could you please let me know where can I download the data from?

http://www.statmt.org/wmt13/training-monolingual-europarl-v7.tgz


Upgrade from 23.x to 24.1 breaks the GUI when os-dyndns plugin is installed and previously added as a dashboard widget.

Describe the bug
As the title describes, having the os-dyndns plugin installed and added as a dashboard widget breaks the GUI (/index.php) after upgrading to the 24.1 version. The main sections in the menu become unresponsive and the dashboard is empty.
Workaround/remediation
I managed to fix the issue on my setup through the following steps.
The navigation entries under the 'Lobby' section do work, so the easiest* way to fix this through the GUI is to go to License, which unborks the GUI navigation. Then go to System > Firmware > Plugins and remove the os-dyndns plugin.
* (or directly visit /ui/core/firmware#plugins)
Expected behavior
In an ideal situation I would have expected that this incompatibility would have been reported during the upgrade process or at least that the rest of the GUI/navigation remained functional. But I understand that this may not be trivial at the moment. Hopefully, documenting this here may help others who bump into the same issue. Feel free to close this issue in case this does not require any additional action.

Or
pkg remove os-dyndns
As we haven't had the plugin since 23.1.x we can't fix code that we no longer ship.
Cheers,
Franco

Perfect, so the idea is that we are forced to remove the plugin that was working perfectly until 24.x for the one that no God can understand how it works (it works terribly, let's be realistic).
Nice.


parent info log update

@hs-apotell,
This is very redundant:
|vpiParent:
_module: work@main (work@main) dut.v:3:1: , endln:11:10, parent:work@main
|vpiParent:
_module: work@main (work@main) dut.v:3:1: , endln:11:10, parent:work@main
|vpiParent:
_module: work@main (work@main) dut.v:3:1: , endln:11:10, parent:work@main

Yes, I just noticed it myself. On it.

chipsalliance/UHDM#722 resolves it.
Sorry, made an edit to the logic as I was committing and didn't realize the impact of it.


contig_taxonomic_assign.py updated

@mberacochea, @guille0387 did changes to the voting system that we will now also use in the final manuscript version.
I think it's best to merge this into dev and then you can merge this into master (or before into cwl-docker)?
Some of the other branches that are currently open (no-pprmeta, pprmeta-score, no-bitscore-filter) where more for testing purposes and need not be merged (now).
Would be great if we can get a new release at some point! :)
btw: my EBI acc (email) is deactivated so I don't have any access to slack anymore. But please feel free to contact me via email or github issues ;)

Sure I'll review this and then merge into dev. I've been busy with other stuff. I'll get that you guys

I think we can merge this. I added just one comment for the contig_taxonomic_assign script but I can make that myself afer the merge.

Yep, I think no problem to split that one-liner to make the script more readable. If you can do the merge and a new release, we can add the release version number to the current manuscript! thx!


1.19.3 Support

The mod (v1.9.0) crashes when launching in 1.19.3 Fabric.

I've managed to get the mod running in 1.19.3 with minimal testing.
I'm going to do some testing in the other supported versions to make sure I haven't broken anything.
A 1.19.3 update should be out by the very latest Monday.

1.19.3 support has been completed in the latest version, v1.9.1. Hopefully there are no bugs :D
Thank you everyone for your patience!


Facing an issue, The IOS App is running in background but the screen is stuck and is black. It is not showing any error or issue.
Android Debug app is running perfectly fine. But IOS is always getting stucked.
Here's the log.
objc[69565]: Class CSAudioFileManager is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cf288) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b1a08). One of the two will be used. Which one is undefined.
objc[69565]: Class CSNNVADEndpointAnalyzer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cfcd8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b1f58). One of the two will be used. Which one is undefined.
objc[69565]: Class CSAudioRecordContext is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cfd28) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b2048). One of the two will be used. Which one is undefined.
objc[69565]: Class CSSelectiveChannelAudioFileWriter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cff08) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b2228). One of the two will be used. Which one is undefined.
objc[69565]: Class CSPlainAudioFileWriter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cf1e8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b2958). One of the two will be used. Which one is undefined.
objc[69565]: Class CSRemoteRecordClient is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cf788) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b3a38). One of the two will be used. Which one is undefined.
objc[69565]: Class CSServerEndpointFeatures is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1427cfa08) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x1415b40c8). One of the two will be used. Which one is undefined.
2022-01-31 17:36:52.446977+0500 Runner[69565:419839] Metal GPU Frame Capture Enabled
2022-01-31 17:36:52.447403+0500 Runner[69565:419839] Metal API Validation Enabled
2022-01-31 17:36:53.299107+0500 Runner[69565:420691] flutter: Observatory listening on http://<IP_ADDRESS>:58938/0gMF_699L30=/
2022-01-31 17:36:54.688240+0500 Runner[69565:420666] flutter: (Logged in user) ===> Unknown
2022-01-31 17:36:54.696754+0500 Runner[69565:420666] flutter:
2022-01-31 17:37:22.258324+0500 Runner[69565:421045] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed

Hi @Rayyanmaq1, thanks for reporting this.

Does this issue occur with the sample app?
Please share the output of flutter doctor -v
Please also provide the full output of flutter run -v
If this issue doesn't reproduce with the sample app, please provide a complete minimal reproducible code sample that we can use to verify this.

Thank you

Yes this issue occur with the sample app.
I tested in android it was working fine i developed all app but when i want to upload it to app store the app is just stuck on black screen.
When i am trying to print some thing this is Printing but the screen showing the black color all the time.
the log is about as i mentioned.

Please provide the output of flutter doctor -v and a complete minimal reproducible code sample.
Thank you

Can't send the minimal code because its the whole app.
Flutter doctor -v

Log output
objc[79174]: Class CSAudioFileManager is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5288) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea7a08). One of the two will be used. Which one is undefined.
objc[79174]: Class CSNNVADEndpointAnalyzer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5cd8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea7f58). One of the two will be used. Which one is undefined.
objc[79174]: Class CSAudioRecordContext is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5d28) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea8048). One of the two will be used. Which one is undefined.
objc[79174]: Class CSSelectiveChannelAudioFileWriter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5f08) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea8228). One of the two will be used. Which one is undefined.
objc[79174]: Class CSPlainAudioFileWriter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c51e8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea8958). One of the two will be used. Which one is undefined.
objc[79174]: Class CSRemoteRecordClient is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5788) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144ea9a38). One of the two will be used. Which one is undefined.
objc[79174]: Class CSServerEndpointFeatures is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x1460c5a08) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x144eaa0c8). One of the two will be used. Which one is undefined.
2022-02-01 12:23:47.703720+0500 Runner[79174:553250] Metal GPU Frame Capture Enabled
2022-02-01 12:23:47.704536+0500 Runner[79174:553250] Metal API Validation Enabled
2022-02-01 12:23:48.594501+0500 Runner[79174:566068] flutter: Observatory listening on http://<IP_ADDRESS>:64576/Mh82sMOFaug=/
2022-02-01 12:23:49.930660+0500 Runner[79174:566047] flutter: (Logged in user) ===> Unknown
2022-02-01 12:23:49.947147+0500 Runner[79174:566047] flutter:
2022-02-01 12:24:21.355997+0500 Runner[79174:568143] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed

Thank Sir For helping me out
I fount the issue it was something wrong with the Info.list file.
Just uploaded to apple Store hope no issue will come this time.
Thanks!

Given your last comment, I feel it is safe to close this issue.
Closing as solved.
If you do run into any more issues, do file a new issue and provide all the necessary information.
Thank you


chore(Button): Adding aria-disabled when button has loading state

Based on the feedback from the users, we should set button like disabled, during button is in progress/unavailable state...

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Perfectly working

people ususally wont say if it work. they will raise ticket and rate low if it is not work. i say worker works very well.  All i did was following documentation. that is more than enough

Thanks!


Indexing Failure BUG

I've found a bug in the index function which corrupts the data whenever it is not indexing a Tensor across the 1st dimension.
-- Create random data and random slice indices
x = torch.rand(2000,20000)+3
ind = torch.randperm(x:size(2))[{{1,10}}]:long()

-- Slice x along dimension 2 using the supplied indices in ind
sx = x:index(2,ind)

print("Original Range: " .. x:min() .. "," .. x:max())
print("Slice Range: " .. sx:min() .. "," .. sx:max())

The original range should report 3,4 while the sliced range reports an invalid range of 0,~4 (the upper and lower can vary due to randomness, but it should never be lower than 3).
This indicates that the internal data is invalid when using the index function.  It certainly has something to do with the size of the matrix itself since you get perfectly fine copies of Tensor sizes of [200,10]:
x = torch.rand(200,10)+3
ind = torch.LongTensor{1,2,3,4,5,6,7,8,9,10} -- Select all indices in order
sx = x:index(2,ind)
print("Matching: ".. x:eq(sx):sum() .. "/" .. x:nElement())

This produces Matching: 2000/2000, however the critical point seems to be when the first dimension is OVER 720.
A matrix of size [720,10] with the above test produces Matching: 7200/7200, however with a matrix of size [721,10] it produces Matching: 129/7210 which is absolutely not correct.
I'd really appreciate any insights into this error.

@mingfeima I'm so sorry to hear @MlWoo is in the hospital, I hope that they have a swift recovery!
Yes this is only observed in the intel/torch build, and not the original torch build as far as I can tell.  I don't think it has much to do with the torch.rand() function as it has been corrupting data that has been loaded in with torch.load(...) and other structured data.

@mdushkoff I have looked into the code and identified the problem.  Here is my test:
th> x = torch.rand(2000,20000)+3
                                                                      [0.4202s]
th> ind = torch.randperm(x:size(2))[{{1,10}}]:long()
                                                                      [0.0012s]
th> sx = x:index(2,ind)
                                                                      [0.0461s]
th> print("Slice Range: " .. sx:min() .. "," .. sx:max())
Slice Range: 3.000022164546,3.9997919152956
                                                                      [0.0001s]

Thanks for your reporting the bug.

Thank you so much, I really appreciate it!  Looks like this fixed it!


help-docs: Update Homebrew instructions for the latest release on macOS.

The command brew cask is no longer a brew command as of Homebrew version 3.5.2.
Updates the instruction to use brew <command> --cask instead.
Makes the upgrade instructions a bit more explicit.
Fixes: #22277.
Also removes a couple of TODO comments:

The current macOS release is a .dmg file download, but perhaps it used to be shipped as a .zip file before?
Verified that Zulip ends up in the Applications folder when installed via Homebrew.

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

See 5b8eac3 for a little of the history of .zip files (found via git log -p -S "TODO why zip").

Cool, thanks for also sharing how you found that info, @alexmv. I'm sure that command will come in handy in the future. 😄

Can you fix the Hombrew -> Homebrew typo in the commit message?

Oh nice catch, thanks!

Awesome.  Merged -- thank you, @drrosa!


Datepicker for article dates

We probably need a datepicker option on the date fields in article information. At the moment, it is unclear what format is required and whatever is entered is being dropped into the XML. In this example, none of what I entered could be classed as an iso-8601-date value! We are also missing any content for these dates; there are just elements with attributes.

Yeah we should talk about this and normalise across the user interface. What may be tricky is allowing different formats. Like year-only, year + season, year + month, year+month+day. It's not only a UI issue but an effort to normalise date usage in XML. Currently there's a lot mixed up. And sometimes we have human readable dates in addition to iso-8601 values.
Think we should dedicate a few days of specification and development to this topic.


keyof Enum

Hi,
I ve seen a post over this particular suggestion, but I did not understant why (in typescript, not in js)
why this kind of behavior is not expected on keyof over enum:
enum Kind {
   none,
   bob
}

interface SomeJsonData {
    kind: keyof Kind;
    insteadOfKind: "none" | "bob";
}

Just saying that because it was my first reflex trying keyof over enums out of Partial or Readonly's.
Enum are not part of ecmascript (as I know) so keyof applyed to typescript should have a typescript specific behavior.
I also did not expect keyof returns number values, but if it does, still make more sense than current behavior.
Cheers.

Just to clarify, I think that the question is "Why do I get a bunch of string literals named after the methods on numbers instead of "none" | "bob". Phrasing the question that way might clarify things a little.
An enum declaration actually declares two types:

The type of enum members (e.g. Kind.none, Kind.bob)
The type of the enum container itself (i.e. Kind)

Kind.none and Kind.bob each have a base type of Kind, which is really just subtypes of the number type, which has members of the Number type.
Kind on the other hand, is more or less an object with two members on it at runtime. Its type doesn't have a name, but you can still reference it by using the typeof operator (i.e. typeof Kind).
So if you're looking for "none" | "bob", you unfortunately want keyof typeof Kind.

Very interesting that you use this:

The type of enum members

I mean, keyof is not for enumerating numbers ?
Actually, in my opinion, enums are just a hack over javacript.
Result with that is typeof Enum give you "object".
Result with that is you have access to it enum[string] and enum[number].

The type of the enum container itself

Actually... that something that is very weird, because... not really. typeof or instanceof like that does not work....
Following the behavior you say with keyof, we may have this :
typeof Kind  === 'number'
typeof Kind.none === 'number'

but not!
That is legit typescript and returns a number :
Kind["none"];
Kind["bob"];

So, the definition of keyof is not clear... because "none" and "bob" are keys of the enum that make me enable access to its numbers values.
You actually try to explain me a non sense make sense because of non sense... yep, this sentence does not mean anything to me, like your explaination.

This post tell me:
Keyof is a way to enumerate javascript object members but even if enums are object instances, you will not be able to enumerate them that way. Instead of that, has you expected, it will returns the prototype of number, because its making more sense.

@DanielRosenwasser Your answer was very helpful!
However, I get an error using a const enum declaration with your solution.
Is there a workaround for this problem or do I need to submit a feature request?


React to CORS changes

I think all the instances of localhost that we see are the calls to TestHost. Mvc's tests use example.com as the Origin \ client url already


chromium: Update to version 86.0.4240.111

Closing in favour of https://github.com/ScoopInstaller/Extras/pull/7255


Cascade doc comments from protocol requirements to extensions

This allows authors to not have to copy and paste doc comments
from requirements to default implementations to get documentation.
rdar://problem/16512247

@swift-ci Please smoke test

@swift-ci Please smoke test

Thank you, this is really awesome!

@swift-ci Please test

@swift-ci Smoke test


Randomized app names

Just installed and ran the Spring Cloud Data Flow M3 beta, including the MySQL service for registry info.  When I create streams, the resulting PCF apps that get deployed have a randomized application name.  For example, if I create the ticktock stream, my resulting apps might be named like this:
dataflow-metallographic-oner-ticktock-time
dataflow-metallographic-oner-ticktock-log

I assume this is an attempt to make app names unique across the PCF instance for routing purposes, but is there a way for me to force the name of the apps?

Hi, @channing-jackson: please review the naming convention docs here. Though the randomization is enabled by default, this is overridable at the CF-deployer level. You could configure the right settings (via: cf set-env) that work for your requirements.

We should add this


Error message in 'Eval Error' in spite of proper output

Hi! Hope u r doing well.
I had made the EvalJS with the eval variable features of this HTMLifier. It is working well with all features, quite properly. Unfortunately, there is a bit of Glitch faced in theeval errorcloud var.
You can try the mistake out. There, start it with Enter + N and then, type alert("Hi!");, then to end coding, type, cde end and then press Enter + R to Run. It will show the proper pop-up, but after that, on the next screen, it shows Error: Unexpected token 'if'. But, practically, there was no error.

This is what you set ☁ eval to

OUTPUT: (None, if the next line is blank) 6 ERROR !!! (None, if the next line is blank) SyntaxError: Unexpected token 'if'

This is not valid JavaScript. You have a label OUTPUT, then enclosed in parentheses a comma expression. However, the right side of the comma operator has the keyword if, which can only be used in a statement rather than an expression

This is a bug with your project, not the HTMLifier. Practically, there was actual;y an error. Make sure you check what ☁ eval is being set to.

Oh! Thanks for your help bro.... I will keep it in mind from the next time.
Sorry for disturbing you.
[image: GeoTrack]
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature
Sender
notified with GeoTrack
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature
[image: 2]
On Tue, Aug 10, 2021 at 10:03 AM Sean @.***> wrote:

Closed #111 https://github.com/SheepTester/htmlifier/issues/111.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SheepTester/htmlifier/issues/111#event-5136590534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARS37VHMP2VH3H6UJM2SJGDT4FLWVANCNFSM5B3ZKFIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Worrying, your emails have trackers

Yes, I use geo-track, unlicensed, can't track location, but can see if they
are read or not.. for Github issues, it does not track if the mails are
read or nt. so, not useful fo gi issues
[image: GeoTrack]
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature
Sender
notified with GeoTrack
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature
On Tue, Aug 10, 2021 at 10:28 PM Sean @.***> wrote:

Worrying, your emails have trackers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SheepTester/htmlifier/issues/111#issuecomment-896511951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARS37VFDT7C65AHW4NXTVDDT4IDAFANCNFSM5B3ZKFIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Add clear docblock to all classes and interfaces

Many classes and interfaces don't have docblocks. A developer and the IDE is not able to know which data should returned. Best example is the TableGatewayInterface.
Can I send an PR for this?

@fadoe
That would be great!

I created a PR, but it is not completed now. I have for example a question about the StatementContainerInterface. Where is the best place for this questions? This issue or the pull request?

I have a question to the DriverFeatureInterface.
The addFeature in the interface describes the feature as mixed, in Driver\Pdo\Pdo as AbstractFeature. getFeature returns in Driver\Pdo\Pdo AbstractFeature or false (see docblock). Is this a difference between the interface and the extended Pdo class? I think in the DriverFeatureInterface should it also AbstractFeature.


crush

Minecraft version
1.20.1
Describe the bug
I enter the world and instantly crushes
Steps to reproduce
1.Entering the world
2.crush
3.
...
Logs
https://bytebin.lucko.me/gTiLJlrbCH
Additional context
No response

Please read the issue template more carefully. For modpack related issues, use the support channel on our discord server.

Before reporting, please ensure that:

You've installed a minimal set of mods required to reproduce the issue.
Issues with modpacks and excessive amount of mods will not be accepted, as they take a long time to diagnose.
Knowing which mods are causing problems allows us to focus on fixing the issue as soon as possible.
If you're unsure which mods might be at fault, try using binary search - removing half of installed mods
repeatedly until the faulty mod is found.


My release build stuck on splash screen

When I build my apk to release and install it on my device, the app will be stuck on the splash screen forever. However, when I run it using flutter run it works fine.
Here's my AndroidManifest
<activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <!-- Displays an Android View that continues showing the launch screen
                 Drawable until Flutter paints its first frame, then this splash
                 screen fades out. A splash screen is useful to avoid any visual
                 gap between the end of Android's launch screen and the painting of
                 Flutter's first frame. -->
            <meta-data
              android:name="io.flutter.embedding.android.SplashScreenDrawable"
              android:resource="@layout/splash_screen"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
                <action android:name="FLUTTER_NOTIFICATION_CLICK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

This is my MainActivity.kt
package ...

import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.android.SplashScreen
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
    override fun provideSplashScreen(): SplashScreen? {
        return AppSplashScreen()
    }
}

class AppSplashScreen: SplashScreen{
    override fun createSplashView(context: Context, savedInstanceState: Bundle?): View? {
        return LayoutInflater.from(context).inflate(R.layout.splash_screen, null, false)
    }

    override fun transitionToFlutter(onTransitionComplete: Runnable) {
        onTransitionComplete.run();
    }

}

This is my Application.java
package ...;

import io.flutter.app.FlutterApplication;
import io.flutter.plugin.common.PluginRegistry;
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback;
import io.flutter.plugins.GeneratedPluginRegistrant;
import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService;
import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin;

public class Application extends FlutterApplication implements PluginRegistrantCallback {
    @Override
    public void onCreate() {
        super.onCreate();
        FlutterFirebaseMessagingService.setPluginRegistrant(this);
    }

    @Override
    public void registerWith(PluginRegistry registry) {
        FirebaseMessagingPlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));
    }
}

Steps to Reproduce
Unfortunately, I don't know how to reproduce it.
flutter analyze
Analyzing ios...
No issues found! (ran in 1.8s)

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-8.0.pre.148, on macOS 11.1 20C69 darwin-x64, locale en-US)
    • Flutter version 1.24.0-8.0.pre.148 at /Users/username/flutter/flutter
    • Framework revision cc52b32b65 (10 weeks ago), 2020-11-08 17:46:16 -0800
    • Engine revision 0f7cdca65f
    • Dart version 2.12.0 (build 2.12.0-27.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/usename/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2018.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

[✓] Connected device (1 available)
    • SM G973U (mobile) • RF8M20D7HVM • android-arm64 • Android 10 (API 29)

• No issues found!

@moo7md
your flutter version is quite old, could you run flutter upgrade -f
and provide your updated flutter doctor -v
together with your flutter run --release -v

@moo7md
your flutter version is quite old, could you run flutter upgrade -f
and provide your updated flutter doctor -v
together with your flutter run --release -v

@moo7md
your flutter version is quite old, could you run flutter upgrade -f
and provide your updated flutter doctor -v
together with your flutter run --release -v

@iapicca how can I upgrade without upgrading dart to null safety. Because that would force me to spend a lot of time to adjust my code to be null safe.

@moo7md
your flutter version is quite old, could you run flutter upgrade -f
and provide your updated flutter doctor -v
together with your flutter run --release -v

@iapicca how can I upgrade without upgrading dart to null safety. Because that would force me to spend a lot of time to adjust my code to be null safe.

@moo7md
don't worry,
even if you just run flutter upgrade -f you wont automatically be forced to sound null safety
to do so you need to change the environment in your pubspec.yaml

@moo7md
don't worry,
even if you just run flutter upgrade -f you wont automatically be forced to sound null safety
to do so you need to change the environment in your pubspec.yaml

@iapicca
flutter doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.401, on macOS 11.1 20C69 darwin-x64, locale en-US)
    • Flutter version 1.26.0-2.0.pre.401 at /Users/moo7md/flutter/flutter
    • Framework revision da5a454d5c (15 hours ago), 2021-01-17 01:24:03 -0500
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/moo7md/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2018.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

flutter run --release -v
[  +76 ms] executing: [/Users/moo7md/flutter/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] da5a454d5c2d39df292948210c83a18d528b5a42
[        ] executing: [/Users/moo7md/flutter/flutter/] git tag --points-at da5a454d5c2d39df292948210c83a18d528b5a42
[  +25 ms] Exit code 0 from: git tag --points-at da5a454d5c2d39df292948210c83a18d528b5a42
[   +1 ms] executing: [/Users/moo7md/flutter/flutter/] git describe --match *.*.* --long --tags da5a454d5c2d39df292948210c83a18d528b5a42
[  +42 ms] Exit code 0 from: git describe --match *.*.* --long --tags da5a454d5c2d39df292948210c83a18d528b5a42
[        ] 1.26.0-1.0.pre-401-gda5a454d5c
[  +41 ms] executing: [/Users/moo7md/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/moo7md/flutter/flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +48 ms] executing: [/Users/moo7md/flutter/flutter/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +52 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.
[   +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.
[  +55 ms] executing: /Users/moo7md/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[  +28 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[  +19 ms] /Applications/Xcode.app/Contents/Developer
[  +11 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[  +30 ms] sysctl: unknown oid 'hw.optional.arm64'
[   +1 ms] executing: xcrun xcodebuild -version
[ +107 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.3
           Build version 12C33
[   +2 ms] executing: xcrun xcdevice list --timeout 2
[   +3 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +37 ms] List of devices attached
           RF8M20D7HVM            device usb:337641472X product:beyond1qltesq model:SM_G973U device:beyond1q transport_id:1
[ +108 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/moo7md\/Library\/Developer\/CoreSimulator\/Devices\/DD14B9B3-168B-45D3-8C5B-FCFE15960365\/data",
                   "logPath" : "\/Users\/moo7md\/Library\/Logs\/CoreSimulator\/DD14B9B3-168B-45D3-8C5B-FCFE15960365",
                   "udid" : "DD14B9B3-168B-45D3-8C5B-FCFE15960365",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max Test 1"
                 }
               ]
             }
           }
[+2533 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "DD14B9B3-168B-45D3-8C5B-FCFE15960365",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max Test 1"
             }
           ]
[   +3 ms] /Users/moo7md/Library/Android/sdk/platform-tools/adb -s RF8M20D7HVM shell getprop
[ +126 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' 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.
[  +83 ms] Running "flutter pub get" in bazar...
[   +3 ms] Using /Users/moo7md/flutter/flutter/.pub-cache for the pub cache.
[        ] executing: [/Users/moo7md/AndroidStudioProjects/bazar/] /Users/moo7md/flutter/flutter/bin/cache/dart-sdk/bin/pub --trace --verbose get --no-precompile
[  +85 ms] MSG : Resolving dependencies...
[  +13 ms] Running "flutter pub get" in bazar... (completed in 3.9s)
[   +1 ms] "flutter run" took 7,144ms.
[   +1 ms] ensureAnalyticsSent: 0ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

@iapicca
flutter doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.401, on macOS 11.1 20C69 darwin-x64, locale en-US)
    • Flutter version 1.26.0-2.0.pre.401 at /Users/moo7md/flutter/flutter
    • Framework revision da5a454d5c (15 hours ago), 2021-01-17 01:24:03 -0500
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/moo7md/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2018.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

flutter run --release -v
[  +76 ms] executing: [/Users/moo7md/flutter/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] da5a454d5c2d39df292948210c83a18d528b5a42
[        ] executing: [/Users/moo7md/flutter/flutter/] git tag --points-at da5a454d5c2d39df292948210c83a18d528b5a42
[  +25 ms] Exit code 0 from: git tag --points-at da5a454d5c2d39df292948210c83a18d528b5a42
[   +1 ms] executing: [/Users/moo7md/flutter/flutter/] git describe --match *.*.* --long --tags da5a454d5c2d39df292948210c83a18d528b5a42
[  +42 ms] Exit code 0 from: git describe --match *.*.* --long --tags da5a454d5c2d39df292948210c83a18d528b5a42
[        ] 1.26.0-1.0.pre-401-gda5a454d5c
[  +41 ms] executing: [/Users/moo7md/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/moo7md/flutter/flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +48 ms] executing: [/Users/moo7md/flutter/flutter/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +52 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.
[   +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.
[  +55 ms] executing: /Users/moo7md/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[  +28 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[  +19 ms] /Applications/Xcode.app/Contents/Developer
[  +11 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[  +30 ms] sysctl: unknown oid 'hw.optional.arm64'
[   +1 ms] executing: xcrun xcodebuild -version
[ +107 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.3
           Build version 12C33
[   +2 ms] executing: xcrun xcdevice list --timeout 2
[   +3 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +37 ms] List of devices attached
           RF8M20D7HVM            device usb:337641472X product:beyond1qltesq model:SM_G973U device:beyond1q transport_id:1
[ +108 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/moo7md\/Library\/Developer\/CoreSimulator\/Devices\/DD14B9B3-168B-45D3-8C5B-FCFE15960365\/data",
                   "logPath" : "\/Users\/moo7md\/Library\/Logs\/CoreSimulator\/DD14B9B3-168B-45D3-8C5B-FCFE15960365",
                   "udid" : "DD14B9B3-168B-45D3-8C5B-FCFE15960365",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max Test 1"
                 }
               ]
             }
           }
[+2533 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "DD14B9B3-168B-45D3-8C5B-FCFE15960365",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max Test 1"
             }
           ]
[   +3 ms] /Users/moo7md/Library/Android/sdk/platform-tools/adb -s RF8M20D7HVM shell getprop
[ +126 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' 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.
[  +83 ms] Running "flutter pub get" in bazar...
[   +3 ms] Using /Users/moo7md/flutter/flutter/.pub-cache for the pub cache.
[        ] executing: [/Users/moo7md/AndroidStudioProjects/bazar/] /Users/moo7md/flutter/flutter/bin/cache/dart-sdk/bin/pub --trace --verbose get --no-precompile
[  +85 ms] MSG : Resolving dependencies...
[  +13 ms] Running "flutter pub get" in bazar... (completed in 3.9s)
[   +1 ms] "flutter run" took 7,144ms.
[   +1 ms] ensureAnalyticsSent: 0ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

So figure out what causes the issue. I when my main function start, before calling runApp I first call sp = await SharedPreferences.getInstance(); to get info if the user acknowledged the welcome screen. However, the sp = await SharedPreferences.getInstance(); call takes forever for some reason and I get this error message.
Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

So figure out what causes the issue. I when my main function start, before calling runApp I first call sp = await SharedPreferences.getInstance(); to get info if the user acknowledged the welcome screen. However, the sp = await SharedPreferences.getInstance(); call takes forever for some reason and I get this error message.
Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

If the issue is solved please close the issue

If the issue is solved please close the issue

@moo7md Have you tried using SharedPreferences prefs = await SharedPreferences.getInstance();

@moo7md Have you tried using SharedPreferences prefs = await SharedPreferences.getInstance();

So figure out what causes the issue. I when my main function start, before calling runApp I first call sp = await SharedPreferences.getInstance(); to get info if the user acknowledged the welcome screen. However, the sp = await SharedPreferences.getInstance(); call takes forever for some reason and I get this error message.
Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

Same issue here

So figure out what causes the issue. I when my main function start, before calling runApp I first call sp = await SharedPreferences.getInstance(); to get info if the user acknowledged the welcome screen. However, the sp = await SharedPreferences.getInstance(); call takes forever for some reason and I get this error message.
Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

Same issue here

A workaround I did was to timeout await SharedPreferences.getInstance() if the process takes more than 5 seconds, if so then I give SharedPreferences mock values. After that, whenever the app restarts it works fine.

A workaround I did was to timeout await SharedPreferences.getInstance() if the process takes more than 5 seconds, if so then I give SharedPreferences mock values. After that, whenever the app restarts it works fine.

@pedromassangocode  and yes this did help

@pedromassangocode  and yes this did help


spelunker links with archived layers errors in not informative fashion

The parsing feature does not work for spelunker/mainline neuroglancer annotations, now that nglui is supporting creating these links and tags are available in spelunker, but there is no csv download feature this is an important feature to add.
minimal broken example
client = caveclient.CAVEclient('minnie65_phase3_v1')
state_json = client.state.get_state_json(5929020391686144)
state = nglui.parser.StateParser(state_json)
state.annotation_dataframe()

leads to
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File /opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/box/box.py:593, in box.box.Box.__getitem__()

KeyError: 'props'

The above exception was the direct cause of the following exception:

BoxKeyError                               Traceback (most recent call last)
Cell In[9], [line 4](vscode-notebook-cell:?execution_count=9&line=4)
      [2](vscode-notebook-cell:?execution_count=9&line=2) state_json = client.state.get_state_json(5929020391686144)
      [3](vscode-notebook-cell:?execution_count=9&line=3) state = nglui.parser.StateParser(state_json)
----> [4](vscode-notebook-cell:?execution_count=9&line=4) state.annotation_dataframe()

File /opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:984, in StateParser.annotation_dataframe(self, expand_tags, point_resolution, split_points, include_archived)
    [956](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:956) def annotation_dataframe(
    [957](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:957)     self,
    [958](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:958)     expand_tags: bool = False,
   (...)
    [961](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:961)     include_archived: bool = True,
    [962](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:962) ) -> pd.DataFrame:
    [963](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:963)     """Get a dataframe with all annotations across all annotation layers in the state.
    [964](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:964)
    [965](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:965)     Parameters
   (...)
...
    [373](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/nglui/parser/base.py:373) if group:

File /opt/anaconda3/envs/cavePy312/lib/python3.12/site-packages/box/box.py:620, in box.box.Box.__getitem__()

BoxKeyError: "'props'"

I see looking into this that this is general already suppose to be supported and this example is exposing some kind of flaw in the logic.

I see this link issue was related to its archived layers and this fixed the parsing
client = caveclient.CAVEclient('minnie65_phase3_v1')
state_json = client.state.get_state_json(6460912698392576)
state = nglui.parser.StateParser(state_json)
state.annotation_dataframe(include_archived=False, expand_tags=True)

I would say the error message given here was not as informative as it could have been though to help figure this out.

Fixed in v3.7.2!


zstd: use as many threads as we can when compressing

Motivation
zstd compression is supposed to be deterministic (even with multiple threads) so we might as well allow it to use as many cores as are available to the derivation
Fixes #182
Checklist

[ ] added tests to verify new behavior
[ ] added an example template or updated an existing one
[ ] updated docs/API.md with changes
[x] updated CHANGELOG.md

Does its thing here. I see -T20 used and it seems faster indeed.


Teraterm: Add version 4.103

Requested in #2416.
Tera Term is a terminal emulator for ssh/telnet/serial connection.
Homepage: https://osdn.net/projects/ttssh2/
Please let me know if there are any problems. Thanks.

You can use this link https://osdn.net/dl/ttssh2/teraterm-4.102.zip for url and hash


'Undefined offset: 0'

Occasionally I get this error message
 exception 'ErrorException' with message 'Undefined offset: 0'

There is an issue with making the geocode request and there isn't a check for errors such as "ZERO_RESULTS" or "OVER_QUERY_LIMIT".  I have altered my code a bit but believe I have a solution to this issue if your interested.

Could you please make a PR?


added chinese remainder theorem

added a basic python implementation of chinese remainder theorem based on Euclidean division.

@priyansh71
Your PR has been merged Thank you so much for your valuable contribution


Re-write eviction policy logic

Codecov Report

Merging #3 (8e7ed1f) into main (a764ab1) will decrease coverage by 1.40%.
The diff coverage is 47.36%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   85.21%   83.80%   -1.41%
==========================================
  Files           3        3
  Lines         142      142
==========================================
- Hits          121      119       -2
- Misses         19       20       +1
- Partials        2        3       +1

Impacted Files
Coverage Δ

config.go
66.66% <45.45%> (ø)

gocache.go
87.61% <50.00%> (-1.77%)
:arrow_down:

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 a764ab1...8e7ed1f. Read the comment docs.


Vulnerability

Hello!
First of all, I would like to say thank you for your development. It turned out to be a great product.
I have been studying Aksara for a couple of days. Identified very big security problems. In particular, any site visitor can create/modify/delete data without authorization and without any groups or privileges.
For example, to add Testimonial, just open the link:
https://demo.aksaracms.com/testimonials/create
In an open form, fill in all the data and send to the server.
Or to update the data:
https://demo.aksaracms.com/testimonials/update?testimonial_id=1
where testimonial_id is the id of the post.
Or delete data:
https://demo.aksaracms.com/testimonials/delete?testimonial_id=3
where testimonial_id is the id of the post.
The same goes for adding a user:
https://demo.aksaracms.com/user/create
Link list:
https://demo.aksaracms.com/pages/create
https://demo.aksaracms.com/testimonials/create
https://demo.aksaracms.com/testimonials/testimonials/update
https://demo.aksaracms.com/testimonials/update?testimonial_id=4
https://demo.aksaracms.com/testimonials/delete?testimonial_id=55
https://demo.aksaracms.com/user/create
There may be more vulnerabilities. This is what was quickly found.
Works both on the demo site and on aksaracms.com
Added on the demo site, an entry in Testimonials and Pages :-) Sorry, I did it for the test.
I recommend fixing it as soon as possible.
p.s.In the next question, I will make a suggestion for improving Aksara.

Hello @katvinka, I’m very appreciate what you found. And yes, as an single fighter developer, I need many suggestions to improve Aksara. I’ll do research ASAP and I hope it’ll be fixed for next update.

Hello @katvinka, please do review the changes #314  I made related to this issue.