site status vocab needs expanding to include sub-status

@geoderekh  @KellyVance The vocab needs to be expanded to include site status and sub-status to account for changes to the DB model. Possibly could use collections like mine status (status), exploration status (sub-status).
@DavidCrosswellGSQ can you confirm that status and sub-status will be handled in the same vocabulary? If so I'll make the changes.

@geoderekh If the sub-statuses are narrower terms of the status, then it is the one vocabulary.

@DavidCrosswellGSQ  We introduced "Sub-status" for MINOCC to handle exploration status, while "status" would handle the mine status. Should I therefore add the various mine statuses to the site-status vocab and create a new "sub-status" vocab containing just the exploration statuses?

We may need an extra "on-hold" top concept, but if we do that I see a way we can hierarchy as far down the rabbit hole as we need.
Just an example of one possibility (not saying this is exactly how it should be):

ststs:abandoned,
ststs:active,
-  ststs:exploration
-  ststs:construction
-  ststs:extraction (aka mining, aka operating, aka development, etc)
ststs:on-hold (aka care and maintenance)
ststs:rehabilitation
ststs:never-used,
ststs:proposed,
ststs:unknown ;

@KellyVance  We are going to have to revisit this issue and the lifecycle-status vocab model we were attempting to migrate to. We can leverage the work to date but I think there will be problems with the migration and with mine/exploration statuses going forward. We will also want to try and standardise our vocabs with Abandoned Mines as they have much more mine/minocc data than us and interoperability with their systems would be greatly advantageous for some major NEMI projects.
Please, lets meet up on Monday.


README: markdown syntax fix for links

Improved the markdown syntax in README for links and code blocks. Further, fixed the syntax of hyperlink for Yocto Project Quick Build.

I have created another PR #692 to address syntax improvements.


[ISSUE-1135] Shutdown pipeline driver poller

Bugfix
Invoke shutdown function in ~PipelineDriverPoller,  and in shutdown, notify poller thead waiting on condvar to quit timely.

run starrocks_be_unittest

run starrocks_be_unittest


refactor(models): move commons to own entry-point

Summary

attempts to split commons to its own entry-point
This is a breaking change, because we have to change imports on the consumer side from '@commercetools-test-data/commons' -> '@commercetools-test-data/models/commons'

Description

This PR is open to openly discuss how we add new models into test-data..

I want to try to add the Product model into test-data, because we might need it for the AppKit, given the incoming product picker.
I discovered that I might need this model.
One "simpler" approach is to define a simple product model to enable msw adoption for the product picker application-kit/test-data.
Given that the effort is the same, whether I author it in App kit or here, I decided that it makes more sense to start here.
Proposal
My proposal is move commons to its entry point so that models can be a space to add Product, Category etc...

👍 : consumers can import { Product } from '@commercetools-test-data/models'
👎  : breaking change
👎 : Product can not import from commons using relative path.

Another approach I considered is (might even be better actually, but let me know what you think)

move commons to the root folder and update the preconstruct.packages config under package.json
define models as its own package.

This means no breaking change ;)
what do you think?

TLDR;
I want to add Product, either we

keep commons "scoped" under models?
have two different packages; test-data/commons and test-data/models

The idea was to have packages by domain:

commons: basic models, like https://docs.commercetools.com/api/types
products: everything related to products, categories, etc
...and so on

https://github.com/commercetools/test-data/pull/12#discussion_r501613764

ahaaaa.. I must have been away when that discussion happened.
So this means, I can introduce products without changing the status quo.
thanks for clarifying. we can close this. ;)

I have a small concern regarding that comment however;
I believe at some point, it will start making sense to generate types for graphql models.
if we go for this, the types might have to end up as its own package too instead of inline with the model.
e.g TProduct is not exported from models/products, but rather types root package.

it will start making sense to generate types for graphql models

What do you mean exactly by that? Can you give a concrete example? 🤔

if we go for this, the types might have to end up as its own package too instead of inline with the model.
e.g TProduct is not exported from models/products, but rather types root package.

this is actually important, because even if we structure models based on their domains, a reference can be expanded and we're going to need an import to specify the type

What do you mean exactly by that? Can you give a concrete example? 🤔

so in this example, we typed the LocalizedString manually.
https://github.com/commercetools/test-data/blob/main/models/commons/src/localized-string/types.ts
I'd like to avoid authoring the Product all by hand 😄

Yeah sure, makes sense.

I'll set that one up then, before introducing models/products. I need it after all :)


Use core gene model from VRS 2.x, update to Pydantic v2

It'll be easier for all of our brains if we can move the fusions work up to 2.x. I don't think this strictly blocks that but it'd be good to try to be consistent if possible.

This is now priority:even higher because it's blocking @katiestahl on the gene transcripts suggestion issue

It's quite clear that continued FUSOR work will require reevaluating some of the model structure, as more work continues in the GA4GH VRS, SV, and CatVar projects. Hopefully we can start pulling from them soon.

@jarbesfeld points out that we need to think a bit about how to represent objects that aren't cleanly normalizable (e.g. obscure/platform-specific gene names called from specific fusion callers).

#130 is associated with this

I think this will be done in #95


bump monero to v<IP_ADDRESS> and use pure-xmr scripts for duo

Going to keep open for awhile longer for easy reference, but this pull shouldn't be merged and Duo work will on in #duo/main etc


[Feature request] Auto fill Max quantity when using Concentration

Concentration is very limited resource and it only allows to carft 1-6 items. Would it possible for addon to auto fill max amount in CraftQueue when using Concentration? Even when using recipe scan?

this feature is currently implemented for 'Queue Favorites"
where would you like to see it too?


GitFlow excercise

kindly fix the following issue
remove the extra text created by GitHub merge conflicts

thanks . I will do that 👍


Fix/Replace Hail Bopp Li-Ion Battery

Need to figure out some options for replacing or fixing the main Li-Ion batteries in Hail Bopp.
Specs:  Brammo batteries (no longer in production, company acquired by Cummins).  29.8V + 14.8 V batteries in series for ~45V total.  Both with 280Ah capacity.
The voltage current sits at about 7.5V total and the charger is not able to charge the batteries.

Kevin found this exact match of a battery set on ebay:  https://www.ebay.com/itm/235603667404

Pros: exact configuration match, no issues with compatability
Cons:  a 2016 battery that seems to still hold charge, but essentially offered as-is.  Missing out on 8 years of possible improvements in battery technology

LiTime and other similar companies offer new batteries that do not have quite the same capacity as the stock, but should be enough to do what we need.

Pros: new battery technology, new fresh battery cells
Cons: hard to know if compatibility is going to be an issue, matching exact voltage specs, and supporting the 6.5 kW motor that drives the drivetrain.

Is it possible to safely "jumpstart" the batteries so they would charge again?

6.5kW Motor:

Found this documentation of the motor controller:  https://www.thunderstruck-ev.com/images/Gen4%20Product%20Manual%20V3%204.pdf
It indicates that the working voltage range is 19.3 V to 69.6 V for the 36V/48V version of the controller, which I believe we have.  So it shouldn't be very sensitive to voltage variation.

Seems like the DC-DC converter 48V --> 12V is a SEVCON Part# 622/11111 36/48V 300W.  Or possibly a 500W version.
Discussion about the DC-DC converter:

This product can also be used as an upgrade for many 4-pin 300W Sevcon DC-DC converters. This 5-pin upgrade takes care of the number one cause of faulure on most 4-pin Sevcon DC-DC converters! The 5th pin is an enable switch. The problem is that the DC-DC converter powers the main contactor and the DC-DC stays enabled at all times. This causes the units to drain power at all times even when the vehicle was not in use. This eventually would lead to vehicle failures from either the converter burning out or from the converter slowly draining the batteries dead. The 5th pin acts as an on/off switch for the DC-DC. Jumping the 48 Volts + DC-DC input to pin five will enable the DC-DC to turn on. If a toggle switch is put in line between the 48 Volts+ input and pin 5 the toggle switch can be mounted somewhere handy to allow the DC-DC unit to be turned off when the vehicle is not in use. Such a switch could act as a vehicle Kill Switch as well. However, if Pin 5 were hard wired to the 48V positive DC-DC input without a toggle switch, the vehicle would suffer from the same problem of having the DC-DC that stayed on 24 hours a day. A mating 5-pin connector is needed.

This discussion suggests a wide operating voltages as well for the DC-DC converter:  48V (28.8V Min. – 60V Max.)

I realized that the new battery for the 1/3rd scale car is a lower capacity version of what I was looking at getting from Li Time.  So it should be possible to test it's compatibility with the vehicle by taking out the old batteries and inserting that battery in its place.  Which should be fairly doable.

9/9/2024 Update:

Status: Done, created a new task for battery installation
Next Steps: Batteries ordered 9/8/2024, so will arrive Sept 16-20?
Projected Completion: Done
Update:

Tried to slow (low amps) charge kickstart/activate the existing Brammo batteries, then follow up with the main charger. Did this twice and the main charger could never fully take over.  The second time, the batteries were charged up to 25V (should be 45V), but once the power supply was turned off, the charge rapidly declined (down to 16V in about 3 min).  Seems like the batteries are toast.
We also tested that the new batteries would work by connecting the LiTime battery from the 1/3 scale car (same voltage we would use, just lower capacity) to ensure it would allow the car to turn on and to move (only moved it a few inches).


Make instance and task ids case classes.

Summary:
We have different types of instance and task ids. Yet, all are modeled as strings.
Information is extracted with regular expressions ad-hoc. This patch introduces
different type for different ids and has one method that transforms strings to ids.
JIRA issues: MARATHON-8139, MARATHON-8142

The following tests are failing:

mesosphere.marathon.integration.GpuSchedulingIntegrationTest.Marathon with a restrictive GPU policy on agents with GPU should match an offer for already exising persistent volume
mesosphere.marathon.integration.ResidentTaskIntegrationTest.ResidentTaskIntegrationTest should persistent volume will be re-attached and keep state
mesosphere.marathon.integration.ResidentTaskIntegrationTest.ResidentTaskIntegrationTest should Restart
mesosphere.marathon.integration.ResidentTaskIntegrationTest.ResidentTaskIntegrationTest should Config Change

Apparently the reservation id is not right.

Tests pass but sbt benchmark/compile fails.

Overall two open questions remain for @meichstedt:

Can we assume the the unique id of a task is always aUUID?
What is the format of a reservation id?

Here is one manual check for apps, @ichernetsky:

I started ZooKeeper, Mesos master and agent.
Started Marathon 1.5.6 with ./bin/marathon --master <IP_ADDRESS>:5050 --zk zk://localhost:2181/marathon --mesos_authentication --mesos_authentication_principal marathon --mesos_authentication_secret marathonsecret --mesos_role foo
Deployed

{
  "id": "/persistent-volume-app",
  "cmd": "env && echo 'hello' >> $MESOS_SANDBOX/data/foo && /opt/mesosphere/bin/python -m http.server $PORT_API",
  "cpus": 0.5,
  "mem": 32,
  "disk": 0,
  "instances": 1,
  "acceptedResourceRoles": [
    "*"
  ],
  "container": {
    "type": "MESOS",
    "volumes": [
      {
        "containerPath": "data",
        "mode": "RW",
        "persistent": {
          "size": 10,
          "type": "root",
          "constraints": []
        }
      }
    ]
  },
  "portDefinitions": [
    {
      "port": 0,
      "protocol": "tcp",
      "name": "api",
      "labels": {}
    }
  ],
  "upgradeStrategy": {
    "minimumHealthCapacity": 0.5,
    "maximumOverCapacity": 0
  }
}

Killed Marathon.
Started my branch with sbt "run --master <IP_ADDRESS>:5050 --zk zk://localhost:2181/marathon --mesos_authentication --mesos_authentication_principal marathon --mesos_authentication_secret marathonsecret --mesos_role foo".
Verified that the app was still there and the file foo sill had the same content.

@jeschkies, could you please kill the app process before starting Marathon of your branch and after, in order to make sure that it is able to recover it.

@ichernetsky, sure. I plan to add such a cases once #6113 landed.

@jeschkies, I am ready to ✅once you say that it passes the manual upgrade tests.

There is finally a pending test case that verifies a resident pod recovery during a Marathon upgrade #6131

Since #6131 is blocked I created a new branch and run it in a loop.

So far there are twelve runs without an error.

Last 86 runs
   1 mesosphere.marathon.core.health.impl.MarathonHealthCheckManagerTest:HealthCheckManager should reconcile loads the last known task health state
   1 mesosphere.marathon.integration.DockerAppIntegrationTest:DockerApp should create a simple docker app using http health checks with HOST networking
   3 mesosphere.marathon.integration.DockerAppIntegrationTest:(It is not a test it is a sbt.testing.SuiteSelector)
Sample size: 86


handle named nulls in vlog conversion

Still needs tests.

Will this already be enough to resolve #82?


Feature: multi-wan support with load balancing

https://wiki.nftables.org/wiki-nftables/index.php/Load_balancing

Should load balance outbound traffic

Should do failover when one link goes down

Should support load balancing over site-to-site vpns.

Implementation details to cover:

[ ] DHCP Clients should DHCP each WAN interface
[ ] Wireguard should show each external IP as an option for generating a peer configuration
[ ] Mesh: When setting up the bridge it expects  one WAN interface only right now. Document that multi WAN on a mesh node will come later or is not supported
[ ] Need APIs & UI to set up multi-wan/failover settings
[ ] nft rules need to be updated to support multiwan. since oifname/iifname. should support a set, meta iifname {"eth0", "lo"}

bonded interfaces are a very straightforward way to implement this, and the kernel has load balancing options built out


change the description of the drive command

@yjbanov, some minor tweaks to the flutter drive command and template.

Here's the output I saw when running the test:
flutter drive test_driver/main_test.dart
Found connected emulator "iPhone 5s"; will reuse it.
Starting application: lib/main.dart
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
00:00 +0: end-to-end test (setUpAll)                                                               [info] FlutterDriver: Connecting to Flutter application at http://localhost:8181
[trace] FlutterDriver: Looking for the isolate
[trace] FlutterDriver: Isolate is paused at start.
[trace] FlutterDriver: Attempting to resume isolate
[trace] FlutterDriver: Waiting for service extension
00:01 +0: end-to-end test (setUpAll)                                                               [info] FlutterDriver: Connected to Flutter application.
00:02 +1: All tests passed!
Stopping application instance.

We may want to clean the output up a bit.

LGTM.
The default logging behavior is very naive, but can be easily fixed. It lives in https://github.com/flutter/flutter/blob/master/packages/flutter_driver/lib/src/error.dart#L40.

Cool. Sounds like flutter_tools should listen to the flutterDriverLog  stream from flutter_driver and display the log messages based on their log levels.


Shohbad Longrifle has no associated round type in the compendium

The Shobhad Longrifle is in the Compendium but it doesn't have a corresponding basic ammo type to load it with.

Edit: Even if I spell the name right it still doesn't show up.

None was printed with it. I think it was intended more as an AP prop.

Looking at relative dates, the AP book that had the gun would have been finished well before G&G was, so it's just not a thing.


Ta4j 0.9

Hi there!
Today I am releasing ta4j 0.9. It comes with some changes which are listed here: https://github.com/mdeverdelhan/ta4j/wiki/Release-notes#09-released-september-7-2017
I take advantage of this message to announce that I stop the maintenance of the project.
It is due to the lack of time. Now I am occupied with many other things (as usual: family, work, other projects, etc.) and I cannot spend numerous hours to analyze and treat (and too often reject, sorry) the bugs and the pull requests which emerge. And I am not even talking about enhancing the lib.
I think that today ta4j is in a pretty stable state and may be used as-is. Feel free to fork the repository, extend the code the way you like, and continue the adventure!
Happy trading! :)
Marc

Thanks for the effort and time you poured into this library Marc!  🎉 All the best for the future 🙂
I'm sure someone will step up and take over maintenance. Would you be willing to point to a new fork if/once it emerges?

Thank you very much for the effort and for sharing this beautiful library. It has been a pleasure for me to study it and to work with it!
I am sure without your maintenance it will become a little bit quiter around this lib.

You have done an amazing job with this library and I can see all the work that you have put into it.  Good luck on the other things that you work on!

I'd be happy to take over maintenance (maybe with one or two other contributors) until you return.

@TheCookieLab i could help as collaborator

Just copying over from chat, I think the below could be a reasonable process to transfer ownership:

add people interested in maintaining as collaborators
let them manage issues/pr for some time
later on move repo to new owner/org

I have also read this message sadly....
@mdeverdelhan are you willing to transfer the ownership of this project to others?
@all i am also interested in supporting the project, best would be to create a task list of what to do and who to do

Thank you Mark for all the work time and energy you have put into this project. We all love and will miss you!

hello together,
since I could not see any response from Mark, which I can fully understand, I have taken actions to make the project to get back to live again.
I have created a new organisation ta4j and have also registered the domain ta4j.org.
So hopefully there are some developers around who are willing to take over the development again, so I can give these developers the full permissions on the new ta4j organisation to get life back into the project.
I know this sounds maybe somehow weird but this approach makes it possible to get on with the project immediately without the dependency to one specific person. I hope my good will is here considered and not any negative emotions as a reaction to my actions taken.
I can support the board with my team, but this will be the decision of the new ta4j-board which I may or may not be part of (democratic decision of the new ta4j-board)
So if whoever is interested in supporting the new ta4j project please respond on the issue #1
If you have already needs, wishes or ideas I have also prepared a issue to collect them #2

Thank you to all of you for your messages. Honestly I was not thinking that ta4j was so popular.
As I said to @dpalic I am glad to see that some of you are motivated to be part of the new ta4j. I am going to point to this new organization (https://github.com/ta4j) and keep this repository as an archive. If you need I can slightly collaborate to the new project (for occasional bugfixes for instance, do not expect any big work from me).
Before making those changes, let me give you some advices from my experience:

Do not forget that the very initial project was Tail (https://github.com/peas/tail & http://tail.sourceforge.net/) (even if there may not be any line of code that has been kept).
Learn to say "no". Do not add features in too numerous ways if you don't have the means to maintain them. Remember that it is not only about dev: you also have to test, document, and maintain your feature. You have to know how it works, how to explain it to a newcomer, what are its limitations, what it involves at the API level (and at the lib user level). You have to dive into it after one year when someone comes with a "I found a bug!" statement.
Have a chief. A so-called democratic governance may work but in last ressort, one has to decide.
Stay humble, always. :)

Good luck!


Introduce a good independent resizing benchmark

100k representative images (10 shards)
A table in .md with current numbers

Then use it to benchmark several solutions.
For example:

Albumentation batching support

Current speed is around 80 image/s per i7 core

I did some benchmarks with the current code, and it seems cv2.imdecode is enough to use most of the currently used cpu

new information: resizing is twice faster on arm than on intel. Using custom compiled packages since they're not on pypi
will investigate more to understand it


Camera2: Manual SurfaceView rotation

Hi guys.
How can manually rotate (90/180/270) camera2 preview, using AutoFitSurfaceView/SurfaceView from example?
Thanks!

I need to learn that one(suppose to fix the multi-window/large screen problem in that class when I get chance)

@ggfan Ok)

Can't I fix the rotation issue with "AutoFitSurfaceView" now?

Normal:
https://drive.google.com/file/d/1Ecg0A8uO93iV4A05YoArfdcQwtCuuAQh/view?usp=sharing
Rotation 90:
https://drive.google.com/file/d/1qlL34fEeWWiLtf25buiTk6MNbEQ3a1rq/view?usp=sharing

Do I need to use the old approach with "AutoFitTextureView" to fix this issue?

https://github.com/googlearchive/android-Camera2Basic/tree/master/Application/src/main/java/com/example/android/camera2basic


convert alarmdecoder interface from async to sync

Description:
The alarmDecoder package uses a thread to monitor the alarm system, but the home-assistant implementation assumes an asyncio interface.  This patch converts the interface to be synchronous.
I left the alarm_control_panel interface as async because I believe sensing data to alarmdecoder asynchronously should not cause any issue.
Related issue (if applicable): fixes #11157 (this is not confirmed..I cannot reproduce the issue in that ticket on my own systems)
This issue was also mentioned in #11155
Checklist:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

I'm about to give up.  Every time I think I understand how to use the async calls, I'm wrong.
How do I know if a given function or callback is async or not?
I was told that the platforms can't be async because they use I/O.  I understand that.  Are dispatcher signal callbacks always async?  Is there a reason to have the platform constructor be async vs synchronous?

@MartinHjelmare what is wrong on that PR? It convert to sync and it look not bad

@pvizeli
The callbacks didn't do I/O and was called via dispatcher so they could still be run in event loop. The platform setup functions didn't do I/O either so could also be kept as async. But it's not a big deal.

@PhracturedBlue thanks for good work!
To answer some of your questions:
You can define dispatch callbacks as you wish. But it's not allowed to do I/O in event loop, so you just have to be aware of that. They will be called via hass.async_add_job which checks for callback annotation on the callback. If that is there, the callback will be run in the event loop.
If platform constructor (setup_platform) does I/O it must be sync, otherwise it can be async.
Regarding hass.bus.listen_once callback, that is also called via hass.async_add_job.

Martin,
So if I understand, it wasn't so much that the 2nd attempt was wrong, just that it is preferable to use async calls where you can, and I could have (should have) left the setup and non-IO callbacks as async?
By the way, even if I get frustrated, I really appreciate the work you guys do in these reviews.  I can imagine that it can be a thankless job.

Yes! :+1:


ifelse: fatal: unable to exec /bin/cli.sh: No such file or directory

Debian GNU/Linux 10 hassio tty1

hassio login: root (automatic login)

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
ifelse: fatal: unable to exec /bin/cli.sh: No such file or directory
[cmd] /bin/cli.sh exited 127
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Debian GNU/Linux 10 hassio tty1

hassio login: root (automatic login)

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
ifelse: fatal: unable to exec /bin/cli.sh: No such file or directory
[cmd] /bin/cli.sh exited 127
[cont-finish.d] executin

On an older HA instance, I'm getting these cyclic errors. No CLI is available on the LXC. How can I fix this?

The best advice I have is to recreate the container, and import the snapshot.

The best advice I have is to recreate the container, and import the snapshot.

Again, almost a year after this, the issue reappears.
Is there anyway to access the data inside the LXC?


Implement Socket I/O Online Event

Describe the task that needs to be done.
(If this issue is about a bug, please describe the problem and steps to reproduce the issue. You can also include screenshots of any stack traces, or any other supporting images).
Create and implement an event that sends to a client whenever a new user joins the socket i/o.
Describe how a solution to your proposed task might look like (and any alternatives considered).
Wrap join event with a user id
Notes
As discussed in communications group meeting (see meeting minutes in wiki)

Seems fine

This PR is excellent


Disallow zero-length buffers in TWIM

The TWIM hal functions don't check for zero-length buffers, and write 0 to TXD.MAXCNT / RXD.MAXCNT.
However Nordic's docs say the value should be in range [1..0xFFFF], so 0 is not allowed: https://infocenter.nordicsemi.com/topic/ps_nrf52840/twim.html?cp=4_0_0_5_30_6_22#register.RXD.MAXCNT
In practice. doing a zero-length write or read makes the current implementation hang forever. Maybe this should be checked, and return an error like Error::ZeroLengthBuffer

Same goes for SPIM, according to the manual.


Bottle reproducibility tweaks

dev-cmd/bottle: improve reproducibility and add more comments explaining what's being done. Setting a consistent owner/group results in more consistent bottles.
Use long/readable tar flags consistently.
utils/bottles: tweak/improve some of the API.
bottle: remove GitHub Packages bulk upload logic.

Review period will end on 2021-04-16 at 11:19:56 UTC.

Review period ended.


Putting together Fault Proof Upgrade Runbook

Description
The goal of this PR is to put together a reusable run book we can follow to generate upgrade tasks for chains who have completed the MCP L1 upgrade and now need to get to the fault proof contract set.
This is a draft for now, we'll serve as a space for me to hammer out the details. However, we'll follow the general run book model we've used in the past of:

preparing the task for a network
simulating, validating, and executing that task
then using that task as a template for future upgrades

@sbvegan is this still wanted?

@maurelian we can close this one for now and add a new one later. We're shifting our approach on this so I'll make sure thats buttoned up before I put in a PR


Update TagHelpers intro doc and sample

@danroth27

Hi @ajaybhargavb, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Updated.

:shipit:  Thanks!


Several fixes to cortex m and dfu

Set cortex_m feature based on target architecture
Match on cortex_m flag rather than feature flag
Remove serial portion of update example
Use latest embedded-update

bors r+

bors r+


📝 Write up a basic README

This is not meant to be the last word in documentation, but to provide
basic information.

I find it a bit confusing that the package is called ocrd_page_to_alto, but there is no such command and for OCR-D processing one needs to use ocrd_fileformat!

I find it a bit confusing that the package is called ocrd_page_to_alto, but there is no such command and for OCR-D processing one needs to use ocrd_fileformat!

This also bugged me but I noticed only after releasing. Rename page-to-alto?

I find it a bit confusing that the package is called ocrd_page_to_alto, but there is no such command and for OCR-D processing one needs to use ocrd_fileformat!
This also bugged me but I noticed only after releasing. Rename page-to-alto?

If you don't plan to integrate OCR-D support here directly, I would suggest removing the reference in the name entirely and pointing users to ocrd_fileformat in the documentation (like in my proposed README changes). It's relatively important to me, because the question came up more than once in my conversations with @j23d, when we discussed using page-to-alto in our workflows.

I will however not rename the project (in the H1 header of the README) in this PR, if that was the question - that privilege is left to the main author 😅


trying to select items with non empty embedded list

OrientDB Version: 3.0.13
Java Version: JDK 8
OS: Ubuntu 18.x
Expected behavior
query for items with empty embedded list
Actual behavior
how do I do this?
Steps to reproduce
select @rid, subarticles as SA from (traverse content from (traverse pageData from (select expand(both('HasWebsite')) from V where uccid=36))) where SA is NON 'EMPTY'

Hi @grimace
Just use subarticles.size() > 0
Thanks
Luigi


Supporting custom css

Hey, I was using custom css when I was using Fruition. I couldn't find a way to build with custom css, I think only custom scripts are supported at the moment. Are there any supported way to add custom css?
I solved it with this approach:
In site-config.ts file:

// Set this to your Google Tag ID from Google Analytics
const GOOGLE_TAG_ID = 'G-XXXXXXX'

// CUSTOM CSS DEFIND HERE 👈👈👈
const CUSTOM_CSS = `
<style>
/* Footer - custom block css*/
[data-block-id="496884be-8b53-46ee-a8a7-ff148ff7e68a"] {
  text-align: center;
  margin-bottom: -2.5rem !important;
  font-size: 12px;
}
</style>`

export const SITE_CONFIG: NoteHostSiteConfig = {

  //...
  // other stuff
  //...

  // Custom JS for head and body of a Notion page
  customHeadJS: googleTag(GOOGLE_TAG_ID),
  customBodyJS: `${PAGE_SCRIPT_JS_STRING} ${CUSTOM_CSS}`, // CUSTOM CSS ADDED HERE 👈👈👈
}

If custom css is not supported, at least this way it can be added to the project.
Thanks for your efforts, I rebuilt my site with notehost very quickly 🤟

Thanks for the idea :)
I've added customHeadCSS in the latest version, so you can simple put your CSS code there.
E.g.
const CUSTOM_CSS = `
/* Footer - custom block css*/
[data-block-id="496884be-8b53-46ee-a8a7-ff148ff7e68a"] {
  text-align: center;
  margin-bottom: -2.5rem !important;
  font-size: 12px;
}
`
  //...
  // other stuff
  //...

  // Custom JS for head and body of a Notion page
  customHeadCSS: CUSTOM_CSS,
  customHeadJS: googleTag(GOOGLE_TAG_ID),
  customBodyJS: `${PAGE_SCRIPT_JS_STRING}`,
}


3.5 does not offer completions for signals

Godot version
3.5.stable.arch_linux
System information
Linux 5.19.4-arch1-1
Issue description
Given the following script:
extends Spatial

func _ready():
	get_tree().create_timer(1.0).connect("ti<cursor_here>

In 3.4, the LSP will offer "timeout" as a completion.
In 3.5, the LSP will not offer any completions.
This sounds similar to https://github.com/godotengine/godot/issues/64666, but in this case, instead of offering a completion that inserts empty text, the LSP is not offering a completion at all.
I'm using neovim's 0.7.2's builtin lsp client.
34.txt
35.txt
Steps to reproduce

Open the example project
Open Spatial.gd in neovim
Request a completion after "ti
Note no completion is offered
Repeat in godot 3.4
Note a completion is offered

Minimal reproduction project
example.zip

I tested with 4.0.alpha.custom_build.97c0dd74d. That offers way too many completions.
40.txt

Try with connect(ti<cursor_here>

No luck -- without quotes, I get
Time                              Class
Timer                             Class
TileMap                           Class
TileSet                           Class
TreeItem                          Class
TYPE_INT                          Class
TYPE_INT_ARRAY                    Class
to_string                         Method
type_exists                       Method
translation                       Property
get_global_transform_interpolated Method
get_process_delta_time            Method
AnimationNodeTimeSeek             Class
AnimationNodeTimeScale            Class
get_physics_process_delta_time    Method
TYPE_NIL                          Class
TYPE_RID                          Class
TextEdit                          Class
TextFile                          Class
TYPE_BASIS                        Class
TYPE_STRING                       Class
Translation                       Class
TabContainer                      Class
TriangleMesh                      Class
TYPE_DICTIONARY                   Class
TYPE_STRING_ARRAY                 Class
TranslationServer                 Class
ERR_TIMEOUT                       Class
MIDI_MESSAGE_TIMING_CLOCK         Class
...

It also seems that action completion (i.e. for event.is_action("ui_<completion>) works in 3.4, but not 3.5.
34.txt
35.txt


Wallet Staking Page goes blank when "Select Chains" Box is clicked. [Regional Issue]

Depending on the region the supportedChains API may either return ["0001","0003"...] or  "["0001","0003"...]" , the latter does not work the former does
This fix it to this will also not work
https://github.com/pokt-foundation/wallet/pull/418

Fix: https://github.com/pokt-foundation/wallet/pull/423

Code has been merged, closing this issue.
Thanks!


Remove version: NagleCode.PacketSender version 8.6.3

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/dannagle/PacketSender/releases/download/v8.6.3/PacketSender_x64_v8.6.3.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 762)


Allow using dotnet fsi

AFAIK, the way FSI should be executed for recent versions of .NET (Core or >=5) is through the dotnet client application as: dotnet fsi. Indeed, on a up-to-date Arch Linux, if I try execute /usr/share/dotnet/sdk/5.0.100/FSharp/fsi.exe, it crashes on an assertion (file-mmap-posix.c:397, condition 'path || mapName' not met).
Yet if I set let g:fsharp_interactive_bin = '/user/bin/dotnet fsi' vim-fsharp fails with this exception:
Traceback (most recent call last):
  File "<string>", line 28, in <module>
  File "/home/user/.vim/plugged/vim-fsharp/ftplugin/fsi.py", line 28, in __init__
    raise Exception ('Error executing fsi.  g:fsharp_interactive_bin="' + fsi_path + '" ' + str(e))
Exception: Error executing fsi.  g:fsharp_interactive_bin="/user/bin/dotnet fsi" [Errno 2] No such file or directory: '/user/bin/dotnet fsi'

Is there any way to make it work (other than changing the python code, as I did)? Is .NET Core / 5 supported?

I came across this issue whilst trying to setup my F# dev environment. Is there any way to get this plugin to work with .NET 5 at the moment?


Suggestion: Provide ssh pubkey to devcontainer

Checklist
edit: found https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials, maybe it's just my credentials helper thats buggering me

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I can't push code to my project from devcontainer
Describe the solution you'd like
Push to my repository from devcontainer
Mount in ssh pub key in devcontainer might be an option? Maybe commented out until explicitly enabled
Describe alternatives you've considered
pushing from another terminal
Additional context
N/A

Clone the repo with SSH and not https and it works.
Nothing that can/should be changed here.

Clone the repo with SSH and not https and it works. Nothing that can/should be changed here.

I think it's my credentials helper that was causing problems


Multilanguage support

Before openpilot is 1.0 software, it needs support for multiple languages. We'd need a nice generic way to do this.
I think this will have to be written at first in house, but it should be easy after that to add more languages with pull requests. We should look into what dragonpilot is doing and take what's good.

I started working on this (not ready yet) https://github.com/xx979xx/openpilot/blob/i18n/selfdrive/controls/lib/alerts.py
plz everyone feel free to critique and contribute

For the language part, are you going to use something like transifex or similar? I would be more than happy to help with translation.

When i18n and l10n support is ready, I can help to translate it to zh_TW.

I would love to start contributing by this. Count me in!

The UI rewrite should be done with this in mind.

@fusk-l @s8321414 @caginbektas here all Openpilot translatable texts up-to-date
messages.po

@fusk-l @s8321414 @caginbektas here all Openpilot translatable texts up-to-date
messages.po
here is the code(not ready):
i18n.py
i18n.h

Just to be sure, we just copy everything, translate msgid and reupload where?

@xx979xx does your ui.cc/sidebar.cc translation working? I tried a while ago and couldnt get it to work :(

@eFiniLan I have not tried it yet
needless to say, this is my first ever C++ code, I am doing it for fun (and learning C++ which I hate so much)
soon you will find out

Whenever there's an explanation of how this works, i'll be ready. Have already looked through some of the strings.

@eFiniLan you are right, ui does not translate. I think we have to install gettext package from termux-packages repo
I tried but I got this error:
$ pkg install gettext
This must NOT be run as root as it will break your environment (root will be required for nearly everything due to changed file permissions)

I'm willing to translate into german.

I can translate it to Hungarian

I'm happy to translate into Thai. 👌

I can translate to Spanish

I can translate Japanese.
From: Alister MacCormack @.>
Sent: Friday, February 25, 2022 5:42 AM
To: commaai/openpilot @.>
Cc: ponzu07 @.>; Manual @.>
Subject: Re: [commaai/openpilot] Multilanguage support (#1070)
I can translate to Spanish
—
Reply to this email directly, view it on GitHub https://github.com/commaai/openpilot/issues/1070#issuecomment-1050245086 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2VKMGI735CQ2SGHI37ILLU42J2RANCNFSM4KSDAOAA .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
You are receiving this because you are subscribed to this thread.  https://github.com/notifications/beacon/AD2VKMGJTAPHI5DCKKJYZDDU42J2RA5CNFSM4KSDAOAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOH2MXPXQ.gif Message ID: @.*** @.***> >

I got Arabic!

Merged base multilanguage support into master for offroad settings and onroad static text elements.

[ ] We would still like to dynamically translate without restarting UI
[ ] Translate alerts (dynamic text requires injecting our own translations with custom contexts into the TS files)

Moved improvements to https://github.com/commaai/openpilot/issues/25092


Batch Normalization  Set weight problem

Hi, I try to load weights into the BatchNormalization layer, but got an Exception: You called set_weights(weights) on layer "batchnormalization_1" with a  weight list of length 2, but the layer was expecting 4 weights.
Why do we have 4 weights here? I did not find out the reason in the documentation ?
Thanks
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Running mean, running standard deviation, gamma and beta.

Thanks, I was transfering the pretrained model from torch to keras, it seems in torch there isn't such gamma or beta variable, what default value should I use in general?

Gamma and beta are the scaling and shift applied after normalization (cf. BN paper). gamma = 1, beta = 0 is "do nothing."


Read alpha as the fillOpacity property

I am not sure if this is the best way to implement it because matplotlib's alpha is defined only once, while in leaflet we have opacity for the stroke opacity and fillOpacity for the patch opacity.
However, I believe we need to override leaflet's default fillOpacity, which is only 0.2, to fix visualizations like this one:
http://nbviewer.ipython.org/github/rsignell-usgs/mwra-wq/blob/master/notebooks/wq_test.ipynb

:+1:

@ocefpaf Nice. Thanks. Makes sense - setting only the edge opacity was definitely a bug.

Thanks!


Start-GSDriveFileUpload only writes to domain superadmin drive

Followed the install as on the wiki page.
Am able to read file list from all users drive
When running Start-GSDriveFileUpload there is a drive folder with the users name to the superadmin drive instead of the drive of the user.
update PSGSuite, recreated the project in console to see if I missed any steps...
Please help :-)

Hi! Drive API functions authenticate as the user specified in the -User parameter, which defaults to the AdminEmail user in the config. If you want to upload the file as another user, pass their primaryEmail to the User parameter. Hope that helps!
Sent with GitHawk

I've predefined $homepath and am running it like (with a different email obviously):
Start-GSDriveFileUpload -Path $homePath -User<EMAIL_ADDRESS>-Recurse -Wait

hey @dfjmulder - Trying to figure out exactly what the issue is. My understanding of the issue is this (please correct me if I'm wrong!):

<EMAIL_ADDRESS>is not the AdminEmail user configured on the PSGSuiteConfig. For the sake of understanding, we'll call the AdminEmail<EMAIL_ADDRESS>You're trying to upload files to Drive for<EMAIL_ADDRESS>Uploaded files are showing up under<EMAIL_ADDRESS>Drive with<EMAIL_ADDRESS>as the owner, but<EMAIL_ADDRESS>should be the owner.

Is that an accurate portrayal of what's happening?

Yes. Thats correct.
And PSGSuite gives an error per file if I use the wait option. I am assuming cause it cannot find the files under the correct User. If i do not use the wait option than it reports like nothing has gone wrong.
And the api in cloudconsole is full of errors.

What errors are you seeing?
On Sat, Dec 22, 2018 at 12:16 AM David<EMAIL_ADDRESS>wrote:

Yes. Thats correct.
And PSGSuite gives an error per file if I use the wait option. I am
assuming cause it cannot find the files under the correct User. If i do not
use the wait option than it reports like nothing has gone wrong.
And the api in cloudconsole is full of errors.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/scrthq/PSGSuite/issues/136#issuecomment-449548615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIo3S4lp38vJaHMd-jHYncdBfn3ENlgks5u7c5GgaJpZM4ZfDwZ
.

--
Thank you for your time, Nate Ferrell (SCRT HQ)

hey @dfjmulder - Can you send over the errors you're seeing in both PowerShell and the Developer's Console? Considering you're seeing errors in the Dev Console / Cloud Console, it seems like the parameters that you're trying to pass may not be liked too much on the Google side. I'm not able to replicate any issues on my end when I try to upload as another user in my domain.

Command given: (username and domain changed)

Start-GSDriveFileUpload -Path \Server02\Homedirs$\username\ -User<EMAIL_ADDRESS>-Recurse -Wait

Powershell error

WARNING: The following files failed to upload:
Powershell errorId        : 4307
Status    : Failed
Exception : The service drive has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError
File not found: 1raDctkEXmcPcRS0t51d1lvroUUfKwiqe. [404]
Errors [
Message[File not found: 1raDctkEXmcPcRS0t51d1lvroUUfKwiqe.] Location[fileId - parameter] Reason[notFound] Domain[global]
]
           at Google.Apis.Upload.ResumableUpload`1.<InitiateSessionAsync>d__25.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at Google.Apis.Upload.ResumableUpload.<UploadAsync>d__70.MoveNext()

File      : \Server02\Homedirs$\username\Afwezigheid Facilitair\Bij vakantie.docx

Repeated for each file.
There is a folder-structure in the superadmin drive created with the username as folder in the drive root and files+folder structure replicated there. Now owned by the superuser.
The google Drive API Metrics in console.cloud.google shows 404 errors for the drive.files.create method for the serviceaccount and oauth2 credential thats also in the config file.
Im trying to download the error file from the metrics page but this somehow seems to take forever. wille update onces that succeded

If I create a new folder in his drive than it all works dandy

New-GSDriveFile -Name "testfolder" -User username -MimeType DriveFolder

folder is created no issues

Thanks for the extra details! Seeing if I can replicate this on my end =]

👍

Looking at your code I do not understand how the functions you call inside this function know the User to send the files to. As the -User parameter does not appear to be handed down to them.

Thanks for confirming! I'm glad you're enjoying PSGSuite!
Sent with GitHawk


The current line disappears in terminal with Ctrl+r and Space when "terminal.integrated.gpuAcceleration": "off"

Does this issue occur when all extensions are disabled?: Yes
Version: 1.72.0-insider (Universal)
Commit: c4722f1bb292284e0437eb7547808a5788fe6430
Date: 2022-09-02T05:20:22.688Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.6.0
Sandboxed: Yes
The shell is zsh. The settings.json is as follows:
{
    "terminal.integrated.gpuAcceleration": "off",
    "workbench.colorTheme": "Default Light+",
    "window.zoomLevel": 1
}

Steps to Reproduce:

Set "terminal.integrated.gpuAcceleration": "off"
Open Terminal
Type Ctrl+r and Space
The current line disappears.

When "terminal.integrated.gpuAcceleration": "auto", this issue doesn't occur.
https://user-images.githubusercontent.com/10665499/188245201-6a1fc52c-d6dd-4276-82c4-c12d201716b0.mov

Same here but on linux and using ZSH for integrated terminal.
Ctrl+r somehow breaks as soon as I type a space.
Version: 1.71.0
Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c
Date: 2022-09-01T07:25:10.472Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-47-generic
Sandboxed: No

I can't reproduce with either of those scenarios. If you resize the terminal after ctrl+r, does the line reappear?

No. It keeps hidden.

same here.
Just tested one more thing.
When setting gpuAcceleration to "canvas" it works just fine like when set to "on". Only "off" seems to trigger the problem.

I cannot reproduce the issue. Might be fixed.
Version: 1.75.0-insider (Universal)
Commit: b92894493e6f971a3c71912d823e699d3a05d643
Date: 2022-12-08T05:21:16.099Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.6.0
Sandboxed: Yes

Hey @Tyriar, this issue might need further attention.
@tamuratak, you can help us out by closing this issue if the problem no longer exists, or adding more information.


Why is this happend??? With electron...

I'm using the latest electron and metro4 package

and I hope to see this in my window and I'm pretty sure I can use it in my browser,

but when I using electron.....well things are getting bad.

I'm confused....How cloud this happend???

Metro 4 required jQuery

I've linked jquery already,right after metro.js

where are U looking at????

jQuery must be include before metro

That is exactly what I'm I doing after I using electron.

On your third screen I see "jQuery is not defined"

add jquery to dependencies, before metro

I did it again, and fine on chrome

but not so lucky on electron

there must be some problem otherwise i't couldn't run on chrome so good.

https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined

https://ourcodeworld.com/articles/read/202/how-to-include-and-use-jquery-in-electron-framework

I'm suck a rookie, so embarrassing....... Problem no more thanks a lot !!!!


Add -d option for mruby and mirb.

The CI build generated a few warnings and errors. Can you check?
Some of them might be caused by previous patches.


Support user assets lists

Problem
The number of tokens being added to osmosis is increasing quickly. It's becoming unwieldy to navigate the various IBC assets available for trade (even with sort & search UI). We are currently suffering from the necessary "gatekeeping" problem; new assets are currently enabled by the core dev team, thus stifling the speed of liquidity for innovation.
Solution
Inspired by Uniswap, there should be a place on the frontend where users can easily select the assets that are visible.
Requirements:

UX should not be confusing to new/non-power users (put under gear icon on trade clipboard? & bottom of assets page?)

There should be a default assets list that contains assets recommended by the team (similar to the current list, could be called "Recommended")

Users should be able to select multiple lists, and conflicts should throw an error
(Stretch) Power users should be able to add their own assets list via a URL to a JSON file

Long term- we should seek to add metadata on chain to be updated via governance proposals. This would grant us the added benefit of officiated token denoms.

One thing we need to decide is whether the custom assetlists will only apply to the trade page's token selection, or globally across the web app (i.e. pools page and assets page).

Right now I think the token lists should only apply to the trade + asset page, with a separate UI displayed to guide users (i.e. 'Not seeing tokens you're looking for?') that could guide users to modify the assetlist if the user doesn't see the asset they are looking for.

I think it should apply to everything.  Like it should at least re-label tokens on the pools page based off of the assetlist

I think it should apply to everything. Like it should at least re-label tokens on the pools page based off of the assetlist

@sunnya97 how important is it for newly listed assets to be visible? I can imagine if a user's assetlist is always filtering his UI, that the user will potentially miss a listing...

I think that's okay.  People will likely learn about new listings from other sources, not from the assets page itself.  The assets page will show new listings that are added to the default list

@sunnya97 @jonator I'm not sure if this has been previously discussed elsewhere, if not now, perhaps consider this for later?
Asset "category" filters:
Be able to filter your assets / trade list by the following:

SDK Native
Juno CW-20s
Secret SNIP-20s
Evmos ERC-20s
Any other ecosystem / bridge filters that come later...

[ ] Look into ways to incorporate chain registry as we work on this project #158 #68

Closing in favor of tracking on ClickUp


Dryad SMTP error

(dryad2dataverse==0.5.8)
SMTP server unexpectedly closes. This may be a user issue rather than a code issue if, say, requirements have changed with the service as they often do.
Traceback (most recent call last):
  File "/redacted/dryadd.py", line 621, in main
    **vars(args))
  File "/redacted/dryadd.py", line 151, in notify
    server.login(kwargs['user'], kwargs['pwd'])
  File "/usr/lib64/python3.6/smtplib.py", line 721, in login
    initial_response_ok=initial_response_ok)
  File "/usr/lib64/python3.6/smtplib.py", line 631, in auth
    (code, resp) = self.docmd("AUTH", mechanism + " " + response)
  File "/usr/lib64/python3.6/smtplib.py", line 421, in docmd
    return self.getreply()
  File "/usr/lib64/python3.6/smtplib.py", line 394, in getreply
    raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

Appears to be a one-off; subsequent runs OK.


Support REFERENCES ON construction

Adding ON DELETE CASCADE or similar ON construction after REFERENCES ... leads to an empty parse result.
It would be nice to support ON also.
Thanks! Cool parser BTW :)

@walkman90 , hello & thank you! Good addition. I will be back from vacation on 31 March and will add support in parser.

@walkman90  hello! I added feature in release 0.9.0 (already released). Example of output: https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_references.py#L37. Please comment if you will find any issues or need to add smth else.

I will close issue as done, if you will have anything more - feel free to open a new one.


is this a fork of colorette?

Is this a fork of colorette by Jorge Bucaran? Just asking...

Yeap. Recent colorette 2.x release made it impossible to use this tool (because of extra call on every use case).
Also I optimized loading time and add browsers support.

@ai thank you for your work. I personally support your approach of forking and extending original repo - that is what open source all about

Btw, the API change in 2x was reversed and new API is optional and opt-in, old API works as-was.

@kibertoad I still see the big problems in colorette maintaince:

Broken SemVer by adding --color and --no-color arguments support in batch 2.0.13 release.
Copyright problems of cloning picocolors improvements without mentioning origin project.

Allow me to be open. Adding you to maintainers didn’t solve (yet) impulsive behavior. It is still impossible to use colorette in big projects,

@kibertoad my current plan is to close nanocolors in flavor of picocolors.
I think that the only way to close the conflict is to give place for new generation of developers. We (colorette and nanocolors) are both corrupted. picocolors maintainer shows, in contrast, very clever optimization with long-term disitions.

It's not pragmatically a SemVer breaking change, at most it is a new feature, I don't imagine anything getting broken by this in real production, and rolling it back at this point would be complex and expensive. However, Pull Request review policy was discussed and enacted after this particular incident, this will not happen again;
This is not true: https://github.com/jorgebucaran/colorette/releases/tag/2.0.14 references origin project directly, and Jorge is currently thinking of how to amend readme file to accommodate Alexey's wishes;
Again, this was unfortunate, but will not happen again, because now such changes and versioning are discussed up-front. We are coordinating releases together now;
If I remember the whole story correctly, small performance improvements ended up not doing anything helpful and were dropped, hence they are not retroactively mentioned anywhere. If you feel that there is any meaningful part of nanocolors still present in colorette, we would be more than happy to credit you for it in a way that you find appropriate. Let me know if that is the case.

I disagree. Personally I'm seeing huge difference in how Colorette development is happening now. Hopefully it will be more visible in the nearby future and we could dispell your scepticism :).
I also don't see colorette as corrupted or wrong. It is a great library that works great. picocolors is a very exciting project with a really talented developer, and I hope it prospers. nanocolors seems rather redundant for me at this point, but in which direction you decide to take it, if any, is obviously up to you :)

It's not pragmatically a SemVer breaking change, at most it is a new feature, I don't imagine anything getting broken by this in real production.

I, as a colorette user, disagree. You could have a different opinion.
For my projects, it is broken promises. I can’t trust the utility package with this type of changes in patch releases.
But I do not force you to have my opinion. I just, personally, prefer to use a different type of SemVer compatibility.

This is not true: https://github.com/jorgebucaran/colorette/releases/tag/2.0.14 references origin project directly, and Jorge is currently thinking of how to amend readme file to accommodate Alexey's wishes;

picocolors doesn’t mention directly in README.md. Even in ChangeLog Jorge mentiones commit, not a project by name.
For me, it is a clear image that he tries to hide a competitor.
In contrast, picocolors mentions colorette with a direct link.
For me, Jorge thinking instead of adding a link imminently after the ask is a not fair game.

This was unfortunate, but will not happen again, because now such changes and versioning are discussed up-front. We are coordinating releases together now. Rolling it back at this point would be complex and expensive. However, Pull Request review policy was discussed and enacted after this particular incident, this will not happen again;

After 2.0.13 I disagree that “will not happen again”.

If you feel that there is any meaningful part of nanocolors still present in colorette, we would be more than happy to credit you for it in a way that you find appropriate

Yes, please. With direct link to nanocolors and any type of mentions including our collaboration or Prior Art.

I've just added link to picocolors in release notes. I'm not sure that a single small optimization is significant enough to be mentioned in readme, but I'm open to be convinced otherwise. Changelog seems more appropriate because it is focused on that particular specific change. It can't be fairly said that Colorette design overall is heavily influenced by picocolors.

Yes, please. With direct link to nanocolors and any type of mentions including our collaboration or Prior Art.

Can you please help me by listing which particular parts of nanocolors are currently still used in colorette? The one that I am aware of is https://github.com/jorgebucaran/colorette/commit/b1d82b9a9204bdac19b6306c2426a179f4cd6c6b, and from my understanding it was later reversed because it was not actually helping. If there is anything else still left, please point at it, and I would be happy to work out with Jorge path to properly attribute it.

I've just added link to picocolors in release notes.

Could you please added picocolors mention and link to README.md. Current Acknowledgements content is misleading as picocolors told.

I'm not sure that a single small optimization is significant enough to be mentioned in readme, but I'm open to be convinced otherwise.

Do not copy, it is not significant enough.
picocolors mentions colorette in README.md with a direct link, for example.

Can you please help me by listing which particular parts of nanocolors are currently still used in colorette?

It is s || https://github.com/jorgebucaran/colorette/blob/main/index.js#L38
Jorge firstly copied !s && from nanocolors which causes 2x performance boost. In https://github.com/jorgebucaran/colorette/commit/d1ff3a7048416788c9ca89f3c27f9d11a24ebb9d in was not removed, but replaced with reverse check to hide fact of copying (as I assume according to this discussion).

Sure, we'll discuss with Jorge and figure out how and where we can attribute all of this.

@jorgebucaran Please read discussion above and let's plan tomorrow :)

Absolutely. It was an oversight to not include a link back to picocolors in our acknowledgments. I've rectified this now. 👍


Fixes

Issue #25 fix, Look at AWSControlTowerBP-BASELINE-CLOUDWATCH since cloudtrail stackset changed.
Added some comments to manifest.yaml to clarify multi-region deployment options.
Updated bucket policy to make it non-Public so it works with newer default s3 bucket settings.
Changed the bucket policy to allow accounts to see and read only data that account had logged. (Previously let any account read all flowlogs in the organization.)
Moved management_prep.template out of templates/ to make zipping easier: zip -r cfct-aws-ct-vpc-flowlogs.zip manifest.yaml templates/
The bucket policy was being refused with an "Access Denied" which turned out to be because the policy didn't lock the logging service down to being in the source organization.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@batzel , thank you for opening the pull request. I have assigned myself to review this. However, please expect delay in my response.


SCMOD-3144: Updated to base off opensuse-base-image

https://jira.autonomy.com/browse/SCMOD-3144

Fixed release notes

Updated release notes as requested


[WIP] Read Only view

cf. #148 / depends on: #171
Purpose
This PR is the result of my evening "hack session". The code is very hackish, but it seems to work. The idea is to demonstrate what we can do for #148. But, this PR does not cover any safe way to share Monod documents in read only.
This very first step is actually a "baby step", showing that we can display a Monod document either in an editor (current version) and in what I called a ReadOnly viewer. It uses the same Monod UUID and secret to display the document, hence it is easy to get access to the editor from the read only viewer. That is why it is not safe per se.
I need feedback!
Features

[x] Use React Router to deal with different "views"
[x] Reuse as much code as possible
[x] Make it work
[x] Make it pretty
[ ] Fix failling tests
[ ] Refactor involved components to be more reusable
[ ] Make it work better => tests ⚠

Share Modal

Read Only View

What about creating a new uuid (with the same secret) to secure the read-only mode?
On the server side:

create a symbolic link with this uuid pointing to the original data (the folder with the original uuid)
refuse POST/PUT requests to urls with this new uuid (read-only)

WDYT?

refuse POST/PUT requests to urls with this new uuid (read-only)

Looks good, but how do you know which resource is read only or not? Putting this into a subfolder?

The server path points to a symlink, we can test it: https://nodejs.org/api/fs.html#fs_class_fs_stats


Metal Slug SB stuck at loading screen.

https://github.com/Rinnegatamante/YoYo-Loader-Vita-Compatibility/issues/153


python3Packages.pyftdi: 0.53.2 -> 0.53.3

Motivation for this change
Update to latest upstream release 0.53.3
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 135486 run on x86_64-linux 1

12 packages built:

expliot
home-assistant
python38Packages.adext
python38Packages.alarmdecoder
python38Packages.pyftdi
python38Packages.pyi2cflash
python38Packages.pyspiflash
python39Packages.adext
python39Packages.alarmdecoder
python39Packages.pyftdi
python39Packages.pyi2cflash
python39Packages.pyspiflash


VS 2015 Tooling Downloads Gone?

I'm currently trying to find a download for the VS2015 Tooling for .NET Core. Since the big push to get people onto VS2017, it has been incredibly difficult to find downloads for older versions of the SDK, but it has been doable. However, the .NET VS 2015 Tooling appears to have disappeared off the face of the earth. I was only able to install it by finding a copy of the installer on my co-worker's machine.
My team is not yet ready to upgrade to VS2017 and the associated csproj formatted projects in .NET core 1.1. Please make sure that when deploying new links you don't make it impossible to find the links for older releases.

i having problem compiling my existing vs2015 project (.net core preview2) after i upgrade nuget package with latest .net core 1.1.1
Do you have same problem?

Good point. @leecow - can you add the VS 2015 tooling links to the release notes? We should also add a link to the download table on the .NET Core marketing site.
We didn't hide the links on purpose - definitely an oversight.
@xsoul - That can happen. Can you share your project.json file (say in a gist?). You can mail it to<EMAIL_ADDRESS>if it is private.

I reverted all my changes so i only have this copy of project.json which was have no problem for compiling before i upgrade to .net core 1.1.1
`{
"dependencies": {
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"Serilog.Sinks.RollingFile": "2.2.0",
"Serilog.Sinks.Literate": "2.0.0",
"Serilog": "2.1.0",
"Microsoft.AspNetCore.Authentication.Google": "1.0.0",
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
"Newtonsoft.Json": "9.0.1",
"Serilog.Extensions.Logging": "1.1.0",
"Microsoft.AspNetCore.Authentication.JwtBearer": "1.0.0",
"System.Linq.Dynamic": "1.0.7",
"NReco.PdfGenerator": "1.1.12",
"RestSharp": "105.2.3"
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
},
"frameworks": {
"net461": {
"dependencies": {
"Biota.Auth": {
"target": "project"
},
"Biota.Models": {
"target": "project"
},
"Biota.QRGenerator": {
"target": "project"
},
"Biota.Storage": {
"target": "project"
}     },
"frameworkAssemblies": {
"System.Configuration": "<IP_ADDRESS>"
}
}
},
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"publishOptions": {
"include": [
"wwwroot",
"Views",
"Areas/**/Views",
"appsettings.json",
"web.config"
]
},
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}
}
`
after upgrade, those microsoft related assemblies should be version 1.1.1, and here is my global.json
{   "projects": [ "src", "test" ],   "sdk": {     "version": "1.0.0-preview2-003121"   } }

What would be most useful is seeing the version that has an issue. I suggest you open a separate issue. This is different from the original issue.

Please ensure that supports with VS2015 is kept for a bit, please? I know of a client who just recently upgraded to 2015. Won't update to 2017 for at least 2 years as far as I know.

We'll add the link back later today and post the URL here.

Since .NET Core is mostly driven with command line tooling, can we expect VS2015 tooling to be supported for longer than previous .NET Tooling?

Hey folks, link to the Preview 2 tooling have been added to the current 1.0.4 / 1.1.1 release notes as well as the Download Archive index page. Will be updating dot.net shortly.
Sorry for unintentional omission!
/cc @preetikr

Thanks very much for updating the download archive page!

See: https://www.microsoft.com/net/download/core


C# Crash using GD.RandRange or System.Random

Godot version
3.4.4.stable
System information
macOS
Issue description
Using the random APIs makes the exported application crash.
Tested with GD.RandRange & System.Random
Steps to reproduce
Use the random APIs, Godot or .NET.
Export the project on macOS and run it.
Minimal reproduction project
CSRandom.zip
output.txt

Seems to be fixed in 3.5.beta5.
Can someone confirm?

Seems to be fixed in 4.0.beta6


Binding to document.ready event implemented without jQuery (partial of #56)

This PR'll close item "Get rid of jquery binding for 'ready' and 'load' events" from https://github.com/DevExpress/testcafe/issues/56 checklist
Wait for all qunit tests

\r-

lgtm

Wait for ASP tests on farm

All tests done. @AlexanderMoskovkin please review

ping @AlexanderMoskovkin

lgtm


Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 Traceback (most recent call last):   File "C:/Users/lcc/Desktop/Faster-RCNN-TensorFlow-Python3.5-master/demo2.py", line 141, in      raise NotImplementedError NotImplementedError

error ：
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Traceback (most recent call last):
File "C:/Users/lcc/Desktop/Faster-RCNN-TensorFlow-Python3.5-master/demo2.py", line 141, in
raise NotImplementedError
NotImplementedError

It is a warning about the fact that your CPU has additional features that the used TF was not compiled to use; it will work, but slower than it could


Tiles of sap.m.PlanningCalendar shown on two lines without any need

OpenUI5 version: Latest
Browser/version (+device/version): All
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible)
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Use sap.m.PlanningCalendar control for adding a tile for each day
Open your application on smaller screen or just resize your own screen
Observe that tiles are being rearranged in chess-like style without any need for this

What is the expected result?
The tiles to stay as they are, not on two lines
What happens instead?
Tiles on separate lines
Any other information? (attach screenshot if possible)

Hi @malkoto1
Thank you for reporting the issue.
Could you please provide a sample where this issue could be reproduced.
Perhaps a JSBin sample
I was not able to reproduce the issue with the existing sample applications.
Thank you.
Best regards,
Jay

Hi,
Thank you for the quick answer. I will need some time to provide sample.
If you are not able to reproduce it than this means that the problem is in the fact that I am also using "sap.ui.layout.DynamicSideContent". When I click on a tile it opens a SideContent. And with that the tiles are being reordered.
The actual steps to reproduce:

Open View.
Click on a tile
Side Panel is opened
Tiles being reordered.
Close Side Bar, tiles stay reordered.

I am attaching a screenshot.

Hi @malkoto1,
Thank you for the additional info. I created and attached a sample of sap.m.PlanningCalendar with sap.ui.layout.DynamicSideContent.
sample.zip
Since the sample still does not reproduce the issue, would you look at it and maybe try to adjust a bit to reproduce your case?
Thanks,
Diana

Hello @malkoto1,
Currently this is the way that this control works, because we have a minimum size of the column, so if we are under this size, we have to re-arrange the appointments, to have maximum information about them. We are considering a feature to include more options to show the appointments.


Bust up Write-GitStatus into smaller functions to make it easier for individuals to override parts of the status display

I see a number of PRs come across to change the Git status summary display for things that probably don't apply to that many folks.  And folks can today write their function to take the information from Get-GitStatus to display the Git status summary, plus any additional information in anyway they would like.  However, in many cases folks just want to tweak one area of the Git status summary info.  With this in mind, we should break up the bits and pieces of Write-GitStatus into reusable functions.
Perhaps we have Write-GitStatus call down to Write-BranchStatus, Write-GitIndexStatus, and Write-GitWorkingDirStatus.
In one PR scenario the OP wants to display any tags associated with HEAD.  In this case, the OP could create his own version of Write-BranchStatus to display tags. Then in his prompt function he could call Write-GitIndexStatus and Write-GitWorkingDirStatus to create the rest of the status summary text. This would make overriding an individual status summary section much easier.
You could make the functions even finer grained as well. Perhaps break down Write-BranchStatus into Write-BranchName and Write-BranchSyncStatus?

This is also related to #304 and https://github.com/Jaykul/PowerLine/issues/1. More modularity and customizability in how the prompt displays would be awesome. And if we do it right, it seems like an opportunity to remove a bunch of clutter from $GitPromptSettings, e.g. default might be:
function Write-GitStatus ($GitStatus) {
  Write-Prompt ' [' -ForegroundColor Yellow # No need for Before settings
  Write-GitBranchStatus $GitStatus
  Write-GitFileStatus $GitStatus
  Write-GitLocalStatus $GitStatus
  Write-Prompt ']' -ForegroundColor Yellow # No need for After settings
}

And to customize:
function Write-GitStatus ($GitStatus) {
  Write-Prompt ' {'
  Write-GitBranchStatus $GitStatus -AheadBehindDisplay Compact -GoneText ''
  # No need for EnableFileStatus; just don't call Write-GitFileStatus
  Write-GitLocalStatus -StagedText ''
  Write-GitStashStatus -Before ' (' -After '(' -ForegroundColor Red
  Write-Prompt '}'
}

This is also related to #304 and https://github.com/Jaykul/PowerLine/issues/1. More modularity and customizability in how the prompt displays would be awesome. And if we do it right, it seems like an opportunity to remove a bunch of clutter from $GitPromptSettings, e.g. default might be:
function Write-GitStatus ($GitStatus) {
  Write-Prompt ' [' -ForegroundColor Yellow # No need for Before settings
  Write-GitBranchStatus $GitStatus
  Write-GitFileStatus $GitStatus
  Write-GitLocalStatus $GitStatus
  Write-Prompt ']' -ForegroundColor Yellow # No need for After settings
}

And to customize:
function Write-GitStatus ($GitStatus) {
  Write-Prompt ' {'
  Write-GitBranchStatus $GitStatus -AheadBehindDisplay Compact -GoneText ''
  # No need for EnableFileStatus; just don't call Write-GitFileStatus
  Write-GitLocalStatus -StagedText ''
  Write-GitStashStatus -Before ' (' -After '(' -ForegroundColor Red
  Write-Prompt '}'
}

I've implemented this on branch - https://github.com/dahlbyk/posh-git/tree/rkeithhill/refactor-write-prompt  This branch is a branch off of the settings-only-update branch.


[CI] Adapter service account issues in In-cluster deployment

Description
Issues during In-cluster deployment of the adapter.
Log:
Error with istio operation: Error running istioctl command: Error: failed to install manifests: errors occurred during operation: failed to check if namespace istio-system exists: namespaces "istio-system" is forbidden: User "system:serviceaccount:meshery:meshery-adapter-istio" cannot get resource "namespaces" in API group "" in the namespace "istio-system"

Expected Behavior
Service account permissions for istioctl needs to be evaluated.
Enviroment:

OS: [e.g. Ubuntu]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]
Device: [e.g. laptop, iPhone 8]

[Optional] To Reproduce
Steps to reproduce the behavior:

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

[Optional] Additional Context
Add any other context about the problem here.

@samirparhi-dev We can track this over here.


HUD Help tour dialogue is inconsistent on HUD and Center

The HUD screen's help tour (HUD Section) should be consistent with the Center screens Help tour (HUD Section).
HUD Screen Help tour displays - "Opens HUD (heads up display) where your bookmarks are stored. Think of the HUD like the home screen on a smart phone." (INCORRECT)
Center screen Help tour displays -  "Opens HUD (heads up display) where your bookmarked apps are stored, and can easily be organized and launched. Think of the HUD as your homepage for favorite apps" ( CORRECT)
HUD Screen Help Tour (Center Section)-Opens Center where you can search for listings to bookmark to your HUD or open in Webtop.(INCORRECT)
Center Screen Help Tour (Center Section) - Opens the Center where you can search and discover app listings from across the IC. You can bookmark listings to your HUD and you can also launch apps into a seperate tab directly from the Center. ( CORRECT)
HUD Screen Help Tour (Webtop Section) - Opens Webtop, your customizable workspace within the platform. (INCORRECT)
Center Screen Hep Tour (Webtop Section) - Opens the Webtop, a virtual desktop environment. It allows you to run widgets in a single window, and save your custom workflows as dashboards.( CORRECT)

Modifications made. No pull request made yet.
Evan

Merged.


Null pointer error when trying to loop an array containing empty object

The following scenario is not working with 1.4.9
The Data used is :
{
  "data": {
    "type": "Horror",
    "title": "ABCD",
    "cast": [
      {
        "fullName": "SOMENAME",
        "role" : "Hero",
        "birthDetails": {
          "address": {},
          "date": "1990-02-14",
          "country": "ES"
        }
      },
      {
        "fullName": "SOMENAME",
        "role" : "Heroine",
        "birthDetails": {
          "address": {},
          "date": "1993-02-14",
          "country": "ES"
        }
      },
      {
        "fullName": "SOMENAME",
        "role" : "Director",
        "birthDetails": {
          "address": {
            "stree1" : "234B, LHS",
            "street2" : "knh street",
            "pincode" : "JH15 7IY"
          },
          "date": "1990-02-14",
          "country": "ES"
        }
      }
    ]
  }
}

Below is the expression used :
(
    $constructCast:= function($cast)
    {
        {
            "name" : $cast.fullName
        }
    };
 {
     "title" : "data.title",
     "cast" : $map(data.cast, $constructCast)
 }
)

This is resulting in null pointer exception when using with JSONata4Java and works fine in https://try.jsonata.org/
Expecting it to evaluate and produce result
{
  "title": "data.title",
  "cast": [
    {
      "name": "SOMENAME"
    },
    {
      "name": "SOMENAME"
    },
    {
      "name": "SOMENAME"
    }
  ]
}

Thank you for finding this. The fix is in FunctionUtils.java line 559 to add a test for the ftc.children != null as shown below:
if (flc.children != null && flc.children.size() > 0) {
I have to back out a change I'd made for the SumFunction before I check in this fix but it should be very soon.

I've checked in this change and released version 1.5.0 that also reverted some changes for SumFunction to go back to returning a Long consistently. It will show up in Maven Central in a few hours.

If you agree this problem is resolved, please close this issue.

The problem is resolved. Thanks for the fix.


event-auditor: ebpf: load and unload process events

[x] Load ebpf programs #340
[x] Maintain information of the ebpf object files for reuse (bpf programs)  in KABPFManager #340
[x] Implement ka_ea_sched_process_exec and ka_ea_sched_process_exit ebpf programs logic.

More information in https://github.com/kubearmor/KubeArmor/pull/313/commits/dd55bbc7fb3e11b38fcd7f0fc2611f52142bd90a.
Fix: #281

I put some comments in the code as changes will be necessary soon to circumvent the current obstacles.
https://github.com/kubearmor/KubeArmor/pull/313/commits/dd55bbc7fb3e11b38fcd7f0fc2611f52142bd90a#diff-43685bf2035f710b14f2b78cdc1fe62ace4933b4b3cf58d18f13d28ec61e7e25R75-R77
https://github.com/kubearmor/KubeArmor/pull/313/commits/dd55bbc7fb3e11b38fcd7f0fc2611f52142bd90a#diff-43685bf2035f710b14f2b78cdc1fe62ace4933b4b3cf58d18f13d28ec61e7e25R104-R106


Support "all" queries

Adds support for queries like all ie, all ff, and even all
Resolves #151

Thank you for the review. I have made all of the changes you requested.

Thanks @jonathantneal, looks good now. The only question is what @ai will decide regarding this feature. As he commented in corresponding issue, generally it is a bad practice to select all browsers.


Memory leak and corruption related to codefolding & deletions

This is a weird one, I can reproduce it "semi-consistently":

have FastMM in full debug mode
have Editor.CodeFolding.Visible set to False (if True, the issue does not show up)
edit BCEditor.Editor.Base.pas with Object Pascal highlighter
scroll down a bit, select multiple lines, hit delete or suppr
scroll down a bit, select multiple lines, hit delete or suppr

This is usually enough to trigger a memory corruption. If not repeat the last step.
Again this happens only if CodeFolding is not Visible.

I got this repeated easily.

Fixed, it is not necessary to update code folding caches when the code folding is not visible.


misleading warning about .ent files

Describe the issue
The warning
"Warning: /home/rgm/data/htt/Projects/Critical/drafts/rfc2629-xhtml.ent is no longer needed as the special processing of non-ASCII characters has been superseded by direct support for non-ASCII characters in RFCXML."
is completely misleading. From an XML point of view, it doesn't make any difference whether you declare an entity reference like " " for " ", or use that character literally in the source file. Both is valid, and has been valid all the time.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

What text would you suggest as less misleading?

I don't think there should be a warning at all, unless the file is included from an unsafe location.

I disagree on removing the warning entirely.  While it is true that character entities are perfectly valid, we have two clear problems here:

We have a set of people who believe that they need to include this file as some sort of secret sauce that makes xml2rfc work rather than because they understand what it is there for.  These people need to be warned that this file is not needed to make things work.
We have inadvertently trained some people to think that they must use character entities instead of directly inserting the character.  This file is particularly egregious there because it contains entities for many characters that would almost always be inserted directly, such as the accented latin characters. Because of that, we should still be warning people about the use of this file, and encouraging people to specifically pick the character entities that they want to use and declare those directly rather than rely on this file.

I would be happy if we changed the text to be clearer about these, to something like "Please note that rfc2629-xhtml.ent is not required and if you are not using character entities listed then you should not include it.  If you are using character entities, the recommended method is to declare those directly rather than include this file."

That sounds good. Maybe even include the web site link you mentioned in the mail thread.

And for those people that have carried it forward in newer drafts from old work when it was required.  For them to get with the times.
:)


Godot 4.3 audio not continuing across scenes, instead it restarts

I've followed the instructions for setting the AudioStreamPlayer on all scenes with a common bus and enabling autoplay for all AudioStreamPlayer instances. However,  the audio is restarted each time a scene loads instead of continuing across scenes.

Use AudioStreamPlayer nodes in your scenes to play background music as normal. Make sure a matching audio bus is set (Music by default), and that autoplay is set to true.

Has this plugin been tested on Godot 4.3?

Thanks for reporting the issue. Are you experiencing this issue in the editor, or with web exports?
There is currently a known bug with web exports on 4.3, and the current recommendation is to build with 4.4-dev*.
https://github.com/Maaack/Godot-Game-Template/issues/133

Re-tested the music controller in a new project, and I'm getting expected behavior. I added the bg music players to two scenes with the same song on both, and added the Music audio bus. First scene transitions to next scene after 5 seconds.
func _ready():
	await get_tree().create_timer(5).timeout
	get_tree().change_scene_to_file("res://menu.tscn")

The track continues playing for me when testing in the editor.

I was experiencing the issue in the editor. Perhaps I missed some step for configuration, as I wasn't really sure what to do based on the README. I'll link to a video where I tried to get it working so you can see the steps I took and any possible oversight.

Here's a recording of today's code session, where I tried adding the library. Link to the relevant timestamp: https://youtu.be/Qa8ALw1VLDk?t=678

Thanks for making the video and sharing it! It's really helpful for me to see where people stumble. I'm mostly scrubbing through to find relevant bits, apologies if I missed something.
I see that you eventually added the "Music" bus, which should help based on the defaults of the plugin. I will add that step to the documentation.
I'd check that the root node in ProjectMusicController.tscn (in addons/) is still set to "Music" bus.

Also that it shows up in your project's autoloads.

You could also try replacing your audio stream players with instances of the BackgroundMusicPlayer, even though those are just audio stream players with the audio bus and autoplay set.
Let me know if you are still having trouble.
Tangentially related, I think it is best-practice to include addons/ in a Godot project's .gitignore file.

Here's a zip of my test project with the plugin, too.
test-music.zip

Another place to check is the remote tab in the Scene tree view while running the project in the editor. I'd verify that the MusicController is there, and not getting removed somehow.

Yeah, this probably boils down to me being very new to Godot and needing step-by-step instructions for setting up the audio controller. I.e., not assuming any prior or tacit knowledge. :-)

Hm. I followed the instructions exactly as written in the README on an existing project. I've also verified that

the audio bus is Music,
Added the ProjectMusicController autoload
added an AudioStreamPlayer to each scene with the MP3 file configured (correct audio bus and autoplay setting)

also tried the BackgroundMusicPlayer node as a pre-configured alternative to AudioStreamPlayer

ran the game and verified the ProjectMusicController was visible under the Remote tab

For whatever reason, the track is restarting each scene. Do the audio players need to share a common Stream resource so the ProjectMusicController "knows" to continue the track?
Here's a branch with my latest experiment:
https://github.com/OutwardLightStudio/nexus/pull/37/files

I think the bug is because I am dragging and dropping the audio stream resource onto the AudioStreamPlayer Stream field.
https://github.com/user-attachments/assets/4e6f00de-b11f-49d4-bfd3-204f8502a374
When I drag and drop the resource there, the track restarts every new scene, even though it is the same track.
However, when I click the drop-down, then Quick Load, and select the resource, things work correctly!
https://github.com/user-attachments/assets/fd560ba2-3c71-4aa1-8fd0-23712469a6d5

I got emails about new messages, but I'm not seeing them here. I just wanted to be sure that this is confirmed working, and if there's any more documentation or fixes that I can add. Thanks!

Yes, I was able to get it to work. Thank you for your help and for updating the documentation :-)


moar feedback

Tried using this for the second time on another project and this time I could not get it working at first.  I got confused by the  "npx @defi-wonderland..." example.  Then I remembered to just yarn install it and use it locally with a config file and that worked 👌🏽
But I still could not figure out how to have it search through nested folders.  Here is my config.js:
module.exports = {
	include: "contracts/*.sol",
	enforceInheritdoc: "false",
};

Which works, but it ignores any folders nested in contracts.  This works for the subfolders:
module.exports = {
	include: "contracts/*/*.sol",
	enforceInheritdoc: "false",
};

But now it does not include the contracts in contracts/.
I tried the syntax shown on the readme and other combinations but it did not work:

"contracts/.sol,contracts//*.sol"
"contracts/.sol contracts//*.sol"
"contracts/.sol", "contracts//*.sol"

By the way one of the examples in the readme uses two asterisks ** but using that elicits a weird error so I think that's a mistake.
So anyways, I ran it twice with two different configs in order to get it to process all the files.
The output is still challenging because it groups Variables and Interfaces together.  I am looking forward to the ability to exclude variables, internal/private functions, and Interfaces.  Alternatively (or additionally) maybe it would be helpful if the output itself indicated what the thing is like variable, event, function etc
Here are the problems I was having with "npx @defi-wonderland...":
There might be a typo in the docs as it says:

Remember to put quotes around the glob strings when using the include and exclude options.

But the example given, does not include quotes around src after the include and the quote-enclosed strings after --exclude do not appear to be correct syntax

npx @defi-wonderland/natspec-smells --include src --exclude "src//*.sol" "(test|scripts)//*.sol"

Basically, no matter what syntax I tried,  I

Thank you for the feedback!

By the way one of the examples in the readme uses two asterisks ** but using that elicits a weird error so I think that's a mistake.

Could you show the weird error please? The double asterisk is exactly how both include and exclude should be configured to reach sub-directories.

But the example given, does not include quotes around src after the include and the quote-enclosed strings after --exclude do not appear to be correct syntax

Good catch, fixing.

When my config is:
module.exports = {
	include: "contracts/**/*.sol",
	exclude: "I*.sol",
	enforceInheritdoc: "false",
};

I get:
yarn natspec-smells
yarn run v1.22.21
$ natspec-smells
error Command failed with signal "SIGBUS".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
y

but when my config is:
module.exports = {
	include: "contracts/*/*.sol",
	exclude: "I*.sol",
	enforceInheritdoc: "false",
};

It works and behaves as expected.

Basically, no matter what syntax I tried, I

I was gonna finish that sentence, and then I got high

Do you mind sharing the repo for me to verify the idea?

sorry it's private


wip: batch challenge submissions

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Currently this PR leverages store to batch challenge progress updates, with the exception of certification projects which are submitted immediately.
We need to determine how we want to handle building the update when it's a batch update - do we want a different method from postChallenge? I'm assuming so.

Note: I've disabled CI on this pull so we can iterate over it without abusing our runners - will turn on when we're closer to an MVP.

closing for #46049


Pasting text inside terminal?

Is there any way to paste some text inside terminal from outside?

That's a good question.  It can be done with xterm.attachCustomKeyEventHandler. https://xtermjs.org/docs/api/terminal/classes/terminal/#attachcustomkeyeventhandler
I did it in some of my other projects -- you can do something almost identical for this project: https://github.com/cs01/termpair/blob/543d84af21e2892a8b6f177d1c397b88973b0e98/termpair/frontend_src/src/xtermUtils.tsx#L33.
PRs welcome!


[INFINITY-1794] Re-enabled overlay tests for strict

All overlay tests passed in CI

Can you reenable these in all the other frameworks? Or do you want to do Elastic as a trial balloon?

Confirmed with Elastic, have others branches for respective frameworks


Ignore invalid configurations when migrating legacy mirrors and credentials

Motivation:
If an exception is raised while performing a mirror migration job, it tries to roll back the migration.
https://github.com/line/centraldogma/blob/5912bf7dd52bda8c414ba1e25c9a1155f981b42d/server/src/main/java/com/linecorp/centraldogma/server/internal/mirror/MirroringMigrationService.java#L135-L139
However, the rollback also could fail if there is no migration on a project. entries may be empty which results in raising RedundantChangeException.
https://github.com/line/centraldogma/blob/5912bf7dd52bda8c414ba1e25c9a1155f981b42d/server/src/main/java/com/linecorp/centraldogma/server/internal/mirror/MirroringMigrationService.java#L266-L267
Initially, I thought it was better to stop the whole migration job immediately to make the migration status atomic if an exception was raised. However, that was a bad choice. If it fails, it remains in REPLICATION_ONLY mode, which is difficult to fix manually.
Modification:

Always recover the server status to WRITABLE even when a mirror migration job completes exceptionally.
Warn invalid mirror and credential configurations and continue to migrate the remaining projects.
Try to roll back if the new migration directory is not empty.

Result:

The server status is correctly reset to WRITABLE when a mirror migration job fails.

https://github.com/line/centraldogma/blob/c8967c93bdd883ee4041a4e24ef781a3b64c4da0/server/src/main/java/com/linecorp/centraldogma/server/internal/mirror/MirroringMigrationService.java#L414
You will fix this in a different PR?

A mirror configuration that does not have localRepo will not perform correctly. So I let the configuration be ignored from migration. The exception is caught by https://github.com/line/centraldogma/blob/65b410f017bc94a58a3a961866324281d9552e93/server/src/main/java/com/linecorp/centraldogma/server/internal/mirror/MirroringMigrationService.java#L210-L214


Adding output link to HAL returns for jobs

Coverage increased (+0.07%) to 82.149% when pulling ba4a3428dea0bc372d7f3f51a4fbd8e2d03fe1d6 on tgianos:develop into db441ab39c8f3ec06ec705b16194ff56b4000b21 on Netflix:develop.


can't compile with strict C99 flags

There seems to be issues with anonymous unions and also with casting function pointers to void*
here are the flags I use
CFLAGS:= -Wfatal-errors -pedantic -Wall -Wextra -Werror -std=c99

While this might seem over fussy, its saved me countless hours of debugging frustration!

It seems to be the same problem as in another expression parser:
https://github.com/codeplea/tinyexpr/pull/47


Feature/523126 dev switch registry and generate new image for ltsc2022 windows version

It was a test PR


chore(deps): upgrade jenkins-x/jx3-pipeline-catalog to version 3.10.69

from: https://github.com/jenkins-x/jx

/retest