Meridian flip planning for satellite passes

German equatorial mounts can't track far past the meridian before limits are reached or hardware collisions occur. Consider the following approaches to planning for and executing meridian flips during satellite passes:

[ ] If trajectory information is present (hybrid or blind tracking), determine the optimal hemisphere to start in (east or west) based on the trajectory and the current RA axis limits. The best case would be that the pass can fit entirely within one hemisphere in which case the choice is easy. If not things get more complicated.
[ ] When the RA limit is reached perform a meridian flip and continue tracking

When a meridian flip is required in the middle of a pass and trajectory information is available there are some considerations to take into account:

How long will the meridian flip take to perform? In some cases the flip may take long enough that the best we can do is track part of the pass in one hemisphere.
When is the optimal time to perform the flip? Waiting until the RA limit is reached may not be the ideal time to perform the flip. There may be cases where it would be better to start the flip prior to reaching the limit.
For how much of the pass is the satellite visible? If it is only visible for a portion of the pass this would influence the plan. The trajectory alone only indicates where the satellite appears in the sky so we would need to do additional processing or use extra information to take this into account.

I attempted to perform a meridian flip in the AxisLimitException handler in Tracker.run when the RA axis limit is reached. This sorta worked but the exception was raised a few dozen times in quick succession so the meridian was also flipped a few dozen times. Need to figure out how to apply some kind of hysteresis to prevent this from thrashing.

The need for this has been significantly reduced by a couple of things:

Full alignment automation that allows us to place the mount pole at any location that the mount hardware allows. This allows us to place the mount pole in a location that in many cases eliminates the need to perform a meridian flip during an entire pass.
Addition of a skyplot tool that helps with deciding where to place the mount pole and which meridian side to pick

With these two items it is possible to track nearly any single pass in an evening without any meridian flip necessary. Where this could still be useful is the case where we want to track multiple important passes in a single session without breaking alignment.


Multiple Logrus instances for multiple log output destinations

Is it possible to create multiple Logrus instances so I could output logs in such way that each package in my project outputs logs to different file destinations.
Lets say there are four packages A, B, C, and D in my project. I would like package A to output logs to  path /logs/A, package B to output logs to path /logs/B and so on. Would I need to use multiple Logrus instances to achieve this?
From what I understand hooks can send logs to different destinations based on the logging level. I would like to send logs to different destinations based on who is sending said logs.

After some research I found log15. It has exactly the functionality I'm looking for using Handlers.
For example you can create a handler like this that will send all logs from my executors module to a given path
log.MatchFilterHandler("module", "executors", log.Must.FileHandler(filepath.Join(executorsBasePath, "executor.txt"), log.JsonFormat()))


getsymphony.com crashes if wrong password or new account creation is attempted

Looks like something is wrong with the events side of things me thinks. If you try to login with the wrong password or as @nitriques mentioned on gitter.im ; try to crreate a new account.. the whole page becomes unresponsive and the only we to resolve the error is to close the tab or browser and try again.

Thanks Andrew.

This is fixed!


[question] Creating a slim "builder" image for GitLab CI & Serenity (exit code 199 issue)

Greetings all,
I was hoping to create a minimal Docker image to use for gitlab-ci tasks, and I thought I had all the boxes checked, but I am still getting one last error I'm having trouble diagnosting, and I was hoping one who is a bit more familiar with what's going on could point me in the right direction.
Here is where I'm at...
FROM openjdk:11-jdk-slim as jdk11

FROM node:12-alpine

# Copy In JDK
COPY --from=jdk11 /usr/local/openjdk-11 /usr/lib/jvm/default-jvm
ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=/usr/lib/jvm/default-jvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Installs latest Chromium package.

WORKDIR /app
ADD . .

RUN yarn && yarn webdriver-manager update

RUN google-chrome --version

RUN yarn serenity:test --verbose

webdriver-manager: using local installed version 12.1.7
[07:19:31] I/update - chromedriver: file exists /app/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.88.zip
[07:19:31] I/update - chromedriver: unzipping chromedriver_87.0.4280.88.zip
[07:19:31] I/update - chromedriver: setting permissions to 0755 for /app/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.88
[07:19:31] I/update - chromedriver: chromedriver_87.0.4280.88 up to date
[07:19:31] I/update - selenium standalone: file exists /app/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar
[07:19:31] I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
[07:19:31] I/update - geckodriver: file exists /app/node_modules/webdriver-manager/selenium/geckodriver-v0.28.0.tar.gz
[07:19:31] I/update - geckodriver: unzipping geckodriver-v0.28.0.tar.gz
[07:19:32] I/update - geckodriver: setting permissions to 0755 for /app/node_modules/webdriver-manager/selenium/geckodriver-v0.28.0
[07:19:32] I/update - geckodriver: geckodriver-v0.28.0 up to date
Chromium 86.0.4240.111

No problems so far, but as soon as I attempt to connect to chromedriver
$ yarn workspace @watheia-ui/serenity test --verbose
$ failsafe clean test:execute test:report --verbose
[clean] npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1607325644105-0.3107788068955748/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
[clean]
[clean] ><EMAIL_ADDRESS>clean /app/packages/serenity
[clean] > rimraf target
[clean]
[failsafe] Script 'clean' exited with code 0
[test:execute] npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1607325644105-0.3107788068955748/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
[test:execute]
[test:execute] ><EMAIL_ADDRESS>test:execute /app/packages/serenity
[test:execute] > protractor ./protractor.conf.js
[test:execute]
[test:execute] [07:20:45] I/launcher - Running 1 instances of WebDriver
[test:execute] [07:20:45] I/direct - Using ChromeDriver directly...
[test:execute] [07:20:45] E/launcher - spawn /app/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.88 ENOENT
[test:execute] [07:20:45] E/launcher - Error: spawn /app/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.88 ENOENT
[test:execute]     at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
[test:execute]     at onErrorNT (internal/child_process.js:470:16)
[test:execute]     at processTicksAndRejections (internal/process/task_queues.js:84:21)
[test:execute] [07:20:45] E/launcher - Process exited with error code 199
[test:execute] npm ERR! code ELIFECYCLE
[test:execute] npm ERR! errno 199
[test:execute] npm ERR<EMAIL_ADDRESS>test:execute: `protractor ./protractor.conf.js`
[test:execute] npm ERR! Exit status 199
[test:execute] npm ERR!
[test:execute] npm ERR! Failed at the<EMAIL_ADDRESS>test:execute script.
[test:execute] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[test:execute]
[test:execute] npm ERR! A complete log of this run can be found in:
[test:execute] npm ERR!     /root/.npm/_logs/2020-12-07T07_20_45_769Z-debug.log
[failsafe] Script 'test:execute' exited with code 199
[test:report] npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1607325644105-0.3107788068955748/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
[test:report]
[test:report] ><EMAIL_ADDRESS>test:report /app/packages/serenity
[test:report] > serenity-bdd run --scripts-prepend-node-path --features ./features
[test:report]
[test:report] Spawning: /usr/lib/jvm/default-jvm/bin/java -Dserenity.compress.filenames=true -DLOG_LEVEL=warn<EMAIL_ADDRESS>-jar<EMAIL_ADDRESS>--features ./features --destination target/site/serenity --source target/site/serenity --project serenity
[test:report] Invoking Serenity BDD CLI has failed
[test:report] Error: spawn /usr/lib/jvm/default-jvm/bin/java ENOENT
[test:report]     at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
[test:report]     at onErrorNT (internal/child_process.js:470:16)
[test:report]     at processTicksAndRejections (internal/process/task_queues.js:84:21)
[failsafe] Script 'test:report' exited with code 0
[--verbose] npm info it worked if it ends with ok
[--verbose] npm verb cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', '--verbose' ]
[--verbose] npm info using<EMAIL_ADDRESS>[--verbose] npm info using<EMAIL_ADDRESS>[--verbose] Lifecycle scripts included in @watheia-ui/serenity:
[--verbose]   postinstall
[--verbose]     serenity-bdd update && webdriver-manager update
[--verbose]   test
[--verbose]     failsafe clean test:execute test:report
[--verbose]
[--verbose] available via `npm run-script`:
[--verbose]   clean
[--verbose]     rimraf target
[--verbose]   test:execute
[--verbose]     protractor ./protractor.conf.js
[--verbose]   test:execute:wip
[--verbose]     protractor ./protractor.conf.js --cucumberOpts.tags=@wip
[--verbose]   test:report
[--verbose]     serenity-bdd run --scripts-prepend-node-path --features ./features
[--verbose]   wip
[--verbose]     failsafe clean test:execute:wip test:report
[--verbose]   lint
[--verbose]     tslint --project tsconfig.json --format stylish
[--verbose] npm verb exit [ 0, true ]
[--verbose] npm timing npm Completed in 82ms
[--verbose] npm info ok
[failsafe] Script '--verbose' exited with code 0
error Command failed with exit code 199.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 199
Command: /usr/local/bin/node
Arguments: /opt/yarn-v1.22.5/lib/cli.js test --verbose
Directory: /app/packages/serenity
Output:

I'ts always this exit code 199. I couldn't really find any relevant information, unless I just missed someones point in one of the existing threads on this topic. I can run the build just fine on localhost, both using direct-connect and remote selenium grid.
This image will be pulled for just about every push to source control, so my only real requirement here is to be as slim as possible, while still containing required featureset. End-game is to probably just spin up a Zelenium Grid on demand, and just keep chromedriver out of the base image, but my DevOps Fu isn't this strong yet.
Any suggestions on how to go about debugging the issue further? I'm stuck on where to go from here...
Full build pipeline for context: https://gitlab.com/watheia/lab/watheia-ui/-/jobs/893885446
Cheers, and thanks in advance for your time!
~Aaron

Hey @drkstr101 and welcome to the Serenity/JS community!
I'd start with this suggestion for Chromium.
Also, I'm wondering if the issue could be caused by ChromeDriver and Chrome being of a different version?
Since the browser is part of the runner, consider installing chromedriver via apk too.
The advantage of installing both via apk is that they'd be compatible and you could avoid running into issues where chromedriver downloaded by webdriver-manager is newer than Chrome provided by apk
Does this help?
Jan

Hi @drkstr101 , this issue is quite old. Have you been able to solve your issues? Can we close this one?

I guess we can close this issue. Please do not hesitate to raise a new one if the problem still exists. Just in case, please provide an update about your current setup and issues, then.


Symmetrical RSS

This Pull Request add a custom Hash Key and a Flag setting to be able to use Symmetrical RSS on hardware level (ensuring that TCP bidirectional flows go to the same ending). The Flag is optional and by default flase using the same as it was before. So all prior examples work without changing with the default hardware key, but are able to use the symmetrical hash key as well.

please get rid of the submodule updates (unless there is a good reason to do so)

Thanks for the Feedback. This was my failure with git. Sorry. Both are resolved now.

I don't understand the new option includeSharedCores: why would it depend on the host? maxCores should never be more than the number of cores you have.
Can you give an example where this currently fails?

Sorry, this should not be part of this pull request. I added it to the false branch. I will start a new Pull Request from a Feature Branch instead.


updated model persistor docs and aws persistor

Proposed changes:

updated model persistor docs
update AWS persistor to use the latest package fixes #5736
make sure to use pip3 instead of pip

Status (please check what you already did):

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

Was this force merged 👀  ?


Add .gitignore file to this repo

Hi @ADITIBAGADDEO22 ,
Can you provide more details on what is to be included in the .gitignore file ?


fetch beaconchain data from p2p network

This one might be a stretch, but if we can fetch all beaconchain data (updates and beacon blocks) from the p2p network, we could entirely remove the need for an eth2 rpc. Nimbus nodes already gossip all the light client data we need.

Hey @ncitron would love to pick this up and give it a go. Let me know if there's anyone else looking to work on this. Will update with a rough plan over the weekend.

Hey @ncitron would love to pick this up and give it a go. Let me know if there's anyone else looking to work on this. Will update with a rough plan over the weekend.

I'd like to work on this too

Thats great! You two may want to coordinate to see if there is room for collaboration. I imagine there may be since its a somewhat hefty project.
I've also been thinking about how we should integrate p2p. To start, I think it is ok if we just allow p2p optionally with a flag. However, I think eventually I nice default would be to implement a hybrid approach, where we begin syncing using the rpc to start, and begin peering with p2p simultaneously. Once we have suitable peers we can switch to p2p mode. In cases where the centralized rpc is available, this allows us to sync incredibly quickly from a cold start, but when it is not, we can still sync fully from p2p. Seems like a nice tradeoff, but curious to hear what others think about this strategy.

That seems like a good approach to me. @ameya-deshmukh add me on discord if you want to to collaborate on this Geemo#1685. Otherwise its all yours.

Would love to collaborate. Adding you.

Hey sorry. Was busy the last few days. Pinging you right now.


Show --no-X variants in CLI help

I'd really like this to render as --preview / --no-preview, but I looked for a while in the Clap internals and issue tracker (https://github.com/clap-rs/clap/issues/815) and I really can't figure out a way to do it -- this seems like the best we can do? It's also what they do in Orogene.
Closes https://github.com/astral-sh/ruff/issues/7486.

@dhruvmanila - I wasn't able to figure it out. I agree that's a much better solution (this is what I was trying to say in the PR summary, though perhaps not very clearly). I haven't found any other Clap-dependent crates that were able to do this either.

Relevant clap issue https://github.com/clap-rs/clap/issues/815


How to skip notes while reviewing?

Context
Hello and thank you for creating this plugin.
I am using the "obsidian-simple-note-review" plugin to review notes of varying lengths. Occasionally, I come across lengthy notes that I'd like to skip temporarily while retaining them in the review queue without updating their review date.
Issue
Currently, when I click the "Next" button, it advances to the next note in the queue. However, if I click it again, it returns to the first note in the list. From my understanding, this behavior is due to the fact that, in the getNextFilePath function of the plugin, the implementation sets the firstNoteIndex to 0.
https://github.com/dartungar/obsidian-simple-note-review/blob/ec498befe31342583403f4225dc7270ba221d661/src/noteSet/noteSetService.ts#L168C1-L178C14
Possible implementation
To address this issue, I suggest implementing the following change in the noteSetService:

Maintain a record of the latest skipped note index when not using the random algorithm. This way, instead of always starting at index 0, you can start at the latest skipped index + 1.
Reset the skip index under specific conditions, such as when the user actively chooses not to skip a note (e.g., by not clicking the skip button).

Follow up
Do you think adding this feature to the plugin is a good idea?
If so, would you be willing to add it yourself or accept pull requests?

@Gabriel2409 hey, thanks for the thorough suggestion!
The main premise of SNR is not to have any state, just noteset descriptions, so they will be calculated "on the fly" via Dataview API. Note sets are not queues, nor should they be (in my vision).
Adding "skip" functionality will require complicating the logic and making Simple Note Review not so simple, so I don't think this feature will be a good addition to the plugin (however convenient it is). I think there are some spaced repetition plugins that probably have this kind of functionality.
As a workaround, you can set review date on the note to later one (line +10 days of current value), so it will be skipped by algorithm when calculating the next note.
Cheers!

That makes sense.
I agree that state management can be a pain.
Thank you for taking the time to answer, I will use your workaround :)

@Gabriel2409 it's implemented in version 1.0.1. Cheers!


Update docs to use v1.0.2

v1.0.2 has been release. We need to update to latest version.
https://github.com/kubeflow/kubeflow/issues/4929#issuecomment-615497468

/assign

I'll take this one on.


remove academy link references.

@Whatthefoxsays if you can think of anything else I missed, let me know.
Description of the change:
Removed all links to existing academy content. This included callouts and references to specific courses in content. In old release notes, I removed the links and kept the text. I removed the navigation link as well.
Reason for the change:
SendGrid Academy is going away.

Hello @richbachman,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Add QR Code Scanner

Project title
QR Code Scanner/Reader
Project Description
A QR Code Scanner Web App to read/scan QR code and display the content. I'd like to contribute under GSSOC'22.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[X] Html
[X] CSS
[X] JavaScript

/assign


Variadic parameters support for DI container

Just tests that do not pass.

Q
A

Is bugfix?
yes/no

New feature?
yes/no

Breaks BC?
yes/no

Tests pass?
no

Fixed issues
#14126

How do I mark a test for PHP7 only?

How do I mark a test for PHP5.6+ only?

As far as I know, you can not except checking for PHP version and skipping manually. There are some tests like that already.

Thanks for the feedback, hope to have time for this soon..

@SamMousa do you have time to implement that last bit that's required in order for tests to pass?

I'm travelling so will be 2 weeks+ before i get to it, sorry!

Have a good trip. We'll handle it.

Merged. Thank you!


What would be the best way to have archive layout show full posts, rather than excerpts?

Hi there,
Using your theme on Popagandhi.com, my personal blog.
I previously had a Jekyll blog that had full posts using the post.content tag. I haven't quite figured out the structure of your theme — do you mind pointing me to where I could edit that file to show full posts rather than excerpts on my index page?

You'll want to replace {{ post.excert }} with {{ post.content }}. The index pages use _includes/archive-single.html which is where you'll want to make the modification.
Change this line:
{% if post.excerpt %}
{{ post.excerpt | markdownify | strip_html | truncate: 160 }}
{% endif %}

to this:
{{ post.content }}

And it should do what you want. You may need to do additional styling since the theme wasn't built to support full post content on the archive pages.

I've done this also with my site.  I would recommend duplicating the archive-single.html to a new file and call that on your root index.html file.  archive-single.html is used in several other places and may cause undesired effects (e.g related stories).

index.html
archive-single-main.html

Thank you, both! @mmistakes @justinrummel


multi turn issue

The model seems to need to transmit as many images as there are questions.
Otherwise, you just keep repeating your previous answer.
I would like to have a conversation without images, but upload images only when necessary. Is this impossible?

Might the code below will give you some ideas about how to construct conversations about pure text, single image, multiple images
def parse_input(self, query = None, imgs = None):
        """
        Parses the input query and images into the expected format.

        Parameters
        ----------
        query : str, optional
            The query from the user.
        imgs : list or str, optional
            A list of images or a single image path.

        Returns
        -------
        list of dict
            A list containing the messages formatted for the model.
        """
        if imgs is None:
            messages = [
                {"role": "user", "content": query},
            ]
            return messages

        if isinstance(imgs, str):
            imgs = [imgs]

        content = []
        for img in imgs:
            content.append({
                "type": "image",
                "image": img
            })
        content.append({
            "type": "text",
            "text": query
        })

        messages = [
            {"role": "user", "content": content},
        ]
        return messages


Docs: merge docs into stable

About
This is also a check if the branch is still fine, but I assume we have to recreate it
Checklist

[ ] I've ran pre-commit to format and lint the change(s) made.
[ ] I've checked to make sure the change(s) work on 3.8.6 and higher.
[ ] This fixes/solves an Issue (If existent):.

resolves #

I've made this pull request for/as: (check all that apply)

[ ] Documentation
[ ] Breaking change
[ ] New feature/enhancement
[ ] Bugfix

Ahh yes, broken branch


Design: Improve handling of invalid Unicode

The previously proposed design is not very good. I don't think any languages do what has been proposed here.
It can lead to silent data corruption, hard-to-detect bugs, and even possibly security issues. There is a long thread on Bugzilla on this subject.
I think what I proposed here is more sensible, and in line with what other languages (such as Rust) do.

This isn't just not done elsewhere, this is out right not compliant with the Unicode standard.
2.7 Unicode Strings:

Whenever such strings are specified to be in a particular Unicode encoding form—even
one with the same code unit size—the string must not violate the requirements of that
encoding form. For example, isolated surrogates in a Unicode 16-bit string are not allowed
when that string is specified to be well-formed UTF-16. A number of techniques are available for dealing with an isolated surrogate, such as omitting it, converting it into U+FFFD
replacement character to produce well-formed UTF-16, or simply halting the processing of the string with an error. (See Section 3.9, Unicode Encoding Forms.)

I don't think it makes sense for Phobos to assume that (e.g.) string is valid UTF-8 unless there are enforcement mechanisms in place to prevent invalid strings from being created.
Since adding such enforcement mechanisms to the compiler and library would be extremely disruptive to existing code, I think a better way forward here would be to add library types for Unicode strings that validate their data upon construction.

what does "abort the program" mean? In which cases will it abort? Surely e.g. assigning a string, or searching for a char in a string will not abort?
I would really suggest throwing an Error in this case instead of something like a divide-by-zero abort (which is typically a signal, and gives no stack trace).

Normally, I would too. But the document also says exceptions are going away, and I don't know what will replace them. Presumably assert(0) will still do something like an abort.

assert(0) throws when built with asserts, and aborts when built without asserts.

But the document also says exceptions are going away

WAT?

WAT?

https://github.com/LightBender/PhobosV3-Design/blob/main/Design.md#no-exceptions
???

I just mean, D has exceptions. I can agree with removing exceptions for trivialities, or providing alternative error handling. But removing exceptions from phobos completely seems like a huge leap backwards.

Realistically Unicode handling should throw an exceptional path error for malformed sequences.
This is the recommended way.
However, it shouldn't be able to kill the process without you infecting the entire call stack.
This would ideally be solved by my proposed value type exceptions.
Unfortunately, that depends upon sumtypes and Adam isn't keen on waiting for things to be ready in the language for stuff like ranges.

Reading the design document again, I think that the "No exceptions" title is more forceful than the text, which seems to say the goal is to remove each use of an exception if possible.
It also specifically talks about @nogc and nothrow, both of which are possible with throwing Errors.
I've never been sold on the nothrow performance benefits. But making things that are usable without throwing would benefit porting to new platforms, as exceptions are one of the more difficult things to add (I'm looking at WASM).
Using the replacement character by default seems like a much better option only when decoding. Why can't we strive for that? With the removal of autodecoding, decoding is explicit, and one can pick their poison. The only thing that remains would be the foreach(dchar d; str) which throws, but that's a language change, not a phobos change. Adam and I had a discussion on that at beerconf, I think that's more of a problem with implicit conversions as an underlying problem.
If we aren't going to create a more encapsulated string type, then I can't see how assuming valid utf is reasonable -- slicing a string in the middle of a utf code point is trivial and supported by the language.

Using the replacement character by default seems like a much better option only when decoding.

Yes, it should just be very explicit that you're getting the x/0 == 0 flavor of error handling.

If we aren't going to create a more encapsulated string type, then I can't see how assuming valid utf is reasonable -- slicing a string in the middle of a utf code point is trivial and supported by the language.

Ouch, I completely forgot about that. Good point.

One thing that I can be absolutely sure of is that aborting the program on bad Unicode is a terrible idea. Consider the example of a web-server that handles multiple requests per process. If one malformed request causes all other in-process requests to be cancelled as the process crashes and recycles we create a terrible user experience for both the server programmers and their users. Additionally we will have inadvertently created a major Denial-of-Service attack vector.
Under no circumstance should malformed Unicode in an HTTP request be able to bring down an entire web application.

👋 Hi, person who has written and maintained many, many web servers and web apps here, both as a hobbyist and professionally. If I made a bug where the only two choices are to crash the process or silently corrupt the data, please CRASH MY PROCESS. That is a lot easier to handle and clean up after than the possible consequences of silent lossy transformations of data handled by the process.
A crash will, in most circumstances, make the daemon supervisor log the crash and restart the process. Data corruption can propagate and multiply and go undetected for a long time.
I really think this case should be treated the same as integer division by zero, or dereferencing of a null pointer. We should make an effort to guide users in writing code that avoids the possibility of this situation arising, but if you do end up shooting yourself in the foot, e.g. by doing cast(string)bytes or a blind str[1..$], then it's on the user.

I really think this case should be treated the same as integer division by zero, or dereferencing of a null pointer.

If we are removing autodecoding anyway, I think this is moot either way. The above is only a problem in ranges, which do not have an intrinsic mechanism to communicate errors (other than exceptions).
Updated diff.

I think the updated diff is sufficient. Merging.

I've started a discussion about Unicode string types here: https://github.com/LightBender/PhobosV3-Design/discussions/25


NetBox version 3.3.5 not supported

Plugin version
v1.2.7
NetBox version
v3.3.5
Python version
3.8
Steps to Reproduce

Install Plugin
Configure netbox plugin
Run the migrate common

Expected Behavior
Successful install.
Observed Behavior
File "/opt/netbox-3.3.5/netbox/netbox/settings.py", line 677, in
plugin_config.validate(PLUGINS_CONFIG[plugin_name], VERSION)
File "/opt/netbox-3.3.5/netbox/extras/plugins/init.py", line 101, in validate
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Plugin netbox_config_backup requires NetBox maximum version 3.2.99.

Should be releasing a new version shortly, sorry about this.


Time#days_in_year in the time.cr

I was looking through the code and found that the core time library has a method for days_in_month, I would like to propose we add days_in_year as well so as to make the system complete. I feel it would be useful, as it is there in the active support in rails, which would now also be in the ruby core from 2.5
If everyone is fine with this suggestion, then I would love to send the PR for it.

@coderhs Sounds like something useful! If you send a PR we'll surely accept it after review.

Thank you. I will send a PR for it. I was writing the spec for that method, when i find that there is no spec for days_in_month method as well.
Do you mind if I add a spec for that as well, in this PR? Just to keep it tested, but I other functions are calling this method and its indirectly being tested.

@asterite let me know if adding unit test for Time#days_in_month is welcomed? I couldn't find any unit test for it in the spec. But at_end_of_month is being tested which uses days_in_month to get the result so indirectly we are testing that method.

I think it's fine to add those extra specs as a seperate commit in this or

@RX14 I have included the test for days_in_month along in the same pr. #5163 Also code example for that method.

Fixed by #5163


Request for ADC data

Hello, could you make a smaller dataset available for the ADC through google drive?

https://drive.google.com/file/d/1R3dalVn9_x8GIH7lm3lZIUl1ftOzoJnp/view


Tailor tool/features to CIME4R features only

As discussed with Christina:
remove unnecessary features that are not relevant for CIME:

[ ] sequence encodings
[ ] projections t-SNE and ForceAtlas2 should be removed
[ ] active line sequence

note by marc: UI improvements for CIME4R use cases (labels, usability, etc.)

To the best of my knowledge these points are now resolved, the sequence UI will not show anymore when the data itself has no sequences. also all projections are remote now.


Crash of removing group specifiers on iOS 10 fixed

This solution fixed the crash, but I think it has a strange animation due to you can only remove group specifier at last moment (-(void) insertMovedThirdPartySpecifiersAnimated:(BOOL)animated)

Manually merged as of commit sha1 42e85913326c27d8e8b1a842cb95e640878778e6.


Fix final openstack links.

@matthewdupre @gunjan5 @tomdee whoever sees this first, review?

build the docs and tested the links for both 1.5 and master and they seem to work.
LGTM! (but I can't merge this since I don't seem to have write access to this repo anymore?)

Obsoleted by https://github.com/projectcalico/calico/pull/75


carthage build error

        Task failed with exit code 65:
        /usr/bin/xcrun xcodebuild -project /Users/aramik/projects/liveplay/Carthage/Checkouts/Differ/Differ.xcodeproj -scheme Differ -configuration Release -derivedDataPath /Users/aramik/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/Differ/1.0.2 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /Users/aramik/projects/liveplay/Carthage/Checkouts/Differ)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/7w/lksw5lk55xn61y0bwlghj0fm0000gn/T/carthage-xcodebuild.ouwKNh.log```

The issue should be fixed.


feat: add radar chart component

Description
Adding a new component RadarChart.

Related issue(s)
#532

What kind of change does this PR introduce? (check at least one)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New Feature (non-breaking change which adds functionality)
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
How has This been tested?
Using StoryBook

Screenshots (if appropriate):

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the related issue section above
[x] My change requires a change to the documentation. (Managed by Tremor Team)
[ ] I have added tests to cover my changes
[x] Check the "Allow edits from maintainers" option while creating your PR.
[x] Add refs #XXX or fixes #XXX to the related issue section if your PR refers to or fixes an issue.

Can't wait for this feature to be released!


Trigger a event after the search returned no results, passing input value like parameter

I'm a problem , and is more a question than a problem. I want to trigger an event after the input select2 search returns no results .
I want to trigger an event with the input value as a parameter for database search.
Does anyone know how I can do this ?
I can not capture the keypress event input within the select2 I've tried everything .

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.


[Bug]: The schema does not display the administrator's data source, environment, character encoding, collation, and last synchronization time

ODC version
odc 4.3.2
OB version
no related
What happened?

The schema does not display the administrator's data source, environment, character encoding, collation, and last synchronization time
What did you expect to happen?
The source database information that needs to be displayed is displayed
How can we reproduce it (as minimally and precisely as possible)?
The schema does not display the administrator's data source, environment, character encoding, collation, and last synchronization time
Anything else we need to know?
No response

pass


The getter 'name' was called on null.

While having the #22 issue (and a few times before but because I was making another mistake) I had this error:
NoSuchMethodError: The getter 'name' was called on null.
Receiver: null
Tried calling: name
STACKTRACE:
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:43)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:47)
#2      new IncorrectTypeTransform (package:dson/src/exceptions.dart:15:49)
#3      _convertValue (package:dson/src/deserializer.dart:235:17)
#4      _fillObject.<anonymous closure> (package:dson/src/deserializer.dart:147:22)
#5      List.forEach (dart:core-patch/array.dart:150)
#6      _fillObject (package:dson/src/deserializer.dart:134:23)
#7      _initiateClass (package:dson/src/deserializer.dart:346:10)
#8      _convertValue (package:dson/src/deserializer.dart:260:12)
#9      fromJson (package:dson/src/deserializer.dart:27:10)

It appears to come from:
  IncorrectTypeTransform(Object value, String type, [String key = "unknown"]) :
    _type = type,
    _field = key,
    _foundType = reflectType(value.runtimeType).name;

The problem appeared in the past when I forgot to call _initMirrors();
That was a hard one because the original Exception is hidden by this Exception in... Exception management.
However, I had it again when hitting #22 because type issues on native types are managed like that (on deserializer):
 else if (valueType == String) {
    if (value is String) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'String', key);
    }
  } else if (valueType == num) {
    if (value is num) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'num', key);
    }
  } else if (valueType == int) {
    if (value is int) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'int', key);
    }
  } else if (valueType == double) {
    if (value is double) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'double', key);
    }
  } else if (valueType == bool) {
    if (value is bool) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'bool', key);
    }
  } else if (valueType == 'list') {
    if (value is List) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'list', key);
    }
  } else if (valueType == Map) {
    if (value is Map) {
      return value;
    } else {
      throw new IncorrectTypeTransform(value, 'Map', key);
    }

but for me all these IncorrectTypeTransform() returns the same Exception because reflectType(bool) is null.
This is because base Dart types are not added to _classMirrors (and they don't need to, do they?)

what was this object?

I don't have time to test it, but just map an int (say 10) in json to a bool field called f and you'll have this:
new IncorrectTypeTransform(10, 'bool', "f");

That should give you enough info to debug, but it's shadowed by the NoSuchMethodError exception in the constructor: reflectType(10.runtimeType) returns null.
That problem might seem avoidable, but it's frustrating when you must run in debug to understand your error, while it should just be printed in console.


Fix missing reference prefix of commits when sync mirror repository

Fix #24824
The reference name of commits when synchronizing should also has prefix like refs/heads/<branch-name>.

Related to  Allow for matching short-hand references in sync pulls #23070
That PR has more comments

I think it needs some tests, to show how parseRemoteUpdateOutput works.

It seems like this PR could be merged already, but if there is any work needed in furtherance of that let me know.
I have a reproduction environment setup and could easily run manual tests on that.

#24824 should be fixed by #24634, so close thi PR

According to https://github.com/go-gitea/gitea/pull/23070#issuecomment-1567335008
Let's take this PR for 1.19.4 ?


bug: data yields into incorrect table when nesting manually

Description
I noticed in a real-life environment that mixing yields without markers and markers sometimes pushes data into the wrong table.
I was able to create a test case that reproduces it.
The expected outcome is 4 tables, looking like this:
things:

id

1000

2000

things_a:

id
my_resource_id
value

a
1000
1

a
2000
4

things_b:

id
my_resource_id
value

b
1000
2

b
2000
5

things_c:

id
my_resource_id
value

c
1000
3

c
2000
6

but instead things_c receives an additional item intended for the non-marked table things, so it looks like this:
things_c:

id
my_resource_id
value

c
1000
3

2000
None
None

c
2000
6

is retained during extraction
yes! Can you point me to the code where that happens? I searched and couldn't find it.

I'll need to verify if this is the correct behavior
I most definitely do not expect it and the examples in the documentation don't mention it either.
It also only happens on the very last insert. E.g. on Import of Y main rows with Y*X marked rows for other tables only the very last yield of Y will end up incrorrectly in the previously as X marked table.

If you explicitely mark every row, then it will work.

It doesn't actually, I believe. I have tried this as the first attempt and I remember it not working, however figuring out where that row came from drove me a bit nuts, so I tried a lot of things and not very methodical. I will add a second test case to this pull request with an explicit mark for the parent resource.

If you replace yield my_resource with:
            yield dlt.mark.with_hints(
                    item=my_resource,
                    hints=dlt.mark.make_hints(
                        table_name="things",
                    )
                )

you will get the expected result.
For where this problem originates this will be in the normalizer or the pipe iterator. If you can have a stab at it. We are currently very busy but should come back to this shortly, but you can always ask for help here :)

PS: Yes, we consider this a bug.

you will get the expected result.

just added a second parameter to the test to make sure it works as intended: 3cff1a3f - it does, so \o/

this will be in the normalizer or the pipe iterator.

OK, will have a short look if I can find it.

things {'id': 1000}
things_a {'my_resource_id': 1000, 'id': 'a', 'value': 1}
things_b {'my_resource_id': 1000, 'id': 'b', 'value': 2}
things_c {'my_resource_id': 1000, 'id': 'c', 'value': 3}
None
things_c {'id': 2000} <---- HERE IS THE ISSUE, this should be `things`
things_a {'my_resource_id': 2000, 'id': 'a', 'value': 4}
things_b {'my_resource_id': 2000, 'id': 'b', 'value': 5}
things_c {'my_resource_id': 2000, 'id': 'c', 'value': 6}

via
diff --git a/dlt/extract/extractors.py b/dlt/extract/extractors.py
index 41d3035a..c62fa44e 100644
--- a/dlt/extract/extractors.py
+++ b/dlt/extract/extractors.py
@@ -135,6 +135,7 @@ class Extractor:

         if table_name := self._get_static_table_name(resource, meta):
             # write item belonging to table with static name
+            print(table_name, items)
             self._write_to_static_table(resource, table_name, items, meta)
         else:
             # table has name or other hints depending on data items
@@ -148,8 +149,10 @@ class Extractor:

shows that in subsequent runs after setting a hint on an item, the resource seems to store it.
The reason it stores it, is this call to merge_hints:
https://github.com/dlt-hub/dlt/blob/61c2ed96053bd02632b87e2c85fa940a91a9d03b/dlt/extract/extractors.py#L129
merge_hints calls resource.apply_hints, which then mutates the underlying resource. Any subsequent writes afterwards that do NOT bring it's own meta (e.g. table_name is empty) , will then fall back to the meta of the resource in https://github.com/dlt-hub/dlt/blob/61c2ed96053bd02632b87e2c85fa940a91a9d03b/dlt/extract/extractors.py#L153 and 💥 .
I believe this would possibly not only cause issues for table names, but also for all other metadata, if any of it would divert from what's on the resource. table_name is just the most obvious one.
There are various fixes that could be done, but I am unsure if there are any backwards-compatible ones if anyone is relying on this not very sane behavior, as someone could have used this as a feature like:
yield item1
yield item2
yield dlt.mark.with_hints(item3, hints=dlt.mark.make_hints(table_name="xxx"))
yield item4
yield item5
yield item...

whoch would have yielded 2 items into the table defined in the resource and then all other subsequent items into table xxx.

Something like this also fails:
@dlt.transformer(
    table_name=lambda item: "xxxx"
)
def xxxx() -> Iterable[TDataItem]:
    yield {"id": 1}
    yield dlt.mark.with_hints(
        item={"id": 1000},
        hints=dlt.mark.make_hints(
            table_name="yyyy",
            write_disposition="merge",
            primary_key="id",
        ),
    )

with:
A set of table hints provided to the resource is inconsistent: Table name yyyy must be a function if any other table hint is a function

for the same reason - it tries to merge the hitns for the sub-table (yyyy) into the main resource and then 💥 because the main resource has a dynamic table name.
Workaround is table_name=lambda item: "yyyy" but that's besides the point; it's the same merge that causes the issue.

@joscha thanks for the investigation, this makes sense! I have assigned the task to myself and hope I'll get to fixing it next week. Keep an eye on the pr :)

I found another issue relating to columns, which is the same codepath:
@dlt.resource()
def my_resource():
    yield dlt.mark.with_hints(
                            item={"hello": "..."},
                            hints=dlt.mark.make_hints(
                                table_name="a",
                                columns={
                                    "hello": {
                                        "data_type": "text"
                                    }
                                }
                            ),
                        )
    yield dlt.mark.with_hints(
                            item={"world": "..."},
                            hints=dlt.mark.make_hints(
                                table_name="b",
                            ),
                        )

should create:
Table: a

hello

...

Table: b

world

...

but creates:

(the column definition is retained on the pipeline for subsequent runs until another hint overwrites it.

@sh-rp this bug makes dlt almost unusable when trying to yield data into different tables, I'd love to work towards a fix, can I assume that we agree this is a regression and hints should not be shared across different yields at all, e.g. the pipeline state must not be tainted by whatever hint is passed with a marked yield?

@joscha we are a little in the area of undefined behavior. try to create table variants if you use dynamic table name (maybe we should set this automatically and for sure we should document it)
def with_hints(
    item: TDataItems, hints: TResourceHints, create_table_variant: bool = False
) -> DataItemWithMeta:
    """Marks `item` to update the resource with specified `hints`.

    Will create a separate variant of hints for a table if `name` is provided in `hints` and `create_table_variant` is set.

    Create `TResourceHints` with `make_hints`.
    Setting `table_name` will dispatch the `item` to a specified table, like `with_table_name`
    """
    return DataItemWithMeta(HintsMeta(hints, create_table_variant), item)

regarding the state: all the tables are generated by a single resource and will be marked as such. so they share a single state

I've been running this a while with table variants and I believe it is working as expected.
We definitely need to make

A data item validator was created from column schema in companies for a table <some_table> variant. Currently such validator is ignored.
configurable, so it's usually suppressed.

Also, I still think a fix is needed for the standard case. Or at the very very least extensive documentation both markdown and code around the current behavior.

Hey @joscha, to summarize what the current state of this discussion is.

We need to make sure that warnings don't pile up over and over again (you can create a ticket for this)
We need to document the table variants stuff (this could also go into a ticket with an example of this case)

Is there anything else?

Is there anything else?

Only one extra item comes to mind: if we agree that yielding items with hints without create_table_variant=True mutates the resource state is not a bug, we should probably also add a couple tests in regards to it that assert this explicitly.


Improve oasis wallet show and export outputs

Print two more things when calling show and export:

wallet kind (file, ledger), algorithm and number (secp256k1-raw, ed25519-adr8:0, secp256k1-bip44:2) - similar to KIND column in wallet list
for mnemonic accounts, print the derived private key in Base64/Hex format

Implemented in #137.


Add gradle wrapper, publishing to mavenLocal, and upgrade to gradle 7.

This merge request makes multiple updates to the build system for the ouinet AAR.

Adds the android/gradle/wrapper/gradle-wrapper.properties file, which will simplify future updates to gradle.
Adds option for publishing the ouinet AAR your local maven repository, e.g ~/.m2, but it leaves publishing to Sonatype as the default behavior, so no changes are required to the current release process, fixing #52
Upgrades gradle to version 7, fixing #51

Note, right now, it may still be necessary to update the build-android.sh with new versions of android, though if we totally move away from this shell script, in favor of a full gradle build system for the ouinet AAR, then the gradle wrapper will handle installing gradle for you.
All of these changes are pre-requistes for the upcoming addition of OuinetService code, which will introduce Kotlin code to the library and will be much easier to add if the gradle plugins are up-to-date.

The circleCI failure is caused by a timeout. On my local machine, the first build with gradle 7 can take more than 30mins and I don't think our circleCI plan allows us to increase the timeout beyond 30m (or when I upped it to 60m, it was still timing out due to lack of resources on the runner?). Regardless, we are planning to move away from circleCI when when switch to gitlab, and the circleCI is unreliable anyway because one of the bep44 tests fails randomly, so I'm not to worried about passing the circleCI check.
I am going to merge given that I build locally and the AAR produced works as expected.


Revert "Added my movie-recommender file"

Reverts GSSoC24/Hack-Web3Conf#75

@student-Ranjan Why revert PR created?

Sorry about the confusion! I’m still learning how to use GitHub, and I might have closed it by accident. Could you please guide me on how to revert the changes? I appreciate your patience as I learn.


TEST

Metric
Statement
Statement count

Overall (changed files)
78.1%
384

Overall (all files)
19.3%
70686

Details

Class
Statement
Statement count

Test
78.1%
128

Test
78.1%
128

Test
78.1%
128

Metric
Statement
Statement count

Overall (changed files)
78.1%
384

Overall (all files)
19.3%
70686

Details

Class
Statement
Statement count

Test
78.1%
128

Test
78.1%
128

Test
78.1%
128

Metric
Statement
Statement count

Overall (changed files)
78.1%
384

Overall (all files)
19.3%
70686

Details

Class
Statement
Statement count

Test
78.1%
128

Test
78.1%
128

Test
78.1%
128

Metric
Statement
Statement count

Overall (changed files)
78.1%
384

Overall (all files)
19.3%
70686

Details

Class
Statement
Statement count

Test
78.1%
128

Test
78.1%
128

Test
78.1%
128


[test] Fix build benchmark

Codecov Report

Merging #150 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #150   +/-   ##
=========================================
  Coverage     81.86%   81.86%
  Complexity      519      519
=========================================
  Files            45       45
  Lines          1858     1858
  Branches        273      273
=========================================
  Hits           1521     1521
  Misses          214      214
  Partials        123      123

Continue to review full report at Codecov.

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


Add yup validation to Pending Changes section

add yup validation to the pending changes form section in the left side bar

/cib pending-changes-yup-validation

Branch 110-pending-changes-yup-validation created!


Update travis to use mkdocs insiders

Purpose / why

Enable premium fetaures of mkdocs-material

What changes were made?

Added an access token, and am using it to install premium mkdocs-material in travis

Verification

Still figuring that out, honestly.  We need to use a premium feature to test.

Interested Parties

@Islandora/documentation

Checklist

Pull-request reviewer should ensure the following

[ ] Does this PR link to related issues?
[ ] Does the proposed documentation align with the Islandora Documentation Style Guide?
[ ] Are the changes accurate, useful, free of typos, etc?
[ ] Does this PR update the last updated on date on the documentation page?

Person merging should ensure the following

[ ] Does mkdocs still build successfully? (This is indicated by TravisCI passing. To test locally, and see warnings, see How To Build Documentation.)
[ ] If pages are renamed or removed, have all internal links to those pages been fixed?
[ ] If pages are added, have they been linked to or placed in the menu?
[ ] Did the PR receive at least one approval from a committer, and all issues raised have been addressed?

This is probably having issues reading the secret.  I'll have to fiddle with this to make sure it's getting my access token.

Travis is happy with this now


Disables condition of sale link if the user has previously accepted them #trivial

This PR fixes a slight omission from #1172 where the conditions of sale link was enabled in the case where the user had previously accepted them and now checkbox was rendered. Here is the line of code.
Self-assigning because everyone else is out and this is trivial. Wonder if merge on green works in PR bodies?

I guess it doesn't. Merge on green, please.


DataArray and virtual variables

Now that we are at it... Why don't DataArrays have virtual variables?

The short answer: they do have virtual variables, just not a virtual_variables attribute:
import pandas as pd
import numpy as np
import xray
t = pd.date_range('2000-01-01', '2000-12-31', freq='6H')
x = np.random.rand(*t.shape)
time = xray.DataArray(t, name='t', dims='time')
print time['time.month']

<xray.DataArray 'month' (time: 1461)>
array([ 1,  1,  1, ..., 12, 12, 12], dtype=int32)
Coordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-01T06:00:00 2000-01-01T12:00:00 ...

I actually recently removed the virtual_variables attribute from Dataset on the development version. A cleaner way to handle virtual variables would be to add a .dt attribute like pandas, e.g., time.dt.month. That would also support discovery (e.g., time.dt.<tab> or ds.time.dt.<tab>) better than a special attribute to list permissible strings.

Ok, thanks - it seems I didn't even try :P
I find the name virtual_variables easier to grasp than dt, but better to be consistent with panda.


Added support for named pipes

So, I'm pretty new to both Purescript and Node.
I was playing around with purescript-express, and trying to host a server in IIS using iisnode.
It seems that an express application, when hosted through iisnode, will be initiated by invoking app.listen(pipe) with a named pipe, instead of a port.
purescript-express has bindings for ports (listenHttp and listenHttps), but none for pipes, so this PR proposes adding a new function named listenPipe. The only difference between listenHttp and listenPipe is that the latter takes a string as a parameter rather than an int. The underlying js implementation is the exact same though.
Feedback is appreciated.

Hi! Looks good to me :+1: Thank you for the contribution!

Thank you!


[AppleSequencer] bindMemory API misuse

https://github.com/AudioKit/AudioKit/blob/9d25f6c1e40975f321786d9b70502b4d74421707/Sources/AudioKit/Sequencing/Apple Sequencer/AppleSequencer.swift#L354
The capacity parameter of bindMemory(to:capacity:) means

The amount of memory to bind to type T, counted as instances of T.

Not the size in bytes.
https://developer.apple.com/documentation/swift/unsafemutablerawpointer/2428061-bindmemory

Also the use of assumingMemoryBound(to:..) is also not technically safe.

Accessing memory through the returned pointer is undefined if the memory has not been bound to T.

https://developer.apple.com/documentation/swift/unsafemutablerawpointer/2428188-assumingmemorybound
https://github.com/AudioKit/AudioKit/blob/9d25f6c1e40975f321786d9b70502b4d74421707/Sources/AudioKit/Sequencing/Apple Sequencer/AppleSequencer.swift#L261
https://github.com/AudioKit/AudioKit/blob/9d25f6c1e40975f321786d9b70502b4d74421707/Sources/AudioKit/Sequencing/Apple Sequencer/AppleSequencer.swift#L445

A better way to parse things like MIDIMetaEvent is
// bind the pointer to a MIDIMetaEvent
let eventPointer = pointer.bindMemory(to: MIDIMetaEvent.self, capacity: 1)
// get the `data` field offset
let offset = MemoryLayout<MIDIMetaEvent>.offset(of: \.data)!
// get the data payload size
let dataLength = Int(eventPointer.pointee.dataLength)
// bind the data pointer
let dataPointer = pointer.advanced(by: offset).bindMemory(to: UInt8.self, capacity: dataLength)
// use the data pointer, e.g. create a `Data`
let eventPayload = Data(buffer: UnsafeBufferPointer(start: dataPointer, count: dataLength))

I'd really welcome a pull request from you to fix the points this issue raises.

Sorry, pretty busy recently. Maybe I can get around to this next week.


[Feature] delete results

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I followed the coding and design guidelines.
[x] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Closes https://github.com/ls1intum/Artemis/issues/3412
Description

Introduces a way to delete results of submissions. (Deletion of the whole submission is already possible)
Steps for Testing

Navigate to Course Administration -> Exercise / ExerciseGroups -> Participations / Submissions
Now click on the number of Submissions of an participation /

Next to every result there should be a delete button.

Results should not be able to be deleted if a complaint is linked to them. Don't use the delete submissions button on the right, as it is not part of this PR. It will delete the submission no matter if it has results or complaints!

Test Coverage

participation-submissions.component.ts:
Assessment Resource:
Assessment Service:

Tested on TS1. I was able to delete the submission even though I had filed a complaint for it. The complaint was also deleted with the submission.

The deletion of the submission is unchanged, which means it can be deleted even if there is a complaint of one of the results.
I only added the deletion of the results of a submission.

I added it to the description. :)

Tested on TS1. I had the problem when using the "DELETE" Button next to a result and confirm the deletion in the occurring pop up window, the window seems to freeze in the deletion process. I waited for about 10 minutes, the loading sign next to Delete (see screenshot) is still moving and nothing changes. Same seems to hold for submissions with a open complaint.

Should be fixed now, I overlooked one of the switch cases.

Tested on TS1 and it works for deleting submissions without complaints, however when I try to delete a submission that has a complaint I receive the following error:

Tested on TS1. I get same as @argertboja
ALso, I see the following behavior and want to check if that's right :

In a submission of a  Text Exercise, the Delete button shows even if there was no grading done to begin with. As you can see in the images below:

You are able to reproduce this, when you just open submission for assesment but don't submit anything.

Tested on TS1 and it works for deleting submissions without complaints, however when I try to delete a submission that has a complaint I receive the following error:

Yea there was a small bug with the text-submissions as the java REST endpoint uses a slightly different URL and I overlooked it. Now everything should work for all exercise types.

Tested on TS1. I get same as @argertboja
ALso, I see the following behavior and want to check if that's right :
* In a submission of a  Text Exercise, the Delete button shows even if there was no grading done to begin with. As you can see in the images below:

You are able to reproduce this, when you just open submission for assesment but don't submit anything.

When you see:  it means there is a result, but it is not yet submitted. (it is the lock for the assessment)
Since at this point the result already exists (although it has no visible score, as it is has e.g. no completionDate), you should also be able to delete it.

I still get the error, when trying to delete a modelling exercise with complaints linked to it. (Tested on ts1)

It is intended that you cannot delete a result if it has a complaint. I changed the error message handling so it looks cleaner, now


Improve README & add paths-ignore to build-and-test.yml

The last commit was made because Windows is not using Swift 5.7


Adjust guidance on lighting cues

The preservice preset is by-default dimmer than the worship looks, but probably too pedantic specify differently in the instructions


Bot is offline

Bot is offline since a few days.
There are solutions? 😊

Apologies. The server has been restarted.


Programmatic PubSub Bulk Subscribe Support

Is your feature request related to a problem? Please describe.
Today, it looks like the dapr go-sdk does not support the alpha-feature Bulk Subscribe described in the v1.11 Dapr docs. It would be great if the go-sdk supported bulk subscribe programmatically. Although the declarative setup is allegedly available (I am in the process of getting this to work...), it would be nice to have the same features as the .NET, Java, and JavaScript SDKs 😄.
Describe the solution you'd like

Support for Bulk Subscribe in the go-sdk
Ability to enable/disable, set maxMessageCount, and set maxAwaitDurationMs

Describe alternatives you've considered
Declarative setup is available, but not preferred by our team.
Additional context
I'm happy to provide any additional information if needed. I also took a look at the source code and couldn't find a way to bulk subscribe. Please correct me if i'm wrong!

can we break this into 2 pr's http and grpc


@open-wc/building-rollup fails to recognize the package.json exports field

Expected behavior
Rollup (using config from @open-wc/building-rollup) should be able to build projects that include dependencies using subpath exports, and more generally the exports field.
Actual Behavior
When a project attempts to import from a dependency that uses subpath exports:

if the subpath exactly matches the actual location in the repo (e.g. "./src/submodule.js": "./src/submodule.js"), it works fine
otherwise, the dependency is not found:

Error: 'example/file.js' is imported by src/index.js, but could not be resolved – treating it as an external dependency

This indicates the exports field in package.json is being ignored entirely.
Additional context
The solution is to upgrade @rollup/plugin-node-resolve to its latest version.
We are using @open-wc/building-rollup v1.10.0, but the issue is still present in v2. It's caused by using an old version of @rollup/plugin-node-resolve, which is set to ^7.1.1. We have resolved the issue on our end by explicitly adding the latest @rollup/plugin-node-resolve (v13.3.0) to our Rollup config, and setting nodeResolve: false in building-rollup.
Some discussion on Rollup's support of the exports field: https://github.com/rollup/plugins/issues/208.

Updated @rollup/plugin-node-resolve to v13 in #2192 and released in @open-wc/building-rollup 2.2.0. Closing.


Remove mtime from tarsum

We have had a few ppl complain that it does not make sense to use mtime for tarsum.
ping @vbatts what do you think?

this is V1 TarSum


[stable/sentry] Add support for ServiceAccount

What this PR does / why we need it:
This adds support for setting up ServiceAccount for Sentry. AWS EKS Supports IAM Roles directly via Kubernetes ServiceAccounts - removing need to setting up manually access keys.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

Hi @mikian. Sorry for delay.
/ok-to-test

/lgtm


Stacked bar chart with null values broken in 2.5

It appears that if you have two datasets set to stack, and the first dataset doesn't contain the maximum number of values, the second dataset doesn't show completely.
Broken Fiddle: https://jsfiddle.net/Luaf2tm4/282/
Note how the data on line 7 isn't complete, so the data on line 11 isn't rendering.  If you enter null values, or swap so the 'History' dataset is first, all the values show properly.
Working Fiddle: https://jsfiddle.net/Luaf2tm4/283/
This is working as expected in version 2.3.1

Does this reproduce with the latest from master?

Was fixed in v2.6.0 https://jsfiddle.net/rdg6Lgoa/1/


M00-LAB16: An error message was found while running the pipeline YAML (SonarCloud)

Contact Details
No response
What happened?
Exercise: 01
Task: 02
Step: 08
Description of issue:
An error message was found while running the pipeline YAML.
Repro steps:

Exercise 1, Task 2, Step 8 ->An error message was found while running the pipeline YAML.
Error message: "There was a resource authorization issue"

Lab
Lab 16 Managing technical debt with SonarQube and Azure DevOps
Relevant screenshots

Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

I have the same error. The project's service connection list is empty.
The reason of the failure is that in the lab manual those steps are not described in detail. After adding the service connection like described on the Sonar web page, it started working

After that the pipeline fails anyway with the error:

these are not the same issue:

@v-asamim has a wrongly named service connection in the pipeline
@az400raf your problem is the build task not finding the correct .NET project in the repository. Need more information to identity (paste pipeline+build task details)

I am closing the issue, for now. Feel free to reopen after check the suggestions provided. Thanks.


nothing to see here

Monitoring Feature List

[ ] Component Monitoring
View (p50, p99, p999) # of Renders, Total Time (in dev), Self Time (in dev).
[ ] Interaction Monitoring
View (p50, p99, p999) # of Renders caused, Time, Interaction Type ("click", "scroll", "keypress"), and Interaction Name ("CustomButton"). Display ${interaction.type} : ${interaction.name}, i.e click : CustomButton
[ ] Divide Components, Interactions, and Paths by Good, Needs Improvement, Poor sections
[ ] Countries, Devices, Operating Systems
[ ] Total Interactions over Time

Technical List

[ ] Unique Interaction Id - A unique interaction should be groupable across deployments and sessions.
[ ] Normalized Dynamic Routes - Paths with dynamic params are normalized from /branch/123/category/456 to /branch/:brandId/category/:categoryId. Use Vercel Analytics approach to having different imports for each framework with custom route and URL prop. https://github.com/vercel/analytics/blob/main/packages/web/src/nextjs/index.tsx
[ ] Add API KEY support where the key is sent via the "X-API-KEY" header

Data Structure
export interface Session {
  id: string; // nanoid
  url: string; // flush everytime route changes for accuracy
  device: 0 /* desktop */ | 1 /* tablet */ | 2 /* mobile */
  agent: string; /* user agent */
  wifi: string; /* idk if necessary */
  cpu: number;
  gpu: string | null;
  mem: number;
}

export interface IngestRequest {
  interactions: Interaction[];
  components: Component[];
  session: Session;
}

interface Interaction {
  id: string; // a hashed unique id for interaction (groupable across sessions)
  name: string; // name of interaction (i.e nav#top-menu.sc-601d0142-19.gHiJkL) or something useful
  type: string // type of interaction i.e pointer
  time: number; // time of interaction in ms
  timestamp: number;
  //... anything you might need here
}

interface Component {
  interactionId: string; // grouping components by interaction
  name: string;
  renders: number; // how many times it re-rendered / instances (normalized)
  instances: number; // instances which will be used to get number of total renders by * by renders
  totalTime?: number;
  selfTime?: number;
}

lfg i love life


Infinite update loop

I'm using vue-kindergarten to manage user permissions in page components, local components and as a route guard. So when I try to login with first account, navigate between few pages, logout and then login with second account with other permissions, vuejs stucks with an error: "You may have an infinite update loop in a component render function.". That error arises in computed property, generated by plugin.
I am not able to show code, but I can say that I did everything according to tutorial.
The error can be possibly located in decorateComponents.js. Each call of sandboxGetter function creates new sandbox. So when new computed properties are setting up, each of them points to the new instance of the sandbox. This could be a source of the problem, but I am not sure about that.
I have changed decorateComponents.js code and it worked for me (sandboxGetter function is called only once).
      const sandboxGetter = () => createSandbox(sandboxChild(), {
        governess,
        perimeters
      });

      const sandbox = sandboxGetter();

      options.computed = options.computed || {};
      options.methods = options.methods || {};

      options.computed.$sandbox = () => sandbox;

      // Add helper methods from sandbox
      (useSandboxMethods || []).forEach((methodName) => {
        const $methodName = `$${methodName}`;
        const sandboxMethod = sandbox[methodName];
        options.computed[$methodName] = typeof sandboxMethod === 'function' ?
          () => sandboxMethod.bind(sandbox) : () => sandboxMethod;
      });

      // Add purpose
      if (exposePurpose) {
        sandbox.getPerimeters().forEach((perimeter) => {
          const purpose = perimeter.getPurpose();
          options.computed[`$${purpose}`] = () => sandbox[purpose];
        });
      }

Here is my pull request: https://github.com/JiriChara/vue-kindergarten/pull/32

Hi @v1996-96,
thank you very much for the PR, but unfortunately the E2E are failing. I was using getter there, because Vue.js was not triggering the updates when user logged-in/logged-out.
Do you think you can create an example so I can reproduce that bug? I will probably have no time during x-mas, but I will try to find a better/simpler way to decorate the components with sandbox.
Thanks!

Hi @JiriChara
We use Nuxt.js 2 with Vue 2.5.17 and Vuex 3.0.1
We faced a similar issue in our application and had to take a more restrictive path to avoid this kind of issue, i.e :

Having only one perimeter with all rules inside
Stop relying on injected perimeters in template like v-if=$user.isAllowed('xxxx') and use component methods like the following instead

methods : {
   hasAuthorization(xxxx) {
        return UserPerimeter.isAllowed('xxxx')
   }
}

Obviously, by doing so we completely lose the interest of using vue-kindergarten :/
Would you have time to work on it if I can provide you with an example to reproduce ?


mobile: Add support for sending trailers in the TestServer

This PR adds support for sending trailers in the TestServer::setResponse. The HttpTestServer has also been updated to support sending trailers.
This PR also updates ReceiveTestTrailersTest.kt to use HttpTestServer.
Risk Level: low (tests only)
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/assign @abeyad


[UNR-3526] Allow specifying port from open ip:port

Description
Add ReceptionistPort getters and setters, and include setting the port in SetupFromURL
Release note
Adds support to specify a receptionistPort in the URL when using client travel.
Tests
No tests, but I did the equivalent in Stavka, and it worked

Updated this so it passes tests, and modified them slightly so they test this new functionality as well.


json-patch integration tests

I found these official json-patch integration tests: https://github.com/json-patch/json-patch-tests
Do you want me to make a branch / PR that will (hopefully as little as possible) fail some tests and then start fixing them?
Cheers

Would be :+1: .


QC summary

Summary plots showing:

Average QRS waveform (if using EKG data).
Average pulse-ox peak (separated for high and low frequencies)
Average respiration belt wave form
Inter-peak intervals for cardiac and respiration measures separately
Signal-to-noise or other quality metrics.

Preferably as .html output file.

Also look into typical quality metrics used for ECG, respiratory data (e.g. histograms, signal-to-noise)

For now we only have this implemented for the ECG. We need to create the same QC  functions for the other data (respiration & pulse-ox)

Closing this. The remaining work to do (QC for respiration and pulse-ox) has been added to the Projects tab


Upgrading issues.

Running into an error when I've upgraded to the newest version.  Using apache2 right now.
I've changed the command to the following (removed the email and host here)
C:\UniformServer\letsencrypt\wacs --test --target manual --host xxx-xxx.com --validation filesystem --webroot C:/UniformServer/vhosts/xxxxxx/ --emailaddress<EMAIL_ADDRESS>--store pemfiles --pemfilespath C:\UniformServer\core\apache2\server_certs --accepttos --notaskscheduler --verbose

The result is this now:

C:\UniformServer\letsencrypt>C:\UniformServer\letsencrypt\wacs --test --target manual --host xxx-xxx.com --validation filesystem --webroot C:/UniformServer/vhosts/xxxxxx/ --emailaddress<EMAIL_ADDRESS>--store pemfiles --pemfilespath C:\UniformServer\core\apache2\server_certs --accepttos --notaskscheduler --verbose
[VERB] Verbose mode logging enabled
[VERB] Looking for settings.json in C:\UniformServer\letsencrypt
[DBUG] Config folder: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org
[DBUG] Log path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Log
[DBUG] Cache path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Certificates
[VERB] Arguments: --test --target manual --host xxx-xxx.com --validation filesystem --webroot C:/UniformServer/vhosts/xxxxxx/ --emailaddress<EMAIL_ADDRESS>--store pemfiles --pemfilespath C:\UniformServer\core\apache2\server_certs --accepttos --notaskscheduler --verbose
[DBUG] Renewal period: 55 days
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>0 (RELEASE, PLUGGABLE)
[INFO] ACME server https://acme-staging-v02.api.letsencrypt.org/
[DBUG] Connection OK!
[INFO] IIS not detected
[INFO] Running with administrator credentials
[WARN] Scheduled task not configured yet
[INFO] Please report issues at https://github.com/PKISharp/win-acme
[VERB] Test for international support: 語言 язык لغة
[INFO] Running in mode: Unattended, Test
[INFO] Target generated using plugin Manual: xxx-xxx.com
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Checking [Manual] xxx-xxx.com
[VERB] Loading ACME account signer...
[DBUG] Loading signer from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Signer_v2
[VERB] Constructing ACME protocol client...
[DBUG] Send GET request to https://acme-staging-v02.api.letsencrypt.org/directory
[VERB] Request completed with status OK
[DBUG] Send HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce
[VERB] Request completed with status OK
[DBUG] Loading account information from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Registration_v2
[DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order
[VERB] Request completed with status Created
[DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/39594514
[VERB] Request completed with status OK
[INFO] Authorize identifier: xxx-xxx.com
[INFO] Authorizing xxx-xxx.com using http-01 validation (FileSystem)
[VERB] Writing file to C:/UniformServer/vhosts/xxxxxx.well-known\acme-challenge\fptYFqkyYrsuHkrMTADUxrA-Q9qna7dl3wfrksl4SXM
[INFO] Answer should now be browsable at http://xxx-xxx.com/.well-known/acme-challenge/fptYFqkyYrsuHkrMTADUxrA-Q9qna7dl3wfrksl4SXM
[--test] Try in default browser? (y/n*)  - yes
[EROR] Error preparing for challenge answer
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at PKISharp.WACS.Plugins.ValidationPlugins.HttpValidation2.PrepareChallenge()    at PKISharp.WACS.Plugins.ValidationPlugins.Validation1.PrepareChallenge(IChallengeValidationDetails challenge)
at PKISharp.WACS.RenewalExecutor.Authorize(ILifetimeScope execute, RunLevel runLevel, ValidationPluginOptions options, TargetPart targetPart, Authorization authorization)
[EROR] Create certificate failed: Authorization failed
[--test] Quit? (y*/n)

Any ideas why? I been using the v1 protocol until now, but got a message I should upgrade. It works on the old version, but not this one.
The answer was view-able via browser, so I assume that is not the issue here.
Thanks.

This also occurs when I do it manually, same steps, same error.

Suddenly it started working, no changes. Not sure what was up. Still doesn't work in the --test mode but it's working live. Was having trouble with it for a day though.

It seems the [--test] Try in default browser? feature was broken since version 2.1.0.

Oh cool, good to know :)


Unexpected override behaviour

By accident I stumbled upon some wired behavior when extending a Kodein instance and overriding its dependencies. I created a minimal failing test to demonstrate it:
    data class Foo(val name: String)
    data class Bar(val foo: Foo)

    fun root() = Kodein {
        bind<Foo>() with singleton { Foo("rootFoo") }
        bind<Bar>() with singleton { Bar(instance()) }
    }

    fun sub(root: Kodein) = Kodein {
        extend(root, allowOverride = true)

        bind<Foo>(overrides = true) with singleton {
            val overriddenInstance = overriddenInstance() as Foo
            overriddenInstance.copy(name ="subFoo")
        }
        bind<Bar>(overrides = true) with singleton {
            val overriddenInstance = overriddenInstance() as Bar
            overriddenInstance.copy(foo = instance())
        }
    }

    val root = root()
    val sub = sub(root)

    val subFoo : Foo = sub.instance()
    val rootFoo : Foo = root.instance()

    assertEquals("subFoo", subFoo.name)
    assertEquals("rootFoo", rootFoo.name)

    val subBar : Bar = sub.instance()
    val rootBar : Bar = root.instance()

    assertEquals("subFoo", subBar.foo.name)
    assertEquals("rootFoo", rootBar.foo.name) // <- fails

The important part here is the order in which we retrieve the Bar instances. If we first retrieve Bar from root and then from sub everything works as expected.
I suspect that using overriddenInstance() in the second binding of Bar somehow leaks the overridden Foo instance into the creation process of root Bar.

Kodein 5.0 beta2 has been released.
This issue was, by far, the main update :)
You should read the Overridden access from parent section of the documentation as it explains the new behaviour (that might differ from what you were expecting).
I will close this issue when Kodein 5.0 is released.

Kodein 5.0 stable has been released :)


SKLearn ValueError: The number of classes has to be greater than one; got 1 while running audioTrainTest

I was trying to follow some basic instructions by http://rwx.io/blog/2016/04/08/bp-pyaudioanalysis/
But, I keep on running into the error after analyzing the calls:
Analyzing file 4 of 4: data/training_data/1/11648004178-out.wav
Feature extraction complexity ratio: 12.0 x realtime
Param = 0.00100 - Classifier Evaluation Experiment 1 of 100
/usr/lib/python2.7/dist-packages/sklearn/svm/base.py:514: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().
y_ = column_or_1d(y, warn=True)
Traceback (most recent call last):
File "createClassifierModel.py", line 18, in
aT.featureAndTrain(subdirectories, 1.0, 1.0, aT.shortTermWindow, aT.shortTermStep, "svm", "svmModel", False)
File "/home/test_env/pyAudioAnalysis/audioTrainTest.py", line 329, in featureAndTrain
bestParam = evaluateClassifier(features, classNames, 100, classifierType, classifierParams, 0, perTrain)
File "/home/test_env/pyAudioAnalysis/audioTrainTest.py", line 718, in evaluateClassifier
Classifier = trainSVM(featuresTrain, C)
File "/home/test_env/pyAudioAnalysis/audioTrainTest.py", line 160, in trainSVM
svm.fit(X,Y)
File "/usr/lib/python2.7/dist-packages/sklearn/svm/base.py", line 151, in fit
y = self._validate_targets(y)
File "/usr/lib/python2.7/dist-packages/sklearn/svm/base.py", line 521, in _validate_targets
% len(cls))
ValueError: The number of classes has to be greater than one; got 1
root@ip-10-102-1-142:/home/test_env

How did you fix this error?


Support for Suse Enterprise

Hello,
We are currently in the process of testing/deploying Sensu across our enterprise. We are mostly a windows shop but our main system runs on Suse. All other linux hosts are ubuntu/etc.
Is there a plan to also include Suse in the near future?
Thank you,
JH

We've created an internal issue to track this. We plan to implement repository rewrites in order to support Suse Enterprise. We will announce support when it becomes available in the coming weeks. Thank you for the issue :+1: Closing it.

Thank you for your feedback, look forward to the announcement!


feat: Add main.rs, routes, apis and enable clippy check

Merging this PR makes this repository ready for public use.
Signed-off-by: SiddheshKanawade<EMAIL_ADDRESS>

@hsluoyz @hackerchai please review

@hsluoyz @hackerchai please check


Thousands separator from space

How to I can do thousands separator from space? For examle 10 568 789. I don't understand it. This mask # ## don't working.

@paulhodel what is estimated time to introduce this feature?

It has been deployed to the master repository of jSuites, it will be included in npm soon.


NEW Runtime, stacktrace, f0fail, CUDA and other errors on feature extraction that make no sense...

Hi all.  Feature extraction is giving me errors regardless of if I choose dio, harvest, rmv, etc.  What I don't understand is that it was working perfectly fine.  This is not a new version (I don't believe) since the last time I successfully trained a model.  I merely reformatted Windows since then, redownloaded RVC and now it's acting up.  Is there a memory issue?  There shouldn't be, as it was just working a few weeks ago.  Nothing is new with my hardware either, unless Windows updated something that broke RVC for me.
Here's the log file.  I tried to embed it but it's way too long:
extract_f0_feature.log

just re-install all stuff.


device_tracker is set to 'not_home' shortly after every restart

Home Assistant release with the issue:

0.83.2
Last working Home Assistant release (if known):
0.82.x (latest in the 0.82 series)
Operating environment (Hass.io/Docker/Windows/etc.):

Docker on Ubuntu 18.04
Component/platform:

device_tracker, maybe recorer
https://www.home-assistant.io/components/device_tracker/
https://www.home-assistant.io/components/recorder/
Description of problem:
Upon restart of Home Assistant, my iOS device gets marked as not_home.  This occurs every restart since updating to 0.83.x.  I have deleted the database file thinking that it could have been corrupted, but that did not help.  As you can see from the log below, it starts out with an old state of None, then gets updated to home then 7 seconds later, it updates to not_home.  This is 100% reproducible for me.
  I have been using Owntracks (+ BT beacons) and Ping also on Ubuntu (Python virtual env, no Docker).   If both Owntracks and Ping report I am not_hoome then I am not.  If either Owntracks or Ping report I am home my status is home.   The arrangement has worked reliably for me for over a year.
Since updating to 83.2, my Owntracks status bounces from home to not_home quite a bit more when my actual location is unchanged.  The only change in my yaml is my moving owntracks configuration from under "device_tracker:"  to "owntracks:".   (Without this configuration change, ver 83.2 will not start but does not generate an error.)
I've also tried duplicating some of the device tracker options (consider_home, interval_seconds, etc.) under "owntracks:" since I didn't know if owntracks would pick them up anymore in the new configuration, but no luck.

Same issue here, I downgraded to 0.82.1 because owntracks is unusable. But ios app tracker has the same issue. Maybe there's some relationship

This same issue happens with the Geofency plugin as well and has been for a while.

Yes, this has been reported and currently being investigated. Many states are not being restored. Hopefully, it will be fixed in the next release.

Having the same problem with a MQTT device tracker I have setup through the Monitor script on a Pi Zero.

Having the same problem on a MQTT Device tracker I have setup though Monitor script on a Pi Zero.

Related to #18662

Cross-post from Discord user phnx:

the entire state machine is getting overhauled in 0.84
should probably ask some of these folks to test the beta

If anyone can give the beta a shot and confirm, that would be helpful.

I just installed 0.84.0b1 and it still occurs.  All device_tracker entities are set to not_home on restart.

This issue is fixed and can be closed now.


[Bug] non US keyboard problem (italian)

What happened?
in the plugin pop-up typing \ to write symbols and all doesn't trigger the list to appear, it instead just types it

it instead appears when pressing the key ù, which position in the italian layout corresponds to the \ position in the US layout

it doesn't always works though, sometimes it just types the ù character
other keys show similar behaviours
Logseq Version
0.10.6
Logseq Live Math Version
1.4.0
Quick check

[X] There is no existing issue about this bug

Additional context
No response

Thanks for the report! Can you reproduce this bug on https://cortexjs.io/mathlive/demo/? If so, it is an upstream issue and should be reported to https://github.com/arnog/mathlive/.


HADOOP-18883. [ABFS]: Expect-100 JDK bug resolution: prevent multiple server calls

Backport of https://github.com/apache/hadoop/commit/7dc166ddc7fa524d842c77c0d6e83dde6d13dc54
Trunk PR: https://github.com/apache/hadoop/pull/6022
Description:
Address JDK bug JDK-8314978 related to handling of HTTP 100 responses.
https://bugs.openjdk.org/browse/JDK-8314978
In the AbfsHttpOperation, after sendRequest() we call processResponse() method from AbfsRestOperation.
Even if the conn.getOutputStream() fails due to expect-100 error, we consume the exception and let the code go ahead. This may call getHeaderField() / getHeaderFields() / getHeaderFieldLong() after getOutputStream() has failed. These invocation all lead to server calls.
This commit aims to prevent this.
If connection.getOutputStream() fails due to an Expect-100 error, the ABFS client does not invoke getHeaderField(), getHeaderFields(), getHeaderFieldLong() or getInputStream().
getResponseCode() is safe as on the failure it sets the responseCode variable in HttpUrlConnection object.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 20s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ branch-3.4 Compile Tests _

+1 :green_heart:
mvninstall
32m 27s

branch-3.4 passed

+1 :green_heart:
compile
0m 21s

branch-3.4 passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 18s

branch-3.4 passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 18s

branch-3.4 passed

+1 :green_heart:
mvnsite
0m 22s

branch-3.4 passed

+1 :green_heart:
javadoc
0m 24s

branch-3.4 passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 20s

branch-3.4 passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
0m 41s

branch-3.4 passed

+1 :green_heart:
shadedclient
19m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 19s

the patch passed

+1 :green_heart:
compile
0m 17s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 17s

the patch passed

+1 :green_heart:
compile
0m 15s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m  9s

the patch passed

+1 :green_heart:
mvnsite
0m 17s

the patch passed

+1 :green_heart:
javadoc
0m 15s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 15s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
0m 39s

the patch passed

+1 :green_heart:
shadedclient
18m 53s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
1m 41s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 22s

The patch does not generate ASF License warnings.

80m 36s

Subsystem
Report/Notes

Docker
ClientAPI=1.44 ServerAPI=1.44 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6511/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6511

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 7bdaba9722bb 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.4 / 56109e0e6c8962deca87d004159742584e32c3cb

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6511/1/testReport/

Max. process+thread count
638 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6511/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:::: AGGREGATED TEST RESULT ::::
HNS-OAuth
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAbfsClientThrottlingAnalyzer.testManySuccessAndErrorsAndWaiting:181->fuzzyValidate:64 The actual value 9 is not within the expected range: [5.60, 8.40].
[INFO]
[ERROR] Tests run: 141, Failures: 1, Errors: 0, Skipped: 5
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:336 » TestTimedOut test timed o...
[INFO]
[ERROR] Tests run: 567, Failures: 0, Errors: 1, Skipped: 24
[INFO] Results:
[INFO]
[WARNING] Tests run: 340, Failures: 0, Errors: 0, Skipped: 41
HNS-SharedKey
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAbfsClientThrottlingAnalyzer.testManySuccessAndErrorsAndWaiting:181->fuzzyValidate:64 The actual value 9 is not within the expected range: [5.60, 8.40].
[INFO]
[ERROR] Tests run: 141, Failures: 1, Errors: 0, Skipped: 5
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o...
[ERROR]   ITestAzureBlobFileSystemLease.testTwoWritersCreateAppendWithInfiniteLeaseEnabled:186->twoWriters:154 » TestTimedOut
[INFO]
[ERROR] Tests run: 560, Failures: 0, Errors: 2, Skipped: 24
[INFO] Results:
[INFO]
[WARNING] Tests run: 340, Failures: 0, Errors: 0, Skipped: 41
NonHNS-SharedKey
[INFO] Results:
[INFO]
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 11
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ITestAzureBlobFileSystemRandomRead.testValidateSeekBounds:269->Assert.assertTrue:42->Assert.fail:89 There should not be any network I/O (elapsedTimeMs=42).
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:344->lambda$testAcquireRetry$6:345 » TestTimedOut
[INFO]
[ERROR] Tests run: 551, Failures: 1, Errors: 1, Skipped: 264
[INFO] Results:
[INFO]
[WARNING] Tests run: 340, Failures: 0, Errors: 0, Skipped: 44
AppendBlob-HNS-OAuth
[INFO] Results:
[INFO]
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 5
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o...
[INFO]
[ERROR] Tests run: 564, Failures: 0, Errors: 1, Skipped: 24
[INFO] Results:
[INFO]
[WARNING] Tests run: 340, Failures: 0, Errors: 0, Skipped: 41
Time taken: 49 mins 32 secs.
azureuser@Hadoop-VM-EAST2:~/hadoop/hadoop-tools/hadoop-azure$
azureuser@Hadoop-VM-EAST2:~/hadoop/hadoop-tools/hadoop-azure$
azureuser@Hadoop-VM-EAST2:~/hadoop/hadoop-tools/hadoop-azure$ git log
commit 56109e0e6c8962deca87d004159742584e32c3cb (HEAD -> branch-3.4_expect100resolution, origin/branch-3.4_expect100resolution)
Author: Pranav Saxena<EMAIL_ADDRESS>Date:   Sun Jan 21 11:14:54 2024 -0800
HADOOP-18883. [ABFS]: Expect-100 JDK bug resolution: prevent multiple server calls (#6022)

@steveloughran , as advised, I have created backport pr on branch-3.4 for https://github.com/apache/hadoop/pull/6022. Requesting your kind review please. Thank you very much.


Add vaccine page to session create journey

Seems simple, just the vaccine page ... right? If only.

Validations

Confirm

Let's roll forward any tweaks / changes.


Option to use slash-command or other syntax to use in a template?

Hi, it's me again ;) Right now one can only use the right-click method - would it be possible to use something like {{renderer weather}} so the weather would be inserted when calling a template?

Hi again @karkraeg :) I've thought about adding that functionality as well. I'll have to look into it some though. Definitely seems possible.

@karkraeg pushed a new version v0.5.0 with a new slash command to "Add current weather data" in the current block.
https://github.com/axelav/logseq-plugin-weather/releases/tag/v0.5.0

nice, works like a charm!

Hello. I try to make this work in a template with the following.
{{renderer :"Add current weather data"}}

But this never triggers when I run the template. Any chance you can post the syntax that works?

@jorlando-tuik this plugin isn't built to work like that. You'll need to use logseq's slash commands by typing a / in a block and searching for "Add current weather data" or by right clicking on on a block's bullet and selecting "Add current weather data".

Thank you @axelav

@axelav  Thank you very much for getting back to me. I was able to implement this myself. I submitted https://github.com/axelav/logseq-plugin-weather/pull/7 over to you with the feature if you are interesting.
Either way, thanks for putting the plugin together. It is great stuff.

Thanks @jorlando-tuik - I'm traveling for a few days but will take a look at your PR when I am back earlier next week.


feat/link category in metadata

Is your feature request related to a problem? Please describe.
It's often important in my use case to understand when a text is a hyperlink. Currently, it doesn't seem possible to do this with this library
Describe the solution you'd like
Example:
page_content='[Sources](http://wikipedia.org)' metadata={'source': 'filename.docx', 'filetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'page_number': 4, 'category': 'Link'}

Describe alternatives you've considered
I;m currently just going without doing this

@sommohapatra - Thanks for flagging this. As of 0.8.2, we're pulling out links for HTML and a few other document types (see #959). From your example, it looks like you need hyperlinks tracker in Word documents, is that correct?

This is added by PR#1746. Should be merged within a week or so.

Merged to main on October 13, 2023.