feat(containers): add support for 0.26.0

Description
Add support to the latest version:
Related issues
https://github.com/zeebe-io/zeebe-test-container/issues/102
closes #
Pull Request Checklist

[ ] All commit messages match our commit message guidelines
[ ] The submitting code follows our code style
[ ] If submitting code, please run mvn clean install -DskipTests locally before committing

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

With #105, this should be fixed in master, I will do a release for this soon.


gulp serve is no more working

By executing the classic intial command sequence

yo fountain-webapp command
npm install
bower install

with the configuration attached
.yo-rc.json.zip
executing "gulp serve" and then opening your browser on localhost:3000, the browser doesn't show anything and in its console an error 404 on index.css is reported.
Analyzing the situation, the server is serving the index.html from the [Project]\src folder instead of the .tmp folder.
Another situtation I found is that the .tmp folder is not directly containing any html file, but only an src folder containing all of them

@matteocagno see #150. It's same issue.

Also waiting for the solution to this problem.

Duplicate of https://github.com/FountainJS/generator-fountain-webapp/issues/150


Add Egyptian holidays

Public holidays in Egypt, both observed and national holidays, including checks for whether or not a holiday falls on a weekday/weekend and when it should be observed. This is synced with the way Google Calendar does it.
As noted in #56 and #90, the use of geniusts/hijri-dates is necessary to (pretty much) accurately calculate when Islamic holidays will be observed during a given year. When they're observed differs from one country to another, even if they're all celebrated concurrently.
All tests pass.

Underlying package is abandoned and also doesn't have any tests -- would be very skeptical to depend on it.
It is also restricted to Carbon v1 & v2, which is preparing to have a new v3 release soon, so this package will be incompatible with Laravel 11: laravel/framework#49764

Thanks. I'm working together with a few other PR authors to come up with a way to centralize this logic in the Country class.

@Nielsvanpach I understand your hesitance to rely on an outdated package (one without tests, as well). So I adopted the Turkey approach in #70 and added those holidays statically. But I couldn't find a source that has been reliably tracking these holidays in Egypt prior to 2005. I double checked with Google Calendar and a few other sources, but the information on Wikipedia is incorrect.
You might know by now that there's no way to accurately predict when these holidays will be observed because of the variance involved, but this provides as good an approach as any. Maybe this can be maintained in the future to add any drastic changes.
But apart from Islamic holidays, everything else can be precisely calculated.
I also found conflicts on the main branch with the Egypt class, which previously didn't account for Islamic holidays at all (and those actually factor into the fiscal year here and shouldn't be ignored, not by any reliable source of information anyway. I'd hate to be a business relying on this package only to find out it doesn't match real calendars). We've also been provided days off in lieu of national holidays that fall on a weekday or a weekend (which is Friday and Saturday here) for the past 3-4 years, this was also absent in the existing Egypt class.
Other than that, I found the existing lang translations a bit too Google translate-ish so I replaced them with more sensible, true-to-life translations and added missing ones:

https://github.com/spatie/holidays/blob/c30b89bd97f29db8402f96653617593dcdfd3be5/lang/egypt/ar/holidays.json

...and used the Egyptian Presidency's calendar for reference.

Thanks!


Add support for CONNECT method on HTTP/2 connection

This blog post motivated me to implement CONNECT method support.
https://daniel.haxx.se/blog/2023/04/14/curl-speaks-http-2-with-proxy/
$ ~/opt/curl/bin/curl -vk --proxy-insecure --proxy-http2 -x https://localhost:8443/ https://www.apache.org/ > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:8443...
* Connected to localhost (<IP_ADDRESS>) port 8443 (#0)
* ALPN: offers h2,http/1.1
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [1444 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [520 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Proxy certificate:
*  subject: C=AU; ST=Some-State; O=Internet Widgits Pty Ltd; CN=localhost
*  start date: Apr 16 01:33:15 2023 GMT
*  expire date: Apr 15 01:33:15 2024 GMT
*  issuer: C=AU; ST=Some-State; O=Internet Widgits Pty Ltd; CN=localhost
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
* CONNECT tunnel: HTTP/2 negotiated
* Establish HTTP/2 proxy tunnel to www.apache.org:443
} [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [214 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [214 bytes data]
* CONNECT tunnel established, response 200
* CONNECT phase completed
* ALPN: offers h2,http/1.1
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4022 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.apache.org
*  start date: Apr 13 16:56:32 2023 GMT
*  expire date: Jul 12 16:56:31 2023 GMT
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [161 bytes data]
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: www.apache.org]
* h2h3 [user-agent: curl/8.1.0-DEV]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x55fb74068380)
} [5 bytes data]
> GET / HTTP/2
> Host: www.apache.org
> user-agent: curl/8.1.0-DEV
> accept: */*
>
{ [5 bytes data]
< HTTP/2 200
< server: Apache
< last-modified: Sun, 16 Apr 2023 05:23:20 GMT
< etag: "1195a-5f96d45bc947c"
< cache-control: max-age=3600
< expires: Sun, 16 Apr 2023 06:23:21 GMT
< content-security-policy: default-src 'self' 'unsafe-inline' https://www.apachecon.com/ https://www.google.com/cse/ https://cse.google.com/ https://www.googleapis.com/generate_204 http://*.google.com/generate_204 https://afs.googlesyndication.com/ https://csp.withgoogle.com/ https://www.google.com/images/ https://ssl.gstatic.com/ui/ https://docs.google.com/forms/ https://www.youtube.com/embed/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cse.google.com/ http://cse.google.com/adsense/search/async-ads.js https://www.google.com/cse/ https://partner.googleadservices.com/; style-src 'self' 'unsafe-inline' https://www.google.com/cse/; frame-ancestors 'none';
< strict-transport-security: max-age=31536000; preload
< content-type: text/html
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Sun, 16 Apr 2023 05:50:09 GMT
< age: 1608
< x-served-by: cache-hel1410025-HEL, cache-dfw-kdfw8210029-DFW
< x-cache: HIT, HIT
< x-cache-hits: 4, 1
< x-timer: S1681624210.756756,VS0,VE1
< vary: Accept-Encoding
< content-length: 72026
<
{ [5 bytes data]
100 72026  100 72026    0     0   556k      0 --:--:-- --:--:-- --:--:--  558k
* Connection #0 to host localhost left intact

It doesn't seem like Proxy Verifier supports H2 CONNECT method.  It doesn't allow me to only send :method and :authority (it thinks :scheme and :path are always required).
And this might be because of my limited knowledge about ProxyVerifier, but it looks like requests and responses are tightly coupled by uuid header, and that makes it tricky to send a request as a request body like below. The both CONNECT request and the real request have uuid: 1.
sessions:
  - protocol:
    - name: http
      version: 2
    - name: tls
      sni: www.example.com
    - name: tcp
    - name: ip

    transactions:
      - client-request:
          headers:
            fields:
            - [ :method, CONNECT ]
            - [ :authority, www.example.com:80 ]
            - [ :path, x1]
            - [ :scheme, x2]
            - [ uuid, 1 ]
            - [ test, connect-request ]
          content:
            encoding: plain
            data: "GET /get HTTP/1.1\r\nuuid: 1\r\ntest: real-request\r\n\r\n"

        # This is a response for the real request but not for the CONNECT request
        server-response:
          status: 200
          reason: OK

        # ATS returns a 200 responses to client when it establishes a tunnel
        # between the client and server
        # The response body should be the whole response data from the origin server
        proxy-response:
          status: 200
          content:
            verify: {value: "HTTP/1.1 200 OK", as: contains}

class ConnectViaPVTest2:
    # This test also executes the CONNECT request but using proxy verifier to
    # generate traffic
    connectReplayFile = "replays/connect_h2.replay.yaml"

    def __init__(self):
        self.setupOriginServer()
        self.setupTS()

    def setupOriginServer(self):
        self.server = Test.MakeVerifierServerProcess(
            "connect-verifier-server2",
            self.connectReplayFile)
        # Verify server output
        self.server.Streams.stdout += Testers.ExcludesExpression(
            "test: connect-request",
            "Verify the CONNECT request doesn't reach the server.")
        self.server.Streams.stdout += Testers.ContainsExpression(
            "GET /get HTTP/1.1\nuuid: 1\ntest: real-request", reflags=re.MULTILINE,
            description="Verify the server gets the second request.")

    def setupTS(self):
        self.ts = Test.MakeATSProcess("connect-ts2", enable_tls=True)

        self.ts.Disk.records_config.update({
            'proxy.config.diags.debug.enabled': 1,
            'proxy.config.diags.debug.tags': 'http|hpack',
            'proxy.config.ssl.server.cert.path': f'{self.ts.Variables.SSLDir}',
            'proxy.config.ssl.server.private_key.path': f'{self.ts.Variables.SSLDir}',
            'proxy.config.http.server_ports': f"{self.ts.Variables.ssl_port}:ssl",
            'proxy.config.http.connect_ports': f"{self.server.Variables.http_port}",
        })

        self.ts.addDefaultSSLFiles()
        self.ts.Disk.ssl_multicert_config.AddLine(
            'dest_ip=* ssl_cert_name=server.pem ssl_key_name=server.key'
        )

        self.ts.Disk.remap_config.AddLines([
            f"map / http://<IP_ADDRESS>:{self.server.Variables.http_port}/",
        ])
        # Verify ts logs
        self.ts.Disk.traffic_out.Content += Testers.ContainsExpression(
            f"Proxy's Request.*\n.*\nCONNECT <IP_ADDRESS>:{self.server.Variables.http_port} HTTP/1.1", reflags=re.MULTILINE,
            description="Verify that ATS recognizes the CONNECT request.")

    def runTraffic(self):
        tr = Test.AddTestRun("Verify correct handling of CONNECT request on HTTP/2")
        tr.AddVerifierClientProcess(
            "connect-client2",
            self.connectReplayFile,
            https_ports=[self.ts.Variables.ssl_port],
            other_args='--thread-limit 1')
        tr.Processes.Default.StartBefore(self.server)
        tr.Processes.Default.StartBefore(self.ts)
        tr.StillRunningAfter = self.server
        tr.StillRunningAfter = self.ts

    def run(self):
        self.runTraffic()

ConnectViaPVTest2().run()

It doesn't seem like Proxy Verifier supports H2 CONNECT method. It doesn't allow me to only send :method and :authority (it thinks :scheme and :path are always required).

Yes, you are correct. Thank you for the heads up @maskit. I filed a Proxy Verifier issue for this:
https://github.com/yahoo/proxy-verifier/issues/252
I believe all other attributes of Proxy Verifier should work with this. @duke8253 added support for explicit DATA frames which may be helpful here (although your use of the content: node should work as well).

And this might be because of my limited knowledge about ProxyVerifier, but it looks like requests and responses are tightly coupled by uuid header, and that makes it tricky to send a request as a request body like below. The both CONNECT request and the real request have uuid: 1.

Yes, the Proxy Verifier server uses uuid to know what response to send. I think this will fit the HTTP/2 CONNECT use case well. In the body of the CONNECT, to keep things distinct for the reader of the test, I suggest using a different uuid than the parent one. Then add a separate transaction to tell the server how to handle that UUID request. This is similar to what is done here:
https://github.com/apache/trafficserver/blob/master/tests/gold_tests/connect/replays/connect.replay.yaml#L42
But, as you noted already, things are a bit different with HTTP/2. Rather than the whole connection being a tunnel after the CONNECT, as it is with h1, only the DATA frames of the particular stream are tunneled. So the requests will have to happen on the client side via DATA frames, and the origin will parse them as regular h1 using the replay file's uuid transactions specified in the DATA frame/content nodes.
Thanks for working on this. It's neat to get this feature working in ATS (and Proxy Verifier).


Add a map to show which Local Authorities are providing data

Committed in https://github.com/OpenDataScotland/jkan/commit/0e950f3d5d50b14cc0e1a4b6bd36d34e67a7e3de and live at https://opendata.scot/analytics/local-authority-coverage
Reckon we can close this now? @KarenJewell


Some Pointpen fixes, and a point pen test file

reminder to self: disable Appveyor builds from PR branches.
This is one of the reasons I always work from my anthrotype fork and send PRs from there.
Thanks Just, I'll take a look now

i think the tests are failing because of the u"" unicode literals on py27, as you're comparing strings. try to normalize them to native str type (using py23.tostr) or remove unicode_literals import if you prefer.

Sorry for the AppVeyor hassle, next time I'll try to set up a fork (I always get lost with the upstream stuff).

FYI, I set up Travis/Appveyor so that they will only run builds from either master branch (which includes PR to master branch) or from branches that start with the string wip/.
https://github.com/fonttools/fonttools/commit/139030e1fbd5abc11b4e368415f9670cb774c461
This is the same setup that @miguelsousa uses in afdko, and it prevents duplicate CI builds when working from PR branches on a shared upstream github repository.

please merge once appveyor/pr builds passes (I cancelled the appveyor/branch build, no prob)

Thanks!

This is the same setup that @miguelsousa uses in afdko, and it prevents duplicate CI builds when working from PR branches on a shared upstream github repository.

Correction: that setup is used in the psautohint repo and was put in place by @khaledhosny.
In the afdko repo we use skip_branch_with_pr: true instead.

That option is specific to Appveyor, I think. How do you do the same with Travis?

I don't. Travis runs the jobs in parallel, so there's no slowdown even if both checks (PR and branch) run. AppVeyor, on the other hand, runs everything sequentially (even across separate repos) so there was a big backlog when a PR got updates.


[#390] AllSchema.tsx: Sort by name

Fixes Issue #390

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

Rebased, and merged.
Thanks for your contribution !


Tooling: TS coverage

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 63.74%. Comparing base (4a69c41) to head (30c2f2f).

Files
Patch %
Lines

src/mail/sendgrid.ts
50.00%
1 Missing :warning:

src/middleware/validateRequestEmail.ts
0.00%
0 Missing and 1 partial :warning:

src/middleware/validateRequestToken.ts
0.00%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   63.58%   63.74%   +0.16%
==========================================
  Files          61       61
  Lines         832      833       +1
  Branches      111      111
==========================================
+ Hits          529      531       +2
+ Misses        269      268       -1
  Partials       34       34

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Cannot build for hl: Function body required in NativeCFFI.hx

I heard that hl target support in lime is beta, but for me even the openfl bunnymark project gives the following error:
Running process: D:\build\HaxeDevelop\Tools\fdbuild\fdbuild.exe "D:\build\HaxeToolkit\haxe\lib\openfl-samples\8,7,0\demos\BunnyMark\BunnyMark.hxproj" -ipc 809da870-bb5d-45b2-84d4-04c522b23113 -version "3.4.7" -compiler "D:\build\HaxeToolkit\haxe" -library "D:\build\HaxeDevelop\Library" -target "hl"
Building BunnyMark
Running Pre-Build Command Line...
cmd: "D:\build\HaxeToolkit\haxe/haxelib" run lime build "project.xml" hl -debug -Dfdb
D:/build/HaxeToolkit/haxe/lib/lime/7,2,1/src/lime/_internal/backend/native/NativeCFFI.hx:3435: characters 23-97 : Function body required
Build halted with errors.
Done(1)

Looks like you're on Haxe 3.4.7? That would require quite an outdated HL version at this point. The current versions are Haxe 4.0.0-rc.1 and HL 1.9.

Ah, looks like haxelib has some 0.1.0 stub or script instead of real hashlink xD
Is there any guide on how to get openfl/lime running on hl, once Haxe 4.0.0-rc.1 is installed and HL 1.9 is downloaded?

Joshua shared some details here recently: https://community.openfl.org/t/hashlink-target-build-problems/11447/2?u=gama11

Thanks! Don't have time to test this way right now, but eventually will do!


upgrading from factory planner 1.1.10 to 1.1.78 fails on index into global.installed_mods, which is nil

most likely the code which creates the global if it doesn't exist was removed in some inbetween version, or it runs after the code that causes the crash
image of error:

circumventing that crash by code patching causes another later for the same reason

after patching that crash as well, the save loads, and yeah now i see the message in the chatbox, i'll be doing as it says

Thanks for the details, saves that old were indeed dropped from support. One could still save their factories by exporting them to string and importing them in an updated game, that should work no problem.


Unexpected exception in Dalli: NameError: uninitialized constant Rack::Handler::Servlet

I use jruby-1.7.12 :
 May 05 01:40:23  app/web.1: Unexpected exception in Dalli: NameError: uninitialized constant Rack::Handler::Servlet
May 05 01:40:23  app/web.1: This is a bug in Dalli, please enter an issue in Github if it does not already exist.
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/inflector/methods.rb:228:in `const_get'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/inflector/methods.rb:228:in `constantize'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/inflector/methods.rb:224:in `inject'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/inflector/methods.rb:224:in `constantize'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/core_ext/marshal.rb:10:in `load_with_autoloading'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.4/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/server.rb:424:in `deserialize'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/server.rb:488:in `generic_response'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/server.rb:257:in `get'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/server.rb:60:in `request'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/options.rb:18:in `request'
May 05 01:40:23  app/web.1: /app/vendor/ruby-1.9.3-jruby-1.7.12/lib/ruby/2.0/monitor.rb:211:in `mon_synchronize'
May 05 01:40:23  app/web.1: cache error: No server available
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/ring.rb:45:in `server_for_key'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/client.rb:328:in `perform'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/client.rb:53:in `get'
May 05 01:40:23  app/web.1: (eval):7:in `get_with_newrelic_trace'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/newrelic_rpm-<IP_ADDRESS>/lib/new_relic/agent/method_tracer.rb:281:in `trace_execution_scoped'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/newrelic_rpm-<IP_ADDRESS>/lib/new_relic/agent/method_tracer.rb:280:in `trace_execution_scoped'
May 05 01:40:23  app/web.1: (eval):4:in `get_with_newrelic_trace'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/metastore.rb:324:in `read'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/metastore.rb:30:in `lookup'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:169:in `lookup'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/airbrake-3.1.16/lib/airbrake/user_informer.rb:16:in `_call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/airbrake-3.1.16/lib/airbrake/user_informer.rb:12:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
May 05 01:40:23  app/web.1: /app/vendor/ruby-1.9.3-jruby-1.7.12/lib/ruby/2.0/monitor.rb:210:in `mon_synchronize'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/options.rb:17:in `request'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/client.rb:329:in `perform'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/dalli-2.7.1/lib/dalli/client.rb:53:in `get'
May 05 01:40:23  app/web.1: (eval):7:in `get_with_newrelic_trace'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/newrelic_rpm-<IP_ADDRESS>/lib/new_relic/agent/method_tracer.rb:281:in `trace_execution_scoped'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/newrelic_rpm-<IP_ADDRESS>/lib/new_relic/agent/method_tracer.rb:280:in `trace_execution_scoped'
May 05 01:40:23  app/web.1: (eval):4:in `get_with_newrelic_trace'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/metastore.rb:324:in `read'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/metastore.rb:30:in `lookup'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:169:in `lookup'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/airbrake-3.1.16/lib/airbrake/user_informer.rb:16:in `_call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/airbrake-3.1.16/lib/airbrake/user_informer.rb:12:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/railties-4.0.4/lib/rails/railtie/configurable.rb:30:in `method_missing'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/deflater.rb:25:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/configuration.rb:71:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/server.rb:490:in `handle_request'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/server.rb:488:in `handle_request'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/server.rb:361:in `process_client'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/server.rb:357:in `process_client'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/server.rb:254:in `run'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/thread_pool.rb:92:in `call'
May 05 01:40:23  app/web.1: /app/vendor/bundle/jruby/1.9/gems/puma-2.8.2-java/lib/puma/thread_pool.rb:92:in `spawn_thread'

Closing.


Change daxa::None to daxa::Nothing to prevent collision with X.h

I fixed Daxa compiling on Linux with X11 by changing daxa::None to daxa::Nothing

You should #undef None from X.h instead

What if I want to use X None?

You don't

That could create issues if files are included in a certain order

Libraries that have generic #defines should never dictate what the naming choices of other libraries are, when said libraries have scoped names.

It just seems like a coupling problem when daxa is responsible for X11 stuff

See https://github.com/OneLoneCoder/olcPixelGameEngine/issues/195#issuecomment-1249979632

Right but why should daxa be concerned about what another library does in its defines?

it shouldn't be?? That's what I'm arguing. You're saying we should change daxa's code to play nicely with another library

Daxa isn't interfering with X11, X11 is interfering with Daxa. Daxa has scoped names. X11 does not.

Okay see, both sides are right. Its just a matter of which one is the better decision. Im fine with either I guess

But having daxa undefine it would cause potential for other libraries that depend on x11 to break?

Daxa does NOT include X11 in its headers. This should not be an issue at all.

Okay X11 isnt even relevant. How would I go about using a scoped None in the source when X11 is included in my ecosystem with glfw3

I linked you a solution and told you as well to #undef it.

That wont work if it has to be in my code base. It has to be in daxa to compile. When I have nothing but daxa, X.h is included somewhere in limbo.

it does not have to be in Daxa to compile. Daxa does not include it in its public headers. You have to be doing something insanely wrong to have X.h included without you knowing.

Doesnt glfw include x?

Daxa does not include glfw. Also, glfw will not include X11 if you just include GLFW/glfw3.h. You need to do #define GLFW_EXPOSE_NATIVE_X11 and #include <GLFW/glfw3native.h> for glfw to include X11.

A real mystery

You are probably leaking from your glfw includes just like Gabe described, it's not Daxas fault

Even by its lonesome the Daxa project complains about X11 so I'm uncertain

Where?

You can not be complaining about Daxa if you don't even know the source of the error.

Im fine with renaming None to Nullopt

I hate libs declaring things without namespace esp with macros

Omni must find the source of the error if I am to continue this conversation. If he doesn't even know where he's including the X11 header from, it's a really silly conversation IMO

This build error should be fixed by https://github.com/Ipotrick/Daxa/commit/ed6318ab3d15f7dd6dc92cd6e4700be22fd382d0. Another user sent a vcpkg build log so I could figure out what was going on. Unity build was making the error not reproduce-able for me, so I had no clue what was going on. Closing this issue now, if the issue persists, feel free to open a new issue.


tests: adds test function for IdnaTestV2.json

ref: https://github.com/ada-url/ada/issues/222
The good news is that almost all tests cases are passing.

@miguelteixeiraa Would you add it to https://github.com/ada-url/idna ?
We eventually want to rely on ada-url/idna for ada.

@miguelteixeiraa Would you add it to https://github.com/ada-url/idna ?
We eventually want to rely on ada-url/idna for ada.

Done!

@miguelteixeiraa Why did you close it here? In my view, it belongs at both places. Your work here was good and relevant. Of course, here you were testing our ICU-based implementation, but no matter. My understanding is that your tests ought to pass everywhere (or, else, we need to figure something out).

There is 1 test case we are failing at the moment.
FAIL:
  Returned: xn--8-qfa.xn---?-261a
  Test case: {
    "comment": "P1; V6; V3 (ignored)",
    "input": "8\u00df.\udb40\udd10-?\u2d0f",
    "output": null
  }

We moved is_forbidden_domain_code_point check to outside of to_ascii method. I assume this is why it's breaking this pull request. We just need to add the following lines to wpt_tests with a TODO to fix this when we get rid of ICU.
if (output.has_value()) {
  if (std::any_of(output.value().begin(), output.value().end(), ada::unicode::is_forbidden_domain_code_point)) {
    output = std::nullopt;
  }
}

Is it okay to remove the ada_really_inline constexpr from is_forbidden_domain_code_point? I'm getting linkage problems.

@miguelteixeiraa  This will need to be updated because we did major surgery on the code.

Let me see if I can integrate the code in the other PR.

I am going to push the content of this PR into https://github.com/ada-url/ada/pull/216
It will be less trouble for everyone.
You may close this PR.


DP 1.9 QoS WRR traffic test

New QoS test case

Submitted the test code:
-- https://github.com/openconfig/featureprofiles/blob/main/feature/experimental/qos/ate_tests/wrr_traffic_test/wrr_traffic_test.go


[#8661] Fix Hbase interceptor plugin to handle versioned getTableName

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.seoyoung-park seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add support for IKEA TRADFRI LED2101G4

A group of 3 bulbs measured by a Shelly Plug S.

Thanks for contribution.
Did you also set number of lights to 3 when asked in measure script?
Just to make sure the measurements in the CSV are for one light, and not multiplied by 3.

Thanks for contribution. Did you also set number of lights to 3 when asked in measure script? Just to make sure the measurements in the CSV are for one light, and not multiplied by 3.

Yes, I did. I actually took multiple measurements to see everything works well.

Perfect thanks


Arabic-Indic numerals

Hi,
I'm using tesseract 4.00alpha with liptonica 1.74.1 on Ubuntu 14 to create LSTM files for multiple Arabic fonts, which some of them have the common numerical system, (1 2 3 4 ...) but some of these font contains the a different numerical system, which usually more common in the Arabic scripts,
which are ( ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩)
yet the last set of numbers were not recognize but as symbols such as ! instead of ١ ,are these numbers are not integrated in the tesseract?
Thanks

Ref:

https://en.wikipedia.org/wiki/Arabic_numerals
https://en.wikipedia.org/wiki/Eastern_Arabic_numerals
https://en.wikipedia.org/wiki/Arabic_script_in_Unicode

The Arabic numeral glyphs 0–9 are encoded in ASCII and Unicode at positions 0x30 to 0x39, matching up with the second hexadecimal digit for convenience:

The Eastern Arabic numerals (also called Arabic–Indic numerals and Arabic Eastern numerals) are the symbols used to represent the Hindu–Arabic numeral system, in conjunction with the Arabic alphabet.

Each numeral in the Persian variant has a different Unicode point even if it looks identical to the Eastern Arabic numeral counterpart. However the variants used with Urdu, Sindhi, and other South Asian languages are not encoded separately from the Persian variants.

See U+0660 through U+0669 and U+06F0 through U+06F9.

So, basically, there are three unicode ranges with numerals used in Arabic, Persian etc.

0x30 to 0x39
U+0660 through U+0669
U+06F0 through U+06F9

If the fonts are putting  Eastern Arabic numerals in the 'Arabic numerals' range of 0x30 to 0x39, that would cause confusion during training.
https://github.com/tesseract-ocr/langdata/blob/master/ara/ara.training_text has  'Arabic numerals' range of 0x30 to 0x39. You can check whether it as  ( ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩) and add it, if you want to include it for training.

If that numerals are indeed missing from the official traineddata, I suggest to open a new issue in the langdata repo.

Did Anyone fix this problem? I am not using Unix in order to be able to train tesseract on new data, but I need to use the Eastern arabic numerals. if someone fixed it and has the traineddata file, please share it with us
Thanks

Persian's number's shape mostly the same as Arabic's but their Unicode is different!
Persian numbers= ۹ ۸ ۷ ۶ ۵ ۴ ۳ ۲ ۱ ۰
Arabic numbers = ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩
Persian numbers' Unicode= \u06F9 \u06F8 \u06F7 \u06F6 \u06F5 \u06F4 \u06F3 \u06F2 \u06F1 \u06F0
Arabic numbers' Unicode =\u0660 \u0661 \u0662 \u0663 \u0664 \u0665 \u0666 \u0667 \u0668 \u0669
you can check them here

@reza1615
Are these getting recognized in the best traineddata?
Are they being recognized as Arabic unicode numbers?

Yes, it mixed Persian with Arabic numbers (unicode) for example the image had these numbers
۱-۲ and it recognize ۱ as Persian number and ۲ as Arabic number their shape is the same but for searching and Unicode, they are different.
in another hand 3 and 4 and 5 and 6's shape are not the same see below
6 5 4 3
۶ ۵ ۴ ۳
٣ ٤ ٥ ٦
you can check it at here

for more information see Unicode Number, Decimal Digit' Category

@theraysmith
Please update the desired characters for persian for the persian unicode range of numbers and ignore the unicode arabic number range for fas (persian), as mentioned above. Thanks!

usually, people use the un-standard keyboard (Arabic keyboard for typing Persian text) so there are many scan images of Persian's text  which have Arabic numbers like ٣ ٤ ٥ ٦  but the OCR should convert them to Persian Unicode

Question from Ray in tesseract-ocr/langdata#72

Anyone know which digits are needed for the other Arabic languages?
kur_ara, pus, uig

@zdenop, please close this issue.
The issue is related to the trained data. not code.
As said, the right place for this issue is the langdata repo.
See https://github.com/tesseract-ocr/langdata/issues/71, https://github.com/tesseract-ocr/langdata/issues/72

Hi guys . I'm trying to find the traineddata fot arabic numbers only , can any body guide me where to find it thank you
im using tesseract 4 visual studio 2017 c++

Hey there i am been trying to setup OCR for Arabic language in tesseract js but i am getting this error. i couldnt even get a replay through the support.


Documentation/Search function returning incorrect URLs

The Quick-Search function sometimes returns error-URLs instead of finding the existing valid URL. Given a documentation page:
https://kivy.org/doc/stable/api-kivy.html

If you type "window" in the Quick-Search window, it returns a list of result URLs, with the top URL being:
https://kivy.org/doc/stable/api-kivy.core.windowundefined?highlight=window#module-kivy.core.window

Expected behavior
The Quick-Search should return the found URLs, with a suffix .html:
https://kivy.org/doc/stable/api-kivy.core.window.html

All of the returned URLs are like this, missing the suffix.

Duplicated of #7697

Wups, sorry. I did search the Issues, but for things like incorrect URLs - didn't find that issue.


Question about getting message reactions updates

Hi!
We have a problem with getting message reactions updates via tdlib: updateMessageInteractionInfo does not always come when reaction is added/removed on/from a message.
https://github.com/tdlib/td/issues/2069? says that "You will receive updateMessageInteractionInfo when appropriate.".
Could you please clarify the logic behind it? When exactly will we receive these updates?
What should we do to get all reaction changes for all messages (that were previously received by tdlib) in the chat?

Reactions are updated only for recently viewed messages. You can't get reaction updates for all existing messages.


Segmentation fault when loading a saved numpy-op model

I create a new layer with python refered to the example [numpy_softmax.py](https://github.com/dmlc/mxnet/blob/master/example/numpy-ops/numpy_softmax.py.
The fit process is good. But when I tried to load the model from json file there is a segmentation fault. I have known it is caused by the serialization and deserialization of the native python object. What can I do to make sure I can load the model correctly?

This is expected behavior. You cannot load a numpyop. Instead, you can recreate the symbol and the model, then init the parameters by loading with with mx.initializer.Load


Definition of genes/sequences included in the ambiguity score

The question arose on which genes the ambiguity score is calculated. Also env sequences might be included in a sample, however, the ambiquity score should only be calculated on pol genes.
Further, in the reports there are sometimes several caculations (for several contigs with coverage above threshold I assume). I think we also need to clarify this.

This issue belongs to MinVar, not to DMS. Please move it there.


Conflicting ContravariantShow for ZoneOffset

It seems my instances for ZoneId and ZoneOffset are slightly broken. When importing io.chrisdavenport.cats.time.instances.all._, I get a conflict when trying to show a ZoneOffset:
scala> show"${ZoneOffset.UTC}"
<console>:22: error: type mismatch;
 found   : java.time.ZoneOffset
 required: cats.Show.Shown
       show"${ZoneOffset.UTC}"
                         ^

This arises because there are two overlapping instances for ContravariantShow[-T]:
scala> Show.Shown.mat(ZoneOffset.UTC)
<console>:22: error: ambiguous implicit values:
 both value zoneidInstances in trait zoneid of type => cats.Show[java.time.ZoneId] with cats.Eq[java.time.ZoneId] with cats.Hash[java.time.ZoneId]
 and value zoneoffsetInstances in trait zoneoffset of type => cats.Show[java.time.ZoneOffset] with cats.Order[java.time.ZoneOffset] with cats.Hash[java.time.ZoneOffset]
 match expected type cats.Show.ContravariantShow[java.time.ZoneOffset]
       Show.Shown.mat(ZoneOffset.UTC)
                     ^

, and the compiler can't choose a better one.
I'm not sure what would be the best course of action here. Removing Show[ZoneOffset] would fix interpolation, however most of generic code I've seen relies directly on Show!

There is a similar known issue in  typelevel/cats: https://github.com/typelevel/cats/issues/2657


problem with server ram

hi, I have a server with mods and I use your mod to improve performance and I am having a problem with excessive memory usage due to your mod, what happens is the following without the mod the server loses a lot of tps performance and with it as per we are exploring and playing normal and the server goes from 10gb easy and the normal is to stay at 6gb.
used modpack: https://www.curseforge.com/minecraft/modpacks/techmagic-4/files
obs: the preformant on the server I use the performant-1.16.2-5-3.98m.jar version, I haven't updated the curse until I actually solve the ram problem

We will need more info then a hunch it is our mod. As we do not do anything in the mod that would use that much ram. Most of the changes in the mod are replacing existing AI objects with similar copies. Which shouldn't cause problems unless there is another mod spamming entity spawns.

https://gist.github.com/TainanRezende/5f65b366bb887ed5b8eabc8e131b73d7
these are the logs of this exact moment

I put the server to restart every 4 hours so I don't have time to get to 10gb so I don't crash go back in time

https://gist.github.com/TainanRezende/5f65b366bb887ed5b8eabc8e131b73d7
these are the logs of this exact moment

I put the server to restart every 4 hours so I don't have time to get to 10gb so I don't crash go back in time

sorry for closing the comment line I clicked by mistake I have no experience

I'm not seeing anything specific, I do see some random spam like [20Jun2022 17:16:25.077] [Server thread/WARN] [net.minecraft.tileentity.TileEntity/]: Block entity invalid: minecraft:chest but not sure what that is on about. Guessing some extra debug provided by either forge or some mod you have installed. I think I would need to know more of what is happening in the game world. As well if you could get some type of performance log showing what is using the RAM. VisualVM is what we usually use for profiling the game. It has an option to export RAM by class name and could help ID data types. If AI improvements is the cause we should see one our classes show up or at minimal one of the data types used in the AIs.
https://www.baeldung.com/java-profilers
@bl4ckscor3 you see anything useful in the log? As I know you maintain for the newer version more than I do.

As you said, there is nothing out of the ordinary in the log regarding AI Improvements. We would need a memory profiler log to be able to say anything more.
Sidenote: The log entry you mentioned is a vanilla thing, saying that the block at the position of the tile entity is not a block that is allowed to have a tile entity of that type (in this case minecraft:chest).

look i apologize for bothering you, but two and a deeper investigation i saw that it is the "performant" mod that caused the ram problem, thank you very much for your attention and help,

No worries, it can be hard to tell which mods are causing problems.


[English]: Missing words

I've noticed some words that are missing.

hadron(s)/anti-hadron(s)
Keras
expandability
soilization

Please see #25

Hi @davidlday. I'm very sorry to hear about that.
I'm confused about where it gets valid English words from. Could you point me to where I can report these?

Hi @mpfaff  -
No worries. I should have given this issue a little more thought. LanguageTool Linter isn't ready yet, but should be soon. But the first release won't have custom dictionaries in it.
In the meantime, you might check out LTeX, as I believe it allows you to add words to a local dictionary. And if it works for you, stick with it.
As for where the valid words come from, they come from LanguageTool itself, which I believe uses the Hunspell libraries. You can check on their repo, maybe open an issue, but I don't believe they customize those dictionaries either.
Good luck, and peace.

Hi @davidlday
I've installed LTeX and it had the same issue. It seems that the en_CA dictionary is missing those words. For now, I'm managing with the en_US dictionary, but it's not a permanent solution, due to word differences like color -> colour.
Thanks for the help.


Update virtual network to resolve conflict between 2020-08-01 and 2020-11-01

update privateLinkServiceNetworkPolicies and privateEndPointNetworkPolicies in Vnet resource.
Based on issue https://github.com/Azure/sdk-release-request/issues/1337
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Hey, this PR needs breaking change review. Please go to breaking change board to apply for breaking change review. Thanks

we've created it https://msazure.visualstudio.com/One/_workitems/edit/9532502
but still unassigned. @kairu-ms can you please help?

we've created it https://msazure.visualstudio.com/One/_workitems/edit/9532502
but still unassigned. @kairu-ms can you please help?

Hi @akning-ms, can you please help?

Guys @kairu-ms @akning-ms that's actually a hotfix... can you please escalate the progress?
workitem created STILL is not acknowledged https://msazure.visualstudio.com/One/_workitems/edit/9532502


How to use Import and Export functions ?

hello, I am a beginner in Golang programming, I don't understand how to use exactly the Import and Export functions. Can you say me how ? (may I keep the bytes in a file?)
Thanks

hell.. im so tired ..

(just found)

I thinked I found , but, I didnt found .. If you can help it will be very cool :)

Hi @skawm ,
package main

import (
	"fmt"

	"github.com/ahmdrz/goinsta"
)

func main() {
	insta := goinsta.New("USERNAME", "PASSWORD")

	if err := insta.Login(); err != nil {
		panic(err)
	}

	defer insta.Logout()

	bytes, err := insta.Export([]byte("32Byte AES Key"))
	if err != nil {
		panic(err)
	}

        ioutil.WriteFile("insta.bak", bytes, 755)
}

And for import ,

Read bytes using ioutil.ReadFile()
Pass bytes to Import function.

Hi @ahmdrz ! Thank you!  it seems to work super-fine:)

I can't export! help me
	inst.Export("~/.goinsta") this does nothing

@herhumoolah Let me know more about your code.


Investigate React i18n packages

@kaitmore and I investigated react-intl and determined that this will be a good solution for us.


Improve Documentation with Examples

Hi ,
if its possible for you , make a tutorial .
thanks,

Hello iliaMonfared,
Yeah sure, I am working on that only. thanks for your feedback.
thanks


Application: Interactor

UseCase is the main actor of the Application Tier.

An entry point to the core of the application.
Describes & encloses one whole use case for a user.
Exposes input interface ie. a schema for each action the user can take.
Validates the input with the proper schema.
Orcherstrates domain and application components (aggregates & services).
Returns a DTO or raises a domain or application logic error. Both cases are meaningful for the application environment to construct a concrete response (eg. HTML, JSON or text output).

Let's focus on following use-case of a web application:
# use_cases.py
class CreateUser:
    def __init__(self, container):
        self.container = container

    def execute(self, request):
        ...

# views.py
class AView:
    def get(self, request):
        use_case = CreateUser(container)
        request = {
            'action': 'create',
            'input': {
                'username': 'foo',
                'first_name': 'Paweł',
                'last_name': 'Nowak',
                'password': '****',
            }
        }
        result = use_case.execute(request)
        return self.to_response(result)

What can be done with a UseCase:

UseCase.execute({action='some_action', input={...}}) does the case at POST method
UseCase.can_execute({action='some_action', input={...}}) checks whether the action can be done
UseCase.interfaces returns a list of interfaces (e.g. pairs of actions & schemas of input data)

We consider multiple actions per a concrete UseCase, because actions truly might be different, e.g.:

initialize the case
submit data to execute and move further
submit partial data to do some online validation or fetch some additional data

execute metod abstracts from implementation details of a concrete UseCase but does a few specific things:

checks if the action is a valid choice (simple UseCases may have only one action, so there may be a default)
pick up a function or an own metod that is described by the action
fires validation for the function (a schema that describes a shape of input data object or sth similar)
calls the function with the input data object

can_execute does all the above except the last one, and returns effect of the validation

What has been done: a decorator for functional interactor. There still might be errors or design flows inside, but it's not possible to achive clarity without an attempt to just write it down.
# ↳ import time of the framework integration
# here we define a way how to deal with error handling across the application
# and construct the response the way the interactor does
def error_handler(error, function_name, args, kwargs):
    return ResponseModel(data=args[0], errors={'error': error.code})

interactor_function = interactor_factory(
    error_class=(LogicError, ValidationError),
    error_handler=error_handler
)

# ↳ application import time
# validators.py
def validate_team_activity(input_data, teams, racers):
    team: Team = teams.find(input_data['team_id'])
    if not team.is_active:
        raise TeamsErrorCatalog.NOT_ACTIVE.with_params(model='Team', id=team_id)
    return {'team': team, **input_data}

# interactors.py
@interactor_function(validate_team_activity)
def add_team_member(
        input_data: RequestModel,
        teams: Repository = Inject(qualifier=Team),
        racers: Repository = Inject(qualifier=Racer),
):
    team: Team = input_date['team']
    racer: Racer = racers.find(input_data['racer_id'])
    team.members.append(racer)
    teams.update(team)
    return ResponseModel(data=input_data)

# ↳ application configuration time
# Here DI closure is resolved using DI container that has been loaded and put
# on application registry. The resolving process might be semi-automated. Somehow, I assume.
add_team_member = add_team_member(app.registry.container)

# ↳ request time
# Here `add_team_member` has the kwargs injected using application's DI settings
# and validation and error_handling enabled.
def my_view(request):
    input_data = get_data(request.body)
    response = add_team_member(input_data)

I''m separating class-based interactors from this issue. This makes this issue solved, unless there is any kind of design flow here. Closing for now.


App hangs after splash screens

Hello,
the project builds after one sets it to android platform, and the .apk starts on meta pro with both splashes and then hangs.
I assume some "other" settings for the build need be set properly for the target device - but these are not mentioned here & i I forgot the details after abstaining from Unity for the last 2 years...
pls help to get it running?

@Ulthien Sorry that you're experiencing this issue. Is it possible that you didn't build the addressable packages for the assets?
Did you follow the steps in this section of the README https://github.com/oculus-samples/Unity-AssetStreaming#build
Let us know if after following the steps you have the same issues.
We are also in the process of updating our projects to newer version of the engine as well as our newer APKs, updates to come soon.


Build failed on M1 Mac

The following build commands failed:
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSError+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSError+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSDictionary+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSDictionary+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCWrappedCall.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCWrappedCall.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSData+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSData+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCSecureChannelFactory.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCSecureChannelFactory.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCRequestHeaders.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCRequestHeaders.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
(6 failures)

2: Task failed with an exception.

What went wrong:
java.lang.StackOverflowError (no error message)

Caused by: java.lang.IllegalStateException: Executing of 'xcodebuild -project Pods.xcodeproj -scheme gRPC-ProtoRPC -sdk iphoneos -configuration Release' failed with code 65 and message:

Closing this for now. Please reopen if the problem persists. However, the library is now published on mavencentral, so you might not need to checkout the project anymore locally.


[Feature Request] save last-used plot and temp storage locations

it would be incredibly beneficial if the plotting tool were to save the last-used drives/folders to streamline creation of new plots.
this is for:
Temporary Directory
Final Directory

Reviving the stale issue. This would provide an improved user experience.

bumping to keep open, this is still an annoyance


update README

When I compile jMAVSim at Ubuntu 16.04.2 LTS, I found it require java7 + and libvecmath-java. For backward compatibility with Java 6, I think that lots of things should be changed.  So I think it is better to update the requirement of java version.
How about you?
Thanks

Hi,@bkueng
Could you check it, please?
I think that it's very small, but very important for newbie.

Thanks!


Possible typo in the last sentence of the second paragraph.

Search for 'langue'.  The sentence structure reads like 'language' should be used.  Although pretty hard core if 'langue' was actually meant.

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

ID: 9c96c66c-0821-89c7-7e3f-4becc0e14940
Version Independent ID: 6d0c2ff4-66e0-419a-0e87-e947b9822426
Content: .lu file format - Bot Service
Content Source: articles/file-format/bot-builder-lu-file-format.md
Service: bot-service
GitHub Login: @emgrol
Microsoft Alias: iawilt

Thanks for catching this. I'll fix this today.

Found additional typos and issue in the article that are now fixed.

Changes should be visible in about 4 hours or so.


Error Class 'NumberFormatter' not found

Bug Report

Issue Description

Preconditions

Bagisto Version

[ ] master branch
[ ] 1.3.3
[ ] 1.3.2
[ ] 1.3.1
[ ] 1.3.0

Steps To Reproduce

Actual Result

Expected Result

Error
Class 'NumberFormatter' not found
http://<IP_ADDRESS>:8000/admin/dashboard

Please enable your php-intl extension or if not installed then please install first. Make sure you have all required extension,
https://devdocs.bagisto.com/1.x/introduction/requirements.html#php-extensions

I am closing this issue, as this is not an issue. Please use the Bagisto forum.

Ok thank you
On Mon, 11 Oct 2021, 06:05 Devansh, @.***> wrote:

Closed #5212 https://github.com/bagisto/bagisto/issues/5212.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bagisto/bagisto/issues/5212#event-5440585581, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFM3JEQXDLP4OI6J5BYXON3UGJPCPANCNFSM5FVGULNQ
.
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.


[Bug]: Local Website export failed to display images in 1.9.0-2b

What happened?
The Local Website export method does not export the attachment folder along with it, while the Raw HTML Document export method exports unnecessary attachment folders.
The HTML files exported from the Local Website cannot display images correctly because they use relative links to reference images, which are not exported together.
My markdown notes use the following link to reference image and video files:
![](assets/2024-05-14_吹响吧！上低音号/[Kamigami]%20Hibike!%20Euphonium%20S2%20-%2001%20[BD%201080p%20x265%20Ma10p%20FLACx3%20SUBx4].mkv_001218.104.webp)

Where the video file is encoded with AV1 and has an mp4 extension.
The Local Website export method output the following file:
ObsidianMDs.html // My vault name

The Raw HTML Document export method output the following files:
.
├── 2024-05-14_吹响吧！上低音号.html // My note file name
├── assets
│   └── 2024-05-14_吹响吧！上低音号 // pictures in this directory
└── site-lib
    ├── metadata.json
    └── search-index.json

4 directories, 3 files

I hope this case can provide you with some insights.
Reproduction
Export with Local Website and Raw HTML Document.
Last Working Version
1.8.01
Version
1.9.0-2b
Operating System
MacOS Sonoma 14.5
Obsidian Version
1.6.7; 1.6.5
Which browsers can you reproduce this in?
Chrome
Relevant log output
I click the debug info button but got nothing.

Additional Info
No response

Thanks I'll look into this


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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

Ok


could you please release a new version and deploy the jar to maven central repository?

could you please release a new version and deploy the jar to maven central repository?

Already released, the latest version is 2024.01.4


Spain version

Translation by María Valladares Antón.
Thank you Maria

Good idea : also change the date picker with the language.

Good idea : also change the date picker with the language.


fix(actions): correctly check if staged_diffs is empty

[x] Have you read CONTRIBUTING.md?

Closes #403. I also fixed a couple of typos I found in CONTRIBUTING.md and updated the null-ls setup instructions there.

Thanks


ReleasePokemonResponse syntax error

After few days working on my local server, I tried to upload my project on a web server.
Everything works ok, I can read the player data, the inventory, pokebank.
But when I try to "release" a pokemon, I get an error.
On my local web server not. Only on the version I uploaded online.
Parse error: syntax error, unexpected 'UNSET' (T_UNSET), expecting identifier (T_STRING) in /mydomain.ext/res/POGOProtos/Networking/Responses/ReleasePokemonResponse.php on line 15
Note that the release action it's ok, if I go back to previous page where I list my pokemon, the Pokemon selected has been released succeffully.
But I still get this error that stops the redirecting action.

Which PHP version do you have on the server? Sounds like the same problem as in #27, class constants need PHP version 5.3.0, but you should really be at 5.6.X anyways.

Try the latest commit, the keyword "UNSET" is reserved in PHP 5.6.
@Ni42 Thanks for helping out.

Ok, using NONE instead of UNSET it's working now


Support inherit value for color prop in TextBox

Sometimes when TextBox component is used with composition with different parent components. For example with Tag component and parent components sets some predefined colors for children component. However TextBox does not support those colors from parents. It always sets default value.
Current behavior
TextBox supports only custom colors like grey, white and etc.
Expected behavior
TextBox should also supports inherit value for color prop.

@devdesrel Do you wanna take a shot?

@doniyor2109  yess

Fixed in #247

Fixed in #247


feat: mod push add examples dir also mark generator executable

What type of PR is this?
/kind feature

What this PR does / why we need it:
mod push add example dir also mark generator executable
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 79 (0.0%)  changed or added relevant lines in 4 files are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 58.054%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/cmd/mod/mod_push.go
0
3
0.0%

pkg/cmd/generate/generator/generator.go
0
4
0.0%

pkg/util/io/file.go
0
17
0.0%

pkg/util/io/dir.go
0
55
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/cmd/generate/generator/generator.go
2
0.0%

pkg/cmd/destroy/options.go
7
81.11%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
7349

Relevant Lines:
12659

💛  - Coveralls


Connecting Arduino nano 33 BLE

Hi,
I'm trying to connect Arduino nano 33 BLE board. When I use gatttool in command line everything works fine. But in node-red in Generic BLE node after Select from scan result it will return no GATT Characteristics. Only (not available) is in table. On Arduino side I'm using this code: https://github.com/arduino-libraries/ArduinoBLE/tree/master/examples/Peripheral/BatteryMonitor
Also when I try to read the value it returns me Nothing to read. Any suggestions what's wrong?
Thank you

If you're running Node-RED on Raspberry Pi or other linux box, try the latest version (4.0.0).
Read Installation Note as well when you install the latest version.
The older version used a raw HCI socket which caused problems like this (gatttool worked but the node didn't). The latest version uses BlueZ D-Bus API directly so I'd say things will be better than before.

Re-open this or issue a new one when you have a problem with the latest version.


Fix fieldPropTypes to have shapes for input and meta

Otherwise we get errors on use, e.g.:
  Failed prop type: inputField: prop type `meta` is invalid;
  it must be a function, usually from React.PropTypes.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #3001   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          67      67
  Lines        1395    1395
======================================
  Hits         1395    1395

Impacted Files
Coverage Δ

src/propTypes.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Published in v6.8.0.


Image Upload Broken

REPRODUCE:
Tried to upload a picture to a contact:

Currently on (sulu.io)
IS:
A red message appeared with the content "Error".
Image is shown. When I refresh the Image is gone.

SHOULD:
The Error-Message should describe what happend.
When there is an error, the image should not be shown.

The error message in the log is the following:
[2015-09-29 10:08:37] request.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMException: "Unrecognized identifier fields: 'position' are not present on class 'Sulu\Bundle\ContactBundle\Entity\Position'." at /var/data/websites/sulu.io/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php line 305 {"exception":"[object] (Doctrine\\ORM\\ORMException(code: 0): Unrecognized identifier fields: 'position' are not present on class 'Sulu\\Bundle\\ContactBundle\\Entity\\Position'. at /var/data/websites/sulu.io/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:305)"} []

Clearing the cache didn't help... Couldn't reproduce that issue on my local machine...

The problem is only occuring if the user has no image already but a position assigned from the dropdown.
In case you are uploading a new image the data for the position in the request looks like this:

In case you are using the form to update the user the request looks like this:


🐛 Bug Report: Could not execute command yarn install

📜 Description
I followed the Getting Started but it's failing when running the command .npx @backstage/create-app@latest
👍 Expected behavior
Able to successfully install backstage
👎 Actual Behavior with Screenshots

👟 Reproduction steps

Open Terminal

Install yarn npm install -g yarn

Check yarn successfully installed by running this returns something similar to yarn --version3.2.1

Run the command npx @backstage/create-app@latest

Notice the error fails with the error above

📃 Provide the context for the Bug.
No response
🖥 Your Environment
centos-release-7-9.2009.1.el7.centos.x86_64
Yarn: 1.22.19
Node: v16.19.0
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hey, I have the same problem here. I finally created my app from a local clone of the Backstage repository. In the create-app folder (packages/create-app), run the following commands :
yarn install yarn backstage-create-app
Hope it will help !

This seems to be an environment related problem. Your build doesn't succeed it seems, because of some incompatibility with flags for g++.
Isn't centos basically past end of life? Not sure what versions of libraries and compilers etc that it might have.
If I'm reading things correctly it's trying to build better-sqlite3. You may want to contact the author of that library to see if they can or are willing to support your operating system for builds.

I faced with the same issue, is there any update?

I know this is really old and closed but I just figured this out on Ubuntu 24.04 after a bunch of pain and this seemed to be the only place I could find with people faced with the same issue.
The generic Yarn error in my case seemed to stem from isolated-vm not liking Node 18, but upgrading to Node 21 kills Yarn. Node 20 seems to be the sweet spot at the time of writing this as I was able to install isolated-vm via npm. After updating the repo list here, I then had to completely removed node and re-installed before running npx @backstage/create-app@latest


Scaffolder: Add new prop to TaskPage

Co-authored-by: ahmet<EMAIL_ADDRESS>Signed-off-by: guven altunsoy<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Added new prop to TaskPage for displaying additional actions after creating new component with scaffolder software templates

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hallo :wave: Thanks for this, this is an interesting idea. Just want to understand a few things here, what's the use case? Is this going to be a button which is always going to be present? Or is this something that's going to change depending on the template you're going to run. What are you going to use the extra action for? Does it navigate to something specific to the template or is it just a generic action?
Sorry for all the questions, really want to understand the use case before adding this to the public API when we have a way already to add things and links to the sidebar after a template has run, so wanna understand the difference here and if it warrants an addition to the API surface.

Hi @benjdlambert, we want to navigate the user to a specific path when tasks have been completed. We could not give any prop to the current "Start Over" button. That's why we added a new button for these situations.

And what would be the specific path? Is it something that inside backstage? And is it always the same or is it something based on the completed template run?

It is not always the same but it is based on the completed template run. for our instance, it is not inside the backstage.
for example, if all tasks run successfully, we will add a redirect button for redirection to /docs/edit?some-params for editing created file. but if not, we will not add a new button for now.

OK - so could you use the output.links properties to build this instead of the additional prop? Something like this on the end of the templates that you want some links to appear?
https://github.com/backstage/software-templates/blob/main/scaffolder-templates/create-react-app/template.yaml#L76-L83

It is for just redirection but we want to do some validation and comparison etc before the redirection.

After talking with the other maintainers, I think I would probably recommend forking the scaffolder plugin and adding this functionality in there. I don't think we're in a state right now where we want to add this feature, and probably don't want to do it in this way, it might be that this is another extension that get's passed into the router. But that's not settled yet. Sorry to push back a bit on this, but I don't think we want to grow the public API surface in this way.

Sorry but I'll close this as responded to, for now.


no definition of 'val_files' in the data_processing.py

I have used python to run the preprocessing file: data_processing.py, which is in the CUB folder. But it fails in a strange issue, below is the code and error message.
Code:
python3 data_processing.py -data_dir datasets/CUB_200_2011 -save_dir CUB_processed
Error:
Number of train images from official train test split: 5994
Traceback (most recent call last):
File "/home/chiayilai/Desktop/ConceptBottleneck-master/CUB/data_processing.py", line 85, in
train_data, val_data, test_data = extract_data(args.data_dir)
File "/home/chiayilai/Desktop/ConceptBottleneck-master/CUB/data_processing.py", line 64, in extract_data
if val_files is not None:
NameError: name 'val_files' is not defined
The strange thing is that I can’t find the definition of “val_files” in the data_processing.py. And I can’t find any keywords related to it in the readme file. I tried to add a new folder named “val_files”, but it was still no use. Then I altered the “val_files” to “val_data”. It successfully produced three .pkl files, but I don’t know if this way is correct or not.

Hey, not an author but looks like they also had an undefined val_files var in the original commit (i.e. it isn't that they accidentally deleted something later on), so not sure what it's doing there https://github.com/yewsiang/ConceptBottleneck/commit/9f6ee6a25131689a7943e0657b76d19363e0cd4a#diff-2dd9fd989bcf4f6b4bdf75e647ebf91b6d0dc6ae23130e1b38fbfafddb067a5cR65
But they end up returning this anyway:
train_data = train_val_data[split :]
val_data = train_val_data[: split]

so you can probably just comment out all of these lines:
if val_files is not None:
    if img_path in val_files:
        val_data.append(metadata)
    else:
        train_data.append(metadata)


Update few parts in the landing page site

I would love to work to fix this with your guidance .
The logos become invisible in dark mode 😅

light mode:

dark mode:

Pls let me know about the same

I am interested to work on this issue

I would love to work to fix this with your guidance . The logos become invisible in dark mode 😅

light mode:

dark mode:

Pls let me know about the same

pls let me know about the same ☝🏼 @kaal-coder

I want to work on this issue under JWOC

@tmsagarofficial you are good to go. All the best.

@kaal-coder you can't assign more than one issue to a person per project. This is what rule says.


[Contribution Request][promptflow-azure-ai-language] Update package documentation and example flows.

Is your contribution request related to a problem? Please describe.
Azure AI Language has developed a promptflow custom tool package promptflow-azure-ai-language to expose Language capabilities to users. This contribution request updates the package's docs and examples per the contribution guidelines listed here.
Please see this older issue and PR for contribution level 1.
Detail the functionality and value.
Updated documentation and example flow use-cases for the promptflow-azure-ai-language package.
Additional context
See current PR here.

Hi @murraysean , we have both examples and docs added, please reach here:
Example: https://github.com/microsoft/promptflow/tree/main/examples/flows/integrations
Docs: https://microsoft.github.io/promptflow/integrations/tools/azure-ai-language-tool.html

Hi @brynn-code, this is an update to the existing docs and examples. I have recently updated the PyPI package and want the docs/examples in the Promptflow repo to reflect the changes. So users can see the most up-to-date information.


Misc fixes

DNS and Terraform config. We'll fix our HCL and upgrade the k8s provider to 2.x later.

Codecov Report

Merging #174 (dddf0fb) into master (59d2fc5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   75.75%   75.75%
=======================================
  Files           1        1
  Lines          33       33
=======================================
  Hits           25       25
  Misses          4        4
  Partials        4        4

Continue to review full report at Codecov.

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

% terraform plan
# ...
No changes. Infrastructure is up-to-date.

This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
# ...


How to scroll MaterialTabScroll progammatically?

Since it's a ScrollView wrapper I tried using ScrollViewReader's scrollTo but that didn't do much. Anything we can use?

scrollPosition() is supported


Push to centerViewController from side menu

Hello, I'm trying to push new view controller to the center view view from the side left menu I've trie this :
 HomeViewController *home = [[HomeViewController alloc] init];
    home.query = query;

    [self.mm_drawerController closeDrawerAnimated:YES completion:nil];
    [self.mm_drawerController.centerViewController.navigationController pushViewController:home animated:YES];

My center view is embedded in Navigation controller  using storyboard

@chlebta Did you solve it?

@chlebta did you solve this issue?

Same issue here - any solutions?


feat(api): Configurable response time badge thresholds

Thanks to the conditions on some routes, we can also carry out quasi-functional tests through realistic queries. However, these can take several hundred milliseconds, and we consider the response time badges to be allowed to be green. Therefore, we have tried to find a way to make the threshold values configurable.
We are not very familiar with go lang. Maybe there are some suggestions how to get the config in the badge generator.
Solution
endpoints:
  - name: front-end
    group: core
    url: "https://twin.sh/health"
    interval: 5m
    conditions:
      - "[STATUS] == 200"
      - "[BODY].status == UP"
    ui:
      response-timer-badge-awesome: 550
      response-timer-badge-great: 850
      response-timer-badge-good: 1350
      response-timer-badge-passable: 1650
      response-timer-badge-bad: 1750

Codecov Report

Merging #267 (3e69707) into master (0bf2271) will decrease coverage by 0.07%.
The diff coverage is 71.62%.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   83.57%   83.50%   -0.08%
==========================================
  Files          53       53
  Lines        3434     3486      +52
==========================================
+ Hits         2870     2911      +41
- Misses        439      449      +10
- Partials      125      126       +1

Impacted Files
Coverage Δ

config/config.go
75.55% <0.00%> (-3.52%)
:arrow_down:

core/endpoint.go
73.22% <25.00%> (-1.23%)
:arrow_down:

controller/handler/handler.go
86.48% <68.75%> (+0.37%)
:arrow_up:

controller/handler/badge.go
91.52% <88.09%> (-0.10%)
:arrow_down:

controller/controller.go
95.45% <100.00%> (ø)

alerting/provider/teams/teams.go
91.78% <0.00%> (+1.95%)
:arrow_up:

alerting/provider/discord/discord.go
91.78% <0.00%> (+1.95%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

🚀

@Fry2412 Looks good! Could you add an example in the README? Just adding a section in the FAQ named How to change the color thresholds of the response time badge with an example of the minimal configuration will suffice.

Two things
Firstly, I overlooked the fact that it was supposed to go in the FAQ section, so I moved it to where it made sense to me.
Second, since I only changed the README file, I don't know why there are merge conflicts again.

Could you resolve the conflicts? I just now noticed that you resolved my last concern through 384ca98 😅 sorry for the delay

Hi TwiN,
Fry is not able to work on that pull request. He gave it to me and I updated the branch to the latest gatus version.

I just merged a change in #307 that should make your life easier, if you manage to resolve the conflict. Basically, I took care of passing just the main config instead of multiple sub configs.

I'm confused as to why GitHub thinks there's a conflict.

I'll try to manually compare each file to make sure there's nothing weird.

Hi Twin, I guess that is a good idea. I will fork the project again on my account and create a new pill request.


Everything is blank in a packaged demo

I download your demo for 4.22 and package it. When I open the BLUI.exe, I find every module seems invalid. Including BLUI 1-10 and the logo in the top-left of screen is blank. I am not sure if I did something wrong and my package setting is default. Can you help me?

hi. This demo is a bit dated. Can you try this demo:
https://www.youtube.com/watch?v=iCAe7dyy9dw
Download:
4.22:  https://mega.nz/#!gbwgxYqY!CnCA_9WZOxMFjbPWw-uUVU52f2tSlgu3ygSaEalecDA
4.23: https://mega.nz/#!8LpS2aDL!tqir1LK0VxakJ0Xo5-zn4iSIbQ4XRThB24_LdMJNFtw

hi. This demo is a bit dated. Can you try this demo:
https://www.youtube.com/watch?v=iCAe7dyy9dw
Download:
4.22: https://mega.nz/#!gbwgxYqY!CnCA_9WZOxMFjbPWw-uUVU52f2tSlgu3ygSaEalecDA
4.23: https://mega.nz/#!8LpS2aDL!tqir1LK0VxakJ0Xo5-zn4iSIbQ4XRThB24_LdMJNFtw

I download it and packeted immediately but failed. Here is the log file.
BLUI.log

I download it and packeted immediately but failed. Here is the log file.
BLUI.log

Thank you. There is a small mistake that has been made by me. I did set the wrong "HTML" directory in project settings. There is a simple fix for that:
Just go to:
Project Settings-> Packaging->Click in Packaging tab to Show Advanced ->In "Additional Non-Assets Directories to Package" change "HTML" to "../HTML"
Basicly "HTML" folder contains offline website files that you can use or load.

I download it and packeted immediately but failed. Here is the log file.
BLUI.log

Thank you. There is a small mistake that has been made by me. I did set the wrong "HTML" directory in project settings. There is a simple fix for that:
Just go to:
Project Settings-> Packaging->Click in Packaging tab to Show Advanced ->In "Additional Non-Assets Directories to Package" change "HTML" to "../HTML"
Basicly "HTML" folder contains offline website files that you can use or load.

Well, I can package successfully. I can't wait to detect anything different with PIE environment.  I find that the local path modules may get some problems. I mean the "Simple JS with CSS Buttons Example" and "HUD Example". I can't see their effects in development package. I am not sure if this is associate with the errors here:

Closing due to age


Create Reorder_List.java

Issue Id you have worked upon -
#73
Briefly explain your program logic -
The logic behind this approach is to  reverse the list from tail to mid element, so that we can traverse it backwards.
Screenshots(Attach 2 screenshots of your own input and output) -
input taken -
[1,2,3,4,5,6,7,8]

input taken -
[9,8,7,6,5,4]

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@SarthakKeshari  kindly review my PR #261


Add flag to log command to not strip original timestamp when printing logs

Thu Aug 31 16:39:10 2017 logger.data.logvac (logvac[daemon]) ::  DEBUG Starting record cleanup batch...

In the log file there would have been a timestamp from the app itself (generally much more granular too)

i'd suggest to consider making this behavior the default, at least for the UI version of things.


Create java-treeset-examples

We have added some functions of TreeSet java collection Framework to this project which would help new learners to understand the concept clearly .So kindly accept this pull request from our side .

Really appreciated!!!..
nice and optimized codes available.

Thanks a lot for your codes


Please check for build errors.

I'm trying to build it with flutter-engine.
The latest #359 has been checked out.
I get an error like the following image:

Please help.

You're likely compiling the kirstone branch in an older yocto? You could just try removing references to the debug2 method, or switch to a more recent yocto version (like kirkstone)

@Teddywonseokyoo what yocto release are you working with?

Hi.
I already know that my yocto version is dufell.
However, if meta-flutter is checked out with dunfell, an error like #362 occurs.
Checkeout with d92cd07 and the build was successful. thank you.

@Teddywonseokyoo okay you are unblocked, great.  After my current CES work I will get dunfell updated.

https://github.com/meta-flutter/meta-flutter/pull/386


Finish RPC GetInfo.timeoffset, IReadOnlyNodesCollection

Implement GetInfo.timeoffset property, which was stubbed as a zero when RPC command was initially implemented.
Add LinqExtension to calculate median
Add GetMedianTimeOffset extension for Nodes collection
RPC GetInfo uses ConnectionManager.NodesCollection.GetMedianTimeOffset()
Disallow direct updates to ConnectionManager.ConnectedNodes via IReadOnlyNodesCollection
Rename ConnectionManager.(Add/Remove)Node to ConnectionManager.(Add/Remove)NodeAddress
Fix some style violations in ConnectionManager
Fixes: https://github.com/stratisproject/StratisBitcoinFullNode/issues/115

I think IReadOnlyNodesCollection can be renamed to INodesCollection read only is extrapolated from the exposed methods.

Maybe IReadOnlyNodesCollection can be renamed to INodesCollection read only is extrapolated from the exposed methods.

Too late, this is now an interface in NBitcoin/NStratis. I considered that someone may want to make a writable one too hence the ReadOnly


Shared Background

This is a result of https://github.com/aksonov/react-native-router-flux/issues/205. But what I'm trying to accomplish is to have a parent view have a background image and then any of the child elements share their parent's background image. I tried it with react-native-router-flux and they pointed me here, so then I tried it with the modal example project but it didn't work there either.
Any pointers on how this can be accomplished? Thanks.

You can use the sceneStyle prop on ExNavigator to set a transparent background. Something like this should work:
render() {
	return (
		<View style={{ flex: 1 }}>
			<AppBackground />
			<ExNavigator
				initialRoute={router.getHomeRoute()}
				sceneStyle={{ backgroundColor: 'transparent' }} />
		</View>
	);
}

@ClaytonAnderson Awesome! That indeed did work. :+1:

I'm trying to set the background color of ExNavigator's initial scene/route and it doesn't seem to be working.
<ExNavigator
        initialRoute={Router.getHomeRoute()}
        styles={{ flex: 1 }}
        sceneStyle={{ paddingTop: 64, backgroundColor: '#000000' }} />


Revisit toolbar action wiggling when menu is opened

I recently noticed an animation to indicate toolbar actions can be changed:

This seems to be inspired by Safari toolbar when you edit it:

I am seeing a few issues with our approach:

we allow to change visibility of actions in a lot of places (activity bar, status bar) where currently there is no such animation
in Safari to get into this mode, the user explicitly picks an action "Customize Toolbar" while for us it starts on right click already
in Safari you can actually grab an action and move it, I even think they only animate the action to make that more obvious (not so much the fact that you can hide the action)

I would vote for not having the animation until we can support what Safari does including to drag and reorder actions.
I think the menu makes it already clear what the right click gesture allows you to do:

Yes, thanks, this feels very strange to me. I don't think animating the whole menubar make sense when you are only operating on a single item.

How about beginning a right-click menu with an inactive entry that acts as a header? Something like "Button Visibility". It would also act as a protection against accidental hiding, since I can imagine some folk inadvertently pressing right button down, moving the mouse a few pixels right, releasing the button and seeing vanish the button they intended to actuate.
Especially on Linux where there's a longstanding issue about this happening on context menus at certain Zoom levels and certain places on the screen.

related/motivation https://github.com/microsoft/vscode/issues/161999

I don't think animating the whole menubar make sense when you are only operating on a single item.

Well, strictly speaking you operate on the whole menu because you also have toggle actions for all its entries.

How about beginning a right-click menu with an inactive entry that acts as a header? Something like "Button Visibility".

I like that direction. We already do something similar to right click the overflow item. You cannot hide that but you get a disabled "Hide" entry for consistency. On the flip side it is bogus use of menu items as "headers"

Overall the motivation for same kind of animation is mostly the .... Left and right click show a context menu which do very different things but look very similar

Any scope for changing the button icon when in this edit mode? Maybe to pencil or gearwheel.

Note that animations like this look pretty terrible on standard DPI monitors due to the blurriness. It also removes sub-pixel anti-aliasing which makes it look even more different to non-animating.

Regular:

Animating:

Note that animations like this look pretty terrible on standard DPI monitors due to the blurriness.

@Tyriar is that specific to this animation or something you notice with animations in general?

@jrieken I also think the spinner looks pretty bad, though it's less noticeable than this

language status wiggle

I don't think I've noticed this, but any animation like these should have this problem. You can notice it when websites use animations as well, the shift from animated to non-animated is often jarring.

Maybe to pencil or gearwheel.

Or even spinning gearwheel 😀


python311Packages.coqpit: disable failing tests

Description of changes
https://hydra.nixos.org/build/218893746
ZHF #230712

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

8 packages built:

python310Packages.coqpit
python310Packages.coqpit.dist
python310Packages.trainer
python310Packages.trainer.dist
python311Packages.coqpit
python311Packages.coqpit.dist
tts
tts.dist


Add C++ Solution for Problem Of The Day | 13 January 2023

Comment below if you're interested in working on this issue and would like to be assigned to it.

Shall I work on this issue? @ImSaMPro

Hey @Rishav1707, You have been assigned to this issue.

@ImSaMPro
I am sorry
I have mistakenly created a PR
actually I am given 14th onward dates


Array lookups - JS side

Create a TS API for the array lookup features exposed by @dannywillems with this task: https://github.com/MinaProtocol/mina/issues/13087
The API will likely consist of (at least) two constraint-creating methods:

array_initialize(array: Field[]): void - fill an array with circuit variables
array_get(array: Field[], index: Field): Field - look up a value in the array

The task for the SnarkyJS team is to package that as part of a nice API that makes array operations in a circuit easy. There's a lot of good prior work on this: #633
How will this be (integration) tested?

@garwalsh I moved this up the On Deck list for next sprint after ECDSA. Not a directive, but want to make sure it gets considered, as it looks like a smallish lift in o1js to unlock a significant capability.

see #90 #1062


Bump prometheus/node_exporter to latest release

Issue #, if available:
https://github.com/aws/eks-anywhere-internal/issues/2036
Description of changes:
This PR bumps prometheus/node_exporter to the latest Git revision, along with other updates such as Go version, checksums and attribution files.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Request for Clarification of How Default connection_limit and pool_timeout is calculated

Hello! I am currently working on a web application that uses prisma running on AWS Lambda. Recently we came across a connection_limit bottleneck and I learned all about the connection_limit and pool_timeout details of prisma.
I've read through your existing documents and one thing I'm still unclear about is: how is it decided what these values should default to if not manually provided?
I saw here that the default pool_timeout is 10seconds (I couldn't find what default connection_limit should be), however I checked and ours is: connection_limit=10, pool_timeout=13.
I was going to manually set these values going forward so that it's more explicit, but my concern is that these may be getting generated dynamically based off of traffic/scale of the lambda.
It doesn't seem like that, but I wouldn't want to break it if it is. Hence, I'd love some clarification on this!
Thank you very much!

Are you sure your default pool_timeout is 13, and not the connection_limit? I am not aware of any dynamic calculations for the pool timeout, only for the connection limit - which is documented here: https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/databases-connections/connection-pool#default-connection-pool-size

My apologies, I had them mixed up, it was pool timeout: 10, connection limit: 13
Okay thanks for the clarification!

All good, happy I could clarify. (I also took a note that we might need to centralize our docs on this a bit to make it easier to get this overview)