Obey ABSL_DEFAULT_LINKOPTS for all cc_library targets

A few targets were missing linkopts = ... and so were not obeying the project-wide default settings.
In my downstream project that uses Abseil, I customize the default linkopts by patching configure_copts.bzl, and having the options missing in a few places causes linker errors.

I've confirmed that this patch is comprehensive by running bazel query 'kind(cc_library, //...) except attr(linkopts, needle, //...)' after adding this patch:
--- a/absl/copts/configure_copts.bzl
+++ b/absl/copts/configure_copts.bzl
@@ -35,10 +35,7 @@ ABSL_TEST_COPTS = ABSL_DEFAULT_COPTS + select({
     "//conditions:default": ABSL_GCC_TEST_FLAGS,
 })

-ABSL_DEFAULT_LINKOPTS = select({
-    "//absl:msvc_compiler": ABSL_MSVC_LINKOPTS,
-    "//conditions:default": [],
-})
+ABSL_DEFAULT_LINKOPTS = ["needle"]

 # ABSL_RANDOM_RANDEN_COPTS blaze copts flags which are required by each
 # environment to build an accelerated RandenHwAes library.

Thanks for the feedback -- done and force-pushed now.
I re-confirmed that this still catches all linkopts vs the bazel query manual testing, other than cctz.  (No new libraries snuck in.)

Can you revert that changes to absl/time/internal/cctz/BUILD.bazel? They need to be handled through a separate process since that code is imported from the CCTZ project.

FYI @derekmauro I've proposed this follow-up change at https://github.com/google/cctz/pull/305 now.


[Feature Request] Possibility to import existing HAproxy configs.

I am aware that i could install the haproxy pkg and use my existing haproxy.conf file, however if i ever have to migrate  i have to go through the trouble of installing the newer pkg, ssh in, and copy files around. It would be much nicer to be able to load up a config file from the gui that basically replicates whatever the ui does so when you export the opnsense config, everything is in there. If i want to replicate a simple config such as this one, not even sure how i would go about it.
global
    maxconn         20000
    stats socket /tmp/haproxy.socket level admin  expose-fd listeners
    gid         80
    nbproc          1
    nbthread            1
    hard-stop-after     15m
    chroot              /tmp/haproxy_chroot
    daemon
    tune.ssl.default-dh-param   2048
    server-state-file /tmp/haproxy_server_state
    tune.ssl.maxrecord 1370
    ssl-default-bind-options no-sslv3 no-tls-tickets
    ssl-default-bind-ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH

listen HAProxyLocalStats
    bind <IP_ADDRESS>:2200 name localstats
    mode http
    stats enable
    stats admin if TRUE
    stats show-legends
    stats uri /haproxy/haproxy_stats.php?haproxystats=1
    timeout client 5000
    timeout connect 5000
    timeout server 5000

frontend frontend1_http
    bind            <IP_ADDRESS>:80 name <IP_ADDRESS>:80   #<IP_ADDRESS> is an alias for localhost to get sni and offloading
    mode            http
    log         global
    option          http-keep-alive
    option          forwardfor
    acl https ssl_fc
    http-request set-header     X-Forwarded-Proto http if !https
    http-request set-header     X-Forwarded-Proto https if https
    timeout client      30000
    acl         acl-https   var(txn.txnhost) -m beg -i chat.mydomain.org
    acl         acl-https   var(txn.txnhost) -m beg -i rss.mydomain.org
    http-request set-var(txn.txnhost) hdr(host)
    http-request redirect scheme https  if  acl-https
    use_backend backend-speedtest_ipvANY  if  acl-http

frontend frontend2_sni
    bind            <IP_ADDRESS>:443 name <IP_ADDRESS>:443
    mode            tcp
    log         global
    timeout client      30000
    tcp-request inspect-delay   5s
    acl         cloud_sni   req.ssl_sni -m beg -i cloud.mydomain.org
    tcp-request content accept if { req.ssl_hello_type 1 }
    use_backend backend_cloud_ipvANY  if  cloud_sni
    default_backend backend_offloading_ipvANY

frontend frontend3_offloading
    bind            <IP_ADDRESS>:1443 name <IP_ADDRESS>:1443   ssl crt-list /var/etc/haproxy/frontend3_offloading.crt_list
    bind /tmp/haproxy_chroot/frontend3_offloading.socket name unixsocket uid 80 accept-proxy   ssl crt-list /var/etc/haproxy/frontend3_offloading.crt_list
    mode            http
    log         global
    option          http-keep-alive
    option          forwardfor
    acl https ssl_fc
    http-request set-header     X-Forwarded-Proto http if !https
    http-request set-header     X-Forwarded-Proto https if https
    timeout client      60000
    acl         chatACL var(txn.txnhost) -m beg -i chat.mydomain.org
    acl         rssACL  var(txn.txnhost) -m beg -i rss.mydomain.org
    acl         aclcrt_frontend3_offloading var(txn.txnhost) -m reg -i ^([^\.]*)\.mydomain\.org(:([0-9]){1,5})?$
    acl         aclcrt_frontend3_offloading var(txn.txnhost) -m reg -i ^zmydomain\.org(:([0-9]){1,5})?$
    http-request set-var(txn.txnhost) hdr(host)
    use_backend backend-chat_ipv4  if  chatACL aclcrt_frontend3_offloading
    use_backend backend-rss_ipv4  if  rssACL aclcrt_frontend3_offloading

backend backend_cloud_ipvANY
    mode            tcp
    id          103
    log         global
    timeout connect     30000
    timeout server      30000
    retries         3
    server          cloud <IP_ADDRESS>:2443 id 104

backend backend_offloading_ipvANY
    mode            tcp
    id          101
    log         global
    timeout connect     30000
    timeout server      30000
    retries         3
    server          backend-to-frontend /frontend3_offloading.socket send-proxy-v2-ssl-cn id 102 check inter 1000

backend backend-chat_ipv4
    mode            http
    id          10105
    log         global
    timeout connect     30000
    timeout server      30000
    retries         3
    server          chat <IP_ADDRESS>:3000 id 10106 check inter 1000

backend backend-rss_ipv4
    mode            http
    id          10117
    log         global
    timeout connect     30000
    timeout server      30000
    retries         3
    server          rss <IP_ADDRESS>:1234 id 10118 check inter 1000

It would be much nicer to be able to load up a config file from the gui that basically replicates whatever the ui does

I totally understand why someone would request this feature. It would make a migration from to a UI-driven HAProxy instance much, much easier. I'd love to have this feature in our HAProxy plugin.
That being said, from a developers standpoint, parsing a random haproxy.conf (and associating each entry with a GUI item) is a tremendous effort. Honestly, I don't think it's worth it, given that it's only required if one wants to migrate a standalone HAProxy instance to OPNsense. Sure, it can be a pain to start from scratch and create all the small parts in the GUI, but in the end it's worth it. IMHO :)


Support Next.js "Statically Typed Links"

Is your feature request related to a problem? Please describe.
Make the functions from createSharedPathnamesNavigation (imported from next-intl/navigation) type safe when experimental.typedRoutes is enabled (in  next.config.js).
Next.js documentation: https://nextjs.org/docs/app/building-your-application/configuring/typescript#statically-typed-links
Describe the solution you'd like
Type Safe routing with:
import { createSharedPathnamesNavigation } from "next-intl/navigation"

export const { Link, redirect, usePathname, useRouter } =
  createSharedPathnamesNavigation(routing)

I've used the same repo for the bug reproduction for #1402 but created another branch to try enabling experimental.typedRoutes: https://github.com/theoludwig/next-intl-bug-repro-relative-time-now/tree/typed-routes
Ideally we should be able to use the types generated in .next/types/link.d.ts, but ignore the slug [locale], and have type safe links, for example:
<Link href="/items">Items Page</Link>

{/* TypeScript Error! */}
<Link href="/do-not-exist-page">Items Page</Link>

Describe alternatives you've considered
No type-safety for links.

Ah oops, as similar issue already exists.
Closing as it's a duplicate, sorry for the noise. :sweat_smile:
https://github.com/amannn/next-intl/issues/396


allow disabling vibration

I only put vibrate on calls so it would be good to be able to disable vibration on this as well.

I was expecting it coming :)
It will be done for the next release.

Haha, live in fear no more. Everything else is great.

This has been added in the newest version, where one can choose the vibration pattern.


Druid query to get last N transactions from the db

I have written a druid topN query to fetch the last n transactions performed from the db. I have aggregated __time column and used it as the metric for the topN query.  For aggregation I have used longLast aggregator.
But this query is taking too much time in case of multiple segment data. Can someone please suggest me what optimization I can do in the query to make it faster.  Or if there is some other faster way to  get the last n transactions.
Adding the structure of the query I have:
{
"dataSource": {
"type": "table",
"name": "txn"
},
"queryType": "topN",
"intervals": [
"2021-08-24T15:51:54.599+05:30/2023-08-24T10:21:54.599Z"
],
"granularity": "all",
"virtualColumns": [
{
"type": "expression",
"name": "sourceValue",
"outputType": "STRING",
"expression": "regexp_extract(trim(transEntityRecords), '(.)attributeID(.)909075081867,.values.:(..([-0-9](.[-0-9]+)?))(.)', 4)"
}
],
"filter": {
"type": "and",
"fields": [
{
"type": "in",
"dimension": "gsiId",
"values": [
"1595974428413"
]
},
{
"type": "in",
"dimension": "triggerCuId",
"values": [
"1240994321229"
]
},
{
"type": "selector",
"dimension": "triggerState",
"value": "COMPLETED"
},
{
"type": "or",
"fields": [
{
"type": "selector",
"dimension": "gsiName",
"value": "MaxLimitLoadTestingGSI"
},
{
"type": "selector",
"dimension": "cuName",
"value": "test CU27281"
},
{
"type": "selector",
"dimension": "cuIndex",
"value": "1"
},
{
"type": "selector",
"dimension": "txnSlotItemDataName",
"value": "NumberEntity 862"
}
]
}
]
},
"aggregations": [
{
"type": "count",
"name": "count"
},
{
"type": "doubleLast",
"name": "sourceValue",
"fieldName": "sourceValue"
},
{
"type": "longLast",
"name": "time",
"fieldName": "__time"
}
],
"dimension": {
"type": "default",
"dimension": "transactionId",
"outputName": "transactionId",
"outputType": "STRING"
},
"threshold": 38211,
"metric": "time"
}
NOTE:

Interval is supposed to be 2 years. So can not reduce that
All the filters/virtual columns are essentials

@petermarshallio @tijoparacka @abhishekagarwal87
Can anyone please help on this.

Hello!
2 years is potentially a lot of segments that need to be scanned, so you are missing one of the main advantage of having a primary index based on time, if you ask the database to scan all the segments all the time.
There are a few options to consider:
You can try turn cache on on the historical nodes (no on the broker, caching on the broker would not matter for this query), that could help if you don't have any late arriving data and reserve a some RAM for caching, both on historicals node RAM as well on the historical: https://druid.apache.org/docs/latest/configuration/#historical-caching
But I'm afraid druid can't otimize longLast, because it may need to scan all the matched segments to send to the broker to compare which is the overall latest.
You can consider make a external Service / Application:
This service could be configured to read data from the same ingestion sources and update a separate, faster storage system (like Redis, DuckDB or an in-memory database).
Here's a simple outline of how you could design it:

The service reads from the same ingestion source that Druid uses.
It updates a faster storage (like Redis).
The structures stored in this faster database mirror those in Druid.
You query the faster storage directly for the most recent transactions.
If this fails, you fall back to querying Druid.
This system would also rely on Druid as a source of truth, when your application boots up or if the in-memory database fails.
This approach frees you from sending each query to Druid and allows you to retrieve the most recent transactions much more quickly. It does, however, require this additional service to be maintained.

Nevertheless, you could also check if the segment compaction are optimized for your needs:
Segments Optimization (Secondary Indexing): If your data has some natural order or frequently queried fields, you could specify secondary indexes using autocompaction with range, for example https://druid.apache.org/docs/latest/ingestion/native-batch#benefits-of-range-partitioning. Although time-based partitions are the primary indexing method in Druid, secondary indexes could help improve query latency by reducing the quantity of data that needs to be scanned, maybe you can have segments just with the triggerState=COMPLETED in one place, or create a new datasource just for them


Add support for security-related HTTP headers

Similar to https://github.com/prometheus/prometheus/pull/9546/

thanks!

Close/reopen to trigger CI

Thanks @roidelapluie ,
CI failed on the go.sum file tidiness so I committed the updated go.sum file.

Close/reopen to trigger CI
again


The "Get group info" paragraph needs the following detail:

The "Get group info" section just says: "Gets information about a group from the Active Directory server" which is not informative. It should mention that it returns 4 properties of a group:
Description
DisplayName
Members
Name

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

ID: a99d94f3-671c-56b9-43aa-ace95c78e85c
Version Independent ID: 23036a14-c90e-3f34-d6b3-3e3565de6a93
Content: Active Directory - Power Automate
Content Source: articles/desktop-flows/actions-reference/activedirectory.md
Service: power-automate
Sub-service: desktop-flow
GitHub Login: @mariosleon
Microsoft Alias: marleon

Hello @Mike-Crowley, thank you for using Power Automate and helping us improve our documentation page. You can find information regarding all Active Directory-related data types here. We are currently working on connecting the actions reference with this page, so users can find information for each produced data type without effort. You'll be able to see the changes soon.


update go to 1.17

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>

/test odf-operator-bundle-e2e-aws

@iamniting There are multiple changes in this PR (not just Go 1.17 change).
I suggest updating PR title and description to make it clearer.

@iamniting There are multiple changes in this PR (not just Go 1.17 change). I suggest updating PR title and description to make it clearer.

done

/test odf-operator-bundle-e2e-aws

/test odf-operator-bundle-e2e-aws


Reports returned is incorrect

A comparison of 3 IP addresses showed a vast discrepancy between what the Powershell script returns for the # of malicious reports versus manually checking the same IP address via the AbuseIPDB.com web site. Check <IP_ADDRESS> (script = 7507 / manual = 51513), <IP_ADDRESS> (4653 versus 94465) and <IP_ADDRESS> (4696 versus 104809). I redownloaded/rechecked the tallies with the current .PS1 file on Github and the conclusion was the same - the script is returning incorrect values.

This might be because the script does not set the "maxAgeInDays" parameter when querying the API. So the API uses the default "maxAgeInDays" value of 30 days, see https://docs.abuseipdb.com/#check-endpoint
This could be the reason the script always returns less reports, because it only counts reports made in the last 30 days.

Thanks for jumping in here @bastiaan-deltics. Yes, the discrepancy between MaxAgeInDays (which by default is 30 for API calls) and lookups through a web browser at abuseipdb.com (which go further back) are likely why this is happening. An adjustable MaxAgeInDays value is something that I would like to implement in a future version of the script.

I modified line 317 to this:
Invoke-WebRequest -Uri ("https://api.abuseipdb.com/api/v2/check?ipAddress=$($_.IP)&maxAgeInDays=365") -Headers @{'Accept' = 'application/json'; 'Key' = $ApiKey} -usebasicparsing | add-content -path $jsonTempPath
The max # of days the API can return is 365 (unlike the AbuseIPDB web site, where a single IP query goes back to day #1).. its the best that I could do. I recommend modifying the script's readme file to inform users that it returns only the past 30 days though...


fixing for node v0.12

Maybe use can also replace:
fileMap.proto = parsed.fileMap;
provideMap.proto = parsed.provideMap;
to
fileMap = parsed.fileMap;
provideMap = parsed.provideMap;

All is well ;)

+1 This branch solved my issue with the latest Closure compiler -- not resolving the goog.* dependencies.

@vojtajina This is a pretty important branch

The firefox launcher is breaking the tests (log).  Recommend removing the package.json changes if they're not necessary to the fix to the compiler.

Any word on this? Can we merge this in?

Not clear if I'm the target of this mail or a CC.  If I'm a target, I'd say
I don't have enough knowledge of karma-closure to say if that's overall a
good change, though it worked in my case.  (I've since moved over to
pre-compiling so that I can transpile ES6->ES5, which has rendered this
problem moot for me)
On Tue, Jun 16, 2015 at 10:21 AM, googlebot<EMAIL_ADDRESS>wrote:

We found a Contributor License Agreement for you (the sender of this pull
request), but were unable to find agreements for the commit author(s). If
you authored these, maybe you used a different email address in the git
commits than was used to sign the CLA (login here
https://cla.developers.google.com/ to double check)? If these were
authored by someone else, then they will need to sign a CLA as well, and
confirm that they're okay with these being contributed to Google.
—
Reply to this email directly or view it on GitHub
https://github.com/karma-runner/karma-closure/pull/20#issuecomment-112503399
.

@vojtajina Would you mind pulling this in?


MudPicker: Value should reset when Form.Reset() is called.

Description

Resolves #3852. Calling Form.Reset() does not clear the values of pickers within the form. See: https://try.mudblazor.com/snippet/GkmmYBQrpNSDdMnz
How Has This Been Tested?

I am adding a unit test.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

All tests pass on my machine and I think we've seen this particular test have issues before, so I don't think it's cause for concern with this change.

@henon Could you look at this, please?

@henon If you don't have any objection, feel free to merge it.

Thanks @Mr-Technician and @just-the-benno !


Is DBeaver support multiple workspaces like Eclipse?

Yes. You can run DBeaver with command line parameter -data to use non-default workspace.
https://github.com/dbeaver/dbeaver/wiki/Command-Line

Ok, I'll try command line parameter -data thank you.


[Tab] Fix centering for label with SvgIcon

Resolves #3695 but adding centring margins for SvgIcons.

[x] PR has ~tests / docs demo~, and is linted.
[x] ~Commit and~ PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s)

I would be good to update the example of the documentation with a SvgIcon

@oliviertassinari the docs do have <ActionFlightTakeoff/> which is effectively an SvgIcon in the example without labels, so I'm not sure it's really required. The way the documentation is arranged made it clear, to me at least, that all icons classes are interchangable.
If you do think it would help, though, I would recommend using a similar implementation of the SvgIcon in an example. Using a pure SvgIcon with it's relatively long/complex path property muddies the point (i.e. how tabs works) of the example.

The way the documentation is arranged made it clear, to me at least, that all icons classes are interchangable.

Yes, indeed. All the icons are supposed to be interchangeable.
My point is that the examples with label that you want to fix isn't using any SvgIcon.
Using one would prevent futur regression.

Hi @thomasmichaelwallace - are you still working on this?

Hi @mbrookes ; in short "yes- when I get back around to it"
Really I just meant it as a fix-and-run PR; but @oliviertassinari 's suggestions of refactoring the control to use a flexbox and putting it as a test in the documentation are a bit more involved then I've had time for recently.
Let me know if you are picking this up so I don't duplicate any effort.

@thomasmichaelwallace - that's understandable.
I wasn't picking this up, just doing a run-through of open PRs, as we have done some moving around of code to tidy things up, and plan to do some more.
PS. Notice you're a stone's throw from me. Effingham calling. :smile:

OK- back for review with @oliviertassinari
Now:

[x] Uses a Flexbox (also cleans up all existing 'special case' formatting)
[x] Includes SvgIcon derivatives in example to guard against future regression.

@thomasmichaelwallace That looks good :+1:. Using a padding: 0 is fixing an issue with a not centered ripple. Aside from my comment, I think that we can merge.

Ahh- I had missed the getStyles() appraoch. Fixed and squashed now (squashing when two of your commits refer to files that aren't there is a PITA...).

@thomasmichaelwallace Really nice PR :+1:

@mbrookes This one is stuck too :cry:.


Spread the EdgeX Micro Service Management (MSM) API to the ExportDistro service.

The gist of having EdgeX Micro Service Management (MSM) API spread to the ExportDistro service is to add the capability of delegating to the ExportDistro service the request (to the SMA) for that service's configuration info and for its metrics info.
Initially, this existed only for the support-notifications service.

Closing this issue in favor of: Issue #697 and Issue #690.


Rename

This PR implements some important renaming conventions for improved accuracy and compactness

ProbabilityDistribution -> Distribution
Aliases P for Distribution and M for Message
Nonlinear -> Delta
GaussianMeanPrecision -> Gaussian{Precision}
GaussianWeightedMeanPrecision -> Gaussian{Canonical}
GaussianMeanVariance -> Gaussian{Moments}
Gaussian defaults to Gaussian{Moments}
Convert all demos to work with Plots

Codecov Report

Merging #193 (ba6d0b0) into master (dc808ac) will increase coverage by 0.02%.
The diff coverage is 88.69%.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   87.10%   87.12%   +0.02%
==========================================
  Files          97       97
  Lines        4614     4614
==========================================
+ Hits         4019     4020       +1
+ Misses        595      594       -1

Impacted Files
Coverage Δ

src/engines/julia/update_rules/sample_list.jl
100.00% <ø> (ø)

src/factor_nodes/clamp.jl
94.44% <ø> (ø)

src/factor_nodes/transition_mixture.jl
95.65% <ø> (ø)

src/update_rules/beta.jl
100.00% <ø> (ø)

src/variable.jl
93.90% <ø> (ø)

src/engines/julia/update_rules/beta.jl
29.03% <33.33%> (ø)

src/engines/julia/update_rules/dirichlet.jl
50.00% <50.00%> (ø)

src/factor_nodes/sample_list.jl
75.60% <63.33%> (ø)

src/algorithms/structured_variational_bayes.jl
94.25% <66.66%> (ø)

src/factor_nodes/contingency.jl
87.50% <71.42%> (ø)

... and 64 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 dc808ac...ba6d0b0. Read the comment docs.

Renaming appears complete, will merge, thanks @abpolym for checking


[#69] You can now see the app displayed correctly in mobiles.

Also increased coverage by configuration.

Coverage increased (+3.3%) to 99.286% when pulling 65ff101e99b61e60491a10a12cab16e12096da22 on feature/69 into 611a7b6058d3aa3298f44e9f59ea06315c5f3681 on development.


I don't want to add the  tag

I only want communication,i don't want to add ,Please tell me how to set up the container

That's basically an API call no? Should be better to be modelled as an API call then


Interactive Map - Issue#10

Please, go through these steps before you submit a PR.

[x] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Added map functionality to index.html. Created a file called map.html and created a plugin location called locations.rb. Modified the all.scss file to add style to the map. We added markers to showcase the location of each fellow and added the profile picture for each fellow accordingly. We also added each fellow's name, location and description for each marker. The user would have to insert an API key from : https://developers.arcgis.com/sign-up/
There would be a potential merge conflict with issue#9, but their work on fellows.yml would override our fellows.yml file

Just an observation: you don't need the plugin. That plugin is reading data from site.data['fellows'] and writing it back completely unmodified to site.data['fellows_information']. You are already just using site.data.fellows in map.html, so you can just delete the plugin without any loss of functionality.

Hey, is this ready to be reviewed?
@k-abirami @ttn-ttn @k-abirami

Hey, is this ready to be reviewed? @k-abirami @ttn-ttn @k-abirami

Yes, Will has also added the API key to the website

@k-abirami I checked on Netlify, the API key has been added, it will probably work fine when it's merged, so can you just fix the conflicts and address the small change

@k-abirami I checked on Netlify, the API key has been added, it will probably work fine when it's merged, so can you just fix the conflicts and address the small change

Looks great! Thanks for making this work!

@k-abirami I checked on Netlify, the API key has been added, it will probably work fine when it's merged, so can you just fix the conflicts and address the small change

API Key should be added now.


Update to gist-embed 2.2

See change log V 2.2
https://github.com/blairvanderhoof/gist-embed
Rendering was broken. This fixed it for me

Thank you @francois-n-dream


Allow Raspberry Pi 2 Zero

Raspberry Pi 2 Zero is ARMv8 and should work with .net core.
https://github.com/nforgeio/RaspberryDebugger/issues/46

Console Output Verification

Thanks for implementing. This is exactly what I did.

Hm? It is an ARMv8.
But this check is done in code:
if (!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 3 Model") &&
!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 4 Model") &&
!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi Zero 2"))
Without this check it's not working. - so far.


error accessing struct property

What version of Go are you using (go version)?

$ go version
go version go1.17.6 darwin/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/zip/Library/Caches/go-build"
GOENV="/Users/zip/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/zip/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/zip/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/2n/6lp_hgtd1jzbhrzvzldlm8m40000gn/T/go-build301895266=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
	d := websocket.Dialer{TLSClientConfig: &tls.Config{RootCAs: roots}}

	c, _, err := d.Dial(u.String(), nil)

	if err != nil {
		fmt.Println("dial:", err)
	}
	defer c.Close()

	// get the tls.Conn
	uc := c.UnderlyingConn()

	fmt.Println(reflect.TypeOf(uc))
	fmt.Printf("%+v\n", uc)
	fmt.Println(uc.conn)

Here is the struct information, printed with reflect.TypeOf() and %+v:
*tls.Conn
&{conn:0xc000010078 isClient:true handshakeFn:0x41b05a0 handshakeStatus:1 handshakeMutex:{state:0 sema:0} handshakeErr:<nil> vers:772 haveVers:true config:0xc0002e4180 handshakes:1 didResume:false cipherSuite:4865 ocspResponse:[] scts:[] peerCertificates:[0xc0002cd080]

What did you expect to see?
To be able to access uc.conn
What did you see instead?
uc.conn undefined (type net.Conn has no field or method conn)

uc.conn is defined, as shown from the output of fmt.Printf("%+v\n", uc)

Identifiers with a lower case are unexported and not available outside the package that defines them. https://go.dev/ref/spec#Exported_identifiers

@davecheney then why does *tls.Conn not have a UnderlyingConn() function so that can be returned?

Why would *tls.Conn have no ability to modify the actual net.Conn?

Thank you for raising this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

The golang-nuts mailing list

This is not asking a question.
It is a process of explaining to the Go authors that a tls connection needs to allow you to access and modify the underlying connection after creation.
It is not reasonable to be unable to access the connection and modify the keep alive timeout and state at the connection level when using tls at any time.
Thank You,
Andrew Hodel

On Feb 20, 2022, at 2:09 PM, Dave Cheney @.***> wrote:

Thank you for raising this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:
Stack Overflow with questions tagged "go"
Gophers Slack, use the invite app for access. The #general channel is a good starting point.
The golang-nuts mailing list
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

The fact is that the net module has functions for modifying tcp parameters after connection creation.
Tls should have the same, it doesn’t and I already created another issue about it.
This isn’t a question or support request. It is redirection of a bug through language.
Thank You,
Andrew Hodel

On Feb 20, 2022, at 2:21 PM, Andrew Hodel @.***> wrote:
This is not asking a question.
It is a process of explaining to the Go authors that a tls connection needs to allow you to access and modify the underlying connection after creation.
It is not reasonable to be unable to access the connection and modify the keep alive timeout and state at the connection level when using tls at any time.
Thank You,
Andrew Hodel

On Feb 20, 2022, at 2:09 PM, Dave Cheney @.***> wrote:

Thank you for raising this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:
Stack Overflow with questions tagged "go"
Gophers Slack, use the invite app for access. The #general channel is a good starting point.
The golang-nuts mailing list
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


Fix/post migration fixes ros2

This PR updates the readme for the humble branch with

corrected links to the ROS1 branches
humble CI badge
company credit section with logo icons

fixes the update readmes (ROS2) part of #346 .


No mod icon

No mod icon in ModMenu

Are you offering to make one 😄

Are you offering to make one 😄

If I had the skill to make one, this would be a pull request... I could keep this open, in case someone else offers to make one?

Yeah, sure


How to get probability of match in C#

Before you submit an issue, please review the guidelines for this repository.
Please report an issue only for a BUG, not for asking questions.
Note that it will be much easier for us to fix the issue if a test case that
reproduces the problem is provided. Ideally this test case should not have any
external dependencies. Provide a copy of the image or link to files for the test case.
Please delete this text and fill in the template below.

Environment

Tesseract Version:
Commit Number:
Platform:

Current Behavior:
Expected Behavior:
Suggested Fix:

Does anyone could help me to find probabilty value of match?


Testing/bernede1/codecov

Testing new coverage options.
closes #2192
Main changes

Coverage analysis is restricted to mfem core source dirs.
Adds a codecov.yml file to configure codecov.
Coverage will result in a failure if coverage drops more than 1%. Here dropping 4% because test directories were removed from the statistics.
Deactivate annotations in the diff (no demo of this, corresponding change is https://github.com/mfem/mfem/blob/713462969c4847f12498804fc633d95db43dd7b4/codecov.yml#L9)
The coverage status comment is shorter, to include only global statistics and chart.

Additional changes:

Coverage will only show up on a PR targeting master.
Coverage will only show up if there is a change in coverage.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#2186
@adrienbernede
@tzanio
@tzanio + @pazner
04/22/21
⌛due 05/06/21
⌛due 05/13/21

The change are working fine: The coverage now focuses on MFEM core sources.
It is expected to see a decrease in coverage, since tests were "well covered".
The problem is that it is not possible to access the detailed info (on codecov website) because I revoked the access with my account. I contacted Codecov to report the excessive permission requirements.
We will see how they answer.

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

Thanks for these improvements @adrienbernede! A few small suggestions, and I'll approve.

LGTM


[Question] Does this work with the default Cognito UI?

I don't know if I have done something stupid - but I have extracted the lambda logic out and integrated it into a very basic
Cloudfront hosted website.
Everything works as expected, unless you are a new user trying to register using the hosted UI, when once you have filled in the form you are sent to /error page on the hosted UI. The user is added to the pool.
So I cant understand whats going on! The logic for stopping, signing out, refreshing etc all work fine. Is this meant for use with the hosted Cognito UI?
Cheers

Hi! Can you provide some more details on what goes wrong?

What is the error message from the Cognito hosted UI?
What do you see in the logs of the Lambda@Edge function? Check the logs of the checkAuth and parseAuth functions please?

Could you try creating the user in the AWS Console first and then sign in? (Instead of "self registering" the user through the Hosted UI). Does that work?

Hi @ottokruse,
I've attached a screenshot of the error, as you can see its not very helpful :(
There don't appear to be able logs generated by those, when using the hosted UI

Is there a way to see logs from the hosted UI?

You can't see the logs from the hosted UI––it should return it's error clearly to you. Check if you maybe see it in the URL, Cognito sometimes puts the error there, as a query param.
For debugging this I recommend to open your Browser's network panel (press F12) and inspect all the redirects happening. Have a look at the HTTP requests: which URL's do they go to, which redirects are happening, does anything seem to be off?

Hi @ottokruse - I finally managed to track down the cause. I had extracted all this into a Terraform project, and somehow Terraform was deploying the configuration for "How do you want your end users to sign in?" Like nothing was selected (not even sure how thats possible?) So I think when the user was being registered, something within Cognito itself died causing the error. Now it has config options selected, it works perfectly.
Thanks

@fred97855 , if you see this comment I'd very much like to see how you implemented this framework in Terraform!

@rpattcorner I will put together an example and send over a repo asap :)


Reload Page  / Window

How to reload the page / window via C# code?

@stevendevit sorry for the late response.
You can do it in many ways. You need the "Browser" object to that.
You can use the implementation of IChromelyWindow or IChromelyJavaScriptExecutor.
Sample using Command route:
        [Command(Route = "/controllersample/reload")]
        public void Reload(IDictionary<string, string> queryParameters)
        {
            var scriptExecutor = _config?.JavaScriptExecutor;
            if (scriptExecutor != null)
            {
                Xilium.CefGlue.CefBrowser browser = scriptExecutor.GetBrowser() as Xilium.CefGlue.CefBrowser;
                if (browser != null)
                {
                    browser.Reload();
                }
            }
        }

Please check ExecuteJavaScriptDemoController to see how IChromelyJavaScriptExecutor is implemented.
Thanks.


Can Data objects be dumped by HDF5?

❓ Questions & Help
I found it is very slow to dump huge graph by torch.save().
To make save/load faster, I use HDF5 to save/load the numpy arrays then convert them to Data objects.
Is it possible to directly dump Data objects by HDF5?

This is an interesting idea, thank you. I think we could implement a method in the Data class to achieve this. Feel free to work on it if you like.


llvmdev v13.0.1 (redux)

Merges #139 with the rc-work of #134.
Also:

picking up @xhochy as maintainer as per #136 / #137.
adding myself to maintainers as per this comment

Closes #139
Closes #137
Closes #136

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/llvmdev
This is green and should IMO be good to go. It's effectively just a merge of the rc branch with master, plus some pending maintainership updates.

@isuruf, somehow the CI didn't run after merging this...
I'd be happy to retrigger it if I knew how (I remember I encountered this somewhere else already, where you or someone else then managed a restart without an extra commit).

@conda-forge/llvmdev
Can someone reactivate/unblock the CI on master? Otherwise I'm going to try pushing an empty commit to retrigger in ~12 hours.

Thanks to whoever restarted the CI! Can you share the magic sauce of how to do that, or is it core-only?

Can you share the magic sauce of how to do that, or is it core-only?

Looks like core-only:

Are you able to login to Azure with your GH account?

Are you able to login to Azure with your GH account?

Yes, but I've never been able to restart anything from Azure, so it's perhaps a question of privileged?. I always need to go through the github trigger to restart jobs (and that page doesn't exist when the CI didn't run).


Add dummy credentials to functional leak tests

Avoids the instance metadata timeout during credential lookup.
cc @kyleknap @mtdowling @rayluo @JordonPhillips

LGTM. :ship:


Nikola build failing for Jupyter notebooks due to missing dependencies

I tried to build a site with this repo and got the following error when I added ipynb files.

I added notebook==6.0.3 to requirements.txt and it worked fine.
My question (or suggestion) is whether "notebook==6.0.3" be added to requirements by default? My personal opinion is yes, because:

Not many are tech savvy or have time/resources to figure out what needs to be done to publish ipynb files.
In my opinion, one of the main USPs of Nikola compared to other SSGs is it's ability to publish Jupyter notebooks without users having to convert them to markdown. Why not extend the same convenience when using Netlify or GitLab? I raised the same issue there in Gitlab but having got no response, I had to create a new docker image for Nikola as the existing one fails. I am personally happy with it because, in the process, I learned yaml and building docker images. But I don't think many end users are like that. Most follow documentation, and if it works then fine, else raise an issue and when it doesn't get addressed, they move on elsewhere. I believe that little fixes like these could create a big impact on users by making things easier for them. I really like Nikola and so far, it's the best SSG for me. I want others to feel that way too.

However, if you feel that "notebook==6.0.3" should not be added to requirements by default, could you please mention in Readme that users add this requirement while publishing Jupyter notebooks?

I changed the requirements to Nikola[extras], we do that for the GitHub action already. This does take in more packages, but users can still change it back, and it shouldn’t extend install times by much. But I think you are overstating the importance of Jupyter, Nikola has many other features people might be interested in.

Thank you for updating requrements.
I may be overstating the importance of Jupyter because I personally am more interested in publishing Jupyter notebooks. Most data scientists like me work with Jupyter notebooks (for both python and r) and some would like to publish their work online. Earlier, I had to convert notebooks to html and publish them, which is a bit of a hassle when it comes to formatting and images. Now, I find Nikola very convenient. I couldn't find any other SSG  that does that (Jekyll, Pelican, etc require me to convert files to .md first). May be people like me amount to a very small proportion in Nikola user base, yet, this feature is a huge benefit to me.
I am still new to Nikola (or even publishing websites for that matter). As I explore, I keep finding interesting features.
It's probably not very wise to write so much on an issues page.
Thanks for your time and for all the work that goes into this project. Cheers.


MRR: - expired_at, +request_number, verification_code [ci skip]

Changes Unknown when pulling 6a2752a3ade5c37ca0821e7f21759008d6bf6483 on EdwardVoloshin-patch-2 into ** on master**.


Better impl for char

Fixes https://github.com/rust-fuzz/rust_arbitrary/issues/8
The String impl is still not good enough, since it blindly calls char::from_arbitrary, which doesn't work as well. We should do something slightly more UTF8 aware.
r? @fitzgen

Hmm, another approach would be to parse as utf 8 instead, which might produce more success. That's trickier, though.
That would fix https://github.com/rust-fuzz/rust_arbitrary/issues/17 for free (aside from the container size)

Landing this anyway, this approach is strictly better.


[BUG] Dark mode is not works for Terms page

Description
Currently the dark mode is not implemented for terms page.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I am willing to work on this issue (optional)

I'm a GSSoC'24-Extd contributor
I am willing to work on this issue (optional)

I'm a GSSoC'24-Extd contributor I am willing to work on this issue

@dipexplorer The PR has already been raised referencing this issue, and it is a work in progress. I cannot assign this issue to you. You can raise any other issue or bug.


Send cursor position VDU command doesn't match documentation

VDU 23,0,&82 is "request cursor position" - the code is hard-coded right now to return the text cursor position, however it's possible to swap the active cursor to the graphics cursor.
This should probably change to use activeCursor

Hi @stevesims thank you for your comment. Yep, it is designed to return the text cursor position. I will amend the documentation and close this card.

Documentation changed to read 'Request text cursor position' (link)


Add aaa and modify aaa.cmd

Also modifies file permissions to be able to be executed

modifying the file perms isnt necessary because almost none of the files can be run on their own, they need to be interpreted or compiled

Force pushed


Commercial Paper 2.x sample - enhancements and documentation

See Commercial Paper README for details. Added fixes, set of ledger queries and clearer demarcation between states and txn inputs for end user.
Signed-off-by: Paul O'M<EMAIL_ADDRESS>

👍 thanks for the feedback @lehors . I'll get to this next week (w/c 26 Oct)

@lehors  I have made the changes (to the README) as requested above ^^ fyi.

Actually, I somehow didn't get to see all the latest changes. The README looks good. Thanks.


About text_descriptions

Hello, thank you for this great research! Also, thank you for the code release.
Are you not using the text_descriptions you set in advance when you proceed with the compute_segmentation now?
I asked you because I was curious about the part you wrote in the paper.

Once again, thank you for these excellent research.

Thank you for quickly reply!


Adding gene and isoform names in rsem expression quantification files

Hi,
I wanted to make a request to add the --append-names flag in the call to rsem-calculate-expression:
--append-names
    If gene_name/transcript_name is available, append it to the end of
    gene_id/transcript_id (separated by '_') in files
    'sample_name.isoforms.results' and 'sample_name.genes.results'.
    (Default: off)

That way it makes it much easier to find the expression value in the output files for the gene or isoform of interest.
-Nathan

This can be considered for future changes to the ENCODE pipeline.
Nevertheless, despite immediate appearances, the gene id's are in the RSEM quantification files.  The reason they are not seen at first glance is the strict sort order that these files are in with tRNAs (numeric ids) at the beginning and spike-ins at the end.  Look beyond the 650 or so tRNAs and you will see familiar gene ids.
All the ENCODE RSEM gene quantification files contain the full set of annotated Gencode genes, tRNAs and ERCC spike-ins, for a given assembly/Gencode release, regardless of whether the quantification for individual elements is zero or not.  So all gene quantification files for all GRCh38 V24 should have exactly 61472 lines, for example.  The files from any 2 experiments can be directly and simply compared by maintaining the sort order.


pull request for e2e test at 11/24/2016 23:26:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DOCS README update re: silverstripe-linkfield

@muskie9 took at shot at updating the "upgrading from version 2" - more to come essentially


package own pentest shell integrations

[ ] proxyconf.sh
[ ] impacket-ccache-helper.py

ZSH Plugin for proxyconf.sh is here


Update project

Hi. Please update the project so that componentWillMount and  componentWillReceiveProps which are deprecated and they produce warnings in the project will be fixed. thanks a lot for this great package.

using [react-native-3dcube-navigation-typescript  resolved issues for me


Get intermediate_steps with SQLDatabase Agent

When using the SQL Chain I can return the intermediate steps so that I can output the Query. For the SQL Agent this seems not to be an option without modifying the tool itself. How can I see the actual queries used (not only in the verbose, but save it in a variable e.g.)?
Alternatively is there a way to save the verbose output in a dict?

Also curious about this?

Instead of using create_sql_agent, you can initialize the sql agent with initialize_agent and use the argument return_intermediate_steps=true to get the intermediate steps.

So, I'm attempting to do this so I can dry_run BQ queries before doing full send.
I was able to get just the SQL query used by:
sqlchain = SQLDatabaseSequentialChain.from_llm(llm, db, verbose=True, return_intermediate_steps=True, callbacks=None, tags=None)

results = sqlchain("How many distinct tag values do we have for deviceid actors?")

print(results["intermediate_steps"][1])

--
You can display it with or without the print() in a jNB.
essentially "results["intermediate_steps"][1]" is your SQL statement.

Hmm I don't want to use a chain but the agent. I would like to display the thoughts, observations, queries and results separately in a web app. Initializing the agent did not work.

I working on a similar use case @pnd-rdestratis. Unable to get sql as a result

@pnd-rdestratis Did you get any progress on this? I'm facing the same issue

@pnd-rdestratis @AlejandroGil @vinayemmadi I also would like to know, have you found any solution to your problem?

same issue, did anyone find a workaround?

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

One quick fix can be prompt the LLM to attach SQL query to the response and apply some post processing

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

I ran successfully, thank you so much.

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

hi
How can I stop execution of agent.call() right after query is generated?
thanks

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

This helped, Thank you :)

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

I don't understand what I should do.
I have my agent:
agent_executor = create_sql_agent(     llm=vertex_llm,     db=db,     verbose=True,     top_k=1000,     handle_parsing_errors=True, )
Then, I am executing call instead of the invoke function as I was doing.
test = agent_executor.__call__(prompt_4)
How do I recover the SQL query now?

Using create_sql_agent(), specify agent_executor_kwargs like so: agent_executor_kwargs={"return_intermediate_steps": True}.
This works because in this file, it's apparent that AgentExecutor.from_agent_and_tools() doesn't use kwargs, but rather agent_executor_kwargs.
Then, make sure you don't use .run() when calling the agent, as it currently doesn't support intermediate steps. Use something else like __call__().

I don't understand what I should do.
I have my agent:
agent_executor = create_sql_agent( llm=vertex_llm, db=db, verbose=True, top_k=1000, handle_parsing_errors=True, )
Then, I am executing call instead of the invoke function as I was doing.
test = agent_executor.__call__(prompt_4)
How do I recover the SQL query now?
agent_executor = create_sql_agent( llm=vertex_llm,
agent_executor_kwargs={"return_intermediate_steps": True}.
db=db, verbose=True, top_k=1000, handle_parsing_errors=True, ), it will give all steps and generated query you need to do post processing


[macOS] OpenCV is not found in cmakes even when having run ./vcpkg integrate install and using -DCMAKE_TOOLCHAIN_FILE

Describe the bug
A clear and concise description of what the bug is.
Was able to install opencv3 by running ./vcpkg opencv3
Building package opencv3[core,dnn,flann,jpeg,png,quirc,tiff,webp]:x64-osx... done
Installing package opencv3[core,dnn,flann,jpeg,png,quirc,tiff,webp]:x64-osx...
Installing package opencv3[core,dnn,flann,jpeg,png,quirc,tiff,webp]:x64-osx... done
Elapsed time for package opencv3:x64-osx: 12.06 min

Total elapsed time: 12.12 min

The package opencv3:x64-osx provides CMake targets:

    find_package(OpenCV CONFIG REQUIRED)
    # Note: 13 target(s) were omitted.
    target_link_libraries(main PRIVATE opencv_ml opencv_dnn opencv_core opencv_flann)

Environment

OS: 11.0.1
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
0. ./vcpkg integrate install

./vcpkg install opencv3
Successfully install opencv3
Add find_package(OpenCV CONFIG REQUIRED) to a cmake file
Run cmake with -DCMAKE_TOOLCHAIN_FILE= and get:

of the following names:

  OpenCVConfig.cmake
  opencv-config.cmake

Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.CMake (find_package)

Even adding if(DEFINED ENV{VCPKG_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)   set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"       CACHE STRING "") endif()
Expected behavior
Would expect that OpenCV would be found because have installed using vcpkg and have used integrate install so these packages should be found.
Failure logs
  No "FindOpenCV.cmake" found in CMAKE_MODULE_PATH.

CMake Warning (dev) at CMakeLists.txt:20 (find_package):
  FindOpenCV.cmake must either be part of this project itself, in this case
  adjust CMAKE_MODULE_PATH so that it points to the correct location inside
  its source tree.

  Or it must be installed by a package which has already been found via
  find_package().  In this case make sure that package has indeed been found

Additional context
Not able to build with cmake and find OpenCV even though OpenCV was installed with ./vcpkg install opencv3

cc @cenit

Is $ENV{VCPKG_ROOT} empty? I can't reproduce this issue.
Please pass -DCMAKE_TOOLCHAIN_FILE=PATH_TO_VCPKG/scripts/buildsystems/vcpkg.cmake directly.

@JackBoosY how could I check if $ENV{VCPKG_ROOT} is empty from terminal?
I ran ./vcpkg integrate install , I thought that would set VCPKG_ROOT?

from shell, just do
echo $VCPKG_ROOT

@cenit It seems like running bash bootstrap-vcpkg.sh did not set $VCPKG_ROOT which was the issue.
When I use -DCMAKE_TOOLCHAIN_FILE=PATH_TO_VCPKG/scripts/buildsystems/vcpkg.cmake the library is found.

bootstrap does not set that env variable. Is it written somewhere that it should? in that case it has to be fixed

I guess I thought it was implied @cenit when it said it would "set things up" (was the gist I got but clearly it was more granular. I should not have assumed that paths would be set but that is usually what happens when I install packages so I thought that is what it did).
I am sure it was user error, thank you!


torrent tracker hostnames wont resolve

I've tried a few different config settings. no DOT_PROVIDERS, with DOT_PROVIDERS, with and without CUONTRY and CITY, when mullvad does connect, none of my trackers on bit torrent are able to resolve.
VPNSP=mullvad
COUNTRY=USA
DOT_PROVIDERS=google,cloudflare

As a first step, assuming your container is called pia, can you try
docker exec -it pia nslookup <yourtrackerhostname>

And post back the error message? Thanks!
You can also raise the DNS verbosity using the env variables (i.e. DOT_VERBOSITY=2 and DOT_VERBOSITY_DETAILS=1 ) but that will likely produce a huge log.

Ok, I believe I found the issue.
I only configured ipv4 addresses for upstream DNS over TLS servers (cloudflare, google, etc.). I'm adding their ipv6 addresses right now. It would probably only work for ipv4 only trackers and fail for ipv6 trackers.

I added the DNS over TLS server ipv6 addresses, so it might work now. I also added an environment variable DOT_IPV6 defaulting to on in case you want to try with Unbound not resolving using IPV6 (if it still does not work). I will close the issue for now, but feel free to comment and re-open the issue if it doesn't work.


Is there any way to get watch time duaration of user like youtube ?

i think it provided by default if not u can use customUICOntroller and add it.

@ingenious-pk some clarification might be required if I misunderstood your question.
If you mean the current time the user is while watching, there is a listener class called YoutubePlayerListener which you can add to

the YouTubePlayer after retrieving an instance via YouTubePlayerView.getYouTubePlayerWhenReady()
the YouTubePlayerView via the addYouTubePlayerListener() method

This listener class has a method called onCurrentSecond  which is triggered on every second that passes.
If you mean with "watch time duration of user like youtube" the time the user stopped watching the youtube video from another session, then no. Because this requires a user account to be signed in, which is not supported by the library.
Let us know if this answers your question. :)


Add command "Close without saving"

I'd like a command like workbench.action.closeActiveEditorWithoutSaving that will abandon any changes to the open editor and close it.
It is possible to do this now by invoking workbench.action.closeActiveEditor and then interacting with the OS-level save dialogue. However, as evidenced by several issues in this repository, many people do not know how to interact with that dialogue using only keys. I suspect they would like to be able to create custom keybindings for it.
More importantly for me, I use a voice control system (Talon) to deal with RSI issues, and I would like to create a command to do this. With the current setup, I need to add in a sleep to give time for the OS dialogue to come up and then simulate a keypress, which is inherently fragile. I would rather be able to describe precisely my intent. This is, for me, an accessibility feature request.
Thank you.

The command exists: workbench.action.revertAndCloseActiveEditor


The 'indentation' rule tests are failing on Node 11

When running tests over in #126 the latest version of node (currently 11) has broken indentation rules. I've confirmed this breaks on master too:
Indentation rule
    1) doesn't raise errors when the default conifguration is used and there are no indentation violations (spaces)
    2) doesn't raise errors when the default conifguration is used are and there no indentation violations (tabs)
    3) detects errors for features, backgrounds, scenarios, scenario outlines and steps (spaces)
    4) detects errors for features, backgrounds, scenarios, scenario outlines and steps (tabs)
    5) detects errors for features, backgrounds, scenarios, scenario outlines and steps in other languages
    6) defaults the tag indentation settings when they are not set
    7) observe tag indentation settings when they are overriden

Full log: https://travis-ci.org/vsiakka/gherkin-lint/jobs/480107338

This is a known issue, I have opened the #138 issue for the same reason.
I have a pull to solve it and to add some new rules.
If it's a problem for you, it's solved in my fork.

Fixed with #161


pascal triangle in c along with output

@bvsslgayathri-8679 Didn't meet the criteria...hence marked as invalid...If you want to PR again, make sure to do all the steps and tasks in one commit and send PR. Thank you.


fix: level is_geq is missing a case

For the standard model of levels as natural numbers, it is true that u <= imax u v:
import Std.Data.Nat.Init.Lemmas

def imax : Nat → Nat → Nat
  | _a, 0 => 0
  | a, b => max a b

example {u v w} (h : v ≥ w) : imax u v ≥ w := by
  apply Nat.le_trans h
  cases v with
  | zero => apply Nat.le_refl
  | succ v => apply Nat.le_max_right

As such, the current condition for imax u v ≥ w is overly pessimistic, since it lacks the u ≥ w case. Here's an example which is affected by this case:
inductive Foo.{u, v} : Sort ((imax u v)+1)
  | x : Sort u → Foo

invalid universe level in constructor 'Lean.Level.Foo.x', parameter has type
  Sort u
at universe level
  u+1
it must be smaller than or equal to the inductive datatype universe level
  (imax u v)+1

Oops, the proof above shows v <= imax u v, not u <= imax u v, and the other one is not true. Sorry for the noise.


Adding Subscribe to the KV Store interface

Coverage decreased (-1.06%) to 88.84% when pulling 2908eab5395a240f294bbb5109173ad40c6a8b5d on martinm-subscribe into 6b455e628db9157a5e90e500a055e2395da437ef on master.

Coverage decreased (-2.9%) to 86.998% when pulling 028b369040f1fdf56b171732ea9800a30537df59 on martinm-subscribe into 6b455e628db9157a5e90e500a055e2395da437ef on master.

LGTM

Coverage decreased (-2.2%) to 87.696% when pulling 17fc6190c1338b226313967a57ba1ae4c6bc0242 on martinm-subscribe into 6b455e628db9157a5e90e500a055e2395da437ef on master.


[Feature]MiddleWare

What you want
Middleware can help us organize the state update better

func logger(store *store.Store) func(func(action.Action) action.Action) func(action.Action) action.Action {
	return func(next func(action.Action) action.Action) func(action.Action) action.Action {
		return func(action action.Action) action.Action {
			fmt.Println("will dispatch", action)
			returnValue := next(action)

			fmt.Println("state after dispatch", store.GetState("counter"))

			return returnValue
		}
	}
}

If follow redux original way, it's like a shit at there you can see.

Complete at commit: 48cd98110315abaa55f1027464e13421a046451b
Release v1.3.0

Workable at v1.3.2


last row num in .xls file is 34 but ISheet.LastRowNum returned 33 (NPO I2.5.1)

Last Row number in .xls file is 34 but sheet.LastRowNum returned
NPO I2.5.1

This is by design. LastRowNum is real physical row number stored in xls file instead of virtual row number shown in the Excel.


Update code-of-conduct.md

Refer to kubernetes/community as authoritative source for code of conduct
ref: kubernetes/community#1527

/approve


BUG - addResources causes settings to be displayed with the name of the settings tabs as the title

I am adding the style settings settings with this bit of code
// compatability with Settings Search Plugin
if ((window as any).SettingsSearch) {
	const settingsSearch: any = (window as any).SettingsSearch;

	settingsSearch.removeTabResources('obsidian-style-settings');

	for (const parsedCSSSetting of this.settingsList) {
		console.log('test');
		settingsSearch.addResources(...parsedCSSSetting.settings.map(x => {
			const settingsSearchResource: SettingsSeachResource = {
				tab: 'obsidian-style-settings',
				name: 'Style Settings',
				text: getTitle(x) ?? "",
				desc: getDescription(x) ?? "",
			}
			// console.log(settingsSearchResource);
			return settingsSearchResource;
		}))
	}
}

Expected
Settings Search uses the text field as the title of the setting, as described in the comment

The name of the setting to add.

Actual
The name of the settings tab is used as the name of the settings.

fixed by 158eb4a1d508107eb157d83837673b64bf5b55e4


latest commits broke the compilation process

the usual steps and following wiki instructions,
git clone https://github.com/SpiderLabs/ModSecurity.git && cd ModSecurity && ./build.sh && git submodule init && git submodule update && ./configure && make && sudo make install
in the past few days and till yesterday night it worked just fine with no issues.
Just today after doing some tests on a newly created server running Ubuntu 18.04.3
after cloning the repo and reaching make it simply stops and shows the error below
Logs and dumps
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -std=c++11 -I.. -g -I../others -fPIC -O3 -I../headers -DWITH_GEOIP -I/usr/include/    -DWITH_YAJL -I/usr/include/yajl  -I/usr/local/include -DPCRE_HAVE_JIT  -DWITH_MAXMIND -I/usr/include/x86_64-linux-gnu  -I/usr/include/libxml2 -DWITH_LIBXML2   -g -O2 -MT parser/libmodsecurity_la-seclang-parser.lo -MD -MP -MF parser/.deps/libmodsecurity_la-seclang-parser.Tpo -c -o parser/libmodsecurity_la-seclang-parser.lo `test -f 'parser/seclang-parser.cc' || echo './'`parser/seclang-parser.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -std=c++11 -I.. -g -I../others -fPIC -O3 -I../headers -DWITH_GEOIP -I/usr/include/ -DWITH_YAJL -I/usr/include/yajl -I/usr/local/include -DPCRE_HAVE_JIT -DWITH_MAXMIND -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DWITH_LIBXML2 -g -O2 -MT parser/libmodsecurity_la-seclang-parser.lo -MD -MP -MF parser/.deps/libmodsecurity_la-seclang-parser.Tpo -c parser/seclang-parser.cc  -fPIC -DPIC -o parser/.libs/libmodsecurity_la-seclang-parser.o
In file included from ../src/rule_script.h:21:0,
                 from seclang-parser.yy:20,
                 from parser/seclang-parser.cc:40:
../headers/modsecurity/rules_set.h: In constructor ‘modsecurity::RulesSet::RulesSet()’:
../headers/modsecurity/rules_set.h:51:9: error: expected identifier before ‘,’ token
         ,m_secmarker_skipped(0)
         ^
Makefile:1851: recipe for target 'parser/libmodsecurity_la-seclang-parser.lo' failed
make[3]: *** [parser/libmodsecurity_la-seclang-parser.lo] Error 1

Expected behavior
Compile with no issues

Confirmed by going back to the last commit on the 4th of Feb: Commit
git reset --hard f7e4c1d9f5c96429334a28561fd2dd8cc4b53d30

I tried to compile and it went through with no issues.

This commit broke the compilation: Commit
the older commits work just fine.
Hope this helps

Well spoted @M034B5,
Working on the fix

fix is on the build bots.

worked like charm thanks @zimmerle !


use the str library or something similar to standardize stripping/formatting instead of trying to catch this

use the str library or something similar to standardize stripping/formatting instead of trying to catch this
Originally posted by @mathematicalmichael in https://github.com/mathematicalmichael/cafelytics/pull/39#discussion_r473558116

not handling user errors. if string representing a species is mis-typed (no direct match in existing config registry), then throw an error and make them fix it. front-end would handle creating species -> associated config + associated harvest event.


Add curated mass action jump test

The new test currently fails, does it pass locally for you @TorkelE ?

No, it failed locally. I added a comment of why, but actually forgot to comment out the test itself. There is something weird where expressions that are identical (2*comaprtment and comaprtment / (1//2)) evaluates to not identical. It is super weird, and if I just write them out normally they are fine, and if I multiply them by 2 to remove a bit they are fine. Something weird Symbolics that is waaay beyond the scope of what is going on here.
The jump simulations are identical so we should be fine.

As the jump simulations add up it should be fine, will re-run the tests and if it passes I will merge.


error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

I get:
dmd@atto …/qbr on  master via 🐍 v3.9.6 (env) took 14s
✖1 ❯ ./src/qbr.py
Traceback (most recent call last):
  File "/Users/dmd/qbr/./src/qbr.py", line 82, in <module>
    Qbr(args.normalize).run()
  File "/Users/dmd/qbr/./src/qbr.py", line 38, in run
    state = webcam.run()
  File "/Users/dmd/qbr/src/video.py", line 477, in run
    grayFrame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.5.1) /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/pip-req-build-p3unqtkr/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

I tried this on a Macbook Pro (intel) and an iMac (M1). Both have working webcams in the sense of "Zoom works", but I've not previously tried OpenCV with them. I'll see if I can get OpenCV to open the webcam in other contexts.

In any event though I agree that this has something to do with opencv doing something weird on my end, and nothing to do with your package, so this is up to me to debug.


Blank settings page in Safari mobile

— ignore, was drafting on mobile and accidentally submitted —

Fixed after update to iOS 16.5

Fixed after update to iOS 16.5


I want to know the right way to integrate hawk

Hello, I'm newbie at CodeX.
I want to know what is the right way to integrate hawk.
I followed installation guide on the hawk garage and also on the readme several times but it seems none of them are works for me.
Or it just isn't showed up on hawk garage?
I have checked that i can make manual error message by hawk and i see the error log on the browser console as below.

But my garage keep saying that no one catcher connected and showing up the catalog of catchers.

Could you show the Response?

Oh sorry never mind.
It seems that it needs some time to collect error logs to display at garage? Now it shows me my error logs.


realms + realm switch

Hello Adrian, thank you for the PR. I asked @stevesarmiento to make a nice default logo / placeholder for a governance that doesn't define it's own yet.  Example of realms:

DAO over on-chain protocol - MNGO
Governance over stake pool - SOCEAN
On chain hedge fund - SCTF1, Yield Farming
On chain multiverse game
Group of people trading NFTs together

what do you think about the heroicons user group one?

what do you think about the heroicons user group one?

Yes, I was thinking along those lines, like the old SharePoint server logo

Don’t fully agree with this.

There should definitely be a version that is hosted independently and
offers all governances. Similar to Snapshot orgs offering. I see that a lot
of users would use this in the beginning.

Still individual teams should be able to run their own version including
customized UI. Reason here is that most protocols should actually heavily
customize governance and spend development time on it. The realms overview
page really confused Mango users and are immediately caused issues inside
our community, people didn’t feel at home when they saw a new realm popup.
For a general service it needs to be a central element in the navigation
for a whitelabel version it shouldn’t exist.

If customization is not easy, people will fork or rewrite. We can’t prevent
it, but we should aim for extensibility and supporting the communities
features rather then enforcing equality, so the incentives are minimized.
On Thu 30. Sep 2021 at 11:02, Sebastian Bor @.***>
wrote:

@.**** commented on this pull request.
In pages/index.tsx
https://github.com/blockworks-foundation/governance-ui/pull/34#discussion_r719206473
:

@@ -5,7 +5,7 @@ const Index = () => {
const router = useRouter()

useEffect(() => {

router.push('/dao/MNGO')

router.push('/realms')

Yeah, I think they should have access to the full ecosystem. It's very
likely users would participate in many realms and this is why we are
building this one stop shop for them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/blockworks-foundation/governance-ui/pull/34#discussion_r719206473,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDF7A5R4XX33KWAGH2NA3UEQRT3ANCNFSM5EZVQ7QQ
.
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.

Don’t fully agree with this. 1) There should definitely be a version that is hosted independently and offers all governances. Similar to Snapshot orgs offering. I see that a lot of users would use this in the beginning. 2) Still individual teams should be able to run their own version including customized UI. Reason here is that most protocols should actually heavily customize governance and spend development time on it. The realms overview page really confused Mango users and are immediately caused issues inside our community, people didn’t feel at home when they saw a new realm popup. For a general service it needs to be a central element in the navigation for a whitelabel version it shouldn’t exist. If customization is not easy, people will fork or rewrite. We can’t prevent it, but we should aim for extensibility and supporting the communities features rather then enforcing equality, so the incentives are minimized.
…

Yeah, I see were you are coming from with this. So, let's do this:

If there is no env variable then we show the realm header with back navigation to all realms
If the env variable is set then we hide the header and navigation and use the realm logo as the page logo (no Solana logo)

How does it sound?

tried merging your newest change with @saml33 PR https://github.com/blockworks-foundation/governance-ui/pull/37 but couldn't finish it. could you have a look @abrzezinski94 ?
i'll update our deployment target for dao.mango.markets to set the env varibale and spin up a new deployment under a different domain so we can test both.

sad-einstein: MNGO
wizardly-kowalevski-4abe4b: all realms

@mschneider I've added the changes from @saml33 #37 pr


Fix clean path before comparing

Codecov Report

Merging #6 into master will increase coverage by 0.25%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   85.98%   86.23%   +0.25%
==========================================
  Files           3        3
  Lines         107      109       +2
==========================================
+ Hits           92       94       +2
  Misses          9        9
  Partials        6        6

Impacted Files
Coverage Δ

file.go
81.57% <100%> (+1.02%)
:white_check_mark:

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 1994101...c42e071. Read the comment docs.


Jekyll example ENOENT

Run a build command for the jekyll example and got the following error:
 Metalsmith · ENOENT, open '~/metalsmith/examples/jekyll/_layouts/index.html'

It seems to be looking for a index.html file in the _layouts. The only file there is named _post.html

Should be fixed now!


How to customise the individual lablels?

For a simple bar chart like this:
const sampleData =  {
	type: 'bar',
	data: {
		labels: ['1', '2', '3', '4'],
		datasets: [
        //some random data
		]
	},
}

what if i want the label '1' to appear in red while the rest of the labels to stay black. I have checked the documents and it seems that you can only set font for the whole group. Thanks

@TrashPanda that's not currently possible.
Closing as duplicate of #2442


Migrate to TS v3 and Babel v7

:bicyclist: Motivation
The new version is released, including better TS integration.
:card_index: Considerations
TypeScript:

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html
https://blogs.msdn.microsoft.com/typescript/2018/07/30/announcing-typescript-3-0

Babel:

https://babeljs.io/blog/2018/08/27/7.0.0

:clipboard: Steps

[ ] Update versions and reconfigure build scripts.
[ ] Remove stale deps.

TypeScript is updated for the server in 1d4a400d06830576e643c1c5158b07a131453ee7.

Turned out Babel isn't needed (TypeScript is capable to compile both .ts and imported .js files), so all related deps are removed and awesome-typescript-loader is replaced with ts-loader: 441b348be279923331b4eef45d3e29dd06298a37


ENH: Allow future chains to only use certain delivery months.

To support contracts such as PL which should roll from F->J->N->V, add the
ability to pass a predicate function to the ordered contract chain contstrution
which returns True if the contract is allowed in the chain.

Coverage increased (+0.004%) to 87.134% when pulling 9d769cab51822fdbdbd22c695124bf529873f6cf on allow-delivery-subsets into 9ac957f8a13d7fef2c6910dcf5db10aef6a93160 on master.

A graph of continuous PL volume without this patch applied.

This is with this patch applied.

@ehebert Done with a first round of review, mostly had a few questions but overall looks good. Also thanks for the screenshots

Coverage increased (+0.004%) to 87.134% when pulling 117d228fc2ae3e0b71f012807ec04b676921e984 on allow-delivery-subsets into 9ac957f8a13d7fef2c6910dcf5db10aef6a93160 on master.

Coverage decreased (-0.05%) to 87.079% when pulling 117d228fc2ae3e0b71f012807ec04b676921e984 on allow-delivery-subsets into 9ac957f8a13d7fef2c6910dcf5db10aef6a93160 on master.


Hoow can I instantiate THSegmentedPager in UIViewController?

How can I instantiate THSegmentedPager in Timeline.m(inherit from UIViewController) rather than AppDelegate.m?
What I mean is I wanna show THSegmentedPager when user open the Timeline View Controller instead of THSegmentedPager when load when user open the app. Thank you.

I'm not really sure what you're asking about. The example APP is just an example... you could even add a button with a segue and let that point to the THSegmentedPager.
Instantiate it in a UIViewController is kind of a Problem, as the pager itself is a UIViewController
@interface THSegmentedPager : UIViewController<UIPageViewControllerDataSource,UIPageViewControllerDelegate>

so it would be a UIViewController in a UIViewController which makes only sense if you plan to push it on the Navigation stack or inside a ContainerView.

if i want to put in containerview, how can i do that? sorry i'm novice. hope you can help me. thank you. :)

I'll create an example for that (but I don't know if I'll have time today)
Do u use

Storyboard?
Obj-C or Swift?

sorry for late reply, I'm using storyboard and objective c. thank you.


Forbidden: permission denied

I am trying to push to vault and get the following error:
Connected to https://<InternalServer>:8200 as <MyUsername>, v0.7.0
Unexpected error: hvac.exceptions.Forbidden
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/aomi-1.10.3-py2.7.egg/aomi/cli.py", line 467, in main
    action_runner(parser, args)
  File "/usr/local/lib/python2.7/site-packages/aomi-1.10.3-py2.7.egg/aomi/cli.py", line 434, in action_runner
    aomi.seed_action.seed(client.connect(args), args)
  File "/usr/local/lib/python2.7/site-packages/aomi-1.10.3-py2.7.egg/aomi/seed_action.py", line 43, in seed
    .fetch(vault_client) \
  File "/usr/local/lib/python2.7/site-packages/aomi-1.10.3-py2.7.egg/aomi/model/context.py", line 356, in fetch
    existing = getattr(vault_client, b_class.list_fun)()
  File "build/bdist.linux-x86_64/egg/hvac/v1/__init__.py", line 341, in list_audit_backends
    return self._get('/v1/sys/audit').json()
  File "build/bdist.linux-x86_64/egg/hvac/v1/__init__.py", line 944, in _get
    return self.__request('get', url, **kwargs)
  File "build/bdist.linux-x86_64/egg/hvac/v1/__init__.py", line 986, in __request
    self.__raise_error(response.status_code, text, errors=errors)
  File "build/bdist.linux-x86_64/egg/hvac/v1/__init__.py", line 996, in __raise_error
    raise exceptions.Forbidden(message, errors=errors)
Forbidden: permission denied

This is a side effect of recent changes to handle tunable mount points... Will take a look and see how we can handle this more gracefully.


findOverlaps

findOverlaps() is undergoing some changes as part of a deprecate-defunct pattern in GenomicRanges. See https://github.com/Bioconductor-mirror/GenomicRanges/commit/1d92e78d85bb5ec859585c7b6ba14e65c71929b3 for example. I need to make the corresponding changes to GenomicTuples.

Several dealt with by bf3103c3a739ffb4d38d49a2fc4dc0e20ac79320, be4bd3b4c8982e1bcecb7472ac33f6b21f79e004, and c8a83534127672a737e5582194dd196c54ebf38a.

New findOverlaps,GTuples,GTuples-method when type = "equal" gives 10-100x speedup by using data.table in 1d6b88c00d04b5997c52e4bbc7b6679615558c8e


Remove HostConfig,SetHostConfig from daemon.container

Never actually used outside of daemon package
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

Kind of surprised no one calls HostConfig(), but if not and janky is happy then LGTM

LGTM

LGTM.


HiveError: Adapter not registered?

Hi everyone,
This is a bug noticed by @teolemon when he opens the app:

Fatal Error: HiveError: Cannot read, unknown typeld: 33. Did you forget to register an adapter?
I don't know where the error is exactly and there is no issue on Sentry.

I'm having this issue with the app installed from the Play Store.

@rodrigost23 I've just downloaded the app from scratch from the Google Play Store and didn't experience this HiveError. Can you please be more verbose about "your" error? (store, os, when in the app run, new install or upgrade...)

It happens when opening the app. I have tried force-closing it and opening again and it just shows this white screen with the message.
I'm on Android 13 (OneUI 5.1.1), app version 4.11.0 installed from the Play Store.
It used to work before, but it's been a while since I haven't used the app, so I don't know if this error was caused by an update.

I have the same and as far as I know Stefan and another person on Slack aswell. Deleting the storage of the app should fix it. But that's not something we should rely on

I have the same issue. On Android 11 OneUI 3.1 App Version 4.11

I've had a look at our code around hive, and the only recent change (2 weeks ago) I noticed was that a hive box was removed (in the "old TODOs" PR).
We don't use this hive box anymore - the dart file was even removed - but perhaps in some conditions it's not a good thing not to init existing boxes, even if not used anymore. I was not able to reproduce the error on my emulator though.
And perhaps that PR isn't even part of the latest release.

I have the exactly same error on a Galaxy S7 (SM-G930F) running Android 8.0.0. This started today and the app was auto upgraded to 4.11.0 yesterday.
Based on the comments in this bug I first tried deleting the app's cache but it still crashed on startup. So I deleted the app's data and now it works again.

Quick question, is everyone who had the problem in the beta channel

Yes,it's an internal only issue

Quick question, is everyone who had the problem in the beta channel

No. I am a regular end user who downloaded it from the play store

😱 @denseishin Can you confirm your build number by going to Settings >> FAQ >> About this App ?

😱 @denseishin Can you confirm your build number by going to Settings >> FAQ >> About this App ?

I can't access in-app any menu like rodrigost23

Just read through this long issue of people having a problem setting hive up, but found this comment https://github.com/isar/hive/issues/269#issuecomment-710647606
Maybe it's not as simple as removing a Box but calling mymodel.deleteFromDisk() first

@denseishin sorry, my brain wasn't working. Can you access it from Android Settings, Apps, OFF, or by longpressing the Open Food Facts icon ?

@teolemon I can't see a build number,  only a version number (4.11.0)

"good" news: if I get the 4.11.0 apk from https://github.com/openfoodfacts/smooth-app/releases, I can reproduce the crash (it even crashes my emulator). The first time it's when I get my first product (somehow first time a product is inserted in the database / the first time a product is inserted in history). Then it's just after the splash screen + onboarding.
I recommend an emergency 4.12.0 release today, given that I've never experienced that on regular dev.

@M123-dev:

Quick question, is everyone who had the problem in the beta channel

I'm not. I downloaded the app from the Play Store. And as I said, I'm on 4.11.0
@teolemon

Yes,it's an internal only issue

Well, it's happening in 4.11.0 from Play Store.

I don't understand how 4.11.0 can be crashing (It's old 4.11.0 (2023-10-26), and I believe I used it without any hiccups.)
@monsieurtanuki Does the current version fix it without requiring data wipe ? I had to wipe my data.
I'm prepping the release as we speak.

I have a new build uploaded to internal, ready to promote to main.
I'm going to quickly reproduce the issue, to check it's an invisible fix.

@teolemon feel free to ping me in slack when it's in internal. I didn't clean my storage to be able to test this (been using the F-Droid variant as alternative)

Does the current version fix it without requiring data wipe ?

@teolemon Could not test because I needed the same "level" of app (e.g. release vs debug) and I didn't manage to create a release apk for some gradle BS reason (flutter build apk -t lib/entrypoints/android/main_google_play.dart).
Is there a link to your apk?

https://play.google.com/apps/test/org.openfoodfacts.scanner/1249

under playstore review

Does the current version fix it without requiring data wipe ?

@teolemon Could not test because I needed the same "level" of app (e.g. release vs debug) and I didn't manage to create a release apk for some gradle BS reason (flutter build apk -t lib/entrypoints/android/main_google_play.dart). Is there a link to your apk?

I don't have access to my computer right now, but you can use the profile mode.
It's similar to release, but provides some logs.
flutter run --profile …

Cannot find @teolemon's 4.12.0 release, and cannot run flutter --release because of the same gradle BS.
Had no problem with my device. My goal now is to be able to build or run as --release for my emulator.
Currently upgrading my Android Studio version, with a Giraffe I'll have a better view. Haha.

My version of Android hides build number 🤯
I can't get the update yet which is supposedly available, and it still crashes.
Need to be AFK for some time, taking my laptop with me.

I'm working under the assumption that I have the latest build, and that it is not fixed @g123k @monsieurtanuki @M123-dev

@teolemon If so I would stop now the upgrade to the current latest version 4.11 on Google Play.
Meanwhile I'll have a look at each PR of 4.11, possibly today. hive itself hasn't changed in the last 16 months. Our code related to hive hasn't changed much either.
Perhaps some dependency?

I'm doing damage control by email and in play store comments, but no way to rollback.

I'm doing damage control by email and in play store comments, but no way to rollback.@g123k @monsieurtanuki shouldn't we try to rollback ?

I'm trying to check if 4.9.1 is safe.

I have a clue on the issue: an Adapter is missing in the code.
We have _BarcodeListAdapter with id = 0 and _ProductAdapter with id = 2.
Internally Hive adds 32 to all ids, meaning 32 and 34 in our case.
So the question is: where is 33?

Got it!
In August, _ProductAdapter had the id 1!

We have to find why it changed to 2

This is the faulty PR: https://github.com/openfoodfacts/smooth-app/pull/4758
Any idea why you removed this file @monsieurtanuki?
I think a revert on this PR will be enough

Any idea why you removed this file @monsieurtanuki?

We don't use it anymore. And it's not part of 4.11 anyway AFAIK.

 So much easier for debugging.
@g123k That said, I can just add a useless dao hive. Working on it.

The update fixes it in internal. Going to promote to stable. @monsieurtanuki @g123k @M123-dev

Please wait for some confirmations that the change is correct first

Works for me 👍🏻

I was trying to reproduce the crash first but I can't anymore.
Can't be helpful regarding tests.

The allegedly faulty PR is 2 weeks old:

The 4.11.0 release is 3 weeks old:

WTF?

I did refresh on the playstore without changing the version name. I was under the wrong impression that I had tested the build in internal. My Bad.
That said, I was much more at ease when we had regular internal releases. I keep forgetting to refresh manually internal, which is essential to spot issues early (and not just rely on ½ people)

without changing the version name

I would not recommend that. That makes understanding the behavior of the app very difficult, especially if you're the only one that knows what you did.

I was under the wrong impression that I had tested the build in internal. My Bad.

I suggest a new unit test, with data inserted to the product and product list table.
Besides - if technically possible - we would be better off with tests of an app installed from scratch and of an app upgraded.

That said, I was much more at ease when we had regular internal releases. I keep forgetting to refresh manually internal, which is essential to spot issues early (and not just rely on ½ people)

Regular releases make sense.

We have the confirmation that the fix is OK on Slack.
For the release process, please open a dedicated issue/discussion (but there were already some guidelines 🙄).


Update WAR-Overlay-Installation.md explodeWar renamed to unzip

explodeWar task renamed to unzip

 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.


feat: add rewrite:RespHeaders and modify the upstream response ers via request implementation

This submission is modified as follows:
1.Add respHdr and RespHeader method to Request struct.
2.The Request FetchChanges method is modified.
3.Add and modify some test cases
This is refer to https://github.com/apache/apisix-go-plugin-runner/issues/67

Sorry for my delay. Could you make the CI pass?

OK

Need to resolve conflicts

Codecov Report

Merging #68 (a3dad93) into master (ade2e90) will decrease coverage by 1.14%.
The diff coverage is 96.00%.

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   80.60%   79.46%   -1.15%
==========================================
  Files          11       11
  Lines         722      745      +23
==========================================
+ Hits          582      592      +10
- Misses        102      114      +12
- Partials       38       39       +1

Impacted Files
Coverage Δ

internal/http/request.go
93.46% <96.00%> (+0.67%)
:arrow_up:

internal/server/server.go
56.91% <0.00%> (-10.57%)
:arrow_down:

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 ade2e90...a3dad93. Read the comment docs.

Hello,Please run CI again.
@spacewander


make saving data for the execution summary optional

When a worker executes a large number of tasks, this has the same impact as a
memory leak.

I included the unit test as is, as I am unsure why the with_config statement is not working as I expect.  If I set the config by hand immediately prior to self.summary via the following, then the test works as expected.
    self.worker._config.save_summary_data = False

lgtm

Did you drop the ball on this?


Support customized boolean prefixes

Other than is, we should also support a customizable list of them.

Closing as this break Java bean notation and the better option is to rename the variable or getter to work better with the is prefix


Fatal error in API request handler

The API request handler (class-wcmp-rest.php) doesn't handle WP_Errors, which results in fatal errors when the MyParcel server cannot be reached (or when there are other errors during the request)
PHP Fatal error:  Cannot use object of type WP_Error as array in /wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-rest.php on line 139"

Fixed in version 3.1.8 of the MyParcel plugin


Getting started code sample converted to Kotlin & schema specified inline

Issue #, if available:
Description of changes:
Added kotlin sample to README. Specified schema inline in both code snippets to make things easy.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Updated.


[WIP] Packages: Move animation to new structure

Context

Summary
Packages: Move animation to new structure
Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6042

Since there are still many blockers, let‘s keep this ticket on hold until they are resolved.

Once #8087 is merge, many of the blocks here are cleared.
Consider that there are only 3 blocking issues here, I think we can solve them and this one across the line. CC @swissspidy

@googlebot I consent


Team, Governance and Technology

From what I've read about investment decisions and from an analysis of other successful ICO landing pages, I would suggest that users need to easily be able to find information on 1). our team, 2.) our internal Genesis Holon governance mechanism, and 3.) our technology.  Would be useful to links to a summary of these issues on pages - maybe a 1 page pdf, with very high production standard.

+1 for a one pager pdf describing it. I don't want to add to many sections, because I think it's better when it's short and simple (there are already two more sections to be added later on that are more relevant - the download and install Pangea section, and the stats section - see other issues in here.)

Technology section has been added. Governance is in other places like the whitepaper etc. Team will be added later on.


chore: bump version to 0.2.4

What is the current behavior?

Issue URL:
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (e898a78) to head (e2fca12).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #232   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           55        55
=========================================
  Hits            55        55

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


What does get_inst_x do?

In your v3/disentangled training/run.py, line 41, you loaded a file named cqt_avg_std.npy and return the avg and std.
Later, these two variables will be used in line 19, the get_inst_x function of your model.py.
I do not understand what does this function do. Can you explain a little bit?
Also how do you calculate the avg and std in your cqt_avg_std.npy? It would be nice if you can share a sample file. Now it is difficult to image what does this function do.
(To me, it just seems like normalization, but the function name is get_inst_x, it also seems like get instrument from x to me, that's why I would like to clarify.)

Hey sorry for the bad naming and messy code. Yes, it's just a normalization. You can get the avg and std from this code:
https://github.com/biboamy/instrument-disentangle/blob/bdf6e7d36ce36e6abe0249712cc9b853e77e7a36/v2/process.py#L232
Let me know if you have other questions.


Documentation improvement

Review the existing documentation and identify areas (README or script's comments) for improvement.
Any of these are accepted:

Adding usage examples with clear explanations for each script.
Improving the documentation, making sure its clear and easy to follow.

I want to work on this issue so please can you assign me

Sure, you can start working on this...
General issues like these don't need assignment, as you (or anybody else) can always make more improvements as necessary.


Misc BUILD_COURSE.sh improvements

[ ] Make dependencies are wrong (rebuilds when nothing changed -- an issue with rsync)

[ ] Record size of compiled executable in the log files

[x] Record autograding timestamp

With recent commits on the server branch, the autograding timestamp (most recent only) is now recorded & displayed to the student.

With pull request # 368, most of the grading C++ files are now compiled & linked into a library at installation time, which should dramatically improve the build time per homework.