Cannot use GPU when training?

Thanks for sharing your implementation. I am performing retraining Pasacal VOC using TitanX-pascal, tensorflow 1.2
./experiments/scripts/train_faster_rcnn.sh 0 pascal_voc vgg16

However, it does not use my GPU. What should I fix it? This is log.
[ascal_voc vgg16
+ set -e
+ export PYTHONUNBUFFERED=True
+ PYTHONUNBUFFERED=True
+ GPU_ID=0
+ DATASET=pascal_voc
+ NET=vgg16
...
+ CUDA_VISIBLE_DEVICES=0
...
Variables restored: vgg_16/fc7/biases:0
Loaded.
Fix VGG16 layers..
Fixed.](url)
Fix VGG16 layers..
Fixed.
iter: 20 / 70000, total loss: 2.053581
 >>> rpn_loss_cls: 0.359396
 >>> rpn_loss_box: 0.075710
 >>> loss_cls: 1.013913
 >>> loss_box: 0.604562
 >>> lr: 0.001000
speed: 10.618s / iter
iter: 40 / 70000, total loss: 0.747200
 >>> rpn_loss_cls: 0.649458
 >>> rpn_loss_box: 0.089711
 >>> loss_cls: 0.008030
 >>> loss_box: 0.000000
 >>> lr: 0.001000
speed: 10.501s / iter

This is issue of install tensorflow-gpu. I solved it by reinstall tensorflow-gpu
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.2.1-cp27-none-linux_x86_64.whl


[Summer of Code] Support switch role for ha service

What is the purpose of the change
We want unified log replication, using rocketmq's original HaService instead of dledger mode.
Previously, i have done the following job with @RongtongJin

Add statemachine mode for dledger: https://github.com/openmessaging/dledger/pull/128
Embed a strongly consistent controller based on dledger implementation in name-srv: https://github.com/apache/rocketmq/pull/4195

In this pr, I added a haService - AutoSwitchHAService that can switch role, this ha can cooperate with the controller to achieve master-slave switching
In the follow-up work, I will modify the code of the broker to fully realize the master-slave switch
Brief changelog
The ha service protocol is:

Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.5%) to 47.84% when pulling 860c0577e06b889be389723a9462221a7eba76ad on hzh0425:feature/auto-switch-ha into d26773a9ab181ce825dc465c900840f48e1ec6b8 on apache:5.0.0-beta-dledger-controller.

Codecov Report

Merging #4236 (a1eca58) into 5.0.0-beta-dledger-controller (d26773a) will increase coverage by 0.44%.
The diff coverage is 69.00%.

:exclamation: Current head a1eca58 differs from pull request most recent head 860c057. Consider uploading reports for the commit 860c057 to get more accurate results

@@                         Coverage Diff                         @@
##             5.0.0-beta-dledger-controller    #4236      +/-   ##
===================================================================
+ Coverage                            43.27%   43.72%   +0.44%
- Complexity                            6137     6250     +113
===================================================================
  Files                                  818      826       +8
  Lines                                57559    58466     +907
  Branches                              7852     7984     +132
===================================================================
+ Hits                                 24910    25565     +655
- Misses                               29412    29605     +193
- Partials                              3237     3296      +59

Impacted Files
Coverage Δ

...in/java/org/apache/rocketmq/common/EpochEntry.java
0.00% <0.00%> (ø)

...g/apache/rocketmq/common/utils/CheckpointFile.java
0.00% <0.00%> (ø)

...e/rocketmq/namesrv/routeinfo/RouteInfoManager.java
69.16% <ø> (+0.09%)
:arrow_up:

...ketmq/store/ha/autoswitch/AutoSwitchHAService.java
50.00% <50.00%> (ø)

...java/org/apache/rocketmq/store/ha/io/HAWriter.java
54.16% <54.16%> (ø)

...cketmq/store/ha/autoswitch/AutoSwitchHAClient.java
71.66% <71.66%> (ø)

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
76.47% <76.47%> (ø)

.../apache/rocketmq/store/ha/io/AbstractHAReader.java
79.31% <79.31%> (ø)

...org/apache/rocketmq/store/ha/DefaultHAService.java
67.46% <81.25%> (+1.43%)
:arrow_up:

...e/rocketmq/store/ha/autoswitch/EpochFileCache.java
82.96% <82.96%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


Don't use obsolete egrep

From grep 3.8 release notes https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html
  The egrep and fgrep commands, which have been deprecated since
  release 2.5.3 (2007), now warn that they are obsolescent and should
  be replaced by grep -E and grep -F.

It'd be nice if someone from the BSD side chimed in on this - what about OSX, FreeBSD, etc - is ergep and fgrep being obsoleted there?

I don't think it's obsoleted there, but grep -E should be identical on bsd as the gnu grep, I am not sure about osx.

Confirmed for FreeBSD and OSX (by looking at manpages).


Axis Labels binding not raising when property changes

Hello, thanks  for reporting, you are right even it is a dependency property it won't update becase the text in that TextBlock is not binded to this property (I forgot).

This should solve this issue, I have to say that I didn't test it, if it does not works please let me know.
Thanks again!

Thank you for the prompt response, although I was referring to the property Chart.SecondaryAxis.Labels, not the Title. Thanks.

I really don´t know what to say I have been thinking about this and I am not sure yet. I can´t see why this is needed. I would like to know a bit about what you are doing and why do you need this.
I just updated the code (https://github.com/beto-rodriguez/Live-Charts/commit/e9e1892252477f89e80bcdaf3dbdc5eb34f75c10) so now you can force a redraw without animating the chart, meanwhile you can call this method when your labels change.
chart.ClearAndPlot(false);

In a MVVM context, direct access to the chart (the view), would mean to break the pattern... I'm attaching a demo project with the expected behavior. thank you.
LC_Demo.zip

I merged your project so we can fix this, it is called LazyData, I already fix some important bugs, sadly I have not found why Labels are not updating, as far as I see Axis.Labels is a Dependency property and should update when you change your model since you are implementing INotifyPropertyChanged, but it does not. Do you have any clue why?
P.S. I also added a solution meanwhile we fix this, I know it brakes Mvvm but it’s just while we found the issue.
@gregsdennis I know you know the answer for this can you please help us here?
the labels should print if we remove this line
https://github.com/beto-rodriguez/Live-Charts/blob/master/LazyData/MainWindow.xaml.cs#L41

Sure, I'll take a look at it later tonight.

That line definitely need to be removed.  It's overriding the binding that's set in XAML.
@g1ga, if you set the property on the view model to be an ObservableCollection<T>, you don't need to set it again each time.  Instead just update the contents of the existing collection.  WPF will update the view as the collection changes.
@beto-rodriguez, the Labels DP in Axis has a dummy callback.  I think this may prevent the labels from being updated in the UI.  In an ordinary WPF app, this wouldn't be the case, but this library is a special case since you're redrawing the UI.  I think you're going to have to do that non-animated refresh you mentioned when this property receives a new value.
Let me know if that works for you guys.

Thanks @gregsdennis I will take a look at what you said

I just find it happened to me when first label is empty, cause GetLabelSize function then report 0

This should be fixed now with https://github.com/beto-rodriguez/Live-Charts/commit/ed5b5d6e8e6c00eb5169b95bfb86ebde4b628c92 the problem was actually really simple, PrimaryAxis and SecondaryAxis were not added in the chart visual tree, so when you wanted to run that binding, the DataContext was null all the time for Axis.Labels, I just pulled both inside the chart canvas, right now I am fixing some others new issues but this should solve this 100%, please let me know if it does not.

Ok, after some undesired bugs, bindings and Mvvm should now work much better, I fixed many bugs, I also added a "complex" Mvvm example so we can always test this in future versions
https://github.com/beto-rodriguez/Live-Charts/blob/master/ChartsTest/Line Examples/LazyDataLine.xaml.cs
Also for simple charts you will need to change a little bit the sintax. for more info go to
https://github.com/beto-rodriguez/Live-Charts/releases/tag/0.5.9


OAK-9145: Swap order of default filters

WordDelimiterFilter is invoked with the GENERATE_WORD_PARTS flag, which splits camelCase/PascalCase into multiple terms.  But since the LowerCaseFilter is applied first, the mixed-case is lost and the terms can't be split by WordDelimiterFilter.  Reversing filters so that behaviour occurs as expected.
I would have liked to add unit tests, but there didn't seem to be any around this class.  I may come back to add some.

I have made several attempts to add unit tests for this, but I'm really struggling to figure out how to add a fulltext test which uses an index with OakAnalyzer.  It would be awesome if somebody else in the community helped out with the unit tests.

JIRA issue was resolved WONTFIX.


"Flexible box model" CSS3 box-align and box-pack?

Do these deserve a place on the list? With box-sizing?
One of the things I'm excited about with CSS3 is the improved box styles for vertical alignment.

Those are old properties replaced with flex-align and flex-pack which we cover in flexbox.

Ah, it's under the "flexbox" - I missed it. Thanks!

added it as a search term. so that helps. https://github.com/h5bp/html5please/compare/59a3bea...ef8667a


pre-trained discriminator

Hi,
Some refinement methods use the trained discriminator for generating images. I am trying to apply these methods to DiffAugment to see whether it can improve the results.
May I ask if the authors can publish the pre-trained discriminators together with the pre-trained generator? I would appreciate it if the authors can share the pre-trained discriminator of ImageNet experiments.
Thank you in advance.
Ngoc

That compare_gan repo does not seem to support publishing the discriminator. Do you have references if BigGAN's authors have done this?


stm32f4 uart and adc enhancement

Added some features for the stm32f4xx MCUs

added UART1 dts config for PA15(tx) & PA10(rx)
added ADC driver:
simple stm32hal based ADC driver.
Channels configurable through menuconfig.
Pin config for ADC channels are done inside the driver. no connect to the pinmux so far.
ADC channel conversion time is fixed so far.
driver is an alpha

Codecov Report

Merging #8624 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8624   +/-   ##
=======================================
  Coverage   64.17%   64.17%
=======================================
  Files         429      429
  Lines       41161    41161
  Branches     6926     6926
=======================================
  Hits        26416    26416
  Misses      11587    11587
  Partials     3158     3158

Continue to review full report at Codecov.

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

Is this driver using the new ADC API that is in #7691

Hi @StefJar ,
Thanks for proposing this driver!
Some comments to begin:

There are some checks in CI that could block a PR, one them is that commit should contain at least a short comment
It would be better to split your changes into 2 PRs, one with ADC the other with pinmux UART change.
If you used HAL, your driver should be compatible with other STM32 series(when someone will have a try, made some changes and validate it), then this will be the only adc driver for STM32. Please remove  reference to keep it compatible with others.
Please use C standard comments (/* */) instead of C++ (//)

Thanks

I am happy to get some quick feedback on my first pull. I am new to zephyr and is infrastructure. Pls help me to understand.
So how to carry on?
@HAL:
to make this driver an STM32 one, there must me some SOC arch adds in the Kconfig.stm32f4. My knowledge of the whole SMT32 arch is limited. Now you can activate the ADC2 for arch were the unit is not available. This will break the compiling process.
@C/C++:
These are minor changes which I can do quickly.
@Split:
@CI: For what stands CI? Were should I do some comments?

@StefJar :

@hal:
to make this driver an STM32 one, there must me some SOC arch adds in the Kconfig.stm32f4. My knowledge of the whole SMT32 arch is limited. Now you can activate the ADC2 for arch were the unit is not available. This will break the compiling process.

You could define whatever ADC instance exist in whole STM32 family here.
Then, control of activated instance will be done from device tree.

@C/C++:
These are minor changes which I can do quickly.

Good, thanks

@split: shure
@ci: For what stands CI? Were should I do some comments?

CI is continuous integration. Whenever you push or update a PR automatics tests are performed. Some are done on style and some on code. Reports are provided by 'Shippable' down here: 'All checks have failed'.
For more information, you could have a look to :
http://docs.zephyrproject.org/contribute/contribute_guidelines.html
So you should provide some comment in the commit message (also, if you look to a git tree, you'll see all commits have a message)

Thanks for the feedback. I am on it.
In the meantime I changed the driver using the ADC interrupt. The communication via ISR and read function is done by a message queue. The OS polling on this is much better than the HAL timeout.
I will do some of the changes. The DTS combination seems to generate some extra work(because of lack of documentation how to do a driver and it's connection to other ones via dts)

done some of the changes. Major change is the switch to isr based adc conversion.

As @galak mentionned, ADC API (now merged into master) has significantly changed. This pull-request needs to be refactored on the new ADC API.
How specific ADC and UART drivers are to stm32f4? Should not they be specific to STM32?

I "unmerged" my stm32 adc driver out of my zephyr kernel after the last major adc driver api changes.
You can close the merge request.


Material

Resolves #115

thanks very much @Eugeno. could you test the new verison if I release a beta? I do not have any project using @mat-datetimepicker at the moment.

yep, I can test with my projects

checked common use cases, everything seems to be ok

thanks. I released 5.1.0 stable.


BUG: Plugin doesn't work in windows with folder with restrictive permissions

When using the plugin in Windows within a folder that contains subfolders with restricted permissions, the plugin attempts to open the folders using fs_opendir function https://github.com/nvim-neo-tree/neo-tree.nvim/blob/8c89efb93b8383666a6f989762c2f610f5f2c930/lua/neo-tree/sources/filesystem/lib/fs_scan.lua#L152.
However, this operation fails, and when print(vim.inspect(dir)) is executed, it displays "EPERM Operation not permitted" in addittion to return nil. Despite the error, success from pcall is still evaluated as true.
As a result of this issue, when the plugin tries to close the directory immediately after, https://github.com/nvim-neo-tree/neo-tree.nvim/blob/8c89efb93b8383666a6f989762c2f610f5f2c930/lua/neo-tree/sources/filesystem/lib/fs_scan.lua#L163 it raises an error. This error can be one of the following, depending on whether you ran nvim or nvim file:
[Neo-tree ERROR] debounce  filesystem_navigate  error:  ...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:165: bad argument #1 to 'fs_closedir' (uv_dir expected, got nil)

or
Error executing luv callback:
...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:165: bad argument #1 to 'fs_closedir' (uv_dir expected, got nil)
stack traceback:
        [C]: in function 'fs_closedir'
        ...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:165: in function 'get_children_sync'
        ...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:208: in function 'callback'
        ...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:180: in function <...ree.nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:171>

Shall we close this? @cseickel

yup


Find a replacement for AstRewriteVisitor in LibraryAnalyzer._resolveFile2

The purpose of the AstRewriteVisitor is to rewrite things that look like method calls into things that look like constructor calls (to support implicit constructor calls).  This visitor relies on resolution results, but we're calling it at a time that we haven't received resolution results yet.  I'm hoping that the visitor can eventually go away completely, because in the final design, the front end will know whether we're looking at a constructor call when it calls the factory, and it will call the appropriate factory method.

Mostly done in https://dart-review.googlesource.com/c/sdk/+/68004
There is still a failing test because of using raw element instead of Member.

https://dart-review.googlesource.com/c/sdk/+/68161 will fix the ConstructorMember problem.


Ontologies always set allows-only

In the ontology editor when giving a property the 'Resource' or 'Resource Array' datatype it sets the allows-only prop to an empty array, even when no resources are present in allows only. This means that no resource is valid for this property.

This is most likely caused by the new enum ui in the ontology editor


Mirror all app-sre tags since a given time, rather than specific tags

Which issue this PR addresses:
Fixes https://dev.azure.com/msazure/AzureRedHatOpenShift/_workitems/edit/16407158
What this PR does / why we need it:
Mirrors app-sre images since a given time automatically. This ensures that we have the versions in ACR to be tested or to provide bugfixes to customers without having to roll an RP release.
Test plan for issue:
Needs to be run manually,
Is there any documentation that needs to be updated for this PR?
N/A

I have some concerns with this approach:

We have to update the image tag we are deploying in the pipelines and the hive config for the dev environment, so I don't see why we can just update it in the mirror code, as we have been, in the same PR? I am not sure about MUO though.
We are trying to speed up the mirror pipeline and merging this functionality would mean that many more unused tags are going to be mirrored in the process, which is going to slow it down, even though we still have to update the tag anyway.
We also don't have to roll a new RP release to deploy the new image to the ACRs, we only have to merge to master and the next pipeline run will include the new image(s).

Due to the concerns raised, removing next-release


build: Update to header 1.3.230

Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 4942.

CI Vulkan-Tools build # 796 running.

CI Vulkan-Tools build # 796 passed.


Questions about GeoSearch

Amazing work! Great documentation, great examples, I'm loving it so far. ❤
Question about InfoBox : I am wondering how you make it work (in this example) without referencing InfoBox in your script?
Question about MarkerClusterer : I have been trying to add the MarkerClusterer with no success. Any tips?

https://github.com/algolia/places/issues/453#issuecomment-371224377
cc @philmarc

Question about InfoBox : I am wondering how you make it work (in this example) without referencing InfoBox in your script?

Actually we are using the InfoBox in the examples. It's just that we don't use Google Maps globally, in order to avoid to load the library on all the examples. So we created a simple wrapper around the InfoBox to allow the loading of Google Maps asynchronously.

Question about MarkerClusterer : I have been trying to add the MarkerClusterer with no success. Any tips?

We don't support the clustering out of the box with the built-in widget. For now you can use the connector API in order to implement your own rendering. You will have a full control of what is render. So you can easily plug the clustering support. You can find an example of an implementation with the connectGeoSearch connector in our documentation.

Thanks for the clear answers.
Here is snippet of my infobox, I am not sure it is the right way but it does work, if it can help someone.

var search = instantsearch({
  appId: xxx,
  apiKey: xxx,
  indexName: xxx
});

var o = new InfoBox({/*options*/});

var map = instantsearch.widgets.geoSearch({
  container: '#map',
  googleReference: window.google,
  customHTMLMarker: {
    template:  function(e) {
      return '
' + e.title + '
'
    },
    events: {
      click: function(e) {
        o.getMap() && o.close(), o.setContent('
' + e.item.title + '
'), o.open(e.map, e.marker)
      }
    }
  },
});

search.addWidget(map);
search.start();

Question about Places with GeoSearch:
I am now trying to display an Algolia Places search input to my geoSearch widget. I gathered that the Places script is already included in instantsearch.js, so I don't need to reference it.
But I am having hard times to understand how to implement it, could someone give me a simple example?
It could be nice if the examples had a little snippet to copy.

It could be nice if the examples had a little snippet to copy.

Yes, you are right we should provide some links & snippets for the examples. Thanks for your feedback! For now you can find all the examples on GitHub. Here is the code for the examples about the GeoSearch widget.

Question about Places with GeoSearch:
I am now trying to display an Algolia Places search input to my geoSearch widget. I gathered that the Places script is already included in instantsearch.js, so I don't need to reference it.
But I am having hard times to understand how to implement it, could someone give me a simple example?

Actually no Places is not provided with InstantSearch. You need to install it on your own and then use the widget shipped with the library to use it with InstantSearch. You can find more informations about how to use it & integrate it in the Places documentation. There are the lines that create the Places example with the GeoSearch widget.

@samouss -- Algolia is great and we're paying a ton of money for it. So, I don't think it's too much to have comprehensive examples all in one place with code snippets. The documentation is literally and figuratively all over the place. I'm trying to figure out how to add a geo search map to my site, and the example you provided above doesn't really fit the need. I looked on this page (https://community.algolia.com/instantsearch.js/v2/widgets/geoSearch.html), but the example is minimal and produces this error: "instantsearch.widgets.geoSearch is not a function". I'm honestly growing tired of trying to unravel other people's code just to get stuff done.
Any ideas of where I could find good examples, and why the code snippet from the widgets page does not work?

@vaughn-taylor I'm sorry that you have some issue with the GeoSearch widget. First of all thanks for your feedbacks, indeed you are right we should have code snippets or a guide that demonstrate the usage of the widget. All the sources of the examples in our widget showcase are available on GitHub, we know that it's not the best place for discoverability but for now it's the solution that we have.
About the error, you need to have the latest version (v2.6.0) of InstantSearch in order to have the widget available. If the problem persist you can do a small example, I'll be happy to help you implement the widget. We have a template available for the example to avoid your all the boilerplate part. You can find it on CodeSandbox.

@samouss, I appreciate your response and I may need your help. However, Algolia really MUST work on their documentation. If you are going to present pages like this: https://community.algolia.com/instantsearch.js/v2/widgets/geoSearch.html the examples on the page should be functional and link to fully executed examples. Again, my frustration comes from paying a premium price for the product, and not being able to easily implement it. I'm burning up time just trying to make things work instead of being able to implement the product for our customers.

Hi @vaughn-taylor have you been able to update the version of InstantSearch?
A guide is coming. Thanks for your patience.

@bobylito @samouss, yes I've updated to the most current version. I have a codepen here if you have time to take a look: https://codepen.io/vaughndtaylor/pen/2431919cc9a8547ab36c019add338392/?editors=1010
Basically, the idea is to have a map that is populated with the locations each provider works at. Some providers have 1 location, some have multiple, so _geoloc is an array in my data set.

Hi @vaughn-taylor thanks for the example it helps a lot to understand the issue. The first problem that cause the map to not showing up is that Google Maps requires to set a height on the element where the map will be attached. We don't provide a default value for this because it can be hard to override. By adding this line of CSS the map should be displayed.
#map {
  height: 350px;
}

But it will not display the results because the current widget doesn't support multiple locations for the _geoloc attribute. This is a limitation for now, I've opened an issue about that. A possible solution is to duplicate the records where you have multiple locations in order to have a single location for each of you records. Then you can use the distinct attribute to deduplicate your results. You can find more details about that in our documentation. With this data structure you will be able to use the Geo Search widget.

@samouss, I spent way too much time trying to figure this out -- this should have been in the documentation. Nearly 3 years ago (https://blog.algolia.com/geo-search-on-steroid/), Algolia touted the ability to pass an array of locations, so why is it not part of the widget?

You are right it should be in the documentation. We have added it in the requirements section of the widget. We know that we don't cover all the use cases. But this is the first version of the geo widget. We are gathering feedback about his usage, it will help us to implement the proper features in a next version.

@samouss how can we reference the map object created by the GeoSearch widget?

For the moment the only way to get a reference of the map instance is through the events listeners on the markers. The instance is provided as argument of the listener. We dot not provide a hook to access the instance directly otherwise. Could you give us a bit more context about your use case? It will help to better understand the issue and to find a possible solution. Thanks!

@samouss a simple use case is getting the geolocation from the user's device and doing a map center based on it. e.g. even a simple map.setCenter({lat: -34, lng: 151}); isn't possible with the current setup.
The biggest use case is the ability to have full control over the Places.js integration: it could function as a "zoom to location" from a map that starts out fully zoomed out (addressing this pull request: https://github.com/algolia/places/pull/554). It would allow you to process a search like "xyz near me".

For the first use case you can fetch the position from the device then mount the widget with the retrieved position. For the last use case we have already have an issue opened about the routing implementation. But I completely agree with you it could be handy to provide an access to the map instance (probably through an event). I've opened an issue about that.
For the moment a possible solution is to re-implement your own widget with the connector API. This API lets you have full control on the rendering. You can use the connectGeoSearch connector to implement the widget.

I'm closing this issue since it already covers different use cases. Please open a new one if you have other questions.


Better error message when edit settings

Better error message when edit settings results in admin user not being the same as existing admin user
https://github.com/rancher/rancher/issues/9690

@cjellick pls. review

LGTM


create-react-app does not work - shows no errors

Hello
I have following specifications :
OS : Windows 10 Home License
Node version : 12.13.1
Npm version : 6.13.1
Yarn version : 1.19.1
I tried following commands :

npx create-react-app project-name

npm install create-react-app -g
create-react-app project-name

yarn create react-app project-name

Each command gives me same output as shown below. There are no errors. It just shows done in x seconds.
Tried solutions given in following issue : https://github.com/facebook/create-react-app/issues/7105
Tried with different node versions using nvm.
But no luck.

It only creates following structure:

Any help is appreciated.
Thanks

Hi @gaurangdabhi, unfortunately this isn't enough information. When creating an issue, please follow the template - https://raw.githubusercontent.com/facebook/create-react-app/master/.github/ISSUE_TEMPLATE/bug_report.md
I can see your installation is halting at a certain point, before react-scripts initialises.
Could you please update with the information required as per the bug report template, and then ping me here?

test:
npm init react-app project-name, instead of
create-react-app project-name.
It worked for me.

Hi @gaurangdabhi, unfortunately this isn't enough information. When creating an issue, please follow the template - https://raw.githubusercontent.com/facebook/create-react-app/master/.github/ISSUE_TEMPLATE/bug_report.md
I can see your installation is halting at a certain point, before react-scripts initialises.
Could you please update with the information required as per the bug report template, and then ping me here?

I am facing the same issue
Please help me out to resolve this issue
Tried npm and yarn both
not able to create app successfully

Hi @all
Thanks for helping.
@rdivyashree it worked for me by doing following steps.
All I had to do was change the folder name from nodejs to nodejsx.
I have windows 10. And on the following path I have installed the node so I changed the folder name from:
C:\Program Files\nodejs
to
C:\Program Files\nodejsx
And the issue was solved. I tried with both npm and yarn.
I think it should work for you also.

#8012

As explained above
The issue is solved for me.
Thanks


[Bug] Fix ReconnectModal not showing up on Importing new apps.

Fix ReconnectModal not showing up on Importing new apps.

fixed and merged in release. Hence closing the ticket


Typo in set() example

Thanks for the PR @wchaering
But it's not a typo, it's something that's not well documented. The set method for objects accepts both inputs, and they are equivalent:
var updated = state.set( 'e', 4 );
var updated = state.set({'e': 4});

The first one is really useful for setting as key the value of another variable, for example:
var key = fullfillCondition ? 'foo' : 'bar';
state.set( key, 1 );

I'll add the second set form to the documentation for the next release.


Tx Port does not react to pause frames on 9.00 IxN Docker image

Reproducible using https://github.com/open-traffic-generator/ixnetwork/blob/test-pfc/tests/pfc/test_pfc_pause_e2e.py
LM: Novus 100G, 40G speed.
Issue does not reproduce against Windows 9.00 IxN API Server.

Recommendation is to use IxN Docker image 9.10+


Signal Event Definition

Similar to how we did it in https://github.com/bpmn-io/bpmn-properties-panel/commit/9b99bb9fae1b523428b92dab9c0941ec86f4d04c, I would implement signal in generic BPMN provider and then disable for zeebe manually


pattern examples either or

Does anyone have or know of any examples how to use either/or pattern matching expressions for NPS in Windows 2016?
I would like to add multiple clients (at least 5) in a single NPS network policy and each client needs to be able to authenticate.
x y   Matches either x or y.
https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-crp-reg-expressions

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

ID: be76aae5-dc86-e888-d16f-48d7e426874f
Version Independent ID: 470cc71b-a76f-c24a-1a21-7b520cdd3f56
Content: Use Regular Expressions in NPS
Content Source: WindowsServerDocs/networking/technologies/nps/nps-crp-reg-expressions.md
Product: windows-server-threshold
Technology: networking
GitHub Login: @shortpatti
Microsoft Alias: pashort

I use this for multiples IPs as follow:
^192.168.10.(2|25|101|102)$


Change BrowserHistory to HashHistory

Hi,
I want to use HashHistory instead of BrowserHistory, but the app always redirect me ...
Have you got a trick to by pass this thing ?
Thx :)

Unfortunately I can't help here, sorry.
I didn't use HashHistory yet and I likely won't do ever, as I think real paths are a way better thing than urls with hashes... but that's another story.


Docs for data_files differ from the general practice

Hi,
I was going through the docs for installing additional files when I saw that the example given contains /etc/init.d which requires sudo and is not recommended to use with pip(atleast I was told this)
It would be great if the confusion could be cleared and a clear instruction is added for a developer who wants to add the config files for the project on a a different path.
cc @buffer
Thanks

FTR - I'm the one who's told @kira0204 to not use sudo pip.
I'm personally not very familiar with the operation of data_files, on either pip's end or setuptools' end.


extending to a multiplatform support would be awesome

would be great seeing Dark-Basic-Pro running on GNU/Linux, OSX, BSD, Haiku, ArOS, Plan9, OpenIndiana, Android, UBports, etc.
how soon can we see it happening?
or will be a project fork needed instead of extending?
and i guess that directx support needs to be deprecated for allowing an easier multiplatform support?

That's correct. Dropping DirectX from DBPro would mean to rewrite the entire solution. That's far from happening at the moment. However, The Game Creators, developers of DBPro, already offer said solution. Its name is AppGameKit or AGK.
Check it out. It might be what you are looking for.
https://www.appgamekit.com/
Here are a few more related links you might find useful:
AppGameKit Chat
https://forum.thegamecreators.com/board/41
Newcomers AppGameKit Corner
https://forum.thegamecreators.com/board/55
AppGameKit Showcase
https://forum.thegamecreators.com/board/48
Have a good one!

@nitrofurano AGK2 it's getting closer to ware DarkBasic Pro was and with more option than DBP had


Table组件在filterDropdown使用DatePicker无法筛选

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>System: MacOSX
Browser: chrome99.0.4844.51
Reproduction Link: https://codesandbox.io/s/festive-dust-0v7nfk?file=/src/App.tsx

What is expected?
DatePicker能筛选日期
Steps to reproduce
点击日期筛选
选择日期

confirm 可以接收参数，立即触发筛选


Regex in annotations

Hell, i wonder is there any way to use regex in annotations?
I need to build an url inside annotation from its value.

Do you mean using a regex as a value for an annotation? If so I don’t think alertmanager supports that, but you should be able to generate a concrete value using Go templating in the alert rule

The problem I'm facing is that there are some annotations sent from prometheus which are then made into URL by the alertmanager template and sent via Slack.
I would like to build those annotations into URL in karma also.

Karma exposes data from alertmanager API, mutating annotations seems like a non-goal. If I read this right you’re having a partial value as the original annotation and rewriting that in slack receiver template.
I believe that the correct way is to generate final values in the alert rule, is that not possible in your case?

Yeah, that's what we will do.
Thank you for helping.


Ability to set resolution

Pictures taken using this library on higher end phones result in very big images (like 9MB). Is there any way to set the max resolution for capturing images?

@dwillmc


Artist is not saved for flac

I write with below code and found that the artist printed is correct, but not saved. Other info like album,title,photo,lyrics are saved. I checked with kid3 and found artist is empty, other fields are ok.
                    tag.set_artist(
                        self.artist()
                            .map_or_else(|| String::from("Unknown Artist"), str::to_string),
                    );
                    println!("artist is {} now", tag.artist().unwrap());

That's weird. Do you know if it works with Opus or Vorbis?

I can't reproduce this.
    let mut file = Probe::open("test.flac").unwrap().read(false).unwrap();

    let tag = file.primary_tag_mut().unwrap();

    tag.set_artist("test artist".to_string());
    tag.save_to_path("test.flac").unwrap();

I tested again with the opus and flac file from assets folder of lofty, again the artist is not saved for flac, but opus is fine.

For ogg the artist is saved too. I'm using git version #5808d44aa98ff0268ddcabb0ee4c91a93ecf5521 of lofty.

I commented out my code for saving lyric and picture, but didn't help. It's not related to flac artist saving.

I tested again with the opus and flac file from assets folder of lofty, again the artist is not saved for flac, but opus is fine.

I tested that file too, and had no issue. Can you send the file after using set_artist?

yes of course
a.docx
.

please rename the extension to flac.

Hm, it really is just not writing the artist. That's weird since the same logic is shared between Opus, Vorbis, and FLAC.

    let mut file = Probe::open("test.flac").unwrap().read(false).unwrap();

    let tag = file.primary_tag_mut().unwrap();

    tag.set_artist("test artist".to_string());
    tag.save_to_path("test.flac").unwrap();

Does this work? I was able to set the artist of that file with this.

Yes, I set artist successfully with the code you posted also.
So problem is here:
                if let Some(file_path) = self.file() {
                    let target_tag_type = match self.file_type {
                        Some(FileType::AIFF | FileType::MP3 | FileType::WAV) => TagType::Id3v2,
                        Some(FileType::APE) => TagType::Ape,
                        Some(FileType::MP4) => TagType::Mp4Ilst,
                        Some(FileType::Opus | FileType::Vorbis | FileType::FLAC) => {
                            TagType::VorbisComments
                        }
                        None => return Ok(()),
                    };

                    let mut tag = lofty::Tag::new(target_tag_type);

                    tag.set_artist(
                        self.artist()
                            .map_or_else(|| String::from("Unknown Artist"), str::to_string),
                    );
                    tag.set_title(
                        self.title()
                            .map_or_else(|| String::from("Unknown Title"), str::to_string),
                    );
                    tag.set_album(
                        self.album()
                            .map_or_else(|| String::from("Unknown Album"), str::to_string),
                    );

                    if !self.lyric_frames_is_empty() {
                        if let Some(lyric_frames) = self.lyric_frames() {
                            for l in lyric_frames {
                                tag.insert_text(ItemKey::Lyrics, l.text);
                            }
                        }
                    }

                    if let Some(any_picture) = self.picture().cloned() {
                        tag.push_picture(any_picture);
                        // if let Some(front_cover) = tag.get_picture_type(PictureType::CoverFront).cloned() {
                        // tag.push_picture(front_cover);
                    }

                    tag.save_to_path(file_path)?;
                }

I know that in some specifications the artist is a vector. Maybe the data is lost during conversion?

If I use Probe::open, it's ok. If I use Tag::new() . Artist is not written. Other fields are no problem.

If I use Probe::open, it's ok. If I use Tag::new() . Artist is not written. Other fields are no problem.

Ah, that was it. It should be fixed in https://github.com/Serial-ATA/lofty-rs/commit/b42b423c5084d6036124f0fac807311d1fb7c8a0. Could you try it out?

I tested with https://github.com/Serial-ATA/lofty-rs#075e0e692f2d6af96ae69d29d294a01085408778 and it works perfectly! Would you please publish a new version? Thanks.

I tested with https://github.com/Serial-ATA/lofty-rs#075e0e692f2d6af96ae69d29d294a01085408778 and it works perfectly! Would you please publish a new version? Thanks.

Thanks! I'll get this published tomorrow.

Thanks! I'll get this published tomorrow.


When using tiptap editor in filament Builder encountering an error when removing an element and saving

Filament Version
v3.1.1
Plugin Version
v3.2.7
PHP Version
PHP 8.1
Problem description
When editing a record that has a builder or a repeatable that contains the tiptap editor, encountering an error when trying to save or do something with the form after removing the tiptap element builder block (the document previously has to be saved with the builder element).
Do not encounter this error on v3.2.0, but appeared since updating to v3.2.7.
Example of document with the builder containing the editor:

Example with the block removed

Example of the error after clicking save

Expected behavior
Not to encounter an error, after removing a tiptap builder block.
Steps to reproduce

Create a resource that contains a builder that contains a tiptap editor.
Create a record with the single builder element
Save the record
Open the record again
Remove the builder block that contains the tiptap editor
Try to add a new builder block or try to save the document.
Should encounter an error.

Reproduction repository
No response
Relevant log output
No response

Can you update to Filament v3.1.18 and see if you still have the issue?
type is part of the Builder component and not the plugin. Could still be an issue with the plugin but need to make sure it's not an issue with core.

I have the same issue with Filament v3.1.18 and Plugin version v3.2.7.

@awcodes will try the filament update tomorrow, although don't see how that will affect things, since I started encountering the error after updating tiptap.

Tried updating to the latest version, still encountering the issue.

Thank you for checking, just wanted to make sure. Weird that the field would break the parent component though. I'll look into it.

Can you make a reproduction repo for me?
It's working fine in the builder in my test app.

I'm not sure if it fixes your issue as there's still a bug with alpine and nested entangled state. So I'll leave this open for now, but if the later release fixes the issue please close or let me know.
Thank you for your patience..

Updated today and the issue seems to be resolved. Thanks.


vm: transactions that can't cover max_gas

@lrettig

See discussion thread in #3272
@dshulyak did you want me to fill in this task?

We discussed this today and decided that, for this class of transaction, we should:

run verify
charge both intrinsic gas and as much of max-gas as possible (up to the full principal account balance), i.e., the tx should pay as much as it can
consume the nonce

@lrettig without trying to execute it?

@lrettig without trying to execute it?

There's no point in trying since (at genesis, with the fixed-gas regime) we know it will fail. Note that this is an optimization and in future when we enable variable gas, we will attempt execution.

is it true for multisig (self)spawn transactions? N is a variable defined specifically for spawn.
as i understand it actual gas will be charged based on actual N (for example 5), but max_gas has to be precomputed based on max N (10)

I think this is part of Wojtek's spec, @selfdual-brain would you mind weighing in here?

The formula provided by Lane seems to be wrong.
Let me clean-up the notation first:
tx is the transaction in question
'tx.maxGasis the max-gas calculated for this transaction by template-level methodparsePayload() tx.principalis the principal address of txtx.templateis the template oftx.principal'tx.method' is the method selector sealed into txGlobalState.gasPurseBalanceOf(address)- the GasPurse balance for given account COMPUTATION_COST(tx.template, tx.method)- is referring to a static table of computation cost (this table is a parameter of the protocol)STORAGE_COST_FACTOR: Int` - is a parameter of the protocol
Beginning of the pseudo-code is:
val fixedGas = COMPUTATION_COST(tx.template, tx.method)
val maxGas = fixedGas + tx.binarySize * STORAGE_COST_FACTOR
val balance = GlobalState.gasPurseBalanceOf(tx.principal)

Now, let me rewrite what Lane wrote above but this time using my new notation:
if (min(fixedGas, maxGas) > balance)
    consume(balance)
else {
    if (maxGas > fixedGas)
        consume(fixedGas)
    else
        consume(maxGas)
}

To understand why this formula is wrong, let me simplify it first. Please observe that because of the way we calculate maxGas, expression maxGas >= fixedGas is always true. Hence: min(fixedGas, maxGas) can be replaced by fixedGas.
The simplified Lane formula looks then:
if (balance < fixedGas)
    consume(balance)
else {
    if (fixedGas != maxGas)
        consume(fixedGas)
    else
        consume(maxGas)
}

This formula is wrong because it checks the actual balance only once. Now, let me derive the correct formula.
In general we have 2 numbers: fixedGas and maxGas and we know that fixedGas <= maxGas. In most general situation these numbers partition the space of non-negative integers into 3 intervals:

[0, fixedGas)
[fixedGas, maxGas)
[maxGas, Integer.MAXVALUE]

Caution: notice how I am using round and square brackets to deal with the ends of intervals
Required behaviour of gas consumption depends on finding out in which of these intervals the value balance actually landed. There are 3 cases:

case 1: balance landed in [0, fixedGas) - this means the balance was not sufficient to cover fixedGas
case 2: 'balance' landed in [fixedGas, maxGas) - this means the balance was sufficient to cover fixedGas but insufficient to cover maxGas
case 3: 'balance' landed in [maxGas, Integer.MAXVALUE] - this means the balance was sufficient

The agreed behaviour of our system is:

case 1: consume the whole balance (and apply the nonce); the execution result of this tx is "insufficient balance"
case 2: same as in case 1
case 3: consume maxGas (and apply the nonce); this is a successful execution of tx

In pseudo-code it looks like this:
if (balance < maxGas) {
    consume(balance)
    applyNonce(tx.nonce)
    registerResult(tx, ERROR_INSUFFICIENT_BALANCE)
} else {
    consume(maxGas)
    applyNonce(tx.nonce)
    registerResult(tx, SUCCESS)
}

The reason of long discussions around this topic was that there is another possible behaviour, which looks pretty resonable. Namely this one:

case 1: consume the whole balance (and apply the nonce); the execution result of this tx is "insufficient balance"
case 2: consume only 'fixedGas' (and apply the nonce); the execution result of this tx is "insufficient balance"
case 3: consume maxGas (and apply the nonce); this is a successful execution of tx

This variant was finally dropped, mostly because of arguments provided by @tal-m.

@selfdual-brain, thanks for the clarifications. Just two additional points:

val fixedGas = COMPUTATION_COST(tx.template, tx.method)
val maxGas = fixedGas + tx.binarySize * STORAGE_COST_FACTOR
because of the way we calculate maxGas, expression maxGas >= fixedGas is always true. Hence: min(fixedGas, maxGas) can be replaced by fixedGas

Your revised spec assumes both a fixed-gas regime, and that we control the behavior of all templates. My original proposed was intended to be more generic and address the future case where we allow user-deployed templates, in which case we cannot guarantee how a template chooses to calculate maxGas (and in particular it could be less than fixedGas or whatever intrinsic gas cost is calculated in a variable-gas regime). Your clarifications are of course perfectly reasonable as an optimization/simplification for genesis.

val fixedGas = COMPUTATION_COST(tx.template, tx.method)
val maxGas = fixedGas + tx.binarySize * STORAGE_COST_FACTOR

One further point regarding these values. You're still missing at least one value here, which is a fixed per-tx gas cost which covers not only the "computation cost" and storage cost, but also the cost of verify(), the "consensus cost", the bandwidth cost of transmitting the tx, etc. -- unless you intended for all of this to be included in COMPUTATION_COST (it would be helpful to see pseudocode for this as well).
For reference please see these snippets from go-ethereum:

https://github.com/ethereum/go-ethereum/blob/a9ef135e2dd53682d106c6a2aede9187026cc1de/core/state_transition.go#L117-L156
https://github.com/ethereum/go-ethereum/blob/a9ef135e2dd53682d106c6a2aede9187026cc1de/core/state_transition.go#L192-L363

COMPUTATION_COST table is the approach for Genesis only. Values in this table are fixed costs which cover:

consensus cost
verify() cost
method execution

Gotcha. But I think it's important to have a notion of intrinsic gas for all transactions, and for all time (not just for genesis).

I agree. But I assumed this will be decided after Genesis - ?

I think we have enough information to pick a reasonable intrinsic cost function now. Whether this goes into a "table" or is calculated on the fly per tx is a question of semantics.

i read it as we need to have intrinsic gas check for genesis, otherwise we will consume transactions that can't cover even intrinsic gas requirement. and it won't be consistent with https://docs.google.com/spreadsheets/d/1PNyKl4DuA17Ku85Ajl5A1lwkE9V7EXaYHJpkRxwyQ_U/edit#gid=0

@lrettig why do we even need to check if tx can cover intrinsic gas? normally transaction won't be included into the block if they can't cover max_gas. however it will be consumed if it was included and balance is insufficient (like discussed above). you say that we should not consume transactions that can't cover intrinsic gas, but when and why does it matter?
also if it matters, is it going to be the same for all transactions (e.g. protocol parameter)?


Unable to run nr.cli via netbox external pillar

My master config for external pillar is
ext_pillar:
  - salt_nornir_netbox:
      url: 'http://<IP_ADDRESS>'
      token: 'Ggy2Fww1BEy@#dFGvwIv%DB4q!5K@N#Gu2YztTjI'
      use_minion_id_device: False
      use_minion_id_tag: True
      use_hosts_filters: False
      use_pillar: True
      host_add_netbox_data: True
      host_add_interfaces: True
      host_add_interfaces_ip: True
      host_add_interfaces_inventory_items: True
      host_add_connections: True
      secrets:
        resolve_secrets: True
        fetch_username: True
        fetch_password: True
        plugins:
          netbox_secretstore:
            private_key: /home/asaharan/.ssh/id_rsa

My pillar on master looks like
hosts:
  test:
    salt_nornir_netbox_pillar:
      use_minion_id_tag: true
    groups: [netbox_connection]
nornir:
  actions:
    facts:
      args:
      - show version
      description: Learn device facts
      function: nr.cli
proxy:
  memory_threshold_action: restart
  memory_threshold_mbyte: 2048
  multiprocessing: true
  proxytype: nornir

groups:
  netbox_connection:
    connection_options:
      netbox:
        extras:
          instances:
            production:
              token: Ggy2Fww1BEy@#dFGvwIv%DB4q!5K@N#Gu2YztTjI
              url: 'http://<IP_ADDRESS>'

The command that I'm trying
salt nb_minion nr.cli 'show clock'

Error:
nb_minion:
    ----------
    test:
        ----------
        nornir_salt.plugins.tasks.netmiko_send_commands:
            nornir_salt:RetryRunner test - connection netmiko, retry attempt 3, error: ''device_type''

salt-nornir version
Name: salt-nornir
Version: 0.16.1
Summary: Salt-Nornir Proxy Minion SaltStack Modules
Home-page: https://github.com/dmulyalin/salt-nornir
Author: Denis Mulyalin
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.8/dist-packages
Requires: nornir, nornir-salt, psutil, pydantic
Required-by:

I could not find anything about device_type in the documentation

Probably devices somehow ended up without platform attribute, which is strange. Could you test it using latest release and also verify inventory content using nr.nornir inventory function. Also, maybe running proxy-minion in debug mode would help to collect traceback details.
Also, this pillar data is not required/supported:
hosts:
  test:
    salt_nornir_netbox_pillar: <--- remove this
      use_minion_id_tag: true

groups:
  netbox_connection: <--- remove this altogether
    connection_options:
      netbox:
        extras:
          instances:
            production:
              token: Ggy2Fww1BEy@#dFGvwIv%DB4q!5K@N#Gu2YztTjI
              url: 'http://<IP_ADDRESS>'

instead, to define per-proxy minion Netbox configuration:
salt_nornir_netbox_pillar:
  url: 'http://<IP_ADDRESS>'
  token: 'Ggy2Fww1BEy@#dFGvwIv%DB4q!5K@N#Gu2YztTjI'

Details in docs

This is not valid anymore. I'm able to make things work on v0.18.0


Please explain sound and microphone options

From manual
/microphone[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel]]
/sound[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel,][latency:latency,][quality:quality]]

Please explain those parameters
sys is clear - alsa or pulse
dev? what does it mean?
format? what are acceptable values?
rate? again - what are acceptable border values and what syntax
channel? what it means, please clarify
latency is clear - in milliseconds, lower = risky
what about quality? what are acceptable values?
Also - how are audio codecs working?
Do we specify prior run or freerdp chooses the most appropriate codec ?
Sorry for opening issue on this but I couldn't find those answers when researching, in man page or the wiki you got in git.
Thanks in advance for the answers.

@stilyan best ignore the options if you don't know what they do.
Should probably remove most of them as they don't make that much sense and are mostly confusing.

@akallabeth thanks, but I'm still having little distortions and robotic voice after https://github.com/FreeRDP/FreeRDP/issues/4309 while using Slack.
Connecting with just /mic and /sound = quality of my voice as reported from the other side is very bad
Connecting with
/mic:sys:alsa,format:1,rate:44100 /sound:sys:alsa,format:1,quality:high,rate:44100,latency:50
Is great improvement but still some distortions and robotic voice.
So I'm trying to figure out how to squeeze the highest quality possible out of this.

There are still some issues mostly with microphone (#4791, #4779) so I'd just skip all the options for /sound.
 Also check with /log-level:debug which codec is used for audin (the microphone channel) so that we know where to look.

@akallabeth thanks. I'll open new issue if necessary as the purpose of this one was to request documentation.
Here's output from --buildconfig
This is FreeRDP version 2.0.0-dev4 (5bddbd1cf) Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DIRECTFB=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=ON WITH_FAAD2=ON WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=OFF WITH_GSTREAMER_1_0=ON WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=OFF WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SSE2=ON WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=ON WITH_ZLIB=ON Build type:          Release CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls Compiler:            GNU, 7.3.0 Target architecture: x64
Following are several tries I did.
In those tests I used the Skype echo call to listen to my own voice and make a comparison.
In addition I did Slack calls with someone.

/sound /mic
Skype: Decent quality of recorded voice.
Slack: Very poor quality of my voice as reported from the other side. They say its crackling.
Log:
[15:07:38:276] [11053:11054] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin [15:07:38:281] [11053:11054] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin [15:07:57:509] [11053:11063] [DEBUG][com.freerdp.channels.audin.client] - microphone uses WAVE_FORMAT_AAC_MS codec
/sound /mic:sys:alsa,format:1,rate:44100
Skype: Decent quality of recorded voice. Just a little bit better than in previous try.
Slack: My voice is understandable but there are some side noises like static or something.
Log:
[15:18:44:711] [11099:11100] [INFO][com.freerdp.channels.audin.client] - Loaded alsa backend for audin :18:49:956] [11099:11108] [DEBUG][com.freerdp.channels.audin.client] - microphone uses WAVE_FORMAT_PCM codec

So as far as I can see ffmpeg is not being used ?
As far as I understood from https://github.com/FreeRDP/FreeRDP/issues/4309 I just needed to compile with the FFMPEG=ON
How should I proceed ?

@stilyan You have a weired build configuration (WITH_GSM, WITH_FAAC, WITH_FAAD, WITH_LAME are an alternative option to WITH_DSP_FFMPEG)
Anyway, you're using FFMPEG in your first example (WAVE_FORMAT_AAC_MS is used)
With the command line in 2. you're forcing the supported audio formats to PCM/WAV only, so no encoding necessary ;)

@akallabeth thanks, this is how I configured
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/home/stilyan/xfreerdp1 -DWITH_DSP_FFMPEG=ON -DWITH_FAAC=ON -DWITH_FAAD2=ON -DWITH_PULSE=ON
So I manually forced faac and faad2 thinking they must to go with FFMPEG as per https://github.com/FreeRDP/FreeRDP/issues/4309#issuecomment-415445619 , now after looking closely it's clear they are completely independent. Surely I'm missing the deep understanding that's needed here.
So since "format" option only restricts the supported formats there's no point in using it.
Please forgive if question is too incompetent but can I force the codec being used? Does it make any sense to do it manually?
What I'm thinking of doing next to try reaching the best possible quality.
Test build with DWITH_FAAC=ON only
I will forcibly turn off GSM, LAME
Since FAAD2 is a decoder and I'm hearing the other side well - should I include in build?

@stilyan You can only try to force a format by not announcing support for others.
If that format is also supported by the server it will be used, otherwise you'll have no working sound/mic.
Quality is mostly created by using a bandwidth estimation.
If you have sound issues there is not much use in playing around with other settings except trying to see if it works with the PCM codec.
(That one is the most simple, bandwidth hungry but universally supported one)
That way you know if the issue is

a Bandwidth issue
A codec related issue
A remote application issue
A local capturing issue

Closing this as it is mostly 'support'


Improve navigation (and more)

@paramat: it may be worth updating your forum topic to be similar to the patreon

Removed additions to donation section, as it is an unrelated change


feat(solid): add data fetch example

In Solid, data fetching can be done relatively easily using createResource.
Components using this can be suspended (using Suspense) which can show a fallback while loading.
Errors are trapped with an ErrorBoundary.
An alternative to using Suspense would be to replace this:
<Show when={users()}>

with
<Show when={data.loading} fallback={
Fetching users...
}>

and removing Suspense from the App component.
The difference between the two is that with Suspense both branches exist at the same time (even if not mounted).

Thanks Pablo 💯


Update simpletransform.md for better description of coordinate indexing

Image.crop(torch.Tensor(3, 5, 5),0,0,5,5) crop is a correct crop and the result is 3x5x5 tensor. The indexing starts with 0 and 5 is non-inclusive coordinate. The crop function is implemented in C, therefore the indexing is C-style. The width and the height is calculated by x2-x1 and y2-y1 and the indexing is starting with 0. Updating documentation for inconsistent indexing

Thanks


bug: MacOS word motion keys

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.2
Operating system/version
14.7
Describe the bug
Hi, I'm on Mac and would like to use the mac movement keys (opt+arrow keys, opt+delete, etc) when searching, renaming wiht inc-rename.nvim, or entering commands. I'm pretty sure wezterm is sending the correct escape codes.
Steps To Reproduce

Open nvim with noice.nvim on mac
Open the command input popup
Type two words
Press Opt+LeftArrow
Try again, this time using Opt+Delete

The popup will close.
Expected Behavior
The second word would be deleted. and the popup would remain open.
Repro
No response

This is a limitation of Neovim, not noice


Cheking Crypto, Dynamic Code Loading, Native and Reflection Code Existances?

Is the new version of Androguard supports is_crypto_code, is_dyn_code, is_native_code, is_reflection_code functions? I could not find.
System Information

Androguard Version: 3.2.0
Python Version: 2.7/3.5/...
Operating System: macOS

These got removed, as the whole tainted stuff is gone.
But they can be rebuild quite easily:
Collect a list of API methods you are interested in. For example, lets say you are interested in the usage of SMSManager, then you search for this method in the Analysis object and collect all xref_from:
for mca in dx.find_methods("Landroid/telephony/SmsManager;"):
    print(mca)

gives:
XREFto for Landroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager;
XREFFrom for Landroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager;
in
Lcom/elite/MyServices;:Lcom/elite/MyServices;->sendSMS(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V [access_flags=public] @ 0x55b84 @0xa

XREFto for Landroid/telephony/SmsManager;->divideMessage(Ljava/lang/String;)Ljava/util/ArrayList;
XREFFrom for Landroid/telephony/SmsManager;->divideMessage(Ljava/lang/String;)Ljava/util/ArrayList;
in
Lcom/elite/MyServices;:Lcom/elite/MyServices;->sendSMS(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V [access_flags=public] @ 0x55b84 @0x12

XREFto for Landroid/telephony/SmsManager;->sendMultipartTextMessage(Ljava/lang/String; Ljava/lang/String; Ljava/util/ArrayList; Ljava/util/ArrayList; Ljava/util/ArrayList;)V
XREFFrom for Landroid/telephony/SmsManager;->sendMultipartTextMessage(Ljava/lang/String; Ljava/lang/String; Ljava/util/ArrayList; Ljava/util/ArrayList; Ljava/util/ArrayList;)V
in
Lcom/elite/MyServices;:Lcom/elite/MyServices;->sendSMS(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V [access_flags=public] @ 0x55b84 @0x98

Or:
for mca in dx.find_methods("Landroid/telephony/SmsManager;"):
    print(mca.get_xref_from())

set([(<analysis.ClassAnalysis Lcom/elite/MyServices;>, <androguard.core.bytecodes.dvm.EncodedMethod object at 0x7f35455437d0>, 10)])
set([(<analysis.ClassAnalysis Lcom/elite/MyServices;>, <androguard.core.bytecodes.dvm.EncodedMethod object at 0x7f35455437d0>, 18)])
set([(<analysis.ClassAnalysis Lcom/elite/MyServices;>, <androguard.core.bytecodes.dvm.EncodedMethod object at 0x7f35455437d0>, 152)])

The old is_... methods had no complete lists of interesting APIs, so it is way better to collect your own list of APIs you are interested in.


OLH-2198-defra-dangerous-dog-index

Proposed changes

OLH-2198 Onboard Defra Dangerous Dox Index
What changed

Onboarded new service Defra Dangerous Dog Service
Checklists

Environment variables or secrets

[x] No environment variables or secrets were added or changed

Sign-offs

[ ] Design updates have been signed off by a member of the UCD team

moving to blocked awaiting prod id


iOS 대상으로 eas build 시 빌드에 실패하는 상황에 대해 도움이 필요합니다!

Description
안녕하세요. eas-cli를 통해 ios 빌드 시 문제가 발생하여 이것저것 시도를 해 보았는데 해결이 안 되어 도움을 요청드리고자 이슈를 남깁니다.
진행한 과정의 상세한 내용은 아래의 Steps to reproduce에 작성하였습니다.
eas build --platform ios --profile development 커맨드 실행 시 Run fastlane 스텝에서 아래와 같은 에러 때문에 빌드에 지속적으로 실패하는 현상입니다.
› Executing app » [CP] Check Pods Manifest.lock
› Executing app » Start Packager on http://localhost:8081
› Copying   ios/app/GoogleService-Info.plist ➜ ./GoogleService-Info.plist
› Copying   ios/app/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling app » SplashScreen.storyboard
› Preparing app » Info.plist
› Compiling app » noop-file.swift
› Compiling app » ExpoModulesProvider.swift
› Compiling app » main.m
› Compiling app » app_vers.c
› Compiling app » AppDelegate.mm

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:9:1)

   7 | //
   8 |
>  9 | @class RNKakaoLogins;
     | ^ unexpected '@' in program
  10 |
  11 | @interface RNKakaoLogins : NSObject
  12 | - (RNKakaoLogins *)returnSwiftClassInstance;

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:11:1)

   9 | @class RNKakaoLogins;
  10 |
> 11 | @interface RNKakaoLogins : NSObject
     | ^ unexpected '@' in program
  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
  13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
  14 | + (BOOL)handleOpenUrl:(NSURL *)url;

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:28)

  11 | @interface RNKakaoLogins : NSObject
  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
> 13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
     |                            ^ expected ';' after expression
  14 | + (BOOL)handleOpenUrl:(NSURL *)url;
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:9)

  11 | @interface RNKakaoLogins : NSObject
  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
> 13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
     |         ^ use of undeclared identifier 'isKakaoTalkLoginUrl'
  14 | + (BOOL)handleOpenUrl:(NSURL *)url;
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:38)

  11 | @interface RNKakaoLogins : NSObject
  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
> 13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
     |                                      ^ use of undeclared identifier 'url'
  14 | + (BOOL)handleOpenUrl:(NSURL *)url;
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:22)

  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
  13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
> 14 | + (BOOL)handleOpenUrl:(NSURL *)url;
     |                      ^ expected ';' after expression
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:9)

  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
  13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
> 14 | + (BOOL)handleOpenUrl:(NSURL *)url;
     |         ^ use of undeclared identifier 'handleOpenUrl'
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:32)

  12 | - (RNKakaoLogins *)returnSwiftClassInstance;
  13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
> 14 | + (BOOL)handleOpenUrl:(NSURL *)url;
     |                                ^ use of undeclared identifier 'url'
  15 | @end
  16 |

❌  (/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:15:1)

  13 | + (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
  14 | + (BOOL)handleOpenUrl:(NSURL *)url;
> 15 | @end
     | ^ unexpected '@' in program
  16 |

❌  (/Users/expo/workingdir/build/ios/app/AppDelegate.mm:47:11)

  45 | - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
  46 |       if([RNKakaoLogins isKakaoTalkLoginUrl:url]) {
> 47 |   return [RNKakaoLogins handleOpenUrl: url];
     |           ^ use of undeclared identifier 'RNKakaoLogins'
  48 | }
  49 |   return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
  50 | }

Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fmt' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Libuv-gRPC' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'BoringSSL-GRPC' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RCT-Folly' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Codegen' from project 'Pods')
    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'gRPC-Core' from project 'Pods')
 Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'gRPC-C++' from project 'Pods')
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/IntermediateBuildFilesPath/app.build/Debug-iphoneos/app.build/Objects-normal/arm64/AppDelegate.o /Users/expo/workingdir/build/ios/app/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'app' from project 'app')
▸ (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/IntermediateBuildFilesPath/app.build/Debug-iphoneos/app.build/Objects-normal/arm64/AppDelegate.o /Users/expo/workingdir/build/ios/app/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'app' from project 'app')
(1 failure)
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.211.0                 |
| sdk         | iPhoneOS16.2.sdk        |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Xcode Logs에서 에러가 발생한 마지막 부분은 아래와 같습니다.
In file included from /Users/expo/workingdir/build/ios/app/AppDelegate.mm:26:
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:9:1: error: unexpected '@' in program
@class RNKakaoLogins;
^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:11:1: error: unexpected '@' in program
@interface RNKakaoLogins : NSObject
^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:28: error: expected ';' after expression
+ (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
                           ^
                           ;
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:9: error: use of undeclared identifier 'isKakaoTalkLoginUrl'
+ (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
        ^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:38: error: use of undeclared identifier 'url'
+ (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
                                     ^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:22: error: expected ';' after expression
+ (BOOL)handleOpenUrl:(NSURL *)url;
                     ^
                     ;
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:9: error: use of undeclared identifier 'handleOpenUrl'
+ (BOOL)handleOpenUrl:(NSURL *)url;
        ^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:32: error: use of undeclared identifier 'url'
+ (BOOL)handleOpenUrl:(NSURL *)url;
                               ^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:15:1: error: unexpected '@' in program
@end
^
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:13:1: warning: expression result unused [-Wunused-value]
+ (BOOL)isKakaoTalkLoginUrl:(NSURL *)url;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/expo/Library/Developer/Xcode/DerivedData/app-gfczuwoxhhirjpelxqecjxyrawps/Build/Intermediates.noindex/ArchiveIntermediates/app/BuildProductsPath/Debug-iphoneos/kakao-login/kakao_login.framework/Headers/RNKakaoLogins.h:14:1: warning: expression result unused [-Wunused-value]
+ (BOOL)handleOpenUrl:(NSURL *)url;
^ ~~~~~~~~~~~~~~~~~~~
/Users/expo/workingdir/build/ios/app/AppDelegate.mm:46:11: error: use of undeclared identifier 'RNKakaoLogins'
      if([RNKakaoLogins isKakaoTalkLoginUrl:url]) {
          ^
/Users/expo/workingdir/build/ios/app/AppDelegate.mm:47:11: error: use of undeclared identifier 'RNKakaoLogins'
  return [RNKakaoLogins handleOpenUrl: url];
          ^
15 warnings and 11 errors generated.

warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fmt' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Libuv-gRPC' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'BoringSSL-GRPC' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RCT-Folly' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Codegen' from project 'Pods')
warning: Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'gRPC-Core' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'gRPC-C++' from project 'Pods')

Steps to reproduce

yarn add @react-native-seoul/kakao-login 실행
app.json에 아래와 같이 추가

    "plugins": [
      ...
      [
        "@react-native-seoul/kakao-login",
        {
          "kakaoAppKey": "${카카오 네이티브 앱 키}"
        }
      ]
      ...
    ]

expo prebuild 커맨드 실행
eas build --platform ios --profile development 실행

Snack or a link to a repository
https://github.com/sanspareilsmyn/lettre-v2
React Native Kakao Login version
5.2.6
React Native version
0.71.3
Platforms
iOS
JavaScript runtime
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes

저도같은 증상으로 며칠째 머리아파하고있는데요 ㅠ
어떻게 해결하셨어요?

@Benj846 해결 못 해서 webview로 구현했습니다

저도 동일한 오류를 겪다가 AppDelegate.mm 에서 #import <RNKakaoLogins.h>를 파일 상단에 이동시키고 빌드 돌리니 해결되긴 했습니다!

저도 동일한 오류를 겪다가 AppDelegate.mm 에서 #import <RNKakaoLogins.h>를 파일 상단에 이동시키고 빌드 돌리니 해결되긴 했습니다!

eas build --local사용하셨나요?
저도 동일하게 했는데 안되더라고요
eas build profile 공유 부탁드려도 될까요?
eas 안쓰고 xcode 빌드 할때는 문제없이 되긴하는데 eas 로 해결하고싶네요 ㅠ

저도 동일한 오류를 겪다가 AppDelegate.mm 에서 #import <RNKakaoLogins.h>를 파일 상단에 이동시키고 빌드 돌리니 해결되긴 했습니다!

eas build --local사용하셨나요? 저도 동일하게 했는데 안되더라고요 eas build profile 공유 부탁드려도 될까요?
eas 안쓰고 xcode 빌드 할때는 문제없이 되긴하는데 eas 로 해결하고싶네요 ㅠ

https://github.com/crossplatformkorea/react-native-kakao-login/issues/326#issuecomment-1326594581
저는 위 링크를 참고했습니다.

overrideKakaoSDKVersion: '2.11.1' 으로 버전 변경 (SDK 버전에 따라 kotlinVersion: '1.5.20' 이상으로 변경해야 할 수도 있습니다.)
npx expo prebuild --clean
cd ios & npx pod update KakaoSDKAuth KakaoSDKCommon KakaoSDKUser
AppDelegate.mm의 **#import <RNKakaoLogins.h>**의 위치를 상단으로 이동
eas build --profile development --platform ios


High CPU consumption while menu is opened

CPU usage (reported by simulator) is near to 100% when the menu is opened even though there is no other activity (neither user activity nor "animation in progress").
In my application logs I can see that the applications keep re-rendering. (I have MenuContext at the application root as advised in documentation).
Another note: I can observe small lag between clicking of MenuTrigger and till the menu is opened. Might or might not be related to suboptimal CPU consumption.

this story is likely to be related to https://github.com/jaysoo/react-native-menu/issues/9

@sodik82 Thanks for reporting. Just published `0.19.0 that solves this issue.

unfortunately it seems that my issue was not resolved by the fix. Still hitting 100% CPU.

having the same issue. When menu is open render function call itself again and again


Should we have an extended dockerfile header and skip the readme ?

The last few days I've been busy creating new genomics packages in the sandbox and I came to a conclusion.
Instead of having a README.md file for each container repeating the information that is already available in the header of the dockerfile, why not extend the header with more information and skip the readme?
The advantages are:

you don't have to update the readme every time you update an package
the header of a dockerfile is always synchronized with its own content
if the header always follows the same format we can easily parse it
we can create a "dynamic" (global) readme in the root of the repository containing the header of all dockerfiles present

i've created 2 more experimental fields in the header of the dockerfile:
provides - list of provided programs (important if more than one)
tags - tags such as genomics, proteomics, etc
I propose to add more fields:
software website: source website
/cc @BioDocker/contributors

we decided t the hangout meeting (Oct, 2) that the README files will be removed and the Dockerfile will be extended.

Oo, there was a hangout meeting?

@bgruening yes. we advertised it in gitter. is there a better way of contacting you? we should have such meetings every other week.
you can find the minutes of the meeting here:
https://docs.google.com/document/d/1pRLDhIAq5_tXaT0086zyJW0OfJAdVyNi0da-1VPpYqI/edit?usp=sharing

I would prefer a new issue with the announcement. I think this is the most visible way to get people involved. I'm not following gitter yet. Yet another proprietary messaging service :(
Thanks, for the minutes!!!

When is the next meeting. I would really like to talk to you guys :)

Next meeting was schedule in two weeks, next week. but please be aware that we can do weekly meetings if you want to advance an specific topic and you need the opinion of other members.

yes, we can schedule a weekly meeting as well.
On Mon, Oct 5, 2015 at 8:57 AM Yasset Perez-Riverol <
<EMAIL_ADDRESS>wrote:

Next meeting was schedule in two weeks, next week. but please be aware
that we can do weekly meetings if you want to advance an specific topic and
you need the opinion of other members.
—
Reply to this email directly or view it on GitHub
https://github.com/BioDocker/biodocker/issues/36#issuecomment-145519726.

In two weeks is ok for me. Just wanted to discuss a few points and tell you what my plans are. We also have a master student that is eager to help us here (automatic container building and testing).

These are great news, if we add more people we will be able soon to growth. Then, lets talk next week.


[DRFT-733] Make drift service names consistent within clowder envs

Secure Coding Practices Checklist Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[ ] Input Validation
[ ] Output Encoding
[ ] Authentication and Password Management
[ ] Session Management
[ ] Access Control
[ ] Cryptographic Practices
[ ] Error Handling and Logging
[ ] Data Protection
[ ] Communication Security
[x] System Configuration
[ ] Database Security
[ ] File Management
[ ] Memory Management
[ ] General Coding Practices

Codecov Report

Merging #173 (9e5ed4a) into master (209c0c9) will increase coverage by 25.87%.
The diff coverage is 71.46%.

@@             Coverage Diff             @@
##           master     #173       +/-   ##
===========================================
+ Coverage   50.14%   76.01%   +25.87%
===========================================
  Files          13       23       +10
  Lines         357      663      +306
===========================================
+ Hits          179      504      +325
+ Misses        178      159       -19

Impacted Files
Coverage Δ

clean_expired_records.py
0.00% <0.00%> (ø)

historical_system_profiles/mgmt_views/v0.py
100.00% <ø> (ø)

kafka_listener.py
0.00% <0.00%> (ø)

standalone_flask_server.py
0.00% <ø> (ø)

wsgi.py
0.00% <ø> (ø)

..._system_profiles/notification_service_interface.py
35.00% <35.00%> (ø)

...ical_system_profiles/baseline_service_interface.py
44.44% <44.44%> (ø)

historical_system_profiles/archiver.py
57.50% <57.62%> (+57.50%)
:arrow_up:

...torical_system_profiles/drift_service_interface.py
66.66% <66.66%> (ø)

historical_system_profiles/db_interface.py
78.68% <76.00%> (+12.02%)
:arrow_up:

... and 30 more

Continue to review full report at Codecov.

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


Ascii tree logging

Builds on top of #1 and fixes #2.
This follows the desktop implementation.
Example of output:
+ root________ ((Folder; Age = 0ms)
| + toolbar_____ ((Folder; Age = 0ms)
| | + folderAAAAAA ((Folder; Age = 0ms)
| | | - bookmarkFFFF ((Bookmark; Age = 0ms)
| + menu________ ((Folder; Age = 0ms)
| | + folderCCCCCC ((Folder; Age = 0ms)
| | | + folderDDDDDD ((Folder; Age = 0ms)
| | | | - bookmarkGGGG ((Bookmark; Age = 0ms)
Deleted: []

Note: itertools is used to allow join() on iterators.

Rebased and merged manually. 😄 Thanks, @eoger!


node-http-watch-pipeline-activity to 0.0.1

Promote node-http-watch-pipeline-activity to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Added travis ci support

Thx for the PR. I currently have not sufficient rights to activate travis CI for this repo, but I've written @jtangelder a message.

I've enabled travis! Small setup at https://github.com/jtangelder/sass-loader/pull/276

I think @jtangelder 's PR is sufficient for us. Thx anyway @amilajack 👍


ImagePickerWeb.getImage(outputType: ImageType.file);

Sorry man I try to use you lib but when I try to get file name from picked file I got a problem.
The result html.File contains "name" property but this contain only the filename and not the full path, also the "relativePath" is always empty.

Yip, relative path is empty. Anyone know why?

Debug shows:
:<getObject: NoSuchMethodError: The getter 'uri' was called on null.>
When doing:
Future _getImgFile() async {
html.File infos = await ImagePickerWeb.getImage(outputType: ImageType.file);
setState(() => _imageInfo = 'Name: ${infos.name}\nRelative Path: ${infos.relativePath}');
print(_imageInfo);
}

Just tested the example in a Chrome browser and everything works fine, could you please provide the output of your flutter doctor -v. Here's mine of you want to compare:
[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [version 10.0.19042.928], locale fr-FR)
    • Flutter version 2.0.4 at C:\src\flutter
    • Framework revision b1395592de (2 weeks ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Guillaume\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: D:\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at D:\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.128
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 89.0.774.77

• No issues found!

About the relative path being empty it is likely that it is because of how browsers' security work as you don't have access to the file-system, while you are able to read some data everything is not available.


Inquiry about extraction URL issues

As I said, it was first corrected.
But I get the below error.
480p video url is an address that is extracted but not connected.
https://r8---sn-3u-bh2sr.googlevideo.com/videoplayback?expire=1590570438&ei=ZtnNXrPgOKWjlQTF56Ag&ip=<IP_ADDRESS>&id=o-AIlnAZ7t0PQGLeRvOvdrn9kV5wirCWilqmLS64ED7g5f&itag=135&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=yt_otf&requiressl=yes&mh=2C&mm=31%2C26&mn=sn-3u-bh2sr%2Csn-i3b7knld&ms=au%2Conr&mv=m&mvi=7&pl=16&initcwndbps=1152500&vprv=1&mime=video%2Fmp4&otf=1&otfp=1&dur=0.000&lmt=1590462598992722&mt=1590548734&fvip=5&keepalive=yes&fexp=23882513&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cotf%2Cotfp%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgI-rBeVSDdIt9PQyYRvjJoWaANyVEK9Nx4cXy4qgX3boCIQDuyMDNFLoYbzi7TOTEb2yDGPo5HEJM8H7Wi66TceXkmg%3D%3D&sig=AOq0QJ8wRAIgPlZhdqDDiGV__16ZLB-SdXZl-ivqb6-YLVmDT4e30r8CIAYRdJUUL08ZSdYB3bR6m1bEMG_YYQg60SsUzF1ilkWY
com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404

@yyms3275 Hi, I am also facing the same issue, did you got any solution to fix this?

@yyms3275 Hi, I am also facing the same issue, did you got any solution to fix this?

Hi
I didn't solve the problem on this part either.
Instead, it was temporarily processed by filtering the timeless video and excluding it from the playable list.

@yyms3275 Hi, I am also facing the same issue, did you got any solution to fix this?

Hi
I didn't solve the problem on this part either.
Instead, it was temporarily processed by filtering the timeless video and excluding it from the playable list.


Updated CONTRIBUTING.md

Copy-pasted the text from the Gilt repo and edited. )

thanks Lauri! going to get a bit more feedback from the core team and also we'll need to add a maintainers file as referenced if we proceed

Sure, @mbryzek. :)

Hey, how's it going with this PR? :)

closing due to age