middleware file: wildcards

implement wildcard responses for both DNS and DNSSEC.

positive replies work. Now only nodata responses.

Hi @miekg,
I have a wildcard entry in my zone file, like below:

*.example.org.                           300     IN A       <IP_ADDRESS>

With this config only query for subdomains start with letter from a to s (example: a.example.org, b.example.org, c.example.org, ...) can get correct response (ip: <IP_ADDRESS>).
Query for subdomains start with letter from t, u, v ... y, z (ex: t.example.org, ta.example.org, taa.example.org, ....) resulted in no answer received.
Do you have any idea on how to make wildcard entry work correctly ? Thanks

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/coredns] middleware file..." ]

Hi @miekg,
I have a wildcard entry in my zone file, like below:

*.example.org.                           300     IN A       <IP_ADDRESS>

With this config only query for subdomains start with letter from a to s (example: a.example.org, b.example.org, c.example.org, ...) can get correct response (ip: <IP_ADDRESS>).
Query for subdomains start with letter from t, u, v ... y, z (ex: t.example.org, ta.example.org, taa.example.org, ....) resulted in no answer received.
Do you have any idea on how to make wildcard entry work correctly ? Thanks

WAT?
Are you running CoreDNS from the git version? Can you post your zone + config
(or email me), I'll take a look.
/Miek
--
Miek Gieben

I'm using release v002 (coredns_002_linux_x86_64.tgz).
My config is like below

Corefile
`.:53 {
rewrite ANY HINFO
file records/example.org example.org
proxy . <IP_ADDRESS>:53 <IP_ADDRESS>:53 {
policy least_conn
fail_timeout 30s
max_fails 1
except example.org
spray
}
cache 60 example.org
errors stderr
log stdout
}
`

zone file:
`$ORIGIN .
@       3600    IN      SOA     example.org.    root.example.org.       (
2016102001      ; serial
7200            ; refresh
3600            ; retry
86400           ; expire
3600)           ; minimum

; NS
example.org.                             300     IN      NS    ns1.example.org.
example.org.                             300     IN      NS    ns2.example.org.
; CNAME
; A
*.example.org.                           300     IN A       <IP_ADDRESS>
ns1.example.org.                         300     IN A       <IP_ADDRESS>
ns2.example.org.                         300     IN A       <IP_ADDRESS>
logging.example.org.                     300     IN A       <IP_ADDRESS>
microhub-ns-1.svr.example.org.           60      IN A       <IP_ADDRESS>
microhub-ns-2.svr.example.org.           60      IN A       <IP_ADDRESS>
microhub-kinglanding-1.svr.example.org.  60      IN A       <IP_ADDRESS>
microhub-jenkins-1.svr.example.org.      60      IN A       <IP_ADDRESS>
microhub-sauroneye-1.svr.example.org.    60      IN A       <IP_ADDRESS>
microhub-log-1.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-log-2.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-log-3.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-loadtest-1.svr.example.org.     60      IN A       <IP_ADDRESS>
microhub-cattle-1.svr.example.org.       60      IN A       <IP_ADDRESS>
`

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/coredns] middleware file..." ]

I'm using release v002 (coredns_002_linux_x86_64.tgz).

Ah, cool. I completely reworked the looks algo for 003, so you might want to
compile that and see if that works for you. I'll double check with your config
if I actually fixed all the bugs there.

My config is like below

Corefile
`.:53 {
rewrite ANY HINFO

file records/example.org example.org
proxy . <IP_ADDRESS>:53 <IP_ADDRESS>:53 {
policy least_conn
fail_timeout 30s
max_fails 1
except example.org
spray
}
cache 60 example.org
errors stderr
log stdout
}
`

zone file:
`$ORIGIN .
@       3600    IN      SOA     example.org.    root.example.org.       (
2016102001      ; serial
7200            ; refresh
3600            ; retry
86400           ; expire
3600)           ; minimum

; NS
example.org.                             300     IN      NS    ns1.example.org.
example.org.                             300     IN      NS    ns2.example.org.
; CNAME
; A
*.example.org.                           300     IN A       <IP_ADDRESS>
ns1.example.org.                         300     IN A       <IP_ADDRESS>
ns2.example.org.                         300     IN A       <IP_ADDRESS>
logging.example.org.                     300     IN A       <IP_ADDRESS>
microhub-ns-1.svr.example.org.           60      IN A       <IP_ADDRESS>
microhub-ns-2.svr.example.org.           60      IN A       <IP_ADDRESS>
microhub-kinglanding-1.svr.example.org.  60      IN A       <IP_ADDRESS>
microhub-jenkins-1.svr.example.org.      60      IN A       <IP_ADDRESS>
microhub-sauroneye-1.svr.example.org.    60      IN A       <IP_ADDRESS>
microhub-log-1.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-log-2.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-log-3.svr.example.org.          60      IN A       <IP_ADDRESS>
microhub-loadtest-1.svr.example.org.     60      IN A       <IP_ADDRESS>
microhub-cattle-1.svr.example.org.       60      IN A       <IP_ADDRESS>
`
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/miekg/coredns/issues/62#issuecomment-258832422
/Miek

--
Miek Gieben

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/coredns] middleware file..." ]

I'm using release v002 (coredns_002_linux_x86_64.tgz).

Just checked your config; this works correcly with 003 (not yet released)

Thank you miekg for your quick response. I have been able to compile new binary from master branch and it seem to be working fine now, keep up the great work :+1:


Index shards on S3 are not accessible

If I am not mistaking, the index shards on AWS S3 which you provide are not accessible to the public.

We are in the process of moving the index partitions out of S3, and will make them available through FTP/SFTP in the next couple of days. We'll post the links as soon as we have them. Sorry for the troubles.

No worries, thx for your great work!


Renaming DNS API

As discussed in the SIG meeting, I've renamed MultiClusterServiceDNSRecord to ServiceDNSRecord and MultiClusterIngressDNSRecord to IngressDNSRecord.

cc/ @font @shashidharatd @pmorie

/ok-to-test

/approve
Looks like what we agreed to in the WG today

@sohankunkerkar does all of the code updated manually or you are also using kubebuilder to generate some code?
If you are also using kubebuilder to generate some code, then I suggest that you u se two commits in this PR, one is manually updated code, and another is auto generated code.

@gyliu513 I did not use kubebuilder in this case. The code is updated manually. Also, it's a temporary solution, we still need to figure out a way to rename these APIs using the kubebuilder tool. Correct me If I'm wrong, the final solution here is to rename MultiClusterServiceDNSRecord to ServiceDNS and MultiClusterIngressDNSRecord to IngressDNS.

@sohankunkerkar I think you mean  rename MultiClusterServiceDNSRecord to ServiceDNSRecord and MultiClusterIngressDNSRecord to IngressDNSRecord. ;-)
I recalled that @marun also renamed some APIs in the PR https://github.com/kubernetes-sigs/federation-v2/pull/120 , not sure if those files are auto-generated or updated manually, let us get some comments from @marun for this.

#120 was a pretty fundamental re-cast of the repo - since we introduced the use of kubebuilder in this project, I believe there was a lot of regeneration.
I don't think renaming of APIs is something that kubebuilder has a feature for - it's more focused on optimizing the creation of new APIs.

@sohankunkerkar This PR looks fine and the tests run, but if it were to merge in its current form any subsequent invocations of kubebuilder generate would result in a broken tree due to kubebuilder generating new files for clientsets/listers/informers (i.e. servicednsrecord.go and ingressdnsrecord.go) that duplicate the contents of the files that you changed with your search and replace (i.e. multiclusterdnsrecord.go and multiclusteringressdnsrecord.go).   When modifying generated files, it's necessary to run kubebuilder generate followed by a build to ensure that the manual modifications do not conflict with kubebuilder output.
To fix (from repo root):

kubebuilder generate
find -name 'multicluster*record.go' -exec git rm {} \;
go build ./cmd/controller-manager (to verify fix)

The fact that this kind of error is possible suggests that kubebuilder generate should be invoked in ci to ensure that merging a PR will not result in this problem.

Added a check for kubebuilder generate in #337.  I'd like to see that PR merge and then CI re-run against this PR before merge.

@pmorie I would like to see my https://github.com/kubernetes-sigs/federation-v2/issues/305#issuecomment-431086479 addressed before merging.

I'm closing this pull request and opening it again for triggering Travis CI build.

@sohankunkerkar For future, a simpler way to rekick travis is to invoke git ci --amend and then git push.  Even an amend without changes to the commit text will work.

@danehans

@pmorie I would like to see my #305 (comment) addressed before merging.

I agree we should address the name of the API group, but it's probably better for now to move forward on what we've agreed to so far - renaming the resource - and tackle renaming the API group as a separate task. For now I think renaming the resource to something more concise is movement in the right direction.

/lgtm

#347 has been created to track renaming the DNS API group.


Allow redraw of the diagram

Provide a button to redraw the diagram
Display the settings below the diagram
Size the diagram based on the current size of the Canvas
Allow the number of points to be configured

Hi @canuckotter,
thank you for your great contribution!
I have merged your changes.
Happy coding :)


Fix a bug that sourcepos of custom_block is wrong

Closes https://github.com/increments/qiita_marker/issues/29
What

Fix a bug that sourcepos of custom_block is wrong.

https://github.com/increments/qiita_marker/issues/29

Refactor xml_attr_buff to not hold in qfm_custom_block node.

Changed to a better implementation method. (use cmark_strbuf_detach)

Remove .rubocop_todo.yml.

Temporarily added by https://github.com/increments/qiita_marker/pull/5
It is no longer needed due to merge of upstream.

I thought it would be helpful to describe the cause of the difference in the sourcepos as well.


Removed unused vars

Just a little cleanup. These variables are created but are not referenced in the code.

Thanks!


Major bug in AbstractQueryGenerator

Method generateBetween() of AbstractQueryGenerator class gives the same parameters names ("start", "end") for every Criteria of type BETWEEN in the query. Their names aren't unique, so when trying to execute query you get:
com.azure.data.cosmos.CosmosClientException: Gateway Failed to Retrieve Query Plan: Message: {"Errors":["Invalid query. Specified duplicate parameter name<EMAIL_ADDRESS>You cannot perform more complex queries which includes more than one Criteria of type BEETWEEN. You can easily fix by concatenating value of criteria.getSubject() with "start" nad "end".
After that parameters for query will be unique.
Effect should look like this:
private String generateBetween(@NonNull Criteria criteria, @NonNull List<Pair<String, Object>> parameters) {
       final String subject = criteria.getSubject();
       final Object value1 = toCosmosDbValue(criteria.getSubjectValues().get(0));
       final Object value2 = toCosmosDbValue(criteria.getSubjectValues().get(1));
       final String subject1 = subject + "start"; // names of parameters should be unique
       final String subject2 = subject + "end"; //
       final String parameter1 = generateQueryParameter(subject1);
       final String parameter2 = generateQueryParameter(subject2);
       final String keyword = criteria.getType().getSqlKeyword();

       parameters.add(Pair.with(parameter1, value1));
       parameters.add(Pair.with(parameter2, value2));

       return String.format("(r.%s %s @%s AND @%s)", subject, keyword, parameter1, parameter2);
   }

@mkarczewski85 - thanks for reporting this issue. We highly appreciate these fixes by developers like you from open source community. Would you care to create a PR for this fix ?
Currently master branch points to v2.3.x release train. If you are using v2.2.x or v2.1.x versions, please checkout from branch which represents these versions.

@kushagraThapar thank you for replying. I've just created PR.


Correction for raw affiliation Medical Oncology, Macerata Hospital, Macerata, Italy

Correction needed for raw affiliation Medical Oncology, Macerata Hospital, Macerata, Italy
raw_affiliation_name: Medical Oncology, Macerata Hospital, Macerata, Italy
new_rors: 019jb9m51
previous_rors: 0001fmy77
works_examples: W4387826863
contact: f254504f3b49c39b3a3bb385eb8cb4e3:c089ce7c0b49b284554476c34eb32fbb @ sirisacademic.com

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Not working with windows 10

I have installed the Windows version branch. When I try to run the app I don't see any app is opening. My command prompt has the following and doesn't move further.

Maybe firewall is blocking.
AJ Kumar
(Founder & CEO)
Mobile : +91<PHONE_NUMBER>
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>: www.techsoul.in
http://www.techsoul.in/
On Mon, Aug 10, 2020 at 8:48 PM Jothikannan<EMAIL_ADDRESS>wrote:

I have installed the Windows version branch. When I try to run the app I
don't see any app is opening. My command prompt has the following and
doesn't move further.
[image: image]
https://user-images.githubusercontent.com/4100047/89799035-9b6e9580-db4a-11ea-9699-57010940e2d9.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/22, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGP4QIASR7PSMJ3KW665IJDSAAFTVANCNFSM4P2CDNQA
.

Same Issue here

Maybe firewall is blocking. AJ Kumar (Founder & CEO) Mobile : +91<PHONE_NUMBER> Email<EMAIL_ADDRESS><EMAIL_ADDRESS>: www.techsoul.in http://www.techsoul.in/
…
On Mon, Aug 10, 2020 at 8:48 PM Jothikannan @.***> wrote: I have installed the Windows version branch. When I try to run the app I don't see any app is opening. My command prompt has the following and doesn't move further. [image: image] https://user-images.githubusercontent.com/4100047/89799035-9b6e9580-db4a-11ea-9699-57010940e2d9.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#22>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGP4QIASR7PSMJ3KW665IJDSAAFTVANCNFSM4P2CDNQA .

how to fix that sir

Please run as administrator.
UAC turn off
And see if that not blocked by any of your antivirus software.

On Wed, Aug 19, 2020, 6:19 PM mduzairmduzair<EMAIL_ADDRESS>wrote:

Maybe firewall is blocking. AJ Kumar (Founder & CEO) Mobile : +91
9862542983 Email<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>: www.techsoul.in
http://www.techsoul.in http://www.techsoul.in/ http://www.techsoul.in/
… <#m_-7316885134084853607_>
On Mon, Aug 10, 2020 at 8:48 PM Jothikannan @.***> wrote: I have
installed the Windows version branch. When I try to run the app I don't see
any app is opening. My command prompt has the following and doesn't move
further. [image: image]
https://user-images.githubusercontent.com/4100047/89799035-9b6e9580-db4a-11ea-9699-57010940e2d9.png
— You are receiving this because you are subscribed to this thread. Reply
to this email directly, view it on GitHub <#22
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/22>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGP4QIASR7PSMJ3KW665IJDSAAFTVANCNFSM4P2CDNQA
.
how to fix that sir
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/22#issuecomment-676299129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGP4QIG3I7PAHSRCAJORFO3SBPC4NANCNFSM4P2CDNQA
.

This obviously has nothing to do with the firewall. Also actually just one day ago I worked on a normal non-php electron project which worked perfectly.
When I uncommented this line it worked:

In general:
git clone https://github.com/AJ-TechSoul/ELECTRON-4-PHP
cd ELECTRON-4-PHP
git checkout Electron-4-PHP-Windows
npm install
-> uncomment the line above in main.js
npm start

Thanks @tricoos  I have fixed it. Actually there were two in main.js and by mistakenly i have commented both. Thanks for correcting.


No longer works following release of compat_resource 12.5.26

NoMethodError:
undefined method `action' for #Class:0x00000003339840 action provider
Not sure whether this lies with this cookbook or compat_resource, but I've had to lock down the version of compat_resource to get my build pipeline back in order.  Appears there has been some work in this area relating to action in the compat_resource cookbook.

That's an issue with compat_resource.  I imagine it's resolved with the latest release, but if not please file the bug there.


Improve SimpleExpression.in(...) signature

Fixes #1803

@timowest doesn't this fix #1800?
Or which fix was this for?

It's not directly related to it, more like https://groups.google.com/forum/#!topic/querydsl/IKmKOA0LA1I
But might also enable #1800

Looks fine to me.


(docs)fix typos in man pages

fixed som typos found in the man8 pages.

Can one of the admins verify this patch?

Thanks @ReDTerraN for your contribution! The man pages are generated from the source code, so unfortunately you'll need to make these changes in lib/puppet/application/{device,filebucket,ssl}.rb

Also please update the git commit summary to start with (docs) in addition to the github pull request summary.

CLA signed by all contributors.

Thanks Josh, I will make a new pull request. Cheers


Windows cannot install package because it must be installed with an external location

I managed to sign the package myself but I got this weird error and it doesn't even make sense cuz the dll file is included in the appx file.

I even tried it with -AllowUnsigned arg, but still the same error.

This is a spare package meaning that it will need a parent program install location and a manifest to be present in that location. Then you'll need to refer the install location of the parent application (VS Code in our case) and register the sparse package with that location (e.g.: %ProgramFiles%\Microsoft VS Code\).

Sparse Package samples

Yup as mentioned above package should be installed alongside the VSCode installed directory since resources in the manifest refer to it.

so I have to copy everything to %ProgramFiles%\Microsoft VS Code?


Does this library support obfuscation in production builds? dart-json-mapper does not

--obfuscate is an option on the dart compiler to protect your source code in production builds from decompilation.
I found myself in the position of having used dart-json-mapper extensively, then discovering the app crashes only in production due to obfuscation and there is no way to use both.
https://github.com/k-paxian/dart-json-mapper/blob/master/mapper/README.md#known-limitations
Does this library support obfuscation?

I haven't tried it yet.


Fix deprecation warning

Mar 29 20:16:53 localhost puppet-master[14468]: Variable access via 'puppet_vardir' is deprecated.


This registry can't create new holders without value

Reported by WilliamWythers. 1.18.1 -> 1.18.2. The working upgraded version does not validate in 1.18.2.
1.18.1 download

Failed to validate datapack
java.util.concurrent.CompletionException: java.lang.IllegalStateException: This registry can't create new holders without value

Hey, was a fix found for this, or even a general idea on what to check for? I'm now getting this error when trying to downgrade a pack from 1.19 to 1.18.2.
From looking at half-a-year old messages, Apollo mentioned it worked when switching between Fabric/Vanilla, Cyanide/no Cyanide, and it randomly started working again. I've tried messing with that, but no luck.
And I also found the messages from the original issue in MC Configs discord, but I didn't see it ever get resolved.

No it was never resolved. I don't even know what area the problem could be in.

After further testing, I discovered that the error ocurred when there was sculk block reference in the 1.18.2 worldgen - specifically, one of the placed features. After replacing it with blackstone, that error went away.

It seems unlike that was the root cause of this issue. In the attached pack above there is no mention of sculk blocks anywhere. Could you maybe provide both broken and working versions of your 1.18.2 pack?

The file where sculk was referenced was data/nullscape/worldgen/placed_feature/infested/tendril.json. I am attaching 3 datapacks.

The first datapack with_sculk.zip is at the beginning of my backport, and has sculk references in there. This is where I got the "this registry cannot create new holders" error.
The second datapack without_sculk.zip is after I replaced all sculk with blackstone. It no longer has that registry holder error, but still has other unrelated worldgen errors, since I hadn't finished backporting the other worldgen stuff.
The third datapack without_sculk_no_errors.zip is after I finished backporting everything, so it loads correctly with no errors.

I haven't gone back and tested the first datapack after I finished backporting everything, so I'm curious if it happens again.


install script improvements

No
On Fri, 8 Nov 2024 at 4:10 AM, João Pereira @.***>
wrote:

@.**** requested changes on this pull request.
The install script is generated from
https://github.com/carvel-dev/release-scripts/blob/main/scripts/install_sh/install.sh.txt
do you mind moving this PR to that repository?
—
Reply to this email directly, view it on GitHub
https://github.com/carvel-dev/carvel/pull/785#pullrequestreview-2422303751,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKLIOP7TFDDL72NTRNNAB7LZ7PT5PAVCNFSM6AAAAABP5B3WA6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMRSGMYDGNZVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


PALSolaris AlignedAllocation feature implementation attempt.

it s kind of correct however needs further work as some test start to fail. will go back at it soon-ish.


Thread.detachNewThread available on iOS 10.0 and later.

Allows integrating vapor/core to iOS through SPM and Xcode 11 beta 1.

Hey @3a4oT, you just merged a pull request, have a coin!
You now have 2 coins.


mongoose adapter support Propagation.NotSupported mode

Supports Propagation.NotSupported mode by setting the {session: null} option

I assume you're referring to this section of the docs about using the mongoose adapter with their built-in AsyncLocalStorage support.
But I have no idea what you're trying to say. Is that a question or a feature request?

Hey @GO-DIE, could you clarify what you meant by the issue? Otherwise I'm going to close it as invalid for a lack of info.

Closing for lack of clarification


Risk R009: Receive alert when GitHub detects a secret has been push to a repo

User Need
As an Operations Engineer
I want to be more aware of when secrets are exposed in the GitHub organisations
so that we can monitor the frequency of this and provide appropriate help and guidance
Value
Alerting us when GitHub detects an exposed secret makes Operations Engineering more aware of this issue. At this stage we want to be able to know the frequency of this issue occurring.
Functional Requirements:

[ ] Alert sent to #operations-engineering-alerts when GitHub detects a secret has been pushed to a repository in either ministryofjustice or moj-analytical-services organisation
[ ] Alert contains useful information of where the secret was exposed: org, repo, teams associated, repo admin to contact.
[ ] Decide actions; or just monitor; how far do we get involved
[ ] Check exposed secret is rotated.
[ ] Update guidance to make users aware of monitoring and that they can ask for help with secret rotation
[ ] Is there a way to gauge the severity of a particular secret being exposed? Eg in a Public repo would be worse than in a Private repo.

Acceptance Criteria:

[ ] We have an alert set up to send alerts to #operations-engineering-alerts when GitHub detects a secret has been pushed to a repository in either ministryofjustice or moj-analytical-services organisation
[ ] Runbook updated with the extent of our responsibilities explicitly stated

Notes:
Linked to R009

We should have a discussion with Security about this one. What do they need? Do they need anything?

Need to test that Push Protection provides this feature.

We aren't quite ready to explore this option just yet.


[FEATURE] Deploy minimal WebSocket backend for multiplayer instances

Is your feature request related to a problem? Please describe.
Right now, we don't have anything substantial pulling users back to our site. During user research, the idea that people would use the site once in their lifetime (and then never again) was expressed.
Describe the solution you'd like
We want to provide a multiplayer option for users. This will improve the gamified nature of the app. To do this, we plan to implement a Node.js WebSocket backend deployed on Render.
Describe alternatives you've considered
We also considered just using HTTP polling or long polling, but deemed that would incur unnecessary server strain without substantial benefit. WebRTC seemed it could be promising as it is designed for peer-to-peer connections, but we thought that WebSockets would be simpler to implement (especially when we want to implement metrics and server-side analytics later on). Instead of Node, we considered a Java backend but thought that keeping everything in the JavaScript ecosystem would lead to better developer experience without significant loss of performance. We considered other hosting services like Netlify or Vercel instead of Render. Alternatives also detailed in there ADR.
Additional context
We don't need to provide the entire backend (especially not at this stage). Instead, just deliver a minimal backend demonstrating the feasibility of WebSockets, as a means of de-risking before we put multiple sprints into developing the other facets of the gameplay.

Completed #7


Reexamine installation of blosc2 and tables in ngen Docker image

As noted in this comment in PR #353, the tables package plans to improve how it handles dependencies in versions after 3.8.0.  Once such a version is released, we should review our current solution to problems with tables and blosc2, introduced in #353.  It may be wise to remove this workaround entirely.  Alternatively, we might want to tweak things somehow so that an explicit version of blosc2 doesn't get applied during the build except if one is deliberately configured.

This issue is blocked until an applicable version of tables (> 3.8.0) is released.

Slating this for the last sprint of the year, just to have a time set for looking at it again.  It doesn't necessarily have to wait until then if we notice the release of a new tables.


Use at-withprogress from ProgressLogging.jl

Codecov Report

Merging #64 into master will decrease coverage by 2.33%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   84.18%   81.84%   -2.34%
==========================================
  Files          17       17
  Lines        1100     1074      -26
==========================================
- Hits          926      879      -47
- Misses        174      195      +21

Impacted Files
Coverage Δ

src/Transducers.jl
100% <ø> (ø)
:arrow_up:

src/progress.jl
92.1% <100%> (+3.34%)
:arrow_up:

src/reduce.jl
45.61% <0%> (-51%)
:arrow_down:

src/processes.jl
91.11% <0%> (-0.75%)
:arrow_down:

src/core.jl
68.02% <0%> (-0.4%)
:arrow_down:

src/show.jl
94.87% <0%> (-0.05%)
:arrow_down:

src/dreduce.jl
100% <0%> (ø)
:arrow_up:

src/library.jl
93.22% <0%> (+0.24%)
:arrow_up:

src/comprehensions.jl
90% <0%> (+20.76%)
:arrow_up:

Continue to review full report at Codecov.

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


(css) Wrong highlight :first-of-type :first-child

Describe the issue
Wrong highlight :first-of-type :first-child, "-of-type" "-child" is not highlighted
Which language seems to have the issue?
CSS
Are you using highlight or highlightAuto?
highlightElement
Sample Code to Reproduce
chatGPT

Expected behavior
Correct highlighting :)
Additional context

Please provide textual content of problematic example, not just an image.

For the CSS language, each letter in the pseudo-classes ":first-of-class" and ":first-child" should be colored. Currently, only ":first" is colored, while "-of-class" and "-child" remain the default color.

Yes, I understand, but please provide the RAW text (that you took a snap of) that I can easily copy and paste for testing.

There is the same problem here. "-of-type" and "-child" are not highlighted.

The code is as follows.
:first-child {
padding: 0;
}
:first-of-type {
padding: 0;
}

For use in "either" style regex the word lists need to be reverse-alpha sorted - which has the effect of putting the LONGEST terms first, preventing the shorter words from stealing the match.  So simply reverse()ing the keyword lists  might solve this.  I think there are other examples.

This has not been fixed.
See:

span:first-child {
Additionally, it doesn't recognise:

span::first-child {

is this still open ?

yes appears so


[UNDERTOW-1591][UNDERTOW-2123][UNDERTOW-2206] IAE trying to decode a requestPath (2.2.x)

Issue: https://issues.redhat.com/browse/UNDERTOW-2206
Backport to 2.2.x of PR: https://github.com/undertow-io/undertow/pull/1411
Only changes jakarta -> javax needed.

Thanks @rmartinc !


Fix exec part1 cleanup

cleanups on hyperstart
move exec related configs to struct hyper_exec
kill all exec rather than only container in hyper_term_all()

LGTM


Webpack watch mode removes newly created file

Issue description or question
My webpack config has two entries, client and server,  and client build uses CleanWebpackPlugin. When using webpack in watch mode, it not only deletes the old output files, but also deletes the newly created server.js file. This issue occur for none watch mode.
Interestingly, I added a file watcher using chokidar for dist directory and here is what I found,
for no-watch mode:
unlink dist/client.js
unlink dist/server.js
add dist/client.js
add dist/server.js

for watch mode:
change dist/server.js
unlink dist/server.js
change server.js

Seems like in watch mode CleanWebpackPlugin doesn't really remove old files?
Webpack Config
{[
    {
      mode,
      entry: {
        client: path.join(__dirname, 'src/client/index.js'),
      },
      output: {
        path: path.join(__dirname, 'dist')
	  },
      plugins: [
        new CleanWebpackPlugin(['dist']),
      ],
    },
    {
      mode,
      entry: {
        server: path.join(__dirname, 'src/server/index.js'),
      },
      output: {
		path: path.join(__dirname, 'dist')
      },
      target: 'node',
    },
  ]};

Environment
  System:
    OS: macOS 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 1.19 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.4.0 - ~/.nvm/versions/node/v12.4.0/bin/node
    Yarn: 1.17.3 - ~/.yarn/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v12.4.0/bin/npm
  npmPackages:
    clean-webpack-plugin: 3.0.0 => 3.0.0
    webpack: 4.39.1 => 4.28.4

The issue is happening because you have a shared output.path. I would highly recommend against this because it can cause other unknown issues.
I'd recommend something like this:
[
	{
		mode,
		entry: {
			client: path.join(__dirname, 'src/client/index.js'),
		},
		output: {
			path: path.join(__dirname, 'dist/client/'),
		},
		plugins: [new CleanWebpackPlugin()],
	},
	{
		mode,
		entry: {
			server: path.join(__dirname, 'src/server/index.js'),
		},
		output: {
			path: path.join(__dirname, 'dist/server/'),
		},
		target: 'node',
		plugins: [new CleanWebpackPlugin()], // each instance should clean itself
	},
];

If you insist on keeping them in the same output.path, you can try:
new CleanWebpackPlugin({
	cleanOnceBeforeBuildPatterns: ['**/*', '!server.js']
});

This will only work if you if your server code will not produce more than one bundle file.
See also: https://github.com/johnagan/clean-webpack-plugin/issues/106 #122 https://github.com/johnagan/clean-webpack-plugin/pull/129


pipeline mutator configMap values are lost on update

Expected behavior
kpt pkg update should retain changes in the pipeline mutator configMap
Actual behavior
changes are lost.
Information
kpt version: 1.0.0-beta.1
Steps to reproduce the behavior
kpt pkg get https://github.com/sbellan/kpt-pkgs/helloworld@v2
# Edit helloworld/Kptfile and change the value of tshirt-size
# commit the changes
kpt pkg update helloworld@v3
# The only change in v3 is addition of new param in the pipeline mutator configMap
# You can see that changes to the tshirt-size are lost

This is the expected behavior right now, but we do have plans to improve it. The challenge here is that doing automatic merge of associative lists is difficult, in particular when it involves adding or reordering of items in the list. kpt currently merges the pipeline as a non-associative list where upstream wins if there are any conflicting changes (and since it is being merged as a non-associative list it is merged as one unit). We do have an issue to address this (https://github.com/GoogleContainerTools/kpt/issues/1437). What we want is to be able to do automatic merge when it is obvious what the outcome should be, and ask the user to resolve it manually when there are conflicts.
A possible workaround for your issue until we can fix this, is to move the content of the configMap property into a separate file that can then be referenced from the pipeline using the configPath property.

Cool, that should work us.
Thanks, Morten.


ToManyServerError & no data

Hi there,
Impossible to pull any data :(
Got the "ToManyServerError" log message

Running HA 2022.11.1
Supervisor 2022.10.2
Am I the only one having this issue ?

Hello,
I got some error around 21:15, and it's fine now.

Any news ?
Is it like #22

Hello,
I got some error around 21:15, and it's fine now.

I'll try this evening & I'll let you know

Still the same problem, do I need to add a sensor in my configuration.yaml as mentioned here or is it deprecated ?
Here is a screenshot of the Atome Device

Thanks for help !

Hello,
Please , have you tried to restart HA ?
NB : configuration.yaml is deprecated. Use UI . It's just kept to be backward compatible.
I think it is stuck on login (the server was down, and no retry implemented)

Except if something wrong in routing message within VM, normally no issue due to VM.

Yes I tried several times to restart, reinstall, etc...
It's strange, I get a successful login message and I get my contract number (hidden in red on my previous screenshot) but I can't get any data.
I don't know if this is "normal" but my key disconnects quite often, the led goes from flashing green to white to red, sometimes it reconnects and sometimes it doesn't and I have to do it manually via the app.
I guess it's not a wifi problem since my router is right under the Linky, about 15cm...

Here is a part of the logs :
2022-11-11 11:39:47.770 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration keyatome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-11-11 11:40:07.231 ERROR (MainThread) [custom_components.keyatome.sensor] No login available for atome server
2022-11-11 11:48:35.358 WARNING (SyncWorker_1) [custom_components.keyatome.sensor] Live Data : Missing last value in values: {'isConnected': False, 'time': '2022-11-11T11:48:35+01:00', 'timeLimitBeforePowerFailure': -1}
2022-11-11 11:48:36.514 ERROR (SyncWorker_1) [custom_components.keyatome.sensor] Live Data : Missing last value in values: {'isConnected': False, 'time': '2022-11-11T11:48:36+01:00', 'timeLimitBeforePowerFailure': -1}

Hello,
In the log, you have No login available for atome server. It means that the server is not reachable or you have no credential.
That explains why you have no nothing.
Normally, Andriod/Apple Apps shall be consistant (except if there is a cach algorithm)
I don't know what is your network configuration. At a time, I fall on this "issue", that seems to be yours.
I have a freebox with the "freebox repeteur" : the "freebox repeteur" is at less that 2 meters from linky atome key.
At linky configuration (physical atome key), the wifi was catched on "freebox repeteur" (the atome key led was green).
From time to time, the atome key goes red --> it falls on freebox server wifi (that was less strength but enough strength to be catched) : I was stuck.
I have build another wifi network to force linky atome key to catch the new one.
If you have a freebox, or another wifi network, you can check where the linky atome key is connected.
If you can assess that if the linky atome key goes green led , and then if you restart HA keyatome, then everything goes ok, I will give a look on a evolution.
By the way, if the issue is on physical key atome, have you reset the configuration and re-install it ?

I had exactly the same problem suddenly I uninstalled the integration and now impossible to reconnect. I got an "Unknown error occurred" error message. Small passage from my error log:
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/fake_useragent/utils.py", line 139, in load
browsers_dict[browser_name] = get_browser_user_agents(
File "/usr/local/lib/python3.10/site-packages/fake_useragent/utils.py", line 123, in get_browser_user_agents
raise FakeUserAgentError(
fake_useragent.errors.FakeUserAgentError: No browser user-agent strings found for browser: chrome

I don't know what is your network configuration. At a time, I fall on this "issue", that seems to be yours.

I finally found the reason for the daily disconnection: a wifi power saving setting on my router was causing the connection problem.
After that, I went into the app to check if I could access my data, and I could after giving my credentials to the esoftthings login page that appears in the app. (so that means my credentials exist)
I then restarted the KeyAtome integration, but still the same message: ToManyServerError.
But I noticed something in the HA logs: The Atome_Login_Stat is not my current client number, but my previous one (I moved recently BUT I didn't have the atomic key in my old home). I don't know why since I ordered the key when I arrived in my current home with my new customer number...

Hello,
Forget the VM or wifi, the problem comes from a new captcha in Total Energy  (a new API version ?) :

Hello @joebarteam11 ,

I then restarted the KeyAtome integration, but still the same message: ToManyServerError.
But I noticed something in the HA logs: The Atome_Login_Stat is not my current client number, but my previous one (I moved recently BUT I didn't have the atomic key in my old home). I don't know why since I ordered the key when I arrived in my current home with my new customer number...

If you have kept your user ID, maybe you can look if you have several linky attached. (In login stat, attribute list_user_reference
)
If it is the case, at configuration, choose the linky number (i.e. your new house !)
Hope it will work !

Hello @LudoARN ,
I got also an issue, il will see your suggestion API vX ...

Ok I see what stuck the integration.
If for any reason , the first login is denied then the integration stops asking.
Il will add something.
As a workaround, manually restart HA.
If login failed, in the logs you have :
2022-11-10 16:58:04.926 ERROR (MainThread) [custom_components.keyatome.sensor] No login available for atome server
If login granted, if debug level activated in configuration.yaml, in the logs you have :
2022-11-13 22:34:09.633 DEBUG (MainThread) [custom_components.keyatome.sensor] login user reference is XXXXXXXXX
2022-11-13 22:34:09.634 DEBUG (SyncWorker_2) [custom_components.keyatome.sensor] Login Stat Data : Perform login

Hello Jugla,
It works for 1 hour after a second restart i don't know why.
2022-11-14 21:12:16.723 DEBUG (MainThread) [custom_components.keyatome.sensor] login user reference is XXXX
2022-11-14 21:12:16.725 DEBUG (SyncWorker_7) [custom_components.keyatome.sensor] Login Stat Data : Perform login
2022-11-14 21:12:30.347 DEBUG (SyncWorker_7) [custom_components.keyatome.sensor] Updating Atome Login data. ID: XXXXX, REF: 110624191
2022-11-14 21:12:30.350 DEBUG (MainThread) [custom_components.keyatome.sensor] Finished fetching keyatome data in 8.626 seconds (success: True)
2022-11-14 21:12:30.351 DEBUG (SyncWorker_5) [custom_components.keyatome.sensor] Live Data : Update Usage
2022-11-14 21:12:30.567 DEBUG (SyncWorker_5) [custom_components.keyatome.sensor] Updating Atome live data. Got: 960.000000, isConnected: True, subscribed: 6000
2022-11-14 21:12:30.570 DEBUG (MainThread) [custom_components.keyatome.sensor] Finished fetching keyatome data in 0.219 seconds (success: True)
......

Thanks @LudoARN for your feed back.
I will add something at start.
But it will take sometime as it may break something as useref will be unknown in such case ...

Hi there !
It’s finally working !
I removed & re installed the integration, but specified « 2 » in the third field instead of « 1 » as I did so far.
And I could finally see data rising.

Many thanks for help 😉

Great !

@LudoARN , I will add a feature to restart on last login info if they are unavailable !
So that keyatome integration won't be stuck on 1rst step if sever issue --> we will get a periodic request :-)


usm: http: statskeeper: make incomplete buffer interface

What does this PR do?
This will allow us to implement different versions (between http, http2 and grpc) of incomplete buffer without changing the broader implementation of statskeeper

Motivation
Allowing creating a different incomplete buffer implementation for http2

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Don't override GRPC_POLL_STRATEGY in a test

This probably shouldn't be overridden at test granularity

Interestingly, making this change makes this specific test fail. Any idea why this specific test needs epoll1 ?

Not offhand. @ericgribkoff should know though.

The test requires epoll1 because epoll1 and poll support fork and epollex does not.

Ahh. So, backing up a level, should this strategy be required for all Python targets as opposed to just this specific test?

I don't think so. gRPC's shipped Python packages only include epoll1, but when building from source - as when the CI runs this fork test - Python will default to epollex.

Ok, so in practice this won't affect any Python users. I suggest that this line of the test deserves a comment. You may have noticed we've been killing polling engines recently (epollsig and poll-cv in the past few months) and epoll1 looks like an attractive target otherwise. Is the process of building a package not included in the repo? Because I didn't find a specific place where epoll1 was included but epollex was excluded. Thanks!

I believe this is what you're looking for.

@vjpai Python depends on epoll1 because the manylinux1 specification (which is the only thing we can upload as Linux packages at the moment but might change) specifies an old glibc and it is not feasible to run epollex while conforming to that specification.

manylinux2010 is on the horizon, but not quite ready yet. We're hoping to start distributing wheels for it as soon as it's ready. At which point, we can potentially deprecate manylinux1.


[Bug] Stop-DbaProcess fails to stop processes on a database with in-memory OLTP enabled

Environmental information
PowerShell version:
Name                           Value

PSVersion                      5.1.14409.1005
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1005
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
dbatools Module version:
Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.105\dbatools.psd1
Version : 1.0.105
Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.92\dbatools.psd1
Version : 1.0.92
SQL Server:
Microsoft SQL Server 2016 (SP2-CU12) (KB4536648) - 13.0.5698.0 (X64)   Feb 15 2020 01:47:30   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2012 R2 Standard 6.3  (Build 9600: )
Report
We have an automated process that restores a database everyday. The database has in-memory OLTP enabled. As part of the script I run stop-dbaprocess against this database to ensure there are no active connections. However, i get this error
WARNING: [07:00:20][Stop-DbaProcess] Couldn't kill spid 6. | Only user processes can be killed.
What is running on this database to cause the restore to fail every morning
ComputerName : XXXXXXXXXXX
InstanceName : SQL2016
SqlInstance : XXXXXXXX
Spid : 6
Login : sa
LoginTime :
Host :
Database : GIA_Staging
BlockingSpid : 0
Program :
Status : background
Command : XTP_OFFLINE_CKPT
Cpu : 0
MemUsage : 0
LastRequestStartTime :
LastRequestEndTime :
MinutesAsleep :
ClientNetAddress :
NetTransport :
EncryptOption :
AuthScheme :
NetPacketSize :
ClientVersion :
HostProcessId :
IsSystem : True
LastQuery :
Host used

[X ] powershell.exe

Errors Received
WARNING: [07:00:20][Stop-DbaProcess] Couldn't kill spid 6. | Only user processes can be killed.
Steps to Reproduce
create a database with in memory OLTP enable. Backup that database and restore to a separate instance.
Leave the database alone for 24 hours
run stop-dbaprocess -Sqlinstance XXXXX -Database XXXXX
Expected Behavior
All user process to stop
Actual Behavior
An error, as above

Can you kill those sessions using other methods?

Hi Shawn,
I've tried several difference ways and no, I can't.
However, deleting the database through SQL Server management studio
works even though the process is still running
On 2020-04-30 17:30, Shawn Melton wrote:

Can you kill those sessions using other methods?
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:
[1]
https://github.com/sqlcollaborative/dbatools/issues/6507#issuecomment-621927464
[2]
https://github.com/notifications/unsubscribe-auth/APM2TALGC6YZ5D7FZA2WOYTRPGKPVANCNFSM4MVTZXEQ

This would be by-design as the error you are getting is coming from SQL Server.
The process involved is likely internal threads that are used by SQL Server for the in-memory feature working with that database particularly. I don't use this feature and have not looked at it in some time. Quick search on the command you show running and it does seem to be something to do with that feature.
Overall the command itself is doing what it should be doing and letting you know why we couldn't kill that process.
In regards to the process you use for restoring I would recommend looking at other options when you are working with those databases. You might try setting the database offline.


Undeprecate 'icav2-zip-workflow'

For manual bundle deployments we need this command to deploy a test workflow to v2.
The zip workflow should behave similar to the zip in github-actions-build-workflow-release-asset

This has already been resolved


Playback size error: YoutubeHD

The default size calculated for HD YouTube videos will leave black bars on the sides of the video (if it is 16:9 video).
This is because it doesn't account for the 15px control bar at the bottom. It is easily solved by changing the ratio for youtubehd in the EmbedVideo.Services.php file to 72/43.
    'youtubehd' => array(
        'url' => 'http://www.youtube.com/v/$1&ap=%2526fmt%3D22&fs=1',
        'default_width' => 720,
        'default_ratio' => 16/9       // <-----change this to 72/43
    )

Thanks for the report (and sorry I'm getting to it so late). I'll do some testing on this and hopefully have something to push after the holiday.

OK, thanks!


Output files should be generated at download time, rather than at render time

Unless I am mistaken, the contents of the download files are generated at render time (i.e. at the time that the buttons are shown), rather than when the download buttons are clicked.
This makes very little difference for little demos, but seems very wasteful if the tables are large.
I think it would be better to generate the data on-demand, in case it is not needed.
I'll see if I have time to make a PR to fix.

It would be great to have especially for dynamically created tables as mentioned in #101.

Create a new instance when you click on export button:
`var test = document.getElementById('export');
test.onclick = function() {
var instance = $("#table").tableExport({
formats: ['xlsx'],
exportButtons: false,
ignoreCols: 0,
filename: filename,
});
var exportData = instance.getExportData()['table']['xlsx'];
instance.reset();
instance.export2file(exportData.data, exportData.mimeType, exportData.filename, exportData.fileExtension);

}`


[BUG] Mobile registration Not working status code 405 method not allowed - V6.6.0 and target version: [2, 2413, 1]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Created a new connection using baileys
its showing error in terminal of 405 method not allowed

Expected behavior
its should show QR code
Environment (please complete the following information):

Is this on a server? both

What do your connectOptions look like?
{
defaultQueryTimeoutMs: false,
printQRInTerminal: false,
logger: pino({
level: config.log.level,
}),
version: [2, 2413, 1],
browser: Object.values(config.browser),
}

Do you have multiple clients on the same IP? NO

Are you using a proxy? NO

Additional context
iam facing this issue overa last two days could able to resolve it
i went to some of the open issue same as this before, tired all the solution still i got this
note : its kind of blocker to proceed further @arccoza  @barkerpedro  @galiazzi  @javiercr @ingro
what will be the permeant fix if suppose in future i got the same statuscode 405 error come ? do i need to clear the exisitng all connection then how do i proceed ?

The target version is wrong, the correct target version is [2,2413,51]

thanks working now but after this now i got different issue
{
"data": {
"tag": "stream:error",
"attrs": {
"code": "401"
},
"content": [
{
"tag": "conflict",
"attrs": {
"type": "device_removed"
}
}
]
},
"isBoom": true,
"isServer": false,
"output": {
"statusCode": 401,
"payload": {
"statusCode": 401,
"error": "Unauthorized",
"message": "Stream Errored (conflict)"
},
"headers": {}
}
}
@xbnfz01 what is this refer to Stream Errored (conflict) ?

add this too
{
"data": {
"tag": "stream:error",
"attrs": {
"code": "516"
}
},
"isBoom": true,
"isServer": true,
"output": {
"statusCode": 516,
"payload": {
"statusCode": 516,
"error": "Unknown",
"message": "Stream Errored (unknown)"
},
"headers": {}
}
}

add this too
{ "data": { "tag": "stream:error", "attrs": { "code": "516" } }, "isBoom": true, "isServer": true, "output": { "statusCode": 516, "payload": { "statusCode": 516, "error": "Unknown", "message": "Stream Errored (unknown)" }, "headers": {} } }
@xbnfz01 @arccoza @barkerpedro @galiazzi any tip to resolve this issue, if its temporary then also good !

I believe this is related to this issue https://github.com/WhiskeySockets/Baileys/issues/782


False "unused parameter" report

DLL import functions should not trigger CC0057.
For instance, b1, b2 and count inappropriately triggered CC0057 in the following code:
[DllImport ("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe int memcmp (byte* b1, byte* b2, int count);

@wmjordan Did you test with last version ?

Yes, version <IP_ADDRESS>.

@wmjordan It was correct in this commit: https://github.com/code-cracker/code-cracker/commit/bb585e29b90e5ca753f3d974a71722644a55ba63

It appeared that it had been fixed.

Yes, this is a duplicate of #701. It is not yet published to the extension gallery.


Terminate running instance never works in the first 30 seconds

The sigterm that is tried in the first 30 seconds doesn't do the trick anymore, since upgrading to actix-web 4.0. Maybe I should start with the more agressive kill signal?

Turns out Actix-Web has a .shutdown_timeout(15) function that probably defaults to something more than 30. I've set it to 15 and the problem is gone.


LNIC_Updates_2024-07-30

Addition of habitat in LNIC for co, ch, st.

I'll cancel the currently running update on cwf prod db and restart with this included.

Sounds good, thank you!
Laura Bernardi
GIS Technician
@.***
350, promenade Michael Cowpland Drive, Kanata, ON K2M 2W1
1.877.599.5777 |<PHONE_NUMBER>
CanadianWildlifeFederation.cahttp://www.canadianwildlifefederation.ca/?src=signature | Federationcanadiennedelafaune.cahttp://www.federationcanadiennedelafaune.ca/?src=signature
[seeds]http://donate.cwf-fcf.org/site/Donation2?df_id=7440&mfc_pref=T&7440.donation=form1&utm_source=signature&utm_medium=referral&utm_campaign=biod
Let's celebrate Canada's biodiversity by planting pollinator-friendly seeds.
Request your free seeds >http://donate.cwf-fcf.org/site/Donation2?df_id=7440&mfc_pref=T&7440.donation=form1?utm_source=signature&utm_medium=email&utm_campaign=mmg
Célébrons la biodiversité du Canada en plantant des semences favorables aux pollinisateurs.
Demandez vos semences gratuites >http://donate.cwf-fcf.org/site/Donation2?df_id=7440&mfc_pref=T&7440.donation=form1?utm_source=signature&utm_medium=referral&utm_campaign=biod&s_locale=fr_CA
From: Simon Norris @.>
Sent: Tuesday, July 30, 2024 2:58 PM
To: smnorris/bcfishpass @.>
Cc: Laura Bernardi @.>; Author @.>
Subject: Re: [smnorris/bcfishpass] LNIC_Updates_2024-07-30 (PR #557)
CAUTION: EXTERNAL EMAIL / ATTENTION: COURRIEL EXTERNE
I'll cancel the currently running update on cwf prod db and restart with this included.

Reply to this email directly, view it on GitHubhttps://github.com/smnorris/bcfishpass/pull/557#issuecomment-2259007921, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCMSYWBYZHZAK7COJ2QYJHLZO7O25AVCNFSM6AAAAABLW6TT2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGAYDOOJSGE.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


PHP artisan migration

I found this error, how to fix and suggest me. thanks
waiphyo@acer:/var/www/html/comeback$ php artisan migrate
Illuminate\Database\QueryException  : SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')
at /var/www/html/comeback/vendor/laravel/framework/src/Illuminate/Database/Connection.php:665
661|         // If an exception occurs when attempting to run a query, we'll format the error
662|         // message to include the bindings with SQL, which will make this exception a
663|         // lot more helpful to the developer instead of just the database's errors.
664|         catch (Exception $e) {

665|             throw new QueryException(
666|                 $query, $this->prepareBindings($bindings), $e
667|             );
668|         }
669|

Exception trace:
1   PDOException::("SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'")
/var/www/html/comeback/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
2   PDO::__construct("mysql:host=<IP_ADDRESS>;port=3306;dbname=laravel", "root", "", [])
/var/www/html/comeback/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
Please use the argument -v to see more details.

i guess u need to give a super user permission.
# Try this command
$ sudo php artisan migrate

Nothing to do with .env file, it's a mysql issue
Try this
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';

There is no need to run artisan commands from sudo. Ever.

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
I will be closing your ticket here. Instead please try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

If you feel I've closed this issue in error, please provide more information about how this is a framework issue, and I'll reopen the ticket.
Thanks in advance.

Thanks all for your suggestions.

Illuminate\Database\QueryException
SQLSTATE[HY000] [1045] Access denied for user 'masoud-codes'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = bms and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:692
688▕         // If an exception occurs when attempting to run a query, we'll format the error
689▕         // message to include the bindings with SQL, which will make this exception a
690▕         // lot more helpful to the developer instead of just the database's errors.
691▕         catch (Exception $e) {
➜ 692▕             throw new QueryException(
693▕                 $query, $this->prepareBindings($bindings), $e
694▕             );
695▕         }
696▕     }
  +33 vendor frames

34  artisan:37
Illuminate\Foundation\Console\Kernel::handle()
masoud-codes@masoudcodes-HP-Notebook:/var/www/bms$
This is my .env file
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=bms
DB_USERNAME=masoud-codes
DB_PASSWORD=sharifumasoud66#
This is config/database.php
    'mysql' => [
        'driver' => 'mysql',
        'url' => env('DATABASE_URL'),
        'host' => env('DB_HOST', '<IP_ADDRESS>'),
        'port' => env('DB_PORT', '3306'),
        'database' => env('DB_DATABASE', 'bms'),
        'username' => env('DB_USERNAME', 'masoud-codes'),
        'password' => env('DB_PASSWORD', 'sharifumasoud66#'),
        'unix_socket' => env('DB_SOCKET', ''),
        'charset' => 'utf8mb4',
        'collation' => 'utf8mb4_unicode_ci',
        'prefix' => '',
        'prefix_indexes' => true,
        'strict' => true,
        'engine' => null,
        'options' => extension_loaded('pdo_mysql') ? array_filter([
            PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
        ]) : [],
    ],

use php artisan config:clear
and try again


Installation Errors on Windows

Hi everyone!
I followed the installation instructions on Windows.
My current specifics are Windows 10 Version 2004 Build 19041.450, running WSL 2 and then Ubuntu 20.04.1 LTS
In the installtion instructions I skipped the part of updating make, because it said it's only necessary with Ubuntu Version 18.04 and I already have 20.04.
Besides omitting this step I followed all instructions. My errors arise when I type the 'make -j$' command.
The output is:
In file included from /home/seresheim/open_spiel/open_spiel/../open_spiel/spiel.h:36,
from /home/seresheim/open_spiel/open_spiel/spiel.cc:15:
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:116:13: error: explicit specialization in non-namespace scope ‘class open_spiel::GameParameter’
116 |   template <>
|                        ^
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:120:13: error: explicit specialization in non-namespace scope ‘class open_spiel::GameParameter’
120 |   template <>
|                        ^
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:121:10: error: ‘double open_spiel::GameParameter::value() const’ cannot be overloaded with ‘int open_spiel::GameParameter::value() const’
121 |   double value() const {
|          ^~~~~
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:117:7: note: previous declaration ‘int open_spiel::GameParameter::value() const’
117 |   int value() const {
|            ^~~~~
This is just part of the output, but it repeats for several other files and functions.
(On the console '>' and 'value()' is highlighted in red)
As far as I understand, this has something to do with c++, but I'm not that fluent in it.
Can somebody guide mit in the right direction on how to fix this?
Kind regards

This probably means you have an old version of clang. What version do you
have installed?
On Thu, 3 Sep 2020, 19:18 Weihnachtshase<EMAIL_ADDRESS>wrote:

Hi everyone!
I followed the installation instructions on Windows.
My current specifics are Windows 10 Version 2004 Build 19041.450, running
WSL 2 and then Ubuntu 20.04.1 LTS
In the installtion instructions I skipped the part of updating make,
because it said it's only necessary with Ubuntu Version 18.04 and I already
have 20.04.
Besides omitting this step I followed all instructions. My errors arise
when I type the 'make -j$' command.
The output is:
In file included from
/home/seresheim/open_spiel/open_spiel/../open_spiel/spiel.h:36,
from /home/seresheim/open_spiel/open_spiel/spiel.cc:15:
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:116:13:
error: explicit specialization in non-namespace scope ‘class
open_spiel::GameParameter’
116 | template <>
| ^
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:120:13:
error: explicit specialization in non-namespace scope ‘class
open_spiel::GameParameter’
120 | template <>
| ^
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:121:10:
error: ‘double open_spiel::GameParameter::value() const’ cannot be
overloaded with ‘int open_spiel::GameParameter::value() const’
121 | double value() const {
| ^~~~~
/home/seresheim/open_spiel/open_spiel/../open_spiel/game_parameters.h:117:7:
note: previous declaration ‘int open_spiel::GameParameter::value() const’
117 | int value() const {
| ^~~~~
This is just part of the output, but it repeats for several other files
and functions.
(On the console '>' and 'value()' is highlighted in red)
As far as I understand, this has something to do with c++, but I'm not
that fluent in it.
Can somebody guide mit in the right direction on how to fix this?
Kind regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/open_spiel/issues/327, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAF7TC3XPKD4DNE3XJY4ETSD7MXDANCNFSM4QVJ2AXA
.

Thanks for the fast reply.
I have clang version 10.0.0-4ubuntu1 (the one that comes per default with the Ubuntu App)

To be honest I just recognized, that I wasn't event using clang, since in the installation instructions there is this line:
CXX=g++ cmake -DPython3_EXECUTABLE=$(which python3) -DCMAKE_CXX_COMPILER=g++ ../open_spiel
I now simply replaced the 'g++' for 'clang' in the above line and ran 'make -j$' again and it runs much longer. But at about 51% it gives mit a ton of output, that ends with:
/usr/bin/ld: ../abseil-cpp/absl/base/libabsl_raw_logging_internal.a(raw_logging.cc.o): in function absl::lts_2020_02_25::raw_logging_internal::DefaultInternalLog(absl::lts_2020_02_25::LogSeverity, char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': raw_logging.cc:(.text+0x3a2): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::c_str() const'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [examples/CMakeFiles/matrix_example.dir/build.make:155: examples/matrix_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:4702: examples/CMakeFiles/matrix_example.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Ah, sorry - it looks like we haven't updated the Windows installation
instructions.
I suspect you might need to make clean and rebuild everything with clang.
On Thu, 3 Sep 2020 at 19:44, Weihnachtshase<EMAIL_ADDRESS>wrote:

To be honest I just recognized, that I wasn't event using clang, since in
the installation instructions there is this line:
CXX=g++ cmake -DPython3_EXECUTABLE=$(which python3)
-DCMAKE_CXX_COMPILER=g++ ../open_spiel
I now simply replaced the 'g++' for 'clang' in the above line and ran
'make -j$' again and it runs much longer. But at about 51% it gives mit a
ton of output, that ends with:
/usr/bin/ld:
../abseil-cpp/absl/base/libabsl_raw_logging_internal.a(raw_logging.cc.o):
in function absl::lts_2020_02_25::raw_logging_internal::DefaultInternalLog(absl::lts_2020_02_25::LogSeverity,
char const*, int, std::__cxx11::basic_string<char, std::char_traits,
std::allocator > const&)': raw_logging.cc:(.text+0x3a2): undefined
reference to std::__cxx11::basic_string<char, std::char_traits,
std::allocator >::c_str() const'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [examples/CMakeFiles/matrix_example.dir/build.make:155:
examples/matrix_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:4702:
examples/CMakeFiles/matrix_example.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/open_spiel/issues/327#issuecomment-686689329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAF7TCUPO6WQCD4ZXIVGUTSD7PXFANCNFSM4QVJ2AXA
.

It should be clang++. (For the exact command take a look at the manual Linux instructions.)
Can you try rm -rf build venv and start everything over with clang++? Some of the build info / filed may have been cached.

it is working now
Thnak you very much!

Great! If you have time, it would be much appreciated if you could update
the Windows instructions.
On Thu, 3 Sep 2020 at 21:10, Weihnachtshase<EMAIL_ADDRESS>wrote:

it is working now
Thnak you very much!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/open_spiel/issues/327#issuecomment-686728651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAF7TG4Z7JHD5WH2J3Q7EDSD7ZZTANCNFSM4QVJ2AXA
.

Re-opening to serve as a reminder to fix the Windows installation instructions.

@Weihnachtshase in the end, was it just changing g++ to clang++? Is there any other thing that should be modified in the Windows instructions?

Yes it was just that.
Sorrry for not changing the instructions myself, I forogt about that

No problem. It's a one-line change easy to do on our side!


Make daemon fully python2 compatible.

There are some problems when running daemon with python2 like problems with relative_imports. Make the package completely python2.7 compatible.

When I run the celery -A origamid worker -l info command, I get an Import Error saying ImportError: cannot import name 'Celery'. This happens with both Python2 and Python3.

Have you installed Celery?
If you are following these steps
$ git clone git@github.com:Cloud-CV/origami-daemon.git
$ cd origami-daemon
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .

# Start using origamid
$ origamid

# Run celery workers
# Make sure that rabbitmq-server is running
$ celery -A origamid worker -l info

# Run server
$ origamid run_server

Make sure to activate the virtual environment when running the celery worker. So open two terminals activate the virtual environment you created in both of them run a pip install -e . and then try the celery worker command. I think it should work fine.


how to create group chat using this package

Hello ,  thank you for awesome package
i'm using this package for chat messenger  , private chat is working fine
now i have to create group chat, where i user can create group , group messaging, add & remove users from group
here , not so much described about group messaging
please help me

Hi there,
To simulate a group messaging, it would be as simple as adding new users to the thread. The thread can also be set to limit participants(users) to a certain limit (e.g. 255 like whatsapp).
The thread can also have its own link which when shared, a user can be joined to the thread.


Having issue opening plugin

I tried following the instructions but when I run Kibana and click on the plugin I get the following message: (Note: my plugins name is Lane Search)
Error: Uncaught TypeError: Cannot read property 'get' of undefined (http://localhost:5601/bundles/Lane_Search.bundle.js?v=15117:1)
at window.onerror (http://localhost:5601/bundles/commons.bundle.js?v=15117:77:8927)
I know this is probably my fault and not the actual code, but I'd like to get some feedback

It's not your fault, the code from the Kibana changed. It's a bug that was fixed with v7.0.0 of the generator, but you'll have to update your code. It's a pretty simple change though.
import uiModules from 'ui/modules';

Should simply become
import { uiModules } from 'ui/modules';

Then your app should run again.

Do i have the correct app.js file location?
C:\Users\lhernandez1\Documents\kibana-5.4.2-windows-x86\kibana\plugins\my-new-plugin\public\app
The code:
 import { uiModules } from 'ui/modules';

was already present.

Hrm... well that's unfortunate. Maybe I jumped to conclusions a little too fast. What did you change after you generated the plugin? Or perhaps is the code available somewhere I can look at it?

Also, if you open your browser's debugger, do you get an actual error message, ideally with a link off to the code somewhere? If you dive into the bundled code, you can probably trace is back to the actual error. If you can get the browser's debugger to take you there, it'll use the sourcemaps and show you exactly where the problem is.

error.zip
I did't alter any code except name the plugin, I attached the .zip which contains the files that say I have an error with. I am little wet behind the ears in javascript so it is a little hard to pinpoint where exactly the problem is. Sorry for being a bother.

The error mentions a Lane_Search.bundle.js file, but I don't see that in your zip file. Also, the bundles aren't super helpful, since I'm pretty sure the lines and column numbers it's reporting are wrong.
Can you send me what you have in the /public folder?

Public.zip
Attached is my public folder, thanks again for your help!

Ah, I see what happened. I misspoke earlier too...
So, you used the latest version of the generator, which is targeting Kibana v5.5.0 and higher, but you're trying to develop a plugin for v5.4.2.
You need to use version 6 of the generator, not the latest version on npm.
If you rather not re-generate, you can also simply change the modules import in app.js.
import { uiModules } from 'ui/modules';

Should simply become
import uiModules from 'ui/modules';

Sorry about that, I should have asked what version of Kibana you were using earlier.
I'll add a compatibility matrix to the readme today too.

Thanks it worked haha
you're the best!


RATIS-1289. Support skip the storagedir with multiple volumes which cause by bad disk

What changes were proposed in this pull request?
Support skip the storagedir with multiple volumes which cause by bad disk
the problem statement:
when ratis created the storagedir on the bad disk,it would throw java.nio.file.AccessDeniedException
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1289
How was this patch tested?
I started the Ozone server which the ratis was replaced by my local changed ratis, when the one of volumes thrown the IOException caused by bad disk ,this volume would be skipped

I think such permission issue shouldn't be handled by code. It is better to fix permission outside of Ratis.

I think such permission issue shouldn't be handled by code. It is better to fix permission outside of Ratis.

@amaliujia cc, this mainly fixed for bad disk, not permission, but the exception is same.

@amaliujia cc, this mainly fixed for bad disk, not permission, but the exception is same.

+1 for bad disk it is ok.

+1 for bad disk it is ok.

@cchenax Thanks the patch. @amaliujia Thanks for review. I have merged it.

@cchenax Thanks the patch. @amaliujia Thanks for review. I have merged it.


Server No Longer Working

Hi there,
I have been running a server off my Synology NAS for the last month or so for me and a friend. Everything was working great however today I am unable to connect to the server. I can see the server within the community server browser but unable to connect.
What I did to I believe break it was originally we played offline, then moved towards the server side of things. Everything moved over properly and everything was saved. Then today we needed to play offline again so I copied over, did a bunch of offline work and re-copied onto my NAS.
At this point I was unable to connect anymore.
I did ensure to shutdown the container each time.
I then decided, okay start from scratch so I deleted the container completely and all the contents of my folder. Everything seems to download fine except one item and that's the WORLD.db file, I do get the .FWL file.
Checking the logs the server does connect and is listening to UDP 2456. I also made sure to change the server name and it does appear like before in the community tab BUT I still cannot connect.
P.S Starting from scratch I made sure to let the container run for ~30 minutes before trying anything when last time the initial startup was more like 5.
Help?

Update: I left the server running overnight in hopes that it'd eventually connect. Lo and behold it's working. I looked through the logs of the container and there didn't appear to be any smoking gun. Maybe there was some errors on the valheim end?? I was at one point seeing both server names within the community hub even though only one should have appeared.
IE:
Cascade Project
Cascade 2.0
Both were up and when I selected one both were selected.
Oh well it's working now.


Make it easier to add new compilers to use --strict-warnings with

Instead of adding new code for each compiler, all that's needed is to
create an entry for each in %devteam_additional_warn, at least the
empty string.

Note: when a new compiler is added, one might need to move some options away from $devteam_common_warn.  This is perfectly all right, just make sure to copy it to all currently available compilers in %devteam_additional_warn

#4281 is merged. As for -Wno-switch, see even https://github.com/openssl/openssl/pull/4248#issuecomment-325994968 for possible alternative. Just in case for the record, I wouldn't actually be in favour of switching to -Wswitch-enum, I just point out the possibility. I'd actually prefer -Wno-whatever [in Configurations/50-icc.cf]. In the context one can wonder if it makes sense to treat -W options as a separate set of flags. I mean we have picker(default|debug|release), maybe it makes sense to throw in warnings...

I am no editor

In the context one can wonder if it makes sense to treat -W options as a separate set of flags. I mean we have picker(default|debug|release), maybe it makes sense to throw in warnings...

Not sure I understand what you mean.  These warnings are extra, do you mean that you'd prefer if they we standard warning settings?
Anyhow, I just rebased and adapted to what's in master now.

In the context one can wonder if it makes sense to treat -W options as a separate set of flags. I mean we have picker(default|debug|release), maybe it makes sense to throw in warnings...

Not sure I understand what you mean.

Well, I wasn't saying that I have ready suggestion, it was rather "does it make sense to think about something along that line?" But let's say there is picker(warning) and compiler is not a gcc-alike? Just add them to CFLAGS, right? But even if it was gcc-alike, just add to those default pre-selected ones...

$ecc situation dealt with.

red 'x' is the "well-known" lack of clang-3.9; marking as ready.

Those three special-cased debug- configurations look funny

As you mention it, not only are they "funny", they are kind of inconsistent, because they add {gcc} flags to clang targets. Another point of inconsistency is that there is no $devteam_additional_warn{gcc}.

Another point of inconsistency is that there is no $devteam_additional_warn{gcc}

Ah, right...  that's because, as far as I can see, there is no macro that specifically indicates gcc.  __GNUC__ used to be that macro, but that has now become a gcc emulator indicator instead...
Anyhow, that should be removed of course, as the $devteam_common_warn is the gcc set of warnings (obviously, since gcc is the common denominator)

Corrective commits added.  Do things look better now?

Lots of discussion, can you rebase and merge, @levitte ?

I can at least rebase.  @dot-asm makes some very good points, and quite frankly, I haven't had the time to think about this for a while...
I'm thinking that this does work as an interim solution (I'm not exactly keen on spreading multiple copies of the same picker(warning) all over the place just to see it forgotten somewhere some time in the future), with the promise to have a thorough look at the configurations and how we can solve this in a better manner soon enough.  Does that work for you, @dot-asm?

Does that work for you, @dot-asm?

I've got approval, so it has lesser to do with what works for me :-) But since you asked, some comments follow...

I've got approval

I mean you've got approval.

it has lesser to do with what works for me

Just in case, what doesn't quite work for me is that additional_warn{something} creates kind of bad precedent, encouraging people to add compiler-specific flags in Configure instead of Configurations/*. Yes, one can say same about clang (and even gcc itself), but life is full of imperfections and compromises. Special treatment for gcc and clang can be justified by their ubiquity, but hardly for any other compiler.
But once again, I'm not really in position to say "don't do that", because it's not like it has to work for specifically me.

Moving this all to Configurations/*.conf is a bigger job.  That's for another PR (which I have underway)

@dot-asm last comments answered

I removed the 'ready' label, because the branch has conflicts and there has been no progress for almost a year.


base64 image on header

Hi all,
I am trying to include my base64 image on the header.
I use this code for this purpose:
<img width="150px" height="49px" src="data:image/gif;base64,MYCORRECTBASE64" />
If I put that code on the body of the pdf it works like a charm,
If I put it on the header only, it doesn't work.
If I put it on the body and on the header it works...
Why I have this strange behaviour?

Did you get a solution to this?

I use the same approach for png's, this is probably localised to gifs.

@SeanLMcCullough What do you mean? Do you mean by saving it as pngs and then using that you're able to put an <img> on the header without a problem?


STY: fix style with black, flake8, and isort via pre-commit

Check the docs at https://pre-commit.com/ for more details.

This styling PR is ready for your review, @thomaswmorris and @AbbyGi!
Please have a look, specifically at the part where the pre-commit is set up and used. I updated the CONTRIBUTING.rst doc to reflect the steps. I highly recommend setting up the pre-commit hook so that it checks the style on every commit and helps to fix it based on the repository's preferences.

I've rebased this PR branch on main after #5 was merged, and retargeted it to main.

LGTM. I'm not super familiar with this fancy stuff, so I'll let someone else merge.

No worries, thanks for checking, @thomaswmorris! There are quite a few auto-formatted updates, but I think the most useful thing here is the style-checking CI setup and the contribution guide update.
@AbbyGi, could you please also have a look when you have a chance?

Some documentation: https://nsls-ii.github.io/scientific-python-cookiecutter/pre-commit.html.

Thank you, @AbbyGi!


offset_of!() does not check for u32 overflow

The documentation notes that u32::MAX is the maximum supported offset, but offset_of!() does not actually enforce this: it simply uses a truncating as u32 cast to generate the final offset. This can result in the incorrect field getting silently accessed. To illustrate, this program produces a segmentation fault from reading a null pointer:
// cargo run --release
// offset = "=0.1.4"
use offset::offset_of;
use std::mem::MaybeUninit;

#[repr(C)]
struct Big {
    s: &'static str,
    pad: MaybeUninit<[u8; 0xffff_fff0]>,
    overflow: usize,
}

fn main() {
    let mut buf: Vec<Big> = Vec::with_capacity(1);
    unsafe {
        // initialize a `Big` in `buf[0]`
        let big = buf.as_mut_ptr();
        (*big).s = "Hello, world!";
        (*big).overflow = 0;
        buf.set_len(1);
    }
    let big = &mut buf[0];
    let offset = offset_of!(Big::overflow);
    *offset.index_mut_in(big) = 0_usize;
    println!("{}", big.s);
}

Good point. I guess I'll have to make them usize values then.


[Feature request]: please add a search path for patterns

What do you need?
Copying files into the ~/.config/fabric/patterns directory is kind of messy and doesn't work well with upgrades or dotfile maintenance scripts.
Why not add a search path for patterns as an environment variable, say FABRIC_PATTERN_DIRECTORY? By default, it could be ~/.config/fabric/custom_patterns:~/.config/fabric/patterns, but users could set it to something else.

Solid idea.
I suggest calling it FABRIC_PATTERN_PATH and make it work like OS PATH does, just keep concatenating new branches in the order of priority.


Backport "HBASE-28931: Poll SSL cert file for changes (#6381)" to branch-3

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 31s

Docker mode activated.

-0 :warning:
yetus
0m  3s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-3 Compile Tests _

+1 :green_heart:
mvninstall
3m 31s

branch-3 passed

+1 :green_heart:
compile
0m 21s

branch-3 passed

+1 :green_heart:
javadoc
0m 19s

branch-3 passed

+1 :green_heart:
shadedjars
6m 10s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 21s

the patch passed

+1 :green_heart:
compile
0m 20s

the patch passed

+1 :green_heart:
javac
0m 20s

the patch passed

+1 :green_heart:
javadoc
0m 17s

the patch passed

+1 :green_heart:
shadedjars
6m  9s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m 28s

hbase-common in the patch passed.

24m 41s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6535/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6535

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 9898a22779d8 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-3 / 6d969cada13964383e2311d73d879e7f78cf8f12

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6535/1/testReport/

Max. process+thread count
405 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6535/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ branch-3 Compile Tests _

+1 :green_heart:
mvninstall
2m 48s

branch-3 passed

+1 :green_heart:
compile
0m 40s

branch-3 passed

+1 :green_heart:
checkstyle
0m 15s

branch-3 passed

+1 :green_heart:
spotbugs
0m 34s

branch-3 passed

+1 :green_heart:
spotless
0m 42s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 39s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 14s

hbase-common: The patch generated 0 new + 0 unchanged - 1 fixed = 0 total (was 1)

+1 :green_heart:
spotbugs
0m 38s

the patch passed

+1 :green_heart:
hadoopcheck
9m 34s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 40s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 11s

The patch does not generate ASF License warnings.

26m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6535/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6535

Optional Tests
dupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless

uname
Linux ee857a64d355 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-3 / 6d969cada13964383e2311d73d879e7f78cf8f12

Default Java
Eclipse Adoptium-17.0.11+9

Max. process+thread count
83 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6535/1/console

versions
git=2.34.1 maven=3.9.8 spotbugs=4.7.3

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


Community Meeting March 22, 2022

At 11am Eastern, 8am Pacific, 3pm UTC; find your time
Video call link: https://meet.google.com/ohf-kwvd-mrp
Or dial: (US) +1<PHONE_NUMBER> PIN: 936<PHONE_NUMBER>#
More phone numbers: https://tel.meet/ohf-kwvd-mrp?pin=9361820877398
Or join via SIP<EMAIL_ADDRESS>Meeting recordings available on YouTube at https://www.youtube.com/channel/UCfP_yS5uYix0ppSbm2ltS5Q
This issue will collect prospective agenda topics. Add topics you'd like to discuss below!

Github issues since last week: https://github.com/kcp-dev/kcp/issues?q=is%3Aissue+is%3Aopen+created%3A2022-03-15..*+no%3Amilestone+

P3 Closing - what is left, where can the team help
P3 Closing - feature demos
P3 Closing - open PR reviews, repo health

time permitting

P4 - topic clean up
P4 - design meetings

Next: https://github.com/kcp-dev/kcp/issues/786


chore: bdd-gh-1585386159 to 0.0.1

chore: Promote bdd-gh-1585386159 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Request for deblurring application

Dear Sir,
By any chance can you develop a fast and lightweight image de blurring application ?
Just a polite request.

That's not so easy to do either.
The most common way is to use an FFT kernel that describes the desired blur.
You need one 2D forward FFT, a convolution phase and a backward FFT.
FFTs are usually 2^x sizes (32,64,128 etc.). Other formats requires additional algorithms. As you can imagine, a lightweight solution is not easy to find. Often, the results are also disappointing. Only very well defined blur can be reasonable eliminated.

Thanks for the suggestions sir


doc updates for table-based show statements

This PR updates docs for table-based show statements as follows:

Adds docs for SHOW CREATE TABLE, including adding statement to sql overview and sidebar, and adding various links to the page.
Completes docs for SHOW COLUMNS.
Updates required privileges for table-based show statements.

I've also made a few tweaks to related grammar diagrams.
Fixes #557
Fixes #556
Fixes #504

This change is

HTML version here: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2a4553e34d47a470020a702fedf75a11d8dabbcb/

 after that one comment

Review status: 0 of 12 files reviewed at latest revision, 1 unresolved discussion.

show-constraints.md, line 29 [r1] (raw file):

Parameter | Description
----------|------------
`table_name` | The name of the table for which to column constraints.

Grammar error here?

Comments from Reviewable

Review status: 0 of 12 files reviewed at latest revision, 1 unresolved discussion.

show-constraints.md, line 29 [r1] (raw file):
Previously, mjibson (Matt Jibson) wrote…
> Grammar error here?

Done.

Comments from Reviewable

Review status: 0 of 12 files reviewed at latest revision, 3 unresolved discussions.

show-create-table.md, line 3 [r1] (raw file):

---
title: SHOW CREATE TABLE
summary: The SHOW CREATE TABLE statement shows the CREATE TABLE statement for an existing table.

...shows the CREATE TABLE statement that would create a carbon copy of the specified table... or something to that effect? My thought here is to specify whether it shows the CREATE TABLE statement used to create the table, vs. showing the statement that would reproduce the table including any ALTER TABLE statements used on it after it was created.

show-create-table.md, line 27 [r1] (raw file):

## Response

The following fields are returned for each column.

s/column/table
Also don't think it's each because the statement only accepts a single table. Maybe something like "A table with the following fields is returned."?

Comments from Reviewable

Review status: 0 of 12 files reviewed at latest revision, 3 unresolved discussions.

show-create-table.md, line 3 [r1] (raw file):
Previously, sploiselle (Sean Loiselle) wrote…
> _...shows the `CREATE TABLE` statement that would create a carbon copy of the specified table..._ or something to that effect? My thought here is to specify whether it shows the `CREATE TABLE` statement used to create the table, vs. showing the statement that would reproduce the table including any `ALTER TABLE` statements used on it after it was created.

Thanks, Sean. Good points.

show-create-table.md, line 27 [r1] (raw file):
Previously, sploiselle (Sean Loiselle) wrote…
> s/column/table
>
> Also don't think it's each because the statement only accepts a single table. Maybe something like "A table with the following fields is returned."?

Included that intro sentence accidentally. Don't think it's needed in this case, so I've removed it.

Comments from Reviewable

Review status: 0 of 12 files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable


SES Core Unit MIP Set to Formal Submission

SES Core Unit MIP Set to Formal Submission.
@CPSTL , @LongForWisdom , @blimpa

LGTM, merging in 👍


policy: Apply file rules only if they exist

This is a first step at making verifyEntry more efficient. We now only check for file protection rules if the policy state has at least one in any targets role.
Also, this commit sets constants for the Git reference and file rule schemes.

Blocked by #264.


Use redis universal client

UniversalClient is a wrapper client which, based on the provided options, represents either a ClusterClient, a FailoverClient, or a single-node Client. This can be useful for testing cluster-specific applications locally or having different clients in different environments.

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

Comparison is base (68982eb) 84.97% compared to head (e1e5e63) 84.74%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   84.97%   84.74%   -0.24%
==========================================
  Files          17       17
  Lines        1278     1278
==========================================
- Hits         1086     1083       -3
- Misses        160      162       +2
- Partials       32       33       +1

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

pls read the CONTRIBUTING.md first.
i think this PR should to merge into develop branch first.


Add disk metrics script and template

emits metrics like:
logmetric: {"name":"agent_disk_size_bytes","value":214748360704,"timestamp":"2021-12-03T22:18:23.5664507+00:00","labels":{"driveLetter":"D","fileSystemLabel":"Data","fileSystemType":"NTFS"}}
logmetric: {"name":"agent_disk_remaining_bytes","value":195173593088,"timestamp":"2021-12-03T22:18:23.5687257+00:00","labels":{"driveLetter":"D","fileSystemLabel":"Data","fileSystemType":"NTFS"}}
logmetric: {"name":"agent_disk_size_bytes","value":296559366144,"timestamp":"2021-12-03T22:18:23.5709154+00:00","labels":{"driveLetter":"C","fileSystemLabel":"System","fileSystemType":"NTFS"}}
logmetric: {"name":"agent_disk_remaining_bytes","value":177468968960,"timestamp":"2021-12-03T22:18:23.572604+00:00","labels":{"driveLetter":"C","fileSystemLabel":"System","fileSystemType":"NTFS"}}

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

Agree with @sima-zhu's comment, otherwise LGTM.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


⚠ Bofrost.at has degraded performance

In c4d892a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1037 ms

Resolved: Bofrost.at performance has improved in 3ece43c.


Adds description about volumes ids pattern

Closes https://github.com/wedeploy/wedeploy.com/issues/609

@jonnilundy updated. I didn't put it inside an aside because it was breaking the line exactly where the regex is


Implement Pattern Subtype Documentation

https://github.com/pattern-lab/styleguidekit-assets-default/issues/11#issuecomment-223059881

Closing this in favor of proper place on core


Goodbye/mongo

Goes with https://github.com/scality/Arsenal/pull/403

@ironman-machine try

Hello @LaurenSpiegel
"try": Success: Try build successfully launched on 'http://ci.ironmann.io/gh/scality/Integration/19033' with the following env. args:
{
    "SCALITY_INTEGRATION_BRANCH": "ultron/master",
    "REPO_NAME": "S3",
    "DEFAULT_BRANCH": "master",
    "SCALITY_S3_BRANCH": "goodbye/mongo"
}

@ironman-machine try

Hello @LaurenSpiegel
"try": Success: Try build successfully launched on 'http://ci.ironmann.io/gh/scality/Integration/19035' with the following env. args:
{
    "SCALITY_INTEGRATION_BRANCH": "ultron/master",
    "REPO_NAME": "S3",
    "DEFAULT_BRANCH": "master",
    "SCALITY_S3_BRANCH": "goodbye/mongo"
}

:sunny: :+1: circleCI test succeeded!


Support IP address for anchor's test servers

Slack Discussion: https://stellarfoundation.slack.com/archives/C01JU2888MP/p1728939684760049
What problem does your feature solve?
Currently, the home_domain of the anchor's server must be "domains". IP addresses are not allowed.
What would you like to see?
We want to test anchor servers without domain. ie: IP addresses.
What alternatives are there?
Ask the anchor to host domains. But I can imagine the convenience of using the IP addresses.

We currently don't have an IP address to test this with. Putting on hold for now.