fix: Install pip and pip-tools in upgrade script

Added pip-tools requirements files and updated the upgrade target script to check the compatibility of upgraded pip and pip-tools versions. For reference, look at this https://github.com/openedx/edx-repo-health/pull/271 for new check added in edx-repo-health.

Conflicts need to be resolved first.

Existing conflicts need to be resolved first.


Issue with changing the subdirectory and socket path accordingly

I've wanted to deploy the current state in production - when changing the IP in the config to <IP_ADDRESS> in config/env/default.json (to e.g. put an apache server before the application itself), it seems like the application is ignoring the config parameter.
Any suggestions or ideas?
Edit(s): This is actually working now: It seems like this is more a simple logging issue since the server is also reachable via <IP_ADDRESS> but only prints the network interface adapter adresses.
However, there is still the issue named underneath with the subdirectories (this is optional) and another one with the websockets: I deployed a test project here and I can not figure out why the websockets are not opened correctly. The current configuration is:
 // websockets configuration
  "websockets": {
    "path": "paraspace/socket",
    "url": "",
    "pingInterval": 5000
  },

It would be interesting to change the "subdirectory" in which the process is running as well.

The IP config entry does not change anything server side, it's only made for node.js clients as written in the comments: https://github.com/collective-soundworks/soundworks-template/blob/907ecdf893aece77554ff8639a40026f611928eb/config/env/default.json#L15
To achieve what you want, from what I understand having a nginx or apache proxy, you need to set the 3 configuration options (port, assetsDomain and websockets.path) the application such as:
  // config/env/prod.json
  port: 8001, // or whatever port...

  // domain
  assetsDomain: '/paraspace/',

  // websockets configuration
  websockets: {
    path: 'paraspace/socket',
    url: '',
    pingInterval: 5000
  },

Then, assuming the node server is listening the 8001 port, you need to configure your proxy so that requests to paraspace are redirected to the 8001 port. In both case (nginx or apache) you will also need to configure the websocket tunnelling.
To launch and orchestrate your applications, you can use a dedicated tool such as pm2 (https://pm2.keymetrics.io/) which works really well.
(I guess that's another documentation page I need to write :), I will start an issue to list all these)

#33 # #

Okay thanks.
After some investigation it seems like there is issue with the final binding of the web sockets, probably caused by the nginx configuration.
However, it is weird that I have running another, quite plain, node application on the same server with the same configuration which is also configured with websockets (socketio) and which is working quite well.
Current approach: As in the example https://shining.uber.space/paraspace/ named above, the path on which the client wants to connect seems valid. Is there any chance to log the websocket url opened by the server? I've digged deeper into the soundworks core yesterday and haven't found something that seems really helpful. Any further ideas on how to investigate this issue?
The error message can be found in the logs:

WebSocket connection to 'wss://shining.uber.space/paraspace/socket?binary=0&clientType=player&key=3991080189674012' failed:  init	@	Socket.js?b9ea:102

Maybe this affects more than only this test environment, but I can't say for sure where it fails concretely. If you've interested in (re)creating the same scenario https://uberspace.de/de/ offers free webservers for the first month after setup. You can basically just deploy the soundworks-template and expose it via their web backend s.

Ok I think I found the problem, there is an inconsistency between how the socket and how regular files are handled with rewriting rules.
The socket path should not be rewritten as the regular files, therefore this lead to the following configuration

project located in my-app subfolder
server listening on 8001 port

Apache
RewriteCond %{REQUEST_URI}  ^/my-app/socket       [NC]
RewriteRule /(.*)           ws://<IP_ADDRESS>:8001/$1 [P,L]
<Location "/my-app">
  ProxyPass "http://<IP_ADDRESS>:8001"
</Location>

Nginx (tested locally)
events {
    # configuration of connection processing
}

http {
  map $http_upgrade $connection_upgrade {
     default upgrade;
     '' close;
  }

  server {
    listen 80;

    location / {
      root /path/to/nginx;
    }

    # rewrite rule for regular files
    location /my-app/ {
      rewrite ^/my-app(.*)$ $1 break;
      proxy_pass http://localhost:8001;
    }

    # special location for the websocket without rewrite rule
    location /test/socket {
      rewrite_log  on;

      proxy_pass http://localhost:8001;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection $connection_upgrade;
    }
  }
}

This should be made more consistent inside the @soundworks/core but this would probably be a breaking change, and at least it seems to work both with apache and nginx, so let's hope documenting the problem is enough for now.
Hope this helps, let me know if it works on your side.

Haha, I wrote a more precise issue here exactly at the same time: https://github.com/collective-soundworks/soundworks/issues/35
I think we can close this one and maybe also one of the others - I'll check this.


[traceback] django.db.models.fields.related in get  DoesNotExist: Addon has no persona.

steps to reproduce:

Load  https://addons.mozilla.org/fa/firefox/addon/bb-8-theme

sentry:
https://sentry.prod.mozaws.net/operations/olympia-prod/group/151490/
traceback details:
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "addons/decorators.py", line 43, in wrapper
return f(request, addon, *args, **kw)
File "addons/views.py", line 86, in addon_detail
return persona_detail(request, addon)
File "mobility/decorators.py", line 23, in wrapper
return f(request, *args, **kw)
File "addons/views.py", line 168, in persona_detail
persona = addon.persona
File "django/db/models/fields/related.py", line 206, in get
self.related.get_accessor_name()))

Dupe of #1282.


#1668-fix-faction-mapping

fixes #1668:
-changes the order in the Faction enum so it reflects the order the server reports in
-added a comment to explain why the order is important, since that is not intuitive
-that fixes the icons in the replay overview being wrong for everything but Sera

Please check where else this enum is used!!!

is this definately right order? in api aeon is first


Create Interface to Julia's DataFrame

Create interface between D4M's Assoc to Julia's native DataFrame in the statistics package.

Completed.  Users should be able to create DataFrame from Assoc and vice versa.


Use controller inheritance

I just wrote a new topic about that at stack overflow.
But I also think that could be a good improvement to sails.js to have inheritance for controllers. To have a super controller preconfigured and that all our custom controllers inherit on this super controller. More object oriented actually.
With also some magic function such as before and after to run stuff automatically before each method called into the controller.
Could be really useful for all the validation process.
I'm currently learning ruby and I see that sails.js is strongly based on rails, but javascript is really poor in comparison to ruby. Controller inheritance is, for me, something really basic that should be included. Same with the models.

+1

Seems relevant: https://sailsjs.com/documentation/concepts/blueprints/blueprint-routes#?restful-routes


Super Ecchi - ptbr source request

Source name
Super Ecchi
Source link
https://superecchi.com/
Source language
Portuguese
Other details
No response
Acknowledgements

[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Looks like Hitomi.la but without the obfuscation.


isnetwork.ISNAutoItStudio version 1.13

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Uploaded updated yaml files and english locale.


Zotistics graph has labels on the x axis.

Here's what it looks like rn:

And here's what I'm imagining it should look like:

There's questions marks on the last two because I don't even know what they are. My guess is pass and no pass but idk for sure.

Yeah the last two bars should be for Pass and No Pass. When we query for grades, we use this as the query string, which includes P and NP count at the end:
const queryString = `
    { aggregateGrades(department: "${deptCode}", courseNumber: "${courseNumber}", ) {
    gradeDistribution {
    gradeACount
    gradeBCount
    gradeCCount
    gradeDCount
    gradeFCount
    gradePCount
    gradeNPCount
    averageGPA
    }
    },
}`;

working on this


AFrame: Left hand mismatching poses

In the A-Frame handy-controls component, the left hand's poses don't correspond to those detected by the right hand.
Added below:

Demo video, showing all the detected poses and events.
Poses comparison, highlighting the inconsistent poses from the left hand.
Link to Glitch project, the basic scene I used in the demo video to log in VR mode all the poses and events.

@AdaRoseCannon, I haven't found out what is causing this problem, but I'll be more than happy to help QA test any changes you might make if/when you work on this issue. So just ping me 🙂
PS: apparently, both hands cannot detect other standard WebXR API events such as squeeze, squeezestart, and squeezeend.
(IDK if you are going to fix this part in another dedicated issue, or still here).
Demo Video
https://github.com/AdaRoseCannon/handy-work/assets/30973948/1008fb99-fe22-4ce1-b7a0-c629538a9aba
Poses Comparison

Glitch Link
https://glitch.com/edit/#!/handy-controls-poses-events?path=index.html%3A1%3A0

The middle set of poses are not defined in handy-work so just get mapped to the closest
The main difference between flat and relax is the thumb so that is probably the difference with the last pose.
The best way to get better behaviour is to record and add more poses.

Regarding squeeze start and end you should listen for those on the XRInput itself as theye are supplied by the system.

Thank you for your quick response! Could you share any info on how to record new poses?

The dumpHands() method in handy-work.js

Thanks, Ada!


Consider suppress some log output

most of the Docker build logs
logs for gcloud sdk installation

I am going to close this as it seems obsolete, we use a different build system anyway.


how to create my rain dataset?

Hello, can you tell us how to create a rainy day images for my dataset?

Hi, please check the dataset.py which contains the code for rainy image augmentation.


Cookie Improvement

Description
This change adds support for adding, removing cookies on top of currently supported retrieval.
Breaking changes:

Added a new middleware. This middleware is required to be added for the features to work
ExtractCookies is renamed to CookiesExt because this is no longer just extraction feature

Motivation and Context
Every web application needs to deal with cookies at some stage. Hopefully this approach is simple and ergonomic
How Has This Been Tested?
Test cases written for simple cases. Examples included for basic features.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

/ping @aturon @yoshuawuyts @bIgBV
Ready for initial feedback

I think I should change CookiesExt to return Result. And send an internal error response in case of middleware.

Ready for merge. Build fail because of futures api change.

LGTM. The only thing I'd say (and this is just commentary) is that we may want to come up with a better term for these extension traits. If _Ext is to be the standard (which I'm fine with), I should probably rename the trait in #175.
Then again, we can rename them both so long as it happens before a release, now that 0.1.0 is out in the wild.

@secretfader Agreed re: needing a solid convention here. I've opened an issue.

I'm gonna go ahead and merge and will fix the nits in follow-up.
Thanks so much @mmrath, this is great work!


Implement Organization Team Screen

Description:
Develop a screen to display the organization's team with filters based on their office. Add filters to navigations as query parameters.

Closed as fixed, please if you notice that the issue still exists open it again.


Chlodochar pr removedist

develp merge + dockerfile updates for a fully working, ready to distribute container

Click here if you want to create eslint's auto-correct Pull Request

See the documentation if you want to get more information about auto-correct.
Document

"39 messages, what the shit!?!"


Equilibrium Point in an array

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
Equilibrium Point in an array
Motivation
(Please outline the motivation for the proposal.)
Pitch
(Please explain why this feature should be implemented and how it would be used.)

/assign


Glitch With Physics Hands

Hello oxters168, I tried out the hands in my unity project but they keep floating away/sometimes slowly moving towards my IRL hands but rotating + floating in weird ways. The hand anchors are set correctly and everything is imported and in the right place. Do you know how to fix this?

Is this happening after modifications, or is this from vanilla cloning? From what you're describing, it sounds like the headset is losing tracking often, so you might want to check that your play area is well lit and that the headset cameras are clean. If that is not the issue then can you record this happening so I can try and understand more.

This is from vanilla cloning. It's not tracking as I just successfully tested a hand tracking game under the same conditions. I will record a video.

https://imgur.com/a/QB7On3G
It may look like the hands are in my real hand's positions but they're not. It seems as if the hands are very slowly attaching themselves to my IRL hands, rather than quickly.

I just had a look at your video. The current way I have the hands programmed causes them to sometimes slowly move back into place (they use physics to move into place, so if you have changed physics settings it can affect them). But once they're in place, they should keep up fine. When they lose tracking they might slightly fly away making them have to slowly come back again when tracking is back. I'm still working on this as I also don't like it either, but this is the current state of these hands. When the hands do catch up to your real hands, are they off at all, like rotated incorrectly or something? There's a chance that might happen if you disable then re-enable them. There isn't much I can do now to fix either issue, but when I get a chance to work on them, I'll see what I can do about it. If you think the issue is something else, let me know.

Also, I forgot to mention something. First off, what you're working on looks really cool! Secondly, I've never tested the hand tracking through the link cable in the Unity editor, so maybe that is something that might be causing the issue? I doubt it, but thought I'd mention it anyways.

I just thought of something else a bit more obscure that might be causing the issue. The hands are each on a different layer that I had created, don't remember which indices though. So you might be already be using those layers for something else that might be affecting the hands in some way? A bit of a stretch, but could be possible.

Was the layer called "Hand"? cause it did auto-set Hand as it's layer

Ok, it wasn't the layers. I set to default on both the hands and it still had the same results.

I'm getting an error when I play that says:
"MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object."
It could be an error with transform(s) in the script? I don't know.

Yeah, the layers are HandL and HandR. I pushed a change that should fix the error. Though I don't think it's related to your initial issue. I have an idea of something that might fix the issue though. Find the ProjectSettings.asset file in the Library folder. Then change it's extension or move it out of that folder to back it up. Then open Unity again and see if anything has changed

I just pushed another change that snaps the hands into place if they're too far, rather than slowly coming back in. They still drift off when losing tracking, but they snap back in place when tracking is back.

Ok I tested it out and it's working okay, but I've found that the biggest issue is rotating your hands in any way. It causes the physics hands to become disfigured, even when your tracking is fine.

I just pushed another change similar to the previous one but this time for rotational offset. And I adjusted the values to be reasonable so that the hands don't just phase through everything. I'm not sure if I'm fixing your issue though because I'm still unsure if your issue is related to this or not. If possible, it would help to test directly in your project or a stripped down version with the issue. Oh and you know, I just realized I didn't ask what version of Unity you're using and what version of the Oculus integration asset you have

Both recently pushed changes didn't really fix the problem, they just limited the extent of it. Big things I noticed were the thumb keeps bending downwards at the base, and without the position + rotation snap (which makes it really choppy at a small range) the hands are very slow to return to the hand anchors. I'm not quite sure how everything works but couldn't you just parent the hands to the anchors or in someway fix it to the anchors? Btw I'm using unity 2019.1.0f2 and the latest version of the Oculus SDK. Thanks for all the help!

This project was created with Unity 2019.2.19f1 and while that is different from your version, I don't expect it should cause an issue. It would be a good idea to make a copy of your project and update it just to make sure it isn't. And if it still isn't the issue, would you mind sending me your project or at least a stripped down version of it with just the issue so I can try to directly work with it. I can't seem to replicate the issue so it's quite difficult trying to fix it without having direct results.

I updated my unity version and the hands work fine, except the issue with the thumb weirdly bending down is still there. I've also found that no matter how large I set the max pos offset the hand still clips through objects. The physics are great though keep it up!

I pushed another update that allows you to turn off the max offset stuff. But even when they're off, there is some degree of phasing through objects based on how fast the hands are going or other physics stuff. You can probably get better results by messing with the physics settings of Unity. I don't know why the thumb is giving you issues though.


Eliminate all var (change to let)

Also add eslint rule to keep it that way!
(See https://github.com/GoogleChrome/gulliver/pull/162#pullrequestreview-730118.)

LGTM


Omnibus

Fixes #201 #41 #42 #62 #168
Description of the Change

Fixed slow /transients page load caused by redundant database queries fetching progress. Installed Silk profiler to aid this kind of debugging.

Fixed issues related to missing host info.

Modified CI workflow to use GitHub build cache to speed up the workflow. Revised automated build to push to NCSA Harbor instance.

Rebuilt requirements.txt from scratch, updating versions of all dependencies to most recent possible package versions. The update from Django v3 to v5 and bootstrap v3 to v4 required various modifications, including using a POST request for logout and minor tweaks to urls.py. Set ALLOWED_HOSTS and CSRF config in settings.py.

Revised login page styling to improve appearance.

Fixed broken DOI on acknowledgements page

Drastically improved initial app load time by moving run_sbi_blast import statement and bypassing the SBI training set generation if possible by preloading files of pickled training set data.

Initialize dustmap data from data archive file

Fixed whitespace bug in "no host" status message.

Return the transient name when TransientTaskRunner task completes to aid debugging when using Flower.

Given that we have not yet fixed the CI workflow, I manually ran the tests for commit a232a2f and they passed.
docker compose --project-name blast -f docker/docker-compose.yml --env-file env/.env.default --env-file env/.env.dev --profile ci up


Some special characters generate errors while recording to disk

Cannot record accented characters with Pyhton 2 but can replay it.
Can record and replay accented characters with Pyhton 3.
However, even in Python3 some special characters generate errors while recording to disk.
Some special characters prevent Pywinauto from finding the element. (Ex Special characters in the title on an email in Thunderbird prevent Pywinauto from finding the entry)

Fixed


Amend docker compose file to allow make scripts running

Can now run
make migrate
and
make testdata
when using docker-compose to run the containers

I have no write access to this repo, please feel free to merge any time


Fix non-complete implementation of a language service

The implementation of a LanguageServiceHost in the example is missing directoryExists and getDirectories methods which are crucial for the resolving typeRoots automatically in the function ts.getAutomaticTypeDirectiveNames.

👍🏻


[BUG] Suspicious usage of Map in ActionModule line 1205

Describe the bug
Passed value has type Route, but declaration is Map<NamedRoute, RestSendToExtensionAction>
NamedRoute is subtype of Route
But there is at least one more subtype - ReplacedRoute
It's about type safety
Related component
Other
To Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Extensions should only be sending NamedRoute.  I'll look into this and see if there's anywhere we can enforce that type.

Interestingly, that method is never called anywhere (including tests).
Given that it's API I don't think we can change the argument type but should be easy to type check and return null if it's the wrong type.


Fix watching of IPAM blocks

Description

etcd's list and watch methods were using different logic for calculating the key.  The list routine was tolerant to a / at the end of the default path but the watch routine was not.  Make the logic common and handle an extra / in both cases.  Improve logging to log out the actual key that we watch on rather than the key that we're about to add a / to!
Todos

[x] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@caseydavenport would be a better person to review Fix parsing of etcd deletion events to return KV. change.


Fix reading passwords from commands

It seems using sys.process adds superfluous new line characters when reading the command output. Better use ProcessBuilder / Process directly.

EDIT: and if not, maybe just explain more in some inline comments in the code on why we have to use ProcessBuilder rather than sys.process...

Right, I thought I had done that already, but didn't…


fix(security): address CVE-2019-5413

fixes #1777

Hi @petermetz , I added back the package.json file, this time I removed the changes I made from the previous commits and now back to how it is. Thank you so much.

@petermetz I am still working on this one. Thank you.

Hi @petermetz, I had an issue with my main branch and after fixing it I think it resulted for conflicts to occur in this ticket so I fixed and pushed the updates again. Thank you so much!

Hi @petermetz, I had an issue with my main branch and after fixing it I think it resulted for conflicts to occur in this ticket so I fixed and pushed the updates again. Thank you so much!

@charellesandig My pleasure, thank you!


Minor bugs

A few minor bugs, nothing game-breaking!

When there is a : in the text prompt, such as "TV AD: Blah blah text here", then the script attempts to save the files with an unsanitized filename. On Windows, : is an illegal character in the filename, which causes no files to be saved out, only a broken 0kb file with the name up to the  :. Might be best to strip out everything that isn't regular text.

When executing the same prompt twice, then any already existing speaker file will be overwritten. Only the wave file gets a _1 appended to the filename. Would be nice if this also applied to the speaker files.

I fixed these but introduce a whole bunch more.


ci(release): publish to PyPI, GitHub, and TestPyPI

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.59%. Comparing base (02485fd) to head (14a2a07).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
- Coverage   84.61%   84.59%   -0.02%
==========================================
  Files          25       24       -1
  Lines        1852     1850       -2
==========================================
- Hits         1567     1565       -2
  Misses        285      285

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


placeblock should make the player look at the placed block location

Also see https://github.com/asofold/NCPDocs/blob/master/wiki/permissions/permissions.creole#blockplace

fixed in 2ff681ed032a3451af6f28af3fc509c0374c61f2


(Confirm) Ubuntu 18.04 support

On Ubuntu 18.04 (with Puppet 5.4.0), I get the following error message in my master's log:
(Scope(Class[Unattended_upgrades::Params])) Ubuntu 18.04 "bionic" has reached End of Life - please upgrade!

Ubuntu 18.04 is the latest LTS release.

Which version of the module are you using? 3.1.0 should include https://github.com/voxpupuli/puppet-unattended_upgrades/commit/0ce305a0856c318e8813e509e34c4190280138fc.

Looks like I'm already sleeping - we haven't added Bionic to params.pp. The patch should be equal to the one I linked though. A PR would be very welcome.

PR is #125


[TASK]: Remove Item from cart is not working

Task Summary
Fix the remove item function implement in a8e441

Fixed the issue


[bug] failed to load

After installing and clicking enable, it showed this error

@cs-mshah, which OS are you running ?
Also which Obsidian and local-rest-api versions are you using ?

ubuntu 20.04, obsidian v13.23, plugin v1.3.1

Alright. Which packaging format are you using then ? Could you try using an alternate pakaging format ?
FWIW I'm running plugin v1.3.1 on Obsidian v0.13.28 and Ubuntu 21.10 and I'm not experiencing this defect.

What do you mean by packaging format? I installed obsidian via snap and the plugin from the internal community plugins

Then I'd suggest giving the AppImage package a try. No guarantees here, but I happen to be using the AppImage format.

@cs-mshah -- could you check the dev console (Ctrl+Shift+I) to see what error is shown there when you try to enable the plugin?  Unfortunately the error message you've shown above is just the one Obsidian itself surfaces, and it doesn't really tell us much other than "something went wrong".

I have the same problem Im on windows 10, obsidian v0.13.31, plugin v1.3.1

I have the same problem Im on windows 10, obsidian v0.13.31, plugin v1.3.1
Same error for me

The same problem in win10, obsidian v0.13.33, plugin v1.3.1

@Mlk1225 -- clearly that's a very different traceback than the one described above; so I think you should probably file a different issue.  I've deleted your comment here so as to make sure the conversation sticks to covering only this problem.

I have the same problem on windows 10, obsidian v0.14.5, plugin v1.3.1

I have the same problem on macOS monterey , obsidian v0.14.6, plugin v1.3.1

I have the same problem on macOS monterey , obsidian v0.14.6, plugin v1.3.1

I re-downloaded obsidian and installed it as an overwrite and it worked

I have the same problem on macOS monterey , obsidian v0.14.6, plugin v1.3.1

I re-downloaded obsidian and installed it as an overwrite and it worked

Yup confirmed, installed fine for me now. Nice one!

My guess would be, then, that this is a limitation in the Obsidian installer version:

When you re-download Obsidian and install it as an overwrite, you're updating both Obsidian and the installer.
If anybody else runs into this same problem in the future, could you first note what your installer version is (see the above screenshot); then verify that just re-downloading & installing Obsdian fixes your problem as @kiwiflydream discovered above?
If it doesn't, please comment here.


has not Chinese(zh_CN) translation

Describe the bug
has not Chinese(zh_CN) translation.
To Reproduce
Steps to reproduce the behavior:

mkdir -p volto/locales/zh_CN/LC_MESSAGES/volto.po
poedit volto/locales/zh_CN/LC_MESSAGES/volto.po and save
yarn i18n
create a empty zh_CN.json that content just is: {}

Expected behavior
Expect generate a zh_CN.json that contains all translated Chinese text.

Screenshots
If applicable, add screenshots to help explain your problem.
Software (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Volto Version [ "@plone/volto": "15.16.0"     ]
Plone Version [e.g. 5.2.2]
Plone REST API Version [e.g. 7.0.1]

Additional context
Add any other context about the problem here.

The new master branch has been fixed the issue.


[Question] Firestore throws "Cursor has too many values" exception when running an aggregate count query that starts at a specific document

What is your question?
I have a Firestore database that holds players' scores. When I try to get the number of players whose score is higher than a specific player, I get a "Cursor has too many values" exception. I couldn't find any information about this exception. The code is below:
    CollectionReference colRef = db.Collection("players");
    DocumentSnapshot docSnapshot = await colRef.Document(someDocumentID).GetSnapshotAsync();
    AggregateQuerySnapshot querySnapshot =
        await colRef.OrderBy("score").StartAt(docSnapshot).Count.GetSnapshotAsync(AggregateSource.Server);

When I try to get the actual list of the players it works fine:
    QuerySnapshot querySnapshot =
        await colRef.OrderBy("score").StartAt(docSnapshot).GetSnapshotAsync();

If I try to get the number of players whose score is higher than a value, it also works fine:
    AggregateQuerySnapshot querySnapshot =
        await colRef.OrderBy("score").StartAt(75).Count.GetSnapshotAsync(AggregateSource.Server);

Here is the stack trace:
FirestoreException: Cursor has too many values.
Firebase.Firestore.Internal.Util.FlattenAndThrowException (System.Threading.Tasks.Task completedTask) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/firestore/src/internal/Util.cs:113)
Firebase.Firestore.Internal.Util+<>c__DisplayClass5_0`2[T,U].<MapResult>b__0 (System.Threading.Tasks.Task`1[TResult] completedTask) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/firestore/src/internal/Util.cs:73)
System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () (at <27124aa0e30a41659b903b822b959bc7>:0)
System.Threading.Tasks.Task.Execute () (at <27124aa0e30a41659b903b822b959bc7>:0)
--- End of stack trace from previous location where exception was thrown ---

Firebase Unity SDK Version
11.8.1
Unity editor version
2022.3.22f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Firestore
Other Firebase Component(s) in use
Authentication
Additional SDKs you are using
No response
Targeted Platform(s)
Android
Unity editor platform
Windows
Scripting Runtime
Mono
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity

Hi @eytanhalfon ,
This error shows up when number of fields in cursor (docSnapshot in this case), is greater than number of OrderBy given. Could you try get the field value you want out of docSnapshot then pass to the query?

Hi @cherylEnkidu. The actual query I use has 3 OrderBy clauses, but the document has more fields. I didn't think that would be a problem. It works fine when the numbers match. Thanks a lot.


EventSources doesn't supply when the button is click

Hello,
I'm trying to supply my empty eventSources whenever the button is click.
Here is my fullcalendar declaration
<full-calendar :config="config"
                   :event-sources="eventSources" />

The problem is, my calendar doesn't show the callback values.
Here are my codes:
data(){
    eventSources: [],
    config: { ... }
},
methods:{
    getSchedEvents(){
        this.eventSources = [{
                events(start,end,timezone,callback){
                    axios.get(`/Info/SomeInfo`).then(response => {
                        callback(response.data);
                    }).catch(error => {
                        console.log(error);
                    });
                }
        }]
     }
 }

Note: When I put my events in my data eventSources by default, the event values show properly. The problem is, It doesn't work when I'm trying to supply the eventSources inside the button click method.
Please help.

Fixed this. I just found out that it's a webpack bug that's why it doesn't work at first.


reflect: TypeOf interface with methods using generic types includes package path in type

GO Version: 1.19.1
reflect.TypeOf from an interface containing methods using generic types includes the complete package path within the type.
This functionality is use in gomock (reflect mode) and generates not compile-able code.
Example see https://go.dev/play/p/0P8R4Au1Wer
The string representation of the interfaces method type from the playground example looks like the following.
func() test.TestGenericType[play.ground/test.TestType]
Effect in gomock: https://github.com/golang/mock/issues/677

The paths in the instantiating types is there to disambiguate the package of the instantiating type.
Consider this program: https://go.dev/play/p/cGmCAwJzn9I
foo/a/x.I and foo/b/x.I are different types, but if we didn't include the package path they would look identical.
For the top-level type, that's ok, as PkgPath can be used to disambiguate the types (as shown in my example). But for instantiating types there is no such mechanism.
One thing we could do is remove the path from the name and just have ambiguous names. There still needs to be underlying uniqueness of the names for the linker+runtime, which means we'd need 2 names for everything.
Another thing we could do is provide a reflect API for accessing the instantiating types, so you could call PkgPath on them. Then the names themselves being unique is less important.
Things to ponder. I'm not convinced that the current state is all that bad, partly because I don't understand what gomock does and why this extra path trips it up.
I'm going to mark for 1.20 so that we make a decision one way or another before the release.

Yeah, I think that the current state is not bad. The question is why this is a problem for gomock. It looks like it is used for generating code? It probably could be more careful about the instantiation names before writing it to source file.

gomock use the type directly from the reflect type (test.TestGenericType[play.ground/test.TestType]) and generate the mocks with this path.
see https://github.com/golang/mock/blob/73266f9366fcf2ccef0b880618e5a9266e4136f4/mockgen/model/model.go#L396
So, if the behavior from reflect is 'ok' then gomock should check the generic type by adding the correct import and modify the type itself?
like
import (
    test_ "play.ground/test"
)

func() test.TestGenericType[test_.TestType] {
    ...
}

Repo to reproduce:
https://github.com/daolis/gomocktest

Yes, you'd have to do something like that. Certainly you will need to generate that import statement somehow, as you can't describe Foo[pkg.Bar] without having the correct import statement for pkg. This is a problem that only comes up with generics because normally you know the package of Foo, it's the one you're running gomock for, and you don't need an import statement because the code gomock generates is within Foos package. But the package of Bar could be some arbitrary other package.

One thing we could do is remove the path from the name and just have ambiguous names. There still needs to be underlying uniqueness of the names for the linker+runtime, which means we'd need 2 names for everything.

FWIW, we already have separate type names for reflection and linker+runtime, so I think it's already feasible to change the reflect.Type.String result from test.TestGenericType[play.ground/test.TestType] to test.TestGenericType[test.TestType].
Arguably that would be more consistent with how reflection has historically handled defined types, but it would also be a change from Go 1.18/1.19. I've filed #55924 to discuss this.
I agree that #54393 is the proper way for gomock to handle this case. In the mean time, I think gomock will have to do best-effort parsing of the link names, sorry. See #55924 for a few other special cases it may need to be careful about.
Closing this issue because I don't think there's further action to take on it.


[azservicebus] Add in MessageState property to ReceivedMessage

MessageState is a useful property and can be used by consumers when they peek messages
to tell what state a message is in.
MessageState can be:

Active
Deferred
Scheduled

The value comes from SystemProperties with the key x-opt-message-state.
(PR adding this in M.A.S .NET lib): https://github.com/Azure/azure-sdk-for-net/pull/25158

Fixed by #16985


gopass doesn't seem to work with PASSWORD_STORE_DIR

Summary
gopass doesn't respect the PASSWORD_STORE_DIR env variable, and even incorrectly documents it as PASSWORD_STORE here https://github.com/gopasspw/gopass/blob/master/docs/config.md. Following is an example with pass and gopass, where a store is created with pass and then gopass fails to access it.
Steps To Reproduce
[nix-shell:~]$ cd /tmp
[nix-shell:/tmp]$ mkdir foobar
[nix-shell:/tmp]$ cd foobar
[nix-shell:/tmp/foobar]$ PASSWORD_STORE_DIR=. pass init XXX
Password store initialized for XXX
[nix-shell:/tmp/foobar]$ PASSWORD_STORE_DIR=. pass add foo
Enter password for foo:
Retype password for foo:

[nix-shell:/tmp/foobar]$ PASSWORD_STORE_DIR=. pass ls
Password Store
└── foo

[nix-shell:/tmp/foobar]$ PASSWORD_STORE_DIR=. gopass ls
gopass

[nix-shell:/tmp/foobar]$ PASSWORD_STORE=. gopass ls   # for completeness
gopass

Expected behavior
The same behavior as pass, use the PASSWORD_STORE_DIR variable.
Environment

OS: NixOS
OS version: Linux xxx 4.19.84 #1-NixOS SMP Tue Nov 12 18:21:46 UTC 2019 x86_64 GNU/Linux ... NixOS 20.03pre201791.c1966522d7d
gopass Version: gopass 1.8.6-git+HEAD go1.13.4 linux amd64
Installation method: nixpkgs

I'm confused, this seems like a clear bug, yet the bot marks as wontfix.

+1

It seems that PASSWORD_STORE_DIR envrionment variable is ignored if .config/gopass/config.yml is present. I can repeat the same behavior with the steps from the original report.
gopass 1.14.3 go1.18.2 linux amd64 (installed from gopass_1.14.3_linux_amd64.deb)

I don't think we touched that code in a long time. Let's check.

Confirmed. Should have been fixed by #2272 .
Could you see if that works for you?

Yes, it fixed the issue. Thank you.

Excellent. Thanks.


Update dependency aws-cdk-lib to v2.74.0

This PR contains the following updates:

Package
Type
Update
Change

aws-cdk-lib
devDependencies
minor
2.73.0 -> 2.74.0

Release Notes

aws/aws-cdk
v2.74.0
Compare Source
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

batch: ComputeEnvironment has been removed and replaced by ManagedEc2EcsComputeEnvironment, ManagedEc2EksComputeEnvironment, and UnmanagedComputeEnvironment.

JobDefinition has been removed and replaced by EcsJobDefinition, EksJobDefinition, and MultiNodeJobDefinition
Features

batch: new L2 Constructs (#24775) (92e6c67)
ec2: added ulimits property to ContainerDefinitionOptions (#24963) (e37d16a), closes #24918
pipelines: allow artifactBucket to be overridden (#24945) (292c846)
sagemaker: support dlc images in sagemaker model (#25018) (91553e5), closes /github.com/aws/aws-cdk/pull/17399/files#diff-356f35099770f68f4ceee2e63d34aad8729b0a9be6c933a0c05e999be7374685R98-R145
ses: event destinations for configuration sets (#24745) (3be43eb)
step-functions-tasks: Support PropagatedTagSource property for EcsRunTask (#24949) (a98a981), closes #12999
stepfunctions-tasks: Node.js 18.x runtime for EvaluateExpression (#25002) (f26bfe9)

Bug Fixes

cloudwatch: p100 statistic is no longer recognized (#24981) (adc1a13), closes #23095 #24976
events-targets: parameter JobName can exceed limit of 128 characters (#24786) (923b9f1), closes #24654
redshift: Column ids were not being default assigned (#24546) (8a655bd), closes #24545
s3: deprecate unencrypted encryption configuration for s3 bucket (#24770) (b971615)
ecr policy warning always throws (#25041) (c0c3d19), closes #25028
core: Add stage prefix to stack name shortening process (#24443) (55621ad), closes #23628
servicecatalogappregistry: Imported attribute group cannot be associated to an application (#24960) (4c2e7d6)

Alpha modules (2.74.0-alpha.0)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Only append v_elements to DOM that can see under viewport?

As you can see, v_elements is more than 2x in DOM than that you can see on viewport.

Is there any way to improve it, just to render what you can see on screen?
Since you have grid height fixed, and cell height fixed, I think its possible.

rowBuffer in gridOptions tells how many rows past the viewable area to render. set this to a lower number to get what you want.

thanks for the rowBuffer option, didn't know that there is a settable option.


NPM install doesn't update the version of installed package

Hey,
I am updating existing global module, but it doesn't update even if the module is updated in node_modules.
For example,
$ npm i -g serverless # it's successfully installed, and I've confirmed in node_modules
$ serverless --version # this will print old version yet even if I restart the terminal

What's the problem?

What does which npm and which serverless print out?
Also, please always fill out the entire issue template - it's there for a reason.

Thanks for your answer @ljharb
But I have no node or npm in my system.
I've just installed them from nvm.

I’m happy to reopen this if you can fill out the issue template.

Oh, Thanks.
But It was too cumbersome to fill out..
maybe when I have some time later days, I will create new issue then.

Please update this one at that time, rather than filing a new one. Thanks!

Got it @ljharb Thanks for your amazing support and responsibility!
I love NVM!

Hi @ljharb
It's my bad. the package I've tried to update was one installed originally by system npm.
This is not an issue with NVM.
Thanks again!


[stdlib] Move collection test that needs StdlibCollectionUnittest to validation

As that library isn't built during non-validation testing.

@swift-ci please test and merge


chore(main): release 0.8.0

:robot: I have created a release beep boop
0.8.0 (2023-03-04)
Features

remove dependency on mergestat and use go-git instead (#37) (4b697fd)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/herdstat/herdstat/releases/tag/v0.8.0 :sunflower:


Document entity

Has more things to document, so draft for now.
Was originally planning to document LivingEntity etc, but this PR is very big right now and I don't want to make it bigger.

Conflicts, sorry :) Once fixed im quite happy to merge this right away 👍


use go routine  write to cell get an error

when i use "f *excelize.File" as a function param, and use "f.SetCellValue" write data to different Columns with go routine at same time  , in some Columns some cell is null, but the Interpreter do not report an error
    rows:=[]string{"A","B","C","D","E"}
for i:=0;i<5;i++{
	for j:=1;j<100;j++{
		go func(){
			f.SetCellValue("Sheet1",rows[i]+strconv.Itoa(j),j)
		}()
	}
}
err = f.Save()
if err != nil {
	fmt.Println(err)
}

Thanks for your feedback. I have tested with v2.3.2 and it works well, which version of Excelize are you using? Could you create the issue by an issue template and provide more details?

Thanks for your feedback. I have tested with v2.3.2 and it works well, which version of Excelize are you using? Could you create the issue by an issue template and provide more details?

i will try the v2.3.2,thinks for your help

Thanks for your feedback. I have tested with v2.3.2 and it works well, which version of Excelize are you using? Could you create the issue by an issue template and provide more details?

i will try the v2.3.2,thinks for your help

i use the v2.3.2 , still get the error when i written and open the excel(end with .xlsx)

i use the v2.3.2 , still get the error when i written and open the excel(end with .xlsx)

this is my code which get the error
page:=make(chan string,runtime.NumCPU())
rows:=[]string{"A","B","C","D","E","F"}
for i:=0;i<5;i++{
	go func(){

	for j:=0;j<100;j++{
		//fmt.Println(rows[i] + strconv.Itoa(j))
		f.SetCellValue("Sheet1", rows[i]+strconv.Itoa(j), j)
	}
	err := f.Save()
	if err != nil {
		fmt.Println(err)
	}
	page<-rows[i] // use for
	}()

}

for i:=0;i<5;i++ {
fmt.Println(<-page)
}

The error may be caused by my other codes ,this result is got from many tests

you can try this code with  version V2.3.2, when the running  finish ,the result in excel file is error,like the behind:
the code is :
func loprint(row string,f *excelize.File,page chan string,frames int){
for j:=1;j<frames;j++{
fmt.Println(row + strconv.Itoa(j))
f.SetCellValue("Sheet1", row+strconv.Itoa(j), j)
}
err := f.Save()
if err != nil {
fmt.Println(err)
}
page<-row
}page:=make(chan string,runtime.NumCPU())
rows:=[]string{"A","B","C","D","E"}frames:=[]int{2877,1938,2963,3194,3354}  // this code will get an error//frames:=[]int{1938,2877,2963,3194,3354} // this code will not get an errorfor i:=0;i<5;i++{
go loprint(rows[i],f,page,frames[i])
}
for i:=0;i<5;i++ {
fmt.Println(<-page)
}
As we can see ,when the "frames" is sort by Ascending ，it will be find, but if the "frames" is chaos,it will get an error.
Thinks for your reading
Waiting for your reply.
------------------ 原始邮件 ------------------
发件人:                                                                                "360EntSecGroup-Skylar/excelize"<EMAIL_ADDRESS>发送时间: 2021年2月3日(星期三) 晚上6:58
收件人<EMAIL_ADDRESS>抄送: "王杰"<2896090535<EMAIL_ADDRESS>主题: Re: [360EntSecGroup-Skylar/excelize] use go routine  write to cell get an error (#778)
Thanks for your feedback. I have tested with v2.3.2 and it works well, which version of Excelize are you using? Could you create the issue by an issue template and provide more details?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[DNM][stdlib] Add exponentiation precedence group and operator for diagnostic purposes

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci smoke test

@swift-ci smoke test

cc @varungandhi-apple

@swift-ci smoke test macOS

Closing in favor of #36074.


Marked system_legend and system_trust_legend as deleted

Would fix #112, but the system_trust_intermediate and system_trust_advanced tags were removed as well.


Unable to install NixOS on Thinkpad x1 carbon

Unable to install NixOS
I'm trying to install NixOS 16.09 on my Thinkpad x1 carbon. I followed the instructions from the following links but after nixos-install and reboot commands for some reason the installation is not saving into the boot partition (If removed the bootable USB then I have been prompted with blue bios screen).  Then I need to restart the whole procedure again! I tried few time and now not sure what is missing!
Installing NixOS - Chris Martin
https://gist.github.com/martijnvermaat/76f2e24d0239470dd71050358b4d5134

https://gist.github.com/NeQuissimus/1041eccd13b64813ca1eb47c73143054

Lovely, I can't edit comments from the mobile website...
Check the link above, those are usually my install steps.

Is it possible you skipped mounting /mnt/boot?

I use 3rd generation and it works. Can you log how exactly you're installing? Then we can spot a problem.

@NeQuissimus, @domenkozar thanks for replying back.
The attached images (in order) gives you an idea of the procedure I followed to install NIXOS. Any help will be much appreciated.

So I also encountered that error when installing NixOS -- the one about needing a BOOT partition for grub to work with GPT....
And the solution was to do exactly what it indicated:
Create a partition on the device I was trying to install grub onto (/dev/sda it looks like for you), I made mine 5MB, and set the partition type to "BIOS boot" (using cfdisk).  I used the rest as my partition for NixOS, I'm not sure what you're putting on /dev/sda (an efi partition?) but use the rest of it as you see fit.
After that, my install worked as expected... hopefully yours will too!
Hope this helps! :)

@dtzWill,
My /dev/sda partition is as follows, Let me try changing EFI to BIOS boot using fdisk command.
Is cfdisk same as fdisk?
/dev/sda1 512M EFI System
/dev/sda2 238G Linux File System
Thanks

@dtzWill,
I changed /dev/sda1 EFI to BIOS boot but still after nixos-install and reboot the os is not installed. Machine doesn't boot without bootable usb :(

I haven't done much with EFI since I setup my laptop ages ago...
And for that I wanted an EFI partition to hold my boot stuff, and I setup things using efibootmgr .... no grub involved.
You certainly shouldn't need 512MB for the BIOS boot data for grub--512 is more like what you'd want for an EFI partition (as you had it).
I don't remember how grub and EFI are supposed to be used together, not sure I can help with that, sorry!

This is what my partition table looks like:
~> sudo fdisk /dev/sda

Welcome to fdisk (util-linux 2.28.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/sda: 238.5 GiB,<PHONE_NUMBER>04 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: AC6774C6-5EDA-4C30-BF95-67943D6F76B5

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   4196351   4194304     2G EFI System
/dev/sda2    4196352   8390655   4194304     2G Linux swap
/dev/sda3    8390656 218105855 209715200   100G Linux filesystem
/dev/sda4  218105856 500118158 282012303 134.5G Linux filesystem

And my mount points
~> mount |grep sda|sort
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3 on /nix/store type btrfs (ro,noatime,compress=lzo,ssd,discard,space_cache,commit=120,subvolid=257,subvol=/nixos/nix/store)
/dev/sda3 on / type btrfs (rw,noatime,compress=lzo,ssd,discard,space_cache,commit=120,subvolid=257,subvol=/nixos)
/dev/sda4 on /home type btrfs (rw,noatime,compress=lzo,ssd,discard,space_cache,commit=120,subvolid=257,subvol=/home)

This is my config:
https://github.com/NeQuissimus/DevSetup/blob/master/ux305c.nix

No luck!!! Tried so many things.
Now the installation step shows success and asked me to set password and the the installation success message is displayed but after reboot just loads the boot menu. Nothing is installed.

@pradeepcheers the nix file you linked does not mention grub anywhere, are you using grub or systemd-boot?
In any way, on my system I am using something like that:
  boot.loader.grub = {
   enable = true;
   version = 2;
   efiSupport = true;
   device = "nodev";
  };
  boot.loader.efi.canTouchEfiVariables = true;

and have the EFI partition mounted on /boot, as you seem to have.

Closing for inactivity.


Set default editor to monaco

closes https://github.com/flowforge/flowforge/issues/215

But your comment on that story says to not expose it and to just fix it to monaco (or have I miss understood?)

or have I miss understood

No, I failed to scroll down and read my own words. Carry on.


[Bug] Build with true reset files

Without <BrowserExtensionBootstrap>true</BrowserExtensionBootstrap>:

That is quite the intention really, is there a reason that you need to bootstrap the project more than once?

That is quite the intention really, is there a reason that you need to bootstrap the project more than once?

I don't understand. Is the bootstrap bundled? I'm trying to go with the manual and didn't find any reference to bootstrap except the lines about default disabled and how to add manually. In perfect scenario I'd use MudBlazor library instead, but don't know if it is possible and if so - how.

The build property BrowserExtensionBootstrap here is a feature that allows developers to bootstrap (setup) their existing Blazor wasm project into a browser extension project, which is one time use only. This is not related to the bootstrap CSS framework which is not included in this package.
By design, this package should be compatible with all the component/CSS frameworks. So the usage of the frameworks will just be to follow their official documentation.

Thank you for explanation.


Update Ability Clause to also check for Variants

http://www.smogon.com/forums/threads/almost-any-ability-mass-bans-announced-post-255.3587901/

Ability Clause-teams are limited to 2 of the same ability, this includes "variants" such as Teravolt and Turboblaze.

With the current code, its allows co-existence of Variants. This would fix that.
The only problem here would be Balanced Hackmons, which mentions nothing about clones.
Gonna tag @TheImmortal

Update: flint seems to be okay with it, we talked about this in the room

This code does not work the way you'd want it to.

Sorry, am a bit distracted because of examinations...

This is still very inefficient code, and I can't even tell whether or not it works anymore.
You should probably nominate one ability to be the "base ability" and then merge the counters, so you don't have to deal with this messy algorithm.

Sounds good, on it.

In my opinion, the base ability should be the one that came earliest (generation-wise) and if they're from the same generation, the one that comes first alphabetically. It makes sense.

Now that's some sane logic.
Not sure it's the most efficient, but it's at least readable now.

Looks good to me.


Navigation2: Advanced Route Navigation and Data Passing

Also included: README.md updates with proper introduction.

LGTM


Not displaying on my screen anywhere

It could be due to having 3 screens but I don't see it on any of them and from the second screenshot you can see it's running. Any ideas?

Solved it by restarting my pc.


updated readme with vector db phrasing and comparisons

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes

"AI Vector Database" sounds like the database is made by AI, not a database for AI. Also "AI xyz" is very tired at this point. I would just say "Vector Database for ALL Data"
I would delete "Deep Lake also acts as a Data Lake for Deep Learning". It looks odd.
Here's the first paragraph rewritten in a more matter-of-fact and less salesy way:
Deep Lake is a Vector Database powered by a unique storage format optimized for deep-learning applications. It simplifies the deployment of enterprise-grade LLM-based products by offering storage for all data types (embeddings, audio, text, videos, images, pdfs, annotations, etc.), querying and vector search, data streaming while training models at scale, data versioning and lineage for all workloads, and integrations with popular tools such as LangChain, LlamaIndex, and many more. Deep Lake works with data of any size, it is serverless, and it enables you to store all of your data in once place. Deep Lake is used by Google, Intel, Waymo, Matterport, Red Cross, Yale, & Oxford. Deep Lake includes the following features:


Strike Chart has force:appHostable and flexipage:availableForAllPageTypes

Strike Chart is showing up on the Page Builder when it shouldn't

i've removed this from the component and will no longer show in builder


Add directions to all the channels in the function signatures taking channel

Description
In many functions, for example the two shown below, the channel data only flows in one direction.
https://github.com/pesos/grofer/blob/0c781a2c09128fe456a077781dcffa2d7513a208/src/general/generalStats.go#L31
https://github.com/pesos/grofer/blob/0c781a2c09128fe456a077781dcffa2d7513a208/src/graphs/overallGraphs.go#L120
For example, in GlobalStats , endChannel only has its data flowing out of the channel (ie <-endChannel) and the other channels only receive data (ie cpuChannel <-).
Since the data only flows into one channel, we can make the types stricter in the function definition by having the channel direction specified, thus increasing type safety of the program.
Reference for how to do this: https://gobyexample.com/channel-directions
Deliverable in the PR

[ ] Identify all the functions where the channels only need to flow in a single direction
[ ] Specify the directions of the channels in the function signature
[ ] Make sure the program passes all tests (which have not been implemented yet, so for the time being ensure the program still runs correctly before submitting your PR)

This issue is for first-timers-only, that is, we are only going to accept your PR if you have never made a code contribution before.

@tfidfwastaken This isn't what's quite happening. You're not taking channel messages as arguments. If we end up doing so the program won't work for the simple reason that the argument itself will be a block, the code won't proceed. And if data does come in, the program exits.
It'll break the program is what I think.

Oh right my bad :p
I had written this one down before I fully understood how you are doing the channel thing here.
Thanks for clarifying. I think this should be closed.

Will wait for @MadhavJivrajani or @metonymic-smokey to confirm before closing.

Go ahead


Automate script for running with perf and making a flamechart

This is part of it
perf record -a --call-graph dwarf -F 99 /path/to/exe

Some numbers
 sudo perf record -a --call-graph dwarf -F 99  -- sudo -u vagrant PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/postgresql/12/bin/ /vagrant/.stack-work/install/x86_64-linux-tinfo6/42026f38f00bef27f7d9d7df9ec48eb1d36cb4a691ae9aa58fa178d78f057982/8.8.3/bin/benchmark 38 10 60 10000 10000 1 0

Enqueue Count: 159668
Dequeue Count: 167427

Notify
Enqueue Count: 108874
Dequeue Count: 98962

Numbers of 600 secs using partitions and a thread for rotating partitions
Enqueue Count: 1318210
Dequeue Count: 1328207

No partitions:
Enqueue Count: 1387641
Dequeue Count: 1397641

Naive Delete:
Enqueue Count: 1403521
Dequeue Count: 1413520


Topic configuration

Hello,
i have set up klaw and wanted to create a topic request. I noticed that at least with Confluent no config adjustments to the topic are possible (e.g. delete / retention).
Is this correct or does this just have to be set differently?
Kind regards
Florian

@FloEc you are right. Currently a topic new/modify request allows only partitions and replication factor.
We have another git issue #74 which will be picked up in the coming days, to allow all possible topic configurations in the requests. We can keep you updated on the progress of it.

Hi @muralibasani
sounds great. Thanks for the update.


out-dated spring.cloud.azure.appconfiguration.stores[0].name in Connect to an App Configuration store step 6

URL : https://docs.microsoft.com/en-us/azure/azure-app-configuration/quickstart-java-spring-app#create-a-spring-boot-app
according to appconfiguration repo , it should be “connection-string” instead of "name"

https://github.com/microsoft/spring-cloud-azure/tree/master/spring-cloud-azure-starters/spring-cloud-starter-azure-appconfiguration-config

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

ID: 583bc242-0fd9-1253-0ff5-7ab627be2403
Version Independent ID: 1c80d801-3512-29cb-c2c9-39888954ab25
Content: Quickstart to learn how to use Azure App Configuration
Content Source: articles/azure-app-configuration/quickstart-java-spring-app.md
Service: azure-app-configuration
GitHub Login: @lisaguthrie
Microsoft Alias: lcozzens

@yull1860, thank you for reaching out. We are looking into this and would get back to you soon on this thread.

@yull1860 Thank you for catching that error in the docs! I have submitted a PR to fix the issue, the change is merged internally and will go-live in the public docs shortly.


Make ValueSnapshotter return only Hashable

ValueSnapshotter should only have a single method:
Hashable snapshot(@Nullable Object value) throws ValueSnapshottingException;

I'm unsure why this would be needed as ValueSnapshot is already shared, and is a simple interface that works well for our purposes. Let's reopen if we find a good reason to do this.


Added missing properties for changes in astoilkov/jsblocks#155.

Added missing properties so the shopping example will work after a release with astoilkov/jsblocks#155 is published.

Offtopic:
I'm currently working on automated tests for the shopping example over here (to run them run npm install & npm test in the test folder). They are running 2 times once with the blocks static server and once with the server-side-rendering.
They won't catch every possible error but at least they are somthing to not have to test manually all time in development and find bugs as early as possible.
But for some reason they are sometimes randomly failing and I couldn't reproduce it yet with an attached debugger.
Maybe it's something with webdriverio (the framework I'm using to run chrome and get the results) or it's somthing else.
I'll pr once I have an idea what's going on and fixed it.

The idea for the tests is really nice. It is really hard to test every time.


ammtox function

The background manual, operating instructions, reach model, and recur model for AMMTOX can be downloaded from the following web site:
https://www.colorado.gov/pacific/cdphe/clean-water-sewage-systems-compliance-assistance
This is the original DOS model that was coded into VBA/Excel in the Utah River Model.


Unknown format code 'x' for object of type 'str' Error when running generated <tmp_file>.py from skel.py

When running a generated exploit skeleton using skel.py from within gef, the resulting temp file cannot run and gives the following output:
[DEBUG] '/home/user/Downloads/start' is statically linked, skipping GOT/PLT symbols
[*] '/home/user/Downloads/start'
    Arch:     i386-32-little
    RELRO:    No RELRO
    Stack:    No canary found
    NX:       NX disabled
    PIE:      No PIE (0x8048000)
[+] Starting local process '/home/user/Downloads/start': pid 17445
Traceback (most recent call last):
  File "/home/user/Downloads/./getem.py", line 36, in <module>
    exploit(r)
  File "/home/user/Downloads/./getem.py", line 24, in exploit
    attach(r)
  File "/home/user/Downloads/./getem.py", line 20, in attach
    gdb.attach(r, '\n'.join(["break *{:#x}".format(x) for x in bkps] + cmds))
  File "/home/user/Downloads/./getem.py", line 20, in <listcomp>
    gdb.attach(r, '\n'.join(["break *{:#x}".format(x) for x in bkps] + cmds))
ValueError: Unknown format code 'x' for object of type 'str'
[*] Stopped process '/home/user/Downloads/start' (pid 17445)

Please share the generated file, your python version, and your gdb version.
Looks likes bkps is a list of strings instead of breakpoints or numbers that know how to format, so probably has to do with your gdb version.

Python script that gef outputs:

#!/usr/bin/env python3
import sys, os
from pwn import *
context.update(
    arch="i386",
    endian="little",
    os="linux",
    log_level="debug",
    terminal=["tmux", "split-window", "-h", "-p 65"],
)

REMOTE = False
TARGET=os.path.realpath("/home/user/Downloads/start")
elf = ELF(TARGET)

def attach(r):
    if not REMOTE:
        bkps = []
        cmds = []
        gdb.attach(r, '\n'.join(["break *{:#x}".format(x) for x in bkps] + cmds))
    return

def exploit(r):
    attach(r)
    # r.sendlineafter(b"> ", b"HelloPwn" )
    r.interactive()
    return

if __name__ == "__main__":
    if len(sys.argv)==2 and sys.argv[1]=="remote":
        REMOTE = True
        r = remote("chall.pwnable.tw", 10000)
    else:
        REMOTE = False
        r = process([TARGET,])
    exploit(r)
    exit(0)

I suspected this is not the file that generated the stack because bkps is empty.
However, there was a bug and it is fixed.
@acondra2 you're welcome to report bugs in gef (or gef-extras) but in the future provide as much details as possible for us to reproduce. Remember that we're not on your computer 😀 You can use this for a template example.
Cheers.


Add Django 2.0 support

Includes #1022
Fix #1022
Fix #1026
OSX builds are failing because some tools cannot be found, but this does not look related to the current PR

Before releasing a new version please also consider to merge #912.
All change requests from @czpython have been integrated.
Failing unit tests are not caused by this PR, but rather by a weird bug in the setup of tox in django-filer.

pip install -U Django
django-filer 1.3.2 has requirement Django<1.11.999,>=1.8, but you'll have django 2.0.4 which is incompatible.
¿How can I help?

@gvizquel fixed thanks!


Added Locking Mechanism to Reminders Handler

Proposed changes:

Added lock_store as an input to MessageProcessor so that handle_reminder can properly lock the conversation
Updated handle_reminder to lock the conversation before retrieving the tracker store & executing
Updated default_processor to pass in InMemoryLockStore as a param for test cases
Resolves Issue #7887

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@wochinge I added lock_store as an input parameter to MessageProcessor so that handle_reminder could lock the conversation, but not entirely sure if this is the best way to do it. Wdyt?

@wochinge Yes, definitely. I'll create a PR for 2.X as well once this fix is good to go

@wochinge Yes, I tested manually using the ReminderBot with redis-server running locally and the SocketIO channel. Redis logs showed the lock correctly being acquired and deleted when the reminder was handled.

Nice job 💯


[WIP]Support SparkOperator:v1beta2 GCP Master

TL;DR
This branch supports https://github.com/GoogleCloudPlatform/spark-on-k8s-operator v1beta2 version (as opposed to v1beta1 multi-version which is supported currently by master).
Tested against gcr.io/spark-operator/spark-operator:v1beta2-1.1.2-2.4.5 operator image and CRD versions.
Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA
OR
https://github.com/lyft/flyte/issues/

Codecov Report

Merging #114 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
- Coverage   58.70%   58.67%   -0.04%
==========================================
  Files          99       99
  Lines        5936     5931       -5
==========================================
- Hits         3485     3480       -5
  Misses       2103     2103
  Partials      348      348

Impacted Files
Coverage Δ

go/tasks/plugins/k8s/spark/spark.go
82.58% <100.00%> (-0.43%)
: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 dc4e8b5...c9d9c8b. Read the comment docs.


Does support log output like jpa mybatis  select field1,field2 from table where condition

Does support log output like jpa mybatis  select field1,field2 from table where  condition

Hi there,
Great thanks for your suggestion, apologies for the late reply.
I'm trying to do a feature similar to r2dbc-mssql QueryLogger
I'm not sure if the driver need BindingLogger (like r2dbc-postgresql). So BindingLogger will not be supported. If anyone needs it, please create a new ticket.


Standardize an approach to documenting implementation/project plan changes

Often in the project lifecycle we uncover problems which require alterations to our original planning documents. We want to update the documents to reflect the actual work that needs to happen, but we also want to preserve the original approach and make others aware that the document has changed.
We should develop a standardized method for addressing these updates. I would propose we add a changelog section to the plans like so:
## Changelog

- [Date of changes](Link to changeset PR diff) - Summary of changes made to the plan

I am open to alternative suggestions! I'll mark this as blocked until at least one @WordPress/openverse-maintainers has reviewed the proposal.

Idea is fine to me, I don't have any reason to block it, and it accomplishes a minimal level of visibility. It's kind of frustrating that it's just duplicating the git history for the file on main, but I don't have any easy ideas that would have this level of visibility whilst avoiding that duplication.
Some questions need to be answered, though: Should this section go at the top of the IP whenever a change is made? Does it exist when the document is made first-off and include the "Add whatever document" as the first entry? Does it matter? If visibility is important, I guess it does?
An alternative that is not an explicit changelog is to expect authors to note where plans have changed as footnotes with links to the relevant PRs and discussions. That's a bit more natural, and leaves less room for out-of-context confusion looking at the changelog at face value.

Seems fine to me as well. I like that it's separate from the commit history as a change to the plan can be spread across multiple commits, and there can also be commits in the Git history that are associated with smaller inconsequential things (like typo fixes) that do not need to go in a changelog.

I think this is a great idea! To give some opinions on @sarayourfriend's thoughts:

I don't think it should be included by default (because thus far, it's been a small minority of IPs that have required changes)
I think it should be included at the end, since someone reading the updated document from top to bottom won't have the context needed for understanding what's described in the changelog when first reading the document.
I also like the footnote approach but given that the changes could be numerous throughout the document/appear in a few places, summarizing that as a single point and linking to the relevant PR(s) which would show the changes feels like it would result in a more approachable document for someone trying to see the changes.

On formatting, because we automatically link PR numbers already, I think the format could be:
## Changelog

- Date-of-changes - (#ChangesetPRNumber) Summary of changes made to the plan


SaaS: a possible typo in Saa_GetResource

There appears to be a typo here https://github.com/Azure/azure-rest-api-specs/blob/master/specification/saas/resource-manager/Microsoft.SaaS/preview/2018-03-01-beta/saas.json#L209
From context, it seems should be SaaS_GetResource, not Saa_GetResoruce (and there is SaaS_Delete above).

@diyakobo
Could you check whether this is intended or a typo of the operationId?

the fixing PR:
https://github.com/Azure/azure-rest-api-specs/pull/11818


Does cloudwatch-fluent-metrics supports High-Resolution Custom Metrics?

Announcement:
https://aws.amazon.com/about-aws/whats-new/2017/07/amazon-cloudwatch-introduces-high-resolution-custom-metrics-and-alarms/
I want to use cloudwatch-fluent-metrics to log Kinesis consumer stats at 1s resolution, but then I saw the following in README:

Values
Obviously we need to log a value with each metric. This needs to be a number since we convert this value to a float before sending to CloudWatch. IMPORTANT: When logging multiple values for the same custom metric within a minute, CloudWatch aggregates an average over a minute. Click here for more details.

I see boto3's CloudWatch put_metric_data() has a StorageResolution field

StorageResolution (integer) --
Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide .
This field is optional, if you do not specify it the default of 60 is used.

Does cloudwatch-fluent-metrics support metrics @ 1s resolution?
Thanks

It does not support this. Currently looking into this.

I've added support for high-resolution metrics . . .

Thanks @troylar


Switch to Mercurial

Consider switching the source code repository to Mercurial. It makes it easier for people to contribute to the project.
This work item was migrated from CodePlex
CodePlex work item ID: '6839'
Vote count: '1'

[christianwarren@3/22/2012]
While I understand the way the 'patch' work in codeplex is pretty crappy (they should have used shelveset IMO), its not enough to change repository for now.

[UnknownUser@3/22/2012]

[mausch@3/22/2012]
Well, there's also the option of git now... http://blogs.msdn.com/b/codeplex/archive/2012/03/21/git-commit-m-codeplex-now-supports-git.aspx

[UnknownUser@2/14/2013]

[UnknownUser@5/16/2013]


Replace murmur hash with faster hash method

As discussed in issues of this project and with similar emotion project collaborators, the murmur hash function is very slow and for the needs of this project can be replaced with faster hash.
The provided function is tested on real enterprise project also and provides up to 4 billion unique hashes

Hey @blackswanny , since we at Signavio believe in this library we want to continue developing it further. Therefore, we've forked it and will release it as signavio-glamor. It would be awesome if you could direct your PR against our fork so that we can include it!

My commit was pushed in other similar project.
https://github.com/emotion-js/emotion/issues/536
See investigation here
https://github.com/emotion-js/emotion/pull/545


fix(deps): move to io.opentelemetry.semconv:opentelemetry-semconv

io.opentelemetry:opentelemetry-semconv was moved to io.opentelemetry.semconv:opentelemetry-semconv and the former will be deprecated.

It's not a version downgrade, though it looks like it. They have brought their versioning in line with the spec, and 1.28.0 is the latest version of the OpenTelemetry Semantic Conventions: https://opentelemetry.io/docs/specs/semconv/
If you check search.maven.org, io.opentelemetry:opentelemetry-semconv:1.30.1-alpha (the replaced version) was released on 2023-09-11, whereas io.opentelemetry.semconv:opentelemetry-semconv was released on 2024-10-15.


iprange overlap error message could be clearer

network <IP_ADDRESS>/10 would overlap with route <IP_ADDRESS>/16
Default -iprange <IP_ADDRESS>/10 overlaps with existing route.
Please pick another range and set it on all hosts.

A user reports...

Specifying -iprange and the dynamic aspects of weave was something I'd never touched yet.  Based on the error message, I had no idea where the 10.128.x route came from - so it seemed like this was some internal weave thing.  As my boxes are all set up by ansible scripts I had no reason to believe this box had anything special on it. Perhaps this error message could suggest to check out existing routes on the system, or link to a URL that could offer more advice.

Recommending somewhere to look for more advice seems like a good idea.  However, embedding specific URLs inside executables is likely to rot over time.
Maybe something along the lines of "look in the docs, in section [iprange]" ?

The only change would make is "existing route" -> "existing route on the host".
One would hope that googling for weave iprange would produce some useful links. Though it looks like the docs link is only #3.


Is it possible to bring flash memory/drive formatting feature?

Hi,
I use the application by default, but when I insert a flash memory, while formatting easily with the wibdows file manager, I could not see the formatting option in this application. Will it come in the future?

Use the issues page not pull requests


Doc: Android Support Repository

Bug Report
Support Repository no longer available in Android SDK
Install instructions say the the Android Support Repository must be installed in the Android SDK  and I expected to find it in the list
It is not in the install list because it is no longer supported and has been replaced by Maven
Information

Command or Code

Environment, Platform, Device

Version information

Checklist

[ ] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[ ] I included all the necessary information above

I think this should be part of #1057.

I created a pull request to update the Documents regarding this.
https://github.com/apache/cordova-docs/pull/1094


Parsing commandline arguments using Nuitka

Hi ,
How can we parse commandline arguements using Nuitka.
I had tried the code >python -m nuitka --recurse-all prog.py 10 60 -150 0 0.1 -1.0
But it is giving me an error
Usage: main.py [--module] [--execute] [options] main_module.py
main.py: error: no such option: -1

In this case you need to add "--run", which will pass options when execution. The first non-option argument is treated as the program, and everything after it, is passed for immediate execution.


SAK-26182 - Reorganization of group and peer assessment settings for clarity

This is a rewording of 2 checkbox labels in assessment settings and the corresponding changes to the text and images in the Help.

LGTM.

FYI @wilmahodges modified help screenshots for Sakai 11


Using Provider

We are able to Publish a new message ( every 5sec) and able to Subscribe to the message.
We do see the new message update in the terminal from the print(message) from the client.updates.listen() block.
Problem:
We then modified the  MQTTClientWrapper with  'extends changeNotifier'
so with client.updates.listen() occurs, we pass the data to a widget using Provider
void _subscribeToTopic(String topicName) {
print('Subscribing to the $topicName topic');
client.subscribe(topicName, MqttQos.atMostOnce);
// print the message when it is received
client.updates.listen((List<MqttReceivedMessage<MqttMessage>> c) {
  final MqttPublishMessage recMess = c[0].payload;
  var message = MqttPublishPayload.bytesToStringAsString(recMess.payload.message);

  print('YOU GOT A NEW MESSAGE:');
  print(message);  // Displays message correctly

  myData = message;
  notifyListeners();

});

In the top level widget, we pass the Provider down to the Text() widget , but the update never seem to occur.
Text(Provider.of(context,listen: true).myData ,  // This is not receiving the changeNotifier 'myData'
style: TextStyle(fontSize: 10,color: Colors.white),),
}
Any insight on why the notifyListeners inside the client.updates.listen() is not functions?

We narrowed the problem down.
It appears for some reason that the var myData  does not get updated inside the client.updates.listen()
class MQTTClientWrapper extends ChangeNotifier{
MqttServerClient client;
MqttCurrentConnectionState connectionState = MqttCurrentConnectionState.IDLE;
MqttSubscriptionState subscriptionState = MqttSubscriptionState.IDLE;
var myData = 'TestValue' ;  //Need to pass updates to widget, using Provider
// using async tasks, so the connection won't hinder the code flow
void prepareMqttClient() async {
_setupMqttClient();
await _connectClient();
_subscribeToTopic('Dart/Mqtt_client/testtopic');
_publishMessage('HelloWorld');
}
// waiting for the connection, if an error occurs, print it and disconnect
Future _connectClient() async {
try {
print('client connecting....');
connectionState = MqttCurrentConnectionState.CONNECTING;
await client.connect('octava', 'mqtt.7078');
} on Exception catch (e) {
print('client exception - $e');
connectionState = MqttCurrentConnectionState.ERROR_WHEN_CONNECTING;
client.disconnect();
}
// when connected, print a confirmation, else print an error
if (client.connectionStatus.state == MqttConnectionState.connected) {
  connectionState = MqttCurrentConnectionState.CONNECTED;
  print('client connected');

} else {
  print(
      'ERROR client connection failed - disconnecting, status is ${client.connectionStatus}');
  connectionState = MqttCurrentConnectionState.ERROR_WHEN_CONNECTING;
  client.disconnect();
}

}
void _setupMqttClient() {
client = MqttServerClient.withPort('5f06cdd1ba6f41858989ad188f4478bb.s2.eu.hivemq.cloud', 'octavaClient', 8883);
// the next 2 lines are necessary to connect with tls, which is used by HiveMQ Cloud
client.secure = true;
client.securityContext = SecurityContext.defaultContext;
client.keepAlivePeriod = 20;
client.onDisconnected = _onDisconnected;
client.onConnected = _onConnected;
client.onSubscribed = _onSubscribed;
}
void _subscribeToTopic(String topicName) {
print('Subscribing to the $topicName topic');
client.subscribe(topicName, MqttQos.atMostOnce);
// print the message when it is received
client.updates.listen((List<MqttReceivedMessage<MqttMessage>> c) {
  final MqttPublishMessage recMess = c[0].payload;
  var message = MqttPublishPayload.bytesToStringAsString(recMess.payload.message);

  print('YOU GOT A NEW MESSAGE:');

  print(message);  // Displays message correctly
  myData = message;
  print(myData);
  // notifyListeners();
});


[5.6] Encryption-related error after update

Laravel Version: latest 5.6
PHP Version: 7.2.3

Description
After updating my Laravel app to the latest 5.6 version I got some encryption-related errors.
[2018-08-31 22:20:31] production.ERROR: unserialize(): Error at offset 0 of 40 bytes {"exception":"[object] (ErrorException(code: 0): unserialize(): Error at offset 0 of 40 bytes at /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:149)
[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'unserialize(): ...', '/var/www/vhosts...', 149, Array)
#1 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php(149): unserialize('1UrtPuxFSNUGW5k...')
#2 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(95): Illuminate\\Encryption\\Encrypter->decrypt(Array)
#3 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(76): Illuminate\\Cookie\\Middleware\\EncryptCookies->decryptCookie('eyJpdiI6Ik9mZTh...')
#4 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Cookie\\Middleware\\EncryptCookies->decrypt(Object(Illuminate\\Http\\Request))
#5 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#6 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#7 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#8 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#9 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Router.php(642): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#10 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Router.php(608): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#11 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Router.php(597): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#12 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#13 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#14 /var/www/vhosts/example.com/releases/20180814230741/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(58): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#15 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /var/www/vhosts/example.com/releases/20180814230741/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#18 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#21 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#22 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#23 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#24 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#30 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#33 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#34 /var/www/vhosts/example.com/releases/20180814230741/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#35 /var/www/vhosts/example.com/releases/20180814230741/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#36 {main}
"}

Turns out that my APP_KEY made some trouble:
thannaske@vsc01 /var/www/vhosts/example.com/current # cat .env
[...]
APP_ENV=production
APP_KEY=base64:3Z6rtu3+bt//zKQKS1cLTLzUKMKmTk7UfUm45DAUZC0=
[...]

After regenerating it ...
thannaske@vsc01 /var/www/vhosts/example.com/current # php artisan key:generate
**************************************
*     Application In Production!     *
**************************************

 Do you really wish to run this command? (yes/no) [no]:
 > yes

Application key [base64:ewmnsOSx4jbCyS7fVfiGU9z0oLiwIpUpvs4rnb8jBWQ=] set successfully.

... the error was gone.
thannaske@vsc01 /var/www/vhosts/example.com/current # cat .env
[...]
APP_ENV=production
APP_KEY=base64:ewmnsOSx4jbCyS7fVfiGU9z0oLiwIpUpvs4rnb8jBWQ=
[...]

(Keys are of course invalidated and not longer used in production.)

See "Cookie Serialization":
https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30

Thank you!


Added a policy.html and policy.css so that Policy link works in the footer section

Successfully Solved issue: #186
Successfully added a policy page on the website which is missing before.
Please @RIKI-05  review and merge this PR under the Hactoberfest tag as I am the first to contribute in Open source.

@devwithsubhrajit2002  good job 😄


Column description is missing on Panels/Metadata

Description
Friends, thanks for great piece of software !!! To make it event better I decided to create this bug report because I'm convinced that this feature should work but it don't.
In our company most important tables and views are well documented, it means they have Table/View/Column descriptions set. This is very important for educated business users writing theirs own SQL scripts. The problem is that those descriptions does not appear on Metadata panel that is useful during sql design. I suspect that Description shall appear on LABEL column, because now LABEL contains the same value as COLUMN NAME, so I'm convince that this is a mistake.
Thanks you.
DBeaver Version
Community edition 22.3.0
Operating System
macOS Ventura
Database and driver
Latest MS SQL server driver
Steps to reproduce
see bug description
Additional context
No response

Label on this panel is used to show column alias if it was set.

The bug is that not only Label, but Name either is changed if alias was set.

Fixed


Relicense the project under Apache 2

I originally made the decision to license the server and most of the project under the GNU General Public License v3.0 because I saw Velocity make the change, and I agreed with their reasoning for it, in that I wished for this project to always remain open-source.
However, Velocity's main reasoning was the problem with downstream forks not contributing changes back to upstream, which is an issue we do not have. In addition, the GNU General Public License imposes many restrictions on how the source code can be used, and the strict requirements imposed by the license may deter some from contributing or using code from the project entirely. This is a problem, as the number one goal of this project is one of learning, and if others cannot feel as if they can freely use and learn from the code, then this goal is somewhat limited.
Therefore, I have made the decision to relicense the entire project under the Apache License v2.0. This license is far more permissive, and I am confident that it will make others more willing to use and adapt source code from this project. I have considered this option for a while, but it has been difficult due to the use of Velocity code, which is GPL licensed. However, I have discovered that, as there were no changes between the code that was MIT licensed, and the code that is GPL licensed, that I can base my derivative on the MIT licensed code, which allows this to go forward.
Though I have already obtained consent directly from the majority of contributors, I would like for all contributors to explicitly give their permission in a comment in this pull request, to make it explicitly clear that they approve of this change.

All fine by me, approval given :D

Lgtm 👍

I (Aidan Bennett) give @BomBardyGamer and @KryptonMC permission to use my horrible awful code.

Approval given.


Implementation of wrapper class CurrencyParameterSensitivitiesScenarioArray

Allows for use of CalculationRunner when calculating vega for scenarios.
Updated Vega measure calculations to return this type for scenario calculations.

Wrapper class needed to calculate scenario trade vegas with CalculationRunner. Would have put it with the other ScenarioArray wrapper classes in strata-data, but including CurrencyParameterSensitivities class causes a cyclic dependency between strata-market and strata-data.

Adopting a rule that ScenarioArray should only have subclasses where the subclass provides optimised data storage. Opened #2298 instead of this one.


Error handling

Will there be any error/exception handling added?

Yep, working on it. For now, a DropboxClientException would be thrown.
use Kunnu\Dropbox\Exceptions\DropboxClientException;

try {
    $file = $dropbox->getMetadata("/file-not-exists.txt");
} catch (DropboxClientException $e) {
    //
}