Add documentation how to setup for android

Your library looks really nice! Unfortunately I could not figure out how to set it up for android projects. Could you add some documentation for that?

I have never developed for android, but I am about to do some tinkering with Quest 3 apps, so I'm curious about this too.
I would expect that it would just work, but I suppose there might be some complexity with shuttling snapshot data from the simulator back to the dev environment. Can you post some info on your setup / stacktraces?

I think the main problem is that android uses junit4 by default (and I could not figure out how to make junit-vintage work).
Apart from that, the quick start guide suggests this code:
tasks.test {
  useJUnitPlatform()
  environment(properties.filter { it.key == "selfie" }) // optional, see "Overwrite everything" below
  inputs.files(fileTree("src/test") { // optional, improves up-to-date checking
    include("**/*.ss")
  })
}

However, the member test of tasks cannot be resolved.
I can get this code to compile by using tasks.withType<Test> instead, but I don't know if that is correct, and the test still fails with  Could not start Gradle Test Executor 5.

There are three paths:

use Kotest and selfie-runner-kotest

io.kotest:kotest-runner-junit4
another option is LeoColman/kotest-android

use JUnit5 and mannodermaus/android-junit5
write a JUnit4 runner for Selfie

I'm a fan of Kotest anyway, so I'll probably be using kotest-android and selfie-runner-kotest. Let me know if you try any of these and how it goes!

Kotest is not an option I think, because it does not support robolectric (Which is very important, as it allows running android integreation tests as normal unit tests): I found this repository, but it is archived unfortunately
This works somewhat, however, I run into trouble again when using robolectric. Robolectric requires annotating the test class with @RunWith(RobolectricTestRunner::class) and if I do that, selfie won't work on that class anymore.
That would probably be the simplest solution from a users perspective, but probably a lot of effort to write

So it seems like I can't really use this library without getting rid of robolectric :(
But thanks a lot for your comments!

Thanks for looking into these! Agreed, seems like Selfie doesn't offer a satisfactory experience for Android right now. I expect this will change soon, when we make progress on this it will get reported here.


Insert builk with OnConflictStrategy.replace is locking all tables

When I am inserting bulk (huge numbers around 77429 records) it's blocking other tables !
I have insert like this:
  @Insert(onConflict: OnConflictStrategy.replace)
  Future<void> insertList(List<TB_WordTranslation> list);

Now when I am getting all records from TB_Translations like this:
  @Query('SELECT * FROM $TABLE_NAME')
  Future<List<TB_Translations>> findAll();

it is not returning the data until the insertBulk finish.

Hey @nawaf11
That's too many entries for one operation. Do you really need all this data at once?
Generally, sqflite uses synchronized read-write operations, so you can't insert data and fetch results in parallel. Otherwise, Android will throw an IllegalStateException that you are trying to use more than one connection to the database. For IOS parallel work is configurable, but we don't support it.
So, if possible, try splitting the records into chunks and inserting them in parts. To observe the data changes, you can create a Stream in DAO that returns the actual records to you immediately after insertion.

looks like problem solved


Flaky Test: Aspire.Hosting.Elasticsearch.Tests.ElasticsearchFunctionalTests.VerifyWaitForOnElasticsearchBlocksDependentResources

https://github.com/dotnet/aspire/pull/5380/checks?check_run_id=30500082320
Trx:
Aspire.Hosting.Elasticsearch.Tests.zip

Another one: https://dev.azure.com/dnceng-public/public/_build/results?buildId=815350&view=results

This was my discussion with @mitchdenny last night about this test.
BTW I realized why logs aren't' showing up and will have a change soon.

dependingresource can be any other small container. I've used nginx for this purpose frequently.


Add dagster deployment option using helm chart on local stack

This PR proposes the following changes

Add dagster orchestrator tool option for local deployment
Add *.pyc in .gitignore

Closes #93
PR Checklist

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Tests

PR looks great. However, did you managed to test and see if the dagster webserver can be reached on the endpoint?

I tested it using the minikube provider and was able to successfully view the webserver UI.

Although, I had to portforward the webserver port from that pod using kubectl. If there is any other way I should be using to test it, then please let me know (I am new to k8s).

I don't get it; were you able to access the url ( dagster.localhost ) in the browser by opening the minikube tunnel? I tested it with kind cluster, and i wasn't able to access it. Seems like there were some configs missing. Let me check it with minikube, but i'm quite sure if it didn't work for kind, it wouldn't work for minikube either.

Understood; I did not test it like that. Will try to get it running with that.
The way I tested it was by doing kubectl port-forward <dagster-webser-pod-name> 9801:80 -n dagster and then view it using the localhost:9801 address on browser


videos with --title_screen_map option stall at first frame in QuickTimePlayer and Safari

When passing the parameter --title_screen_map option to tesla_dashcam/ffmpeg, the videos were stuck at the first frame when viewing with the Safari browser and the QuickTime Player.
The issue can be addressed by including the ffmpeg options -pix_fmt and yuv420p.   These options are already part of the dev branch of tesla_dashcam, but are commented out.  (around line 2200).    Including these ffmpeg parameters allowed the videos generated with the staticmap image at the front to play properly on my iPhone and MacBook.
Just sharing here in case others run into the same problem.   (This is obviously not an issue with this repository, but rather related to tesla_dashcam and ffmpeg.)

Good to know!
My teslausb installation is broken (for still unknown reasons, I haven't looked into it), so I haven't looked at this in a long time unfortunately.
Maybe there could be an addition to tesla_dashcam to add extra ffmpeg arguments that could be accepted? Otherwise I guess this repository can point to a fork for now, since this sounds like a good feature.


When you run the example falls in error

When you run the example falls in error. when I press the button to begin broadcasting

This may be due to the fact that I do not use authorization and do not specify username and password?

console log

fatal error: unexpectedly found nil while...

Can I see a break point "1 LiveViewController.rtmpStatus..." ?

Why are you remove comment. That's the cause.
https://github.com/shogo4405/lf.swift/blob/master/Examples/iOS/LiveViewController.swift#L241


'type' of undefined when PropTypes.shape on functional component

only happened on the functional component, class component it is work.
version
    "eslint": "^4.8.0",
    "eslint-config-airbnb": "^16.0.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "eslint-plugin-react": "^7.4.0",

error message
Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
    at checkValidPropObject (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:76:15)
    at checkValidProp (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:65:11)
    at node.properties.forEach.prop (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:77:41)
    at Array.forEach (native)
    at checkValidPropObject (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:77:25)
    at reportErrorIfClassPropertyCasingTypo (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:85:9)
    at MemberExpression (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint-plugin-react/lib/rules/no-typos.js:135:11)
    at listeners.(anonymous function).forEach.listener (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint/lib/util/safe-emitter.js:47:58)
    at Array.forEach (native)
    at Object.emit (/Users/yutin/Studio/tmot/hitmot/node_modules/eslint/lib/util/safe-emitter.js:47:38)

sample code
function Component({ data }) {
  return (<View />);
}

Component.displayName = 'Channel';

Component.propTypes = {
  data: PropTypes.shape(), // <= this line
};

Component.defaultProps = {
  data: {},
};

export default Component;

Is the error fixed if you add {} inside the shape call?

oh!! thank you. {} is required. add {} inside will be fixed.

oh!! thank you. {} is required. add {} inside will be fixed.

I've never seen shape used without an object literal, but React doesn't require it, and regardless, we shouldn't crash on it.

+1 to don't fail on this

Yup... this got me too.

Once the bug is fixed... perhaps a new rule for no-undefined-shape?


HOW TO BUILD

hey what are the requirements need to build ?
i tried using aur pkg but its failed to build
https://aur.archlinux.org/packages/sysvol
i think something wrong with gtk4-layer-shell

Hello, Sorry for the late response
The base build requirements are gtkmm-4.0 and gtk4-layer-shell
And depending on if you have pulse or wireplumber on your system
The appropiate dependency will be selected
Since you haven't provided any logs or specific issue i'm going to assume it's related to this
Please try reinstalling gtk4-layer-shell or provide me with the build logs

i fixed it by commenting PKGBUILD c
heck of gtk4-layer-shell


feat: add Microsoft Active Accessibility (MSAA)

I've used WinLister to find the class of the windows

[x] I have formatted applications.yaml with komorebic fmt-asc.

Yes. However it seems from the link sitiom found that this class is common for dialog boxes from various applications.

Aha I see, thank you! I'll think about how to update the schema for entries like this in the future, but for now we can keep adding float identifiers like this as we are with the empty class 👌


File upload does not work on firefox 49.0.2

Description
Change uploader input file field to not use NGModel instead using fileSelect event. NGModel not working correctly on file input for Firefox 49 and above.
What's included?

src/platform/file-upload/file-upload.component.html

Test Steps

[x] Run Firefox 49 or above
[x] Go to the /covalent/components/file-upload section
[x] Try clicking on the Upload button and selecting a file
[x] Should see the filename in the button and not something like "14 files selected"

Screenshots or link to CodePen/Plunker/JSfiddle

LGTM


Avoid downloading VARNA.jar in CI

VARNA.jar is downloaded in CI, even though it is never used.
On solution would be to make a simple BInaryBuilder package with the VARNA.jar.

Solved by PR #12


Add deploy stage

Added separate stage for deploy

Hi, thank you for the request!
Now you can deploy in success stage. Why you want to add deploy stage? Can you give a real case for separate stage deploy?

@corpsee I think it's really good idea. In my case, I can't see, when deploy failed, but build is green and it's really annoying. And from point of semantic deployment is not test stage.

Ok, thanks.

If deploy fail on success stage, build is succeeded, right?
But different behavior is expected from the system of continuous integration.


warn if 'authentication' attribute is missing in required attributes list

Manual tests:
(.venv) E:\github\connector-plugin-sdk\connector-packager>python -m connector_packager.package --validate-only F:\test\plugin_with_authentication
The log path E:\github\connector-plugin-sdk\connector-packager exists
Validation succeeded.

(.venv) E:\github\connector-plugin-sdk\connector-packager>python -m connector_packager.package --validate-only F:\test\plugin_without_authentication
The log path E:\github\connector-plugin-sdk\connector-packager exists
Warning: 'authentication' attribute is missing from <connection-normalizer>/<required-attributes>/<attribute-list> in F:\test\plugin_without_authentication\connection-resolver.tdr.
Validation succeeded.

Added tests.


Not working in Angular 9

Hello,
I have updated my project to Angular 9 and this package to the latest version (3.0.4 at this time).
After including the module in my AppModule imports, adding the CanvasWhiteboardComponent to the viewProviders and including the code below I got an error.
<canvas-whiteboard
    #canvasWhiteboard
    [drawButtonClass]="'drawButtonClass'"
    [drawButtonText]="'Draw'"
    [clearButtonClass]="'clearButtonClass'"
    [clearButtonText]="'Clear'"
    [undoButtonText]="'Undo'"
    [undoButtonEnabled]="true"
    [redoButtonText]="'Redo'"
    [redoButtonEnabled]="true"
    [colorPickerEnabled]="true"
    [saveDataButtonEnabled]="true"
    [saveDataButtonText]="'Save'"
    [lineWidth]="5"
    [strokeColor]="'rgb(0,0,0)'"
    [shouldDownloadDrawing]="true"
    (onBatchUpdate)="sendBatchUpdate($event)"
    (onClear)="onCanvasClear()">
</canvas-whiteboard>

The error I get when this initializes:

I created a pull request for this issue.
Hope it will be merged soon.
https://github.com/webfactorymk/ng2-canvas-whiteboard/pull/55

Yup, should be good with version 3.1.0 now, thanks @preeco-privacy. Cheers.


Add containerized ISO image

This is the Dockerfile to build the ISO as a container. It is a natural evolution of the build-iso package in OBS and build-iso should simply pull this Dockerfile from github. This way the image OS and its ISO are both defined and described within the same place.
Part of to rancher/elemental-operator#396

There are three occurences of 5.3 in the Dockerfile. Can these be a parameter ?

There are three occurences of 5.3 in the Dockerfile. Can these be a parameter ?

Yes it can, it just goes at the cost of making our already complex _service file bigger. Ideally we should be capable to pull it from the prjconf so we could build with same sources for 5.3 and 5.4 in different repositories. Doable, the problem is that this means adding another twist in _service files and in prjconf. We can/should consider it though.
Probably we can make it a new issue for building against 5.4 from same sources, to we do not have to maintain to projects, just create the appropriate repos in OBS.


Is there any possibilities to change into Tensorflow model?

We need to move it into Android, but there is no such interface to read from the checkpoints.

Yes, you can change to Tensorflow since we are using Keras. You just need to switch your back-end!
As noted in the readme.md file, current code was developed under Keras 1.2 and Theano 0.9.0 - since the large dilations present in the architecture were not supported by the 1.2.0 version of Tensorflow that was available then.
Please, let us know if you find that the current version of Tensorflow (1.4) supports our large dilations!

The function returns a set of check points while training. which one of those should I takes for testing?.


Update speech.ts to fix model_id

Currently the model id is not taken into account leading to the eleven_monolingual_v1 being used no matter what's set up. (see this issue)
I've included the model_id in the data and also updated the default to be the multilingual eleven_multilingual_v2 to make it easier for beginer.
Best,

My bad, I shouldn't have set up a default option as it's not the convention.

Thank you @AlexfromSonar for your PR. It's merged!


Plans Details Changes

Save Text Address along with Lat/Long
Save email id of the plan creator
Update Vacancy in UI
Hide 'Create Button' and Show Results
Update 'Search' to 'View existing plans'

Save email id of the plan creator - this is done as part of join plan


ci: testing with torch=2.0

What does this PR do?
Fixes #<issue_number>

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

resolved with: https://github.com/pytorch/pytorch/issues/37377#issuecomment-799882312


fix mergeWith to keep 'falsy' properties from right side

Current code remove properties which are "falsy" like 0.

We just faced the same problem in our project.
What was the original reason for removing props? It seems way too intrusive for a HOC to do that. Could we just get rid of that?
Btw, react-component-queries is awesome! @ctrlplusb ❤

Apologies about this. Defo a bug.
Appreciate the PR, I'll look to merge this week if review is good.

Hi @ctrlplusb, did you had a chance to take a look at this? The failure in codecov is pretty weird... I couldn't understand where the coverage was reduced.

Apologies for the tardiness in getting to this.  All great. Thank you so much for the help!

@ctrlplusb thanks for looking into my stuff :+1:


Set checkpoint on block 385055

Checkpoints in upstream Electrum weren't compatible with Namecoin's timewarp hardfork or the name_show command; we didn't notice this because Electrum-NMC hadn't yet added any checkpoints beyond the genesis block, and the genesis block doesn't have timewarp nor any unexpired names.  This PR fixes both issues and sets checkpoints through block 385055.

The Windows Travis fail is unrelated to this PR, it's due to outdated dependencies, and is probably fixed upstream.


Problems of input code screen

Cannot add a character in middle.
When users want to add 'c' in middle of 'abde', users will expect it becomes 'abcde'. But the actual result turns to be 'abce', where the new character 'c' covers the old character 'd' instead of adding itself between 'b' and 'd' in 'abde'.

Cannot scale as two other output screens.

Thanks, @xiaoyig. Would you mind providing repro insructions (from scratch), expected/observed behavior, and a screenshot, similar to #83?
Also, I'm not sure whether this issue is actually meant to be two separate issues. If that's the case, would you mind filing them separately? It's totally fine to close this one and file two more in its place.
Thanks!

Try to start a new issue


Gizmo docs

https://github.com/BabylonJS/Babylon.js/issues/4141
https://github.com/BabylonJS/Documentation/issues/826
https://github.com/BabylonJS/Documentation/issues/1022

Perfect.. Please socialize it with the community :)


fix(cta): change focus styles

What I did

Updating focus styles to match spec outlined in #1528.

Testing Instructions

View the deploy preview.

Notes to Reviewers
To Do

[x] Fix CTA secondary focus states
[x] Add changeset
[ ] Update docs to reflect these changes

I can send you updated images of the focus state for docs tomorrow.


Server Base URL Trailing Slash

Including a trailing slash on the server base URL causes errors for mismatched redirect URLs when authenticating with GitHub. Either strip the trailing slash when saving this info, or document the fact that it should not be included.

A lot more information here https://github.com/gocd/gocd/issues/3024


update tar?

npm WARN deprecated<EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

We should set-up a system for automatically creating PRs to bump dependency versions. I'll send an email to you and Keith.


Upgrade to bazel 1.0.0

Let's see what the tests say
https://github.com/bazelbuild/bazel/releases/tag/1.0.0

local bazel build issue
ERROR: While resolving toolchains for target //test/cpp/qps:qps_openloop_test: no matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type
ERROR: Analysis of target '//test/cpp/qps:qps_openloop_test' failed; build aborted: no matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type
INFO: Elapsed time: 26.889s
INFO: 0 processes.
 The package was not found with the source(s) listed.
 Source(s): 'https://chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Version was specified as '1.0.0'. It is possible that version
 does not exist for 'bazel' at the source specified.
Please see https://chocolatey.org/docs/troubleshooting for more
 assistance.
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
 - bazel - bazel not installed. The package was not found with the source(s) listed.
 Source(s): 'https://chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Version was specified as '1.0.0'. It is possible that version
 does not exist for 'bazel' at the source specified.
Please see https://chocolatey.org/docs/troubleshooting for more
 assistance.

The explanation/workaround for the local build breakage is:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bazel-discuss/Z7GmqUx-Zio/qyBb_K3LCgAJ

After my attempt to fix (see the last commit) I'm now seeing an RBE failure instead - I guess after removing exec_compatible_with, RBE now doesn't know which cluster to use?
https://source.cloud.google.com/results/invocations/a70da40e-fa99-4c23-a412-84dce92e19db/log
ERROR: /tmpfs/src/github/grpc/test/core/gprpp/BUILD:111:1: Couldn't build file test/core/gprpp/_objs/mpscq_test/mpscq_test.pic.o: C++ compilation of rule '//test/core/gprpp:mpscq_test' failed (Exit 34). Note: Remote connection/protocol failed with: execution failed java.io.IOException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: A docker image must be specified for this action.  See instructions at https://cloud.google.com/remote-build-execution/docs/set-up/remote-environment#add_a_toolchain
	at com.google.devtools.build.lib.remote.GrpcRemoteExecutor.executeRemotely(GrpcRemoteExecutor.java:188)
	at com.google.devtools.build.lib.remote.RemoteSpawnRunner.lambda$exec$0(RemoteSpawnRunner.java:255)
	at com.google.devtools.build.lib.remote.Retrier.execute(Retrier.java:237)
	at com.google.devtools.build.lib.remote.RemoteRetrier.execute(RemoteRetrier.java:104)
	at com.google.devtools.build.lib.remote.RemoteSpawnRunner.exec(RemoteSpawnRunner.java:242)
	at com.google.devtools.build.lib.exec.SpawnRunner.execAsync(SpawnRunner.java:225)

@jtattermusch
I forgot to mention that if you want to use exec_properties you will also need to update your platforms to use them instead of remote_execution_properties.
Migrate all of these to exec_properties: https://github.com/grpc/grpc/blob/master/third_party/toolchains/BUILD#L32
    remote_execution_properties = """
        properties: {
          name: "container-image"
          value:"docker://gcr.io/grpc-testing/rbe_windows_toolchain@sha256:75728e7d6d804090f71095e5fec627b18cfa1f47adc52096c209f2a687e06b2e"
        }
        properties: {
          name: "gceMachineType"  # Small machines for majority of tests.
          value: "n1-highmem-2"
        }
        properties:{
            name: "OSFamily"
            value: "Windows"
        }
        """,

becomes
exec_properties = {
  "container-image" : "docker://gcr.io/grpc-testing/rbe_windows_toolchain@sha256:75728e7d6d804090f71095e5fec627b18cfa1f47adc52096c209f2a687e06b2e",
  "gceMachineType" : "n1-highmem-2",
  "OSFamily" : "Windows",
}

You'll need to do that for all platforms.

@buchgr  After attempting to convert remote_execution_properties into exec_properties, I ran into this problem:
ERROR: /usr/local/google/home/jtattermusch/github/grpc/third_party/toolchains/BUILD:47:23: in exec_properties attribute of platform rule //third_party/toolchains:rbe_ubuntu1604: Platform specifies exec_properties but its parent @rbe_default//config:platform specifies remote_execution_properties. Prefer exec_properties over the deprecated remote_execution_properties.

I'll still need to look into that.

To use the new properties with rbe_autoconfig, set the following flag to false: use_legacy_platform_definition
Example here: https://github.com/bazelbuild/bazel-toolchains/blob/master/WORKSPACE#L127
This will make rbe_autoconfig produce a platform with new style exec properties.
We will eventually make this flag false by default, but this is still early in the migration.

All RBE tests are passing, except the Win RBE opt, and that's a pre-existing failure.

Some nits. Overall LGTM.

Known failures:
https://github.com/grpc/grpc/issues/20545
https://github.com/grpc/grpc/issues/20450
https://github.com/grpc/grpc/issues/20519
https://github.com/grpc/grpc/issues/20502

This breaks the import...

Removing release-notes:yes tag since it was reverted


Paths in add actions aren't always percent-decoded

Environment
Delta-rs version:
Binding:
Environment:

Cloud provider:
OS:
Other:

Bug
Our methods get_files_by_partition() and get_files_iter() take the raw paths, without decoding the percent-encoded characters. I wonder if we can do that decoding when deserializing the JSON actions? Also we should see whether this is necessary for Parquet checkpoints.

I would expect paths to be encoded in the checkpoints as well. If paths are always URL encoded when stored in the object store, it might be more efficient to only work with url encoded paths in the core at runtime and url encode get_files_by_partition's arguments instead.

it might be more efficient to only work with url encoded paths in the core at runtime and url encode get_files_by_partition's arguments instead.

Yeah I think the funny thing is we will decode them, pass them to the object store implementation, who will then encode them again for their HTTP requests.
The one annoying thing about doing this within get_files_by_partitions is that now we have to handle a parsing error in that function (if it's not valid percent-encoded). It would be nice for that function to remain infallible.

Is there any way I can help resolve this issue? It may be related to the problem I recently encountered where reading and writing to delta tables didn't work due to percent-encoded characters in the path

Why not use object_store::path::Path::parse. instead of object_store::path:Path::from?
When I look at the JSON written by the official pyspark library, the paths, at least in the add actions, are already encoded, and using Path::from farther encodes the encoded url. (And in the python implementation, Path::from is called twices, so it is double encoded)
From the docs:

A string containing potentially illegal path segments can be encoded to a Path using Path::from or Path::from_iter.

Replacing all the Path::from() with Path::parse().unwrap() in rust/src/table_state.rs and in python/src/filesystem.rs seems to solve this issue, but:

I am not sure it does not introduce other issues
I am not sure how to handle errors gracefully in file_paths_iter (instead of unwrapping and crashing)
I did not test writing at all

Hmm I'm still struggling to understand what the correct behavior should be.
With PySpark, if I write a table with data (partitioned on first 3 columns):
[('/%20%f', date(1970, 1, 1), b'hello', 6),]

Then on disk I see the path encoded once:
│  ├── letter=%2F%2520%25f
│  │  └── date=1970-01-01
│  │     └── data=hello
│  │        └── part-00000-a29a3f63-5a26-4127-aeff-e6d27c077917.c000.snappy.parquet

But in the transaction log I see the path encoded twice:
{"add":{"path":"letter=%252F%252520%2525f/date=1970-01-01/data=hello/part-00000-a29a3f63-5a26-4127-aeff-e6d27c077917.c000.snappy.parquet","partitionValues":{"letter":"/%20%f",...

Do you see the same thing? Perhaps we should be percent decoding the paths in the log?

Okay I think I have a solution: https://github.com/delta-io/delta-rs/pull/1613

Do you see the same thing? Perhaps we should be percent decoding the paths in the log?

Yes. I think partitioning in Spark assume URL encoding (reading the directory as a parquet dataframe reads the partition correctly), and it seems that in the delta log, there is another escaping (I have no idea why).
I'm not familiar with the official spec to say what is correct though :sweat: (It could be also a mistake in the original implementation)

Okay I think I have a solution: #1613

Basically, this leaves the path as is in the logs, right?

Basically, this leaves the path as is in the logs, right?

Well the logs have them percent encoded, so they are decoded once to match what's on disk. But elsewhere we avoid accidentally re-encoding them.


Multimedia mapping for Audubon Core is confusing in the IPT

There are two fields for "rights", "source", "creator", "format" fields.
See example below:

And it seems that when those "duplicated" fields are mapped to data, the extension isn't being ingested and the images don't show on GBIF.org.
If the data can't be ingested, could the IPT give a warning?
Alternatively, we can make sure that the data is ingested?
Or maybe those fields should be twice in the IPT mapping UI?
@MattBlissett what do you think?

The AC standard includes these pairs of terms. One is for string data like Image (for dc:type), and the other for a URI like http://purl.org/dc/dcmitype/StillImage (dcterms:type).
We should probably add the dataType to our XML definition of the extension and then expose this in the IPT, if it isn't already.
Do you have an example of the failing dataset?

This dataset's version wasn't displaying the new images: http://patrimonio.ambiente.gob.ec/iptmae/resource?r=varamientos-ecuador&v=2.7

I was converting some agouti.eu export to DwC and noticed that the converted file uses "dcterm:rights" and "dc:type" as field name, after changing the names on my dataset the images are now indexed.

I was converting some agouti.eu export to DwC and the converted file uses "dcterm:rights", "dc:type"

@vechocho can you indicate what the original term names were in your agouti.eu export and how you fixed them? We want to resolve this in the camtraptor write_dwc() function, so it is resolved for anyone using this function.

@peterdesmet The Agouti export was fine, i used the workflow that you send me (https://github.com/inbo/mica-occurrences/blob/master/datasets/mica-agouti-occurrences/src/dwc_mapping.Rmd) to convert to darwin core (i attach the result).
I use de Agouti converted dataset as template for my stranding dataset.
dwc_audubon - copia.csv


Defining API

The definition and concept of API need to be described in more detail, possibly a dedicated paragraph.

@mbmcgarry , please check out #70 and see if it does the trick. If so, please merge it and close this issu. Thanks.

Thanks @mbmcgarry !


⚠ Jenkins Plugins Artifactory has degraded performance

In 511ddf4, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1201 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 3cfddd5 after 12 minutes.


Add message and rpc handler to recover clients using v1 governance proposals

Part of #1282.
Overview of changes:
Protobuf

Add a new rpc handler to 02-client MsgService. Something like this:

rpc RecoverClient(MsgRecoverClient) returns (MsgRecoverClientResponse);

where MsgRecoverClient could look like this:
message MsgRecoverClient {
  option (gogoproto.equal)           = false;
  option (gogoproto.goproto_getters) = false;
  option (cosmos.msg.v1.signer)      = "authority";

  // authority is the address of the governance account.
  string authority = 1;
  // the client identifier for the client to be updated if the proposal passes
  string subject_client_id = 2;
  // the substitute client identifier for the client standing in for the subject
  // client
  string substitute_client_id = 3;
}

and MsgRecoverClientResponse can be empty:
message MsgRecoverClientResponse {}

02-client

Add function RecoverClient to 02-client keeper with logic to recover client. The signature of the function could look like this:

func (k Keeper) RecoverClient(ctx sdk.Context, subjectClientId, substituteClientId string) error

Add implementation of RecoverClient, which could be similar to ClientUpdateProposal's implementation.

Implement sdk.Msg interface for MsgRecoverClient.

If it's possible to re-use the error code for ErrInvalidUpdateClientProposal, then rename the error to, for example, ErrInvalidRecoveryClient and adjust the error description to invalid recovery client.

Core

Add implementation of RecoverClient rpc handler in IBC core msg_server.go (modules/core/keeper/msg_server.go). The signature of the handler could look like this:

func (k Keeper) RecoverClient(
  goCtx context.Context,
  msg *clienttypes.MsgRecoverClient
) (*clienttypes.MsgRecoverClientResponse, error)

and the implementation could look like this:
// check message signer matches authority set
if k.authority != msg.Signer {
  return nil, errorsmod.Wrapf(
    govtypes.ErrInvalidSigner,
    "invalid authority: expected %s, got %s", k.authority, msg.Signer
  )
}

ctx := sdk.UnwrapSDKContext(goCtx)

err := k.ClientKeeper.RecoverClient(ctx, msg.SubjectClientId, msg.SubstituteClientId)
if err != nil {
  return nil, errorsmod(err, "client recovery failed")
}

return &types. MsgRecoverClientResponse{}, nil

Add extra &MsgRecoverClient{} as input to RegisterImplementations.

CLI

Implement a CLI command (NewCmdSubmitClientRecoverProposal) in 02-client with flag recover-client and parameters subject-client-id and substitute-client-id to construct a MsgRecoverClient and include it in a MsgSubmitProposal. Use v1beta1 legacy NewCmdSubmitUpdateClientProposal command and SDK's NewCmdSubmitUpgradeProposal as examples.

Documentation

Update the documentation for client recovery via governance proposals.

Break up the implementation in multiple PRs. One possible suggestion:

[x] #4493
[x] #4498
[x] #4500
[x] #4530
[x] #4584
[x] #4521

Closed by all the linked issues!


fix: prevent database rebuild when server starting

While using the emulator, we encounter the same error as https://github.com/goccy/bigquery-emulator/issues/207.
After looking a bit at the code, I found that when the server is starting, we try to reinsert all data, that are already in the database.
The proposal here is to rebuild the project only when the --data-from-yaml is provided.
So if we found a project, and we are just loading from the database, we stop here, but if we load with the option it removes the project and its jobs and dataset, and rebuild it from scratch.
I don't know all cases, so it might break some edge case, maybe it could be an option to the command.
Let me know if some changes are required. And thanks a lot for the project 🙏

Hey there @totem3 , have you seen this maybe? Is there a timeline estimate for this fix, if any?
Thanks im advance!

Hi @goccy , this one seems pretty useful to stay parked, do you agree?


End-to-end testing of python logging -> store ingestion

Part of #1483
Try it with: scripts/run_python_e2e_test.py (must be in the correct venv).
This tests:

Our Python API
LogMsg encoding/decoding
Arrow encoding/decoding
TCP connection
Data store ingestion

~This is not yet run on CI.~ I've also added it to CI (waiting to see how that turns out…)
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

We finally got the e2e running when merged to main:
Run scripts/run_python_e2e_test.py
----------------------------------------------------------
Building rerun-sdk…
Traceback (most recent call last):
  File "scripts/run_python_e2e_test.py", line 79, in <module>
    main()
  File "scripts/run_python_e2e_test.py", line 28, in main
    subprocess.Popen(["just", "py-build", "--quiet"], env=build_env).wait()
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'just'
Error: Process completed with exit code 1.


MG-2236 - Add Constraints Service Provider

What type of PR is this?
This is a feature because it adds a constraint provider to magistrala.
What does this do?
This introduces a constraint provider to magistrala that reads constraints from a toml file and uses this to limit the entities created.
Which issue(s) does this PR fix/relate to?

Resolves #2236

Have you included tests for your changes?
Yes, I have included tests for my changes.
Did you document any new/modified feature?
Yes, I have updated the documentation for the new feature.
Notes

|-- constraints
|   |-- config
|   |   |-- configprovider.go
|--constraints.go
@WashingtonKK   What  do you think about this folder structure, inside pkg  dir
But again it like similar to repo folder structure

|-- constraints
|   |-- config
|   |   |-- configprovider.go
|--constraints.go

@WashingtonKK What do you think about this folder structure, inside pkg dir But again it like similar to repo folder structure

In future we can add other providers
like example
|-- constraints
|   |-- config
|   |   |-- configprovider.go
|   |-- strip
|   |   |-- stripprovider.go
|--constraints.go

|-- constraints
|   |-- config
|   |   |-- configprovider.go
|--constraints.go

@WashingtonKK What do you think about this folder structure, inside pkg dir But again it like similar to repo folder structure

In future we can add other providers
like example
|-- constraints
|   |-- config
|   |   |-- configprovider.go
|   |-- strip
|   |   |-- stripprovider.go
|--constraints.go

@arvindh123 I think this is a good idea, since it will make it easy for us to add more providers. I will update it to that

We will be using middlewares for this, to keep Service relatively independent. Also, some constraints may refer to certain types of limits that fit better to API (filtering by API key, advanced rate-limiting...).


Added a filtering function to getMakerLimitBids/Asks

This will allow a caller to pass a function to filter the orders before they are yielded. Ideally I'd just use a filter afterwards, but it looks like Javascript's support for lazy functional constructs on generators is less than complete.

Thanks! I think this is a good idea, do you have any example use cases? So we can make sure this is an appropriate solution.

Sure. It's likely to come in handy mostly when market-making. Here are a couple:

Exclude dust orders when figure out the best dlob bid/ask (for whatever your criteria of "dust" is);
Excluding your own orders when calculating dlob-related statistics;
Ignoring or selecting orders from accounts you believe to be order spammers.

Sorry i didn't see this before, yes we opted to get rid of the getMakerLimitBids/Asks since it's not enforced on the smart contract and it was leading to some users not getting the limit orders filled.
we can maybe add this to getRestingLimitBids/Asks, or add another fn that wraps and does filtering for you?

@crispheaney Happy to provide the PR myself, but please feel free to go ahead if that's faster.
I think simply providing a filtering function as an extra parameter is cleaner - if anyone has to look into the SDK - than adding a wrapper.

@crispheaney Looking into the code, it looks like getBestNode would be the place to do the filtering. Given how extensively it's used, it might be better if you do the change yourselves - that way I don't accidentally break anything that doesn't have tests.
Do let me know if you'd like me to take a stab at it, though.

yeah i will take a stab tmr!

started this: https://github.com/drift-labs/protocol-v2/pull/644 going to get some feedback from other contributors

started this: #644 going to get some feedback from other contributors

Perfect, thanks @crispheaney - closing this PR.


[BUG] Gradient text flowing out of container

Description

The text in the result obtained from the gradient-text generator overflows out of it's container for long text inputs.
Although, including spaces between the text seems to fix this problem. However, this may be inconvenient for a user particularly when writing longer text.

Note: This issue is only present for mobile screens

@Dun-sin I have already worked on this issue and the one preceding it. If you approve of them, I'd like to separate PR's for both.
Screenshots
https://user-images.githubusercontent.com/72257135/193416542-fbd6aa89-e23a-418f-bdda-ed565489f43f.mp4

It's great having you contribute to this project by creating an issue Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

Kindly create them as separate issues, thanks

Sure!

I will close this


Various ideas to discuss

Is your feature request related to a problem? Please describe.
First of all, I'd like to say that I really like this project and appreciate all the work that has been done by the community.
I'm opening this issue to discuss some features that I think could be added (I don't want to spam the issues section).
Starting from the minor adjustments

Dismantle Prisma client on teardown, this can be easily done by adding one line:

// src/pages/api/trpc/[trpc].ts
[...]
import { prisma } from '../../../server/db/client'
export default createNextApiHandler({
  router: appRouter,
  createContext,
  teardown: () => prisma.$disconnect(),
})

Loggers are really useful during dev: both tRPC and prisma offer some kind of logging. I noticed that @TheoBr already opened an issue about the former (#296). For Prisma, a possible approach may be:

export const prisma =
  global.prisma ||
  new PrismaClient({
    log:
      env.NODE_ENV === 'development' ? ['query', 'error', 'warn'] : ['error'],
  })

// unsure about this if statement,
// can be improved for the testing env?
if (env.NODE_ENV !== 'production') {
  // prisma middleware to show elapsed time
  prisma.$use(async (params, next) => {
    const before = Date.now()
    const result = await next(params)
    const after = Date.now()
    console.log(
      `Query ${params.model}.${params.action} took ${after - before}ms`
    )

    return result
  })

  global.prisma = prisma
}

Major features

Currently all projects scaffolded by ct3a use a session-based strategy for auth.
Do you guys think that having a jwt-based strategy as a option could benefit the project? For example, a possible cli step:

- next-auth(database-strategy)
- next-auth(jwt-strategy)
- tRPC
- tailwind
- prisma

Add support for Per-page layouts:

export type NextPageWithLayout = NextPage & {
  getLayout?: (page: ReactElement) => ReactNode
}

type AppPropsWithLayout = AppProps & {
  Component: NextPageWithLayout
}

const MyApp = (({ Component, pageProps }: AppPropsWithLayout) => {
  const getLayout =
    Component.getLayout ?? ((page) => <MainLayout>{page}</MainLayout>)

  return getLayout(<Component {...pageProps} />)
}) as AppType

// at EOF
export default withTRPC<AppRouter>({})(MyApp)

context.ts can be improved, because currently the req/res object are being passed around for all procedures. PR #186 already fixes this issue but can be improved even further (after the merge maybe). The main problem is in the fact that createContext is called for each request, so getServerSession is called everytime we call the API and even endpoints that don't need to be authenticated will have to wait for the fetching of the user session: this can be solved by passing a function down to all procedures, as such:

// this code changes a bit of stuff from the PR opened by KATT
interface CreateContextOptions {
  getUserSession: () => Promise<Session | null>
}

export async function createInnerContext(opts: CreateContextOptions) {
  return {
    getUserSession: opts.getUserSession,
    prisma,
  }
}

export async function createContext(opts: CreateNextContextOptions) {
  const getUserSession = async () =>
    await getServerSession(opts.req, opts.res, authOptions)

  return await createInnerContext({
    getUserSession,
  })
}

type Context = inferAsyncReturnType<typeof createContext>

// Creates a normal tRPC router
export const createRouter = () => router<Context>()

// Creates a tRPC router that asserts all queries and mutations are from an authorized user.
// Will throw an unauthorized error if a user is not signed in.
export const createProtectedRouter = () =>
  createRouter().middleware(async ({ ctx, next }) => {
    const session = await ctx.getUserSession()
    if (!session) throw new TRPCError({ code: 'UNAUTHORIZED' })

    return next({
      ctx: {
        ...ctx,
        session, // session is known to be non-null and will be passed to other procedures
      },
    })
  })

Final considerations
I know I have shown a lot of stuff in this single issue (maybe a discussion section would be more approriate!),
but feel free to discuss (and reject) all the points: in particular, point 3 may need a lot of code to be implemented.
If help is needed, I can happily contribute to the project and open PRs.

1 and 2 looks fine. Haven't used 1 myself but seems reasonable if it's a 1-liner.
Not a fan of 3 tbh. Implementing the installer would be a pain if we should support selecting both since basically every file will conflict and we would need duplicates for all of them.
4 seems like a user-issue and will soon be irrelevant since Next is changing their router and layout, not sure how far away that is but it is in the works
5a (req/res) looks good, definitely should get rid of passing req/res around.
5b (session cb) Not sure if there is any performance gains in sending a callback function instead of the session? Is it really that heavy?

Not a fan of 3 tbh. Implementing the installer would be a pain if we should support selecting both since basically every file will conflict and we would need duplicates for all of them.

I was thinking about having the option to select one or another (not both). But, I understand that it may be somewhat painful to implement.

4 seems like a user-issue and will soon be irrelevant since Next is changing their router and layout, not sure how far away that is but it is in the works.

I wouldn't consider it a user-issue, because it removes some boilerplate that the dev must write just to have per-page layouts.
It's not that big of a deal, so I guess it's fine not having it since Next is changing their approach.
However, am I the only one that needed it?

5b (session cb) Not sure if there is any performance gains in sending a callback function instead of the session? Is it really that heavy?

To prove that it can hit performances, suppose you have a procedure that simply fetches some public posts that everyone (even non-logged in users) can see. The db queries would look something like:
get session -> get user
get public posts

Why would I need to get the user session if I just want to retrieve some public posts?
Through my approach, you could have something simple like:
get public posts

But still have the possibility to have auth-protected procedures (through the session cb inside createProtectedRouter):
get session -> get user
get private posts

To prove that it can hit performances, suppose you have a procedure that simply fetches some public posts that everyone (even non-logged in users) can see. The db queries would look something like:
get session -> get user
get public posts

That's not correct though (right?? please correct me if I'm wrong). unstabel_getServerSession only grabs the session cookie, it doesn't query the db for the user-object. you have to get the user-object yourself:
export const userRouter = t.router({
  me: authedProcedure.query(async ({ ctx }) => {
    // from cookie
    const user = ctx.session.user;

    // from db
    const dbUser = await ctx.prisma.user.findFirst({
      where: {
        id: user.id,
      },
    });

    return dbUser;
  }),
});

so I don't think the gains are any significant

You are absolutely right.
I've seen those db queries while trying out some stuff with Planetscale: a prisma query as simple as
return await ctx.prisma.post.findMany({
  where: { authorId: ctx.session?.user?.id },
})

causes these queries: select Session -> select User -> select Post.
I assumed the first "user session" fetches were caused by the createContext but your argument is correct and those db queries may be an effect of the MySQL-prisma model interaction.
(If anyone has already encountered this problem, how did you solve it? Is it a problem?).
Back to the other points, should I open a PR for 1 and 2? And is your opinion still the same for points 3 and 4 @juliusmarminge?

Back to the other points, should I open a PR for 1 and 2? And is your opinion still the same for points 3 and 4

Yes! Please file a PR for 1 and 2. I vote no for 3 and 4 but there may be others who thinks otherwise.

I agree about no for 3 and 4, because adding those things is no different than it would be in any other project/template.

Dismantle Prisma client on teardown, this can be easily done by adding one line:

This change should not be made. The teardown function actually runs on each request after res.end which means it has no guarantee to actually work in lambdas. Additionally, it's recommended not to directly call prisma.$disconnect in NextJS (cc. https://github.com/prisma/prisma/discussions/5890#discussioncomment-416978).

Dismantle Prisma client on teardown, this can be easily done by adding one line:

This change should not be made. The teardown function actually runs on each request after res.end which means it has no guarantee to actually work in lambdas. Additionally, it's recommended not to directly call prisma.$disconnect in NextJS (cc. https://github.com/prisma/prisma/discussions/5890#discussioncomment-416978).

Nice catch. Wanna make a PR reverting the change?

I came here trying to solve typing burden with getLayout approach. Not voting for having it in by default but it would be much appreciated if anyone can share a snippet. I have failed to combine typings of api.withTRPC, next-auth session and custom geLayout property on Component.

4 seems like a user-issue and will soon be irrelevant since Next is changing their router and layout, not sure how far away that is but it is in the works

Documentation strongly avoids from moving in that direction since appDir is currently in beta.

I came here trying to solve typing burden with getLayout approach. Not voting for having it in by default but it would be much appreciated if anyone can share a snippet. I have failed to combine typings of api.withTRPC, next-auth session and custom geLayout property on Component.

If you are willing to typecast the getLayout function you can do the following:
import { type AppType } from "next/app";
import { type Session } from "next-auth";
import { SessionProvider } from "next-auth/react";
import { api } from "~/utils/api";
import { type NextPage } from "next";

export type NextPageWithLayout = NextPage & {
  getLayout?: (page: React.ReactElement) => React.ReactElement;
};

const MainApp: AppType<{ session: Session | null }> = ({
  Component,
  pageProps: { session, ...pageProps },
}) => {
  const getLayout =
    (Component as NextPageWithLayout).getLayout ?? ((page) => page);
  return (
    <SessionProvider session={session}>
      {getLayout(<Component {...pageProps} />)}
    </SessionProvider>
  );
};

export default api.withTRPC(MainApp);

This avoids most of the typing problems and is close to the implementation of the next docs (except NextPageWithLayout now returns a React.ReactElement).

I've opened #1363 to discuss point 4.


Compilation error: undefined: client

Please capitalize 'client' on line 132 of client.go.

Could you make a PR ?


Validation is incorrectly run on resume

Bug description
When val_check_interval is used, and the model is resumed the validation is run immediately after resume, wasting resources (causing ckpt save, and whole validation run).
https://github.com/Lightning-AI/pytorch-lightning/discussions/18110
What version are you seeing the problem on?
v2.4
How to reproduce the bug
No response
Error messages and logs
No response
Environment
No response
More info
No response

This has been reported once and fixed. But the regression has been introduced in 1.6.0  https://github.com/Lightning-AI/pytorch-lightning/issues/11504

Was fixed previously with:
        # while restarting with no fault-tolerant, batch_progress.current.ready is -1
        if batch_idx == -1:
            return False

batch_idx was removed some time back, now should the logic be?
        if self.restarting:
            return False

@lantiga this is a really problematic issue, just a completely bugged experience, would be nice to get it fixed asap.


Update readme.md

grammar/spelling, added troubleshooting section for issues seen in discord help channel
Please describe the changes this PR makes and why it should be merged:
Status

[x] Code changes have been tested on an instance of YAGPDB, or there are no code changes
[x] I have read and followed the contribution guide

Awesome, thanks! Trivial changes, but with huge effect.


Header needs to be responsive

Hello @punyakrit please assign this issue to me under gssoc 24

Hello @punyakrit i raised pr #92 for this . please check


[BUG] Presets in TimeSeriesPredictor are not working well.

[x] I have checked that this bug exists on the latest stable version of AutoGluon
[x] and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation

Describe the bug
I realized that only 2 preset options are working well. I tested the new release of TimeSeriesPredictor on different presets, i.e ("best_quality", "high_quality", "good_quality", "medium_quality", "low_quality", and "low_quality_hpo").
Only "medium_quality" and  "low_quality" are working. I noticed the other presets forces hyperparameterization of the models, then, when it starts it breaks.
To Reproduce

 target="value",
 prediction_length=prediction_length,
 eval_metric="MAPE",
 verbosity=4)

 predictor.fit(train_data=test_data,
 presets ='best_quality')```

 target="value",
 prediction_length=prediction_length,
 eval_metric="MAPE",
 verbosity=4)

 predictor.fit(train_data=test_data,
 presets ='medium_quality')```

Screenshots
1)
2)
Installed Versions
Which version of AutoGluon are you are using?
0.5.0

Thank you for raising this issue @mreismendes . It appears that HPO did not play well with custom-specified target field names. A fix is in progress at #1901


Rearranged drives, now even newly selected .exes are "not found"

[x] I have searched open and closed issues for duplicates
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] I have read the project documentation and not found a solution to my problem there
[x] This isn't a feature request or a discussion topic

Bug description
I rearranged my drives, potentially changing the SATA ports they were connected to. I expected this might mess up HidHide config, and when I ran it everything but the program .exe was pre-selected. So I removed the problem entries and began to re-add, but newly added .exes on every drive except C:\ are selected immediately after adding, as though they are not found. I closed and re-started HidHide to make sure it wasn't a quirk, and yes, they are pre-selected at application start. I even uninstalled and re-installed (rebooting after each as directed), and the few apps I added before uninstall were still there and still pre-selected. I would try to delete the config, but I can't figure out where it's stored.
Steps to reproduce
Not practical because it was presumably caused by HDD rearrangement.
Screenshots
Here's an animated screen recording to make sure there's no misunderstanding. I added an .exe on one of the problem drives first to show that it is immediately "not found". Then I added a random .exe from the C:\ drive (where HidHide is installed) just to demonstrate that it is found.

Machine info
CPU-Architecture: x86_64
Windows version: Windows 10 Pro 22H2
Software/driver version(s): 1.2.128 (despite the title bar saying <IP_ADDRESS>, I installed from the latest release, HidHide_1.2.128_64.exe)
Additional information
One other thing I did between rearranging the drives and running HidHide for the first time was run Disk Cleanup as Admin and selected the "Device driver packages" entry. Doesn't seem relevant ("This task will remove older versions of drivers that are no longer needed") but what do I know?

Can you provide any advice on a workaround for this in the interim? I went so far as to delete, recreate, and reformat the partition, and in Device Manager the volume shows Physical Device Object name \Device\HarddiskVolume6. But when I add an exe on the partition, it still shows up as \Device\HarddiskVolume10\... and is pre-selected.

I don't know what the issue is, so no.

Is there a way to completely purge all configuration data? Seems to me that would be worthwhile to try. IIRC in another bug report you said config is stored in the registry; I was poking around and came across a couple keys I couldn't access. Also IIRC you said there that the config is not user-accessible by design (whether yours or Microsoft's wasn't clear). If those are it, I will try to find a way to access/delete them.

Yes there is indeed; caution though, your own responsibilities lie ahead 😉

Get the MS tool PsExec
Open a CMD or Terminal as Admin
Run .\psexec -s -i regedit
Now Registry Editor should be open with system permissions
Now go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidHide\Parameters and adjust the key permissions like so:

Now you should be able to see those:

Nuke the highlighted values
Now run the normal uninstaller and reinstall it with the setup, this should re-create the default states
???
Profit!

Thanks! Can't do it right now, but when I do I'll report the outcome.

Any luck @alphaniner ?

Crap, has it been two weeks?!? Sorry.
Anyway I just got around to trying it. No joy, issue persists. But I double-checked Device Manager and it turns out I was wrong, \Device\HardDiskVolume10 is the correct 'path' for the partition. I also did some more testing, and the issue occurs with all the partitions/volumes on two of my disks, even if I had never added an .exe to HidHide before.
Both of these drives are "Dynamic Disks" while the others (three of them) are "Basic Disks". This is because I have a Windows RAID0 (striped volume) on a partition on each of these two. There is also one additional partition on the first and three additional partitions on the second.

All this being said I had been planning to reinstall Windows soon™ anyway. I'll probably keep the old install around for a while, so if you think of anything let me know. Or feel free to close if you don't think a solution is likely. Either way, thanks for the help.

No worries, 2 weeks is nothing in my time line 😅
I never tested the behaviour with dynamic disks, there has to be a difference in how the kernel resolves the drive names. I'll see if I can replicate it.

Yeah guess what; haven't had the time to look into this, if someone wants to jump on the wagon and help out here, would be cool.


Disable to change scenario by players

(From Target-1 Akiba)
Currently players can change scenarios by long pressing the button on result screen.
Disable this feature to prevent mistakes.

Implemented by commit ac6aa4d


Adding example for batch processing

I wanted to add an example for batch processing, the problem is that in order to do it kinda-sorta-nicely I added two methods on the HttpResponse struct, a variable to the HttpResponseData struct and added a struct called AsyncProcData to the uWS namespace.  They don't belong there, I know.  I was hoping for suggestions on how I can refactor it so there is a simpler example for async processing than the AsyncFileStreamer.h.  I'm not the best programmer so it took me a couple of days to understand everything and code this up.
Thanks for creating such a great library.  This thing is sick.

this code works but is bad, don't use it.  I can't delete this pr.


gitlab, debian production pipes, pureos

Is your feature request related to a problem? Please describe.
This may seem like a monolithic feature request, and indeed - it's massive. At the moment we only support github actions for cross platform development, but they are hand configured. They won't work on gitlab, for reasons. We assume that engineers install and maintain their own toolchains, which has to be mapped to the workflows. And now it gets complicated.
Describe the solution you'd like
We want to be able to publish tauri not just to cargo, but make it a piece of engineering tooling that can be installed with dpkg / apt and used in production workflows (at gitlab) by pureos for the official production of apps that can appear on their app store.
I may be glossing over the complexity, but I see us needing to do a couple things:

Make gitlab workflows work (at least for linux at the beginning)
Figure out how to make a bundler that can be installed via dpkg / apt.
Get feedback from the pureos engineers.

Want to help, please join us on this part of our Journey.

We have .deb bundles. Now we need to test this on pureOS, which I want to do soon (and someone in the community was also interested in testing).


404 on blog post

Hi,
I'm having an issue with this configuration:
Debug Information:
    OS: Mac OS X, v10.14.4
    Node Version: v10.15.2
    Ghost-CLI Version: 1.9.9
    Environment: production
    Ghost version: 2.22.1

After publishing mypost, I can find it in blog post list but when trying to access it, it returns a 404.
From the frontend, in the blog posts list, the url is: http://localhost:2368/p/f3e44130-b8cb-45fa-b90d-0d4e38e7515f/ instead of http://localhost:2368/test-de-post
Any idea ?

I do not need support, it appears to be a bug

@smorele this is a very basic post publishing case that is definitely covered by lots of tests. This is why I'm rather leaning towards exploring what could be going wrong on the forum first, and filing an issue here once it is a very clear, reproducible bug


Group Channels with Admin messages not getting listed in channelListQuery

Hi,
I have configured in sendbird dashboard to send an admin message while creating a private group channel.  Then i am trying to get the list of group channels ordered by the latest_last_message, but the newly created group channel is not coming first in the list. While analysing it is observed that the lastMessage property of the group channel is coming as null.
We are using sendbird javascript sdk version 3.0.117.

Moved to the zendesk ticket


Modifications to XMLHttpRequest

I needed these for a project.
So here you go so you don't have to write them again:
Adding readyState
Adding statusCodes
Adding setRequestHeader
(Granted... I'm not an Objective-C programmer, so I'm not up to date on the coding guidelines. So sorry in advance if I forgot a space here or there)

Awesome, thank you!


Add disjointness assumption to IS proof obligations

This PR adds disjointness assumptions to IS proof obligations. Surprisingly, they had been missing all this time.
This PR also rewrites GeneratePartitionChecker to make better use of APIs in Action and ActionDecl.

@NamrathaG : Please take note of the revised implementation of GeneratePartitionChecker. You might find it helpful to read the code to learn about convenient APIs.


Creating a stream from XD shell with the same http port will throw an exception but not too clear what it is.

Trivial but I took some time to figure out.
Creating a stream with the same http port will throw an exception but not too clear what it is.
xd:>stream list
  Stream Name  Stream Definition  Status
  -----------  -----------------  --------
  http1       http | log         deployed

xd:>stream create --definition "http | log" --name http2
19:02:12,799  WARN Spring Shell client.RestTemplate:524 - POST request for "http://localhost:9393/streams" resulted in 500 (Internal Server Error); invoking error handler
Command failed org.springframework.xd.rest.client.impl.SpringXDException: error occurred in message handler [moduleDeployer]

The message should be something like 'port is in use', instead of moduleDeployer.

Descriptive error message is added to the stacktrace:

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: <IP_ADDRESS>/<IP_ADDRESS>:9000
Caused by: java.net.BindException: Address already in use


Unit tests fail with jQuery 1.10.0

Unit tests pass in jQuery 1.9.1 but fail in jQuery 1.10.0 (20/449 assertions failed).
You can see the actual vs expected results if you run the test index.html in a browser and look in the console.
We need to fix this in order to be able to upgrade jQuery in the future and still have ArteJS work.
This may also fix #36 (Update this project within jQuery api).

After compatibility with jQuery 1.10 is fixed, we should also run the tests on later versions to make sure they work.


[5.1] Fews improvement to Routing component:

Avoid using last() since it's just an alias to end()
Refactor array_get() to just use isset($a) ? $a : null when possible.
Avoid using array_get() on middleware name to allow using '.' as route middleware name.

Replace #9008
Signed-off-by: crynobone<EMAIL_ADDRESS>

:+1:


rancher-ha: Unable to remove filesystem for : remove /var/lib/docker/containers//shm: device or resource busy" component=service

Rancher Version:
rancher-ha 1.1.2, new setup
Docker Version:
1.10.3
OS and where are the hosts located? (cloud, bare metal, etc):
RHEL7 as VM. I can also reproduce this problem with a VM running within Vagrant/Virtualbox
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Docker daemon options, especially devicemapper setup with thinprovisioning:
/usr/bin/docker daemon --selinux-enabled -H tcp://<IP_ADDRESS>:4243 -H unix:///var/run/docker.sock -G dockerroot --bridge=docker1 --storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/VG02-docker--pool --storage-opt dm.use_deferred_removal=true
Setup rancher-ha as described in docs.
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
setup docker as described above on rhel7 or centos7 vm with thinprovisioning.
Let rancher-agent run into timeout by starting additional cluster members deferedly.
Results:
time="2016-08-17T10:02:44Z" level=fatal msg="Failed while waiting for 3 host(s) to be active: Timeout waiting for hosts to be active" component=service
time="2016-08-17T10:02:45Z" level=info msg="Cluster changed, index=0, members=[<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>]" component=service
time="2016-08-17T10:02:45Z" level=info msg="Container agent is not running in state &types.ContainerState{Status:"exited", Running:false, Paused:false, Restarting:false, OOMKilled:false, Dead:false, Pid:0, ExitCode:0, Error:"", StartedAt:"2016-08-17T10:01:41.473084764Z", FinishedAt:"2016-08-17T10:01:56.76359739Z"}" component=docker
time="2016-08-17T10:02:45Z" level=info msg="Deleting container aca1d280b2f7080860af5d89994c515e76010035af2dcf78a2c184802e8ee576" component=docker
time="2016-08-17T10:02:45Z" level=info msg="Creating container rancher-ha-agent" component=docker
time="2016-08-17T10:02:56Z" level=info msg="Forgetting cluster member" component=manager member={8  37e3d806-bfa8-4f35-98d4-9fee3524dd84 <IP_ADDRESS> map[] 0 38 1}
time="2016-08-17T10:02:57Z" level=info msg="Cluster changed, index=1, members=[<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>]" component=service
time="2016-08-17T10:02:57Z" level=info msg="Container agent is not running in state &types.ContainerState{Status:"exited", Running:false, Paused:false, Restarting:false, OOMKilled:false, Dead:false, Pid:0, ExitCode:0, Error:"", StartedAt:"2016-08-17T10:02:46.560187095Z", FinishedAt:"2016-08-17T10:02:55.904054161Z"}" component=docker
time="2016-08-17T10:02:57Z" level=info msg="Deleting container 4886d2e989c354683dab36971faddc2b96e1afc599a31957a2e2605313b0bf03" component=docker
time="2016-08-17T10:02:57Z" level=info msg="Can not launch agent right now: Error response from daemon: Unable to remove filesystem for 4886d2e989c354683dab36971faddc2b96e1afc599a31957a2e2605313b0bf03: remove /var/lib/docker/containers/4886d2e989c354683dab36971faddc2b96e1afc599a31957a2e2605313b0bf03/shm: device or resource busy" component=service
Expected:
I would not expect any error when agent gets restarted internally

I believe the fact this is logged doesnt constitute an issue that prevents rancher from running. Closing this out.


Autogenerate Introspected Apis Operations

Problem
One of the missing Wundergraph features that my team encountered, when using Wundergraph's (datasource introspection) is that WG atm doesn't help in providing any kind of support when it comes to autogenerating custom WG Operations based on the introspected datasource Specifications.
In other words what this feature means is that for example operations defined within the specification (lets say for example operations specified with operationId within OpenAPI Specification)should be autogenerated by Wundergraph (enabling them to be used within the code W/O having to manually/explicitly code them).
This feature is extremely useful, and provides huge benefits in cases when:

you might be dealing with datasources (OpenAPI/GraphQL... Specifications) which are comprehensive (consist of tens or hundreds  of operations/endpoints) which you might want to reuse somewhere
in cases when operations composition is required (especially if you're composing operations from your specs)
increase DX extremely, especially within typescript based operations/handlers (with compositions and IDE autosuggestions)
reduces costs (of manually rewriting operations from within your specs which can essentially be autogenerated)

Suggested solution
One potential solution to this problem that I would suggest, that has minimalistic impact and completely reuses the power of Wundergraph's custom operations folder's code generation functionality, is to

add the custom operations autogeneration function (hooked into the WG generation lifecycle) that would be responsible for reading the wundergraph's virtual graph (already generated and provided by WG) and to use it for autogenerating all apiNamespace related <operationId>.graphql operations (as custom operations under operations folder).

This functionality could be further improved by providing configurable filtering capabilities that could limit the custom autogenerated operations to only specific apiNamespace (so that only certain apiNamespace datasource operations get autogenerated)
The good thing about this approach is that it doesn't touch the datasource introspection layers, but it actually only works on a virtual graph gql layer (where all syndicated/introspected datasources have already passed WG ingestion process).

For potential draft implementation of this feature, outside of WG core, please have a look at this repository.

Solved by #896


fix: [CDS-99032]: Fix app project import, cluster ambigous project er…

Describe your changes
Using accountIdentifier from context in project mapping, fix import for app project, fix cluster creation when multiple argo projects are mapped to one harness.
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck
gitleaks: trigger gitleaks

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


Audit prep - Includes test suite, documentation, and clean code!

Opening this PR to start the process of cleaning the code for an auditor.

Fixes #58 #60 #61 #62 #65 #66 #67

Also adds a Docker file, a better testing suite, and more documentation for each directory.


dma: esp32: Dynamic allocation of IRQs for DMA

DMA driver can offer up to 5 channels (ESP32S3), allocating 10 interrupt sources at GDMA driver init.
This PR proposes to move IRQ allocation from driver init to config function, allowing enabling only interrupt sources that are actually used by the application, thus saving IRQ slots. It can mitigate issues such as #74368.

This might be a silly question, but could configuring the interrupts as shared be an option? This approach could further reduce the required slots, especially when many DMA channels are in use. Besides, they already share kind of a common ISR.

Hi @epc-ake,
In theory using shared interrupts could reduce performance, as it requires CPU processing to identify the interrupt source of an IRQ event. As you mentioned however, in your case you're using only one channel (with TX and RX sharing the same handle), so it could be that it wouldn't make a difference in performance for you. In any case we are just evaluating ways to improve interrupt allocation and avoid running out of IRQ slots with minimal or no additional configuration.


Reloading Shaders crashes the application

This is most likely caused by the abstraction between ShaderPipeline and Shader. Shader currently keeps a pointer to its ShaderPipeline which means that the ShaderPipeline pointer will change when the Shader reloads and invalidate any kept references.
A possible solution would be to remove Shader and replace it with ShaderPipeline. This should keep references intact.

This is now solved in the Dev branch.
The solution did not follow the previous suggestion, instead ShaderPipeline references were replaced with Shader references (Shader owns its ShaderPipeline). This allows the ShaderPipeline pointer to change without crashing the application, the renderer uses the new pointer with shader->getPipeline(). 😃


Force drawing guides in single-row Tree items in the editor

Now that guides in Tree nodes disappear when relationship lines are visible, this prevents them from being drawn in places they should. This commit forces guide drawing in them.

I don't understand this PR and it looks pretty hacky, would appreciate more context or images

@reduz Before, if relationship lines are enabled:

After:

I'm not very sure if this is better

@reduz I'm quite sure there's no simpler workaround to make this work, as the theme itself cant individually know which Trees don't have sub-children or not.

Thanks!


adding NBEATS to the fray, and fixing what I believe to be a typo in the Theta file naming

…the Theta file naming

thanks


[Feature Request] Allow login prompt type "account_selection" or able to set it dynamically

Is your feature request related to a problem? Please describe.
Hey, I would like to be able to control the prompt that is specified on the outgoing auth request to IDP. This would allow the ability to also implement a switch account button on the UI.
Describe the solution you'd like
I suppose the function OAuthService.createLoginUrl could take a optional parameter which allows to override the prompt field instead of a boolean which is set to prompt=none.
Then exported functions should pass the prompt type that they prefer or keep same behaviour on existing functions and add additional exported function which other projects can call with prompt override speficied.
Describe alternatives you've considered
Have not been able to pass this field in other ways.
Additional context
Source: https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow

Will allow for something like this to be implmented.

Thanks

You can set customQueryParams in the AuthConfig:
customQueryParams: {
  prompt: 'select_account',
}


Get OpenDKIM public key for DKIM TXT record

This might be easier to use openssl_privatekey and openssl_publickey mudules

Since opendkim really needs to be on the MX server, this may have gotten a bit easier.


ng s and ng b commands are very slow on Windows 10

🐞 Bug report
Command

[x] new
[x] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
The commands checked above are extremely slow. It was slow before, but is much slower than before.
🔥 Exception or Error
NONE.
🌍 Your Environment

Windows 10 1809
Node 15.12.0
npm 7.6.3
Angular 12.0.1

Angular CLI: 12.0.1
Node: 15.12.0
Package Manager: npm 7.6.3
OS: win32 x64

Angular: 12.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.1
@angular-devkit/build-angular   12.0.1
@angular-devkit/core            12.0.1
@angular-devkit/schematics      12.0.1
@angular/cdk                    12.1.4
@angular/material               12.1.4
@schematics/angular             12.0.1
rxjs                            6.6.7
typescript                      4.2.4

Additional Details
It's not only slow in this environment only, it's slow in every project/environment I work on.

Can you try using a supported Node.JS version? Ideally the latest LTS version?
If the problem persists can you please please provide CPU profiles of builds before and after the update?

Also, if possible, please try to update to the latest stable release of Angular (currently 12.2.5).

Closing due to lack of communication.


How to change some colors inside code fence

Hi, I'm wondering how to change some of the font colors inside this code block because the true color is difficult to read.
Thanks a lot!
My original code is with swift language
let csvReadingOptions = CSVReadingOptions(
    hasHeaderRow: true,
    nilEncodings: ["", "nil", "na"],
    ignoresEmptyLines: true,
    delimiter: ","
)

Hey @vinamelody! Thank you for leaving this issue. This is definitely a problem with the code color reproduction, I will fix it in the next release in a few weeks. If you want to tweak the colors yourself, you can edit the CodeFence properties in the theme files.

thanks @adrian-fuertes for the quick response and this theme!

Hi @adrian-fuertes ,so sorry, which cm class should I define for a boolean value?


Improves scraping

Improves scraping
Fixes buffer not resetting last parse correctly.

Some tests were failing, but not horribly. These opportunities were found by manually comparing scraped functions (mostly from numpy and scipy) with their docstrings (which contained invalid Python code that looks like a function definition) - we were seeing the functions, but now we also see their parameters.


Intro page for app

Make an introduction page for the app including the logo and links for signing up and logging in.
This should give the user an idea of what the app is for.

Closed by #64


Add in bedrock.ready to module configuration.

I added in the flag because we only want the behavior (unlimited retries and exiting if we can't get the token) on start up...

Right, but that's a use case, not a description of the feature. There may be other use cases in the future. If we're convinced that that is unlikely, we should consider if other designs would be better.
To that end, it seems that what we're really trying to do here is avoid duplicating error handling code in numerous places by pushing it into this library. However, we're still adding event handling code everywhere to call into this library. Therefore, I'm still thinking we want this library to handle obtaining its initial access token on startup on its own -- and exit on its own -- removing the need for the flag entirely.
Why don't we put the bedrock.ready handler code into this module and allow this module to be configured with N many target servers (for which it will obtain N many access tokens on startup)?
Originally posted by @dlongley in https://github.com/digitalbazaar/bedrock-oauth2-client/pull/5#discussion_r707502154

Implemented in previous PRs.


Primary Opportunity Role Deleted when Default Role matches Household Role and HH changes

On the Contact Role Settings Page, if the Opportunity Contact Role Default Role is the same as the Household Member Contact Role and the Opportunity is moved to a new Household, the trigger to create the Household Member Contact Roles is deleting the Primary Contact before adding in the members of the Current Household.

**lurch: add

Tracking W-010807

Included in beta release version 3.77 (Beta 4) and higher

Included in production release version 3.77


Add some image preview to README.md

Can add some preview images to this readme?

Here you go :) Express delivery!


Is there any way to locale with month and days only

I looked at the locale source files, and could not find a format to display month and day only without year info. One example from locale/zh-cn.js file
longDateFormat : {
    LT : 'Ah点mm分',
    LTS : 'Ah点m分s秒',
    L : 'YYYY-MM-DD',
    LL : 'YYYY年MMMD日',
    LLL : 'YYYY年MMMD日Ah点mm分',
    LLLL : 'YYYY年MMMD日ddddAh点mm分',
    l : 'YYYY-MM-DD',
    ll : 'YYYY年MMMD日',
    lll : 'YYYY年MMMD日Ah点mm分',
    llll : 'YYYY年MMMD日ddddAh点mm分'
},

The list formats all have year. Can you support some format like LM or lm:  'MMMD日'?
Please advise.

We don't currently offer a localized format token that is month and day only.  This would require a significant expansion of the data, as there are likely more than one way to display this in various locales.
It's probably easier to use a custom format instead of trying to fit this into the locale-formats.

I also need this type of format.
I don't want to make it custom as it should correct in all different locales :)

Same here.
Just to consider it, Intl.DateTimeFormat says that implementation should support at least the following subsets: (...) month, day (...). Probably not relevant, but seems it is important to consider it for locale specific messages.

I just had a look at all language files and for most of the languages this seems quite easy...
@mj1856 any ideas how I could get started on this?

Couldn't that be taken from here: http://i18ndata.appspot.com/cldr/tags/unconfirmed/main/en/dates/calendars/gregorian/dateTimeFormats/availableFormats?action=browse ?

Also from here: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/.
Unrelated, but maybe at some point it might make sense to derive locale specific formats from Intl.DateTimeFormat and avoid including the moment specific locale data?

I would need this too.

We use this regular expression to overcome this problem
moment().format('L').replace(new RegExp('[^\.]?' + moment().format('YYYY') + '.?'), '')
It does following conversions
05/04/2017 -> 05/04 (e.g. us, gb)
2017-04-03 -> 04-03 (e.g. swe)
8.7.2017 -> 8.7. (e.g. fin)

I need to convert März 2017 to 01.03.2017. The locale is de.
I tried: moment('März 2017').format('DD.MM.YYYY') and I get 01.01.2017
It works for other months tho, except for March. Why?

I ran into the same need, and in lieu of a supported way, I put the following code in a helper class that I use inside my services and wrapped in an Angular pipe for use in templates. Your mileage may very, but I reviewed all the locale files and think I got all the different permutations of using the "ll" format as the basis for the new Month & Day format. I've tested against the following locales: en, es, hy-am, hu, cv, ja, lv. Each of those had interesting permutations, including unicode letters in the month names.
if (format.indexOf("YYYY") === 0) {
        // In some locales, the Year is presented first, along with various punctuation (period, comma) as well as sometimes
        // hard coded words in brackets. The RegEx below strips everything off that shouldn't be there related to the YYYY prefix.
        return format.replace(/YYYY(\.)?(\s)?(\[([^\x00-\x7F]|\w)+\])?(\s)?/gi, '');
    }

    // In other locales, the year is presented at the end (or almost end). It can have various punctuation around it as well
    // as hard coded words in brackets. The RegEx below strips everything off that shouldn't be there related to the YYYY suffix.
    return format.replace(/(\s)?,?(\[([^\x00-\x7F]|\w)+\])?(\s)?YYYY.*/gi, '');

Good luck!
PS - I am not a RegEx guru and did my best with the expressions above. They seem to work, but likely could be optimized.

I did .format('MMMDo') to get what I want in the end, not generic but works well in my case.

👍

what about using a data source which has the formatting rule for a lots of languages. The remaining languages get a placeholder text p.ex. 'Hi developer. please report the formatting of your language to the moment.js project. Thanks'
Thus if some developer needs the short date string and uses it, he will get this call to action and the gap is closed on demand.

Here's another workaround using Intl. Customize the options object to get the format you want.  Intl.DateTimeFormat will handle all the localized ordering of the strings, and local separators.
const localizedDateMonthNoYear = (moment) => {
    if (window && window.Intl && window.Intl.DateTimeFormat) {
      let options = {
        weekday: 'short',
        month: 'short',
        day: '2-digit',
      }
      return new Intl.DateTimeFormat('default', options).format(moment.toDate())
    }
    return moment.format('ll');
}

Some of the Moment.js core devs now work on TC39 proposals, because you are right, why not have some of this functionality in the core language?

You can use toLocaleDateString method of JS Date. E.g.
const getFormattedDateTime = dateTime => dateTime.toLocaleDateString('ru-RU', {
  month: 'short',
  day: 'numeric',
  hour: 'numeric',
  minute: 'numeric',
})

See https://momentjs.com/docs/#/-project-status/
We will not add new tokens.


[WIP] I359 soft delete

https://github.com/sudara/alonetone/pull/479 made me think that it might be useful as a part of this PR to make sure db:seeds creates a handful of soft deleted users in addition to having one in fixtures. That will give us a better chance to work with things and style things properly in development.

"Let's do this like Brutus!" https://www.youtube.com/watch?v=5CIa6l60k8Y


Update README.md

(fix a small typo in the run command)

Oh, nice. I just fix the type, but didn't see your PR. Sry for that. : (


Windows Taskbar Icon is choppy

Describe the bug
On Windows 10, the taskbar icon is very fuzzy around the edges
To Reproduce
Steps to reproduce the behavior:

Install Ferdi

Expected behavior
Clear circle
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS] Windows 10
Browser [e.g. chrome, safari]
Version [e.g. 22] 5.4.0

Additional context
Add any other context about the problem here.

Yeah, it's the same on Win7 as well.
There was probably some problems while converting the Franz icon or if this is a completely new icon then some settings are mismatched.

It is a new icon so I exported it wrong. It looks like build-helpers/images/win-app-icon.ico is 64x64 in Franz and 32x32 in Ferdi - that may be the issue.


Arrow Accelerator: run ClickBench and verify results correctness

Clickbench test run
https://github.com/spiceai/spiceai/actions/runs/11789435215

ClickBench run, results are correct (verified)


Still developed?

The question everyone with a great repo that didn't get any updates for 2 years on master branch is asked .. well, what's up? :four_leaf_clover:

Good news: I'm alive ☺
Goood news: all the enhancements have been developed
Gooood news: here  you can find a working demo.
Log in using demo - pHde79!
You will find Calendar board in Contact -> Job meetings
Bad news: the demo uses an old version of Kirby (2.3.1) so I don't know if it works with the latest one.
I have to test it
Bad news: Documentation to migrate from Calendar Board Light to Pro doesn't exist (yet)
Gooooood news: I decided that Calendar Board Pro (Kaboa) will be free

Waiting for the documentation you can download it. 🎉🎉🎉

THATS SO GREAT!
Lovely job!

Well, roll up your sleeves everyone and get to work! Close this mutiny! Arr!


Add more examples

Please add more examples to the wiki how to get the status of a server with giving a port, because when I use the port in the host there is an error...
Error: getaddrinfo ENOTFOUND IP:Port
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'IP:Port'
}
Using the latest npm version, on an older version (1.1.1) it works

There is already an example on the README that shows how to specify a port.

okay sorry, but then please update the wiki pages...

There is nothing wrong with the models on the wiki pages. The StatusOptions extends the BaseOptions model, just like it says: StatusOptions extends BaseOptions.


filtering question

Looking for some filtering advice.  Consider the following:
`create table albums (
id integer not null primary key,
name text not null,
year integer not null,
leader integer
);
create table artists (
id integer not null primary key,
name text not null
);
alter table only albums add constraint leadid foreign key (leader) references artists(id);
grant all on table albums to testuser;
grant all on table artists to testuser;
insert into artists values (1, 'Miles');
insert into artists values (2, 'Trane');
insert into artists values (3, 'Garland');
insert into albums values (1, 'Milestones', 1958, 1);
insert into albums values (2, 'Kind of Blue', 1959, 1);
insert into albums values (3, 'Blue Train', 1957, 2);
insert into albums values (4, 'Red Alone', 1960, 3);
`
collect all miles albums
% curl 'http://localhost:3000/artists?name=eq.Miles&select=id,name,albums(name),albums(year)' [{"id":1,"name":"Miles","albums":[{"name":"Milestones"},{"name":"Kind of Blue"}],"albums":[{"year":1958},{"year":1959}]}]
Only the 1958 Miles albums, but why list the extra year:
% curl 'http://localhost:3000/artists?name=eq.Miles&albums.year=eq.1958&select=id,name,albums(name),albums(year)' [{"id":1,"name":"Miles","albums":[{"name":"Milestones"}],"albums":[{"year":1958},{"year":1959}]}]
So this would be the starting question.... how do I filter such that I don't get the extra "year" clause for a Miles album that was NOT from the specified year?

your select param is not right
http://localhost:3000/artists?name=eq.Miles&select=id,name,albums(name, year)

OK that was great advice.  But I didn't quite get to the point here.   Here's a query to get all 1958 albums with Miles as leader:
% curl 'http://localhost:3000/albums?year=eq.1958&artists.name=eq.Miles&select=name,artists(name)'
[{"name":"Milestones","artists":{"name":"Miles"}}]
Perfect!  Same thing, but get the 1958 albums with Trane as a leader:
%curl 'http://localhost:3000/albums?year=eq.1958&artists.name=eq.Trane&select=name,artists(name)'
[{"name":"Milestones","artists":null}]
So there's an "extra" album listed here.  Is there a way to have both filters applied here and end up with an empty list?

Mot possible out of the box
See https://github.com/begriffs/postgrest/issues/696#issuecomment-239876019

If your case is exactly as in your examole then you can request artist and embed albums and get the results you want

We're trying to allow the most freedom for the end user -- which could include more arbitrary searches than a pre-canned function would allow.  Given that we could design SQL to apply all the conditions to filtering the main table, it seems like it should be possible to do the same with postgREST.  Are there technical obstacles to providing this functionality, or is it just a resource/priority problem?


brew bump-formula-pr doesn't work with two factor authentication

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

At github I'm using two factor authentication for my account.
I tried several times brew bump-formula-pr like:
barthel $ brew bump-formula-pr --verbose --strict --url=https://github.com/bitwarden/cli/releases/download/v1.5.0/bw-macos-1.5.0.zip bitwarden-cli
==> Downloading https://github.com/bitwarden/cli/releases/download/v1.5.0/bw-macos-1.5.0.zip
Already downloaded: /Users/barthel/Library/Caches/Homebrew/downloads/302038a82ddab1aee05b4b28ae6dae5a008cb0081286a372801c934bea9cc0bb--bw-macos-1.5.0.zip
brew update
Already up-to-date.
==> replace<EMAIL_ADDRESS>with "https://github.com/bitwarden/cli/releases/download/v1.5.0/bw-macos-1.5.0.zip"
==> replace "75bee4713cbf738d7140973b44d068f36155b8888418b07ed036eb0b0088e0fb" with "1eaf77029d51e1647f19d5f1666423b97aaa1401cef5e3e1b4e2d714946b107e"
/usr/local/bin/brew audit --strict /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bitwarden-cli.rb
git config --local --get-regexp remote..*.url git@github.com:.*
git checkout --no-track -b bitwarden-cli-1.5.0 origin/master
M	Formula/bitwarden-cli.rb
Switched to a new branch 'bitwarden-cli-1.5.0'
git commit --no-edit --verbose --message=bitwarden-cli 1.5.0 -- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bitwarden-cli.rb
[bitwarden-cli-1.5.0 a0c5fd9d01] bitwarden-cli 1.5.0
 1 file changed, 2 insertions(+), 2 deletions(-)
git push --set-upstream https://github.com/barthel/homebrew-core.git bitwarden-cli-1.5.0:bitwarden-cli-1.5.0
Username for 'https://github.com': barthel
Password for<EMAIL_ADDRESS>
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/barthel/homebrew-core.git/'
Error: Failure while executing; `git push --set-upstream https://github.com/barthel/homebrew-core.git bitwarden-cli-1.5.0:bitwarden-cli-1.5.0` exited with 128.

If I disable the two factor authentication for my account this command finished successfully.

It does work, you need to use a personal access token.

I tried with a personal access token too, but brew bump-formula-pr asks for the username and the password.


highcharts update.

@giagiannis The change we were talking about, seems to work.

Coverage decreased (-0.08%) to 82.343% when pulling 41a9e718d1b83186eb80f2a5dcccbd3032494c99 on tabac:highchart-plot-threashold into 78044956d080d8e54f4e8f86ca08f8ddfcd72111 on giagiannis:master.


Add SerenityOS to BSD-2-Clause

Added the well-known repository SerenityOS to BSD-2-Clause page.

SerenityOS is a cool project but we only need 3 examples and the existing ones seem fine.


[dv] Create and deploy reset agent

Hi DV team (@rswarbrick, @hcallahan-lowrisc, @antmarzam, @KinzaQamar)
Here is the PR I was talking about earlier today. I was expecting to have something in better to share by the end of this day but unfortunately things didn't went well. It compiles, elaborate, start to run and fail for a reason I cannot explain yet. I'll work on it later next week. This PR will be split into multiple later as I think these changes can happen incrementally. I haven't done that so far as I was not sure of the implementation.
You can start to have a look and give me feedback on some points which are supposed to be done at my end:

About the reset agent itself.
About the way I have started to make the reset shared with the other components through TLM interface.

-> Other comments are welcome either
What I still need to address:

Make sure the current implementation works.
Splitting the dv_lib into 3: dv_base_agent_lib, dv_base_env_lib and reset_agent.
Managing multiple reset agents, as discussed it's a must have for some env.
Trigger on the fly resets from the IP specific base test when rand_reset_vseq is called (not from the base test from dv_lib for the moment as not all the IP will move to this way directly, or maybe do it via a config bit somewhere).
Address all my comments tagged with "TODO MVy" (BTW if you have some comments on these I' be happy to have inputs on some).

-> Do you see anything else?
When all these points will be addressed and will work:

Make all DV env transitioning to reset agent adoption.
This should simplify some piece of code as highlighted with the "TODO MVy". And it will also uniformize some points.
Remove the old reset triggering way.

-> Do you see anything else?
Note: @rswarbrick, I don't find Marcelo for some reason. Can you help me ?

@marcelocarvalhoLowRisc (I don't seem to be able to add Marcelo as a reviewer but I'm not entirely sure why. Maybe because he hasn't had any PRs merged yet?)

@marcelocarvalhoLowRisc (I don't seem to be able to add Marcelo as a reviewer but I'm not entirely sure why. Maybe because he hasn't had any PRs merged yet?)

@marcelocarvalhoLowRisc was a member of our GitHub org but not part of the OpenTitan GitHub team. I've now invited him.
On a different note: I've talked to @martin-velay and as outlined in his description above this is a draft PR not intended to be merged as is. There is still work to be done to get this in a mergeable state (including splitting it up into smalller, reviewable chunks) but Martin wanted to give people a chance to take a look asap and if possible to provide early feedback to check this makes sense to others as well. I think this is actually perfectly fine but of course, once the implementation becomes more mature and this needs real review and merging, the size has to be reduced. Martin is aware of this.
FYI @rswarbrick , @mundaym .

Status update:
I have pushed all my changes. This PR is still not ready, the reset is not happening as it should yet. I need to pause this activity to be focused on V3 activities.
What should be done next: find a way of disabling the main process when a reset is happening and then restart. This should probably imply to have a fork with a reset and main thread as done in many components, but this be done in the main virtual sequence. But the this main sequence shouldn't be killed by using the stop_sequences from the sequencer, otherwise will run at all. Instead, a task should be spawned from the main vseq and this task should be killed by calling disable fork and then restarted. This should happen as many as defined by a control knob which says how many resets should happen. By default this number will be equal to 1 (for initial reset).