Log failure msg in console.log

example: https://app.saucelabs.com/tests/53ad5943c45742a3bab8b340f034c36f

Not bad! :D
Is there any more info we can print around what step failed? Because if the spec has multiple tests, I wonder if the info we have right now is enough.
Here's what cypress natively shows:
 Actions
    1) .type() - type into a DOM element

  0 passing (6s)
  1 failing

  1) Actions
       .type() - type into a DOM element:

      Timed out retrying
      + expected - actual

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Based on this info, I know that my failing step inside my spec is:
it('.type() - type into a DOM element', () => {...}

Not bad! :D
Is there any more info we can print around what step failed? Because if the spec has multiple tests, I wonder if the info we have right now is enough.
Here's what cypress natively shows:
 Actions
    1) .type() - type into a DOM element

  0 passing (6s)
  1 failing

  1) Actions
       .type() - type into a DOM element:

      Timed out retrying
      + expected - actual

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Based on this info, I know that my failing step inside my spec is:
it('.type() - type into a DOM element', () => {...}

Update to
- expected<EMAIL_ADDRESS>+ actual<EMAIL_ADDRESS>frame:    11 |     // https://on.cypress.io/type
  12 |     cy.get('.action-email')
> 13 |       .type('fake@email.com').should('have.value'<EMAIL_ADDRESS>     |                               ^
  14 |
  15 |       // .type() with special character sequences
  16 |       .type('{leftarrow}{rightarrow}{uparrow}{downarrow}')

Update to
- expected<EMAIL_ADDRESS>+ actual<EMAIL_ADDRESS>frame:    11 |     // https://on.cypress.io/type
  12 |     cy.get('.action-email')
> 13 |       .type('fake@email.com').should('have.value'<EMAIL_ADDRESS>     |                               ^
  14 |
  15 |       // .type() with special character sequences
  16 |       .type('{leftarrow}{rightarrow}{uparrow}{downarrow}')

See latest example: https://app.saucelabs.com/tests/d3d538c3dbc54c15a094b43be0ab3119

See latest example: https://app.saucelabs.com/tests/d3d538c3dbc54c15a094b43be0ab3119

Perfect!

Perfect!


Remove starknet address, upgrade cairo, switch from docker to venv, bugfixes

remove starknet address option
remove starknet_address from frontend
require unique ethereum address
remove old migration file
upgrade to cairo-0.6.2
fix approve profile mutation id type
log more while approving a profile
fix name of argument to cachedProfile
new deployment

Nice, looks good! 🚀
Long term I think I'd rather keep the ID type in the schema file and then find another way to fix the type errors, since that feels more correct conceptually. But I've definitely been playing pretty loose with the typings up to this point and doesn't seem like the right point to start taking it more seriously yet.

Nice, looks good! 🚀

Thanks!

Long term I think I'd rather keep the ID type in the schema file and then find another way to fix the type errors, since that feels more correct conceptually. But I've definitely been playing pretty loose with the typings up to this point and doesn't seem like the right point to start taking it more seriously yet.

Ah yeah, I'm unopinionated on whether the adjustment I made is the correct fix. I couldn't actually find where the ID graphql type is defined — do you know where I can find it?

I couldn't actually find where the ID graphql type is defined — do you know where I can find it?

ID is a scalar type defined as part of the GraphQL spec
It usually (de)serializes as a string, but some fetching libraries (including apollo-graphql, which we're using) use a field with that type as a cache key by default.


Implementation of SX gate

Hi,
Is there an option to implement gates using this solver, especially the SX gate?
If not, can it be added?
Thanks

The current version supports some gates with the apply_gates parameter. The SX gate still awaits an implementation.

@LiranShirizly the SX gate has been added (together with a few others).
Check apply_gates in the API help.
@gregoire-misguich - closing.


csrf token missing for hx-post calls

When mixing flask-htmx and flask-wtf with CSRF_ENABLED, all hx-post stop working because of a missing CSRF token. bootstrap-flask suffers the same problem (with POST actions in autorendered s), but seems to fix it by relying on CSRFProtect, bundled with flask-wtf (see https://bootstrap-flask.readthedocs.io/en/stable/macros/#render-table).
I'm not sure if it's the job of this extension, but it would be great if somehow this problem is made to automagically disappear when using this module in a flask/htmx project.

although it seems that Django-HTMX is also relying on the template implementation to resolve it: https://django-htmx.readthedocs.io/en/latest/tips.html#make-htmx-pass-the-csrf-token

Yes, I think passing the CSRF token to the template inside a hx-headers attribute is the best approach, as suggested by django-htmx.

got it!


The loading icon always shows if soft deleting one rehydrate ADLS Gen2 blob then switching context

Storage Explorer Version: 1.33.0-dev (96)
Build Number: 20231214.4
Branch: main
Platform/OS: Windows 10/MacOS Sonoma 14.1.2 (Apple M1 Pro)
Architecture: x64/x64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a blob container -> Upload one blob.
Change the blob access tier to 'Archive' -> Then change the archive blob access tier to 'Hot'.
Soft delete the rehydrate blob -> Switch the context view to 'Active and soft deleted blobs'.
Check whether there is no loading icon in the editor.

Expected Experience
There is no loading icon in the editor.
Actual Experience
There is a loading icon in the editor.

Additional Context

Here is the log collected on Windows:
2023-12-13_221758.zip
On Linux, there is no loading icon in the editor. but no items show under the context view 'Active and soft deleted blobs/Deleted only'.

@JasonYeMSFT Can you find out if there's an easy fix? Seems odd rehydration would freeze up other processes.

This is a duplicate of https://github.com/microsoft/AzureStorageExplorer/issues/6870.


Upgrade major dependencies

As Angular 6 is available, it would be a good move to try to udpate the dependencies to their last version if possible.
Dependencies to check :

[ ] Angular
[ ] Ionic
[ ] Webpack
[ ] Karma
[ ] Typescript
[ ] Jasmine

Angular core v6 seems to be broken with the current version of Ionic. The new major release of Angular requires upgrade to Rxjs v6 which breaks dependencies requirements for some Ionic modules ( e.g : status bar ).
My guess is that we will need to upgrade to Ionic 4 before being able to use Angular 6.

For further try-out, this article could give some tips :
https://medium.com/@cwoolum/upgrading-to-ionic-4-e2cdff9fc76d by @cwoolum

Ionic 4 introduces many breaking changes.
It also becomes agnostic and many things that were natively provided will now be relied on Angular itself.
Therefore, i think it'd be more interesting to build a new boilerplate from scratch in order to avoid useless complexity in a version migration.
Once the basis of the boilerplate for v4 built, we'll try to move the rest of the code there.


SPDX: Definition file references

Please see the commit messages for details. This PR depends on #5551 to be merged first.

I will try to rerun the failing tests.

I've already triggered a re-run.


Change the getVisibleElements helper function to take a parameter object

Given the number of parameters, and the fact that many of them are booleans, the call-sites are no longer particularly easy to read and understand. Furthermore, this slightly improves the formatting of the JSDoc-comment, since it needed updating as part of these changes anyway.
Finally, this removes an unnecessary numViews === 0 check from getVisibleElements, since that should be very rare and more importantly that the binarySearchFirstItem function already has a fast-path for that particular case.

/botio test

/botio-linux preview

Thanks! I really like this improvement.


No .ts files under the 'Sources' tab in 'Developer Tools'

I'm submitting a feature request
Current behaviour
I installed all the required tools, cloned the repository and installed dependencies using the commands given in 'Installation Guidelines' section and clicked on the link http://localhost:3000. I used Chrome browser and clicked on 'Developer tools' and clicked on 'Sources' tab. I could not see any transcript files (.ts files) under the 'Sources' tab and hence cannot debug the code. I have attached a screenshot of the 'Developer tools' for your reference. Please look into the issue and let me know how to view the required .ts files in 'Developer tools' so that I can debug the code and customise it to suit my requirements. I faced the same issue with Internet Explorer browser as well.

Expected behavior

The .ts files should be visible under 'Sources' tab of 'Developer tools'.

Environment

Angular version: 2.0.0-rc.4
Browser: Chrome, IE

Because it is not where you're looking for them.
It is under webpack:// >> . >> src
Think that you can't debug ts files out of the box, you need maps of those to sync js and ts files and that's webpack job.
:)

Hi supermarcos! thanks for the response. How do I debug the .ts files? Even under webpack:// >> . >> src I can't find any .ts files. I don't know whether webpack did any mapping. The code we write is in .ts files and I am able to debug them normally in another angular2 app. How can I do that with this app?

What do you have in your webpack config? There should be a source-map-loader config section. That may be your problem.
These guys are using just cheap-module-eval-source-map, they are basing their job on AngularClass seed, however I got it slightly different in some point of the config. For instance, I can see they have in their config this:
``devtool: 'cheap-module-source-map',````
On webpack.dev.js
Instead of that I got this:
devtool: 'source-map',
    resolve: {
        extensions: ['', '.webpack.js', '.web.js', '.ts', '.js']
    },

Not sure if that is your problem, but it may help.... Hopefully it helps for you.

Hey @SujitGodavarti, could you check out the latest commit for the development branch https://github.com/akveo/ng2-admin/tree/development to see if it's working now?

Thank u so much @supermarcos. I changed the devtool: 'cheap-module-source-map' to devtool: 'eval-source-map' and it worked for me. I can now see the .ts files under 'webpack'.
Hi @nnixaa, the .ts files are now visible under 'webpack' after making the change mentioned above. I am now adding new pages to the existing app. After that I shall check whether I can debug it using developer tools and let you know.

I'm glad to hear it helped, @SujitGodavarti
:-)

@nnixaa I am able to debug the application using Developer tools now. Thank you :)

in my case I had imports to JS files instead of ts.
Just check it should not be like import { CommonService } from './common.service.js';
This is added by automatic import. Please check if you have appended .js by mistake.

Because it is not where you're looking for them.
It is under webpack:// >> . >> src
Think that you can't debug ts files out of the box, you need maps of those to sync js and ts files and that's webpack job.
:)

this worked for me in a angular project 👍

this worked for me until i upgraded something and i lost it :(
before i could go to sources and cmd+p -> MyComponent.tsx
now all that is gone.. i suspect something is affecting source maps generation?
"Enable JavaScript source maps" is still ON in my chrome dev tool settings.

Hi @supermarcos  how to hide those main-es2015 file from angular app devtools?


feat: add OTP create-code-as-owner and remove OTP create-code

 Revisar API v1/create-code-as-owner


feat: complete rewrite of the docs

I think it's ready!
Happy to change stuff.
If there's new sections let's do this in a followup PR :).

The PR looks good, but it's failing CI.

Rebasing to fix file conflict. Then merging 🎉


support spring-boot-starter-data-rest

support spring-boot-starter-data-rest

Codecov Report

Merging #24 into master will decrease coverage by 0.99%.
The diff coverage is 52.63%.

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
- Coverage   79.09%   78.09%   -1%
=======================================
  Files          15       15
  Lines         440      452   +12
  Branches       60       63    +3
=======================================
+ Hits          348      353    +5
- Misses         54       58    +4
- Partials       38       41    +3

Impacted Files
Coverage Δ

...pring/data/documentdb/core/DocumentDbTemplate.java
72.32% <0%> (-0.46%)
:arrow_down:

...repository/support/SimpleDocumentDbRepository.java
98.61% <100%> (+2.66%)
:arrow_up:

...ig/DocumentDbRepositoryConfigurationExtension.java
56.25% <28.57%> (-28.37%)
:arrow_down:

...itory/support/DocumentDbRepositoryFactoryBean.java
72.22% <70%> (-2.78%)
:arrow_down:

Continue to review full report at Codecov.

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


Is there any possibility to modify the generated mixins?

I would like to modify the background-image: url to use the sass helper image-url
I didn't find much related to stylesheet generation, and was wondering if that is possible.

I can't seem to find any documentation on image-url. Can you provide a link to me?

https://github.com/sass/node-sass/releases/tag/v3.0.0-pre
It seems like I'm using an old version of node-sass still supporting it. Will close the issue and keep using imagePath option. Sorry for the inconvenience.

Ah, k. No worries =)

I should mention that there are ways to customize templates:

Override the mixins themselves (e.g. redefine sprite, redefine a lower level mixin, or make a new one)
Create your own template (either by extending an existing one or starting from scratch)

This can be done via cssTemplate in the grunt-spritesmith/gulp.spritesmith options
Here's the existing SCSS one: https://github.com/twolfson/spritesheet-templates/blob/10.0.0/lib/templates/scss.template.handlebars


Create balance widget

resolves #90

bors r+

bors r-

Thought about merging this, but then saw that I better have a look at #91 first :)

bors r+


page.params value changes if url used in a 'style' doesn't exist... (weird one)

Describe the bug
When an invalid URL is used in a background-image: style the page params value changes to that URL...
I've created a repo that reproduces this here:
https://github.com/neiled/imgurl
Run the app and goto /profile/<something>
Check the logging of the page.params
First load of the page (SSR?) you see the params as id=<something>
Second load of the page (the client?) you see the params value for id is now whatever is used as the url in the 'style'.
Blew my mind.
In the example app it's shown as 'nothing that exists' (see the log below)
<div class="" style="background-image: url('nothing that exists');" />
Reproduction
https://github.com/neiled/imgurl
Logs
Logs of the page.params:

loading profile/[id]
{ id: 'hello' }
loading profile/[id]
{ id: 'nothing that exists' }

System Info
System:
    OS: macOS 12.1
    CPU: (8) arm64 Apple M1
    Memory: 104.03 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 - ~/.n/bin/node
    Yarn: 1.22.15 - ~/.yarn/bin/yarn
    npm: 8.1.3 - ~/.npm-global/bin/npm
  Browsers:
    Chrome: 96.0.4664.110
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.4
    @sveltejs/kit: next => 1.0.0-next.202
    svelte: ^3.44.0 => 3.44.3

Severity
serious, but I can work around it
Additional Information
No response

The browser tries to load the background image of the div block by the url nothing that exists relative to /profile/[id], so there is an additional page request /profile/nothing that exists.
If you try to request page with curl (raw output) or just fix the style to background-image: url('/nothing that exists'), there is only one log entry.

Ugh of course that makes so much sense. Thank you!!


Issue parsing environment variables where the value contains an = (equals) character

Hi there,
I have come across an issue while trying to set an environment variable that contains an equals character, e.g.
Error from kubedock log:
E1004 12:32:00.263399       1 container.go:74] could not parse env SOME_BASE_64_ENCODED_ENV_VARIABLE=MIIJKAIB...JsXVU2syw3EZ7Y=

It seems that in container.go kubedock determines whether or not an env variable is valid by the presence of only 1 equals character:
	for _, e := range co.Env {
		f := strings.Split(e, "=")
		if len(f) != 2 {
			klog.Errorf("could not parse env %s", e)
			continue
		}
		env = append(env, corev1.EnvVar{Name: f[0], Value: f[1]})
	}

I wonder if only splitting on the first equals that we encounter would work?

Untested, but I will get this deployed and try it out in the next couple of days...
https://github.com/joyrex2001/kubedock/pull/26

It looks good, I'll await your tests before merging :-)

Yep seems to work alright 👍

Awesome, thanks! Released https://github.com/joyrex2001/kubedock/releases/tag/0.9.1 containing this fix.


Adapter quite often offline

Dear all,
I like the adapter but I have an issue with its connection: the adapter quite often looses the connection, so I wrote a script that reboots it. Works medium-good.
Am I the only one with this topic, have you incurred similar behavior an/or a hint for me?
Thanks in advance,
Thomas

Hello @samoht0403
which adapter version is installed?
Whar are the log files which indicates that the connection is lost?
Do you have parallel access with your handy app and ioBroker when ioBroker looses the connection to your rainbird station?

Good morning @Feuer-sturm.
Installed version is: v0.2.2
I hope it's ok to send the screenshot of the error:

I do not use the app when the error occurs.

@samoht0403 I installed a long time ago the version 0.2.3 which is available on github.
Perhaps (!) this version solves your problem.

@Feuer-sturm thanks for your reply. I don't know yet where to find this. Can you give me a hint where to start? Thanks again in advance.

@samoht0403
Please note
Normally github installation shall only be done if the developer tell you for testing purpose. I don't know which impact the chages had between the time when I installed from github and now.
It is always good to make and have a backup from your system :-)
To install a adapter from github do the following steps:

activate expert mode
Adapter menu -> Icon github cat
Select gibthub tab and choose rainbird.

You're great. I noticed you asked strathole to move it to Beta repository. Maybe I'll wait, maybe I'll give it a try. Thanks so much for your effort!

you're welcome

Seems to be fixed. Consider the topic to be solved.
Danke @Feuer-sturm!

@samoht0403 great. If there is no open point you can close this issue.


tests: Remove duplicate pNext test

After adjustment for new extension structures, the
VkLayerTest.InvalidStructPNext vkAllocateMemory and
vkCreateGraphicsPipelines test cases both test the same
validation error.  The larger vkCreateGraphicsPipeline test
case has been removed.

:+1:

 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.


:bento: Add Stump

Closes #733.
There are no SVGs available at this time.

Closing this PR. #737 resolves this better.


Add plotting capability

Plots for:

Rasters overlain with mode changepoint for all trials
Summary of changepoint positions across all trials (scatter plot and histogram)
Aligned firing for each changepoint
ELBO history

Done e0ff935ad94a268d20f9f65d4d57a1d744755179


[CT-757] [Feature] Add a "merge_ignore_columns" config for incremental models

Is this your first time opening an issue?
Yes

[X] I have read the expectations for open source contributors

Describe the Feature
Currently, the merge_update_columns config for incremental models can be used to define which columns a merge statement should update.
The opposite behavior (to ignore a column) is achieved by omitting a column in this config. I've seen bugs being introduced into models many times when their logic changes and not enough attention is paid to the config block (omission is much harder to work with than an explicit config).
It would be useful to explicitly name columns that should be ignored. This could be implemented with a config called merge_ignore_columns (or similar).
This is useful for auditing columns like etl_created_timestamp. The value of this column should be determined when a record is first inserted, but should never be updated afterwards.
If both merge_update_columns and merge_ignore_columns configs are set and a column is in both, an exception should be raised.
Describe alternatives you've considered
None
Who will this benefit?
This feature would help make the config block more compact (especially in cases where a table has a large amount of columns), as well as add clarity by explicitly calling out the behavior of a column, instead having the behavior be determined by omission.
Are you interested in contributing this feature?
I don't know enough about dbt core to feel comfortable contributing (yet)
Anything else?
No response

@christoph-meier-offerup Totally! Thanks for opening. I'm going to close this issue only because it's a duplicate of another recent issue, asking for the same functionality: https://github.com/dbt-labs/dbt-core/issues/5260


[FEATURE] Allow for long press ping

Is your feature request related to a problem? Please describe.
I am using a Mac & trackpad and I like the ability to quickly Ping with one hand. I currently have the Ping set to RightClick, however it is frustrating that whenever I use the RightClick+hold to move the map, it also creates a Ping.
Describe the solution you'd like
It would be great if there was an option to only create a Ping if a button/click is long pressed or something along those lines. That way any short RightClick or RightClick+hold don't create Pings while stilling allowing Pings to be done by a simple one-handed click.
Describe alternatives you've considered
I originally had the Ping on LeftClick but that made it even worse since a lot of other things use LeftClick. I've tried setting the Ping to shift+RightClick which works fine but it is not as handy since it is no longer a quick one handed gesture - a lot of my Pings are done after mouse movement so having it associated with a simple one-hand click right after I use the trackpad/mouse makes the flow work really well. It is possible that maybe long press is already working but it seems like on a Mac trackpad it just thinks it is a normal short click.
Additional context
Nothing else to add - no worries if you can't add this feature. I already really like the mod and appreciate it - my group uses a lot of pings! :)

Lets say.. maybe
I don't plan to really work on this in the near future.
But if i get back to it, i may consider this.


implement create entry view

Closed in https://github.com/schuldners-liste/app/commit/dcceb6ba9f232048bed27549960f5e8423bb1a0e


Use responsive media for card images

We could make use of responsive media component for the card images, instead of adding more classes and css

closed by #814


Trait for static type

otherwise heap type

Ah, that's what heap type or not means; I thought it was a type whose objects are allocated on the heap, but that doesn't make any sense cause every object is allocated on the heap

Static types are shared between subinterpreters and implemented as static variable in CPython. I don't think this implementation is really a static variable in C, but this PR will provide the semantic of static type.

Probably API's taking a type have to have signature with &PyType or &PyTypeRef rather than PyTypeRef. In that case, we can reduce RC cost for static types.

Yeah, maybe we could make get_id return the ptr to the payload rather than the pyobject.

How do you plan to handle multiple threads with not(threading)? Cause just cause threading is off doesn't mean people can't still use std::thread

That's true. Once it is initialized in main thread, they are read-only values. If we lock the initialization step not to allow multiple initialization in different threads, it will be safe.

Are you sure? I'd think there still might be issues with non-atomic reference counting across threads; there might be a possibility that it could decref twice and free due to race conditions; if they're not atomic accesses/stores there's no guarantees that the visible effects will be coherent

hmm, it makes sense. Probably I mainly thought about wasm case for non-threadiing. how do we prevent that case before this change? I think std::thread to run same vm always can break non-threading mode regardless of the change.
The only difference from this PR is shared type ref, so it prevents to create and manage isolated enviroment by user. In this case, if we want to provide that kind of user guaranteed safety, I think there must be more complicated work.
Wouldn't cfg(threading) be forced to also std::thread to access vm? So, this is why you want to make it thread local?

not StaticCell is thread-local when cfg(not(feature = "threading"))

I don't think you should need the unsafe to cast to a static reference, Box::leak() returns a &'static mut T that you should be able to just coerce to a &'static T

@coolreader18 any other thing to fix?


Multiple images are missing

Multiple images are returning 404 from many different cases.
Examples:
From Kilowatt Case: https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png
From Chroma Case: https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_aq_deagle_naga_light_png.png
The above are from https://bymykel.github.io/CSGO-API/api/en/crates/cases.json
These are just some examples, there are likely hundreds.

yeah, I am trying to automate everything so I don't need to update data/images manually when there's a new update.
Somehow the script didn't downloaded all the images and I am waiting for this workflow to finish. I estimate it will finish in 3 hours and hopefully those images will work.

Should be fixed now.


Linked Datasets

Provide a csv of the requisite datasets with rows indexed by input SLC ID. The multiple (burst) RTC products and their urls are in each column. Can be updated in a few minutes using Elastic Search Database. Given ASF cannot run this notebook, I will not update the environment as it is unnecessary.
It will be helpful to integrate this into workflows so the listing s3 objects can be removed.

Also, note that S1A_IW_SLC__1SDV_20230114T161231_20230114T161258_046782_059BD6_D15F does note have any urls because there are no products with version 1.0.1 (see this: https://github.com/opera-adt/RTC/releases)


metricFactory.createMetricSearch doesn't support empty dimension map

Feature scope
MetricFactory
Describe your suggested feature
Declaring CustomMetricGroup as following:
      {
        title: 'Test',
        metrics: [
          metricFactory.createMetricSearch(
            'query',
            { dummyDim: undefined as any as string },
            MetricStatistic.SUM,
          ) as MathExpression,
        ],
      },

Which generates a graph with following search query:
SEARCH('{test_namespace,dummyDim}  EligibleEvent', 'Sum', 60)

As far as I can tell, there is no way to omit the DimensionMap. When I emit the metric, I don't associate any dimension, so I need to associate a dummy dimension, which is a little hacky.
Nit: Also unrelated issue, createMetricSearch returns IMetric, which is incompatible with what the MonitoringFacade expects (Metric | MathExpression) resulting in me needing to cast the return into a MathExpression.
Related code snippet:
https://github.com/cdklabs/cdk-monitoring-constructs/blob/e7aa66bc3a051a46bc28d674f7e6bca6f4195a6a/lib/common/metric/MetricFactory.ts#L148-L185

Closing in favour of #599, which is more detailed.


JAVA-4421: Remove errorLabels from WriteConcernError

Currently I am unable to run tests. I am running ./gradlew test and nothing happens. The timer keeps going but none of the tests get executed. I put this up to get my approach verified.

Currently I am unable to run tests. I am running ./gradlew test and nothing happens.

Just in case, I am throwing everything that comes to mind regarding running the tests locally:

JDK17.
A accessible MongoDB listening on localhost:27017 and with enabled test commands at the very least. I create mine via mtools with either of the three following commands:

mlaunch init --single --port 27017 --storageEngine=wiredTiger --setParameter enableTestCommands=1 -v
mlaunch init --replicaset --nodes 3 --port 27017 --storageEngine=wiredTiger --setParameter enableTestCommands=1 -v
mlaunch init --sharded 2 --mongos 1 --config 1 --replicaset --nodes 3 --port 27017 --storageEngine=wiredTiger --setParameter enableTestCommands=1 -v

Compile and run tests:

./gradlew check

Thanks! I was running my DB on a different port and was under the impression that it was on 27017.
Due to 2 constructors being annotated with @Deprecated in MongoWriteConcernException, there are a couple of deprecation warnings that are part of building the driver. These are in MongoOperationPublisher and MongoCollectionImpl. Should these be marked with @SuppressWarnings? Or should I be passing in an empty error labels BsonArray? @jyemin @stIncMale


Stuck on 2012

Stuck on version 2012.
I am clearing the cache using https://github.com/perplexes/heroku-buildpack-clearcache.git
But no matter what TeXLive stays at 2012. : (

Hi @hassanshaikley
Thanks for reaching out.
I just checked, we are using TeX Live 2016, with the same build pack. Maybe you should use heroku's own tool to purge your build cache.
XeTeX 3.14159265-2.6-0.99996 (TeX Live 2016)
kpathsea version 6.2.2
Copyright 2016 SIL International, Jonathan Kew and Khaled Hosny.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 57.1; using 57.1
Compiled with zlib version 1.2.8; using 1.2.8
Compiled with FreeType2 version 2.6.3; using 2.6.3
Compiled with Graphite2 version 1.3.8; using 1.3.8
Compiled with HarfBuzz version 1.2.6; using 1.2.6
Compiled with libpng version 1.6.21; using 1.6.21
Compiled with poppler version 0.42.0
Compiled with fontconfig version 2.6.0; using 2.11.0

Let me know if it works!

Oh man! Yeah, the issue was the cache. I used a buildpack to clear the cache but it wasn't working. Turns out I needed to run a console command using a heroku plugin to clear the cache!


feat: add env var functionality

This adds @nestjs/config and, as such, environmental variables. The example route has been moved to /routes/relay as well.
Note: the ConfigModule is currently injected directly but a custom configuration module similar to that from the gateway will be implemented in a subsequent PR.

Why is safe-gelato-relay-service now a submodule?

It was just for organisation sake that I moved it. Should it not be?

Why is safe-gelato-relay-service now a submodule?

It was just for organisation sake that I moved it. Should it not be?

This Pull Request is about adding the @nestjs/config. I think folder structure is out of scope for this change.
If we consider changing the structure of the project:

Why is it a submodule?
Why this structure and not any other structure?

Currently the starting point is: https://github.com/5afe/safe-client-gateway-nest – if there's a good reason to change the structure (eg.: standard approach, advantages of submodules, etc.) then I think we should also do that for the Safe Client Gateway.

This Pull Request is about adding the @nestjs/config. I think folder structure is out of scope for this change.

I have reverted the submodule so that this PR just adds @nestjs/config.

Currently the starting point is: https://github.com/5afe/safe-client-gateway-nest – if there's a good reason to change the structure (eg.: standard approach, advantages of submodules, etc.) then I think we should also do that for the Safe Client Gateway.

But wasn't it like the structure in the Safe Client Gateway? One module for each route + the AppModule importing them all?
I agree with keeping PRs small and scoped, I just don't understand how the approach previously was different from the Safe Client Gateway.

Currently the starting point is: https://github.com/5afe/safe-client-gateway-nest – if there's a good reason to change the structure (eg.: standard approach, advantages of submodules, etc.) then I think we should also do that for the Safe Client Gateway.

But wasn't it like the structure in the Safe Client Gateway? One module for each route + the AppModule importing them all?
I agree with keeping PRs small and scoped, I just don't understand how the approach previously was different from the Safe Client Gateway.

Yeah this was a misunderstanding. I was referring to the following change:

Unfortunately I cannot comment directly on that change 😅
Regarding the relay "module" I completely agree with the change!

Yeah this was a misunderstanding. I was referring to the following change:

Thanks for the clarification. This was an easy oversight. I'm not sure how that came to be but I've removed it now.


Editor AutoScroll in Split In Group Layout (Vertical)

Type: Feature Request
When I active Split In Group Layout (Vertical) and I try to select a line, the editor autoscroll the line too low in the tab, sometimes close to the horizontal scroll line, so then I can't select the next line in the code. It would be great if an option to disabled it, or to autoscroll, but more to the middle.
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

Could you please provide a screen recording demonstrating the problem, I am having a hard time to understand what you're describing from the text alone.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Return struct

@msluszniak also please change to_binary and to_file to accept the struct as first argument (instead of data+heigth+width+channels). :)

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Using a pre-trained model

Hi there,
I would like to test the pre-trained model against pedestrian models that I have been developing. I see there is a weight folder but still not sure how to create an agent and load the weights. Can you guide me?

Thank you for your interest in our project.
Please follow the instructions here on how to directly run an agent with pre-trained model weights.
Please make sure to have installed git-lfs before cloning the repo.

Thanks for the prompt reponse.

Hi @dotchen, when are you planning on releasing the Leaderboard weights for model evaluation? Thanks in advance.

I am currently a bit busy with an internship but I will try to find a weekend to refactor and release it.

Hi @dotchen,
Are there any updates on the leaderboard weights?

Thank you for your interest in our project.
Please follow the instructions here on how to directly run an agent with pre-trained model weights. Please make sure to have installed git-lfs before cloning the repo.

Hi @dotchen
I followed what said in the repo but  still don't know what should I do with "wights" folder!?
I run the project and it' output is like this:
========= Results of RouteScenario_25 (repetition 0) ------ FAILURE =========
╒═════════════════════════════════╤═════════════════════╕
│ Start Time                      │ 2024-03-07 22:05:05 │
├─────────────────────────────────┼─────────────────────┤
│ End Time                        │ 2024-03-07 22:05:07 │
├─────────────────────────────────┼─────────────────────┤
│ Duration (System Time)          │ 1.97s               │
├─────────────────────────────────┼─────────────────────┤
│ Duration (Game Time)            │ 0.1s                │
├─────────────────────────────────┼─────────────────────┤
│ Ratio (System Time / Game Time) │ 0.051               │
╘═════════════════════════════════╧═════════════════════╛
╒═══════════════════════╤═════════╤═════════╕
│ Criterion             │ Result  │ Value   │
├───────────────────────┼─────────┼─────────┤
│ RouteCompletionTest   │ FAILURE │ 0.0 %   │
├───────────────────────┼─────────┼─────────┤
│ OutsideRouteLanesTest │ SUCCESS │ 0 %     │
├───────────────────────┼─────────┼─────────┤
│ CollisionTest         │ SUCCESS │ 0 times │
├───────────────────────┼─────────┼─────────┤
│ RunningRedLightTest   │ SUCCESS │ 0 times │
├───────────────────────┼─────────┼─────────┤
│ RunningStopTest       │ SUCCESS │ 0 times │
├───────────────────────┼─────────┼─────────┤
│ InRouteTest           │ SUCCESS │         │
├───────────────────────┼─────────┼─────────┤
│ AgentBlockedTest      │ SUCCESS │         │
├───────────────────────┼─────────┼─────────┤
│ Timeout               │ SUCCESS │         │
╘═══════════════════════╧═════════╧═════════╛

Registering the route statistics
Registering the global statistics

It looks like it did not use the pretrained wights and models.
what should I do???
I would be so thankful if you guys help me, too.@varunjammula @adhocmaster @ricokoff @philkr


Remove expired asset from cart

I have few expired added in my card, I have removed the download options from all other place except from the cart. Could anyone suggest on how to achieve this functionality.

IIRC whenever the cart is loaded, it makes a call to AEM to validate that the items in the local storage are infact valid items still (ie they exist and are visible to that user).
When you say "expired" how is this reflected on the asset on AEM Publish? Are you unpublishing the asset? Or are letting the asset to continue to live on AEM Publish, but with an expiry metadata property that is in the past?

IIRC whenever the cart is loaded, it makes a call to AEM to validate that the items in the local storage are infact valid items still (ie they exist and are visible to that user).
When you say "expired" how is this reflected on the asset on AEM Publish? Are you unpublishing the asset? Or are letting the asset to continue to live on AEM Publish, but with an expiry metadata property that is in the past?

The asset is available in the publish , with the expiry metadata property that is in the past.

@sumanbi Do you only want expired assets removed from the cart, but still visible on the rest of ASC (like share, direct download, asset details, etc.) .. trying to understand why just the cart?


"Toggle Editor Type" creates corrupted new view that cannot be opened

VSCode Version: 1.51.1
OS Version: Windows 10

Steps to Reproduce:

Open a file in a custom editor (I tested with third party extensions and with the "PawDraw" and "CatScratch" extension samples)
Run "View: Toggle editor type" from the command palette
Try and switch between the new and old tab

The command will create a new tab, even though it should replace the original tab, and the new tab cannot be selected properly.

Does this issue occur when all extensions are disabled?: No, the issue applies to functionality that is only exposed by custom editors.

@rebornix I also see this happening for notebooks.
@rebornix and @bpasero  For custom editors, I used to have logic that replaced the existing editors with the newly opened one:
https://github.com/microsoft/vscode/blob/f0bb23ca02f320816219017234e412caa425851e/src%2Fvs%2Fworkbench%2Fcontrib%2FcustomEditor%2Fbrowser%2FcustomEditors.ts#L280
This code path is no longer hit in our shared open with command. Should I look into making this behavior part of openWith / the reopenWith command?

I would find it easier to argue/test this in a PR maybe.


Each footnote causes some lost space in content frame

This may or may not be related to issue #234, but the more footnotes are on a page, the more space is lost. An MWE explains it best:
\begin[papersize=a7,class=book]{document}
\script[src=packages/frametricks]
\script[src=packages/lorem]
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}.
This is a test\footnote{What happens to frames?}. \lorem[words=10]
This is a test\footnote{What happens to frames?}. \lorem[words=10]
This is a test\footnote{What happens to frames?}. \lorem[words=10]
This is a test\footnote{What happens to frames?}. \lorem[words=10]
This is a test\footnote{What happens to frames?}. \lorem[words=10]
This is a test\footnote{What happens to frames?}. \lorem[words=150]
\end{document}

If you do something (such as this patch) that will show the location of frames for each page, you'll see that the content and footnote frames overlap by an amount linearly related to how many footnotes are on that page:

Grr. OK, insertions are still not quite right. I will keep looking at this. By the way, if you debug insertions (--debug=insertions) then it will automatically show you the frames on the page.

Thanks for the debug tip. Let me know if there is anything I can do to further this.


Scrollbar does not work

First, thank you for the tree view widget.  I threw trees with millions of nodes at the widget and it still handles them well.   But scrollbar does not work.
Step to show the problem:

load  the demo example: https://mbaumgartenbr.github.io/flutter_tree_view/#/
minimize windows so that if you scroll with mouse, scrollbar shows up
if you drag the scrollbar, the pane on the right get scrolled instead of the tree pane (which is on the left).

This happens on web, macos and windows; haven't tried on other platforms.

Hi @chi-w-ng. Thank you for using the package!
I tested it and indeed the scroll bar is scrolling the wrong widget.
It seems to be an issue only in the example app right?
I'll be updating the demo ASAP.
Thank you for filling in this issue!

I think the issue was solved by 9f5fa0c68afcdf9a45064d9f473551e914f3de58
Remember to clear the cache of your browser before trying the new version of the demo app. Feel free to reopen the issue if needed!

Yep, it worked.  Thanks.
One other thing, how do you implement single selection?  How to mark an item for update when
updating state using bloc?  I call TreeViewControl.refreshNode(node) and node does not rebuild.
Thanks,
--Chi

From: Matheus Baumgarten @.>
Sent: Wednesday, January 12, 2022 5:24 AM
To: mbaumgartenbr/flutter_tree_view @.>
Cc: Chi Ng @.>; Mention @.>
Subject: Re: [mbaumgartenbr/flutter_tree_view] Scrollbar does not work (Issue #19)
Closed #19https://github.com/mbaumgartenbr/flutter_tree_view/issues/19.
—
Reply to this email directly, view it on GitHubhttps://github.com/mbaumgartenbr/flutter_tree_view/issues/19#event-5880279792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR6XY4CSSKICG5HRPJ7JUFTUVV6JLANCNFSM5LXBMPEA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

Hey @chi-w-ng!
I would need a minimal reproducible example for that one. 😅

Hi, I did make a change and make it work for my case:
@override
void refreshNode(TreeNode node, {bool keepExpandedNodes = false}) {
if (node.hasChildren) {
node.descendants
.where((descendant) => isVisible(descendant.id))
.forEach((child) => _nodesThatShouldRefresh[child.id] = true);
}
_nodesThatShouldRefresh[node.id] = true;
super.refreshNode(node, keepExpandedNodes: keepExpandedNodes);
notifyListeners();
}
I added the line:  _nodesThatShouldRefresh[node.id] = true;
The result is:
in
TreeView._nodeBuilder
final shouldRefresh = controller.shouldRefresh(node.id);
shouldRefresh will be true.  And the node rebuilds.
Did I just do something dangerous and break something?

Hey @chi-w-ng!
Nice catch!
If I'm not mistaking, the "refreshing" code was implemented to update the lines of the children of the node that was refreshed so changes to its descendents wouldn't break line hierarchy.
Refreshing the node itself is totally fine and the way you've done it is perfect.
I'm going to add this change to the package!
Would you like to open a PR? Otherwise I'll do it as soon as I have time.

I made some other "harmless" changes to my fork, would you please do the change?
Thanks,


Testing status checks

Check to see if status checks run before being able to merge branch.

Checks ran!


Setting background colour when using buildViewNode

Using latest cut of master using buldViewNode. Setting background, text colour and corner radius. All of which appear ok apart from there appears to be a default white rectangle behind my coloured shape. Can someone please suggest a way of turning off the white rectangle?

Go to LocationNode.swift and into the constructor, add view.isOpaque = false.
public init(location: CLLocation?, view: UIView){
let plane = SCNPlane(width: view.frame.size.width / 100, height: view.frame.size.height / 100)
plane.firstMaterial!.diffuse.contents = view
plane.firstMaterial!.lightingModel = .constant
view.isOpaque = false
annotationNode = AnnotationNode(view: view, image: nil)
annotationNode.geometry = plane

@elga2 You can set the view's isOpague property to false as @Sibaiur  mentioned. Instead of modifying the framework's constructor you can do it when you set your view in code.

@aaronbrethorst this is resolved


Remove duplicate dependencies from stdlib poms

Purpose

This is to remove duplicate dependencies, plugins in pom files of stdlib modules and fix the warnings given at the start of a build.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5b26a9f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #14393   +/-   ##
=========================================
  Coverage          ?   64.28%
  Complexity        ?      425
=========================================
  Files             ?     2187
  Lines             ?    96949
  Branches          ?    12971
=========================================
  Hits              ?    62321
  Misses            ?    29673
  Partials          ?     4955

Continue to review full report at Codecov.

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


[task][build] Remove old and broker testNG suite pulsar-io-suite.xml

Motivation
pulsar-io-suite.xml file is not used and it is malformed. We can drop it.
Pulsar IO suite is already covered by pulsar-io-sinks and pulsar-io-sources
Modifications

Deleted pulsar-io-suite.xml file

[x] no-need-doc

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks


Recent Documents are broken under High Sierra

Once again, we’ll have to figure out how to get this working.
The Console just shows <private>. I’m sure this is just Apple’s way of saying “use the public API instead”, right?

Of course the Xcode console has a bit more to say:
2017-09-26 16:19:18.972723-0400 Quicksilver[35769:1443206] [General] *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (SFLListItem) for key (NS.objects); the class may be defined in source code or a library that is not linked
2017-09-26 16:19:18.974290-0400 Quicksilver[35769:1443206] [General] (
	0   CoreFoundation                      0x00007fff328f20fb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff591dec76 objc_exception_throw + 48
	2   Foundation                          0x00007fff34a1b23f -[NSCoder(Exceptions) __failWithExceptionName:errorCode:format:] + 0
	3   Foundation                          0x00007fff34a1b3bc -[NSCoder(Exceptions) __failWithExceptionName:errorCode:format:] + 381
	4   Foundation                          0x00007fff34906474 _decodeObjectBinary + 2856
	5   Foundation                          0x00007fff34907510 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1779
	6   Foundation                          0x00007fff3490b367 -[NSArray(NSArray) initWithCoder:] + 202
	7   Foundation                          0x00007fff349062c1 _decodeObjectBinary + 2421
	8   Foundation                          0x00007fff34907510 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1779
	9   Foundation                          0x00007fff34906934 -[NSDictionary(NSDictionary) initWithCoder:] + 202
	10  Foundation                          0x00007fff349062c1 _decodeObjectBinary + 2421
	11  Foundation                          0x00007fff34905848 _decodeObject + 243
	12  Foundation                          0x00007fff349b0144 +[NSKeyedUnarchiver unarchiveObjectWithFile:] + 148
	13  QSCore                              0x00000001004ac037 recentDocumentsForBundle + 423
	14  QSCore                              0x00000001004b04be -[QSFileSystemObjectHandler loadChildrenForObject:] + 2894
	15  QSCore                              0x00000001004a7bed -[QSObject(Hierarchy) loadChildren] + 93
	16  QSCore                              0x00000001004a85cd -[QSObject(Accessors) children] + 93
	17  QSInterface                         0x00000001005bf6c6 -[QSSearchObjectView(Browsing) browse:] + 342
	18  QSInterface                         0x00000001005bf4f7 -[QSSearchObjectView(Browsing) moveRight:] + 103
	19  QSInterface                         0x00000001005ba7a7 -[QSSearchObjectView handleSlashEvent:] + 279
	20  QSInterface                         0x00000001005b9ac3 -[QSSearchObjectView keyDown:] + 627
	21  AppKit                              0x00007fff307bc915 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 5040
	22  AppKit                              0x00007fff307bb148 -[NSWindow(NSEventRouting) sendEvent:] + 497
	23  QSEffects                           0x000000010045c83c -[QSWindow sendEvent:] + 1004
	24  AppKit                              0x00007fff3061c95f -[NSApplication(NSEvent) sendEvent:] + 2751
	25  Quicksilver                         0x0000000100002778 -[QSApp sendEvent:] + 2440
	26  AppKit                              0x00007fff2fe7e28d -[NSApplication run] + 812
	27  AppKit                              0x00007fff2fe4d3fe NSApplicationMain + 804
	28  Quicksilver                         0x000000010002b3a3 main + 195
	29  libdyld.dylib                       0x00007fff59dcd145 start + 1
	30  ???                                 0x0000000000000003 0x0 + 3
)

So, it seems like this one-liner should fix it
[NSKeyedUnarchiver setClass:[SFLListItem class] forClassName:@"SFLListItem"];

but the build fails.
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_SFLListItem", referenced from:
      objc-class-ref in QSObject_FileHandling.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The header is included in QSFoundation, so I’m not sure what to make of this.

It means the linker cannot resolve the needed reference from anything we link to.
Looking at the header, I guess /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList (which we ought to pull in because CoreServices) doesn't define that class anymore, or it was moved somewhere else.

The SFLListItem is a private class that I got with ‘classdump’ and pulled it into the QS Code.
No wonder it’s broken, they’ve most likely changed the interface in High Sierra.
Look at ‘SFLListItem.h’ for more details. There’s some info in the header:
//

//  SFLListItem.h
//  Quicksilver
//
//  Created by Patrick Robertson on 30/01/2016.
//
//
//  Original source code form: http://pastebin.com/dYxrGX7c <http://pastebin.com/dYxrGX7c>

#import <Foundation/Foundation.h>

//
//     Generated by class-dump 3.5 (64 bit).
//
//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
//	   Generated from /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList

On 27 Medi 2017, at 03:20, Rob McBroom<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Once again, we’ll have to figure out how to get this working.
The Console just shows . I’m sure this is just Apple’s way of saying “use the public API instead”, right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2396, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJLn8iRGZD0UBAkzUZzeeOHdZ01ObMwks5smU6QgaJpZM4PkwCB.

The SFLListItem is a private class that I got with ‘classdump’ and pulled it into the QS Code.
No wonder it’s broken, they’ve most likely changed the interface in High Sierra.

Yeah, I saw that. From recently updated .sfl files, it doesn’t look like the interface or class name has changed. It’s just not there any more. class-dump no longer shows any mention of that class. I also tried checking otool -L SharedFileList to see if it could be getting included from another file. No luck finding it. Any other ideas?

Does nm reports interesting (C) symbols maybe ? It really seems like that class is no more on High Sierra…

I found a fix for this. The items are just dictionaries now and we can get the data using the public API for NSURL.
A pull request is coming, but I want to try to fix one last thing: URLs for Recent/Favorite Servers don’t get resolved unless the filesystem is currently mounted.

Awesome, nice work! What do we do about backwards compatibility? Just use an if (isHighSierra) {} block?

On 16 Hyd 2017, at 10:53, Rob McBroom<EMAIL_ADDRESS>wrote:
I found a fix for this. The items are just dictionaries now and we can get the data using the public API for NSURL.
A pull request is coming, but I want to try to fix one last thing: URLs for Recent/Favorite Servers don’t get resolved unless the filesystem is currently mounted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2396#issuecomment-336767322, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJLnw9iVdhebR8fkAR_nYVs8xG4XuLtks5sssU6gaJpZM4PkwCB.

Yeah, that’s what I did. I think we have three different techniques in there for different OS versions now.


[WIP] Move frontend deps from bower to npm

Bower is slowly dying (no activity whatsoever between Jul 5 and Nov 6 for example), SUI has already moved from bower to npm (yarn), following suit..
checklist:

[x] move bower deps to package.json
[ ] move remaining frontend Gemfile deps to package.json (except for patternfly-sass because sass)
[ ] make the asset pipeline read node_modules
[ ] tooling - build
[ ] tooling - CI
[ ] tooling - devel
[ ] docs

bower.json -> package.json:
jq '.dependencies' bower.json | sed -e '1d' -e '$d' -e 's/^\s*"/npm install --save '\''/' -e 's/": "/@/' -e 's/",$/'\''/'
-e 's/ --save \(.*\)$/& || echo \1 >> fail/' | sh

also TODO "angular-ui-codemirror": "~0.3.0" (from https://github.com/ManageIQ/manageiq/pull/12604)
￼

patternfly-sass has npm for 3.14.1

TODO
npm ERR! No compatible version found<EMAIL_ADDRESS>npm ERR! Valid install targets:
npm ERR! 0.4.6, 0.4.5

patternfly-timeline npm is without dist/, needs manual npm install ;webpack call ...

require is not defined - array-includes
require is not defined - fetch
module is not defined - moment-timezone
module is not defined - jquery-ui

Please re-create PR in https://github.com/ManageIQ/manageiq-ui-classic


Fix meshgrid deprecation warnings and backward compat

Add with explicit timm.layers.ndgrid (indexing='ij') and timm.layers.meshgrid (indexing='xy') fn w/o indexing arg

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


proposal: ultra.config.js feedback wanted

I'd like to reduce some duplication of configuration passed to both createServer and createBuilder
So something like this. Thoughts?
export default {
  browserEntrypoint: './client.tsx',
  serverEntrypoint: './server.tsx',
}

Would simplify both server and builder, but I wonder if it's too soon to add something like this? Maybe we see how it goes using them in the wild without this first?

I suppose we don't need to build support into ultra itself, since you could just create a config file and import that


Truly epic finish with leftover lines and boxes

A continuation of #230 -- once we get the basic functionality working, we want to really amp up the graphics and make it feel awesome. We want that 'Peggle' feeling where the player finishes and there's rainbows and fireworks and big numbers.

During the big finish, lines with snack boxes result in a bigger "pok!" and make stars appear on the screen. The stars have a color accent corresponding to the color of the snack box.
During the big finish, lines with cake boxes result in a huge "pok!" and a star streaks across the screen leaving a rainbow trail.
During the big finish, lines with snack boxes and cake boxes result in some screen shake as well, depending on the number of points from the row
Points are racked up in the middle of the screen with a big accumulating '+$50', '+$100' number accented in blue
Smaller points appear along side with little unaccented "$20" "$10" numbers
As more and more points are racked up, this changes to green, yellow, red and purple.
End-game points are multiplied by a multiplier depending on how many cake/snack rows are cleared:

1-6 rows: 150%
7-9 rows: 200%
10-12 rows: 300%
13-15 rows: 400%
16+ rows: 500%

After all lines are cleared, you get a few different messages based on the size of your ending.

0-99: Finish! $45
100-249: Nice Finish! $85
250-499: Tasty Finish! $85
500-999: Juicy Finish!! $210
1000+: FAT FINISH $1,380

If you get >1,000 points from your dessert bonus and a full 17+ line clear (which includes the lines cleared when ending the level), there's an additional little cinematic:

Chef says something badass like, "omae wa mou shindeiru"
Screen goes black (or white?)
All you see are strobes and stars
The screen fades back; the customer is fat and the food is all gone
The chef ends facing away from the camera in a badass anime pose, or with a badass anime body

Some of these stories (especially the cinematic and numeric bursts) can be split off into their own issues if this is too much


Vercel seems to be broken

In my last PR #165 Vercel seems to be broken.
I've run yarn build in my computer, but it seems to be ok.

Working now. Sometimes we had gone beyond free limits


CG-SENSE slower on GPU than CPU

I'm trying to do a CG-SENSE reconstruction using the brain dataset from the ISMRM Reproducibility Challenge 1.
I am doing the reconstruction with the following command:
pics -i 10 -t <trajectory> -p <weights> <kspace> <sensitivities> <output>
The reconstruction works well and I get the following printouts:
[  1 49152   1  12   1   1   1   1   1   1   1   1   1   1   1   1 ]
[300 300   1  12   1   1   1   1   1   1   1   1   1   1   1   1 ]
Regularization terms: 0, Supporting variables: 0
conjugate gradients
Total Time: 1.018081

Then I've also tried running the reconstruction on the GPU by adding the -g option, which gives me the following:
GPU reconstruction
[  1 49152   1  12   1   1   1   1   1   1   1   1   1   1   1   1 ]
[300 300   1  12   1   1   1   1   1   1   1   1   1   1   1   1 ]
Regularization terms: 0, Supporting variables: 0
conjugate gradients
Total Time: 1.161055

I was expecting to see some speed-up due to the use of a GPU. But, as you can see, the recon time is very similar and indeed slightly slower on the GPU.
BART was compiled with the command make CUDA=1 CUDA_BASE=/usr/local/cuda CUDA_LIB=lib64 in Ubuntu.
The commit SHA is 50905f7f134dcc5a9a396ddccb865ac1db43a61d (June 20th, 2022).
The hardware is an Intel Core i7-11800H and an NVIDIA GeForce RTX 3080 (laptop).
I should note that I do observe a speed-up in other reconstructions. For example, a GRASP reconstruction takes 30 s on the CPU but 7 s on the GPU.
Is this indicative of a problem with the PICS GPU recon (either in BART code or in my configuration)? Or would you expect these results?

In principle, this is to be expected for short runtimes. A way to understand it: let's assume that the reconstruction takes no time at all, then there will still be extra work involved in getting data to and from the GPU, while there are no extra steps for the CPU.
Additionally, some systems are set up in such a way that there are certain CUDA-specific steps that have to be done for each CUDA program. These also add overhead to anything using the GPU for computation.

I understand, thank you very much for your reply!


fix: allow multiple feeds with same url to co-exist

Description
Instead of passing the literal URL, pass the key to the feed definition.  This allows multiple feeds to share a url, but have different query parameters.

Also: remove JS feed for now
Also: add community feed to display all bf-component packages

Task Item
Fixes #6205
Fixes #6072
Screenshots

@clearab -- do you want to change the labels of these default feeds?

Coverage remained the same at 53.378% when pulling 78691932d682a3cfe91a5a450f8ea47fe8bcf24d on benbrown/pkgmgrtweaks into 702f34ac70943626a1afda57ffce9b408708bdd9 on main.

new edit feed behavior

@benbrown there's a conflict here

@benbrown there's a conflict here

resolved!


unfavorite

adds the ability to remove favorites

uh i've already made a system for this in my local files

i'll compare the two, yours may be better

Um, I haven't finished properly merging this with 004b5595fb158f61af1a23371190ad40994d96f3 can you please undo the merge and reopen the PR until I'm done with that.
Sorry there's not discussing of that here; me and metal will talking on discord in #nerds
I should be ready some time this weekend and I'll make a comment here when I am

Um, I haven't finished properly merging this with 004b559 can you please undo the merge and reopen the PR until I'm done with that.
Sorry there's not discussing of that here; me and metal will talking on discord in #nerds
I should be ready some time this weekend and I'll make a comment here when I am

Yeah, sorry for that once again..


Enable monitor CF Isolation Segment on CF/Apps dashboard

Update Grafana dashboards Cloudfoundry/Apps: System, Apps: Requests, Apps: Latency for using CF Isolation Segment.
Please review, merge and release new version.
Example Changes
Before:
avg(firehose_container_metric_cpu_percentage{environment=~"$environment",bosh_deployment=~"$bosh_deployment",application_id=~"$cf_application_id"})

After:
avg(firehose_container_metric_cpu_percentage{environment=~"$environment", application_id=~"$cf_application_id"})

Why Change
Metrics for variable templating cf_application_info's deployment is different from firehose_container_metric_cpu_percentage's bosh_deployment on CF Isolation Segment. (Similarly other metrics)
If CF Isolation Segment using, monitoring metrics firehose_container_metric_cpu_percentage has different bosh_deployment on CF basic's.
Since application_id is unique key, bosh_deployment filter key is unneeded.
Example Metrics

CF basic (deployment="cf",bosh_deployment="cf")

cf_application_info{application_id="36852824-xxxx-xxxx-xxxx-xxxxxxxxxxxx",application_name="app",buildpack="java_buildpack_offline",deployment="cf",environment="p-bosh",instance="localhost:9193",job="cf_exporter",organization_id="f2c75a5b-xxxx-xxxx-xxxx-xxxxxxxxxxxx",organization_name="org",space_id="f3be9cb8-xxxx-xxxx-xxxx-xxxxxxxxxxxx",space_name="staging",stack_id="e1d11f77-xxxx-xxxx-xxxx-xxxxxxxxxxxx",state="STARTED"}
firehose_container_metric_cpu_percentage{application_id="36852824-xxxx-xxxx-xxxx-xxxxxxxxxxxx",bosh_deployment="cf",bosh_job_id="38b0b513-xxxx-xxxx-xxxx-xxxxxxxxxxxx",bosh_job_ip="172.26.x.x",bosh_job_name="diego_cell",environment="p-bosh",instance="localhost:9186",instance_index="0",job="firehose_exporter",origin="rep"}

CF Isolation Segment (deployment="cf",bosh_deployment="p-isolation-segment-xxx)(in case of Pivotal-CF)

cf_application_info{application_id="4bfa9c7c-xxxx-xxxx-xxxx-xxxxxxxxxxxx",application_name="app",buildpack="java_buildpack_offline",deployment="cf",environment="p-bosh",instance="localhost:9193",job="cf_exporter",organization_id="f2c75a5b-xxxx-xxxx-xxxx-xxxxxxxxxxxx",organization_name="org",space_id="cfee18fa-xxxx-xxxx-xxxx-xxxxxxxxxxxx",space_name="develop",stack_id="e1d11f77-xxxx-xxxx-xxxx-xxxxxxxxxxxx",state="STARTED"}
firehose_container_metric_cpu_percentage{application_id="4bfa9c7c-xxxx-xxxx-xxxx-xxxxxxxxxxxx",bosh_deployment="p-isolation-segment-5af2xxxxxxxxxxxxxxxx",bosh_job_id="7a06a28c-xxxx-xxxx-xxxx-xxxxxxxxxxxx",bosh_job_ip="172.26.x.x",bosh_job_name="isolated_diego_cell",environment="p-bosh",instance="localhost:9186",instance_index="0",job="firehose_exporter",origin="rep"}

Removing bosh_deployment from the expression query will affect other people that want to filter by that field. If what you want is to enable seeing metrics for all deployments, you can enable includeAllat the grafana templating filters.

Sorry for lack of consideration. Problem I point is Isolation segment's bosh_deployment name is not listed on Deployment Variables, I'll re-consider how to get variables with no editing metrics graph.

@frodenas Sorry for late response.
I concluded that this case can not be expected.
cf_application_info is used for templating, firehose_xxx (firehose_container_metric_cpu_percentage, etc,) is used for collectiong metrics (graphs).
cf_application_info does not have bosh_deployment key and only have deployment key (cf deployment name), therefore it is impossible to list "p-isolation-segment-5af2xxxxxxxxxxxxxxxx" on Deployment.
Summary of my environment's params (using PCF Isolation Segment).

CF (Pivotal Application Service)
cf_application_info: deployment="cf"
firehose_xxx: bosh_deployment="cf"

CF (PCF Isolation Segment)
cf_application_info: deployment="cf"
firehose_xxx: bosh_deployment="p-isolation-segment-5af2xxxxxxxxxxxxxxxx"

Becaurse application_id in firehose_container_metric_cpu_percentage (and the other) is UUID, bosh_deployment is unnecessary for collectiong metrics query. (only used for templating)
(With this idea, environment in firehose_xxx is also unnecessary, but I didn't delete because I didn't know the impact...)
firehose_container_metric_cpu_percentage{
  environment=~\"$environment\",
  bosh_deployment=~\"$bosh_deployment\",
  application_id=~\"$cf_application_id\"  <- UUID
}

How do you think?
If it still has a risk of affect other people, I'll close this PR with no merge.
Regards

Hi, @frodenas
On PCF/PAS2.5, Breaking changes: Removed Option to Override Deployment Name to CF will break Apps/xxx dashboards. Because of cf-deployment name will be changed to cf-GUID from cf. (Sorry, not sure about OSS CF)
https://docs.pivotal.io/pivotalcf/2-5/pcf-release-notes/breaking-changes.html#deployment-name
This changes will fix the issue. Please re-consider to merge.
Regards.

Ok👍


Create second slide PR

First file added to my-slide branch (PR detail message)

Pull request merged into master (May 4)

Merged!


Can't install ruby 2.3.0 on debian wheezy

I'm trying to install ruby 2.3.0 on debian wheezy but I got this error:
$ rbenv install 2.3.0
Downloading ruby-2.3.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2
Installing ruby-2.3.0...

BUILD FAILED (Debian 7.7 using ruby-build 20160228-3-g37b3ded)

Inspect or clean up the working tree at /tmp/ruby-build.20160303160056.5246
Results logged to /tmp/ruby-build.20160303160056.5246.log

Last 10 log lines:
In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0,
                 from /usr/include/syscall.h:1,
                 from random.c:81:
random.c: In function ‘fill_random_bytes_syscall’:
random.c:541:16: error: ‘__NR_getrandom’ undeclared (first use in this function)
  ret = syscall(SYS_getrandom, seed, size, flags);
                ^
random.c:541:16: note: each undeclared identifier is reported only once for each function it appears in
make: *** [random.o] Error 1

Any thoughts?

I have never seen this. Have you found a workaround since?

not yet! I don't have idea about this!

Same thing here... Debian Wheezy (Crunchbang Waldorf).

Same issue on Debian Jessie.

:+1:  on Debian Jessie and installing ruby version 2.3.1

Same error on Jessie when installing 2.3.0/2.3.1.

I could only manage to install it, doing an apt-get upgrade
Worked after that.

The build fails because it cannot find the getrandom syscall. The getrandom call was introduced in version 3.17 of the Linux kernel (according to its man page). Debian Jessie comes with 3.16, so the build fails.
Ruby 2.3.1 can be compiled with older kernels of course. It tries to compile with getrandom because SYS_getrandom is defined in the file syscall.h. This file is added by the libc6-dev package:
$ apt-file search /usr/include/x86_64-linux-gnu/bits/syscall.h
libc6-dev: /usr/include/x86_64-linux-gnu/bits/syscall.h
For some mysterious reason my system had the wrong file and a package version that is not available for debian Jessie:
$ dpkg -l libc6-dev
...
ii  libc6-dev:amd64   2.19-19  amd64    GNU C Library: Development Libraries and Header Files
The latest package version for Jessie is 2.19-18+deb8u4. Trying to reinstall the package fails and apt complains it has no way to download the package (the 2.19 version).
The solution for me was to remove the libc6-dev package and reinstall it from deb packages I downloaded manually from the debian site. I then repeated this for libc-dev-bin and finally installed with apt the packages that had to be removed in the process. Ruby 2.3.1 builds now.

I couldn't reproduce Ruby 2.3.1 on debian jessie(8.6). Please try to upgrade Ruby or debian box.

This isn't a solution to the original problem, but for future readers it might be useful.
I had a similar issue with older versions of ruby not being able to function with newer versions of OpenSSL.  I googled around and found some solutions and was able to successfully install Ruby 2.3.0 on a newer version of Debian Linux(11) from scratch with Docker.
Here is how I did it:
FROM buildpack-deps:bullseye
RUN apt-get update

# https://github.com/rbenv/ruby-build/wiki#openssl-usrincludeopensslasn1_mach102-error-error-this-file-is-obsolete-please-update-your-software
RUN apt-get install -y autoconf bison patch build-essential rustc libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev rbenv ca-certificates

# https://stackoverflow.com/questions/57946621/error-running-requirements-debian-libs-install-libssl-dev
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
RUN echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list
RUN apt-get update && apt-cache policy libssl1.0-dev && apt-get update
RUN apt-get install -y libssl1.0-dev

### Make rbenv runnable
RUN echo "eval '$(rbenv init -)'" >> ~/.bashrc
RUN rbenv install 2.3.0


Error when trying to run program

How do I fix this error? Happens every time I try to load the program with ffxiv.
https://imgur.com/a/UcROaGj

If you're using another addon (like addons in Dalamud from XIVLauncher), tell what else you're using. Also, run

cmd /c tasklist > %TEMP%\a.txt

in Windows+R (Run dialog), and share the contents of a.txt inside %TEMP% which you can access from Run dialog again, because there might be something that does something conflicting with XivAlexander.
Please note that I might be unable to fix this by myself, in which case, sorry about that. You can always try the other solution we can't get this addon working at your PC. https://github.com/Soreepeong/XivMitmLatencyMitigator


Added NetApp

Added NetApp participants

removed the members list, just join the mailing list: https://github.com/cncf/wg-storage#members-and-mailing-list


Question about the input size of model

I install the waifu2x-caffe followed your guide, and I want to inference the model with pycaffe, the whole process works fine.
My question is why the input shape of upconv7 is dim: 1 dim: 3 dim: 156 dim: 156, should I resize my input to 142x142 and pad?
How to make it compatiable with any input size, what's more, I noticed that it might need split the big picture into several small images and then inference with batch, is there any guide on this process?

The input blob size is changed from options etc. before processing. The input layer definition of prototxt has no special meaning.
https://github.com/nagadomi/waifu2x-caffe-ubuntu/blob/8819b55c7d8e65ea3744225a3a7696b8b29ee07e/common/cNet.cpp#L694


Add mesos-state command to CLI

Fixes: https://jira.mesosphere.com/browse/DCOS-56380

Codecov Report

Merging #133 into master will decrease coverage by 0.62%.
The diff coverage is 2.27%.

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
- Coverage   65.18%   64.56%   -0.63%
==========================================
  Files          26       27       +1
  Lines        2539     2565      +26
==========================================
+ Hits         1655     1656       +1
- Misses        722      747      +25
  Partials      162      162

Impacted Files
Coverage Δ

cmd/daemon.go
0% <0%> (ø)
:arrow_up:

cmd/mesos_state.go
0% <0%> (ø)

cmd/root.go
70.58% <100%> (+0.29%)
:arrow_up:

Continue to review full report at Codecov.

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


Extend cargo ekiden shell to support AWS docker instances

Currently, the canonical environment for development is the docker development instance. Our cargo tool allows instantiating this locally, but it would also be useful to allow a shell to be spun up on AWS.
We have a python script that does some of that tooling, but it doesn't reproduce the environment.
In particular:

[ ] Have the same mounted /code directory sync'ed to the local workspace.
[ ] Ideally use ECS (the container service) rather than a full EC2 instance.
[ ] Run as part of cargo ekiden shell

No longer exists.


Profile GPT-4 on OpenX

Profile GPT-4 on OpenX datasets that are a part of Multinet v0

done for v0


[SMALLFIX] Improve the error handling of packet writing failure

Packet writing failure is bad, so it should be error but not warning. And the stacktrace is necessary to show in the log
To prevent too much logging from the write request validation on misbehaving client, we only validate the write request when the context does not have error.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18799/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18803/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.zookeeper.ZookeeperFailureIntegrationTest.zkFailure
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18804/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18805/
Test PASSed.


Supplying purchase_order in transaction object causes error

In the API documentation, it says purchase_order can be supplied as additional information in transaction object, but I'm getting error here. I tried changing the key to "custom" and it worked, but if possible I would like to have it recorded as "purchase_order". I am currently using the basic button integration as seen here.

Do you get a more specific error back in your network tab, for the payment api response?

@XcrossD I personally have never used purchase_order property and I can't get any api calls to work when its included.  We almost always use the invoice_number property.  This property also shows up on the transaction.  Can you use invoice_number instead?

@XcrossD Understood.  I have submitted a request to either fix the underlying schema issue causing the error or remove the property from the documentation.  Thanks for letting us know!


Does lib-bpmn-engine  have any plans to add BPMN Subprocess ?

Thx. 😊

Hi @skandhas
thank you for your question.
As of now, the sub-processes are not planned in the milestones, yet.
But I guess this is what you need, I plan it for milestone 0.4.0.
Please, feel free to add more comments or requirements.
There's no formal process of contributing to the roadmap, but I'm quite open to hearing feedback and use cases,
to adopt the milestones according to the needs of the community :)

Planned, see
https://github.com/nitram509/lib-bpmn-engine/issues?q=is%3Aopen+is%3Aissue+milestone%3Av0.4.0

Hi @skandhas,
I hope you're doing well.
There's someone, offering support in implementing this sub-process feature.
May I ask, if you could comment on #24, please.
There's an open question, where I hope you could guide us.