tf.train.SingularMonitoredSession() Error:tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile

hi,
I'm new with tensorflow, I'm facing an issue while executing a project on window 10.
Using :
python-3.5.4
tensorboard-gpu=1.14.0
cuda-10
ERROR:
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile: C:\Users\MY-PC\Desktop\tools\vadnet\train\nets\vad_Model[48000,48000,24000,512,None]_Conv7[2,True,False,4,2]_SceAdam[1e-04,0.9,0.999,1e-08]\ckpt\model.ckpt-0_temp_df1af0f684d24212bc1ebde45848fe3f/part-00000-of-00001.data-00000-of-00001.tempstate18107421248045726006 : The system cannot find the path specified.
path is correct and directory is created "nets\vad_Model[48000,48000,24000,512,None]_Conv7[2,True,False,4,2]_SceAdam[1e-04,0.9,0.999,1e-08]\ckpt"
by script but
"part-00000-of-00001.data-00000-of-00001.tempstate18107421248045726006"
file not creating.
I read somewhere, need to use an absolute path. I had tried that also but still facing the same error.
thank you!

In order to expedite the trouble-shooting process, please provide a minimal standalone code to reproduce the issue reported here. Thanks!

hi ravikyram,
it's itself a complete project, thats why i gave the link.

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!
Please post the issue in that repo or in stackoverflow. Thanks!


Single press latency if both double press and long press are disabled.

Is your feature request related to a problem? Please describe:
Hi, thanks a lot for adding https://github.com/thenewwazoo/homebridge-lutron-caseta-leap/commit/22a20b29a0714bd44eabc2d5ced11a9f488904a7, it noticeably reduces latency! I think it may be further reduced so filing this feature request.
Describe the solution you'd like:
Does the plugin really need to wait "Release" event if long and double press are disabled? it seems like "Release" would happen anyways so it seems like waiting it just delays the action.
Describe alternatives you've considered:
I don't see other alternatives.
Additional context:
If this idea sounds reasonable to you, I can submit a pull request with the change. Something like:
index 7bd7ea9..dbd70d5 100644
--- a/src/ButtonState.ts
+++ b/src/ButtonState.ts
@@ -148,12 +148,16 @@ export class ButtonTracker {
             case ButtonState.IDLE: {
                 if (action === 'Press') {
                     this.state = ButtonState.DOWN;
+                    this.log.debug(`btrk ${this.href} now in state DOWN`);
                     if (this.longPressDisabled) {
-                        this.log.info(`button ${this.href} long press disabled. suppressing.`);
+                        if (this.doublePressDisabled) {
+                            this.shortPressCB();
+                        } else {
+                            this.log.info(`button ${this.href} long press disabled. suppressing.`);
+                        }
                     } else {
                         this.timer = setTimeout(longPressTimeoutHandler, this.longPressTimeout);
                     }
-                    this.log.debug(`btrk ${this.href} now in state DOWN`);
                 } else {
                     // no-op
                     this.log.debug(`btrk ${this.href} no-op IDLE action ${action}`);

Thanks for considering it!

This! I’m locked on an old version before double and long were implemented because I need responsiveness from something that’s replacing a physical switch.

My time is so limited to work on this (or any other OSS project) that I greatly appreciate PRs, and chances are good that if you pinky-swear it works for you, I'll merge it and ship it straight to prod. 😆

@borovsky-d, I just looked at your changes in the -fast version and they look correct. Once you've tested, I'd greatly appreciate (and eagerly merge) a PR. :)

Hello, interested in this feature as well
Just tested it locally, seems like this triggers 1 short press event on DOWN and another 1 short press event on UP
I'll see if I can fix it and make PR accordingly


Web Support?

the package is available for web?

This is the only thing missing from this package
Thank you for your great job


Hotword 'Ok google" is not working.

Hi All,
With the new version of AIYProject(aiyprojects-2018-01-03.img.xz) the assistant_grpc_demo.py work fine in portuguese:
pi@raspberrypi:~/AIY-projects-python/src/examples/voice $ ./assistant_grpc_demo.py
/opt/aiy/projects-python/src/aiy/_drivers/_led.py:51: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(channel, GPIO.OUT)
[2018-03-05 09:05:57,068] INFO:recorder:started recording
Press the button and speak
Listening...
[2018-03-05 09:06:03,825] INFO:speech:transcript: Olá
[2018-03-05 09:06:03,901] INFO:speech:transcript: olá  como
[2018-03-05 09:06:03,954] INFO:speech:transcript: Olá  como vai
[2018-03-05 09:06:03,995] INFO:speech:transcript: Olá como  vai você
[2018-03-05 09:06:04,059] INFO:speech:event_type: 1
[2018-03-05 09:06:04,065] INFO:speech:transcript: Olá como vai  você
[2018-03-05 09:06:04,107] INFO:speech:transcript: Olá como vai você
[2018-03-05 09:06:04,296] INFO:speech:transcript: Olá como vai você
You said " Olá como vai você "
Press the button and speak
The hotword "Ok google"is not working im assistant_library_with_local_commands_demo.py and assistant_library_demo.py
Thanks,
Jose Rocha

Please explain what exactly is not working and how it is failing. eg can you copy-paste the error message

Hi, Rodrigo
When I run the assistant_library_with_local_commands_demo.py  it show message like that:
pi@raspberrypi:~/AIY-projects-python/jrproject $ ./assistant_library_with_local_commands_demo.py
/opt/aiy/projects-python/src/aiy/_drivers/_led.py:51: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(channel, GPIO.OUT)
Say "OK, Google" then speak, or press Ctrl+C to quit...
[3646:3663:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[3646:3663:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[3646:3663:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
I say Ok google but nothing happend, and the Led  turns on and off slowly.
Thanks.

Just to make sure, you are running on raspberry pi 3?

I have exactly the same issue on Rpi3, any idea ?

The certificate error can be ignored: https://github.com/googlesamples/assistant-sdk-python/issues/192
@joserochabh Has "OK Google" worked for you before in a previous version? It's possible that it's expecting an en-US accent even though the request language is pt-BR.
@PyT, does "OK Google" not work for you either? Which image version are you using?

It's possible. I had replace the language to pt-BR.
Thanks.
Jose Rocha
On Mon, Mar 12, 2018 at 7:18 AM, Rodrigo Queiro<EMAIL_ADDRESS>wrote:

The certificate error can be ignored: googlesamples/assistant-sdk-
python#192
https://github.com/googlesamples/assistant-sdk-python/issues/192
@joserochabh https://github.com/joserochabh Has "OK Google" worked for
you before in a previous version? It's possible that it's expecting an
en-US accent even though the request language is pt-BR.
@PyT https://github.com/pyt, does "OK Google" not work for you either?
Which image version are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/aiyprojects-raspbian/issues/296#issuecomment-372259097,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahuv_qB8V-tVh50IXI3mu6Byb2KtmZ43ks5tdkt6gaJpZM4ScMDm
.

--
Sun Certified System Administrator
José Carlos Rocha
Analista de Suporte

"Faça o que você pode com o que você tem onde você está"

@joserochabh Você conseguiu colocar em português ? Estou com os mesmos problemas, já mudei o i18n e até em outros arquivos que estavam en-US.


Fix typo in documentation

@daeyun, can you please resubmit this pull request from branch with different name (not master or 2.4)? It looks good, but our integration system can have problems while merging it to the mainline.


Process elements influenced by --.

Guideline 10:
The first -- argument that is not an option-argument should be accepted as a delimiter indicating the end of options. Any following arguments should be treated as operands, even if they begin with the '-' character.

Remove -- and change the type of all elements after -- to OPERAND.

-- should not be surrounded by "()" or "[]", otherwise the behavior is undefined. #8 should consider the situation that -- surrounded by anything.


We need to replace structopt with vanilla Clap

Clap was updated to version 3 and now it includes structopt features. We need to update to clap, since it has better support.

Closed by #114.


Aggregation of incidence quantity inside of numba functions in transmission.py not returning correct values when parallel=True

In these simple SI, SIR type (not for SIS) models, the cumulative sum of the incidence output should be equal to the total change in susceptibility, and for SI models should also be equal to the total infected count (since I = 1-S).  However, while the total cases and the susceptibility behave as expected (and notably, aggregation into these output quantities happens outside of numba njit functions), the cumulative incidence is consistently smaller than what it should be.  Switching to numba parallel=False fixes the issue.
With parallel=True

With parallel=False

There are ways to do aggregation inside of numba functions with parallel=True, but we may need a more careful implementation than what is here.  I'll keep moving forward with parallel off for now.

Instead of this pattern, which gets a race condition when accumulating incidences:
        for i in nb.prange(count):
            susceptibility = susceptibilities[i]
            if susceptibility > 0:
                nodeid = nodeids[i]
                force = susceptibility * forces[nodeid]  # force of infection attenuated by personal susceptibility
                if (force > 0) and (np.random.random_sample() < force):  # draw random number < force means infection
                    susceptibilities[i] = 0  # no longer susceptible
                    # set infectious timer for the individual to an exponential draw
                    itimers[i] = np.maximum(np.uint8(1), np.uint8(np.ceil(np.random.exponential(inf_mean))))
                    doi[i] = tick
                    incidence[nodeid] += 1

Use this thread-safe pattern for doing this:
        max_node_id = np.max(nodeids)
        thread_incidences = np.zeros((nb.config.NUMBA_DEFAULT_NUM_THREADS, max_node_id+1), dtype=np.uint32)
        for i in nb.prange(count):
            susceptibility = susceptibilities[i]
            if susceptibility > 0:
                nodeid = nodeids[i]
                force = susceptibility * forces[nodeid]  # force of infection attenuated by personal susceptibility
                if (force > 0) and (np.random.random_sample() < force):  # draw random number < force means infection
                    # All we do is become no longer susceptible, which means infected in an SI model.  No timers.
                    susceptibilities[i] = 0  # no longer susceptible
                    doi[i] = tick
                    thread_incidences[nb.get_thread_id(), nodeid] += 1
        for t in range(nb.config.NUMBA_DEFAULT_NUM_THREADS):
            for j in range(max_node_id+1):
                incidence[j] += thread_incidences[t, j]

The reduce step (last three lines) isn't being parallelized (which is probably fine as prange() has some overhead).
Should be able to reduce those lines to this:
indicidence[:] = thread_incidences.sum(axis=0)


 We should try and figure out what has changed to stop this, mocks is a very important feature

We should try Object.defineProperty(app.config.globalProperties, '$route', { ... }) for mocks.

evan fixed this here https://github.com/vuejs/vue-next/commit/d7ca1c5c6e75648793d670299c9059b6db9b1715
We can wait for beta-2 (or is it possible to install a specific commit?)

Going to close this since beta-2 fixed everything
https://github.com/vuejs/vue-test-utils-next/commit/72bd1cdec3db6e13611f9185607421ee9af24dcf


Render the git graph on the server

Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation.

This implementation provides a 16 limited color selection
The uniqued color numbers are also provided
And there is also a monochrome version
In addition is a hover highlight that allows users to highlight commits on the same flow.

Closes #12209
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>Screenshots
Color

Monochrome

@silverwind I used the colors provided in https://github.com/go-gitea/gitea/issues/10217#issuecomment-657000790 but I think they don't quite match up nicely as highlights of each other - should be easily fixable though.

Issue is that 16 colors of the same lightness is too much to get proper distinction. Some hand-picked ones may be better where you can also variate the lightness on them.

Based on those screenshots: The header could use a bit more horizontal padding so it aligns with the content below.
Not sure I like the buttons, maybe try outline variants? Could probably also add some text to them too.

Thought again about colors. Current ones are probably fine, but I'd but the green one first.

Some suggestions in https://github.com/silverwind/gitea/commit/a4a59d987b66e0616c39bb22733b603bf891ef42 if you care to pull that in.

I think you can delete web_src/less/vendor and the import in web_src/less/index.less with this commit.

One last suggestion: Put all git graph related styles in web_src/less/features/gitgraph.less and then do a @import "./features/gitgraph.less"; in index.less. We have to modularize the less more, this is a good opportunity.

conflicted.

make lg-tm work


Is it possible to specify shell commands as part of a matrix?

I have successfully setup a matrix build but now I wonder how I can specify a list of shell commands to run inside of the matrix? I have used the "command line" runner before, but when I switch to "matrix build" runner, I cannot specify commands, only build parameters. How do I setup a matrix with shell commands?

Never mind. I have figured it out: I need to create the matrix to spawn multiple invidual build configurations which then can be configured using custom commands.


NativeBugsnag.notify is not a function

I am trying to manually dispatch an error to see if my config is correct.
This is what I have:
componentDidMount() {
    const { user } = this.props;
    if (user) {
      Bugsnag();
      Bugsnag().notify("RANDOM EXCEPTION", "THIS IS A TEST", "error");
    }
  }

But it shows a warning saying that NativeBugsnag.notify is not a function.
My diff after installation of the package is:
@@ -133,6 +133,7 @@ repositories {
 }

 dependencies {
+    compile project(':react-native-bugsnag')
     compile project(':react-native-dialogs')
     compile project(':ReactNativeBarcodescanner')
     compile fileTree(dir: "libs", include: ["*.jar"])

--- a/Inventology/android/app/src/main/AndroidManifest.xml
+++ b/Inventology/android/app/src/main/AndroidManifest.xml
@@ -25,6 +25,7 @@
         </intent-filter>
       </activity>
       <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
+      <meta-data android:name="com.bugsnag.android.API_KEY" android:value="MYKEYINHERE"/>
     </application>

 </manifest>

--- a/Inventology/android/app/src/main/java/com/inventology/MainActivity.java
+++ b/Inventology/android/app/src/main/java/com/inventology/MainActivity.java
@@ -1,6 +1,7 @@
 package com.inventology;

 import com.facebook.react.ReactActivity;
+import com.pintersudoplz.rnbugsnag.RNBugsnagPackage;
 import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
 import com.eguma.barcodescanner.BarcodeScanner;
 import com.facebook.react.ReactPackage;
@@ -38,6 +39,7 @@ public class MainActivity extends ReactActivity {
     protected List<ReactPackage> getPackages() {
         return Arrays.<ReactPackage>asList(
             new MainReactPackage(),
+            new RNBugsnagPackage(),
             new ReactNativeDialogsPackage(),

+include ':react-native-bugsnag'
+project(':react-native-bugsnag').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-bugsnag/android')

Any idea what I am doing wrong?
Also, I was trying to dispatch an error by trying to access and non-declared variable but it also didn't work out, I cannot see the error in my Bugsnag dashboard.

I will look into this later tonight, please hang on.

Sure thing! Thanks

Ok that was my bad, some code went missing into the abyss.
This https://github.com/SudoPlz/react-native-bugsnag/commit/ae0f3212cd1b9d3bd18036d2135c427487cac17b should fix your problem I hope. Let me know if it works, I did not really test this part on a phone yet.
Thank you.

Yeah, notify now works from master. I am just wondering why it doesn't dispatch an error when I get an exception in my javascript code, for example, attempting to access a property not existing on an object (where I can see a warning on my device)

Quick ping.

Are you trying to see an error when on development mode?
What does the __DEV__ print out if you run console.log(__DEV__); ?
You could just call Bugsnag().setSuppressDebugOnDev(false); if you specifically wish to receive reports on DEV mode as well.

Yes, I am trying to make sure that JS errors are dispatched correctly.
componentDidMount() {
    const { user } = this.props;
    Bugsnag().setIdentifier("1"<EMAIL_ADDRESS>"Jeremy Dagorn");
    Bugsnag().setSuppressDebugOnDev(false);
    console.log(__DEV__);
    console.log(this.pros.lol);
  }

I am in dev mode, but I am still not seeing exceptions sent from my javascript code to Bugsnag.

Can you try to throw new Error("test"); after the console log?

Apart from this code have you set the bugsnag project id in the native part of your project?

@SudoPlz Yes, I do have the bugsnag project id setup. I am able to see exceptions on my Bugsnag dashboard when using the notify function.

That sounds very very strange,
could you go to <project_dir>/node_modules/react-native-bugsnag/lib/RNBugsnag.js and add this line console.log("Error: "+error); below the  async wrapGlobalHandler(error, isFatal){ line?
I want to test if wrapGlobalHandler gets called when you throw an Error in javascript.
I never had such an error happen to me.

Alright, will try to work on this later this weekend!
Thanks for the help

So, I have installed the newest version and was not able to get my javascript exception to be sent to bugsnag. After looking around in the code, I found out that even if instantiate the Bugsnag instance with {suppressDevErrors:true}, it will be ignored as it seems that:
      this.setSuppressDebugOnDev(true);
    }

will always be executed as we don't necessarily have control over the value of DEV right?
I was able to dispatch my exception to Bugsnag by modifying this.
I am also wondering what is the use case for having a timeout handler instead of just the notify exception promise. I am referring to this Promise.race([reportExceptionPromise, timeoutPromise])   //whatever finishes first?

Ah such a great analysis of the situation.
About the timeoutPromise theres a specific time window that we want to wait for the reportExceptionPromise promise to be successful. If time passes and we get nothing then timeoutPromise wins the 'race' and thus dispatches first.
About the __DEV__ flag, this was a user request, but I believe it has caused more trouble than good.
I will change that tonight in the following way. The library will always be disabled on dev UNLESS the user explicitly specifies the suppressDevErrors to false.

Thanks! Perfect for the solution about suppressDevErrors!
I have just open another issue about installing on iOS if you mind checking. This issue is already close so we are good to go!


Can't drag window using title bar area to the right of the Help menu

The application window can't be dragged using the area of the Title Bar that is just to the right of the Help menu. There is an area of dead space there. Please see the screenshot, and notice where my mouse cursor is. From that position it is impossible to drag the window.

I'm using v1.30.2 on Windows 10.

It appears to be fixed in v1.31.0.


DataService.Get() HttpParams always empty

In DataService, get method calls buildUrlSearchParams where the httpParams object is set. However, httpParams object is immutable (https://github.com/angular/angular/issues/19044) so after calling of append, it is required to set the object back into the variable, otherwise it is always empty.
To fix the issue, the method should look like this:
private buildUrlSearchParams(params: any): HttpParams {
        let searchParams = new HttpParams();
        for (const key in params) {
            if (params.hasOwnProperty(key)) {
                searchParams = searchParams.append(key, params[key]);
            }
        }
        return searchParams;
    }

@Vencalekl thanks for pointing it out. I am guessing changing const to let will do the same trick. Amended it in https://github.com/asadsahi/AspNetCoreSpa/commit/9f0d40df12efd0eca82dee89ae36152417b9fefd. Let me know if it doesn't fix for you.

Just tried it without success. It is still required to re-set the variable. Once the HttpParamas is immutable, I guess there is no other way of doing that.


[FLINK-8136] [table] Fix code generation with JodaTime shading

What is the purpose of the change
Fix DATE_FORMAT with shaded JodaTime.
Brief change log
Do not use hard-coded class name in code generation.
Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:
no
Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

+1

Merging...


Split "test helpers" into their own .h/.cpp files

We have a number of "test helpers" that manage temporary files, create argc/argv pairs, etc. All of this code lives in a single header file, test/test-helpers.h. It grew to 418 lines already, which makes it harder to manage.
Furthermore, including this file into every test increases compilation times, and makes it harder to iterate on new classes when they're added to the header—changing the file forces recompilation of many test files.
To combat that, let's do the following:

create a directory test/test-helpers/;
move each class from test/test-helpers.h into its own pair of .h and .cpp files, stored under test/test-helpers/;
make test/test-helpers.h include just the headers from test/test-helpers/ directory;
update the Makefile to build cpp files from test/test-helpers/;
re-run make depslist to update the dependencies.

This seems like a good first issue, so tagging it as such.
Feel free to ask questions here or on IRC if you get stuck with something!

I have a question about point 2 of decision this issue - "move each class into its own pair .cpp & .h ". Is it mean what i must to move implementation of classes methods from .h (like you have in test-helpers.h now) file into .cpp?

Hi! Thanks for working on this!
Yes, just move all the definitions to .cpp. The point of this refactor is to speed up compilation, so let's keep header files as small as possible.

I'm ready to make attempt, if you don't mind.

Of course I don't mind! ;) Submit a pull request when ready, I'm always glad to review and help out.

This is fixed by #849.


Webpack plugin: add escape hatch for custom webpack configs

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description
In a similar vein to https://github.com/electron/forge/issues/3169, my project requires an additional webpack bundle to function: a target: web bundle served by a webserver. Currently this is very hard to accomplish with WebpackPlugin.
Proposed solution
It'd be really useful to add an "escape hatch" or two to enable custom webpack config. One option would be to add an extraConfig option:
plugins: [
    {
      name: '@electron-forge/plugin-webpack',
      config: {
        extraConfig: ['./webpack.extra.config.js'],
      }
    }
  ]

Another option would be to provide hooks for modifying the webpack config for the renderer or main process before they run. This would be the most flexible for projects with complex builds, though care would need to be taken by users when upgrading electron-forge since the webpack config generated isn't expected to be stable.
Alternatives considered

I tried using webpack() programmatically inside generateAssets, but the .webpack folder was deleted afterwards by the webpack plugin (also this approach gives up watch mode)
Using a hacky preload only renderer entry with a custom config almost worked, but the target gets overridden

Eventually I ended up monkeypatching WebpackConfig.getRendererConfig to add my extra webpack config object. This gives me watch mode for free, which is handy.
Additional information
No response

@chromakode can you share your workaround? I have same issue, I need to build a bundle to target browsers.


Google Paper mentions a bug in test dataloader of PatchTST

Your work has provided valuable insights into time series forecasting. Recently I came across this paper: https://arxiv.org/pdf/2304.08424.pdf, which comes up with an MLP encoder-decoder model for TSF which beats PatchTST's performance on the benchmark datasets. The authors report numbers after fixing a bug in PatchTST's test data loader.
I need confirmation whether the code to fix this bug is modifying the length of the dataset from
 def __len__(self):
          return len(self.data_x) - self.seq_len - self.pred_len + 1

to
def __len__(self):
       return len(self.data_x) - self.pred_len + 1

only for validation and test data loader?

Ah, thanks for mentioning that! TiDE is a good work and we also read it. This is dataloader used by most of the previous work  so we keep it to make a fair comparison. Actually I am not sure about why using the second one as the length since the first one seems more reasonable. Would you mind to give your insight on that?

The original code is actually correct. The problem is when you input hourly data, it uses _minute dataset instead of _hour dataset.


Add additional entity data

Rasa's entity format can include in it's dict additional data (role, value, group). This PR proposes to add that additional data in the additional_data key of the extracted entity dict

Rasa's entity format can include in it's dict additional data (role, value, group). This PR proposes to add that additional data in the additional_data key of the extracted entity dict

For context the general format is
[<entity-text>]{
    "entity": "<entity name>",
    "role": "<role name>",
    "group": "<group name>",
    "value": "<entity synonym>"
}

We should definitely save the information somehow to allow the user to be able to use it but we should also think about whether it needs to be included in the downstream formats we provide somehow for example, do we just not include in spacy? How about the csv format?
Were you thinking go using that information somehow?


Rhai syntax highlighting

Is your feature request related to a problem? Please describe.
Syntax highlighting for Rhai would be helpful, especially as it's a scripting language easily integrated into Rust applications.
Describe the solution you'd like
Syntax highlighting support built into Rust.
Describe alternatives you've considered
A plugin could be made using the Rhai LSP, and while this is probably a more robust approach, the LSP is relatively incomplete. Still, this is probably a candidate for better-as-a-plugin.

Syntax highlighting is provided via tree-sitter grammar.

Syntax highlighting support built into Rust.

what does that mean

Added to #272


Fix SwiftAddressBook for Swift 1.2

I have branched SwiftAddressBook today and applied some fixes for Swift 1.2, but still not able to compile with the first XCode Beta (right now it´s an segmentation fault by the compiler, maybe eventually that will go away when apple releases the second beta, but maybe it´s in the code, too). I would appreciate any suggestion or pull request regarding this topic. Thank you for contributing!

I mentioned how I fixed those segmentation faults in issue #4 . Comment out the singleton code and go from there.

Thanks for the advice. However, I´ll first try to compile without optimization, and if that works, I do not really want to change the code, because the problem is on Apples side and Swift 1.2 is still in the beta phase. Maybe it will get fixed later on, then porting the code to the Swift 1.2 version of SwiftAddressBook is much easier

Looks like a lot of people (including myself) experience the segmentation fault issue when you use a class name as a variable (even if in lowercase). Try changing var swiftAddressBook to var swiftAddressBk and see if that fixes it.

from my experience with segmentation errors in swift, their fix rate is very low. as a side note, i've changed the swiftAddressBook to swiftAddressBk with no success.

Thanks for ruling out some of the possibilities. I´ve had no time so far for continuing to convert SwiftAddressBook for Swift 1.2 yet, due to the numerous issues with the current version. I will continue to do so soon. Possibly I´ll just re-convert the current master branch, because several changes were made which are not yet in the 1.2 branch

A couple of comments on using the 1.2 branch with the released version of Swift 1.2:
I notice an error on "MultiValue" properties - like addresses, social networks, etc - will crash whenever you have an empty property before you try to set it.   I didn't spend much time on the issue because the nested array/dictionary/tuple structure was a bit of a pain to deal with.
I'm unable to use a cast of a person (SwiftAddressBookPerson) to an address book record (ABRecordRef) for use in ABNewPersonViewController.displayedPerson
Do you still plan on taking a look at 1.2 now that it's finalized?

Of course. I will have a really stressful time until monday, so I´m not sure when I can spare some minutes for that project. I´d recommend to use Swift 1.1 as long as Swift 1.2 version is not fixed. The Swift 1.2 branch does not contain a considerable amount of changes, since the beta versions I initially used were way too unstable. I will make a new branch from the current master and convert it to Swift 1.2 then

@dgdosen  yes, that structure is a little painful to deal with, but have a look at the example for reference. This is still much easier to deal with than the blank ABAddressBook.
About your problem of  casting to ABRecordRef: you need to use the internalRecord property. Swift address book person is of course not an ABRecordRef, it only contains one.

Ah - thanks for the pointer on the internalRecord - I didn't see (or bother to look :)) at that inheritance chain...
Thanks for the update - our scenario now works.


[docs] Content 6: Progress, Radio, Scroll Area, Select, Separator

https://deploy-preview-963--base-ui.netlify.app/new/components/progress

https://deploy-preview-963--base-ui.netlify.app/new/components/radio

@atomiks @michaldudak this is Radio Group + Radio on the same page—can we slot in the rename of RadioGroup.Root to RadioGroup in the next couple days to fix this?

Shouldn't the demo include the scroll arrows? The single pointer cycle to perform a select isn't possible under some situations. I know the styles can be complicated though
Also the scroll arrow elements have a forced absolute functional style, unlike Radix which uses flexbox layout and causes layout shift when it disappears. I experimented with animating the layout shift but it didn't feel as good as it being overlaid on top. I thought you may have some opinions on this though.

Radio Group + Radio on the same page—can we slot in the rename of RadioGroup.Root to RadioGroup in the next couple days to fix this?

Since RadioGroup is only a single part, that makes sense

Shouldn't the demo include the scroll arrows?

I wanted to show scroll arrows in a separate demo since at this size, they aren't going to be visible anyway, as far as I was able to tell. Trying to show just the essentials in the main demos.
How did you get into the situation on your screenshot though?

The single pointer cycle to perform a select isn't possible under some situations

What does this mean exactly?


SSH connection to EFLOW Hyper-V VM fails after upgrade

Describe the bug
We need to upgrade from 1.1.2111.17111 to 1.1.2202.21022 in order to be able to remove the local DHCP server from our Windows Server, on which Hyper-V is hosted.
The installation of EFLOW works but the provisioning command fails at the end when trying to retrieve the VM's public key. ssh-keyscan <IP_ADDRESS> always returns an empty result.
To Reproduce
Steps to reproduce the behavior:

Uninstall IoT Edge 1.1.2111.17111
Remove DHCP role
Reboot
Install IoT Edge 1.1.2202.21022
Deploy a new Hyper-V VM with the following command: Deploy-Eflow -acceptEula 'yes' -acceptOptionalTelemetry 'yes' -vswitchName "EFLOW Switch" -ip4Address "<IP_ADDRESS>" -ip4GatewayAddress "<IP_ADDRESS>" -vswitchType 'Internal' -cpuCount 2 -memoryInMB 3072

Expected behavior
The deploy command should deploy the VM, recover its public key and insert it into the known_hosts file, and carry on with the remaining tasks
Windows Host OS (please complete the following information):

Edition: Windows Server 2019 Datacenter
Version: 1809 build 17763.2237
Virtual Machine: VMWare VM

Additional context

Full Deploy-Eflow log

PS C:\windows\system32> Deploy-Eflow -acceptEula 'yes' -acceptOptionalTelemetry 'no' -vswitchName "EFLOW Switch" -ip4Address "<IP_ADDRESS>" -ip4GatewayAddress "<IP_ADDRESS>" -vswitchType 'Internal' -cpuCount 2 -memoryInMB 3072
[03/11/2022 11:51:26] Deploying Azure IoT Edge for Linux on Windows
 - Configuration does not exist. Creating a default configuration...
[03/11/2022 11:51:27] Creating configuration
 - Configuration created successfully
[03/11/2022 11:52:11] Enabling Microsoft Update. This will allow Azure IoT Edge for Linux on Windows to receive updates.
 - Microsoft Update is enabled.
[03/11/2022 11:52:13] Step 1: Preparing host for Azure IoT Edge for Linux on Windows
[03/11/2022 11:52:13] Checking host for required features
 - Checking the status of 'Microsoft-Hyper-V'
 - Checking the status of 'Microsoft-Hyper-V-Management-PowerShell'
 - Checking the status of 'VirtualMachinePlatform'
 - Checking the status of 'OpenSSH.Client*'
 - Verifying whether Hyper-V is enabled and functional
 - Hyper-V core services are active
[03/11/2022 11:52:42] Checking for virtual switch with name 'EFLOW Switch'
 - The virtual switch 'EFLOW Switch' of type 'Internal' is present
[03/11/2022 11:52:46] Step 2: Verifying minimum host requirements
[03/11/2022 11:52:46] Verifying Host OS can support requested EFLOW configuration
[03/11/2022 11:52:49] Verifying required storage, RAM and number of cores are available
 - Drive 'C:' has 24 GB free
 - A minimum of 10 GB disk space is required on drive 'C:'
 - Host has 5612 MB free memory
 - A minimum of 1024 MB memory is required
 - Host has 4 CPU cores
 - A minimum of 2 CPU cores is required
[03/11/2022 11:52:49] Step 3: Configuring Azure IoT Edge for Linux on Windows runtime
[03/11/2022 11:53:03] Associating wssdagent service with nodectl
[03/11/2022 11:53:07] Creating vnet (name: EFLOW Switch)
[03/11/2022 11:53:09] Verifying installation
 - Verifying expected Windows host binaries
 - Verifying expected Linux VM image
 - Extracting Linux VM image
 - Testing for ssh key
 - Generating SSH key...
 - Testing for wssdagent service
 - Testing if wssdagent is running
 - Testing if container resource is provisioned
 - Testing if vnet resource 'EFLOW Switch' is provisioned
[03/11/2022 11:54:01] Step 4: Runtime configuration complete. Creating virtual machine
[03/11/2022 11:54:01] Creating virtual machine. Verifying host requirements for selected configuration (16 GB disk size, 3072 MB memory, 2 CPUs)
[03/11/2022 11:54:01] Verifying Host OS can support requested EFLOW configuration
[03/11/2022 11:54:01] Verifying required storage, RAM and number of cores are available
 - Drive 'C:' has 21 GB free
 - A minimum of 16 GB disk space is required on drive 'C:'
 - Host has 4871 MB free memory
 - A minimum of 3072 MB memory is required
 - Host has 4 CPU cores
 - A minimum of 2 CPU cores is required
[03/11/2022 11:54:05] Setting dynamically expanding virtual hard disk maximum size to 16 GB
 - Creating storage vhd (file: AzureIoTEdgeForLinux-v1-EFLOW)
 - Creating vnic (name: WIN-NEFB2IB1K8S-EFLOWInterface)
 - Instantiating virtual machine (name: WIN-NEFB2IB1K8S-EFLOW)
 - Virtual machine successfuly instantiated
[03/11/2022 11:54:49] Virtual machine created successfully.
[03/11/2022 11:54:50] Successfully created virtual machine
[03/11/2022 11:54:50] Virtual machine hostname: WIN-NEFB2IB1K8S-EFLOW
[03/11/2022 11:54:50] Testing SSH connection...
 - Initialize SSH connection using virtual machine IP : <IP_ADDRESS>
[03/11/2022 11:56:57] SSH channel cannot be initialized due to fail to create known hosts file
[03/11/2022 11:56:57] Exception caught!!!
 - Unable to connect virtual machine with SSH. Ensure DHCP server is functioning as expected, in case of static IP verify the provided network details are correct. Aborting...
Please uninstall Azure IoT Edge for Linux on Windows, ensure virtual machines can obtain an IP address through the Default Switch, and re-attempt installation. (L1758)
[03/11/2022 11:56:57] In order to attempt another deployment, please uninstall the Azure IoT Edge msi and start from fresh
Unable to connect virtual machine with SSH. Ensure DHCP server is functioning as expected, in case of static IP verify the provided network details are correct. Aborting...
Please uninstall Azure IoT Edge for Linux on Windows, ensure virtual machines can obtain an IP address through the Default Switch, and re-attempt installation.

The two workarounds provided in #75 can't apply to us since we don't want to rely on any DHCP server.

HI @Metal-Mighty,
Please take a look at our official EFLOW PS documentation. When using Static IP and a custom switch, you need to provide five parameters during EFLOW deployment using Deploy-Eflow.

Parameter
Accepted values
Comments

vswitchName
Name of the virtual switch
Name of the virtual switch assigned to the EFLOW VM.

vswitchType
Internal or External
Type of the virtual switch assigned to the EFLOW VM.

ip4Address
IPv4 Address in the range of the DCHP Server Scope
Static Ipv4 address of the EFLOW VM.

ip4PrefixLength
IPv4 Prefix Length of the subnet
Ipv4 subnet prefix length, only valid when static Ipv4 address is specified.

ip4GatewayAddress
IPv4 Address of the subnet gateway
Gateway Ipv4 address, only valid when static Ipv4 address is specified.

I think you're issue is related to not providing the ip4PrefixLength parameter.
Thanks,
Francisco

Hi Francisco, thank you for your quick answer ! It was the issue indeed, we have tried a new deployment and it worked perfectly. Thank you !


counter data issue-Reg

The yolo model used here does not have truck and bicycle detection but,the counter data shows icon of bicycle and truck and they always remain at zero.May i know why you have added these icons in counter area???
Regards,
Aswin Kumar

Sorry guys,didnt know that i can change between 3 different yolo versions


fix: Improvements for logs

To fix #2541, but also to improve logs in general, here are a few changes

Ensure a log is generated every time the app is launched (info level)
On release builds, the default levels should include "info"
On file output (or FileTree), no timestamp is currently printed -> adding one by default will help us debugging
If the generated tag is incorrect (something like "# 1        some text") -> "some text" is extracted

Codecov Report

Merging #2800 (a4f397d) into develop (2ea0da3) will decrease coverage by 1.87%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2800      +/-   ##
==========================================
- Coverage     8.86%   6.99%   -1.88%
==========================================
  Files          161     218      +57
  Lines         6623   10726    +4103
==========================================
+ Hits           587     750     +163
- Misses        6036    9976    +3940

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
62.26% <0.00%> (-20.72%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.11% <0.00%> (-19.10%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
21.68% <0.00%> (-9.75%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.65% <0.00%> (-3.24%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...ackages/smooth_app/lib/pages/scan/scan_header.dart
2.50% <0.00%> (-2.27%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

... and 237 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updated plink link

Coverage remained the same at 26.73% when pulling 96e4581a8b274e515300de80b30258d56692ee6b on gregmcinnes:patch-1 into 4311f6d5c5f217bbac0ea770a13b3322d49b2e63 on googlegenomics:master.

Good fix - thank you @gregmcinnes
Can you please fix it in https://github.com/googlegenomics/dataflow-java/blob/master/results/ibs/1000Genomes-chr22/analyze-ibs-data.Rmd too so that if we re-run it we don't lose your fix?

Oh, I see that you did that already in #59 thanks!

@deflaux, yeah I just made the changes using the edit button.  I couldn't figure out how to edit multiple documents in a single pull request using that method.


Conflict with Tolerate ES5 and messy white space?

This yields: Expected 'set' and instead saw ''.

So?

The Tolerate ES5 option is having an issue with expecting to see 'set' and instead seeing a null/empty/undefined object.
I thought it was related to tolerate messy white space at first.
Test case:
/*jslint es5: true, maxerr: 50, indent: 4 */
/*global read */

function test1() {
	"use strict";
	read("HTMLTitleElement", {
		tagName: "TITLE",
		action: {
			get text() {
				return this.innerHTML;
			}, set text(value) {
				this.innerHTML = value;
			}
		}
	});
}
function test1() {
	"use strict";
	read("HTMLTitleElement", {
		tagName: "TITLE",
		action: {
			get text() {
				return this.innerHTML;
			},
			set text(value) {
				this.innerHTML = value;
			}
		}
	});
}

Thank you for supplying a test case. That is very helpful. Please try it now.


Feature request: extension that installs/updates ghacks-user.js

I am not an extension developer, but this is not possible AFAIK. Pretty sure file manipulation in the profile root folder is forbidden with web extensions.
Lets say it could - then the only way to do it would be for the extension to alert the user if they click on "check for update" (this would require some mechanism on our end) and if there was it would be up to the end user to click "update" or "close".
At this point - it could be as simple as sending them to the releases page.
Or it could get complicated where the js is fetched, compares done, local file read/write etc. It also would not be possible to change about:config entries (well, 99% of them) to reset those that are made inactive (and the default value for some prefs differ by OS, not to mention by release, so that would have to be coded for because AFAIK there is no "reset" command)
It also gets complicated with users tweaking their version. There is no way code can determine in a diff if say //  was added by the user or a previous version. The whole thing is just not feasible, sorry.


scrcpy messes with device network connection through USB

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10 Pro 64bit
scrcpy version: 2.3.1
installation method: zip folder on Github
device model: Samsung Galaxy A32 5G
Android version: 13

Describe the bug
When only connecting via USB, scrcpy messes with my phone's network connection when I do not use the wifi to mirror, only USB.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

What do you mean by "messes with my phone's network connection" ?
What problem do you observe? Any error message?

I was busy playing Arena breakout when I noticed an increase in Ping when connecting to official servers.

What makes you think that this is related to scrcpy?

In my head, I thought that scrcpy still needed the wifi to be able to mirror my phone.

Not if is connected via usb.

Oh, my apologies. Closing this as a non-scrpy issue.

Ok so, screenshots of me mirroring a mobile game through scrcpy

Command line arguments in use:
scrcpy -m 1024 -b 4M -t

The message "Reconnecting" is in your game, so if you mirror the screen with scrcpy, you see the message. It does not mean it is related to scrcpy.


Allow axis titles to wrap text

Provide a general summary of the feature here
Axis titles are sometimes longer than the width of the chart. Would be nice to be able to break an axis title up into multiple lines.
🤔 Expected Behavior?
When title on an Axis is an array of strings, display each string on a new line. This is supported by Vega https://vega.github.io/vega/docs/axes/ (see title in props)
💁 Possible Solution
Update the type for title on Axis to support string | string[]. If it is an array, each string should be displayed on a new line.
🔦 Context
Axis title that is wider than the chart.
💻 Examples
No response
🧢 Your Company/Team
Adobe/Workfront

Fixed with above PR


BeaconChain.compute_logical_time/1 -> No case clause matching -2

There's an error where the rem() call in compute_logical_time returns -2, which is not contemplated in the case clauses.
ERROR 10:09:02.001 GenServer LambdaEthereumConsensus.Beacon.BeaconChain terminating

** (CaseClauseError) no case clause matching: -2
    (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/beacon/beacon_chain.ex:235: LambdaEthereumConsensus.Beacon.BeaconChain.compute_logical_time/1
    (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/beacon/beacon_chain.ex:178: LambdaEthereumConsensus.Beacon.BeaconChain.handle_info/2
    (stdlib 5.2.3) gen_server.erl:1095: :gen_server.try_handle_info/3
    (stdlib 5.2.3) gen_server.erl:1183: :gen_server.handle_msg/6
    (stdlib 5.2.3) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: :on_tick

The cause of this issue seems to be the beacon node initializing before the network genesis time. This is a race condition and may happen simply because the node process started too quickly. An option may be to have the first tick happen after genesis time.


Cegeka -Job based on Athena appears on Vallidator Ui

URL: https://admin.peviitor.ro/jobs/Cegeka
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
1 .Open the URL in the browser
2. Search for the job "Functional Application Manager (Athens, GR)"
ACTUAL RESULTS:
The job "Functional Application Manager (Athens, GR) appear on the results
EXPECTED RESULTS:
The job "Functional Application Manager (Athens, GR) should not appear on the results as is based on Athens
NOTE: The job appears as well on the Cegeka website for Romania Jobs https://www.cegeka.com/en/ro/jobs/all-jobs?
ATTACHEMENTS:

As discussed in the QA meeting from 27/05/2024 we should not publish jobs that cannot be done from Romania. Because some times the company does not publish a job on the right location. Closing the ticket.

As discussed in the QA meeting from 27/05/2024 we should not publish jobs that cannot be done from Romania. Because some times the company does not publish a job on the right location. Closing the ticket.


Call go fmt in travis

Not all checks are passing yet but we should still enforce the most basic one.

LGTM


log-backup: make the safepoint lifetime 2hours

Signed-off-by: hillium<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close https://github.com/tikv/tikv/issues/13889 Close https://github.com/pingcap/tidb/issues/39603
What's Changed:
This PR make the lifetime of service points that created by PITR 2 hours, which is longer than FLUSH_INTERVAL * FLUSH_MAX_RETRY_TIME

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Manual test (add detailed scripts or steps below)
(Almost) No code

Release note
None

/merge


IDE-java bug

I found a bug in the auto-completion of the text, sometimes when i type Sys , and it shows system and blabla... then i pressed ENTER and the auto-completion didn't work, so i have to type in again and then enter ,the second time i pressed enter the auto-completion works. So please fix this, i'm too afraid to fix the code myself 😄
Conclusion : I have to type twice to trigger the auto-completion.
Anything else is just working fine. Thanks for making my work easier

What versions of Atom and ide-java are you running and what operating system?
Also, do you have the same problem with auto-complete in general (so not specific to using ide-java)?

In my opinion, this problem caused by conflict with language-java package....

Thanks @nrfaikar, do you have a specific example that I can try that shows the conflict?

I suggest to try JavaFX import snippets....

I am having this problem too. I have even added screen-shots in #84 to help explain better. For me it happens with all libraries.

Me too... Happens with all libraries...
Please fix it...

this bug was reported so long ago and still not fixed ?? is anyone even looking at it ?

It would be super helpful if anyone could provide a small public test project where this reproduces along with repro steps to see the problem.

I suggest to try JavaFX import snippets....

@nrfaikar sorry can you be more specific?  Specific repro steps in particular would be helpful.

@rsese
Steps

Fresh install latest version of atom (on Ubuntu 16.04)
Create any java project. The auto-completion provided by default should work fine.(For example when you type main and press tab).
Install the latest version of atom-ide-ui.
Install the latest version of ide-java.
Create any java project which imports a library(It can be any Library). (I will add a file, you can use it).
Type all the code from start and use auto-completion as much as possible.
Notice how many times auto-complete does not work on first time. The way I suggested in #84 .

NOTE - Just rename this file to SimpleAnimation.java and then open it on atom.
SimpleAnimation.txt

Thanks a lot @KJ1010G :bow:  I'm able to reproduce with just this bit of code:
import javax.swing.*;

public class Test {
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.
	}
}

And trying to autocomplete from frame..  Going to go ahead and close this in favor of #84 since the issue body is more detailed and I'll add the repro steps above there as well (slightly edited to add more detail for step-by-step reproduction).


Make update_repos cd quietly

This should not have been so noisy.  Partially addresses #758
Co-authored-by: George L. Yermulnik<EMAIL_ADDRESS>

@philclifford Thanks!
You may also want to look into replacing cd ${ETC_DIR}/${REPO}.d/cd ~- with pushd ${ETC_DIR}/${REPO}.d/popd, which may be sort of more Bash-native way 🤔


Move non-client gardener resource functions to apis/<api>/[ver]/helper/helper_<resource>.go

How to categorize this issue?

/area quality
/kind enhancement
What would you like to be added:
Let's follow the pattern of defaults_<resource>.go and types_<resource>.go and have a dedicated helper_<resource>.go that will consist of non-client functions from the local helper.go that have the given resource as a parameter (like defaults_<resource>.go). Also functions through utils like
https://github.com/gardener/gardener/blob/f3c4176d734cf6a9cc2a6acf352ea5a2973c4d59/pkg/utils/gardener/cloudprofile.go#L43-L57
are better suited to belong to helper_<resource>.go for better code cohesion
Also lets make sure no unexpected g/g import gets added that might cause dependency issues in the future
Why is this needed:
This will improve code cohesion and helper function searchability/reusability

/assign Kostov6
/good-first-issue

/remove-good-first-issue

/assign @RadaBDimitrova

/remove-lifecycle stale


Missing binding for some methods

Hello,
I'm trying to convert some C++ code to C#. It's for testing purpose only. I noticed few changes from C++ to C# as well as some missing methods or properties. This is my code, comments indicates the missing property or method.
public override void Initialize(FObjectInitializer initializer)
{
	base.Initialize(initializer);

	VROrigin = initializer.CreateDefaultSubobject<USceneComponent>(this, new FName("VROrigin"));
	//VROrigin.SetupAttachment(RootComponent);
	VROrigin.SetRelativeLocation(new FVector(0.0f, 0.0f, 80.0f), false, out FHitResult sr, false);

	MainCamera = initializer.CreateDefaultSubobject<UCameraComponent>(this, new FName("MainCamera"));
	//MainCamera.SetupAttachment(VROrigin);

	UIWidgetInteraction = initializer.CreateDefaultSubobject<UWidgetInteractionComponent>(this, new FName("UIWidgetInteraction"));
	//MainCamera.SetupAttachment(MainCamera);

	SetupMotionController(initializer, true);
	SetupMotionController(initializer, false);

	ForwardVRMode = ForwardVRMode.Pawn;

	//PrimaryActorTick.CanEverTick = true;
}

private void SetupMotionController(FObjectInitializer initializer, bool left)
{
	var mc = initializer.CreateDefaultSubobject<UMotionControllerComponent>(this, new FName(left ? "LeftHand" : "RightHand"));
	//mc.SetupAttachment(VROrigin);
	//mc.SetTrackingSource(ControllerHand.Right);
	mc.SetTrackingMotionSource(left ? new FName("Left") : new FName("Right"));
	mc.SetRelativeLocation(new FVector(36.0f, left ? -20.0f : 20.0f, -26.0f), false, out FHitResult sr, false);
}

How can we add those missing methods? Maybe I can try to add some of them? If you give me a starting point?

The primary tick part should be written into the wiki. You have to create an instance variable of the PrimaryActorTick property. Here's an example.
var myATick = this.PrimaryActorTick;
myATick.CanEverTick = true;

It's a bit weird. Creating a variable like this actually returns a reference to the primary actor tick property. I forgot why Pixeltris didn't just use the conventional method. Something to do with interrop and memory management issues.

Ok it's not a big deal ;) However how do you use SetupAttachment?

The reason why a local var of PrimaryActorTick is require is that PrimaryActorTick is a property and FTickFunction is a struct, so you can't set CanEverTick directly. There are now function such as this.PrimaryActorTick.SetCanEverTick(true) which should work though.
Is SetupAttachment the same as AttachToComponent? https://github.com/pixeltris/USharp/blob/b984bb26decd31ccd10ce8b849c08f1bf11ba4fb/Templates/TP_Puzzle/Managed/TP_Puzzle.Managed/PuzzleBlockGrid.cs#L37

SetupAttachment takes one argument (the component) while the other one take many parameters. Not sure to the difference of them. I'll take a look at the source code..

AttachToComponent is a lot more verbose in terms of source code. SetupAttachment just sets 2 members. I think it would be worth manually wrapping SetupAttachment. I'll look into doing this soon.

As for SetTrackingSource; it is possible merged into a property called TrackingSource which should have a getter/setter. USharp will currently merge any property which has GetXXX / SetXXX functions into a single property.

I simulated SetupAttachment using an extension method
public static class UActorComponentExtensions
{
	public static void SetupAttachment(this USceneComponent thisComponent, USceneComponent Parent)
	{
		thisComponent.AttachToComponent(Parent, FName.None, EAttachmentRule.KeepRelative, EAttachmentRule.KeepRelative, EAttachmentRule.KeepRelative, false);
	}
}

It's ok for the rest , thanks.

You can create a PR if you like.

Why not if it's OK for you. Where do you put this kind of code?

I think it would be better to call the native C++ SetupAttachment function as the code path in the AttachToComponent function does seem a little overkill. But to answer where you put that kind of code: https://github.com/pixeltris/USharp/tree/master/Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal/InjectedClasses/Engine these files get copied over when the C# engine wrapper code generator runs.

I don't think it's overkill. You should add it demonixis. Every bit helps. 😄

I'm not saying don't add SetupAttachment. I'm saying add SetupAttachment but call the C++ function. Doing so is a little more complicated as a new C++ pinvoke methods are needed. But I'll link the solution here for future reference of doing something similar.

I agree a call to the native method is better

https://github.com/pixeltris/USharp/commit/19245458ab5b3568ac352af20fc7e03c41cf6854 so this commit shows adding a new pinvoke method, and calling the method from an InjectedClasses file. You will need to regenerate the C# engine wrapper code for this (which can be done in the console via USharpGen modules / USharpGen compile or delete your modules folder at /USharp/Binaries/Managed/Modules/ and then reopen your unreal project file (it should prompt to regenerate / compile the wrapper code).

Thank you! That way I'll be able to add native methods if they're missing.


[Bug]: BigQueryIO Storage API doesn't return errors in WriteResult when data schema mismatches BQ Schema

What happened?
When writing data to BigQuery using BigQueryIO storage API, no errors are returned to WriteResult even if rows are not written to BigQuery. This happens during schema mismatch between incoming data and BQ Schema. Steps to reproduce is provided below
Note: Test was done using DirectRunner.

Create a BQ table with just one string field in it (e.g. field1)
Send a JSON payload to PubSub as below and write a pipeline to pull this PubSub message and write to BQ [Create TableRow dynamically by parsing the JSON payload]

{
    "field1" : "1"
}

Verify if records were successfully create in BQ. It should.
Now send another JSON payload to PubSub but with an additional field

{
    "field1" : "1",
    "field2" : "2"
}

No records will be inserted in BQ because there is a schema mismatch between incoming data and BQ schema

Expected result: BigQueryIO should return errors in WriteResult
Observed result: No errors are returned in WriteResult. Also, no records are written to BigQuery
Provide below is the code snippet
WriteResult writeResult =  tableRows.apply(
                    BigQueryIO.writeTableRows()
                    .to(TABLESPEC)
                    .withSchema(BigQueryUtils.toTableSchema(BQSchema))
                    .optimizedWrites()
                    .withExtendedErrorInfo()
                    .withMethod(Method.STORAGE_API_AT_LEAST_ONCE)
                    .withCreateDisposition(CreateDisposition.CREATE_IF_NEEDED)
                    .withWriteDisposition(WriteDisposition.WRITE_APPEND));

Issue Priority
Priority: 1
Issue Component
Component: io-java-gcp

I believe you can access the failed records via the getFailedStorageApiInserts method of the WriteResults object introduced in Beam 2.40.0.


Use interactive icon buttons to display and send (toggle) reactions

Currently, reactions are displayed as plaintext in a single label, which is a lazy hack just to enable the set of reactions to easily wrap to the next line.
Instead, each type of reaction (each key in the reactions map) should be represented by its own icon button, in which the icon is the text of the reaction key. Typically a reaction key is a single emoji, but technically it can be any arbitrary string, so that works well with an existing button (Robrix has an IconButton type for this purpose).
Then, when clicking one of the IconButtons, Robrix would toggle that reaction's annotation by using the Timeline::toggle_reaction(). Using this higher-level reaction API will make things a lot easier to deal with. The Annotation's key field should be set to the same key string value used for the reaction's IconButton (its text content).
Note that in the structure that represents the Reaction icon button, the key string should be stored separately from the count value such that key can be easily retrieved independently from the count, and such that the count can be incremented/decremented easily.
In addition, that structure should store whether the current user has "sent" this reaction, i.e., the button's reaction key has been toggled "on" by the current user. This should also be made apparent at the UI level, e.g., by setting the button's background color and/or outline differently than the icon buttons that represent reactions that were not sent by the current user.
One of the main UI challenges in this area is how to get a series of reaction icon buttons to neatly wrap on to the next line (or multiple lines) if there are many reactions. Note that this is a common scenario, especially for popular posts. See this example from Discord:

Makepad may not yet support the ability to "wrap" multiple buttons (or arbitrary widgets) across multiple lines, but I'm not sure.

Note:
It is a known issue that Makepad doesn't yet support rendering actual emoji.
That is not a blocker for this issue, as the text on each reactions' icon button can still be a stringified emoji, e.g., :grin:, and work the same way.
See issue #111 for more info.

Hello! I'd like to try and tackle this issue! I see you mentioned Makepad's limitations there, particularly regarding wrapping. Is there any update on that from the Makepad team?
Of course the emoji rendering (or lack thereof) is something that can be easily worked around!

Sorry, I have been working on this for some time. Sorry @smarizvi110, for not creating a draft pull request

No problem, thanks for letting us know!


fixes var name $ds -> $remap

What does this PR (Pull Request) do?

[x] This PR fixes #3498 for an incorrect variable reference introduced in #3452

Which Traffic Control components are affected by this PR?

Traffic Ops

What is the best way to verify this PR?
start cdn-in-a-box:
cd infrastructure/cdn-in-a-box
cp ../../dist/traffic_ops*x86.rpm ./traffic_ops/traffic_ops.rpm
docker-compose up --build -d
docker-compose logs -f trafficops-perl

Examine the output for this message:
[ERROR] Global symbol "$ds" requires explicit package name at /opt/traffic_ops/app/lib/API/Configs/ApacheTrafficServer.pm line 2896.
Simple var reference fix -- no docs, tests, changelog changes needed.
If this is a bug fix, what versions of Traffic Ops are affected?

master (21e50ee)

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3543/
Test PASSed.


swap: move api to bigints

moves api function of settlement to big.Int from uint64 as this might not work with high token amounts
the pseudosettle and swap mock have been merged as they were basically the same thing

/beekeeper run

/run beekeeper

/run beekeeper


Add support for app_offline.htm

The primary way that VS/msdeploy avoids locked files issues during deployment is app_offline.htm. The expectation is that when this file is created at the root, the app shuts down and all locked files are released. Then when it's removed, the app restarts.
This works for ASP.NET and ASP.NET Core apps, but we currently have no support for it in functions, so that VS deployment option is a no-op.
One mitigation is that normally, Functions doesn't lock files, but that could still happen when native DLLs are in the picture.
We should see whether there is a way we can implement that by detecting that file and releasing everything.

Duplicate of #1521

Identical title too! :)


Improve FC + add fusing

Description

Remove for_quantization flag from final graph,
Rename for_quantization flag to enable_fuse_add and simplify the logics,
Replace Node with BiDirectedNode to not fuse FC with elemwise add when
FC output is used also as an input of other operator,
Do not fuse with add if already fused with other elemwise operation
for quantized model.

Checklist
Essentials

[ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

@mxnet-bot run ci [unix-cpu]

@mxnet-bot run ci [website]

@mxnet-bot run ci [unix-cpu]


Update to work with the latest version of Rust

The bitflags! macro was moved out of Rust and onto crates.io, so this adds it as a dependency.

Thanks! I'll cut a release after I merge the other open PRs (in a few mins, hopefully).


fix: remove bad constructor call

Just a tiny fix from a refactor I did last week.

@googlebot I signed it!


Add a check in config to set project type as playbook

This PR adds a small check in config to set project type as "playbook" from "ansible-project". This is required when args are directly passed to config class (without any interaction with arg_parser)
For example: https://github.com/ansible/ansible-dev-tools/blob/main/src/ansible_dev_tools/resources/server/creator.py#L138-L147

no tests?

Incoming ......

@ssbarnea , test added!


Publish code form temp hackathon repo

We need to move the whole code created during hackathon into this new space:
https://github.com/marcinkp/hackathon2019

move code
add license: Apache 2.0

Noticed that htl task while applying plugin is unnecessarily crested just after registration. Please remove .get() from there


Include Compound JSON files in each statepoint

For each statepoint, to ensure that we can get back the exact same mbuild Compound for future studies, we should also save out a JSON serialization of each mBuild compound.
For example:
filled_system.save("starting_compound.json")
This will ensure that we preserve the hierarchy of the compounds, and any other information that is unique to mBuild.
This can happen at the same time as the other file io when writing out the systems for our engines.

This is done for the lammps stuff!

This is done for hoomd as of 9140dc1

I think this can be closed as well--we could add a note to the project board if needed


Black boxing scripts in Chrome Dev tools

Chrome Version 40.0.2214.111 (64-bit)

Chrome dev tools lacks ability to black box scripts I don't wish to step through. Not sure if this is a flag lacking in the dev tools instance that node inspector invokes, however this is an inconvenience.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8436061-black-boxing-scripts-in-chrome-dev-tools?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

Use the config option --hidden, see README for more details.


Windows Compile fails to find jni.h with VS2015 RC

Hi guys,
Compiling most recent xgboost pull on windows 8.1 with VS2015 RC generates the following:
Cannot open include file: 'jni.h': No such file or directory	xgboostjavawrapper
VS automatically updated the compiler info as it detected it was set for an earlier version of VS (I tried without success to build with VS 2010 last night and moved to VS2015RC today).  Is the java wrapper necessary if I just want to use the python bindings?
Thanks

You only need to build xgboost wrapper
On Thu, Jun 18, 2015 at 8:38 AM o1lo01ol1o<EMAIL_ADDRESS>wrote:

Hi guys,
Compiling most recent xgboost pull on windows 8.1 with VS2015 RC generates
the following:
Cannot open include file: 'jni.h': No such file or directory
xgboostjavawrapper
VS automatically updated the compiler info as it detected it was set for
an earlier version of VS (I tried without success to build with VS 2010
last night and moved to VS2015RC today). Is the java wrapper necessary if I
just want to use the python bindings?
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/xgboost/issues/360.


improved italian translation ([recentTitle] field)

I started to use your theme for my personal renewed site, and I found a unsatisfactory translation for the recentTitle item in the translation file for the italian language.
With the current translation the italian resulting string is "Recenti posts" that does not sound right at all. A better translation is "Post recenti" but please note that Post should be used in singular (in italian, foreign terms are always used singular). I do not know if it is possibile to use {{.Title }} in some way to have it in singular form, so for the moment I decided to use another better (in my opinion) translation using the italian word "Articoli" instead of "Posts".
I am not sure but probably the same consideration apply to other translation.

@fpiantini thanks for this PR.
Your change would make the "name" of the content type hardcoded. We want it to dynamically pick up the name of the content type (Articoli, Ricette, etc... whatever user has in there).
I think we'll have to simply put {{ .Title }} at the beginning of the string providing we don't end up with gender typos in some cases... I don't speak italian, so you tell me.
In any case could you create a new PR with the change discussed above? 🙏
I'm closing this PR as it has some unrelated commits including that 'mermaid' addition which should be part of another PR.


Can't add a new localisation, the admin doesn't show it

Q
A

Bug?
no

New Feature?
no

Sulu Version
1.6.21

Browser Version
Microsoft Edge 42.17134.1.0

Actual Behavior
In the admin panel only the English (en) locale is displayed.
Expected Behavior
I expected my new localization (nl) to be available in the dropdown menu in the top right.
Steps to Reproduce
I added the localization node in my webspace file

<name>Dev7 Solutions</name>
<key>dev7_nl</key>

<localizations>
    <localization language="nl" default="true"/>
    <localization language="sv"/>
    <localization language="en"/>
</localizations>

<default-templates>
    <default-template type="page">default</default-template>
    <default-template type="home">homepage</default-template>
</default-templates>

<templates>
    <template type="search">search.html.twig</template>
    <template type="error">error/default.html.twig</template>
    <template type="error-404">error/404.html.twig</template>
</templates>

<navigation>
    <contexts>
        <context key="main">
            <meta>
                <title lang="en">Main Navigation</title>
                <title lang="nl">Hoofdnavigatie</title>
                <title lang="de">Hauptnavigation</title>
            </meta>
        </context>
    </contexts>
</navigation>

<portals>
    <portal>
        <name>Dev7 Solutions</name>
        <key>dev7_nl</key>

        <environments>
            <environment type="prod">
                <urls>
                    <url>{host}/{localization}/</url>
                </urls>
            </environment>
            <environment type="stage">
                <urls>
                    <url>{host}/{localization}/</url>
                </urls>
            </environment>
            <environment type="test">
                <urls>
                    <url>{host}/{localization}/</url>
                </urls>
            </environment>
            <environment type="dev">
                <urls>
                    <url>{host}/{localization}/</url>
                </urls>
            </environment>
        </environments>
    </portal>
</portals>

I have ran sulu:build dev and sulu:document:initialize as stated in the documentation

Hello @zangai,
can you check if your user have permissions for that locale. Click on the left bottom on your user go to the permissions tab and there you can select which permissions he have for a specific role in which languages.

@alexander-schranz I looked there, and it only shows the "en" option.

@zangai then I think you did not clear the cache. As there is no developer toolbar I think you are under prod environment (see below how to switch to dev) you can run the following command then to clear the admin cache:
app/console cache:clear --env=prod

or just remove the content of the app/cache (var/cache/ in sulu-minimal).
Also run app/console sulu:document:init after you cleared the cache:
The following command:
app/console doctrine:phpcr:node:dump /cmf/dev7_nl/routes --depth=1

should then output your new added languages:
/cmf/dev7_nl/routes:
  nl:
  sv:
  en:

Switching to dev environment
To switch dev environment you need to SetEnv SYMFONY_ENV dev in your apache vhost see http://docs.sulu.io/en/latest/cookbook/web-server/apache.html#virtual-host-configuration
Or for nginx: it is fastcgi_params SYMFONY_ENV dev; see here http://docs.sulu.io/en/latest/cookbook/web-server/nginx.html#virtual-host-configuration
You should choose sulu-minimal
Also want to mention the current version of sulu-standard using the old symfony 2 folder structure: You should use sulu-minimal the more modern symfony 3 folder structure to start new projects as documented here. See also https://github.com/sulu/sulu-standard/issues/792#issuecomment-273804627.


Update docker-compose.yml

Signed-off-by: Yury-Fridlyand<EMAIL_ADDRESS>Description
The proposed changes contain updated docker-compose.yml which doesn't use obsolete OpenSearch settings (see https://github.com/opensearch-project/OpenSearch/pull/2463).
I also updated download link - this doesn't (well, shouldn't) affect the end users, but it fixes download link for locally-hosted site image.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Hi @Yury-Fridlyand, thanks for contribute.
This change also needs to be updated in other two places:

https://github.com/opensearch-project/documentation-website/blob/main/_opensearch/install/docker.md#sample-docker-compose-file
https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/dockercomposefiles/docker-compose.yml

If you can make those changes it would be great.
Thanks.

https://github.com/opensearch-project/opensearch-build/pull/2612
https://github.com/opensearch-project/documentation-website/pull/1194

Context: https://github.com/opensearch-project/opensearch-build/pull/2612#issuecomment-1246075733

@krisfreedain @AMoo-Miki


Replace UnitySocketFix with thread safe.

This change replaces UnitySocketFix with PausedSocketFix, a thread safe and less complicated version.
UnitySocketFix would break when LiteNetLib was run on a thread since it's initialization involved creating a gameObject and adding a component.
PausedSocketFix uses thread safe events and a non-monobehaviour class.
PausedSocketFix also brings enhancements to not drop the connection when the application loses focus, but rather only try to reconnect on focus gain if connection was lost.

@FirstGearGames thanks. But at first it doesn't compiled on Appveyor. And second Finalizer of PausedSocketFix will never be called because you subscribed to event. I think you should unsubscribe in NetManager.Stop.

I'm not sure why it's not compiling via Appveyor as it is in my project. I'll double check that ...
You're right about the deinitializer though, does not seem to call when NetManager is destroyed. Will resolve.

Resolved issues.

@FirstGearGames also this is really needed only on IOS devices. In other cases all things working fine.

Other devices can lose connection as well, WebGL depending on browser and Android too.

@FirstGearGames surely they can lose and this is normal behaviour that is expected. This created for bug in IOS Unity code that makes socket in some strange unusable state that requires such fix.

Normal behavior but not desired behavior. If the user wants to drop the connection they would call stop, which would prevent this from reconnecting. Otherwise this will try to re-establish a connection as that was the last intended state.

@FirstGearGames UDP socket doesn't have such thing as "connection". They always in "Listening"/"Sending" state. There was problem in IOS that closed socket by OS. I don't remember cases when Android destroys only socket (but not application entirely) and you needed to restart NetManager.
Also WebGL doesn't support UDP (in normal meaning). And LiteNetLib doesn't support WebGL

I simply added UDP because I was throwing every potential define at it to detect a Unity project, since Unity doesn't have a 'UNITY' define, which is silly.
I'd like to see this included to support multi-threading but also because this does not just fix the connection it prevents the socket from automatically disconnecting on focus lost, which your version was.

I simply added UDP because I was throwing every potential define at it to detect a Unity project, since Unity doesn't have a 'UNITY' define, which is silly.
I'd like to see this included to support multi-threading but also because this does not just fix the connection it prevents the socket from automatically disconnecting on focus lost, which your version was.

Unity has define UNITY_X_Y_OR_NEWER. Library supports Unity 2018.3 and newer so define can be just
#if UNITY_2018_3_OR_NEWER
https://docs.unity3d.com/Manual/PlatformDependentCompilation.html

it prevents the socket from automatically disconnecting on focus lost, which your version was.

There was specific disconnect lost only for Apple IOS. UnitySocketFix originaly under defines for IOS only.
So it doesn't work when you just use Unity not on IOS. No disconnections on any focus lost
#if UNITY_IOS && !UNITY_EDITOR

@FirstGearGames original issue https://github.com/RevenantX/LiteNetLib/issues/312

I looked for the 'or newer' define but certain versions do not trigger it. The one you provided does so I shall use that, thank you.
I understand this fix was for IOS initially but I promise you Android faces the same issue, perhaps only on certain devices. I've a large number of reports about the disconnects happening on IOS and Android. There's no harm in providing this for both anyway. Not to mention this supports threading where the previous solution did not. I'll do another push with the define changes.
I'm happy with it's state in my project and I hope to see this make it into the main branch so I may continue to work on the latest version. Cheers!


Config for a component with multiple directories in hs-source-dirs?

hs-source-dirs can take multiple directories how should I express that in an hie.yaml file?

@fendor could correct me, but i think you have to repeat one entry in the multi cradle for each source dir, repeating the component

Yeah, that should work.

I think the issue can be closed


can't specify error for field in array by key via async validation

If I validate sync I can return:
const errors = {
  question: 'meh',
    options: {
     1: 'no dice'
   }
};

which works just fine, however doing the same from async validation gives the following error:
Unhandled promise rejection TypeError: array.map is not a function in the getValue function.
Returning an error like:

const errors = {
  options: ['error0', 'error1', 'error2']
};

works just fine.
Am I doing something wrong here?
Thanks!

Are you wrapping it in a Promise.reject()?

@erikras Yes, I am.

Can you provide a reproducible sample?

Will do


Examples not working on phone with Mali-G77 GPU

I'm trying to run mediapipe on Samsung Galaxy S20 FE phone. According to the specs, it has Mali-G77 MP11 GPU. All examples I tried build fine and the examples that only use CPU work fine, while examples that use GPU show only a black screen.
For example the facedetectioncpu example works fine, while facedetectiongpu does not.
The GPU according to ARM has support for all these API:

OpenGL® ES 1.1, 2.0, 3.1, 3.2
Vulkan 1.1
OpenCL™ 1.1, 1.2, 2.0 Full Profile

Update: I tried to create a hand tracking app that uses only CPU calculators. Still no luck. (Both variants work on an older phone).
Is there a way to check whether an app uses GPU? Assuming that I did successfully remove all refs to GPU usage I think this means that GPU is not to blame. Perhaps something to with Android version or toolchain version?
Bazel has version 3.6.0.
Android NDK has version 21.3.6528147
The phone has Android version 10, with latest updates installed.
Here is the excerpt from the BUILD file where I define a new binary graph for CPU based hand tracking.
cc_library(
    name = "mobile_calculators_cpu",
    deps = [
        "//mediapipe/calculators/core:flow_limiter_calculator",
        "//mediapipe/calculators/core:gate_calculator",
        "//mediapipe/calculators/core:merge_calculator",
        "//mediapipe/calculators/core:previous_loopback_calculator",
        "//mediapipe/graphs/hand_tracking/subgraphs:hand_detection_cpu",
        "//mediapipe/graphs/hand_tracking/subgraphs:hand_landmark_cpu",
        "//mediapipe/graphs/hand_tracking/subgraphs:renderer_cpu",
    ],
)

mediapipe_binary_graph(
    name = "hand_tracking_mobile_cpu_binary_graph",
    graph = "hand_tracking_mobile.pbtxt",
    output_name = "hand_tracking_mobile_cpu.binarypb",
    deps = [":mobile_calculators_cpu"],
)

Same results with an app I'm working on. Our custom graph works fine with all previous phones, but returns no packet callbacks on the S20, and the app freezes when the graph is closed. The demo handtracking app gives a black screen as well on the device.
Device is S20 Ultra 5G (Model # SM-G988B/DS)
No packet callbacks for custom gpu graphs using hand tracking, face detection, face mesh, and iris tracking.

@atiselsts Update for you:
Updating mediapipe to 0.8.0 fixes this bug for all graphs except for iris tracking :)
S20 works with hand tracking, face detection and face mesh now with v0.8.0.

Thanks bboettcher3, seems to be working.


Option to insert tags when comma is inserted

Is there a way to insert a tag when comma is typed?

Not at the moment, but this is good idea I guess. I'll implement it in the next release.

Can the same be done for blur event?


● Test suite failed to run      TypeError: Cannot read property 'bind' of undefined (React Native)      at Object. (node_modules/react-native/Libraries/Utilities/createPerformanceLogger.js:60:55)       at Object. (node_modules/react-native/Libraries/ReactNative/AppRegistry.js:22:1)

Please do not submit this issue.

[X] I understand

Please help i can't find any thing about it

Hi, do you have a results? Same issue for me, and I think its related to testing-library/hooks, because when I disabled it - everything works well

Hi, do you have a results? Same issue for me, and I think its related to testing-library/hooks, because when I disabled it - everything works well

no can't find anything


ima3.js not loading under Safari

Hi,
I'm running into a problem that is causing or being caused by ima3.js not loading. The symptom is a log entry of "[Error] ReferenceError: Can't find variable: google" generated by the line "const adsRequest = new google.ima.AdsRequest();" However, it appears that the root problem is that ima3.js isn't loading due to a CORS error that only occurs in Safari (Mac or iPhone).
[Error] Blocked a frame with origin "https://" from accessing a frame with origin "https://**". Protocols, domains, and ports must match.
This is followed by logging from ima3.js which is pretty cryptic:
Nh (ima3.js:91)
Oh (ima3.js:92)
start (ima3.js:356:165)
This is followed by logging from show_ads_impl.js (there is much, much more I didn't copy):
Ft (show_ads_impl.js:1:162176)
yt (show_ads_impl.js:1:171721)
At (show_ads_impl.js:1:161025)
uu (show_ads_impl.js:1:181688)
(anonymous function) (show_ads_impl.js:1:48771)
si (show_ads_impl.js:1:48481)\
Our systems are on AWS and the files being accessed are in an S3 bucket with standard AWS CORS headers that work for all other desktop and mobile browsers and have worked for Safari in the past so I'm not sure what changed. All ads for this are coming from Google (Doubleclick) servers. You can test this using Safari at:
https://apps.facebook.com/applixirtest
Let me know if you have any idea why the Safari error is stopping ima3.js from loading.
Thanks,
D

Hi there,
I'm not seeing that error in our samples when I try them on Safari. Just going to the simple example, ima3.js is loading normally for me.
Your test page requires me to log in. Do you have another page I can repro this on? Thanks!
--Yury

This only happens when logged in for some reason. Git dumped PM's but is there somewhere I can send you test account info?
D

You can send me an email at<EMAIL_ADDRESS>and I'll take a look.

I just figured it out this morning and didn't have a chance to report back to you before you tested again. Thanks for your help. This can be closed.


Error rendererBox

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @Domiynsbelhanda, Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you


Pull Request for generalizability templates

Study generalizability templates generated for:
fmriprepgr
generate_pdf
boldcorrelation/qc01_saveniinumpy
boldcorrelation/qc01_SLURM
boldcorrelation/qc02_SLURM
fdmean/fdmean_painruns
fdmean/fdmean_SUBMIT

why to commit all the logs from all the jobs? did you look at the diff for the commits?

Good catch! So there are a number of logs to consider here, there are remnants of datalad, fmriprep, and mriqc that were probably committed and leftover by @jungheejung. I think those should be deleted and I have removed them from my branch, but she'll make the ultimate decision about whether or not to leave it in main. Then there are wasabi_physio logs that were left in there by me, which have now been removed.

@yarikoptic I'm noticing that the current pull-request includes 7 commits that are relevant for the WASABI project but not for Spacetop, and only the latest commit is relevant for Spacetop. How should I go about completing this pull request, should I do git cherry-pick?

you can cherry-pick into a new branch or if you just want to discard some but not the other in this branch, can do interactive rebase like git rebase -i HEAD~7 and leave only the one(s) you want


Tokens page breaks whenever no token fits the page.

Problem occurs when changing the "Paper Width" or any token size input while on the Tokens page.
We're updating the config store value with each change of an input.
example LocalStorage config values that produce error:
{"paper":{"width":0}}
{"paper":{"width":200},"tokens":{"stationTokenSize":150}}
Whenever calculated perPage value is lower than 1, the error occurs.

#646


I can't  install the  selective_scan

Processing d:\code\aetnet-main\selective_scan
Requirement already satisfied: torch in c:\users\administrator.conda\envs\pytorch-gpu\lib\site-packages (from selective-scan==0.0.2) (2.2.2)
Requirement already satisfied: packaging in c:\users\administrator.conda\envs\pytorch-gpu\lib\site-packages (from selective-scan==0.0.2) (21.3)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))': /simple/ninja/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))': /simple/ninja/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))': /simple/ninja/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))': /simple/ninja/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))': /simple/ninja/
Could not fetch URL https://pypi.org/simple/ninja/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/ninja/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS
/SSL connection has been closed (EOF) (_ssl.c:1135)'))) - skipping
ERROR: Could not find a version that satisfies the requirement ninja (from selective-scan)
ERROR: No matching distribution found for ninja
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL
connection has been closed (EOF) (_ssl.c:1135)'))) - skipping

It seems that your connection failed when installing the package of ninja, can your check your network connection?

I found that I have installed the ninja in the conda environment. May the problem be 'ERROR: Could not find a version that satisfies the requirement ninja (from selective-scan) ERROR: No matching distribution found for ninja'?


aarch64: error: Handle software-generated fatal exceptions

While working on something else I realized that we were missing the ARCH_EXCEPT define. This patch tries to fix that with a basic implementation.

On Tue, 17 Nov 2020, Carlo Caione wrote:
Some comments:
+oops:
+       mov     x0, sp
+       bl      z_arm64_do_kernel_oops
+
 context_switch:

Is z_arm64_do_kernel_oops expected to ever return?
+#define ARCH_EXCEPT(reason_p)                                          \
+register uint64_t x8 __asm__("x8") = reason_p;                         \
+do {                                                                   \
+       __asm__ volatile("svc %[id]\n"                                  \
+                        :                                              \
+                        : [id] "i" (_SVC_CALL_RUNTIME_EXCEPT),         \
+                               "r" (x8)                                \
+                        : "memory");                                   \
+} while (false)

Would be better here if you moved the x8 variable declaration within the
braces to limit its scope.

Is z_arm64_do_kernel_oops expected to ever return?

It is not. I'll remove the bl.

Would be better here if you moved the x8 variable declaration within the braces to limit its scope.

It makes sense. I'll fix that.

@nashif can we merge this?


Remove DIDKeyWrapper

Removes the DIDKeyWrapper from go.
Instead, GenerateDIDKey will now return a byte slice, which the clients can decode into JSON and use within the React Native world however they choose.

Codecov Report

Merging #14 (331d350) into main (dad24f6) will not change coverage.
The diff coverage is 87.50%.

@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   15.17%   15.17%
=======================================
  Files           4        4
  Lines         224      224
=======================================
  Hits           34       34
  Misses        179      179
  Partials       11       11

Impacted Files
Coverage Δ

sdk/src/ssi/did.go
22.22% <87.50%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Clicking on tab1 renders tab2?

Hey
I have two tabs in my application. Everything works fine initially but after tab2 renders then if I click on tab1 the view doesn't change, it remains on tab2. I put a console also and found out that If I click on tab1 it goes to tab2. Please help

can you give me a code example