How to run as .sh script?

Hi, thank you for your project!

`Chessmoves' is a small module to make fast chess tree traversal available in a scripting environment, such as Python or sh.

I have figured out how to use chessmoves in a python script after running make, but could you please provide instructions on how to run it as a (standalone) shell/bash -script?
What I have tried so far:

Compile from source:

$ g++ Source/chessmovesmodule.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Source/chessmovesmodule.c:46:10: fatal error: 'Python.h' file not found

Running make and then compile the .so from the build-directory:

$ g++ -o chessmoves build/lib.macosx-10.11-x86_64-2.7/chessmoves.so
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file 'build/lib.macosx-10.11-x86_64-2.7/chessmoves.so'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Somehow I am stuck at the moment and cannot figure out what the above error messages are trying to tell me. Thank you for your help!

There is an example in the repository: Tools/run-perft
I don't know what the you give messages mean. Just typed 'make' and 'make test' and it still works.

Ah wait, in an earlier edition there was also a standalone executable. But I removed it:

Author: Marcel van Kervinck<EMAIL_ADDRESS>Date:   Sat Aug 22 10:58:22 2015 +0200
Remove the cli tool. This is now just a python extension module.

Thank you for your answer! The quoted example executes python through a bash pipe:
<some cmd> | time python Tools/perft.py
I was wondering if it was possible to run your module directly without python, reducing the computational overhead on startup.
In my use case I am reading a pgn-file from disc and would send the parsed moves to your module in order to get the FEN after each move. Currently I am doing this with JavaScript/chess.js and for a large pgn-file extracting the FENs takes about ~2s for a fairly big pgn-file with a lot of (sub-) variations. I want to make the FEN-processing as fast as possible but I am not sure if it is feasible if I have to tell JavaScript to execute a bash command which executes a python script which executes a C function, if you understand what I mean ...

I think I removed it because the overhead of the C executable was larger than running it though Python.

The Python module is able to process streams of positions. The CLI tool could only handle one for each call. Something like that.

The Python module is able to process streams of positions.
This seems the way to go. I have played around with the provided test.py script and was able to parse 1000 positions in less than 100ms. This is the kind of speedup I was looking for. Thank you for your help and quick response!

Great to know!


[UI Revamp] Fixed bank logos

Some of the bank logos are pixelated or not easily recognizable due to their size.
Besides, I don't know how I didn't catch that in my first logo-related PR but the border around the bank logo must be 2px-large to fully enclose the logo.

Thank you, merged locally!


Add RSS reader functionality?

Add not only RSS reader functionality to

generate your own RSS feed
manage your RSS feeds you are reading - your blogroll
manage others lists
share lists of blogs with others

Would need to handle (consume and/or generate) at least RSS, Atom, OPML. Possibly others.
Should probably not be considered "core" SolidOS functionality, but certainly an important add-on.


Duplicate subelement name of ClinicallyRelevantTime in Observation

In Observation, two subelements are named ClinicallyRelevantTime.

I don't see this. What branch are you on?

master branch.
EntryElement: 	Observation
Concept:		MTH#C1554188
Based on:		Action
Description:	"An Observation represents evidence, both subjective and objective. Observation includes any information about a subject that results from an act of observing, measuring, or evaluation. The focus of an observation can include the subject's behavior, physiological state, health state, functional status, environment, exposures to substances, etc. An Observation contains information about the act of observing or measuring, and the result of the observation. The method of observing can vary widely, from questioning, physical examination, formal assessment vehicles, laboratory tests, imaging procedures, etc. Patient-reported information is also considered an observation, where subject and observer are the same individual."
Value:			0..1 (Quantity or CodeableConcept could be from ObservationResultVS or string or boolean or Range or Ratio or time or dateTime or TimePeriod)
// TODO: Support additional value types: SampledData or Attachment
//----------- Define the observation to be made
1..1			SpecificType   // inherited from Action, here required
0..*			Category from ObservationCategoryVS if covered
0..1			BodySite  // TODO: this should be 0..* but that doesn't map to FHIR -- This should be part of the 'Focus' of the observation
// TODO: 0..* AdditionalBodySite - observations can involve multiple body sites
//----------- Why this observation is taking place
0..1			Reason
0..1			AssociatedStudy
//----------- Execution of the observation action
1..1			Status from http://hl7.org/fhir/ValueSet/observation-status
NonOccurrenceModifier.Reason from ObservationNotMadeReasonVS
0..1			Method
//----------- Capture the result and its significance
//				The Value
0..1			AssertionNegationModifier
0..*			ObservationQualifier
0..1			DataAbsentReason
0..1			ClinicallyRelevantTime  // may not be the same as the OccurrenceTime
0..*			ReferenceRange
0..1			Interpretation
0..1			Comment
//----------- Related and Sub-Observations
0..1			PanelMembers  // separate observations occurring in a panel
0..1			ClinicallyRelevantTime
0..*			Participant 	// TODO: add to metadata?
0..*			Setting
0..*			Location


Create guru-reviewer.yml

Runs CodeGuru Reviewer on every Push
Description of changes:
Adding a new Github Action for CodeGuru Reviewer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

As discussed with Martin, I'll merge this later after confirming the behaviour in the AWS account.

Sorry; need to test one more thing. Let me re-do this PR ... no need to assign it yet


always set text to lf

if on auto, Windows will change them to crlf locally and this can make lint fail
@paulcbetts thoughts?

This will corrupt images, as you're now saying that Git should convert all files to lf, even binary.
What you want is:
* text=auto
*.js text eol=lf

I wish Git supported a way to say "make all text files LF"…

Oh thanks!


Adding balanced.d.ts

@jt000 thank you your contributions.
please rename balanced/balanced.d.ts to balanced.js/balanced.js.d.ts .
http://definitelytyped.org/guides/contributing.html#naming-the-file
https://www.npmjs.com/package/balanced (other library already exists

No problem... done... Thanks!

@jt000 please fix Travis CI. thank you!

Whoops... Good thing we have CI :) Fixed...

Balanced Payments is no longer a marketplace option. They are pushing their customers to Stripe, so this PR is no longer needed.


TypeError: chalk[color] is not a function

TypeError: chalk[color] is not a function at log (/Users/durban/nodejs/qeeniao-wap-web/node_modules/koa-logger/index.js:119:25) at done (/Users/durban/nodejs/qeeniao-wap-web/node_modules/koa-logger/index.js:76:9) at ServerResponse.g (events.js:260:16) at emitNone (events.js:72:20) at ServerResponse.emit (events.js:166:7) at finish (_http_outgoing.js:545:10) at doNTCallback0 (node.js:430:9) at process._tickDomainCallback (node.js:400:13)

I've started getting this error for no particular reason:
TypeError: chalk[color] is not a function
     at log (/Work/streamsavers/api/node_modules/koa-logger/index.js:118:25)
     at Object.logger (/Work/streamsavers/api/node_modules/koa-logger/index.js:52:7)
     at throw (native)
     at onRejected (/Work/streamsavers/api/node_modules/co/index.js:81:24)

Version 1.3.0

This appears to happen when my err is a Promise

So this last commit did not seem to fix the problem. I'm adding custom status codes and the bitwise operation on line 95 still returns the number divided by 100. I'm going to submit a simple PR which fixes this. And add "Magenta" for the famed "RFC 7xx: Developer Error Status Codes"

https://github.com/koajs/logger/pull/61#pullrequestreview-47319604


Dynamic tabs do not work when number of tabs is varied

What happened?
We are trying to render tabs dynamically. So if there is a certain selection then number of tabs is 3 and then when the selection changes the number of tabs is 2.
When the number of tabs increases or remains the same things work fine. But when the number of tabs is reduced we get a error
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Code to replicate
https://stackblitz.com/edit/c23ewv?file=src%2Ftabs.tsx
What type of frontend frameware are you seeing the problem on?
React
Which version of iX do you use?
v1.6.3
Code to produce this issue.
https://stackblitz.com/edit/c23ewv?file=src%2Ftabs.tsx

Fixed in #594 will be part of 2.0.0 release


How to Configure Identity Server behind an Application Gateway on Azure

I have a simple web client running on an azure app service and an identity server  4 project running on an azure app service as well. Both are running behind an application gateway. I have updated the discovery document to using the public origin which belongs to the Application Gateways DNS. However when the web client tries to authorize itself with the identity server, the identity server uses the app services host name to create the redirect uri instead of the app gateway dns.
How do I make sure Identity server creates the correct redirect uri of the web client? I am getting a 403 forbidden error because of this

The host header that the Application Gateway sends to the App Service needs to be updated. You can install the extension "Application Gateway Host Rewrite" on the App Service and IdentityServer4 will pick up the correct host from the Application Gateway.

The host header that the Application Gateway sends to the App Service needs to be updated. You can install the extension "Application Gateway Host Rewrite" on the App Service and IdentityServer4 will pick up the correct host from the Application Gateway.

The host header that the Application Gateway sends to the App Service needs to be updated. You can install the extension "Application Gateway Host Rewrite" on the App Service and IdentityServer4 will pick up the correct host from the Application Gateway.
The same thing should also be possible to do with a rewrite rule in the web.config.

Thank you so much

The host header that the Application Gateway sends to the App Service needs to be updated. You can install the extension "Application Gateway Host Rewrite" on the App Service and IdentityServer4 will pick up the correct host from the Application Gateway.
The same thing should also be possible to do with a rewrite rule in the web.config.

Thank you so much

@laz360play Or you can specify the hostname you want to use in the web.config file for your specific environment, and assign it during startup. Then you can be sure that even on non-azure deployments the hostname would remain consistent for specific domain (D/Q/P).


Alert when developing an extension that uses the vscode.previewHtml command

Part of #62630
Feature
Show an alert when a developer is running an extension that calls the vscode.previewHtml command. This should only happen for extensions being run in development mode
The goal is to alert developers to the fact that vscode.previewHtml is deprecated and will stop working properly in the future

Side note, the sample previewHtml extension doesn't work anymore.
Unable to open 'CSS Property Preview': Cannot read property 'document' of undefined.


Small fixes

A big list of small fixes

Verifying that training / validation / testing subjects do not have a duplicate subject
Adding RAdam option
Clean comet logs and other logs
Accelerating interpolation during tracking
Other acceleration tricks
Fix whitespaces
etc.

Will work when PR is accepted in scilpy concerning space and origin of tracker/propagator. tests pass locally

Hello @EmmaRenauld! Thanks for opening this PR.

In the file dwi_ml/tests/utils.py:

Line 42:56: E203 whitespace before ':'

In the file dwi_ml/tracking/propagator.py:

Line 310:80: E501 line too long (80 > 79 characters)

Do see the PEP 8 -- Style Guide for Python Code


Only call PrepareDateValues if not already called for tick

From https://github.com/aspnet/KestrelHttpServer/pull/791
Resolves https://github.com/aspnet/KestrelHttpServer/issues/818
Resolves https://github.com/aspnet/KestrelHttpServer/issues/821

@geoffkizer also added a manual inline test

?? Is this really better? Why are the 2 older methods left over?

From https://github.com/aspnet/KestrelHttpServer/pull/791#issuecomment-217589238

I just tested the DateHeaderValueManager changes by themselves and they show a nice win on TechEmpower, 5.01 -> 5.34. I'm going to play around with it and see if I can get further wins.

Why are the 2 older methods left over?

Backwards compat?

Yeah, it's definitely better.  All the volatile reads/writes are expensive and reducing this to one call avoids a bunch of them.
That said, we're still doing 4 volatile reads and 1 volatile write here.  I prototyped reducing this to a single volatile read and it basically made the time spent here go to zero and gave another small win (2-3%).
I still need to fix up the timer/dispose logic.
The older methods can go away.

@geoffkizer bear in mind it doesn't need to be super accurate; it needs to not be broken e.g. using a half written byte array. For its use if the date header is off by a few seconds it doesn't hugely matter for how its used. Obviously I'm not suggesting slowing down the timer to under a second.

Impressive how much of a perf impact this has. It really shows how expensive volatile read/writes can be.

@geoffkizer I assume you are continuing this patch? Or should I remove the old methods?

Ok, cleaning it up...
Have to run cmd line tools to see if tests don't compile :-/

Cut down the checks. Could someone check the logic? May have gone too far...

This looks quite good performance-wise.  Removing the volatile write in the common case seems to resolve the major perf issue here.
I think we should merge this.

@stephentoub latest commit address your concerns?

LGTM

Squashed

LGTM. Can we get benchmark results on the latest incarnation of just this PR?

Switched DateHeaderValues from struct to class to allow simultaneous update of sting and byte versions


Example showing skip_header and row value renderer

An example showing off my changes to leptos-struct-table-macro

Thanks! I'm in the middle of quite a big refactoring but I'll integrate this.

Thanks!


Upstreammain

fix isb service data access from spec when it is available
add isb image

i think you can remove the previous ISBSvc image?

nm, we were using the pipeline image


🚧 Dev ➾ Refactor Internal Tasks to Run Like Plugin Tasks

🔗 Epic|Feature Link
No response
🚥 Definition of Done

[x] 🎯 Planning and Design
[ ] 🏎 Dev Implementation (PR merged)
[ ] ✍ Release Notes Added
[ ] 🏆 Product Acceptance

✅ To Do
No response
⚖ Acceptance Criteria
✨ Functional:

[ ] Refactor remaining internal tasks  so that the execution flow matches that of plugin-provided tasks

📐 Non-Functional:

[ ] ...

🔭 Scope
🙅♂ Out of Scope:
🧰 Work Description
This ticket covers the work involved in refactoring the CLI so that internal tasks execute the same way as plugin tasks do. This will simplify the code base, fix several known bugs, and unblocks GA in VScE
🦄 Sizing
No response
Code of Conduct

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

Currently blocked by Zod refactor

Resolved as per PR #1613 :tada:


Added response models

Added response models for endpoints (not forecasts)
Current issues:

[ ] annual_rainfall_summaries - if dates aren't present they come back as {} not ""
[x] crop_success_probabilities - prop_success always 0
[ ] monthly_temperature_summaries - error when bringing back all summaries "unexpected value; permitted: 'mean_tmin', 'mean_tmax'"
[x] season_start_probabilities - data not coming back in rows
[ ]  season_start_probabilities - probability not going past .4 for test_1
[ ]  extremes_summaries - Error in (function (daily, data_names, definitions, summaries)
[x] station data - definitions to come back in the same format as metadata

@chrismclarke
There are still the following issues to sort out on this. However, I think it should be merged as it works better than previous versions.
Here are the issues in epicsawrap https://github.com/IDEMSInternational/epicsawrap/issues/101


error in process filter: json-read: JSON readtable error

I'm using Emacs 24.5.1 on Ubuntu 16.04 and I started adding JsDoc comments to my code. After exiting and starting Emacs a gain, I open up a JavaScript file and I get the error:
error in process filter: json-read: JSON readtable error

The backtrace is:
Debugger entered--Lisp error: (json-readtable-error)
  signal(json-readtable-error nil)
  json-read()
  (let ((json (json-read))) (delete-process url-http-process) (kill-buffer (current-buffer)) (funcall c nil json))
  (if (or is-error (not found-body)) (let ((message (and found-body (buffer-substring-no-properties (point) (point-max)))) (url-callback-function (function ignore))) (delete-process url-http-process) (kill-buffer (current-buffer)) (funcall (if is-error (cddr c) c) (cons (and is-error (cadr c)) message) nil)) (let ((json (json-read))) (delete-process url-http-process) (kill-buffer (current-buffer)) (funcall c nil json)))
  (let ((is-error (and (consp c) (eq (car c) :error))) (found-body (search-forward "\n\n" nil t)) (deactivate-mark nil)) (set-buffer-multibyte t) (if (or is-error (not found-body)) (let ((message (and found-body (buffer-substring-no-properties (point) (point-max)))) (url-callback-function (function ignore))) (delete-process url-http-process) (kill-buffer (current-buffer)) (funcall (if is-error (cddr c) c) (cons (and is-error (cadr c)) message) nil)) (let ((json (json-read))) (delete-process url-http-process) (kill-buffer (current-buffer)) (funcall c nil json))))
  tern-req-finished((closure ((runner closure #1 (err data) (save-current-buffer (set-buffer buffer) (cond ((and err (not retrying) (or ... ...)) (setq retrying t) (let (...) (setq tern-known-port nil) (if tern-explicit-port ... ...))) (t (funcall f err data))))) (callback closure #1 (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))) (retrying) (buffer . #<buffer Participant.js>) (doc (files . [((type . "full") (name . "app/assets/javascripts/domain/participants/Participant.js") (text . ...
  apply(tern-req-finished (closure ((runner closure #1 (err data) (save-current-buffer (set-buffer buffer) (cond ((and err (not retrying) (or ... ...)) (setq retrying t) (let (...) (setq tern-known-port nil) (if tern-explicit-port ... ...))) (t (funcall f err data))))) (callback closure #1 (port err) (if port (condition-case err (tern-req port doc runner) (error (funcall runner (list err) nil))) (funcall f err nil))) (retrying) (buffer . #<buffer Participant.js>) (doc (files . [((type . "full") (name . "app/assets/javascripts/domain/participants/Participant.js") (text . #("...
  url-http-activate-callback()
  url-http-content-length-after-change-function(60 64 4)
  url-http-wait-for-headers-change-function(1 68 67)
  url-http-generic-filter(#<process <IP_ADDRESS>> "HTTP/1.1 200 OK
\nContent-Length: 3
\nContent-type: text/plain
\n
\nOK\n")

Is there a way I can figure out where the JsDoc is that causes this error?
Thanks

I started tern from the command line and then exited, restarted Emacs, and the problem went away.

Strange. If it happens again, you can try starting the server with --verbose, to get an idea of what it is sending to the client.


[WelcomeUX] Interactive playground should be localized

With --locale=ko and de, notice the keybindings are localized but the mouse ones are not.

@dbaeumer I understand you were getting infrastructure in place that would allow us to translate the playground document?

Yes and no. What we did is to move all translation tooling into the VS Code repository. The translation itself is happening on Transifex. So we need to extend the tooling to convert the md file into a xliff file and push and pull it from Transifex.
The corresponding code to talk to Transifx is in i18n.ts in the build folder in VS Code. @michelkaporin how complicated would it be to support the md file.

If we do localise keybindings, should not we also localise the whole playground text?
Personally, I don't see a reason for writing separate Markdown parsing to XLF format (the one we use for pushing to Transifex) just for the mouse bindings. Maybe there is the same way to dynamically replace those, as it's done with keybindings (e.g. kb(cursorColumnSelectDown) is replaced during runtime)? This would be the quick fix. Although in the long run we should translate everything.
As an approach of translating the whole document I see two options:

Generating .md files in code, with nls.localize() calls. This would not require adding new logic around translations using Transifex.
Writing separate .md -> .xlf -> .md parser just for the Markdown files. In my opinion this is not the best approach, however if we plan to have more .md documents to be translated (e.g. upgrade notes), then we can look into it, as this would simplify writing the code as described in the first option.

I would prefer the first approach at this point of time.


use npm install --no-shrinkwrap to unbreak the Linux build

The following intermittent error has become consistent in my Linux
builds:
npm ERR! tar.unpack unzip error /tmp/npm-28814-d055d95c/registry.npmjs.org/fsevents/-/fsevents-1.0.8.tgz
npm ERR! Linux 4.4.5-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v5.9.0
npm ERR! npm  v3.8.2
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5

npm ERR! unexpected end of file

It looks like disabling shrinkwrap fixes this problem. This is an
example PR to do it. But we probably don't want to disable shrinkwrap...
Thoughts, @chrisnojima and @cjb?

While we discuss this can we make a bug report in npm's github

Filed https://github.com/npm/npm/issues/11993.

It looks like updating our shrinkwrapped versions might also be a fix. Closing this.


[e2e]: generic push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4299730220
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Wed Mar  1 03:24:51 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4310245038
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Thu Mar  2 03:28:20 UTC 2023
Tests are passing now. Closing this issue.


Can not upload images in IE8

When i select an image and click the 'Insert' button, it says 'You must choose a file'.  Any idea?

Why are you using IE8?

Closing due to the lack of activity, feel free to reopen if this issue still exists on latest version.


Combo box unexpected resizing and flickering on current item changing

See video:
https://www.youtube.com/watch?v=xsOf9IKryDs
I detected some flickering and size changing when selecting combobox items.
Regards, Alexey Knyshev

Most of these (except the segfault) should have been solved in really recent commits (yesterday night)
Please update and report back if they persist

Should be fixed in d42ff46

Done, Thx a lot!


tui-roll-news 无法使用

Rollup failed to resolve import "/ai-qr-client-cn-mini/src/components/thorui/tui-roll-news/tui-roll-news.vue"
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
uniapp 版本
"@dcloudio/uni-app": "3.0.0-3090920231225001",

编译到微信小程序的时候报错


Planner-Shaheer

I had the original idea of making a laptop generator so that's what I started designing. But I've been looking at productivity and I wanted to design a planner. I don't have a printer to make a beautiful planner of my design so this project hits 2 birds in one stone for its design and practicality. This is my first project with drawing other than some small projects with python.

Thanks for the submission! It's a simple piece but I like that it is functional.
Congrats! I think this earns a Blot. You can order it here.


Added tests for default and first-non-empty strategies

Added a test for multiple cx-url-* with default cx-strategy
Added a test for first-non-empty cx-strategy

left to do: Test random strategy (well... )
https://github.com/tes/compoxure/issues/117

LGTM. Well done!


build scan shows the wrong os version

build scan shows the wrong os version. My os version is 11.2.3 (20D91) but it shows Mac OS X 10.16 in the infrastructure section.
Context
I was trying to see if a particular issue happens more for Big Sur users by querying our gradle enterprise data.
Steps to Reproduce
I also run it on a simple hello world application and I see the same thing, (look at the build scan) so I don't think there is anything project-specific about it.
Your Environment
https://scans.gradle.com/s/ler2pffzdwqn2#infrastructure

MacOS Big Sur reports two different version numbers (depending on various criteria).
With MacOS Big Sur, Apple has decided to go back to incrementing the operating system's major version. Since MacOS 10, Apple has only incremented the minor version number (10.15 was for MacOS Catalina).  Some applications have come to rely on Apple only incrementing the minor version.
For backwards compatibility, Apple decided to give BigSur two version numbers: 11.x (the latest version is 11.3.1, but Big Sur was originally released as 11.0) and 10.16.  Which version is reported to applications and scripts depends on a number of factors.
In the case of Java-based applications, the number reported depends on the version of the XCode SDK the JRE was built against. Currently, most JREs in active use today have been built against XCode before version 12, and so they currently report the OS version as 10.16.
According to this OpenJDK Bug, the OpenJDK-based JREs should be fixed (JREs 16.0.1, 16.0.2, and 11.0.11) to return the 11.x style of version number (presumably these have been built against XCode 12).
I verified this behavior myself. On jshell from AdoptOpenJDK (build 11.0.10+9):
jshell> System.getProperty("os.version");
$1 ==> "10.16"

With jshell from AdoptOpenJDK-11.0.11+9 (build 11.0.11+9):
jshell> System.getProperty("os.version");
$1 ==> "11.3"

References:

JDK-8253702 - BigSur version number reported as 10.16, should be 11.nn
Big Sur is both 10.16 and 11.0 – it’s official (blog post)
macOS version numbering isn’t so simple (blog post)
macOS 11.0 Big Sur: The Ars Technica review - See the third paragraph

Given the findings above, we can probably let the original user who reported the issue know that 10.16 is a legitimate version number referring to MacOS Big Sur.  If they need to know which revision of Big Sur is being used, then they'll need to upgrade the JREs across all of the users and machines that can run builds to be one of the patch releases that was built with the newer version of XCode.


[BugFix] Fix materialized view rewrite bug of agg with count(1)

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #12702
Problem Summary(Required) ：

Fix materialized view rewrite bug of agg with count(1)
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

starrocks_be_unittest succeeded.

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MaterializedViewRewriter.java
2
2
100.00%
[]

run starrocks_admit_test


Alias method inside a self <<

https://sorbet.run/#class A
  def self.foo
    puts 'hi'
  end
end

class B < A
  class << self
    alias_method %3Anew_foo%2C %3Afoo
  end
end

B.new_foo
should typecheck
Originally reported by @pt-stripe at https://jira.corp.stripe.com/browse/RUBYPLAT-1545

I can report that the issue seems to be related to inheritance, not the class << self.
https://sorbet.run/#class A
  class << self
    def foo
      puts 'hi'
    end

    alias_method %3Anew_foo%2C %3Afoo
  end
end

A.new_foo
The problem manifests using instance methods too.
https://sorbet.run/#class A
  def foo
    puts 'hi'
  end
end

class B < A
  alias_method %3Anew_foo%2C %3Afoo
end

B.new.new_foo

Duplicate of https://github.com/sorbet/sorbet/issues/2378#issuecomment-567739010


Included GLog.podspec broken on case sensitive file system

Is this a bug report?
yes

Have you read the Contributing Guidelines?
yes
Environment
Environment:
OS:  macOS High Sierra 10.13
Node:  8.6.0
Yarn:  1.1.0
npm:  5.3.0
Watchman:  4.9.0
Xcode:  Xcode 9.0 Build version 9A235
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.2 => 0.48.3
Target Platform: iOS (10.3)
Steps to Reproduce

Place your the source of your react-native based project on a case sensitive file system on macOS (HFS+ or APFS).
Manage your dependencies using cocoapods instead of react-native link.

Here is a minimal Podfile:
platform :ios, '10.3'
inhibit_all_warnings!

target 'MyiOSProject' do
  # React dependencies
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  # React and its submodules
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge',
    'DevSupport',
    'RCTPushNotification',
    'RCTText',
    'RCTImage',
    'RCTAnimation',
    'RCTNetwork'
  ]
end

pod install

Try to build the resulting xcworkspace using Xcode.

Expected Behavior
When opening the xcworkspace and press build it should build without errors.
Actual Behavior
I get a build error saying .../Pods/Folly/folly/Range.h:33:10: 'glog/logging.h' file not found

How to fix
Just fix your supplied GLog.podspec to have spec.name = 'glog' instead of spec.name = 'GLog'. The name of the library is glog not GLog. Because of this misspelling cocoapods names the subdirectory in the Headers folder wrongly and therefore the inclusion error on case sensitive systems.

Anyone want to send a PR for this?

@athei could you please try my fork? you can install it using this line in your package.json:
"react-native": "git+ssh://git@github.com:maxkomarychev/react-native#glog-folly-case"
and then modify your Podfile to:
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'

Hi
I am facing the same issue. I have tried everything and wasted last 3 days
Please help me!!!!

This is fixed in<EMAIL_ADDRESS>Update your Podfile to pod 'glog', :podspec => 'node_modules/react-native/third-party-podspecs/glog.podspec'

This has been fixed and docs are also updated, but updated docs are not reflected on the react-native docs website.

Anyone want to send a PR to fix the docs? https://github.com/facebook/react-native-website

Disregard. The docs are already up to date, @simonbengtsson updated master three weeks ago: http://facebook.github.io/react-native/docs/next/integration-with-existing-apps.html
I've updated the 0.54 version to include this as well.

This problem has been fixed at 0.54.4v. I noticed today.

If you are using React Native <0.54, you will get the following error:
"The name of the given podspec GLog doesn't match the expected one glog"
Use the following line instead:
#pod 'GLog', :podspec => "#{rn_path}/third-party-podspecs/GLog.podspec"

I get this issue in RN: 0.55.4 and fixed this issue
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'


Allow for nested variables

Right now, I am unable to make the following request:
function mapQueryToProps(props) {
  return {
    fragments: {
      user: {
        _id: 1,
        name: 1,
        picture: 1,
        bio: 1,
        posts: {
          _id,
          title
        }
      }
    },
    variablesTypes: {
      user: {
        id: 'String!'
        posts: {
          skip: 'Int!',
          limit: 'Int!'
        }
      }
    },
    initialVariables: {
      user: {
        id: props.userId
        posts: {
          skip: 0,
          limit: 10
        }
      }
    }
  };
}

AFAIK this is a fairly common use case and NEEDS to be supported :)

Hey @hammadj that's true. And should be simple to make it support. Haven't done it yet since I didn't need it for Relax. Will try to make it today 😉

Awesome, looking forward to it! I'm using this in a react native app since its the only graphQL client i found that integrates with redux and works on RN. This one missing feature is my only gripe with it so far!

That's great! I'm working on it now ;)

Done! Version 0.6.6 now supports nested variables. Let me know if you find any issue 👍


Typechain fix

Ignores typechain interfaces since generating is very simple
Interfaces generate automatically after install

Might need to run some tests to make sure contract interactions didn't break

Testing:

[ ] stake
[ ] unstake
[ ] bond
[ ] claim bond
[ ] wrap
[ ] unwrap
[ ] 33-t deposit
[ ] 33-t withdraw


error on status

panic: runtime error: slice bounds out of range
goroutine 20 [running]:
github.com/gosidekick/migration/v2.Status(0x7d2b60, 0xc0000aa3c0, 0x7fffc4ccfb7d, 0xf, 0xc0000869c0, 0x0, 0xc000168060, 0x1, 0x1, 0x0, ...)
/home/travis/gopath/src/github.com/gosidekick/migration/migration.go:186 +0x1be
github.com/gosidekick/migration/v2.Run(0x7d2b60, 0xc0000aa3c0, 0x7fffc4ccfb7d, 0xf, 0x7fffc4ccfb38, 0x3f, 0x7fffc4ccfb95, 0x6, 0x0, 0x0, ...)
/home/travis/gopath/src/github.com/gosidekick/migration/migration.go:162 +0x24d
github.com/gosidekick/migration/v2/cmd.migrate.func2(0x7fffc4ccfb7d, 0xf, 0x7fffc4ccfb38, 0x3f, 0x7fffc4ccfb95, 0x6, 0xc0000ae420, 0xc0000a6300, 0xc0000821e0, 0x7d2b60, ...)
/home/travis/gopath/src/github.com/gosidekick/migration/cmd/exec.go:58 +0xa6
created by github.com/gosidekick/migration/v2/cmd.migrate
/home/travis/gopath/src/github.com/gosidekick/migration/cmd/exec.go:57 +0x294

I can't reproduce Travis run ok https://travis-ci.org/gosidekick/migration/builds/543756015

this error was because I'm passed a wrong path to migration folder, but I think is good have to validation in case someone makes the same mistake.


[BUG] ValueError: Cannot load file containing pickled data when allow_pickle=False

Describe the bug
Get error when starting training.
Desktop (please complete the following information):

OS: Windows 11

ERROR MESSAGE
Starting training... D:\Applio\env\lib\site-packages\torch\autograd\__init__.py:251: UserWarning: Grad strides do not match bucket view strides. This may indicate grad was not created according to the gradient layout contract, or that the param's strides changed since DDP was constructed.  This is not an error, but may impair performance. grad.sizes() = [1, 21, 96], strides() = [57120, 96, 1] bucket_view.sizes() = [1, 21, 96], strides() = [2016, 96, 1] (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\reducer.cpp:334.)   Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass Process Process-1: Traceback (most recent call last):   File "D:\Applio\env\lib\multiprocessing\process.py", line 315, in _bootstrap     self.run()   File "D:\Applio\env\lib\multiprocessing\process.py", line 108, in run     self._target(*self._args, **self._kwargs)   File "D:\Applio\rvc\train\train.py", line 259, in run     train_and_evaluate(   File "D:\Applio\rvc\train\train.py", line 374, in train_and_evaluate     for batch_idx, info in data_iterator:   File "D:\Applio\env\lib\site-packages\torch\utils\data\dataloader.py", line 630, in __next__     data = self._next_data()   File "D:\Applio\env\lib\site-packages\torch\utils\data\dataloader.py", line 1325, in _next_data     return self._process_data(data)   File "D:\Applio\env\lib\site-packages\torch\utils\data\dataloader.py", line 1371, in _process_data     data.reraise()   File "D:\Applio\env\lib\site-packages\torch\_utils.py", line 694, in reraise     raise exception ValueError: Caught ValueError in DataLoader worker process 2. Original Traceback (most recent call last):   File "D:\Applio\env\lib\site-packages\torch\utils\data\_utils\worker.py", line 308, in _worker_loop     data = fetcher.fetch(index)   File "D:\Applio\env\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in fetch     data = [self.dataset[idx] for idx in possibly_batched_index]   File "D:\Applio\env\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in <listcomp>     data = [self.dataset[idx] for idx in possibly_batched_index]   File "D:\Applio\rvc\train\data_utils.py", line 288, in __getitem__     return self.get_audio_text_pair(self.audiopaths_and_text[index])   File "D:\Applio\rvc\train\data_utils.py", line 228, in get_audio_text_pair     phone = self.get_labels(phone)   File "D:\Applio\rvc\train\data_utils.py", line 243, in get_labels     phone = np.load(phone)   File "D:\Applio\env\lib\site-packages\numpy\lib\npyio.py", line 438, in load     raise ValueError("Cannot load file containing pickled data " ValueError: Cannot load file containing pickled data when allow_pickle=False

I have the same problem.

We are currently trying to find a solution we know is a current error rn.

Fixed.


REST Access via header token.

Been looking a lot in the documentation and code for a way to not use a query parameter for API token authentication. Looking in the code ( https://github.com/agentejo/cockpit/blob/next/modules/Cockpit/rest-api.php#L22 ) it looks like it should be possible to use the HTTP_COCKPIT_TOKEN header instead of the query parameter, all good! But when using the header, a CORS error occurs due to the header not being in the accepter-headers header (https://github.com/agentejo/cockpit/blob/next/index.php#L27).
Iv'e tried to change the configuration of the cockpit installation to no avail, it does not seem to load correctly. The file is created and I can see changes made to stuff like the application name, but the accepted header list is not loaded.
There is no documentation about this (the token through header, other type of authentication headers etc etc, nor the accept-headers list in the config). Any pointers?
An alternative to the token header would be to use the (already accepted) Authentication header instead. But that header does not seem to be used anywhere in the code from my research.

Hi,
can you post you configuration her?
Thanks!

Well, I have tried a lot of different configurations, the one that I find most reasonable is the following:
# Cockpit settings
app.name: JustToTestThatConfigActuallyWorks!
cors:
  allowedHeaders: '<extra headers here...>, X-Requested-With, Content-Type, Origin, Cache-Control, Pragma, Authorization, Accept, Accept-Encoding'

I will try to get the person hosting the cockpit installation to update to the latest next version for the Bearer token implementation, thank you for swift response! :)

I forked the documentation repository, will update with authentication information and make a pull request when I have time, hehe. When it comes to the configuration, feel free to respond here and I will add that to the docs too if I can get it to work and then close this issue ;)

Please find time soon :-) I could really use this!
On Sat, 8 Sep 2018 at 09:33, Johannes<EMAIL_ADDRESS>wrote:

I forked the documentation repository, will update with authentication
information and make a pull request when I have time, hehe. When it comes
to the configuration, feel free to respond here and I will add that to the
docs too if I can get it to work and then close this issue ;)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/agentejo/cockpit/issues/852#issuecomment-419620374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcgaSllHnUI1nQfs7KDuMH8eiZ8Vywyks5uY3LCgaJpZM4WdETY
.

Created a PR in the docs repo for information about passing the token as a header (either with Cockpit-Token or with Authorization token).
https://github.com/agentejo/cockpit-docs/pull/29
I'm closing this issue as @aheinze have added it to the master branch (sorry that I missed that!)


Fix detection of livestreamer start.

I encountered this problem on OS X Yosemite with livestreamer 1.11.1
The application failed to detect the "Starting player:" message from livestreamer and thus got stuck at the starting stream modal.
The reason for this is that multiple lines of output from livestreamer is passed in a single call to the callback.
I solved this by splitting the stream at new lines by piping it through split.

Good catch, thank you very much! This should be the fix for #38...
I have one concern about your PR though. There is no build logic for npm modules, so running the application from outside the project folder is not going to work. The fix is also fairly simple and I think that a npm module dependency is not needed.
Could you please update your PR to something like this so that I can merge it?
var split = /\r?\n/g;

...

function stderrCallback( data ) { ... }
function stdoutCallback( data ) { ... }

spawn.stderr.on( "data", function( data ) {
	String( data ).split( split ).forEach( stderrCallback );
});
spawn.stdout.on( "data", function( data ) {
	String( data ).split( split ).forEach( stdoutCallback );
});

Oh, you are right, it does indeed not work outside of the project folder.
Sorry about that. I'm not well versed in this node thing.
I have changed the PR according to your instructions. Now it no longer uses the split module.
I had to trim the string before the split though. Else there would be an empty string at the end of the array.
Guess it is possible to catch those some other way if you prefer that.

Thank you! :+1:


"sort_by" does not work with mixed arrays

"sort_by" does not work with mixed arrays (number and strings) using Crystal 0.30.1 [5e6a1b672] (2019-08-12)
Examples:
### Works
test = [ [0, 1.23], [1, 1.10], [2, 1.15] ]
puts test.sort_by { |x| x[1] }
### Fails
test = [ ["a", 1.23], ["b", 1.10], ["c", 1.15] ]
puts test.sort_by { |x| x[1] }
### ERROR MESSAGE:
In /usr/share/crystal/src/number.cr:176:10
176 | self > other ? 1 : (self < other ? -1 : 0)
^
Error: no overload matches 'Float64#>' with type (Float64 | String)
Overloads are:

Float64#>(other : Int8)
Float64#>(other : Int16)
Float64#>(other : Int32)
Float64#>(other : Int64)
Float64#>(other : Int128)
Float64#>(other : UInt8)
Float64#>(other : UInt16)
Float64#>(other : UInt32)
Float64#>(other : UInt64)
Float64#>(other : UInt128)
Float64#>(other : Float32)
Float64#>(other : Float64)
Comparable(T)#>(other : T)
Couldn't find overloads for these types:
Float64#>(other : String)

Mixed arrays type is the union of the elements types, that is the reason it cant find a method to
compare with a string. In the first case it works because Floats and Integers can be compared.
You should cast it.
test = [ ["a", 1.23], ["b", 1.10], ["c", 1.15] ]
puts test.sort_by { |x| x[1].as(Float64) }

Even better than casting it is to make so that it doesn't happen. If you want typing that is aware of positions like that, use Tuples instead of arrays, or a specialized class.

An example of the Tuple advice:
test = [{"a", 1.23}, {"b", 1.10}, {"c", 1.15}]
puts test.sort_by { |x| x[1] }


Change auth endpoint

Previously, email-password authentication of implemented in order to authenticate user.
Now, that email-password authentication is going to be replaced by OAuth.
Their are changes needed to done in API-Gateway so that it is compatible with OAuth.

waiting for https://github.com/HRV-Mart/Backend-Auth/pull/45

Changes done in Backend-Auth in https://github.com/HRV-Mart/Backend-Auth/releases/tag/v0.0.3


[feature] Support Copying to Registries with Paths

Is this RFE related to an Existing Problem? If so, please describe: This is related to https://github.com/rancherfederal/hauler/issues/232 as the implementation for this feature could solve both.

When trying to push to a registry that requires a prepended path, hauler will fail. For example, JFrog Artifactory's docker/OCI registry requires you push to oci://artifactory.example.com/registry-name (pushing to oci://artifactory.example.com directly will fail).
The goal would be for hauler to support copying to "path-required" registries.

Describe Proposed Solution(s):

Add a --prepend-path feature to hauler store copy like hauler store copy --prepend-path registry-name registry://artifactory.example.com such that hauler would prepend that path to all image tags.

Describe Possible Alternatives:

Allow rewriting in Hauler manifests, like:

apiVersion: content.hauler.cattle.io/v1alpha1
kind: Images
metadata:
  name: test
spec:
  images:
    - name: registry1.dso.mil/ironbank/big-bang/argocd:v2.9.4
      rewrite: registry-name/ironbank/big-bang/argocd:v2.9.4

such that hauler store sync pulls registry1.dso.mil/ironbank/big-bang/argocd:v2.9.4 but saves it as registry-name/ironbank/big-bang/argocd:v2.9.4 in the store.

Referenced again in Issue https://github.com/rancherfederal/hauler/issues/232

Bumping, another customer hit this today

Bump as well, had a previous customer ran into the exact same issue.

As mentioned here, since we are, effectively, expecting the copy target to be in URL/URI format, i.e. scheme://host why not extend such with an optional path segment, i.e. scheme://host/path?
(Yes, the dir scheme is special in that it is a more-compact version of file:///. I would submit that treating targets as URLs to be parsed opens us up for future option of drop-in handling for arbitrary copy-target schemes.)

Oh, my suggested solution already Just Works ™:
[ec2-user@c2s ~]$ hauler store --store=./store.test add image alpine:3.19
2024-06-10 19:06:40 INF adding 'image' [alpine:3.19] to the store
2024-06-10 19:06:44 INF successfully added 'image' [index.docker.io/library/alpine:3.19]
[ec2-user@c2s ~]$ hauler store --store=./store.test copy registry://harbor.ec2.internal/dweomer
2024-06-10 19:06:53 INF library/alpine:3.19
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:05455a08881ea9cf0e752bc48e61bbd71a34c029bb13df01e40e3e70e0d007bd
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:30c69795e46bd167df7f6152056f3c885cba4f5b4238e2327c73fb35c226d351
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:bca4290a96390d7a6fc6f2f9929370d06f8dfcacba591c76e3d5c5044e7f420c
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:ace17d5d883e9ea5a21138d0608d60aa2376c68f616c55b0b7e73fba6d8556a3
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:935b61847fc465ff70ecbd3436253a7596a500e649a16014646a99393ccbb661
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:fda0ff469afd28d9cfbb946e8e0a3c911c591a2691bea62be9187e45a1c50549
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 pushed blob: sha256:0dc2e6c0f9ded2daeca96bbf270526d182d2f4267f5c7610c222c05cad6f6b96
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 harbor.ec2.internal/dweomer/library/alpine@sha256:a0264d60f80df12bc1e6dd98bae6c43debe6667c0ba482711f0d806493467a46: digest: sha256:a0264d60f80df12bc1e6dd98bae6c43debe6667c0ba482711f0d806493467a46 size: 528
2024-06-10 19:06:54 INF 2024/06/10 19:06:54 harbor.ec2.internal/dweomer/library/alpine@sha256:ec299a7ba3c670e38642b0b62a0c779d84b249a3c889757e2b6f841433b4c6fe: digest: sha256:ec299a7ba3c670e38642b0b62a0c779d84b249a3c889757e2b6f841433b4c6fe size: 528
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 harbor.ec2.internal/dweomer/library/alpine@sha256:b229a85166aadbde58e73e03c5e2b9737fb4642ffb2d98ba453adc90d144c1d8: digest: sha256:b229a85166aadbde58e73e03c5e2b9737fb4642ffb2d98ba453adc90d144c1d8 size: 528
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 pushed blob: sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 pushed blob: sha256:4a0759b5afbffdc507fbb4e32b3a139063c3a5c0829f811973850447f98830ae
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 pushed blob: sha256:2d433224a9f8f46c545c8fc4bc82ea382227d892e9f0c704d90ef585542bf497
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 pushed blob: sha256:5b984dd0323cee557fb6a9d8796f4b4414317cf1fb88bb2047d2046ac9447d77
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 pushed blob: sha256:f4968021da4ff8b74325e5aebf0f9448b44becfdd14df80ecba474e43cc92546
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 harbor.ec2.internal/dweomer/library/alpine@sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0: digest: sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0 size: 528
2024-06-10 19:06:55 INF 2024/06/10 19:06:55 harbor.ec2.internal/dweomer/library/alpine@sha256:15c46ced65c6abed6a27472a7904b04273e9a8091a5627badd6ff016ab073171: digest: sha256:15c46ced65c6abed6a27472a7904b04273e9a8091a5627badd6ff016ab073171 size: 528
2024-06-10 19:06:56 INF 2024/06/10 19:06:56 harbor.ec2.internal/dweomer/library/alpine@sha256:b12b826de1ec8c4237aa09a0287e7be8bd317586f32bf6cd9395ec5dba52a3a2: digest: sha256:b12b826de1ec8c4237aa09a0287e7be8bd317586f32bf6cd9395ec5dba52a3a2 size: 528
2024-06-10 19:06:56 INF 2024/06/10 19:06:56 pushed blob: sha256:eb8fba61d86413beda3240c40c599041e040e658cd8314e38ee15e67ea57d349
2024-06-10 19:06:56 INF 2024/06/10 19:06:56 pushed blob: sha256:8fc740d8c40e45ea330a3f324fe009148dfc1f771bc90254eaf8ff8bbcecfe02
2024-06-10 19:06:56 INF 2024/06/10 19:06:56 harbor.ec2.internal/dweomer/library/alpine@sha256:5d0da60400afb021f2d8dbfec8b7d26457e77eb8825cba90eba84319133f0efe: digest: sha256:5d0da60400afb021f2d8dbfec8b7d26457e77eb8825cba90eba84319133f0efe size: 528
2024-06-10 19:06:56 INF 2024/06/10 19:06:56 harbor.ec2.internal/dweomer/library/alpine:3.19: digest: sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b size: 1638
2024-06-10 19:06:56 INF copied artifacts to [harbor.ec2.internal/dweomer]
[ec2-user@c2s ~]$

@dweomer That still does not work for a registry like Artifactory due to the login step.

@dweomer That still does not work for a registry like Artifactory due to the login step. Artifactory is a special case where you must login to the root (artifactory.example.com) but push to the path (artifactory.example.com/repository).

I haven't worked with a private Artifactory. Can you show me the failure(s) you get running my PoC script above, assuming that you've already logged in at the root? Does it also fail if you attempt to login at artifactory.example.com/repository? There is some nuance here as Hauler leverages almost identical code to login as docker login, IIRC, which has baked-in the concept that the actual content/resource root is at a particular location relative to the one you provide on the command line, i.e.:
hauler login artifactory.example.com #implies https://artifactory.example.com/v2, whereas
hauler login artifactory.example.com/repository #implies artifactory.example.com/repository/v2

Strangely enough, I am having trouble reproducing. I will work on it.

Hey @ngearhart, have you had any more luck trying to reproduce this issue? any new information?

@zackbradys I have not, sorry. I'm a bit swamped with other priorities at work right now, but will check in on this as soon as I can.

This doesn't seem to work when doing a 'store copy' using --username and --password
root@hauler:~# hauler store copy --username perk --password "perkspw" -s rancher-store registry://harbor.domain.com/rancher --insecure
Error: error logging into registry: exit status 1, output: Error: registries must be valid RFC 3986 URI authorities: harbor.domain.com/rancher
main.go:74: error during command execution: registries must be valid RFC 3986 URI authorities: harbor.domain.com/rancher

Usage:
  hauler store copy [flags]

Flags:
  -h, --help              help for copy
      --insecure          Toggle allowing insecure connections when copying to a remote registry
  -p, --password string   Password when copying to an authenticated remote registry
      --plain-http        Toggle allowing plain http connections when copying to a remote registry
  -u, --username string   Username when copying to an authenticated remote registry

Global Flags:
      --cache string       (deprecated flag and currently not used)
  -l, --log-level string    (default "info")
  -s, --store string       Location to create store at (default "store")

2024-08-05 20:36:00 ERR error logging into registry: exit status 1, output: Error: registries must be valid RFC 3986 URI authorities: harbor.domain.com/rancher
main.go:74: error during command execution: registries must be valid RFC 3986 URI authorities: harbor.domain.com/rancher

I can confirm that
hauler store load <store>.tar.zst
hauler login https://artifactory.example.com --username ... --password ...
hauler story sync registry://artifactory.example.com/path

Does work for my use case. Therefore I am comfortable closing this, but want others to make the call if they feel it's still needed in some other way.

Glad to hear it and thank you for report back your results! @ngearhart

I don't think this is ready to be closed.
We have a 'workaround', not a fix. We should either document this officially in our docs or 'fix' it properly

This is not closed, as @HoustonDad said it is a workaround....
If you try with a proxy like Nexus OSS, where you don't have the fancy namespace/path prefix for proxying.
Having a rewrite or something is very nice.

Hey @HoustonDad / @a1994sc, this issue was regarding problems with hauler store copy to registries with paths and that is doable with hauler without any workarounds...
hauler login registry.example.com -u bob -p haulin
hauler store copy registry://registry.example.com

If you're referencing the ability to rewrite (and/or persist upstream registry information)... that is tracked in Issue https://github.com/hauler-dev/hauler/issues/232!

I'm referencing this: https://github.com/hauler-dev/hauler/issues/241#issuecomment-2269880789


Startup behavior

I previously had two behaviors in CACE that appear to have become lost:
(1) When cace-gui is run, if there is no matching project name or no matching .txt or .yml file, then the GUI still pops up, and waits for the user to select a characterization file to load.
(2) Before cace-gui brings up the GUI window, all output text is collected in a "messages" variable.  If the GUI comes up successfully, then "messages" is dumped into the console window pane.  If something happens and cace-gui dies, then "messages" is dumped to the terminal as the last thing that happens before the program exits (requiring that exceptions be caught and handled gracefully).
Right now, if I start cace-gui and (I think) either of the above items happens, then cace-gui returns to the terminal prompt with absolutely no indication that anything happened.

Sorry about that, I've changed a few things recently and the order in which the functions are called is just wrong!

Fixed by #75


Cross clusters DNS discovery

What about dns discovery like cilium

This concept has been on our road map, where Submariner will run a controller that will synchronize service/endpoint objects between clusters.

@Oats87 Amazing! Will wait!

Some solution
We can add cluster with coredns service ip <IP_ADDRESS> and Corefile
.:53 {
    etcd coredns.submariner {
        path /skydns
        endpoint http://etcd-service:2379
    }
    cache 10
    loadbalance round_robin
    errors
    health
    log
}

install external dns (to etcd for coredns) on all clusters
add stubDomains for clusters

apiVersion: v1
data:
  stubDomains: '{"coredns.submariner": ["<IP_ADDRESS>"]}'
kind: ConfigMap
metadata:
  name: kube-dns
  namespace: kube-system

We achieved this by using coredns and stub-domains as @Negashev suggested. It's working just fine.

Hey!, awesome, one of our teams at Red Hat is also looking at this, in a very similar way. We are having upstream meetings every Thursday at 17:00 CEST, if you are interested in joining please ping us at the https://rancher-users.slack.com slack in #submariner .
We are about to send a proposal to automatically generate those kind of entries to CoreDNS on clusters. If you are using submariner and you want to contribute it'd be awesome to meet you :-)

We'll be discussing the cross cluster service discovery use cases in the upcoming meeting. The document can be found at:
https://docs.google.com/document/d/1N74HtoOKX7shXiKxGe2KzO_sQIQ_c0I7BMxNORBdvTw/edit?usp=sharing
Tag me here for access to document.

@vthapar

Lighthouse - Cross Cluster Service discovery for clusters connected by Submariner.

I believe this can be closed now. This functionality is available within Lighthouse.


vte: 0.78.1 -> 0.78.2

Changes: https://gitlab.gnome.org/GNOME/vte/-/compare/0.78.1...0.78.2?from_project_id=1893&straight=false

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build vte vte.passthru.tests


locust.diff and locust.render command-line utilities

Right now, if you wanted to store a JSON summary and an HTML summary, you would have to run the summarization process (including AST traversal) twice.
It's much more reasonable to create clearer interfaces between diff-calculation, AST traversal, and rendering. This will allow us to:

Apply more logic to the output of locust (e.g. do not print if there are no changed files in the Locust summary)
Set up https://github.com/simiotics/locust/issues/21

My initial idea here is to create ArgumentParser populators in locust/git.py, locust/parse.py, and locust/render.py. These populators can be used to populate parsers within those files as well as in the main locust/cli.py file.

Switched over from dataclasses to pydantic, which is much more pleasant to use for the kind of data pipelines we are building here.


[Feature] New UI suggestion

How about something similar to Emudeck itself:

a selection of launchers similar to emudeck's selection of emulators
and the option to install in internal memory or sd card:

I'll see if I can do something in GIMP to better illustrate my idea

@Heus-Sueh isn't this what I have already essentially?

@Heus-Sueh isn't this what I have already essentially?

your project in this case uses zenity with a set of checkboxes, emudeck if i'm not mistaken uses html and css (correct me if i'm wrong). I think you can make the app beautiful with a good user experience like emudeck not that your app is not practical and easy but maybe it could be beautiful, but that's just my opinion maybe it's not worth the effort to create a new UI

@Heus-Sueh I have plans for something a little better :)

@Heus-Sueh I have plans for something a little better :)

looking forward 👀

@Heus-Sueh hey brother if you want you can still make something in gimp... by all means I don't want to stifle your creativity! The only reason I used zenith was because it was simple and got the job done. I'm not very good with "visual art" lol

@Heus-Sueh hey brother if you want you can still make something in gimp... by all means I don't want to stifle your creativity! The only reason I used zenity was because it was simple and got the job done. I'm not very good with "visual art" lol

oh yeah i had almost forgotten lol but my gimp skills are pretty basic to express what i want but i'll give it a try 👍

Does the idea you have for the UI still involve zenity or are you thinking of using QT or GTK?

Well for the desktop I'm down for whatever. Whatever was able to work on desktop mode and gaming mode. My idea as far as looks, this script is the basis for the deck plug-in I'm working on.

interesting, maybe QT is the most suitable to be consistent with KDE Plasma, you would just have to see the controller support since you want it to work in gaming mode or maybe using the steam deck trackpad as a mouse might solve it just wouldn't be so user friendly, the people at heroic games launcher know how to implement controller support just see how they did it


Improve CSS selector performance by removing some spans

See https://chat.zulip.org/#narrow/stream/6-frontend/topic/CSS.20selector.20performance/near/1845719 for more context

Made the changes noted above to preserve the styling, but otherwise lgtm, merged @evykassirer!

This was backported in #31476.


Improve gcc compilation time

Scope & Purpose
For some reason, gcc takes >30minutes to compile a large log statement. With this change, its done in seconds.
Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/5189/

The problem seems to be -Wduplicated-branches. Without it, its fast.


Where can know the flutter design ideas ?

I want to understand flutter's implementation ideas and design ideas at a deeper level, if you can say something more at the architectural level, it will be more conducive to daily development, and there is an important thing: where to get the inheritance relationship map of Flutter class

@tzsh1007
Since this repo is more about tracking bugs and feature requests, I suggest you to ask this question on flutter's discord to get quick input directly from team. https://flutter.dev/community,  https://discord.com/invite/N7Yshp4
Closing from here.

@darshankawar https://discord.com/invite/N7Yshp4 I can't sign up, So People from China can't do that


Not showing up on serve(Azure)

Works locally. But not showing up in the UAT server(azure)
Version: 5.11.1

When you say it works locally, have you tried building and running a local production build, or only a development build?
Are there any warnings during build, or errors showing up in the browser console when you hover the anchor element?
Also please try upgrading to v5.13.0.

Actually, it's a Next.js project.... so I'm exporting the project (npm run export)
No warnings or error during the export time.
When I hover in the browser it returns a typeerror please find the attached screenshot

I've tried the latest version also... the same issue persists

https://react-tooltip.com/docs/troubleshooting#nextjs-typeerror-f-is-not-a-function

It's resolved. Thanks, buddy


Trial the use of MSBuild resolution on latest Mono

This builds on https://github.com/fsharp/FSharp.Compiler.Service/pull/609

(Still getting a null exception from reference resolution)


Issue Description
There is no order and structure of the contents and there are no proper screenshots.
Additional Context
No response
Screenshots or Examples (if applicable)
No response
Proposed Solution (optional)
I would like to add a table of content, make the description of the project more attractive , make the readme more accessible and structured, and add a few images .
Checklist

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

can you elucidate further or share some pics of the enhancements you wanna do @Enhancer18


Polars: OnceFrame

Currently in Polars, Measurements emit LazyFrames. LazyFrames can be repeatedly executed, and each time it is executed, the privacy loss increases (but is not tracked anywhere).
This PR instead returns a queryable with the LazyFrame in its internal state. When the user wants to execute the LazyFrame, the queryable executes the LazyFrame and then frees it, making it impossible to execute again.
A queryable is used so that the user can control how the LazyFrame is executed: either collect into memory, sink to a CSV, sink to Parquet, to IPC or to JSON. Queryables may also share the query plan, or allow the user to configure query plan optimizations.
In both the Python and Rust APIs, the Queryable emitted mimics a (very) limited subset of the LazyFrame API. We can expand this API in the future as needed.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1602  👈
#1597
#1596
#1592
#1591
#1534
#1600
#1539
#1540
#1586
#1590
#1584
#1542
#1498 : 1 other dependent PR (#1503 )
#1479 : 1 other dependent PR (#1496 )
#908 : 1 other dependent PR (#913 )
#890 : 1 other dependent PR (#856 )
#829 : 2 other dependent PRs (#854 , #888 )
#1519 : 1 other dependent PR (#1506 )
#1566
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

I'll start a more thorough code review, but just skimming it, it's hard for me to see exactly what this means for the user. Would it be possible to update or copy

#1632

and integrate that example into this PR to demonstrate the interface?
I also have some small PRs out that improve test coverage, particularly on generated code. Having those checks in place would make it easier for me to see what code here is actually being exercised.
Finally, I'd worry about holding up the release for this. When we do make a tagged release with this, I think we also need at least orphan docs for the new functionality.
For the code review, I'll try putting in more a lot more comments along the way. I'm not sure how this will work, but it might be good for me to be really transparent about what I understand and what I don't understand.

This PR makes the user experience worse-- users can only conduct a limited set of actions on a OnceFrame, instead of all possible actions with LazyFrame. However it prevents users from violating privacy guarantees by executing the plan multiple times. This should be merged before releasing 0.10 to ensure that the privacy guarantees we give are valid.

I think it's ok that diffs for blacklisted functions are showing up in the R header file, because the generated header file is meant generally for any language for bind with, and not all the functions in a header file need to be used.


Example from README is not working

With dft-0.1.0 installed as cargo install datafusion-tui I get the following error using the example in https://github.com/datafusion-contrib/datafusion-dft/blob/97a6c374d14c39616f0e461941c2cea277c46dc8/README.md#L90
$ dft -c "SELECT 1+2"
error: Invalid value "SELECT 1+2" for '--batch-size <BATCH_SIZE>': Invalid batch size 'SELECT 1+2'

For more information try --help

In dft help I see
OPTIONS:
    -c, --batch-size <BATCH_SIZE>    The batch size of each query, or use DataFusion default

so the error is probably expected but README needs a fix

oh - definitely dont use version 0.1, that is very old.  i have not done a new release since starting work on the project again. right now just supports installs from source.  i hope to do another release in the coming month or so.

Oh, right, github version works fine in this case.
But I found a thing which could be a problem, I tried this:
$ echo -e "id,name\n1,John\n2,Jane" > /tmp/test.csv
$ echo "create external table people stored as csv location '/tmp/test.csv';" > ~/.datafusion/.datafusionrc

and then people is not available in dft so I need to run create in SQL editor :-\

Sigh, sorry i need to update that part of the README as well.  All configuration is now in ~/.config/dft with the default DDL file being ~/.config/dft/ddl.sql
It's explained here but i need to update the other references as well.

The project has been very fast moving since ive gotten back into it and i havent been as good as i need to be with updating the README as i should be. i had planned to do a full sweep at some point, but just havent gotten around to it yet.  Appreciate you raising these issues

Thanks for your quick responses and this one looks to be resolved


finality_checkpoints endpoint does not return result

Describe the bug
Requesting the eth/v1/beacon/states/state_id/finality_checkpoints endpoint on https://lodestar-prater.chainsafe.io returns 404. But requesting same on infura's beacon node returns a result.
On Infura:
➜  ~ curl -X GET<EMAIL_ADDRESS>{"execution_optimistic":false,"data":{"previous_justified":{"epoch":"114763","root":"0x0667e6ee957a41c0a6c238056f98065b6115be5e4a69d3f94df03ae62f67f666"},"current_justified":{"epoch":"114764","root":"0x5386273280d3ef529673466661e4c9ce7d4d5ea1f88dfb896398be9209ff9a67"},"finalized":{"epoch":"114763","root":"0x0667e6ee957a41c0a6c238056f98065b6115be5e4a69d3f94df03ae62f67f666"}}}%

On Lodestar prater:
➜  ~ curl -X GET https://lodestar-prater.chainsafe.io/eth/v1/beacon/states/0xd4002260adc896738a6306f87a525da091f54f4b729cd80571493bc8c7b82f84/finality_checkpoints
{"statusCode":404,"error":"Not Found","message":"No state found for id '0xd4002260adc896738a6306f87a525da091f54f4b729cd80571493bc8c7b82f84'"}%

Making the request for a more recent slot (3672832) gives the same response.
Expected behavior
eth/v1/beacon/states/state_id/finality_checkpoints endpoing on lodestar beacon node should return results

Lodestar does not support arbitrary state regen previous to the finalized checkpoint. Infura does. The slot you are requesting was before or after the finalized slot at the time?

See https://github.com/ChainSafe/lodestar/issues/4005

Closing issues for specific incidents on old versions of Lodestar, please re-open if it happens with latest stable


Cannot push to git repo (BServer: block does not exist), and get lots of "Unknown RPC errors" in the app

I can no longer seem to do very much in the app. I can login, but most actions give me an "Unknown rpc error".
It's possibly a red herring, but I have done two, (admittedly slightly strange) things since signing up:

Added my phone as a device, then revoked it, and re-added it with a different name
Created a git repo, pushed to it successfully, then deleted it and created a new one (with the same name but lowercased).

If I try and do any git actions on the repo that is listed in keybase, I get:
Initializing Keybase... done.
Syncing with Keybase... BServer: block does not exist
git-remote-keybase error: (1) BServer: block does not exist

If I try and create repos in the app, I get "Unknown RPC Error"
If I try and create a repo from the command line I get:
❯ keybase git create hello-world
libkb.AppStatusError{Code:2704, Name:"BLOCK_NONEXISTENT", Desc:"", Fields:map[string]string{}}
▶ ERROR  (code 2704)

my log id: 843483fcfb6658c3bd47971c

Thanks for the logs, I will take a look as soon as I get some time.  Sorry for the inconvenience.

This looks like the same issue underlying client#8832, which has been fixed in master and will be fixed for everyone in the next release.  It seems that you may have run a few git commands concurrently (which should be perfectly fine, that's not a bad thing to do), and they triggered the bug.
This means your private folder needs to be repaired.  If you want, I can restore it to the state it was in before it was broken.  That will take some time and care, but I can do it.
However, it seems like you were probably just starting to play around, and hadn't stored anything interesting in either git or your private KBFS folder yet.  If that's the case, it would be easiest to just reset the whole folder to make it usable again.  If you want us to reset your folder, please run this command on an currently-valid keybase device, and substitute the current date and time where indicated:
keybase sign -m "<DATE_AND_TIME>: Please reset folder /keybase/private/latentflip because a Keybase bug made it inaccessible."

and post the results here.
Sorry again for the inconvenience!

@strib a reset would be great, thanks!
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkWN8Yn6 UDKobp0r7PdgOGU fEDe3krnUTjlyee Uqmg2jd5NSifsjW I0RNTfFRW5hw7ya ByUauho2f5Mi1Hf aIjJZRTRqqV0PYW z9TJkSFjVYfMKSD oowwAcI2YQCTd1P aAcbNxe7kqnMYCZ 9NViwv8VKKD6Hx4 c1tX1o0JhvtF35I qvH0cuFCEDXmv36 5EewkCNKWP3shcL su9fBGQx4Hw86Fz mWlrpOje5lBIZTd dhxNKP0Ss2D3ic4 AgfQZ8lqXyNniBD hGnZfa6hlox3oXY WN1xTZdYO7kumGd 12yBCtQlYwN6JTz S4pKoYsQCBslyU0 To1G. END KEYBASE SALTPACK SIGNED MESSAGE.

Should I just be careful running concurrent git commands in the meantime?

I reset the folder.  Please check it out and close this if everything seems ok.  (Might require a Keybase restart.)
And yeah, until you get the next update, I recommend one git command at a time.

Okay, that has sort of improved things, but it looks like I have some lingering issues.
The git repo that I had previously seems to be stuck in my keybase app - as in I can't delete it as it says it doesn't exist, but it's still listed in keybase. I did create a new one and that appears to be working.
More concerning is that all my devices say that my folder needs to rekey or I will lose my data forever. I see that message on all three of the devices I have connected (let's call them A, B and C), and they say to open one of A or B. However even devices A or B say to open those devices, even in the app, when I have them open. Any ideas?

Have sent updated logs for you: 147a9b4e6cf64e78a7a4f51c but it sounds suspiciously similar to:  https://github.com/keybase/client/issues/8776

Ah yeah, we have to take extra steps to forcibly remove the repo from the db, and to remove the old pre-reset folder from the rekey list.  I can do the second part.
@oconnor663: can you please delete the old keybase/private/latentflip repo from the DB?

Believe it or not I can't. It looks like @latentflip has two repos in his private folder, but the names are encrypted :-D
I think you'll be able to delete it yourself from the GUI as soon as I fix https://github.com/keybase/client/issues/8835, though, which is next on my list.

@oconnor663: do they have TLF IDs associated with them?  You can nuke any repo assciated with 405bfbc403128c9ba071d08e283bab16, because it's been nuked.

Ok, deleted both rows.


chore: add ftlDebug script

This makes it easy to run FTL under dlv, and dlv will wait for the IDE to attach. This is useful if you want to debug commands other than ftl dev

I took the same naming approach as mvnDebug, which is a script maven provides to allow you to connect a debugger to the build process.


New Machine requirement - Third (!) Linux/x64 dockerhost/build host

I need to request a new machine:

New machine operating system (e.g. linux/windows/macos/solaris/aix): Linux
New machine architecture (e.g. x64/aarch32/arm32/ppc64/ppc64le/sparc): x64
Provider (leave blank if it does not matter): Any ... But we don't have many options
Desired usage: Replacement for the two dockerhost x64 systems currently hosted on Equinix
Any unusual specification/setup required: docker for running dockerhost containers and build pipelines
How many of them are required: 1

Please explain what this machine is needed for: Replacement for Equinix systems which we have to decommission as per https://github.com/adoptium/infrastructure/issues/3292
Follow-on to https://github.com/adoptium/infrastructure/issues/3378
Replacement for first attempt at https://github.com/adoptium/infrastructure/issues/3352 due to Skytap quota issues.

New azure dockerhost machine setup on <IP_ADDRESS>, dockerhost-azure-ubuntu2204-x64-2.
100G for /home/jenkins/
400G for /var/lib/docker
Will add into jenkins, inventory.yml and add docker containers shortly

Something I noticed when installing docker, our playbooks need to be updated.
Installing docker with the playbooks, with the dockerhost.yml playbook:
root@dockerhost-azure-ubuntu2204-x64-2:~# docker version
Client:
 Version:           24.0.5
 API version:       1.43
 Go version:        go1.20.3
 Git commit:        24.0.5-0ubuntu1~22.04.1
 Built:             Mon Aug 21 19:50:14 2023
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          24.0.5
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.3
  Git commit:       24.0.5-0ubuntu1~22.04.1
  Built:            Mon Aug 21 19:50:14 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.2
  GitCommit:
 runc:
  Version:          1.1.7-0ubuntu1~22.04.2
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

I get this gpg error when building one of our docker images, (fedora 39 but Ive seen it when building others)
 ---> Running in b5d0a622635b
Removing intermediate container b5d0a622635b
 ---> 352976db5502
Step 7/26 : RUN gpg --verify /tmp/jdk17.sig /tmp/jdk17.tar.gz
 ---> Running in 4ba53986cf16
gpg: Signature made Thu Jan 18 14:00:41 2024 UTC
gpg:                using RSA key 3B04D753C9050D9A5D343F39843C48A565F8F04B
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: keydb_search failed: Connection timed out
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: Note: database_open 134217901 waiting for lock (held by 11) ...
gpg: keydb_search failed: Connection timed out
gpg: Can't check signature: No public key
The command '/bin/sh -c gpg --verify /tmp/jdk17.sig /tmp/jdk17.tar.gz' returned a non-zero code: 2

I recommend we update our playbook docker installation with whats on dockers own site https://docs.docker.com/engine/install/ubuntu/#installation-methods
root@dockerhost-azure-ubuntu2204-x64-2:~# docker version
Client: Docker Engine - Community
 Version:           25.0.4
 API version:       1.44
 Go version:        go1.21.8
 Git commit:        1a576c5
 Built:             Wed Mar  6 16:32:12 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.4
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.8
  Git commit:       061aa95
  Built:            Wed Mar  6 16:32:12 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

I dont get the same gpg error when building images with this version. I havent looked deeper into this so I dont quite know exactly whats causing the error, but this isnt the first time im seeing it

Both of your examples seem to be on the same machine - have you changed it front the defaults installed in they playbooks. I've not personally noticed anything like this on any of the other systems we've provisioned with Ubuntu 22.04.
What happens if you start up a new container and run the commands from the Dockerfile individually?

have you changed it front the defaults installed in they playbooks.

On this new dockerhost, I installed docker this way https://docs.docker.com/engine/install/ubuntu/#installation-methods, which is different to how we do it in the playbooks. Installing the playbook way, https://github.com/adoptium/infrastructure/blob/9cc52b83482be76afb427ce7e31be2ed73fbcf48/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml#L50, is how I hit the above error. The two ways install different versions.
Ive created 4 nodes on the machine, with no error except having to add a firewall rule to the machine in the azure console.
test-docker-ubuntu2204-x64-6
test-docker-ubuntu2004-x64-4
test-docker-debian12-x64-3
test-docker-alpine319-x64-3

Still seeing the error https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk22/job/jdk22-linux-x64-temurin/33/console

Fixed it. Despite the change of uid and guid, the cached adoptopenjdk/centos7_build_image still had the wrong uid and guid for its jenkins workspace
[root@a8994343424d ~]# ls -la /home/jenkins/
total 20
drwx------ 2 1005 1005 4096 Mar 14 04:51 .
drwxr-xr-x 1 root root 4096 Mar 14 04:51 ..
-rw-r--r-- 1 1005 1005   18 Nov 24  2021 .bash_logout
-rw-r--r-- 1 1005 1005  193 Nov 24  2021 .bash_profile
-rw-r--r-- 1 1005 1005  231 Nov 24  2021 .bashrc

Deleting this image and allowing the build job to pull a new one fixed the issue https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk22/job/jdk22-linux-x64-temurin/35/console

I managed to disable secureboot through the azure console

Seeing this error
Stderr: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Virtualisation is enabled on the D series v4 cpus

Interesting - /proc/cpuinfo has vmx and some other differences in the flags despite both being listed as the same CPU:
model name	: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
First machine that works:
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single tpr_shadow ept vpid ept_ad fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves vnmi avx512_vnni arch_capabilities
Second machine:
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_vnni arch_capabilities
The working machine has these extra ones: vmx tpr_shadow ept vpid ept_ad vnmi
@gdams @karianna Are you aware of why two supposedly identical CPUs hosted on Azure might be serving up different CPU flags in this situation? Any help you can provide to get the new one able to run VMs would be appreciated. There was some experimentation in https://github.com/adoptium/infrastructure/issues/3347#issuecomment-1973122461 but I would have expected two machines of the same type and processor to support it. Could that have been an invalid assumption?

Are they the same SKU from the same region?

Are they the same SKU from the same region?

The ones we're talking about are the second and third in this list (The first is unused as it was an AMD system that didn't seem to support running the VMs - it seems the third is having the same problem) so they seem to be in the same location and are D16s_v4 (Is that the SKU you're asking for?):

Working machine: dockerhost-azure-ubuntu2204-x64-1 (The -intel one in the portal image above)
Problem machine from this issue: dockerhost-azure-ubuntu2204-x64-2

The build solaris box is up at https://ci.adoptium.net/computer/build-azure-solaris10-x64-1/. Its hosted on dockerhost-azure-ubuntu2204-x64-1. A jdk8 build ran without error https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-x64-hotspot/802/


Add a volunteers tab in the sidebar

From the perspective of a potential volunteer, I'd like to know how to volunteer to help out at the event. Additionally, I'd also like to get accredited for volunteering when I do.
My proposal is to add a "Volunteer" page in the event page that shows how to volunteer for the event, the various roles available to help out with, and a sign up page. When the volunteer signups are closed, there could be a list of volunteers with their profile and organization. It would be even better to include the role of each volunteer, but I can see how that can become hard to maintain the accuracy of.
Another option is to include profiles of the volunteers under "Organizer".

@mariobehling  Can I work on this issue?


Stop wp.customize refresh per field?

I'm using Kirki to get/put my themes custom options, one of which is a master css textarea which is provided in my theme's head via style tag.  I can target that style tag with an id and use cm's getValue() to replace the contents for live editing however moments after my live edit which does show my css changes momentarily, the wp.customize refresh event kicks in and blows out all my live changes and since my option is not using the theme_mod, the fresh doesn't capture my changes.  Does Kirki provide a way, per field to kill the wp.customize refresh event?

Ok, I figured out that if I add:
'transport'   => 'postMessage',
to my field opts it doesn't perform the refresh.


Docker/deploy improvements

I am just dropping a list of ideas/improvements. If some of these don't make sense please push back! There is a big demand for conference software happening. If we can make ion the easiest SFU to deploy (and the most perfomant) this could be really great for the project :)
When these are solved I will post on Reddit/HN/Twitter and we will see a great response.
Use LetsEncrypt
When everything comes up we should make cert generation easier.
Host pre-made images in Dockerhub (done)
Users shouldn't have to build anything locally. We should continue to make local development easy though!
Use SetNAT1To1IPs
Pion supports setting your Public IP in the config. We need to do this because the service is running in a container (and does not know the host IP). We can script this so a user doesn't even have to do anything, we will just autoset this on startup by using a service like 'whatismyip'.
Use SetEphemeralUDPPortRange (done)
Since ion doesn't have access to any of the hosts interfaces it can't get any inbound traffic. We should expose a range of UDP ports, and then use SetEphemeralUDPPortRange to make sure pion/ion only listens on the range that are exposed by the host operating system.

100% agree！
I can do SetEphemeralUDPPortRange , now i need a best port range

Should I close this？

Sorry forgot to close! I will keep working on deploy improvements to make it easier, I think it will get a lot more people pulled in the easier it gets.
I think Heroku/DigitalOcean have stuff that can auto-deploy just from a URL, will look into it.

Thanks，and the web container is too big


Branch mc/crs-50-helm-chart + mc/tls-cert-init-container-refactoring

Description
For testing purposes.
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change

change me!

/test all


Link to page about  performing data operations

@DAXaholic : Thanks for your contribution! The author, @ecfan, has been notified to review your proposed change.

@DAXaholic Hi Aaron, thank you so much for your contribution! Looks good, so signing off.
@MicrosoftDocs/apex-docs-pr-reviewers #sign-off


[Go] array.String.Value is unsafe

Describe the bug, including details regarding any error messages, version, and platform.
String.Value slices a backing string:
func (a *String) Value(i int) string {
	i = i + a.array.data.offset
	return a.values[a.offsets[i]:a.offsets[i+1]]
}

Which points directly into the buffer data:
	if vdata := data.buffers[2]; vdata != nil {
		b := vdata.Bytes()
		a.values = *(*string)(unsafe.Pointer(&b))
	}

This seems OK when the buffer is Go-allocated since the GC will take care of it (regardless of Release/Retain). But when the buffer is C-allocated (e.g. C Data Interface, mallocator), if the string outlives the array, we have a dangling pointer!
I believe we should copy the string (and frankly, get rid of the unsafe here) to be safe (which also has the side effect that getting a single value out of an array will no longer keep the entire backing array alive). If the extra garbage is an issue, we should consider some sort of string view type.
Component(s)
Go

take


How to set the download location for file downloads?

What are you trying to achieve? (Expected behavior)
I want to set a download location when a page starts to download a file after following a link.
A page that I am tracking, sends a file to the downloads folder. I do not know the file name at that time.
How can I get the pushed file from its download location and filename?

Php-webdriver version: Latest
PHP version: 7.1

@petericebear Hi, the Download dialog is out of Selenium reach and as far as I know, it cannot be reliably controlled.
However, there are some browser-based settings, which may set the browser behavior and the destination folder.
Have a look at https://stackoverflow.com/questions/40654358/how-to-control-the-download-of-files-with-chrome-selenium-and-python - the is about Python bindings, byt you can similarly use https://github.com/facebook/php-webdriver/wiki/ChromeOptions  to pass the configuration options with php-webdriver.


Flutter Web App is Blank on Safari

The deployed Flutter Web App works perfectly on Firefox, Microsoft Edge, and Chrome but is blank on Safari. It is blank on Safari regardless of on a Mac, an iPhone, or even emulated iPhone where the actual app works. I tried to delete the font weights using bold (suggested in #35982) and deleting Cupertino icons and fonts (suggested in #39259) to no effect.
The error logged in Safari Console:
[Error]
$0 (main.dart.js:34302)
aWS (main.dart.js:4369)
aXa (main.dart.js:4371)
$1 (main.dart.js:33185)
aYZ (main.dart.js:2806)
(anonymous function) (main.dart.js:2814)
When clicking on $0 (main.dart.js:34302) it says the error is here:
P.ayb.prototype = {
$0: function() {
var s = H.d(this.a)
s.stack = J.b9(this.b)
throw s
}, <-----------------------------------------------------the console shows that the error is here?-------------------
$S: 0
}

Hi @suhmeanhuck
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

@suhmeanhuck try running with --profile flag so you can post unminified stack traces, it will help narrow issue down.

I think I have narrowed the issue down to Firestore. When I comment out cloud_firestore: ^0.16.0+1 package and take it out of my project, Safari shows the correct home page again instead of the blank screen. I tried to update Cloud Firestore and fix all of the dependency conflicts, but even after updating everything there wasn’t a way to resolve all of the versioning issues. Now I am going to try downgrading Cloud Firestore to the version before the Invertase team took over the project, because Safari was previously working for the app.
Flutter Doctor -v report:
[✓] Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.5 19F101, locale en-US)
• Flutter version 1.22.0 at /Users/redacted/Downloads/flutter
• Framework revision d408d30 (5 months ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/redacted/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] Connected device (3 available)
• iPhone 8 (mobile) • D0C7B53E-F48C-41CA-804D-2FB21EF32023 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.192
• No issues found!

• Framework revision d408d30 (5 months ago), 2020-09-29 11:49:17 -0700

Your Flutter version seems a bit outdated as well, please make sure to upgrade.

When I comment out cloud_firestore: ^0.16.0+1 package and take it out of my project, Safari shows the correct home page again instead of the blank screen.

If you are 100% that this is a Firestore issue I think you can close this and file a new issue in the appropriate repository.
Thank you

Downgrading Cloud Firestore actually didn't work. Last time I had tried to upgrade my Flutter and I couldn't make it work that time even after trying to resolve all of the "version solving" issues. This time I kept on restarting and invalidating the caches in Android Studio and even at one time no flutter commands would even work, but after downloading a new flutter package directly from the site it somehow finally allowed me to upgrade. After the upgrade the site did start working on Safari again.

Two things that could help run flutter web on Safari-based browsers.

Rendering with HTML may help flutter build web --web-renderer html --release
(Firebase/FCM) Check for support before requestingPermissions will definitely help FirebaseMessaging.instance.isSupported()

Thanks.

I have the exact same issue with the latest Flutter stable 2.2.2, but I don't use Firestore at all...
Blank screen appear on Mac's Safari, but no problem with Android or Windows. I don't know yet for iOS.
Html renderer did not help, but I suppose that is the default renderer for web desktop anyway.
Here are my dependencies:

dependencies:
flutter:
sdk: flutter
auto_route: ^1.0.2
dio: ^4.0.0
flutter_dotenv: ^4.0.0-nullsafety.0
flutter_markdown: ^0.6.1
flutter_riverpod: ^0.13.1+1
flutter_svg: ^0.21.0-nullsafety.0
freezed_annotation: ^0.14.1
get_it: ^7.1.3
getwidget: ^2.0.1-nullsafety.4
intl: ^0.17.0
json_serializable: ^4.1.0
sendgrid_mailer: ^0.1.3
url_launcher: ^6.0.3

Do you know how I could identify the cause of this bug?

Mesmo problema
dependencias :
dio: ^4.0.0
http: ^0.13.1
date_field: ^2.0.1
intl: ^0.17.0