<EMAIL_ADDRESS>

Hello @jmillikin, modules you maintain (sqlite3) have been updated in this PR. Please review the changes.


Support SSL DB Connection Configs

MySQL database connections can support SSL Connections using the sslca, sslkey, sslcert, sslcapath, and sslcipher configuration parameters (see http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/MysqlAdapter.html). I'd like to go ahead and add support for these to the database template.

If you look, there isn't (really) a template anymore. All config options from the database block/hash are in the final Yaml.

Specifically https://github.com/poise/application_ruby/blob/master/chef/templates/database.yml.erb is the database template now.


fix dependencies typo

fix #79

new version: https://www.npmjs.com/package/consola/v/2.15.3

I also have the same problem.

Hi, The 0.7.2 version of consola cannont be found.


Improve HTTPRoute processing at scale

It takes ~7 hours to run the HTTPRoute scale test, which creates 1000 HTTPRoutes sequentially.
This test waits for the previously created HTTPRoute to be configured (available in NGINX) plus 2 seconds before creating the next HTTPRoute. Testing revealed that the longer we wait before creating the next HTTPRoute, the faster NGF processes the HTTPRoute. See this graph for more details.
Some contributing factors to the long processing times are:

NGF re-queues HTTPRoutes after updating their statuses.  See #1013
NGF writes the status for every HTTPRoute in the graph on every configuration update.  See #825
NGF status updater is synchronous which slows down the event loop: See #1014

This means if you have 99 HTTPRoutes configured and you create 1 more, NGF will update the configuration with this new route and then sequentially update the status of all 100 HTTPRoutes in the graph. Then, NGF will re-queue all 100 HTTPRoutes and process them again -- resulting in no configuration changes.
This situation can intensify if more HTTPRoutes are created while NGF is processing the last event batch or writing statuses. A new HTTPRoute can end up at the end of a large event batch that's full of no-op status changes.
Acceptance Criteria:

Investigate why the processing times for the HTTPRoute scale test are so long. The contributing factors listed above may not be the only factors.
Reduce the time it takes to process HTTPRoutes at scale. This can be measured by running the HTTPRoute scale test and comparing the results to the 1.0.0 results.

This looks to be pretty significant and have overall unintended consequences of slowing down change processing - or at least giving that appearance.
Customers expect configuration change to happen in a millisecond / second timeframe - no matter when those changes are submitted.  And expect the status updates to align.


Extend all plotting functionalities to sprint races

Changes required should not be too substantial beyond changing function signatures and pre-processing steps.
Need to find a way to not require re-processing already cached data

Done in #41


The indent of the first line code in almost every code block is still there.

The markdown file seems to be fine, but somehow it doesn't display well in the rendering result.
Please check the docs and do something for it.
Originally posted by @NevenLeung in https://github.com/discountry/react/issues/267#issuecomment-423657985

https://react.docschina.org/docs/typechecking-with-proptypes.html

In the screenshot, it seems no indent at the first line, but the render result with a indent.


More easy tasks

[ ] Make landed state trigger properly (you can see in the graph on the readme, it triggers prematurely while the rocket is still falling)
[ ] Fix/Improve/Add unit tests (the more good quality ones, the better)
[ ] Find any places in the code that need to be commented better (if you don't understand it after thinking through it moderately hard, it's not good enough)
[ ] Find any variable, method, or class names that need to be improved (naming is key, maybe some names don't make sense right away)

[ ]  Make landed state trigger properly (you can see in the graph on the readme, it triggers prematurely while the rocket is still falling)

You mean to just change the constant at which it landedstate is triggered? Right now it considers it landed if it's within 15m of the launch site's height. Set it too low, and it might not trigger if it lands at an higher elevation, set it too high, and it triggers too early. IMO we can go down 7m, but then again I don't know the launch site topography at Huntsville.
Ideally we would also check the speed and/or acceleration (zero)

Yeah I wouldn't just change the constant, probably also do something based on accel -- that being said, it's up to whoever does this to test it against multiple data sets and what not to ensure it works


Update icon stroke width

@kdcro101 I see you're slow to respond, but just how slow? Should I expect this to ever be merged? The last update on this repo was last year and it is almost 2024 now; at some point I will just fork the extension


Disable layout on a per-page basis

I have a project where one file needs to be XHTML, and all other HTML (all built files need to have extension  .html though). I'd like to be able to disable the layout for the one XHTML page.

Hi @evanmiller, you can now create a nolayout variable in page yaml and the page will render without the layout.
---
nolayout: true

The value can be anything, the variable just needs to be defined.

Works great, thanks!


how can I use the docker image of  "openbridge/ob_php-fpm"

I don't understand how I can make connection between nginx container and php-fpm container.
I did set as bellow
NGINX_SERVER_NAME = a.com www.a.com
NGINX_APP_PLUGIN =
NGINX_CONFIG=php
NGINX_BAD_BOTS=true
NGINX_DEV_INSTALL=true
PHP_FPM_UPSTEAM=localhost:9000
REDIS_UPSTREAM=redis:6379
NGINX_PROXY_UPSTREAM=localhost:8080
NGINX_DOCTOO=/usr/share/nginx/html
NGINX_CDN_HOST=a.com
I couldn't test with localhost mysql till now...
I need your advice bro.. :)

Do you have a docker-compose for all the services? It is hard to comment on only an ENV file for Nginx. Without understanding your topology for your environment I can't provide suggestions.


Adding CORS file (allow all) and updating build-code to copy it to th…

…e build file. Fixes #29 - 🐙

@joeldenning discovered that this is a pro feature of surge. We'll probably have to unmerge this.


use mockito junit extension instead of using @BeforeEach

also some reformatting in ProcessorsTest

Codecov Report

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

@@            Coverage Diff            @@
##             master      #33   +/-   ##
=========================================
  Coverage     92.08%   92.08%
  Complexity      658      658
=========================================
  Files            83       83
  Lines          1807     1807
  Branches         80       80
=========================================
  Hits           1664     1664
  Misses          110      110
  Partials         33       33

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 e2304c4...7f6746b. Read the comment docs.


Using sensor 'attributes'

I wish to be able to use an attribute of a sensor entity for the 'text' type..
I have a climate.air_con entity, and I wish to display its 'current_temperature' attribute on the wall in my 3D model. I can not see a way to access 'current_temperature' using your card. I am aware I could make a template sensor for this, but I believe it's overkill.
Can you provide a way to specify which attributes to use?

Live data representation +1

Added support for the 'attribute' parameter for the text entity, In future releases, I will try to promote it to the entity level to make it work for all other entity types where it make sense

Does it work like this:
type: custom:floor3d-card
entities:

entity: sensor.lywsd03mmc_humidity_1
type3d: text
text:
font: '100'
textbgcolor: blue
textfgcolor: yellow
attribute: sensor.lywsd03mmc_humidity_1
object_id: wall_11_64
object_groups:
object_group: ''
name: Sample
path: /local/home/
objfile: userGuideExample.obj
mtlfile: userGuideExample.mtl
The temperature sensor has data but the model only shows color.

In the attribute parameter, you should put the name of the attribute you want to show not the name of the entity. As an exmple if you put a light entity called light.lvinig in the attribute you can put something like 'brightness'

In the attribute parameter, you should put the name of the attribute you want to show not the name of the entity. As an exmple if you put a light entity called light.lvinig in the attribute you can put something like 'brightness'

Even so, it is only showing Black color.

Is atttibute "Power" (capital p) or power. The impression is that it does not find the attribute. Also the text is better suited for plane objects. I've never tested it in no plane objects

@wishie
If you want to get something like this

I can share you the way I've done it.
Cheers,
us

There was a bug in the version I've loaded, nevertheless the text entities should be applied to plane objects (frames, tvs, laptop screens, walls, etc.) the result on curved object is unpredictable.

Please test the behaviour in v1.1.5 (new), but please avoid the use of non-plane objects for the text entity

Turns out that I didn't set attributes in the ESPhome device entity.

So is it now working as expected ? Can we close the issue ?

@uspass
I'm totally interested, can you please share how you make it?

Sorry for breaking into the thread.
In version 1.1.5 I can confirm this is working.
With pure sensor data
  - entity: sensor.car_soc
    type3d: text
    object_id: Box_Car1_Charge_2
    text:
      textfgcolor: black

With attribute
  - entity: climate.entre
    type3d: text
    object_id: Box_Car1_Charge_2
    text:
      textfgcolor: black
      attribute: current_temperature

With template
  - entity: sensor.car_soc
    type3d: text
    object_id: Box_Car1_Charge_2
    entity_template: '[[[ if ($entity > 50) { "OK" } else { "Charge me" } ]]]'
    text:
      textfgcolor: black

@Luke888888 @adizanni Thanks, it works.

Ok so closing as implemented.

@wishie
If you want to get something like this

I can share you the way I've done it.
Cheers, us

It's not working for me even though I followed @Luke888888 examples. I have to mention that I'm using version 1.1.11. Is it possible that something changed in the meantime?
Please find my code bellow:
- entity: climate.garage
type3d: text
object_id: wall_13_5
text:
textfgcolor: black
attribute: current_temperature

Can someone help me, on  text, my temp displays for a seconf them goes blurred ???

YHello @pressurejets, you need to create a frame object in sweethome3d and put your text on top of it using the text entity giving a background and foreground color. I ve never experienced blurry text unless you have some texture on the object you want to write text on .....


Flank v20.09.0 404 not found

Hello there, our Bitrise CICD is currently running into trouble downloading the newest update of flank.jar.
+------------------------------------------------------------------------------+
| (10) flank                                                                   |
+------------------------------------------------------------------------------+
| id: flank                                                                    |
| version: 0.1.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2020-09-01T14:52:41Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Config:
- ServiceAccountJSON: *****
- ConfigPath: ./edeka2020/flank.yml
- Version: latest
- CommandFlags:
Downloading binary
Failed to download binary, error: http GET https://github.com/Flank/flank/releases/download/v20.09.0/flank.jar non success status code: 404

We saw this yesterday already and thought that wait and drink tea might solve the issue, because of the new release but seems to be still an issue today.
Thanks
Alex

Hello, thanks for your feedback. Our release action is broken and we working on a fix.

Which Flank version is stable for usage? Since #1073 20.08.4 seems to have problems too

Hello, snapshots and release processes working now.
https://github.com/Flank/flank/releases
We have released v20.09.0
Thanks for your patience!


Cycleway:both is ignored

URL
No response
How to reproduce the issue?

Select a road with cycleway:both=*
The tagged cycleway is not displayed under "bike lanes"

Screenshot(s) or anything else?

This may be confusing to newcomers who may not think to look at the tags themselves.
As a side note, cycleway:both=* may be a better default tagging than cycleway=* as it specifies that a cycleway is in fact on both sides, similar to how the user fills in left and right in the iD interface.
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
No response
Which browsers are you seeing this problem on?
No response

Q: does Right side / Left side=none in the above screenshot affect this?

Q: does Right side / Left side=none in the above screenshot affect this?

No, the iD preset seems to do nothing with it at all

Using the iD preset to add the lane results in double tagging.
Adding only one side also leaves it unaffected:

And then setting both sides to none in the preset leaves no cycleway=* tag, but the cycleway:both=lane remains unaffected.

In addition, cycleway=* does not always mean cycleways on both sides: on oneway streets cycleway=* implies cycleways on the main driving direction, so it is incorrect for iD to be showing bike lanes on the left and right side on a oneway road in this case.
(let me know if this is an issue better suited for https://github.com/openstreetmap/id-tagging-schema)

In https://github.com/openstreetmap/iD/pull/9423 @tyrasd refactored the "special field" cycleway to be reusable for eg parking (https://github.com/openstreetmap/id-tagging-schema/pull/674).
However, the new directionalCombo does still need to handle the :both and :<null> case.
Possible solution:
The special field could always show the left + right option. However, the raw tags view would show the actual tags.
iD could then translate the tags automatically. (Raw tags has ":both=foo" => the field show "left=foo, right=foo". A user can change one side to "foo2", and raw tags would change to ":left=foo", ":right=foo2". The other way around, when a user picks the same value for both side in the special field, the raw tags shows ":both". — Reminder: ": + oneway=yes" case needs to be treated differently, unfortunately.
Another approach would be to extend the special field with a UI element to toggle between :both and :left+:right. In this case, the :<null> case would be both and the :<null>+oneway=yes would need a special label.

I found another issue with the current Cycleway-Preset-Field:

highway=* (+ oneway=no) + cycleway=lane show the Cycleway-Preset-Field with "left"+"right" filled in as lane.

In the same way, when I add cycleway "left"+"right" to a new highway and use the same value, this is tagged in "Tags" as `cycleway=*", no left, right or both.
AFAIK that is right how the community wants it. (I would prefer to have the explicit :both…)

highway=* + oneway=yes  (+  oneway:bicycle=yes)  + cycleway=lane show the Cycleway-Preset-Field with "left"+"right" filled in as lane.

However, my understanding that this should not be interpreted as "left"+"right" is lane, but as "right in direction of traffic is 'lane'". The other side is an implicit "no".
I think the magic that merges left+right into cycleway:<null> should not apply here, but leave the explicit values.
(I really wished this where easier for editors … but given the current state of community discussion, I don't think it's realistic to simplify the tagging recommendations.)


Add zsh completion for new 'docker daemon --cluster-store-opt discove…

…ry.heartbeat discovery.ttl kv.path' options
Ref #19167, #18204.
Feature present in the 1.10 release.
@albers Thanks for the ping
Signed-off-by: Steve Durrheimer<EMAIL_ADDRESS>

LGTM 🐯

LGTM

I see two LGTM's (and CI doesn't test the completion scripts), so merging :smile:


ios can't build

Tried with android, worked perfectly
Building with ios generates the following warning:
warning: no rule to process file '/Volumes/BEN/IonicCordovaProject1/IonicCordovaProject1/platforms/ios/IonicCordovaProject1/Plugins/me.rahul.plugins.sqlDB/sqlDB.h' of type sourcecode.c.h for architecture i386
Tried uninstalling/reinstalling, no luck so far

Make sure sqlDB.h is not present in the compile source (Select Target Project -> Build Phase -> Compile Source).

Thanks!


[BUG] "pack" command

Pack feature when <input> is a file instead of a folder. It creates and empty file and reports an overflow error
To Reproduce
dexios -p test.txt test.enc
Error:
thread 'main' has overflowed its stack
Desktop

OS: [Win10 21H2]
Precompiled binary.

[QUESTION]
What is the sintaxis for the for the <input> argument?
For example, this doesn't work:
dexios pack d:\bin\dir dir.enc
dexios pack "d:\bin\dir" dir.enc
dexios pack .\dir dir.enc
dexios pack ".\dir" dir.enc
Error:
Error: Unable to read the file in Read mode

Good catch! I can have this fixed within an hour, and can publish a patch release also.

As for your question, you raise a very good point. I'm not a Windows user myself, but this seems like something that shouldn't be happening. The error originates from FileStorage, but it should be able to read Windows paths.
I'll take a deeper look into it shortly.

@pleshevskiy I have a Windows VM, so I'm gonna take a look into the second half. Packing indeed doesn't work, no matter that path I provide it.

@brxken128 Apologies for the ping, but I'd just like to let you know that this has been fixed. It was a combination of:

Not checking if the input was a directory or a file
Most importantly (and what resulted in the stack overflow), allocating a full 1MiB array on the stack instead of the heap

This has been resolved, and I can publish v8.8.1 tomorrow at some point.


webstorm gathers upto 1G2 of mem and 30..40% of cpu

While plugin is installed and enabled (to be used) and mongo server is up (no matter if it runs from webstorm or from cmd) then webstorm gathers a lot of resources, works very slow up to stop working at all.
Issue was discussed with JB developer but they cannot find a cause in WS.
cpu jumps from 30..40 up to 70%
All above disappears and WS works perfectly when plugin is disabled.

??

??

Your comment is strikethrough. What should I do to help you?

I'm trying to find out why Webstorm gathers mem and cpu extensively and i was sure that your plugin causes this. But I was wrong. Webstorm does it without your plugin also :(
Issue to close I suppose.
thanx dboissier


Fix that conntrack rules only RETURNed packets rather than ACCEPTing.

When we moved the conntrack rules from the leaf chains to the felix-FORWARD chain, the behaviour changed because the RETURN now goes to the root FORWARD chain, which may have additional non-Calico policy.  This restores the intended behaviour.
Fixes #1056

test this please

LGTM - I reran the build because the previous one got aborted.  Will merge when passed.


WIP GEOMESA-1165 Allow configurable shards in z2 (and z3)

Framework for configurable shards in z2 and z3 for Accumulo indexes
@cne1x and I believe this to be one of the more straightforward approaches to this ticket

Signed-off-by: Charles Kelly<EMAIL_ADDRESS>

@cfkelly @cne1x could we instead make the number of splits configurable as part of the sft user data, same way we do for the date periodicity? Then the number of splits could be retrieved from the simple feature type with something like sft.getZShards. Since the sft is already passed around basically everywhere, the interface changes should be minimal. We could have a static cache somewhere of numSplits -> shard arrays so that we don't have to keep re-creating the arrays. What do you guys think?

looks good - i suggested a few minor tweaks. could we get a section added to the 'data management' docs too? http://www.geomesa.org/documentation/user/data_management.html#customizing-the-z-index

could we get a unit test too?

It would be great if the changes were added here too for non-accumulo data stores: https://github.com/locationtech/geomesa/tree/master/geomesa-index-api/src/main/scala/org/locationtech/geomesa/index/index
maybe we can do that as a follow on ticket

looks good, going to merge


rrdtool: 1.7.0 -> <IP_ADDRESS>7-06-11 (bugfix in upstream)

Motivation for this change
1.7.0 is unusable because of bug https://github.com/NixOS/nixpkgs/issues/26780
Fixes https://github.com/NixOS/nixpkgs/issues/26780
cc: @pSub
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@Mic92 they found and fix weird bugs every week and do not release minor versions after that. Shouldn't we better follow github version instead of using 1.7.0 + patches from github?


[SMD-403] rename spreadsheet language

https://dluhcdigital.atlassian.net/browse/SMD-403
Change description
Renames "spreadsheet" language to more generic language. The background to this is that when the validation was first developed, we built it expecting one table per sheet. This means that the use sheet/worksheet in place of "table" is very misleading now that we ingest data with multiple tables per sheet.

renames all reference to workbook ---> data

renames all reference to worksheet/sheet ---> table

[X] Unit tests and other appropriate tests added or updated

[ ] README and other documentation has been updated / added (if needed)

[X] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
If manual testing is needed, give suggested testing steps
Screenshots of UI changes (if applicable)

I agree that these are all more accurate. The only quibble might be that we could refer to data as data_dictionary, but that's more down to personal preference.


add support for passthrough to another flight server

Signed-off-by: Doron Chen<EMAIL_ADDRESS>

support for splitting data retrieval and data transformation

Hi Roee.
This PR is not finalized. I would like your thoughts on whether this is the right direction.
Let's review when you have the time.
Currently, the get_flight_info in server.py does not run _infer_schema and transform_schema for passthrough. I will change that after PR #30 is merged.


Godot 4.2.2 & 4.1.4 Released

Created an issue to let you know Godot was updated.
Thank you, this project saves me so much time.

On it! Sorry my notifications seemed to have been muted :c

It happens :)
I see the new images are up. I'll go ahead and close this.


Notion

I have tried several times following the Notion guide (https://www.onetab.group/blog/sync-your-browser-tabs-to-notion), but One Tab tries to connect but hangs. The blue bar moves 3/4 along, then stops!
Is this a known bug ?  (Definitely using the correct id/token)
Other than the above, great extension, thank you.
Thanks
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hey Steven,
Thank you for taking the time to reach out to us. We apologize for the issues you have been experiencing while trying to sync your browser tabs with Notion.
I haven't been able to reproduce this bug, I believe there must be something wrong somewhere. Could you provide us with more information, such as recording a video or taking a screenshot?
If there are any privacy issues, you can email them to our email address.
We are glad that you are enjoying One Tab Group and thank you for your continued support.
Regards,
One Tab Group Team

Hello
Thanks for a fast reply.
Attached is the screenshot from Edge. I don’t have anything to hide…so you can see my id from Notion plus my tabs, no problem.
Google sync appears to work – although where does it save it on Drive??
If I cannot get Notion to work, it’s not a major issue, but it be would be great if there was an automatic backup to Google Drive, maybe every 24 hours.
Best regards
Steven
From: Yunwei Xiao @.>
Sent: 02 February 2023 15:43
To: one-tab-group/onetab.group @.>
Cc: CallMeSteven1958 @.>; Author @.>
Subject: Re: [one-tab-group/onetab.group] Notion (Issue #62)
Hey Steven,
Thank you for taking the time to reach out to us. We apologize for the issues you have been experiencing while trying to sync your browser tabs with Notion.
I haven't been able to reproduce this bug, I believe there must be something wrong somewhere. Could you provide us with more information, such as recording a video or taking a screenshot?
If there are any privacy issues, you can email them to our email address.
We are glad that you are enjoying One Tab Group and thank you for your continued support.
Regards,
One Tab Group Team
—
Reply to this email directly, view it on GitHub https://github.com/one-tab-group/onetab.group/issues/62#issuecomment-1413948335 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4SOFNT2FVA3JPIMLJW2FDWVPIYDANCNFSM6AAAAAAUPDI64E .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AO4SOFMT5CNX3KAPQQCSXWDWVPIYDA5CNFSM6AAAAAAUPDI64GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSUI4R26.gif Message ID: @.*** @.***> >

Notion is slow but now working. The only item missing is the automatic backup of tabs via the cloud. Is this being planned?

@CallMeSteven1958 Automatic backups are in the our roadmap

Great! ThanksSent from Outlook for Android


Ionic No target specified for emulator. Deploying to iPhone-6 simulator

** BUILD SUCCEEDED **
No target specified for emulator. Deploying to iPhone-6 simulator
2015-03-19 21:01:37.299 ios-sim[4873:507] stderrPath: /Users/ezgim/firstApp/platforms/ios/cordova/console.log
2015-03-19 21:01:37.300 ios-sim[4873:507] stdoutPath: /Users/ezgim/firstApp/platforms/ios/cordova/console.log
Can someone help me to run my firstApp please . I have got cordova 4.3.0 v installed and updated ios deploy but it still does not work http://cordova.apache.org/announcements/2015/02/25/cordova-ios-3.8.0.html
Thanks

I am having the exact same issue

Hi Franseco,
After searching around two days, Finally I have found a solution for that issue.
Create a file with name emulate.sh in your app directory. Copy the following code in your emulate.sh file.
#!/bin/bash
Manually emulate ionic/cordova application
Miroslav Masat 2014
echo "Emulating..."
cd ./platforms/ios/build/emulator
var=$(pwd)
ios-sim launch "$var"/*.app
While running your project instead of running the the following command
$ ionic emulate ios
Use only ./emulate.sh
ezgims-mbp:myApp ezgim$  ./emulate.sh
Hope that will help you as well.

This is something that came with cordova's cli update. Threw me off as well.
If you need to deploy it to your device, you have to specify --device in the run command.
$ ionic platform add ios
$ ionic run ios --device

There were lots of changes to cordova in the latest update and this was one of them.

Thanks mike. But, I have already tried the following commands. it did not work for me;
$ ionic platform add ios
$ ionic run ios --device
By the way I became  a big fan of ionic. Keep working on this framework please :)
Its absolutely fantastic framework...

+1 yakupme

Can you provide the output from ionic info
It maybe that you need to update cordova, xcode, and ios-deploy.

Hi, I have the same issue as the op.
My Ionic info dump is:
OS: Mac OS X Yosemite
Node Version: v0.12.0
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.1
Ionic CLI Version: 1.3.18
Xcode version: Xcode 6.2 Build version 6C131e
ios-sim version: 3.1.1
ios-deploy version: 1.4.0
Does this help mhartington?

After trying many options, I reset my mac to factory and started again (desperation lol).
I now have the same issue, my ionic info is now:
OS: Mac OS X Yosemite
Node Version: v0.12.2
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.3.18
Xcode version: Xcode 6.2 Build version 6C131e
ios-sim version: 3.1.1
ios-deploy version: 1.4.0
I am waiting to be approved by apple developer program right now, so I can only use swift :(

Here is my environment info
Your system information:

OS: Mac OS X Yosemite
Node Version: v0.10.38
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.3.19
Xcode version: Xcode 6.3 Build version 6D570
ios-sim version: 3.1.1
ios-deploy version: 1.4.0

So try upgrading xcode to the latest version.

Thanks, but still the same issue :(
OS: Mac OS X Yosemite
Node Version: v0.12.2
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.3.19
Xcode version: Xcode 6.3 Build version 6D570
ios-sim version: 3.1.1
ios-deploy version: 1.5.0

hm... same issue happened to me...
after I tried yakupme's option, I got:
$ sudo ./emulate.sh
sudo: ./emulate.sh: command not found
if I tried mhartington's option I got:
=== BUILD TARGET myApp OF PROJECT myApp WITH CONFIGURATION Debug ===
Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.3'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/jackyon/myApp/platforms/ios/cordova/build-debug.xcconfig,-project,myApp.xcodeproj,ARCHS=armv7 armv7s arm64,-target,myApp,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/jackyon/myApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/jackyon/myApp/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/jackyon/myApp/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project
so sad, I can't start the project with ionic framework in my first step....
plz help! thx!

one small issue confuse me, while I'm using the emulate.sh, it always opened the iphone4 Simulator, how can I switch to other iphone devices?
plz advise, thx.

I've just installed ionic and I used this syntax to select the device to emulate:
ionic emulate ios --target="iPhone-4s"

To find out available emulations I run this:
ios-sim showdevicetypes

This command will return a list something like this:
iPhone-4s, 8.4
iPhone-5, 8.4
iPhone-5s, 8.4
iPhone-6-Plus, 8.4
iPhone-6, 8.4
iPad-2, 8.4
iPad-Retina, 8.4
iPad-Air, 8.4
Resizable-iPhone, 8.4
Resizable-iPad, 8.4

Hi john
I have same error, when I try your command I get below error. Any idea ?
sudo ionic emulate ios --target="iphone-4s"
iPhone-4s, 8.4 is not a valid target for emulator
Error: /Users/dwitibisaria/myApp/platforms/ios/cordova/run: Command failed with exit code 2
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

The only reason I can spot is that you didn't use upper case P in the
target string. Ie, try "iPhone-4s" instead of  "iphone-4s" as target.
Hope this helps!
Den 15 jul 2015 07:45 skrev "rugved"<EMAIL_ADDRESS>
Hi john
I have same error, when I try your command I get below error. Any idea ?
sudo ionic emulate ios --target="iphone-4s"
iPhone-4s, 8.4 is not a valid target for emulator
Error: /Users/dwitibisaria/myApp/platforms/ios/cordova/run: Command failed
with exit code 2
at ChildProcess.whenDone
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
—
Reply to this email directly or view it on GitHub
https://github.com/driftyco/ionic-cli/issues/317#issuecomment-121497122.

I have 2 versions of the iphone on my XCode.
iPhone-6, 8.2
iPhone-6, 8.4
The problem is that I am unable to launch the 8.2 version.
ionic emulate ios --target="iPhone-6, 8.2", gives error: iphone-6, 6.2 is not a valid target for emulator.
While ionic emulate ios --target="iPhone-6" will launch the 6.4 version.
How do I specify ionic emulate to launch with iPhone-6, 8.2?

@han4wluc What did you change the name of the devices to?

@mohamed-ahmed
If I remember correctly,
if you run ionic emulate ios --target="iPhone-6, 8.2" , then change the name to iPhone-6, 8.2

Change the name of what to iPhone-6, 8.2. I think I might be missing some steps.

Change the name of your devices/simulators in XCode
XCode, => Window => Devices => and then changing the name of the devices
you should see a list of your installed simulators.

OK, I see that list, but I should change the name from what and to what ?

As you see in the picture there are two iPhone 6 Plus, one is 8.4, and one is 8.2
if you run ionic emulate ios --target="iPhone 6 Plus", it will run by default the 8.4 version.
In order to rename a device, you can click at the Gear icon on the bottom left and click rename:
And then change the name of devices:
iPhone 6 Plus  --> iPhone 6 Plus, 8.2
iPhone 6 Plus  --> iPhone 6 Plus, 8.4
finally you can
ionic emulate ios --target="iPhone 6 Plus, 8.2"

I tried those steps and no matter what I type in for the target (even copied and pasted the device name from the list in Xcode to make extra sure of no spelling errors) I still get "iPhone 6 Plus is not a valid target for emulator" for whatever target name I use.

I also tried all the above steps and  like mohamed-ahmed, I am unable to get it working get the message "iPhone 6 Plus is not a valid target for emulator" for whatever target name I use.

I found this in platforms/ios/cordova/lib/run.js:
// validate target device for ios-sim
// Valid values for "--target" (case sensitive):
var validTargets = ['iPhone-4s', 'iPhone-5', 'iPhone-5s', 'iPhone-6-Plus', 'iPhone-6',
    'iPad-2', 'iPad-Retina', 'iPad-Air', 'Resizable-iPhone', 'Resizable-iPad'];
if (args.target && validTargets.indexOf(args.target) < 0 ) {
    return Q.reject(args.target + ' is not a valid target for emulator');
}

It appears Cordova ignores what targets are available to ios-sim and limits the list to this hard-coded array. If you comment out this chunk of code you can run any of the devices listed by ios-sim showdevicetypes, for example: ionic emulate ios --target="iPhone-6, 8.4"
Would be really nice if Cordova delegated target validation to ios-sim rather than maintain a hard-coded list itself.
(Maybe this fixes your issue @willSonic and @mohamed-ahmed?)

ionic emulate ios --target="iPhone-6, 8.4" doesn't work for me. I always got the following message:

--devicetypeid was not specified, using first available device: Apple Watch - 38mm.

It's always trying to load Apple Watch in my case no matter what I put inside the target. Any hint? Thanks

@zhouhao27 you probably don't have a device without a paired watch in your instrument list...

For me the only thing that worked was to rename the simulators I didn't want and keep the one I want as "iPhone 5s" for example and reinstalling it because it was not working by default. Hope it helps someone :)

Just thought I should add that the recent version of cordova works correctly with the output of:
ios-sim showdevicetypes
so for example:
ionic emulate ios --target="iPhone-5, 9.2"
does what is expected when it is on the output of the previous command.
That is on 10.11.2 of OS X and Xcode 7.2, Cordova 3.9.2.
cheers

Works for all except "iPhone-6s, 9.2" and "iPhone-6s-Plus, 9.2" for me, which is really weird.

I tested those and they don't work for me either, while they are in the output of the ios-sim command.
As a workaround, you can go to the simulator and under hardware - device, choose one of those, that works for me. I get really strange large screens for the plus versions by the way :).

Apparently a known bug which will be fixed in next update. The plus screens are far bigger because they are 3x resolution rather than 2x, so you'll probably need to zoom the simulator down in the View menu.

@kylefox Thanks

I remove the platforms folder and add the platform again by:

ionic platform add ios

Solve the issue.

 I updated everything to recent versions and now I get after:
ionic emulate ios --target="iPhone-5, 9.2"
--devicetypeid was not specified, using first available device: Apple Watch - 38mm.
So I also have the watch loading everytime now.
Everytime I try to get somewhere with this framework, something else break.
It would be great if I could just start developing instead of fixing things all the time that should not be broken.
Sorry, I had to nag about that.
Anyway, to fix that shit what worked indeed (thank @zhouhao27 ) was to remove the ios folder from the platforms folder and remove and re-add the ios platform plugin: cordova run ios
Then I had all kinds of issues with older plugins, but I'll not go on about that.
The command:
ionic emulate ios --target="iPhone-5, 9.2"
worked again after it to run the specific emulator.

another add:
it does work with emulate instead of run :
ionic emulate ios --target="iPhone-5s, 8.4"
unfortunately that still shows no console.log messages in the Terminal and I get a blank screen??


Scaffolding a Grunt project fails on OSX 10.11.1 and Node 5.3.0

npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

Seems that the version of grunt-node-inspector used in this case (^0.1.5) uses an outdated version of node-inspector. More info here: https://github.com/node-inspector/v8-debug/issues/7
Updating grunt-node-inspector to version 0.4.1 seems to fix the problem at least on my setup.

:+1:

thanx


i run into an issue about data

explain more details

I already find the answer when I seed the data some tables are already exist on my database


Client has to be Freed

Describe the bug
If client is left open in the Background and only the Morph is deleted, we will encounter an error that DB is already encripted, when trying to reopen a client.
To Reproduce
Steps to reproduce the behavior:
Create new TeleClient.
Create another Teleclient -> Will receive error, that its already encripted
Expected behavior
If a Teleclient is already open, then we should use that Client, and not create a new one, or otherwise delete the old one.

Client is now freed by pr #102. DB is then decrypted/deleted by #79.


Allow building Chocolatey package for CLI

POC for a chocolatey package for Tanzu  Core CLI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@09198af). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   45.45%
=======================================
  Files           ?      425
  Lines           ?    41147
  Branches        ?        0
=======================================
  Hits            ?    18703
  Misses          ?    20744
  Partials        ?     1700

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


Dart Regex is inconsistent with certain characters

When trying to write a validation Regex, I stumbled upon an issue where the pattern is inconsistent.
The Regex in question is RegExp(r"^[a-zA-ZÀ-ÖØ-öø-ÿ-'. ]{1,50}$")
This Regex incorrectly labels * + , ( and ) as correct input.
However when doing
var regex = RegExp("^[a-zA-ZÀ-ÖØ-öø-ÿ-'. ]{1,50}$"); in say a browser console running on Javascript, the * + , ( and ) are labeled as incorrect. Which is to be expected, as both are not within the range of unicode characters that are allowed.
I assumed Dart Regexes were based of the Javascript impl, so they should yield the same result?
Steps to Reproduce
Create  a variable RegExp regex = RegExp(r"^[a-zA-ZÀ-ÖØ-öø-ÿ-'. ]{1,50}$");
Test the variable against values like ( ) + , and so fort. Do the exact same on a Javascript console(e.g. a browser console). Compare the 2 for inconsistencies.
Target Platform: Windows 10
Target OS version: 10.0.18362

@navaronbracke RegExp is in the dart:core lib, which is just used by flutter. I would advise you to file the issue to https://github.com/dart-lang/sdk/issues and paste the link to it here for tracking.

@BondarenkoStas I think I found what was causing it. Nothing Dart related though, a typo in my Regex combined with thinking 'Since it works in the JS console it's a bug'.
Rewrote my Regex to the following RegExp(r"^([\p{Letter}\s]|['-]){1,50}$",unicode: true) and it works like a charm! Typo's right?
Closing the issue since it's fixed now.


Update log4j

Summary
Upgrade log4j libs is indicated by reported CVEs.
Details
https://github.com/servicecatalog/oscm/network/alert/oscm-webtest-base/pom.xml/log4j:log4j/open
https://github.com/servicecatalog/oscm-app/network/alerts
Acceptance criteria
-[ ] CVE is fixed
Additional context
Not needed.

Closing as the task will be continued within:

https://github.com/servicecatalog/oscm-commons/issues/41
https://github.com/servicecatalog/oscm-app/issues/74


Add WeakReference, Finalizer and NativeFinalizer to core libraries

@lrhn this issue is marked as complete but not closed, are we still missing something here?


Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.     at Modal.destroy

Issue description

components: Modal
reactstrap version #5.0.0-beta.3
import method es (if umd, are you using the "full" version (only for v5+)?)
react version #16.2.0
bootstrap version #4.0.0

What is happening?
Error when unmounting Modal route.
Steps to reproduce issue
1. Create the route
        <Switch>
          <Route
            exact
            path={`${this.props.match.path}/nw`}
            render={(props) => (
              <ComponentAsAModal
                one="two"
                {...props}
              />
            )}
          />
        </Switch>

2. The Component
// The component
class ComponentAsAModal extends React.Component {
  constructor() {
    super();
    this.state = {
      visible: true,
    };
  }

  goBack = () => {
    // Transition to another route. Apparently this is the cause
    // of the error. If wrapped in `setTimeout` the error vanishes.
    this.props.dispatch(push('/some-other-route'));
  };

  close = (e) => {
    this.setState({ visible: false });
  };

  render() {
    return (
      <Modal
        toggle={this.close}
        isOpen={this.state.visible}
        onClosed={this.goBack}
      >
      Modal Content
      </Modal>
    );
  }
}

3. Click on the backdrop to trigger the transition in goBack func.
Error message in console
Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'. at Modal.destroy

function destroy() {
   // this line fails because of `this._element`. Idealy we should test if
   // `this._element` exists before executing `document.body.removeChild`
   document.body.removeChild(this._element);
   this._element = null;
   // rest of the code
}

Good catch, I'll fix this in PR #916

@virgofx I'm not sure is that fix correct, maybe removing class from body need to be wrapped in that if too.
@devmarwen can you reproduce your error in codesandbox?

@TheSharpieOne hmm, ok. Just created a new bug: https://codesandbox.io/s/9890x3mjmo
Take a look at console output, body class is removing 2 times after Modal closing 😞

Try 5.0.0. I [re-]added some extra logic to ensure a modal only adds and removes the classname it adds once (well, ensure it doesn't add multiple and remove multiple)

Using material-ui select dropdown on top of Modal, when item is selected it immediately throws:

Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
I am getting this error so, can anyone help me sort it out?


form_tag doesn't compile as expected while using render :layout with erb partial

Hi there, I have got a problem when I try to render a erb partial as layout, actually there are 2 key elements to reproduce:

render erb partial as layout in haml template
form_tag in erb partial

Please check the sample code below:
# template.haml
= render layout: 'form' do
  %h4
    Test

# form.html.erb
<%= yield %>
<%= form_tag '/test' do -%>
  <%= text_field_tag :test %>
  <%= submit_tag %>
<%end -%>

this gets compiled to:

Test

<input type="text" name="test" id="test">
<input type="submit" name="commit" value="Save changes">
<form action="/test" accept-charset="UTF-8" method="post">
   <input name="utf8" type="hidden" value="✓"><input type="hidden" name="authenticity_token" value="...">
</form>

The form content were render in wrong place (outside of form tag), it will work correctly if I rewrite the form.html.erb to haml, I guess that maybe a bug.

I am noticing a few things that's raising red flags.

<%= yield %> is outside the form_tag. Maybe input tags are being inserted with yield.
Change <%end -%> to just <% end %>

@serv good point, I try to move the yield into form_tag and even remove the yield from partial, neither is working (the input tags are still outside). And I try to change the <% end %> but still no lucky.
It will work if I write form tag manually instead using form_tag helper method. Something is wrong while rendering the form_tag in this case.
Anyway, thanks for your time :)

After digging more in the source code, I found the block became empty while it's execute in form_tag, but still not find the reason. quite weird.

@zernel please let me know version of rails and haml. Is it still happen on latest both version?


Fixed module name in type declaration

Very tiny change, but big effect for all TypeScript users. 😄

Appreciate the PR! @emin93

Appreciate the PR! @emin93

:tada: This PR is included in version 6.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 6.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Certain additions

Hi Lucas,
I had also worked on a similar repo here - https://github.com/abhinav-woodstock/awesome-optimism/blob/main/README.md. Would recommend the following additions:
Official Resources

Reddit - Optimism Collective forum and threads
Github - Open source code from Optimism Labs (includes op-geth, relayer, tutorials, analytics, and more)

Articles, Videos, Podcasts

Research Note (Mar '23) - An overview of Optimism's technology, governance, token, roadmap, team, funding, and ecosystem by Woodstock Fund
Bedrock vs Nitro (Oct '22) - An in-depth guide to differences between Optimism Bedrock and Arbitum Nitro by Norswap
OP Airdrop Analysis (Sep '22) - Delphi Digital's analysis of Optimism's first airdrop
OP Stack Report (Mar '23) - Messari's report on OP Stack and its adoption
Superchain and the Rise of Rollups (Apr '23) - Messari's report on Optimism's Superchain and business model for rollups

OP Stack

opBNB - Optimism Rollup deployment on BSC for increased throughput.
Conduit - One-click Optimistic Rollup deployment solution.
Mina - Adding ZK proofs to Optimism's fault proof stack to create ZK-Optimistic hybrid rollups.

Hey Abhinav! Thanks a ton for your suggestions! I've gone ahead and incorporated all of them. Let's work together.

Hey @abhinav-woodstock,
We noticed that you have also submitted a RetroPGF application. In order to avoid any confusion to the badgeholders, would it be better if we consolidate our applications into a single submission?
Here is the link to our application: https://vote.optimism.io/retropgf/3/application/0xe7dbc759d8e95884cef5cb0f710690abd5686297af6d90c7e48e0b624fce86d3.

Hey @lucas-op yes we can consolidate. How can I help you do that?

@abhinav-woodstock Can you get in touch with me at https://t.me/lucasmon3?


Can't execute ngx-monaco-editor in production mode.

I'm getting error:
Refused to execute script from 'https://www.example.com/assets/monaco/vs/loader.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
The development version from webpack-dev-server works fine, it's just the production version.
I tried changing <base href="/" />, "publicPath", "baseUrl" in Monaco configuration, and none of them seem to work. I'm really struggling with this problem for a while now. I'm using webpack 4, angular 7 and ngx-monaco-editor 6.0.0.

This problem is actually error 404 in disguise. The "assets" folder was missing during npm publish. I managed to fix it by removing .npmignore file and adding
"files": [
  "/dist"
],

to my package.json, so that way everything from "/dist" folder is included during npm publish


Program doesn't exit normally after execution

Hi @DavidASeibert, thank you for the excellent NFSv3 Java client. I just started using it to test read/write access to an NFS share. I wrote a short program to test read access. Something odd I notice, is that the program doesn't exit normally. Can't figure out why and I have to exit the program manually. Any idea why this might be happening? I am using JDK 1.8.0_131 on Mac OS X (Sierra).
public class NFSClient {

    public static void main(String args[]) {
        try {

            Nfs3 nfs3 = new Nfs3("10.x.x.x", "/testdir/",
                    new CredentialUnix(0, 0, null), 3);

            Nfs3File nfs3File = new Nfs3File(nfs3, "/testsubdir/");

            if (nfs3File.canRead()) {
                System.out.println(nfs3File.listFiles());
            } else {
                System.out.println("No read permission");
            }

        } catch (IOException e) {
            System.out.println(e);
        }
    }
}

I am able to establish a connection and list the files in the program above, but can't figure out why it won't exit. Please let me know if you need more information.
Additional information:
The NFS share is a AWS Storage File Gateway, which offers NFS mount for S3.

The only way I have found so far to ensure the program exits, is by shutting down NetMgr:
finally {
   NetMgr.getInstance().shutdown();
}

Thanks, @testphreak. I will investigate.

It sounds like the NetMgr creates one or more threads that should really be marked as daemon threads before starting them, as they are not supposed to prevent program termination.

To be specific, the problem is here: https://github.com/EMCECS/nfs-client-java/blob/master/src/main/java/com/emc/ecs/nfsclient/network/NetMgr.java#L67-L68
This code should be calling the version of newCachedThreadPool() which takes a ThreadFactory argument, and passing in a ThreadFactory that sets the created threads to be daemon threads, an example of which is shown in this answer: https://stackoverflow.com/questions/13883293/turning-an-executorservice-to-daemon-in-java
(Note that this needs to be done for both newCachedThreadPool() calls.)

Fixed in master after PR merge.


Have a claim in identity resource and not in api resource

Hi,
I want to achieve the following:
I have an web application that accesses a remote web api that requires authentication. I've setup identityserver4 with ResourceOwnerPasswordAndClientCredentials  grant types Authentication works and accessing the web api also works.
Now I need some user information (e.g., the user's email address) only in the web application. This information must not be exposed to the web api. It should therefore not be present in the claims of the authenticated user at the remote web api.
I've created an ApiResource with a scope that contains the claims that are needed at the remote web api. I've not included this "email" claim there, again, because it shouldn't be exposed to the web api. I've also created an IdentityResource which does have the "email" claim defined (in the list of UserClaims).
Unfortunately, the email claim does not arrive at my web application. It seems that only if I also add  the claim to the claims of scope of the ApiResource the claim is available in the web application. The problem now is that it also becomes available at the remote web api.
In [#678] and [#683] seem related. E.g., I've implemented profile service, but in the GetProfileDataAsync how can I make sure that the claim is included in an id_token and not in an access_token?
Is what  want at all possible?
Any suggestions about what I'm otherwise doing wrong?
Thanks in advance.

You are looking for an identity token, but your are using the wrong flow - resource owner does not give you an id_token.

Closing for now. Reopen if you have any updates.


Null check operator used on a null value in object.dart:2953

Details
Couldn't reproduce the issue locally. Below is error log from customer's device suggesting context menu issue. We don't have selectable texts within the app except input fields, so likely happened during editing attempt.
Flutter 3.7.6
iOS 13.7 ~ iPhone 6s Plus
Logs

Logs
0   RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2953)
1   RenderBox.localToGlobal (package:flutter/src/rendering/box.dart:2661)
2   SelectionOverlay.showToolbar.<anonymous closure> (package:flutter/src/widgets/text_selection.dart:1343)
3   ContextMenuController.show.<anonymous closure> (package:flutter/src/widgets/context_menu_controller.dart:59)
4   _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:259)
5   StatefulElement.build (package:flutter/src/widgets/framework.dart:5080)
6   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968)
7   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
8   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
9   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
10   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
11   RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5981)
12   MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6537)
13   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
14   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
15   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
16   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
17   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
18   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
19   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
20   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
21   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
22   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
23   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
24   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
25   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
26   _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107)
27   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
28   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
29   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
30   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
31   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
32   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
33   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
34   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
35   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
36   _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107)
37   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
38   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
39   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
40   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
41   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
42   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
43   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
44   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
45   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
46   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
47   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
48   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
49   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)

Since there are no concrete replicable steps and seems to be coming from production, I'll label this for team's attention.
Maybe related to: https://github.com/flutter/flutter/issues/121385

occur the same issue


Ulanzi TC001: Mnimal Brightness

I found out, that the minimal Brightness for Ulanzi TC001 can be set to 30.  Lower than that it turns completely off.  However to sleep nearby it is still too bright then for my Taste.
Is there a Possibility to come around?

Hi, i found out the the gamma correction can help. Take a look at in the esphome manual: https://esphome.io/components/light/index.html?highlight=gamma+correct
I set mine to 1.9 and reducing the brightness works better.
If you haven't already consider giving me a star on github.  Thanx.


Pull chart programmatically with Go API without storing registry credentials

Helm version (used as Go dependency): helm.sh/helm/v3 v3.11.3
Hello, I am trying to pull charts in a Go server using the Helm Go API, but I don't want to save registry credentials on filesystem for security reasons.
Is there a way to do it? I didn't succeed finding any registry client configuration or login option that doesn't contemplate storing credentials.
Thanks for the support

@tomrss could you show your code?

Hi @yxxhero, here is a working example taken from the code I am using:
package main

import (
	"fmt"
	"os"

	"helm.sh/helm/v3/pkg/action"
	"helm.sh/helm/v3/pkg/chart"
	"helm.sh/helm/v3/pkg/chart/loader"
	"helm.sh/helm/v3/pkg/cli"
	"helm.sh/helm/v3/pkg/registry"
)

var credpath string = "./my-creds.json"

func main() {
	// pull chart
	c, err := pullChart("theregistryuser", "theregistrypassword", "thechartregistry", "thechart", "theversion")
	if err != nil {
		panic(err)
	}

	fmt.Printf("Pulled chart: %s\n", c.Name())

	// read credential file
	creds, err := os.ReadFile(credpath)
	if err != nil {
		panic(err)
	}

	fmt.Println("Credential file read from filesystem:")
	fmt.Println(string(creds))
}

func logDebug(format string, v ...interface{}){
	fmt.Printf(format, v...)
}

func pullChart(username string, password string, reg string, chart string, version string) (*chart.Chart, error) {
	// registry client
	registryClient, err := registry.NewClient(
		registry.ClientOptDebug(false),
		registry.ClientOptCredentialsFile(credpath),
		registry.ClientOptEnableCache(false),
	)
	if err != nil {
		return nil, err
	}

	// init helm action config
	actionConfig := new(action.Configuration)
	if err := actionConfig.Init(nil, "", "secret", logDebug); err != nil {
		return nil, err
	}

	actionConfig.RegistryClient = registryClient

	// login to registry
	auth := registry.LoginOptBasicAuth(username, password)
	if err := actionConfig.RegistryClient.Login(reg, auth); err != nil {
		return nil, err
	}

	// pull the chart
	pull := action.NewPullWithOpts(action.WithConfig(actionConfig))
	pull.Settings = cli.New() // didn't want to do this but otherwise it goes nil pointer
	pull.ChartPathOptions.Version = version
	pull.DestDir = "."
	if _, err := pull.Run(fmt.Sprintf("oci://%s/%s", reg, chart)); err != nil {
		return nil, err
	}

	// load chart from file
	return loader.LoadFile(fmt.Sprintf("%s-%s.tgz", chart, version))
}

The result is that the registry credentials are saved on filesystem

hi @gjenkins8, i think you are right. How about allowing to provide a custom client.registryAuthorizer implementation via a ClientOption?

@tomrss PR is welcome.

@yxxhero I see this was closed but #12584 is still un-merged. Are there any plans to accept this feature?


Supporting KBX

It should support KBX and other formats supported by rnp.

This should generally not be an issue now either.
require 'rnp'

rnp = Rnp.new('KBX', 'G10')

# generate both a primary key and a subkey
rnp.generate_key(
  primary: {
    type: 'RSA',
    length: 1024,
    userid: 'Example User',
    usage: [:sign]
  },
  sub: {
    type: 'RSA',
    length: 1024,
    usage: [:encrypt]
  }
)

# save pubring (KBX)
rnp.save_keys(format: 'KBX',
              output: Rnp::Output.to_path('pubring.kbx'),
              public_keys: true)

# (this must exist before creating the Rnp::Output for G10)
Dir.mkdir('private-keys-v1.d') unless File.directory?('private-keys-v1.d')
# save secring (G10)
rnp.save_keys(format: 'G10',
              output: Rnp::Output.to_path('private-keys-v1.d'),
              secret_keys: true)

Thanks!


Use valid python variable names in the ORT file.

@jochenstahn @arm61
At the moment the text representation of the ORSO format uses a yaml key called 'data set'. Unsurprisingly when this gets parsed by a yaml package the dictionary key gets called 'data set'. However, this creates problems because 'data set' is not a valid Python variable name. Can I suggest we use one of 'dataset' or 'data_set'?
Similar problems exist with:

[ ] 'data source'

To be clear, I think we should be adjusting this document, https://www.reflectometry.org/projects/file_formats/tasks/ws_2021-06_text/, and the files in https://github.com/reflectivity/file_format/tree/master/metadata_schema to bring them into line.


[STORM-3402] Use Maven checkstyle and PMD plugins during build

Use Maven checkstyle and PMD plugins during build rather than reporting phase in order to make validation obligatory.

+1. Please update the PR and commit message to contain the issue number, and we can merge.

+1. Please update the PR and commit message to contain the issue number, and we can merge.

Great, thanks. Done.


Add BFR to the list of rockets

As the title of the issue says it all: can BFR be added to the list of rockets or are there any reasons this can/is not be done just yet?

We could add it, but most of the data would be missing

BFR data is in, gathered as much info as I could. Still a few fields missing, but it's a start 👍

Thanks @jakewmeyer !


fix(deps): service end of life for mongodb 5.0

Description
MongoDB 5.0 has reached end of life.
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Remove support for MongoDB 5.0.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 2.12.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Verify that previous ATX points to correct ATX when handling incoming ATXs

Motivation
This integrates the changes from the CVE fix into the main development branch.
Closes https://github.com/spacemeshos/go-spacemesh/issues/5692
Description
For details see: GHSA-jcqq-g64v-gcm7
Test Plan
Tests have been added to verify new / changed code.
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors try

go get timeout
bors try

rpc timeout in TestPostMalfeasanceProof
bors try

bors try

bors merge

bors merge

bors merge

test timeout
bors merge


Question: Compatibility of AAWireless with stock Pi OS

Hello,
I'm interested in learning whether the AAWirelessDongle is compatible with a standard Raspberry Pi OS image. If so, are there specific installation procedures or packages required? If possible a compilation wiki for it will be helpfull

We do need some kernel modifications for the android accessory driver to work. This would makes it difficult to get it working on the stock Raspberry Pi OS.

I can understand, Thanks


added screenshots

I have added some screenshots cuz i felt like its a good way to demonstrate the project for the audience.

Thanks for the PR!
Indeed, screenshots are a must! This library grew out of zee text editor, I haven't prioritised promoting it and making a nice README, I see it's been posted on reddit, so I can't avoid it anymore 🙂


[Docs Bug 🐞 report]: templateParams should be an object instead of string in the JSDoc

Describe the bug you found in AsyncAPI Docs.
Hello!
I want to propose line change from this:
https://github.com/asyncapi/generator/blob/76c106b18d53d256df5861a9b2acbb8d0963c2a0/lib/generator.js#L80
to this:
   * @param {Object} [options.templateParams]   Optional parameters to pass to the template. Each template define their own params.

Reason being is, in the constructor body, templateParams is going to be used for Object.keys. If string is used with Object.keys, it will result in the character indices instead.
> Object.keys("{}")
Array [ "0", "1" ]

I can help create a pull request, if this issue is indeed valid. Let me know if I need to provide more information. Thanks!
Attach any resources that can help us understand the issue.

This contradicts with this line:
https://github.com/asyncapi/generator/blob/76c106b18d53d256df5861a9b2acbb8d0963c2a0/lib/generator.js#L125
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@imballinst you are totally right, can you please open up a PR 🙏🏼


Windows Hosting Bundle should upgrade in place within a major.minor product band

When I install a new patch version of the hosting bundle, old patch versions with the same major and minor versions should be uninstalled. For example, installing 3.0.1 should uninstall 3.0.0.
This is part of implementing in-place upgrade across Windows .NET Core installers: https://github.com/dotnet/core-setup/issues/4188.
https://github.com/dotnet/core-sdk/pull/530 implements this for the .NET Core SDK bundle, and the same work is planned for the .NET Core Runtime bundle.
@natemcmaster @joeloff

I chatted with @Eilon and @muratg, will probably do this after preview 3 since the deadline is today and doesn't provide enough time to fully test the changes

PR is almost complete. I'm just waiting on the final preview 3 build to drop

@joeloff - is the Hosting Bundle work for this already done in https://github.com/aspnet/AspNetCore/pull/8450 ? Should this bug be closed?

I have a few more tests to run, then I'll close it. Probably Monday if that's okay

Sounds good. Monday @ noon we branch, but if it's just tests, just keep checking into master, and you're good to go.

Testing looks good. I've done a couple of upgrades from the preview1 and 2 hosting bundles to the preview4 build.


Bug 2094675: ptp4l and phc2sys process dead event are not releated to actuall proc…

…ess names
Fixed to check process type and fire event releated to the actuall procestasks
Signed-off-by: Aneesh Puttur<EMAIL_ADDRESS>

/bugzilla refresh


Feature support mv with bitmap_union(bitmap_from_array()) case

Proposed changes
support mv with bitmap_union(bitmap_from_array())
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

do not pick it to 2.0 coz 2.0 nereids not support array type


Is posible extract all the tweets and retweets?

I am truing to extract all the tweets of a user like this
scraper.get_tweets(username, since=formatted_date_until, until=formatted_date_since, mode='user', instance="https://nitter.uni-sonia.com")
It is pissible to extract the tweets and retweets at the same time?
thanks

Somebody knows if I have to use filters?
Thanks

#14


Update mainnet replayer cron image

The image that had been used, mina-rosetta:1.4.0beta2-alerts-readme-ea8d0f2-bullseye, seems unavailable. That's different than the one in the compatible branch.
This PR updates the image. The replayer cron job ran successfully with the new image.

!ci-build-me


How about integrating this code genertor with psc-ide?

@paf31 @kRITZCREEK @nwolverson
How about we integrate this generator with psc-ide & editor plugins? so that we can access this functionality from within the editor? without having to jump to the command line?

Since this just amounts to calling a shell script I'd prefer for this to be added to whatever editor plugin you're using instead of psc-ide. With Emacs for example it's trivial to set this up and if I find some time later I could show you how.

@kRITZCREEK would love that... thanks a ton!

@kRITZCREEK thinking a bit more about it...
If it was part of psc-ide... then we will have access to AST and we will be able to selectively generate lenses for the type under the cursor. Just like we do the apply suggestion... what is your thought on that?

I think that should happen through either Template PureScript https://github.com/purescript/purescript/issues/140
or a plugin system for psc-ide, but I wouldn't want to special case Profunctor Lenses in the compiler repo just for convenience.

@kRITZCREEK plugin system for psc-ide sounds great... Is there any plan for a plugin system?

I guess any editor should have capability to fire off a command on the current buffer, but maybe there's a place for a standard code generation/preprocess hook somewhere

I agree that this should be accomplished using editor key bindings, or one day, possibly Template PureScript.

@paf31 Template PureScript sounds good... I am not a big fan of Template Haskell mainly because... I am not sure what code will be generated behind the scenes...
What if... we can write Template PureScript and psc-ide generates the code and then comments out the Template PureScript!
I would prefer seeing the code and using Template PureScript as a helper during development!
Thanks for your time.


Relative path cannot be resolved when called from outside this module

https://github.com/hashicorp/terraform-aws-consul/blob/eb04a460a393763c38a55774077edaaafa755e6f/modules/consul-cluster/main.tf#L123
For example, https://github.com/hashicorp/terraform-aws-nomad/blob/master/examples/nomad-consul-separate-cluster/main.tf#L123-L124

Ditto for https://github.com/hashicorp/terraform-aws-consul/blob/master/modules/consul-cluster/main.tf#L185

Are you on Terraform 0.10.6? If so, this is a bug in Terraform as reported in https://github.com/hashicorp/terraform-aws-vault/issues/6.

I am, tested with 0.10.5 and works fine.

OK, great. I'm going to close this one in favor of https://github.com/hashicorp/terraform-aws-vault/issues/6. Hopefully, the next release of Terraform will fix this for good.


ValidationException happened when testing the blue deployment with some sample data

# test the blue deployment with some sample data
ml_client.online_endpoints.invoke(
    endpoint_name=online_endpoint_name,
    request_file="./deploy/sample-request.json",
    deployment_name="blue",
)

Error after running the above code:
ValidationException: Deployment name blue not found for this endpoint
Traceback:

ValidationException                       Traceback (most recent call last)
Cell In[17], line 2
1 # test the blue deployment with some sample data
----> 2 ml_client.online_endpoints.invoke(
3     endpoint_name=online_endpoint_name,
4     request_file="./deploy/sample-request.json",
5     deployment_name="blue",
6 )
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/core/tracing/decorator.py:76, in distributed_trace..decorator..wrapper_use_tracer(*args, **kwargs)
74 span_impl_type = settings.tracing_implementation()
75 if span_impl_type is None:
---> 76     return func(*args, **kwargs)
78 # Merge span is parameter is set, but only if no explicit parent are passed
79 if merge_span and not passed_in_parent:
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/_telemetry/activity.py:263, in monitor_with_activity..monitor..wrapper(*args, **kwargs)
260 @functools.wraps(f)
261 def wrapper(*args, **kwargs):
262     with log_activity(logger, activity_name or f.name, activity_type, custom_dimensions):
--> 263         return f(*args, **kwargs)
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/operations/_online_endpoint_operations.py:329, in OnlineEndpointOperations.invoke(self, endpoint_name, request_file, deployment_name, input_data, params_override, local, **kwargs)
327 # Until this bug is resolved https://msdata.visualstudio.com/Vienna/_workitems/edit/1446538
328 if deployment_name:
--> 329     self._validate_deployment_name(endpoint_name, deployment_name)
331 with open(request_file, "rb") as f:
332     data = json.loads(f.read())
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azure/ai/ml/operations/_online_endpoint_operations.py:439, in OnlineEndpointOperations._validate_deployment_name(self, endpoint_name, deployment_name)
437 if deployments_list:
438     if deployment_name not in deployments_list:
--> 439         raise ValidationException(
440             message=f"Deployment name {deployment_name} not found for this endpoint",
441             target=ErrorTarget.ONLINE_ENDPOINT,
442             no_personal_data_message="Deployment name not found for this endpoint",
443             error_category=ErrorCategory.USER_ERROR,
444             error_type=ValidationErrorType.RESOURCE_NOT_FOUND,
445         )
446 else:
447     msg = "No deployment exists for this endpoint"
ValidationException: Deployment name blue not found for this endpoint
Looks like there is an known issue?

Until this bug is resolved https://msdata.visualstudio.com/Vienna/_workitems/edit/1446538

But it can be accessed.

The doc was referenced in testing: https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-azure-ml-in-a-day?view=azureml-api-2

Closing it.
The error happened due to the error in the previous step which already submitted:
https://github.com/MicrosoftDocs/azure-docs/issues/109440

@fingerella2000
Glad to know you have self-resolved the issue.


[BEAM-12530] Make FakePandasObject handle inline pandas objects

This modifies FakePandasObject to handle cases like pd.DataFrame({'col': pd.Series(..)}). Previously the pd.Series would be replaced with a DeferredSeries and passed to pd.DataFrame. With this change we identify DeferredBase instances in the args and replace them with their original value.
Note that this effectively duplicates the inline object in the input_env. I considered creating a computed expression that refers to the original instead, but this seems overly complicated for little benefit.
This fixes a few cases in the user guide.
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

I'm going to revert this, as it's really only beneficial for pandas_docs_test, which we don't run continuously (instead relying on frames_test and pandas_doctests_test for compatibility checks.
Also I don't think this change is actually capturing the pd.DataFrame({'col': pd.Series(..)}) case I mentioned. For that I think we'd need to modify the _monkey_patch_type method, rather than FakePandasObject, which is capturing top level functions.


Auto-append .o3d extension if filename is typed without it

Currently, if a filename is typed out (replacing the auto generated one) and if the .o3d file extension is forgotten, it generates a file with no extension as the save dialog does not auto-complete the filename.
Other exporters (quickly tested with the COLLADA exporter) append the extension once the name is set, so possibly adding this functionality could be a minor, but nice, quality of life improvement.
(Upon a bit of digging, I've put this as an enhancement rather than a bug as I'm not sure if it was intentionally scripted or something to do with Blender 3.0 messing up the plugin again)

Can you confirm that an O3D file with no suffix does not work in OMSI?


Release 1.2.12

Docket:

Create --pex-path argument for pex cli and load pex path into pex-info metadata (#417)

this is complete and available here: https://pypi.python.org/pypi/pex/1.2.12
cc @CMLivingston


Update gaming-jargon.txt

blah test cla ass

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


SQL functions inside functions are forcefully escaped and do not work

So I'm trying to insert a data with that has the current date-time + some minutes in the future. This requires a function inside a function. By some reason Meedoo seems to ignore the hashtag and when there is more than one "(" it decides to quote the function, and therefore it does not work. This does not happen when I just use "NOW()" or even when I use an invalid ADDTIME(NOW).
$db->insert('test',[
            'id' => $id,
            '#time' => 'ADDTIME(NOW(),\'01:00\')'
]);

The resulting SQL is (Please note the quotes):
INSERT INTO "test" ("id", "time") VALUES ('1', 'ADDTIME(NOW(),\'01:00\')')

But:
$db->insert('test',[
            'id' => $id,
            '#time' => 'NOW()'
]);

results in the expected:
INSERT INTO "test" ("id", "time") VALUES ('1', NOW())

Is there any reason why this is happening? Is it a bug?

This feature is only worked for simple SQL function with out parameter for current version.
The good news is this we make a better and more powerful way to handle this issue on version v1.5, you can check out this branch and try it.
$database->insert('test', [
	'id' => $id,
	'time' => Medoo::raw("ADDTIME(NOW(), '01:00')")
]);


Fix check in the Ledger unittest

I've just noticed this part missing, as we periodically poll for the node height until the desired height is reached and then exit early. But if the same height isn't reached, we should assert.

Fixed.


pioasm: Ada output format

can you pls rebase this onto develop

can you pls rebase this onto develop

Done.


⚠ Bofrost.be has degraded performance

In 905d9cb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1737 ms

Resolved: Bofrost.be performance has improved in c23aadd after 6 minutes.


notifier: forget unlock before return

In function sendAll(), ams.mtx.RLock() is called at the start of a loop
https://github.com/prometheus/prometheus/blob/24af5049bbf665376d8da3d72404d670cdabfa9d/notifier/notifier.go#L471-L477
ams.mtx.RUnlock() is called at the end of the loop
https://github.com/prometheus/prometheus/blob/24af5049bbf665376d8da3d72404d670cdabfa9d/notifier/notifier.go#L536
However, ams.mtx.RUnlock() is not called before return on 486, 500, 512
The fix adds ams.mtx.RUnlock() before the three return statements.

Can we use a defer here to this is less likely to come up in future?

The Lock and Unlock are in a loop.
On Thu, Apr 16, 2020 at 5:44 PM Brian Brazil<EMAIL_ADDRESS>wrote:

Can we use a defer here to this is less likely to come up in future?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/7133#issuecomment-614538080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3D3V4MDMMVYR3TGYZLKPLRM3HN7ANCNFSM4MJNCHCA
.

We can wrap it in an anonymous function.

I think it is very hard to apply the anonymous function trick. See the following code:
// inside func sendAll
for _, ams := range amSets {
    ...
    let res := func() bool {  // Try to add the anonymous func
        ams.mtx.RLock()
        defer ams.mtx.RUnlock()
        switch ams.cfg.APIVersion {
           // return false on Error
        }
        for _, am := range ams.ams {  // The for loop is also included since mtx originally protects it
            wg.Add(1)
            ctx, cancel := context.WithTimeout(n.ctx, time.Duration(ams.cfg.Timeout))
            defer cancel() // cancel() is called when the anonymous func returns.
            // But originally cancel() is called after wg.Wait() in sendAll() !
            go func(...) {
                // wg.Done()
            }(...)
         }
    }()
    if !res {
        return false
    }
}  // End of outer for
wg.Wait()
return numSuccess > 0

We cannot simply wrap the code between Lock and Unlock into an anonymous function. Because defer cancel() in the inner for loop for _, am := range ams.ams is originally called in the sendAll(), but now it is called in the anonymous function! Before wg.Wait()!

Okay, I guess this will do for now then. Let me see if retrying the CI helps.

Thanks :tada:


file_list

Could you please upload the file named 'file_list'  which is used for training, please? I want to train your network on my own data, but I don't know how your training data is processed. Thanks.

Could you please upload the file named 'file_list' which is used for training, please? I want to train your network on my own data, but I don't know how your training data is processed. Thanks.

I have already got it. Thanks！


How do you slow this down so it's not hammering the server you are crawling?

Some kind of delay or setTimeout or something? Can you do it with this?

We may need some sort of throttling support, like no more than 1 request for 5 seconds, then we can expose an additional option that would control the throttling behavior. I will take a look how this can be done and whether there are other ways to solve this problem.

A new option maxRequestsPerSecond has been added. For example, to limit the rate of HTTP requests to maximum 1 per 5 seconds you can configure the crawler like this:
var Crawler = require("js-crawler");

var crawler = new Crawler().configure({maxRequestsPerSecond: 0.2});

crawler.crawl({
  url: "https://github.com",
  success: function(page) {
    console.log(page.url);
  },
  failure: function(page) {
    console.log(page.status);
  }
});

Please, let me know if the solution works for you, and, please, re-open the issue if the original problem has not been solved.


Pod requests inner-cluster svc failed with kube-proxy when the pod arp entry GC on the node

Describe the bug
Pod requests inner-cluster svc failed with kube-proxy when the pod arp entries GC on the node.

When the current Pod A accesses Service B for the first time (assuming that the Pod is just running and the gateway ARP entry is empty), it will request the MAC address of the gateway first. After the request reaches the node antrea-gw0, it will cache the ARP entry of Pod A, and then make an ARP reply. After Pod A receives the gateway ARP reply, it caches the gateway ARP entry.

Pod A has no cross-node access/Service access requirements within a certain period of time (for example, within 5 minutes).

Since the ARP aging and recycling on the current node are all default parameters and have not been optimized, the gc_stale_time is 60s, the base_reachable_time_ms is 30000ms, and the gc_thresh1 is 128. Normal ARP aging and recycling will be performed. When the time exceeds 2 minutes, the ARP entry corresponding to Pod A on the node has entered the stale state, and because the number of ARP entries on the node exceeds 128, ARP GC is triggered, and the ARP entry corresponding to Pod A on the node will be recycled..

Although the gateway ARP entry in the Pod has also entered the stale state, due to the small number of ARP entries, the ARP GC will not be triggered because the number of ARP entries does not reach gc_thresh1 online, so the gateway ARP entry in PodA always exists.

After 5 minutes, when Pod A accesses Service B again, the packets replied by the backend endpoints arrive at the  Pod A node. Check the ip neigh and find that it is empty, then send an ARP Request to Pod A. Because the source IP address is the Service's ClusterIP, and the source MAC is the gateway MAC, it was filtered out after checking on Tables SpoofGuard, resulting in failure.

the detail packets capture log( Pod A IP:<IP_ADDRESS>, SVC B ClusterIP:<IP_ADDRESS>)
:36:26.193507 62:82:15:bd:0d:84 > fa:5c:47:de:06:02, ethertype IPv4 (0x0800), length 66: <IP_ADDRESS>.47898 > <IP_ADDRESS>.domain: Flags [S], seq<PHONE_NUMBER>, win 28200, options [mss 1410,nop,nop,sackOK,nop,wscale 7], length 0
16:36:26.193549 fa:5c:47:de:06:02 > f2:39:bf:f0:38:c8, ethertype IPv4 (0x0800), length 66: <IP_ADDRESS>.47898 > <IP_ADDRESS>.domain: Flags [S], seq<PHONE_NUMBER>, win 28200, options [mss 1410,nop,nop,sackOK,nop,wscale 7], length 0
16:36:26.193838 f2:39:bf:f0:38:c8 > Broadcast, ethertype ARP (0x0806), length 42: Request who-has <IP_ADDRESS> tell <IP_ADDRESS>, length 28
16:36:26.194216 f2:39:bf:f0:38:c8 > fa:5c:47:de:06:02, ethertype IPv4 (0x0800), length 66: <IP_ADDRESS>.domain > <IP_ADDRESS>.47898: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 28200, options [mss 1410,nop,nop,sackOK,nop,wscale 7], length 0
16:36:26.194238 fa:5c:47:de:06:02 > Broadcast, ethertype ARP (0x0806), length 42: Request who-has <IP_ADDRESS> tell <IP_ADDRESS>, length 28
16:36:27.196254 fa:5c:47:de:06:02 > Broadcast, ethertype ARP (0x0806), length 42: Request who-has <IP_ADDRESS> tell <IP_ADDRESS>, length 28

To Reproduce
1.Use Antrea with Kube-Proxy
2.Create a pod A and svc B
3.The pod A requests svc B
4. the pod arp entry GC on the node
5. the gateway ARP entry in PodA still exists
6. The pod A requests svc B again
Versions:
Antrea 1.5.0

@tnqn @antoninbas @jianjuns Can I take it?

@Jexf Thanks for the report and feel free to take the issue. I assume you are using kube-proxy ipvs mode? otherwise the kernel would have used antrea-gw0's IP as the source IP of the ARP request. It would keep the original source IP that triggers the ARP request only when the source IP is owned by the host and arp_announce is 0.
What's your plan of fixing it? A potential solution is to increase restriction level for arp annoucing of antrea-gw0 to 1, but not sure if this requires extra privilege for agent pod.

@tnqn Thanks for the reply. Yes, we are using kube-proxy ipvs mode. Setting arp_announce to 1 for the antrea-gw0 device sounds good to me, but I'm not sure if there has the same problem on windows.

Would running kube-proxy with --ipvs-strict-arp solve the issue as kube-proxy would take care of setting arp_announce to 2?

@antoninbas That sounds better. It seems designed for this scenario. Then the only thing we could do is to document this requirement when working with kube-proxy ipvs. Does it work for you @Jexf
Another thing need to note is that Egress needs arp_ignore to be 0 to respond ARP requests received on external interfaces. Since --ipvs-strict-arp will change it to 1, we need to ensure the userspace arp responder will be activated: https://github.com/antrea-io/antrea/blob/a87ef55766d24725ef0e4111aad6fab0e25aefda/pkg/agent/ipassigner/ip_assigner_linux.go#L213-L219

@tnqn @antoninbas Thanks for the reply,  --ipvs-strict-arp works well for me.


Revert to python 2.7?

Scrapy uses Twisted, which is incompatable with python 3. Should we downgrade to python 2.7 in order to be able to use Scrapy?
http://doc.scrapy.org/en/0.24/faq.html#what-python-versions-does-scrapy-support

Let's wait until next sprint for this discussion.

Okay @chdoig points out that if we don't push to py2.7 then every app we work with has to be py2.7. So let's actually port back to py27.

Done.