Question: placing config volume (rw) within the storage (ro) volume?

In my particular setup, all of my data is contained within a single ZFS filesystem (/zdata). For other docker containers, I have their persistent data stored inside this ZFS array as well (/zdata/docker/(whatever)), because Crashplan is currently backing up all of the /zdata directory.
My question is, if I place the config rw volume in, say /zdata/docker, and put the root of the storage ro volume /zdata such that it contains the config volume, is this going to fail catastrophically? Or will the config volume just end up read-only? I could just test this, but I don't want Crashplan or docker to freak out and start deleting data, or something!

If I understand correctly, you want to map /zdata on the host to /zdata on the container and /zdata/docker/crashplan on the host to /config on the container, is it correct?
The only thing I would do is make sure that CrashPlan doesn't backup its own directory (i.e. /zdata/docker/crashplan).

Yes, like that. And now that you've typed that out, suddenly it seems like a terrible idea to let CrashPlan back up its own in-use files. :) I'll go ahead and use a much more sane configuration, thanks for the sanity check :)

You just need to disable this folder in CrashPan's backup file selection.

Fantastic :) I'll close this off now then, thanks for your help!


Added a Maze Loader

Fixes Issue🛠

Closes #478
Description👨💻

Added a maze loader under loaders section.
Type of change📄

[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
Tested locally.

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷
https://github.com/Rakesh9100/Beautiify/assets/125133940/6620f57e-f81d-443c-93e1-7480d083dc4f

Merged 🎉 @Dhairya1Gupta


Create timeout command

What issue is this solving?

Closes #235
Description

Added timeout command (both non-slash and slash versions).
The command times out a user using Discord's new timeout functionality, DMs the user, records the event in audit-logs, and records the event in both the infractions and mod_log tables.
Mods and above cannot be timed out. Timed out users are automatically un-timed out after the specified time has elapsed (we don't need to code this on our end).
May still need to discuss the following, which was on the linked issue:

We need to discuss how this may impact how users contact server staff. As we are currently considering moving to a channel-based ModMail-like tool, that would render users in timeout unable to contact staff.

Any helpful knowledge/context for the reviewer?

Is a re-seeding of the database necessary? No
Any new dependencies to install? Yes
Any special requirements to test? The usual, test with different roles to see effects. Minimum role required is Moderator.

(e.g., admin perms, alt account, etc.)

Please make sure you've attempted to meet the following coding standards

[x] Code has been tested and does not produce errors
[x] Code is readable and formatted
[x] There isn't any unnecessary commented-out code

I did some quick testing on the input validation for the duration. Some invalid inputs currently get through the RegEx validation and throw errors. One example is using this string for duration: 112sm. This makes the command fail with a couple of error messages. I think the most solid solution is to create a drop-down of duration options which is fairly easy to do with slash commands. This is what the built in Discord command uses. Another option may be to use a combination of an input field for an Integer with a dropdown for units such as minutes, hours, days, weeks.

It would be good to modify the code so that multiple interaction.reply methods are not executed which causes an Unhandled Promise Rejection, at least when the 2nd reply is in the catch block. One case where this currently happens is if writing to the DB fails. Since we are handling the error already - sending a reply and logging it with console.error it should not have to trigger an additional Unhandled Promise Rejection. I posted some more info on Discord about the issue.


Shadow Walk can be used to stay in the same location

Card
Shadow Walk
Describe the bug
I was able to use Shadow Walk to move from Town Square to Town Square.
To Reproduce
Steps to reproduce the behavior:

Start a game using a deck with Shadow Walk in it.
Attach Shadow Walk to a dude.
Move the dude to Town Square (not sure if this can be replicated in other locations yet)
Use Shadow Walk, when prompted to select a location to move to, select Town Square.

Observed Behavior: Shadow Walk is used. You should not be allowed to move to the location you're in with the card.

There are many instances where game "allows" to do something that is not according to rules, and movement to the same location is one of them. It was a conscious decision as I do not want to be too strict and have everything lined up for player.


ensure dns lookup happens after dns_info.lookup_name changes

Found this bug with ats master on a server that has dest_ip=xxxx in one of the parent.config lines.  In this case all parent.config primary/secondary parents are being assigned the fqdn's ip address.
This bug was introduced with ats master dns rewrite where ats92's dns_info's lookup_success and srv_lookup_success were collapsed into a single 'resolved_p' boolean (part of HttpTransact).

[approve ci autest]

[approve ci autest]

Cherry-picked to 10.0.x


[airsonic] Adjust airsonic mount paths for airsonic-advanced

Description of the change
Airsonic advanced images use different default mount points, see https://github.com/airsonic-advanced/airsonic-advanced#docker
Benefits
Makes the persistence actually work with airsonic advanced docker image
Possible drawbacks
Potential change needed when migrating if custom configuraiton has been done inside airsonic to mount the old mountpoints.
Checklist

[x] Chart version bumped in Chart.yaml according to semver.
[x] Title of the PR starts with chart name (e.g. [home-assistant])
[x] Variables are documented in the README.md (this can be done with using our helm-docs wrapper ./hack/gen-helm-docs.sh stable <chart>)

I updated, also changed to a new major version as this potential requires adjusting the config if you're depending on the old mount locations.


Feature request: allow kompose / kompose-lite printing to stdout

With this, one can pipe conversion results to kubectl:
$ kompose convert | kubectl create -f -

We discussed about it. Plan to have it in the next few days.

This issue was solved on kompose2


Consolidate documents and documentIgnorePatterns in manifest config

Removes the documentIgnorePatterns in favor of documents. This switches the underlying glob parsing library from glob to globby.

Good call. I'm hitting up a documentation pass, so I'll make a change in the next PR. Thanks!


chore: fix the theme of dropdown menu on articles page (dark mode)

Fixes #(issue)
this pr fixes #1063
Pull Request details

previously, the dropdown menu of article page was  in light mode even the page was in dark mode.
this  pr implements the dark mode for dropdown sort by button

Associated Screenshots
fixes:
Screencast from 2024-10-06 01-10-33.webm

This is great! Would you be able to fix the profile menu on mobile too with this fix? Thanks!

@NiallJoeMaher  done with the changes, LMK if there are more to be fixed?
Screencast from 2024-10-06 02-18-55.webm

Thanks! I'll scout through the screens to see if there are any more but let's get this merged! Well done.
The only thing left is to run npm run prettier:fix to cleanup a lint issue in the tabs component.

@NiallJoeMaher fixed the lint issue!


pdns-recursor: 4.1.2 -> 4.1.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pdns-recursor/versions.
These checks were done:

built on NixOS
/nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin/rec_control passed the binary check.
/nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin/pdns_recursor passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 4.1.3 with grep in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3
directory tree listing: https://gist.github.com/5eac7110d507381d1bcb747d44e175ba
du listing: https://gist.github.com/4805d9a92ed57016e729c49cf2de1e3c

meta.description for pdns-recursor is: '"A recursive DNS server"'.
cc @rnhmjoj for testing.

Success on x86_64-linux (full log)
Attempted: pdns-recursor
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3
shrinking /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin/rec_control
shrinking /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/sbin/pdns_recursor
gzipping man pages under /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin  /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/sbin
patching script interpreter paths in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3
checking for references to /build in /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3...
moving /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/sbin/* to /nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3/bin
/nix/store/8ifncdfxzi2s8cnhx7a2hj74h4mqq1vi-pdns-recursor-4.1.3

Success on aarch64-linux (full log)
Attempted: pdns-recursor
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3
shrinking /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/sbin/pdns_recursor
shrinking /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/bin/rec_control
gzipping man pages under /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/bin  /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/sbin
patching script interpreter paths in /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3
checking for references to /build in /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3...
moving /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/sbin/* to /nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3/bin
/nix/store/0slzpylrkwl2i285nwbwqx0c5w8s8c91-pdns-recursor-4.1.3


FatalErrorException with lumen 5.6

(1/1) FatalErrorExceptionAccess level to Jenssegers\Mongodb\Eloquent\Model::fromDateTime() must be public (as in class Illuminate\Database\Eloquent\Model)
in Model.php (line 15)
Access level to Jenssegers\Mongodb\Eloquent\Model::fromDateTime() must be public (as in class Illuminate\Database\Eloquent\Model
Getting ErrorException after making this function protected
(1/1) ErrorException
Declaration of Jenssegers\Mongodb\Eloquent\HybridRelations::morphTo($name = NULL, $type = NULL, $id = NULL) should be compatible with Illuminate\Database\Eloquent\Model::morphTo($name = NULL, $type = NULL, $id = NULL, $ownerKey = NULL)

Following. Same problem with Laravel 5.6

+1, same for me

+1, same for me in laravel 5.6

Solved on release v3.4.0!

Yes solved in 3.4.0


Findbugs fix, and serialization questions

See code comments in second commit. I'm probably misunderstanding something, but it appears .equals() breaks after serialization of a ReferenceCollection.

Hi Dan,
ReferenceCollection uses a serialization proxy which represents the serial form of ReferenceCollection and all its subclasses, in this case, rqf doesn't need to be transient, it's a false positive.
Serialization support for RC Maps hasn't been implemented yet.
I think it was a mistake to add Serialization support to the reference collection classes.  No River / JGDMS code utilises it.
The way reference collections work is to decorate a java collection with weak, soft, or timed reference capability, so wrapping another class with Collection means it only implements Collection and Object methods, the wrapped underlying implementation eg ArrayList is hidden.   Equals for ReferenceCollection is undefined, subclasses of ReferenceCollection implement the various equals contracts of List, Set, Map etc.
My thoughts; we should probably remove support for Serialization before someone decides to use it, before breaking backward compatibility becomes a bigger problem.

Hi Peter,
Thanks. Makes sense. Removing serialization sounds best, until there is some proof it is needed.
I'll take a stab at removing it (unless you do it first).
Dan

Thanks Dan,
I agree,  I'm time poor for the next four weeks (an on-site project),
I'd be grateful if you can get it done.
Cheers,
Peter.
On 21/10/2017 11:45 AM, Dan Rollo wrote:

Hi Peter,
Thanks. Makes sense. Removing serialization sounds best, until there
is some proof it is needed.
I'll take a stab at removing it (unless you do it first).
Dan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pfirmstone/JGDMS/pull/45#issuecomment-338355717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFlMvoJ3h6k15CsBUYl8fISymH63SBpks5suUysgaJpZM4QAF1N.


Hybrid - Behavior Mgmt - Creation of Behavior Involvement and Behavior Response to handle light behavior management

Spec: https://salesforce.quip.com/QLeJAxYpxBWE
Spike: https://salesforce.quip.com/h7L7AxaR3jXM
Purpose:
Keep track of an behavior case, who was involved (handle multiple people), when it happened, what happened, where it happened, and what actions were taken by the educational institution in response to the event.
Keep track of a student's disciplinary marks through a school year, term, or their entire duration attending that education institution. An behavior case can involve multiple parties, multiple cases, and stay with the 'Contact' for the entire duration of the term or school year or time at the educational institution.
The "Behavior Involvement" will the the junction object between a 'Contact' and a 'Case', which allows an organization to record a case for one incident and associate multiple people and their role played in said incident.
The "Behavior Response" will be an object linked to Behavior Involvement object through look up relationship, which allows an organization to record an action/response on a behavior involvement.

**lurch: add

Tracking W-034849


Cancel statement don’t work due to “Session is locked by a concurrent client” (0.3.2-patch11)

Hi!
I'm unable to cancel a statement using the cancel() method if session_id is set.
I had the same problem with the driver v0.3.1, however, there it was possible to set the SESSION_ID to null for the ru.yandex.clickhouse.ClickHouseStatementImpl statement before cancelling with ru.yandex.clickhouse.ConfigurableApi#addDbParam.
With a new driver, a similar approach with the com.clickhouse.jdbc.internal.ClickHouseStatementImpl statement does not help.
I tried to remove session_id from CUSTOM_PARAMS using com.clickhouse.client.ClickHouseRequest#option, however, this is not enough.
I need your help.
Tell me, please, how can I reset the session_id in the driver v0.3.2? Or is there another way to make cancel() work?

Sorry it's a bug introduced in 0.3.2-patch10. The session_id defined in connection string is re-used for query cancellation, which does not work(because ClickHouse can only execute one query at a time for each session). I don't have a good workaround for this, but you must use patch11, you may consider remove session_id from connection string and manage session manually using unwrapped statement(e.g. statement.unwrap(ClickHouseRequest.class).session(...).query(...).execute()).


minimal fix for 2.4

This gets the build to work despite canton#9673. We'll probably want
to make further changes on this side to align with the new Canton docs
structure.

I'd prefer getting this merged first (to fix CI) and then for someone who knows what to do with the toc on this side to open a second PR for that.

Thanks. We need to figure out how we can help to proliferate such changes without you having to fix stuff that we've broken.

Thanks. We need to figure out how we can help to proliferate such changes without you having to fix stuff that we've broken.

Yes. There are a couple ways we could approach that, and I'll be getting back to you a bit later (I'm off this week).


Implemented unit test that matches execution time across different time zones.

Signed-off-by: AWSHurneyt<EMAIL_ADDRESS>Issue #, if available:
Implemented unit test that matches execution time across different time zones.
Description of changes:
CheckList:
[x] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #462 (f2c5f20) into main (036947c) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #462      +/-   ##
============================================
- Coverage     76.74%   76.62%   -0.12%
  Complexity      176      176
============================================
  Files           166      166
  Lines          8369     8369
  Branches       1231     1231
============================================
- Hits           6423     6413      -10
- Misses         1342     1350       +8
- Partials        604      606       +2

Impacted Files
Coverage Δ

...rch/alerting/model/action/ActionExecutionPolicy.kt
85.71% <0.00%> (-7.15%)
:arrow_down:

...arch/alerting/model/action/ActionExecutionScope.kt
67.64% <0.00%> (-5.89%)
:arrow_down:

...ing/model/destination/DestinationContextFactory.kt
75.00% <0.00%> (-3.58%)
:arrow_down:

...nationmigration/DestinationMigrationCoordinator.kt
61.70% <0.00%> (-2.13%)
:arrow_down:

...destinationmigration/DestinationConversionUtils.kt
68.88% <0.00%> (-1.12%)
:arrow_down:

...ain/kotlin/org/opensearch/alerting/AlertService.kt
77.99% <0.00%> (-0.48%)
: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 036947c...f2c5f20. Read the comment docs.


host isn't configured for pending voucher email

looks like the host wasn't configured on the instance (not sure if if the email is from the production or the testing instances)

Updated


[Enhancement] Stopsound

Describe the solution you'd like
There is a mechanic called sound which does /playsound but I dont see /stopsound

Also a way to play the sound to a single person instead of the whole area would be nice

Describe the solution you'd like
There is a mechanic called sound which does /playsound but I dont see /stopsound

You can directly select the people you want to stop and execute the command/stopSound for them

Also a way to play the sound to a single person instead of the whole area would be nice

The same is true for this problem, simply select a single target and have them execute the command /playsound

Closing this since sound mechanic is played for area and stopsound is for one person


clientUser#setAvatar no loner work with a buffer

new changes in #819 in clientUser#setAvatar assume parameter avatar is a string with string method startsWith,  this result in TypeError: avatar.startsWith is not a function when pass in a buffer.
The doc still say support buffer as a parameter: https://discord.js.org/#/docs/main/stable/class/ClientUser?scrollTo=setAvatar

fixed in #1048


Integrate DataTable https://www.datatables.net/

Use theDataTable component for dynamic display and searching of parts list

closing as will implement the dynamic tables as per #127 using htmx


Crosshairtool

Test: https://deploy-preview-534--cornerstone-tools.netlify.com/examples/crosshairs/
Yet to figured out whats the best way to have an example for tool that interact between viewports

@galelis can you create a new project board item, convert it to an issue, and assign it to me? Just a simple list of things you'd need the primary example to be able to support so we can continue to use it as a quick place to check one or more tools?


PAAS-9510 Update community PHP cookbook

Jira Tickets included in PR are:

PAAS-9510: Merge Updated PHP Community Cookbook into our Repo

Please update our current fork of the PHP cookbook with the latest community cookbook. Our version is 280 commits behind. An update was pushed to the community that is addressing an issue I'm seeing with installing a PEAR package.

Community repo

[https://github.com/chef-cookbooks/php]

Our repo

[https://github.com/GannettDigital/chef-php]


Add shell=True when installing npm packages.

For windows.

Need a better solution that this one. Closing.


Refactor Gemfile

Our Gemfile currently references very few version numbers, and this is a problem because anytime someone inadvertently updates Gemfile.lock (like in #535) we inadvertently upgrade Reservations' dependencies.
We should use the appropriate version identifiers (see http://bundler.io/v1.6/gemfile.html) - for example:
gem 'capybara', '~> 2.0.0'

We only want to automatically upgrade to service releases for capybara, ie. versions between 2.0.0 and 2.1.

We should try to get this done before we hand this off... Gemnasium says we have 39 out-of-date dependencies. Obviously one of our biggest ones is Bootstrap (see #245), but once that's done I'll try to update the remaining gems one at a time to get us up-to-date.

For future reference, we should really be in the habit of updating individual dependencies regularly (which Gemnasium should help us do), instead of leaving them all to a mega PR like this will end up being. Especially because in a lot of cases we don't know if an upgrade will be a drop-in replacement or not, and if it isn't, there could be a lot of code changes necessary to make it work.

Agreed, I would argue we should do it before every minor release. #600 is hopefully our several thousand dollar renovation in the hopes of avoiding the multimillion dollar one :-P.

As suggested in #1116, we're going to use this issue to update Rails to 4.1.9 and Ruby to 2.1.5. I'll also go through Gemnasium and try to update most of our other dependencies.

@orenyk IMO we should probably do one PR per dependency update, just to keep them manageable

Yea, we could do that; I don't think we need to open up multiple issues though. I'm hoping (perhaps naively) that most of our outdated dependencies won't be too much trouble :stuck_out_tongue:

woot we can stop getting the permanent_records gem from the Git repository :laughing:

I'm chaining a series of branches together so we can sequentially run the PR's. I've opened the first one for Rails (#1157) and can open up successive ones once it's merged in. After all the gems are updated I think we should also update to the latest Ruby version (2.1.x) as well.

Note that I've been checking the changelogs when possible and haven't noticed any potentially breaking changes in any gem updates I've performed.

I'm going to just get everything up-to-date and then I'll review all the gems and see if there are any we're not using any more that can be removed.

Ok, all the gems have versions specified and are up-to-date (see #1158). Final step is checking to see if we have any we're no longer using that should be removed, after which we can close this issue.

Alright, I removed the yajl-ruby gem and added a comment to the Gemfile. Now that all the dependencies have been updated I think we're good to go!


python3: comp_urllib not found.

Looks like the recent changes in commit 8dd4ae27 don't work for Python3 (on Xubuntu).
$ python3 src/example/dump_camera_capabilities.py
Traceback (most recent call last):
  File "src/example/dump_camera_capabilities.py", line 1, in <module>
    import pysony
  File "/usr/local/lib/python3.5/dist-packages/pysony-0.1.11-py3.5.egg/pysony.py", line 9, in <module>
ImportError: No module named 'comp_urllib'

seems that the 'comp_urllib' is now included in the src directory, but is not linked into the resultant module. I suspect the code works if run locally, but once installed to 'dist-packages' it fails.
Temporary/hacky workaround attached as a method getting pySony working under python3, would not work with python2.
temp_fix.txt

better workaround attached.
temp_fix2.txt

merged


Use cargo make to run Prometheus locally

This is part of ENG-728: Set up the observability stack in cargo-make (local deployment).
We added cargo-make scripts to be able to run Prometheus locally to help Prometheus metrics related development.
Run cargo make prometheus-run to start a local Prometheus instance. Then you can visit http://localhost:9090 for Prometheus UI.
You can see the metrics endpoints that's being scraped by Prometheus.

You can also query metric by name and make a graph.

This is good enough for testing metrics reporting locally during development. For prod monitoring it's recommended to use Grafana which we will probably integrate with Prometheus later.

Assigned this to me and put into draft


Query view with stale = ok does not work

Expected Behavior
it should return the data in the db I am querying
Current Behavior
It returns empty array
Steps to Reproduce (for bugs)
1, Set up a CouchDb running locally.
2, Try to query a view by:
var db = new PouchDB('http://admin:admin@localhost:5984/dbname');
db.query('design_name/view_name', {
      stale: 'ok',
      limit: limit,
      skip: skip,
      include_docs: true,
      reduce: false
    });

Context
I am writing a test for my project which needs to set up db locally and get data from it. The query sentence with stale = 'ok' actually works well with the remote cloudant database. But when I set up the CouchDb locally, it does not work.
Your Environment

Version used:v. 2.0.0
Browser Name and version:Chrome
Operating System and version (desktop or mobile): Mac

There is a difference between the Cloudant offering and your local CouchDB. Cloudant have a "view warming" service that automatically builds views for you in the background. CouchDB doesn't offer this functionality.
You have to build your view at least once, by querying it without the stale=ok option. Once you have done this once, subsequent queries can be made with stale=ok.


Make very long server names possible

The Problem/Issue/Bug:
Having long server names causes the ddev-router to cease working.
Error message during start:
nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
How this PR Solves The Problem:
This patch increases server_names_hash_bucket_size to the maximum possible size (128).
Manual Testing Instructions:
Create a server name longer than 32 characters and you should see, that none of your projects will start again.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for this! How long are your server names? :)

Currently? 45 chars. But as you might know that will grow :-)

Anything I can do about the failing tests?

Jan i thnik you need to sign the sla ... then it will be fine.

@janhelke I'm looking into the test failures, they don't seem to be related to your changes.

Appveyor isn't yet supported in master (and may not be) so it's no-worries.
I pushed a web container version with this in it: drud/ddev-webserver:20190305_longer_nginx_server_names
It can now be tested with that by altering the config.yaml.
We need an edit in pkg/version/version.go pointing to that tag though please (20190305_longer_nginx_server_names) .

I took the liberty of pushing in that one commit to push the new docker container version tag, hope that's OK.

Artifacts for manual testing are at https://circleci.com/gh/drud/ddev/10522#artifacts/containers/0

I can confirm that after inserting the modified webimage in the affected config.yaml, shutting down all containers and restart, everything works fine.

Hmm, trying to test using name: a1234567890b1234567890c1234567890d1234567890e1234567890f1234567890 in .ddev/config.yaml, and I note that while curl, ping, and telnet can handle the resultant hostname, both Chrome and Safari (on macOS) refuse to resolve it. So that could be a problem.

Note that testing this PR requires a ddev rm -a before the ddev start with the new version; otherwise the new router isn't generated.

Sorry. My bad. I tried the webcontainer change and was under the impression, that this would help. But   it doesn't. So from my point of view no change on the webcontainer is needed, only the one on the router.

It was my bad. I have now pushed the router, and will post the artifacts for ddev shortly (you have to use the ddev version from artifacts to test). But again, I find the results in https://github.com/drud/ddev/pull/1484#issuecomment-470284175 - If you want to use Chrome or Safari on macOS to use huge hostnames it doesn't seem to work (curl works fine).  This article has links to all the necessary info on URL lengths, and implies that there should be no problem, but I sure have a problem.

Artifacts for testing are at https://circleci.com/gh/drud/ddev/10617#artifacts/containers/0 - I would imagine that just configuring a simple project with a long hostname is good enough. So download the ddev you need, ddev rm -a and ddev start your long-name project.

I tested this with name: a1234567890b1234567890c1234567890d1234567890 (resulting in a 44+5+6=56 character URL) and it seemed to work everywhere.
However, this will need to be tested and approved by the OP to get in, we need to make sure it does what you need, otherwise it will be closed. (That means you @janhelke !)

Configure a long, problematic name
ddev rm -a
ddev start
Confirm adequate behavior for your use case.

I can confirm, that using the provided artifacts our projects (even the one with the very long names) work like a charm.


Uncaught Error: spawn scala ENOENT

[Enter steps to reproduce below:]

Select Package -> Run Scala Worksheet
...

Atom Version: 0.166.0
System: Mac OS X 10.10.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: spawn scala ENOENT
At events.js:85

Error: spawn scala ENOENT
  at exports._errnoException (util.js:742:11)
  at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
  at child_process.js:1142:20
  at process._tickCallback (node.js:378:11)

Commands
 34x -2:20.0 core:move-right (atom-text-editor.editor.is-focused)
     -2:16.3 core:move-up (atom-text-editor.editor.is-focused)
 11x -2:15.0 core:select-right (atom-text-editor.editor.is-focused)
 11x -2:13.4 core:select-left (atom-text-editor.editor.is-focused)
     -2:10.6 core:move-down (atom-text-editor.editor.is-focused)
     -2:10.0 core:move-up (atom-text-editor.editor.is-focused)
  3x -2:09.7 core:select-down (atom-text-editor.editor.is-focused)
  5x -2:08.3 core:select-right (atom-text-editor.editor.is-focused)
  3x -2:07.4 core:move-up (atom-text-editor.editor.is-focused)
 13x -2:05.7 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -2:03.2 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -2:02.7 core:select-right (atom-text-editor.editor.is-focused)
     -2:02.0 core:select-down (atom-text-editor.editor.is-focused)
  5x -2:01.6 core:select-up (atom-text-editor.editor.is-focused)
  3x -1:59.2 core:select-down (atom-text-editor.editor.is-focused)
     -0:00.0 scala-worksheet:run (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ],
    "projectHome": "/Users/mkodnani/git"
  },
  "editor": {
    "fontSize": 15
  }
}

Installed Packages
# User
language-scala, v1.1.0
linter-scalac, v0.3.3
scala-worksheet, v0.3.4

# Dev
No dev packages

Please install the scala binary and make sure it is on your path.

Also, please upgrade atom to the latest version. The error message should be better for this case.


Option to hide banner for all workspaces

Currently the banner is shown for every workspace in restricted mode. You can dismiss it for the workspace, but not for all workspaces.

To Verify:
Test the new setting: security.workspace.trust.banner
Read its 3 values, ensure you can understand them, and make sure each one functions as described.

Going from "never" to "always" in an untrusted workspace doesn't show the banner until reload, but I can see how that might be intentional.


Add "Share to Mastodon" button

Add a "Share to Mastodon" button to the existing share toolbar underneath blog posts.
This guide may be helpful.

I was looking into the options for doing this. Here's what I found:
This option already mentioned above:
https://www.kylereddoch.me/2023/02/20/creating-mastodon-share-button.html
http://grayleonard.com/mastodon-share/demo.html
Third party service that provides a instance-agnostic share page: https://toot.kytta.dev/
This seems pretty nice in terms of UX, but for stability, I imagine Thunderbird would want to host its own copy. If we could get this page added to the blog though, I think it offers the best experience out of the options presented.

On second look, the toot.kytta.dev option doesn't seem viable as it runs on node and I now see that this is a wordpress based blog.

Okay I have a new favorite to recommend:
https://github.com/Juerd/tootpick
This is a very similar implementation to toot.kytta.dev but can be self hosted as a single self-contained html page. I imagine this should be achievable fairly simply in wordpress.
I think the design of the page could use a little touching up - maybe style it to match thunderbird's theme and style, but other than that I think this would be a great way to add a share to mastodon button.

@MelissaAutumn Do any of the above seem like viable options to implement in the near future?

I've seen tootpick used in other places directly, so that's definitely an option!
Although I actually prefer @micahilbery's web component the most. Integration would be pretty simple as it's just a javascript web component, and it's also extremely easy on the eyes. The only problem here is we're missing a mastodon share icon. 😄

https://github.com/micahilbery/share-on-mastodon/

HA! I actually used that share functionality last week and didn't even realize it was Micah's.
Mastodon doesn't seem to have any official "Share" icons, so I suppose we need to roll our own using their brand guidelines?

Yep, if we can get an icon similar to our existing portfolio here:

Then I or someone else can slot it right in.

I used Tabler icons for those, so you just need the following SVG:
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-m" viewBox="0 0 24 24">
  <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
  <path d="M18.648 15.254c-1.816 1.763 -6.648 1.626 -6.648 1.626a18.262 18.262 0 0 1 -3.288 -.256c1.127 1.985 4.12 2.81 8.982 2.475c-1.945 2.013 -13.598 5.257 -13.668 -7.636l-.026 -1.154c0 -3.036 .023 -4.115 1.352 -5.633c1.671 -1.91 6.648 -1.666 6.648 -1.666s4.977 -.243 6.648 1.667c1.329 1.518 1.352 2.597 1.352 5.633s-.456 4.074 -1.352 4.944z" /><path d="M12 11.204v-2.926c0 -1.258 -.895 -2.278 -2 -2.278s-2 1.02 -2 2.278v4.722m4 -4.722c0 -1.258 .895 -2.278 2 -2.278s2 1.02 2 2.278v4.722" />
</svg>

I can take a look in the upcoming days.

I'm definitely willing to take PRs upstream if there is anything you'd like that would make it more extendable and versatile. Also if you see anything I'm doing wrong or could do better I'm all for the corrections too. It was the first web-component (and only, so far) that I've written so I'm sure there's room for improvement.

I think if we wrap the inner contents of mastodonBtn with a slot element, we can easily override the existing button with our svg, while still preserving the default button if theres no child data in the web component element.
That's how I'd probably do it.

@micahilbery Thank you for merging the PR 👏🏻 Do you mind releasing and publishing the next version (1.0.6? 1.1.0?) on npm?

@micahilbery Thank you for merging the PR 👏🏻 Do you mind releasing and publishing the next version (1.0.6? 1.1.0?) on npm?

@devmount I learned a lot today 😅 but I think I finally got it published and setup with GitHub Actions so hopefully it will remain up-to-date.

Just a small comment, we might want to grid the share icons. On my phone (Galaxy Flip Z 5) whoch is pretty narrow the icons are cut off.

Thanks to both of you, will fix that on the way.

@MelissaAutumn What do you think would be the best implementation strategy here? Since this is a simple WP theme, we don't have a build step (and I still don't think we need it). So that leaves us with the following option:

Use a script tag and call jsdelivr.net on every request
Use the web component as git submodule

Ok I went with the first option for now in #46. We can improve that later if there's need.

We should actually pull in the script file into our repo. Submodules would complicate things, and remote calls can be slow/blocking or eventually lead to security concerns.
It does mean we'll have to update the script anytime Micah does a release, but it seems like a pretty feature complete component right now so I'm not too worried about that.

Alright, I'll add that script file to our assets then. Will update this PR in a few

This is now live!


Expose OS data directory getter methods (3.x)

3.x version of https://github.com/godotengine/godot/pull/48544.
This can be used by editor plugins and non-game applications to store data in the correct directories according to the XDG Base Directory specification.
I tested this PR on 3.x with the following code sample and it works as expected:
func _ready():
	print(OS.get_data_dir())  # /home/hugo/.local/share
	print(OS.get_config_dir())  # /home/hugo/.config
	print(OS.get_cache_dir())  # /home/hugo/.cache

The added doc is not alphabetically ordered.

Thanks!


E   Exception: problem

<string>:3: Exception

In the stacktrace you can see I'm calling wandb.init(). The problem is inside _get_program_relpath_from_gitrepo and can summarized as this: you should never call os.path.relpath with paths located in different Windows partition. In this case, the "program" and the repo are in different partitions.
Not sure this helps but I can't run the code now.

Of course I'm still having the issue. Honestly, I'm quite surprised you even think to close an issue because the opener doesn't reply for a few days in this period of the year ^^"

I figured out this is a duplicate of

https://github.com/wandb/client/issues/1991

It happens to me only when I run tests from PyCharm. The issue above was closed by a bot because stale but it has never been fixed.

Yes, I'm using that. I've not checked too much if the workaround is acceptable as a stable change that can be merged to the repo I'm working on though.

xref ray-project/ray#28542 which seems to be similar.


[SQLite] Make migration rebuilds/renames safer

Improvement on #329. Depends on #2558
Will need to perform renames and rebuilds outside of a transaction.
Table renames proceeded by PRAGMA foreign_keys=ON;
Rebuilds proceeded by PRAGMA foreign_keys=OFF;

Closing since the work toward #329 was undone.


Spacer icon appears as 'div'

In the following changeset on the next branch (0.2.53), a spacer icon was added to line some columns up:
commit 1a926fb3b3627166d2c264a8acf691d56a8fb876
Author: Domino987<EMAIL_ADDRESS>Date:   Fri Sep 23 13:50:34 2022 +0200

    fix for action columns display

diff --git a/src/material-table.js b/src/material-table.js
index b55c8403..7ce567fd 100644
--- a/src/material-table.js
+++ b/src/material-table.js
@@ -419,6 +419,19 @@ export default class MaterialTable extends React.Component
{
           }
         });
       }
+      // If only bulk update and add row are used, the columns do not align wit
h the action column, because no action column is present for the add
+      if (
+        this.state?.showAddRow &&
+        calculatedProps.editable.onRowAdd &&
+        calculatedProps.actions.filter((action) => action.position === 'row')
+          .length === 0
+      ) {
+        calculatedProps.actions.push({
+          icon: 'div',
+          position: 'row',
+          onClick: () => {}
+        });
+      }
     }

     return calculatedProps;

This use of icon: 'div' is bogus, and it results in 'div' being added to the page as text.
The string here is passed to MUI's Icon by MTableAction, so it is a font icon name, not a component name.  When I do not have an icon font in my build, I see 'div' in the page directly. When I add a stylesheet from https://fonts.googleapis.com/icon?family=Material+Icons, I see 'div' flash and then fade to blank (presumably there's no matching icon for div and so it replaces it with a blank icon).
Using this as a spacer is a bit nasty anyway: it results in a blank button that you can click and see the MUI ripple effect even though it doesn't do anything.  The code in MTableAction is already handling the difference between strings and components for the icon, so maybe we could add special-case handling for a spacer here?
Also, disabled: true would be better than onClick: () => {}.
/cc @domino987

agreed and will be fixed with the next release. Thank you


post images not showing after upgrade android x

when someone post in it , blank image showing , after upgrading to android x and firebase

Yeah even i have the same problem

when someone post in it , blank image showing , after upgrading to android x and firebase

Hi, I have set it to androidX. I upgraded all firebase libraries and extracted APK without any problem. When I install it on the phone, the google login button works. I select it in the account but it does not enter the account


build: Bump Python packages

Challenges:

Had to hold back GDAL from 3.9 because it's not yet in nixpkgs
https://github.com/NixOS/nixpkgs/pull/311310.
Had to hold back numexpr from 2.10 because it's not yet in nixpkgs
https://github.com/NixOS/nixpkgs/pull/310837.
Had to hold back matplotlib from 3.9 because it needs a poetry2nix
override https://github.com/nix-community/poetry2nix/pull/1659.
Had to force sat-search version 0.3.0 to avoid Poetry downgrading it to
0.1.0.
Had to add Cython 0 to the color-operations build inputs
https://github.com/nix-community/poetry2nix/pull/1658.

Archiving repo; closing so the PRs don't hang around forever.


More quoting in Bash

Someone ended up with STAMP_PATH containing a blank line.
Also, replace [ with [[.
FIxes https://github.com/flutter/flutter/issues/15081

will land on green.


tvOS and macOS were looking for previous KSZombie.m and not new KSZom…

…bie.c
@kstenerud Frameworks were not building for tvOS and macOS because of projects looking for KSZombie.m

Bleh always something you miss! Thanks!


Support for jsonpatch

Hi
im triing to get my patch operations working but the generated swagger is/seems wrong.
i have seen https://github.com/domaindrivendev/Swashbuckle/issues/595 but that is related to asp.net classic
in asp.net core JsonPatch is part of the framework but the generated swagger.json is wrong:
i get:
"JsonPatchDocument[T]": {
"type": "object",
"properties": {
"operations": {
"type": "array",
"items": { "$ref": "#/definitions/Operation[T]" },
"readOnly": true
}
}
}
but it should be:
"JsonPatchDocument": {
"type": "array",
"items": { "$ref": "#/definitions/Operation" },
}
}
can someone please point me in the right direction?

i found a workaround:
i changed the methodsignature from JsonPatchDocument to Operation[] that way swagger is generated correctly.
i dont like this approach because i need JsonPatchDocument to apply the patch. Its constructor contains IContractResolver as parameter that now needs to be obtained somehow.
and its simply not the way its ment to be according to:
http://benfoster.io/blog/aspnet-core-json-patch-partial-api-updates

+1 For this much needed feature.

I wrote the following ISchemaFilter which fixes the example JSON for any parameters which are JsonPatchDocument<T>. However, Ahoy is wrapping my example with { "operations": [ MYCONTENT ]  }. @JanEggers Did you figure this out.
public class JsonPatchDocumentSchemaFilter : ISchemaFilter
{
    public void Apply(Schema model, SchemaFilterContext context)
    {
        if ((context.SystemType.GenericTypeArguments.Length > 0) &&
            (context.SystemType.GetGenericTypeDefinition() == typeof(List<>)) &&
            (context.SystemType.GenericTypeArguments.First().GetGenericTypeDefinition() ==
            typeof(Microsoft.AspNetCore.JsonPatch.Operations.Operation<>)))
        {
            model.Default = new List<Microsoft.AspNetCore.JsonPatch.Operations.Operation>()
            {
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "replace",
                    path = "/property",
                    value = "New Value"
                },
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "remove",
                    path = "/property"
                },
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "replace",
                    path = "/arrayProperty/0",
                    value = "New Array Item"
                },
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "add",
                    path = "/arrayProperty/-",
                    value = "New Array Item"
                },
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "remove",
                    path = "/arrayProperty/0"
                },
                new Microsoft.AspNetCore.JsonPatch.Operations.Operation()
                {
                    op = "move",
                    from = "/arrayProperty/0",
                    path = "/arrayProperty/2"
                },
            };
        }
    }
}

in short no i didnt figure it out.
thats why i changed the contract of my methods to be operation[].
but there must be some kind of serialization feature that makes shure the document is deserialized correctly but the swagger is wrong

I tried messing around with context.JsonContract today but it seems to have not effect. I suspect this is something to do with Json.NET.

This does the trick:
namespace Bridge.FeatureToggle.Api.ViewModelSchemaFilters
{
    using Microsoft.AspNetCore.JsonPatch;
    using Swashbuckle.Swagger.Model;
    using Swashbuckle.SwaggerGen.Generator;
    using Operation = Microsoft.AspNetCore.JsonPatch.Operations.Operation;

    public class JsonPatchDocumentSchemaFilter : ISchemaFilter
    {
        public void Apply(Schema model, SchemaFilterContext context)
        {
            if (context.SystemType.GenericTypeArguments.Length > 0 &&
                context.SystemType.GetGenericTypeDefinition() == typeof(JsonPatchDocument<>))
            {
                model.Default = GetExample();
                model.ExternalDocs = new ExternalDocs()
                {
                    Description = "JSON Patch Documentation",
                    Url = "http://jsonpatch.com/"
                };
            }
        }

        private static Operation[] GetExample()
        {
            return new Operation[]
            {
                new Operation()
                {
                    op = "replace",
                    path = "/property",
                    value = "New Value"
                },
                new Operation()
                {
                    op = "add",
                    path = "/property",
                    value = "New Value"
                },
                new Operation()
                {
                    op = "remove",
                    path = "/property"
                },
                new Operation()
                {
                    op = "copy",
                    from = "/fromProperty",
                    path = "/toProperty"
                },
                new Operation()
                {
                    op = "move",
                    from = "/fromProperty",
                    path = "/toProperty"
                },
                new Operation()
                {
                    op = "test",
                    path = "/property",
                    value = "Has Value"
                },
                new Operation()
                {
                    op = "replace",
                    path = "/arrayProperty/0",
                    value = "Replace First Array Item"
                },
                new Operation()
                {
                    op = "replace",
                    path = "/arrayProperty/-",
                    value = "Replace Last Array Item"
                }
            };
        }
    }
}

that doesnt do anything it just fixed the example data but the type in the swagger.json remains the same.
@domaindrivendev can u please elaborate why the type isnt detected correctly

Hi folks, we logged https://github.com/aspnet/Mvc/issues/5464 for MVC to describe this case more accurately in MVC's ApiExplorer. But for the meantime the workarounds here should be fine. Thanks!

okay if the error is in mvc api explorer ill close this issue


COBOL - UTF-8 syntax support in textmate grammar

Description of the enhancement requested
This could also be considered as an anomaly, but is not blocking.
The COBOL Language Server seems to support all UTF-8 related features provided by the IBM Enterprise COBOL V6R3 compiler.
However, the textmate grammar does not recognize UTF-8-specific syntax elements:

PICTURE U
constants U'xxx' and UX'xxx'
BYTE-LENGTH clause on PICTURE
usage clause UTF-8
BYTE-LENGTH intrinsic function
all UTF-8 intrinsic functions

This results in source text colorization errors.

S9TUTF8-LISTING.txt

Z Open Editor 2.1.0:

Great !
Thanks a lot !


feat: initial postgresql-bitnami image (with ARM)

What issues does your PR fix?

part of https://github.com/airflow-helm/charts/issues/488
part of https://github.com/airflow-helm/charts/issues/572

What does your PR do?

Adds an initial postgresql-bitnami image:

includes postgres 11.16, pgAudit 1.3.4, and nss_wrapper 1.1.11
uses very similar scripts to bitnami/postgresql, so compatibility is maintained with the old stable/postgresql helm chart (we currently still use stable/postgresql,  see https://github.com/airflow-helm/charts/issues/303)
based on alpine (rather than Debian like bitnami/postgresql)
cross-compiles for amd64 and arm64 (different from bitnami/postgresql, which only builds for amd64)

In the interest of the ARM builds finishing before the heat death of the universe, I have added instructions on how to build the arm64 image locally, and cache these layers to our ci/images/postgresql-bitnami/11/alpine package.
Layers in will be pulled from the ghcr.io/airflow-helm/ci/images/postgresql-bitnami/11/alpine cache during test/release pipelines, because we have set --cache-from=type=registry,ref=ghcr.io/airflow-helm/ci/images/postgresql-bitnami/11/alpine in our buildx.


OADP-2175: Make use of restic secret to pass datamover retain policy instead of datamover config map

In OADP 1.2, we used datamover config map in order to pass the values of retain policy from DPA CR to replicationSource CR, but this meant that we had to assign volume options as well due to the nature of changes that went in the volume options feature PR. (Shared config map of volume options and retain policy), This PR uses restic secret to pass the retain policy from DPA to ReplicationSource insterad of the Volume Options CM.
Related VSM controller changes: https://github.com/migtools/volume-snapshot-mover/pull/245

/cherry-pick oadp-1.2


added in abstraction to WSX

Summary of the Pull Request
With the System.IO.Abstraction lib being added in, we didn't properly add it to the WSX.
PR Checklist

[ ] Applies to #7798
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

one thing i think we should do is comment the hell out of the WSX.  This was hard to know what went where and what sections belonged to what.


yosys fails with 'ERROR: init_share_dirname: unable to determine share/ directory!' on macos

Version
Yosys 0.39+149 (git sha1 b9d3bffda, aarch64-apple-darwin21.4-clang++ 14.0.0-1ubuntu1.1 -fPIC -Os)
On which OS did this happen?
macOS
Reproduction Steps
calling yosys from oss-cad-suite like this: yosys -q -p "synth_gowin -json build.json -top top" build.v
Expected Behavior
it should not fail.
Actual Behavior
it fails with: ERROR: init_share_dirname: unable to determine share/ directory!

I can't reproduce this locally with either the oss-cad-suite or the local build. Did you remove the quarantine attribute on the archive before unpacking? (xattr -d com.apple.quarantine oss-cad-suite-darwin-arm64-20240402.tgz)
Did you perhaps place the suite in one of the directories that require granting special permissions (e.g. Documents)? Are there any spaces in its path?

Thanks for helping.
Here is what I do to chase the problem:
source ../../../oss-cad-suite-2024-04-01/environment
=> I get the error when using yosys
source ../../../oss-cad-suite-2024-03-02/environment
=> no error
So I guess it's not a problem of quarantine or space in path... I did not try to bisect the oss-cad-suite distribution, but I can if it helps. I went back to the beginning of March because the last commit on yosys.cc (which is about proc_self_dirname incidently) is dated around this time...: https://github.com/YosysHQ/yosys/commits/main/kernel/yosys.cc

my bad.
I erroneously thought that yosys was the  culprit, but it's actually nextpnr.
They happen to have the same error message in the source code, and as I found it in yosys' code, I did not check for its presence in another source code :-/
Sorry for the inconvenience, I'll look into nextpnr then...


Migrate all Docker image references to Docker Hub

Based on the thread here, it seems the informal consensus is that DockerHub and Quay.io will both remain. I updated all the image references to use quay.io to keep things consistent. If Docker Hub is preferred, I can change it.
Changes:

Migrate all Docker image references to use quay.io
Explain in docs that Docker images are available on both Quay.io and Docker Hub

Something that we should do in addition to this PR that I can't change personally is remove the Dockerfile from Docker Hub as mentioned in this comment.
Fixes #4665
cc: @simonpasquier

Thanks for tackling this. I don't have any preference whether the examples should use quay.io or Docker Hub so this looks good to me.

Docker Hub is what people are used to, and we've seen reliability issues with Quay.

IIRC Quay was used in order to have access to security analysis of our images.

Now using Docker Hub as default based on feedback from @brian-brazil
I agree Docker Hub is standard and quay could confuse people.

What's the process for getting it merged in as a contributor?
I noticed some other PRs get approved but don't get merged in immediately: https://github.com/prometheus/prometheus/pull/4719

@noqcks we usually wait for 2 approvals before merging. If it takes too long, it is ok to ping on IRC or here.

Ahhh good to know, thanks.


Updates to Kool Docs

Issue
#

:beetle: Bug Fix
No

:trophy: Feature
No

:pencil: Refactor
No

:open_book: Documentation
Yes

:warning: Break Change
No

Description
Updated Kool Docs:

Introduction page
Demo page
Getting Started > Installation page
Getting Started > Starting New Project page
Presets > Introduction

Added --no-scripts and --no-install options to Composer preset for creating a new Laravel project (this change allows us to control the build process, giving the user a chance to make updates to .env.example before spinning up the project using kool run setup.

Notes

@dbpolito @danielsuguimoto - when I run kool run parse-presets, it looks like it updated cmd/presets/configs.go. Do I need to commit this file as well? At the moment, it has not been included in my PR.

Yes... We will run again when release / tagging but it's better have it here too.

@dbpolito - I added this commit to the PR (to include updated configs.go).


Add cpuidex.

On Linux ecx wasn't cleared, so AVX2 test failed
Add cpuidex() so ecx can be set to correct value for AVX2 test, so it works on both Windows and Linux

I think __get_cpuid_count takes register parameters as pointers: __get_cpuid_count(info, subinfo, &_eax, &_ebx, &_ecx, &_edx); Maybe that is why ASAN is failing.
Also it doesn't appear that ecx is being set to zero.

info = eax, subinfo = ecx

Looks good.

Looks good to me :)


Fix client capabilities in window/progress proposed doc

Fixes wrong ClientCapabilities extension from #261.
@dbaeumer by the way, what is the workflow for proposed features? Do they become a part of a regular protocol version but noted that they're unstable and only proposed at the moment?

@Xanewok thanks. I already started fixing this on the correspoding progress branch I have.
While implementing cancel support I separated the notification into start, report, done and cancel. Mainly because it was very hard to descibe in which cases which property combinations were valid. Was a lot easier having separate literals per request. I hope this is OK with you.
For going forward with the proposal: I added a comment here https://github.com/Microsoft/language-server-protocol/issues/70#issuecomment-483252666 to get additional feedback on the proposal. If there is no strong objection I usually merge the proposal into the final version.
I will also publish new next version of the node libraries containing the implementation.


Run RN tests post 64bit changes

Need to follow Test your Changes to test the changes made by #1 (64bit support)

[UPDATE] Just ran e2e tests as noted here. It was a manual test. The scripts builds the lib and facilitate installing both Android and iOS versions for testing.
Results: both apps ran fine. Android had an issue downloading the size of an image (will look into it next). Also, will try to run ci tests.

All tests are passing on the facebook PR facebook/react-native#19536.


nodeSelector in deployment of provider

It would be an excellent feature to be able to set the nodeselector of the deployment that the provider creates.
I didn't find a way to do it, I imagine it's something that hasn't been considered yet.
thank you.

You can do this with DeploymentRuntimeConfig

You can do this with DeploymentRuntimeConfig

thanks for the help, that worked perfectly


Fix #57354: Fix-it for deprecated initializers removes the .init part from self.init

Now, the fix-it will only remove the .init part if the expr at the left side of the dot is a type, and not, for example, a self expr.
Resolves: #57354

@cbjeukendrup thank you for your contribution! @xymus and @tshortli know the most about the availability checker; I've tagged them to help review this change

@swift-ci please test

@swift-ci please test macOS

Thanks for reviewing, @tshortli!


How to move a Sprite after rotated in the new rotation coordinate system?

sprite.rotation = Math.PI / 4;
var offsetX = 10;
sprite.position.set( x+ offsetX , y);

in this test case , the sprite will move by offsetX  in original coordinate system.
If I want to move it in  rotated coordinate system , how should I do ?
In native canvas 2d , I could do something like this  :
context.save();
context.translate(x, y)
context.rotate(Math.PI / 4);
context.drawImage(img, offsetX , 0);
context.restore();

There's also a pivot
sprite.pivot.set(-offsetX, 0);

In my opinion,  pivot  is similar to anchor , it's another anchor in pixel nearly.
It shouldn't be used for moving, though it can do.
Am I wrong ?

And There is an similar question about scale :
How to do something like this :
context.save();
context.translate(x, y);
context.scale( 0.5, 0.6);
context.rotate(Math.PI / 4);
context.scale( -0.7, 0.8);
context.drawImage(img, 0, 0);
context.restore();

The core of this question is about the order of scale rotate translate.

in pixi Transform its ```translate rotate skew scale pivot" , but you can make your own Transform class. For example, Spine Transform has an option to ignore scale or rotation of parent :)

I write a pixi-action plugin, inspired by cocos2d-x action API. May can help you.
@ivanpopelyshev skew attribute is not exist in v4.3.0 ?

@hustcc Look at examples and try "bunny.skew.x = 0.4". http://pixijs.download/release/docs/PIXI.DisplayObject.html#skew

@ivanpopelyshev I write a plugin named pixi-action, and a demo used v4.3.0, you can see move action, in console, I log the cat(instance of sprite), there is no skew prop in it.
And in demo of action skew, it can not find the prop skew of cat (instance of Sprite).

It is ok, it can run. https://github.com/pixijs/pixi.js/issues/3500 .

I'm closing this.


Socket functional and performance/stress tests

All Sockets tests pass.
Minor refactoring required to fix issues with public types used from Common.
Proposed new testing techniques:

Refactoring of the Capability class.
Adding ETW logging for tests.
Using Traits to ensure platform support and ability to filter out unsupported tests.
(Not all tests got upgraded to these proposed techniques.)

@pgavlin PTAL
Have no idea why I have a second copy: at the end of the rebase there was one more conflict. Pushing that pushed all previous commits for some reason again.

LGTM.


Add a view of instructors and TAs with access to courses.

Add a view for admins that shows who is assigned to which courses.
We basically want the records returned by this SQL
select courses.name, roles.name, users.name from users, roles, users_roles, courses
where users.id = users_roles.user_id and roles.id = users_roles.role_id and roles.resource_type='Course' and courses.id = roles.resource_id
 order by courses.name, roles.name, users.name;

Organized into some reasonable view.   At first, read only, then with the course names being links to the courses (for users with that permission), and the names being links to the user record (for users that have that permission).
A next step would be for the instructor to have this view, but only for courses that are visible to them.

We can use:
records_array = ActiveRecord::Base.connection.execute(sql)

to run the raw SQL


[SPARK-34045][ML] OneVsRestModel.transform should not call setter of submodels

What changes were proposed in this pull request?
use a tmp model in OneVsRestModel.transform, to avoid calling directly setter of model
Why are the changes needed?
params of model (submodels) should not be changed in transform
Does this PR introduce any user-facing change?
No
How was this patch tested?
added testsuite

friendly ping @WeichenXu123 @srowen

friendly ping @WeichenXu123 @srowen

featuresCol of submodels maybe changed in transform:
scala> val df = spark.read.format("libsvm").load("/d0/Dev/Opensource/spark/data/mllib/sample_multiclass_classification_data.txt")
21/01/08 09:52:01 WARN LibSVMFileFormat: 'numFeatures' option not specified, determining the number of features by going though the input. If you know the number in advance, please specify it via 'numFeatures' option to avoid the extra scan.
df: org.apache.spark.sql.DataFrame = [label: double, features: vector]

scala>

scala>

scala> val lr = new LogisticRegression().setMaxIter(1).setTol(1E-6).setFitIntercept(true)
lr: org.apache.spark.ml.classification.LogisticRegression = logreg_3003cb3321a1

scala> val ovr = new OneVsRest().setClassifier(lr)
ovr: org.apache.spark.ml.classification.OneVsRest = oneVsRest_b2ec3ec45dbf

scala> val ovrm = ovr.fit(df)
21/01/08 09:52:05 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS
21/01/08 09:52:05 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeRefBLAS
ovrm: org.apache.spark.ml.classification.OneVsRestModel = OneVsRestModel: uid=oneVsRest_b2ec3ec45dbf, classifier=logreg_3003cb3321a1, numClasses=3, numFeatures=4

scala>

scala> val df2 = df.withColumnRenamed("features", "features2")
df2: org.apache.spark.sql.DataFrame = [label: double, features2: vector]

scala> ovrm.setFeaturesCol("features2")
res0: ovrm.type = OneVsRestModel: uid=oneVsRest_b2ec3ec45dbf, classifier=logreg_3003cb3321a1, numClasses=3, numFeatures=4

scala>

scala> ovrm.models.map(_.getFeaturesCol)
res1: Array[String] = Array(features, features, features)

scala> ovrm.transform(df2)
res2: org.apache.spark.sql.DataFrame = [label: double, features2: vector ... 2 more fields]

scala> ovrm.models.map(_.getFeaturesCol)
res3: Array[String] = Array(features2, features2, features2)

featuresCol of submodels maybe changed in transform:
scala> val df = spark.read.format("libsvm").load("/d0/Dev/Opensource/spark/data/mllib/sample_multiclass_classification_data.txt")
21/01/08 09:52:01 WARN LibSVMFileFormat: 'numFeatures' option not specified, determining the number of features by going though the input. If you know the number in advance, please specify it via 'numFeatures' option to avoid the extra scan.
df: org.apache.spark.sql.DataFrame = [label: double, features: vector]

scala>

scala>

scala> val lr = new LogisticRegression().setMaxIter(1).setTol(1E-6).setFitIntercept(true)
lr: org.apache.spark.ml.classification.LogisticRegression = logreg_3003cb3321a1

scala> val ovr = new OneVsRest().setClassifier(lr)
ovr: org.apache.spark.ml.classification.OneVsRest = oneVsRest_b2ec3ec45dbf

scala> val ovrm = ovr.fit(df)
21/01/08 09:52:05 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS
21/01/08 09:52:05 WARN BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeRefBLAS
ovrm: org.apache.spark.ml.classification.OneVsRestModel = OneVsRestModel: uid=oneVsRest_b2ec3ec45dbf, classifier=logreg_3003cb3321a1, numClasses=3, numFeatures=4

scala>

scala> val df2 = df.withColumnRenamed("features", "features2")
df2: org.apache.spark.sql.DataFrame = [label: double, features2: vector]

scala> ovrm.setFeaturesCol("features2")
res0: ovrm.type = OneVsRestModel: uid=oneVsRest_b2ec3ec45dbf, classifier=logreg_3003cb3321a1, numClasses=3, numFeatures=4

scala>

scala> ovrm.models.map(_.getFeaturesCol)
res1: Array[String] = Array(features, features, features)

scala> ovrm.transform(df2)
res2: org.apache.spark.sql.DataFrame = [label: double, features2: vector ... 2 more fields]

scala> ovrm.models.map(_.getFeaturesCol)
res3: Array[String] = Array(features2, features2, features2)

Test build #133818 has started for PR 31086 at commit ef2ad5a.

Test build #133818 has started for PR 31086 at commit ef2ad5a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38407/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38407/

Test build #133818 has finished for PR 31086 at commit ef2ad5a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133818 has finished for PR 31086 at commit ef2ad5a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38407/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38407/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133818/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38407/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38407/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133818/

Go ahead and merge when ready

Go ahead and merge when ready

Merged to master, thanks @srowen for reviewing

Merged to master, thanks @srowen for reviewing


Failed to Mount

I'm not able to attach
  Warning  FailedMount             4m11s (x10 over 24m)  kubelet, ewr1-worker-1   Unable to mount volumes for pod "wordpress-mysql-67565bd57-tmn7k_default(0f2840ba-e6fc-4f63-8ffa-4c9b050e1203)": timeout expired waiting for volumes to attach or mount for pod "default"/"wordpress-mysql-67565bd57-tmn7k". list of unmounted volumes=[mysql-persistent-storage]. list of unattached volumes=[mysql-persistent-storage default-token-9lcrr]
  Warning  FailedMount             4m (x19 over 26m)     kubelet, ewr1-worker-1   MountVolume.MountDevice failed for volume "pvc-89315e1e-b2fb-4ce8-b31a-4ecd3e594c64" : rpc error: code = Unknown desc = isciadmin discover error, exit status 21

Thanks for opening this @clanstyles.
Two questions:

Are you using the latest version of the images? We made some major improvements in the last week, but haven’t updated the deployment yml yet.
If you are and still are having issues, is there a chance we can login to the host and see the log messages? I could share my ssh public key.

Thanks

@deitch I probably don't have the updated containers running. Which images should I update and to what versions?

docker.io/packethost/csi-packet
quay.io/k8scsi/csi-attacher
quay.io/k8scsi/csi-provisioner
quay.io/k8scsi/csi-node-driver-registrar
I can't access docker.io/packethost/csi-packet to view what tags are there.

I took a stab in the dark and updated the csi-packet container to c72c627 based on the pushed version.
 Warning  FailedMount  15s   kubelet, ewr1-worker-1  MountVolume.MountDevice failed for volume "pvc-89315e1e-b2fb-4ce8-b31a-4ecd3e594c64" : rpc error: code = Unknown desc = metadata error, volume volume-volume not found in metadata

Yes that is the latest. I don’t know if this is an edge case or not, but we want to figure it out. We are about to cut the first property versioned release, so your timing is excellent.
Can I get onto the cluster, to see logs? Also helpful to get on the host is doing the mounting, as it involves both cluster and host. Happy to share my ssh public key.
If you’re on Packet community slack, I’m at “deitcher”, our email me at<EMAIL_ADDRESS>

I'll hop on right now!

That was helpful. I know what is going on here. The problem is here where it is taking the VolumeName field from the NodeStageVolumeRequest.Context and treating it like VolumeID, by trying to convert it from an ID to a name, which leads to volume-volume instead of volume-ea270a48.
The irony is that we originally had it the other way, but changed it to pass the CSI sanity tests. If I fix it (which I did in my own test env), it works, but the sanity tests fail. We obviously are missing something obvious, but should have it shortly.

Aha, got it. I expect a PR very soon. Once it is in, will message here.

@clanstyles please see #42 . Once that is merged in, it should automatically close this issue. When that happens, please do the following:

Give it a few minutes for the new images to be pushed out to docker hub
Update your csi manifest to use this latest tag and kubectl apply
To be safe, delete the wordpress-mysql deployment and reapply it
Check that the error is gone
Let us know here either way. If it is not gone, reopen the issue.

Hey @deitch I forked the repository, build the image and pushed it to the test cluster.
  Warning  FailedMount             4m15s (x16 over 38m)  kubelet, ewr1-worker-0   Unable to mount volumes for pod "wordpress-mysql-67565bd57-56z8f_default(12ed0e25-7e69-41ae-b939-f62064edbfda)": timeout expired waiting for volumes to attach or mount for pod "default"/"wordpress-mysql-67565bd57-56z8f". list of unmounted volumes=[mysql-persistent-storage]. list of unattached volumes=[mysql-persistent-storage default-token-9lcrr]

Hi @clanstyles ; this definitely is an underlying iscsi issue, not a csi issue. If I go to the host itself:
root@ewr1-worker-0:~# curl -s https://metadata.packet.net/metadata | jq '.volumes'
[
  {
    "ips": [
      "<IP_ADDRESS>",
      "<IP_ADDRESS>"
    ],
    "name": "volume-2f9f1b6e",
    "capacity": {
      "size": "20",
      "unit": "gb"
    },
    "iqn": "iqn.2013-05.com.daterainc:tc:01:sn:e673ab60e3c8eda3"
  }
]

So we see the two IPs, and then:
root@ewr1-worker-0:~# iscsiadm --mode discovery --type sendtargets --portal <IP_ADDRESS> --discover
iscsiadm: No portals found

Same with the other IP.
Working it...

Update: the issue is that the initiator name in /etc/iscsi/initiatorname.scsi didn't match the correct one provided by the metadata. We can adjust the config as part of the node-specific CSI startup in the DaemonSet, but then we have a challenge how to restart iscsid after the file has changed.
Still being investigated...

Hey I wanted to re-open this. I pulled the container docker.io/packethost/csi-packet:1c039e3 and am now receiving
  Warning  FailedMount             46s (x8 over 112s)   kubelet, ewr1-worker-0   MountVolume.MountDevice failed for volume "pvc-1e0cbc5e-f7f5-4298-8f6b-5e46319b33dd" : rpc error: code = Unknown desc = getMappedDevice error, stat /dev/mapper/volume-e95c04c0: no such file or directory

Yeah, different problem, still working it. Never fails, what passes the tests....


Adding secondary ordering field to make resolver ordering deterministic

In the case multiple CrossProjectResolver resources with the same priority value exists for the same project, the resolution of resources might not be deterministic, since the ordering of resolvers is done just by priority.
That can be fixed having something like
  implicit private val ordering: Ordering[Resolver] = Ordering.by[Resolver, Int](_.priority).orElseBy(_.ref)

Ideally we would prefer it ordered by label, but we cannot access it easily at that level...so UUID would do the trick.
A different solution to the problem is to only allow creation of resolvers with different priorities within the scope of a project.

Hello @umbreak,
Thank you for having documented this issue.
As a user, I would prefer the solution of "only allow creation of resolvers with different priorities within the scope of a project".

We will prevent the creation of resolvers with the same priority in the same project.

When creating/updating a resolver, check for the previously existing resolvers priorities. If there is a resolver with the same priority, reject the request


Every connection uses the docker IP - not able to use fail2ban

Hello,
I really appreciate your docker-mailserver. It's just simple to use and also so big in functionality. So thank you very much for the hard work!
Everything is running so far. I've just one problem. Every connection comes from the docker network (<IP_ADDRESS> in my case).
So if I configure fail2ban to block bruteforce attacks on my server, It will block all connections.
As described in the .env, I've configured NET_ADMIN (cap_add) in my docker-compose.yml. But this doesn't help.
Is there a way to work the external IP address of the connections?
Any help is appreciated.
Thanks in advance.

Well yes it is, but it depends on how you expose your ports. If you expose them to the external public IP with docker then you should see the correct remote addresses. If you have something in between you need to do something to make it work. Search the wiki and other issues, I think you should find references for how to fix it with HAProxy at least. Otherwise please describe your network configuration in detail.

Thank you for your reply.
After testing around, I could fix the IP problem.
I configured docker in the past, to not open ports in iptables on it's own. For this I used the /etc/docker/daemon.json and set "iptables": false.
This was causing the issue, that just internal IP's was used. After removing it, everything works fine.
Maybe this could be useful for the FAQ section?


HTTP Error 401.3 - Unauthorized

I get this error trying to load the admin for the training site.  The forward facing site loads fine.
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

Hello @ecnerwal1234 , thanks for pointing this out!
The 401.3 HTTP error might most probably be caused by the lack of permissions in the file system. You may want to make sure either the IUSR built-in account or the whole IIS_IUSRS built-in user group has read & execute access to the CMS folder in your solution.
You can read more about these system built-in accounts at https://docs.microsoft.com/en-us/iis/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis
Please let me know if adding the missing file system permissions helped. If that's the case, I'll add an explicit note into our course so that no one hits the same obstacle again.
Thanks

the anonymous user was blank and adding this fixed this issue


x11 - ImportError: No module named 'kivy.core.window.window_x11'

when i try to run any kivy program with python 3.5 in my kali linux os. Then i get the below error.
program:-

from kivy.app import App
from kivy.lang import Builder
from kivy.uix.relativelayout import RelativeLayout
[
Builder.load_string('''
<hey>:
    RelativeLayout:
        Button:
            text:"Hey"
''')

class hey(RelativeLayout):
    pass

class helloApp(App):
    def build(self):
        return hey()

if __name__=="__main__":
    helloApp().run()]

error:-
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider at all!
egl_rpi - ImportError: cannot import name 'bcm'
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
    from kivy.lib.vidcore_lite import bcm, egl

sdl2 - TypeError: expected bytes, str found
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 67, in core_select_lib
    cls = cls()
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 138, in __init__
    super(WindowSDL, self).__init__()
  File "/usr/lib/python3/dist-packages/kivy/core/window/__init__.py", line 722, in __init__
    self.create_window()
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 237, in create_window
    self.fullscreen, resizable, state)
  File "kivy/core/window/_window_sdl2.pyx", line 94, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (kivy/core/window/_window_sdl2.c:2204)

x11 - ImportError: No module named 'kivy.core.window.window_x11'
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)

[CRITICAL] [App         ] Unable to get a Window, abort.]

It used to be work fine when i installed kivy in previous kali linux os but due to some reasons i installed kali again and kivy again but this time i am not able to make it work.

i solved it, by running a command "pip install git+github.com/kivy/kivy.git@master" in terminal and it worked for me

closing it


Deployment guide

Current info on installing the devcade computer and general deployment is outdated and inaccurate.
This should be brought up to date with current practices and setup. An automatic setup method should also be redone.

Additionally, we should include in deployment instructions not only deploying a new devcade in an existing environment but also deploying from scratch to include server infrastructure, databases, websites, etc.


PR just to add myself to contributors

@all-contributors please add @XenoPOMP

@all-contributors please add @XenoPOMP for code


Since three days when i sync, the workouts doens't add to the list.

Bug description:
Actual Behavior:
Expected Behavior:
Steps to Reproduce:

...
...
...

Chrome version
Plugin version:
Activities links?:
Console errors? (press F12 to see developer console, and copy paste here):
put console errors here if exist

Link screenshots or youtube video link if necessary:

Do these workouts include heart rate values? AFAIK they don't show up in that case.


Fix regression by pinning Bazel version

We had a regression on the main branch recently due to the Bazel version changing from 6.4.0 to 7.0, see https://github.com/p4lang/p4runtime/pull/468#issuecomment-1912872372 and follow up comments.
This PR fixes this regression by pinning the Bazel version to 6.4.0.

The .bazelversion file was in the root folder. That's typically the right thing to do, but in our case prevented it from being picked up because we use the proto subfolder as the root of our Bazel workspace as a workaround for github.com/grpc/grpc/issues/20675, see https://github.com/p4lang/p4runtime/blob/main/proto/BUILD.bazel#L25-L26.
:face_with_spiral_eyes:
It is hacks and workarounds all the way down :)


stylix: add darker and even-darker polarities

The default dark polarity is a bit too light and doesn't look good on some LCD displays for that reason.
Therefore darker and even-darker polarities could be a nice addition.
Thank you!

Cc: @danth

The default dark polarity is a bit too light and doesn't look good on some LCD displays for that reason. Therefore darker and even-darker polarities could be a nice addition.

Thanks for delving into the code and submitting this patch. However, I am unsure about adding darker and even-darker polarities.
Currently, some Stylix modules use the stylix.polarity option to apply a "light" or "dark" theme variant, while defaulting to "either":
https://github.com/danth/stylix/blob/4d87b96ceca38532f39c1b7efd8a9235bfcee3d6/stylix/palette.nix#L25-L35
Although this is not how stylix.polarity is supposed to be used:

Currently, dark and light mode are only supported in some Stylix modules.

Really, stylix.polarity is just a setting to guide the palette generator and shouldn't be used in modules at all. It defaults to "either", and even if it's set there is no guarantee that the selected theme actually matches what it says. We should be selecting light/dark mode based on the value of base00 instead.
-- danth, "idea: support a cross browser dark mode extension like dark-reader"

Using stylix.polarity to apply "light" or "dark" themes will probably be deprecated upon completing the following milestone:

[ ] (7) Support automatic polarity switch based on sunset and sunrise 6

-- NAHO, "Roadmap"

However, the proposed darker and even-darker parameters are somewhat arbitrary:
https://github.com/danth/stylix/blob/ff7e1e77a395c9a287c59d179f78c6d874e46630/palette-generator/Stylix/Palette.hs#L96-L100
Instead, we could further generalize stylix.polarity by interfacing all lightnessError parameters through something like stylix.polarity.primaryScale or stylix.polarity.accentValue:
https://github.com/danth/stylix/blob/4d87b96ceca38532f39c1b7efd8a9235bfcee3d6/palette-generator/Stylix/Palette.hs#L68-L72
Considering the current Roadmap, I am unsure how stylix.polarity should be handled in the meantime.

Note that completing the following milestone may involve rewriting our in-house palette generator (/palette-generator) or replacing it with some already existing general purpose tool:

[ ] (7) Support automatic polarity switch based on sunset and sunrise 6

-- NAHO, "Roadmap"

Okay! That makes sense! Should I write an stylix.polarity.primaryScale option in the meantime or wait for that milestone be reached?
Thank you very much!

Sure!

I added options that do that, they go from 0.0 to 1.0 without clipping any colors but if they are pushed beyond that range they clip colors without erroring out as a feature.

This is what setting primaryScale.dark to 0.01 looks like


support memsql through mysql connection

Hi Chris,
memsql is providing a mysql client compatibility,
but the default connection parameters for mysql filer backend need to be changed.
the go driver: github.com/go-sql-driver/mysql
need to use in the connection string  param  &interpolateParams=true
https://github.com/go-sql-driver/mysql#interpolateparams
learned that on (and verified on a local build):
https://github.com/opencensus-integrations/ocsql/issues/17
How seaweedfs can support toggling this param?
or should I duplicate the mysql backend and PR with memsql (but except that connection string, all the same?)
Thanks!

Maybe need a PR to configure in the filer.toml file and pass the parameters
in.

adjust the connection string here
https://github.com/chrislusf/seaweedfs/blob/master/weed/filer2/mysql/mysql_store.go#L50


Python memory corruption crash

I keep getting this error in the _cext.dense_tree_shap call when the tree explainer hits this line https://github.com/slundberg/shap/blob/54e6f0f10aa0442734aade259fc9712c4bf16537/shap/explainers/_tree.py#L389
I see a memory corruption error:
python(603,0x10c1c5dc0) malloc: Incorrect checksum for freed object 0x7fbd4d1dac00: probably modified after being freed.
Corrupt value: 0x7f2a00007f29
python(603,0x10c1c5dc0) malloc: *** set a breakpoint in malloc_error_break to debug

or a seg fault:
segmentation fault

My dataframe that I give to the shap explainer can be as small as ~10 rows and still break.
I'm on a mac with python 3.7.8 and shap version 0.37.0 .
Would be happy to dig in further if I can get a guide for the cext dev setup. I haven't done c-ext work in python before, and I see that I can't just mess around with the installed lib in my python3.7/site-packages/shap folder -- only the built .so's are laying around after installation.
I have been able to reproduce semi-consistently using my datasets, but not every time. I haven't been able to replicate with shap's datasets.
On my side, my code looks like:
model = RandomForestRegressor(verbose=True, random_state=42, n_estimators=10)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.20)
fit = model.fit(X_train, y_train)
y_pred = model.predict(X_test)
explainer = shap.TreeExplainer(fit, data=X_test, check_additivity=False)
values = explainer.shap_values(X_test, approximate=False, check_additivity=False)
...

The issue happens for me in the "explainer.shap_values" line with a few of my datasets. It seems like it's more likely to crash when X has ~10+ columns instead of 1-3. However, it has no problems with shap.datasets.adult()
The X in my datasets is a pandas dataframe with column names that get ~50-70 chars long and have [a-zA-Z0-9()._] chars in any order and taken as user input.
@RAMitchell  -- I see you wrote most of the c-ext stuff. Would love tips for debugging.

This looks related: https://github.com/slundberg/shap/issues/954

This looks related: https://github.com/slundberg/shap/issues/954

Can confirm that setting max_depth=10 has fixed my problem too a la #954  -- albeit not ideal to constrain the model.

Can confirm that setting max_depth=10 has fixed my problem too a la #954  -- albeit not ideal to constrain the model.


How can we import external DDL

How can we import external DDL?
I've checked here
And I've tried to enter example DDL in this page into DDL like this image

Am I wrong anything?

In the erd area, in the context menu


Validator doesn't notice if the hours field in the timestamp (if present) has only one digit

Related to https://github.com/w3c/webvtt.js/issues/17 but this time for the hours field. The WebVTT format requires two digits at least if the hour field is present (see https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API#cue_timings ). This caused issues for me downstream with the AblePlayer video viewer as it silently failed to deal with captions after the hour mark when this wasn't correct.

Whilst the format does require that cue timings must have two or more digits if hours are in use (https://w3c.github.io/webvtt/#webvtt-timestamp), the algorithm specified for parsing timestamps explicitly does not validate that hours has two or more digits (https://www.w3.org/TR/webvtt1/#collect-a-webvtt-timestamp).
As stated in https://github.com/w3c/webvtt.js/issues/17#issuecomment-458932719, webvtt.js implements that timestamp parsing algorithm as written in the spec, with the validator based on that.


Unknown attribute maxChargeCurrentAC_A

For a few days I got this in my log very often - like for every update interval.
2024-01-23T19:23:07+0100:WARNING:generic_status:/vehicles/WVWZZZXXXXXXXXXXX/domains/charging/chargingSettings: Unknown attribute maxChargeCurrentAC_A with value 16
is it a new "feature"from VW not implemented yet or is it something else ?

Yes, it is a new feature in the API. What type of car is it?

It is a e-up

Ah yes, they adapted it to the old app here. The e up is the only car that had the limit in amperes. The other cars use „reduced“ instead.

This should be fixed in 0.49.1


[Clinical Site SSApp] Change button label from Set TS Number to Edit TS Number when a TS number was already set

Please keep if it possible the buttons labels in HTML and use data-ifs in order to distinguish between them


Prettify output

Parse json objects with newlines and indentations inserted and pad |'s, with spaces.

Changes Unknown when pulling ab104dbfcb7f0962707219430b528b21ea4c049e on dawsonbotsford:master into ** on ly-tools:master**.

Changes Unknown when pulling<PHONE_NUMBER>27215a829cf01f2a5d28e2c28b3e92 on dawsonbotsford:master into ** on ly-tools:master**.

Changes Unknown when pulling<PHONE_NUMBER>27215a829cf01f2a5d28e2c28b3e92 on dawsonbotsford:master into ** on ly-tools:master**.

Bump


Improve RandomLayers docstring

Context:
Fixes #580 with an extensive improvement of the docstring and tests.
Description of the Change:
Explains random behaviour in docstring
Possible Drawbacks:
We decided for complex reasons to make the template use a default seed, which means that whenever it is called without a seed it produces one and the same circuit. This is not intuitive, but I hope it is now explained in the docs.
Related GitHub Issues: #580

Waiting for @trbromley to check if this makes things clearer?


GUVNOR-2521: Consolidate server-side bootstrap logic in various workbench implementations

Depends on: https://github.com/droolsjbpm/kie-wb-common/pull/376

+1 to merge (with others, when review complete).


Bad authentication data

I keep getting “Bad authentication data” even though the credentials are right.
The weirdest thing is that when i set to delete tweets from a period of time when there was 0 tweets to delete, it recognizes 0 tweet was deleted. Otherwise i get this error.

Could you show me how you set the credentials? (without including your credentials)

Could you show me how you set the credentials? (without including your credentials)

i use windows

i use windows

any update regarding this issue yet?  as iam facing te same issue

no :/
Il giorno mer 10 feb 2021 alle ore 11:51 ahmadmohi<EMAIL_ADDRESS>ha scritto:

any update regarding this issue yet? as iam facing te same issue
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/koenrh/delete-tweets/issues/100#issuecomment-776760585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDZ5OJ6IIWO5OUE7ISTS5LS6KMQ5ANCNFSM4WBWGJSQ
.

I am also getting this issue on Windows


Added some simple tests

Just some few simple tests for me to get a feel for how test work in golang. Maybe simple but having them doesn't hurt I think.

The more tests we have exercising our code, the stronger our code will be.. we just need to make sure we are only testing the bits we plan to keep for a long time ;)

Please run the headers script so CI will pass :)


Direction Pin is controlled, even if set to PIN_UNDEFINED

check for PIN_UNDEFiNED before digitalWrite

add a test for the configurations with/without enable/direction pin and check in simavr for forbidden access. For esp32 only code review

add a test for the configurations with/without enable/direction pin and check in simavr for forbidden access. For esp32 only code review

Fixed in 0.16.8
Configurations not yet tested

Fixed in 0.16.8
Configurations not yet tested

the original bug is fixed, so can close this issue.

the original bug is fixed, so can close this issue.


[BUG] Eventlist No Ending Date selection

Describe the bug
In the Eventlist page, int the case Select Dates was chosen as Period, when clicked the submit button after choosing a Beginning Date but not choosing an Ending Date, no events should be listed and an error message should be shown: "Please select an Ending Date."
What Did You Want
As an admin user, I wanted to see if the Evenlist period filter's Select Dates choice was working properly. In this scenario, I did not select an Ending Date and wanted to see an error message and no events listed.
To Reproduce
Steps to reproduce the behavior:

Login as admin and go to Admindashboard-Events.
Chose "Select Dates" in the "Choose a Period" combobox.
Click "Submit" to see the Beginning Date and Ending Date fields.
Select a date in the Beginning Date field.
Click "Submit" without selecting any date in Ending Date field.
See events listed from the selected beginning date until now.

Expected behavior
No events listed.
Under the "Submit" button, following error message should be shown: "Please select an Ending Date."
Result behavior
Events listed.
No error message.
Screenshots
Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version: -

Additional context

Bug fixed.


Updating the sagemaker dependency in the AWS integration

Describe changes
Following the PR here, sagemaker changed how they handled tags in their pipeline interface. In order to be compatible with it, we have to update our sagemaker dependency to the version >=v2.203.0, released on 2023-12-28, where this change eventually got released.
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

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

The problem with the tags is solved with this PR. Until we can work on the dependency issues between the aws and huggingface, I am closing this PR.


Exclude x86 libs from android build?

I want to create a release build for my app and the libtd libs make up majority of the apk size. How can I remove the x86 and x86_64 libs and still make it work? When I try to exclude them from my package the app doesn't start on a real device neither on an emulator. When they're included, the app works fine. The error I get is:
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int org.drinkless.tdlib.Client.createNativeClient()
I exclude the two files via the build.gradle file like so:
packagingOptions {         exclude("lib/x86/libtdjni.so")         exclude("lib/x86_64/libtdjni.so") }

Libs for unrelated architecture aren't installed on the target device, so they don't affect installed application size. They affect only app download size, and only if a universal apk is downloaded directly instead of Google Play.


Pasted text gets copied twice in git repository

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS Sierra v10.12.5

Hyper.app version: v1.3.3 (<IP_ADDRESS>4)

Link of a Gist with the contents of your .hyper.js: https://gist.github.com/artivilla/a011e4dfc4e474554f21f5339770f1e7

Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): Unknown OSC code: "1"

The issue is reproducible in vanilla Hyper.app: Not sure how to do that

Issue
If I paste any text using cmd+V or using raw-paste as I have hyperterm-paste installed, it get's pasted twice. Only occurs when I'm checked into a git repository. Here's an example:
application core-linting-fixes 32d ▲ ➜ hyperterm-pastehyperterm-paste

Hi @artivilla. If you disabled the hyperterm-paste app, does this problem still occur? If not then it's an issue for hyperterm-paste.

@CodeTheory I can't reproduce this issue anymore. If it does occur again, I'll try what you recommended and post in the appropriate repo. Thanks :)


Incorrect Time Display in File Details

Description
Whenever a file contains video (not sure about music) in the hours mark, it does not display the hour just the minute and second. It still persists even when the file is multiple hours long, but I do not remember what happens if over 10 hours.
I actually saw this bug from long ago (since my last reported bug), not sure why I never brought it up, then forgot.
Steps To Reproduce
No response
Expected behavior
Display the video length properly.
Files Version
v1.5
Windows Version
Windows 10 Pro 21H1 19043.1165
Relevant Assets

Thanks for the feedback, showing the hours of the duration has been implemented and will be included in the next release


Force scalefactor=1 for gentest to fix issues with test generation on hdpi devices

Since my new main work maschine is a hdpi device, all the gentests with rounding are producing different outputs.
This PR force the scalefactor=1 for gentest to fix issues with generation on hdpi devices.

💯

@emilsjolander thanks for merging this so quick, this is a huge lifesaver. 👍