RESTEASY-1321: Support non-path-parameters in LinkResource

Implementation of feature request RESTEASY-1321.
Currently the LinkResource annotation only supports path parameters for the atom link definition. This is enough when only adding default atom links (self, list, CRUD). But in order to add more advanced customized links (f.e. for paging) it is necessary to support the other types of parameters (query and matrix).
Therefore I added a new annotation called ParamBinding. Typically I would add the type as an enum in the ParamBinding, but just added two more members to the annotation (queryParameters, matrixParameters) in order not to break the API (this would remove / rename LinkResource#pathParameters).

Added comment to https://jira.jboss.org/browse/RESTEASY-1321

This PR is ready to merge. Thanks, Alexander.


Feature/tcomp 262 datastore rest endpoint suite

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
endpoints for the web services do not match the requirements
What is the new behavior?
Now the endpoints match the requirements
We had to remove enunciate and therefore no more web API docs are generated, we need to fix this.
There are some minor fixes on the components themselves too.
Does this PR introduce a breaking change?

[x] No

I have created a Jira for the missing and erroneous java headers
https://jira.talendforge.org/browse/TCOMP-357


[PWA widgets] Add warning about the update time

There are no noted restrictions about the update time. It kinda suggest the update time can be anything but everything below the values used in the doc (86.400) wont work

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

ID: 1a0e6a65-5e0a-55cc-d3c8-b4fdd37a2d2b
Version Independent ID: 1a0e6a65-5e0a-55cc-d3c8-b4fdd37a2d2b
Content: Build PWA-driven widgets - Microsoft Edge Development
Content Source: microsoft-edge/progressive-web-apps-chromium/how-to/widgets.md
Product: microsoft-edge
Technology: pwa
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks a lot for this issue.
Can you say a little more about what happens when you choose a value that's less than 86400? What doesn't work exactly? Does the widget not get registered? Something else?

Fair point. I'm going to discuss about this with the engineering team who knows best about service workers and widgets and we'll get back to you.

Push Notification are required to use showNotification resuling in a toast banner

Correct, silent push notifications are currently not supported by browsers, at least by Chrome and Edge.

widget resume seems to work pretty nicely. Thanks!

Oh great! Glad this is working for you. I'll add this issue to our backlog and use it to update the docs to mention how to update widgets more than once a day.


BQ snippets tests may have "collision" problems

They may benefit from using unique_id()?
See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/3964

I don't think that error is a collision problem. I'm seeing

google.api_core.exceptions.InternalServerError: 500 POST https://www.googleapis.com/bigquery/v2/projects/precise-truck-742/datasets: An internal error occurred and the request could not be completed.

This usually indicates a transient error on the backend. If anything, I'd say this indicates we might need more aggressive retries.

Is there any action to take here?

I think I was just basing it on the fact that it failed:
nox > * unit_tests(python_version='2.7'): passed
nox > * unit_tests(python_version='3.4'): passed
nox > * unit_tests(python_version='3.5'): passed
nox > * unit_tests(python_version='3.6'): passed
nox > * system_tests(python_version='2.7'): passed
nox > * system_tests(python_version='3.6'): passed
nox > * snippets_tests(python_version='2.7'): passed
nox > * snippets_tests(python_version='3.6'): failed
nox > * lint: passed
nox > * lint_setup_py: passed
nox > * cover: passed

(i.e. I never actually looked at the failure when filing, may have been in a hurry).


[RFE] Allow filtering based on not matching some specific criteria

Current situation
Many of our gadgets can filter by typical kubernetes criteria like node, namespace, label, etc. However, it's only possible to select pods or containers that match the specified criteria. It's not possible to sleecto those that don't match. For example: it's not possible to say "Everything except the kube-system namespace"
Impact
If users want to inspect what's going on in the cluster except for the kube-system controlling layer, they need to manually list all namespaces present.
Ideal future situation
Users should be able to select pods that don't match a specific criteria.

I believe this issue can be closed now since we support negative filtering with --filter/-F e.g kubectl gadget trace open -A -F 'k8s.namespace:!kube-system'


Update snapshot dependencies

@secondsun @qmx @matzew Could you please review that?
PS: Please, test it locally and ignore @travis-ci for now

+1 works on my machine.

build core and pipe lastest master on my box. Running mvn clean install on the push branch -> works on my machine :tm:
:+1:


⚠ AGEG website (prod) has degraded performance

In 479aa5d, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2257 ms

Resolved: AGEG website (prod) performance has improved in d25ace6.


validate_ssa.cpp not found?

I am getting this error when updating Spirv-tools. Can someone point me to when and if this file was deleted? And the commit please?

This commit: https://github.com/KhronosGroup/SPIRV-Tools/commit/66c94928a324efd7d3c2d10817e8fb599096302b?

Ok; now I am getting this error:
d:\xeniacopy\third_party\spirv-tools\source\ext_inst.cpp(39): fatal error C1083: Cannot open include file: 'glsl.std.45
0.insts-1.0.inc':

If you haven’t done it already, try running ccmake . in your build folder, before rebuilding the project. I found it to be necessary when adding a new file to CMakeLists.txt, as it wouldn’t generate new rules for it otherwise.

Were you ever able to build SPIRV-Tools?
Are you building in-tree or out of tree?  I always build out-of-tree.
I don't know how to help without knowing you got your sources or configured your build.

Closing since not hearing back for quite a while.


Bigger Picture + Gumlet + IONOS = broken images

I'm using Gumlet to serve responsive images on a client site. I've implemented Bigger Picture in a portfolio area to display enlarged versions of the images. The same code running on an A2 Hosting server runs fine, but running on an IONOS server displays a broken image. The image filename is completely stripped from the source URL in the BP overlay code for some reason. Wondering if you have any insight whatsoever as to what could be happening. I'm uploading two screenshots, both from Chrome Version 121.0.6167.184 (though this happens in Safari, Edge, and Firefox as well). Same code. Different host. Different behavior. Working site at https://edkenney.5iveleaf.com/collection/recent-work. Broken site at https://ekenney.com/collection/recent-work.
Broken:

Working:

Source:

In the interest to ensuring Gumlet isn't to blame, I've also made a sample page which does not use Gumlet for serving the images and instead just uses the full res image. Same issue.
https://ekenney.com/image-test

No idea I'm afraid.
My guess would be that the gumlet library is messing it up. I see it's modifying the img tag.
You can use a console log to see if the img property is being passed in correctly:
bp.open({
  ...
  onOpen: (container, activeItem) => {
    console.log('activeItem', activeItem)
    container.setAttribute('data-gumlet', 'false')
  },
})

The gumlet docs say you can exclude an image if you set data-gumlet="false" on it. You don't have access to the img tag in onOpen bc it's added when the image loads, but you can try what I put above to see if adding the property on a parent prevents it.
Or try using the elements_selector_img option documented on that page. Maybe try img:not(.bp-wrap) or using a class like the example.
https://docs.gumlet.com/docs/image-integration-javascript-gumletjs#ignore-images
Otherwise you can try removing the whitespace in the data-img tag.
Also, I like your implementation, but a few tips: set the thumb property to be equal to the thumbnail you're displaying on the page -- this uses the thumb for the animation when the bigger image isn't loaded yet. And set your thumbnail a tags to display: block so they take the full space of the image. If you have the max width / height of the image ahead of time, you should set those properties as well.

Thanks for the quick reply. I did further notice that if I strip out the Gumlet script in the header (even though I was telling it to ignore the image), that functionality of Bigger Picture is restored. So I think you're right that this is some sort of Gumlet oddity. Strange that it works on Bluehost and not IONOS though. That's the real head scratcher. Thanks for the additional tips as well. I'll have a look at those improvements as well.

Since one difference between the staged site on Bluehost and the production site on IONOS was that the Gumlet script settings were slightly different, I decided to try a 'www' in front of the current domain in the Gumlet config. Lo and behold, it works now. So dumb. So instead of:
<script type="text/javascript">
	window.GUMLET_CONFIG = {
		hosts: [{
			**current: "ekenney.com",**
			gumlet: "edkenney.gumlet.io"
		}],
		lazy_load: true,
		srcset:  true,
		auto_webp: true
	};
	(function(){d=document;s=d.createElement("script");s.src="https://cdn.gumlet.com/gumlet.js/2.1/gumlet.min.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();
</script>

I have:
<script type="text/javascript">
	window.GUMLET_CONFIG = {
		hosts: [{
			**current: "www.ekenney.com",**
			gumlet: "edkenney.gumlet.io"
		}],
		lazy_load: true,
		srcset:  true,
		auto_webp: true
	};
	(function(){d=document;s=d.createElement("script");s.src="https://cdn.gumlet.com/gumlet.js/2.1/gumlet.min.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();
</script>

Thanks again for the assistance. It at least got me thinking about other possibilities for the cause of the issue. I'm going to change the title of the post to reflect the actual issue in hopes someone else experiencing the same issue might be helped by it.

Cool, glad you got it figured out :+1:


WASM target support improvements

As a followup to https://github.com/tikv/minitrace-rust/pull/201 , I noticed an adjustment we could make to make minitrace more compatible with WASM runtime.
The main issue around HTTP calls with wasm32-unknown-unknown is that the JS runtime (fetch) makes the actual HTTP call.
This means that the exporting flow of collected traces needs to use a non-blocking, async HTTP client. So HTTP calls will be handled in "background" (by the JS runtime that loads the WASM), and returns a Promise that's being converted to Future.
To address such change, I think minitrace can introduce an option (maybe as a feature?) to have async reporters (and async flush function).
Also, most reporters today are using reqwest::blocking client, which is not available on WASM targets.
@andylokandy  I'll be happy to make a PR to add such a feature if that makes sense.

You can wrap an async function in the sync report function, by simply discarding the Future or storing the Future in a static mutex.

Yeah, but in this case, an async reporter might even be more useful 🤔 I can hook that into the wait_until (https://developers.cloudflare.com/workers/runtime-apis/handlers/fetch/#contextwaituntil) and just await it there without blocking anything.
I can understand the reason for a simple, sync report in minitrace, but in this specific case it feels like a lot of workarounds are needed.
Doing async (runtime) -> sync (Reporter) -> async (actual reporting) feels like a workaround, that can be simplified if report function was async 🤔

You can do: manually flushing -> save spans to be report in static/Arc -> report the spans in async context

You can do: manually flushing -> save spans to be report to static/Arc -> report the spans in a async context

That's a great idea! I will give it a try :)

Ok, I managed to make it work!
So basically I created a new special struct that implements Reporter. The report function only collects the span in memory, and I added an async function to do the actual reporting. I can now connect that to the rest of the setup we have.
Thank you for the help @andylokandy , I really appreciate it!


feat: link to support portal

I figured it doesn't make sense to run this change through the planning pipeline
Screenshots

@izharbuendia would you please check the wording? Is it ok to have Support sub-header next to Support Portal link? Thanks

:tada: This PR is included in version 2.115.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


adding file with 2 tests: test_navigate_to_saucedemo_and_verify_title…

… and test_success_login

adding file with 2 tests: test_navigate_to_saucedemo_and_verify_title
and test_success_login

@9kovlev Please fix your PR or I will delete it in a few days!
Thanks


Publishing may not be possibly to GitHub and Netlify at the same time

Having made pull requests, neither has updated.

It is but is manual at the moment on the Terminal with quarto publish gh-pages and quarto publish netlify. This issue may need to become one to create specific GitHub actions.


[protobuf] Fix deprecation warning in vcpkg_check_feature()

Describe the pull request

What does your PR fix? Fixes #16988

In latest function vcpkg_check_features(), it will post deprecation warning when calling vcpkg_check_features without
FEATURES keyword.
So adding FEATURES to solve the deprecation warning.

/azp run


docs:Update README.md

add fetching_data.md link to readme
Description

PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

do we want this? if yes, what does it need? if not, lets close or make draft?

@pvinis I would say it's ready, feel free to merge :)


Consider switching libnacl with PyNaCl

Currently libnacl does not work with the newest version of libsodium.
PyNaCl seems to be better maintained than libnacl. We should consider switching.

Agreed, but last time I checked on this it seemed like PyNaCl doesn't provide an interface for libsodium's crypto_stream_xor() function, which we use extensively. Would probably have to try PR-ing support for this upstream before we can switch over, unless I'm mistaken.

Or PR supporting the newest version of libsodium in libnacl? Wonder which one is more effort.


How to display column dividers?

Hello everyone,
How can I show vertical lines like in the image?
Thank you!

Try to add this in your site.less file
.slick-cell {
  color: #000;
  padding: 1px 4px 0 4px;
  border-style: solid solid solid none;
  border-bottom-color: #e7e7e7;
}

for specific column, you can add attribute [CssClass("something")] on Columns.cs fields
and combine with @kilroyFR 's answer your grid will has border
something like this
.something.slick-cell {
   // ....
}

Try to add this in your site.less file
.slick-cell {
  color: #000;
  padding: 1px 4px 0 4px;
  border-style: none solid none none;
  border-bottom-color: #e7e7e7;
}

Thanks to both.
It worked perfectly.


added action file for firewalld

Created a version of the action file that creates rules in firewalld.
I tested it with both ipv4 and ipv6 addresses and the  tag should mark things correctly. I used openSUSE Tumbleweed with kernel 5.18.9-1 and it appears to be doing the trick. The remove rules also works, I see the rules go away when fail2ban is stopped as a service.
The iptables version of the file didn't work for me because my openSUSE version didn't have the kernel modules for iptables and its NAT.  Maybe this will be helpful for other people who use firewalld.

Merged - thank you for the contribution!


FRR OSPF area setup

Missing options in the config pages for FRR/OSPF for setting the ospf area type.
We need to be able to set 'area x.x.x.x stub no-summary' in frr.conf.
In pfsense there's an "Areas" tab to FRR/OSPF that allows you to define areas as normal/stub/stub no-summary/nssa/nssa no-summary.
In opnsense "Areas" tab is missing.

I hope this gets the attention as we also need this. For now we are currently doing this via config but it gets overwritten when we do a few changes and has to manually add this again


Disabling context menus allows map to drag with right mouse button

[x] I'm reporting a bug, not asking for help
[x] I've looked at the documentation to make sure the behaviour is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Add the following code snippet to the the Leaflet 1.0 example, which disables context menus allows you to drag the map using the right mouse button, but shouldn't.
Starting code:
http://leafletjs.com/examples/quick-start/example.html
Add the following just after the mymap.on() method invocation:
mymap.getContainer().addEventListener("contextmenu", function(domEvent) {
domEvent.stopPropagation();
domEvent.preventDefault();
}, true);

Leaflet version I'm using: 1.0.3
Browser (with version) I'm using: Chrome Version 55.0.2883.95 (64-bit
OS/Platform (with version) I'm using: OSX

With the above snippet of code to disable all context menus, including any browser based context menu, you can drag the map using the right mouse button. I would think one should only be allowed to drag the map with the left mouse button. Adding the same snippet of code to the 0.7.7 example exhibits the behavior I would expect.

[x] this example is as simple as possible
[x] this example does not rely on any third party code

The same is true with the following code snippet which replaces the display of the browser context menu with a map-specific message:
mymap.getContainer().addEventListener("contextmenu", function(domEvent) {
domEvent.preventDefault();
var popup = L.popup()
.setLatLng(mymap.mouseEventToLatLng(domEvent))
.setContent('Hello world!This is a nice popup.')
.openOn(mymap);
}, true);

Not able to reproduce in v1.8.0.

Too bad, that was a feature if anything.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1960 ms

Resolved: Bofrost.at performance has improved in 844f015 after 7 minutes.


Solana Staking in Trust Wallet

Describe the solution you'd like
Support for Solana Staking on Trust Wallet. Solana ecosystem has been booming lately and Solana + SOL Staking has been added to most major exchanges and wallets.
Even Exodus supports Solana Staking from wallet, would love to see the feature in trust wallet!

Thanks for the suggestion, we will consider it


Minimal rbac to view and reconcile resources in UI

Hi there
We are currently trying to limit the flux resources which a specific user/group can see & use (e.g. sync).
We tried to apply the following role, but the user doesn't see any resources matching the names specified.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: example
  namespace: tenant-1
- apiGroups:
  - kustomize.toolkit.fluxcd.io
  resourceNames:
  - example-kustomization
  resources:
  - kustomizations
  verbs:
  - get
  - list
  - watch
  - patch
- apiGroups:
  - source.toolkit.fluxcd.io
  resourceNames:
  - example-gitrepository
  resources:
  - gitrepositories
  verbs:
  - get
  - list
  - watch
  - patch

The following requests over kubectl work:
kubectl get kustomizations.kustomize.toolkit.fluxcd.io -n tenant-1 example-kustomization
kubectl get gitrepositories.source.toolkit.fluxcd.io -n tenant-1 example-gitrepository

Additionally setting
  # Read access for all other Kubernetes objects
  - apiGroups: ["*"]
    resources: ["*"]
    verbs: [ "get", "list", "watch" ]

according to the docs, the user can see "too much".

@adberger Thanks for the report. This is a known issue, and one that cropped up for me again in a different form this week.
The root cause of this is how we determine whether a user can "see" a namespace:
https://github.com/weaveworks/weave-gitops/blob/f69ed59f72e682330022dd7ce8217341944e0e8a/core/nsaccess/nsaccess.go#L67
Kubernetes doesn't have a concept of "yes you can see this namespace", because it only knows about verbs against kinds in a namespace, so we layered on the access logic to convert it to a bool.
We aren't handling the resourceName case at the moment.

@jpellizzari I see, that's unfortunate.
We now do it like this for the moment:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: example
  namespace: flux-system
rules:
- apiGroups: [""]
  resources: ["pods", "secrets", "events"]
  verbs: ["get", "list"]
- apiGroups: ["apps"]
  resources: ["deployments", "replicasets"]
  verbs: ["get", "list"]
- apiGroups: ["kustomize.toolkit.fluxcd.io"]
  resources: ["kustomizations"]
  verbs: ["get", "list"]
- apiGroups: ["kustomize.toolkit.fluxcd.io"]
  resources: ["kustomizations"]
  resourceNames:
    - exampleResource
  verbs: ["patch"]
- apiGroups: ["helm.toolkit.fluxcd.io"]
  resources: ["helmreleases"]
  verbs: ["get", "list"]
- apiGroups: ["source.toolkit.fluxcd.io"]
  resources: ["buckets", "helmcharts", "gitrepositories", "helmrepositories", "ocirepositories"]
  verbs: ["get", "list"]
- apiGroups: ["source.toolkit.fluxcd.io"]
  resources: ["gitrepositories"]
  resourceNames:
    - exampleResource
  verbs: ["patch"]
- apiGroups: [""]
  resources: ["events"]
  verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: example
  namespace: flux-system
subjects:
- kind: Group
  name: groupXY
  apiGroup: rbac.authorization.k8s.io
roleRef:
  kind: Role
  name: example
  apiGroup: rbac.authorization.k8s.io

The users can see everything, but only sync their resources.

I'm afraid we need more time to test this change.

I think the problem in the original report is that Weave GitOps wants to be able to see groups and resources in addition to "sources.toolkit.fluxcd.io" and "kustomization.toolkit.fluxcd.io" (the requirements are expressed as rules in https://github.com/weaveworks/weave-gitops/blob/main/core/nsaccess/nsaccess.go). Having resourceNames in a rule doesn't cause problems -- it's present in the example of RBAC that does work.

every user see every flux resource of a namespace in the UI (which is not intended) but can only sync their resources (which is intended)

Right, the access you need to give people so they can see namespaces in the UI, is (much) more than just ["list", "get"] on some subset of Flux resources in those namespaces.
I can see why having more access makes the display richer (you can display the status of workloads, say), but you ought to be able to see your stuff in the UI if you can access it via RBAC. "Ought" as in: Weave GitOps does not do this, and it would be better if it did.

Any progress on this concern?

@bigkevmcd and @foot Can you please take a look at this?

@LappleApple I guess we could take the original attempt, and improve it by looking for the presence of the named resources (resourceNames) in the checked ns, this would restrict to only namespaces where the named resources are present.
Not sure when we would get a chance to do this tho'


activerecord: Allow to use array of Hashes to #preload

The real use case is here: https://github.com/kaigionrails/conference-app/pull/341/files#r1817211252

/merge


Move from Travis CI to GitHub Actions CI

cc: @ablaom @tlienart

Codecov Report

Merging #465 (2fc6762) into master (366b409) will decrease coverage by 0.81%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #465      +/-   ##
==========================================
- Coverage   82.70%   81.88%   -0.82%
==========================================
  Files          39       39
  Lines        2932     2932
==========================================
- Hits         2425     2401      -24
- Misses        507      531      +24

Impacted Files
Coverage Δ

src/resampling.jl
78.85% <0.00%> (-7.17%)
:arrow_down:

src/utilities.jl
69.04% <0.00%> (-4.77%)
:arrow_down:

Continue to review full report at Codecov.

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

@ablaom @tlienart This is ready to merge.

@ablaom Take a look at the if statement. We only build the docs if all three conditions are met:

The PR is NOT made from a fork
The base (target) branch is master
The head branch is dev

@DilumAluthge Brilliant!
I'm going to rebase this PR to dev and see if docs are still generated.

Mmm. Now no tests are being carried out.


Update docs post install scripts

Bug summary
we need to update the post install script. It should be
"react-native setup-ios-permissions && cd ios && pod install && cd .."
I get error when using pod-install
the directory don't exist
Library version
latest
Environment info
react native

Steps to reproduce
na
Reproducible sample code
na

The README already mention pod install (using the pod-install package, which can be run from roo)


Bump stream-collector to 2.0.0

This got squeezed into ec15e8a9795f7ecda50d949168a7b8acc9c4f0b0 when rebasing the PR after the reviews and fixing it with the submodules is a pain so I'll leave it there.


Time Remaining Less Than Char in Status Item

Time remaining status item character ">" is not correctly used. Should be "< 0:01" not "> 0:01"

Completed as a part of the v3.1 update.

The less than symbol is no longer used in v4.0.


Error when trying to stream video torrent

I'm building a video streamming application with Electron and I'm facing a problem for which I haven't found any solution so far.
My code is the following:
const $ = require('jquery');
const WebTorrent = require('webtorrent');
global.jQuery = $;
$(document).ready(function(){
var client = new WebTorrent();
var magnetUri = 'https://webtorrent.io/torrents/sintel.torrent';
client.add(magnetUri, function (torrent) {
var file = torrent.files[0];
var video = document.createElement('video');
video.controls = true;
$('#main-container').append(video);
file.createReadStream().pipe(video);
});
var timer = setInterval(function(){ console.log(client.torrents[0].timeRemaining); }, 1000);
console.log(client);
console.log(client.torrents[0].infoHash);
console.log(client.torrents[0].files);

})
And after a little bit I get the following error in the console:
Uncaught TypeError: dest.on is not a function
from this file: ..app/node_modules/webtorrent/node_modules/readable-stream/lib/_stream_readable.js
and on my terminal I see those errors as well:
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185408:ERROR:webrtcsession.cc(1210)] ConnectDataChannel called when data_channel_ is NULL.
[9504:0614/185425:ERROR:sctpdataengine.cc(944)] SctpDataMediaChannelFailed to send a stream reset for 1 streams: [0x00000009] Bad file descriptor
[9504:0614/185435:ERROR:sctpdataengine.cc(944)] SctpDataMediaChannelFailed to send a stream reset for 1 streams: [0x00000002] No such file or directory
Any help would be much appreciated.

This way of streaming into a video tag is no longer supported:
file.createReadStream().pipe(video);

Instead you should do:
file.renderTo(video)


New topics: OP_CHECKSIGFROMSTACK

This brings us to 8/16 topics that I should've submitted by now.
The CSFS, CTV, and Vaults topics all derive somewhat from the existing Covenants topic, but I think it was time for them to each have separate topics.  I've left the Covenants topic for now without any deletions to its existing links, but going forward I plan mainly to only use it for topics that are much more specific to covenants.

I've narrowed this PR to just the OP_CHECKSIGFROMSTACK topic and updated it to describe all usecases for that opcode that I've been able to find.  It should be ready for review again.  Thanks for the previous feedback!

I think this is ready for merge once the h3 style change is reverted.


proposal: x/crypto/curve25519: new X25519 API

Current API
func ScalarBaseMult(dst, in *[32]byte)
func ScalarMult(dst, in, base *[32]byte)

The names are the same as the elliptic.Curve methods, but with different function signatures.
The main issue with the current API is that there is no way to return an error from ScalarMult for low order inputs, which are a serious problem in certain protocols.
See #31846 and the linked paper, where it was only the Go implementations that were actually exploitable, due to our lack of safety checks, which is the opposite of what we want to achieve.
Proposed API
package curve25519

// Basepoint is the canonical Curve25519 generator.
var Basepoint []byte

// X25519 returns the result of the scalar multiplication (scalar * point),
// according to RFC 7748, Section 5. scalar, point and the return value
// are slices of 32 bytes.
//
// If point is Basepoint (but not if it's a different slice with the same contents)
// a precomputed implementation might be used to speed up the computation.
func X25519(scalar, point []byte) ([]byte, error)

X25519 is the name of the function as specified in RFC 7748.
Basepoint is identified by slice equality (as opposed to bytes.Equal) to avoid a timing side-channel when the point might or might not be the basepoint.
The implementation of X25519 would just check if point == Basepoint, and invoke the ScalarBaseMult or ScalarMult implementation (the latter followed by the missing check).
Why slices
There is a split in Go crypto APIs between slices (like ed25519) and array pointers (like curve25519). Both have their advantages, but over time I decided I prefer slices: arrays require a new variable and a copy at most uses, and I often saw bugs due to making short copies into the array.
var dst, scalar [32]byte
copy(scalar[:], inputShorterThan32)
curve25519.ScalarBaseMult(&dst, &scalar)

So while type safety is nice, the failure mode of arrays in practice is worse. Slices cause an error at runtime, but if the code is ever tested, that condition should be caught more easily than the example above.
Open questions
Should we have Scalar []byte and Point []byte types to prevent mixing up scalar and point arguments?
Does this function always allocate, or will inliner and escape analysis be able to figure out that if the return value is quickly disposed of it can live on the stack?
Should we deprecate the unsafe ScalarMult in favor of X25519? For most uses of ScalarMult the unsafe corner-case doesn't really matter, but on the other hand most common uses will be in other standard or x/crypto packages. If an application uses it directly, they might be doing something complex where low-order points matter.
Considered alternatives
Adding an error
This package lives in curve25519, so we could add an error return value to ScalarMult. Since it currently doesn't have a return value, it would be a fairly low impact.
The problem is indeed that it would probably go unnoticed for existing code.
Adding a check function
The unsafe inputs generate recognizable results, so we could add a CheckOutput(p []byte) error function.
This is the opposite of secure by default.
Replacing only ScalarMult
We could just deprecate ScalarMult and replace it with an identical function with an error return value.
I could honestly not think of a good name, and it seemed like a good opportunity to switch to slices and the naming of the RFC.
/cc @agl @rsc

Discussed with @rsc, comments inline.

Should we have Scalar []byte and Point []byte types to prevent mixing up scalar and point arguments?

This wouldn't be very useful, as unnamed types and equivalent named types don't conflict.

Does this function always allocate, or will inliner and escape analysis be able to figure out that if the return value is quickly disposed of it can live on the stack?

It should be possible to write it such that it does not allocate. Will write an experiment and a test.

Should we deprecate the unsafe ScalarMult in favor of X25519?

Deprecation for ScalarMult, just a note for ScalarBaseMult.

The implementation of X25519 would just check if point == Basepoint, [...]

https://golang.org/ref/spec says

Slice, map, and function values are not comparable.

Good point, but we can compare the pointer to the beginning of the slice.
https://play.golang.org/p/oz9-ed0R86Y

I'd really suggest comparing the len too. Basepoint[:2] would be pretty confusing otherwise.

The inliner trick is working. For example in the following code, the main() function does not allocate dst on the heap.
package main

import (
	"crypto/subtle"
	"errors"

	"golang.org/x/crypto/curve25519"
)

func main() {
	scalar, point := make([]byte, 32), make([]byte, 32)
	res, err := X25519(scalar, point)
	if err != nil {
		panic(err)
	}
	println(res)
}

func X25519(scalar, point []byte) ([]byte, error) {
	var dst [32]byte
	return x25519(&dst, scalar, point)
}

func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) {
	var in, base, zero [32]byte
	if len(scalar) != 32 {
		return nil, errors.New("bad scalar length")
	}
	if len(point) != 32 {
		return nil, errors.New("bad point length")
	}
	copy(in[:], scalar)
	copy(base[:], point)
	curve25519.ScalarMult(dst, &in, &base)
	if subtle.ConstantTimeCompare(dst[:], zero[:]) == 1 {
		return nil, errors.New("bad input")
	}
	return dst[:], nil
}

This seems like a good path forward. Going to keep this open for another week and then consider the proposal accepted.

A week has passed, accepting this proposal.
While at it, we should also add an example of a DH flow, and a lot of docs. I used the current curve255219 package this weekend and it was not a good experience.

This is way out of my league so I depend on the mercy of examples how to DH a secret key from point a to b using 25519

This looks excellent to me? https://godoc.org/github.com/aead/ecdh


fix: matching endpoint return

Correct maching on endpoint return
Overview
PR from @pthomalla pointed out that the test wasn't matching on the correct endpoint return value.
Changes
Testing
Same tests apply.

Coverage remained the same at 80.609% when pulling db12d61b41ed213d4a5766854e45301d2d6af7a2 on fix_test into 167f2429b33db2be44204ab5a275afb39869e7f0 on master.


Ingest the select statement that dbt provides when store_failures is enabled.

As part of #570 we will want to ingest the select statement that dbt produces when store_failures is enabled.
This select statement, just like the compiled SQL, can be found in the manifest.json and retrievable by using the test unique id.
The manifest.json info for the test when store_failures is enabled looks something like this and the name of the relation where the failures was stored is contained in the relation_name field which we can use to do select * from <relation_name>. That being said I only had a very quick look so do check.
{
   "test.intelligence_dwh.unique_base_soda_sql_events_trace_id.eb689ebf18":{
      "raw_sql":"{{ test_unique(**_dbt_generic_test_kwargs) }}",
      "test_metadata":{
         "name":"unique",
         "kwargs":{
            "column_name":"trace_id",
            "model":"{{ get_where_subquery(ref('base_soda_sql_events')) }}"
         },
         "namespace":null
      },
      "compiled":true,
      "resource_type":"test",
      "depends_on":{
         "macros":[
            "macro.dbt.test_unique",
            "macro.dbt.get_where_subquery",
            "macro.dbt.should_store_failures",
            "macro.dbt.statement"
         ],
         "nodes":[
            "model.intelligence_dwh.base_soda_sql_events"
         ]
      },
      "config":{
         "enabled":true,
         "alias":null,
         "schema":"dbt_test__audit",
         "database":null,
         "tags":[

         ],
         "meta":{

         },
         "materialized":"test",
         "severity":"ERROR",
         "store_failures":true,
         "where":null,
         "limit":null,
         "fail_calc":"count(*)",
         "warn_if":"!= 0",
         "error_if":"!= 0"
      },
      "database":"intelligence_dwh",
      "schema":"dbt_test__audit",
      "fqn":[
         "intelligence_dwh",
         "soda_sql_telemetry",
         "unique_base_soda_sql_events_trace_id"
      ],
      "unique_id":"test.intelligence_dwh.unique_base_soda_sql_events_trace_id.eb689ebf18",
      "package_name":"intelligence_dwh",
      "root_path":"/Users/bastienboutonnet/repos/intelligence_analytics/intelligence_dwh",
      "path":"unique_base_soda_sql_events_trace_id.sql",
      "original_file_path":"models/soda_sql_telemetry/schema.yaml",
      "name":"unique_base_soda_sql_events_trace_id",
      "alias":"unique_base_soda_sql_events_trace_id",
      "checksum":{
         "name":"none",
         "checksum":""
      },
      "tags":[

      ],
      "refs":[
         [
            "base_soda_sql_events"
         ]
      ],
      "sources":[

      ],
      "description":"",
      "columns":{

      },
      "meta":{

      },
      "docs":{
         "show":true
      },
      "patch_path":null,
      "compiled_path":"target/compiled/intelligence_dwh/models/soda_sql_telemetry/schema.yaml/unique_base_soda_sql_events_trace_id.sql",
      "build_path":"target/run/intelligence_dwh/models/soda_sql_telemetry/schema.yaml/unique_base_soda_sql_events_trace_id.sql",
      "deferred":false,
      "unrendered_config":{
         "store_failures":true
      },
      "created_at":1638877370.9161742,
      "compiled_sql":"\n    \n    \n\nselect\n    trace_id as unique_field,\n    count(*) as n_records\n\nfrom intelligence_dwh.soda_sql_telemetry.base_soda_sql_events\nwhere trace_id is not null\ngroup by trace_id\nhaving count(*) > 1\n\n\n",
      "extra_ctes_injected":true,
      "extra_ctes":[

      ],
      "relation_name":"intelligence_dwh.dbt_test__audit.unique_base_soda_sql_events_trace_id",
      "column_name":"trace_id",
      "file_key_name":"models.base_soda_sql_events"
   }
}

The ingestion flow for this statement should leverage the noFileMessage property from the sodaSqlScanFile mechanism
(cf https://github.com/sodadata/soda/issues/3265:

@JCZuurmond is that something you might want to look into once the PR you currently have is merged?

Sure, I am do not understand the issue fully yet.
The why
General questions: the goal is to send rows for which the test failed to the Soda cloud? And, we do this automagically if the store-failures flag is true?
If so, I think we should not do this automagically, because the failed records are stored in the warehouse in which the data already resides, which is (legally) different from sending it to a new system (Soda cloud). I think we should enable this with a flag from the soda side, like the samples, and make it independent of dbt's store-failures.
The how

want to ingest the select statement that dbt produces when store_failures is enabled

The select statement mentioned here is the compiled_sql field, right?
The test results are stored in the dbt_test__audit schema/database when the store-failures is enabled. I do not know if this name can be customized, what is the case anyway: dbt prefixes the schema with the target name - by default and this logic can be customized. Given that the schema is dynamically changed, the target name is not present in the manifest (I think) and that this logic can be customized, I think we can not use the dbt_test__audit tables which already contain the failed rows. This means that we have to re-execute the sql to retrieve the failed rows.
The approach I see that could work is:

Get the compiled sql from the manifest
Run the sql against the warehouse
Fetch the output
Send the output to the Soda cloud

Some remarks here are:

As noted before, this means that that query is executed twice: once by dbt and once by soda.
Because there could be a (big) delay between when the test a ran by dbt and ingested to soda, the data might have changed in between, thus maybe resulting different rows
The compiled SQL is not exactly the same as the samples from Soda: only the columns relevant to the test are selected and depending on the test it might not look like the original table schema at all.
it requires a working warehouse connection, where the ingest now only requires the manifest.

Altogether, I am ok with these remarks, but we should be clear about them. A nicer solution would be to find a way to replace the dbt test with a (dbt) soda test command completely.

@JCZuurmond at this stage we simply want to ingest the select statement and show it to users. We're not going to be retrieving these failed rows (at least for now).
If we want to do a more tight integration similar to https://github.com/dmateusp/dbt-opentelemetry and what not then we will adjust this but this is out of scope for this MVP.
The relation_name field of the manifest entry contains the table in which the failed rows would be stored from what I could gather:
"relation_name":"intelligence_dwh.dbt_test__audit.unique_base_soda_sql_events_trace_id",
so we could generate f"select * from {manifest['relation_name']} or something similar.
Does this make sense?

Ah, nice! Well spotted. We could do that, yes. Still note my remark about that these tables are different from the Soda samples, they contain the output of the SQL used for testing, which does not include the whole row for which the test failed.

@JCZuurmond by the info you mean the select statement right?
We have a "Failed Rows" section in which we can generate a message. Check the Slite page link I shared with you. Scroll down quite a bit and there is a section called "Failed rows handling" where @Antoninj explains the flow.
It is similar to sending failed rows from a soda SQL test so I think there should be code that you can hook into.
@vijaykiran should know.
If it's still not clear feel free to ping him.

@JCZuurmond by the info you mean the select statement right?

yes

Ok, and what do you think about the proposal?

I do not see the benefit of showing this 'select' statement atm.
How I see it: we can benefit from the stored failures by not having to re-compute for which rows a test fails. We get those rows from the stored failures instead.
However, if we only show the SQL to select the failed rows, why not simply show the SQL of the test that filtered those failed rows in the first place?
The downside of the failed rows is that inconsistencies might occur when data changes after execution of the test. If you execute the SQL that is the test, you known that you always look at the latest data.

I see your points @JCZuurmond here are some counter points that I think should help us make a final call:

we can benefit from the stored failures by not having to re-compute for which rows a test fails. We get those rows from the stored failures instead.

Right now, this mimics the flow that a dbt user would be familiar with. That is:

run tests
get a message that some tests failed and that they can consult the failures at select * from failures

Doing this allows us to get on full parity with the dbt functionality without having to build any extra logic which would actually call this select statement and push the failing rows into our UI. This mechanisms could be something we look into building as a follow up but is not, in my opinion, necessary for us to ship a first version of this integration.

However, if we only show the SQL to select the failed rows, why not simply show the SQL of the test that filtered those failed rows in the first place?
This one will be shown in the expression field always. It will also be shown in the failed_row when users do not have the store_failures turned on. I think when people have the failed rows, it would be a shame not to go all the way as dbt does and surface the select statement where those are stored.

I hope this makes the motivations a bit clearer.

Ok, if we want to show the SQL that filters the rows of a certain test, I think it makes sense to go this route:

Show SELECT * FROM <stored failures>.
Fall back if 1. is not present: show compiled SQL of test.

Awesome! And down the line we might consider pumping the failed rows from that select into the UI but I would see it as a separate exercice.


right versions of ngx - corresponding to material2 added

Making the versions of ngx - syntactically in sync with the requirements of angular material2.

Merge conflict resolved. please check . let me know if anything else needs to happen.

LGTM 👍  Nice job


Update Readme

Description
Update Screenshot of website. Try to cover the important points.
Definition of Done

[x] All of the required items are completed.
[x] Approval by 1 mentor.

Description
Update Screenshot of website. Try to cover the important points.
Definition of Done
* [x]  All of the required items are completed.

* [x]  Approval by 1 mentor.

why to have a screenshot of the readme?


Update debootstrap on proxmox installer scripts

Looks like the tar file changes every now and then and historical files aren't guaranteed to remain. This updates it to the current version on the debian mirror.
Closes https://github.com/midzelis/zquickinit/issues/9

Thanks for the report - I improved the script to use the latest version of debootstrap

Grand 👍


Add drop into editor option

This change adds a new enableDropIntoEditor editor option that enables/disables dropping an extermal resources into an editor
Previously this option was exposed IEditorConstructionOptions, however this did not correctly disable drop into editor when dragging and dropping unknown types (such as dragging emoji from the MacOS emoji panel)
With this change, disabling workbench.editor.dropIntoEditor.enabled should fully disable the new drop into behavior

Thanks for the feedback @alexdima!
I agree we should support this feature for non-workbench editors too. The main challenge is that the the default drop implementation depends on the workspace folders and calls extractEditorsDropData to get lists of uris from the drop event
Do you think I should try moving extractEditorsDropData to the platform/editor layer so that everything can live under editor? Or should I keep this part in the workbench layer and have the editor delegate to it?

Do you think I should try moving extractEditorsDropData to the platform/editor layer so that everything can live under editor?

If feasible, that sounds good! I noticed that the file has quite a bunch of workbench imports:
import { ITextFileService } from 'vs/workbench/services/textfile/common/textfiles';
import { IEditorIdentifier, GroupIdentifier, isEditorIdentifier, EditorResourceAccessor } from 'vs/workbench/common/editor';
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
import { IEditorGroup } from 'vs/workbench/services/editor/common/editorGroupsService';
import { IWorkspaceEditingService } from 'vs/workbench/services/workspaces/common/workspaceEditing';
import { IHostService } from 'vs/workbench/services/host/browser/host';

But some of them appear to be used only in some other code in the same file, so maybe it is feasible to move extractEditorsDropData down.

Ok, I've moved dropIntoEditor up to the editor layer. The change grew quite a bit because I also had to move a few other functions/class up, including moving extractEditorsDropData from workbench to platform

@mjbvz Which of the 3 commits are new? I'm having trouble keeping track of the commits that I already reviewed.

Aha! Now I notice that the branch was force-pushed:

Do you know if there is a way to review in such a case only the difference? When I press Compare I get a huge diff of all the team's been doing in 1 month, but I would also not really want to review all 31 changed files again if they haven't changed.

@alexdima Yes sorry I rebased to main and then force pushed the update. The current set of 31 changed files should all be part of this work. Most of the changes file are only update imports paths though so you can safely skip  them


Consuming builders for styles

PrimitiveStyleBuilder and TextStyleBuilder are currently implemented as "Non-consuming builders" (https://doc.rust-lang.org/1.0.0/style/ownership/builders.html). But it might be beneficial to change them to consuming builders.
Consuming builders can be used to generate consts, which would be pretty useful IMO. This won't be a advantage immediately, because trait bounds aren't yet supported for const fns, but this way this won't be a breaking change later.
It could also generate more efficient code, because build doesn't need to clone the style anymore. (this is just an assumption and not tested)
Are there any advantages of leaving the builders as non-consuming variants?

Are there any advantages of leaving the builders as non-consuming variants?

I was going to type "giving multiple primitives the same style" but the code could of course just use the builder once and .clone() (or Copy) the resulting style. I can't think of any reason to make them non-consuming. I think it's a pretty common assumption that builders are of the consuming type anyway (citation needed) so that works out as well.
Should this go into 0.6.0 as a breaking change do you think?

I was going to type "giving multiple primitives the same style" but the code could of course just use the builder once and .clone() (or Copy) the resulting style.

I did also consider creating multiple similar styles as a possible advantage of the non consuming builder. But you can also clone the builder before calling build to reuse to builder.

Should this go into 0.6.0 as a breaking change do you think?

Yes, they were only introduced in the latest alpha and not many projects will already use them, so I think it's best to change them now.

Sounds good to me. I'll get a PR ready after #247 is merged. I cba with all the merge conflicts to do it in parallel :P


Prebuilt binary for arch linux and other distros?

Hi. i want to install hie on arch linux. so i try it from aur.
After 3 hours of downloading a whole bunch of stuffs in my computer, the installations process go continue and my computer crashed and i have to restart it manuallly.
It will be nice to provide a binary release for arch linux and other distros.
Thank you.

#1068


nunuStudio community

nunuStudio community
Description

i suggest making a community for nunustudio

discord server
use the discourse to make a forum
slack

personally i prefer discord
but this is just a suggestion
Version

Platform

Web Version [X]
Windows [X]
Linux [X]

Hello
Thanks a lot for the suggestion currently im trying to keep everything  here on github.
I belive its easier for now since nunuStudio is still a small project.
Cheers

ok


[CS2103-T17-3] Automated Insurance Assistant

Automated Insurance Assistant (AIA) is a desktop application for managing contacts. AIA helps insurance agents handle all contact management processes, making sure they always have a snapshot of clients’ profiles on hand, with reminders for events.

Codecov Report

Merging #63 (da89701) into master (4f7660a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #63   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 4f7660a...da89701. Read the comment docs.


[REQUEST] Get token by javascript?

In a site, the token has been generated by Javascript:
$(function() {
var base_str = "djJ8TmZTNTNDYlpTeHlUN0xjY0dXVkZCWUxoVUpSa3U1OHd8RW-_quUmKwyhq782MKd9U43bZkxYTll7gq7GjKfombbT61nN";
var i = 0;
while (true)
{
hash = md5(base_str + i);
if (hash.substr(0, 2) == '00')
{
break;
}
i++;
}
$('input[name=token]').val(i);
});
How can i put this in a variable for request button in post data?
Sorry for my bad english.

First of all, check out this post https://forum.openbullet.dev/topic/13/how-to-execute-javascript-code
Then since the md5 function is probably not defined you will need to copy the code for example from here http://pajhome.org.uk/crypt/md5/md5.html
Otherwise just convert it to block logic and write the loliscript code for it.


V1.16 build

API vulnerability allows unprivileged users to access secrets - RHODS-5134

Add Route Security to some routes
Fix issue with requesting kube resources
Secure all routes
Secure nb-events endpoint
Update the logic of getting and patching the route for notebook
Don't blanket allow reading of dashboard namespace
Improve Admin Access & Disallow Outside Namespaces
Improve Admin Access & Disallow Outside Namespaces
Update liveness/readiness probe with an endpoint without auth

Randomly logged in as kube:admin to RHODS dashboard - RHODS-5099

Remove logic - kube:admin as default username

Error validating the rolebinding of your notebook - RHODS-5127

Ignore 409 case for RBs

Dashboard fails to redirect to the Notebook under load pressure - RHODS-5128

Update the logic of getting and patching the route for notebook

Failed to redirect: notebooks not annotated - RHODS-5129

Update the logic of getting and patching the route for notebook

Notebook "Server Starting" popup not visible 15s after click on Start Server - RHODS-5150

Improve the Start Modal Opening
Improve Spawner Speed by Batching Requests

Notebook not available after the redirection - RHODS-5151

Check notebook status by container statuses instead of pod phase

KFNBC Reloading the page always displays an error for a split second - RHODS-5184

Check notebook status by container statuses instead of pod phase

tested using quay.io/llasmith/rhods-operator-live-catalog:1.16.0-hotfix-27165b.
/lgtm

/lgtm

tested using quay.io/llasmith/rhods-operator-live-catalog:1.16.0-hotfix-27165b.

Notebook spawns worked for me with no issues


EDFWriter raises error when writing annotations

Hi, I am writing an edf file with highlevel.write_edf using the output of highlevel.read_edf. My example file is attached. The error is raised at line 736 of edfwriter.py for if duration_in_seconds >= 0: E           TypeError: '>=' not supported between instances of 'bytes' and 'int'.
This is because in the annotations of the header, the annotation event's duration_in_seconds is read as a bytes type. I tried to convert that to float, it worked and wrote out an edf file. This file once read in again has duration_in_seconds of bytes type. Could you fix either the reader or writer?
out.edf.zip
Thanks for your attention.

Thanks for reporting this error.
I fixed it in #126


Next.js 10

I get errors when I update all libraries. Will you make the nextjs 10 updates?

If you're having the error export * from '...' like I was, I wrote a answer to it in the issue #22
TL;DR you need to make some changes in the src/layouts/index.tsx component.


Expedia Group case study

Signed off by their comms team and ready to publish.
Case studies exist on roadie.io/case-studies/ and I hope to add more in the future.
See the linked Clubhouse card for more info.

https://app.clubhouse.io/larder/story/2484/publish-expedia-case-study

@iain-b I've noticed a lot of other companies do something like "Product | Company | Learn" in the header. We just don't have enough product or company stuff for me to link to yet. I'll add that over time.
Here's a few examples:
https://chronosphere.io/
https://www.astronomer.io/
https://www.armory.io/


Remove reference to baseAndroid from README

This PR is [not ready] for review.
Risk
This PR makes [no] API changes.
Summary
Now that the library no longer has symlinked directories (baseAndroid) the README has been updated to reflect that change.
CLA

[X] I have signed the CLA

 Update the README to remove baseAndroid


Question

Hi there,
I apologise if this is a dumb question, I am no coder...
How could I use the baguetteBox in such a way that a gallery would be triggered by a single image?...
I have tried adding the href code on the first image, and afterwards insert the code only for the following images, but this gets faulty results, sometimes it works, sometime it doesn't... :)
(I tried this solution, because it actually works with another script I used in the past)
Any hint would be greatly appreciated...
Thank you so much,
Ana

...I should have said that this actually works on a desktop browser, but the faulty results happens on a mobile website I'm trying to put together...

...I've uploaded my file to http://m.coresaocubo.pt/05-portfolio-teste-3.html (please remember I am not a coder, and adding to that, I'm from the tables/dinossaur era... please play nice ^_^ ).

Hi, first of all to clarify, what you want to achieve is to trigger the
gallery only when clicking on a particular image? This is not how the
script was built, be default it binds event handlers to every image. Also
the link you've provided doesn't work.
To solve your issue you can make a workaround and insert HTML code of your
gallery twice , where one is not displayed.
On Thu, 30 Jul 2015 21:23 anabreu<EMAIL_ADDRESS>wrote:

...I've uploaded my file to
http://m.coresaocubo.pt/05-portfolio-teste-3.html (please remember I am
not a coder, and adding to that, I'm from the tables/dinossaur era...
please play nice ^_^ ).
—
Reply to this email directly or view it on GitHub
https://github.com/feimosi/baguetteBox.js/issues/32#issuecomment-126445026
.

No response, assumed as resolved.


Charts are being duplicated

Env:
"apexcharts": "^3.22.2",
"vue": "^3.0.2",
"vue3-apexcharts": "^1.1.1"

My options:
{
 chart: {
        height: 590,
        type: "area",
      },
      dataLabels: {
        enabled: false,
      },
      stroke: {
        curve: "smooth",
      },
      xaxis: {
        labels: {
          showDuplicates: false,
          hideOverlappingLabels: true,
          offsetY: 20,
          style: {
            colors: "#979797",
          },
        },
      },
}

Template:
<apexchart type="area" :height="590" :options="options" :series="series" />

Result:

Note: when I change a screen resolution, the duplicated one disappears

Sorry for the late response.
Can you please create a Codesandbox demo to reproduce this?

Sorry for the late response.
Can you please create a Codesandbox demo to reproduce this?

I have fixed this issue by using apexcharts package without vue wrapper. I will attach demo link ASAP

Same issue here using the latest versions of Vue, VueApexCharts and ApexCharts
I created a Codesandbox here: https://codesandbox.io/s/cool-jennings-qbbr5?file=/src/App.vue

I can confirm, it is a problem with Vue3 using Vite as well.  Same issue where if a resize happens the duplicate disappears.

Having this issue too. Opening the development tools or resizing the window causes the duplicate to disappear.

+1 also having this issue with Vue 3 and Vite

mounted() {
    this.$nextTick(() => {
        window.dispatchEvent(new Event('resize'));
    });
}

Will fix the issue for now

Having the same issue.

The same here!

same issue :/

Facing the exactly same issue

Me too!

Still not fixed

You just need to change mounted() to created(), resolving the issue for me

And if you're using the Composition API (ie <script setup> syntax) use onBeforeMount instead of onMounted.

And if you're using the Composition API (ie <script setup> syntax) use onBeforeMount instead of onMounted.

its worked well. awesome

This happens because you mount the component and use reactivity too quickly before the apex component can be initialized. In this case, the init method of the component will be triggered twice, becaus it is waiting for the next tick to continue.
So, instead of arguing with triggering the resize event and having duplicates for a short time, you should wrap your data binding in a call of nextTick.
This is my work around as long as #50  is not accepted, which adds an additional check within the init method.

May I ask why this is closed? I had to implement the nextTick workaround I found via https://stackoverflow.com/a/70826352/2817604 - looks like it was picked from https://github.com/apexcharts/vue3-apexcharts/issues/3#issuecomment-898265002

Which version are you using?

    "vue3-apexcharts": "^1.4.1",
NuxtJS V3 project using a plugin:
import VueApexCharts from 'vue3-apexcharts'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(VueApexCharts)
})

just saw your PR and the fix - nice work @razorness  - can we get a patch release? i'll update that SO question

this.$nextTick(() => {
window.dispatchEvent(new Event('resize'));
});

thank you. It works for me

[...] I had to implement the nextTick workaround [...]

Until the patch is released, could you share how you implemented this in Nuxt3 @acidjazz ?
I'm struggling to do it properly.

Nuxt V3:
plugins/apex.client.ts
import VueApexCharts from 'vue3-apexcharts'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(VueApexCharts)
})

components/PublicChartLine.vue
<script lang="ts" setup>
import { ApexOptions } from 'apexcharts'

const options:ApexOptions = {
  colors: ['#6667ab', 'green'],
  tooltip: { theme: 'none' },
  chart: {
    type: 'line',
    toolbar: { show: false },
    foreColor: '#6b7280',
  },
  grid: { show: false },
  markers: {
    size: 6,
    colors: ['#6667ab'],
  },
  xaxis: {
    title: { text: 'Year' },
    tooltip: { enabled: false },
    categories: [2018, 2019, 2020, 2021, 2022],
    axisBorder: { show: false },
    axisTicks: { show: false },
  },
  yaxis: {
    title: { text: 'Days' },
  },
  stroke: {
    show: true,
    curve: 'smooth',
  },
  fill: {
    type: 'gradient',
    gradient: {
      type: 'horizontal',
      colorStops: [
        {
          offset: 1,
          color: '#9c9ae3',
          opacity: 1,
        },
        {
          offset: 100,
          color: '#00c893',
          opacity: 1,
        },
      ],
    },
  },
  dataLabels: {
    style: {
      colors: ['#6667ab'],
    },
  },
}
const series = [
  {
    name: 'Days',
    data: [352, 203, 126, 51, 8],
  },
]

onMounted(() => {
  nextTick(() => {
    window.dispatchEvent(new Event('resize'))
  })
})
</script>

<template>
  <div>
    <apexchart
      class="hidden lg:block w-470px" :options="options" :series="series"
      width="470"
    />
    <apexchart
      class="lg:hidden" :options="options" :series="series"
      width="370"
    />
  </div>
</template>

Thanks, that works like a charm.
My code was pretty similar to your, but I tried to do the refresh at the plugin side and not at the component side. Something along the lines:
plugins/apex.client.ts (not working)
import VueApexCharts from 'vue3-apexcharts'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(VueApexCharts)

  nuxtApp.hook('page:finish', (pageComponent) => {
    nextTick()
    window.dispatchEvent(new Event('resize'))
  })

})

But I couldn't find why this didn't work.

I added a key to the graph and it worked.
<apexchart type="area" :options="options" :series="series" :key="chart-items-${series[0].data.length}"></apexchart>

Window.dispatchEvent(new Event('resize')) on both onMounted and updated caused a visible flick of the duplicate before it got removed. Solved it by reassigning the data.
onMounted(() => {
      nextTick(() => {
        series.value = [...props.graphData];
      })
    })

Also faced this same, and updating the data on beforeMount worked for me.

I added a ":key" to the graph and it solved.
<apexchart type="area" :options="options" :series="series" :key="chart-items-${series[0].data.length}"></apexchart>

I love this solution better using :key which forces a component re-render and the best thing is that apex-charts retains its animation with this approach.

there is still flick when doing  window.dispatchEvent(new Event('resize'));. Is there a better solution?

New version issued just 2 days ago. This issue should not happen anymore. Your hot fixes should be safe to remove.


Add 'seen' plugin

Adds the 'seen' plugin which adds the command .seen <user> (with alias .lastseen <user>).
The plugin tracks whenever a user interacts in a channel Cardinal is in, logging their most recent action and when it occurred.
Other users can then look up when the user was last active.
This tracking does not persist across reboots of the bot or reloads of the plugin.
The plugin tracks the following events:

irc.privmsg (channel messages only)
irc.notice (channel notices only)
irc.nick
irc.mode
irc.topic
irc.join
irc.part
irc.quit

Hey thanks, this looks great. Sorry I missed it earlier. I'll test this out and merge it soon.

This looks great as a first pass! I did have one comment I'd like to see addressed. Separately, I wondered if you would be willing to add a small amount of code to persist this data across Cardinal reboots using a lightweight database method that was recently added. I wrote up a quick wiki page on it: https://github.com/JohnMaguire/Cardinal/wiki/Database-Access

I updated this to use a persistent DB, which you can see here: https://github.com/JohnMaguire/Cardinal/tree/seen-plugin
I haven't taken the time yet to actually test out each of these event handlers though, so am not merging to master quite yet. If anyone else wants to take a crack at testing it, that'd be awesome!

Alright - all merged. Enabled it by default in 19191f973cbea1b2001f6812f9b4004d777c6b03.


Exception in doc

https://github.com/brycx/orion/blob/f5db759f157921c31c571868757900eedd2bcdcf/src/aead.rs#L48-L57
I do not like the word "Exception" here, because Rust doesn't have the term exception in its library, in contrast to other languages, e.g. C#, Java, C++, ...
The Rust documentation ueses the word "Panics" when it will panic under certain conditions (e.g. u32::overflowing_div).
I would suggest to adopt the phrasing.

You're right that "Exception" probably isn't the correct phrasing. However, those items listed under "Exceptions" are conditions that, when met, will cause the function to return and Err and not directly cause a panic. Perhaps rephrasing to "Errors" would be the most appropriate?

Errors sounds fine to me.
You want to rephrase the next sentence then to

An error will be returned if

Great! Thank you for the issue @hellow554!


When hovering an opcode the highlight doesn't extend to the edge of the table

When you hover over an opcode, the "highlight" doesn't extend till the edge of the table (it doesn't cover the "expand column"), I believe it would look cleaner if it did extend to the full width of the table, which is also the behavior of the expanded info

*reported by D

Fixed in #66


behind corporate proxy: all containers proxied

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?
I have the same issue mentioned in https://github.com/containous/traefik/issues/1110, https://github.com/containous/traefik/issues/3978.
When I enter proxy environment variables in my Traefik container, all containers behind Traefik are unreachable, and you get an error message from the corporate proxy instead. For some reason, the traffic between Traefik and the proxied containers, passes over (or tries to pass over) the corporate proxy.
In this case: proxy is running on the docker host, on port 8080.The IP in the compose file is the ip of docker0.
If I remove the proxy environment variables from the compose file, it works perfectly, but I can't get the certificates signed.
Compose file:
version: "3"

services:
  traefik:
    image: traefik:alpine
    ports:
      - 80:80
      - 443:443
    volumes:
      - $PWD/traefik.toml:/traefik.toml
      - $PWD/acme.json:/acme.json
      - /var/run/docker.sock:/var/run/docker.sock
    networks:
      - traefik
    restart: always
    labels:
      - traefik.frontend.rule=Host:monitor.example.com
      - traefik.port=8080
    environment:
      - HTTP_PROXY=<IP_ADDRESS>:8080
      - HTTPS_PROXY=<IP_ADDRESS>:8080

What did you expect to see?
Traefik being able to connect to use Let's Encrypt, proxied containers available.
What did you see instead?
Proxied containers unavailabe, error page of corporate proxy instead
Output of traefik version: (What version of Traefik are you using?)

Version:      v1.7.14
Codename:     maroilles
Go version:   go1.12.8
Built:        2019-08-14_09:46:58AM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
# (paste your configuration here)

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

Hi @TerrorFactor , would you mind switching to our Community Forum https://community.containo.us as it is not a bug but a usage issue? The goal would be to have a better sharing of this knowledge.
The issue is that you are not setting the variable NO_PROXYto Traefik. This variable is a collection of the domain name/IP (strict list separated by commas, or ranges) that should not use the http proxy for connecting to.
So you need to set this to the range of IPs inside Docker. Some references to help: https://askubuntu.com/questions/1139237/no-proxy-for-subnet-or-range-of-ips/1139303 and https://unix.stackexchange.com/questions/23452/set-a-network-range-in-the-no-proxy-environment-variable.


LesionTracker: Error when refresh (F5)

Dear All,
Please shared a error.
I got it when refresh (F5) screen while viewing image of LesionTracker module.
It seem login session lost.

Thank you,
lam0630

It looks like you don't have a server specified. How are you starting the application?
See: https://github.com/OHIF/Viewers/blob/26b14f1dab62ece0232a8c1fae355bac38285695/Packages/ohif-studies/imports/client/lib/retrieveStudyMetadata.js#L47

Hi swederik,
Thank you for your information.
My config has worked smoothly up to now. I also can view image from studylist.
I got the error when F5 at viewer screen ( I got the error much time).
My config file:
ClearCanvasDIMSE_1.json.txt
I run "bin\ClearCanvasDIMSE_1.json" at LesionTracker folder
scenario test:
Login(demo drive)-> studylist->viewer(image displaying) -> F5 -> the error occurs
I did debug after clicking a study at studylist

No error occurs.
Did debug after image viewing and click F5, the OHIF.servers.getCurrentServer() return "undefined"

lam0620

We're getting ready to formally announce version 2 of the OHIF Viewer. After the announcement, version 1 issues will receive lower priority support. As this issue is a bit stale, I'm going to close it for now.
Hopefully you've found your answer since asking. Please don't hesitate to open new issues moving forward ^_^


Error Render: Unable to load texture from

I have read the documentation and when I set up all things it shows an error Render: Unable to load texture from "file location".

Hello! There seem to be fixes for the problem you've encountered.
Try putting it online first: https://github.com/googlevr/vrview/issues/37
If not, then look at your server and scripts: https://github.com/googlevr/vrview/issues/269
Then finally, the image itself might need to be adjusted: https://stackoverflow.com/questions/37474383/vr-view-render-unable-to-load-texture-from-image-jpg


ZF2015-06 fix broke the ZF on PHP 5.2

There is an anonymous function which is not supported on PHP 5.2 https://github.com/zendframework/zf1/blob/master/library/Zend/Xml/Security.php#L192
(the Travis is failing)
cc @weierophinney

So accustomed to at least 5.3 (and now 5.5!) that I forgot this when I merged, and none of the reviewers on the security team noticed it either. I'll get a fix in place soon.

@mhujer / @froschdesign / @akrabat Please review!

:+1:


Add tons of sponsors.

switefaster
MarsCloud
PutEgg

Note:

虫小哥
Craft_Kevin
陌余Oucher
龙腾猫跃

Those people haven't told me their GitHub account.

@all-contributors
Add switefaster for financial!

@all-contributors
Add MarsCloud for financial :D

@all-contributors
Add PutEgg for financial helpppppppp~

@all-contributors
Add RicoloveFeng for financial.


Doubts about the installation

First of all I want to thank you for the great work done to produce this integration!
I had used the old one until it worked, and now I wanted to switch to this new one.
I performed the non-manual installation with a reboot, but the integration is not offered.
Examining my installation directory, I saw that there are two folders, the old one brink_home and the new one brink_ventilation
root@deb11:/usr/share/hassio/homeassistant/custom_components# ls -all
total 32
drwxr-xr-x  8 root root 4096 May 16 15:11 .
drwxr-xr-x 11 root root 4096 May 16 18:02 ..
drwxr-xr-x  5 root root 4096 May  8 15:51 alexa_media
drwxr-xr-x  5 root root 4096 Apr 13  2023 brink_home
drwxr-xr-x  4 root root 4096 May 16 15:11 brink_ventilation
drwxr-xr-x 10 root root 4096 Jan 29 21:33 hacs
drwxr-xr-x  4 root root 4096 May  5 10:52 nodered
drwxr-xr-x  2 root root 4096 Nov 11  2023 services
As it is indicated for manual installation
Copy "brink_home" folder to the "/config/custom_components" folder
I have doubts
To resolve this, it is perhaps sufficient to delete the brink home and rename the brink_ventilation folder to brink_home ?

Thank you
Roberto

Hey,
Sorry for such a delayed response.
But you should remove integration from integrations and hacs, then install it regularly through hacs, or just remove integration and put new folder for brink.
Brink-ventilation is the new name

Thank you very much for the information. Now I can check the operational mode and ventilation mode for my model 400 plus unit. Although the status filter message consistently reports a problem, the Brink web application indicates that everything is normal. Regardless, I'm able to control the system again through HA. Thanks!

Thanks, problem solved !


README.txt vs. README.md

Gitea 1.2.0
Description
A plain text README.txt instead of a README.md file in the repository root directory is rendered as Markdown and displayed on the main repository web site.
This can lead to a broken layout because multiple white space characters used for indentation or in ASCII art are replaced by single blancs. Also the font family for plain text should be monospace.
It would be nice if Gitea would render a plain text README.txt using a monospace font without any modifications.

Sounds like a regression. I remember this coming up in the past.

@lafriks I think strk is right. I will check this and send a PR to fix that.

Thanks for the very quick response!
However I think the PR doesn't fix the issue. At least not how I wanted it.
I created an example:
https://try.gitea.io/pmorjan/issue2701
I would prefer the rendering to be similar to the view in the editor:
https://try.gitea.io/pmorjan/issue2701/_edit/master/README.txt

@pmorjan Can't open your second link.

sorry, hop this renders correctly
     /\_____/\
     |  o o  |
    __\__^__/__
   (__/     \__)
    _|   .   |_
   (__\_____/__)

@pmorjan yes, I get it now.

@pmorjan please open for that new issue as bug was fixed:
https://try.gitea.io/lafriks/issue2701
monospace font for text still needs to be implemented


Question about the generation for style-mixed images and morphed images as shown in Figure 5 in the main paper

Hi!
I would like to ask you about which codes I run for generating the style-mixed and morphed images.
Thanks!

Hi,
I am following [1,2] for style-mixing and image morphing. You may reuse some codes from Image_Projector under Evaluation/image_projection/image_projector.py to implement the two editing.
[1] Abdal, Rameen, Yipeng Qin, and Peter Wonka. "Image2stylegan: How to embed images into the stylegan latent space?." Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019.
[2] Abdal, Rameen, Yipeng Qin, and Peter Wonka. "Image2stylegan++: How to edit the embedded images?." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020.

Thank you so much!


BUG: Fix stages connections when stacks ordering is skipped

Update variable naming nomenclature in input_stage

Hello @pdedumast! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pymialsrtk/workflows/input_stage.py:

Line 84:80: E501 line too long (81 > 79 characters)
Line 90:80: E501 line too long (81 > 79 characters)
Line 99:80: E501 line too long (81 > 79 characters)


⚠ Processors has degraded performance

In 135267f, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: Processors performance has improved in 32e77bf.


Mutation scan fails but all test cases are passing with node 18

**Question
Mutation scan fails but all test cases are passing
Stryker environment

+--<EMAIL_ADDRESS>with<EMAIL_ADDRESS>

+--<EMAIL_ADDRESS>
Additional context
Mutation scan fails but all the test cases are passing. If you have come across same scenario can you please share those details, if not can you analyse why is this happening and provide the fix for it, so we can run mutation scan for our repo.

Hi @vikhil1999, welcome.
Without more details, it is difficult to know what might be wrong.
Can you provide:

the logs
a description of your setup
maybe even a small reproduction example?

I also noticed that you are using an older version of StrykerJS. Please upgrade to the latest version.


Integration with SwiftUI

Hi, I am doing the library integration via SPM to my project in SwiftUI, but I have a problem because the Done at the top of the Tatsi view is not called and I can't get the selected images.
The code for the integration via UIViewControllerRepresentable is as follows:
import SwiftUI
import UIKit
// 1. Add Import Tatsi and Import Photos to your Swift
import Tatsi
import Photos

struct TatsiViewController: UIViewControllerRepresentable {

    @Binding var show: Bool

    func makeCoordinator() -> Coordinator {
        Coordinator(self)
    }

    func makeUIViewController(context: UIViewControllerRepresentableContext<TatsiViewController>) -> TatsiPickerViewController {

        // 2. (Optional) Create an instance of TatsiConfig and configure the settings.
        var config = TatsiConfig.default
        config.showCameraOption = false
        config.supportedMediaTypes = [.image]
        config.firstView = .userLibrary

        // 3. Create an instance of TatsiPickerViewController. TatsiPickerViewController(config:) allows you to use the config from the previous step
        let pickerViewController = TatsiPickerViewController(config: config)
        // 5. Set the pickerDelegate on TatsiPickerViewController
        pickerViewController.delegate = context.coordinator
        // 6. Present the TatsiPickerViewController
        return pickerViewController
    }

    func updateUIViewController(_ uiViewController: TatsiPickerViewController, context: UIViewControllerRepresentableContext<TatsiViewController>) {
        uiViewController.delegate = context.coordinator
    }

    // 4. Implement TatsiPickerViewControllerDelegate
    final class Coordinator: NSObject, TatsiPickerViewControllerDelegate, UINavigationControllerDelegate {

        var parent: TatsiViewController

        init(_ parent: TatsiViewController) {
            self.parent = parent
        }

        func pickerViewController(_ pickerViewController: TatsiPickerViewController, didPickAssets assets: [PHAsset]) {
            print("Picked assets: \(assets)")
            parent.show = false
        }

        func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
            picker.dismiss(animated: true, completion: nil)
            parent.show = false
        }

        func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
            picker.dismiss(animated: true, completion: nil)
            parent.show = false
        }
    }
}

What do I need to integrate in order to obtain the selected images? Thank you!

What you need to do is implement the following methods in your coordinator:
func pickerViewController(_ pickerViewController: TatsiPickerViewController, didPickAssets assets: [PHAsset])

Is what will be called when the done button is pressed, with the assets the user has selected. Here you are also responsible for dismissing the pickerViewController yourself.
Next you also need to implement:
func pickerViewControllerDidCancel(_ pickerViewController: TatsiPickerViewController)

Which is called when the user taps the cancel button, in this case you also have to dismiss the pickerViewController yourself.
Any methods from UINavigationControllerDelegate or UIImagePickerControllerDelegate do not have to be implemented.
I hope this helps you :)

I also tried the same, where I am using the below code. But both cancel and done are not working as expected.
func pickerViewController(_ pickerViewController: TatsiPickerViewController, didPickAssets assets: [PHAsset]) {
      parent.isShown.toggle()
  }

  func pickerViewControllerDidCancel(_ pickerViewController: TatsiPickerViewController) {
      pickerViewController.dismiss(animated: true, completion: nil)
      parent.isShown.toggle()
  }


updated latitudes and longitudes, added comments in map-data.js file

Changed latitudes and longitudes in the map-data.js file, added comments.

great job!


Came back with a big surprise.

Hello ! I think you remember me.
As you know,i have failed before while doing a Turkish translation.
But now,I have surprisely made a new Turkish translation.
Don't worry about anything,i translated true and some of them may not participate in google translate,but they are true again and they are cool.Don't worry,im very sure,trust me. 👍
File :
Reforged-1.12.zip
I didn't test but im gonna tell when i do.

Btw i worry about something :
Is there any problem with turkish letters ? ("Ç,Ü,Ğ,Ş,ı,İ,Ö)

I may not have modding basics and i may not develop,but i like translating. :)


how to modify the proxy grpc tls

May I ask how to modify the rocketmq-proxy grpc tls certificate, I can't find the relevant documents.
this does not apply
https://github.com/apache/rocketmq/blob/develop/docs/en/Configuration_TLS.md
Now my solution is to use nginx grpc reverse proxy, but I still want to know how to modify grpc tls certificate

Solved. Proxy grpc related information hope to add。
rmq-proxy.json
{
"rocketMQClusterName": "DefaultCluster",
"grpcTlsTestModeEnable": false,
"grpcTlsKeyPath": "/usr/local/rocketmq/conf/tls/server.key",
"grpcTlsCertPath": "/usr/local/rocketmq/conf/tls/server.pem"
}


The method from_now of Class: BusinessTime::BusinessDays returns different results under the same context

The Method from_now of Class: BusinessTime::BusinessDays is used to calculate a specific date in a Ruby on Rails application. Sometimes (only sometimes!) wrong date was delivered back at a specific point. I just could not find out what the problem is, until I placed the following lines into my code, just for the sake of experiementing:
puts "500.business_days&.from_now1: #{500.business_days&.from_now}"
puts "500.business_days&.from_now2: #{500.business_days&.from_now}"
puts "500.business_days&.from_now3: #{500.business_days&.from_now}"
puts "500.business_days&.from_now4: #{500.business_days&.from_now}"
puts "500.business_days&.from_now5: #{500.business_days&.from_now}"
puts "500.business_days&.from_now6: #{500.business_days&.from_now}"
puts "500.business_days&.from_now7: #{500.business_days&.from_now}"

This is the screenshot, what was returned on the console:

Here is a content of the console as text:
500.business_days&.from_now1: 2024-12-30 09:00:00 +0100
500.business_days&.from_now2: 2024-12-30 09:00:00 +0100
500.business_days&.from_now3: 2024-11-29 09:00:00 +0100
500.business_days&.from_now4: 2024-12-19 09:00:00 +0100
500.business_days&.from_now5: 2024-12-30 09:00:00 +0100
500.business_days&.from_now6: 2024-12-30 09:00:00 +0100
500.business_days&.from_now7: 2024-12-30 09:00:00 +0100

As you see, sometimes the Date 2024-11-29 is returned but sometimes 2024-12-30.
This might be a bug, or something I do not understand.

What version of Ruby are you using?

What version of Ruby are you using?

3.0.5

I have not been able to reproduce this yet:
>> RUBY_VERSION
=> "3.0.5"
?> def run
?>   50.times { |i| puts "500.business_days.from_now#{i}: #{500.business_days.from_now}" }
>> end
=> :run
>> run
500.business_days.from_now0: 2024-12-02 09:00:00 -0700
# (... all the same)
500.business_days.from_now49: 2024-12-02 09:00:00 -0700
=> 50

What kind of holiday and/or other configuration are you using?

If I run the line 50.times { |i| puts "500.business_days.from_now#{i}: #{500.business_days.from_now}" } on the console as you did, I also cannot reproduce the effect.
But if I just randomly put the line into a method in the code which is triggered in a cucumber test scenario, then I can reproduce the effect:

@rmm5t is there any update on the issue? the bug is still present


Prepare grapes dataset

Take the first steps towards creating a train/val dataset for our CNN treatment of grapes on the vine.
Feel free to edit this first comment to specify your goals for this milestone, @ivanprado.

@amlarraz has trained a Faster-RCNN model with a grapes dataset and results are pretty promising. I propose the following next steps:

Isolate a dataset just with clusters. That will need a tool for cropping images from bboxes
Label clusters to have a dataset.
Train deeplab with the dataset.
Try to detect individual grapes, and get information as cluster compactness, etc.

I think I can take care of 1 and 4 and @amlarraz can work on 2 and 3.
@amlarraz how do you see this plan? I will need you to upload the dataset to S3 so that I can work on point 1.

I see all perfect @ivanprado, however first I'm going to finish the labelling in the entire dataset (only have 140 images labelled from 300), and then I'll upload to S3, launch another training with all images, and go to segmentation tasks 2 and 3. Do you think is ok or do you want I upload the things I already have to test?

@amlarraz perfect, go ahead! I can work on 1 without the dataset.

I have created a tool for cropping isolated objects from annotations.
Crops uploaded to S3. @amlarraz look at folder Crops.

Maybe we can use the approach in: http://www.vitivinicultura.net/tecnologia-vinedo.html to detect the cluster compactness

Sure, that can be a starting point.
On Thu, Apr 6, 2017 at 5:40 PM, amlarraz<EMAIL_ADDRESS>wrote:

Maybe we can use the approach in: http://www.vitivinicultura.
net/tecnologia-vinedo.html to detect the cluster compactness
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/splashblot/dronedb/issues/11#issuecomment-292214424,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2q6IABnlVb8wV0LV2lQKX5b7PWTDjaks5rtQdlgaJpZM4MY3Ff
.

Create a tool to doing the "complete inferences" this mean:
1.- Create inferences in Faster-RCNN (works in faster-rcnn-Tensorflow)
2.- Crop the bboxes detected in Faster-RCNN and make inferences using DeeplabV2 (Tensorflow) over this crops.
3.- Draw the DeeplabV2 inference smoothy-border over each crop.
4.- Overlap the crops and the original image and draw the faster-RCNN bboxes and save.


Regarding the issue with ReoGridCellUtility

I am writing to bring to your attention an issue I recently encountered with the ReoGrid software. Specifically, I have noticed that the method "ReoGridCellUtility" has been removed in the latest version of the software. However, I could not find any information about this change in the official documentation.
As a user of the ReoGrid software, I rely on the accuracy and completeness of the documentation provided. It is concerning to me that a significant change like the removal of a method would not be properly documented or mentioned in any release notes.
I kindly request that the ReoGrid team updates the documentation to reflect the removal of the "ReoGridCellUtility" method. This will help users like myself to keep up to date with the changes in the software and avoid any issues in our work.

This calss may have been renamed to CellUtility.
Source: https://github.com/unvell/ReoGrid/blob/master/ReoGrid/Core/Cell.cs#L1268


Open tabs in background

One flow I like when I'm reading feeds is to open a bunch of articles tabs and then go through them all. It would be nice if the v shortcut opened in a background tab, or there was another shortcut for this, so the Stringer tab keeps focus.

Closing due to lack of interest - feel free to reopen if you want to continue discussion.


Ameerul / FEQ-2666 "No" is selected by default in rating and recommendation modal

Added new get values in useExtendedOrderDetails to return the correct value for if the user was rated previously and is recommended based on if it is their advert.
added test cases

https://github.com/user-attachments/assets/c9f0f293-b64f-4dab-988a-b12170f51606

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.438%

Totals

Change from base Build<PHONE_NUMBER>2:
0.01%

Covered Lines:
5934

Relevant Lines:
6476

💛  - Coveralls


Paper support(i don't know if has)?

I can see no relation to this repo, because it is created for testing plugins and not included in the jar file (if not specified).

Paper is currently not supported, although I see no reason support for it couldn't be added. But until such support is added, you should try to only use Bukkit APIs.
If you absolutely need to use Paper functions, you could use the same solution used for running NMS code with MockBukkit #139. This solution involves wrapping the Paper functions in a interface, and passing an implementing class in via the constructor. During testing, an alternative implementation of that interface can be provided which stubs out those functions.

I have a branch for this ...but its proving a nightmare to use Paper due to all the Static loads that paper usings in the SimplePluginManager.

Also Paper is now providing a stack of methods from Adventure - I would suggest this be closed as label:wontfix

If mockbukkit would compile against paper and stub/implement the missing methods, it would still be usable for spigot plugins, right? As spigot plugins work against the paper api without issues.
It ppl agree, I would be willing to change the compile target and get it compile clean.

@MiniDigger It should still be usable for spigot plugins, yes.
However if we were to target the paper-api, We could also just have a dedicated MockBukkit/MockPaper repository for it just incase.
Right now one of our biggest obstacles are ever-changing method signatures in the Spigot-API, thanks to it's -SNAPSHOT versioning scheme. Every couple of days, method signatures change and we need to add new stubs or edit existing ones.
Targeting an exact version also seems impossible, as spigot's repository auto-purges older jars under the same snapshot.
Not sure if Paper's repository supports specific versions to be built against.
But given that Paper's development progresses much faster than Spigot's, this problem will likely scale up.
Eventually we will probably need to create an automatic "stub and fix" workflow which we can put on a cron job. Or perhaps you have a better idea how to tackle this issue?
Anyway, for now targeting the paper-api is probably not in reach.
Not until this problem has been addressed at least.

I would suggest this be closed as label:wontfix

@Narimm
I do wanna keep the issue open at the moment since a dedicated Paper mock (or switching completely to Paper-API for when Spigot continues to fade) is something I am generally open to.
It is a legtimate request and Paper has also taken the lead already. (👀 https://bstats.org/global/bukkit#serverSoftware)

Not sure if Paper's repository supports specific versions to be built against.

pretty sure we recently disabled auto purge, our repo should keep snapshots indefinitely (or for two years, I can't remember what we decided) now.
I don't know exactly how MockBukkit works, but maybe it would be possible to have a MockPaper project that is able to extend the MockBukkit classes and just adds the methods paper adds?
Traditional mock apis work on bytecode level, to circumvent the fact that you have to implement every method, even tho you only want to mock a simple one. maybe it would be more future proof to implement mockbukkit as a list of when-then calls in mockito or something?

It is a legtimate request and Paper has also taken the lead already
to further prove that point home: historical bstats data for this: https://kennytv.eu/secretgraph/

pretty sure we recently disabled auto purge, our repo should keep snapshots indefinitely (or for two years, I can't remember what we decided) now.

Hmm, that would certainly help. Could you perhaps confirm this? If so, then I will definitely look into either changing the target to paper-api or creating a MockPaper repository for it as a prototype. If that would help solve our current stub problem, then that would be a hard argument in favour of it, two years is plenty of time to manually bump the version inbetween.
Though I will have to discuss this with @seeseemelk internally.

I don't know exactly how MockBukkit works, but maybe it would be possible to have a MockPaper project that is able to extend the MockBukkit classes and just adds the methods paper adds?

It could be possible, though I am not 100% sure, will have to see what the best approach would be.
Thanks for your input though!

to further prove that point home: historical bstats data for this: https://kennytv.eu/secretgraph/

This graph is really interesting to me. Given that it seems that Paper is being used more that Spigot, I'd definitely say that we should perhaps prioritize Paper over pure Spigot.

pretty sure we recently disabled auto purge, our repo should keep snapshots indefinitely (or for two years, I can't remember what we decided) now.

Hmm, that would certainly help. Could you perhaps confirm this?

I would also like to know this.

Isn't Bukkit outdated anyway? Like? Why use Bukkit when you can use Spigot? Why use Spigot when you can use Paper?

is there any update?
I'm working on a library that relies on the paper API, so I'm really looking forward to it!
If necessary, I can create a PR to replace the dependency with paper-api.

https://papermc.io/repo/#browse/browse:maven-snapshots:io%2Fpapermc%2Fpaper%2Fpaper-api%2F1.18.1-R0.1-SNAPSHOT%2F1.18.1-R0.1-20211219.173229-16
It looks like the snapshot of paper is still intact, so you can build for a specific version by specifying the following
dependencies {
    api "io.papermc.paper:paper-api:1.18.1-R0.1-20211219.173229-16"
}

(And perhaps we should use implementation instead of api)

Has any more thought been put into this? I would love to see it and right now there are actually some issues with the Adventure API, specifically when calling the PlayerJoinEvent when adding a player. As Paper grows and more developers are building plugins around it, this would be great to have as long as specific builds can be targeted.

I think this Issue can now be closed since Paper Support has been added

I think this Issue can now be closed since Paper Support has been added

related issue appears to be #347

MockBukkit officially uses the Paper API now, as of #347 (release v2.0.0 +)


Update sbt-typelevel-ci-release, ... to 0.4.19

Updates

org.typelevel:sbt-typelevel-ci-release
org.typelevel:sbt-typelevel-settings

from 0.4.18 to 0.4.19.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #283.


Fails to install on older Windows 10 Versions

Microsoft PowerToys version
PowerToysUserSetup-0.76.1-x64.exe
Installation method
GitHub
Running as admin
None
Area(s) with issue?
Installer
Steps to reproduce
Try to install on an older version of Windows 10
✔ Expected Behavior
It should work, what happened to backwards compatibility, Microsoft!?
❌ Actual Behavior
Fails to install, see image:

Other Software
.

Hi @missmah
Which version of Windows 10 are you using?
Note that the minimum supported version 2004 (20H1) it's a very old version whose support has ended on Dec 14, 2021: https://learn.microsoft.com/lifecycle/products/windows-10-home-and-pro
/needinfo

Version 10.0.17134 Build 17134

For reference, this kind of dialog box is more what I would hope and expect from Microsoft w.r.t. this situation:

Bump..