Dirscan Stuck & Traceback

Hi,
I got another issue after https://github.com/j3ssie/Osmedeus/issues/96 solved
[*] Waiting for DirbScan module
[*] Starting post routine for DirbScan
----------------------------------------------------------------------
[ESTIMATED] DirbScan module executed in 9924.99 seconds.
----------------------------------------------------------------------
[*] Sending done notification to slack
[*] Sending report notification to slack

Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 138, in run
    self.finish_response()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
    self.write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 279, in write
    self._write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 453, in _write
    result = self.stdout.write(data)
  File "/usr/lib/python3.6/socketserver.py", line 803, in write
    self._sock.sendall(b)
ConnectionResetError: [Errno 104] Connection reset by peer
[23/Oct/2019 11:03:33] "GET /api/stdout/get/?std=target.com/directory/beautify-summary.csv HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 51902)
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 138, in run
    self.finish_response()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
    self.write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 279, in write
    self._write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 453, in _write
    result = self.stdout.write(data)
  File "/usr/lib/python3.6/socketserver.py", line 803, in write
    self._sock.sendall(b)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 141, in run
    self.handle_error()
  File "/home/wayc0de/.local/lib/python3.6/site-packages/django/core/servers/basehttp.py", line 116, in handle_error
    super().handle_error()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 368, in handle_error
    self.finish_response()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
    self.write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 274, in write
    self.send_headers()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 331, in send_headers
    if not self.origin_server or self.client_is_modern():
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 344, in client_is_modern
    return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/socketserver.py", line 654, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
    self.handle()
  File "/home/wayc0de/.local/lib/python3.6/site-packages/django/core/servers/basehttp.py", line 171, in handle
    self.handle_one_request()
  File "/home/wayc0de/.local/lib/python3.6/site-packages/django/core/servers/basehttp.py", line 194, in handle_one_request
    handler.run(self.server.get_app())
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 144, in run
    self.close()
  File "/home/wayc0de/.local/lib/python3.6/site-packages/django/core/servers/basehttp.py", line 111, in close
    super().close()
  File "/usr/lib/python3.6/wsgiref/simple_server.py", line 35, in close
    self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------

That's just a dummy timeout error on Django because Osmedeus the architecture.
This won't affect your result don't worry. If your question is why it's still running check this https://github.com/j3ssie/Osmedeus/issues/102
To confirm your dirscan is done or not. You can check result in ~/.osmedeus/workspaces/<your_target>/directory/


"Add to Siri" is not localized when taking a snapshot

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I read the Contribution Guidelines
[X] I read docs.fastlane.tools
[X] I searched for existing GitHub issues

Issue Description
When using INUIAddVoiceShortcutButton in the app and taking snapshots, its title appears in English for every language. This is not the case when running on simulator and setting a language via Edit Scheme -> Application Language.
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14

Ruby
2.3.7

Bundler?
false

Git
git version 2.18.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14 (18A389)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.6.4

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane(nightly: true)

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.99.0"

default_platform :ios

platform :ios do
  lane :deploy do
	cocoapods
	increment_build_number
	commit_version_bump(xcodeproj: "./Control.xcodeproj")
	gym(include_bitcode: true, workspace: "Control.xcworkspace", scheme: "Control")
	deliver(skip_screenshots: false, force: true, edit_live: false, ignore_language_directory_validation: true)
	hockey(api_token: "59201ce99cf14fd0815375045faf839f", dsym: "./Control.ipa.dSYM", notes: "Changelog")
  end

  lane :upload do
	deliver(skip_screenshots: true, force: true, edit_live: false, ignore_language_directory_validation: true)
  end

  lane :previews do
    upload_previews
  end
end

`./fastlane/Appfile`
app_identifier "com.cherpake.macrc.adsfree" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "MCKT7VHXP5"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.107.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.6.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

gh_inspector
1.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

bundler
1.16.3

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

emoji_regex
0.1.1

json
2.1.0

io-console
0.4.5

libxml-ruby
2.9.0

fastimage
2.1.4

generated on: 2018-10-18

https://www.dropbox.com/s/il9oghy6gwhuyug/iPhone 8 Plus-05System_11ca7032-3ee3-4828-b573-8d67fb69d087_framed.jpg?dl=0

I'm noticing the same issue when I am generating screenshots for my Notification Content extension. It seems like the language is being set at an app level, instead of at the OS level.

Can you share a sample screenshot as well @mpdifran?
As you wrote, this could be a limitation on how snapshot currently sets the language.

This is still an issue (which actually costs me a lot of time, because I need to manually set the language on each simulator at the OS level, and I have 10+ languages and 6 simulators 😖).

Could you maybe investigate a bit how the language is currently set and why this doesn't affect Siri and notification extensions? Using some of the output you get when running the lane/action, you should be able to find the correct areas of the code and then simply follow what is going on. Maybe this can give us an idea what has to be changed.

Still trying to find time to look into this!

Still looking into this!

Ping!


feat(archetype): apply Design System to the archetype

EX-3868

The purpose of this PR is to use the Design System in the Archetype to apply styles.


Pausing should always be allowed during countdown

This was frustrating since the player would have to wait 2 seconds each time to get any control of the game back.

Now pausing is always pausible and will stop the cursor entering movement either


Fixed doc typos & errors and improved readability.

Examples still referenced a DecryptorManagerClass annotation that does not exist anymore. I've also cleaned up typos and various syntax errors. Tagging #49 for reference.

Thanks!


sokol_gfx.h: fix msvc release build warnings when compiled with /W4

Just some missing _SOKOL_UNUSED() statements.

Thanks! Surprisingly few changes :)

Yes. In between I tuned back to /W2 for my sokol implementation unit(s), but right now it builds fine with /Wall.

Ok, on Windows I'm using /W3 for the sokol-samples. Last I tested /W4 (on other stuff) I had the impression that there's quite a lot of noise that doesn't really deserve a warning. But for library code, being /W4 clean probably makes sense.


Add account by using QR Code -> Can't scroll the popup

The Popup on the screenshot can only be scrolled if the Keyboard is activated not if you just want to add a new address.

Espo: NDEFC3-H4VAIU-FQ5GFT-IK3IJR-4DGKF7-PEQKRW-LPZ5

Fixed in Version 2 Build 38
There no need to enable scroll if keyboard is closed, but full popup must be visible

It works in 2 Build 38

Bounty paid. Tx hash: e49d284e6594f2a4a7d72933c4fc0ce6d9e9c7594bfb4e0afe3d9f5c9893b0a6


How to make a real time chart

Hi,
I'd like to create a real time chart and I do not know how to do that. What is the most efficient way? AddSeries, AppendData,..?
Can you give an example please?

Hi,
Please check docs here, https://apexcharts.github.io/Blazor-ApexCharts/methods/update-series#realtime

Thank you, it helps. Perhaps in your documentation you should split the update menu and make a "Real time" button, because RT is quite hidden at the bottom of the page.

Thank you, it helps. Perhaps in your documentation you should split the update menu and make a "Real time" button, because RT is quite hidden at the bottom of the page.

Agree, couldn't find it as well


7-bag randomizer to resolve issue #21 on no block repetition

brief description of changes this pull request introduce
Implemented a 7-bag randomizer so that a piece is not repeated more than 2 times in a row, which replaces the former random selection of tetrominos. Added a bag std::vector object from which to draw tetromino pieces and an algorithm which "fills" the bag every time it becomes empty
Related issue/s
Resolves issue #21 no block repetition
List of files altered
game.cpp
game.hpp
main.cpp

@Arsenic-ATG let me know if there's anything else needed to close the issue.

@andrewrgarcia, looks like you worked on previous copy master branch of your fork which caused duplication of commits ( commits on your fork from previous contribution and commits that were merged/rebased on master branch here have different hash ) this is quite common and is causing merge conflicts in this case.
Though this is not something a simple rebase can't fix, assuming the fact you have allowed editing access by maintainer on this PR, I can take care of this unless you want to give it a go on your own.

I had not noticed that, thanks for bringing it up. I am fixing this right now and will be sending you a new PR very soon

Fixed the duplication issue.


Update Exercises and test pre-commit hook

https://github.com/nervebassmaster/sf-eng-init-gl-spring-2016/pull/4

I have merged the pull request from nesterone:nervebassmaster to nervebassmaster:exercises branch;
I have run npm install and after this operation I haven't had any errors;
I have run npm run lint and then I also haven't had any errors;
I have made changes in isEven.js file for an exercise and after git status I see the correct result with one changed and uncommitted file;
;
Then I have run npm run lint to check this file for any errors. I hadn't any errors and I have added chenged file to commit and then I have committed these changes;
I have got finished commit and this message in console:

Then I have successfully pushed this commit into remote branch on github;

I guess, I know how I can resolve this ugly behavior

I have created a test branch for testing pre-commit hook and I have changed some file in this branch from the empty file to the file which contains some bullshit instead the correct code. We can see a couple of errors from CodeInspector:

I have saved these ugly changes and you can see the proof of this in the following screenshot:

I have indexed this changed file successfully:

But if I wanna commit these wrong ugly changes I get a message, which tell me that I couldn't make the commit with wrong statements:

To conclude, I have changed this file correctly and ESLinter doesn't have any proofs that I'm not right:

I can to index this file and to make commit successfully:

But!
If I wanna run the console linter to check my file for errors, I get the following output:

I mean, linter shows to me errors in the file, but as an additional present I get that message about some errors.

I have checked my node's and npm's version (they are 5.10.1 and 3.8.6). You can see them on the previous screenshot;

As far as I see 'true' would prevent git hook to fail, because it won't send error code, so let's go with errors from npm but more strict hooks rules

As think we can extend pre-hooks for other team members, thanks for testing that approach.


Updating the user navigation

Removes the feeds.
Adds a user dropdown.

One small comment, but looks good. I think Jenkins failed due to ESlint errors. I think it might be cool to add the npm lint script to to pre-commit hook I have for SCSS linting.

Thanks! Will update.


OSG_autoconf script needs to support python3

On python3-based branches,

The RPM glideinwms-libs should depend on python3-PyYAML instead of PyYAML.
The shebang for OSG_autoconf should refer to python3 instead of python.

Fixed with https://github.com/glideinWMS/glideinwms/commit/7ac93d875c9648ba19233f5043e4653703d01b3a


poor DNS response can hang host processes

bin/linux/scope run -c tcp://bogushost:10090 -- /bin/echo something takes 45 seconds to actually get "something" to the local console.  And then it takes another 30 seconds or so for the process to exit.
This was observed on a machine where nslookup of bogushost was very slow.
cribl@ubuntu18_4:~/appscope$ time nslookup bogushost
;; connection timed out; no servers could be reached

real	0m15.019s
user	0m0.009s
sys	0m0.006s

What surprised me most was the delay in getting console output to the screen.
I think this must be a library issue, I'm seeing the same results for
LD_PRELOAD=lib/linux/libscope.so SCOPE_CRIBL=tcp://bogushost:10090 /bin/echo something

cribl@ubuntu18_4:~/appscope$ systemd-resolve --status
Global
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

Link 2 (ens33)
      Current Scopes: DNS
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: <IP_ADDRESS>
          DNS Domain: localdomain


Express:sess cookie is blocked by Chrome

Hi everyone.
Issue Summary
When your site is private, after entering the right password, it tries to create a "express:sess" cookie. The problem is that the cookie has samesite=none property defined. So, Chrome is blocking it if you're not using HTTPS on your blog, wich is my case :(
The error in chrome console : A cookie associated with a resource at http://****/ was set with SameSite=None but without Secure. It has been blocked, as Chrome now only delivers cookies marked SameSite=None if they are also marked Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.
To Reproduce

Make your site private
Enter the right password
You are back on the password page, with an error in the console.

Technical details:

Ghost Version: 3.31.2
Browser/OS: Chrome 84.0.4147.135

Thanks for your answers.

Cookies are used in either Cross-Site or Same-Site Context

Cross-Site -  If the domain associated with a cookie matches an external service and not the website in the user’s address bar, this is considered a cross-site (or “third party”) context.
Used for - Websites typically use Cross-Site to integrate external services for advertising, content recommendations, third party widgets, social embeds and other features.

Same-Site - In contrast, cookie access in a same-site (or “first party”) context occurs when a cookie’s domain matches the website domain in the user’s address bar.
Used for - Same-site cookies are commonly used to keep people logged into individual websites, remember their preferences and support site analytics.

Today, if a cookie is only intended to be accessed in a first party context, the developer has the option to apply one of two settings (SameSite=Lax or SameSite=Strict) to prevent external access.
I think this is our case. If it is then then maybe we can change SameSite='None' to one of these
Chrome made the following changes in chrome 80 from Feb 2020:

To safeguard more websites and their users, the new secure-by-default model assumes all cookies should be protected from external access unless otherwise specified.
Developers must use a new cookie setting, SameSite=None, to designate cookies for cross-site access.
When the SameSite=None attribute is present, an additional Secure attribute must be used so cross-site cookies can only be accessed over HTTPS connections.

Info from : chromium blog

I'm having the same issue here, though we're using https
Notes:

hosted on digital ocean
updated to 3.32
setting private with password
viewing the site at it's non-secure IP address does allow login

Any update on this, how to fix, etc, would be great

I have been facing this problem and the only solution I have found is to modify the middleware that is setting the cookie. I know it is not the best solution but it is the only one that worked for me.
I have deployed the blog with Docker so the path may change depending on your solution, the file to modify is this: core/frontend/apps/private-blogging/lib/middleware.js. If running in Docker it can be found under: /var/lib/ghost/current/core/frontend/apps/private-blogging/lib/middleware.js.
The advantage with Docker is that I can mount my modified version into that location directly. That way if that file is changed in the future, I can remove this mounting point and use the original file instead.
The solution is in the line 48, the code should be something like this:
return session({       maxAge: constants.ONE_MONTH_MS,       signed: false,       sameSite: "none",     })(req, res, next);
I have commented out sameSite: "none", so it will use the default value, which is Lax if I am not wrong. I guess once my site is fully public I will remove this change so it will use the original file again.
Regards.

Facing the same issue. Any help?

Facing the same issue. Any help?

I am also facing the same or similar issue.
  Whenever I activate the "Make this site private" I am unable to access the site (error 502). When I access the site with direct IP rather than going through the load balancer, I am able to get to the site, but cannot login.  After entering the password for either the overall site or example.com/ghost/ I am redirected back to the site.
I was able to temp fix the issue by modifying the URL to the direct IP instead of the domain I am mapping to the site.  I may try @antucg suggestion next until there is a more clear fix.  I am not going live with the site yet, so I have a little time, but would like to be able to put the site behind a password .
Thanks!
Jeff

I am also facing the same or similar issue.
  Whenever I activate the "Make this site private" I am unable to access the site (error 502). When I access the site with direct IP rather than going through the load balancer, I am able to get to the site, but cannot login.  After entering the password for either the overall site or example.com/ghost/ I am redirected back to the site.
I was able to temp fix the issue by modifying the URL to the direct IP instead of the domain I am mapping to the site.  I may try @antucg suggestion next until there is a more clear fix.  I am not going live with the site yet, so I have a little time, but would like to be able to put the site behind a password .
Thanks!
Jeff

This has stopped working for some people due to a change in Chrome:
https://web.dev/samesite-cookies-explained/#samesitenone-must-be-secure as mentioned by @imox2.
The short version is that for the cookie to work in Chrome, sites in private mode must be secure - i.e. must be served over https.
This is a future-facing change from Chrome, as the web moves towards being https by default.
Note: changing the value of SameSite is not a viable fix, as this is required for serving Ghost admin on a different domain to the frontend, which is an important and commonly used security feature.
We're going to close this issue as a "won't fix" as there's no simple solution, and it makes sense to limit private mode to being secure.

If you want to use private mode, you'll need to configure your site to load over https.
If you are having this problem when using a reverse proxy with https, this is most likely caused by a proxy misconfiguration. Please ensure you're setting the X-Forwarded-Proto header correctly.

This has stopped working for some people due to a change in Chrome:
https://web.dev/samesite-cookies-explained/#samesitenone-must-be-secure as mentioned by @imox2.
The short version is that for the cookie to work in Chrome, sites in private mode must be secure - i.e. must be served over https.
This is a future-facing change from Chrome, as the web moves towards being https by default.
Note: changing the value of SameSite is not a viable fix, as this is required for serving Ghost admin on a different domain to the frontend, which is an important and commonly used security feature.
We're going to close this issue as a "won't fix" as there's no simple solution, and it makes sense to limit private mode to being secure.

If you want to use private mode, you'll need to configure your site to load over https.
If you are having this problem when using a reverse proxy with https, this is most likely caused by a proxy misconfiguration. Please ensure you're setting the X-Forwarded-Proto header correctly.

I'm facing this issue too. I use docker and nginx to serve a ghost blog, following is my nginx config snippet:
# ghost
 server {
     listen 443 ssl http2;
     server_name i.unoiou.com;

     location / {
         proxy_pass http://localhost:2368;
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Proto $scheme;
     }
 }

It might help.

I'm facing this issue too. I use docker and nginx to serve a ghost blog, with a general ssl certificate.

I’m going to lock this issue, as I’ve provided an extensive explanation above as to how this is is a configuration issue. If anyone needs help debugging individual configurations, then the forum is the right place for that.


Feat: Not curently collecting the real-time sysName

Recently realized that for cases where a polled device is a member of a stack/pool/ha cluster/etc if you poll a virtual IP that is shared across multiple hostnames then the recurring discovery will keep adding entries to the base file for each combination of hostname__ip, but when it comes time to do polling we really are just polling the same IP multiple times and decorating it with the device_name that is saved in the base file, not with the current sysName that the device has.
I think its fine to just generally discourage people from including VIP's in discovery jobs, but I think it would be beneficial if we also collected the sysName and sent that in the same way we do sysDesc.  Just to make it easier to identify when hostnames change and so we could use that a kind of indicator to clean up the snmp base file for possible duplication of the same IP.

For this use case we recommend polling with snmp v3. Then we use the engine ID to dedupe the same device behind a vip at disco time.

But you're thinking to take this line
		if dst.DeviceName == "" {
			dst.DeviceName = dd.DeviceMetricsMetadata.SysName
		}

And use the sysname as the device name each time through? I see that Sysname is set for the uptime metric but no other metrics. We can also add Sysname to every metric, just like we do device_name now. Sysname is polled every 30 min currently along with the rest of the metadata.

so i think when i was looking at the data I might not have looked back deep enough to see the 30m sysname data point.  Now that you point this out I think its okay to keep it how it is, ultimately I want to be able to a report that shows me all the times when device_name is not the same as sysname.  Maybe the user has manually set a device_name differently for whatever reason, but we do want to also know when the sysname is changed and the device name is no longer reflecting the reality of the hardware.

For your v3 scenario, does every member of a switch stack report the same engineid when they change the master?  I'm trying to understand what I'd find in the devices list in a v3 scenario.

so i think when i was looking at the data I might not have looked back deep enough to see the 30m sysname data point. Now that you point this out I think its okay to keep it how it is, ultimately I want to be able to build a report that shows me all the times when device_name is not the same as sysname. Maybe the user has manually set a device_name differently for whatever reason, but we do want to also know when the sysname is changed and the device name is no longer reflecting the reality of the hardware.

OK, cool. Easy enough to jiggle around if you think of a reason to down the road.

For your v3 scenario, does every member of a switch stack report the same engineid when they change the master? I'm trying to understand what I'd find in the devices list in a v3 scenario.

The code is:
	// Remove any duplicate devices based on Engine ID here.
	for dip, d := range conf.Devices {
		if !conf.Disco.NoDedup && d.EngineID != "" {
			if _, ok := byEngineID[d.EngineID]; ok {
				// Someone else has this engine ID. Delete this device.
				log.Warnf("Removing device %s because of duplicate EngineID %s.", d.DeviceName, d.EngineID)
				delete(conf.Devices, dip)
				stats.added--
			} else {
				byEngineID[d.EngineID] = d
			}
		}
	}

Basically there's the engine_id: ee:00:1f:a1:80:9b:80:bd:0e:dc:b9:c6:63:00:00:00:00 field in the device list and by default this will be unique -- only 1 device can have a common id. Good question on this and a switch stack. Probobly only 1 device but with a kinda random device name being the first switch found?

so i think when i was looking at the data I might not have looked back deep enough to see the 30m sysname data point. Now that you point this out I think its okay to keep it how it is, ultimately I want to be able to build a report that shows me all the times when device_name is not the same as sysname. Maybe the user has manually set a device_name differently for whatever reason, but we do want to also know when the sysname is changed and the device name is no longer reflecting the reality of the hardware.

OK, cool. Easy enough to jiggle around if you think of a reason to down the road.

For your v3 scenario, does every member of a switch stack report the same engineid when they change the master? I'm trying to understand what I'd find in the devices list in a v3 scenario.

The code is:
	// Remove any duplicate devices based on Engine ID here.
	for dip, d := range conf.Devices {
		if !conf.Disco.NoDedup && d.EngineID != "" {
			if _, ok := byEngineID[d.EngineID]; ok {
				// Someone else has this engine ID. Delete this device.
				log.Warnf("Removing device %s because of duplicate EngineID %s.", d.DeviceName, d.EngineID)
				delete(conf.Devices, dip)
				stats.added--
			} else {
				byEngineID[d.EngineID] = d
			}
		}
	}

Basically there's the engine_id: ee:00:1f:a1:80:9b:80:bd:0e:dc:b9:c6:63:00:00:00:00 field in the device list and by default this will be unique -- only 1 device can have a common id. Good question on this and a switch stack. Probobly only 1 device but with a kinda random device name being the first switch found?


Port PathSpec implementation to JS, use in samples

Not ready for review, just testing out the PR builder.

PTAL.

This is the last one :-)

The comment in the patch is:
    This is a breaking change to the JS API. HashSpec and parseObjectSpec
    have been removed in favour of PathSpec, and parse errors now throw
    SyntaxError instead of silently failing (this matches JSON.parse).

Nice. You need to update some of the samples/js though.

PTAL.

LGTM with nit


HIVE-17289: EXPORT and IMPORT shouldn't perform distcp with doAs privileged user.

Already committed to master.


bug(MatIconButton): Touch Targets are overlapping each other when placed side by side

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
16.2.14
Description
Placing two mat-icon-buttons side by side just like the angular material doc pages does results in overlapping touch targets. And the user clicks the wrong buttons.
v16.2.14 (of the docs):

v18.1.2 (of the docs):

Reproduction
Just open the https://v16.material.angular.io/components/button/overview page and compare the button touch target behavior when moving the mouse over the icon buttons with the one of the current version https://material.angular.io/components/button/overview
Expected Behavior
Icon-Buttons should be separated clearly for the user, and no overlapping should occur.
Actual Behavior
Even though the mouse pointer is clearly over another button, the neighboring button is already displayed as hovered and is executed when clicked.
Environment

Angular: 18.1.2
CDK/Material: 18.1.2
Browser(s): Chrome 127.0.6533.73
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11

For context, the difference is that in v16 the icon button is 48x48px while now it is 40x40px. The reason for that change was that this was a change in the Material specs for M3 icon buttons. Despite that, the touch target remains 48x48px for better accessiblity. Unfortunately this means sometimes touch targets overlap.
Although I'll leave this issue open since it would be ideal if this experience can be improved here.


add nil check in json_unquote function as LongText.Convert() can retu…

…rn nil,nil
This fixes an issue that can trigger a panic in master with:
SELECT json_unquote(json_extract('{"hi":"there"}', '$.nope'))

When json_extract returns with a path that is not resolved in the result, json_unquote will blow up while producing an error.

Thanks for the contribution!
Can you add an engine test that fails before your fix and passes after? Probably should go in queries.go, in the enginetest package.


[Feature] Include rockspec and source shas in lockfile when building

I don't think we need it for lookups. But it's useful for integrity checks, in case someone force-uploaded a modified rockspec or source archive (which defeats the purpose of locking and is a supply chain vulnerability).
The benefit of this for Nix is that it can use a cached version if the source or rockspec hash has changed. We could one day implement something similar.
And if there's nothing in the cache and a mismatched rockspec/source hash, it would be reported as an error (with an option to update the lock entry, warning that it could be a supply chain attack).
Originally posted by @mrcjkb in https://github.com/nvim-neorocks/rocks/pull/111#discussion_r1787622636

We don't need it for lookups

I'm currently implementing update functionality and I've started thinking about this again. An update command needs to remove the old version of a rock from the lockfile and replace it with the new, updated rock.
To know which entry to delete, it has to be able to derive the UID for the rock in the JSON. This is not feasible if the main hash already contains source and rockspec information. Is there something inherently wrong with the following, since you haven't mentioned any drawbacks?
"<uid>": {
    "name": "neorg",
    "version": "0.8.0",
    "source-hash": "sha256-aa0a5bcd396f3b8e59fa9dd8059a06c3bf4952f48473214d96fc46895edb59f0",
    "dependencies": []
}

Yes, this means we have two hashes, but these both have their own uses. The UID hash is used to differentiate a rock based on name, version and pinning information. The source hash is used to validate the integrity of the rock itself. Wdyt?

That's exactly what I had in mind (only with an additional rockspec-hash field).


efk: fix memory request from 'mem' to 'memory'.

Fixes https://github.com/kubernetes-incubator/kubespray/issues/2718

/retest

https://github.com/kubernetes-incubator/kubespray/pull/2653


DOC more docs and example

I added more documentation for local integration testing and an example Dockerfile.

@salilgupta1 This should be a quick one.

@salilgupta1 This is ready for a second look!

@salilgupta1 Sorry for the typos! This one should be good to go now!


Make it official?

Thank you for creating this ❤ 🎈
Are you interested in placing this under @floating-ui/solid?

@lxsmnsyc it's okay that it doesn't support interactions, just the positioning is fine. If created, that would be a separate package like @floating-ui/solid-interactions, but yeah, the interactions package is vastly more complex and is still in v0, so it wouldn't make sense to translate it especially as it's in flux still.

I see, that makes sense. I do feel the urge to work on it given that I'm also working on solid-headless.

Regarding the API, is it possible to match @floating-ui/react-dom like this if it makes sense, or better to use external signals? In React you can access the elements via position.refs.reference.current:

I did consider it initially however given that Solid doesn't have refs, reference and floating is going to be a setter function ((ref: T) => void) but the thing is, users won't be able to access the underlying ref value, hence why the current API design is to delegate the ref assignment to the user and the user must pass the value to the useFloating function instead.
I am open to discuss this further.

I see, that makes sense 👍
It should be relatively straightforward to duplicate the react-dom folder as solid in Floating UI's repo and replace files with the index.ts file you've created — the build setup should work with it.  Would you be willing to make a PR?
After that, we can create a documentation page on the website (which will likely be similar to your current README)

Yes, that's sounds great. I'll do it in my free time, thanks!


[mapping template][improvement] template updates for 4 get order by id use cases

Impacted use cases

get UNI add order by id
get Eline add order by id
get UNI delete order by id
get Eline delete order by id

Updates required

response mapping

change completeDate as optional mapping

add productOrderItem[0].completionDate as optional mapping

add productOrderItem[0].expectedCompletionDate as optional mapping

please indicate which mapping template version it will be in

eline  state = completed
{{host}}/mefApi/sonata/productOrderingManagement/v10/productOrder/e642a765-1d56-4b5e-9209-1194aa84559a?buyerId=qe1company

port state != completed
{{host}}/mefApi/sonata/productOrderingManagement/v10/productOrder/e32b7842-b4b2-45e3-b49a-dadfb5d8b3ff?buyerId=qe1company


provide export import

A user should export and import his data.

General import export is available and must be adapted for additional data.


Overview of newly added accepting businesses

As an owner of a EAK, I want to get an overview of recently added accepting businesses, so that I can quickly see if there is a new intersting accepting business for me.
Acceptance Criteria:

[ ] Recently added accepting businesses can be viewed in descending order beginning with the most recent Akzeptanzstelle
[ ] I can see if the accepting business is new for me (or if I have already seen it)
[ ] I can see when the accepting business was added
[ ] I can filter by a given location with a given or fixed radius

This issue was created in the initial design/implementation phase of the eherenamtskarte.
Therefore, I'll close this because it is probably outdated.
If this feature request is important then it will come up again in the future development of this app.


Add support for boundary events

The standard states that boundary events are allowed in choreography diagrams in principle, without stating how they are supposed to work in practice.
However, the standard failed to add the possibility of attaching boundary events to choreography activities in the metamodel. For that reason, we need to extend the metamodel. I have done it before for another project.
Proposed Metamodel Extension

JSON
let metamodelExtension = {
    "name": "ExtendedChoreographies",
    "uri": "http://hpi.de/ec",
    "prefix": "ec",
    "xml": {
        "tagAlias": "lowerCase"
    },
    "enumerations": [],
    "associations": [],
    "types": [
        {
            "name": "ExtendedChoreographyActivity",
            "extends": [
                "bpmn:ChoreographyActivity"
            ],
            "properties": [
                {
                    "name": "boundaryEventRefs",
                    "type": "bpmn:BoundaryEvent",
                    "isMany": true,
                    "isReference": true
                }
            ]
        },
        {
            "name": "ExtendedBoundaryEvent",
            "extends": [
                "bpmn:BoundaryEvent"
            ],
            "properties": [
                {
                    "name": "attachedChoreographyRef",
                    "type": "bpmn:ChoreographyActivity",
                    "isAttr": true,
                    "isReference": true
                }
            ]
        }
    ]
}

Will be implemented in active-chor-js


Dialyzer fixes

Note the riak_pipe branch and associated PR
Only tested with OTP-<IP_ADDRESS>.  Which OTP versions should it support?

Thank you for taking the trouble to look into this crufty matter,
There is an ongoing effort to do this, however: see #1166. It is not complete, though (some warnings are still being ignored). Part of it has been already merged (#1164), and the remaining commits are awaiting reviewer's attention (@macintux). Note that that PR is open against branch 2.1, the idea being to backport it into develop at a later time.
To avoid duplicating our efforts, I suggest you to rebase your branch on top of my branch (https://github.com/basho/riak_kv/tree/fix/az/assorted-dialyzer-issues) and drop commits dealing with warnings I have already dealt with.

To answer your question re OTP versions: currently it is R16 (we maintain, and recommend all development to be done on, https://github.com/basho/otp). Future proofing, such as compatibility fixes for OTP-18) are being done in the background.

Thanks, @hmmr.  I'll close this and take a look at #1166.


OOP school library: add basic UI

I did the following in add basic UI:

Build interactive console apps.
Run a program using the command line.
Create a form of UI for your school library app.
Make sure that there are no linter errors.
Make sure that you used correct Gitflow.
Make sure that you documented your work in a professional way.

@thanks

@TuyishimireEric  thanks


add "main" entry point in package.json

I want to use dicomParser but I am using browserify in my project.
I am getting "cannot find module" errors and I believe this will fix it.
Thanks!

Accepted - thanks for pointing this out.  Can you let me know if your problem is now solved?

Thanks! do you need to re-publish to npm?
On Thu, May 21, 2015 at 4:47 PM, Chris Hafey<EMAIL_ADDRESS>wrote:

Accepted - thanks for pointing this out. Can you let me know if your
problem is now solved?
—
Reply to this email directly or view it on GitHub
https://github.com/chafey/dicomParser/pull/15#issuecomment-104416203.


Another ‘Failed to produce diagnostic for expression’ error with basic switch mismatched type

This code:
import SwiftUI

enum StatusBarState {
    case ok (message: String)
    case loading (message: String)
    case error (log: String)
    case warning (log: String)
}

class   StatusBarMessage: ObservableObject {
    var message: StatusBarState = .ok(message: "Starting")
}

struct StatusBarView: View {
    @StateObject var status: StatusBarMessage

    var body: some View {
        switch status {
            case .ok (let message):
[…]

Where status should be status.message fails to produce a diagnostic (or rather ends up with the message quoted in subject).

The fails to produce diagnostic should probably have been fixed by @xedin and @ahoppen recent work on pattern matching.
On main we see
Exit Code: 1

Command Output (stderr):
--
.../file.swift:21:19: error: unexpected error produced: type '_ErrorCodeProtocol' has no member 'ok'
            case .ok (let message):
                  ^
.../file.swift:21:34: error: unexpected error produced: expression pattern of type '(_) -> StatusBarMessage' cannot match values of type 'StatusBarMessage'
            case .ok (let message):
                                 ^
.../file.swift:22:15: error: unexpected error produced: closure containing control flow statement cannot be used with result builder 'ViewBuilder'
              break
              ^
SwiftUI.ViewBuilder:2:30: note: diagnostic produced elsewhere: struct 'ViewBuilder' declared here
@resultBuilder public struct ViewBuilder {
                             ^

So that type '_ErrorCodeProtocol' has no member 'ok' looks a bit off

Probably at least partially by https://github.com/apple/swift/pull/59210 which changed how these patterns are handled. I think we can resolve this if failure to produce a diagnostic is fixed on main.

Similar error:
import SwiftUI

struct ContentView: View {
    @State private var appState: AppState = .start

    var body: some View {
        switch appState {
        case .Start:
            Button("getText") {
                print("pressed")
            }

        case .Finished(let text):
            Text(text)
        case .Processing(let text):
                ProgressView()
        }
    }
}

enum AppState {
    case start, processing(text: String?), finished(text: String)
}


New version: Ferdium.Ferdium version 6.7.7

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-21 22:07:24.755 [FAIL] Installer failed security check. Url: https://github.com/ferdium/ferdium-app/releases/download/v6.7.7/Ferdium-win-AutoSetup-6.7.7-ia32.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

@wingetbot run


editor.stickyScroll enabled with Peek References

Type: Bug
Hello,
so if "editor.stickyScroll.enabled": true,
and you try to use Peek References, editor StickyScroll is in the way or on top of Peek References, hiding it
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.72.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

never mind


Integrate erpc

This PR adds a dev image build of erpc to additional services so it can be put through some testing/evaluation

Also to prevent the Deploy / additional_services job to fail, you'll need to add erpc to the list of additional services in .github/tests/additional-services.yml.
For reference: https://github.com/0xPolygon/kurtosis-cdk/blob/main/.github/tests/additional-services.yml


Add SDK 31.0.0

Ahh ok
On Fri, Dec 10, 2021 at 7:47 AM Ricardo N Feliciano <
@.***> wrote:

@.**** requested changes on this pull request.
Hi. Thank you for the PR. The change itself is great however how we add it
to the image needs to be modified.
For Convenience Images such as this Android one, changes should be made to
the Dockerfile.template file only. Dockerfiles shouldn't be edited
directly and previous images shouldn't be edited and we don't rebuild them.
So if you can make this change just to the template file, we can get this
merged and this change will appear in the next image release for Android.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CircleCI-Public/cimg-android/pull/27#pullrequestreview-828976008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI5DMJ54NFR43SDJ7YAOX3UQIHGPANCNFSM5JCQ7RFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Closing due to a lack of progress at this time.


Last commit is breaking Google Oauth

Issue Summary
https://github.com/alerta/angular-alerta-webui/commit/c23e30542e4865251f5822a8a06a336bb8ff8c58 is breaking Google OAuth.
No more clickable button when applying last commit.

You didn't fill in the issue template. Now i have to ask lots of questions :(
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....' or Run '...'
Scroll down to '....'
See error (include command output)

For web app issues, include any web browser JavaScript console errors.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.


Heirachy Request Error sending keys in IE Edge 18 driver

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Clicking on draftjs element and calling keys() in IE Driver 18 crashes the page with Heirachy Request Error
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
Happens on the draftjs homepage. Start a IE edge 18 webdriver session, click on the draftjs element and send keys 'xyz'. Console output is Heirachy Request Error
What is the expected behavior?
Not to crash
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Latest DraftJS, IE Driver 18

This is the test we are using that fails (it uses wdio)
describe('IE EDGE 18 TEST', function () {
  it('should not fail', function () {
    this.timeout(120000);

    browser.url('https://draftjs.org/');

    const editor = browser.$('.RichEditor-editor');

    editor.click();

    editor.waitForDisplayed({timeout: 15000});

    browser.keys('test');

    browser.pause(10000000);
  });
});

However I've done a big more digging and if you send a space before your text (as below) it works. I assume this is because it uses the original dom node that is there and adds a new one after rather than replacing the original dom node
browser.keys(' test');


Groups don't work when changing intent

I tied a bunch of unusual hat buy orders on my bot manually to a group named "qb".
Upon running !update all=true&withgroup=qb&intent=buy, the bot instead runs intent=buy on EVERY item in my pricelist regardless of group. Why

I use my bot primarily to dump items from backpack sales (on &intent=sell & autoprice) and buy unusual hats around buy orders. Why does it do this?
Upon calamitus's advice, i tried the command without "all=true" and it just errored out

Am i doing something wrong or is this genuinely a bug? I was always advised to use groups to mass update items (i wish i could mass update items of a specific quality to a specific intent too but that one's not possible), so it kinda sucks that they don't even function for the simple feature of bulk updating w/ groups

no clue why but judging from this message i got over a high value item, it thinks the default group is "qb"? what's going on


Fix more broken links.

Sorry, missed one in my last commit.  Also, #380 recently removed the link, but
not the actual entry.

💟 Thanks! We really need a tool for this.


date property isn't being cleared when the input field is cleared

Related to https://github.com/fs-webcomponents/fs-place/issues/1

There are two ways to clear the input:

Hit the clear button (an X on the right side)
Delete the text

We can detect case (1) via the autocomplete-reset-blur event. I don't know how to detect (2). We can listen to text-changed events on the element, but it's problematic because that event is fired during initialization of the element before a prefilled date value is set. Thus we can't use it as a signal that the user cleared it, otherwise we will end up clearing prefilled data before it's filled and thus the prefilled behavior wouldn't be possible.

I only see two possibilities:

Add logic that always ignores the first text-changed event
Add our own key event listener to the input

I chose option 2.


Losing syntax highlighting with this example

I'm not sure if this belongs here, or with Babel or some other package, but hoping you can point me in the right direction.
This (<T> is flow-annotation) highlights perfectly:
const foo = <T>() => 42;

But if you put a line-break anywhere between the function name and arrow, syntax highlight breaks for the entire rest of the file.

It's because const foo = <T> looks like JSX to the regex parser and anything following would be considered as plain text until some more JSX is found. In fact, syntax highlighting would work again if a closing JSX statement were to be found; </T> in your example.
I'm unable to fix this due to limitations of the Atom grammar features. Because grammars are TextMate based they can't look ahead to following lines and determine if an arrow exists.  If the arrow is on the same line then I can determine that this is not JSX but a flow generic function.
If this is a pattern you require then you could use flow comment syntax


Make app base skeleton (Version 1)

Version 1

Auth coordinator
Tabbar coordinator
-- Home
-- Search
-- Player
Userhome coordinator

Base structure/navigation is done. There is other tasks to improve coordinators.


Misleading wording.

Current wording: "The following images show how to convert geometry in the Door layer to opening features in a dataset."
Suggested: "The following images show how Azure Maps converts door layer geometry into opening features in a dataset."
The current wording suggests that the user is supposed to make these transformations somehow.
[Enter feedback here]

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

ID: 886ab0ce-75af-eaf9-b1e9-ffa0c1fec51f
Version Independent ID: b014d60a-ce4e-c2b5-6a2c-b3e7e75c6eb7
Content: Drawing package requirements in Microsoft Azure Maps Creator - Microsoft Azure Maps Creator
Content Source: articles/azure-maps/drawing-requirements.md
Service: azure-maps
GitHub Login: @stevemunk
Microsoft Alias: v-munksteve

@mbelt Thanks for the feedback! We are currently investigating and will update you shortly.

@mbelt PR has been created to update the doc as per suggestions. Once it has been reviewed and merged this issue will auto resolved. Thanks again for raising this issue.


MM-41532 Gekidou Snack Bars

Summary
With this PR, we have implemented the SnackBar component that appears whenever we have copied a link or a text from the post options.
In this ticket, we have two more snackbar for undoing the action for 'Mute Channel' and 'Unfollow Post'.  Un/Follow post already has visual indicators so no snackbar was implemented for it.   I will implement the unmute channel in a separate ticket.  https://mattermost.atlassian.net/browse/MM-43584
Ticket Link
https://mattermost.atlassian.net/browse/MM-41532
Release Note
NONE

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/21892
https://circleci.com/gh/mattermost/mattermost-mobile/21891

Artifact links:
https://output.circle-artifacts.com/output/job/b10e564d-d131-421f-82fe-c0b3331ad981/artifacts/0/tmp/artifacts/Mattermost_Beta.apk
https://output.circle-artifacts.com/output/job/0b6126b1-9d87-4a18-ab91-80a453111385/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa

@matthewbirtch
About 6: elevation is an Android thing, for iOS we'll need the shadow style values, are they also in figma?
About 7: the toast is an overlay that will be on top of all navigation screens, doing what you are asking is possible but my question is, should that apply at all times regardless of the screen that is being removed from the stack?

@matthewbirtch
About 6: elevation is an Android thing, for iOS we'll need the shadow style values, are they also in figma? About 7: the toast is an overlay that will be on top of all navigation screens, doing what you are asking is possible but my question is, should that apply at all times regardless of the screen that is being removed from the stack?

Sorry, I was referring to our own elevation styles in our design system. Elevation 2 in our system is:

I'm not exactly sure what this works out to, but Figma spits this out:
For iOS
Effect: Drop shadow
Radius: 6 pt
Offset: 0 pt, 4 pt
rgba 0.0, 0.0, 0.0, 0.12

and this for Android:
Effect: Drop shadow
Radius: 6dp
Offset: 0dp, 4dp
#1F000000

@matthewbirtch  Thanks for your input.  I'll be working of them.

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/22097
https://circleci.com/gh/mattermost/mattermost-mobile/22096

Thanks @avinashlng1080.
The toast now dismisses properly when I swipe down or navigate back, so nice work on that.

I'm being picky here, but can we bump up the toast vertically by 4px? The margin between the input box and the bottom of the toast should match the margin on the left and right (which is now correct - thank you!).
I still don't see a shadow applied (testing on iOS). Are we skipping that?

Other than that, I think we're good.

@matthewbirtch this PR has nothing to do with the Toasts shown in the gallery, but I wanted to ask if the Toast shown there (gallery) should also have a shadow, do let me know please

@matthewbirtch this PR has nothing to do with the Toasts shown in the gallery, but I wanted to ask if the Toast shown there (gallery) should also have a shadow, do let me know please

Yep, just make it consistent for component

Alright, can we leave that off this PR and I'll make sure to include the shadow as I work on https://mattermost.atlassian.net/browse/MM-39764 ?

Thanks @matthewbirtch  and @enahum .
@matthewbirtch  I have bumped it vertically as requested.  Please let me know if this works for you.

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/22270
https://circleci.com/gh/mattermost/mattermost-mobile/22269


Error while running test on docker

Error Log
mits-mac-001@adominisutoretanoMacBook-Pro ~ % docker exec -it ichiran-main-1 test-suite
This is SBCL 2.2.4, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
fatal error encountered in SBCL pid 663 tid 663:
premature end of core file

Output from Docker compose up
WARN[0000] /Users/mits-mac-001/Code/ichiran/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 3/3
 ✔ Network ichiran_default   Created                                                                                0.0s
 ✔ Container ichiran-pg-1    Created                                                                                0.1s
 ✔ Container ichiran-main-1  Created                                                                                0.1s
Attaching to main-1, pg-1
main-1  | Checking postgres server status...
pg-1    | The files belonging to this database system will be owned by user "postgres".
pg-1    | This user must also own the server process.
pg-1    |
pg-1    | The database cluster will be initialized with locale "en_US.utf8".
pg-1    | The default database encoding has accordingly been set to "UTF8".
pg-1    | The default text search configuration will be set to "english".
pg-1    |
pg-1    | Data page checksums are disabled.
pg-1    |
pg-1    | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
pg-1    | creating subdirectories ... ok
pg-1    | selecting dynamic shared memory implementation ... posix
pg-1    | selecting default max_connections ... 100
pg-1    | selecting default shared_buffers ... 128MB
pg-1    | selecting default time zone ... Etc/UTC
pg-1    | creating configuration files ... ok
pg-1    | running bootstrap script ... ok
pg-1    | performing post-bootstrap initialization ... ok
pg-1    | initdb: warning: enabling "trust" authentication for local connections
pg-1    | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
pg-1    | syncing data to disk ... ok
pg-1    |
pg-1    |
pg-1    | Success. You can now start the database server using:
pg-1    |
pg-1    |     pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start
pg-1    |
pg-1    | waiting for server to start....2024-09-13 01:23:06.249 UTC [49] LOG:  starting PostgreSQL 16.4 (Debian 16.4-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
pg-1    | 2024-09-13 01:23:06.250 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
pg-1    | 2024-09-13 01:23:06.253 UTC [52] LOG:  database system was shut down at 2024-09-13 01:23:06 UTC
pg-1    | 2024-09-13 01:23:06.256 UTC [49] LOG:  database system is ready to accept connections
pg-1    |  done
pg-1    | server started
pg-1    |
pg-1    | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/ichiran-db.sh
pg-1    | =========================
pg-1    | Starting ichiran DB init!
pg-1    | =========================
pg-1    | pg_restore: error: could not execute query: ERROR:  schema "public" already exists
pg-1    | Command was: CREATE SCHEMA public;
pg-1    |
pg-1    |
pg-1    | 2024-09-13 01:23:06.535 UTC [62] ERROR:  schema "public" already exists
pg-1    | 2024-09-13 01:23:06.535 UTC [62] STATEMENT:  CREATE SCHEMA public;
pg-1    |
pg-1    |
pg-1    |
pg-1    | 2024-09-13 01:23:14.754 UTC [50] LOG:  checkpoints are occurring too frequently (8 seconds apart)

[trimmed some ouptut here]

main-1  | ffffb399b000-ffffb399d000 rw-p 00022000 00:3d 3277259                    /lib/aarch64-linux-gnu/ld-2.31.so
main-1  | ffffdd0bf000-ffffdd0e0000 rw-p 00000000 00:00 0                          [stack]
main-1  | fatal error encountered in SBCL pid 640 tid 640:
main-1  | remap_free_pages: page moved, 0x1000000000 ==> (nil)
main-1  |
main-1  | All set, awaiting commands.

Also the output from du -h -d0 docker/pgdata
mits-mac-001@adominisutoretanoMacBook-Pro ichiran % du -h -d0 docker/pgdata
4.4G	docker/pgdata

I cloned the repository, ran the commands docker compose build and after execution ran the command docker compose up inside the repo directory.  Once the text "All set, awaiting commands" appeared, in a different terminal I ran the docker exec -it ichiran-main-1 test-suite And ended up with the above error. Am I doing something wrong? how do I fix this?
Let me know if any other log is required I'll get it.

Could be some bug with SBCL. What version is it? I currently have ichiran running on 2.3.2 and 2.1.0. Also what other logs from SBCL are there (not from database initialization)?

If you are talking about the SBCL Version, I think it is SBCL 2.2.4. The Ichiran version, It's the current master branch. I didn't see any other errors except for the database part. Also at the end of the docker compose up, There was this main-1  | fatal error encountered in SBCL pid 640 tid 640: main-1  | remap_free_pages: page moved, 0x1000000000 ==> (nil)
I attached the log files for the docker compose up.
docker_compose_up (release).txt This file is the docker log for the source code from the release page. the latest one.
docker_compose_up.txt (master branch) this one is ran on the master branch

I have the same issue!

Have you tried to use an older version of SBCL? I don't use docker myself (this feature was a contribution from a user) so I have no way to test this right now.
https://hub.docker.com/r/clfoundation/sbcl/tags

I think it's the error with the SBCL. I managed to run Ichiran by installing the entire project locally (The current master branch). with SBCL 2.3.2 And it ran successfully.
I do have a requirement to build a docker for my case, If I manage to build it successfully I'll try to send a pull request if that's cool with you.

It seems clfoundation docker hasn't been updated in forever. Can you try this one instead? https://hub.docker.com/r/fukamachi/sbcl/tags . It should have 2.3.2 or you can try to use latest (2.4.8)
This is the part that needs to be updated: https://github.com/tshatrov/ichiran/blob/master/docker/sbcl-dockerfile#L1

I tried running it from the container that you specified. It gave me this error.
------
 > [main 16/16] RUN     sbcl --non-interactive --eval "(ql:quickload :ichiran)":
0.321 Unhandled QUICKLISP-CLIENT:SYSTEM-NOT-FOUND in thread #<SB-THREAD:THREAD tid=7 "main thread" RUNNING
0.321                                                          {1004C60503}>:
0.321   System "ichiran" not found
0.321
0.321 Backtrace for: #<SB-THREAD:THREAD tid=7 "main thread" RUNNING {1004C60503}>
0.321 0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {10038BE4A3}> #<unused argument> :QUIT T)
0.321 1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {10038BE4A3}>)
0.321 2: (INVOKE-DEBUGGER #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {10038BE4A3}>)
0.321 3: (CERROR "Try again" QUICKLISP-CLIENT:SYSTEM-NOT-FOUND :NAME "ichiran")
0.321 4: ((LABELS QUICKLISP-CLIENT::RECURSE :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) "ichiran")
0.321 5: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) {10038B8D3B}>)
0.321 6: (QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY "ichiran")
0.321 7: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "ichiran" :PROMPT NIL)
0.321 8: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unused argument> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10038B8C0B}>) [fast-method]
0.321 9: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {1005274143}> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10038B8C0B}>) [fast-method]
0.321 10: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) :ICHIRAN :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
0.321 11: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {10038B3F9B}>)
0.322 12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD :ICHIRAN) #<NULL-LEXENV>)
0.322 13: (EVAL (QUICKLISP-CLIENT:QUICKLOAD :ICHIRAN))
0.322 14: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/usr/local/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")))") (:EVAL . "(ql:quickload :ichiran)") (:QUIT)))
0.322 15: (SB-IMPL::TOPLEVEL-INIT)
0.322 16: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
0.322 17: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
0.322 18: (SB-IMPL::%START-LISP)
0.322
0.322 unhandled condition in --disable-debugger mode, quitting
------
failed to solve: process "/bin/sh -c sbcl --non-interactive --eval \"(ql:quickload :ichiran)\"" did not complete successfully: exit code: 1```

Then I moved ichiran from `local-projects` to `common-lisp` directory. Modified this part in the docker.

![image](https://github.com/user-attachments/assets/e05753eb-1400-4a58-a6b3-20bcb6099d1d)

And Ichiran did seem to initialize but I ended up with this error after that

main-1  | ..........................
main-1  | compressed 65536 bytes into 2052 at level 9
main-1  | compressed 106430464 bytes into 15597481 at level 9
main-1  | compressed 22413312 bytes into 5583638 at level 9
main-1  | compressed 0 bytes into 9 at level 9
main-1  | fatal error encountered in SBCL pid 26 tid 26:
main-1  | more than one core file specified
main-1  |
main-1  | All set, awaiting commands.

I tried debugging it but no luck I'm not familiar with lisp. Is there anything that I could do to get this fixed?

Ok I wasn't sure if that container was compatible, seems it is not. In that case the only thing left is to try earlier versions from https://hub.docker.com/r/clfoundation/sbcl/tags
If that doesn't work maybe there's something wrong with your machine like not enough memory or something, because it definitely used to work in the past.

I already tried the other older versions from clfoundation. It didn't work for me.
I am currently testing it on 2 devices Mac M2-16GB and Ubuntu i5 9th gen-16GB. And I am running into the same error in both the devices.
Can you give me the version of docker that you used when you ran it successfully? I like to test that before I try other things.

This turned out to be a problem with docker. When tested on a windows machine things worked out of the box perfectly.
Tested it on Ubuntu 24.04 and Pop OS 22.04 the same error persisted not really sure what caused it and what the issue was.
Installing the SBCL itself and running Ichiran worked in linux.


Inconsistent issue with streamlit-webrtc in streamlit app

          A post in https://github.com/aiortc/aiortc/issues/85 says

Maybe the root cause is something weird happening in the python selector generated by others things that share the same event loop.

Hypothesis:

The WebRTC connection is properly closed as ICE failed under this network environment ("ICE connection state is closed")
So the event loop is closed or stopped in weird state.

Originally posted by @whitphx in https://github.com/whitphx/streamlit-webrtc/issues/552#issuecomment-987885401

A similar issue has occured again , it affects your component page in streamlit as well -
https://webrtc.streamlit.app/
I checked if STUN server (stun.l.google.com:19302) is down on this site
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
it seems that the stun server is working fine. Any idea what is causing the error? Please find attached logged screenshot of the error.
Do advise if this is something that can be fixed?  maybe from asyncio lib? or what?

update -
tested server  (stun.l.google.com:19302)  on  https://smarthome-webrtc-validator.withgoogle.com/  attached is the error i received from Devtools

stun server error: 701 - but I tried other free stun servers, all 5 random servers I chose did not worked...can you please help look into this?

Update -
tried running streamlit-webrtc component on my app page, it still fails, please find attached screenshot of the issue  tracked on Chrome Dev tool -

hope it can help in figuring out what is going on - it seems that the 'index.ts' file...is getting connection closed after sending SDP offer.
I check STUN server on TrickleICE - its working fine. but i don't know why it is returning closeconnection - please see screenshot

I tested STUN server on webrtc-validator tool with google - it is also facing the same issue - connection state changed - disconnected.

by the way @whitphx - your page is showing the "error running app" page again.

@araii Sorry for late reply.
I confirmed it was not working, while it worked well weeks ago.
I am asking the Streamlit Cloud team member, and as the core team member mentioned in the issue you created (https://github.com/streamlit/streamlit/issues/6330), it looks like there has been some changes on the network of the community cloud.
First of all, the WebRTC connection is kind of "hack" that bypasses Streamlit's normal server-client connection, so we can't blame them for this issue.
And I also think using a TURN server as written in the README should be the solution, in the scope of the WebRTC's standard.
Let me take time to consider the way to host a TURN server and use it from the community cloud in a security way.

Hi @whitphx I was wondering if you had any updates on this? Any idea what is causing the issue?
Many thanks!

Thank you @whitphx for responding.
Yes, was puzzled that STUN server stop working, so I did use a free TURN server from open relay.  It worked but the latency was not good but at least it was working. But before I can demo, it fail again 2 days later, hence I open new ticket.

First of all, the WebRTC connection is kind of "hack" that bypasses Streamlit's normal server-client connection, so we can't blame them for this issue.

Yes but if webrtc component was working all this while,  and given that all factors (network, device, urls, lib version)  had remain the same - there is no reason for it to fail unless something changed in the cloud network settings.
Now page is stuck at "App is booting" - so can't test anything. I really hope this unstablity is due to the migration and can get resolved soon.

Hi @araii could you please share more details on how you fixed the issue?
I have created a TURN server with metered.ca but I cannot seem to make it work as I get the same error as you.
Any help would be appreciated, thanks a lot!

Hi @araii could you please share more details on how you fixed the issue?
I have created a TURN server with metered.ca but I cannot seem to make it work as I get the same error as you.
Any help would be appreciated, thanks a lot!

Hi @georgetanaselea , currently theres no fix for this. As stated here by @whitphx (https://github.com/whitphx/streamlit-webrtc/issues/1213#issuecomment-1474108148)
If i understand the situation correctly, do correct me if I am wrong:-

there has been some changes in the network in community cloud causing the STUN server to stop working, so if https://webrtc.streamlit.app/  is not working in streamlit, most likely your app will also not work.
@whitphx will think of a way to host a TURN server from the community cloud with security measures

Conclusion:
STUN server use to work until  streamlit changed some settings in the network in community cloud and - that may have screw up the webrtc connection.
TURN server worked for awhile, then someone spotted it and shut it down too.
and that is just unfortunate timing for me, because I was about to demo my streamlit's app and this happen!

Has anyone tested it on another cloud provider, like Heroku?

Hi @araii,

I tried adding a TURN server, it worked for awhile, but then it stopped working 2 days later. Not sure if it will work for you but the code for adding TURN server can be found here. #335 (comment)

I spent quite a lot of time on this issue and I have managed to make it work by using a turn server from these guys https://global.xirsys.net/. They have a 500mb limit for the free subscription but it should be enough for a few minutes demo.
@zivp100 I have tried Heroku too but didn't work because the problem is with the server that connects to the webcam in the streamlit app not with the app hosting itself.
I hope this helps.

Facing the same issue, both heroku and streamlit cloud logs points to the one error, no matter do I use TURN or STUN server.
When the camera starts, the ICE connection is activated, but a bit later it ends up here
`INFO from streamlit_webrtc.webrtc: ICE connection state is closed``
Which then leads to an error, because of socket object becomes none type:
AttributeError: 'NoneType' object has no attribute 'sendto'
Which later breaks the asyncio loop.
Is there any ideas of how to fix all of that?

Hi @araii,

I tried adding a TURN server, it worked for awhile, but then it stopped working 2 days later. Not sure if it will work for you but the code for adding TURN server can be found here. #335 (comment)

I spent quite a lot of time on this issue and I have managed to make it work by using a turn server from these guys https://global.xirsys.net/. They have a 500mb limit for the free subscription but it should be enough for a few minutes demo.
@zivp100 I have tried Heroku too but didn't work because the problem is with the server that connects to the webcam in the streamlit app not with the app hosting itself.
I hope this helps.

hi @georgetanaselea, thank you for sharing.
I have tried out TURN server from https://global.xirxyx.com but it is still don't work when I upload it to the cloud.  Is it still working for you?
Can everyone please also link your issue to this post here (https://github.com/streamlit/streamlit/issues/6330). I think this issue is with the network settings in streamlit cloud...

hi @georgetanaselea, thank you for sharing.
I have tried out TURN server from https://global.xirxyx.com but it is still don't work when I upload it to the cloud. Is it still working for you?

Yes, it still did on Saturday. I use it in my python, here is my config - hope it's going to help you. User and Cred are two variables that are added in my secrets.toml file.
RTC_CONFIGURATION = RTCConfiguration(
{"iceServers":[{"urls": ["stun:eu-turn6.xirsys.com"]},
{"username": user,
"credential": cred,
"urls": ["turn:eu-turn6.xirsys.com:80?transport=udp",
"turn:eu-turn6.xirsys.com:3478?transport=udp",
"turn:eu-turn6.xirsys.com:80?transport=tcp",
"turn:eu-turn6.xirsys.com:3478?transport=tcp",
"turns:eu-turn6.xirsys.com:443?transport=tcp",
"turns:eu-turn6.xirsys.com:5349?transport=tcp"]}]}
)

Is there any progress on this topic?

Has anyone tested it on another cloud provider, like Heroku?

I switched the deployment method to Heroku and it works perfect.

Has anyone tested it on another cloud provider, like Heroku?

I switched the deployment method to Heroku and it works perfect.

How did you do it?

@kishiyamat
Are you sure that your application is working from a remote host, e.g. camera starts, the video being send and the RTC connection does not drop all the way, also, can you please share your requirements.txt file, maybe you got some kind of special versions of aiortc or streamlit-webrtc that still works, many thanks!

@kirienkomaxym I'm using audio capturing, so I'm not sure about the camera. But it works fine with the audio capturing, which doesn't work on Streamlit Cloud now. Here is my requirements.txt. (Sorry, this is for my lecture, and the versions are not well specified.)
audio-recorder-streamlit
librosa
plotly
streamlit
pydub
streamlit-webrtc==0.45.0

I clone the s2t app from the example (https://github.com/kishiyamat/streamlit-stt-app/tree/heroku), making the files above. Then, I moved to Heroku and followed the following steps.

Create New App
Choose the repository to connect
Choose the deployment method.

The deployed app: https://streamlit-stt-app-clone.herokuapp.com/
The commit: https://github.com/whitphx/streamlit-stt-app/pull/131/commits/1d3c30d1b8e515bb735d06d997fc707edae14b38

@kishiyamat
your app seem to struggle the same issue, if the video mode is on, the video does not actually starts, you can check the heroku log for the same error, we all facing here. Thanks for the help!

Oh I see. Thank you for sharing the issue.

@kirienkomaxym  Hi, I checked the deployed app, and it's working.

it worked on Heroku :)

@whitphx thank you for updated 🙏

Hey ,any updates on this issue as I am also facing the same issue while deploying on Streamlit Cloud
I am using Chrome Browser

Hello, @whitphx despite the TURN server we still experiencing the same problem. you take too long to answer. how can we resolve this if you are not responding very well?
I am so frustrated, with how this problem is still unresolved. months passed but we still had this problem. come on!

question is there a step-by-step guide on how to use the Twilio turn server? I am very new to this please response.

@kirienkomaxym how did you access your Twilio turn server, can you provide me instructions? I'm just confuse

Hi @kirienkomaxym,

e.g. some conflicting libraries versions or unexpected behavior.

I can't deny the hypothesis, but also don't have any evidence to support it...
As it's currently working in some environment and some not, I think it's more likely to be a network or WebRTC's signaling issue.
FYI, the error message in the screenshot has been observed in the past e.g. https://github.com/whitphx/streamlit-webrtc/issues/552, and I think the error message is not representing the actual issue as https://github.com/whitphx/streamlit-webrtc/issues/552#issuecomment-987885401.

Then, when I changed my network env, I reproduced the problem even with the sample app using the Twilio TURN server.
I found this issue which may be a good first reference: https://github.com/twilio/twilio-video.js/issues/1045, saying that the Twilio TURN server has some problem in some network envs.
I updated the top page and the object detection demo of the sample app to set the iceTransportPolicy to relay following the advice at https://github.com/twilio/twilio-video.js/issues/1045#issuecomment-642976624.
(See https://github.com/whitphx/streamlit-webrtc-example/blob/ece78a99b1480885b82e54a4544598ca71cba784/app.py#L141-L144)
Then,

The app started working well on my laptop (macOS, Chrome).
It didn't seem to work on my smartphone (Android, Chrome) at first, but it just took a long time (~40sec) to start the video streaming.

I haven't found a clear solution yet, but I hope it helps in any way.

To use the Twilio turn server, in short,

Sign up for a Twilio account.
Get the account ID and the auth token from the Twilio console.
Get the TURN server credentials from the Twilio API. See this doc: https://www.twilio.com/docs/stun-turn#list-post-example# This sample is copied from the Twilio's doc
# Download the helper library from https://www.twilio.com/docs/python/install
import os
from twilio.rest import Client

# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = os.environ['TWILIO_ACCOUNT_SID']
auth_token = os.environ['TWILIO_AUTH_TOKEN']
client = Client(account_sid, auth_token)

token = client.tokens.create()

Pass the ice_servers value to the iceServers field of the rtc_configuration argument of webrtc_streamer().webrtc_ctx = webrtc_streamer(
    # ... other args ...
    rtc_configuration={"iceServers": token.ice_servers},
)

In actual Streamlit apps, the API caller code must be memoized. See https://github.com/whitphx/streamlit-webrtc/issues/1213#issuecomment-1521848187 for the actual code of the sample apps.

Having same issue. Any updates?

Any updates? I`m having the same problem.

Any updates? I`m having the same problem.

I had the same problem when I used the latest version of streamlit==1.34.0, but after downgrading to 1.33.0, the problem disappeared; I think this must be related to the streamlit version.

I had the same problem when I used the latest version of streamlit==1.34.0, but after downgrading to 1.33.0, the problem disappeared; I think this must be related to the streamlit version.

also fixed by downgrading

is it working now?

n my case, this library worked with streamlit==0.38.0 whereas not with streamlit==0.39.0, regardless of the rtc_configuration.

@RavenMuse This comment saved my day !

I had the same problem when I used the latest version of streamlit==1.34.0, but after downgrading to 1.33.0, the problem disappeared; I think this must be related to the streamlit version.

@RavenMuse This also worked for me. Thanks.


use bootstrap or other css components

I love the boilerplate and just got started with it trying to understand the bits and peaces.
Also I do enjoy the styled components logic: great work!
The issue I am facing though:
When I add  e.g. npm packages for bootstrap or muicss (which I would love to use "out of the box") and add the boilerplate ALL the default styling is gone looking quite awful. I tried e.g.
import ReactDOM from 'react-dom';
import Form from 'muicss/lib/react/form';
import Input from 'muicss/lib/react/input';
import Textarea from 'muicss/lib/react/textarea';
import Button from 'muicss/lib/react/button';

class Example extends React.Component {
  render() {
    return (
      <Form>
        <legend>Title</legend>
        <Input hint="Input 1" />
        <Input hint="Input 2" />
        <Textarea hint="Textarea" />
        <Button variant="raised">Submit</Button>
      </Form>
    );
  }
}

Any idea?

The styled-components documentation  has a whole section on integrating third party components such as Bootstrap.
Hope it helps.

@VinzentE just add your css files you want to use to index.html file
    <link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.6/semantic.min.css" rel="stylesheet">

I just import an external css components by doing these, and i don't know if it is still a best practice or not, if you have any better suggestion please let me know.
For an example here i want to add bootstrap style into my project

Install boootstrap by npm npm i -S bootstrap@3
Open up the app.js which located on <your-root-project>/app/app.js
Add bootstrap import after sanitize import like this

    import 'sanitize.css/sanitize.css';    // --> insert after this part
    import Bootstrap from 'bootstrap/dist/css/bootstrap.css';

and you're ready to go now

@slaveofcode
Your steps worked for me, but how would I get started with react-bootstrap ?
I tried npm install -S react-bootstrap and then just going to Homepage/index.js and import carousel, ex import { Carousel } from 'react-bootstrap', but to no avail.


Feature/add product

📢 Type of change

[ ]  Bugfix
[ ]  New feature
[x]  Enhancement
[ ]  Refactoring

📜 Description
creating endpoint to add new product for a restaurant,
with unitary and integrations tests
💚 How did you test it?
Junit tests with mockito,
Integration tests for controller with mockMvc
Repository tests
Postman test suite
📝 Checklist

[x]  I compiled before submitting the PR
[ ]  I reviewed the submitted code

🔮 Next steps
create endpoint to retrieve all products from a restaurant

Wrong branch for pull request, should be develop not master


fixes for pipeline flow/dependencies

hello, dear okd-team,
please review the pull-req

ovn-kubernetes and ovn-kubernetes-base must be built via Dockerfile and Dockerfile.base, except for 4.13 branch ~(i see there is a new kustomization rule for 4.13 https://github.com/okd-project/okd-payload-pipeline/blob/a1c13616ef49d867bd48adcd3a890841a932e18d/buildconfigs/kustomization.yaml#L8 seems Dockerfile.*rhel9 migth be applied here)~
ovn-kubernetes depends on ovn-kubernetes-base and must be build on the next step of the pipeline
network-tools still refers to registry.ci.openshift.org/ocp/4.12:ovn-kubernetes as FROM

included into https://github.com/okd-project/okd-payload-pipeline/pull/39#issue-1746710513


Move to TestItems.jl for tests and add all doctrings

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@80231ca). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage        ?   13.55%
=======================================
  Files           ?        8
  Lines           ?       59
  Branches        ?        0
=======================================
  Hits            ?        8
  Misses          ?       51
  Partials        ?        0

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Some CI failed on Windows on intermediary commits. It seems to be related to some error on the CI servers.


Allow google to index site

Description
To allow google to index this website.
Currently google search of site 2023.iosconf.sg return no results

@vinamelody  this is deployed to netlify?


[doc]delete sql manual docs that mismatched of code in 2.0

delete same mismatched sql manual doc of branch-2.0  in Database-Administration-Statements

actually the docs of doris has been moved to https://github.com/apache/doris-website, so your changes should be done in that repo. https://github.com/apache/doris-website/tree/master/versioned_docs/version-2.0 and https://github.com/apache/doris-website/tree/master/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0. remember the siderbar.

actually the docs of doris has been moved to https://github.com/apache/doris-website, so your changes should be done in that repo. https://github.com/apache/doris-website/tree/master/versioned_docs/version-2.0 and https://github.com/apache/doris-website/tree/master/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0. remember the siderbar.

@zclllyybb please review this one. https://github.com/apache/doris-website/pull/707


Cannot open absolute file with ctrl+p anymore

on Windows, launch yarn run watch
have a compile error somewhere
select the file path from the console:

C:/Alex/src/vscode/src/vs/workbench/browser/actions/layoutActions.ts(28,1)

It always worked for me that I could select that and paste it in the Ctrl+P picker:

on stable:

on insiders:

Good catch, a regression where I am not matching on the posix style separators properly. Should be fine with https://github.com/microsoft/vscode/commit/a19857db3dd522cb2d2f93c60206bbd71eab0144


Spanner admin template doesn't check database exists as often

fixes #1149
Doesn't check for database existence as often to reduce calls to that API.
This reduces several usages of databaseExists and tableExists, which both need to get the list of databases.

@meltsufin the difference is in the executeDdlStrings function. It no longer checks if the database exists. This is the main difference.
Also I am not understanding what you mean by the before and after annotations.. Our integration tests for repo and template are each a single test method each, so this checking is really just done once anyway.

If you only have one test per test class, then there is no difference indeed. However, once you add more than one test, that will no longer be the case and you will be duplicating database creation.


Implement the canonical isOpenChange event to allow two-way binding on isOpen

This allows two-way bindings like <… dropdown [(isOpen)]="my.isOpen"> to prevent the internal and external flags from going out-of-sync whenever the dropdown is closed automatically.
From the angular2 documentation:

[…] Angular matches [(x)] to an x input property for property binding and an xChange output property for event binding.

This is a full replacement for the onToggle event but you might want to keep it around for backwards compatibility reasons.

Nice one, same as with fix for #124

Here you go. I’ve also updated the documentation


Provide agent plugin netty-socketio

Please answer these questions before submitting pull request

Why submit this pull request?
[ ] Bug fix
[x] New feature provided
[ ] Improve performance

New feature or improvement

Provide Netty-ScoektIO Agent Plugin.

Here have some screenshot:

#3605 Here is the new PR

/run ci

How does the topology look like? I think you need an icon PR in the UI repo.

How does the topology look like? I think you need an icon PR in the UI repo.

Here is topology.

/run agent-plugin-test-1

Plugin test failure. Please recheck.

fixed. forget delete test case expected data.

/run agent-plugin-test-3

Need a conflict fix again. You need tl update the total case number of the whole jenkins job.

Need a conflict fix again. You need tl update the total case number of the whole jenkins job.

I just did that.

@dmsolr @arugal @kezhenxu94 This should be OK to review now.

/run ci

Depend on #3666, a new build_id rule is required. I will merge #3666, then we need to adjust this PR.

/run agent-plugin-test-2

/run agent-plugin-test-3

/run e2e

/run agent-plugin-test

/run agent-plugin-test


Restored sampling feature in load_acs (density parameter)

Following the comment
https://github.com/socialfoundations/folktables/pull/35#issuecomment-2069482348
I just restored the sampling feature in load_acs related to density parameter.

Thanks for bringing this back!


Giving error that no module named 'data'

https://github.com/amdegroot/ssd.pytorch/blob/8dd38657a3b1df98df26cf18be9671647905c2a0/test.py#L10

Experiencing the same issue

Same error please help

there has to be a module named data in your folder.


Allow BlankRawContacts to be used in most APIs

After #220 and while working on #228, I realized that there are a lot of other places in code where those changes should be applied.
Problem
For no good reason, unlike RawContact and MutableRawContact entities, the BlankRawContact entity is not an accepted parameter type in the following APIs ;

AccountsLocalRawContactsUpdate
AccountsQuery
ProfileDelete

And the following utils;

RawContactContact.kt
RawContactOptions.kt
RawContactPhoto.kt

Solution
Replace occurrences of ExistingRawContactEntity with ExistingRawContactEntityWithContactId in those files.
Notes
The BlankRawContact should not be accepted in update and refresh APIs/functions because they are blank.

This is out now in the 0.2.3 release!


require and clean up rebuild test

9119 hasn't been merged yet, so this test is failing on cassci; the first commit fixes that.
The next two commits are import and whitespace cleanup.
The final commit removes allow_log_errors from the class in rebuild_test; it still passes on the 9119 branch without it (at least locally), so we should catch errors if we can.

I'm worried the allow_log_errors will break on expected log errors that might only show up intermittently or on slower machines like cassci. But if that happens, we can investigate those when they show up. +1.

+1 to your thoughts on the errors. I'd rather deal with false positives than false negatives.


matrix-appservice-slack: 1.2.0 -> 1.3.1

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build matrix-appservice-slack

@GrahamcOfBorg build matrix-appservice-slack

Confirming that this version works :+1:
Off-topic: have you seen this error before?

Error: ENOENT: no such file or directory, open 'config/slack-config-schema.yaml'
fs.js:114
    throw err;
    ^
Error: ENOENT: no such file or directory, open 'config/slack-config-schema.yaml'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at ConfigValidator._loadFromFile (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/node_modules/matrix-appservice-bridge/lib/components/config-validator.js:63:29)
    at new ConfigValidator (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/node_modules/matrix-appservice-bridge/lib/components/config-validator.js:29:28)
    at Cli._loadConfig (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/node_modules/matrix-appservice-bridge/lib/components/cli.js:159:21)
    at Cli._assignConfigFile (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/node_modules/matrix-appservice-bridge/lib/components/cli.js:144:23)
    at Cli.run (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/node_modules/matrix-appservice-bridge/lib/components/cli.js:139:10)
    at Object.<anonymous> (/nix/store/kv4w6rqv49jimq961wq3l7mx10cwzbr9-node_matrix-appservice-slack-1.3.1/lib/node_modules/matrix-appservice-slack/lib/app.js:57:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Do you have to change the current working directory to ${pkg}/lib/node_modules/matrix-appservice-slack before running matrix-appservice-slack or am I missing something?

Do you have to change the current working directory to ${pkg}/lib/node_modules/matrix-appservice-slack before running matrix-appservice-slack or am I missing something?

Yes, pretty much. I have a service configuration for it that looks like this:
https://gist.github.com/kampka/a3d05fde767aabea612a040129ffa259

That's very similar to service what I ended up with:) If matrix-org/matrix-appservice-slack#415 is merged it won't be needed in next release.


Will you provide the pretrained model of CaiT-XXS-24 or CaiT-XXS-36?

Hi, I have read your CaiT paper and the performance in this paper is very good. I want to learn more about that and the CaiT-XXS model seems suitable to my computer's GPU. But the cait_models.py file in this repository seems do not contain the pretrained model of CaiT-XXS. Do you plan to provide it?
Thanks.

Hi @JiaDingCN ,
Thanks for your message,
I have just added the XXS models with pre-trained weight for resolution 224x224 and 384x384.
Best,
Hugo

It really solves my problem, thank you!


MINECRAFT 1.16.5 (ERROR)

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.nickuc.report.?$???$??????? (file:/C:/Users/User/Desktop/Project%20Lazarus/plugins/nReport.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of com.nickuc.report.?$???$???????
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Hi, @uRyanxD!
This is not an error, but a warning. Illegal reflective operations will be denied in new versions of Java.

Hi, @uRyanxD!
This is not an error, but a warning. Illegal reflective operations will be denied in new versions of Java.