Publication no longer fillable

The method search_pubs used to return a Publication object, which you could then call the fill() method on to get more information. Nowadays it appears to return a straight dictionary, which cannot be filled.
This breaks not only the previous API, but also functionality. Specifically, since you can't fill a publication, you can't parse its bibtex record, which has an ID field that is not currently obtainable in other ways. The ID field can be used to find a specific result to the search query (if you know the ID from before).
I suggest adding a "fill" parameter to search_pubs with a default value of False. I'm happy to create a PR if you think this feature would be incorporated.

No idea what this request is asking, as the objects returned by search_pubs do have a key called filled and a source key with the value PUBLICATION_SEARCH_SNIPPET.
Here is an example of the code and the result:
query = '\"digital twin\" \"cloud\"'
search_query = scholarly.search_pubs(query)
r = next(search_query)
scholarly.pprint(r)

returns
{'author_id': ['c0Fvx10AAAAJ', 'VcOjgngAAAAJ'],
 'bib': {'abstract': 'Cyber-physical system (CPS) is a new trend in the '
                     'Internet-of-Things related research works, where '
                     'physical systems act as the sensors to collect '
                     'real-world information and communicate them to the '
                     'computation modules (ie cyber layer), which further '
                     'analyze and',
         'author': ['KM Alam', 'A El Saddik'],
         'pub_year': '2017',
         'title': 'C2PS: A digital twin architecture reference model for the '
                  'cloud-based cyber-physical systems',
         'venue': 'IEEE access'},
 'citedby_url': '/scholar?cites=14550300503829375948&as_sdt=5,33&sciodt=0,33&hl=en',
 'eprint_url': 'https://ieeexplore.ieee.org/iel7/6287639/6514899/07829368.pdf',
 'filled': False,
 'gsrank': 1,
 'num_citations': 300,
 'pub_url': 'https://ieeexplore.ieee.org/abstract/document/7829368/',
 'source': 'PUBLICATION_SEARCH_SNIPPET',
 'url_add_sclib': '/citations?hl=en&xsrf=&continue=/scholar%3Fq%3D%2522digital%2Btwin%2522%2B%2522cloud%2522%26hl%3Den%26as_sdt%3D0,33&citilm=1&json=&update_op=library_add&info=zOvvqTcN7ckJ&ei=vNxQYLGjKPSL6rQPmrmeiAY',
 'url_related_articles': '/scholar?q=related:zOvvqTcN7ckJ:scholar.google.com/&scioq=%22digital+twin%22+%22cloud%22&hl=en&as_sdt=0,33',
 'url_scholarbib': '/scholar?q=info:zOvvqTcN7ckJ:scholar.google.com/&output=cite&scirp=0&hl=en'}

then
result = scholarly.fill(r)
scholarly.pprint(result)

returns
{'author_id': ['c0Fvx10AAAAJ', 'VcOjgngAAAAJ'],
 'bib': {'abstract': 'Cyber-physical system (CPS) is a new trend in the '
                     'Internet-of-Things related research works, where '
                     'physical systems act as the sensors to collect '
                     'real-world information and communicate them to the '
                     'computation modules (ie cyber layer), which further '
                     'analyze and',
         'author': 'Alam, Kazi Masudul and El Saddik, Abdulmotaleb',
         'bib_id': 'alam2017c2ps',
         'journal': 'IEEE access',
         'pages': '2050--2062',
         'pub_type': 'article',
         'pub_year': '2017',
         'publisher': 'IEEE',
         'title': 'C2PS: A digital twin architecture reference model for the '
                  'cloud-based cyber-physical systems',
         'venue': 'IEEE access',
         'volume': '5'},
 'citedby_url': '/scholar?cites=14550300503829375948&as_sdt=5,33&sciodt=0,33&hl=en',
 'eprint_url': 'https://ieeexplore.ieee.org/iel7/6287639/6514899/07829368.pdf',
 'filled': True,
 'gsrank': 1,
 'num_citations': 300,
 'pub_url': 'https://ieeexplore.ieee.org/abstract/document/7829368/',
 'source': 'PUBLICATION_SEARCH_SNIPPET',
 'url_add_sclib': '/citations?hl=en&xsrf=&continue=/scholar%3Fq%3D%2522digital%2Btwin%2522%2B%2522cloud%2522%26hl%3Den%26as_sdt%3D0,33&citilm=1&json=&update_op=library_add&info=zOvvqTcN7ckJ&ei=vNxQYLGjKPSL6rQPmrmeiAY',
 'url_related_articles': '/scholar?q=related:zOvvqTcN7ckJ:scholar.google.com/&scioq=%22digital+twin%22+%22cloud%22&hl=en&as_sdt=0,33',
 'url_scholarbib': '/scholar?q=info:zOvvqTcN7ckJ:scholar.google.com/&output=cite&scirp=0&hl=en'}

You're right. The old syntax required:
r.fill()
That's no longer supported, but I hadn't realized that the new syntax:
scholar.fill(r)
works instead. Thanks you.


URI must be set (not null) before streaming.

018-07-17 18:46:02.010 +00:00 [Information] JsonStreamController: Watchdog timer restarting stream controller (no data received in 60 minutes).  [thread: 32]
2018-07-17 18:46:02.037 +00:00 [Debug] RetryTaskController.ActionAsync: Task beginning...  [thread: 32]
2018-07-17 18:46:02.043 +00:00 [Debug] BinanceWebSocketStream.StreamAsync: Streaming initiated.  [thread: 32]
2018-07-17 18:46:02.526 +00:00 [Warning] BinanceWebSocketStream.StreamAsync: Unhandled exception.  [thread: 32]
System.InvalidOperationException: WebSocketStream: URI must be set (not null) before streaming.
at Binance.WebSocket.WebSocketStream.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Binance.Stream.BufferedJsonStream1.<StreamAsync>d__9.MoveNext() 2018-07-17 18:46:02.633 +00:00 [Debug] BinanceWebSocketStream.StreamAsync: Streaming complete.  [thread: 32] 2018-07-17 18:46:02.717 +00:00 [Warning] RetryTaskController.ActionAsync: Unhandled action exception.  [thread: 32] System.InvalidOperationException: WebSocketStream: URI must be set (not null) before streaming.    at Binance.WebSocket.WebSocketStream.<StreamActionAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Binance.Stream.BufferedJsonStream1.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Binance.Utility.RetryTaskController.d__13.MoveNext()
2018-07-17 18:46:02.753 +00:00 [Debug] RetryTaskController.ActionAsync: Task pausing...  [thread: 32]
2018-07-17 18:46:02.800 +00:00 [Debug] BinanceHttpClient.RequestAsync: [GET] "/wapi/v3/systemStatus.html"
2018-07-17 18:46:03.244 +00:00 [Debug] BinanceWebSocketStreamController: System status (Normal).  [thread: 32]
2018-07-17 18:46:03.291 +00:00 [Debug] RetryTaskController: Delaying for 5000 msec.  [thread: 32]
2018-07-17 18:46:08.357 +00:00 [Debug] RetryTaskController.ActionAsync: Task resuming...  [thread: 37]
2018-07-17 18:46:08.380 +00:00 [Debug] BinanceWebSocketStream.StreamAsync: Streaming initiated.  [thread: 37]
2018-07-17 18:46:08.592 +00:00 [Warning] BinanceWebSocketStream.StreamAsync: Unhandled exception.  [thread: 37]
System.InvalidOperationException: WebSocketStream: URI must be set (not null) before streaming

0.2.0-beta5

UTC time

looks like very similar with google issue (by time)
https://status.cloud.google.com/incident/cloud-networking/18012
and discord
https://status.discordapp.com/incidents/624vf01bm5yv


fix: set clibuilder log to none by default.

Coverage remained the same at 97.318% when pulling 76a89d7f8a92d2dbffc64d2d460b913c8d9bb99f on default-log-none into 3fbe6c84c8376600bbec9f11a3c82a3f4194eb00 on master.

:tada: This PR is included in version 2.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bug: List for Sale button appears when item is already listed - It should be Edit Listing

This issue still is occurring. See screenshot.

[ ] Fix: Button should say 'Edit Listing' when it's already listed not 'List for Sale'

We are also now seeing this button styling appear on the portfolio page and it's breaking the UI when there is an offer on the token. See screenshot.

[ ] Update: Instead of showing both buttons when there is an offer, just show 'Accept Offer'.


Can't use volumes from docker-compose

Hi!
What should I do if I want to use volumes from docker-compose? It'll be possible or I should use unison / rsync?
My /Users/ folder is mounted in docker machine, but I don't see files inside containers.

@noose Thanks issue :)
I have received reports.

https://github.com/zchee/docker-machine-driver-xhyve/issues/18#issuecomment-172080769
https://github.com/zchee/docker-machine-driver-xhyve/issues/71

Could you post this command result?
If there is sensitive data, please delete.
In host(Mac OS X)
``bash
$ cat /etc/exports
$ cat /etc/hosts
$ ifconfig

In guest (boot2docker)
```bash
$ ls -la /Users/
$ ifconfig

I had the same issue: /Users was mounted but empty.
It worked after restarting the machine.

I had the same problem - it didn't work for me (shared directory was empty) but enabling experimental share fix the problem.

I had the same problem, @lowski's suggestion worked for me


local_target.py - os.rename change to os.replace ?

https://github.com/spotify/luigi/blob/master/luigi/local_target.py#L40
When trying to rename to an existing file it fails. Better to use os.replace instead?

I think it is better to use os.replace or shutil.move because os.rename to an existing file causes error in Windows.
Is there any reason not to fix?

AFAIK, no. It's probably just that no one has written the PR yet. Yield to
temptation and submit a patch. :-)
Lars Albertsson
Data engineering entrepreneur
www.scling.com
+46 70 7687109
https://twitter.com/lalleal, https://www.linkedin.com/in/larsalbertsson/
On Mon, May 23, 2022 at 11:48 PM yuta100101 @.***>
wrote:

I think it is better to use os.replace or shutil.move because os.rename
to an existing file causes error in Windows.
Is there any reason not to fix?
—
Reply to this email directly, view it on GitHub
https://github.com/spotify/luigi/issues/2975#issuecomment-1135167546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXFFGR2W6GVE7GGYN2BD23VLP4JDANCNFSM4PNFCDYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Test code

Which code can i use for test? I can't find one in code_v1.0
code/test_siamrpn.py?

I don't find it either


mqttui: 0.20.0 -> 0.21.0

Diff: https://github.com/EdJoPaTo/mqttui/compare/refs/tags/v0.20.0...v0.21.0
Changelog: https://github.com/EdJoPaTo/mqttui/blob/v0.21.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

mqttui


Fix redesigned CLI commands

Expand CLI aliases to full commands in documentation, tests, comments, CLI outputs
Also regenarated workflow png to contain the full commands

Thank you! The PR looks okay. I just wonder why there is one line marked as changed. Did you add or remove a newline?


Deploy Openshift on the new instance

@jpaulrajredhat Is this issue meant to install Openshift on a cloud platform like AWS?

new aws instance created .

new aws instance created


The log of actions after pressing "done" sometimes shows editing actions as failed with an error of http

This issue has no diff, but once I see it again I will take a screenshot if needed. On seemingly random occasions the script says that the addition of the log item failed even though it didn't. The error I see is just "http" next to the log item failed message. Not sure of cause, but might look further indepth later.

Just had it happen again, put pressed refresh before I realized and could get a screenshot. It happened at Wikipedia:Sockpuppet investigations/Angela Criss and the http error also happened when requesting a global lock. That edit still went through though.

I've seen this happen on rare occasion, though I can't figure out what the "http" failure code means. I've added a bit of logging, next time this happens please open your browser's console and paste the error message if it's anything more detailed than "http".

I haven't seen it since, so I suspect it is a issue with how SPI helper interprets responses from the API?

I haven't seen it since, so I suspect it is a issue with how SPI helper interprets responses from the API?

I have managed to get this to trigger by hitting refresh while spihelper is saving the log. Not sure what it means, mind you.

I have managed to get this to trigger by hitting refresh while spihelper is saving the log. Not sure what it means, mind you.

I just got this error using a different script. I was using the AfC helper script and a comment I made failed with the error "http". This is likely a mediawiki issue.

Not seen this error in ages. Plus refreshing the page when using the script has been made more difficult to achieve in normal use via a alert box after issue #19 was closed.


Make connection recording tests less senstive to semver hazards

Motivation and Context
A preparatory PR that relaxes test verification of the connection recording tests.
Description
This PR is a preparatory step for upcoming changes to the UserAgent, which will introduce new header values in x-amz-user-agent, such as ua/2.0 (user agent metadata) and m/A (business metrics).
However, the introduction of new header values will cause the following pain points:

we have to update many connection recording tests to make them pass again (i.e. the very places updated in this PR)
check for semver hazards fail to pass. This is much the same as we encountered in content length enforcement tests. This creates a chicken-and-egg problem: tests need to be updated for the PRs to pass CI, but the "released SDKs" in the aws-sdk-rust repository won't implement the new UserAgent header values until the PRs are merged and released.

To prevent recurring issues with headers affecting connection recording tests (hence semver checks), this PR preemptively updates the connection recording tests. Specifically, it adjusts them to ignore certain headers, ensuring that updates to the x-amz-user-agent header do not trigger semver hazards in subsequent PRs.
Questions:

This PR modifies the connection recording tests to skip verification of the x-amz-user-agent and authorization headers. Consequently, we no longer test the SigV4 signature match in aws/sdk/integration-tests. Although we continue to run canary tests in CI, it would be beneficial to maintain at least one integration test for verifying the correctness of the SigV4 signature. This helps in detecting potential bugs affecting SigV4 signature correctness early on.
To address this, I’ve added an awsSdkIntegrationTest that excludes the UserAgentInterceptor and checks the Signature value in the authorization header. The question is, do we want to keep this test? If future header updates cause semver hazards to fail, this test would also be affected. We would then need to repeat the process we are going through with this PR: update the test, release the change to aws-sdk-rust, and only then can we make subsequent changes without breaing semver hazards.

I've removed the commented-out tests and their associated connection recording files from request_information_headers.rs as part of cleanup, since there were no explanatory comments. Let me know if we want to restore these tests, and I will do so along with a comment explaining their purpose.

Testing

Existing tests in CI

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

This seems like we want to avoid this state right? What are we verifying with this test that isn't already verified as part of our signing test suite?

Yeah, I came to this conclusion after a few days of thinking. I'll go ahead and remove it, since it doesn't add much value.

Do they serve a purpose? If so maybe consider keeping them, if you find they are redundant or not "carrying their weight" then remove them.

Right, I probably went too far. I'll resurrect them.

I wonder if that shouldn't be the default or have a convenience method like:
// convenience with defaults, allows us to modify the default relaxed headers over time without adjusting every invocation in the future
pub fn relaxed_validate(media_type: &str) -> Result<...>{
self.validate_body_and_headers_except(DEFAULT_RELAXED_HEADERS, media_type)
}

I like that, given that many call sites repeatedly specify those parameters.


Can not overwrite files in the pipeline. Is it by design?

When I tried to read a file using a pipeline, edit the contents, and save it, I got unexpected behavior.
Is this correct behavior by design ?
# Create a text file for testing
PS> 'A' | Out-File -FilePath C:\test.txt

# Read file , modified, overwrite
PS> Get-Content -Path C:\test.txt -Raw | ForEach-Object {$_ + 'B'} | Out-File -FilePath C:\test.txt

# I expect that the output is 'AB', but it outputs nothing
PS> Get-Content -Path C:\test.txt -Raw

Yeah this is what you can call by design. Because Get-Content passes items along the pipeline one at a time, it's not going to be done reading the file by the time the Out-File cmdlet is called. In fact, the way the cmdlet is designed, the file handle isn't released until the pipeline is completed, so you can't read and write to a file in the same pipeline.
The short solution is to force all the input to be pulled before sending it along the pipe; this can be done pretty simply with some parentheses:
$Path = 'C:\Test.txt'
'A' | Set-Content -Path $Path
(Get-Content -Path $Path -Raw) | ForEach-Object { $_ + 'B' } | Set-Content -Path $Path
Get-Content -Path $Path -Raw

Given the behaviour of -Raw I don't see why it wouldn't be able to release the file handle early in that particular situation, since it's reading the whole file in one go anyway. That would be a possible feature enhancement, I would think. 🙂

@vexx32 This is off topic but this is a great example of why it'd be nice if commands were disposed directly after EndProcessing.  You could place an Out-String before Set-Content and the whole thing would just work.

@SeeminglyScience Good point! I guess this will be a bit easier moving forward. I have a couple PRs to put in first, though. 😄

Thanks @vexx32
I understood about the behavior. I appreciate your good solution. 😄
May I close this issue ?

Of course. ^^

@vexx32 Please open new tracking issue if you plan to pull a fix.

@iSazonov a true fix is pretty dicey but some of the changes necessary for #9900 will make this much less tricky to handle, as the file handle should be closed as soon as the command is done with its output.
I'll have to see if that actually is the case or there needs to be changes in Get-Content specifically. I'll open a tracking issue. 👍


In reports, split first and last names into separate columns

It would be very helpful to split employee names into first and last columns to allow sorting both ways in reports.
Votes: 1
Author: swells
Voters: swells

let's change to last, first
Author: postit


char_vocab.english.txt not accessible

Hello,
I'm trying to go through the README steps, to run python demo.py final
It seems like the latest commit removed the lines to curl char_vocab.english.txt.
Doing curl -o char_vocab.english.txt https://www.googleapis.com/storage/v1/b/e2e-coref/o/char_vocab.english.txt?alt=media directly leaves me with an empty file though.
After that demo.py crashes at line 47 with a tensorshape mismatch in the coref_model.py at line 90.
I suspect it might be related to my char_vocab.english.txt being empty?
Could you tell me how I could get this file?
EDIT: Found what I needed here: https://raw.githubusercontent.com/luheng/lsgn/master/embeddings/char_vocab.english.txt

I recently moved the resources to yet again for various uninteresting reasons. Please see the latest https://github.com/kentonl/e2e-coref/blob/master/README.md for how to got all the files.

I suspect that I am observing something to what @Natithan has observed.
(env3.6) huntsman-ve506-0062:e2e-coref daniel$ python demo.py final

WARNING: Logging before flag parsing goes to stderr.
W0429 19:46:45.946565<PHONE_NUMBER>19264 __init__.py:56] Some hub symbols are not available because TensorFlow version is less than 1.14

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.

[nltk_data] Error loading punkt: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed
[nltk_data]     (_ssl.c:852)>
Setting CUDA_VISIBLE_DEVICES to:
Running experiment: final
max_top_antecedents = 50
max_training_sentences = 50
top_span_ratio = 0.4
.
.
.
Done loading word embeddings.
Loading word embeddings from glove_50_300_2.txt...
Done loading word embeddings.
Traceback (most recent call last):
  File "demo.py", line 45, in <module>
    model = cm.CorefModel(config)
  File "/Users/daniel/ideaProjects/e2e-coref/coref_model.py", line 27, in __init__
    self.char_dict = util.load_char_dict(config["char_vocab_path"])
  File "/Users/daniel/ideaProjects/e2e-coref/util.py", line 58, in load_char_dict
    with codecs.open(char_vocab_path, encoding="utf-8") as f:
  File "/Users/daniel/ideaProjects/e2e-coref/env3.6/bin/../lib/python3.6/codecs.py", line 897, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'char_vocab.english.txt'

I suspect that , probably during commit #5dc53a5dc2c852f9b8886a01ca57c8b893acca09.
Had to curl it manually: curl -O http://lsz-gpu-01.cs.washington.edu/resources/coref/char_vocab.english.txt

@danyaljj can you tell me where is the file “glove_50_300_2.txt.”
I just met this issue " FileNotFoundError: [Errno 2] No such file or directory: 'glove_50_300_2.txt'
" when I run "python demo.py final"


Pico + microROS + FreeRTOS - Implementation attempt.

I am trying to use the FreeRTOS scheduler to run microROS on a RPi Pico.

Hardware description: Raspberry Pi Pico
RTOS: FreeRTOS
Installation type: as described here
Version or commit hash: foxy

Steps to reproduce the issue
I followed the tutorial mentioned above. Then I expanded the basic example to have two publishers and two subscribers. From ROS2, I have two publishers; then, the two subscribers in the Pico would read the data being published, modify it and publish it, which I could monitor from the terminal using the echo command. That worked well.
On the other hand, I followed this tutorial to make use of the FreeRTOS and turn on some LEDs. That also worked well.
Finally, I combined both programs, so I basically put what's on the main loop of the microROS program inside a function called run_uros and created a task with FreeRTOS to run it as:
xTaskCreate(run_uros, "microROS", 512, NULL, 1, NULL);
vTaskStartScheduler();

Expected behavior
I am not sure if this is the right approach to use FreeRTOS together with microROS, but given that it runs only one task, I would expect it to run the same. The idea is that later I could implement other tasks, such as reading sensors and controlling actuators.
Actual behavior
The behavior is almost as expected. The only problem that I'm having is that I am receiving data from the publishers in the MCU very slowly. I publish data through ROS2 and I have to wait about 15 seconds to see it published by the Pico.
Am I wrong for using this approach? Is there a better approach? Should I put the microROS callbacks in FreeRTOS tasks? Any guidance would be appreciated.

Provide steps for replicating this issue. Try to avoid extra configuration (FreeRTOS). We would like to replicate this slow behavior of the micro-ROS API.
If this behavior is not replicable without FreeRTOS, it might be related to your task's configuration. Remember that micro-ROS is not thread-safe and you need to enable a flag in the middleware: https://github.com/eProsima/Micro-XRCE-DDS-Client/blob/fda7242ed93a81915a75157a56be11fcbd025a98/CMakeLists.txt#L67

All I did was follow this tutorial, then I modified the .c file to incorporate 2 publishers and 2 subscribers. It all worked well. Then I followed this tutorial to add FreeRTOS. I did nothing else. I attach my source code as txt and CMakeLists file if you can take a look. I am using the micro_ros_raspberrypi_pico_sdk. I don't see where I can enable the multithread support there.
CMakeLists.txt
pico_micro_ros_example_dot_c.txt

Sorry but I do have not much bandwidth to look at this, but I see that your micro-ROS task has a low priority and also just 512 of the stack. Try to increase this stack, and the priority in order to see if something changes.

Sorry but I do have not much bandwidth to look at this, but I see that your micro-ROS task has a low priority and also just 512 of the stack. Try to increase this stack, and the priority in order to see if something changes.

That actually helped, to the point that it's hard to see the delay with the naked eye. I'd like to analyze the behavior with an oscilloscope. Thank you for the suggestion.
I know FreeRTOS is not officially supported to use MicroROS on the Pico but what do you think of my approach to use FreeRTOS and put the executor spin in a task? I'm ok with using only one node for the 2 publishers and 2 subscribers. Do you think there would be any downsides to this method?
I am now concerned with enabling multithreaded support, as the microROS-Pico SDK doesn't seem to contain a CMakeLists file like the one you pointed out. Is there any other way to enable this for the Pico or would that be necessary if I do all microROS-related operation in one task?

Thank you for your help!


Please add support for multi-lines!

This project is awesome, I searched for this for a long time! But without multi-lines support it is not very useful in real apps. Please add multi-lines support! Thank you!

i don't find a way to solve it 😭

got it.


Force chrony to synchronize

This change is

Unfortunately, this doesn't seem to work properly. After the chronyc -a makestep, the clocks are still not synchronized for a bit. Sending this out in the hopes that it nerd snipes one of you into tracking down why.

I don't see ntp being disabled anywhere. Isn't it installed by default?

@mberhault:
~ ps axuww | grep ntp
ubuntu    3632  0.0  0.0  12944   968 pts/0    S+   13:51   0:00 grep --color=auto ntp

I think this is working now. The key was the use of waitsync. The output from that indicates that chronyd is often taking a few seconds to perform the synchronization.

Ping. I'd like to merge this before tonight's nightly roachtest run.


firefox-wrapper: unset GDK_BACKEND with forceWayland

Motivation for this change
Slack was setting GDK_BACKEND=x11, breaking forceWayland
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Feels like a hack to workaround a Slack bug, did you try to bring it up with them (I ask, realizing what a pointless ask that might be, sorry).

Are you sure Slack was setting this, and not you setting it for Slack? Is that stuff even necessary anymore? I haven't had to think about launching Discord under sway for well over a year or more.

While I maintain the firefox package I have rarely looked at the wrapper. Also using weeslack or the web client, so I'm removing my review request.

@colemickens IMO, forceWayland is already a hack/workaround for this usecase. I think this patch is in scope for it.
I'm pretty sure I'm not setting GDK_BACKEND=x11 (I checked the slack wrapper), but slack's /proc/environ is empty, so I can't tell where exactly it appears.

Ping, this still affects me.

I still don't understand why we're making a wrapper undo part of your environment. What DE are you using, etc?

I'm using sway.
My environment does not contain the GDK_BACKEND env variable, and xdg-open http://google.com opens the link in firefox just fine. However, opening any link from slack causes it to call xdg-open with this environment variable set to x11, which causes the firefox IPC to fail (since it's trying to go via x11).
I've checked the slack wrapper, and it does not set GDK_BACKEND, so I have no idea where it's coming from. IRC suggested using the firefox-wayland wrapper to force firefox to use wayland, but it turned out not to have this 'feature'.

Sorry to do this, but there's no possible chance you explicitly overrode the Slack desktop launcher to specify GDK_BACKEND=x11? Because that's recommended in places on the Internet and would exhibit itself like this, if I understand correctly.

❯ echo $GDK_BACKEND

❯ cat .nix-profile/share/applications/slack.desktop
[Desktop Entry]
Name=Slack
StartupWMClass=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/bin/slack %U
Icon=/nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/share/pixmaps/slack.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;

❯ cat /nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/bin/slack
#! /nix/store/a4yw1svqqk4d8lhwinn9xp847zz9gfma-bash-4.4-p23/bin/bash -e
export XDG_DATA_DIRS='/nix/store/2bqip8j6v2hxpafpsaahfdq851i01nan-gsettings-desktop-schemas-40.0/share/gsettings-schemas/gsettings-desktop-schemas-40.0:/nix/store/fdjrhdgvhic14jg6llvm6vz2jvgnhfl6-gtk+3-3.24.27/share/gsettings-schemas/gtk+3-3.24.27'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export PATH='/nix/store/kn6kaiiyi1s64wpa0cbc6v6ik6r2h9ac-xdg-utils-unstable-2020-10-21/bin'${PATH:+':'}$PATH
exec "/nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/lib/slack/slack"  "$@"

❯ file /nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/lib/slack/slack
/nix/store/4x1mf6hn8yw0ml0cpmv8l7jnija2maib-slack-4.16.0/lib/slack/slack: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/sbbifs2ykc05inws26203h0xwcadnf0l-glibc-2.32-46/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=50300d22dcba520f8681cbf4f8bd71ff9320371c, stripped

Closing because stale


CLI/Benchmark: Add --clients flag

Add the --clients flag to run the benchmark across multiple clients. When not set, use one client by default.
(The motivation is so that I can use this as a load generator to reproduce a scenario that requires many clients.)
Adding this feature involved a lot of refactoring -- some necessary, some incidental. I think I kept all of the many existing features intact though.
Some notes:

The workload generation logic didn't change, it just moved around.
I tried to keep the output the same, modulo some cleanup.

Benchmark output before
1222 batches in 30.45 s
transfer batch size = 8190 txs
transfer batch delay = 0 us
load accepted = 328409 tx/s
batch latency p1 = 9 ms
batch latency p10 = 13 ms
batch latency p20 = 14 ms
batch latency p30 = 16 ms
batch latency p40 = 18 ms
batch latency p50 = 21 ms
batch latency p60 = 25 ms
batch latency p70 = 28 ms
batch latency p80 = 30 ms
batch latency p90 = 31 ms
batch latency p95 = 34 ms
batch latency p99 = 111 ms
batch latency p100 = 121 ms

100 queries in 3.97 s
query latency p1 = 26 ms
query latency p10 = 28 ms
query latency p20 = 29 ms
query latency p30 = 31 ms
query latency p40 = 33 ms
query latency p50 = 39 ms
query latency p60 = 43 ms
query latency p70 = 45 ms
query latency p80 = 47 ms
query latency p90 = 51 ms
query latency p95 = 54 ms
query latency p99 = 62 ms
query latency p100 = 101 ms
validated 10000 accounts, 10000000 transfers
2024-12-16 14:45:21.589Z info(main): stdin closed, exiting

rss =<PHONE_NUMBER> bytes

datafile empty =<PHONE_NUMBER> bytes
datafile =<PHONE_NUMBER>6 bytes

Benchmark output after
1222 batches in 30.36 s
transfer batch size = 8190 txs
transfer batch delay = 0 us
load accepted = 329362 tx/s
batch latency p1 = 7 ms
batch latency p10 = 11 ms
batch latency p20 = 12 ms
batch latency p30 = 14 ms
batch latency p40 = 16 ms
batch latency p50 = 18 ms
batch latency p60 = 22 ms
batch latency p70 = 25 ms
batch latency p80 = 27 ms
batch latency p90 = 29 ms
batch latency p95 = 32 ms
batch latency p99 = 106 ms
batch latency p100 = 129 ms

100 queries in 4.1 s
query latency p1 = 26 ms
query latency p10 = 28 ms
query latency p20 = 30 ms
query latency p30 = 31 ms
query latency p40 = 33 ms
query latency p50 = 38 ms
query latency p60 = 44 ms
query latency p70 = 45 ms
query latency p80 = 48 ms
query latency p90 = 50 ms
query latency p95 = 56 ms
query latency p99 = 64 ms
query latency p100 = 114 ms
validated 10000 accounts
validated 10000000 transfers
2024-12-16 15:10:16.318Z info(main): stdin closed, exiting

rss =<PHONE_NUMBER> bytes

datafile empty =<PHONE_NUMBER> bytes
datafile =<PHONE_NUMBER>2 bytes

Benchmark output after (with clients=2)
1222 batches in 30.08 s
transfer batch size = 8190 txs
transfer batch delay = 0 us
load accepted = 332410 tx/s
batch latency p1 = 37 ms
batch latency p10 = 41 ms
batch latency p20 = 47 ms
batch latency p30 = 72 ms
batch latency p40 = 78 ms
batch latency p50 = 90 ms
batch latency p60 = 107 ms
batch latency p70 = 116 ms
batch latency p80 = 125 ms
batch latency p90 = 150 ms
batch latency p95 = 183 ms
batch latency p99 = 198 ms
batch latency p100 = 218 ms

100 queries in 4.2 s
query latency p1 = 109 ms
query latency p10 = 116 ms
query latency p20 = 118 ms
query latency p30 = 132 ms
query latency p40 = 175 ms
query latency p50 = 181 ms
query latency p60 = 185 ms
query latency p70 = 192 ms
query latency p80 = 194 ms
query latency p90 = 203 ms
query latency p95 = 207 ms
query latency p99 = 214 ms
query latency p100 = 252 ms
validated 10000 accounts
validated 10000000 transfers
2024-12-16 15:16:57.048Z info(main): stdin closed, exiting

rss =<PHONE_NUMBER> bytes

datafile empty =<PHONE_NUMBER> bytes
datafile =<PHONE_NUMBER>0 bytes

Apologies for all of the force-pushes; I made a mess of resolving a merge conflict with main.


Add option to suppress windows-bindgen comment in generated code

This just avoids a lot of churn whenever the version of the windows-bindgen crate changes in this repo.

New nightly warnings breaking the build - separate PR coming to resolve those.


Add text, appear default 'double click' text can not be modified

When I used tui-image-editor3.15.3 in the vue3 project, when I added text to the image, the default 'double click' text was not modified。so I wanted to add it to locale to do that。thanks

@XL-shi not sure what you're using, maybe this can help you though:
https://github.com/nhn/tui.image-editor/issues/354#issuecomment-720410463


fix wide layout + more

This PR fixes

the layout for horizontal resolutions greater than 1280 pixels
the position of the See all stewards button on the desktop ViewCollective page
the width of the SEE YOUR IMPACT button on desktop
replaces overflow: 'scroll' with overflow: 'auto'

@krisbitney sorry m8, should have mentioned this earlier
the more complete fix would be to use Platform.select and set the style property for web/android separately

@krisbitney sorry m8, should have mentioned this earlier the more complete fix would be to use Platform.select and set the style property for web/android separately

That's fantastic. Thank you. I made the change.


fix: support animation on android

See the problem will play Animation, why not fix it.

why android only? can't be done on user land instead?

Anyone interested in pushing this PR forward? I'm not convinced this should be accepted, since it seems like it's outside of scope of the library and should just be done in app code… But explain to me why this is important and I'm OK with this, as long as it works consistently across iOS and Android


Can't deserialise class in consumer

Hello!
I have one question.
I have a consumer that receives a command with an object of INotify interface type.
I create an object of type: NotifyByEMailJob: NotifyMessage, INotify and send it to consumer. And in consumer I can't cast an object to my type NotifyByEMailJob. The type of object I'm receiving in consumer: {DynamicInternal08d4092b9ff289e3c48508ebeed50000.HG.Core.Framework.Notification.INotify}.
Is any way to cast an object to my type?
Thank you.

When you subscribe to an interface, MassTransit creates a dynamic backing class for that interface. Therefore, you can't cast it to a specific type. If you need the type, you should subscribe to the type -- MassTransit will deal with the dispatching for you. If you're trying to just subscribe to "INotify" you're going to have a bad time if you really want NotifyByEmailJob.

Thank you for the response. But in that consumer I can send another classes that are inherited from INotify. It can be NotifyBySMSJob, NotifyByPhoneJob etc. Now I'm playing with custom serialization/deserialization.  May be it'll help me. If no, I'll made several consumer.

That's the best approach. Make several consumers and let MassTransit do the hard work of type distribution.

Ok, I'll make several consumers.
Thank you again.


Cli rework in argparse (user only)

This includes the transition code that @henn mentioned last meeting. Users can now call cli commands and cli_new commands (for user only) on the command line. Once this piece of code is checked, we can add the other pieces to it. Better documentation will be coming over spring break, but right now please use the example guide we sent over email during IAP.
Please squash commits when merging, thanks!

Some initial comments/questions from myself and @naved001 :

I really like the object oriented design that you used and how well you organized the code!
Is it possible to place argument parsing closer to the function itself? For example, CommandListenener contains the function user_register_func(), which contains all of the parsing info for user_create(). If possible, it would be nice to keep all of the info about a method, including arg parsing, in the same place, next to the function itself.
Similar to above, it might be worth considering moving the creation of subparsers out of the big CommandListener class in cli_new.py and next to the functions. That way, later down the line if we decide to break the CLI into submodules, new commands can in a sense register themselves. I would suggest that the only options kept in the big CommandListener be global options (like --user or --endpoint). This is more stylistic, though.
Can we reduce the functions to just the user-related ones for this pull request? That way, we can keep the size of this PR to a minimum to focus on getting the new CLI infrastructure the way we want it and not need to spend a lot of time coding/reviewing the other components. We can save that code off and integrate in a future PR.
In keeping with the DRY principle, we should have the argcomplete code be the same as the regular argparse. Otherwise, it will be really easy for them to get out of sync.

Also, @naved001 and I addressed at least one reason that the tests were failing in cebd7b2da3ba8fc77bdf404ae0c660bf73226c18

Looking at the newest failures, I think implementing suggestion 4 above will fix it, as the tests are complaining about the return values from haas serve. By not implementing haas serve in this PR, we can work on that later!
Yay for procrastination!

We've got merge conflicts and this doesn't look terribly near completetion bitrot aside. Wondering how we want to go about managing this, given the impending freeze/get everything merged sprint.

I'm going to close this for now, until we can find an owner.


UI problems with tests

Environment data
VSCode version: 1.44.2
OS: Ubuntu 20.04, Linux x64 5.4.0-26-generic
Extension version:  2020.4.76186, using Language Server
Python: 3.7.7 using "-m venv"
Pytest version: 5.4.1, with "-vv --capture=no --showlocals --exitfirst --failed-first"
python.languageServer: Microsoft
Expected behavior
When running an individual python test file using pytest from the VSCode UI, the tests should be marked as passed.
Also when a test function is discovered, it should have "run test | debug test" links above it.
Actual behavior
Even if the tests pass, sometimes they are not marked as passed, and seem to be running forever. However the log do show that they passed.
What's more, tests can only be triggered from the side bar, as the "run test | debug test"  links don't appear above the test functions.
Steps to reproduce:
I couldn't find a way to reliably reproduce the problem: I tried to setup a minimal example, but it ran correctly.
Some clues:

The tests run with pytest from the terminal normally. They finish, and are labelled as passed
Running all the tests from the VSCode UI works as intended
Running individual test files from the VSCode UI may fail to mark the tests as passed

The test logs do state that the tests passed in all the cases, even when they are marked as still running:
=========================
============================= test session starts ==============================
platform linux -- Python 3.7.7, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 -- /home/user/.local/share/virtualenvs/ps/bin/python
cachedir: .pytest_cache
rootdir: /home/user/Work/dev_perso/postscriptum, inifile: ../../../../../media/user/shared/Work/dev_perso/postscriptum/setup.cfg
plugins: icdiff-0.4, subtests-0.3.0, testmon-1.0.2, xdist-1.31.0, cov-2.8.1, forked-1.1.3
collecting ... collected 2 items
run-last-failure: no previously failed tests, not deselecting items.

../../../../../../home/user/Work/dev_perso/postscriptum/::test_register_and_restore_except_handler <- ../../../../../media/user/shared/Work/dev_perso/postscriptum/tests/unit/test_excepthook.py PASSED
../../../../../../home/user/Work/dev_perso/postscriptum/::test_register_and_restore_except_handler_with_call <- ../../../../../media/user/shared/Work/dev_perso/postscriptum/tests/unit/test_excepthook.py PASSED

------------- generated xml file: /tmp/tmp-282165cdolyubcJ7t6.xml --------------
============================== 2 passed in 0.10s ===============================

Here is a gif of the problem in action:

Are you using pytest sugar plugin?

No, but I'm using the following pytest plugins:
pip freeze | grep pytest
pytest==5.4.1
pytest-cov==2.8.1
pytest-forked==1.1.3
pytest-icdiff==0.4
pytest-subtests==0.3.0
pytest-testmon==1.0.2
pytest-watch==4.2.0
pytest-xdist==1.31.0

That wouldn't explain why the test functions don't have links above them though.

There're other extensions (for example, Liveshare) which are known to cause issues with Codelens (the links you're talking about). So please try disabling the other extensions and see if you reproduce the issue.

If vscode parses the output to determine if a test is passed, that could mess it up.

Yes, that's exactly what we've to do.
Unfortunately I am unable to repro this, so the only solution I can offer is that you try removing the configurations to diagnose which one of them is causing a problem.

Closing as no further info was provided.


Fix: Conflicting peer dependencies with React

The ink dependency required React 17 but we had a core dependency of
React 16. The conflicting react versions caused issues when running.
This has now been fixed by bumping React to 17 and adding
check-peer-dependencies package so that we can catch this in the
future as part of our tests.
This fixes https://github.com/ethanfann/slackmojis-dl/issues/32

Thanks for stepping in and creating this!


Start playlist from Home Assistant Media

What version of Music Assistant has the issue?
2022.6.10
The problem
I have an Automation that starts a playlist from Spotify, it runs through Home Assistant Media player. But it does nor work anymore. When i try to start a playlist through Media player it just respons with a error message.
How to reproduce
Comes with error message when you try to start a playlist from Home Assistant Media player
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.7.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Hi @ENGBERG80
We will look into that. Please include the error from your log in this issue.
Additionally add the party of your automation (the service call) that fails to see if that is composed correctly.
Best Eric

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/mass/media_source.py:195
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 22.24.37 (6 occurrences)
Last logged: 23.27.21
[547545610608] Error handling message: Unknown error (unknown_error)
[547138084032] Error handling message: Unknown error (unknown_error)
[547138085856] Error handling message: Unknown error (unknown_error)
[547325999952] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 1218, in websocket_browse_media
payload = await player.async_browse_media(media_content_type, media_content_id)
File "/config/custom_components/mass/media_player.py", line 434, in async_browse_media
return await media_source.async_browse_media(
File "/usr/src/homeassistant/homeassistant/components/media_source/init.py", line 112, in async_browse_media
item = await _get_media_item(hass, media_content_id, None).async_browse()
File "/usr/src/homeassistant/homeassistant/components/media_source/models.py", line 86, in async_browse
return await self.async_media_source().async_browse_media(self)
File "/config/custom_components/mass/media_source.py", line 139, in async_browse_media
return await self._build_playlists_listing(mass)
File "/config/custom_components/mass/media_source.py", line 195, in _build_playlists_listing
for item in await mass.music.playlists.library()
AttributeError: 'PlaylistController' object has no attribute 'library'

I guess you are on one of the early 2022.7 beta's of MA. Please update to the latest beta 6 and the above error is solved.

Thanks for sharing these errors. In order to help Marcel in diagnosing/reproducing the issue, it is helpful to share the automation call that triggers them as well.
Best Eric

Fix available in the 2022.7 release!
Please reopen (or create a new issue) if you still may experience issues. Thanks!


🚀 - When to wait for map-style-editor support

Description
When to wait for map-style-editor support? Is there no way to customize the color of the card now? Thank you for your work.
Library name

[ ] angular8-yandex-maps
[X] angular-yandex-maps-v3

Hey! Could you please provide an example with map-style-editor? I couldn't find anything. What do you mean by "customize the color of the card"? Anyway, the global API is exported, you can access it and create anything you want


Skeleton code for aikidopy using pybind11

This PR addresses my comments in #499 myself. Plus, refactor the code structure based on dartpy to be more scalable.
It may not pass the CI tests until #527 is merged.
This PR is based on and targetting to #499. Feel free to modify this PR directly.

Before creating a pull request

[ ] Document new methods and classes
[ ] Format code with make format

Before merging a pull request

[ ] Set version target by selecting a milestone on the right side
[ ] Summarize this change in CHANGELOG.md
[ ] Add unit test(s) for this change

@jslee02 would you mind looking into the conflicts? Thanks!


Java Proxy - Add resets to the response object before reuse.

While using the java version of the proxy, I noticed that the response body would occasionally be truncated. After some investigation, I realized that this was only happening when the proxy was calling fetchAndPassBackToClient() more than once. It appears that the original content length, along with several headers, were being maintained from the original error response, and getting merged with the new, successful response.
To avoid this behavior and start with a fresh response object, I've added resets. More details about what reset does can be found here.
I've validated this fixes the truncation and extra headers issues.
All testing/dev done on Java 1.7.0_161, with the servlet being hosted by Apache Tomcat/7.0.84

Hi, I got same Error on our proxy, thanks for the solution!

Why is this pull request not merged?

Why is this pull request not merged?

Hi @Mattes1000
Primarily due to a lack of testing on multiple set ups and with multiple scenarios.  Have you been able to test and verify this pull request?  If so, on what versions/software?


trying to update cartographer

I was having a working cartographer on my laptop. After a month I try it again and get some errors:
process[cartographer_node-2]: started with pid [13540]
/home/elgarbe/catkin_ws_cart/install_isolated/lib/cartographer_ros/cartographer_occupancy_grid_node: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory
process[cartographer_occupancy_grid_node-3]: started with pid [13555]
process[rviz-4]: started with pid [13559]
process[playbag-5]: started with pid [13560]
[cartographer_node-2] process has died [pid 13540, exit code 127, cmd /home/elgarbe/catkin_ws_cart/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/elgarbe/catkin_ws_cart/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_2d.lua imu:=/mavros/imu/data fix:=/mavros/global_position/raw/fix __name:=cartographer_node __log:=/home/elgarbe/.ros/log/19df25c6-a653-11e8-af87-7c67a237b388/cartographer_node-2.log].
log file: /home/elgarbe/.ros/log/19df25c6-a653-11e8-af87-7c67a237b388/cartographer_node-2*.log
[cartographer_occupancy_grid_node-3] process has died [pid 13555, exit code 127, cmd /home/elgarbe/catkin_ws_cart/install_isolated/lib/cartographer_ros/cartographer_occupancy_grid_node -resolution 0.05 __name:=cartographer_occupancy_grid_node __log:=/home/elgarbe/.ros/log/19df25c6-a653-11e8-af87-7c67a237b388/cartographer_occupancy_grid_node-3.log].
log file: /home/elgarbe/.ros/log/19df25c6-a653-11e8-af87-7c67a237b388/cartographer_occupancy_grid_node-3*.log
[ERROR] [1534973649.034750761]: PluginlibFactory: The plugin for class 'Submaps' failed to load.  Error: Failed to load library /home/elgarbe/catkin_ws_cart/devel_isolated/cartographer_rviz/lib//libcartographer_rviz.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libglog.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)

maybe for an update of some package on my pc. So I want to update cartogrpher as well.
I run
wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall
then I run
wstool update -t src
but I get an error:
elgarbe@elgarbe-Inspiron-5567:~/catkin_ws_cart$ wstool update -t src
[cartographer] Updating /home/elgarbe/catkin_ws_cart/src/cartographer
[cartographer] Done.
[cartographer_ros] Updating /home/elgarbe/catkin_ws_cart/src/cartographer_ros
WARNING [vcstools] Command failed: 'git checkout 1.0.0'
 run at: '/home/elgarbe/catkin_ws_cart/src/cartographer_ros'
 errcode: 1:
error: Your local changes to the following files would be overwritten by checkout:
	cartographer_ros/configuration_files/backpack_2d.lua
	cartographer_ros/launch/backpack_2d.launch
Please, commit your changes or stash them before you can switch branches.
Aborting

how can I stash the changes to that files? I already backuo them...

I'm traying to install a new copy of cartographr following instruction here:
https://google-cartographer-ros.readthedocs.io/en/latest/index.html
but I get an error:
cartographer/mapping/proto/scan_matching/ceres_scan_matcher_options_2d.proto:15:10: Unrecognized syntax identifier "proto3".  This parser only recognizes "proto2".
[4/338] cd /home/elgarbe/catkin_ws_carto/build_isolat...o/build_isolated/cartographer/install/AllFiles.cmake"
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
  Command '['/home/elgarbe/catkin_ws_carto/install_isolated/env.sh', 'ninja', '-j4', '-l4']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/elgarbe/catkin_ws_carto/build_isolated/cartographer && /home/elgarbe/catkin_ws_carto/install_isolated/env.sh ninja -j4 -l4

Command failed, exiting.

any help?


Remove unnecessary dependencies

prop-types should be a regular dep, not peer
fusion-tokens was unused except for a test file so it doesn't belong in peer, just dev

!merge


Question: What is the Azure Devops alternative for this plugin?

At my customer we use both jenkins and azure devops.
For jenkins i have integrated octane with https://plugins.jenkins.io/hp-application-automation-tools-plugin/ and this plugin.
For azure devops we use https://marketplace.visualstudio.com/items?itemName=ALMOctane.alm-octane-integration-public but it's not clear how to transfer the gherkin results since bdd2octane is made for the jenkins integration. Is this the right place to ask?

You can bdd2Octane tool with command line , and then add the to Azure end task on "Cucumber report destination path" the report that generated by bdd2Octane tool
in my Azure those are the values
CMD:
java -jar c:/bdd2octane/bdd2octane-1.1.3.jar --reportFiles=/target/surefire-reports/.xml --featureFiles=/src/test/resources/F1/.feature --framework=cucumber-jvm --resultFile=bdd2OctaneResult/cucumber-jvm-result.xml
End task configuration:
CucumberReportPath: bdd2OctaneResult

@nissimshitrit so the CucumberReportPath should point to the folder bdd2OctaneResult, not a regex for the xml files?

@nissimshitrit already got my answer, indeed the folder. Thanks! Closing question.


[Enhancement](inverted index) fix compound predicates error

Proposed changes
Issue Number: close #24299
fix wrong execution in compound predicates on compound function
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Several fixes

Storage accounts syntax was changed in the latest version of azurerm.
In addition, encryption permissions and methods had to be manually declared.

Thanks Chad, fixed accordingly

Almost there - this takes care of a lot of the issues, especially azure's change of Unwrapkey and Wrapkey to UnwrapKey and WrapKey. Thanks!


Named export 'useDropzone' not found

Experiencing this error after following documentation.
error - file:///Users/kastanday/code/githubs/vercel_t3_app/learning-t3/node_modules/@uploadthing/react/dist/index.mjs:119
import { useDropzone } from "react-dropzone";
         ^^^^^^^^^^^
SyntaxError: Named export 'useDropzone' not found. The requested module 'react-dropzone' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'react-dropzone';
const { useDropzone } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5) {
  digest: undefined
}

Might be related to this: https://github.com/react-dropzone/react-dropzone/issues/1259
Apologies, I'm new to react and couldn't determine the proper fix from this thread.

Have you tried deleting your node_modules directory & lock-file and re-running npm install or pnpm install (depending on what you're using)? It might help.

@Caketime Thanks for the suggestion (especially since I'm junior at front-end), but after deleting node_modules and package-lock.json and npm install I got the same error.

@KastanDay Sorry to hear that it didn't help. React / Nextjs is also very new for me. There's lot's to learn 😄
So according to the bug report you shared, this issue comes up when react-dropzone get's into the server-side rendering part of the react app.
Maybe check if you have added uploadthing into something like a "getStaticProps" function. That was explained by theo in his web dev tutorial last month. I've also seen things being marked for server side rendering with the "use server" flag (although I don't fully understand that flag yet).

Turns out I missed the giant warning in the docs: https://docs.uploadthing.com/nextjs/pagedir

If you're using the /pages directory in Next still, you HAVE TO DISABLE THE esmExternals FLAG:
// next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    esmExternals: false, // THIS IS THE FLAG THAT MATTERS
  },
};

module.exports = nextConfig;


Since 12.4.2 only SHA2 checksums on maven central

Problem description
Since version 1.4.111 the driver artifacts in maven central only have .sha256 checksum files.
.sha1 files are still mandatory, and not having them can cause problems (for example when directly talking to maven central it will provide a generated sha1 header so maven does not complain, but some proxy repository managers might not be so smart, resulting in "missing checksum" errors.
While investigating this I also notices that you provide checksum files for signatures files. This is somewhat frowned upon, is this intentional? https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/12.4.2.jre11/mssql-jdbc-12.4.2.jre11.jar.asc.sha256
Good version with only SHA1 and MD5:
https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/12.4.1.jre11/
first (released) bad version:
https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/12.4.2.jre11/
All recent preview versions also have this problem.
Can you maybe also describe where and how you stage your central releases, it looks to me like the validation of staging artifacts needs to be fixed if they accept this.
I dont see specific options, your deploy plugin in the pom seems a bit old, but none of them should have that problem. Or do you deploy with gradle?

Here is the thread on maven-users with the statements that sha1 is still mandatory and no checksums for signatures, and some description of the problems it causes with nexus3:
https://lists.apache.org/thread/msqjgdb7cog6klz1ydkwnz3tvs77p8b8

Just an update on this. Prior to 12.4.2, releases were directly handled by us. But moving forward, because of compliancy, we had to switch over to an internal pipeline plugin to handle our releases. And because of this switch, we had to use sha256 and provide checksums of signatures for release. Otherwise we wouldn't be complying with the new policy and releasing wouldn't be permitted. I'm corresponding with the team who handles these things. I'll let you know if I learn anything new. We intend to have a stable release by January 31st, so I hope to have things resolved by then.

and provide checksums of signatures

Personally I think they can be helpful and do no harm, so that part I would not lose sleep about. But the missing sha1 files is an issue (and I really wonder why central does not do more basic consistency checks given the fact it’s ethereal).

For other Artifacts like the Auth DLLs also the POM is missing since 12.4.2. Maven or Gralde build fails without a POM.
https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc_auth/12.4.2.x64

Thanks, that's also on my radar as well. By the time next release comes around (January 31st), this should all be resolved.

Hi @ecki,
Release has concluded. Expect the latest 12.6 release to be available on Maven in the next day, including the correct checksums and signatures.


read real data from Slack

User story

As a project team
We need to read data from the QAware Slack in the database
So that experience with real data can be collected and tests with real data can be performed

Acceptance criteria

representative data from Slack is collected
dummy data is removed from the database
real data is read into the database

Definition of done (DoD)

Acceptance criteria are met.
Work products are uploaded to the Github repository.
A pull request is created for each related branch.
The work products in the pull requests are reviewed.
The corresponding branches are merged and closed.
The bill of materials section of the planning documents is updated.
All defined conventions are complied with.

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Blocked because of missing access rights. Slack-Admin is contacted.


SQL error when using pg_search in combination with eager_load or includes with references

PgSearch's pg_search_scope option does not work when combining it with Rails' includes/eager_loads functionality (and using the associations in the query, i.e. references). The generated SQL is then invalid. I believe using pg_search then overwrites the given includes/eager_loads associations, causing the query to be invalid because it is missing the needed (left outer) join statements. I think I can best illustrate this with an example:
Suppose we have a simple setup with two models: Book and Author. A book belongs_to an author. I can search books by their title using PgSearch. For this I use the following definition: pg_search_scope :search, against: :title. I can search books by title using Book.search('sometitle'). So far so good.
Now I want to select all books with their authors not written by a Kevin: Book.includes(:author).where.not(authors: { name: 'Kevin' }).references(:author). Still so far so good.
However, now I want to combine these two, i.e. I want to search in the books not written by a Kevin and eager load their author's. The following statement does not work: Book.includes(:author).where.not(authors: { name: 'Kevin' }).references(:author).search('sometitle'). This leads to an SQL error:
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  missing FROM-clause entry for table "authors"
LINE 1: ...search_6e317bcd6839e887739541.pg_search_id WHERE ("authors"....
                                                             ^
: SELECT "books".* FROM "books" INNER JOIN (SELECT "books"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("books"."title"::text, ''))), (to_tsquery('simple', ''' ' || 'sometitle' || ' ''')), 0)) AS rank FROM "books" WHERE (((to_tsvector('simple', coalesce("books"."title"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'sometitle' || ' '''))))) AS pg_search_6e317bcd6839e887739541 ON "books"."id" = pg_search_6e317bcd6839e887739541.pg_search_id WHERE ("authors"."name" != $1)  ORDER BY pg_search_6e317bcd6839e887739541.rank DESC, "books"."id" ASC
from /home/kevin/co2m/eq/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:637:in `prepare'

Removing the references(:author) call or using eager_load(:author) instead of includes(:author) does not work either. Any solution for this? I am running pg_search 1.0.6 in combination with Rails <IP_ADDRESS>.
UPDATE: might be a duplicate of https://github.com/Casecommons/pg_search/issues/246 and/or https://github.com/Casecommons/pg_search/issues/229 (my own issue apparently; I am running into this again in another project).

For others running into this problem: in some cases you can work around this by rewriting the query to multiple queries and using preloads instead of eager_loads. So in my example above you could rewrite do Book.includes(:author).where.not(authors: { name: 'Kevin' }).references(:author).search('sometitle'). to:
non_kevin_book_ids = Book.includes(:author).where.not(authors: { name: 'Kevin' }).references(:author).pluck(:id)
Book.preload(:author).where(id: non_kevin_book_ids).search('sometitle')

However this is a workaround. It causes some inefficiency (two queries instead of one) and cannot be applied to all situations (for example when you want to order the results on the author's name).

The problem potentially arises from pg_search explicitly turning off all eager-loading of associations directly on the query. This has very serious performance implications (n+1) that any users of the gem should be made aware.
See: https://github.com/Casecommons/pg_search/blob/master/lib/pg_search/scope_options.rb#L28
I was able to work-around the issue by adding my own module that re-enables the eager-loading.
module EnableEagerLoading
  def eager_loading?
    true
  end
end

Comment.eager_load(:author).where(author: {id: author_id}).search("hello")# -> SQL failure
Comment.eager_load(:author).where(author: {id: author_id}).search("hello").extend(EnableEagerLoading) # Success

I believe you can accomplish the equivalent using the following monkey-patch:
module PgSearch
  class ScopeOptions
    module DisableEagerLoading
      def eager_loading?
        return true
      end
    end
  end
end

This will potentially re-introduce the bug described in the original ticket here: https://github.com/Casecommons/pg_search/issues/14
But I'm not experiencing that problem and not having eager-loading is a dealbreaker for me with this gem.

I'm running into this with a joins/where combination:
# Query
@form_results
.joins(:form)
.where(forms: { type: type })
.by_form_name params[:filters]['form_name']

# Scope
pg_search_scope :by_form_name,
                  associated_against: {
                    form: %i[name]
                  },
                  using: { tsearch: { prefix: true } }

Without the search scope applied all references to forms use that reference.
With the search scope applied an alias to forms AS forms_form_results is created, breaking other scopes and where conditions.

Running into the same issue as @miwillhite. This was my workaround, using 2 queries:
Query:
ids = MyModel.search(params[:search]).pluck(:id)
@results = MyModel.joins(:foobar).where(id: ids, foobar: {baz: baz})

Model:
pg_search_scope :search,
  associated_against: {
    foobar: %i[name]
  },
  using: { tsearch: { prefix: true } }

Hmmm, wish there were better workarounds, because if the ids array is roughly 100,000 or more records, you get a gigantic where id in (....) clause, and postgres starts having trouble.

@herohhnparaiso You could use select instead:
search = MyModel.search(params[:search])
@results = MyModel.joins(:foobar).where(id: search.select(:id), foobar: {baz: baz})

FYI for anyone who stumbles onto this issue: it was resolved with https://github.com/Casecommons/pg_search/commit/38b62368d5f6bb7c6623dfc32eadad6110c4b72b.

Thanks for letting me know, @flats. Marking this as closed.

This is still happening on the latest version.


Add field for curator's comments in digitization section

Maybe we could add this to all sections, but it seems like a place for unstructured comments about the data or difficulties in the digitization process might be helpful.

This is considered for the experiment, and as the whole curation process is available through one page, we can use the same field, for any related comment.
The thing we need is to be able to view/edit the curation for each experiment/channel the same as the creation process. @miladjafary


The Z axis doesn't always calibrate precisely

We calibrate the Z axis, and when we move it down, it isn't always at the same position.

This might be an issue with backlash in the hardware. How far off is it? Is the problem compounding or is it always off by the same amount?

We need to go measure this but just randomly guessing to probably be in the 5 mm range and seem. I have not checked if it is consistent if we are always moving up. It did seems like it was probably coming from the flex coupling stretching and compressing.  We will play some more with it this weekend.

I think what was happening before is did not have enough friction in the Z system and we when the "enable" was turned off to the z stepper motor, the screw would actually turn about 1/3 of a turn significantly changing the position. Adjusting the screw block a bit introduced enough friction to have this not happen. After that, when we went and did some measurements, this seemed to be working. If we we calibrate then move just down, we get to a repeatability around about +/- .25 mm. But if we then move down then up, it we are getting close to .5 mm of backlash but it is pretty consistent. We can actually see the flex coupling stretching from up to down direction but even with this .5 mm it seems like we can place and pick up tools. We are really jus starting on the programming for that so not sure but looks like it should work.

The new stuff that keeps the z axis enabled seems to have fixed this. I think we can close this one. Thanks.


[ppaas][greg-500] Committing cartridge changes for wso2greg-500.

@Anuradha: It looks like there are some conflicts in this pull request.
Thanks

@imesh: Resolved the conflict in site.pp.
Thanks.

Thanks! I see more conflicts, will you be able to have a look please?


Please support<EMAIL_ADDRESS>for Windows users on Node 8

In #167 the fibers dependency was pinned to version 1.0.15 for Node version 4 compatibility.
However, there isn’t a pre-compiled Windows binary for that version of fibers and Node version 8. Meanwhile, fibers version 2.0.0 does have a Node version 8 binary for Windows.
According to the commit log there are no changes in 2.0.0 except for Node 4 compatibility.
So… would it be possible to add a dist-tag, maybe flightplan@next, that would use fibers 2.0.0? Or, alternately, put Node v4 support under a tag like flightplan@legacy or flightplan@node4 etc.
That would let me roll this out to my Windows developers, we’ve been holding off on implementing flightplan.

We’re going to use windows-build-tools from npm. It would still be nice to have a binary, but that works for us right now!

Hi Nate, you might want to comment on this Issue: https://github.com/laverdet/node-fibers/issues/342


Add code coverage in ci

Thought this may be useful. See example at https://app.codecov.io/github/sbellem/valida/tree/coverage/valida.

I think that generating code coverage reports would be useful. Thanks, @sbellem ! It doesn't look like uploading code coverage to codecov.io is working in CI currently:
[2024-02-04T16:38:18.130Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}

It would be nice to update the README with instructions on how to access the generated code coverage reports, and perhaps also instructions on how to run the code coverage reports.

I think that generating code coverage reports would be useful. Thanks, @sbellem !

Great!

It doesn't look like uploading code coverage to codecov.io is working in CI currently:

Sorry, should have mentioned this; an initial setup is needed. The Codecov GitHub app must be installed for the valida-xyz organization.
See https://docs.codecov.com/docs/quick-start for detailed instructions. Also not the following:

If you are signing up via GitHub and not an admin of your Github organization, you may need to request access from an admin to authorize Codecov as a third-party Github application. For more information see GitHub Admin Authorization.

It would be nice to update the README with instructions on how to access the generated code coverage reports, and perhaps also instructions on how to run the code coverage reports.

Ah yes, sure, will do that!


Is there a way to add to the cached data so only the latest (uncached) OHLC data is downloaded?

Can someone please explain how the session = session feature works?
For this specific ticker "4771.T", when I use session = session, I get a dataframe which is missing the latest day of data (as below)

UPDATE. I understand that it is only loading the cached data from when I first made the call. Is there a way to add to the cached data for the most up to date dates which aren't in the cache?
Or do I have to clear the cached data everytime I make the call?

You could just download the last few days and update the current DataFrame.


Flat pypi icon

Hey, getting a fix in for the test failures.
https://github.com/pipermerriam/flex/pull/44
You can rebase off of that branch (or master once it's merged and this should start passing).

closing


Fix appearance of the top of the Gallery

Describe the bug

There's an unwanted stripe at the top of the app above the hero image. When the fix for Ability to turn off "TopPadding" in NavigationView becomes available in the NuGet package used by the gallery, we should remove this extra whitespace.
Screenshots

For clarification: We will wait for the fix to be available in the nuget package and we will not try a workaround until then? Or can/should I try finding a bug fix till then?

@chingucoding, please hold off on doing anything with this issue. I'm actually working on a fix as part of validating the new WinUI feature. I'd love for you to review my PR once it's ready.

@YuliKl Ah I see! I will be happy to do that :)


Incorrect Password Issue Again!

Bug report
After changing my password, I started using netflix without any problems. Then I wanted to tamper with this. I completely reset my RPi device and reloaded it again with the image file. I installed Netflix and started its installation. System gave the username or password incorrect error after downloading widevine cdm. What is the problem ? Please do not close the thread by saying it has been solved. And comment on what the problem might be!
Your Environment

Netflix add-on version:
Operating system version/name:
Device model:

Used Operating system:

[ ] Android
[ ] iOS
[ ] Linux
[ ] OSX
[x] Raspberry-Pi
[ ] Windows

Describe the bug

Expected behavior

Actual behavior

Steps to reproduce the behavior

Possible fix

Debug log

The debug log can be found from this link:
Additional context or screenshots (if appropriate)
Installation

[ ] I'm using other Netflix Repo
[ ] I'm using a different source

Other information

Screenshots

Use the existing Issue already opened


GetPreviewData - An unexpected exception occurred

Running the query to preview the data raises the following error :
An unexpected exception occurred. An unexpected exception occurred.
Unfortunately, there are no further useful details in either the stack trace or the response received from the SSAS server.
Attached here is the PBIX and DAX query to reproduce the error.
repro-pbix-and-dax.zip

This is a bug in Power BI Desktop December 2022 that will be fixed probably with an interim update.
However, Bravo 1.0.1 should already have a version of DaxTemplate library that changes the DAX code so that it doesn't raise this error (we used IF instead of SWITCH).
Please check that and close if confirmed that is not an issue in v1.0.1.

I confirm that this error does not happen with Bravo version 1.0.1, where we used IF instead of SWITCH. We have the same error message in some telemetry events related to periods prior to the release of Power BI Desktop December 2022 but in those cases it is probably a different error condition.


docs: Cookbook Onboard (AI Assistant) integration

Overview/Specification
The AI assistant and co-pilot is trained on all existing Ape resources (source code, docs website, etc.) and is available as a standalone modal or as an embeddable button on any page (recommended for technical docs). It answers developer questions about using Ape Framework, acting as both an enhanced technical documentation search tool and a Solidity coding co-pilot.
Ask Cookbook AI can also access context from thousands of data sources indexed by Cookbook.dev, in addition to Ape Framework-specific data sources. This allows it to provide the best blockchain developer-focused answers available. Cookbook will assist in tuning and calibrating the AI assistant to ensure the highest quality of responses.
Preview
https://apeworx-cookbook.vercel.app/ape/latest/userguides/quickstart.html

dang!

It does seem to be a great way to audit our documentation with common questions. Is there way to set it up for us to check and see how good of a job we are doing on documentation with answering common questions? I'm not sure if re-training on even branch push is going to work, but every release does seem like something interesting

dang!

Good catch! It seems we encountered an issue while indexing your website, so the responses weren't accurate. It should be much better now :)

It does seem to be a great way to audit our documentation with common questions. Is there way to set it up for us to check and see how good of a job we are doing on documentation with answering common questions? I'm not sure if re-training on even branch push is going to work, but every release does seem like something interesting

We actually already have all the mentioned features in our CMS. You can review all previous conversations with users, configure data sources, and leave feedback on bot replies that it will immediately consider. We don't have re-training on every release yet, though. Currently, it auto-updates every 24 hours, and you can manually trigger an update whenever you want through the CMS we provide to all members of your team. Please contact us at<EMAIL_ADDRESS>from your corporate email or ask your colleague, Chris, to add you to the Telegram chat we have with him so we could share an invite link


DotNetCoreCLIV2: Publish command fails when the output parameter and the working directory are specified

Required Information
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DotNetCoreCLIV2
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/DotNetCoreCLIV2
Environment

Server - Azure Pipelines
Agent - Hosted

Issue Description
When using dotnet publish, an output parameter and a working directory. the task looks for the files in the wrong place.
Task logs
Pipeline definition
Pipeline results
Task logs
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs

DotNetTaskPublishWithWorkingDirectory -> /home/vsts/work/1/s/DotNetTaskPublishWithWorkingDirectory/bin/Debug/netcoreapp3.1/DotNetTaskPublishWithWorkingDirectory.dll
DotNetTaskPublishWithWorkingDirectory -> /home/vsts/work/1/s/DotNetTaskPublishWithWorkingDirectory/drop/DotNetTaskPublishWithWorkingDirectory/
##[error]Error: ENOENT: no such file or directory, open 'drop/DotNetTaskPublishWithWorkingDirectory.zip'

You can see that it is writing to one directory (drop/DotNetTaskPublishWithWorkingDirectory/) and reading from another (drop/).

@MisinformedDNA , the error is occuring not during dotnet publish, but during zipping the publish results after that. The input publishTestResults is set to true by default. To zip, you will need to give the argument as --output $(System.DefaultWorkingDirectory/drop(giving the argument like this would also work for publish). It appears that the zip process does not understand the relative path. Hope you are able to unblock yourselves with this.

Because --output parameter is trying to find a wrong directory. I used dotnet publish task without output parameter after that I used this workaround temporarily:
- task: PublishBuildArtifacts@1
  inputs:
    PathtoPublish: '$(Build.Repository.LocalPath)/{yourproject}bin/{buildConfiguration}/net5.0/publish.zip'
    ArtifactName: 'dr'
    publishLocation: 'Container'

Closing this issue, since user is no longer blocked. Feel free to reopen/create new issue for any other problem.


[WIP] Drop Runner#run!

Remove Runner#run!
Questions:

[ ] Do we converge to single parent implementation of State#run! or do we drop that too?
[ ] Rewrite Workflow#step and other blocking so they all call State#run_nonblock

it's used by the CLI, I believe: https://github.com/ManageIQ/floe/blob/master/exe/floe#L37

floe calls Workflow#run! and WorkflowInstance call Workflow#run_nonblock!.
Workflow calls into State#run_nonblock! or if it does call State#run, that calls State#run_nonblock!. From there, Task#run_nonblock! calls Runner#run_nonblock!.
Nothing calls Runner#run_nonblock!
But since the code is synchronous, we may want to keep it around. If we decide to do that, I will probably refactor them to reduce code duplication. Just deleting the method seems like the cheapest route.

WIP: This is only wip to delay the merge until after this release. I plan on un-WIPing it and leaving code as is.

update:

rebase

update:

rebase, it now only contains the 1 commit of interest


feat: Add helper valid_certificate_issued_for_csr

This may have been the original intention of the function since we haven't done much work with revoked certificates, but in order to keep backwards compatibility the validity (revoked status) check is added as an optional kwarg.
This simply adds a way to only return True if a valid certificate is issued (or invalid, if that's your thing).
Checklist

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that validate the behaviour of the software.
[ ] I validated that new and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have bumped the version of any required library.

Closing as, in hindsight, this might not be the best way to handle the issue. Perhaps a new CSR should be issued. Will re-open once a path is decided (if it's this route).


Use native Object.assign instead of xtend

xtend can easily be replaced with Object.assign
This reduce the dependencies and possible also avoid duplicated versions where some package don't use the same version range for the xtend package
// immutable
Object.assign({}, a, b)

// mutable
Object.assign(a, b)

This shouldn't affect our minimum supported version. PR welcome!


update version

The registered version of JusPIC requires IGG 0.13 and is therefore incompatible with JustRelax. We thus need to retrigger the release.

I'm reshuffling the code to make it work with pkg extensions; unless it's urgent, I will release it when the extensions PR is done.

not that urgent; I'm running with #main now


Why are projects copied into /tmp?

Asking about this line:
https://github.com/pypa/pipenv/blob/master/pipenv/vendor/requirementslib/models/setup_info.py#L1870
I have some internal libraries that have a lot of data files and are a few GB in size. Having to copy the repo into /tmp adds a significant amount of time to the locking process.

See #4403 for a more detailed bug report on this, and c4a165bce35edf661abaaa68c3cfd427664e5e25 for why it was changed.

Also /tmp is not cleaned up if pipenv fails due to an exception.
I can see why this behaviour might be desirable when you're working on pipenv itself. But it shouldn't be the default behaviour.


How to get Orchard ContentManager service in new thread method

Hello,
How to get Orchard ContentManager service in new thread method,
I tried this, but it no work due to "dispose error"
Thread thread = new Thread(() => CallService(this._services.ContentManager));
thread.Start();
Thanks  for help !

This is not an issue but a question, please don't open issue about such.
In separate threads you should create a separate work context and resolve the CM from that. BTW creating Threads by hand is not something you should generally do (but rather write Tasks).

I´m sorry and thanks. Please how create and resolve work context ? Thanks many!!!


Problem installing on macOS Catalina 10.15.6

I tried to install qpdf-10.0.1 from sourceforge on my mac, but when running .configure I got the warning/error
configure: WARNING: unable to find required header jpeglib.h
configure: WARNING: unable to find required library jpeg

configure: error: some required prerequisites were not found

I then installed the jpeg library from https://libjpeg-turbo.org/ as mentioned in the manual, which seems to have been installed in /opt/libjpeg-turbo/ but the error persists... Is there any way to fix this?

I've had the jpeg from http://www.ijg.org/files/ installed. It managed to get rid of the second WARNING but the first remained there. Trouble was that I could easily find "jpeglib.h" under \usr\local\include. There is something amiss with the CONFIGURE script. Manually setting the environment variable by running "./configure CPPFLAGS=-I/usr/local/include" got rid of the issue.
QPDF 10.2.0 up and running on macOS 11.2.1


Automate addition of LocalizedStringKeys to source locale

As described in my article Safer Localization in SwiftUI, BartyCrouch can already be used for normalizing and linting localiation on SwiftUI-only applications. But the transformation from NSLocalizedString or BartyCrouch.translate doesn't support the new LocalizedStringKey type yet.
We should consider adding an option to transform BartyCrouch.translate into a literal String and adding the key to the source Localizable.strings file automatically while doing that like before. Alternatively, we could also provide the SafeLocalizedStringKey file from the article and convert into that instead. That way, whenever the key would be removed, there would be an error shown during development, providing even more safety.
A more general approach could also include rewriting the entire BartyCrouch transformation logic for more flexibility, configurability, performance and therewhile drop the dependency extractLocStrings, at least for SwiftUI-only applications.

FYI:
In my pure SwiftUI projects, I'm currently using SwiftGen with a custom Strings.stencil template:
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen

{% if tables.count > 0 %}
import SwiftUI

// MARK: - Strings

{% macro parametersBlock types %}{% filter removeNewlines:"leading" %}
  {% for type in types %}
    {% if type == "String" %}
    _ p{{forloop.counter}}: Any
    {% else %}
    _ p{{forloop.counter}}: {{type}}
    {% endif %}
    {{ ", " if not forloop.last }}
  {% endfor %}
{% endfilter %}{% endmacro %}
{% macro argumentsBlock types %}{% filter removeNewlines:"leading" %}
  {% for type in types %}
    {% if type == "String" %}
    String(describing: p{{forloop.counter}})
    {% elif type == "UnsafeRawPointer" %}
    Int(bitPattern: p{{forloop.counter}})
    {% else %}
    p{{forloop.counter}}
    {% endif %}
    {{ ", " if not forloop.last }}
  {% endfor %}
{% endfilter %}{% endmacro %}
{% macro recursiveBlock table item %}
  {% for string in item.strings %}
  {% if not param.noComments %}
  /// {{string.translation}}
  {% endif %}
  {% if string.types %}
  public static func {{string.name|swiftIdentifier:"pretty"|lowerFirstWord|escapeReservedKeywords}}({% call parametersBlock string.types %}) -> String {
    return L10n.tr("{{table}}", "{{string.key}}", {% call argumentsBlock string.types %})
  }
  {% else %}
  public static let {{string.name|swiftIdentifier:"pretty"|lowerFirstWord|escapeReservedKeywords}} = LocalizedString(lookupKey: "{{string.key}}")
  {% endif %}
  {% endfor %}
  {% for child in item.children %}
  public enum {{child.name|swiftIdentifier:"pretty"|escapeReservedKeywords}} {
    {% filter indent:2 %}{% call recursiveBlock table child %}{% endfilter %}
  }
  {% endfor %}
{% endmacro %}
public enum L10n {
  {% if tables.count > 1 or param.forceFileNameEnum %}
  {% for table in tables %}
  public enum {{table.name|swiftIdentifier:"pretty"|escapeReservedKeywords}} {
    {% filter indent:2 %}{% call recursiveBlock table.name table.levels %}{% endfilter %}
  }
  {% endfor %}
  {% else %}
  {% call recursiveBlock tables.first.name tables.first.levels %}
  {% endif %}
}

// MARK: - Implementation Details

extension L10n {
  fileprivate static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
    let format = {{param.bundle|default:"BundleToken.bundle"}}.localizedString(forKey: key, value: nil, table: table)
    return String(format: format, locale: Locale.current, arguments: args)
  }
}

public struct LocalizedString {
  internal let lookupKey: String

  var key: LocalizedStringKey {
    LocalizedStringKey(lookupKey)
  }

  var text: String {
    L10n.tr("Localizable", lookupKey)
  }
}
{% if not param.bundle %}

private final class BundleToken {
  static let bundle: Bundle = {
    #if SWIFT_PACKAGE
      return Bundle.module
    #else
      return Bundle(for: BundleToken.self)
    #endif
  }()
}
{% endif %}
{% else %}
// No string found
{% endif %}

I also altered the BartyCrouch.swift file I include to provide both access to a LocalizedStringKey and a plain String:
//  This file is required in order for the `transform` task of the translation helper tool BartyCrouch to work.
//  See here for more details: https://github.com/Flinesoft/BartyCrouch

import Foundation

enum BartyCrouch {
  enum SupportedLanguage: String {
    case english = "en"
    case french = "fr"
    case german = "de"
    case japanese = "ja"
    case turkish = "tr"
  }

  static func translate(key: String, translations: [SupportedLanguage: String], comment: String? = nil) -> LocalizedString {
    let typeName = String(describing: BartyCrouch.self)
    let methodName = #function

    print(
      "Warning: [BartyCrouch]",
      "Untransformed \(typeName).\(methodName) method call found with key '\(key)' and base translations '\(translations)'.",
      "Please ensure that BartyCrouch is installed and configured correctly."
    )

    // fall back in case something goes wrong with BartyCrouch transformation
    return LocalizedString(lookupKey: "BC: KEY NOT TRANSFORMED!")
  }
}

The LocalizedString is a type that's generated as part of my Strings.stencil file and looks like this:
public struct LocalizedString {
  internal let lookupKey: String

  var key: LocalizedStringKey {
    LocalizedStringKey(lookupKey)
  }

  var text: String {
    L10n.tr("Localizable", lookupKey)
  }
}

Just in case this helps someone out there until we have proper support for SwiftUI in SwiftGen and BartyCrouch.

Thank you very much for this workaround.
Unfortunately I have a hard time understanding how to make all of this work.
This starts with the Strings.stencil template. How do I tell BartyCrouch to use it? Sadly the documentation doesn't mention this with one word. In the readme is a sample file but no explanation what todo with it. Do I need to add this to .bartycrouch.toml somehow?
The same question came up with BartyCrouch.swift. Do I need to add this to compiled sources in Xcode or is it just needed in the Repo so BartyCrouch knows what to do? If so again how do I tell BartyCrouch to use this file? Is this file automatically recognized via it's filename?
I've created the .bartycrouch.toml via bartycrouch init. What do I need to add to make this work?
 I have no idea how all of this works and had no luck finding tutorials or anything on Stackoverflow so far.

@Patrick-Kladek You are right, the README of BartyCrouch doesn't include detailed step-by-step explanations for beginners, it's targeted towards somewhat experiences iOS developers who have already used similar tools, like SwiftGen. The most detailed tutorial is I think still my blog post which is also mentioned at the top of the README. Please read it, it should clarify how SwiftGen and BartyCrouch are interrelated (basically, they're not at all, BartyCrouch only supports generation of L10n if swiftgenStructured is chosen as the transformer as explained in point 3 of the Configuration section).
But let me also answer the more specific questions you asked:

This starts with the Strings.stencil template. How do I tell BartyCrouch to use it?
Not at all. If anything, you tell SwiftGen how to use it. Of course the documentation of BartyCrouch doesn't mention how to use SwiftGen. The custom stencil is a feature of SwiftGen and needs to be specified in the swiftgen.yml file, see the README of SwiftGen. You don't have to use SwiftGen to use BartyCrouch though, you could just stick to NSLocalizedString, too.

The same question came up with BartyCrouch.swift. Do I need to add this to compiled sources in Xcode or is it just needed in the Repo so BartyCrouch knows what to do?

The BartyCrouch.swift file should to be included in your respository as part of the compiled sources, otherwise your build will fail when you use BartyCrouch.translate (which is transformed to other calls in the build script if you set that up, but build scripts are part of the build process).

If so again how do I tell BartyCrouch to use this file? Is this file automatically recognized via it's filename?

Please see the options of the transform action, the options supportedLanguageEnumPath and typeName specify where the file is searched in and you can also change the name to something else if needed. Only the SupportedLanguage enum is required.

I've created the .bartycrouch.toml via bartycrouch init. What do I need to add to make this work?

I think the blog post already answers this question (the README does so, too).

 I have no idea how all of this works and had no luck finding tutorials or anything on Stackoverflow so far.

 But I think if you've invested a little more time to read the README in more detail, you could have found most of the answers. But I can understand that all the different existing options can be overwhelming if you're just getting started with BartyCrouch. I am working on a new version which is much easier to use, but it won't be released before 2022, I think.

Bump! @Flinesoft any progress on this?

@Sam-Spencer Currently BartyCrouch is based on tools from Apple which don't support LocalizedStringKeys though. While I am planning to do a bigger rewrite of BartyCrouch sometime in the future, that is probably quite some time away.
In the mean time, please note that there's 2 other options based on the Pro Localization Workflow:

If you're using SwiftGen, you can simply use these custom templates I've shared elsewhere and use the safer L10n structure instead of LocalizedStringKey
If you're not using SwiftGen, what we could do is add a new transformer type called swiftui besides the already existing foundation and swiftgen types.

I won't have the time to do the change no. 2 in the comings months, maybe beginning next year. But it's just a matter of adding it here and adding a buildSwiftUIExpression function below this function and use it further above when the transformer is set to swiftui.
So if someone is willing to take some time to implement as described above, I would be willing to review & merge. :)

For Monal IM I'm using a combination of Xcodes xliff string extraction on compilation, bash, a python script and bartycrouch to get SwiftUI strings added to my strings file.
Here is the commit Introducing this functionality, maybe this is useful to someone: https://github.com/monal-im/Monal/commit/6fcdcb6df0fc454f46c0cfb07bffd0d3c023edce
I had to temporarily turn off "SWIFT_EMIT_LOC_STRINGS" when extracting the xliff file because it could not compile the project. I don't know why this is necessary, but since in our CI our build script builds the app before our translation update script gets to run, this is fine (the SwiftUI string are already extracted at this point, even with SWIFT_EMIT_LOC_STRINGS turned off while extracting the xliff).

@tmolitor-stud-tu Thank you for sharing your solution and experiences.
Since my last comment on this thread, there's been a development that might be of interest to all SwiftUI users of BartyCrouch: I released a new Mac app called ReMafoX which basically is a successor to BartyCrouch with more features. Besides other things, it has native support for LocalizedStringKey but its workflow is a little different. Instead of writing code and then running a build-script to transform the code (which breaks your edit history), it comes with an Xcode extension and a UI to localize Strings, so you can simply trigger a shortcut and get a LocalizedStringKey as a result. See this GIF:

To learn more, see this short summary article:
https://www.fline.dev/introducing-remafox-easy-app-localization/


Roll Flutter Engine from 44d788f4651b to a08bd5a07c2a (3 revisions)

https://github.com/flutter/engine/compare/44d788f4651b...a08bd5a07c2a
2024-11-08<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from pG2aukmcwvp71aKuS... to aLUsXLv5iMZFOgcAS... (flutter/engine#56450)
2024-11-08<EMAIL_ADDRESS>Roll Skia from 7ae36ecfe93d to d0ee80612f86 (2 revisions) (flutter/engine#56448)
2024-11-08<EMAIL_ADDRESS>Move off deprecated upload-artifactv3 (flutter/engine#56439)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from pG2aukmcwvp7 to aLUsXLv5iMZF
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.