[DC-281] Update circle puppeteer image to non-deprecated next-gen image

Our current circle config is using a deprecated convenience image:
https://discuss.circleci.com/t/legacy-convenience-image-deprecation/41034
This PR updates the image to a supported image.

Actually, should we change the main node image to the cimg too? For consistency of env? I'm concerned the node version could get out of sync otherwise.

I rolled this into https://github.com/DataBiosphere/terra-ui/pull/2906 as well fyi

(You'll need to get rid of the user override)

@zarsky-broad We're good to merge this?


[11.x] Checking for duplicate migration filenames

Laravel allows use multiple directories for migration.
If the file names are the same, then Laravel will perform only one migration (which it will choose randomly), the second migration will not be performed. No errors or warnings are shown. There is a risk that migrations will be lost.
This pull request checks the names of migration files for uniqueness and does not allow migrations to run until all file names are unique.

We use several directories for migration in our project.
app/Service/Service1/Migrations
app/Service/Service2/Migrations
app/Service/Service3/Migrations
...

During the refactoring process, we encountered a situation where a migration with the same name but different content ended up in different directories.
When running migrations, due to the same file names, one of them was completed, but the second migration was not launched (and will never be launched again, because the migration with this name is marked as completed in the database). This patch was made to prevent such a situation.
The idea of marking migrations as completed in the database based on the file name is very excellent; this allows us to painlessly move migrations from database/migrations to separate service folders.
An example of migration files with the same names; you can put them in your project in different migration directories and run them. Only one migration (randomly selected) out of three will start.

Suggest just not having duplicate names.

@taylorotwell You probably misunderstood the meaning of my pull request.
That's exactly what I'm trying to do, which is to prohibit the use of duplicate names. I cleared out the duplicates once, but I can't guarantee that in the future someone won't accidentally add them again and Laravel won't process the migrations correctly and the database structure will break.
When incorrect system behavior occurs, you need to fix the system itself, and not believe in miracles that a known bug will not appear again.


Update package to follow organization standards

This patch updates the package to follow current ZF standards. Among other things:

Imports all support docs, and renames repo to zend-diagnostics
Use PSR-4 directory structure
Use zend-coding-standard for CS checks
Use phpunit 5/6/7 insted of 4/5

No custom bootstrap necessary
use namespaced TestCase
migrate setExpectedException to expectException
migrate getMock to createMock
use ::class notation everywhere

Use consistent license docblock everywhere
Adopt lowest/locked/latest test matrix

Additionally, it splits the README.md file into actual mkdocs documentation.

Finally have tests passing. What the matrix highlights is:

We need to be using recent versions of Guzzle. The ability to test against version 3, version 4, and version 5 is brittle, and version 6 is incompatible with previous versions. Since guzzle is only used for purposes of verifying page availability, we can likely bump the version at this point. (The fact that we get abandonment notices for the guzzle dependencies we DO install is a good indicator we should switch!)

We should likely have separate test cases for features such as redis, memcache/memcached, PDO, and Doctrine migrations support. The latter, in particular, was problematic as newer versions rely on newer versions of ocramius/proxy-manager, which rely on newer versions of ocramiux/package-versions, both of which use PHP 7.0+ features. This means that PHP 5.6 MUST currently be used to generate the composer.lock file, as package-versions is a Composer plugin, and the incompatible syntax causes errors on installation otherwise.

TODO:

[ ] Publish docs to gh-pages branch
[ ] Register component with zfbot


Fix generation of action messages

This fixes the generation of the action-related messages.
One thing I'm not too sure is that the code gets base_name from short_name while for other types of messages we use actual_name. I kept it as it was in the commented code but I guess it make no difference for actions? (As far as I can see the distinction only matters for services).
We might want to change the automatic generation of the repository URL. Currently it assumes the package lives under github.com/TimWhiting.

Good catch on the repository URL. I just pushed a fix to that and another issue I found. I'm not sure about when to use base_name and short_name, if we find issues with it we can change it.


bugfix: only set signer name when not nil in order to prevent panic.

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

/kind bug
What this PR does / why we need it:
only set signer name when not nil in order to prevent panic.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/lgtm


Apps doesnt load or open

https://paste.crdroid.net/epCRRt
time:<PHONE_NUMBER>003
msg: com.google.android.gms.dynamite.DynamiteModule$a: No acceptable module com.google.android.gms.cast.framework.dynamite found. Local version is 0 and remote version is 0.
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amarullz.androidtv.animetvjmto/com.amarullz.androidtv.animetvjmto.MainActivity}: java.lang.RuntimeException: s4.d: com.google.android.gms.dynamite.DynamiteModule$a: No acceptable module com.google.android.gms.cast.framework.dynamite found. Local version is 0 and remote version is 0.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3993)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4173)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2595)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8594)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:863)
Caused by: java.lang.RuntimeException: s4.d: com.google.android.gms.dynamite.DynamiteModule$a: No acceptable module com.google.android.gms.cast.framework.dynamite found. Local version is 0 and remote version is 0.
at s4.a.a(Unknown Source:56)
at com.amarullz.androidtv.animetvjmto.MainActivity.onCreate(SourceFile:463)
at android.app.Activity.performCreate(Activity.java:8978)
at android.app.Activity.performCreate(Activity.java:8956)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1532)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3975)
... 13 more
Caused by: s4.d: com.google.android.gms.dynamite.DynamiteModule$a: No acceptable module com.google.android.gms.cast.framework.dynamite found. Local version is 0 and remote version is 0.
at com.google.android.gms.internal.cast.f.a(SourceFile:72)
at s4.a.(SourceFile:130)
at s4.a.a(Unknown Source:47)
... 18 more
Caused by: com.google.android.gms.dynamite.DynamiteModule$a: No acceptable module com.google.android.gms.cast.framework.dynamite found. Local version is 0 and remote version is 0.
at com.google.android.gms.dynamite.DynamiteModule.a(SourceFile:680)
at com.google.android.gms.internal.cast.f.a(SourceFile:5)
...

download
https://bit.ly/3TyLBMS
I put the necessary dlls in the archive

@amarullz
Any solution perhaps?
It seems it's because of the Google Cast coimmit that was added that is not compatible with lots of devices.
The error you're encountering indicates that the Google Cast Framework Dynamite module is missing or unavailable, both locally and remotely. This commonly happens when the app expects a certain Google Play Services module, but it's either not installed or is an incompatible version

Same problem here. Was any solution found? I've been unable to use the app as it auto closes upon launching it

@kwatik @Luxocell
I build my own working app, you can try it until it's fixed in a later version.
https://nch.pl/s/DNHnBFrm9yXZ3Pm

@amarullz
Any solution perhaps? It seems it's because of the Google Cast coimmit that was added that is not compatible with lots of devices.
The error you're encountering indicates that the Google Cast Framework Dynamite module is missing or unavailable, both locally and remotely. This commonly happens when the app expects a certain Google Play Services module, but it's either not installed or is an incompatible version

I fix the problem by flashing google core
App won't work on vanilla build ROM hopefully in the future support custom ROM without google service

update to latest stable


Handle channel feed URLs

Example URL: https://www.youtube.com/feeds/videos.xml?channel_id=UCBcRF18a7Qf58cCRy5xuWwQ
There might be something similar for playlists.

Fixed.


using export_openmvs

Traceback (most recent call last):
File "bin/opensfm", line 34, in
command.run(args)
File "/home/alex/Documents/openSFM/OpenSfM/opensfm/commands/export_openmvs.py", line 27, in run
self.export(reconstructions[0], graph, data)
File "/home/alex/Documents/openSFM/OpenSfM/opensfm/commands/export_openmvs.py", line 43, in export
image_path = udata._undistorted_image_file(shot.id)
NameError: name 'udata' is not defined
what's wrong with it??

Hi,
Thanks for reporting the bug. It has been fixed on latest master here : https://github.com/mapillary/OpenSfM/commit/ff1cad80b287a6153e4c0a6972dc7f745cbcfee0
Let me know if that fixes your issue.
Yann

sorry for being late reply. I followed the instruction and export .mvs file.But when I use OpenMVS to deal with this .mvs file, always failed to continue to get the result.It seems smething wrong with this file
scene.zip

Hi @tub-sgg , it probably have been fixed here : https://github.com/mapillary/OpenSfM/pull/713


Some small issues

New article form: the fields overlap when using Firefox ( FF 35.0.1, Ubuntu 14.04 LTS)
When I use firefox to create new article, the fields of the form overlap a bit. See the screen-shot:
http://screencloud.net/v/zS7o

New article saves a draft always even if I didn't enter any thing.

Browser back button
scenario: new article -> click back button -> the url changes to http://www.manshar.com/articles/new, but it keeps coming back to http://www.manshar.com/articles/SOMEID/edit (this also keeps creating new drafts, as mentioned in the previous point)

http://www.manshar.com/articles/WRONG_ID/edit -> should show not found msg or something like this.

Go to an article and refresh the browser, the page comes out like this:

First, the side menu opens with an empty page, after a bit it closes.
Then, the placeholder page appears, which I guess has the template but not the information yet (at this point I can see something like بقلم: غير معروف).
After loading, the intended page comes out.
%% I guess showing a loading indicator or something like this and not opening the side menu would be more convenient. Or server rendering would be cooler.

One can notice that to load an article page 12 XHRs are issued (in case the user is logged in) which is too much. I am wondering, why do you need an OPTIONS req for each.

Nice hunts :+1:

Thanks @qjouda
Will investigate firefox bugs, we have few bugs already open for Firefox.
Autosaving a non-dirty article will be fixed in the next push.
All other points are valid and we'll be working on fixing them, thanks for pointing them out :bow:
OPTIONS requests are made automatically by the browser when doing cross domain requests. Luckily they're heavily cached by the browsers so they will not be called again after the first time. The browser just needs to make sure this domain can make cross domain requests to the other. It might be worth investigating using a single domain with a path for apis instead (I think @mshamma mentioned something like that). But for now there are more urgent matters for performance that we're looking into.
Great points!

Auto-saving should only run on dirty check now.

Cool. For the OPTIONS, it was my bad, I had the cache disabled so OPTIONS was firing every time!

Yup. Fell in the same mistake and had to investigate myself 😊
On Tue, Feb 24, 2015, 3:53 AM Qusai<EMAIL_ADDRESS>wrote:

Cool. For the OPTIONS, it was my bad, I had the cache disabled so OPTIONS
was firing every time!
—
Reply to this email directly or view it on GitHub
https://github.com/manshar/manshar/issues/172#issuecomment-75743442.

New design should have touched on some of the issues in this. Will file separate bug for the not-found page.


Improve Unfolder (MaybeT m)

Previously, choose for MaybeT m would build a list
of Maybes within the Monad and then find the first
Just. Building such a list is pretty much never optimal.
Instead, run the monadic actions one by one, discarding
Nothings. Once a Just is reached, use mapM_ to run
the rest of the actions without saving the results.

Avoid using head for Unfolder [].

This all seems a bit weird for MaybeT. Why do we run all the actions after we hit Just, when asum would short-circuit?

Hmm, the comment says Derived instance, so I'd think I just copied over what I thought asum would do. It's 4 years ago, maybe I made a mistake, or maybe the Alternative instance of MaybeT changed in the mean time?


ITLDG.DocImageDownload version 1.0.0

Checklist for Pull Requests

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

Manifests

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

[x] Does your manifest conform to the 1.6 schema?

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

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-06 03:20:55.993 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-06 03:20:55.993 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

Need help, where is the problem?

/azp run

@stephengillie  Need help, where is the problem?

Successfully reproduced.

I'm the same, I don't know why I can't pass

According to https://github.com/microsoft/winget-pkgs/labels/Validation-Defender-Error , it seems this package cannot pass Microsoft Defender SmartScreen. There's nothing we (and also collaborators of this repository) can do.

According to  Validation-Defender-Error , it seems this package cannot pass Microsoft Defender SmartScreen. There's nothing we (and also collaborators of this repository) can do.

I tried to submit the detection in the following url
https://www.microsoft.com/en-us/wdsi/filesubmission/
File upload failed - please try again.
Is there anything else I can do

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-07 18:00:39.521 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

According to  Validation-Defender-Error , it seems this package cannot pass Microsoft Defender SmartScreen. There's nothing we (and also collaborators of this repository) can do.

I tried to submit the detection in the following url
https://www.microsoft.com/en-us/wdsi/filesubmission/
Is there anything else I can do

Filling out that form is the only action that can be performed at this point, to my knowledge. Along with ensuring the form was submitted and the package reviewed. There should be a webpage with testing details. I haven't performed this process, but many other community members have.

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-09 12:29:51.551 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-12 16:31:09.168 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

/azp run

Automatic Validation ended with:

No errors to post.

(Automated response - build 887.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-13 14:33:24.606 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-14 15:37:56.896 [FAIL] Installer failed security check. Url: https://github.com/itldg/DocImageDownload/releases/download/v1.0.0/DocImageDownload.zip Result: 0x80004005

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

/azp run

Verify:

Unfortunately, this VM is not prepared to display the characters from this application.


MUMUP-2155 : Friendly zero search results

When the user searches and finds zero search results,

Clearly state that no results matched
Suggest ways to recover

Suggestions implemented in this changeset:

dropping the category filter, iff matching results are hidden by the category filter,
showing non-launchable matches,  iff matching results are hidden by the "Show all" filter
searching in the directory, with a link that carries along the active query string
searching in UW Madison web search, with a link that carries along the active query string
searching in the KB, with a link that carries along the query string
asking the Helpdesk for help
submitting feedback about MyUW search

Screenshots
Basic suggestions

When Show all would help, suggest it

When All Categories would help, suggest it

(this screenshot is messed up somehow, but this feature does work.)

Overall thought is :+1: for improved 0 state experience. Good easy win. Could be better for other adopters. Noted some comments inline with suggestions about using app-config.js.

Before putting any more effort into this should we wait for the design sprint for search to be completed?

:+1:

I figure this makes the existing no-search-results experience better, more user recoverable, as a quick win, and then following up on the search design sprint, search can continue to get more better.

Now configured via MISC_URLS, with graceful degradation. Adopters can support many or few no-search-results recovery options, and can even configure away the "wisc.edu" characterization of the Web search option.

This is beautiful. Probably want to rejigger the wording a bit at some point (e.g., "domain").


Added restrictions: topserver and topcommands should be botadmin only, other debug commands should be owner only.

maybe too late but still... as sidenote, if change is from admin to owner only, help description should be changed too, case by case

Don't forget topcommands and topservers

@SoggySaussages that is already covered in the PR.

Don't forget topcommands and topservers

@SoggySaussages that is already covered in the PR.

Kewl, blame GitHub mobile cause not showing up for me :)


⚠ Boutique - Ascentia has degraded performance

In 6cfc0f4, Boutique - Ascentia (https://store.ascentia.fr/) experienced degraded performance:

HTTP code: 522
Response time: 15654 ms

Resolved: Boutique - Ascentia performance has improved in 2ec55a7 after 6 hours, 24 minutes.


Added command for python3.8 and added env name placeholder

Based on the slack message from @mm12063 that it would be better to use "python3.8 -m venv env_name"
and added env_name as a placeholder for consistency

Thank you Aditya for confirm the venv change.


Error: Cannot resolve module 'reflect-metadata'

I'm using the yeoman generator to scaffold a project with the angular template.
Seems like a module is missing. (Used in boot-client.ts)
Opening package.json, adding  "reflect-metadata": "^0.1.8", running  npm install and then webpack  will fix the issue.

Thanks for reporting this.
It turns out that with the latest 3rd-party modules (e.g., Angular 2.0 final) we no longer need any explicit reference to reflect-metadata, so I've removed it from the current templates.


no change in windows 10

Hi i installed your package and restarted sublime, but no change happened. what do i do?

Do you have Materialize instaled already? The Appbar is just an addon for the themes you get from installing Materialize.

Ok thanks

Were you able to get it working after installing Materialize and using one of the themes from it? If so, let me know and I can close this issue.

it is work, So thanks


[Telemetry Manager] Improved linter setup

Description
In the past refactoring happened too late sometimes and code flaws sneaked into the source. In order to improve this, we like to add more linting.
Criterias

Have an improved setup of our linting jobs by adding more rules, especially regarding code duplication, complexity and naming
Job should be mandatory for PRs already
There is an easy way to execute the check local (by make targets)
There is a documented way to suppress findings

Due to the numerous linters (around 90 at the moment), the full-fledged analysis for a codebase can take a noticeable amount of time, leading to disruptions in the development process.
Aiming for instant code style feedback during development, I suggest to group linter analysis into distinct stages:

Instant feedback (a small subset of fast essential linters) to be configured as a file-watcher to react to each file change.

Autofix (an action that auto-fixes the discovered errors and code-style problems) to be invoked on pre-commit (pre-push) git event (never to be performed on the CI side).

Full-fledged analysis (with comprehensive linting coverage) to be invoked on pre-commit (pre-push) and as a guard stage in the CI pipeline.

Active linters

Linter
Description
Suppress

errcheck ⛭
checks for unhandled errors
inline //nolint

exportloopref
finds exporting pointers for loop variables
inline //nolint

ginkgolinter ⛭
enforces standards of using ginkgo and gomega
inline //nolint

gochecknoinits
checks that no init functions are present
inline //nolint

gofmt ⛭
checks whether code was gofmt ed

gosec ⛭
inspects source code for security problems
inline //nolint

govet ⛭
examines Go source code and reports suspicious constructs
inline //nolint

ineffassign
detects when assignments to existing variables are not used
inline //nolint

misspell ⛭
finds commonly misspelled English words in comments
inline //nolint

revive ⛭
comprehensive golint replacement
inline //nolint

staticcheck ⛭
performs static code analysis
inline //nolint

stylecheck ⛭
examines Go code-style conformance
inline //nolint

typecheck
parses and type-checks Go code
inline //nolint

unparam ⛭
reports unused function parameters
inline //nolint

unused
checks for unused constants, variables, functions and types
inline //nolint

asasalint ⛭
check for pass []any as any in variadic func
inline //nolint

asciicheck
checks for non-ASCII identifiers
inline //nolint

bodyclose
checks whether HTTP response body is closed successfully
inline //nolint

dogsled ⛭
checks assignments with too many blank identifiers
inline //nolint

dupl ⛭
checks for code clone detection

dupword ⛭
checks for duplicate words in the source code
inline //nolint

errchkjson ⛭
checks types passed to the json encoding functions
inline //nolint

gci ⛭
checks import order and ensures it is always deterministic
inline //nolint

gocheckcompilerdirectives
checks go compiler directive comments
inline //nolint

goimports ⛭
check import statements formatting
inline //nolint

loggercheck ⛭
checks key-value pairs for common logger libraries
inline //nolint

nolintlint ⛭
reports ill-formed or insufficient nolint directives
inline //nolint

Irrelevant linters
Below is the list of linters irrelevant for Huskies team.

Linter
Reason

bidichk
superseded by stylecheck

deadcode
superseded by unused

execinquery
database/sql package is not used

exhaustivestruct
superseded by exhaustruct

forcetypeassert
superseded by errcheck

golint
superseded by revive, stylecheck

ifshort
deprecated

interfacer
deprecated

maligned
superseded by govet

nosnakecase
superseded by revive

promlinter
github.com/prometheus/client_golang/prometheus package is not used

rowserrcheck
database/sql package is not used

sqlclosecheck
database/sql package is not used

scopelint
superseded by exportloopref

structcheck
superseded by unused

testableexamples
Go Example functions are not used

varcheck
superseded by unused

wastedassign
superseded by inefassign


Optimize Request: Improve code quality.（提升代码质量请求）

Use the SonarLint plugin, FindBugs plugin or other plugin to analysis the seata project.
There will be a lot of code quality problems, even bugs. I hope people who are interested can help optimize the code.
使用SonarLint插件、FindBugs插件或其他插件来分析seata项目源码。
会找出非常多的代码质量问题，甚至是BUG。希望有兴趣的人能够帮助提升代码质量。
在seata的源码中找找茬，提PR参与社区共建。
非常感谢。
the analysis report like this（分析报告如下）:

Nice job.

Nice job.

Nice job.

good

Welcome everyone to participate in contribution, even a meaningful comments for Seata community is also very valuable.


Support C#

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/recbx4TkrFl7nc84m
PRs:

https://github.com/cockroachdb/docs/pull/1991

Related community request: https://github.com/cockroachdb/docs/issues/1888


[ListItemAvatar] Fix & refactor

It didn't work at all - wrong MUI_SHEET_ORDER
If it had worked, the avatar was the wrong size, and the icon wasn't resized
Simplified usage - styles conditionaly aapplied if dense context is true
Updated the error message
Fixed the tests
Simplified the examples

Originally discussed here: https://github.com/callemall/material-ui/pull/6483#issuecomment-291015187

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

The last thing to consider is making this a Proxy for Avatar so you don't have to separately import it, replacing:
<ListItemAvatar>
  <Avatar>
    <Icon />
  </Avatar>
</ListItemAvatar>

with:
<ListItemAvatar>
  <Icon />
</ListItemAvatar>

@mbrookes That looks do to me, regarding your last question, having a ListItemAvatar component sounds fair.


Can't not read a property 'useId' of undefined

Describe the bug
With NativeBase v3.2, run a basic formcontrol example
https://docs.nativebase.io/form-control#formcontrol
and got error, here is the screenshots

I think may be something wrong with useId() hook in
native-base/src/components/composites/FormControl/useFormControl.tsx
L21
const id = useId();

Platform

NativeBase version [3.2.0]
Device: [iPhone8 / 11]
OS: [iOS14.4]
React Native version [0.65]
node [14.17.3]
yarn or npm [6.8]

@su-softusing Can you provide reproducible demo of the issue?

Closing this as we couldn't reproduce it.


Mysql Protocol support

I wonder if someone finished  a mysql procotol. I did a project based on colossus and I need mysql protocol support. If someone finished it, please give me a hand, if not, I would do it.  ^_^

+1

This is definitely on our list of things to do.  Currently we're using plain old JDBC through actors, having native MySQL support in colossus, at least for basic queries, is a priority for us.


Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'."

PS F:\Easit\Systems\Test\bin> Get-EMFConfig -EmfConfigurationName Test
PS F:\Easit\Systems\Test\bin> TerminatingError(): "Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'.""

TerminatingError(): "Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'.""
TerminatingError(): "Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'.""
Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'."
Exception calling "Load" with "1" argument(s): "Could not find a part of the path 'C:\Users\easit\EMF'."
At C:\Users\easit\Documents\WindowsPowerShell\Modules\EasitManagementFramework\0.1.4\EasitManagementFramework.psm1:414 char:13

        $xmlObject.Load($Path)

        ~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : DotNetMethodException

Fixed in PR #89


Mention runtime image library dependencies

Recently some issues came up regarding SVG image support in the runtime, which were traced to the image libraries we depend on. To make our limitations more clear, this PR:

adds a reference to the image library we directly depend on (TwelveMonkeys ImageIO)
adds a specific reference to the SVG library we transitively depend on (Batik)

As the runtime only processes images when an Image object is uploaded, I chose to add this information to the place where this would be most likely encountered: the Image Uploader widget. Do note that this behavior is triggered whenever an Image (which is a specialization of FileDocument) is uploaded. E.g. I think it is possible to do that with a File manager widget as well, but that would be a very non-obvious place to put this content.

Tom Knippenberg is going to have a quick look at this and then I will merge.


[1.3.0]version:when edit the work flow,the selected connecting line has no style change,but the others have get bigger  1.3.0版本工作流编辑时被选中的line样式不变，其他未被选中的line变粗

工作流定义的时候，通过‘’箭头选择器‘’选中line的时候，被选中的line样式不变，未被选中的其他line样式却变粗，而且当鼠标移入变粗了的未被选中的line时，变粗的line又恢复原样，这样的话当我想删除某一条线的时候，我不知道我选中了哪条line

Please update the title in English

When the connection is changed to a Bezier line, when the connection is selected, the total connection path is selected. This is caused by the fill attribute in the svg path. Currently, the fill attribute is not added to the connection when the connection is selected, and it cannot be changed. Interested friends can also study this problem together
连线改成贝塞尔线时，选中连线时是选择的总个连线路径，这个是svg path里面有个fill属性导致，目前选中连线时不给连线增加fill属性，改不了，有兴趣的小伙伴也可以一起研究下这个问题

Solved Method:
First,you can remove all the 'HoverPaintStyle'attribute when the dag init in 'dag.vue'.
Secondly,you should remove all the 'fill' attribute in 'setSvgColor' function in 'dag/source/plugin/util.js' and add a selected color that you want when '.map($(e.canvas)[0].childNodes'.
Method End.
Additional remarks:although cancled the hover style of the connecting line,you can know which line you have selected clearly if you do this.
解决办法：
首先，当dag初始化的时候，你要删除所有的‘HoverPaintStyle’属性在‘dag.vue’文件中。
其次，你要删除‘setSvgColor‘函数中’的所有的’fill‘属性并且添加一个你想要的颜色在‘_.map($(e.canvas)[0].childNodes'的时候在dag/_source/plugin/util.js' 文件中。
方法结束。
补充说明：这样做的话虽然取消了连接线的鼠标悬停样式，但是你可以清楚地知道你选中的是哪条线。

Did you try it locally?

Did you try it locally?
Is the shadow part resolved?

Yes，I did and you can try as my way.
By the way,I can not understand the 'shadow part' you said.

Maybe this is not the best way,but I think

Did you try it locally?
Is the shadow part resolved?

@break60 maybe I know what you mean,the 'shadow part' means the hover style?I remove the hover style like I said above.

Maybe this is not the best way,but I think

Did you try it locally?
Is the shadow part resolved?

@break60 maybe I know what you mean,the 'shadow part' means the hover style?I remove the hover style like I said above.

Try it locally according to your method, it's ok, but I didn't add the distinguishing color, can you pr up?

the current style of the connecting line that I have modified is the same as the 1.2.0 verion

Maybe this is not the best way,but I think

Did you try it locally?
Is the shadow part resolved?

@break60 maybe I know what you mean,the 'shadow part' means the hover style?I remove the hover style like I said above.

Try it locally according to your method, it's ok, but I didn't add the distinguishing color, can you pr up?

@break60

@break60 ok, wait a moment

@break60 ok, wait a moment

👌

@break60 ok, wait a moment

👌

@break60 because there is trouble with my git,I cant not pr up. If it's convenient for you,you can pr up my way for our family.


#3452 - Student landing page

Update the content on the student landing page.

Looks good. Just one minor comment.


Better UI for running the tests

Whichever solution we choose for running the quickstarts, whether via the browser or the command-line, we should have a better UI for running the code. The supporting code for this should be clearly separated from the quickstart code itself, but also easily understood.

One for @dragonmantank maybe?

This is something I've actually started and stopped a few times internally, as we need a consistent way to run all of our code snippets in an automated manner as well. Not only do we use the snippets on the documentation website, but they serve as a first line of checking for SDK updates. I'll leave this open for now, and link to what we end up doing.

One for @dragonmantank maybe?

This is indeed one we are working on internally, as it will be part of our CI pipeline. We'll open source what we can once it's done.


Build CLI utility into app to query roles on a space

Note: before running the below example you must update your env/omega/config.yaml to use a base chain id of 5432, it's currently incorrectly set to the testnet id.
This PR adds a utility to list roles for a space to the stream node binary, using the space's stream id/
Query against HNT Prod town stream id, which I grabbed from our URL:
./env/omega/run.sh list-roles 10c87bb04477151743070b45a3426938128896ac5d0000000000000000000000
Roles for space (10c87bb04477151743070b45a3426938128896ac5d0000000000000000000000):
- id: "1"
  name: Minter
  disabled: false
  permissions:
    - JoinSpace
  entitlements:
    - entitlementtype: RuleEntitlement
      ruleentitlement:
        operations:
            - optype: 1
              index: 0
        checkoperations:
            - optype: 3
              chainid: "8453"
              contractaddress: 0x5d358dd95040a2c2005af0e21e589c3ef0a2500a
              threshold: "1"
        logicaloperations: []
      ruleentitlementv2: null
      userentitlement: []
- id: "2"
  name: HNT Town - Member
  disabled: false
  permissions:
    - PinMessage
    - React
    - Read
    - Write
  entitlements:
    - entitlementtype: UserEntitlement
      ruleentitlement: null
      ruleentitlementv2: null
      userentitlement:
        - "0x0000000000000000000000000000000000000001"
- id: "3"
  name: Admin
  disabled: false
  permissions:
    - PinMessage
    - React
    - Read
    - Redact
    - Write
    - AddRemoveChannels
    - Ban
    - ModifySpaceSettings
  entitlements:
    - entitlementtype: UserEntitlement
      ruleentitlement: null
      ruleentitlementv2: null
      userentitlement:
        - 0x405ad07b01e3366e686f0056bab0f89b091944f3
        - 0x94ada5c41736c7617ddc87e20f8a4d14cff01a6a
        - 0x37ef2847960ae75cc7e2b5597306716f7f1db543
        - 0x2a380774e38cd3b446bd3c128a35f8cba27ee822
        - 0xb93cd6b6c4b65e9a59278dc4e1a45604aeeba7c1
        - 0x0ca59484055a15af016bb8e2e1d1ebd51f16aba8
        - 0xb40f6065a257f738cf7a5163ded42169659f0515
        - 0xb6bac539008f5932dcc2482e1756d5bb9d1b31c7
- id: "5"
  name: CreateChannel
  disabled: false
  permissions:
    - AddRemoveChannels
    - Read
  entitlements:
    - entitlementtype: UserEntitlement
      ruleentitlement: null
      ruleentitlementv2: null
      userentitlement:
        - 0x37603c0bdaa2c6bfaf833f25c584c4e7dfe32350
        - 0x94ada5c41736c7617ddc87e20f8a4d14cff01a6a
        - 0xb40f6065a257f738cf7a5163ded42169659f0515
        - 0x77dc0ae6166fe995633a06abc90d582cb92d9eed
- id: "6"
  name: testing
  disabled: false
  permissions:
    - React
    - Read
  entitlements:
    - entitlementtype: UserEntitlement
      ruleentitlement: null
      ruleentitlementv2: null
      userentitlement:
        - 0x5ea3ffb9d07439c15ea1614abfcb79f95e8d9225

#1165


Add support for externalIds property on the MapsIndoorsMap component

What

Add support for externalIds property on the MapsIndoorsMap component
Implement functionality described in the Jira ticket
Implement design based on: https://www.figma.com/file/y2Bq918f4KKMpIIY7ibSkE/Map-Template?node-id=2839-4366&t=1Gxz5ZCaR0noQVGi-0

How

Add new property externalIds on the map component
Create a new ExternalIds page
Implement logic for showing the external ids page only when having one or more values in the array
Add support for filtering the map based on locations filtered by location ids
Implement logic for resetting the filtering of the map when navigating to the search page

@andreeaceachir142 Reapproved the code. I still have a question to UX about the order of the locations in the list.

Alright, let me know if I can help. @ammapspeople


esotericsoftware introduced breaking change causing masks to not work

Hi guys,
The esotericsoftware team introduced a breaking change by changing a signature of a method from their runtime 4.2.45 to 4.2.56. Now I'm experiencing some issues with masks in all my animations.
On version 4.2.45 we had
clipTriangles(vertices, verticesLength, triangles, trianglesLength, uvs, light, dark, twoColor)  ....

On version 4.2.56 we have
clipTriangles(vertices, triangles, trianglesLength, uvs, light, dark, twoColor) ....

Hey @davidetan is this a known issue?
I was under the assumption that patch versions of spine were not breaking changes, maybe I'm wrong about that?

Hey @davidetan is this a known issue? I was under the assumption that patch versions of spine were not breaking changes, maybe I'm wrong about that?

That should not have happened. There should be the deprecated version of the function, but it's missing. Let me see what happened and I'll be back here with more info.

We just published 4.2.57 where we restored the old signature and marked it as deprecated. Sorry for the trouble and thanks for letting us know!

Thanks guys, tho that particular problem is fixed I still have a problem with masks. I will try to explain as the animator told me it may be related to the endSlot of the mask not working correctly.

That is how the animation looks when the endSlot is working correctly.
Here the animator selected an wrong endSlot as the first one then the result is very similar with the result I have when I import the animation to my project.

Here is when adding that animation to one of pixi-spine examples

Hi guys thanks for that!
Tho that issue is fixed I still have a problem with masks which I believe is related to endSlot.
The animator created an animation where we can reproduce the issue.

Here we expect only the white box to affected by the mask, I'm not that familiar with spine but the animator told me that regarding the drawing order and selecting the endSlot correctly you can achieve that.
For some reason the green boxes are not correctly rendered and are effected by the mask when it shouldn't be.
You can reproduce the issue here

@daserra Just sent a PR: #34
That made me discover another bug. The white square that should disappear, remained stuck in the middle of the jump. The PR fixes also that.
Many thanks for reporting this!

Thank you for the quick fix!

Hi
We have now moved this project to the official Esoteric Software repo for them to maintain. As a result we will be archiving this repo and closing all issues. If you still are having this issue please feel free to open an issue over on the new repo!

New Repo

As for migrating between the projects it should be as simple as swapping out the imports from @pxi/spine-pixi to @esotericsoftware/spine-pixi-v8


Automated cherry pick of #4999: fix: 避免私有云调整配置匹配不到sku

Cherry pick of #4999 on release/2.12.
#4999: fix: 避免私有云调整配置匹配不到sku

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@220b061). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #5002   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     504
  Lines                   ?   85821
  Branches                ?       0
==============================================
  Hits                    ?    5880
  Misses                  ?   79446
  Partials                ?     495

Flag
Coverage Δ

#aFlag
6.85% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/skus.go
1.3% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


Update travisci link

think the travis badge icon works now!

Pull Request Test Coverage Report for Build 39

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.868%

Totals

Change from base Build 37:
0.0%

Covered Lines:
1480

Relevant Lines:
1611

💛  - Coveralls

A welcome fix, thanks!


Dash bootstrap components doesn't work?

Hi,
I attempted to embed a dl.Map within a dbc component, but unfortunately, it doesn't appear to be functioning as expected. I'm wondering if there might be any compatibility issues between the dash-leaflet and dash-bootstrap-components libraries that could be causing this?

I am not aware of any general incompatibility with dbc components. However, it is a known issue that the Map component doesn't work if it is rendered in a non-visible component (e.g. a tab). Maybe that's the issue you are seeing? To know for sure, I would need to see the actual code (i.e. a small, runnable example that demonstrates the issue).

My mistake, it actually works. I'm posting a work example here (Dash-Leaflet Marker Clustering):
import dash
import dash_bootstrap_components as dbc
import pandas as pd
import plotly.graph_objs as go
from dash import Input, Output, dcc, html
from sklearn import datasets
from sklearn.cluster import KMeans
import dash_leaflet as dl
import dash_leaflet.express as dlx

app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = dbc.Container(
    [
        html.H1("Title"),
        html.Hr(),
        dbc.Row(
            [
                dbc.Col(html.H5("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"), md=4),
                dbc.Col(dl.Map([
        dl.TileLayer(),
        # From in-memory geojson. All markers at same point forces spiderfy at any zoom level.
        dl.GeoJSON(data=dlx.dicts_to_geojson([dict(lat=-37.8, lon=175.6)] * 100), cluster=True),
        # From hosted asset (best performance).
        dl.GeoJSON(url='assets/leaflet_50k.pbf', format="geobuf", cluster=True, id="sc", zoomToBoundsOnClick=True,
                   superClusterOptions={"radius": 100}),
    ], center=(-37.75, 175.4), zoom=11, style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"}), md=8),
            ],
            align="center",
        ),
    ],
    fluid=True,
)

if __name__ == "__main__":
    app.run_server(debug=True)


cleaned the createQrl code

What is it?

Infra

Description
This PR should make the complicated code of createQrl a little bit easier to follow.
Renamed the invokeFn as it doesn't really mean what you think it means...
and sorted the functions based on their order of their invocation, so it'll reduce the "scroll fatigue" caused by scrolling down and up multiple times just in order to follow the complicated timeline as if it was the movie pulp fiction o something... 😅
Checklist

[x] My code follows the developer guidelines of this project
[x] I performed a self-review of my own code

ReferenceError: Cannot access 'NEEDS_COMPUTATION' before initialization


allow to use Rails resolvers as Liquid filesystem

In my project I'm using several resolvers, some of them just insert views from external gems and at the front is a panoramic resolver which tries to lookup view from database.
None of above worked for liquid include tag, so I've created another Liquid FileSystem class that will utilize original rails resolvers to fetch proper view.
Right now I haven't set it as a default FileSystem, but I strongly advise for that move.

+1 for this! Thanks, @lowang!

This is a fantastic change. What can we do to help get this merged into master?

Thanks everyone. I've integrated into master branch.


Tatoeba evaluation scripts

Hi! Thanks for the code.
While downloading the tatoeba dataset, it is processed and saved in the below format in utils_preprocess.py

However, while evaluating, the data files are retrieved in the original name format in (run_retrieval.py)

One more clarification - The prediction files obtained are 0-based indices of sentences in the actual label files right?

Just to add, upon checking, the files that end with "en" don't seem to have the correct sentence alignments (checking Thai-English), whereas the original "eng" ones do.

cc @JunjieHu

@pruksmhc that is to avoid submitting gold labels as prediction files afaik; that is why in utils_preprocess.py they sort the english files. However I am unable to reproduce tatoeba results after separately downloading gold label files

How can we compute the accuracy for Tatoeba? It seems the run_retrieval.py only generates the predictions but no evaluation score is computed.

The tasks are only intended to be evaluated on our side as part of evaluating a submission on the leaderboard. That's why run_retrieval.py does not compute the accuracy directly. Closing this for now.


issuance/revocation transaction status not being updated

revocation transaction doesn't feedback to the UI that it is complete

closed with #44


python311Packages.pwntools: 4.11.0 -> 4.11.1

Changelog: https://github.com/Gallopsled/pwntools/releases/tag/4.11.1
Description of changes

Things done

Built on platform(s)

[ ] 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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

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

6 packages built:

adenum
pwndbg
pwntools (python311Packages.pwntools)
pwntools.dist (python311Packages.pwntools.dist)
python310Packages.pwntools
python310Packages.pwntools.dist


Make localdevstorage compatible with Python 3

Hey Benjamin,
this PR should make localdevstorage compatible with Python 3.
So far I tested the HTTP backend  manually against Python 2.7 and Python 3.4.
Obviously tox and an extended testsuite would be nice, but I first wanted to check if you are interested in Python 3 compatibility.

Any way this could be merged? Would be very useful for us...

@anrie great, thanks. It's true that tests would be great. I don't really use this project myself anymore, hence the less-than-great (to say the least) maintainership

@anrie thanks again for your code and sorry for the taking so long to merge it in. I wrote a few tests and set up travis-ci to test it with Python 2.6/2.7 and 3.3/3.4

@piquadrat Just out of curiosity: Why aren't you using localdevstorage anymore?
For me it's one of these small helper apps I stumbled accross and I really wouldn't want to miss.
Thanks that you took the time for a new release!

@anrie just a different job that doesn't involve any uploaded media at all :)


[FLOC-1356] Quickstart version numbers

Fixes https://clusterhq.atlassian.net/browse/FLOC-1356
This could / should also be merged into #1118

Note that this fixes part of https://clusterhq.atlassian.net/browse/FLOC-1307?jql=text ~ "release process" and status !%3D done (for which you have another PR in design review).

This seems to work for all instances of the version number both with and without JavaScript, thanks.


3DMark 2001

Crashes after nature test according to CME

car chase high detail performs much worse with d8vk

60443 points with wined3d vs 82050 with d8vk 💪 :D

Crashes after nature test according to CME

Retested with 0.10/latest master. On a full suite of tests it will consistently crash after the Fill Rate (Single-Texturing) test, with the following error:

It's not a problem with the test itself, because if you run it individually it works just fine, but rather with running multiple tests in sequence. After this error shows up no tests will run in 3DMark until you've restarted it, otherwise you'll see this error on each benchmark start attempt, regardless of chosen tests.
I've attached the error.log file for reference: error.log

car chase high detail performs much worse with d8vk

I've had a look at a trace, and I believe this is due to the atrociously high fixed function lights which are being set in particular frames (since we're not currently caching those).

I have the distinct feeling whatever problem d8vk is hitting in the 3DMark High Detail Car Chase is the same as the one that can be observed in the "Water" D3D8 SDK sample app. Modes 1 to 4 of the sample (that appear to be using FF lights) perform abysmally, where as mode 5 (which appears to not use any lights) does not. My assumption may be wrong, but the sample app may still be useful in figuring out what is going on here.

car chase high detail performs much worse with d8vk

I've had a look at a trace, and I believe this is due to the atrociously high fixed function lights which are being set in particular frames (since we're not currently caching those).

Whatever it was, looks like it's been fixed by storing DEFAULT buffers in MANAGED :tada: .

D8VK wrongly loads in memory each test (without clearing or reused memory from before, as that is what should normally happen here), assumes that every test is a new app, but it isnt... this goes like array in a single process, it is not a new app, it is the same app. Without handling that, this will grow and grow until It reaches 2GiB 32bit limit or about 3GB VM size and then normaly go out.,,, whenever that happens.

Hmm, yeah, it does appear to run out of memory, I don't remember it doing that originally, which is weird cause we shouldn't be leaking refs anymore.

What's weird is that I don't see a lot of activity on the vidmem or sysmem heaps on the HUD. It's possible there's no leak and allocations are failing for some other reason. Apparently it fails on the 10th test no matter what you pick.

And D3D9 DXVK probably have to fix water to move in Advanced Pixel Shader test, that static water looks like some sort of shader issue. Happens with d3d8to9 too, so it is an d3d9 issue.

The water shader is now fixed as of 4a7c627e3dc7d706916b870cd1e15f510c3951fd.
No news on the memory leak but at least it's easy to work around for now.

The memory leak/crash between tests appear to have been sorted by bd394b8, however there are still some issues to be fixed. I got this error right after the DOT3 bumpmap test now:

Everything looks fine now for me on RADV.
So, i guess DOT3 crashing @WinterSnowfall must be something driver dependant. So maybe check it out if it just on nvidia or intel driver or so.

BTW, i run this inside Wine virtual window and default set, so was with something like:
WINE_D3D_CONFIG="renderer=gdi" wine explorer /desktop=3DMark2001,1024x768 3DMark2001SE.exe /nosplash
Maybe you are doing something different, with different res or so... then crash could happen, on changing res or something due to that...

WINE_D3D_CONFIG="renderer=gdi" wine explorer /desktop=3DMark2001,1024x768 3DMark2001SE.exe /nosplash

Thank you for the suggestion, but that didn't help. What Wine version are you using?

WINE 8.0.1, mesa git, this artifact https://github.com/AlpyneDreams/d8vk/actions/runs/4911518631
Tried it again, but no i cant reproduce it on RADV.

As I suspected, the latest versions of Wine apparently mucked something up. I tried it on Wine 8.1 and that it works perfectly, so I guess we can close this now.

In my case dont allow install only show this message and console dont show anything rare


Switching devices when deep linking does not go to the selected story

After a story other than the default one is selected, if the user switches devices, the new device does not automatically navigate to the currently selected story.

:rocket: Issue was released in v1.0.5 :rocket:


Various updates to CI

The changes included here, at a 10,000 foot view:

An overhaul of how tests are ran on Amazon Linux 2 on aarch64 platforms. An adjacent git repo (not shown here) also includes a lot of work to make this happen. Basically, we relied on a "pool" of CI runners to sit and wait idle until a new job came through. Now, CI runners are launched ad-hoc, for as many runners that are needed with or without a matrix. This also allows for the re-run of individual failed tasks if required, whereas before this simply would not work
Re-introduces sccache back into the runs. Previously, PL/Rust and some required dependencies flat out not work with sccache. However, those issues have been addressed
Introduces a nightly run setup, which for now does two things: 1.) Tests to make sure that the Dockerfile.try setup works as per the documentation, and 2.) Tests that the Debian packages can be both built and installed. These will be ran nightly against the develop branch, and we can certainly add more to it in the future

NOTE: The nightly CI runs will not happen until these changes eventually land in main on next release.

@eeeebbbbrrrr
That's understandable, and also why I put a bunch of discussion comments above as to maybe take away some of the mystery. Also, we can use the actual CI runs/checks here as a guide as to whether or not this works properly.


Update to cranelift 0.86

👋
The latest version of cranelift has had some API changes. This PR updates it to the new API.
It makes it easier to switch to the current master for testing.

Thanks! I missed that it was already released. I already had a branch for once it would be released. I will merge this PR once CI passes.


Update ADOT to v0.39.0

Description of changes:
This PR updates ADOT from version v0.36.0 to v0.39.0.
Upstream source of truth:
Upstream GIT_TAG: https://github.com/aws-observability/aws-otel-collector/releases/tag/v0.39.0
Upstream HELM_GIT_TAG: https://github.com/open-telemetry/opentelemetry-helm-charts/blob/opentelemetry-collector-0.87.0/charts/opentelemetry-collector/Chart.yaml#L14
Explanations of changed patches
Fixed merged conflicts and renamed files to .patch
Test:
Changes were tested on Kubernetes version 1.29 by doing Helm install of the updated chart.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm
/approve
/woof


I am just using serverless first time for a project. Can you check I am doing it right?

Hi Umihiko,
I have updated the serverless.yml file from your repo and also a little updated the Dockerfile (both files can be viewed here). This is tree structure of my directory:

Both lambdas are deployed and working. And I will add more scrapers in a similar pattern.
Do you think my Dockerfile and serverless.yml are okay? or else if you can suggest necessary updates?
Also:

Is the s3 bucket, serverless creates, is usable in my case?
And is there a way to tell serverless not to create the bucket?
Each time I run sls deploy, it recreates all images.
How should I tell it to not recreate images for scrapers which have no updates?
Its image details and function details are written in separate sections (as you see in the serverless.yml file I attached).
How to tell it to only deploy function (e.g.) china_post and not the aramex (bcz it was deployed in the previous run)?
or will mentioning the function name (by using some argument at deploy time) will stop serverless to recreating the image for china_post? because the image details are written separately under ecr section.
Each time I deploy, instead of overwriting the previous images, it creates new ones and removes the tag from the previous ones. I want to make sure, I get only one image for each scraper. if you know how to do that?

You can use shared one image and just need to change command.
functions:
  func1:
    image:
      name: latest
      command: "aramex.handler" # here
  func2:
    image:
      name: latest
      command: "china_post.handler" # here

You can use cacheFrom to decrease building time probably.
I recommend to read basic documents first.
https://www.serverless.com/framework/docs/providers/aws/guide/functions
https://www.serverless.com/framework/docs/providers/aws/cli-reference/deploy-function


supabase/ssr v0.0.9 setting authRefreshToken to false breaks package

I am using Supabase with Next JS and have the following function:
import { createBrowserClient } from '@supabase/ssr'

const createSupabaseBrowserClient = () =>
  createBrowserClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
    {
      auth: {
        autoRefreshToken: false,
      },
    }
  )

export default createSupabaseBrowserClient

When I do not include the options object everything works properly.
When I add the autoRefreshToken key I get the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get')
This seems to be an issue with the following object being overwritten: https://github.com/supabase/auth-helpers/blob/main/packages/ssr/src/createBrowserClient.ts#L65
EDIT: Removed typos/comments which confused things.

I see one issue with your code. The misspelling of autoRefreshToken - but maybe it's correct in your actual code.
One thing I'm confused about is that you're using createBrowserClient() but in the comment you say this is for server-side rendering. If it's for server-side, then you should be using createServerClient() and also passing in the cookies object.
And if this code is being run on the server-side, then the error makes sense to me. I was able to reproduce it if I removed the cookies object from my createServerClient() code - and the same ssr code it's chocking on is in the createBrowserClient() code as well.

@j4w8n Thanks for the reply. I have edited my initial post. Thanks for pointing that out! However the issue still remains.
To clarify. This is only being used on Next using Pages. The code returns the same error client side.
Full error log:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get')
    at eval (index.mjs:106:1)
    at combineChunks (index.mjs:39:1)
    at Object.getItem (index.mjs:105:1)
    at getItemAsync (helpers.js:99:1)
    at SupabaseAuthClient.__loadSession (GoTrueClient.js:737:52)
    at SupabaseAuthClient._useSession (GoTrueClient.js:718:1)
    at SupabaseAuthClient._emitInitialSession (GoTrueClient.js:1127:1)
    at eval (GoTrueClient.js:1121:1)
    at eval (GoTrueClient.js:680:1)
    at SupabaseAuthClient.lockNoOp [as lock] (GoTrueClient.js:27:1)
    at SupabaseAuthClient._acquireLock (GoTrueClient.js:676:1)
    at eval (GoTrueClient.js:1120:1)
    ```

@robmarshall as @j4w8n stated, you would need to pass the cookies object with the get, set and remove properties in order for this to work. I'm adding this as an improvement we can make to the library so that the cookies object is not required if you are changing any other properties inside of the auth object. But for the immediate now the solution would be to pass the cookies object with its properties again.

So are you saying the docs need updated for Client Component on Next.js?

Hi @silentworks Ah, I was of the understanding that that was for only server side, not client side.

I thought that deepRight would handle this - maybe not? https://github.com/supabase/auth-helpers/blob/main/packages/ssr/src/createBrowserClient.ts#L142

I'm finally catching up to what's happening lol. The options object is optional. However, once you declare the object, cookies is required. Now it makes sense why this is only throwing for OP when declaring autoRefreshToken.

Yes it's a TypeScript issue, mergeDeepRight will handle the merging correctly but TypeScriot will error about the property not being present.

Is there a plan for fixing the optional params or is there a work around? I am looking at trying to pass in headers for my client.

The workaround is to pass the cookies option as well.


Support for .cndignore

These files won't be synched.
We can just document how synching.net works

Closing for now until there are requisites for this use case.


Improve performance by improving the handling of hashes

Performance is improved in the following ways:

Eliminate Hash.ComputeHash() that returns a string, and
Hash.Sum() that converts the string to an array of hash bytes
Avoid the use of Enumerable.Skip() and Enumerable.Take()
Avoid the use of Array.Reverse() on little-endian architectures

Change library to use HashAlgorithm directly.  Remove Hash.cs, Hash128.cs
and their corresponding tests.
Add Utils.HashBytesToUInt32() and Utils.HashBytesToUInt64() functions
that convert a set of .NET hash bytes into a uint or ulong regardless
of the endianness of the architecture.
Fix Utils.HashKernel128() to conform to how HashKernel() works,
and fix corresponding unit tests.
Add TestProbabilisticDataStructures.TestHashKernelFNV1()
that confirms that the HashKernel() function returns
the same values as the HashKernel() function in
https://github.com/tylertreat/BoomFilters running in Go.
Move the original Hash.ComputeHash() that returns a string
to Utils.ComputeHashAsString().  This function is no longer
used by the library, but the unit tests that use it remain.

Here's another unsolicited change I'd like to propose.  I'd only intended to make the speed improvements I'd done for BloomFilter64 and apply them to the rest of the library, but while doing that, I noticed that the way I'd handled the hashes in BloomFilter64 and Hash128 were off relative to what the rest of the library did.  Getting that right while improving performance led me to the changes I've proposed here.  I didn't intend for them to be so disruptive.
In any case, this change preserves how hash values are utilized.  Specifically, the way various integer values are extracted from the hash values matches what was there before and continues to match what the Go "BoomFilters" library does.  I added TestHashKernelFNV1 to confirm that this approach literally matches what is done in the "BoomFilters" library.
On my computer, these changes improve the speed of BloomFilter by 135%.  When I run the profiler, the MD5 hash calculation itself is now what dominates.

I wanted to make a comment about the logic of keeping both BloomFilter and BloomFilter64 as separate classes.  Maybe this is obvious, but I wanted to make my thinking explicit.
In my rough tests (with this commit), BloomFilter is 35% faster than BloomFilter64.  That performance hit to support large Bloom filters is probably reason enough to keep them separate.
In addition, BloomFilter64 requires 128 bits of hash material vs. only 64 bits for BloomFilter.  If, in my tests, I replace the MD5 hash with the FNV1 64-bit hash (the hash used in the Go "BoomFilter" library) for BloomFilter and the FNV1 128-bit hash for BloomFilter64, BloomFilter becomes 220% faster than BloomFilter64.  That would be an even greater performance hit for folks that don't need large Bloom filters.

Thanks for the great library!

Thanks, @dferreyra. I'll try to get this looked at tomorrow evening.


fix: [BB-195] FIX** ProgressBar Position Fix

Description
Followed through the ticket that Matthew has created. Tested it myself, probably got fixed from earlier merges.
Feel free to test it out again! I've self reviewed, just moved form module a little bit higher as there's a lot of spaces from the progress bar and the form module itself.
Type of changes
Please delete options that are not relevant.

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

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have already been accepted and merged

Further comments

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

At odd resolutions your things go into themselves

Unrelated but your logo escapes the header

used fixed hardcoded styling for the form module to avoid getting eaten by progress bar. Progress bar doesn't get cut into header now.


Allow reinitialization of cropper size.

Currently the cropper will adopt the width and height of its parent element on initialization. It would be nice to be able to programmatically re-initialize the cropper size so it can support a container with flexible size or a container which is initially hidden.

This had be supported. See #156.


Latest build k3s constantly crashes with cloudconfig....

Version (k3OS / kernel)
rome [/etc/init.d]# cat /etc/os-release
NAME="k3OS"
VERSION="k3OS v0.20.4-k3s1r0"
ID=k3os
ID_LIKE=alpine
PRETTY_NAME="k3OS v0.20.4-k3s1r0"
VERSION_ID="v0.20.4-k3s1r0"
HOME_URL="https://k3os.io/"
SUPPORT_URL="https://k3os.io/"
BUG_REPORT_URL="https://github.com/rancher/k3os/issues"
ISO_URL="https://github.com/rancher/k3os/releases/download/v0.20.4-k3s1r0/k3os-amd64.iso"
5.4.0-70-generic #78 SMP Fri Mar 26 17:09:23 UTC 2021
Architecture
x86_64
Guys installed with a cloud-config file.  It DOES look like everything is configured properly...  This is the k3s-service file that was generated.  supervised-daemon is mis-placing the '--' for argument separation after the k3s. See below.  k3s keeps crashing.  I manually run the supervise-daemon moving the '--' prior to the k3s and it works as expected.  I am guessing k3s was ignoring the '--' in a prior release?
#!/sbin/openrc-run

depend() {
    after network-online
    want cgroups
}

start_pre() {
    rm -f /tmp/k3s.*
}

supervisor=supervise-daemon
name=k3s-service
command="/sbin/k3s"
command_args="server \
	'--node-label' \
	'k3os.io/mode=local' \
	'--node-label' \
	'k3os.io/version=v0.20.4-k3s1r0' \
	'--node-label' \
	'region=us-west-1' \
	'--node-label' \
	'somekey=somevalue' \
        '--cluster-cidr=<IP_ADDRESS>/16' \
        '--service-cidr=<IP_ADDRESS>/16' \
        '--cluster-dns=<IP_ADDRESS>' \
        '--no-deploy=traefik' \
	'--disable-agent' "

output_log=/var/log/k3s-service.log
error_log=/var/log/k3s-service.log

pidfile="/var/run/k3s-service.pid"
respawn_delay=5
respawn_max=0

set -o allexport
if [ -f /etc/environment ]; then source /etc/environment; fi
if [ -f /etc/rancher/k3s/k3s-service.env ]; then source /etc/rancher/k3s/k3s-service.env; fi
set +o allexport

ps-ef output
root     30014     1  0 19:01 ?        00:00:00 supervise-daemon k3s-service --start --stdout /var/log/k3s-service.log --stderr /var/log/k3s-service.log --pidfile /var/run/k3s-service.pid --respawn-delay 5 --respawn-max 0 /sbin/k3s -- server --node-label k3os.io/mode=local --node-label k3os.io/version=v0.20.4-k3s1r0 --node-label region=us-west-1 --node-label somekey=somevalue --cluster-cidr=<IP_ADDRESS>/16 --service-cidr=<IP_ADDRESS>/16 --cluster-dns=<IP_ADDRESS> --no-deploy=traefik --disable-agent
also in /var/log/messages
May  2 19:32:51 rome daemon.info supervise-daemon[6240]: Child command line: /sbin/k3s server --cluster-cidr <IP_ADDRESS>/16 --service-cidr <IP_ADDRESS>/16 --node-label k3os.io/mode=local --node-label k3os.io/version=v0.20.4-k3s1r0
May  2 19:32:51 rome daemon.warn supervise-daemon[6055]: /sbin/k3s, pid 6240, exited with return code 1
and
2021-05-02T19:33:52.892227376Z" level=info msg="Starting k3s v1.20.4+k3s1 (838a906a)"
time="2021-05-02T19:33:52.893309785Z" level=fatal msg="starting kubernetes: preparing server: failed to get CA certs: Get "https://<IP_ADDRESS>:6443/cacerts\": dial tcp
To Reproduce
See above
Expected behavior
k3s should start.  Currently it crashes non-stop
I have tested about 20 various combinations to see if I can get that to move but with no success.
Also of note....
If I install the same ISO without cloudconfig it generates and almost identical k3-service file and it DOES START.  It's possible some other dependency is missing in the cloudconfig.

An update from continued testing....
If I simply run the failing service MANUALLY as root, it WORKS!
supervise-daemon k3s-service --start --stdout /var/log/k3s-service.log --stderr /var/log/k3s-service.log --pidfile /var/run/k3s-service.pid --respawn-delay 5 --respawn-max 0 /sbin/k3s -- server --cluster-cidr <IP_ADDRESS>/16 --service-cidr <IP_ADDRESS>/16 --node-label k3os.io/mode=local --node-label k3os.io/version=v0.20.4-k3s1r0
But if I do service k3s-service start/stop it does not......
Now I am thoroughly  confused!

I see that your manual run does not match the k3s arguments from the one in your original comment. Does the manual run work with the exact same args? I specifically wondering if the --disable-agent is making a difference.

I have tried with and without in both cases.  Same result.
I suspect it os more like something lower level from the cloudconfig like included kernel modules
But that does not explain why if I run it on the command line from the cloud config it works.

All.  I figured it out.  Operator error.  I had the server_url from the example and did not read the definition.  I commented it out and it is working.  I thought it was the master but it is for the agent!


CSV Parser

[ ] Two types of CSV files: ReadName2TaxID TaxID2Count

[ ] Return a sample object, or a list of samples

[ ] Sample object can contain a Map object of Taxon to Count (you can make taxon an integer for now (taxId) but once we have the tree it should link to the nodes of the tree)

[ ] Test CSV Parser using JUnit  (@NantiaL)

@NantiaL @jmueller95
Hi Nantia, Julian,
The reason test case returned a NullPointerException during the class is not because of a bug in your code, but because of how HashMap works in Java.
First of all, we used random values for name and rank etc. They should be initialized as null at this point as we don't have the tree. And the second reason was you can't get them from HashMap this way, because HashMap works with equals and hashcode methods which we haven't overwritten at this point. So, I'd suggest:

a) wait for Tree is fixed and Julian can actually return real taxonNode objects, which in test cases can also be retrieved from the tree and then HashMap should work and not return null, actually.
b) overwrite hashcode and equals methods in TaxonNode class in such a way that, two TaxonNode objects will be seen as equal if they have the same id, name, rank etc. (but I think this is only a temporary solution).


Change systemd PrivateTmp to false

Do not create a private /tmp directory for the caddy service process. Doing so has been interfering with the locking mechanism employed by a webhook script that we run. A manual invocation of the script does not have access to the lock directory that we put in the /tmp directory.

:+1:

:+1:


Looks like CI isn't running the tests or code coverage

ci.yml has the following lines:
    - name: Upload coverage reports to Codecov
      if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
      uses: codecov/codecov-action@v4
      with:
        token: ${{ secrets.CODECOV_TOKEN }}
        slug: LLNL/SSAPy

Actions report no coverage report
Recommend @rusu24edward for this issue

Right, see also https://github.com/LLNL/SSAPy/issues/5


dragonberry

dragons be gone
dragonberry

Hi @faddat thanks for your support 🙏

bad branch, this is the next upgrade (ica adding)
we can apply in the v1.4.2 tag but maybe it needs a chain halt when could be easy solved with a ignite cosmoscmd menor update.
Ignite is contacted. Let's see what is first.

@faddat
This is right branch
https://github.com/BitCannaGlobal/bcna-patch/releases/tag/v1.4.3
v1.4.4 is the current one


DBZ-2539 Insert file annotation to identify component for downstream doc

This update inserts an annotation comment at the head of the doc to support the downstream build.
Also, conditionalize :toc: entries In the filtering file and in content-based-routing.adoc so that render in the upstream doc only.
The update is required for 1.2.

Applied to master & branch 1.2


Fix missing method to access class variable

We were using a class method (def self.url() @@url end), we're replacing by <class>..class_variable_get(:@@url): less readable, but more explicit?

this close #426


Create CITATION.cff

related to #151

Note: added the badge to the README on the main branch already so that's why it is not in this PR.

Note: added the badge to the README on the main branch already so that's why it is not in this PR.

@rmarow could you move the badge to the top? See some other projects like QGreenland for examples of how badges are typically displayed.

usage: bumpversion [-h] [--config-file FILE] [--verbose] [--list] [--allow-dirty] [--parse REGEX]
                   [--serialize FORMAT] [--search SEARCH] [--replace REPLACE] [--current-version VERSION]
                   [--no-configured-files] [--dry-run] --new-version VERSION [--commit | --no-commit]
                   [--tag | --no-tag] [--sign-tags | --no-sign-tags] [--tag-name TAG_NAME]
                   [--tag-message TAG_MESSAGE] [--message COMMIT_MSG] [--commit-args COMMIT_ARGS]
                   part [file ...]
bumpversion: error: the following arguments are required: --new-version
(usaon-vta-survey) (2) roma8902@cu-vpn-nsidc-172:~/projects/usaon-vta-survey
$ bumpversion minor --allow-dirty --new-version 0.6.0
Traceback (most recent call last):
  File "/Users/roma8902/mambaforge/envs/usaon-vta-survey/bin/bumpversion", line 10, in <module>
    sys.exit(main())
  File "/Users/roma8902/mambaforge/envs/usaon-vta-survey/lib/python3.10/site-packages/bumpversion/cli.py", line 135, in main
    context = _commit_to_vcs(files, context, config_file, config_file_exists, vcs,
  File "/Users/roma8902/mambaforge/envs/usaon-vta-survey/lib/python3.10/site-packages/bumpversion/cli.py", line 693, in _commit_to_vcs
    context.update({'current_' + part: current_version[part].value for part in current_version})
TypeError: 'NoneType' object is not iterable```

You shouldn't need to pass both a "part" and a --never-version value, should be one or the other. The error message is not great... This would be a useful bug to report on the bump-my-version GitHub project! Maybe the program should detect this case and fail early with a better message?


pseudoDeviceTemperature

Hi,
is there a way that I could show the Aqara temperature reading in the Device Temperature? Would be helpful. I have Aqrara integrated in Homekit with hue Plugin.
Thanks

Do you have a way to publish the Aqara temperature through MQTT? I got my Xiaomi hardware integrated to Broalink-RM that way.

Do you have a way to publish the Aqara temperature through MQTT? I got my Xiaomi hardware integrated to Broalink-RM that way.

Hi @Naqsaq would you know how to publish Aqara temperature through MQTT?

Do you have a way to publish the Aqara temperature through MQTT? I got my Xiaomi hardware integrated to Broalink-RM that way.

Hi @Naqsaq would you know how to publish Aqara temperature through MQTT?

I don't know. Could you help me?


Fix ESLint

Description
Issues:

graphql.schema.json is malformed in main branch
hooks like useMemo cannot be conditional due to react/rules-of-hooks
local imports of gql utility in tests break due to hydrogen/prefer-gql

Additional context

Before submitting the PR, please make sure you do the following:

[ ] Read the Contributing Guidelines
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

@wizardlyhel The schema was malformed in main branch, it wasn't proper JSON. However, it looks like @cartogram has fixed some of these problems in https://github.com/Shopify/hydrogen/pull/1373
I'll update this and see if it's still needed.


Translate /docs/contribute/ in Japanese

This is a Feature Request
What would you like to be added
Translate docs/contribute/ in Japanese.
Why is this needed
This document is not translated in Japanese.
Comments

/language ja

/assign

/milestone 1.14-ja.2

@wakazooo Are you working on it?
Is it fine if we move the milestone to 1.15-ja.1?

@inductor
Sorry for late reply...
Please move the milestone to 1.15-ja !!

@cstoku	ping

/milestone 1.15-ja.1

/close


Adding StorageManagement2 SDK for .Net

Can one of the admins verify this patch?

Hi @emgerner-msft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (emgerner). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@azuresdkci add to whitelist

my change covers this


Date picker month name cut off

Expected Behavior
The month name should be displayed along-side of the year with enough space and padding.
Current Behavior
The month name is currently cut off because it is overlapping with the year.
Possible Solution
The width could be increased to 100% (or another relative size) of the parent.  A fixed width is generally undesirable because it hinders support for other languages.
.datepicker-controls .select-month input {
  width: 100%;
}

Steps to Reproduce (for bugs)
https://codepen.io/TheHole/pen/eKKoEz
Context
The context is a simple form that requires date selection.
Your Environment

Version used: 1.00 rc2

I've updated from v1.0.0-rc1 to v1.0.0 and the end of the month is still being cut off for September and other months.

Any advice?

@drewrwilson I haven't been keeping track of the development, so I'm not sure if there's been a regression in the code. What you could do to fix this yourself is edit the scss and manually patch with either my quick and dirty suggestion from above or the fix suggested by @hnordberg.

@robertguetzkow thanks for the help. hmm it didn't work for me. I added those two css lines to the end of my materialize.min.css and materialize.css files and it appears to be the same problem... hmmm

@robertguetzkow but your css did! 🎉 🎉 🎉 🎉

@drewrwilson Glad it worked. The clean way of doing the modification is to edit the _datepicker.scss and compile it to the css file using a SASS compiler.

Is this going to be fixed by the team?


Israel only? Then please indicate so

Hi,
This looks great 👍
Is it Israel only, or some other specific geographic area? Then please indicate that in a prominent place, such as in the title (e.g. "Bus card for Israel for homeassistant") or the small description shown in the HACS card, so the rest of the world can skip this title in HACS immediately instead of trying to figure it out from the code or the examples.
Thanks, and keep up the good work!
br Jens

Please Rename this addon, so its clear to the community that it is Israeli/limited localization!

Hi,
thanks for the feedback
i added Israel to description


Failed to load libSceFios2.prx

Basically almost all games (if not all) fail to load this library. Some before syscall 653 and the dmem ioctl, some after.

We are missing something before this one. The game should be in chroot or jailed first so its root is not the root of FS.

Where would that change something?

More context here:

I really have no idea for now. Those logs are for game developer to tell them they need to copy some files to app0/sce_module, it have nothing to do with us.

I think I figured out the first part how this thing is working. The game start in chroot to /mnt/sandbox/{id}_000, which will cause syscall 585 to return 1 because the root of the game is not root FS. Then #375 will be called to get the path of system directory within the chroot path. So the filesystem the game see is something like:
/app0/eboot.bin
/RANDOMIZED_PATH/common/lib/libkernel.sprx

The problem is, how the game is able to access /dev in this case?

@VocalFan can you check what is inside /mnt/sandbox/{id}_000 when the game is running?

Alright

/app0 = Game contents (eboot, sce_sys, sce_module, game-data)
/av_contents = Symlink to root of disk's /user/av_contents folder
/c45DSN6z4l = System files, name is randomly generated (symlink to /system/common, common_temp (Which is just voice and agent TTS_cache, sqlite)
/data = Symlink to root of disk's /data folder
/dev = Response: 451 Requested action aborted. Local error in processing. | Error: Failed to retrieve directory listing
/host = Symlink to root of disk's /host folder.
/hostapp = Symlink to root of disk's /hostapp folder.
/system_tmp = Symlink to root of disk's /system_tmp folder.

So, system files IS randomized:
First launch: c45DSN6z4I
Second launch: QXuNNl0Zhn

@ultimaweapon Just to make sure this pings ya ^
Also, upgraded my PS4 from an HDD to an SSD, feels way better :P

Strange. Normally the symbolic link does not work if the destination file is outside the chroot.

Another problem is the filesystem is exFAT, which does not support a symbolic link.

If its not a symlink, then idk what, as when I double click those folders in the CUSA_app0, I get a duplicate of what that folder would be on root.

I guess we need to check SceSysCore to see how this thing is working.

I however do think the dev folder in CUSA_app0 than the dev folder on the root of the drive, seeing as I can access the root drive's Dev folder, but the game's Dev folder returns that error.
Response: 451 Requested action aborted. Local error in processing. | Error: Failed to retrieve directory listing

@ultimaweapon Could devfs be initially mounted on the game's directory?

If you mean we just do that without understanding how those directors end up there then we should do that as a last resort. We should try to understand how the PS4 works as much as possible while we are reimplementing it. All of the information we gathered will come in handy later on when we hit any obstacles.

No, I was just throwing around ideas about how the PS4 does it. Obviously, this is something we should get right,if we can.

By the way the Ghidra Orbis loader is absolutely amazing.

Yes, these are not symbolic links, they are mounting folders, I assume that nullfs is used for mirroring folders

Seems like those folders are mounted by the other process then it send a command to SceSysCore to start the program.

Let's check mount list when the game is running to see if those folders are one of them.

@VocalFan can you run this payload when the game is running? It will create mount-list.txt on the root of USB drive, which contains a mount list.
dump-mntlist.zip

Better not break-

@ultimaweapon Have you found the vfs_mountroot function?

The start_init function also has some interesting things in it. Once you find vfs_mountroot, you can find it using function call trees.

Of course: vfs_mountroot can be found by the strings vfs_mountroot_conf0, because the function is inlined.

@VocalFan can you run this payload when the game is running? It will create mount-list.txt on the root of USB drive, which contains a mount list.
dump-mntlist.zip

Back from Christmas, will doooo

Better not break-

I can't believe you.
*The payload runner notifies me it ran the payload, but there is no error msg or output file.

By the way I tried rpcsx and after this, we'll most likely reach socketex, shm_open, evf_open, kqueue, /dev/rng, /dev/gc, evf_create and osem_create. Not necessarily in this order and not necessarily for all games.

Also, kern.fsst_param

Beware that some parts of RPCSX are licensed under GPL, which means we can't incorporate those codes.

I haven't looked at the code, I just looked at the output logs :D

Better not break-

I can't believe you.
*The payload runner notifies me it ran the payload, but there is no error msg or output file.

Uh, lmk if you find a fix or something @ultimaweapon

Better not break-

I can't believe you.
*The payload runner notifies me it ran the payload, but there is no error msg or output file.

Uh, lmk if you find a fix or something @ultimaweapon

Try this one:
dump-mntlist.zip

Same as before. "Payload received from <IP_ADDRESS>" notif, then nothing.

No idea what wrong here. Here is the code is someone want to try:
#include <ps4.h>

struct fsid {
	int val[2];
};

struct statfs {
	unsigned f_version;
	unsigned f_type;
	long field2_0x8;
	long field3_0x10;
	long field4_0x18;
	long field5_0x20;
	long field6_0x28;
	long field7_0x30;
	long field8_0x38;
	long field9_0x40;
	long field10_0x48;
	long field11_0x50;
	long field12_0x58;
	long field13_0x60;
	long field14_0x68;
	long field15_0x70;
	long field16_0x78;
	long field17_0x80;
	long field18_0x88;
	long field19_0x90;
	long field20_0x98;
	long field21_0xa0;
	long field22_0xa8;
	long field23_0xb0;
	char field24_0xb8;
	char field25_0xb9;
	char field26_0xba;
	char field27_0xbb;
	int f_owner;
	struct fsid f_fsid;
	long field30_0xc8;
	long field31_0xd0;
	long field32_0xd8;
	long field33_0xe0;
	long field34_0xe8;
	long field35_0xf0;
	long field36_0xf8;
	long field37_0x100;
	long field38_0x108;
	long field39_0x110;
	char f_fstypename[16];
	char f_mntfromname[88];
	char f_mntonname[88];
};

_Static_assert(sizeof(struct statfs) == 0x1d8, "assert1");

int getfsstat(struct statfs *, size_t, int);

int _main(struct thread *td) {
	size_t len;
	struct statfs *buf;
	int res, i;
	FILE *fp;

	initKernel();
	initLibc();
	jailbreak();
	initSysUtil();

	// allocate buffer
	len = sizeof(*buf) * 128;
	buf = malloc(len);

	if (!buf) {
		printf_notification("Failed to allocate %u bytes of memory.", len);
		return 0;
	}

	// get mount list
	res = getfsstat(buf, len, 1);

	if (res < 0) {
		free(buf);
		printf_notification("Failed to get mount list.");
		return 0;
	}

	// write to usb drive
	fp = fopen("/mnt/usb0/mount-list.txt", "w");

	if (!fp) {
		free(buf);
		printf_notification("Failed to create /mnt/usb0/mount-list.txt.");
		return 0;
	}

	for (i = 0; i < res; i++) {
		struct statfs *s = buf + i;

		fprintf(fp, "%s\t%s\t%s\r\n", s->f_fstypename, s->f_mntfromname, s->f_mntonname);
	}

	fclose(fp);
	free(buf);

	printf_notification("Mount list dump complete!");

	return 0;
}

SYSCALL(getfsstat, 395);

@VocalFan try again with this version:
dump-mntlist.zip

Once again, nothing.

This is... Weird.

Yeah, just...
'Payload received from <IP_ADDRESS>'
Nothing. No notification or blinking from my USB's activity LED, and plugging my USB into my PC gives nothing.

@gandalfthewhite19890404 does your firmware is also 9.0? If yes can you try the above payload?

I tried it, same thing

Thanks! Seems like there are something weird there...

Either that or we need to find a way to magically make payloads in Rust.

@VocalFan Can you try and add a print statements before the malloc and run it?

And also... shouldn't it be sizeof(struct statfs)? I don't have much experience in C.

Maybe ... do a binary search to find out when it stops working.

I don't think Rust will solve the problem and the problem should not be malloc.

@VocalFan try this one:
dump-mntlist.zip

@red-prig Can you try this payload?

There is only one message "Mount list dump complete" but for some reason the file is not created (it looks like some kind of bug with usb mounting?), you can try saving the file to /data/* ???

Thanks! The reason it does not create any files is because I removed the corresponding code. Now we know it is broken at fopen line.

You can make everything simpler, just write to stdout, that is, write(1,,) and I will see it in klog

This one should work:
dump-mntlist.zip
I did not write to stdout yet because... I'm too lazy 😂.

@red-prig

Still no files are being created.

  else {
    iVar1 = syscall_11(5,&local_ea8);
    if (-1 < iVar1) {
      lVar6 = 0;
      iVar2 = open(s_/mnt/usb0/mount-list.txt_000019e1,0x601,0777);
      if (-1 < iVar2) {

Thanks for testing. No idea why it does not work. At least open should succeed because it was working with auth-dumper before.

wtf is syscall 11 ??? on PS4 it's just nosys

Do we need it in a file? Wouldn't printf_notification be enough instead of the write syscall?

omg it work!
mount-list.txt

Damn, that's a lot of mounts :D

Seems like there are more than what we saw in the list.

Seems like there are more than what we saw in the list.

Judging from what?

Because I was allocated a buffer for 128 entries and the list make use all of it.

Oh :eyes:

A new version that supports up to 8192 entries:
dump-mntlist.zip

@VocalFan can you run the above payload with at least one game disk inserted?

@VocalFan can you run the above payload with at least one game disk inserted?

Will do tomorrow when I'm near my PS4.

mount-list.txt

Thanks!

The good news is we already got what we need from @red-prig so you don't need to run this anymore.

I wanted to play around a bit with LLVM, but it turns out the FS rework took back so much that we don't even reach the Execution Engine specific part of the code :D

@ultimaweapon Ok, I'm confused now. After I implementing TempFs::root, we still fail with the same error of failing to lookup /app/eboot.bin. What am I supposed to do?

I think I get it now. We have to change the root of the process, right? Then it makes sense. The good thing is, we probably don't have to try super hard with tmpfs for now, because we only need to pass through it to get the file, we don't actually need to write anything to it for now.

Thanks everyone! Now our new FS has been mostly done and we can load this library correctly so I will close this.


Implement pop_front in terms of a level iterator

For MaxEB we need methods to slice an SSZ list, removing n elements from the front.
If n has multiple trailing zeros in binary format then we can reuse substantial portions of the tree when slicing, e.g. if n = 4 we can cheapy clone the subtrees for indices 4, 8, 12, 16 and so on, reordering them under new parent nodes.
This PR tries to implement this algorithm efficiently, by introducing the concept of a "level iterator" which iterates the Arced internal nodes at a given depth. It combines this with extensions to the tree Builder type which enable it to consume these internal nodes and build a tree.
There are new proptest tests added to extensively test the functionality, along with unit tests and benchmarks. Benchmarks show that when pop_front is substantially faster than pop_front_slow when it is able to exploit node reuse, and no slower when it is unable to (when n has no trailing zeroes, e.g. because it is odd).

Benchmark results for pop_front:
pop_front_noop/800000   time:   [16.201 ns 16.242 ns 16.287 ns]
pop_front_3/800000      time:   [41.597 ms 41.789 ms 41.990 ms]
pop_front_4/800000      time:   [16.877 ms 16.922 ms 16.980 ms]
pop_front_32/800000     time:   [1.5430 ms 1.5442 ms 1.5455 ms]
pop_front_400k/800000   time:   [194.47 µs 194.52 µs 194.59 µs]

Benchmark results for pop_front_slow:
pop_front_noop/800000   time:   [42.177 ms 42.226 ms 42.278 ms]
pop_front_3/800000      time:   [44.340 ms 44.411 ms 44.490 ms]
pop_front_4/800000      time:   [43.865 ms 43.923 ms 43.989 ms]
pop_front_32/800000     time:   [43.183 ms 43.235 ms 43.293 ms]
pop_front_400k/800000   time:   [18.228 ms 18.291 ms 18.362 ms]

As you can see the time taken by pop_front_slow is proportional to the number of elements iterated. It takes ~43ms for all small values of n and only speeds up when slicing off a substantial portion of the list. By comparison we see that the optimised pop_front is much faster when it can exploit alignment, completing pop_front(4) in 38% of the time required by pop_front_slow(4) (a 2.6x speedup). For n=32 the speedup is even better at 28x. For n=400k the speedup is 94x. When there's no alignment to exploit (n=3), performance is similar.


segfault in na/na_ofi.c

Describe the bug
segfault happens in na/na_ofi.c
Screenshots
segfault at 40 ip 00007f2d2e06ec18 sp 00007f2d25b1c9c0 error 4 in libna.so.2.1.0[7f2d2e05f000+20000]

$ printf "%x\n" $((0x7f2d2e06ec18-0x7f2d2e05f000))
fc18
$ addr2line -e /.../spack/opt/spack/linux-rhel7-skylake_avx512/gcc-8.3.1/mercury-2.1.0-fqnkq4kk4k2gn433suxvzo3ldpluztzq/lib/libna.so.2 -fCi 0xfc18
hg_atomic_get32
/.../spack-stage/spack-stage-mercury-2.1.0-fqnkq4kk4k2gn433suxvzo3ldpluztzq/spack-src/src/util/mercury_atomic.h:305
na_ofi_cq_process_event
/.../spack-stage/spack-stage-mercury-2.1.0-fqnkq4kk4k2gn433suxvzo3ldpluztzq/spack-src/src/na/na_ofi.c:3336
na_ofi_progress
/.../spack-stage/spack-stage-mercury-2.1.0-fqnkq4kk4k2gn433suxvzo3ldpluztzq/spack-src/src/na/na_ofi.c:5214

https://github.com/mercury-hpc/mercury/blob/v2.1.0/src/util/mercury_atomic.h#L305
https://github.com/mercury-hpc/mercury/blob/v2.1.0/src/na/na_ofi.c#L3336
https://github.com/mercury-hpc/mercury/blob/v2.1.0/src/na/na_ofi.c#L5214
Platform (please complete the following information):

CentOS 7.9
gcc 8.3.1
ofi+verbs
libfabric 1.14.0
mochi-margo 0.9.8

Hi @otatebe , what version of OFED (or MOFED or rdma-core) are you using to provide the verbs libraries underneath libfabric?
We talked about your issue during a Mercury developer call today.  The symptom you describe sounds similar to what the DAOS team encountered due to a bad interaction between recent versions of MOFED and libfabric (see https://github.com/ofiwg/libfabric/issues/7359 and https://github.com/ofiwg/libfabric/pull/7365).  If it is the same problem, then the fix has been merged in the libfabric repo, but it is not in a tagged release yet.
I think libfabric has a new release on the way soon.  Can you try either their origin/main or something newer than 1.14.0 (when available) to see if that improves matters?

Hi @carns , actually this happens after we upgrade MLNX OFED from 5.1-2.5.8 to 5.5-<IP_ADDRESS>.  When I use libfabric@main, it works!  Thanks.

Fantastic, thank you for confirming @otatebe .