Protocol message end-group tag did not match expected tag.

Hi my name is Nicola I am an engineer at Infield Design working on OPS tasks involved with AEM. I'm currently trying to setup your Grabbit tool but I've stumbled on an error that I can't seem to resolve. I am trying to sync up content between a dev server and a local instance. Any help would very appreciated. Here is what I get in my error.log when I execute grabbit:
01.05.2015 08:16:31.381 WARN [0:0:0:0:0:0:0:1 [1430493391379] PUT /grabbit/job HTTP/1.1] com.twcable.grabbit.resources.GrabbitResourceProvider Unable to find resource for path: /grabbit.
01.05.2015 08:16:31.381 WARN [0:0:0:0:0:0:0:1 [1430493391379] PUT /grabbit/job HTTP/1.1] com.twcable.grabbit.GrabbitConfiguration Input doesn't contain deltaContent for a boolean value. Will default to false
01.05.2015 08:16:31.381 INFO [0:0:0:0:0:0:0:1 [1430493391379] PUT /grabbit/job HTTP/1.1] org.springframework.batch.core.launch.support.SimpleJobOperator Checking status of job with name=clientJob
01.05.2015 08:16:31.672 INFO [0:0:0:0:0:0:0:1 [1430493391379] PUT /grabbit/job HTTP/1.1] org.springframework.batch.core.launch.support.SimpleJobOperator Attempting to launch job with name=clientJob and parameters=timestamp=1430493391381,path=/content/plex/en_us,host=IPForServer,port=4502,username=usernameForServer,password=passwordForServer,workflowConfigIds=
01.05.2015 08:16:31.741 INFO [0:0:0:0:0:0:0:1 [1430493391379] PUT /grabbit/job HTTP/1.1] com.twcable.grabbit.servlets.GrabbitServlet Jobs started : [7697877024238993081]
01.05.2015 08:16:31.741 INFO [clientJobLauncherTaskExecutor-6] org.springframework.batch.core.launch.support.SimpleJobLauncher Job: [FlowJob: [name=clientJob]] launched with the following parameters: [{workflowConfigIds=, port=4502, password=passwordForServer, host=IPForServer, timestamp=1430493391381, path=/content/plex/en_us, username=usernameForServer}]
01.05.2015 08:16:33.564 INFO [clientJobLauncherTaskExecutor-6] org.springframework.batch.core.job.SimpleStepHandler Executing step: [clientPreprocessor]
01.05.2015 08:16:33.577 ERROR [clientJobLauncherTaskExecutor-6] org.springframework.batch.core.step.AbstractStep Encountered an error executing step clientPreprocessor in job clientJob
com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
at com.google.protobuf.InvalidProtocolBufferException.invalidEndTag(InvalidProtocolBufferException.java:73)
at com.google.protobuf.CodedInputStream.checkLastTagWas(CodedInputStream.java:124)
at com.google.protobuf.AbstractMessageLite$Builder.mergeFrom(AbstractMessageLite.java:213)
at com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:746)
at com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:238)
at com.google.protobuf.AbstractMessageLite$Builder.mergeDelimitedFrom(AbstractMessageLite.java:282)
at com.google.protobuf.AbstractMessage$Builder.mergeDelimitedFrom(AbstractMessage.java:760)
at com.google.protobuf.AbstractMessageLite$Builder.mergeDelimitedFrom(AbstractMessageLite.java:288)
at com.google.protobuf.AbstractMessage$Builder.mergeDelimitedFrom(AbstractMessage.java:752)
at com.twcable.grabbit.proto.PreProcessorProtos$Preprocessors.parseDelimitedFrom(PreProcessorProtos.java:149)
at com.twcable.grabbit.client.batch.steps.preprocessor.PreprocessTasklet.execute(PreprocessTasklet.groovy:53)
at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:395)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:267)
at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:77)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:253)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:195)
at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:141)
at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:151)
at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:130)
at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:135)
at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:301)
at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:134)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
01.05.2015 08:16:33.617 INFO [clientJobLauncherTaskExecutor-6] org.springframework.batch.core.launch.support.SimpleJobLauncher Job: [FlowJob: [name=clientJob]] completed with the following parameters: [{workflowConfigIds=, port=4502, password=passwordForServer, host=IPForServer, timestamp=1430493391381, path=/content/plex/en_us, username=usernameForServer}] and the following status: [FAILED]

Hey Nicola,
Thanks. Have a follow up question, were there any exceptions on the Grabbit Server, and if so, could you provide log information for that too?  (what you have here is the Grabbit Client logs) This kind of error happens when there is an exception on the Grabbit Server when marshaling the data using Protocol Buffers.
Also, from the exception on the client, it looks like it failed in the Preprocess step. This step synchronizes the Namespaces between Server and Client.

Hey sagarsane,
Thanks for the help, I went on the server and found this:
04.05.2015 14:16:21.942 INFO [qtp661746363-23743] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
04.05.2015 14:16:22.020 INFO [IP [1430766982017] GET /grabbit/job HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /grabbit/job not found
04.05.2015 14:16:22.152 WARN [IP [1430766982017] GET /grabbit/job HTTP/1.1] com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl StarResource given at /content/plex/en_us/errors/500/jcr:content/headerIparsys/: no parent: no LiveCopy
04.05.2015 14:16:22.196 WARN [IP [1430766982017] GET /grabbit/job HTTP/1.1] com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl StarResource given at /content/plex/en_us/errors/500/jcr:content/calloutIparsys/: no parent: no LiveCopy
04.05.2015 14:16:22.226 WARN [IP [1430766982017] GET /grabbit/job HTTP/1.1] com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl StarResource given at /content/plex/en_us/errors/500/jcr:content/footerIparsys/*: no parent: no LiveCopy
Curiously enough it is not letting me authenticate with AEM even though I have the correct credentials. I just remembered that the git Readme indicates support for AEM 5.6.1 I'm running on AEM 6.0 Service Pack 2. Do you think that is what is blocking me ? Any other thoughts ?

Hey @nabello, yes trying to run on AEM 6.0 may be part of the problem.
But just to make sure, can you let me know whether /system/console/bundles on both Grabbit Client and Grabbit Server have all the bundles Active? (Including the Grabbit bundle?)
Also, at least if the Grabbit bundle is not Active, can you let me know what dependencies is it not able to resolve?

Hey @sagarsane, sorry for all the fuss, I just realized that I hadn't installed the bundle on the server. After install work great on AEM 6.0 SP2.
Thanks again for all the help.
Nicola

Added #30 to make the error message(s) clearer.

No problem @nabello glad it worked.


TaskManager.execute now respects the task order it was queued up in

As per title TaskManager.execute results will now be retrieved in the same order that the tasks were queued up in, instead of being returned in random order based on which task completes first.
Related to #7 , assuming .execute being out of order was in fact not expected behaviour.

Codecov Report

Merging #8 (4e18f8e) into main (fb67eb0) will decrease coverage by 0.14%.
The diff coverage is 92.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   90.16%   90.03%   -0.14%
==========================================
  Files           3        3
  Lines         305      321      +16
  Branches       52       55       +3
==========================================
+ Hits          275      289      +14
- Misses         21       22       +1
- Partials        9       10       +1

Flag
Coverage Δ

pytest
90.03% <92.00%> (-0.14%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

tests/test_basics.py
82.24% <83.33%> (-0.05%)
:arrow_down:

mplite/__init__.py
89.60% <100.00%> (+0.43%)
:arrow_up:

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


[C++] CppCheck conflicts with clangd

I opened a C++ source file. The report is from CppCheck, but mouse hovering gets the result from clangd.

I realized that it's not that CppCheck is conflicting with clangd. But I don't want to have the editor running the linter automatically when I open the C++ source file. How can I customize it?

Disable the linter for that particular language, you need to go to the Plugins Manager -> select the Linter plugin, "Preferences" and add "cpp" to "disable_languages", this is my config for example (I also disable cppcheck because it's stupid slow for my projects):
{
  "config": {
    "delay_time": "500ms",
    "disable_languages": [
      "cpp"
    ],
    "disable_lsp_languages": [
      "lua"
    ],
    "enable_error_lens": true,
    "enable_lsp_diagnostics": true,
    "goto_ignore_warnings": true
  },
  "keybindings": {
    "linter-go-to-next-error": "mod+shift+n",
    "linter-go-to-previous-error": "mod+shift+alt+n"
  },
  "linters": []
}

This will disable the linter completely. I want to be able to run the linter, but not automatically when I open the C++ source file. Please give me more control.

Is there any editor allowing to do that? I would like to see how they solve the UI/UX. I find it very bad UX given that text buffer can be modified anytime.


Bounds error generating encoding circuits with LDPC codes

When trying to generate encoding circuits for some LDPC codes, I'm getting a bounds error:
Below is me trying this with three different codes:

I don't think the problem is with how I'm constructing the tableaux, but for thoroughness, here is my personal function stab_from_cxcz()

Could you upload the two npz files from the first two lines of the REPL screenshot?
It seems there is a problem with this line https://github.com/QuantumSavory/QuantumClifford.jl/blob/55fc8765a0ac0595768bcda47d3621b9edb28e20/src/ecc/circuits.jl#L53

Actually, this happens almost certainly due to redundant rows in the parity check matrix you are using. Presumably, there are 300 parity checks. However, probably only 296 of them are actually independent. That does not matter too much for the syndrome measurement circuit -- we happen to perform 4 redundant measurements, big deal. But it would matter to the encoding circuit. To verify that this is indeed the case, check what the rank(MixedDestabilizer(stab)) is. Probably it is smaller than length(stab). So, just for the encoding circuit (not for the syndrome measurement circuits) try the following modification stab = stabilizerview(MixedDestabilizer(stab)). I think that would be enough to fix the issue

MixedDestabilizer basically does the Gaussian elimination necessary to remove redundant rows:
julia> S"XXX ZZI IZZ ZIZ" |> MixedDestabilizer |> stabilizerview
+ XXX
+ ZZ_
+ Z_Z

this seems to be separate issue (I reported it just now in https://github.com/QuantumSavory/QuantumClifford.jl/issues/191)
As a temporary workaround just do reduced_checks = copy(reduced_checks) # in order to collect the array so it is not a view into another array

I think it's working now, but the logical error versus physical error plots for LDPC codes look terrible with my way of decoding. I think this is probably due to the lookup table only working with single qubit errors, but no that the number of qubits is around 300, that almost never is going to happen. I guess it's time to talk to Krishna about us combining our work?

Yup, this is almost certainly due to the lookup table decoder. I messaged on zulip about it.
I will change the name of this issue to track more carefully the particular bug that was initially reported.

All we need to do here is to double check that we do not have over-determined system. Basically check length(parity_checks) (i.e. code_c = code_n - code_k) versus the rank of the MixedDestabilizer that is already constructed. If they match everything is fine, and if they do not, raise an error with a clear descriptive message (instead of the current indexing error).
S"IZZ ZZI ZIZ" can be used when adding tests.


Public static field

https://sonarcloud.io/project/issues?id=Cinimex-Informatica_mq-java-exporter&open=AWlSW91Je1QvbR9zifN4&resolved=false&types=VULNERABILITY

https://sonarcloud.io/project/issues?id=Cinimex-Informatica_mq-java-exporter&open=AWlSW91Je1QvbR9zifN7&resolved=false&types=VULNERABILITY

that one will be fixed, if you fix main problem
https://sonarcloud.io/project/issues?id=Cinimex-Informatica_mq-java-exporter&open=AWlSW91Je1QvbR9zifN8&resolved=false&types=VULNERABILITY


Force video urls to use mp4

NZSL has recently begun receiving recorded videos in webm format from their supplier. Unfortunately, iOS does not natively support webm. As a temporary but possibly permanent workaround, NZSL dictionary staff have agreed to transcode webm videos to mp4 and place them in the same folder structure as the webm files.
This change to the script replaces any video filename with webm with mp4 which can be played in Android and iOS.

All awesome. Can you merge? If not i'll check and get you permissions.


Add .set_some_parameter(new_parameter) methods for OpticalSystem

I have been thinking and have come to the conclusion that we would best be served implementing setter methods for OpticalSystem in order to be able to modify parameters such a positions, fluxes, dithers etc in a safe manner. These would both update the parameters and ensure that inputs are formatted correctly via a series of assert conditions. Ie if you want to update positions to model more stars, this method would allow you to do so, also ensuring that you update the fluxes parameters to prevent code breaking later. This should remove the need to ever modify parameters not in OpticalSystem.layers via the eqx.tree_at() syntax, which i think is generally a good thing.
This could also help guide the development of Source and Scene #65 , as we discussed creating a more abstract BaseOpticalSystem class from which more specific parameterisations can be built in conjunction with Scene. These could also be useful in Scene as a safe way to interact with the OpticalSystem objects.

Saw you self assigned this @Jordan-Dennis - Just letting you know I think this is a low-priority for now, only worth tackling after we have figured out the new OpticaSystem structure

Completed with the addition of the .set() methods


Canvas coordinate system and zoom-in. POC

The POC is available under http://localhost:5173/demo. The only thing you have to do beforehand is to insert an initial map into the database with:
INSERT INTO map (detail)
VALUES ('{
  "stage": {
    "layers": [
      {
        "objects": [
          {
            "id": "0",
            "type": "rect",
            "x": 20,
            "y": 20,
            "width": 50,
            "height": 50,
            "fill": "black"
          },
          {
            "id": "1",
            "type": "circle",
            "x": 100,
            "y": 100,
            "fill": "black",
            "radius": 25
          },
          {
            "id": "2",
            "type": "rect",
            "fill": "red",
            "x": 120,
            "y": 120,
            "width": 50,
            "height": 50
          }
        ]
      }
    ]
  }
}');

Basics

[ ] Details of what you changed are in commit messages
(first line should have module: short statement syntax)
[ ] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.
[ ] The PR is rebased with current master.

Checklist

[ ] I added unit tests for my code
[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed all affected decisions
[ ] I added code comments, logging, and assertions as appropriate
[ ] I mentioned every code not directly written by me in reuse syntax

Review

[ ] Documentation is conforming to our Documentation Guidelines
[ ] Examples are well chosen and understandable
[ ] Code is conforming to our Coding Guidelines
[ ] Code is consistent to our Design Decisions

Is this already something I can take a look at?


Mouse Support?

Hi!
Is there going to be mouse support again in Karabiner? I know it has been asked before (by me, actually), but i would really love to know if there is any plan to implement it again or we will never be available to remap the mouse buttons (in my case is very very important).
Thanks in advance!

I'd also love this. I use the side buttons on my mouse as ctrl/alt and I'd love to have that functionality back, as it makes a lot of things I do much easier. Thank you!

What i'm asking is only the devs to answer if this is going to be available again, not to put pressure, just to know.

I am also begging for this! The ONLY reason I installed Karabiner was to add extra functionality to my mouse (otherwise the buttons are simply non-functional). Karabiner-Elements was supposed to be a short term fix until Karabiner was ported to the new OS, but it seems like Karabiner is dead, leaving only Karabiner-Elements. If there's no plans to support extra mouse buttons, are there ANY other applications that work to use the extra mouse buttons on a Windows mouse?

I use SteerMouse. Only ever used Karabiner for Keyboard.

Mouse support +1, I want to map a key of the keyboard to the mouse click :)

stevefoxon i just downloaded steer mouse and it patchs perfectly the issues in karabiner, thanks a lot!

+1

Sigh, I really don't want to spend $20 just to remap a mouse key. :(
Any update? Bueller?

There's a major security issue with SteerMouse so I was not allowed to use it on my work machine. (So you all using it better be careful). Karabiner however is open source and for such a software that's so equivalent to being a key-logger, it is essential to see the source and modify it however we wish.
Anyhow, having mouse key support would be a very great addiction.

I had a problem with my keyboard and had to disable the left shift key, yet everytime I click it seems as if the shift key was down.
Is there a way to disable such behavior with Karabiner?

I'd also love to see support for mapping a key to a mouse click. Right now as a workaround I've enabled "mouse keys" in the accessibility pane of system preferences ( allows you to use the numpad to move the mouse and click ) - even though I don't have a numpad I've remapped a key to keypad_5 ( click ) and at least for right now this seems to give me what I need.

@clarkewd's solution is OK but dragging doesn't work.
To implement this in the meantime I wrote Clicker, a little app with no user interface that translates presses/releases of a key to presses/releases of the left mouse button.
I've tested it for two months on OS X 10.11 and macOS 10.12, and it works flawlessly, even for complex mouse dragging operations.
The only downside is that it doesn't work when a password field is focused (a security limitation of the Event Tap library).
Note that this doesn't translate mouse button presses to key presses or actions (even though one could make it work based on similar code).
Feel free to use it and modify it until Karabiner-Elements supports keyboard key to mouse button mapping.

@oin - excellent work. seems to work much better than mouse keys, especially for dragging. thank you

@AquiGorka did you fix that issue? having the same problem now

Hey @rattes412, nope, never did. Had to learn to work without the mouse (which is not that bad and I do have another computer when it gets too annoying).
I did try with an external usb mouse and the problem persisted so I'm guessing it is something more complicated.

Would really love to see mouse support. Especially scrolling using D+S/F and HJKL keys. I literally would never had to take my hands off the keyboard. (Drawing/Art might be the only exception)

This worked for me:
                        "from": {
                            "key_code": "insert"
                        },
                        "to": {
                            "pointing_button": "button1"
                        }

What does the new configuration do @incandescentman?

Ditto what AquiGorka asked: Can @incandescentman explain more what abilities you get by configuring pointing_button ?  Some of us watching this thread are desparately looking for the equivalient of Karabiner's MouseKeys 2 Mode, although I know the OP was only asking about adding single key mapping.
Thanks!


Release v4.18?

It would be useful to have a new stable release. In particular, I found a problem compiling with C++17 enabled, and found that the issue was already solved in #31 which is not included yet in any release.

Last release was in 2013 (!!)

Completely agree. I have little spare time for programming these days. Last year I started adding a proper test harness using gtest but got held back when trying to get travis-ci integration going for Linux/Windows. I still would like to get this test harness running properly before releasing a full version.

Please also add proper install target so that it would be possible to have it installed.

New release coming soon. No point having an install target. It is a single header file.

Hi @brofield I think the reason for adding a install target is to ease dependency managers.

I'm not sure exactly what you are wanting. Feel free to submit a pull request.


Remove unused token_revoke_url kwarg; add Developer Token support

Remove unused token_revoke_url kwarg
Add Developer Token support #125
Refactor/cleanup refresh() method

Moving to merge without peer review as feature is needed to enable partner quickstart.


Use ftruncate instead of lseek

A less hacky and portable way of file allocation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 5 (60.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 82.313%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

spine/AgentInterface.cpp
3
5
60.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
1331

Relevant Lines:
1617

💛  - Coveralls


Support Java annotations for exported classes and methods

Idris 1 JVM backend had some support for annotations but at this point, since the focus is on Idris 2, we will revisit this for an Idris 2 stable release later. Closing this for now.


Updating smtp check in loans migrator and bumping codecov action version

Closes #500
This adds a check for either the lack of any /smtp-configuration records OR the presence of the string "disabled" in the index 0 SMTP configuration's host parameter in Nolana or newer system. If present, SMTP is considered disabled by the system and the the LoansMigrator task will continue without pausing for 10 seconds.

Note: this will only work properly if the SMTP configuration is disabled via removing the smtp configuration altogether OR adding "disabled" to the smtp host address string.

@banerjek @kevinpowell1 I'm going to go ahead and merge this. It worked well in my testing with a recent loans migration.


Gather feedback from p2370 authors

e.g. on catch(...) / throw;.

Notes from the BSI for communicating to the authors of p2370:

There is significant disquiet in the BSI in relation to the current proposes stacktrace mechanism, this proposal goes some way to addressing this


Adding some emojis to popular #tags

Some eyecandy maybe. Adding the respective emoji to popular #tags (inspired by amethyst)
examples ...
#tunestr :musical_note:
#pizzastr :pizza:
#catstr :cat2:
#dogstr :dog2:
#weedstr :herb:
#Bitcoin #BTC ₿
#zap #zapathon :zap:

seems like a cool idea. do you know what emojis other clients are using? if there is a simple list of hashtag -> emoji then it should be super easy for me to add

amethyst is here
app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt
https://github.com/vitorpamplona/amethyst/blob/afc6a91c6b370e6ac9e4d596edec708b53992aa5/app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt#L22

down right now - https://nostr.band/?trending=hashtags
but gonna check later for other "big/popular/everyday" tags

I'll pay 1000 sats for a coffechain icon/emoji @hzrd149 or whoever implements this


Created  Message Textarea Rounded Black

Solved issue no #2006 which was to create a Message Textarea Rounded Black.
here is the image of final component

@animesh156 Please make the textbox responsive and change the text color to white on typing, Make the text to start from top left corner and not from the center


Missing WATERS field names in certain errors

Describe the bug
A clear and concise description of what feature is not working.
Impact
Please describe the impact this bug is causing to your program or organization.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, please attach logs to help describe your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Closing.  No waters work ongoing at this time.


IntelliJ stuck on "Build" when running programs after plugin download

Short description
After downloading the plugin, IntelliJ gets stuck on "build" when running any program, even a "HelloWorld" program. The bottom of the screen shows "1 process running...", and "Build" shows in the "Background Tasks" popup, with a full blue progress bar, but never exits.
Version information

IDEA Version:  2018.1.3
JDK Version:  Java™ SE Development Kit 8, Update 171 (JDK 8u171)
OS Type & Version: _Are you on Mac/Windows/Linux? macOS High Sierra Version 10.13.3
Lombok Plugin Version:  0.17-2018.1

Note, I have also tried with IntelliJ version 2017.3.5 and Lombok version v0.16-2017.3.3 with the same results.
Steps to reproduce

Download IntelliJ
Run HelloWorld program; it works
Download lombok-intellij-plugin
Run HelloWorld program; it gets stuck on build
Uninstall lombok-intellij-plugin
Run HelloWorld program; it still gets stuck on build

I think it something wrong with your environment. If your issue still present after your uninstall the plugin, it has nothing to do with it.

Even I am facing similar issues!🥲


Feature request: Convert nested dictionaries to JSON string

Hi,
couldn't find anything on the web to help me with that task and it seems like your tool might have a good base for that kind of conversion.
Kind regards

Nevermind, already works with this tool. Nested dictionaries -> json string is a quite strong feature in my opinion. You might want to advertise it in the readme directly


Added the "kotlinAllFieldsOptional" option

When the kotlinAllFieldsOptional setting is set to true, it generates nullable fields in Kotlin even when a field is defined non-Nullable in the schema.
The use of non-nullable in schemas is very opinionated, and depending on its use one setting might work better than the other on the Kotlin side.
Also see this discussion: https://github.com/Netflix/dgs-framework/discussions/79

@marceloverdijk This is related to the discussion you started.

To better describe the feature. If we generate code for the following schema:
type Show {
    id: Int!
    title: String!
    releaseYear: Int
    reviews: [Review]
    artwork: [Image]
}

Without the setting, so the original behavior, we would get the following:
public data class Show(
  @JsonProperty("id")
  public val id: Int,
  @JsonProperty("title")
  public val title: String,
  @JsonProperty("releaseYear")
  public val releaseYear: Int? = null,
  @JsonProperty("reviews")
  public val reviews: List<Review?>? = null,
  @JsonProperty("artwork")
  public val artwork: List<Image?>? = null
) {
  public companion object
}

Notice that the id and title fields are non-nullable.
With the new setting enabled the fields become nullable:
public data class Show(
  @JsonProperty("id")
  public val id: Int? = null,
  @JsonProperty("title")
  public val title: String? = null,
  @JsonProperty("releaseYear")
  public val releaseYear: Int? = null,
  @JsonProperty("reviews")
  public val reviews: List<Review?>? = null,
  @JsonProperty("artwork")
  public val artwork: List<Image?>? = null
) {
  public companion object
}


user field not getting populated

I'm using this to authenticate users to my app.
I use it with default options
// Register our authentication plugin
app.configure(authentication());
When I send a successfull local authentication with email and password it is able to authenticate the user and sends a JWT back to the client.  I'm using local storage option to store the JWT.  This is all done over socketio, I don't use rest at all.
I can see in my before hooks for a find in my service that the token is present at hooks.params.token, so far so good.  I need to get the user details in my hook and pass some parts down to the query.  I can't for the life of me get it to populate the user field to populate the userid into the query.
app.service('track').before({
find: [authentication.hooks.populateUser(),
authentication.hooks.queryWithUserId(),
function (hooks) {
console.log(hooks.params.token);
return hooks;
}]
});
What am I missing / what do I need to do to get the userid / details of an authenticated user over the socketio connection?

This has been fixed in #109. which is landing soon! :smile:

Closed in v0.6.0 by https://github.com/feathersjs/feathers-authentication/pull/109.


2x2 axis labels sometimes collide

this is in the PRISM2 ICEMR Cohort study

This seems to have been fixed, I'm closing the ticket


Added template function 'asciidocify'

In order to use AsciiDoc in shortcodes and other template places, I have added 'asciidocify' as a new template function similar to 'markdownify'

This has been discussed before, see my comments in this thread: https://github.com/gohugoio/hugo/pull/2387
I appreciate the effort, but we're not adding this now.


How to restart EOS private chain? (when all BPs are lost)

I created an EOS private chain with 3 BPs, which in turn generated blocks. Due to unexpected reasons, all three BPs have stopped running. Is there any way to restart this EOS private chain? (Keep all block data that has been generated)

Yes.  On one of the BP nodes, while retaining data and config-dir flags, start with the -e flag.  It may be necessary to start specifically the node running the producer which is supposed to take the current slot.  The shotgun approach is to start every node with the addition of -e, then restart them one by one without it once the network is synched again.
If the unexpected reasons resulted in unclean shutdowns, also include --replay-blockchain.  Depending on the length of your chain, this may take some time.  If --replay-blockchain fails, use --hard-replay-blockchain.  This will make move your old block log out of the way and attempt to build a new one using the old one as a starting point.  Be aware you'll need the disk space to store 6 copies of your chain for this to work.
There is a defect where stubborn producers will not take their turns as expected, even with -e.  We've seen this work itself out simply by waiting 15-20 minutes.  Investigations into a permanent fix are ongoing.

Thank  you @jgiszczak

@lpx1988 Do you have any blog where you have explained the private chain creation process step by step? If not please mail me on<EMAIL_ADDRESS>


[BUG] typer 0.12.3 seems to work despite the requirements for a typer <0.10

not having the most up to date typer package has a conflict with  some other packages that I use.  Not sure how important the <0.10  requirement is (which installs 0.9.4)
seems to work just fine on my system for the functionality of  busylight on and rainbow.
Thanks.

Thanks for the prod, I've updated the dependencies in pyproject to accept the latest version of typer.  Let me know if that fixes the problem you ran into.

Of course I found some other deps that were out of date,  just published version 0.30.0 with the updated dependencies.


Simplify flow type distribution

In this diff I replaced flow-copy-source with much more simple and less
verbose way to distribute flow types.
I suggest to reuse flow types which already exist in src folder by
reexporting them.
This also requires to publish src.

What's wrong with the current approach?

It requires unnecessary tool and produces a lot of unnecessary files, which can be reused instead of duplication.

Yes but with the current method we avoid to ship tests and other unused stuff to npm. Also, it's quite common to ship the .flow.js files near the .js files, your approach is way less common.

Also forgot to mention. Currently flow are placed in es folder where they are absolutely useless. Developers usually import from react-popper not react-popper/lib/es.

If you import from react-popper and your bundler supports ES modules it should read them from lib/es, isn't that the case?

@FezVrasta .js.flow files are not bundler. They are consumed by flow. Flow don't care about module field.

Ok so we can simply change flow-copy-source to copy to cjs instead of es, but I'd keep it.

My way to distribute flow types is like bundling, only one file is placed in dist.

I prefer the current approach, really.
About bundles, I don't think there's need to generate them, anyway nobody is going to be able to use them in the browser directly.

Take a look it's quite common.
https://github.com/renatorib/react-powerplug/blob/master/package.json#L15
https://github.com/souporserious/react-measure/blob/rewrite/package.json#L13
https://github.com/atlassian/react-beautiful-dnd/blob/master/package.json#L37
UMD bundle can be used directly.

In any case, that would be an additional dist target, the ones we have should stay as they are.

I fixed the flow-copy-source command in #154.
If you'd like to add an UMD build please open a new PR, thanks!


Verbs in LRTS

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/25

Separate verbs from NET and port it to LRTS.

Original author: Nikhil Jain
Original date: 2013-11-08 08:08:22

All bugs are fixed. NAMD is tested. Autobuild is happy. Rest needs testing.


link error while build my ndk code

hi, there, firstly, I should say thanks so much that you scripts is so useful for me, i want to build the webrtc into arm version shared library, as you know, the libjingle_peerconnection_so.so  has been sucessfully built, but when I build my code, some link errors occured, error info as follow:
/home/im/im-webrtc/im-webrtc/jni/../peerconnection_client.cpp:34: error: undefined reference to 'rtc::Thread::Current()'
/home/im/im-webrtc/im-webrtc/jni/../peerconnection_client.cpp:36: error: undefined reference to 'rtc::SocketAddress::ipaddr() const'
/home/im/im-webrtc/im-webrtc/jni/../peerconnection_client.cpp:39: error: undefined reference to 'rtc::SocketAddress::SetIP(std::string const&)'
/home/im/im-webrtc/im-webrtc/jni/../peerconnection_client.cpp:40: error: undefined reference to 'rtc::SocketAddress::SetPort(int)'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:130: error: undefined reference to 'webrtc::CreateSessionDescription(std::string const&, std::string const&, webrtc::SdpParseError*)'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:143: error: undefined reference to 'webrtc::SessionDescriptionInterface::kOffer'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:167: error: undefined reference to 'webrtc::CreateIceCandidate(std::string const&, int, std::string const&, webrtc::SdpParseError*)'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:334: error: undefined reference to 'cricket::DeviceManagerFactory::Create()'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:283: error: undefined reference to 'webrtc::MediaConstraintsInterface::kEnableDtlsSrtp'
/home/im/im-webrtc/im-webrtc/jni/../callback_impl.cpp:245: error: undefined reference to 'webrtc::CreatePeerConnectionFactory()'

another problem is that, how can i build the webrtc to static library?

Are you sure you're building the library to the same architecture as your application? Regarding static library, all the files are there as part of the build process. Search for all .a files

yes, I am sure the architecture is the same, both are armeabi-v7a, I link the libjingle_peerconnection_so.so to my ndk code. and the compiler's path is webrtc_android/src/third_party/android_tools/ndk/ndk-build
part of the function unlinked is libjingle_peerconnection.a 's content. while i try to link the libjingle_peerconnection.a, another new link problems occured as fellow:
error: cannot open /home/im/im-webrtc/im-webrtc/jni/app/webrtc/libjingle_peerconnection.mediaconstraintsinterface.o
I can find all the .a file, but i don't know how to merge them to a static file under ubuntu. I try to use the command ar -x *.a , buf it failed.
anyone can help? thanks so much.

@xiaopeifeng have you solved this issue? I have the same issue linking with libjingle_peerconnection but in this case with OSx application.


extract user urls from profile description text in all silos

we currently only do this for twitter, but we should do it for the rest too...maybe?
the concrete use case here is FB pages. for FB users, the profile web site field is a textarea that lets you enter multiple URLs separated by spaces or newlines. for FB pages, you can only enter a single URL. specifically, for http://facebook.com/indiewebcamp that's obviously http://indiewebcamp.com/, but we also want to include https://kylewm.com/ since indie events are posted there.
current status of each silo, checked if we think we're doing enough:

[x] twitter: profile website field (single) and text description (#322)
[ ] facebook users: profile website field (multiple)
[ ] facebook pages (#41): profile website field (single)
[x] google+ users: profile link fields (multiple)
[ ] instagram: profile website field (single)
[ ] flickr: ? (ask @kylewm?)

cc @tantek @kevinmarks @kylewm who know more about silo patterns and expected behavior than me, especially whether this would be appropriate.

screenshot of G+'s Contributor to section, which i think we don't currently pull from but should:

scratch that, we actually are pulling from the contributor section. the api unifies them all in the urls field.


Watch "Adobe Express" on YouTube

https://youtube.com/c/AdobeExpress

This azure-docs repository deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions, etc.) so if issue is intended to update / correct / enhance anything in an Azure document then please share Azure document link / URL and share the feedback related to it.

Please provide us with the link to the documentation you are referring to so we can better assist. Thanks :)


SAVEPOINT Error on migration

Describe the bug
When running migrate on v6 the changes in the migration get made to the database, but the migration errors out in the terminal with the following:
MigrationError: Migration Migration20240114220255 (up) failed: Original error: RELEASE SAVEPOINT trx3; - SAVEPOINT does not exist: RELEASE SAVEPOINT trx3

I've been using MikroOrm for a while now, albiet with Postgres until recently.  Not sure if some of this is a new v6 Migrator related or database type (Mysql on Planetscale) related.
Looked into mysql2 / knex issues first.  I'm guessing since the updates get executed on the database and doesn't revert, it's maybe related to snapshotting / tracking migrations run on the database.  Would also make sense, since another issue I'm running into since the v6 + mysql switch is that when migrating it tries to run migrations that have already been run on the database and thus errors out.
Let me know what else I can provide.

{   "namespaces": [],   "tables": [     {       "columns": {         "shop": {           "name": "shop",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "is_active": {           "name": "is_active",           "type": "tinyint(1)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "default": "false",           "mappedType": "boolean"         }       },       "name": "shop",       "indexes": [         {           "keyName": "PRIMARY",           "columnNames": [             "shop"           ],           "composite": false,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {},       "nativeEnums": {}     },     {       "columns": {         "id": {           "name": "id",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "content": {           "name": "content",           "type": "varchar(3000)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "length": 3000,           "default": "''",           "mappedType": "string"         },         "shop_shop": {           "name": "shop_shop",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "created_at": {           "name": "created_at",           "type": "datetime",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "length": 0,           "mappedType": "datetime"         },         "updated_at": {           "name": "updated_at",           "type": "datetime",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "length": 0,           "mappedType": "datetime"         }       },       "name": "session",       "indexes": [         {           "columnNames": [             "shop_shop"           ],           "composite": false,           "keyName": "session_shop_shop_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "keyName": "PRIMARY",           "columnNames": [             "id"           ],           "composite": false,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {         "session_shop_shop_foreign": {           "constraintName": "session_shop_shop_foreign",           "columnNames": [             "shop_shop"           ],           "localTableName": "session",           "referencedColumnNames": [             "shop"           ],           "referencedTableName": "shop",           "updateRule": "cascade"         }       },       "nativeEnums": {}     },     {       "columns": {         "id": {           "name": "id",           "type": "int",           "unsigned": true,           "autoincrement": true,           "primary": true,           "nullable": false,           "mappedType": "integer"         },         "customer_email": {           "name": "customer_email",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "name": {           "name": "name",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "shop_shop": {           "name": "shop_shop",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         }       },       "name": "wishlist",       "indexes": [         {           "columnNames": [             "shop_shop"           ],           "composite": false,           "keyName": "wishlist_shop_shop_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "keyName": "PRIMARY",           "columnNames": [             "id"           ],           "composite": false,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {         "wishlist_shop_shop_foreign": {           "constraintName": "wishlist_shop_shop_foreign",           "columnNames": [             "shop_shop"           ],           "localTableName": "wishlist",           "referencedColumnNames": [             "shop"           ],           "referencedTableName": "shop",           "updateRule": "cascade"         }       },       "nativeEnums": {}     },     {       "columns": {         "id": {           "name": "id",           "type": "int",           "unsigned": true,           "autoincrement": true,           "primary": true,           "nullable": false,           "mappedType": "integer"         },         "name": {           "name": "name",           "type": "varchar(255)",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "string"         },         "wishlist_id": {           "name": "wishlist_id",           "type": "int",           "unsigned": true,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         }       },       "name": "wishlist_group",       "indexes": [         {           "columnNames": [             "wishlist_id"           ],           "composite": false,           "keyName": "wishlist_group_wishlist_id_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "keyName": "PRIMARY",           "columnNames": [             "id"           ],           "composite": false,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {         "wishlist_group_wishlist_id_foreign": {           "constraintName": "wishlist_group_wishlist_id_foreign",           "columnNames": [             "wishlist_id"           ],           "localTableName": "wishlist_group",           "referencedColumnNames": [             "id"           ],           "referencedTableName": "wishlist",           "updateRule": "cascade"         }       },       "nativeEnums": {}     },     {       "columns": {         "id": {           "name": "id",           "type": "int",           "unsigned": true,           "autoincrement": true,           "primary": true,           "nullable": false,           "mappedType": "integer"         },         "product_id": {           "name": "product_id",           "type": "int",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         },         "variant_id": {           "name": "variant_id",           "type": "int",           "unsigned": false,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         },         "wishlist_id": {           "name": "wishlist_id",           "type": "int",           "unsigned": true,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         }       },       "name": "wishlist_product_variant",       "indexes": [         {           "columnNames": [             "wishlist_id"           ],           "composite": false,           "keyName": "wishlist_product_variant_wishlist_id_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "keyName": "PRIMARY",           "columnNames": [             "id"           ],           "composite": false,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {         "wishlist_product_variant_wishlist_id_foreign": {           "constraintName": "wishlist_product_variant_wishlist_id_foreign",           "columnNames": [             "wishlist_id"           ],           "localTableName": "wishlist_product_variant",           "referencedColumnNames": [             "id"           ],           "referencedTableName": "wishlist",           "updateRule": "cascade"         }       },       "nativeEnums": {}     },     {       "columns": {         "wishlist_group_id": {           "name": "wishlist_group_id",           "type": "int",           "unsigned": true,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         },         "wishlist_product_variant_id": {           "name": "wishlist_product_variant_id",           "type": "int",           "unsigned": true,           "autoincrement": false,           "primary": false,           "nullable": false,           "mappedType": "integer"         }       },       "name": "wishlist_group_wishlist_product_variants",       "indexes": [         {           "columnNames": [             "wishlist_group_id"           ],           "composite": false,           "keyName": "wishlist_group_wishlist_product_variants_wishlist_group_id_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "columnNames": [             "wishlist_product_variant_id"           ],           "composite": false,           "keyName": "wishlist_group_wishlist_product_variants_wishlist_p_aab69_index",           "constraint": false,           "primary": false,           "unique": false         },         {           "keyName": "PRIMARY",           "columnNames": [             "wishlist_group_id",             "wishlist_product_variant_id"           ],           "composite": true,           "constraint": true,           "primary": true,           "unique": true         }       ],       "checks": [],       "foreignKeys": {         "wishlist_group_wishlist_product_variants_wishlist_6b5f0_foreign": {           "constraintName": "wishlist_group_wishlist_product_variants_wishlist_6b5f0_foreign",           "columnNames": [             "wishlist_group_id"           ],           "localTableName": "wishlist_group_wishlist_product_variants",           "referencedColumnNames": [             "id"           ],           "referencedTableName": "wishlist_group",           "deleteRule": "cascade",           "updateRule": "cascade"         },         "wishlist_group_wishlist_product_variants_wishlist_b0233_foreign": {           "constraintName": "wishlist_group_wishlist_product_variants_wishlist_b0233_foreign",           "columnNames": [             "wishlist_product_variant_id"           ],           "localTableName": "wishlist_group_wishlist_product_variants",           "referencedColumnNames": [             "id"           ],           "referencedTableName": "wishlist_product_variant",           "deleteRule": "cascade",           "updateRule": "cascade"         }       },       "nativeEnums": {}     }   ],   "nativeEnums": {} }
Reproduction
Since the error is coming back from the database, not sure beyond what I provided would be of help.
What driver are you using?
@mikro-orm/mysql
MikroORM version
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>deduped │ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>deduped ├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>deduped └─┬<EMAIL_ADDRESS> └──<EMAIL_ADDRESS>deduped
Node.js version
18.17.0
Operating system
Mac Sonoma
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Slack.
[X] The provided reproduction is a minimal reproducible example of the bug.

I will need something I can try myself, screenshots won't help much, try to build a repro repository. Tried to use 6.0.3 in the realworld example repo to create and run some migrations, but it all works fine on my end.
The problem won't be in the things you provided, its about the migration execution. Try enabling debug mode (you might need verbose option for the CLI) to see the executed queries, to see if there is a snapshot of that name created (it should).
FWIW, savepoints are handled via knex, not in the ORM code.

@B4nan here's a more barebones version of the repo.  I hear what you're saying re the error originating from Knex (looked at their issues as well), just wasn't sure if it's something related to the ORM + knex.
https://github.com/conspireagency/mikroorm-issue
To replicate:
-npm install (+ ran a build for good measure)
-add DATABASE_URL.  I'm using Planetscale mysql.  Emailed you a fresh database url you can use if you'd like.
-npm run migration (this succeeds)
-npm run migrate (this changes the database, but errors out in the terminal with the savepoint error)
As a result, even though the changes are made, if you update the models and run a new migration + migrate it will try to run the initial migration first.  Guessing this is as a result of the first savepoint issue?

@B4nan heads up, all things the same the issue doesn't happen when I switched to postgres.

Isn't this just about the mysql limitations? You won't really get transactions for DDL statements with mysql, it will autocommit on each statement, so what you are trying seems not supported in the first place.

@B4nan to be honest it's been a while since I used mysql and not super familiar.  Not really trying to do anything specific besides getting migrations to run properly on the database.  Are you saying that in the mikro orm config that the "transactional" or "allOrNothing" settings in migrations should be excluded and are the likely reason the migrations are erroring on a mysql database? I think the reason I added those is because it was failing/acting weird, typically I haven't had those options there in other projects using Postgres.
Sent you a temp fresh database via email along with the repo if you want to see what I mean.

My guess is its specific to planetscale as it wont be the regular mysql behind the scenes - otherwise you wouldnt be the first one reporting this.
Maybe we should just disable transactions for mysql in migrator to get around this.

@B4nan yeah maybe, I'll give their support a ring too... see what they think =)
That could work, granted transactions be default is pretty nice.  If people aren't having issues with mysql, as long as in the config disabling transactions works, then can probably leave as is...
Will report back on what Planetscale says.

For Planetscale, I had to turn off migration transactions in the mikro-orm config
  migrations: {
    path: "dist/src/server/db/migrations",
    pathTs: "src/server/db/migrations",
    transactional: false,
  },

I'll close this as a wontfix, as I mentioned earlier, transactions on DDL statements in MySQL are problematic even without planetscale as they cause autocommit, so this all feels like you are trying to achieve nonachievable (and run into planetscale-specific issues for unsupported use case).
I'd be still interested to head what their support has to say about this (but I can imagine their first-level support won't be very technical :]).


[Rules] Update incoming expression match in _redirect-root-to-subdomain.md

Fixes https://github.com/cloudflare/cloudflare-docs/issues/8827:

altered step 3 to reflect change from root to subdomain
modified Incoming expression to avoid infinite redirect loop

Thanks for the fix, @haelmj. Embarrassed I missed that when I was writing.

No worries at all...happens to the best of us😅. I appreciate the quick response🙌🏾


KLayout layer properties missing layer 83/44 and 236/0

I'm just loading some examples from the standard cell libraries ( the hd variant ) and in those you find layer 83/44 which is some pure text layer.  And then layer 236/0 which might be equivalent to 235/4 (which is not used in the std cell library AFAICT) ?

I don't use klayout myself (too busy hacking on Magic) to be too familiar with the format.  I'm relying on klayout setup files given to me by others.  Layer 236:0 is not parsed by either the DRC or LVS Calibre decks, so it is unknown/unknowable.  Is it used like a boundary?  I.e., is there good evidence to suggest that it might be intended to be some equivalent to prBndry?

In all cells I've looked at until now, the 236:0 has the same content as 81:4.  prBndry doesn't seem to appear anywhere.

Hi Timothy,
I’ve been using KLayout as well. When I tried to open the GDS with Magic I was unable to visualize the result. What are the steps needed?


Date based restriction doesn't work with command macro

When trying to use a time/date based restriction from a commands macro, the DateTime or Time object passed in as a parameter is converted to an Array and then splatted against the filter method, causing an ArgumentError.
The SQL-relation :requests has a :created_at column, and Requests#expired is defined:
def expired(expiration_time=default_expiration_time)
  where{ created_at < expiration_time }
end

The commands macro is used like this:
r = Class.new(ROM::Repository[:requests])  do
  commands delete: [:by_pk, :expired]
end.new(rom)

And calling the generated method:
r.delete_expired(Time.now)
#=> ArgumentError: wrong number of arguments (given 10, expected 0..1)

Thanks for reporting this. I'll fix it in 1.x and port it to rom-rb/rom master.

This issue was moved to rom-rb/rom#435


Add RDFLib functionality

This PR adds the ability to extract a curies.Converter from an RDFLib object
import rdflib, curies

# Build an RDFLib graph and populate its namespace manager
graph = rdflib.Graph()
graph.bind("hgnc", "https://bioregistry.io/hgnc:")

# Convert to a converter
converter = curies.Converter.from_rdflib(graph)
converter.expand("hgnc:1234")
assert converter.expand("hgnc:1234") == "https://bioregistry.io/hgnc:"

# This also works if you have a namespace manager directly
converter = curies.Converter.from_rdflib(graph.namespace_manager)
assert converter.expand("hgnc:1234") == "https://bioregistry.io/hgnc:"

Codecov Report

Merging #36 (62f2947) into main (b5aaa1a) will decrease coverage by 0.34%.
The diff coverage is 87.50%.

:exclamation: Current head 62f2947 differs from pull request most recent head b1ae9db. Consider uploading reports for the commit b1ae9db to get more accurate results

@@             Coverage Diff             @@
##              main      #36      +/-   ##
===========================================
- Coverage   100.00%   99.66%   -0.34%
===========================================
  Files            5        5
  Lines          291      297       +6
  Branches        66       53      -13
===========================================
+ Hits           291      296       +5
- Partials         0        1       +1

Impacted Files
Coverage Δ

src/curies/api.py
99.55% <85.71%> (-0.45%)
:arrow_down:

src/curies/version.py
100.00% <100.00%> (ø)

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


Whisper microphone example: do not repeatedly acquire and release the microphone

Changes

The input stream from the microphone is built once in the thread that handles it.
Inside the loop block, the stream is played and paused for the defined duration (300ms) to capture the pcm data.
The iter::repeat(()).enumerate() to keep track of the inference iteration is replaced with a simple 0.. range.

I have a pretty low end machine but yes it works better than the previous iteration. 😇
-------- Original Message --------
On 23/07/24 16:13, chris-aeviator  wrote:

@.***(https://github.com/lavafroth) did you have any luck actually getting useful outputs after your change? I can see the reaquiring issue (almost) solved, some flickering on microphone access visible in xfce taskbar but in pulseaudio (pavucontrol) I can see that the recording device is not re acquired repeatingly .
I'm asking since the mic example does not work for others (see referenced issue) from @krzytofwos
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


refactor: Remove xmlToJson from Toolkit data queue methods

Part of #99

$ npm test test/functional/deprecated/iDataQueueFunctional.js

> ./node_modules/mocha/bin/mocha --timeout 3s "test/functional/deprecated/iDataQueueFunctional.js"

  iDataQueue Functional Tests
    constructor
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. Please use 'Toolkit' instead. test/functional/deprecated/iDataQueueFunctional.js:85:18
      ✓ creates and returns an instance of iDataQueue
    sendToDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. Please use 'Toolkit' instead. test/functional/deprecated/iDataQueueFunctional.js:95:20
iDataQueue deprecated As of v1.0, 'iDataQueue.sendToDataQueue()' is deprecated. Please use 'Toolkit.sendToDataQueue()' instead. test/functional/deprecated/iDataQueueFunctional.js:97:12
      ✓ sends data to specified DQ using idb transport (86ms)
      ✓ sends data to specified DQ using rest transport (89ms)
    receiveFromDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. Please use 'Toolkit' instead. test/functional/deprecated/iDataQueueFunctional.js:110:20
iDataQueue deprecated As of v1.0, 'iDataQueue.receiveFromDataQueue()' is deprecated. Please use 'Toolkit.receiveFromDataQueue()' instead. test/functional/deprecated/iDataQueueFunctional.js:112:12
      ✓ receives data from specfied DQ using idb transport (135ms)
      ✓ receives data from specfied DQ using rest transport (83ms)
    clearDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. Please use 'Toolkit' instead. test/functional/deprecated/iDataQueueFunctional.js:125:20
iDataQueue deprecated As of v1.0, 'iDataQueue.clearDataQueue()' is deprecated. Please use 'Toolkit.clearDataQueue()' instead. test/functional/deprecated/iDataQueueFunctional.js:127:12
      ✓ clears the specifed DQ using idb transport (119ms)
      ✓ clears the specifed DQ using rest transport (129ms)

  7 passing (3s)

$ npm test test/functional/ToolkitFunctional.js

> ./node_modules/mocha/bin/mocha --timeout 3s "test/functional/ToolkitFunctional.js"

  Toolkit Functional Tests
    DataQueue Functional Tests
      sendToDataQueue
        ✓ sends data to specified DQ using idb transport (100ms)
        ✓ sends data to specified DQ using rest transport (88ms)
        ✓ sends data to specified DQ using ssh transport (890ms)
        ✓ sends data to specified DQ using odbc transport (165ms)
      receiveFromDataQueue
        ✓ receives data from specfied DQ using idb transport (76ms)
        ✓ receives data from specfied DQ using rest transport (88ms)
        ✓ receives data from specfied DQ using ssh transport (599ms)
        ✓ receives data from specfied DQ using odbc transport (98ms)
      clearDataQueue
        ✓ clears the specifed DQ using idb transport (72ms)
        ✓ clears the specifed DQ using rest transport (68ms)
        ✓ clears the specifed DQ using ssh transport (605ms)
        ✓ clears the specifed DQ using odbc transport (81ms)
    getTCPIPAttr
      ✓ retrieves TCP/IP Attributes using idb transport (195ms)
      ✓ retrieves TCP/IP Attributes using rest transport (99ms)
      ✓ retrieves TCP/IP Attributes using ssh transport (659ms)
      ✓ retrieves TCP/IP Attributes using odbc transport (117ms)
    getNetInterfaceData
      ✓ retrieves IPv4 network interface info using idb transport (379ms)
      ✓ retrieves IPv4 network interface info using rest transport (300ms)
      ✓ retrieves IPv4 network interface info using ssh transport (637ms)
      ✓ retrieves IPv4 network interface info using odbc transport (106ms)
    retrUsrAuth
      ✓ returns uses's authority for an object using idb tranport (72ms)
      ✓ returns uses's authority for an object using rest tranport (76ms)
      ✓ returns uses's authority for an object using ssh tranport (670ms)
      ✓ returns uses's authority for an object using odbc tranport (99ms)
    rtrCmdInfo
      ✓ returns command info using idb transport (72ms)
      ✓ returns command info using rest transport (68ms)
      ✓ returns command info using ssh transport (726ms)
      ✓ returns command info using odbc transport (83ms)
    retrPgmInfo
      ✓ returns program info using idb transport (95ms)
      ✓ returns program info using rest transport (85ms)
      ✓ returns program info using ssh transport (646ms)
      ✓ returns program info using odbc transport (86ms)
    retrSrvPgmInfo
      ✓ returns service program info using idb transport (85ms)
      ✓ returns service program info using rest transport (81ms)
      ✓ returns service program info using ssh transport (799ms)
      ✓ returns service program info using odbc transport (127ms)
    retrUserInfo
      ✓ returns specified user profile info using idb transport (69ms)
      ✓ returns specified user profile info using rest transport (62ms)
      ✓ returns specified user profile info using ssh transport (679ms)
      ✓ returns specified user profile info using odbc transport (91ms)
    retrUsrAuthToObj
      ✓ retrieves info for users who are authorized to an object using idb transpsort (74ms)
      ✓ retrieves info for users who are authorized to an object using rest transpsort (70ms)
      ✓ retrieves info for users who are authorized to an object using ssh transpsort (664ms)
      ✓ retrieves info for users who are authorized to an object using odbc transpsort (124ms)
    addToLibraryList
      ✓ appends lib to user's lib list using idb transport (70ms)
      ✓ appends lib to user's lib list using rest transport (72ms)
      ✓ appends lib to user's lib list using ssh transport (611ms)
      ✓ appends lib to user's lib list using odbc transport (127ms)
    getPTFInfo
      ✓ returns info for specified ptf using idb transport (95ms)
      ✓ returns info for specified ptf using rest transport (105ms)
      ✓ returns info for specified ptf using ssh transport (696ms)
      ✓ returns info for specified ptf using odbc transport (99ms)
    getProductInfo
      ✓ returns info for specified product using idb transport (87ms)
      ✓ returns info for specified product using rest transport (88ms)
      ✓ returns info for specified product using ssh transport (634ms)
      ✓ returns info for specified product using odbc transport (91ms)
    getInstalledProducts
      ✓ returns info for installed products using idb transport (785ms)
      ✓ returns info for installed products using rest transport (846ms)
      ✓ returns info for installed products using ssh transport (1400ms)
      ✓ returns info for installed products using odbc transport (793ms)
    UserSpace Functional Tests
      createUserSpace
        ✓ creates a user space using idb transport (72ms)
        ✓ creates a user space using rest transport (75ms)
        ✓ creates a user space using ssh transport (708ms)
        ✓ creates a user space using odbc transport (105ms)
      setUserSpaceData
        ✓ sets data within the user space using idb transport (82ms)
        ✓ sets data within the user space using rest transport (154ms)
        ✓ sets data within the user space using ssh transport (803ms)
        ✓ sets data within the user space using odbc transport (90ms)
      getUserSpaceData
        ✓ returns specified length of data using idb transport (204ms)
        ✓ returns specified length of data using rest transport (258ms)
        ✓ returns specified length of data using ssh transport (666ms)
        ✓ returns specified length of data using odbc transport (132ms)
      deleteUserSpace
        ✓ removes a user space using idb transport (140ms)
        ✓ removes a user space using rest transport (172ms)
        ✓ removes a user space using ssh transport (867ms)
        ✓ removes a user space using odbc transport (146ms)
    getSysValue
      ✓ returns the value of system variable using idb transport (141ms)
      ✓ returns the value of system variable using rest transport (201ms)
      ✓ returns the value of system variable using ssh transport (853ms)
      ✓ returns the value of system variable using odbc transport (126ms)
    getSysStatus
      ✓ returns basic system status information about the signed-on users and batch jobs using idb transport (192ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using rest transport (163ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using ssh transport (922ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using odbc transport (115ms)
    getSysStatusExt
      ✓ returns more detailed system status info using idb transport (1250ms)
      ✓ returns more detailed system status info using rest transport (1243ms)
      ✓ returns more detailed system status info using ssh transport (2214ms)
      ✓ returns more detailed system status info using odbc transport (1197ms)
    getJobStatus
      ✓ returns status of specified job using idb transport (80ms)
      ✓ returns status of specified job using rest transport (82ms)
      ✓ returns status of specified job using ssh transport (1096ms)
      ✓ returns status of specified job using odbc transport (106ms)
    getJobInfo
      ✓ returns info on specfed job using idb transport (99ms)
      ✓ returns info on specfed job using rest transport (118ms)
      ✓ returns info on specfed job using ssh transport (705ms)
      ✓ returns info on specfed job using odbc transport (108ms)
    getDataArea
      ✓ returns contents of a data area using idb transport (121ms)
      ✓ returns contents of a data area using rest transport (112ms)
      ✓ returns contents of a data area using ssh transport (1381ms)
      ✓ returns contents of a data area using odbc transport (102ms)

  100 passing (36s)


Is there a way to remove a certain color from the picture?

For example, I want to remove the black area of the transparent png image above into the following one

Please see #1648


Add a function GetRef2This for making automation easier

Implement a function GetRef2This, which takes the name of one of the "batchable" functions (Select, AskForNumber, AskForText, YesOrNo) that returns a ref to the (optional) array allowing automation.
That would allow this:
C←ComplexStatementReturningRefToCommToolsNoMatterWhere
ref←C.GetRef2This 'Select'
ref.Select_Choices←1 2⍴'<alias>' 2

That would automatically work even if C sometimes points to CommTools in # (when opened as a project, for example) and sometimes in ⎕SE (when executed as a user command).

Solved differently in 1.8.0


How to control the specific light of a TrifficLight

There are 3 seperate lights on one trafficlight. I use "set_state()" method to control the light, but it control the 3 lights the same time. Someone knows how to control them seperately?

Hi, I'm sorry to tell that you can't control separately the lights of a same trafficlight. Each whole traffic light is controlled by the same control box.
Altternatively, you could use multiple traffic lights in the same position, by showing/hidding different parts of the geometry. This way you would have different control boxes, that you would be able to control them separately.
It's not the best solution but it might work for you.

So much fun, and it works, thank you

Glad to know it worked!!

Hi,
I also want to use traffic lights in customized map in CARLA. For the same I use the code this code:
while start_time <= end_time:
#print("in while")
world.tick(5)
        n_vehicles = len(world.get_actors().filter('*vehicle*'))
        #print("while",n_vehicles,max_vehicles)
        vehicle_bp = random.choice(blueprints)
        # Spawn vehicle only after delay

        if counter == spawn_delay and n_vehicles < max_vehicles:
            #print("if loop",n_vehicles,max_vehicles)

            # vehicle = world.try_spawn_actor(vehicle_bp, spawn_point_1)
            vehicle = world.try_spawn_actor(vehicle_bp, random.choice(spsT))
            if vehicle:
                vehicle.set_autopilot(True)
                traffic_light=vehicle.get_traffic_light()
                # print("traffic_light:",traffic_light)
                traffic_manager.random_right_lanechange_percentage(vehicle,0)
                traffic_manager.set_path(vehicle, random.choice(routelistT))

                # traffic_manager.set_path(vehicle,route_1)

                traffic_manager.update_vehicle_lights(vehicle, True)
                traffic_manager.random_left_lanechange_percentage(vehicle, 0)
                traffic_manager.auto_lane_change(vehicle, False)
                traffic_manager.distance_to_leading_vehicle(vehicle, 5)

                traffic_manager.ignore_lights_percentage(vehicle,0)
                # traffic_manager.set_path(vehicle, route_1)

            counter -= 1
        elif counter > 0:
            counter -= 1
        elif counter == 0:
            counter = spawn_delay
        world.tick(10)

        actor_list=world.get_actors()
        print(actor_list)
        for actor in actor_list:
            if isinstance(actor,carla.TrafficLight):
                actor.set_red_time(5.0)
                actor.set_green_time(15.0)
                actor.set_yellow_time(3.0)

                # actor.set_red_time(2.0)
                # actor.set_green_time(0.01)
                # actor.set_yellow_time(2.0)

        start_time +=0.05

But vehicle is not moving as per traffic lights. I have three lanes per approach and I want to release the traffic of left turn and straight going vehicle at the same time.
Can you please help me?


ERROR: Failed building wheel for pysqlite3

Installing on Ubuntu 22.04.4 LTS with VSCode. After creating environment with python 3.10.13, and running pip install -r requirements.txt I get this error:
Using cached watchfiles-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB)
Using cached websockets-12.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)
Using cached wrapt-1.16.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80 kB)
Using cached XlsxWriter-3.1.9-py3-none-any.whl (154 kB)
Using cached xxhash-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)
Using cached yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)
Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Building wheels for collected packages: pysqlite3
  Building wheel for pysqlite3 (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/pysqlite3
      copying pysqlite3/dbapi2.py -> build/lib.linux-x86_64-cpython-310/pysqlite3
      copying pysqlite3/__init__.py -> build/lib.linux-x86_64-cpython-310/pysqlite3
      running build_ext
      Builds a C extension linking against libsqlite3 library
      building 'pysqlite3._sqlite3' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/src
      gcc -pthread -B /home/e404/anaconda3/envs/FRIDAY_env/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/e404/anaconda3/envs/FRIDAY_env/include -fPIC -O2 -isystem /home/e404/anaconda3/envs/FRIDAY_env/include -fPIC -DMODULE_NAME=\"pysqlite3.dbapi2\" -I/usr/include -I/home/e404/anaconda3/envs/FRIDAY_env/include/python3.10 -c src/blob.c -o build/temp.linux-x86_64-cpython-310/src/blob.o
      error: command 'gcc' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pysqlite3
  Running setup.py clean for pysqlite3
Failed to build pysqlite3
ERROR: Could not build wheels for pysqlite3, which is required to install pyproject.toml-based projects

I figured it out, I didn't have builde-essential installed, I installed it with:
sudo apt-get install build-essential
I also ran into an error doing that and got this:
Media change: please insert the disc labeled
 'Ubuntu 22.04.1 LTS _Jammy Jellyfish_ - Release amd64 (20220809.1)'
in the drive '/media/cdrom/' and press [Enter]

I fixed that by following this guide from ChatGPT. I used option 1, option 2 might not work:

Via GUI (Graphical User Interface):
-If you're using a desktop environment, you can open the "Software & Updates" application.

Go to the "Ubuntu Software" tab.
Uncheck the box that mentions "Cdrom with Ubuntu" or any similar entry referring to the CD/DVD.
Close the application and when prompted, reload the software sources.

Via Terminal:

Open a terminal.
Edit the sources.list file located in /etc/apt/. You can use a text editor like nano: sudo nano /etc/apt/sources.list.
Look for lines that begin with deb cdrom:. These lines represent the CD/DVD sources.
Comment out these lines by adding a # at the beginning of each. This will disable them without permanently removing the option to re-enable later.
Save the file and exit the editor (in nano, press Ctrl + X, then Y to confirm changes, and Enter to exit).
Run sudo apt-get update to refresh your package lists.

I also encountered this issue, and eventually found out that the newly installed system was missing the SQLite library.


Fetching new tags into the cache needs to try harder

Spotted when trying to vendor in an update:
6:24PM INF clone already exists<EMAIL_ADDRESS>6:24PM DBG exec command="git fetch --tags"<EMAIL_ADDRESS>6:24PM DBG result output="Authenticated to github.com ([<IP_ADDRESS>]:22) using \"publickey\".\r\nTransferred: sent 16864, received 662100 bytes, in 1.8 seconds\r\nBytes per second: sent 9142.3, received 358936.7\r\nFrom github.com:kubernetes/ingress-nginx\n * branch              HEAD              -> FETCH_HEAD\n * [new tag]           4e97379b4         -> 4e97379b4\n ! [rejected]          controller-v1.6.4 -> controller-v1.6.4  (would clobber existing tag)\n ! [rejected]          controller-v1.7.1 -> controller-v1.7.1  (would clobber existing tag)\n ! [rejected]          controller-v1.8.2 -> controller-v1.8.2  (would clobber existing tag)\n ! [rejected]          controller-v1.8.4 -> controller-v1.8.4  (would clobber existing tag)\n * [new tag]           controller-v1.8.5 -> controller-v1.8.5\n ! [rejected]          controller-v1.9.0 -> controller-v1.9.0  (would clobber existing tag)\n ! [rejected]          controller-v1.9.3 -> controller-v1.9.3  (would clobber existing tag)\n * [new tag]           controller-v1.9.6 -> controller-v1.9.6\n * [new tag]           helm-chart-4.7.5  -> helm-chart-4.7.5\n * [new tag]           helm-chart-4.9.1  -> helm-chart-4.9.1\n"
6:24PM ERR error overlaying repositories err="exit status 1"

TL;DR: Gilt needs to run git fetch --tags --force when updating cache.

Resolved by #156


incident command enhancements

working on different flags, memoizing incidents and displaying results.

Is it ready for review? @Nirmitjatana

Is it ready for review? @Nirmitjatana

It's still work in progress, I'll add you as a reviewer once done!


Fix S3 ListParts pagination infinite loop

Motivation and Context

The paginator for the S3 ListParts operation could loop forever: https://github.com/awslabs/aws-sdk-rust/issues/1143. This is because most paginated operations use an empty next token as an indication that pagination is exhausted. ListParts instead sets the final next token as 0 causing the pagination to loop back to the first page and loop forever. Instead of an empty next token ListParts uses IsTruncated =  false to indicate that pagination has been exhausted.
Description

Added a new trait isTruncatedPaginatorTrait
Add that trait to the S3 ListPartsOutput shape
Use the presence of that trait to vary the logic setting the is_empty value in the paginator.

If the trait is absent it looks for an empty next token as always
if the trait is present the value is set based on the value of the response's is_truncated field

Testing

Added integration test confirming that pagination terminates when a response contains is_truncated = false

Note: I'm still working on turning this into a model test rather than an S3 specific integration test, but I wanted to get some feedback on the actual fix while I'm figuring that out)
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Merging this for now to make sure it goes in with the next smithy-rs release since it fixes an actual customer bug. Going to connect with @aajtodd on Monday about the unaddressed suggestions to hopefully get those in as well.


Minor optimization when spawning simple commands

Avoid using Vec::remove(0) because it shuffles up all elements
Simply use an iterator instead which allows us to separate the
command name from the rest of the args

Codecov Report

Merging #5 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #5      +/-   ##
=========================================
+ Coverage   89.37%   89.4%   +0.03%
=========================================
  Files         131     131
  Lines        8932    8929       -3
=========================================
  Hits         7983    7983
+ Misses        949     946       -3

Impacted Files
Coverage Δ

src/spawn/simple.rs
86.08% <100%> (+0.14%)
:arrow_up:

src/env/async_io.rs
77.19% <0%> (-0.88%)
:arrow_down:

src/spawn/and_or.rs
96% <0%> (-0.16%)
:arrow_down:

tests/redirect_or_var_assig.rs
94.33% <0%> (+0.58%)
:arrow_up:

src/spawn/for_cmd.rs
91.17% <0%> (+0.88%)
:arrow_up:

src/env/args.rs
100% <0%> (+1.17%)
:arrow_up:

src/spawn/if_cmd.rs
94.73% <0%> (+1.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Make ResourceCache::get_cached_resources thread-safe

Fixes invalid Ref and editor crash resulting from a Resource being freed just before this method is called (e.g. when saving or creating a resource).
In my use case, this is triggered by Lua's garbage collector (currently tied to ScriptLanguage::frame) collecting and dereferencing the Resource before/during the save.
Mirrors the solution seen in other methods (has and get_ref).

Why keep a vector of entries to remove, instead of not adding them in the first place?

has and get_ref remove the deleted Resource from the cache (resources) whenever detected (I'm not sure why, that's just how it was).
During iteration, I avoid adding the deleted Resource to the list (p_resources) then keep a vector of entries to delete from the cache after iteration finishes to match the functionality of has and get_ref.

I see, I misread as I was checking the diff on a phone. I'd suggest making the Vector a LocalVector, which is better suited for this use case.

At first, I was thinking the validity of this PR depends a bit on the (sadly unwritten) contract of this function. I mean, it may be expected not to do any validation-and-removal itself to be as fast as possible and so keep the cache locked for as short as possible, leaving the responsibility of checking the validity of the references to the caller.
However, after checking the few uses of this function across the codebase, I'd say it's pretty clear that the caller is expected to get valid references, only, so this looks fine to me. Also, I support the change to LocalVector.

Thanks!


Fix inability to set TextureLayeredRD as TEXTURE_TYPE_CUBE or TEXTURE…

…_TYPE_CUBE_ARRAY
Should resolve #93915

Please squash your commits into one, see the interactive rebase for details

Redone changes (with pre-commit checks) on updated repository. (github was stuck on processing updates after rebase)

Thanks! Congratulations on your first contribution! 🎉


Simplify persisting tower local cluster tests

Problem
Optimistic confirmation tests are needlessly convoluted.
The optimistic confirmation is not necessary for the core of the test which is to guarantee tower prevents bad voting behavior across restarts.
Summary of Changes

Remove the need for optimistic confirmation
Simplify the forking logic
Remove the need for validator D

Ran each test 100 times, no failures
Fixes #

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

Project coverage is 81.8%. Comparing base (dd51e61) to head (41ae0a5).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #875     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%
=========================================
  Files         851      851
  Lines      231471   231471
=========================================
- Hits       189534   189507     -27
- Misses      41937    41964     +27


ionic serve - multiple compile?

Why does the TypeScript process run more than once in the latest beta?
I just pulled a starter tabs project and ran ionic serve. You can see that there are about 5 "compiles" going on even when no changes have been made.
C:\temp\DarielGradApp>ionic serve
WARN: ionic.config.js has been deprecated, you can remove it.

Running 'serve:before' gulp task before serve
[07:12:32] Starting 'clean'...
[07:12:32] Finished 'clean' after 4.49 ms
[07:12:32] Starting 'watch'...
[07:12:32] Starting 'sass'...
[07:12:32] Starting 'html'...
[07:12:32] Starting 'fonts'...
[07:12:32] Starting 'scripts'...
[07:12:32] Finished 'html' after 37 ms
[07:12:32] Finished 'scripts' after 39 ms
[07:12:32] Finished 'fonts' after 66 ms
[07:12:33] Finished 'sass' after 633 ms
TypeScript error: C:/temp/DarielGradApp/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
TypeScript error: C:/temp/DarielGradApp/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
TypeScript error: C:/temp/DarielGradApp/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
TypeScript error: C:/temp/DarielGradApp/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
TypeScript error: C:/temp/DarielGradApp/node_modules/angular2/src/facade/promise.d.ts(1,10): Error TS2661: Cannot re-export name that is not defined in the module.
7.2 MB bytes written (20.67 seconds)
7.2 MB bytes written (19.81 seconds)
7.2 MB bytes written (23.55 seconds)
[07:12:59] Finished 'watch' after 27 s
[07:12:59] Starting 'serve:before'...
[07:12:59] Finished 'serve:before' after 9.88 μs

WARN: ionic.config.js has been deprecated, you can remove it.
Running live reload server: http://<IP_ADDRESS>:35729
Watching: www/**/*, !www/lib/**/*
√ Running dev server:  http://<IP_ADDRESS>:8100
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit

ionic $ JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js.map
JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js
7.2 MB bytes written (21.32 seconds)
JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js
JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js.map
7.2 MB bytes written (22.30 seconds)
JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js
JS changed:   C:\temp\DarielGradApp\www\build\js\app.bundle.js.map

System Info:
Your system information:

Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
OS:
Node Version: v5.7.0

Hello dylanvdmerwe,
i got the same issue since i updated to Ionic CLI Version: 2.0.0-beta.24.
My system informations are the same as yours, without Note Version: v5.10.0
I got it also when I create a new starter app.
Here is a Workaround https://github.com/angular/angular/issues/6468
It works for the starter app.
If I try to fix it like that in my app, which bases on the conference app --ts it leads to
Uncaught reflect-metadata shim is required when using class decorators Uncaught (in promise) TypeError: object is not a constructor(…) WebSocket connection to 'ws://localhost:35729/livereload' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
That bug seems to be fixed in higher than angular2-beta6

@dylanvdmerwe strange I haven't seen that before, is this still an issue with the latest beta?

Hello all! As it has been a while since there was any activity on this issue i will be closing it for now, but feel free to comment if you are still having this issue!


LEAN-3577 doc migration check

@mnatsheh @hhusban please check. This is ready for review

Just a small question, how/when would the backed up document be cleaned?

Just a small question, how/when would the backed up document be cleaned?

There is nothing for that yet. I'm going to file a separate ticket for that. I'm not sure at this point how that should be handled. A cron job in the api seems is the first thing that comes to mind.


Missing: How to update

Similar to the extremely detailed bare metal installation instructions, I miss instructions on how to perform an update.

@Pyromane, good point!
I will update that part of documentation.
Thank you for opening the issue!

Hi @Pyromane ,
Here is documentation on how to perform an update.

Thanks for the instructions!
Should after that
git checkout
not a
git pull
consequences? Because the changelog.md has not changed for me.
(Sry, I'm still a git newbie)

Hi @Pyromane,
git checkout will "checkout" application source code for exact point your are asking for. E.g. checkout -b v1.4.5 will checkout source code to be exact for version 1.4.5. The git pull command on the hand will retrieve the latest source code from current branch.
Usually the workflow is:
1. git pull                # get latest code from github
2. git checkout -b v1.4.5  # from pulled code, switch to version v1.4.5

I added this points to the documentation.

@Pyromane in case you are happy with resolution of this ticket - you may close it.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1112 ms

Resolved: Bofrost.at performance has improved in 403ac76.


[CMS-1133] Fix bitbucket docs.

There are no required changes to behave like this. It does it now :)


Atlas Operator should Integrate with 3rd party Secrets Management

Kubernetes secrets are known to be insecure, they are mere base64 of plaintext.
The operator should integrate with some mainstream secret management solutions, such as AWS secret manager, Azure KV and Hashicorp Vault.
This would enable the operator to meet some of the more stringent compliance requirements and integrate with corporate environments.
Alex

:+1: Secret Manager | Google Cloud

Hi-
Integration with HashiCorp Vault is in the product roadmap for the MongoDB Atlas Kubernetes Operator.
However, since there is already an existing direct integration between MongoDB Atlas and Vault which is somewhat orthogonal to the AtlasDatabaseUser custom resource control vector, but can be integrated into your Kubernetes deployments today. In this kind of deployment, one would manage all the MongoDB Database users directly through Vault and not the Kubernetes custom resources.
To find out more about this integration, pls visit: https://www.mongodb.com/atlas/hashicorp-vault


[hotfix][util] Use OneTimeLeaderListenerFuture in LeaderRetrievalUtils

What is the purpose of the change
Refactor LeaderRetrievalUtils by removing redundant codes.

Remove redundant class LeaderAddressAndId, which is all covered by LeaderConnectionInfo.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

travis fails on

python profile https://api.travis-ci.com/v3/job/217528068/log.txt

This pr should touch nothing about python profile and iirc there is an issue reporting python profile unstable. Not sure if it was fixed.

library profile https://api.travis-ci.com/v3/job/217528069/log.txt

This is a filed issue and should be fixed by @bowenli86 ... Let me rebase this pr...

cc @tillrohrmann


API reference: fix displaced Astro.glob() subheadings

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Description
Docs for how Astro.glob() treats .astro and other file formats got displaced when documenting Astro.props. This PR moves them back up to the correct location on the page.

LGTM!

Thanks for the review @Yan-Thomas 🙌


[Community] Add OPT-Alpa integration

Patch Description
Update the README with a small paragraph to link to the OPT-Alpa integration. The related issue is #176.
Testing steps
No test is needed in Metaseq.

@stephenroller would be good to take a look!