FeatureRequest: Native side call back on UnhandledException

Was thinking would be good to have a feature where on Native side when a UnhandledException C# Exception occurs you can invoke a native side callback.
Thus you can integrate error logging easily with existing apps such as Crashlytics

Good idea, I'll take a look into adding this.

@tritao that would be great. Without it, its a blocker for us deploying application as currently unable to see user crashes.

@tritao any updates on this as planning to go to production soon on one of our apps.

Hey, I've started working on this feature.

@tritao Any news on this?

I believe this was completed with: https://github.com/mono/Embeddinator-4000/issues/484 and not closed.
Please re-open if that does not cover this use case.


Netapp

What is this nonsense ? You could have added all the companies in the one issue it Self i don't think so there was any need made these many issues. come on man grow up.


Preparation for beta release

Implemented interactive mode (more to come in the docs)
Added support for "confirmable" fields (e.g.: [license:string?=MIT])
Added support for -no-/--no- prefix for boolean parameters (e.g.: --no-color === --color=false) (#17)
Added semver and semverstring types

Needs still:

Docs update
Examples update
Test update

Changes Unknown when pulling e63540fd7c544fad8c766136ffb8e23b771aa878 on israelroldan:beta-works into ** on dongryphon:master**.

Changes Unknown when pulling 6d97336ca5493e51ebdd3888fa4111170a67b59a on israelroldan:beta-works into ** on dongryphon:master**.

Changes Unknown when pulling 54e3ff26770d9e9a65d6f00c095ec2441f165e8a on israelroldan:beta-works into ** on dongryphon:master**.

Also fixes #16


Update JGroups/Infinispan subsystems to use capabilities for socket-binding dependencies

Eliminates usage of deprecated fields from wildfly-network.

Linux with security manager Build 2171 is now running using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677

Linux Build 7307 is now running using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677

Windows Build 2356 is now running using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677

Linux with security manager Build 2171 outcome was SUCCESS using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677
Summary: Tests passed: 900, ignored: 288 Build time: 0:07:30

Linux Build 7307 outcome was SUCCESS using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677
Summary: Tests passed: 3098, ignored: 368 Build time: 0:49:46

Windows Build 2356 outcome was SUCCESS using a merge of 6dacf6e3ed42093d66cc342fe5f57e19cf256677
Summary: Tests passed: 3096, ignored: 369, muted: 1 Build time: 0:52:00

Linux with security manager Build 2175 is now running using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08

Windows Build 2360 is now running using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08

Linux Build 7312 is now running using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08

Linux with security manager Build 2175 outcome was SUCCESS using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08
Summary: Tests passed: 900, ignored: 288 Build time: 0:07:45

Linux Build 7312 outcome was SUCCESS using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08
Summary: Tests passed: 3097, ignored: 369 Build time: 0:50:15

Windows Build 2360 outcome was SUCCESS using a merge of a7ffe5d38af48d738a2ac768daaa0eb190fb9f08
Summary: Tests passed: 3096, ignored: 369, muted: 1 Build time: 0:51:16

Linux with security manager Build 2180 is now running using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48

Windows Build 2365 is now running using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48

Linux Build 7316 is now running using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48

Linux with security manager Build 2180 outcome was FAILURE using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48
Summary: Tests passed: 417, ignored: 149; exit code 1 (new) Build time: 0:02:19
Build problems:
Process exited with code 1

Linux Build 7316 outcome was FAILURE using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48
Summary: Tests passed: 417, ignored: 149; exit code 1 (new) Build time: 0:02:39
Build problems:
Process exited with code 1

Windows Build 2365 outcome was FAILURE using a merge of 24a9cb0eb548431c797084e4175aa0cb25665c48
Summary: Tests passed: 417, ignored: 149; exit code 1 (new) Build time: 0:03:31
Build problems:
Process exited with code 1

Linux Build 7317 is now running using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f

Linux with security manager Build 2181 is now running using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f

Windows Build 2366 is now running using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f

Linux with security manager Build 2181 outcome was SUCCESS using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f
Summary: Tests passed: 900, ignored: 288 Build time: 0:06:39

Linux Build 7317 outcome was SUCCESS using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f
Summary: Tests passed: 3097, ignored: 369 Build time: 0:49:07

Windows Build 2366 outcome was SUCCESS using a merge of 5710b19189ed9a632e4dab8623329fc504c54b6f
Summary: Tests passed: 3096, ignored: 369, muted: 1 Build time: 0:51:07


Wrong agency tag on TROPOMI NO2

Indicator metadata is wrongly shown:
https://www.eodashboard.org/explore?indicator=N1_NO2&x=0&y=-1224599.44035&z=2.35425

even if the content in the yaml is correct
https://github.com/eurodatacube/eodash-catalog/blob/main/collections/N1_NO2.yaml
I think it references the wrong yaml: N1_NO2_trilateral.yaml

@dmoglioni , @FedericoRondoni , can you please help to verify if this happens in more datasets?

https://github.com/eurodatacube/eodash-catalog/blob/main/collections/N1_NO2_trilateral.yaml This is the YAML used for trilateral due to usage of a different description text in the pre-STAC dashboard. If it can be the same for both occurence in RACE and eodashboard then @FedericoRondoni please delete the N1_NO2_trilateral.yaml and change the file reference to N1_NO2 in https://github.com/eurodatacube/eodash-catalog/blob/main/catalogs/trilateral.yaml#L8

Confirmed that dedicated trilateral version is no longer needed, let's go ahead with removing it


gitignore: settings.toml and key.bin

These files are likely added during development for testing. This prevents accidental commits.


Fix accordion opener

Fix + button
Before:

After:

:tada: This PR is included in version 4.8.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


nav-decor always being displayed

Short description of the problem:
The nav-decor is always being displayed with a black background on iOS
What behavior are you expecting?
That the nav-decor doesn't have a black background
This can be re produced using the ionic starter
Which Ionic Version? 2

@alan-agius4 @jgw96 sorry, I don't understand what's the problem

Justin is aware of the problem
On Saturday, 1 October 2016, Manu Mtz.-Almeida<EMAIL_ADDRESS>wrote:

@alan-agius4 https://github.com/alan-agius4 @jgw96
https://github.com/jgw96 sorry, I don't understand what's the problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic/issues/8252#issuecomment-250862383,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQv-Wn8fHWO7N64EGRmwFBHcLODD1Jf5ks5qvYaAgaJpZM4KI8kt
.

@jgw96 is fully aware of the problem as I sent him some details over Slack.

Hello just to document the issue a little. The nav-decor component seems to always be displayed on iOS. This causes weird thing such as a small black "block" appearing when navigating on iOS sometimes.

nav-decor always being displayed, hides GoogleMaps despite the css:
ion-app._gmaps_cdv_ .nav-decor{   background: transparent !important; }
The css doesn't seem to get applied, but unchecking and checking any of the style property from the safari inspector applies it and the maps are displayed.
I faced this issue on the iOS emulator but the code behaves as expected on the device.

Can you provide a repo that reproduces this issue?

@manucorporat Link to the repo: https://github.com/nakulgulati/map-test
Also attaching a gif which demonstrates what I said in the previous comment for clarity. :)

Found my issue
I had the below ``` html
<ion-content [attr.class]="options?.cssClass">
rather than

``` html
<ion-content [ngClass]="options?.cssClass">

which resulted in content-ios class not being applied

@nakulgulati  Unchecking and checking the style property in the web inspector, will cause a re-paint which is most likely why it's working.

@alan-agius4 Yep that is exactly why it is working. The gif shows that the styles are loaded but not applied on nav-decor and hence causes it to bug.

I tested the map-test:

I works for me...

ion-nav is and it has to be black, the whole time.

What behavior are you expecting?
That the nav-decor doesn't have a black background
This can be re produced using the ionic starter

^this premise is wrong. nav-decor is using during transitions to have a fade to black effect.
I am going to close the issue and please create a new one following the issue template, explaining WHAT is failing in your app, nothing else.
Since this is issue is being hard to reproduce please provide a repo and the environment:

Desktop? device? ios only? WKWebview? iOS Simulator?

@manucorporat Seems fair to close the issue. I was originally facing this issue when using Google Maps in a project and had spun up the test project then. Now the issue seems to have disappeared from the original project and still there in map-test for me.
I would look into in more and like you suggested, would open a new issue if required.
Thanks. :)

This is the author of the cordova-googlemaps-plugin.
As of the google maps plugin 2.0.0-beta2-20170705-1715, the plugin inserts the css automatically.
._gmaps_cdv_ .nav-decor {
    display: none !important;
    background-color: rgba(0,0,0,0) !important;
    background: rgba(0,0,0,0) !important;
}

This thread helps me to solve this issue. Thank you for discussing.


<form should default to POST method.

This PR implements https://allthings.atlassian.net/browse/APP-2798.
Form method defaults to POST.
Checklist:

[x] Test added / Snapshots updated
[x] Documentation added / updated

As we call preventDefault in our submit handler it should never actually send the form data as GET parameters. Do we really need this? 🤔

@dan-lee https://allthings.atlassian.net/browse/APP-2546

I saw that but couldn't figure out why it's a problem even with preventDefault.
But the discussion earlier cleared it up for me:
When the page is correctly loaded via SSR but the client code throws an error, the preventDefault is not triggered and default method GET for the form submission is used 💡


[BUG] Media not found or unavailable (media_info)

When I run cl.media_info(2655230362137838000, False) it does this. Not sure why
>> cl.media_info(2655230362137838000, False)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/public.py", line 129, in _send_public_request
    self.last_public_json = response.json()
  File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 237, in media_info
    media = self.media_info_gql(media_pk)
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 182, in media_info_gql
    data = self.public_graphql_request(
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/public.py", line 209, in public_graphql_request
    body_json = self.public_request(
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/public.py", line 73, in public_request
    raise e  # Stop retries
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/public.py", line 71, in public_request
    return self._send_public_request(url, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/public.py", line 135, in _send_public_request
    raise ClientLoginRequired(e, response=response)
instagrapi.exceptions.ClientLoginRequired: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 241, in media_info
    media = self.media_info_gql(media_pk)  # retry
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 186, in media_info_gql
    raise MediaNotFound(media_pk=media_pk, **data)
instagrapi.exceptions.MediaNotFound: Unknown ({'media_pk':<PHONE_NUMBER>137838000, 'shortcode_media': None})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/private.py", line 271, in _send_private_request
    response.raise_for_status()
  File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/media/2655230362137838000/info/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 208, in media_info_v1
    result = self.private_request(f"media/{media_pk}/info/")
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/private.py", line 416, in private_request
    raise e
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/private.py", line 403, in private_request
    self._send_private_request(endpoint, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/private.py", line 327, in _send_private_request
    raise UnknownError(**last_json)
instagrapi.exceptions.UnknownError: Media not found or unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 247, in media_info
    media = self.media_info_v1(media_pk)
  File "/usr/local/lib/python3.8/site-packages/instagrapi/mixins/media.py", line 213, in media_info_v1
    raise MediaNotFound(e, media_pk=media_pk, **self.last_json)
instagrapi.exceptions.MediaNotFound: Media not found or unavailable

@Soneji does the post exist? provide a link to it

@Soneji
from instagrapi.utils import InstagramIdCodec

>>> InstagramIdCodec.encode(2655230362137838000)
'CTZRfJEDsGw'

https://www.instagram.com/p/CTZRfJEDsGw/

Maybe the issue is the /media/pk_from_url endpoint then...
What should "https://www.instagram.com/p/CTZRfJEDsE7/" generate?

I do not understand what exactly confuses you?
pk is obtained from code by decoding, nothing else
https://github.com/adw0rd/instagrapi/blob/master/instagrapi/utils.py#L12


App version 1.1.30: Deleting a previous containername does not remove the corresponding containertype

Describe the bug
When stepping back through the digitized records and removing a containername will not remove its brother the containertype.
To Reproduce
Steps to reproduce the behavior:

In the Digi app enter a handful of records with 'Multiple specimens on one object' radio button set.
Step back to an earlier record and delete the 'Containerid' to simulate a situation where the digitizer forgot to reset the radio button.
Save the record
See the behavior in the DB: The Containerid is removed, yet the Containername remains

Expected behavior
The two concepts belong together and I think they should both be removed when the Containerid is deleted.
Please complete the following information:

version 1.1.30
In specify a record might be created with the container name but no identifier to associate it with the other record(s).

Fixed.


Regenerate slug after model was created (4.2)

When slug field is editable for users, there is no way to regenerate slug if the model already exists
I suggest when clearing the field in form generate the slug again

See https://github.com/cviebrock/eloquent-sluggable/pull/465#issuecomment-500262248

Closing due to no response.  Feel free to re-open or comment if you are still having issues.


Servername in header

I want to do something like
header / X-Backend-Server {hostname}

where {hostname} get's replaced with the servers hostname.
This is helpful if you have multiple backend servers behind a load balancer and you want to know on which backend server you are.
Maybe other placeholders make also sense.

Placeholders are supported in the proxy directive (proxy_header) but not the header directive, I guess this is the first request we've had for it.

This is helpful if you have multiple backend servers behind a load balancer and you want to know on which backend server you are.

hostname, _ := os.Hostname()
log.Printf("I'm connected to %s", hostname)

Hi. I'd like to work on this issue as an intro to contributing towards Caddy. Any objections ?

@Burmudar no objections. No one has claimed this yet, you can go ahead. 👍

Closed in #760.


Gh/193 iframe restyle

Last thing: the figma has black icons for active state and white non-active. Is there a trick to export the svg from figma in a way that I can use css "fill" to change the color?

@alexfarrill idk but i kind of doubt it
@monicakogler do you know?

unless i'm misunderstanding, this should work whether you do figma's "copy as svg" or export as svg. either way, you can just edit the fill in the code.

lgtm other than the deselected icon color you mentioned (should be white). this'll break the hover state (white on white), but i just pushed a gray-700 that we can use for the bg with the white icon.
also the border renders diff irl than in figma – if it's easy can we make it transparent in the active state please? i.e. transprent border around the blue

If you want to use those in your jsx, @alexfarrill I think you can do something like this: https://tailwindcss.com/docs/configuration#referencing-in-java-script


Trim line return on descriptor export

when using the copy button while at descriptor backup step, the line returns are also copied, we should trim them).

cannot reproduce, so i close


⚠ Bofrost.fr has degraded performance

In 53aaef7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.fr performance has improved in e5e6344 after 17 minutes.


[3.x] Disable logic that triggers automatic focus gain as the Godot Editor is loaded

For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
Addresses part of https://github.com/godotengine/godot-proposals/issues/3931
master version

Thanks!


How to use with target="es6"?

I use https://github.com/s-panferov/awesome-typescript-loader instead of ts-loader, which speeds up compilation.
My current tsconfig.json is:
{
  "compilerOptions": {
    "noEmit": true,
    "target": "es6",
    "module": "commonjs",
    "moduleResolution": "node",
    "jsx": "preserve",
    "lib": ["dom","es5","es6","es7","es2017.object"]
  },
  "filesGlob": [
    "./**/*.ts"
  ],
  "exclude": [
    "node_modules",
    "build"
  ],
  "awesomeTypescriptLoaderOptions": {
    "useBabel": true,
    "forkChecker": true,
    "useCache": false
  }
}

And my jest config is:
  "jest": {
    "collectCoverageFrom": [
      "app/**/*.{js,jsx}",
      "!app/app.js",
      "!app/routes.js"
    ],
    "moduleDirectories": [
      "node_modules",
      "<rootDir>/app"
    ],
    "moduleNameMapper": {
      ".*\\.css$": "<rootDir>/mocks/cssModule.js",
      ".*\\.jpg$": "<rootDir>/mocks/image.js",
      ".*\\.svg$": "<rootDir>/mocks/svg.js"
    },
    "setupTestFrameworkScriptFile": "<rootDir>/internals/testing/test-bundler.js",
    "testRegex": "tests/.*\\.test\\.(ts|tsx|js)$",
    "transform": {
      ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
    },
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "json"
    ]
  }

So my tests obviously fail with SyntaxError: Unexpected token import.
How to handle this setup with ts-jest?
node: v.6.6.0
typescript: 2.0.8
ts-jest: 17.0.0

What version of node you are using?

@Igmat, sorry, forgot to mention, updated the question

It's strange that it shows Unexpected token import error.
Could you please share a repro? I have some thoughts but have to check them first.

@Igmat here you go https://github.com/dziamid/react-typescript-boilerplate

@Igmat did you have a change to have a look at my repro. Just in case: npm install & npm test to reproduce the proplem - it should fail on the first test with Unexpected token import error.

@dziamid, sorry, I was to busy at this weekend. I'll take a look and will answer tomorrow.

@dziamid, first of all, problem isn't in ATL. Actually webpack and its loaders aren't executed while testing.
First problem is caused by setupTestFrameworkScriptFile, so could you please tell me why do you need test-bundler.js? If you use it for coverage, then better option would be to use
"testResultsProcessor": "<rootDir>/node_modules/ts-jest/coverageprocessor.js" and --no-cache flag.
Second problem is caused by "jsx": "preserve" - currently we don't support it. I'll take a closer look on it but it seems that Jest logic doesn't support using several transformers for one file, so we have only two possible solutions - creating feature request in Jest and adding babel transpilation inside ts-jest, but seconds seems to cause a lot of issues, because I'm not sure that we will be able to correctly reflect user's babel config, and after all it not very good to make one package responsible for several transpilations.
Third problem is caused by your import statement in several files. Syntax like this:
import H1 from 'components/H1';

doesn't seem to be supported by jest-resolve, but I'll try to figure out what we can do with it in ts-jest.
P.S.
After fixing above problems in your config, not all tests will pass, but it seems to happen because of incorrect tests or implementation.

Ok, while here is no responses, I think my last comment helped you to fix it. I'll create related TODO issues in order to find a workaround and may be even provide some changes to ts-jest in order to solve problems with "jsx": "preserve" and this type of import statements.

Closing this due to #63 and #64 as more accurate issues.

First time user here. I seemed to have had a similar (?) issue with imports when I accidentally mangled my Jest config to omit |\\.(test|spec). After I fixed it, the imports worked: "testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$". You can check out the recommended example config here. I found the import token error quite cryptic.

@niedzielski I'm slightly confused. Is the issue about the import token error or cache invalidation?

@kulshekhar, sorry for the late response. The import issue appeared at the time to come from a missing transform field in my config. The transform issue was difficult to track down because I appeared to be seeing a new issue that when the config changed, either through a different file via--config or when a consistently named config file itself changed, that the cache didn't invalidate. I had planned to report the caching config issue as a standalone bug but unfortunately I can no longer reproduce it. For now, I apologize for the noise and will file a ticket if I can reproduce it again.


AudioEffects issues and general audio considerations.

I do some search, not much about audio, don´t find any of the considerations.
Godot version:

3.1 dev build from master
I want to expose some of the issues and consideration that working with audio I found last weeks:
Filters:
HighPassFilter - LowPassFilter - BandPassFilter
Issue: Gain parameter is not needed and doesn´t have effect.
Reverb:

Issue 1: Damping - Spread descriptions are inverted (Spread is widens/narrow stereo and Damping "reflexiveness")

Issue 2: Damping value is inverted  0 is full damping and 1 is no damping (this is compatibility breaker)

Issue 3: Default values are prone to distortion, (and with autonormalized waveforms in import is worst):

Default values:

Room Size 0.8
Damping 0.5
Spread 1
Hipass 0
Dry 1
Wet 0.5

I propose this values by default:

Room Size 0.8
Damping 0.5
Spread 1
Hipass 0.15 (This is important, you can break the speakers of all of this electronic musicians allow to reverberate 50 hz.... :):):) )
Dry 0.7
Wet 0.5

I think default values are important to an effect like this, there are the first impression, is easy to change and not compatibility breaker.
StereoEnhace:
Time Pullout Ms property seems to bump out of phase the right channel, it will be great to have the hability to choose what channel do you want delay.
AudioBusLayout:

Issue 1: Send in mixer representation only allow you to send audio to left buses of the selected bus. This seems like a bug. (Is a bug?)

Issue 2: Visual representation of fader is not accurate. -6db are not the -6db in the png image, there should be any form of insert manually values.

Issue 3 related to 2: -90 db representation is excesive to game purposes. Most time are just needed to adjust -6db -12db -18db , and with that scale is very difficult (With longer faders can be feasible, but better is to put manually a number)

The last two issues are related to the problem that the audio bus resource is not editable in inspector.

Issue 4: Next is not trivial but... We need a mixer in editor if you can´t use that in the previewed game?. Finaly you have to do your own visual representation of the mixer inside the game to adjust values hearing the sound in real time... Mixer without real time edition feels a bit like a "fake" mixer.

Thanks to finish text.... Any opinions?

I have only just started to do some serious audio work in Godot 3 for the first time this week. As you note in issue 4, I also was surprised to find that there is no visual feeback on the bus meters. I thought I was doing something wrong , as I had expected to see feedback while the game was previewing, ala DAW metering.
As for Issue 1, do you mean sending to buses in the left channel or visually to the left (as in the order they are laid out)? I was doing several sends and had no problem. I was sending several individual buses to 2 main buses ("sound effects" and "music") and then sending those to the master with no issue.
A few other general audio observations...

There is no simple way to preview a sample, which is a strange omission. There needs to be a preview/play button on the sample player and in the file system browser. You can toggle on/off the "Playing" checkbox in the audiosampleplayer but this doesn't work a lot of the time, even for the same sample used on different sample players.

The is a a great need for a custom attenuation curve with the AudioSamplePlayer3D. I had a lot of trouble trying to balance near/far sounds and had to resort to individual buses for problematic samples to make use of heavy compression (which is not actually a bad workaround, but not ideal). Not that I have touched Unity in a long while, but I had a look at their audio documentation and really like how attenuation and other parameters can be mapped to a customisable curve! Btw, what does Unit Size in Godot even do, as I couldn't get much joy from playing with it?

I am hoping that someone will be able to eventually add a convolution reverb, as you really need to be able to simulate realistic spaces with an impulse to immerse the player. Not sure what the license is on the old "freeverb" plugin code, but I know that was used in a lot of freeware. Could make a good replacement for the exisitng reverb for a basic synthetic reverb, but if the performance is good enough on a convolution reverb, not sure if anything else is really needed?

Bus names are truncated on the audio view, so would be good to have a way to be able view the full name

On a similar note, being able to drag re-arrange the order of buses would be great.

In general though, the audio side is working pretty well, so it is a solid base to work with :)

With sending to the left i mean that is not possible to send bus 4 to bus 5.
Note: you can rearrange the buses by draggin now, but the pick way is a bit tricky.
Convolution reverb will be great improvement but there are very good algorithmic reverbs to. Problem i see is that in game play cpu cycles are more valuate that memory and doing real time algorithmic reverb seems worst aproach than using convolution... But i don't think that there will be a priority. Real time mixer is the needed improvement to call a mixer "mixer".

Aha, you are right, you can drag buses...I was trying to drag from the wrong spot! Will strike that from my list :)
So you mean sending from a bus on the left to a bus on the right of it. Haven't tried it, sounds like it is a bug if that doesn't work. I have only been going the other way around.
A good algorithmic reverb is definitely a good thing to have, depends on your game of course. That is why I was suggesting using the freeverb code, as it is quite decent. Note sure of the license though. Personally I would only use an algo reverb on music(I personally love the Valhalla ones, but getting a open source one on par with those might be a hard ask!) and would prefer convolution for a 3d game...but choices are always good!
In the end, it is a matter of an interested coder having the experience and interest to donate their time. DSP programming in very specialised, and as far as I know , there are not a lot of experienced coders doing this kind of work in the open source world. Getting a convo reverb happening would be a great GSOC idea if any of them are reading this... maybe @akien-mga could add it to the list if it isn't too late :)
In total agreement with the realtime mixer metering, it is a priority.

Reduz is a musician too so probably audio will be a priority (we want the mod files returning man! Chiptunes are crying in their room). In the past i play with the creation of vst (synthedit and others, i try with reascript too, very afordable but only for reaper). C++ part was very intimidating to me, but reading godot code i learned a lot... Maybe in the future i feel confident to start a module to add some kind of plugin... If this not distracting to game dessign. Sometimes i feel with godot that i do all kind of things (learn c++, bug-catch, translate,do test...) but not dessigning my game... :( ;) there is no time for all!!

@Ranoller yeah, I am also a Reaper user :) It is amazing how all the js Reaper plugins have their code so easily accessible...an amazing learning resource for anyone wanting to code audio plugins. Like you, my plate is very full but I would love to learn some basic DSP audio coding one day.
I am hoping that something like Fluidysynth will be added as a module in Godot eventually. It supports soundfonts and Midi and has been used in a ton of open source projects. This would be useful than MOD support for me, as I have never gotten along with trackers :) I released a little Android game several years ago made with the FOSS Zgame editor and it has a basic little 2 osc synth builtin. Was fun to just import MIDI files and use that for all the music and SFX in the game and not worry anout any samples at all. Would be cool to have something (but of higher quality) like that as a module for Godot!

Send in mixer representation only allow you to send audio to left buses of the selected bus. This seems like a bug.

Pretty sure this was done on purpose to avoid loops.

Issue 1: Send in mixer representation only allow you to send audio to left buses of the selected bus. This seems like a bug. (Is a bug?)

I think this is an expected behavior, I not sure how it implemented, but this is due to the index of the buses, you can expect, for instance, that two different buses send their data to the Master, but not the other way around, since Master would receive data from itself, and then send, and then receive and send... And this is true for any other bus. Any arrange where a bus can send data to buses in index greater then the index of the said bus, will create incoherent mixing (like PlayerSFX and InterfaceSFX sending data to SFX, but the last one can send data to PlayerSFX which sends data to SFX).

There is no simple way to preview a sample, which is a strange omission. There needs to be a preview/play button on the sample player and in the file system browser. You can toggle on/off the "Playing" checkbox in the audiosampleplayer but this doesn't work a lot of the time, even for the same sample used on different sample players.

For some reason they took off the SampleLibrary class, which was an awesome implementation in 2.x which allowed you to preview samples and keep them all in a container, so that you could just add this container to a SamplePlayer and then you could pass a string, just like we do in AnimationPlay to tell which sample shall be played. Would solve lots of the problems I see in this issue.

Preview Sample
Sample Pitch, instead of Bus Pitch
Sample Volume, instead of Bus Volume

And would ease the current task we have to map samples to either an array or a dictionary to dynamically change them. Instead, in SampleLibrary implementation, we just needed to tell SamplePlayer.play(String sample)

I also wanna use Godot as a audiovisual art installation / live projection tool. I been toying with the idea but I need a few things like Visual Scripting (which is now implemented) and OSC and ability to expose audio stream to script. This way I can automate visuals based on audio.
Essentially I wanna do something like Quartz Composer. Have Godot editor on one screen and have the running live project on the projection side with live sync turned on so I can control the projection right from script.
More than just a music making tool. Literally an audiovisual live programming creation tool.

Fixed the issues discussed here. Some things will not change, and sending buses to the left is done by design. You should do fine with this, there is no point in supporting a full graph due to the complexities involved being out of the scope of a game engine.
Seeing some feedback for the running game on the audio buses makes sense, I would open a separate issue about this.


EE-1120: Slash unbonding delegators.

Ref: https://casperlabs.atlassian.net/browse/EE-1120
Adds a clause to the slashing logic so delegators present in bids entry for given slashed validator are collected, and then also removed from unbonding purses for given slashed validator.
This also inlines detail::quash_bid to get the benefit of removing validator's delegators as part of single step per validator to be slashed.

bors r+


fix(throttle): Does not emit last value on source complete

Description:
Fixes a bug when throttle operator did not emit last value on source complete.
Related issue (if exists):
https://github.com/ReactiveX/rxjs/issues/5732

Thanks!
I feel like I might have fixed that in #5729 ... please check. Either way, this would blocked until that is in... and we'd just add the tests.


Missing interface methods

The tests passed here, nice :-)
Are you creating the missing-interface-methods branch from the master?

Nope.  "dev"

I think you're not.  This is not from dev branch, but master one.
Please, create the missing-interface-methods branch from origin/dev: git checkout -b missing-interface-methods origin/dev.


Contribution: Home

1. Internal Project
2. Home
3. Home icon to be used in UI. Users requested a home icon on the menu bar rather than just clicking the logo.
4. Box Link
https://ibm.box.com/s/udr4lxh57e6zg58t7o4b9a01kn5eomeo
5. Screen Shot
Please add the following screen shots to this issue:

Close-up screen shot of the icon with the pixel grid turned on

Screen shot of the icon in context with your use case.

Moved to carbon-elements repo, which host latest set of icons. Feel free to let us know if a new icon in our legacy repo is needed. Thanks!

@asudoh Can you help clarify the steps to get this landed? The main readme for this repo shows this as an experimental package, so just trying to understand the path to get the Home icon added to Carbon.

I believe we have a home icon in the latest batch of IBM Design Language icons, specifically: https://carbon-elements.netlify.com/icons/examples/preview/#32%2Fhome! 😄

Going to close this for now as I believe the Home icon is already established in the new IDL icons. Be on the lookout for a stable release for this project alongside Carbon v10!


Support multiple doctypes

Make it possible to add multiple different doctypes to the item list.
Please note that this PR changes the data format for both the prevalues and the content editor, and it is not backwards compatible.

Few things

If doc type doesn't have icon set, default to doctype icon in picker
Store in the raw value the doc type guid, not alias. This prevents loss of data if an alias is rename.
We do need a better prevalue UI for choosing doctypes, as the tabs / name templates are also template specific, so we need ways of defining those for each doctype selected. Maybe something like the listview prevalue? Dropdown to choose a doctype with "Add" next to it. Clicking "Add" adds to a table showing the doc type name and next to it a dropdown for the tabs, and a field for the name template, plus another button for remove. We could have sorting aswell to allow people to set the order they appear in?

Other than that, it looks really nice.

I agree on points 1 and 3, but storing the doctype alias instead of its guid gives a few advances:

You don't have to map the doctype guid to the corresponding alias in order to fetch the doctype using the Umbraco API
From a deployment perspective it's more convenient to use doctype aliases.
If anything I would consider dropping the doctype guids in the prevalues too, in favor of the doctype aliases.
And finally, renaming an alias already leads to a world of pain in Umbraco, so odds are it won't happen that much.

Hmm, I get you point about deployment as if you do have multiple environments, then yea, they would end up with different GUID's. It is just concerning though that if you do name it wrong, or laster down the road you want to name it more meaningful to the client, you are stuffed unless you do a replace in the database.
@leekelleher what do you think? Did the use of GUID's help or hinder with courier deployments?

It definitively requires your deployment tool to enforce guids across environments. Not sure uSync does that.... I'm pretty sure Umport does not (yet) do that.

@mattbrailsford - Courier uses DocType aliases.
We decided to use GUIDs for Mortar to get around the renaming issue - as it is a major showstopper if that happens, (unless we hook into events to somehow manipulate the JSON?)

@leekelleher @mattbrailsford I must admit I don't see it as a particularly big issue. It's just how Umbraco always worked: If you change a doctype alias in an Umbraco project, stuff breaks - you'll need to rewrite views, republish content, redo selections in node pickers that can select documents of this particular doctype, wrestle courier/uSync/Umport deployments and so on... bottom line, once your Umbraco project is in a near-production-ready state, you generally won't ever rename the alias of a doctype (or any other alias for that matter of fact), simply because it destabilizes the project.
It's not ideal, but I'd rather have a deployment friendly datatype at the cost of not being able to change doctype aliases, than a guard against doctype alias changes at the cost of having to manually deploy the datatype.

I think the issue is, yes, you have to fix your views, but that stuff is easy.  Rename a doctype in umbraco, and your content node still knows it's doc type and remains the same. The data stays.
The issue is, using doc type alias, there is simply no way of recovering your data without playing in the database.
I dunno if hooking into events to detect a doc type alias rename will help, because if we have an NC inside a DTGE, the data is stored pretty deep, so we'd need to pattern match on the json which wouldn't be ideal.

Hooking into events is probably not a solution that will work for terribly long; as soon as the prevalue format changes, the event handling will have to be changed accordingly, and sooner or later this will just become too error prone.
I'd love to hear other people's view on this issue - are people deploying by hand or using tooling, and will said tooling work with doctype guid matching or alternatively allow for exempting NC datatypes during import on the target environment?
I can easily rewrite the PR to work with doctype guids, and I also have a new prevalue editor sort of ready (a bit of rewrite pending the output of this discussion). Guess all we need is a decision :)

uSync doesn't enforce the doctype guid between sites (i'm not 100% sure you can with the API - I might play about with that a bit),
For deployments then alias is always going to be nicer - because it forgives a multitude of sins, allows for times when things on either side might have been created out of sync from each other.
When deploying with IDs you need to be much more careful and methodical, because if the IDs go out of sync then you can be in trouble and end up with duplicates.
in uSync you can turn off exporting all datatypes - but not individual ones, but you could write a quick event listener for uSync that would prevent the .configs been written out for this type.

All IEntity's (which I believe anything based on the node table should be) should have a Key property which is the items guid so you should be able to access it / set it, but I do get what you mean about aliases being easier.
 The best I could come up with would be a SQL statement to do a find and replace (it needs to be at the SQL level, as a NC raw value, could be stored within a DTGE so you can't just look for NC properties).
DECLARE @oldAlias varchar(100)
DECLARE @newAlias varchar(100)

SET @oldAlias = 'OldDocTypeAlias'
SET @newAlias = 'NewDocTypeAlias'

UPDATE [cmsPropertyData]
SET [dataNtext] = REPLACE(REPLACE([dataNtext], '"docType": "'+ @oldAlias +'"', '"docType": "'+ @newAlias +'"'), '"docType":"'+ @oldAlias +'"', '"docType":"'+ @newAlias +'"')
WHERE [dataNtext] LIKE '%"docType":[^"]"'+ @oldAlias +'"%'

UPDATE [cmsPreviewXml]
SET [xml] = REPLACE(REPLACE([xml], '"docType": "'+ @oldAlias +'"', '"docType": "'+ @newAlias +'"'), '"docType":"'+ @oldAlias +'"', '"docType":"'+ @newAlias +'"')
WHERE [xml] LIKE '%"docType":[^"]"'+ @oldAlias +'"%'

This is currently just for property data, so we would potentially need another to fix the prevalue data, and then the user would have to rebuild their site lucene index etc.
Comments?

A different approach would be to let the new and improved doctype-tabalias-nametemplate prevalue editor somehow support doctype alias changes.
Theoretically we could find all doctypes using the NC data type in question, then find all documents based on these doctypes and update the NC property value JSON with the new doctype aliases. But it's a bit of work to be honest, and I'm not a big fan of modifying documents behind the user's back. Just thought I'd mention it as an option.
I still believe that data loss it's a perfectly valid behavior for an Umbraco data type that's based on the aliases of other Umbraco elements, when said aliases change. If I recall correctly, this behavior is even seen on the built-in content picker?

Maybe if we prefix our doctype alias field on our json object, it would make it easier to find / replace, ie "ncDocType": "DocTypeAlias" (we could then do the same with DTGE "dtgeDocType": "DocTypeAlias") then we know in our SQL statement we are only ever affecting our specific model?

PS I agree, modifying the data model should not be something we do automatically

Ok, so here is the decision then, lets go aliases throughout, but wherever we store an alias in a json object, make sure that that property is prefixed with "nc" to give people an easy handle to find and replace on. It shouldn't mean much for us in development, but it's a big help if you change your alias and want to fix your data.
@leekelleher is this a decision we want to take over to DTGE too?
One other thing worth looking at, is investigating whether we can implement these changes in such a way so they auto fix coming from the old data structure. It would potentially require people to resave their values, but that's better than saying you are stuffed and can't upgrade.

@mattbrailsford Yes, I think we should keep DTGE consistent with NC decisions. :+1:

:+1: I'll refactor a few things and update the PR in the weekend.
With regards to migrating the previous data formats, I'll keep that out of this PR. I'm not even sure it's really possible, specially not for the prevalue editor - the list of [doctype alias, tab alias, name template] sets will replace three individual prevalues.

@kjac it's worth looking. If a prevalue editor has access to the entire stored prevalue config, it should be possible to look up the old properties and remap them to the new structure. I can't be sure though, but it's worth looking.
Thanks for the work on this so far. Other than the alias dilemma, it's still awesome :)

@mattbrailsford @leekelleher The PR has been updated with the new prevalue editor and the "nc"-refactoring of stored aliases. I've prefixed the stored tab aliases as well for good measure.
As you can see, I've started a subtle name change throughout the code from "doctype" to "contenttype", to align the code semantics with the Umbraco code semantics. There are still a few things to be done in this regard, but that's beyond the scope of this PR - for now I've just made sure to rename the stored prevalues and values to avoid future loss of data.

Added converter from the current (v0.1.1) data formats for both prevalue and value editors.

Did a little refactoring to make sure that nodes are always created and initialized in the same way.

Just playing with this now and am pretty damn impressed. Nice work @kjac. Having it auto fix itself is such a worthwhile thing so good job on getting that working. And the doctype/tab/template editor works really nicely.
I think the only comment I would have now is, I like the help text you've added, but I wonder if this should be behind a help icon next to the add button? Clicking it expands to show the help text. That way it's not taking up a ton of space one you know what you are doing. What do you think?
Matt

Hiya. Sure I can do that, shouldn't be a problem. I was torn myself about the help text, after all it's not really the "Umbraco way" of doing things. But the editor itself is far from self explanatory, so I felt it was better to add the help text.
I'll update the PR soon, and also add another small bugfix to ensure that the sort order of the selected doctypes is enforced in the editor.

There we go, added help icon and explicit sorting of the selected doctypes.

@kjac In Firefox the openNodeTypePicker call fails with event undefined, preventing the doctype overlay picker from popping up. I fixed this by changing it to:
$scope.openNodeTypePicker = function (event)
and changing the ng-click to:
openNodeTypePicker($event)
Thanks for working so diligently to improve such an awesome and useful package. I can't wait until this request is merged.

@joshua-stewart Thanks! I've tested your fix on Firefox and Chrome and it works in both browsers, so the PR has been updated accordingly :)

@kjac You're welcome. I love this package. I hope it gets rolled into the core soon, or at a minimum your pull request gets merged into the package. I have a few enhancements I'd like to contribute like adding the doctype icons to each item so you can tell visually what is what when using multiple doctypes.
With regards to this package being added to the core, if this does get rolled into the core, how hard would it be for this functionality to live under a separate node in the settings tree called Nested Content? This would allow for a complete separation from traditional doctypes. Are there any drawbacks to doing this?

That would be possible, and with no real drawback unless you're planning to
use the same doctype for both regular content and nested content. However,
there's a long stretch until this package can be added to the core. I have
a few bug fixes I'll add when I have the time, and I'm sure there are lots
more. Besides, adding it to the core means a less agile rollout of updates
to the package, and not least enforcing an umbraco upgrade for the sake of
deploying new features for NC. And we all know that despite the best
efforts of the core team, and umbraco upgrade is not always just next next
finish. So there are some arguments against adding it to the core.
...but that's a whole other discussion :-)
On Apr 10, 2015 4:02 PM, "joshua-stewart"<EMAIL_ADDRESS>wrote:

@kjac https://github.com/kjac You're welcome. I love this package. I
hope it gets rolled into the core soon, or at a minimum your pull request
gets merged into the package. I have a few enhancements I'd like to
contribute like adding the doctype icons to each item so you can tell
visually what is what when using multiple doctypes.
With regards to this package being added to the core, if this does get
rolled into the core, how hard would it be for this functionality to live
under a separate node in the settings tree called Nested Content? This
would allow for a complete separation from traditional doctypes. Are there
any drawbacks to doing this?
—
Reply to this email directly or view it on GitHub
https://github.com/leekelleher/umbraco-nested-content/pull/4#issuecomment-91568890
.

Awesome. Thanks for the feedback. :-)

Forward merged from develop.

@kjac Hi all!  I haven't looked at the code yet and this is my first time using Nested Content, but just thought I'd let you know that I worked on a new site from Kenn's multiple-doctypes branch and all worked perfectly :+1:

Any luck with nesting nested content?

@kgiszewski Hmm..hadn't tried that yet, didn't need it for this project.  Is that not supported?

Cheers @tomfulton for testing. We've been playing with it too and are pretty happy with it so should be in the next release.

@tomfulton shrugs :) Been holding off using this package until this branch was merged.

@tomfulton cool. It's been a while since I did it but I recall testing it rather intensively, so I'm glad it works for ya :)
@kgiszewski not sure nested nested content is supported. I haven't explicitly tested it, but it'll probably work (at least until validation issues pop up, huh!).

@kgiszewski it'll probably work, but it's not something we intend to support explicitly. Nested content's focus is really to do simple lists, so if you need lists in lists, it goes a bit beyond what the UI can probably handle.

Ok no problem. Trying to see if most of Archetypes features have a mapping.

Oi! I for one don't see nested content as any kind of replacement for
archetype. Much more like a simpler supplement. The data model for nested
content (based on documents) simplifies a lot of things compared to
archetypes data structure, but at the same time it limits the possible
feature set of nested content. So don't you dare give up on archetype :-)
On Jun 22, 2015 11:55 PM, "Kevin Giszewski"<EMAIL_ADDRESS>wrote:

Ok no problem. Trying to see if most of Archetypes features have a
mapping.
—
Reply to this email directly or view it on GitHub
https://github.com/leekelleher/umbraco-nested-content/pull/4#issuecomment-114276200
.

Ha, well I've sort of imagined that Nested Content was the eventual successor to Archetype :)  Not killing it off anytime soon.  Perhaps it'll limp to Umbraco 8.

@kgiszewski  I agree with @kjac, Nested Content has no intentions to be an Archtype killer, and I totally see the need for both packages. Nested Content will be for simple content lists, nothing more (kinda like embedded content from a few years back). So if a more complex data model is required, then Archetype would definitely be a better solution in that instance.

Lovely :) and you're very welcome!


FOREST_COPY_BASIC_ONE_CARD and FOREST_COPY_ANY_FOREST_LOCATION allows you to copy any basic location, not just ones in play

From Google Form: The forest card, copy any forest card, allows for the copying of any forest card in the entire deck of forest cards, not just the forest cards selected for the current game, which I don't think is how the card actually functions

fix deployed


Added function to process data into a json list

Description
The integration file is able to read the data as a json list from data folder, ready for ingestion.
Issues Resolved
Closes Read from files for OpenSearch Chatbot
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I fixed all the suggestions. Thanks!

Resolves #36

Fixed! Sorry I didn't know the exact conventions we are trying to follow.


Idempotence for method calls

It is hard to build a bot that is very reliable. Suppose I want to send two messages for an incoming update. I have no way to guarantee that my bot works correctly all the time, e.g. when my bot crashes between sending the first and the second message. This is orthogonal to using long polling vs. webhooks.
If I repeat processing the update, I might send one message again that I sent before (duplication), and if I don't, then I send one message too few (data loss). Either way, I have to decide between at-least once processing or at-most once processing of the updates.
Am I right that the Telegram Bot API server dedupes updates from the Telegram side before sending them further to the bot?
If so, would it be possible to also dedupe incoming method calls from bots? This way, a crashing bot instance can recover, process all incompletely handled updates again, and can be sure that no duplicate messages are delivered to the user. All that bots have to do for this is to process messages deterministically, and generate stable event identifiers, e.g. in the format<incoming update_id>-<operation counter>.
Instead of adding a new field to the payloads of every single method, this could perhaps we achieved via an optional HTTP header? I do not see a way to solve this problem only on the bot's side without idempotence on Telegram's side. If I am overlooking something, or if there is a better way do what I'm trying, please let me know.

Am I right that the Telegram Bot API server dedupes updates from the Telegram side before sending them further to the bot?

Bot API guarantees that an update about the same event will be received with a fixed update_id until its delivery isn't confirmed. A very complex update handling system is used in Bot API to achieve this and it is unlikely that all bot developers will be able to do something similar. In fact, most developers ignore even update_id, which allows to deduplicate updates,

If so, would it be possible to also dedupe incoming method calls from bots?

No, this isn't possible, because these calls can consist from a lot of other calls, which use a lot of other calls, any of which may fail. Telegram clients are able to deduplicate only message sending itself, but incorrect use of this feature can lead to much worse consequences than a very-very rare message duplication.

Either way, I have to decide between at-least once processing or at-most once processing of the updates.

If the bot doesn't crash while waiting response for a request to the Bot API, it can store state of the update handling to avoid both issues. Bots usually have reliable network connections and reliable hardware, so they have no obstacles to achieve this.

with a fixed update_id until its delivery isn't confirmed

You mean until its delivery is confirmed, correct? I agree with the rest, that makes sense.

No, this isn't possible

I see …

Bots usually have reliable network connections

That is true, we're talking about extremely rare cases. In practise, it has not been an issue yet. I was considering what's possible from a rather theoretical point of view, and to know what guarantees my software can give. This is especially interesting with regards to the recent release of version 5.2 as it will make payments in bots much more common.
Thank you for the thorough explanation :)
I don't think it makes much sense to put in any more effort into this. I know now about the limitations and then I can just document things accordingly, that'll do.


nixos/stage1: make append_initrd_secrets script reproducible

Description of changes
So it turns out our append_initrd_secrets script gives non reproducible initrd image. I found that our by using the boot.initrd.secrets option with lanzaboote, that has content-addressed initrds. I'd have one different initrd image per generation, filling my boot partition very fast.
This change addresses this issue.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Is there a sensible test that we can ask ofborg to run? If you can find one, please run it here @JulienMalka

@ofborg test initrd-secrets

@nikstur this will prove I did not break initrd secrets. For the reproducibility part, you'll have to take my word for it, I personally tested a real hardware.


This page is too hard to discover

This page is not linked to from Azure Active Directory B2C's Page Layouts page. The two pages that are linked to are:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-javascript-overview
https://docs.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-overview
Particularly from the 2nd link I've provided here, this needs to address Core and link to this page or it should probably just direct you here in the first place since this is a far more useful help page!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 84aabaf3-e7da-3519-995c-72d36c537843
Version Independent ID: b35afa8d-a02c-a77a-6831-2b3f6a6c1a7d
Content: Customize the user interface of your app with a custom policy - Azure AD B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-ui-customization-custom.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@dansiegel Thank you for the feedback. We will review and update accordingly.

@mmacy Could this be checked into ?

#reassign:msmimart


Tibber Autoload only 120W if Battery SOC drops under "Min SOC Zielwert"

Hi @do-gooder! I tested your Tibber Autoload. It basically works as expected. It starts and stops as soon as the price drops below or rises above the set value.
However, I have one big issue: If Min SOC goes under 7% before the start of charging it will only charge with ~120W. As soon as 7% is reached (which takes a wile) it jumps up to the value set in rct_quickcharge_power - in my case 8000W.
I learned that as soon one is changing "Min SOC Zielwert" to e.g. 0.07 the value "SOC min Erhaltungsladung" sets itself to 0.05. Over the night it drops slowly by the power usage of the inverter near 5% and charges up to ~7% with around 120W.
I helped myself by charging the battery up to a value which guarantees me SOC over 7% late at night/early in the morning. It works but is unhandy. Second idea was to set the "Min SOC Zielwert" to 9% and as a result "SOC min Erhaltungsaldung" is now 7%. But unfortunately (and as expected) it didn't work out that easily. 3rd idea was to reduce the value "Min SOC Zielwert" by 2% (-0.02) which works fine.
To make this a little more sophisticated I looked for the value "SOC min Erhaltungsaldung" in RCT Power for a proper calculation, but I didn't find any 😕.
I don't know if anybody has the same problem, yet.
Maybe you have a good solution for this?

Look at alod APP Version 2.591 f.e. APTOIDE
There is an option for the trickle charge.

power_mng.soc_charge_power can be set via rct.py. The default value is 100 (W). Change it to speed up the charging to "Min SOC Zielwert".
If you have developed a solution, please send us a pull request!

Shouldn't this deal with exactly your topic?
Line 44-48 of packages/tibber_rct_autoload.yaml
- action: shell_command.writerctpower
  data:
    object_name: power_mng.soc_min
    object_value: >-
      {{states('input_number.rct_soc_min')|multiply(0.01)-0.02|round(2)}}

@Satyric2207, check Lowering of min_soc increased

@do-gooder
Thanks for your the quick feedback and sry for my late. I think the solution for me is to change the trickle charge value as @dahadd wrote.
@dahadd
Can you please tell us what values you are using and if you have discovered any issues with them? Thanks in advance!


Use sbt-header to add Apache 2.0 licence to Scala files.

For completing jw3/example-daffodil-vscode#125.

Need a header on build.sbt, plugins.sbt, etc..

Need a header on build.sbt, plugins.sbt, etc..

I had no idea! Ok, will add.


Feature Request: Add CONAN_CONFIG_URL parameter

When added, CPT should run the following prior to the build:
conan config install <CONAN_CONFIG_URL>

That's an excellent idea IMO!
In my case, I need cross-building many projects so I need multiple custom profiles. Using CI tools we could write all profile info in .yaml file but for local build we need to create a dedicated profile.
Conan config could be the best option to use custom profiles and remotes, avoiding replication.

Great, this seems like an extremely easy and un-controversial feature to implement.


Any tips for completing PA in time?

I have trouble completing PA in time and it seems like theres no way. With time now before final starts, what can i do to basically be better

zhd please save me

do the practice papers to familiarise yourself with the style of the questions

you can try redoing the exercises i guess

you can try to understand the programming concepts taught in lectures and practice how to use these concepts in your code implementations

1: Get a keyboard that lets you type fast (because they measure how much you complete your code vis-a-vis what you do in the lab)
2: Do you debug? Just don't do much of them.
3: Think about your execution plan from reading the questions
4: Cannot do? If it's very bad then people will complain about it on r/nus

i think its important to understand how you can use each of the function, also try to visualize and plan out the steps to get to the final output

do we have to build the skeleton like PA1 for PA2?

Yes
Get Outlook for iOShttps://aka.ms/o0ukef

From: Cyledge @.>
Sent: Sunday, April 7, 2024 3:44:48 PM
To: nus-cs2030/2324-s2 @.>
Cc: Zhang Hao Dong @.>; Mention @.>
Subject: Re: [nus-cs2030/2324-s2] Any tips for completing PA in time? (Issue #438)
do we have to build the skeleton like PA1 for PA2?
—
Reply to this email directly, view it on GitHubhttps://github.com/nus-cs2030/2324-s2/issues/438#issuecomment-2041353865, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRJ5GU7TSHRRSI4AERXYB3Y4D2PBAVCNFSM6AAAAABFW4BJL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGM2TGOBWGU.
You are receiving this because you were mentioned.Message ID: @.***>

during the pa itself, I like to first read all the levels and plan out a rough structure. this helps me to avoid having to redo it if it clashes with the higher levels. i take about 15-20 mins to plan! it may seem like a lot, but if you already know what your skeletal structure is it makes it much easier to simply code it out!

maybe can read all the levels as a whole first to get a sense of what needs to be done. if cannot finish all the specific implementations, at least to get the structure done

dont compile anything during the pa, i kept writing the skeleton of the code without compiling once (if u rly want it to compile just return a placeholder value first, might help with the similarity thing anyway), also for the previous pa the ungraded exercise helped me alot so you could do that and make sure you understand it

familiarise urself with Log and Maybe exercises, my ta said they will be helpful

I think completing the PA on time is really hard, but aside from creating skeleton classes, write down your past labs & codecrunch exercises with all their levels. It's important bc there might be some methods that can also be applied to your PA, and it'll save you some time as compared to starting from scratch during your 90 minutes

I guess most people can't complete it within the PA time slot... Only the real pros can do it...

I myself can finish, but afterwards heavy advanced debugging can only be done outside with my IDE
Get Outlook for iOShttps://aka.ms/o0ukef

From: CSnoobCS @.>
Sent: Monday, April 15, 2024 12:14:12 AM
To: nus-cs2030/2324-s2 @.>
Cc: Zhang Hao Dong @.>; Mention @.>
Subject: Re: [nus-cs2030/2324-s2] Any tips for completing PA in time? (Issue #438)
I guess most people can't complete it within the PA time slot... Only the real pros can do it...
—
Reply to this email directly, view it on GitHubhttps://github.com/nus-cs2030/2324-s2/issues/438#issuecomment-2054110229, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRJ5GXQPSUANXFYUP222XDY5KTNJAVCNFSM6AAAAABFW4BJL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGEYTAMRSHE.
You are receiving this because you were mentioned.Message ID: @.***>

What worked for me for the previous PA was to spend 20-30 minutes to plan everything out, before spending the last hour or so to code.
The amount of time I spent planning may not appeal to most people, but i just want to stress that code compilation is not a must, and planning ahead avoids certain scenarios where you have to rewrite up to 90% of the code chunk, e.g. rewriting all your classes at the later levels as you are expected to implement the previous classes using generics (see 21/22 Sem 1 Level 3).
Jiayous to everyone on Friday!

I think we shldnt restrict ourselves to the different levels but rather focus on writing skeleton of the code as a whole. So we shldnt be too worried about passing all the test cases in each level so long as the general idea is there


Added explanations on how to use git commands

In this pull requests, I added explanation on how to use git commands.

ok


Exception is thrown in Directory.create / delete outside of Future<>

Directory.delete() and Directory.create() throws an exception outside of the Future<>, which is then picked up by the top-level flutter error handler. This means the exception can't be try/catch in user code.
I'm not sure how to reproduce this unfortunately, I can offer you stack traces:
Thread 0 main thread CRASHEDFileSystemException: FileSystemException: Creation failed, path = '/data/user/0/com.google.android.apps.blogger/cache/StorageService' (OS Error: No space left on device, errno = 28)
at _Directory.create.<anonymous closure>	(directory_impl.dart:124 )
at _rootRunUnary	(zone.dart:1134 )
at _CustomZone.runUnary	(zone.dart:1031 )
at _FutureListener.handleValue	(future_impl.dart:140 )
at Future._propagateToListeners.handleValueCallback	(future_impl.dart:682 )
at Future._propagateToListeners	(future_impl.dart:711 )
at Future._completeWithValue	(future_impl.dart:526 )
at Future._asyncComplete.<anonymous closure>	(future_impl.dart:556 )
at _rootRun	(zone.dart:1126 )
at _CustomZone.run	(zone.dart:1023 )
at _CustomZone.runGuarded	(zone.dart:925 )
at _CustomZone.bindCallbackGuarded.<anonymous closure>	(zone.dart:965 )
at _microtaskLoop	(schedule_microtask.dart:43 )
at _startMicrotaskLoop	(schedule_microtask.dart:52 )

Thread 0 main thread CRASHEDFileSystemException
at _Directory._delete.<anonymous closure>	(directory_impl.dart:199 )
at _rootRunUnary	(zone.dart:1134 )
at _CustomZone.runUnary	(zone.dart:1031 )
at _FutureListener.handleValue	(future_impl.dart:140 )
at Future._propagateToListeners.handleValueCallback	(future_impl.dart:682 )
at Future._propagateToListeners	(future_impl.dart:711 )
at Future._completeWithValue	(future_impl.dart:526 )
at Future._asyncComplete.<anonymous closure>	(future_impl.dart:556 )
at _rootRun	(zone.dart:1126 )
at _CustomZone.run	(zone.dart:1023 )
at _CustomZone.runGuarded	(zone.dart:925 )
at _CustomZone.bindCallbackGuarded.<anonymous closure>	(zone.dart:965 )
at _microtaskLoop	(schedule_microtask.dart:43 )
at _startMicrotaskLoop	(schedule_microtask.dart:52 )

http://crash?reportid=8bdd32480a34e722
http://crash?reportid=6a12d0538de18cc9
http://go/flutter-directory-create-badness

Hi @cvolzke4
can you please provide your flutter doctor -v ,
your flutter run --verbose
and if possible a reproducible minimal code sample.
Thank you

In my description I have stated that I cannot reproduce this.
There is a link to a go/crash report. Running flutter doctor locally isn't
going to help.
On Mon, Mar 23, 2020 at 5:44 PM Francecsco Iapicca<EMAIL_ADDRESS>wrote:

Hi @cvolzke4 https://github.com/cvolzke4
can you please provide your flutter doctor -v ,
your flutter run --verbose
and if possible a reproducible minimal code sample.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/53068#issuecomment-602415160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKX7Z27POHQKY3VDWLT3OODRI4ANXANCNFSM4LRP72GA
.

HI @cvolzke4
the link you provided don't appear to work,
could you please attach the logs as txt
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


cmake README.md tweaks

Some updates to README.md for the ATS 10 release.

[approve ci]

Cherry-picked to v10.0.x


sync remote with local

:tada: This PR is included in version 0.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Azure Container Instance with GPU

Hi all,
I was attempting to enable GPU in Azure container and I followed this instruction. I have tried two methods that the first method is to add a container with GPU via Azure UI. I tried some time but I always got the status of succeeded after it created the container. I expect it can show the running status.
My second trying is to use the YAML file to create the container and I also got the results as same as the instruction.

I checked in the container status of the control area that it showed the succeeded.
Because the status is not running, I cannot use the exec to test this container.

The goal is to create a GPU container and I can use nvidia-smi to check it.
Is there any document about creating a gpu container on Azure? Or anyone knows how to solve this issue of succeeded status not running?
Thank you so much!!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 87729a5b-eda2-985e-678a-45498839f6b8
Version Independent ID: 8ce5224f-6b82-73e7-15dd-32a146c6ad53
Content: Deploy GPU-enabled container instance - Azure Container Instances
Content Source: articles/container-instances/container-instances-gpu.md
Service: container-instances
GitHub Login: @macolso
Microsoft Alias: macolso

Hi @VikasPullagura-MSFT ,
Thanks for your information!!
Before I tested that example above, I also tested the Nvidia Cuda image  on Azure Container Instance that it didn't do anything specific action after we created it. Hence, we can expect the behaviour of the container on Azure should be as same as we creating a container with this image in our local environment. For instance, we pull an Nvidia Cuda image and create a container with Nvidia-docker / GPUs all, and access it to do some deep learning training tasks. (These steps are traditionally what we do on the local machine.) So I wanna reproduce this kind of step but the place is doing in a container of Azure. According to your reference, I think that one is to implement the command in a container with GPU local-only without using the Azure container.
Suppose I can achieve the container which is able to show the status as "running" after I only change another image (like your sample above which using CMD Nvidia-smi this image), then why the normal image cannot keep alive? Or how can I let an Azure container keep alive? For example, when we run a container in the local via docker, we will use the option -it, but I am not sure whether Azure will also do this kind of thing during creating a GPU container. (According to my experience, if we create a CPU container, it will keep alive.) For my encountering issue, I wanna make my container keep alive not only succeeded but also showing running.
In this instruction, there are two ways to create a container on Azure, one is using yaml example, and the other one is using Resource Manager template example. I anticipate that I can create an Azure container with GPU by yaml example or UI not only restricted by Resource Manager template example this way.
On the other hand, I saw the document which mentioned only supporting the CUDA 9.0. Is it still useful until now? If that is true, I cannot imagine how many images Azure container instance cannot support...

Thank you so much!

@chiehpower The images in the example are doing a job and getting exited once the job is completed.
To achieve your end goal, you can try an image which has a long running process so that it stays alive.
Ex: The template for GPU enabled container with nginx image instead of "k8s-gcrio.azureedge.net/cuda-vector-add:v0.1" image as this has a long running process.
Just tried reproducing this and sharing the screenshots for reference.

YAML:
additional_properties: {}
apiVersion: '2019-12-01'
name: gpucontainergroup
properties:
  containers:
  - name: gpucontainer
    properties:
      image: nginx
      resources:
        requests:
          cpu: 1.0
          memoryInGB: 1.5
          gpu:
            count: 1
            sku: K80
  osType: Linux
  restartPolicy: OnFailure

For the supportability of CUDA 9.0 I will have the product team comment on this.

@macols Can you pleas add your comment on the CUDA 9.0. support.

Hi @VikasPullagura-MSFT ,
I appreciate your demonstrations.
I tested your yaml file that it can work well.
As the instruction mentioned two images, so I also tried both images.

The nvidia/cuda:9.0-base-ubuntu16.04 cannot work as normal as running on local.
Here is what I use this image on local:

However, if I change the image from nginx to nvidia/cuda:9.0-base-ubuntu16.04, then it will show succeeded. Do you have any idea about this?
On the other hand, I tested the second one, tensorflow/tensorflow:1.12.0-gpu-py3, which could work although I did not know why it cannot use nvidia-smi but nvcc -V was able to work.
Here was what I tested the TensorFlow with GPU.

In conclusion, I am wondering what kinds of specific conditions Azure container can support that which configuration parameters will influence creating a valid container? For example, the specific cuda version? The latest cuda version is coming to CUDA 11. Does Azure container support the latest version? Could we install any version of GPU driver? Or are there any detailed documents about this topic?
Thank you so much!!!

@chiehpower As I mentioned earlier, I will have the product team to comment on the support, document and versioning part.

@chiehpower When you run docker run -it --rm --gpus all nvidia/cuda:9.0-base-ubuntu16.04 bash , "bash" is a shell (long running process which will not terminate until exit call is made to it) which is being started as an interactive terminal.
In Azure Container Instance the container is not created with flags like (-it, interactive terminal), so the image will do its job and exit.

Hi @VikasPullagura-MSFT
Sorry for my late reply.

In Azure Container Instance the container is not created with flags like (-it, interactive terminal), so the image will do its job and exit.

Thanks for your information! Then it makes sense!
I tried to build a long-running process image from a dockerfile, although it was still failing on the latest version of the Tensorflow GPU image, so I guess it is probably a configuration problem. It is better if we can know the exact conditions.

@chiehpower As I mentioned earlier, I will have the product team to comment on the support, document and versioning part.

Got it!! Thank you so much!!
BR,
Chieh

Glad to know that you were able to resolve the issue.
We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

@chiehpower thanks so much for raising this issue. Could you please share how you resolved the base image issue ? I am using nvidia/cuda:11.4.2-base-ubuntu20.04 at the start of my Dockerfile but when I run it on ACI, no GPU drivers are recognised.


leaderboard record does not show the latest entries

Description
When a user submits his/her score to the leaderboard and fetches the leaderboard entries to see the leaderboard state, he or she can only see the details of the users who submitted their scores before him and his own.
If say another user submits his/her score after the above user, then the above user when fetches leaderboard entries, he still cannot see the data of this new user who submitted score after him and thus the latest leaderboard state/entries are not being fetched for this previous user(who submitted score first).
Steps to Reproduce
Let there be 2 users- A and B

At first, User A submits score and fetches the scores(he can only see his details -- rightly so)
Secondly, User B submits score and can see his details as well as User A's details (again correct).
But after this step when user A fetches the score to see the leaderboard position, he cannot see the data of user B but can only see his(user A's) data .

If we add another user C after this he can see the data of all three but user A can only see his data, user B cab see only his and user's A data.
Expected Result
After user C submits his score, even user A would be able to see User's C score/data and same would be the case with user B i.e All user must be able to see the data/score of people who have submitted score in the leaderboard after they themselves have.
Actual Result
Users can see only his data plus of those who have submitted scores before him, and he is not able to see the scores/data in the leaderboard of the users who have submitted their own scores after him.
Sample Example
`User A Submitted score
04-19 19:06:50.482 15896-16142/com.example.admin.myapplication E/Nakama: score submitted!
User A fetching leaderboard scores
04-19 19:07:21.894 15896-16142/com.example.admin.myapplication E/Nakama: Inside viewScore callback[DefaultLeaderboardRecord(leaderboardId=‘some_id’, ownerId=Xy2dZAGIRT6SJ4ReN6uVeA, handle=yOcoeJOfYW, lang=, location=, timezone=, rank=0, score=22364, numScore=1, metadata={}, rankedAt=0, updatedAt=1524145011699, expiresAt=0)]
User B Submitted score
04-19 18:11:45.130 24308-26251/com.example.admin.myapplication E/Nakama:  score submitted!
User B fetching leaderboard scores
04-19 18:12:23.316 24308-26251/com.example.admin.myapplication E/Nakama: Inside viewScore callback[DefaultLeaderboardRecord(leaderboardId=‘some_id’, ownerId=Xy2dZAGIRT6SJ4ReN6uVeA, handle=yOcoeJOfYW, lang=, location=, timezone=, rank=0, score=22364, numScore=1, metadata={}, rankedAt=0, updatedAt=1524145011699, expiresAt=0), DefaultLeaderboardRecord(leaderboardId= ‘some_other_id’, ownerId=if7JxRxERCepAKjdg8pHlQ, handle=roQWVyXUKL, lang=, location=, timezone=, rank=0, score=22364, numScore=1, metadata={}, rankedAt=0, updatedAt=1524145336814, expiresAt=0)]
User A fetching leaderboard scores after user B has submitted and fetched his(here user B’s data should have also been fetched and shown but it’s not).
04-19 19:16:17.485 15896-16142/com.example.admin.myapplication E/Nakama: Inside viewScore callback[DefaultLeaderboardRecord(leaderboardId=’some_id’, ownerId=Xy2dZAGIRT6SJ4ReN6uVeA, handle=yOcoeJOfYW, lang=, location=, timezone=, rank=0, score=22364, numScore=1, metadata={}, rankedAt=0, updatedAt=1524145011699, expiresAt=0)]`
Context

[ ] Android/Java

Your Environment

Nakama: 1.4.1+50cb727
Cockroach: v2.0.0
Environment name and version: Docker version 17.09.1-ce, build 19e2cf6
Operating System and version: MacOS Sierra version 10.12.6

I have a similar problem, but here is listing nothing until the player set a new score, then the list leaderboard message returns only the last score submitted by the logged user, cant list others score :(
Nakama 1.4
Cockroach 1.1.6
Also tried with Nakama 1.4.1 and cockroach 2

I cannot reproduce this on Nakama 2. Please upgrade and re-open if you have issues.


Introduce retry logic for creating producers and consumers

Requirement
Creation of Producer / Subscriber can fail due to:-
a. Genuine issues

In correct serviceUrl
VIP down
incorrect topic name etc

b. Intermittent issues

Broker Unloading a topic
Broker shutting down
Intermittent network issues
connection Timeout due to GC pause.

For the (b. Intermittent Issues) the client has no option but to backoff and retry.
I think this is a common enough use case to introduce new APIs (to not break Binary compatibility) for createProducer and subscribe - which will be simple wrappers over the existing APIs. These APIs will take an additional parameter retrycount, they will just blindly retry after backoff.
@merlimat @rdhabalia @saandrews - Wanted to know your views on this.

Edit
Instead of new API we can just add the retry count as a part of client configuration.

Creating producer/consumer has already retry logic for transient errors. The retry is done with exponential backoff delays up to the configured operationTimeout, which is by default 30s.

To the best of my knowledge - the reconnection logic triggers only once the connection is established atleast once:-
https://github.com/apache/incubator-pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerBase.java#L113
What I want is that we try to retry even if we are unable to establish the connection the first time due to intermittent failures leading to getPartitionedTopicMetadata to fail. In other words, I want to add a for loop here:-
https://github.com/apache/incubator-pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java#L159

To the best of my knowledge - the reconnection logic triggers only once the connection is established atleast once:-

If that's the case it would be a bug :)
It should be easy to have a unit test to show it. Create the producer asynchronously, then bring up the broker within few seconds and verify the producer gets created correctly.

@jai1 @merlimat : is this still a bug?

Was there an option added for retryCount then?


There was an error connecting to host

Heya,
I've setup the software as described and when I type in terminal:
sshfs some_server:/my_folder_on_remote /my/folder/locally
The remote folder mounts in MacOS (14.5), but when I input the same path/server combo in the tray app I get "There was an error connecting to host" in a popup. I'm not too sure where to find more detailed error messages so am not too sure what's going wrong.
Thanks!

@Kiyam let me see if I can't expose more error information in that popup.
In the meantime, would you post a screenshot of how you are inputing information in the Add target popup? You can obfuscate the actual names and paths.

@Kiyam release v0.6.0 will show you the underlying command that failed.

Thanks! The error I'm getting says "Command failed: timeout 3 ssh hypatia echo ping /bin/sh: timeout: command not found"
For reference, the way I have filled in the information in the add target popup is:

Name: hypatia-folder
Target URL: hypatia:/share/some/path/on/hypatia
Mount Path: /Users/kiyam/Remotes/hypatia-folder

For reference, hypatia is the name of some server defined in my ssh config file with a ssh key

@Kiyam ah the local system is missing the timeout command. I had assumed this was installed on MacOS by default (similar to linux) but it's not.
Running  brew install coreutils  (or making timeout available another way) should fix the issue.
I'm going to have to think about how to include this dependency long-term here since timeout is used by sshfsui to prevent the infinite hanging that can occur on MacOS w/ SSHFS.

@thekashifmalik ah yes, that fixed it for me! Thanks!


error when doing python3 main.py

python3: can't open file 'main.py': [Errno 2] No such file or directory

python3: can't open file 'main.py': [Errno 2] No such file or directory

f


Making DLRM Torchscript compatible

Work based on this https://github.com/facebookresearch/dlrm/issues/69 (second post)


Operation Translations Failing to Populate in WalletConnect

Current behavior
Operation translations are failing to populate in Wallet Connect.
Desired behavior
Operation translations should be present on the Wallet Connect ActionRequest.tsx screen.
Steps to Reproduce

Connect to a Dapp using WalletConnect like PoolTogether.
Accept the session.
Attempt to perform an action that would trigger the ActionsRequest.tsx screen e.g. adding to a pool.
Observe section under 'Operation' is not populated.

Screenshot

Versions
v1.22.2 & v1.22.3 Does not reproduce on 1.21.0

Hey @MuckT, We have verified this issue on Latest Test flight build V:1.22.4 and observed that issue is fixed now.
Observation:

"Send a CELO tx" text is displayed under the operation section and also after tapping on "Allow"  button the transaction is completed successfully.
Device: iPhone XR(14.6), iPhone SE(13.6.1)
Attachments:
Operation Section text.jpg
Transaction Successfull.jpg
Thanks..!!

Hey @MuckT we have commented in the ticket #1563


ClickHouse support in Prisma

Problem
db pull errors with Error: Error in connector: Error querying the database: Error querying the database: The server terminated the connection.
ClickHouse supports MySQL wire protocol. I had enabled mysql_port in configuration file and use password_double_sha1_hex for password.
The belove is the ClickHouse official docs:
https://clickhouse.com/docs/en/interfaces/mysql
I can connect to ClickHouse via any MySQL client tools.
Environment & setup

NodeJS: v19.0.1
NPM: 8.19.2
Database: ClickHouse v<IP_ADDRESS>

Prisma Version
Environment variables loaded from .env
prisma                  : 4.5.0
@prisma/client          : 4.5.0
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 0362da9eebca54d94c8ef5edd3b2e90af99ba452 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 0362da9eebca54d94c8ef5edd3b2e90af99ba452 (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core 0362da9eebca54d94c8ef5edd3b2e90af99ba452 (at node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt 0362da9eebca54d94c8ef5edd3b2e90af99ba452 (at node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.5.0-43.0362da9eebca54d94c8ef5edd3b2e90af99ba452
Default Engines Hash    : 0362da9eebca54d94c8ef5edd3b2e90af99ba452
Studio                  : 0.476.0

Is there a simple way to run a Clickhouse with MySQL interface locally @chenhbc? That would allow us to run our test suite against it and determine exactly what is blocking here and if we might be able to find a workaround (or tell Clickhouse about what is lacking).

Having the same issue. Would be a great feature to have.

🙏

+1 it'd be great to have!

This feature is long-awaited!

+1

btw, I'm using https://github.com/amacneil/dbmate with Clickhouse, and it's working great

Damn, this is REALLY concerning prisma doesn't yet have Clickhouse support, neither in the ORM nor in the data proxy!

Hi, @vaguue .How about your work?
I can't wait to see progress on this

This would be really great !!!!!

+1 on this, very much needed

+1

+1 the streets want it!

+1 The streets want it

+1 we need it

we still need it!) Please!)

+1 this would be very helpful.

+1 need it, need it need it need it need it (need it)

+1 we really need this

+1

Prisma support for ClickHouse would be really awesome!
We support two ways to query a database. The normal Prisma API, and then TypedSQL which we launched earlier this year. TypedSQL is much more flexible and will be able to support the full query capabilities of ClickHouse.
Would it be acceptable if the only way to query ClickHouse is with TypedSQL?


fix(cheatcodes): do not account already matched emit events when fill or check

Motivation
Closes #6643

Solution

events found are always pushed at the back of queue
when new expected events are added make sure they're not interfere with events already found (insert new before first found event)
when fill or check, do not account found events: if fill needed then start with entry before first found event then push at the same location. For check action start in order, from the first event in queue

while this works I am going to try a different approach too by putting matched events in a sepparate vector to make sure they are not mixed with unmatched, converting to draft to see how that looks


Lagoon UI: Hide "Not Authenticated" screen when loading UI the first time

Basically now show "Not Authenticated" as we got feedback that people don't like to see this page or it is confusing. Instead just show "logging you in"

It also shows in Google etc

My vote would be for a landing page HTTP 200, to which has some basic information on it, and then if you have a session, a loading animation occurs.

In #2453, I added the title Login Required so it would look like this instead:

In #2453, I added the title Login Required so it would look like this instead:


Add urban / rural designations to counties to the database

We need to add the designations between urban/rural counties to our db so we can filter our map/chart visualizations by type of county. See conversation in #332 and mockup below.
We will use the CBSA designations for now based on investigations in #332.  We may expand to RUCA later. The CBSA designations are Metropolitan, Micropolitan, and neither (Rural). https://www.census.gov/data/datasets/2016/demo/popest/total-metro-and-micro-statistical-areas.html#tables

@viviandien is there one particular table at the link above that contains a classification for each county?
I also came across this source -- are these the RUCA codes?

Good question-- doesn't seem like any of those tables have a specific crosswalk with Counties. I found a crosswalk here here though.
RUCA and RUCCs are different but similar. RUCCs "distinguish metropolitan COUNTIES by the population size of their metro area, and nonmetropolitan counties by degree of urbanization and adjacency to a metro area..."
While RUCAs "classify U.S. CENSUS TRACTS using measures of population density, urbanization, and daily commuting"

OK so the CBSA designation is a bit coarse, so let's use the further broken down version developed by the 2013 National Center for Health Statistics and used by CDC. Last updated in 2013: https://www.cdc.gov/nchs/data_access/urban_rural.htm
The .txt file is at the bottom of that page and the data dictionary is on page 4 of this PDF: https://www.cdc.gov/nchs/data/oae/NCHSUrbruralFileDocumentation.pdf
The 6 categories should be:

1=Large central metro
2=Large fringe metro
3=Medium metro
4=Small metro
5=Micropolitan (nonmetropolitan)
6=Noncore (nonmetropolitan)

We should keep these 6 categories in the database, but we might find the two options of Rural and Metro sufficient for the frontend in terms of analysis.  By using these designations we give ourselves the option on the frontend.


command() does not seem to autorepeat

I am trying to configure some key combo to scroll the mouse wheel. I didn't find any way to do that natively with keyd, so I configured a mapping to run ydotool:
[main]
capslock = overload(maxtend, backspace)

[maxtend]
w = command(YDOTOOL_SOCKET=/run/user/1000/.ydotool_socket ydotool mousemove -w -- 0 +10)

When I press capslock+w I get one scroll action, but it does not autorepeat. Is this a limitation of command(), is it a bug, or am I doing something wrong?

That subject has been discussed in the past in #316. However, I too would be happy if command actions were repeatable.


Retry Mechanism in Dapr PUB/SUB

Ask your question here
I wanted to bring up an issue I've encountered while utilizing Dapr's PUB/SUB functionality, particularly regarding the retry mechanism.
In my application, I use Dapr for PUB/SUB messaging, with Azure Service Bus handling message delivery. The issue arises when attempting to retry messages upon receiving a 400 error code. These errors typically indicate that the data sent to my application is invalid, and as such, I reject such requests. However, depending on the retry settings in Azure Service Bus, the system retries the message, leading to subsequent failures. Similarly, configuring resiliency in Dapr also results in retries.
While I understand that retries should occur in the case of 5XX errors, in my scenario, additional retries only generate unnecessary traffic. Is there a mechanism available within Dapr that can move such messages to a dead letter queue based on the error code? Alternatively, are there any other configuration options in Dapr that could mitigate this unnecessary load?
I truly appreciate any assistance or guidance you can provide on this matter. Thank you for your support and for the excellent product that is Dapr!

Returning a JSON body with the 400 response with { "status":"DROP" } should cause the messages to drop.  If you'd like more detailed help, please post the configuration for your pub/sub component and resiliency and people can take a closer look.

@Flern Using DROP will delete the message. My intention is to move the message to the dead letter so that it won’t be retried. In the case of 5XX errors, messages can be retried because it’s unclear what caused the processing failure.

I would try combining your resiliency policy for retires with a dead letter topic declaration on the subscription configuration.
See https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-deadletter/ for examples.
I'm not sure how this pays with Azure Service Bus, and I have no idea how you have the pub sub currently configured, but it's the best I can do

Using Retries and Letter topics, it must execute as many times as defined.
I found a similar thread here https://github.com/dapr/dapr/pull/7132
That would solve my problem

As it stands, you can only force a message to the Dapr-provided Dead-Letter Queue via the DROP semantic response.
I believe the problem here is that there is no explicit way to force a PubSub message to the native Dead Letter Queue of a broker (if the broker has a native DLQ)
It's been talked about at length in this thread https://github.com/dapr/dapr/issues/4917


Added CenteredCamera class.

This class has (0, 0) located in the center of the screen, as opposed to the original class having (0, 0) at the bottom left.
It sub-classes the standard Camera class for simplicity, modifying begin and end.
Note that the new class requires access to a Window reference to function, this is so that it knows the dimensions of the viewport.

Thanks for this!


Cart item quantity Singular and Plural labels.

When quantity of added is equal to 1, show it as 1 No., when it is greater than 1, show it as X Nos..

Fixed the issue.


I'm pretty sure these values are wrong. Double check this

/* BUG I'm pretty sure these values are wrong. Double check this */

https://github.com/bezlant/int128_implementation/blob/16bde9acd6f6d7230ddd684792aef29d5350829b/src/binary_api/s21_core.h#L24

These are estimates, we could insert the whole decimal value.

Fixed to this. Closing the issue.