Rename The IndicAcceleration Manifesto.md to The Indic Accelerationis…

Rename The IndicAcceleration Manifesto.md to The Indic Accelerationism Manifesto.md

Can I have intellars


Blender 4.2 Changes

Yep, if im not reading it wrong or understanding it wrong, Blender 4.2 now supports MaterialX and i wanna know if this USD format related changes may help MiEx's improvement in the Blender side.

Unfortunately, USD imports regarding materials is still very lacking. Blender 4.2 supports exporting Blender materials to MaterialX but the documentation doesn't say it supports importing MaterialX materials.
Using the Blender addon to import in worlds is still the best way, since that also allows you to specify Blender materials directly, rather than specifying MaterialX materials that then have to be converted into Blender materials. Being able to specify Blender materials directly, is way more powerful

That is sad, also do you have a planned release date for the MiEx's new version? i saw you active on the Projects on GitHub

Unfortunately, USD imports regarding materials is still very lacking. Blender 4.2 supports exporting Blender materials to MaterialX but the documentation doesn't say it supports importing MaterialX materials.
Using the Blender addon to import in worlds is still the best way, since that also allows you to specify Blender materials directly, rather than specifying MaterialX materials that then have to be converted into Blender materials. Being able to specify Blender materials directly, is way more powerful

That is sad, also do you have a planned release date for the MiEx's new version? i saw you active on the Projects on GitHub

Luckily, with the new Blender addon things should just work. For the next version of MiEx there are a few small improvements to it.
At this moment there is unfortunately no planned release date for the next version. It is feature complete, but I do want to extensively test it to make sure there are as few bugs as possible. The projects page on the GitHub repo is indeed kept up to date with the development of the next version. I also have client work which does slow down development. This next version is a big version with lots of new stuff and lots of stuff changed, and I want to make sure that it's as good as it can be.

Unfortunately, USD imports regarding materials is still very lacking. Blender 4.2 supports exporting Blender materials to MaterialX but the documentation doesn't say it supports importing MaterialX materials.
Using the Blender addon to import in worlds is still the best way, since that also allows you to specify Blender materials directly, rather than specifying MaterialX materials that then have to be converted into Blender materials. Being able to specify Blender materials directly, is way more powerful

That is sad, also do you have a planned release date for the MiEx's new version? i saw you active on the Projects on GitHub

Luckily, with the new Blender addon things should just work. For the next version of MiEx there are a few small improvements to it.
At this moment there is unfortunately no planned release date for the next version. It is feature complete, but I do want to extensively test it to make sure there are as few bugs as possible. The projects page on the GitHub repo is indeed kept up to date with the development of the next version. I also have client work which does slow down development. This next version is a big version with lots of new stuff and lots of stuff changed, and I want to make sure that it's as good as it can be.


Add License Chooser

Add License Chooser based on https://creativecommons.org/choose/
Fixes #5

Coverage remained the same at 100.0% when pulling d2f8603ed3e442d211903287b9af3b686c6c9ebd on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling d2f8603ed3e442d211903287b9af3b686c6c9ebd on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling ad6b5a4d1f61b681644ccbd58fb19d3e9b4e817b on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling ad6b5a4d1f61b681644ccbd58fb19d3e9b4e817b on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling 3dff8a3b408f091670377734bbb079842013d367 on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling 3dff8a3b408f091670377734bbb079842013d367 on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling d79bca76738cb1e9a944eb69508b01b3e9d1b300 on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling d79bca76738cb1e9a944eb69508b01b3e9d1b300 on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling d79bca76738cb1e9a944eb69508b01b3e9d1b300 on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling f4b2e87bb010fadfe0057b09d1c52c50ebbc2f7e on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling f4b2e87bb010fadfe0057b09d1c52c50ebbc2f7e on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling f4b2e87bb010fadfe0057b09d1c52c50ebbc2f7e on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling f4b2e87bb010fadfe0057b09d1c52c50ebbc2f7e on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.

Coverage remained the same at 100.0% when pulling 0f466071f5bffeceb10d4be8ff3d3ca17478cdce on chooser into 07b524f9ecf75f4a64744bb179ca61239f639cb6 on master.


Add GVRTextView class

My first try to replace GVRTextViewSceneObject by GVRTextView.
This patch fixes #246(missing way to access all TextView's methods) and the issues related to refresh interval of GVRTextViewSceneObject
To test it, please refer to https://github.com/ragner/GearVRf/tree/renderable

@ragner The code looks good to me. Will test shortly. Thanks for the contribution.

clicked on your tree.  which sample should i use to test it?

@thomasflynn, should be gvr-renderableview.
There are a GVRTextView and a GVRTextViewSceneObject in the scene to compare the animation of font size.

Code looks good. Sample works very nicely.


Add favicon tag to the index.html file

Add favicon tag to the index.html file

Shall I work on this ?


Rate limit replica creation

Suspend rcs at BurstReplicas until they observe all watch events, so they don't stress out the apiserver. @lavalamp @wojtek-t

I took a quick look and it generally looks good to me.

Wanted to run density, then ran into a situtation I've been trying to repro for a while and decided to dig into that before destroying the cluster. Density is now done though, PTAL.

Removed Min function

LGTM

Travis failed with the following error:
--- FAIL: TestRequestExecuteRemoteCommand (0.03s)
	remotecommand_test.go:207: 1: expected true, got false: <nil>
FAIL

@bprashanth : Can you take a look?

@nikhiljindal I think that's https://github.com/GoogleCloudPlatform/kubernetes/issues/6878, I kicked travis, we'll see

Its green now. Merging.


[CRO] feat: update the dbot types and tests a little bit

Update dbot types by our way
Update test cases

ci is failing @NikitK-deriv. please check it.


⚠ Bofrost.at has degraded performance

In becc0f8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2424 ms

Resolved: Bofrost.at performance has improved in edd2d85 after 305 days, 20 hours, 8 minutes.


Cannot disable webhooks via .Values.webhook.pvcMutatingWebhook.enabled

Describe the bug
The mutating webhook configuration is removed when .Values.webhook.pvcMutatingWebhook.enabled is set false. However, the certificate volume sourced from a the tls type secret is still required.
This appears to be a fault in the source, where the webhook server itself is not optional. See:

https://github.com/topolvm/pvc-autoresizer/blob/main/cmd/run.go#L74
https://github.com/topolvm/pvc-autoresizer/blob/main/cmd/run.go#L104
https://github.com/topolvm/pvc-autoresizer/blob/main/cmd/run.go#L137

It would be great to make this optional.
Specifically with the generated webhook cert, we found that it resulted in a container config error due to the self signed cert created during the helm install was not provisioned at allwhen .Values.webhook.pvcMutatingWebhook.enabled was set false.
Environments

Version: v0.14.0
OS: Debian 12

To Reproduce
Steps to reproduce the behavior:

Install with the following helm values:

  webhook:
    pvcMutatingWebhook:
      enabled: false
    certificate:
      generate: true

This renders a deploy without the mutating webhook configuration, and the secret used for certs
Pods fail with a ContainerConfig error

Expected behavior
When .Values.webhook.pvcMutatingWebhook.enabled is set, neither the cert manager or generated certificate should be rendered.
The deployment should not mount the certificate secret.
The application should be able to start fine without the cert directory.
Additional context
Add any other context about the problem here.

Any chance we could get a new release with this functionality? :pray:


If a new branch is pushed the entire history gets posted to slack

Pick an existing stash project with several existing commits.
Configure stash2slack
Create a new branch.
Create one new commit on the new branch.
Push the branch to stash.

Expected: The single new commit is sent to Slack
Actual: The entire history of the project is sent to Slack

Thanks, will check that!

Okay, if the fromHash in the ref change is zero<PHONE_NUMBER>000000000000000000000000000000), then this probably means this is a new branch. In this case, I only emit the latest commit to the slack message. As a consequence, if you create a new branch and commit to it more than once before pushing, you will only get the latest commit displayed in the slack message (you can always click on the see commit list link though).

Thanks! Very fast fix and it works fine.


CUSTOM FLIP BEHAVIOR with drag functionality does not work as documented

CodePen demo

https://codepen.io/girinishant/pen/abomZLo?#anon-signup
Steps to reproduce the problem

try to drag the the 'drag me' text as per documentation 'https://popper.js.org/index.html#example10'-->CUSTOM FLIP BEHAVIOR
it does not work as explained in the documentation.
unable to drag the 'drag me' text

What is the expected behaviour?

Ideally I should able to drag the 'drag me' text and popper should adjust itself based on the availability of space but unfortunately it is not happening.

What went wrong?

Unable to drag the popover or 'drag me' text.

Any other comments?
Please suggest is it WIP functionality or I am making any blunder here.

I see there's an error in your code, interact is not defined.
Note that the drag-n-drop behavior is not provided by Popper.js, it's just used for demo purposes.


Auto GG

Is your feature request related to a problem? Please describe.
When people get a skin core or treasure stone, it is common curtsey to say "gg". This also applies to after the raffles.
Describe the solution you'd like
A simple idea like the auto-gg in hypixel mods and similar things. When it shows up, the message is sent by default (can be toggled off though).
Describe alternatives you've considered
You can also install other mods and setup some macros or something like that to set "gg" to a keybind or something, or just type it manually.
Additional context
Another QOL feature that is pretty common on server mods.

Due to restrictions with bots on DF, this is not allowed.


Add Tcl implementation

This is a single-threaded implementation that uses Tcl 8.6 coroutines.
Tell me if you need any help getting it to run on OS X or Windows.

Close the PR for now because I've noticed this is not equivalent to the Node-Bluebird implementation.

Umm shall I merge it anyway?

No. It would be unfair to compare this version to the others because it schedules far fewer coroutines than the Node-Bluebird or the Scala Future version do async operations. I'll see what I can do about it.


Error

Whenever i try to build my plugin this error shows up:
C:\Users\matte\Documents\Intellij Projects\Spigot\VanillaPlus\src\main\java\me\snifex\survivalplus\logic\smeltery\SmelteryLogic.java:49:22 java: cannot access com.gitlab.avelyn.architecture.base.Parent   class file for com.gitlab.avelyn.architecture.base.Parent not found
Line 49 is just the MultiblockAPI access
API api = MultiblockAPI.getAPI();
Any help?

Hi! I'm sorry, I was unavailable for a while, and just saw this issue. Unfortunately, the plugin is no longer supported.

Thank you for raising this issue. I resolved the issue in v1.0.1, see the updated README.


Solution for creation of new data products that depend on multiple inputs

As discussed in Spring 2017 planning meeting, the current Clowder extractor architecture does not support the creation of data products that rely on multiple sensor inputs, specifically the sensor fusion output or Roman's machine learning models.
We've discussed a few options:

Collection-level extractors (create a collection from multiple sensors)
External process running on Roger (cron task). This raises the question whether Clowder offers anything over a set of cron jobs.

Completion Criteria

[ ] Design documentation
[ ] Stakeholder review
[ ] New implementation tickets

@dlebauer - should the the sensor fusion meeting be separate from the machine learning model meeting?
Who is doing sensor fusion besides Solmaz?

David, Max, Craig, Rob and Jeff will meet to talk about this.

@craig-willis @max-zilla could you please summarize conclusions from the last meeting and identify next steps?

@dlebauer we have not had a formal meeting on this specific topic yet.
The approach I am anticipating is the second one:
External process running on Roger (cron task)
...but only using this for complex modules that require e.g. an entire day of data, or several sensors' worth of data. In those cases we would be working against Clowder's capabilities to try and squeeze that functionality into existing framework - but this does not compel me to want to create ALL extractors as cron jobs like this. Having on-demand triggering for high-dataset-volume sensors like stereoTop is more efficient than 20 different threads of bulk processing we trigger on the clock throughout the day, and it preserves the ability for us to allow users to run or re-run extractors on demand without needing someone "on the inside" to alter job schedules and whatnot.
Still worth a discussion with @craig-willis , @jterstriep , @robkooper about the best way to approach this.
Current candidates for this "Cron Pipeline" flavor:

[ ] clipping of GeoTIFFs into plot-level images - stitch a day of scans into one large canvas of the field and clip by the plot geometries, using perhaps a "minute-level" of timestamp significant digits to combine 2+ images within a plot that might have been taken several seconds apart.
[ ] Sensor fusion combining FLIR, stereoTop, scanner3DTop datasets - will need to associate those either by time, or implement plot-level clipping and use the plot file for each sensor+day.
[x] Hyperspectral extractor, for high memory requirements

Based on discussions with @solmazhajmohammadi I'm inclined to accomplish the plot-level clipping first and make our lives easier on the sensor fusion. In issue #265 this will be happening and I'm going to push us to get at least one sample day clipped into plots for each sensor as a starting target.

I am going to write a new rule-checker extractor that will delegate incoming files to appropriate extractors based on whatever rules apply to each extractor. The delegates can be normal extractors, these complex scripts, etc. Rules can be more comprehensive than typical Clowder extraction pipeline.

This extractor is written and basically ready - once we have our stitching & clipping script ready from #265 we will use this to trigger those scripts on full days of data.


Fix pagerduty_integration to include severity field

Updates pagerduty integration to require the severity field
severity can have one of the following values:

info
warning
error
critical

Currently, when attempting to create a new PagerDuty integration, the process fails with the following error:
╷
│ Error: POST https://uptime.betterstack.com/api/v2/pager-duty-webhooks returned 422: {"errors":{"severity":["can't be blank"]}}
│
│   with betteruptime_pagerduty_integration.pagerduty_integration["XXXX"],
│   on pagerduty_integrations.tf line 12, in resource "betteruptime_pagerduty_integration" "pagerduty_integration":
│   12: resource "betteruptime_pagerduty_integration" "pagerduty_integration" {
│
╵

Thanks for the contribution @joeldavidw


Use managed cluster for ZTS deployment deletion

Addresses:

https://github.com/stolostron/backlog/issues/25429

The checks have passed here, and this PR is ready for review.

/cherry-pick release-2.6


Add a Map for selecting location (issue#7)

I have implemented the map to appear on the home page, it changes the pin or marker based on the user input in the search bar,
it may need some styling fixing that we can work on as well.

I am using of course the API of getting the weather based on the location (the default one that works in the starter project)

Awesome work!


not to setup the package if it is not required

if their enabled option is controlled by $is_controller or $is_storage, maybe we can just not setup them.

Hi @cmurphy ,
I've update the commit for neutron.pp as your suggestion, please check it again,
do you need to squash commits into one, please let me know, thanks for you suggestion :)

Thanks @guessi, I squashed this and merged it in c7d77dea43cdb10eb28478b5087a49891e759bde

thanks :)


test: Add readiness probe to demo deployments

The CI code was waiting for the pods to be marked as ready but there was no
readiness probe so it was possible for the connectivity to be checked before
the server pod was up and running properly.
Fixes: #7902

This change is

test-me-please

Coverage increased (+0.06%) to 41.646% when pulling 93e8b860e5ad8dce8f24858f03af06c8b8c1a8cb on pr/tgraf/ci-demo-readiness-probe into 625f93677695b33cd4c6e53511ddfe86cbc7d00c on master.

K8sServicesTest Checks ClusterIP Connectivity Checks service on same node flake was hit despite this. This will not fix #7902.

test-me-please

I've noticed that WaitforPods() used in this example does not require a particular number of pods to be in ready state so it can also be 0.

test-me-please

Did not hit K8sServicesTest Checks ClusterIP Connectivity Checks service on same node 1/, trying again.

test-me-please

2/ succeeded

test-me-please

Did not hit #7902 again, Re-adding fixes tag

test-me-please

Hit Suite-k8s-1.14.K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity flake

test-me-please

Hit Istio tests failure again

test-me-please

VM image download timeout

test-me-please

Testing without 556e9360ef5a1f0078c2a66d3ac1fd24abcf86eb again

test-me-please

test-me-please


preview-hidden-comments stopped working on review comments

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Example URLs
https://github.com/refined-github/refined-github/pull/5281#discussion_r780786267
Browser(s) used
Chrome
Description

Include in this issue:

[X] Screenshots/video/gif demonstrating the bug, if it’s visual
[ ] Console errors, if any

This is not a bug, it's a limitation caused by the lazy-loading of minimized review thread comments in a resolved thread.
If you look at the DOM you'll see it's just a wrapper around an include-fragment, so the feature can't pull out the comment contents.
More details in https://togithub.com/refined-github/refined-github/pull/4915


feat: add httpx integration

close #1084

Hey Thanks for the PR! It looks good!
Just a couple of minor points:
1- Can you add a test for outgoing trace headers?
For reference something like -> https://github.com/getsentry/sentry-python/blob/4b4ffc05795130c8a95577074a29462c2a512d66/tests/integrations/stdlib/test_httplib.py#L120
2- Please document your code and tests

Hey Thanks for the PR! It looks good!
Just a couple of minor points:
1- Can you add a test for outgoing trace headers?
For reference something like ->
https://github.com/getsentry/sentry-python/blob/4b4ffc05795130c8a95577074a29462c2a512d66/tests/integrations/stdlib/test_httplib.py#L120
2- Please document your code and tests

check out the new commit

Thanks for looking into my comments!
Please add a type: ignore comment to the httpx imports line to pass the linter tests

Thanks for looking into my comments!
Please add a # type: ignore comment to the httpx imports line to pass the linter tests

Done.


fixed the overlapping issue in gift card section and in home page

Related Issue
there is overlapping of different section in index and also in gif card section
Description
remove overlapping of sections
Type of PR

[ ] Feature enhancement

Screenshots / videos (if applicable)

Checklist:

[ ] I have performed a self-review of my code
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

Work on the updated website. Link : - https://flipkart-clone-seven-azure.vercel.app/

There have some conflict issue. check it once


test: update test name

Codecov Report

Merging #810 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #810   +/-   ##
======================================
  Coverage    81.1%   81.1%
======================================
  Files          33      33
  Lines        2413    2413
======================================
  Hits         1957    1957
  Misses        456     456

Flag
Coverage Δ

#unittests
81.1% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


feat: Improve the accessibility for the Edit product flow

Hi everyone,
As part of #4186, I've improved a bit the a11n on the Edit product flow:

AppBar containing barcodes won't tell them when it's a subtitle
The Save/Cancel button won't be considered as their Uppercase versions

This is a really small step, but this is on a long trend.
The next important fix in this flow will be the items, where ListTiles prevent us from having two separated items: the label and a button

Codecov Report

Merging #4197 (a9620ea) into develop (38b2b8a) will increase coverage by 0.01%.
The diff coverage is 39.13%.

@@             Coverage Diff             @@
##           develop    #4197      +/-   ##
===========================================
+ Coverage    10.88%   10.90%   +0.01%
===========================================
  Files          277      277
  Lines        13600    13616      +16
===========================================
+ Hits          1481     1485       +4
- Misses       12119    12131      +12

Impacted Files
Coverage Δ

..._app/lib/pages/product/add_other_details_page.dart
0.00% <0.00%> (ø)

...mooth_app/lib/pages/product/edit_product_page.dart
0.50% <0.00%> (-0.02%)
:arrow_down:

...mooth_app/lib/pages/product/simple_input_page.dart
0.00% <0.00%> (ø)

...ackages/smooth_app/lib/widgets/smooth_app_bar.dart
0.00% <0.00%> (ø)

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
88.18% <96.42%> (+0.38%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @g123k, some conflicts

That should now be OK 😀

Thank you @g123k , merging


Unexpected behavior in unit-tests using $componentController and &-bindings to pass data

Do you want to request a feature or report a bug?
Bug with using $componentController, &-bindings, and passing arguments.
What is the current behavior?
Using $componentController to instantiate the controller of a component that has an &-binding used to pass data back to its user results in unexpected argument data being passed to the function.
Example
Given:
  angular.module('heroApp', [])
    .component('heroDetail', {
      template: '

',
      bindings: {
        hero: '<',
        onDelete: '&'
      }
    });

The current behavior using $componentController is:
    it('should call the onDelete binding when a hero is deleted', function() {
      var deleteSpy = jasmine.createSpy('deleteSpy');
      component = $componentController('heroDetail',
        {$scope: scope},
        {
          hero: {name: 'Wolverine'},
          onDelete: deleteSpy
        }
      );

      component.onDelete({hero: component.hero});
      // Spy is called with object map, instead of just the "hero" value
      expect(deleteSpy).toHaveBeenCalledWith({hero: component.hero});
    });

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
Here is a minimal demo, comparing $componentController and $compile to unit-test the onDelete binding: Demo
What is the expected behavior?
Given the same "heroDetail" component as above, one would expect the following test to succeed:
    it('should call the onDelete binding when a hero is deleted', function() {
      var deleteSpy = jasmine.createSpy('deleteSpy');
      component = $componentController('heroDetail',
        {$scope: scope},
        {
          hero: {name: 'Wolverine'},
          onDelete: deleteSpy
        }
      );

      component.onDelete({hero: component.hero});
      // Spy is called with the object map, instead of just the "hero" value
      expect(deleteSpy).toHaveBeenCalledWith(component.hero);
    });

This would make $componentController's behavior consistent with $compile's behavior (and the real world).
What is the motivation / use case for changing the behavior?
Using components is the recommended design-pattern from AngularJS 1.5.0. Using $componentController in unit-tests to instantiate component controllers greatly simplifies testing code. One would expect behavior to be consistent with the real world (and the former unit test implementation technique using $compile).
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
AngularJS >=1.5.0 using Chrome 49 and Safari 9.0.3

The current behavior is intended imo (see https://github.com/angular/angular.js/pull/14432#issuecomment-210120126).
We do need to fix the docs, though, so I'll keep this issue open for tracking that.


How to config SSL?

I use Nginx as the web server. It can let me to access trains(port 8080) by subdomain(e.g., trains.xxx.com). I also use a let's encrypt to set ssl for my web server.
When I open https://trains.xxx.com, I got some errors from my chrome console:

There is no password box in the webpage. I cannot login to my trains web page.
I can use ip:port to access my trains web page with some errors, but the password box is existed:

when I log in:

Is there any doc about how to config ssl?
Thanks for your help.

I think I should report this


runtime: "fatal: morestack on g0" with PGO enabled on arm64

What version of Go are you using (go version)?

$ go version
go version go1.21.0 linux/amd64

Does this issue reproduce with the latest release?
go1.21.0 is the latest release at the time of this writing.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN='/home/dmac/go/bin'
GOCACHE='/home/dmac/.cache/go-build'
GOENV='/home/dmac/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS='-tags=noasm'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/dmac/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/dmac/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.0'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/dmac/work/src/REDACTED/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1546012642=/tmp/go-build -gno-record-gcc-switches'

What did you do?
I took a pprof profile from a web server running on a linux/arm64 instance, then used that profile with -pgo to cross-compile a new arm64 binary from my amd64 development computer. Running that binary on the  arm64 instance crashes due to a segfault within a few seconds of starting, after beginning to run its normal code paths.
This issue reproduces easily with this program, but it does not reproduce with a simple "hello world" web server. Unfortunately, this program is proprietary, but it is around 46,000 lines of code and the size of the compiled binary is about 50 MB.
I can provide a more detailed, redacted crash log if that would be helpful. I may also be able to supply a binary through a private channel if that turns out to be necessary. Please let me know if there's any more information I can provide that would be helpful.

What did you expect to see?
I expect the program to run without crashing.
What did you see instead?
The program crashes with a segfault. The head and tail of the crash log is:
fatal: morestack on g0
SIGSEGV: segmentation violation
PC=0x8e824 m=12 sigcode=1

goroutine 0 [idle]:
runtime.abort()
	runtime/asm_arm64.s:1187 +0x4 fp=0x4000692370 sp=0x4000692370 pc=0x8e824
runtime.morestack()
	runtime/asm_arm64.s:283 +0x14 fp=0x4000692370 sp=0x4000692370 pc=0x8c484

[...]

r0      0x0
r1      0x14e647b
r2      0x17
r3      0x7dbbc
r4      0x40006821a0
r5      0x1
r6      0x20bc4b0
r7      0x16019
r8      0x40
r9      0x0
r10     0x2
r11     0x2483d40
r12     0x0
r13     0x0
r14     0x1
r15     0x1
r16     0x40006923a0
r17     0x4000692330
r18     0x0
r19     0x4000095400
r20     0x40006925e8
r21     0x40006928e8
r22     0x4
r23     0x1
r24     0x1d
r25     0x12c
r26     0x0
r27     0x253d000
r28     0x40006821a0
r29     0x4000692368
lr      0x8c484
sp      0x4000692370
pc      0x8e824
fault   0x0

CC @cherrymui, @golang/runtime.

The actual error is fatal: morestack on g0. The segfault is that the runtime sees this bad condition and intentionally crashes the program.
If you could reproduce the failure in a debugger, that might be helpful. We might be able to find out why we call morestack there in a debugger.
If you build the program with -gcflags=all=-d=pgodebug=1, it will print the optimizations due to PGO. Then you could try manually disable the optimization one by one, e.g. add //go:noinline to disable inlining, or add some comments in the function so the line number (relative to function start) won't match the profile. We probably could also provide a patch for binary search. Once you identify the function being miscompiled, we probably could go from there.
Thanks.

I'm able to reproduce the crash in a debugger when compiling this small repro case with the .pgo file from the original build. When I expose this program to our production HTTP traffic it crashes within a minute or two.
This is probably not an absolutely minimal case, but small changes to the above program don't reproduce the error, including:

Removing the unused _ "net/http/pprof" import.
Modifying the ReadTimeout field.
Modifying the ConnState callback.

Since there is no longer any private information in the crash, I can share the full output here.
I also recorded the build output with -gcflags=all=-d=pgodebug=1 and -gcflags=all=-d=pgodebug=2.
I'm not quite sure how to determine which function is being miscompiled. I put a breakpoint on runtime.abort and let the program crash in a debugger (I'm using Delve). backtrace reports a deep sequence of calls to runtime.morestack.

@cherrymui , want to roll your "morestack on g0" emergency traceback CL for arm64?
This could be a use for PGO bisection?

Thanks for the small reproducer and the information! The recursive morestack is probably due to that the debugger doesn't understand the special calling convention of morestack, as it is called in a very special way. To get the actual stack trace we'd need to dump the registers and some memory and do manual unwinding.
If you could share the profile and/or a core file, I probably could try to reproduce the crash and do the manual unwinding.
@aclements sure I'll try to work out something for the "morestack on g0" traceback. My old code has a merge conflict with the new unwinder. I'll need to rebase, and port to ARM64.
PGO bisection would probably also help. I'll hack up something for that, too.

No problem, here is the executable and the core file, taken from the breakpoint on runtime.abort.
I may be able to privately share the profile as well; I'm discussing it with the security team at my company.
Thanks for taking a look at this, and please let me know if there's more information I can provide (other than the profile).

@dmac thanks for sharing. Unfortunately, it seems the core file you shared does not include register information (or at least the GDB I used cannot read the registers from it). So it would be hard to investigate. Could you share a new one that includes the registers?
Also, CL https://go.dev/cl/419435 attempts to print a stack trace when a "morestack on g0" error occurs. Could you patch that CL (apply to the Go runtime, and rebuild your binary) and see if it prints anything helpful?
Thanks.

Unfortunately, it seems the core file you shared does not include register information (or at least the GDB I used cannot read the registers from it). [...] Could you share a new one that includes the registers?

I generated that core file with Delve, and while I can see registers when inspecting it with Delve, I also can't see registers when inspecting it with GDB.
I performed the repro with the minimal executable using GDB this time and generated a new core file. Does that work better?

CL https://go.dev/cl/419435 attempts to print a stack trace when a "morestack on g0" error occurs. Could you patch that CL (apply to the Go runtime, and rebuild your binary) and see if it prints anything helpful?

I was able to repro the crash using that patch on our full program; the partial output can be viewed here. However, I haven't yet been able to reproduce the issue using the CL patch on my minimal program yet. I might need to find a new minimal repro when building with the patch. (I'm not sure if the new stack trace is useful without the full binary/core.)

Thanks!
This looks like an actual stack overflow. The g0 stack size is 8 KB, which matches the size we allocated https://cs.opensource.google/go/go/+/master:src/runtime/proc.go;l=1941 (I assume this is a non-cgo program). 8 KB g0 stack looks rather small to me. Maybe due to PGO the stack frames are larger and just pushes it over the limit... See also #62489.
Could you try if just increasing the g0 stack size to 16 KB would fix the issue? That is, apply the patch in https://github.com/golang/go/issues/62489#issuecomment-1710727641 and rebuild the program with the same profile.
Thanks.

I assume this is a non-cgo program

Correct, not cgo. And yes, that patch seems to fix the issue in both the minimal program and the original program.

@dmac thanks for confirming!

@gopherbot please backport this to Go 1.21. This can cause programs built with PGO fail to run. There is no workaround except disabling PGO.

Thank you!


When can we expect support for 'web-search' and other keyboardType in TextInput for Android?

Hey there and thank you for using React Native!
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
Do the checklist before filing an issue:

[ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[ ] Have a usage question? Ask your question on StackOverflow. We use StackOverflow for usage question and GitHub for bugs.
[ ] Have an idea for a feature? Post the feature request on Product Pains. It has a voting system to surface the important issues. GitHub issues should only be used for bugs.

None of the above, create a bug report
Make sure to add all the information needed to understand the bug so that someone can help. If the info is missing we'll add the 'Needs more information' label and close the issue until there is enough information.

[ ] Provide a minimal code snippet / rnplay example that reproduces the bug.
[ ] Provide screenshots where appropriate
[ ] What's the version of React Native you're using?
[ ] Does this occur on iOS, Android or both?
[ ] Are you using Mac, Linux or Windows?

Don't post all this autogenerated text in issue message. Android does not support web-search keyboard type, check Input type in Android docs.

Hi there! Please post feature requests to https://productpains.com/product/react-native/ -- as @radko93 pointed out this isn't supported but you might be able to get something similar thanks to https://github.com/facebook/react-native/commit/dd8caf4cf21941aff5afc7e919ced58ec564f3a3 -- this is only available on master right now though.


Rename LICENSE.txt to LICENSE.md

This allows GitHub to pick up the license.
https://help.github.com/articles/adding-a-license-to-a-repository/
Check List:

Fixes #???
Unit tests : YES / NO / NA
Javadoc with a code example (API only) : YES / NO / NA

Integrated thanks !

Hi @PascalSchumacher, maybe the empty line at the beginning is preventing the detection, I opened #1540 to try to fix it.


Put integration testing infrastructure in place

This PR is to add testing infrastructure in place and make the tests run on build server. This is fixing #33.

[x] Add a sample test project
[x] Add a sample test
[x] Make the tests build on build server
[x] Make the tests run on build server
[ ] Ensure that build fails when a test fails

build fails when a test fails:


quasar-infinite-scroll should allow to "reset" it

I have a search result list wrapped by a quasar-infinite-scroll.
When a new search is triggered, I empty the 'items' array to and reset the quasar-infinite-scroll 'index' value to 0. After that, I expect the infinite-scroll to call loadMore() function in order to load and show new items but it's not the case. Or perhaps I'm not doing it the right way ?
Maybe it would be interesting to add a "reset" method to the component, or make it automatically handle this situation ?

Basically you can set index to 0 and call the handler (loadMore() in your case) yourself. Will add a reset() method to do that for convenience. But the content must be reset by you since it's controlled by variables in your page's scope (items in your case).
So adding reset() which sets index to 0 and calls handler. Is this what you expect? Please confirm.

Yes, I ended up setting the index value to 0 and calling the handler myself. But it's not ideal because we have to provide the handle function with an index value and a callback function that set refreshing to false (forced us to know the implementation details of the component).
resetList() {
  this.$refs.infiniteScroll.index = 0;
  var me = this;
  this.loadMore(this.$refs.infiniteScroll.index, function() {
	me.$refs.infiniteScroll.refreshing = false;
  });
}

Infinite Scroll component now has two more methods:

reset ([Boolean])

resets index and loads more content
if parameter is "true" it does not load more content

loadMore ()

triggers a "refresh" calling your "handler"

Perfect !
There is a small problem when I manually reset the component (with my own code, not tested with your methods yet).  But maybe it's resolved by the fix you've just added.

I tried to manullay call the "scroll()" method in my custom reset method, but I have the following error :
Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.(…)

Yep, it's fixed in my commit. v0.7 will have it, which will be released really soon.

@rstoenescu  I am facing the same issue. Is this resolved?
I am not able to find the method loadMore


Modify build scripts to enable curl support

Need to modify the build from source scripts to make sure that LLaMA C++ is built with curl support to enable to nice to have functionality of downloading models from HF using the --model-url command line option.

Closed by #28.


COMPRESS-641: add getLinkFlag for TarArchiveEntry

Hi.
I'm making a tar compressing tool.
And I need to know what the original flag of a tar entry I read, otherwise I would make it changed in the decompressed result...

@XenoAmess are you going to retrieve the linkFlag byte value, and then compare doing something like if (linkFlag == SOME_CONSTANT) {} else if (linkFlag == ANOTHER_CONSTANT) { ... } ?
If so, would it be possible to instead use the public methods like if (obj.isBlockDevice()), else if (obj.isCharacterDevice()), etc., instead?
Just checking if there's no alternative to making this property public.
Cheers,
-Bruno

no, I would put it directly into the output tar
the mechenism of my compression is only compress entries with some linkFlag types.
for others, just make them same and clone them directly into the output compressed tar.

-1: Javadoc is completely wrong; no unit test.

javadoc fixed.
Would add unit test, but I want to know about your opinons about exposing such a field first.
If made sure you don't mind we expose it, then I would add the unit tests.

Adding the getter seems reasonable to me as it is documented here if I am reading correctly: https://www.gnu.org/software/tar/manual/html_node/Standard.html

Adding the getter seems reasonable to me as it is documented here if I am reading correctly: https://www.gnu.org/software/tar/manual/html_node/Standard.html

Yeah, I was trying to think in other ways to solve what @XenoAmess needed without adding that getter (as there are other properties that are private only, without getters), but I can't think of an alternative. So +1 to the getter too.

Codecov Report

Merging #365 (9014fb1) into master (1ae2021) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #365   +/-   ##
=========================================
  Coverage     80.43%   80.44%
- Complexity     6723     6725    +2
=========================================
  Files           343      343
  Lines         25330    25331    +1
  Branches       4106     4106
=========================================
+ Hits          20374    20377    +3
+ Misses         3371     3368    -3
- Partials       1585     1586    +1

Impacted Files
Coverage Δ

...ommons/compress/archivers/tar/TarArchiveEntry.java
71.76% <100.00%> (+0.05%)
:arrow_up:

.../commons/compress/compressors/bzip2/BlockSort.java
84.90% <0.00%> (+0.47%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@garydgregory
unit tests added.

Just needs to squash commits. Otherwise, looks good to me! Thanks @XenoAmess !

@kinow squashed


Endpoint: GET api/messages

User story
Who: As a developer
What: I want to be able to get messages with specific criteria
Why: so that we can show those messages
Implementation details

Create the GET endpoint for /api/messages

It should be possible to filter the messages in the following way:

Words, fx /api/messages?query=bananas returns all the message that mentions bananas
Channel id,  fx /api/messages?channel-id=32 get all the messages from the channel with id 32
Message creator based on either email or user id<EMAIL_ADDRESS>get all the messages from the user with email<EMAIL_ADDRESS>Limit: /api/messages?limit=10 get the latest 10 messages
Sorting: /api/messages?sort=desc&sort-by=date Sort the messages descending regarding the dates

Remember to split the story into smaller PR's! Maybe you can do a PR with just the words, filter fx. You can also choose to do it in seperate commits. just be very aware of the PR's not becoming too big!

https://github.com/HackYourFuture-CPH/chattie/pull/61

I finished all tasks refer to #61


misc/wasm: make wasm_exec.js compatible with Webpack

I've been using some Go-generated WASM in a React project, so I modifed wasm_exec.js to be possible to import using Webpack without warnings.

I signed it.


0.3

Updating cards service to use the appropriate methods
Updating stripe-node dependency
Adding the majority of the services
Adding support for $limit for find queries
Updating documentation and adding some more tests

Closes #1.


Statistical knowlege of sequence distribution

The knowlege of

adapter length
position
(mismatches)
input data

can be used to see if a contamination is randomly accouring or not. Then the noise could be filtered out and only the true contamination will be visible.

Quality Score can be additional variable?

GC Content can be used to bias the 1/4 chance to see any of the 4 bases

and what about Ns? or any other character


add ihs

interpolated haskell :)

Package without modules?

Hackage doesn't show package executables anymore, quite weird to look at empty package :S

Hmm, what should i do about that? Is it required to expose a library?

@minad, nope, i just was a bit confused "this looks like an empty package"

Merged thanks


security: validate root config path

The ConfigRoot path is configurable by the user.
This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files.
We need to validate the path provided by the user is under the allowed list of directories.

I started with /etc, /tmp as allowed directory to point the config files to.
We may add more options if needed.

/hold
Need to validate it solves the security vulnerability


config dbt docs generate GitHub Action

Description
Please include a summary of changes and related issue (if any).
Adds a GitHub Action script to generate docs and serve to a branch titled docs, from which we will host the docs on Netlify.
This means the end-analyst does not need to deal with generating docs on PR, they will be created and served with each merge thus always staying up to date.
I have added the credentials as repository secrets and tested implementation on a fork.

^ deploy checks will fail because I updated the config on Netlify to check the docs branch, which won't exist until this merges


add "connectionDateformat" connection parameter

(Prompted by this Stack Overflow question.)
It is not uncommon for applications to try and be database-agnostic by dealing with date/time values as strings. Sqoop seems to be one of those applications.
Normally, using a string date literal like '2017-11-05' is considered safe because the leading year value suggests that the format is yyyy-mm-dd. yyyy-dd-mm is almost unheard of ...
... except with SQL Server. If the SQL Server instance is installed with "British English" (or perhaps "English (UK)"?) as the default locale then the default DATEFORMAT is "dmy". When it is passed a yyyy-xx-xx string literal for a DATETIME value it is interpreted as yyyy-dd-mm, not yyyy-mm-dd:
connUrl = "jdbc:sqlserver://localhost:49242;databaseName=myDb";
try (Connection conn = DriverManager.getConnection(connUrl, uid, pwd)) {
    String sql = "SELECT MONTH(CONVERT(DATETIME, '2017-11-05')) AS month_num";
    System.out.println(sql);
    try (Statement st = conn.createStatement()) {
        ResultSet rs = st.executeQuery(sql);
        rs.next();
        System.out.printf("month_num is %d%n", rs.getInt("month_num"));
    }

result:
SELECT MONTH(CONVERT(DATETIME, '2017-11-05')) AS month_num
month_num is 5

A workaround is to send a SET DATEFORMAT 'ymd' statement immediately after opening the connection. Unfortunately, Sqoop has that option for Oracle connections, but apparently not for other JDBC drivers.
This patch adds a "connectionDateformat" parameter for the connection URL and for a SQLServerDataSource. After adding ;connectionDateformat=ymd ...
connUrl = "jdbc:sqlserver://localhost:49242;databaseName=myDb;connectionDateformat=ymd";
try (Connection conn = DriverManager.getConnection(connUrl, uid, pwd)) {
    String sql = "SELECT MONTH(CONVERT(DATETIME, '2017-11-05')) AS month_num";
    System.out.println(sql);
    try (Statement st = conn.createStatement()) {
        ResultSet rs = st.executeQuery(sql);
        rs.next();
        System.out.printf("month_num is %d%n", rs.getInt("month_num"));
    }

... the result is:
SELECT MONTH(CONVERT(DATETIME, '2017-11-05')) AS month_num
month_num is 11

Codecov Report

Merging #542 into dev will decrease coverage by 0.11%.
The diff coverage is 70%.

@@             Coverage Diff              @@
##                dev     #542      +/-   ##
============================================
- Coverage     46.68%   46.56%   -0.12%
+ Complexity     2228     2221       -7
============================================
  Files           108      108
  Lines         25308    25326      +18
  Branches       4175     4177       +2
============================================
- Hits          11815    11794      -21
- Misses        11463    11509      +46
+ Partials       2030     2023       -7

Flag
Coverage Δ
Complexity Δ

#JDBC41
46.42% <70%> (-0.03%)
2212 <2> (-1)

#JDBC42
46.41% <70%> (-0.17%)
2213 <2> (-11)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SQLServerResource.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java
77.34% <100%> (+0.12%)
25 <0> (ø)
:arrow_down:

.../microsoft/sqlserver/jdbc/SQLServerDataSource.java
46.56% <100%> (+0.57%)
68 <2> (+2)
:arrow_up:

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.7% <100%> (+0.19%)
239 <0> (-1)
:arrow_down:

.../microsoft/sqlserver/jdbc/SQLServerConnection.java
45.99% <53.84%> (+0.01%)
278 <0> (+1)
:arrow_up:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
44.94% <0%> (-2.25%)
16% <0%> (ø)

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
51.11% <0%> (-1.49%)
11% <0%> (-1%)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
32.29% <0%> (-0.86%)
237% <0%> (-8%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
53.49% <0%> (-0.37%)
0% <0%> (ø)

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
62.93% <0%> (-0.31%)
0% <0%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

I would let the applications handle this case. @v-xiangs , @cheenamalhotra what do you think?

Hi @gordthompson Thanks for bringing this change request. I did go through the Stack Overflow discussion, and I understand from your description, changing Default Language to "English" instead of "British English" does make the desired change, and looks a fair solution to the problem.
I would say we want to give complete control over to the developer to decide how and when do they want to make this change. Providing a connection property is an option, but not an ideal solution in this case. If anyone wants to execute this statement on a connection, that can be done programmatically (as it will be in rare cases) and that would not add complexity to the driver.
Also, we would like to seek community's feedback over this connection property and whether it does make a big difference to the driver.
@ajlam @sehrope @TobiasSQL @marschall Appreciate your thoughts on this new connection property introduction to the driver.

It is not uncommon for applications to try and be database-agnostic by dealing with date/time values as strings.

This is horrible and wrong. The same goes for dealing with date/time values as numbers.

Sqoop seems to be one of those applications.

Then Sqoop needs to be fixed.

@cheenamalhotra re: "changing Default Language ... looks a fair solution to the problem"
Except that

server configuration changes are often difficult (if not impossible) for humble end users, and
such a change could have side-effects.

@ulvii re: "let the applications handle this case"
@cheenamalhotra re: "that can be done programmatically"
The whole point of the Pull Request is that doing it "programmatically" does not currently seem to be possible in Sqoop, at least not for SQL Server.

@marschall
If string literals for date/time values are so wrong, then (1) why does SQL Server support this in the first place?
CREATE TABLE #tmp (id INT PRIMARY KEY, dt DATETIME);
INSERT INTO #tmp (id, dt) VALUES (1, NULL);
UPDATE #tmp SET dt = '2017-11-05 13:14:15' WHERE id = 1;  -- "horrible and wrong"
SELECT MONTH(dt) AS month_num FROM #tmp WHERE id = 1;
DROP TABLE #tmp;

And (2) why does it interpret yyyy-xx-xx as yyyy-dd-mm (only for DATETIME, not for DATE or DATETIME2) when the default DATEFORMAT for "British English" is dmy, not ydm.

I see the utility of this though if you go down the road of adding connection properties for setting the date format, someone could argue for the same thing for numeric formats or timestamp formats. That has nothing to do with them having more consistent formats either. Someone may just want a way to set them to match the format of their input data. Plus as new values get added server side for any of those, the driver would need to be updated to accommodate them (or remove any validation).
Rather than having specific hooks for each property perhaps a generic way to execute a "post-connect" SQL command or set of commands. Not sure I really like that idea either as it seems like something that should be handled at the app level. That way the app can deal with potential errors as well. But at least it's just one connection property and hook to maintain rather than potentially N of them.

I think main concern is that Date Format being one such factor that gets affected by locale and we modify it with specifying custom value in connection properties.
I would rather recommend something more generic, eg. "Regional" as we have in Microsoft ODBC Driver connection params, which when yes, uses client settings when converting currency, date, and time data to character data, while when no, would make driver use JDBC standard strings to represent currency, date, and time data that is converted to character data.

@cheenamalhotra
I understand your reasoning, but this patch is specific to the unusual handling of date strings for certain locales, and is specifically addressed by a T-SQL SET Statement (SET DATEFORMAT). The SET Statement document does not mention similar SET statements for currency or other data types that may have a variety of local string representations, so presumably they have not been sufficiently problematic for the core SQL Server team to address.

Hi @gordthompson,
Sorry to have left this PR hanging here for a long time. We've reviewed this PR again, and based on the discussions it seems like we'd like a more generic approach to solving this problem, rather than introducing a connection property for each specific format. We've backlogged this item for now, and will return to this in the future.


build: path not supported

version: '2'
services:
  app:
    build: app
    image: app

won't parse correctly due to this line even though it is correct v2 syntax

@bodymindarts Thanks for the report. I'm currently fixing a bunch of parsing errors, this one is taken care of in one of my branch and there will be a PR really soon :wink:


Bracket Highlight does not detect word boundary for language using word as bracket

Issue Type: Bug
When using systemverilog language the bracket colorization is highlighting part of a word that match the bracket work.
The language uses begin..end as bracket and highlight all instance of "end".

the end in the word "extends" should not be highlighted.
Here is a small sample that trigger the issue for the word "class" and "end"
class test_class extends parent_class;
  function new();
  endfunction
endclass

You can find the list of bracket word used in the language.

Basically, the bracket pair class/endclass works different from {...} in the following example:
_X_
_Y_

In case of X/Y = class/endclass, no bracket pair should be detected, but in case of X/Y = {/}, it should.
Suggestions?

How would you decide which matching logic to use?

In the case of begin{, since there is a { this would prevent the issue of matching a substring of a variable name or function name, since { is not valid as a naming character.
So, anytime there is a bracket character such as ( [ { we can use the behaviour in place and if it is only valid word character a-zA-Z0-9_ (in regex parlance) we add the word boundary requirement.
I am not familiar with unicode standard, so I cannot comment on the ID_Continue+ solution.

ID_Start and ID_Continue are part of a unicode standard that defines a set of characters to be used as identifiers, e.g. variables, in programming languages. At least Python, JavaScript and Erlang uses it as part of it's syntax.
If you look at https://github.com/microsoft/vscode/pull/132504#discussion_r706326495, which I think is related to this, you can see a list of brackets with both word and non-word symbols in them taken from LaTeX, for example \left( and \right).
I would say you need three different strategies for brackets depending if the consists of:

Only word symbols, matching the JavaScript RegExp \p{ID_Start}\p{ID_Continue}*
Only non-word symbols, the inverse of the above?
Mixed word and non word

For the first \b should suffice to differentiate it from surrounding context. For the second I guess you want to just match it anywhere. Finally for the mixed case I think you could prepend/append \b to the symbol if it starts/ends with a word symbol.
What do you think?

I like the three way split. The \b to gate the word part of the bracket should allow all 3 to behave similarly. The comment you have linked to will also solve an issue I didn't think about, shared bracket in multiple pair.
How is ID_Start and ID_Continue populated? By the VSCode language extension bracket definition? Sorry if the question seems stupid, but it is the first time I have heard that unicode has this capability. Granted, I am more on the hardware side of development.

@jecassis If you solution seems to work on the full identifier naming rule I will gladly take it. I was just warning against putting to much focus on a fringe case.
I am a happy user of VSCode-SystemVerilog, so if the colouring works for tool generated code that is great. It will help me when debugging synthesis issue.
Thank you for your work


Is it Really work

i am trying to run this app on Heroku but does success so can help to fixed issue and also try your self to push it to Heroku thanks

@saroar Hi... thanks for your interest... Sadly this project was made for play with matrix and test how works vapor in a real project to promote the adoption of the framework in our company... Notice that the notifications only works for Apple Devices... Android notifications are not supported  for now...
I will try to find some time to rewrite to Vapor 3 :D
The problem with Heroku should be the HTTP2 protocol which is not supported in Heroku, or at least was not supported a year ago... Curl with HTTP2 is required by one of the dependencies to send notifications to APNS servers

@gperdomor thanks for ur reply
can we try perfect framework i know little bit

is vapor it ready to production real app

I never used Perfect... Only Vapor, I try to follow their evolution close and I have some package repos related to it. Yes, Vapor is production ready, just now the team release the Version 3 with a complete rewrite and a new NIO (Non Blocking IO) architecture... Why are you interested in this project? Are you working with the Matrix Protocol?

yes i clone RIOT app and trying to run it for one small company but my notification dont work into my ios app :( 4 days already
can you help with notification?

i create certificate as this guide
http://keyvanfatehi.com/2017/03/27/How-to-configure-Matrix-Sygnal-push-gateway-server-with-Apple/
but does not helping me

You can't use a custom RIOT with the official matrix server and get notifications... If you need notifications you need run your own server and notification gateway... This https://github.com/matrix-org/synapse for the server and for notification you can use this project or https://github.com/matrix-org/sygnal

https://github.com/matrix-org/sygnal yes my back-end dev using this app but we getting SSL error

also we have our own server too

who send json payloads to sygnal? the matrix server or your dev using a rest client? maybe you can try the last option first to see what happen

our dev using a rest client

which will be rit
ru.vistamed.dev.type = apns
ru.vistamed.dev.platform = sandbox < ?
ru.vistamed.dev.certfile = /root/.sygnal/apns.pem

ru.vistamed.dev.type = apns
ru.vistamed.dev.platform = production < ?
ru.vistamed.dev.certfile = /root/.sygnal/apns.pem


Adding poseidon design markdown file

Adding markdown file for the design document.

/ok-to-test

/lgtm


Signed Integer Overflow in calculateNumTiles (73181093)

Hello OpenEXR team,
As part of our fuzzing efforts at Google, we have identified an issue affecting
OpenEXR (tested with revision * develop 165dceaeee86e0f8ce1ed1db3e3030c609a49f17).
To reproduce, we are attaching a Dockerfile which compiles the project with
LLVM, taking advantage of the sanitizers that it offers. More information about
how to use the attached Dockerfile can be found here:
https://docs.docker.com/engine/reference/builder/
TL;DR instructions:

mkdir project
cp Dockerfile.OpenEXR /path/to/project/Dockerfile
docker build --no-cache /path/to/project
docker run -it image_id_from_docker_build

From another terminal, outside the container:
docker cp /path/to/attached/reproducer running_container_hostname:/fuzzing/reproducer
(reference: https://docs.docker.com/engine/reference/commandline/cp/)
And, back inside the container:
/fuzzing/repro.sh /fuzzing/reproducer
Alternatively, and depending on the bug, you could use gcc, valgrind or other
instrumentation tools to aid in the investigation. The sanitizer errors that we
encountered were:
ImfTiledMisc.cpp:304:48: runtime error: signed integer overflow: 64 +<PHONE_NUMBER> cannot be represented in type 'int'
    #0 0x5cb7c1 in Imf_2_2::(anonymous namespace)::calculateNumTiles(int*, int, int, int, int, Imf_2_2::LevelRoundingMode) /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp:304:48
    #1 0x5caebb in Imf_2_2::precalculateTileInfo(Imf_2_2::TileDescription const&, int, int, int, int, int*&, int*&, int&, int&) /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp:324:5
    #2 0x66b134 in Imf_2_2::TiledInputFile::initialize() /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp:934:5
    #3 0x66c387 in Imf_2_2::TiledInputFile::TiledInputFile(Imf_2_2::Header const&, Imf_2_2::IStream*, int, int) /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp:837:5
    #4 0x630f64 in Imf_2_2::InputFile::initialize() /fuzzing/openexr/OpenEXR/IlmImf/ImfInputFile.cpp:545:32
    #5 0x62feb4 in Imf_2_2::InputFile::InputFile(char const*, int) /fuzzing/openexr/OpenEXR/IlmImf/ImfInputFile.cpp:382:13
    #6 0x55cb1a in Imf_2_2::RgbaInputFile::RgbaInputFile(char const*, int) /fuzzing/openexr/OpenEXR/IlmImf/ImfRgbaFile.cpp:1166:21
    #7 0x524984 in (anonymous namespace)::readSingle(char const*) /fuzzing/security-research-pocs/autofuzz/openexr_fuzz_scanlines.cc:20:14
    #8 0x524805 in LLVMFuzzerTestOneInput /fuzzing/security-research-pocs/autofuzz/openexr_fuzz_scanlines.cc:113:3
    #9 0x516d9c in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) (/fuzzing/openexr_fuzz_scanlines+0x516d9c)
    #10 0x51655e in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long) (/fuzzing/openexr_fuzz_scanlines+0x51655e)
    #11 0x5103bd in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*) (/fuzzing/openexr_fuzz_scanlines+0x5103bd)
    #12 0x51188f in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) (/fuzzing/openexr_fuzz_scanlines+0x51188f)
    #13 0x51026c in main (/fuzzing/openexr_fuzz_scanlines+0x51026c)
    #14 0x7f5f59cd62b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #15 0x425979 in _start (/fuzzing/openexr_fuzz_scanlines+0x425979)

SUMMARY: AddressSanitizer: undefined-behavior ImfTiledMisc.cpp:304:48

We will gladly work with you so you can successfully confirm and reproduce this
issue. Do let us know if you have any feedback surrounding the documentation.
Once you have reproduced the issue, we'd appreciate to learn your expected
timeline for an update to be released. With any fix, please attribute the report
to "Google Autofuzz project".
We are also pleased to inform you that your project is eligible for inclusion to
the OSS-Fuzz project, which can provide additional continuous fuzzing, and
encourage you to investigate integration options.
Don't hesitate to let us know if you have any questions!
Google AutoFuzz Team
artifacts_73181093.zip

Additional stack trace that triggers the bug from a different code path:
ImfTiledMisc.cpp:304:48: runtime error: signed integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'int'
    #0 0x7f91d8ffa497 in Imf_2_2::(anonymous namespace)::calculateNumTiles(int*, int, int, int, int, Imf_2_2::LevelRoundingMode) /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp:304:48
    #1 0x7f91d8ffa61d in Imf_2_2::getTiledChunkOffsetTableSize(Imf_2_2::Header const&) /fuzzing/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp:355:5
    #2 0x7f91d9043c28 in Imf_2_2::MultiPartInputFile::Data::readChunkOffsetTables(bool) /fuzzing/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp:738:36
    #3 0x7f91d9042a0f in Imf_2_2::MultiPartInputFile::initialize() /fuzzing/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp:429:12
    #4 0x7f91d9041e0b in Imf_2_2::MultiPartInputFile::MultiPartInputFile(char const*, int, bool) /fuzzing/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp:136:9
    #5 0x50f897 in printInfo(char const*) /fuzzing/openexr/OpenEXR/exrheader/main.cpp:290:24
    #6 0x5113f8 in main /fuzzing/openexr/OpenEXR/exrheader/main.cpp:562:13
    #7 0x7f91d79092b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #8 0x424719 in _start (/fuzzing/openexr/OpenEXR/exrheader/.libs/exrheader+0x424719)

SUMMARY: AddressSanitizer: undefined-behavior ImfTiledMisc.cpp:304:48 in

Attached you will find another an additional sample as well as a patch that fixes the issue.
artifacts_73583817.zip

Attached the patch.
73583817.txt

Fixed by enforcing a limit to maximum number of tiles


"unpublish" is not working

hi,
when I run npx figma connect unpublish
Unpublishing Code Connect files from Figma...
Successfully deleted:
-> https://www.figma.com/design/...&m=dev (Storybook)
-> https://www.figma.com/design/...&m=dev (Storybook)
-> https://www.figma.com/design/... (Storybook)

however, when I go to the dev mode to check, I can still see the generated Code Connect code block there. This is making it really hard to test and update props and configurations.
happy to share more information regarding our reporsitory/team files if needed

Hi @0xa3k5 , Please can you contact support via https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374 with more information on the files and code.

i'm also seeing this issue. :(

i believe this is fixed now


LiteLLM connection issue when deployed on another server

I have successfully deployed a ollama model via LiteLLM on another machine.
When using guidance, I can't find a way to set the api_base other than localhost, see screenshot:

The correct server address should be <IP_ADDRESS>:11434 instead of localhost.
And the error:

Thanks for your help

Solution is simply to capture api_base and pass it along to litellm in _lite_llm.py

Hi, it looks like your are trying to usue the guidance remotely. I am also want to do that but find that the python package lib of the guidance has not been updated yet. I wonder how to set up the server and the client in this issue as you said.

I used ollama on a remote machine in server mode, then simply the LiteLLM package with the modifications I posted with the remote API using api_base.

Your answer did solve my problem, but the documentation for guidance is poorly written. I couldn't find any mention of the LiteLLM remote before your explanation.


Is it possible to restore bricked V-SOL XPON V2801F

Hi Folks,
Without any reason sfp onu (V-SOL XPON V2801F) stopped to be reachable via IP, no mac address appeared behind sfp port in arp table as well.
RouterOS 'see' physical presence of the module and mark port as running.
When touching sfp module case it is 'hot' as usual...
Any way to bring it back to life?
[admin@MikroTik] > /interface/ethernet/monitor sfp5
# 1970-01-02 01:55:01 by RouterOS 7.12.1
# software id = 0MDF-UTYM
#
                      name: sfp5
                    status: link-ok
          auto-negotiation: done
                      rate: 1Gbps
               full-duplex: yes
           tx-flow-control: no
           rx-flow-control: no
                 supported: 10M-baseT-half,10M-baseT-full,100M-baseT-half,
                            100M-baseT-full,1G-baseT-half,1G-baseT-full,
                            1G-baseX
               advertising:
  link-partner-advertising:
        sfp-module-present: yes
               sfp-rx-loss: yes
                  sfp-type: SFP/SFP+/SFP28/SFP56
           eeprom-checksum: bad
                    eeprom: 0000: 03 00 00 00 00 00 00 00  03 00 00 00 00 00 00 00  ........ ........
                            *
                            0080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
                            *

only can see is via TTL UART

Does this sfp has some UART pins on the pcb?

the SFP pin doesn't, need to open it and pin on the SoC pinout

I also have a "bricked" CarlitosPro stick which is the same device. Does not autoneg with any device I have.
wrong LAN_SDS_MODE selected. Buying all the needed debug tools more expensive than new ODI stick.

@vbaskoff did you fix your dongle? got similar issue with fd511gx, but wait for needle pad

got same issue as @vbaskoff
/interface ethernet monitor sfp1
                      name: sfp1
                    status: no-link
          auto-negotiation: done
               advertising:
  link-partner-advertising:
        sfp-module-present: yes
               sfp-rx-loss: no
           eeprom-checksum: bad
                    eeprom: 0000: 03 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........

connect with uart sucessfuly, but can't do backup via uart
lan_sds_mode didn't help
@Anime4000 any ideas?

did it boot successfully or stuck at recovery?

@Anime4000 successfull

try enter this, see EEPROM is fixed:
diag i2c set port 1 dev 0x50 reg 0x00 data 0x03
diag i2c set port 1 dev 0x50 reg 0x01 data 0x04
diag i2c set port 1 dev 0x50 reg 0x02 data 0x01
diag i2c set port 1 dev 0x50 reg 0x03 data 0x00
diag i2c set port 1 dev 0x50 reg 0x04 data 0x00
diag i2c set port 1 dev 0x50 reg 0x05 data 0x00
diag i2c set port 1 dev 0x50 reg 0x06 data 0x02
diag i2c set port 1 dev 0x50 reg 0x07 data 0x22
diag i2c set port 1 dev 0x50 reg 0x08 data 0x00
diag i2c set port 1 dev 0x50 reg 0x09 data 0x01
diag i2c set port 1 dev 0x50 reg 0x0A data 0x00
diag i2c set port 1 dev 0x50 reg 0x0B data 0x01
diag i2c set port 1 dev 0x50 reg 0x0C data 0x0D
diag i2c set port 1 dev 0x50 reg 0x0D data 0x00
diag i2c set port 1 dev 0x50 reg 0x0E data 0x14
diag i2c set port 1 dev 0x50 reg 0x0F data 0xC8
diag i2c set port 1 dev 0x50 reg 0x10 data 0x00
diag i2c set port 1 dev 0x50 reg 0x11 data 0x00
diag i2c set port 1 dev 0x50 reg 0x12 data 0x00
diag i2c set port 1 dev 0x50 reg 0x13 data 0x00
diag i2c set port 1 dev 0x50 reg 0x14 data 0x41
diag i2c set port 1 dev 0x50 reg 0x15 data 0x6E
diag i2c set port 1 dev 0x50 reg 0x16 data 0x69
diag i2c set port 1 dev 0x50 reg 0x17 data 0x6D
diag i2c set port 1 dev 0x50 reg 0x18 data 0x65
diag i2c set port 1 dev 0x50 reg 0x19 data 0x34
diag i2c set port 1 dev 0x50 reg 0x1A data 0x30
diag i2c set port 1 dev 0x50 reg 0x1B data 0x30
diag i2c set port 1 dev 0x50 reg 0x1C data 0x30
diag i2c set port 1 dev 0x50 reg 0x1D data 0x2D
diag i2c set port 1 dev 0x50 reg 0x1E data 0x4E
diag i2c set port 1 dev 0x50 reg 0x1F data 0x69
diag i2c set port 1 dev 0x50 reg 0x20 data 0x6A
diag i2c set port 1 dev 0x50 reg 0x21 data 0x69
diag i2c set port 1 dev 0x50 reg 0x22 data 0x6B
diag i2c set port 1 dev 0x50 reg 0x23 data 0x61
diag i2c set port 1 dev 0x50 reg 0x24 data 0x00
diag i2c set port 1 dev 0x50 reg 0x25 data 0x00
diag i2c set port 1 dev 0x50 reg 0x26 data 0x00
diag i2c set port 1 dev 0x50 reg 0x27 data 0x00
diag i2c set port 1 dev 0x50 reg 0x28 data 0x55
diag i2c set port 1 dev 0x50 reg 0x29 data 0x4E
diag i2c set port 1 dev 0x50 reg 0x2A data 0x49
diag i2c set port 1 dev 0x50 reg 0x2B data 0x46
diag i2c set port 1 dev 0x50 reg 0x2C data 0x49
diag i2c set port 1 dev 0x50 reg 0x2D data 0x2D
diag i2c set port 1 dev 0x50 reg 0x2E data 0x4F
diag i2c set port 1 dev 0x50 reg 0x2F data 0x4E
diag i2c set port 1 dev 0x50 reg 0x30 data 0x55
diag i2c set port 1 dev 0x50 reg 0x31 data 0x2D
diag i2c set port 1 dev 0x50 reg 0x32 data 0x53
diag i2c set port 1 dev 0x50 reg 0x33 data 0x46
diag i2c set port 1 dev 0x50 reg 0x34 data 0x50
diag i2c set port 1 dev 0x50 reg 0x35 data 0x32
diag i2c set port 1 dev 0x50 reg 0x36 data 0x47
diag i2c set port 1 dev 0x50 reg 0x37 data 0x58
diag i2c set port 1 dev 0x50 reg 0x38 data 0x20
diag i2c set port 1 dev 0x50 reg 0x39 data 0x20
diag i2c set port 1 dev 0x50 reg 0x3A data 0x20
diag i2c set port 1 dev 0x50 reg 0x3B data 0x20
diag i2c set port 1 dev 0x50 reg 0x3C data 0x05
diag i2c set port 1 dev 0x50 reg 0x3D data 0x1E
diag i2c set port 1 dev 0x50 reg 0x3E data 0x00
diag i2c set port 1 dev 0x50 reg 0x3F data 0x6C
diag i2c set port 1 dev 0x50 reg 0x40 data 0x00
diag i2c set port 1 dev 0x50 reg 0x41 data 0x1A
diag i2c set port 1 dev 0x50 reg 0x42 data 0x00
diag i2c set port 1 dev 0x50 reg 0x43 data 0x00
diag i2c set port 1 dev 0x50 reg 0x44 data 0x4E
diag i2c set port 1 dev 0x50 reg 0x45 data 0x49
diag i2c set port 1 dev 0x50 reg 0x46 data 0x4A
diag i2c set port 1 dev 0x50 reg 0x47 data 0x4B
diag i2c set port 1 dev 0x50 reg 0x48 data 0x30
diag i2c set port 1 dev 0x50 reg 0x49 data 0x30
diag i2c set port 1 dev 0x50 reg 0x4A data 0x30
diag i2c set port 1 dev 0x50 reg 0x4B data 0x30
diag i2c set port 1 dev 0x50 reg 0x4C data 0x30
diag i2c set port 1 dev 0x50 reg 0x4D data 0x30
diag i2c set port 1 dev 0x50 reg 0x4E data 0x30
diag i2c set port 1 dev 0x50 reg 0x4F data 0x46
diag i2c set port 1 dev 0x50 reg 0x50 data 0x20
diag i2c set port 1 dev 0x50 reg 0x51 data 0x20
diag i2c set port 1 dev 0x50 reg 0x52 data 0x20
diag i2c set port 1 dev 0x50 reg 0x53 data 0x20
diag i2c set port 1 dev 0x50 reg 0x54 data 0x32
diag i2c set port 1 dev 0x50 reg 0x55 data 0x34
diag i2c set port 1 dev 0x50 reg 0x56 data 0x2D
diag i2c set port 1 dev 0x50 reg 0x57 data 0x30
diag i2c set port 1 dev 0x50 reg 0x58 data 0x37
diag i2c set port 1 dev 0x50 reg 0x59 data 0x2D
diag i2c set port 1 dev 0x50 reg 0x5A data 0x31
diag i2c set port 1 dev 0x50 reg 0x5B data 0x36
diag i2c set port 1 dev 0x50 reg 0x5C data 0x00
diag i2c set port 1 dev 0x50 reg 0x5D data 0x00
diag i2c set port 1 dev 0x50 reg 0x5E data 0x00
diag i2c set port 1 dev 0x50 reg 0x5F data 0xEA
diag i2c set port 1 dev 0x50 reg 0x60 data 0x00
diag i2c set port 1 dev 0x50 reg 0x61 data 0x00
diag i2c set port 1 dev 0x50 reg 0x62 data 0x00
diag i2c set port 1 dev 0x50 reg 0x63 data 0x00
diag i2c set port 1 dev 0x50 reg 0x64 data 0x00
diag i2c set port 1 dev 0x50 reg 0x65 data 0x00
diag i2c set port 1 dev 0x50 reg 0x66 data 0x00
diag i2c set port 1 dev 0x50 reg 0x67 data 0x00
diag i2c set port 1 dev 0x50 reg 0x68 data 0x00
diag i2c set port 1 dev 0x50 reg 0x69 data 0x00
diag i2c set port 1 dev 0x50 reg 0x6A data 0x00
diag i2c set port 1 dev 0x50 reg 0x6B data 0x00
diag i2c set port 1 dev 0x50 reg 0x6C data 0x00
diag i2c set port 1 dev 0x50 reg 0x6D data 0x00
diag i2c set port 1 dev 0x50 reg 0x6E data 0x00
diag i2c set port 1 dev 0x50 reg 0x6F data 0x00
diag i2c set port 1 dev 0x50 reg 0x70 data 0x00
diag i2c set port 1 dev 0x50 reg 0x71 data 0x00
diag i2c set port 1 dev 0x50 reg 0x72 data 0x00
diag i2c set port 1 dev 0x50 reg 0x73 data 0x00
diag i2c set port 1 dev 0x50 reg 0x74 data 0x00
diag i2c set port 1 dev 0x50 reg 0x75 data 0x00
diag i2c set port 1 dev 0x50 reg 0x76 data 0x00
diag i2c set port 1 dev 0x50 reg 0x77 data 0x00
diag i2c set port 1 dev 0x50 reg 0x78 data 0x00
diag i2c set port 1 dev 0x50 reg 0x79 data 0x00
diag i2c set port 1 dev 0x50 reg 0x7A data 0x00
diag i2c set port 1 dev 0x50 reg 0x7B data 0x00
diag i2c set port 1 dev 0x50 reg 0x7C data 0x00
diag i2c set port 1 dev 0x50 reg 0x7D data 0x00
diag i2c set port 1 dev 0x50 reg 0x7E data 0x00
diag i2c set port 1 dev 0x50 reg 0x7F data 0x00

Also the firmware seems to support TFTP flash/boot but I couldn't make it work. there was no TFTP client traffic from the device een when all addresses are correct. I guess this is because the device actually boots but does not work as opposed to be bricked and the fallback does not trigger.

@Anime4000 not looks like it helps. same eeprom in mikrotik monitoring.
>

UPD: calculate and set VS_AUTH_KEY + switch LAN_SDS_MODE from 1 to 4 - didn't help
check eeprom from diag i2c get ... - all is stored, but mikrotik interface still displays as
0000: 03 00 00 00 00 00 00 00

btw @Anime4000, this happened after this issue


Gateway Routes stored on Redis/Mysql

Is your feature request related to a problem? Please describe.
For every new API in microservices. I've to update the route in method public RouteLocator gatewayRoutes(RouteLocatorBuilder builder) of Spring Cloud Gateway and deploy the same.
I read "Future milestone versions will have RouteDefinitionLocator implementations based off of Spring Data Repositories, such as Redis, MongoDB, and Cassandra." on https://cloud.spring.io/spring-cloud-gateway/reference/html/ hence wanted to know if this can expected soon.
Describe the solution you'd like
A Redis or Mysql Route Configuration with a mechanism to auto refresh or periodic refresh in built.
Describe alternatives you've considered
An alternative I've thought is to rebuild routes in Spring Cloud Gateway itself by fetching routes from external source (db, service) manually. The routes would be built by overriding getRouteDefinitions and implementing RouteDefinitionLocator .This can be initiated from "/actuator/gateway/refresh". Not sure if this will work.

See #1316 for redis. Let's repurpose this for jdbc.


URL Validation

Closes #149

Coverage increased (+0.07%) to 69.13% when pulling<PHONE_NUMBER>0f33059391ee00e8cbffe0127f3425 on fix/url into 692de7819dfdf8b1be577b0f760e1d3c740b8688 on master.


How do you save multiple records in SailsJS in one action?

I am wondering what the best practice would be for saving multiple records in an action that makes changes, particularly add and remove, to multiple records. The end goal is to have one function have access to all of the changed data in the action. Currently I am nesting the saves in order for the innermost saves to have access to the data in all the updated records. Here is an example of how I am saving:
record1.save(function (error, firstRecord) {
  record2.save(function (erro, secondRecord) {
   record3.save(function (err, thirdRecord) {
    res.send({recordOne: firstRecord, recordTwo: secondRecord, recordThree: thirdRecord});
    });
  });
});

With this structure of saving, recordOne, recordTwo, and recordThree display the expected values on the server. However, checking localhost/1337/modelName reveals that the models did not properly update and have incorrect data.
Here is a link to the stackOverflow
Thanks,
Solmen

Use Async, Promises or lifecycle callbacks https://sailsjs-documentation.readthedocs.org/en/latest/concepts/Lifecyclecallbacks/

Thanks for the response.  After looking at the documentation it looks like it doesn't actually deal directly with add or remove and therefore doesn't use saves.  As for promises, I tried using them as well but to no avail.  Below is an example code of my use of promises:
var promiseOne = new Promise(function (resolve, reject) {
  thief.save(function (error, savedOne) {
    resolve(savedOne);
  });
});

var promiseTwo = new Promise(function (resolve, reject) {
  victim.save(function (error, savedTwo) {
    resolve(savedTwo);
  });
});

var promiseThree = new Promise(function (resolve, reject) {
  rune.save(function (error, savedThree) {
    resolve(savedThree);
  });
});

Promise.all([promiseOne, promisTwo, promiseThree])
  .then(function (values) {
});

This makes the data that is received by the data and the server wrong but they match.  Is the issue the specific way that I am saving?

async.map([record1, record2, record3], function saveEachRecord(record, next){
   return record.save(next);
}, function taskCompleted(err, results){
    if(err){
        sails.log.error(err);
        return res.serverError(err);
    }
    return res.ok({record1: results[0], ... });
});

If you have some kind of error you will see the error description in the log.


Not trusted by the browsers?

I'm trying to setup certificates for some local servers I have in a VM. I added the root certificate to my Trusted Root Certification Authorities / Certificates in my host machine (Windows) but even after that, browsers keep marking the local website as risky and not trustworthy.
Firefox gave me this error "SEC_ERROR_UNKNOWN_ISSUER", "Peer’s Certificate issuer is not recognized.". Do you know a way to get around that?
Thank you, and thanks for this.

Oops, seems like a duplicate of #10

For Firefox, you need to separately add the root to Firefox's own root
store, under preferences.
On Fri, Mar 22, 2019, 06:42 Luiz Brandao<EMAIL_ADDRESS>wrote:

I'm trying to setup certificates for some local servers I have in a VM. I
added the root certificate to my Trusted Root Certification Authorities /
Certificates in my host machine (Windows) but even after that, browsers
keep marking the local website as risky and not trustworthy.
Firefox gave me this error "SEC_ERROR_UNKNOWN_ISSUER", "Peer’s Certificate
issuer is not recognized.". Do you know a way to get around that?
Thank you, and thanks for this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jsha/minica/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANcLdLGj43QPNwG_oZIhbcuWAATELFyks5vZN2tgaJpZM4cDmL3
.

Yes, I had to import mine into Firefox and restart. It works fine in Chrome
and FF for me.


[$250] Reports - Video sound is playing simultaneously on Reports page and full screen view

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.76-6
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Search
Action Performed:

Go to staging.new.expensify.com
Upload a video with sound to any chat.
Go to Reports > Chats.
Click on the video to play it (do not play in full screen yet), enable the audio if disabled.
After a while, click on the full screen icon.
Note that the video sound is playing simultaneously in Report page and also in full screen view.
Close the full screen view.
Click Inbox.
Click Reports.
Note that the video sound is still playing in Step 8 and 9 after switching tab.

Expected Result:
In Step 6, when the video is played in full screen, the video will not play simultaneously in Report page and also in full screen view.
In Step 8 and 9, the video will stop playing after switching tab.
Actual Result:
In Step 6, when the video is played in full screen, the video plays simultaneously in Report page and also in full screen view.
In Step 8 and 9, the video is still playing after switching tab.
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/3774a1ed-c803-47a8-8799-9c0466026381
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021868517100126911249
Upwork Job ID:<PHONE_NUMBER>126911249
Last Price Increase: 2024-12-23
Automatic offers:

suneox | Reviewer | 105453253
mkzie2 | Contributor | 105453254

Issue OwnerCurrent Issue Owner: @suneox

Proposal
Please re-state the problem that we are trying to solve in this issue.
In Step 6, when the video is played in full screen, the video plays simultaneously in Report page and also in full screen view.
In Step 8 and 9, the video is still playing after switching tab.
What is the root cause of that problem?
When we play a video on the search page, a videoPlayerRef is initialized. After we click on expand, isUsedInCarousel is false for the video on the search page then another videoPlayerRef is initialized again then we can see the video is started again.
https://github.com/Expensify/App/blob/653af04f8bf51661eb18f1c48a56c1362e5c61b2/src/components/Attachments/AttachmentView/index.tsx#L293-L295
What changes do you think we should make in order to solve the problem?
We should always pass shouldUseSharedVideoElement as true if the user is on the large screen. We can remove shouldUseSharedVideoElement prop.
shouldUseSharedVideoElement={!shouldUseNarrowLayout}

https://github.com/Expensify/App/blob/653af04f8bf51661eb18f1c48a56c1362e5c61b2/src/components/Attachments/AttachmentView/AttachmentViewVideo/index.tsx#L21
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Please re-state the problem that we are trying to solve in this issue.
Reports - Video sound is playing simultaneously on Reports page and full screen view
What is the root cause of that problem?

Unmounting of Video Component:

When navigating away from the screen, the video component may unmount, leading to the video stopping or pausing unexpectedly.
2. Lack of State Management:
Without proper management of the playback state, the video may continue playing in the background or not resume correctly when the user returns to the screen.
What changes do you think we should make in order to solve the problem?
Use useFocusEffect:
Implement the useFocusEffect hook to manage video playback based on the screen's focus state. This ensures that the video plays when the screen is focused and pauses when it loses focus.
change in file
/Users/techdoodles/Downloads/App-main/src/components/VideoPlayer/BaseVideoPlayer.tsx
import { useFocusEffect } from '@react-navigation/native';
useFocusEffect(
    useCallback(() => {
        if (shouldPlay) {
            playVideo(); // Start playing the video if it should play
        } else {
            pauseVideo(); // Pause the video if it should not play
        }

        return () => {
            pauseVideo(); // Ensure the video is paused when leaving the screen
        };
    }, [shouldPlay, playVideo, pauseVideo])
);

Thanks for all the proposals. Before diving into the detailed solutions, we should clarify the RCA and ensure the solution addresses the issue comprehensively.

After we click on expand, isUsedInCarousel is false for the video on the search page then another videoPlayerRef is initialized again then we can see the video is started again.

@mkzie2 Could you please clarify which part of the code is responsible for initializing another videoPlayerRef, leading to the video restarting? Additionally, based on your solution, it seems the video still plays when switching to another route (Inbox, Setting page)

Unmounting of Video Component:
Lack of State Management

@kaushiktd We should provide a more detailed RCA with references to the relevant code
Additionally, your solution also prevents the video from playing when opening the filter, so we have to confirm this behavior

@suneox
For deatailed RCA i updated my proposal
When we click on the filter option, the URL changes, causing a focus change, and the video stops playing.
Do we need the video to continue playing when the filter is opened?

@suneox I updated my proposal.

Thanks for all the updates. I'll review the new changes today.

@mkzie2 proposal LGTM
🎀 👀 🎀 C+ reviewed

@suneox The PR is ready.


[config] - ci/cd for v2

management of the new ci/cd for the monorepo (v2)
management of package versioning:
(use changesets : https://pnpm.io/using-changesets)

done for initialization of v2
see https://github.com/PrestaShopCorp/puik/commit/2ca0c17b15a7f2b2dbac14ca6f877cdff88111b4


Is p3dn.24xlarge supported?

Hi,
Does EKS also support a similar setup with EFA using a node-group comprised of p3dn.24xlarge instances?
Thanks!

Yes EKS supports the EFA stack with p3dn.24xl


[Bug] Blockchain Link was added twice and some roadmap links are broken.

Description

Blockchain Link was added twice and the wrong link was attached.
DevOps Roadmap Link is broken
Full Stack Development link is redirecting to Frontend Development Roadmap

Could you please assign me this issue? I want to fix it.
Screenshots

Additional information
@siddhant-khisty Hi Siddhant, Could you please assign me this issue?

Hey @rwiteshbera, there is already a PR open for the mentioned issue


BREAKING CHANGE: update to eye v10.0.0

BREAKING CHANGE: update to eye v10.0.0

Superseded by #986


Refresh all tools/workflows not returning all tools/workflows

Bug Report
Expected behaviour
Refresh all tools/workflows endpoint should return all current tools/workflows
Actual behaviour
It only returns what it refreshed.

Now it shows you have no tools but you actually do have it in the database.

It should also say that you have no tokens and what to do about it (link your accounts).

Seperate issue in my opinion

@garyluu This seems like it can be closed.

I think I've still seen this behavior actually.
Not sure if that's the reason, but starting from a clean Dockstore, I refresh all tools and nothing happens on success unless I browse away and come back or reload

@denis-yuen Though those seem like they might be related, I think they are different issues. The issue here was that refreshing an org for example only returned the tools/workflows that were refreshed. I do see the case you mentioned happening locally, though I wonder if that is a UI issue and not a webservice issue. In which case I think it makes sense to make a new issue for that.

The issue seems to be that the tools are not associated with the user until after the refresh, so when we return all of a users tools it returns the ones before the refresh I think. I think it is some state issue.

Still not working for me

Wouldn't the fix be in develop and not the hotfix?

It looks like it. I think the move on Apr 23 was incorrect.

Moving it to the other column then

Appears to work with develop once #1541 is bypassed


Include distribution file in repo

Also set main and browser in package.json

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The Rules Templates documentation should mention how people can suggest new templates

Proposed changes
The Rules Templates documentation should include information on how people can suggest new templates to the list of those offered. Ideally, there is a link that opens a contact form where people can add their own suggestions.
Subject Matter
How to suggest new Rules Templates
Content Location
https://github.com/cloudflare/cloudflare-docs/edit/production/src/content/docs/rules/snippets/index.mdx
Additional information
No response

Hi @quinncomendant
Thank you for your suggestion!
While we work out a specific process for accepting and reviewing template contributions (which will probably only happen in 2025), the current process will be the following:

Users can make rule template contributions to the Rules Examples section in the Rules documentation. Create a PR and we'll review the proposal and (eventually) accept the new example in the Developer Docs. If you want to discuss an example before proposing it in a PR, you may create an issue instead.
On a regular basis, we will internally review the new examples and implement some of them as rules templates in the Cloudflare dashboard.


Request: build python whl  package

It could be installed by pip and can be used in other projects.
Thanks.

Definitely. Aiming to make this an analog of llama-cpp-python but for embeddings. Should have a release ready in a few days.

That's cool. Thank u for your amazing work.


fix translation of decorators for clipping

fixes work item #5229 which involves decorators not clipping properly.
The display-test-app decorator example was also fixed up a little by this to shift the cones used in the example into proper positiion.

@mergifyio backport release/3.7.x


Compatiblity with PowerShell 7.3

PowerShell 7.3 fixes an issue that required double-escaping parameters passed to external executables like az (https://github.com/PowerShell/PowerShell/issues/1995). Now we must check the PowerShell version and conditionally double-escape the parameters or not.

Fixed with 5dac28facdd1eaefb917cb64b2b7c9167a65bd88 and 67d5b018aa10c461fdf2fb7c5afc8e4d42ac9497

Escaping still seems to be necessary on Windows for some reason now.
But it is fully fixed on Linux. This required additional changes.


feat: auth with alby account before node setup

Part of https://github.com/getAlby/hub/issues/143
This moves the "Connect Alby Account" step from after the node is launched to being after the user clicks "Get Started" or "Advanced Setup". Once the auth screen is passed, the setup flow returns to normal.
This allows us to know if the user is authenticated before setting up the node, which is required because the node will be launched differently if VSS is used.
This PR also requires the user to login before starting the node in the UI (no check on the backend yet, but this should be done before starting LDK with VSS enabled). This also fixes issues where some events fail to get sent immediately after the node starts because of an expired access token.

Then it might be good to also mention this VSS benefit users get by conencting their Alby Account visibly here (using some color works I think):

Then it might be good to also mention this VSS benefit users get by conencting their Alby Account visibly here (using some color works I think):

Ah, right. @reneaaron had an item for backups and we took it out, but it would be good to add back in. Maybe could go in https://github.com/getAlby/hub/pull/780 (I will add a TODO item)

LGTM (not sure if we want to skip connect alby screen if already conected)

@im-adithya I think it would be good to fix, thanks for testing that.


Check semi-invulnerability before immunities, abilities, etc.

This mostly matters for stuff like Magic Bounce and Volt Absorb, which should not activate when the target of the move that would activate them is semi-invulnerable. You can thank Metronome Battle for me finding this.

Looks good! Could you change the event name to TryImmunity? More consistent with the other Try stuff.

Hey @MacChaeger,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because something unrelated to the tests, like a problem a dependency or the build process itself.

uh...

I re-ran the test, it passes now.

:+1:

Blah, which perfect accuracies do and don't hit semi-invulnerable pokemon?
I'm pretty sure Aerial Ace et al don't. What about Thunder in rain?


Debian Package

@prashantv

@akshayjshah sorry about that. That's what I get for trying to do both at the same time.

Can you help us understand the purpose of this change?

Turns out our jenkins debian build process won't work for go projects so I'm closing this in favor of the debian build process we already use for yarpc/yab


[8.x] Immutable date and datetime casting

Adds support for accessing dates as immutable. Maintains support for all current date/datetime functionality, expect returns a CarbonImmutable object instead of Carbon.

immutable_date
immutable_datetime
immutable_datetime:Y-m-d g:ia

Note: Totally open to some snazzier naming.

Thanks!

💪


Mobile menu

added the interactive menu for the Portfolio in the mobile version with my coding partner

had to resolve a conflict between this branch and the master branch


save() function inconsistency

If you create a new image, you can save it using img.save(filename); but if you open an existing image, doing img.save(filename) doesn't work.
See https://users.rust-lang.org/t/can-create-save-an-image-but-cant-load-modify-save-one/16574

Your original issue was due to the fact that the first was an ImageBuffer and the second was a DynamicImage. Both have a save function, but both functions are doing something different.

ImageBuffer save writes to a file path.
DynamicImage save writes to any Writer.

To avoid confusion, maybe the first should be save_to_file... or maybe they should both be made the same and the first should be generalized to saving to any Writer. Maybe the DynamicImage save should be less generic and just write to a file path...
I'd be happy to work on this, but I don't know if or what the solution should be.

I hope that they will be made consistent with each other and both work with any Writer (like your 2.), and perhaps also offer convenience save_to_file(filename) methods too.

I'll work on this then. For now, I'll work to make both saves write to a file and create a separate function, write, to write to any buffer.