Missing files in sdist

It appears that the manifest is missing at least one file necessary to build
from the sdist for version 0.3.0. You're in good company, about 5% of other
projects updated in the last year are also missing files.
+ /tmp/venv/bin/pip3 wheel --no-binary datacatalog-tag-exporter -w /tmp/ext datacatalog-tag-exporter==0.3.0
Looking in indexes: http://<IP_ADDRESS>:9191/root/pypi/+simple/
Collecting datacatalog-tag-exporter==0.3.0
  Downloading http://<IP_ADDRESS>:9191/root/pypi/%2Bf/ffc/b90e1534d3866/datacatalog-tag-exporter-0.3.0.tar.gz (14 kB)
    ERROR: Command errored out with exit status 1:
     command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-6bisxeu5/datacatalog-tag-exporter/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-6bisxeu5/datacatalog-tag-exporter/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-wheel-6bisxeu5/datacatalog-tag-exporter/pip-egg-info
         cwd: /tmp/pip-wheel-6bisxeu5/datacatalog-tag-exporter/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wheel-6bisxeu5/datacatalog-tag-exporter/setup.py", line 6, in <module>
        with open('HISTORY.md') as history_file:
    FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Thanks for filling this @thatch! I pushed a new version with the fix, 0.3.1, if you want to check it out.
I ran the same command and it worked with the fix, so I'm closing this, if it's not resolved for you, please reopen and let me know.


Compressed sources

Compressed sources, do we want to handle this like this:
rml:source [
  rml:access [
    # what we had previously for `rml:source` is now here
    # location & access (ex: WoT has security and location here)
  ];
  rml:encoding enc:UTF-8;
  rml:null "THIS IS A NULL VALUE";
  rml:compression comp:Zip;
]

Or do we need to handle this as nested Logical Sources? This approach won't work for a ZIP file with multiple files.

Not a vocabulary, but a possibility could be to use the MIME types: https://docs.w3cub.com/http/basics_of_http/mime_types/complete_list_of_mime_types.html

Nested logical sources could also prove to be beneficial for, e.g. "an RDB table where one column is a JSON object", so maybe it makes sense to investigate this on a higher level? (I couldn't find an active challenge on that though)


Example on as_json added to SHOW BACKUP docs & 21.1

Closes #12278
Expanded documentation on the as_json option, also added this to v21.1 docs on the SHOW BACKUP page

This change is

@livlobo I am pushing this through to docs review, but do let me know if you have further comments adjustments.


add path-parameters-function-go sample

Signed-off-by: Lize Cai<EMAIL_ADDRESS>follow up of https://github.com/OpenFunction/functions-framework-go/pull/52#issuecomment-1165214944.
Add path-parameters-function-go (Sync function with path parameters) under:

content/en/docs/concepts/function_signatures.md (added under http, cloudevent and openfunction as the sample has multiple functions)
content/en/docs/getting-started/Quickstarts/sync-functions.md under Go

Thanks @lizzzcai


Class method with conditional return type cannot return types common to both conditional branches when the class also has an interface

Bug Report

🔎 Search Terms

method conditional return type not assignable to type
🕗 Version & Regression Information

3.3.3+
⏯ Playground Link

Playground link with relevant code
💻 Code

export interface Foo<T> {}
export class Foo<T> {
  public bar(): T extends string ? string | number : number {
    return 1;
  }
}

🙁 Actual behavior
Return statement is an error, despite being valid for both branches of the conditional return type.
This ONLY happens if the interface Foo exists. If the interface is commented out, the error goes away.

🙂 Expected behavior

Return statement is not an error, because 1 is assignable to both string | number and number.

Duplicate of #26933.

Duplicate #27932
You can write
  public bar(): number | (T extends string ? string : never) {

@RyanCavanaugh Thanks for looking into it. I'd be really curious to know why the mere presence of the empty interface triggers the issue, and why the issue does not occur if I comment out the interface. I see the linked issue is an abandoned PR - does that mean this is a wontfix?

I missed that - no, what's super weird

Sideways question - what does this construct even mean? Based on my testing this seems like a huge footgun.
export interface Foo<T> {
  foo(): number
}
export class Foo<T> {
  constructor(private _v: T) {}
  public bar(): T {
    return this._v
  }
}

const inst = new Foo(100)

inst.foo() // ok, but crashes at runtime
inst.bar() // ok

Declaration merging, for declaring when you've e.g. polyfilled foo onto the Foo.prototype

This happens because a literal 1 type (source) is compared against a conditional type (target). When a conditional type is on the target side the types are only related to each other when the conditional type:

has no infer type parameters
and is distribution independent

This logic can be found here. In turn, isDistributionDependent checks if the root.checkType type parameter is possibly referenced and, for this case, it will always return true and classify this conditional as dependent on the distribution and thus the source won't be checked against the target at all. The reason why this type param is treated as possibly referenced is that the symbol of this type param has more than one declaration, you can check the logic here


rp64: wlan crash

Yesterday my rp64 crashes. wifi wasn't fully configured.
https://pastebin.com/JWXajREi
The cause was a reboot of my router.
Kernel
Linux rp64_nextcloud 4.4.167-1140-rockchip-ayufan-g6f266fb5d677 #1 SMP Fri Mar 8 22:31:21 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux

Interesting. Maybe we need different binary blob.
On Wed, Mar 20, 2019 at 5:14 PM bullet64<EMAIL_ADDRESS>wrote:

Yesterday my rp64 crashes. wifi wasn't fully configured.
https://pastebin.com/JWXajREi
The cause was a reboot of my router.
Kernel
Linux rp64_nextcloud 4.4.167-1140-rockchip-ayufan-g6f266fb5d677 #1 SMP Fri
Mar 8 22:31:21 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/334, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACTpQQfcjaDSOoBcgoPNvHpjTFzjfMOhks5vYl53gaJpZM4b_s33
.

Some news about this bug.
It has nothing to do with wifi. I removed the wifi-modul and this error happens again. So i removed pcie-nvme-ssd and then the error don't come back.
@ayufan : This error occurs when i am testing wireguard. This rp64 was one endpoint.
On another rp64 (second endpoint) with pcie-nvme-ssd this error doesn't occur.
Only difference seems to be that rp64 with problems run on 0.7.14, and the other rp64 on 0.7.11 (i think) Both using same kernel.
Linux rp_64_test 4.4.167-1140-rockchip-ayufan-g6f266fb5d677 #1 SMP Fri Mar 8 22:31:21 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux


Streaming with the internal device audio

I am trying to enable internal audio capture for my app, but for some reason the broadcasted sound is choppy and it doesn't sound the same as the source at all.
I'm using the following configuration:
private const val AUDIO_BITRATE = 1200 * 1024
private const val SAMPLE_RATE = 44100
private const val IS_STEREO = true

And I call the method normally:
displayBase.prepareInternalAudio(
                AUDIO_BITRATE, SAMPLE_RATE, IS_STEREO
            )

I am missing something to make this thing work? Thanks.

I can't check it now.
I will test it next week.

fixed: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/commit/a3c0a0232fcb68cee76c5148937047a854a7d740

I have tried the new version, got a new error:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/703


Website link is broken (http://leo-yuriev.github.io/libmdbx/)

The Github project's associated web page is http://leo-yuriev.github.io/libmdbx/ ... this used to work a month ago but returns a 404 now. Might want to update it.

Thanks for the report.

Corrected where I noticed, but I will look for broken links in other places.

Seems done.


Update Readme.md

@Shutch420
Summary

How did you test your changes?

Interested to hear the inspiration behind these changes.


Migrate to latest Spine libraries

This PR does the migration of todo-list to the latest available versions of Spine libraries.
The other purpose of this PR was to test the work of ProtoJS plugin. The client-web now uses the plugin so its messages have JSON-parsing API and provide it to the Firebase backend client.
Also, the client-web was switched to the subscriptions mechanism for the task list updates instead of manually refreshing the page.

@armiol PTAL. I think the currently failing build is not a problem with the changes in this PR.

Closing this PR as the Travis status check seems to be stuck.


Notification bar

Draft PR to mainly bring a words of caution proposal for review and alignment.
It is missing final layout adjustments and naming review.

Reworded some parts and addressed some small typos - let me know what you think!
Aiming not to scare people away, but still communicate the risks involved in a clear manner:
🚨 Considerations for early adopters of Bug Buster Alpha 🚨
Bug Buster is in its alpha stage, meaning that its development is still heavily active and thus changes (new features, improvements and fixes) can come at anytime.
Regarding security, Bug Buster is built on top of the Cartesi Rollups SDK and developed with meticulous care and attention to detail. However, we cannot guarantee that the platform is entirely free of bugs or vulnerabilities at this stage.
To avoid any potential loss of funds, we recommend that you use the platform with caution and avoid using it with large amounts of funds.
Finally, this is an exciting phase of development and your feedback really matters! Together, let's build an innovative, safer and user-friendly open-source bug bounty platform for the Web3 industry 🌟
Feel free to explore, ask questions, and provide feedback on our Discord channel [link] or message us on our X account.

I just saw @karmentruong provided her feedback on this as well. Feel free to mix-and-match mine with hers.

This needs a rebase.


Broken by Home Assistant Core 2023.5

This integration was broken by Home Assistant Core 2023.5:
https://github.com/home-assistant/core/pull/91929

Dang. Ok I'll find some time next week to take a look. I haven't updated to that version yet.

Thanks. I thought this was simply a task of changing init.py:
from
    hass.config_entries.async_setup_platforms(entry, PLATFORMS)

to
   hass.config_entries.async_forward_entry_setup(entry, PLATFORMS)

But although that does not give an error message anymore, it's not working either. So I didn't get any further than this yet

ah... got it... You need to change line 56 from
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
to
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
and now it works again.

Nice! Did you want to do a PR? Otherwise I'll try these fixes during the week. Thanks for figuring it out!

Sure - sent you a pull request. Thanks for creating this add-on!

Works for me too! Thanks for the update. I can't take credit for creating the add-on, just packaging it as a custom component. :)

This works for me as well, glad you fixed it.  Let me know if you guys have any questions.


Create Issue Template and PR Templates

Create Issue Template and PR template. This will hopefully alleviate the no message PRs and basic (not yet awesome) descriptions for the Hyperterm plugins, themes, and resources.

PR template done - any thoughts on what an Issue template would ideally contain?

Don't think we need an issue template at this point, given the very rare use of them. Closing!


Issue with cloning an app

To whom it may concern,
I tried to clone your demo app by using your provided link but it took so long to clone. I left it all night and came back seeing the same results. It kept saying, "Checking out: swiftui/PasswordlessSwiftUI/media/login_flow.gif". So I force-quitted that xcode and restarted the whole thing. Unfortunately, the result remained the same. Can somebody please help me with this?

Closing since this isn't a samples issue. You can use GitHub's download as zip feature in the event that a git clone isn't working.


Fix typo

That whole block of instructions is meant to be run at once. That single quote matches the one on line 53.


Mark Participants as "Present" in bulk (or enable to elect people that are not marked as present)

Not every event has something like a "check-in". Mostly those check-ins are to ensure that only people can vote that are "present". But what happens if someone has a distributed event and uses OpenSlides or if someone should be elected that is not present?
The last use-case I heard was about an event were some members can elect people of a 10k Members-Pool. Of course not everyone of those 10k people is present, but everyone of those 10k members could be a candidate for the election. Therefore the current implementation of "only present members could be elected" is not valid for every use case. Thus I would propose to either mark (or unmark) Participants as "Present" in bulk (like in the "select" option in the Participants view, but with "set" options for all selected members) or to enable at an election, that also people can be voted, that are not marked as present.
In case of an distributed event, could the "Present"-Flag also be set, as soon as the user logs in on the time of the event?

works already in 2.2b2


Spreeding xdays

New option xdayspreed will spreed the lending days by incrementing linear from 2 days at (xdaythreshold/xdayspreed) rate to xdays days at xdaythreshold rate

Example: Using values: xdaythreshold = 0.2, xdays = 60, xdayspreed = 2,
the bot will lending:

rates < 0.1% (=xdaythreshold/xdayspreed) for 2 days
rates between 0.1% and 0.2%: days will be incremented from 2 to 60 days
(e.g. 0.1%/2d, 0.11%/8d, 0.12%/14d, 0.13%/20d, 0.14%/26d, 0.15%/32d, 0.16%/38d, 0.17%/44d, 0.18%/50d, 0.19%/56d, 0.20%/60d)
rates > 0.2% for 60 days

Types of changes

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

Checklist:

[x] I have read CONTRIBUTING.md
[x] I fully understand Github Flow.
[x] My code adheres to the code style of this project.
[x] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[x] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[x] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

Did you misspell 'spread'; as in to spread out your loan durations?

@utdrmac Right, but consequent false :-) Corrected.


Immutable Entities

Is there a way to have immutable entities? My problem is that for instance if you create an entity and then persist it, Doctrine wants to set the id of the object.
Is there a way to have the persist method return a new object with the id on it?

@davidbarratt if you want that you should not use a generated ID.
Maybe using an UUID would be better for you, you set it upfront (e.g. constructor) and the ORM would only use that value.

@lcobucci well that's an interesting solution I hadn't considered. I suppose objects loaded from the database just overload the properties on creation? Or do they need setters?

@davidbarratt reflection is used, no need for setters: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L2578

@JCMais ok great! so the only feature that is really missing, is being able to use auto generated ids, but it's good to know there is a workaround.

Or rather... I should say that you cannot use immutable entities with @GeneratedValue() since that would mutate your class, correct?

Or rather... I should say that you cannot use immutable entities with @GeneratedValue() since that would mutate your object, correct?

Indeed, generated identifiers are also configured via reflection but in the end it would change the state of the object after it's creation (which removes the whole immutable idea).

With that said we'll close this as invalid 😉

@lcobucci I guess the only way around that would be for Doctrine to generate / return a new object? Can I open a feature request for an option to force Doctrine to do this?

@davidbarratt the ORM is not responsible for creating a new object, it just gets an object that the user created and persists it (following the provided mapping).
You can definitely open the feature request but I don't think it would be implemented/accepted. The idea couples your domain to a detail (persistence), which is not something good when talking about object oriented design and architecture.
It would also push some extra complexity to the ORM, which is something that we always try to avoid 😃.

@lcobucci which is worse, the coupling (domain to a detail), or mutable data in OOP?

@davidbarratt IMHO coupling (specially when talking about your domain). Mutability creates complexity which is not necessarily a problem.

Actually very simple to implement: use @Entity(readOnly=true) :-)
The rest (API-wise) is up to you, sorry.


Support for hollow VDBs

From Tomas Skrivan comes this PR for providing hollow vdb support.
The volume-to-mesh gains an optional oracle to determine sign.   Rebuild level set uses this to ensure the rebuilt levelset always matches sign with the input.
From Polygons SOP gains an option to use the winding number to determine sign, enabled in H20 where the winding number is exposed.

I don't like the unused parameter "warning" in the best of days, but in this case the problem is it is unused because we have a if constexpr which is causing it to not be used!
error: parameter 'interiorTest' set but not used [-Werror=unused-but-set-parameter]

Current failures seem to be explicit instantiation, which makes sense as I think Tomas added a template for the oracle....  Ideas of how to resolve this are appreciated.

Current failures seem to be explicit instantiation, which makes sense as I think Tomas added a template for the oracle.... Ideas of how to resolve this are appreciated.

The simplest resolution to this is to provide explicit values for the new arguments (ie nullptr, etc) here:
https://github.com/AcademySoftwareFoundation/openvdb/pull/1525/files#diff-cb3368eb16b1ce350d0e14c29b73757572b90b22b8e390f6ec2038d60a087d47R4449
That will fix the failures. However, by adding this new oracle, any time you provide a custom oracle, this pretty heavy method will need to be instantiated. A better solution might be to split this method up to call a few sub-methods where we could explicitly instantiate all but the oracle sub-method to minimize the impact on compile-times. I'm not sure how worth the effort that is, however this tool is one of the largest at ~4500 lines so it might still be worth doing this.
Do you have any unit tests you could add to this PR? Given how extensively used this tool is and how subtle some of the bugs in this area can be, it would be good to have some strong unit tests here.

Yeah, the implications on explicit instantiation worry me.  I'd like some feedback on the right way forward.
Note in particular this change has affected RebuildLevelSet.  This does change behaviour even without hollow meshes - I think the new behaviour is better, but we still have to analyse the differences carefully.

I've taking out the change to rebuildLevelSet as that doesn't work for resolution increases.  I'd still like the oracle support, however, as it can at least fix the mesh case.
I've made it explicitly instantiate the std::null_ptr path, which I believe means any use of the oracle won't be explicitly instantiated.  This is okay, I think, as if a user has their own oracle they can't use an instantiation anyways as we won't have their oracle.  And in internal oracles, like if rebuildLevelSet were go through, they'll be instantiated when/if the containing rebuildLevelSet is explicitly instantiated.


Missing instructions on how to do a full build of the browser

The docs mention  a partial build of the browser/xulrunner but I couldn't figure out how to get started with a full one:
https://github.com/sailfishos/sailfish-browser/issues/1013
I tried both sfdk and mb2 and would appreciate some hints

Just for reference, here are the docs in question:
https://docs.sailfishos.org/Reference/Core_Areas_and_APIs/Browser/Working_with_Browser/
There are unfortunately lots of 'gotchas' when it comes to building gecko-dev. There are workarounds needed for different architectures (x86, arm, aarch64) and depending on whether you're building on OBS or locally using sfossdk or sfdk. I agree it'd be good to capture all of these in the docs.
For example, we should document the git_workaround flag that's needed for local builds (not needed on OBS). And the fact that a patch for scratchbox2 is needed for local x86 builds (not needed on OBS, not needed for arm or aarch64).
The process in a nutshell. Get the source:
git clone git@github.com:sailfishos/gecko-dev.git
cd gecko-dev
git submodule update --init

Clean builds should use the prepare step to apply patches:
sfdk build -d -p --with git_workaround

Subsequent incremental builds should skip the prepare step:
sfdk build -d --with git_workaround

You'll also need sufficient resources: in my experience 16GiB RAM is probably not enough but 32GiB should be.


BUG: undefined fragment is passed to willPaste event handler on IE10/Edge

I want to modify fragment when pasting HTML, to strip styles or attributes.
I added willPaste event handler to editor:
editor.addEventListener('willPaste', handlePaste);

then, the handler strips styles and attributes:
function handlePaste(event) {
  /* modify event.fragment.children here */
}

It works fine on Chrome or Safari, but on IE/Edge event.fragment.children is undefined.

This is nothing to do with Squire. As per the MDN docs on DocumentFragement, IE/Edge does not support the ParentNode interface (and so the children property) on document fragments. Use the childNodes property and filter instead.

Thanks, I got it.


how to change background with lua

What is your question?
how do i change backgrounds with lua
i would prefer if its a custom event
i have source and lua

Lua: #3137
Source: look at any mod that does this effect lol, most if not all have a public repo

i know go to your stage
and make another bg in stage but visble are false
and
below
function BeatHit
if curBeat == 10 then
change visible to true in the new stage
and the normal stage visible false
and swap ciode
to get normall bg
bad tutorial
you can see monika exe mod
have the codes in stage

i know go to your stage
and make another bg in stage but visble are false
and
below
function BeatHit
if curBeat == 10 then
change visible to true in the new stage
and the normal stage visible false
and swap ciode
to get normall bg
bad tutorial
you can see monika exe mod
have the codes in stage


Added setup files for pypi submission

Hey Daniel, saw this wrapper and was going to give it a try, but it'd be more useful if it was in pypi?
I've added the setup files to give that a bit of a push.
For a simple guide on adding packages to pypi (it's not too bad):
http://peterdowns.com/posts/first-time-with-pypi.html
https://packaging.python.org/distributing/
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/

Awesome! I will work on this and hopefully submit the app to pypi this week if all goes well.

OK, if you merge this pull request it will get you most of the way there.

Thanks again, I would like to add the rest of the files I need later this week and then merge once it's ready to be updated.

OK, it might be better to merge now since this pull request I think is applying master to master. I am checking in changes to make this Python 3 compatible...

Would it also require that I add brackets to the print statements?

Well, depends on if I get to it first or not I guess. It'd be better to merge these non-conflicting changes first, will make life easier for the other changes that will probably be a bit more invasive. My plan is to make changes over the next day or two...


Rename cmd agent and server folders and binaries

Renamed cmd/drone-agent to cmd/agent and cmd/drone-server to cmd/server and binaries to get rid of the drone name.

What is the /changelog binary you added? Is that a mistake?

Upps. That was by mistake 🙈


docs: improve example feature docs, add more context

maybe we can create a separate branch that does not have the Replies feature so they can check that out and follow along.

Done. Can check out the latest commit in examples/no-replies


Publish to crate.io

https://doc.rust-lang.org/cargo/reference/publishing.html

It is impossible due to git dependency.
https://github.com/yujong-lee/letsdmmf/blob/bdad007a6c2b807a61712c31daa7f0831298431c/Cargo.toml#L15-L19


Problems with selector and braces indentation

The clean code (expected)
.foo {
    font-size: 18px;
}

But, scss-lint don't give any errors/warnings with these bad indentations :disappointed:
.foo {
    font-size: 18px;
    }

   .foo { // If this is the first line of the file
    font-size: 18px;
}

Am I'm missing any settings here or is it really a bug?

scss-lint version I'm referring to is 0.42.2

@sds I agree this is a bug. But is this feasible to lint on? If I add a puts statement showing the source for the RuleNode, I get the following:
 cat issue-614.scss
.foo {
  font-size: 18px;
  }
$ bundle exec bin/scss-lint issue-614.scss
NODE: Sass::Tree::RuleNode '.foo {'
NODE: Sass::Tree::PropNode 'font-size: 18px;'

Looks like we basically just get the source for the selectors of a RuleNode??? :frowning:

Thanks for the report, @saneef.
As @srawlins points out this is actually quite difficult to do since the Sass parser doesn't give us any information about where the closing brace is located. I've thought about this long ago and came to the conclusion that any workarounds would be brittle and still have edge cases, but I'm open to a pull request that attempts to solve this problem.
One approach would be to find the "next node" (i.e. following sibling or an ancestor's sibling), and backtracking from that node until we find a curly brace. I'm sure there are edge cases where that won't work perfectly, however, since we also need to detect whether a node contains curly braces, which is a feat in and of itself (remember that PropNodes can optionally contain curlies for nested properties.
Open to other proposals that solve this issue!


splatoon3schedule: fix Tricolor Turf War again

Turns out they updated the data model for Tricolor Turf War yet again. Update the app to handle this but, if .data.currentFest.timetable is ever not null again, make use of that instead. (Hopefully its data model hasn't changed as well.)


Fix PHP modules not re-compiling on PHP version changes

Would be nicer if this could be done upstream in the php extension roles though... Now stuff such as solr is rebuilt as well.

Hmm... I'd be willing to do things in the php role, but it's a lot more effort to try to change all the php-* roles.

Especially since all the annoying changes are for Debian only (RHEL repos use the same package names, paths, etc. and unless you use Software Collections you just install one version at a time).

This one affects RHEL as well. The extension never recompiles even if the PHP version changes. It's just moved back into place.

Also, it's pretty rare that people switch PHP versions. Re-building solr/daemonize/etc isnt ideal, but it barely increases the build time anyways..

Nevermind, they are re-compiled, just not moved into place :) @joestewart https://github.com/geerlingguy/drupal-vm/issues/1076#issuecomment-268988244

This would still be needed after the upstream fix in the Xdebug role, correct? And would we need to fix anything in the XHProf role too?

@geerlingguy actually this is the only PR that is required for the fix. This is the solution suggested by @thom8 in https://github.com/geerlingguy/ansible-role-php-xdebug/pull/41#issuecomment-269059900.
Unfortunately I don't have time to test it and I'll be offline until Monday.
In addition to this @joestewart (https://github.com/geerlingguy/drupal-vm/issues/1076#issuecomment-268988244) mentioned that the XDebug extension doesn't upgrade when you change the version (the extension version), this is a separate issue though. https://github.com/geerlingguy/ansible-role-php-xdebug/pull/41 has his fix rebased but bundled with some other commits that should not be merged if we go with assigning the workspace here in the playbook instead.

@oxyc - I merged https://github.com/geerlingguy/ansible-role-php-xdebug/pull/42, so it might be easier to just pull in the updated version of that role (2.3.0).

Ah, true. Post-holiday confusion from having like 40 new issues across my roles :D

(Apparently everyone but me works on my roles over Christmas.)


help_docs: Update various help docs for small changes.

Updates 4 help articles for small updates / changes:

user-groups: Adds warning for removing yourself from a user group.
restrict-wildcard-mentions: Updates for setting name in UI.
format-your-message-with-markdown: Changes for in-app help, which is now an icon.
web-public-streams: Adds link to Zulip's Rules of Use.

I didn't pull down the PR, but looks good modulo the small wording tweak I noted!

Great! I've pushed that small revision to the PR.

Merged, after a couple changes:

"no longer have permissions ..." => "no longer have permission ..."
Formatted the commit message a bit more readably, as an example for the style we prefer. In particular, one should always use sentences, and lists of things should use simple bullets for readability.

(It's not particularly important for this PR, but the main use case for commit messages is skimming, so it's worth making them feel easy to skim)


fix: raw SQL query for workspace usage is no longer ok

Description
broken query wasn't caught by typescript dues to raw SQL
Risk

Deploy Plan

Tested on front-edge, works like a charm


About entity one-hop generate and fair comparision

In the create_neighbor.py, the paper generated the graph structure sequence using triples from the train, valid, and test datasets. I worried this might cause test dataset leakage in the training process. Is it more reasonable to only use the training dataset in the training process?
 However, when I read the codes, the HittER model only used the graph structure nodes from the training dataset. So, is the comparison fair with the HittER model in your experiment? Not only HittER, in another work's code(IMF: Interactive Multimodal Fusion Model for Link Prediction) using graph structure for KG, also only uses the training dataset.
Looking forward to your reply. Thx!

Hi, thank you very much for your attention! Regarding the content of create_neighbor.py, it is a mistake made during the process of organizing the code.  We only use the graph structure nodes from the training dataset and we have corrected the run file accordingly.

Thanks for your reply! Will this influence the experiment result in your paper?

Hi buddy, do you have any further questions?

Thanks a lot! I don't have questions now!


Refactor the TokenCleanup

@brockallen @leastprivilege
The current TokenCleanup implementation is enigmatical, in my view, it SHOULD use IApplicationLifetime interface under the Microsoft.AspNetCore.Hosting namespace. The interface is designed to give a developer the opportunity to gracefully startup but mostly shutdown the application. It is comprised of three properties and one method respectively: ApplicationStarted, ApplicationStopping, ApplicationStopped, and StopApplication().
IOW, the TokenCleanup's impls SHOULD register the Start method to ApplicationStarted and register the Stop to ApplicationStopped or ApplicationStopping. and the DbContext should get from DI.
Maybe I SHOULD make a PR to this repo?

great idea! PR welcome

yelp, I will make PR this weekend.

@brockallen  see  #24

Thanks. I'll get to it when I can (my ability to work on IdSvr4 goes in cycles).

@xyting  good idea and good job.
I viewed of part of your code some minutes ago. In my humble opinion, but it can be better for th extension method.
In convention, an Use... method is more welcome in Configure section,  some thing like  app.UseIdentityServerTokenCleaner().
The pesudo code following for your reference:
// in startup.cs > Configure()
app.UseIdentityServerTokenCleaner();

// for the extension class
public static class SomeExtentsionClassName{
  public IApplicationBuilder UseIdentityServerTokenCleaner(this IApplicationBuilder app){

    // resolve
    var appLife = app.ApplicationServices.GetService<IApplicationLifetime>();
    var tokenCleaner = app.ApplicationServices.GetService<TokenCleanup>();

    // control
    if(tokenCleanup != null) {
      	appLifetime.ApplicationStarted.Register(tokenCleanup.Start);
      	appLifetime.ApplicationStopping.Register(tokenCleanup.Stop);
    }
	// return for chain invoking.
    return app;
  }
}

bla, bla...

@MienDev
Thanks your review.
Yes, that is my first version I done, but I think again, the token cleanup only relative with OperationalDbContext or IPersistedGrantStore, that's to say, if the end users do not DI this IPersistedGrantStore,  that extension method is funny （throw exception if tokenCleaner == null will more meaningful).
On the other hand, however, the all TokenCleanup depended services had been injected when DI IPersistedGrantStore,  and this put all code together.

I've submitted some initial updates to your PR, let me know what you think.

@scottbrady91
Check null maybe more meaningful, because maybe the end users have not DI IPersistedGrantStore or they only use AddConfigurationStore to store the configuration and have alternative IPersistedGrantStore, such as redis.
var tokenCleanup = app.ApplicationServices.GetService<TokenCleanup>();
if (tokenCleanup == null )
{
      throw new Exception("The AddOperationalStore must be call first");
}

Good point, there are similar approaches in the core library checking for required registrations. I'll add this in shortly.
I've called it UseIdentityServerEfTokenCleanup to try and make it clear that this is for the EF side of things only. It shouldn't matter what EF database provider they are using.
If they aren't using EF they won't be using this package and would therefore need to implement their own TokenCleanup.

yelp, the name UseIdentityServerEfTokenCleanup means what  it done.

done, thanks


fmp:deploy - Problems with SNAPSHOT and timestamped images

The fmp:run works fine and it startup your project.
But its the fmp:deploy that has problems.

It does not build the image first, so if you run fmp:deploy the first time, you get image download error in k8s as there is no image
If you have previously done a fmp:run and then cltr + c, and now want to deploy it instead, and run mvn fabric:deploy, then  which cannot download the image.
( the pod has image: 'foo/helloswarm:snapshot-161001-101723-0954')
But the images in the repo are:

foo/helloswarm                                        latest                        1912c26b9720        4 minutes ago       200.9 MB
foo/helloswarm                                        snapshot-161001-101528-0680   1912c26b9720        4 minutes ago       200.9 MB
foo/helloswarm                                        snapshot-161001-101438-0628   4266a8e83f44        5 minutes ago       200.9 MB
foo/helloswarm                                        snapshot-161001-101031-0691   5b8fddf92be9        9 minutes ago       200.9 MB
foo/helloswarm                                        snapshot-161001-100521-0516   b5be4ab5cb71        14 minutes ago      200.9 MB

In general there is a bit of "problems" with the ease of use with fmp:run / deploy etc and using SNAPSHOT maven versions. However its common to use SNAPSHOT and certainly if you create new projects from start.spring.io, maven archetypes, or the fabric8 project-new etc.
We are almost there, but it needs a little more hardening to get this timestamp problems.
Also we should update the documentation to be exact what the mvn goals you should run are, as sometimes you may run: mvn clean install fabric8:deploy and other times just mvn fabric:run etc.

I tried again, and deleted all the foo/helloswarm docker images from the docker registry, and undeployed it from k8s so it was clean and ran

mvn clean install
mvn fabric8:deploy

And I get image download problem.
I captured the output in a gist
https://gist.github.com/davsclaus/8c5867aadc65804dbb958d6584fd27a4

@jstrachan sorry to bother you on a weekend, but I think we got a bit of trouble for next weeks demo.

agreed!
I'm wondering if 'run' and 'deploy' should work the same & always build the image.
After Ctrl-C you can use 'start' to avoid doing a full build again - or use the mvn property on 'run' to not stop on Ctrl-C. Or stick to 'deploy & log'?
I wonder if start & deploy should default to tailing the log too? I guess folks can just add a 'log' goal though?

Yeah I think it would be less confusing if deploy and run are the same, just that run tails the log by default.

yeah sounds good - fixed that; will cut a release shortly


DATABASE & SERVER: Log In // Sign Up System w/Auth | GraphQL with a Node.js and Express.js server  & Set up MongoDB and the Mongoose ODM

Data Structure:
Users > Username + Password + Email > Companies
They can Add and Delete Companies

working on today 11-22-21


Added material opacity

Easy way to control material opacity, similar to threejs.

Hey @vujadin
I'm not sure this is the way to go making it easier to set the opacity for the standard material. Do you think something like this is needed because it's a bit cumbersome to change the opacity as it is right now?
The baseColor on the standard material already supports alpha channel, so it doesn't really makes much sense adding another one? Like this, which one would be used in shader, 0.5 or 0.2?
material.baseColor = [1,1,1,0.5]
material.opacity = 0.2

I think that either the material should honour the alpha property from the display object, or the opacity/alpha property on the material should just read/write to the baseColor[3] (where the alpha channel is today).
What do you think?

Yes, I just wanted an easier way to control opacity. baseColor[3] value is not (immediately) obvious for everyone, so I went with three.js way - having opacity property. Three.js has 3 component vectors for both color and emissive with opacity as separate property and it makes more sense to me, makes cleaner API...
But this: "material should honour the alpha property from the display object" - this makes most sense to me (even if it targets baseColor[3] value).

I added a color class and standard material now reads from display object alpha property. https://github.com/jnsmalm/pixi3d/commit/440b36ed8353049a089c6848960a50c763cde398
Do you think it's sufficient?

"standard material now reads from display object alpha" - I can't find where this is implemented... Changing object alpha still doesn't do anything for me. Also, lib has grown from ~200KB to ~260KB, looks like gl-matrix is packed in it. Is it now hard dependency for pixi3D?

I figured it out, took me a while... I guess its ok, but I would automatically set material.alphaMode = StandardMaterialAlphaMode.blend if object.alpha < 1.


mug image on home page is http

Renderer
v3
Browser
Chrome
Operating System
Windows
What happened?
The mug image in the example brew of the home page content is specified with an http url, not https.

A warning appears in the console:

Solution:
edit the url to use https
Code
![homebrew mug](https://i.imgur.com/hMna6G0.png) {position:absolute,bottom:20px,left:130px,width:220px}

/client/homebrew/pages/homePage/welcome_msg.md line 39:

Solution: change http: to https:


Add a Wallets - Need Help

[ ] Add learn more button in header

[ ] Add Modal -

Resolved,

Completed


Simplify duplicate/nested as patterns

What the rule should do:
Detect nested as patterns and unify them.
Example of things the rule would report:
nestedAs : Int -> ( Int, Int, Int )
nestedAs ((a as b) as c) =
    ( a, b, c )

to
nestedAs : Int -> ( Int, Int, Int )
nestedAs  a =
    ( a, a, a )

and
type Opaque = Opaque Int

nestedAs : Opaque -> ( Int, Opaque, Opaque )
nestedAs (((Opaque a) as b) as c) =
    ( a, b, c )

to
type Opaque = Opaque Int

nestedAs : Opaque -> ( Int, Opaque, Opaque )
nestedAs ((Opaque a) as b) =
    ( a, b, b )

To Discuss
Which name should be preserved?  i.e. a or b or c (or b or c` in the latter example) in the above?
Comments
These probably aren't likely to be written by hand very much, but they can definitely happen from automated fixes from other elm-review rules.  elm-review-unused will catch if one of the patterns isn't used at all, but in this case, they are all actually used.

I agree that this is a pattern that should likely be forbidden. But I'm not sure that choosing a or b or c as the name is something that Simplify is best suited for. And since Simplify aims to have fixes for everything, I don't think it should be covered by this rule.
I imagine you're thinking of this for NoSingleCasePattern, and I'm thinking that that rule is best placed to fix the problem in a good way. Mostly by avoiding nested patterns and renaming variables to the original alias.
Apart from that rule, I agree that this pattern should ideally be resolved. Maybe it would make sense for NoUnused.Patterns to report the issue without providing a fix?

Oof.  I can try to add that fix, it's just quite a lot of effort for something not in the domain of NoSinglePatternCase.  And that would only stop generating them (which it only does in weird, nested cases anyways), rather than fix existing ones, since it would violate law of least surprise for a rule called NoSinglePatternCase to flag a completely unrelated issue.
I definitely think it'd be good to add to NoUnused.Patterns with no fix, so at least they get caught by something.


fix(Datagrid): add disable column support

Closes #
https://github.com/carbon-design-system/ibm-products/issues/5378
What did you change?
What I changed was that when user adds condition for isDisabled and set it to true, it will make the column look disabled. Otherwise the column when it is not editable it will be a static text cell. This will resolve 5378 while retaining a use case where if user wanted it to actually be disabled, they can do so
How did you test and verify your work?

Hi @ariellalgilmore and @IgnacioBecerra can you start the review process on this PR please? Thanks!

Thanks for contributing @AustinGitHub!


Don't emit "unhandled files" warnings for files that are handled by build commands from package plugins

Filter out source paths for which build tool commands were created by plugins and only emit warnings for any remaining paths.
Motivation:
Source files for which build tool plugins emit commands are actually handled, and we shouldn’t generate warnings for them.
Modifications:

move the logic to emit warnings from TargetSourceBuilder until after the plugins have run
filter out any paths that appear as input dependencies in build commands generated by plugins

In the future we might consider more overt ways for plugins to express what types of files should be considered handled by the plugin.
Note that libSwiftPM clients will need to emit these diagnostics after they run the plugins.
rdar://74663980

@swift-ci smoke test

nice


Support for GraphQL

What would you like to be added?
The list API supports GraphQL queries.
Why is this needed?
The list API now returns the complete definition of the resources, but only a few fields are being used. This results in significant performance degradation and bandwidth waste. We can use GraphQL to custom the fields which should be return.

Hey if this issue is open. Can i work on it?


Added REST address and TLS status to log message when REST server starts

Description

I added the REST address and TLS status to the log message printed when the REST server starts
Motivation and Context

I found it helpful to have this information confirmed in the logs.
How Has This Been Tested?

I have run the modified code and observed that the message is printed correctly.
Checklist:

[x ] I have added a Signed-off-by
[ x] Either no new documentation is required by this change, OR I added new doc
[ x] Either no new tests are required by this change, OR I added new tests
[ x] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by<EMAIL_ADDRESS>

LGTM. Travis failed due to a timeout, hopefully resolved by PR #1431


Fix docstring issues

Fix docstring issues.

I think I will stop pushing to this PR, so that it can me merged for today release.
I will open another PR for further fixing docs.
Do you agree, @lhoestq ?

Sounds good thanks !


Missing a starting * in the dartdoc

Not sure if this is an issue from dart-services or the analyzer, but I'm getting this string:
Deprecated*: override [attached] instead.
But I should get a string that start with a star:

Fixed in #146


Updated Logo & Corrected Invalid Image References

Fixed 404s and Duplicated Image references on infrastructure-design.md
Uploaded 2 new SVGs of logos
Added logos to index.md, cloud-onboarding-welcome.md, deployment-guide-welcome.md

Those trailing whitespaces are here:
~/projects/flex/genestack$ grep -Irn '[[:blank:]]$' --exclude=\*.svg docs/* | awk '{print $1}'
docs/infrastructure-design.md:1:##
docs/infrastructure-design.md:3:###
docs/infrastructure-design.md:5:Our
docs/infrastructure-design.md:21:
docs/infrastructure-design.md:51:####
docs/infrastructure-design.md:57:
docs/infrastructure-design.md:61:
docs/infrastructure-design.md:65:
docs/infrastructure-design.md:67:


fix building problem in issues #72

The call to move() is ambiguous when building with g++ 5.1 or clang++ 3.6(boost 1.58.0).
There are two candidates, move(_Tp&& __t) noexcept in std and inline typename ::boost::move_detail::remove_reference<T>::type && move in boost.

+1, this is halting make on 10.10+

Thank you.


Complete back-up/restore cycle

It would be helpful to have a complete back-up restore cycle with all resources (including layouts).

Plus add some JSON to that & ZIP that result.

Includes (un)zipping functionality
Complete import/export (including resources and layouts).

Done


[Feature Request]: Embedded infinity

Is there an existing issue for the same feature request?

[X] I have checked the existing issues.

Is your feature request related to a problem?
No response
Describe the feature you'd like
Provides python embedded infinity, users can install infinity directly with 'pip install'. start and run infinity on the local file system. All interfaces are compatible with the current server version of infinity. Considering using libraries such as pybind11 for binding.
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response

We consider to use pybind11 and nanobind to implement this feature. According to nanobind's README, we prefer to use it.


[SPARK-37407][FOLLOW-UP][PYTHON][ML] Add not None assertions for active context and its _jvm

What changes were proposed in this pull request?

This PR add  is not None assertions for Optional _active_spark_context and _jvm
Why are the changes needed?

To address failures in CI:
python/pyspark/ml/functions.py:69: error: Item "None" of "Optional[SparkContext]" has no attribute "_jvm"  [union-attr]
python/pyspark/ml/functions.py:69: error: Item "None" of "Optional[Any]" has no attribute "org"  [union-attr]
python/pyspark/ml/functions.py:104: error: Item "None" of "Optional[SparkContext]" has no attribute "_jvm"  [union-attr]
python/pyspark/ml/functions.py:104: error: Item "None" of "Optional[Any]" has no attribute "org"  [union-attr]

caused by divergence between #34678 and changes introduced by #34892
Does this PR introduce any user-facing change?

No.
How was this patch tested?

dev/lint-python

I am going to merge to it to address current failure on master.

Merged into master.


[SWDEV-366865] Add check for convolution API that all tensors are packed

Only fully packed tensors are currently supported for convolutions. This check is needed to make sure that all tensors are packed and throw an error otherwise.

@atamazov Thanks!


OCMStub mocking a class method not working

I try to mocking a class method like this:
id classMock = OCMClassMock([NSString class]);
OCMStub([classMock string]).andReturn(@"123456");
NSString *aString = [NSString string];
NSLog(@"%@", aString);

But the aString is not "123456", anything wrong when I used it?

Sorry, I think I do it in wrong way.
I read the doc write: Class methods on NSString and NSArray cannot be stubbed or verified


MultiSource BFS

Closes #161

Description: Multi Source BFS Algorithm
Checklist
<Put an x between square brackets wherever appropriate without any spaces like [x]>

[x] I've followed the Contributing guidelines provided in the repository.
[x] I've made the changes which were demanded in the linked issue.
[x] My code gave a clean output on debugging. (NO warnings/errors)

Please remove < > from your issue number so that the PR will be linked to that particular issue.

Please remove < > from your issue number so that the PR will be linked to that particular issue.

Done !


[Bug] (Xgrammar) (v0.3.6.post1) RuntimeError: CUDA dependencies are not installed.

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
llm-sglang-dev  | Exception in thread Thread-4 (forward_thread_func):
llm-sglang-dev  | Traceback (most recent call last):
llm-sglang-dev  |   File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
llm-sglang-dev  |     self.run()
llm-sglang-dev  |   File "/usr/lib/python3.10/threading.py", line 953, in run
llm-sglang-dev  |     self._target(*self._args, **self._kwargs)
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 91, in forward_thread_func
llm-sglang-dev  |     self.forward_thread_func_()
llm-sglang-dev  |   File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
llm-sglang-dev  |     return func(*args, **kwargs)
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 118, in forward_thread_func_
llm-sglang-dev  |     logits_output, next_token_ids = self.worker.forward_batch_generation(
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/managers/tp_worker.py", line 149, in forward_batch_generation
llm-sglang-dev  |     next_token_ids = self.model_runner.sample(logits_output, model_worker_batch)
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/model_executor/model_runner.py", line 660, in sample
llm-sglang-dev  |     logits = self.apply_logits_bias(logits_output.next_token_logits, sampling_info)
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/model_executor/model_runner.py", line 685, in apply_logits_bias
llm-sglang-dev  |     sampling_info.apply_mask(logits=logits, vocab_mask=sampling_info.vocab_mask)
llm-sglang-dev  |   File "/sgl-workspace/sglang/python/sglang/srt/constrained/xgrammar_backend.py", line 94, in apply_vocab_mask
llm-sglang-dev  |     apply_token_bitmask_inplace(logits, vocab_mask)
llm-sglang-dev  |   File "/usr/local/lib/python3.10/dist-packages/xgrammar/matcher.py", line 110, in apply_token_bitmask_inplace
llm-sglang-dev  |     apply_token_bitmask_inplace_cuda(logits, bitmask, indices)
llm-sglang-dev  |   File "/usr/local/lib/python3.10/dist-packages/xgrammar/kernels/apply_token_bitmask_inplace_cuda.py", line 199, in apply_token_bitmask_inplace_cuda
llm-sglang-dev  |     raise RuntimeError(
llm-sglang-dev  | RuntimeError: CUDA dependencies are not installed. Please follow https://xgrammar.mlc.ai/docs/start/install#cuda-dependency to install CUDA dependency.

Reproduction
services:
  llm-sglang-dev:
    image: lmsysorg/sglang:latest
    container_name: llm-sglang-dev
    restart: unless-stopped
    environment:
      HUGGING_FACE_HUB_TOKEN: <my-hf-token>
    ports:
      - "8007:8007"
    deploy:
      resources:
        reservations:
          devices:
          - driver: nvidia
            device_ids: ['0']
            capabilities: [gpu]
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    env_file:
      - .env
    command: >
      python3 -m sglang.launch_server
      --model Qwen/Qwen2.5-7B-Instruct-AWQ
      --host <IP_ADDRESS>
      --port 8007
      --api-key <my-api-key>
      --served-model-name gpt-4o
      --tensor-parallel-size 1
      --mem-fraction-static 0.4
      --random-seed 42
      --enable-p2p-check
      --show-time-cost
      --quantization awq_marlin
      --grammar-backend xgrammar
      --enable-cache-report
      --context-length 2048

Python script
import openai

from pydantic import BaseModel

client = openai.OpenAI(
    base_url="http://localhost:8007/v1",
    api_key=<my-api-key>
)

class Players(BaseModel):
    names: list[str]

completion = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "user", "content": "Give me twenty football players' name and return the result as a JSON object with the key is `names`"}
    ],
    temperature=0.0,
    max_tokens=256,
    extra_body={
        "response_format": {
            "type": "json_schema",
            "json_schema": {
                "name": Players.__name__,
                "schema": Players.model_json_schema()
            }
        }
    }
)
print(completion.choices[0].message.content)

Environment
Python: 3.10.15 (main, Sep  7 2024, 18:35:33) [GCC 9.4.0]
CUDA available: True
GPU 0: NVIDIA A10G
GPU 0 Compute Capability: 8.6
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 12.1, V12.1.105
CUDA Driver Version: 550.120
PyTorch: 2.5.1+cu124
flashinfer: 0.1.6+cu121torch2.4
triton: 3.1.0
transformers: 4.46.3
torchao: 0.6.1
numpy: 1.26.4
aiohttp: 3.11.7
fastapi: 0.115.5
hf_transfer: 0.1.8
huggingface_hub: 0.26.2
interegular: 0.3.3
psutil: 6.1.0
pydantic: 2.10.1
multipart: 0.0.17
zmq: 26.2.0
uvicorn: 0.32.1
uvloop: 0.21.0
vllm: 0.6.4.post1
openai: 1.55.1
anthropic: 0.39.0
NVIDIA Topology:
        GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      0-47    0               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

Hypervisor vendor: KVM
ulimit soft: 1048576

Docker image v0.3.6.post1 is ok https://github.com/sgl-project/sglang/pull/2199#issuecomment-2500096494
BTW we are about to release v0.3.6.post2 https://github.com/sgl-project/sglang/pull/2214


[DISCUSSION] RAG framework

In my PR of JabRef we implemented RAG manually:

It's local-first
No need for special setup
No need for external application
It is fully implemented RAG architecture (though, may be not that complex as it may be)
It's free to extend

Initially, I didn't thought that there are special and separate RAG frameworks, and I thought langchain provides everything what we need (and it's true).
What I've googled through RAG frameworks:

Some of them are too raw and in early development (https://github.com/AI-Commandos/RAGMeUp)
Langchain has already written everything that library presents (https://github.com/RAG4J/rag4j)
They are standalone applications that require server (https://github.com/truefoundry/cognita ; https://github.com/microsoft/kernel-memory)
They are hard to extend. Well, it's possible to extend them using code, but then we need to maintain a separate application in JabRef, etc.

Comments on Kernel Memory and/or Semantic Kernel:

I didn't liked that it runs as a standalone app. (And I remember I found the java API crappy)
It poorly documented (most of the times it's undocumented), though they have active discord community
It does everything what we did: 1) storing documents with metadata (names, citation key, library) (already did with MVStore); 2) generates embeddings (langchain4j did); 3) converts file from different formats to single text (we support only PDF, but I think this is solved easily, so we already addressed it); 4) connects to LLM (langchain4j did); 5) retrieves relevant information from vector storage (langchain4j + MVStore)

However, they still present interesting features like: functions and planning

About LLama index:
It's nearly the same langchain. Langchain provides all the tools that LlamaIndex provides (maybe LlamaIndex has better support for RAG)
So, in conclusion about RAG frameworks:

They are either standalone applications
They are just a bunch of various useful tools: LLM connectors, file readers, Vector storage connectors, etc. That is the same purpose of langchain

I didn't liked that it runs as a standalone app. (And I remember I found the java API crappy)

When thinking in micro services (https://12factor.net/ for a short introduction of a variant of it), it is good, that there is no monolith. Think of  a research group of 10 researchers sharing their library - and working in an open and collaborative way. Then, it makes sence to run a server. Semantic Kernel "just" needs a docker command to be run. -- This is simlar than our GROBID service... (which still misses a how-to https://github.com/JabRef/user-documentation/issues/495)


Circular Dependencies

Hi - First of all thanks for working on graphql-pynamodb!!
I'm having an issue with circular dependencies. I have a People table with people in it, some people may have other People as account_managers, some People may have other People as Dependent. I tried different  ways such as:
class People(Model):
    class Meta:
        table_name = 'flask_pynamodb_example_people'
        host = "http://localhost:8000"

    id = UnicodeAttribute(hash_key=True)
    name = UnicodeAttribute()
    joined_at = UTCDateTimeAttribute(default=datetime.now)

class Dependent(People):
    class Meta:
        table_name = 'flask_pynamodb_example_people'
        host = "http://localhost:8000"

    account_managers = OneToMany(AccountManager)

class AccountManager(People):
    class Meta:
        table_name = 'flask_pynamodb_example_people'
        host = "http://localhost:8000"

    dependents = OneToMany(Dependent)

or:
class People(Model):
    class Meta:
        table_name = 'flask_pynamodb_example_people'
        host = "http://localhost:8000"

    id = UnicodeAttribute(hash_key=True)
    name = UnicodeAttribute()
    joined_at = UTCDateTimeAttribute(default=datetime.now)
    dependents = OneToMany(People)
    account_managers = OneToMany(People)

And neither work because of circular dependencies. Is this something that can be done, how? Thanks!

Found the solution ! It was simply 'People' as a string instead of Class name.
class People(Model):
    class Meta:
        table_name = 'flask_pynamodb_example_people'
        host = "http://localhost:8000"

    id = UnicodeAttribute(hash_key=True)
    name = UnicodeAttribute()
    joined_at = UTCDateTimeAttribute(default=datetime.now)
    dependents = OneToMany('People')
    account_managers = OneToMany('People')


Edits and F1 keywords

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Consume-Packages/Package-References-in-Project-Files.md
:white_check_mark:Succeeded

docs/Consume-Packages/Packages-and-Source-Control.md
:white_check_mark:Succeeded

docs/Create-Packages/Dependency-Versions.md
:white_check_mark:Succeeded

docs/Create-Packages/Source-and-Config-File-Transformations.md
:white_check_mark:Succeeded

docs/Schema/Target-Frameworks.md
:white_check_mark:Succeeded

docs/Tools/Package-Manager-UI.md
:white_check_mark:Succeeded

docs/Tools/PowerShell-Reference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Motion Bridge keeps appearing as device

Recently the Motion Bridge itself keeps appearing as device in Homebridge and Home App. It gets named by its 12-digit MAC address along with a permanent low battery warning.

I also discovered the same issue with my DD7002B bridge.
I added the following code into async discoverDevices() in platform.js to workaround the issue.
      for (const device of devices) {
            // Do not add the bridge as an accessory
	if (device.mac != "f4cfa2a75004") {
		this.maybeAddOrUpdateAccessory(device.mac, device.deviceType, device.data);
	}
        }

Would be good if this procedure was updated to do a length check on device.mac to 16 characters before adding/updating the accessory. I tried to use the .length() function but couldn't get it to work.. I'm not much of a coder..

Nice one, thanks a lot!

Ugh, happy too soon. The gateway disappears from the list of devices at first, then for some reason it adds back in after about 10 minutes. Tried using strict equality operators (===) instead but it didn‘t make a difference. It happens with both ways, filtering for the mac as well as checking for the length.

You might need to remove the bridge in your homebridge cache before applying the change. It’s in homebridge settings via the UI. Remove the accessory from the cache, apply the code change then restart homebridge or the child bridge

Thanks for the suggestion, that‘s what I did first of all, but I‘ll double check the cache again.

Checked again. Even with cache fully cleared, the gateway still gets added after a while as new accessory, followed by the well known bunch of warning entries because it doesn't provide the expected blind values:
[28/06/2022, 16:37:47] [MOTION Blinds] Adding new accessory: a4cf12fecaa8 [a4cf12fecaa8@@Model] characteristic value expected string and received undefined [28/06/2022, 16:37:52] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:37:52] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Target Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:38:38] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:38:38] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Target Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:09] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:09] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Target Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:11] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:11] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Target Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:15] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [28/06/2022, 16:42:15] [homebridge-motionblinds] This plugin generated a warning from the characteristic 'Target Position': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

that's odd..
you could try isolating it down the in the addAccessory function by adding something like this to the top of it, to ensure the bridge is never added.
if (mac.length != 16) {
return;
}
or
if (mac.length == "a4cf12fecaa8") {
return;
}
This was where I originally started, but thought it was cleaner to isolate the bridge in the discoverDevices function

You were right, this was cache related. The Homebridge UI left some data in ~/.homebridge/accessories/cachedAccessories though this should have been empty. Cleared them manually from the command line and the gateway didn’t show up again.
Thanks for your support!

Wow, it stays odd. About 24 hours after my last post the bridge popped back in, added as new accessory.
So still in platform.js in function maybeAddOrUpdateAccessory(mac, deviceType, status) {} I modded the else part of if (existingAccessory) {} into this:
else {
	if (deviceType !== Gateway) {
		this.log.info(`Adding new accessory: mac=${mac}, uuid=${uuid}, deviceType=${motionblinds_1.DEVICE_TYPES[deviceType>
		this.addAccessory(mac, uuid, deviceType, status);
	}
}

The bridge was kept out since then but it's not been 24 hours, yet. I'll report back if returns.

New attempt, contains your suggested return command, promising so far:
for (const device of devices) {
    if (device.deviceType !== 'Gateway’) {
        this.maybeAddOrUpdateAccessory(device.mac, device.deviceType, device.data);
    }
    else return;
}

Thanks for digging into this, I’m on vacation at the moment and when I return I will incorporate this fix. I run into the same issue with my setup at home, it will be great to have it fixed.

That’s great news, you‘re very welcome.

This finally works durable within my setup: Modding in platform.js in function maybeAddOrUpdateAccessory(mac, deviceType, status) the else part of if (existingAccessory) like this i.e.:
else {
    this.log.info(`Found new accessory: mac=${mac}, uuid=${uuid}, deviceType=${motionblinds_1.DEVICE_TYPES[deviceType]}, status=${JSON.stringify(status)}`);
    if (motionblinds_1.DEVICE_TYPES[deviceType] != 'Gateway') {
        this.addAccessory(mac, uuid, deviceType, status);
    }
    else {
        this.log.info(`Keeping ${motionblinds_1.DEVICE_TYPES[deviceType]} separate`);
    }
}


Optimize assets

After running some optimization algorithms over the assets from https://imageoptim.com/mac the results are:
This optimizations does not change quality of the images.

Saved 13 KB out of 323 KB. 35,6 % per file on average (up to 46,7 %)

Not so much but still more optimal 👀

The images are now deprecated


feat(BooleanField) support for BooleanField decorator

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


v0.2-beta

Updated default sorting to Date-Ground-Time-Competition Name-Home-Away-Fixture. This ensures deterministic sorting.
Updated venue labels to include most venues in FSA and AHJSA competitions
Reordered columns in Schedula to ensure useful columns are furthest left
Default sorting applied on load to sheet

Version 0.2

Updated default sorting to Date-Ground-Time-Competition Name-Home-Away-Fixture. This ensures deterministic sorting.
Updated venue lables to include most venues in FSA and AHJSA competitions.
Reordered columns in Schedula to ensure usefull columns are furthest left.
Default sorting applied on load to sheet.
Can now update fixture details without clearing the schedula sheet
Prints in terminal when a referee has already been appointed


PS4 DS4 triggers and touchpad not working

Hi! Great wrapper. It seems as though the triggers do not work, and neither does the touchpad input.
No errors are thrown, but nothing ends up happening with those.

Hi, thanks :)
Triggers work for me on Gamepad Tester: https://gamepad-tester.com
Would you have more info so I can reproduce the issue?
As for the touchpad, are you using the report directly? I have never tried that, could you share a code snippet please?

Closed for inactivity / could not reproduce the issue. Please reopen if you encounter this issue.

Triggers work for me on Gamepad Tester: https://gamepad-tester.com
Would you have more info so I can reproduce the issue?

The triggers don't work when trying to use the DS4 virtual controller through PS remote play to a PS5 console. They are reported as working on gamepad-tester, and I've read them with both DS4Windows->Xinput, as well as pygame. All report the triggers as working. I have had multiple users try this and all report the same issue. I've not yet found why remote play won't read them properly. Additionally, a physical DS4 controller itself will have the triggers work on remote play properly.

Hmm that sounds like a vigem issue, let's see whether Nefarius knows more about this.

Apparently Nefarius thinks this should work and that I might have not formatted the DS4 report correctly. If anyone knows what I might have done wrong help would be appreciated, because I don't have PS remote play to test this.

Seems related: 236563


Fix for inaccurate initial stat transfer cost

Initializes display text using existing javascript. Also moves inline script after table element.

Original bug can be replicated with users at Chuunin or higher: observe initial AK cost of stat transfer on page load.


Unable to use AVAudioEngine.installTap() when using this repo

I am trying to record audio and stream it from the mic while also showing the wave form visualization.
Each work fine when the other is disabled but when both are enabled the Mic Audio stream coming from the AVAudioEngine stops working once the Waveform visualization is enabled.
I am guessing the BASS framework and AVAudioEngine are incompatible somehow.
Is there a way to get the mic data like you can in installTap() with Bass?
Any examples where both reading the mic audio stream and showing the waveform works at the same time?

Vinny,
Thank you for keeping me updated on your experimentation with MuVis.  You know more about BASS than I do.  I am pleased that you apparently have solved all of your issues for now.  If more issues arise, I suggest you post them on the BASS Forum, where the moderator (Ian) is very good at answering specific questions and solving specific issues.
If you wish to correspond with me directly, you can reach me at kbromley at me dot com.  (I suspect that the GitHub message router strips email addresses from messages.)

Keith
@.*** @.***>

On Nov 30, 2023, at 11:01 PM, vinny-888 @.***> wrote:
Turned out it was just that I needed to call it from the main thread (facepalm)
DispatchQueue.main.async {
// Call the function here
}
I was testing the file play mode from
init() {
processAudio()
}
—
Reply to this email directly, view it on GitHub https://github.com/Keith-43/MuVis-v2.1.1/issues/1#issuecomment-1835571208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ4TOJMCDABHDSGWFZF4WCDYHF6CZAVCNFSM6AAAAABACHKQ7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZVGU3TCMRQHA.
You are receiving this because you are subscribed to this thread.


Consider set suitable default store limit of the tiflash node

Feature Request
Describe your feature request related problem:

The default stores limit may not suitable for tiflash node. many users complain that the synchronization speed is slow. they are another engine and the behavior is very different from tikv, we need to set a reasonable default limit value for it.
Describe the feature you'd like:

consider setting a suitable store limit of the tiflash node
Describe alternatives you've considered:

We need to investigate reasonable setting parameters
Teachability, Documentation, Adoption, Migration Strategy:

Go

/pick-up-challenge


stdlib fields module

fixes #387
created fields.tail and fields.prior reducers

@dmehra @dmajda tail and prior reducers! also added head since its "as useful" as tail.

Theres some similarities between head and tail and the built in first and last (the latter could be extended to support a second n parameter). The one major difference is the built in ones currently return a scalar whereas the ones introduced here return arrays. Thoughts on whether its possible to bring the two together?
Also, I vote for head and tail to be in the core language w/o requiring import "fields" as fields";.

head/tail being similar to first/last is only for n=1 and then there's the issue of one returning the value vs the head/tail reducers returning lists. I'm just filling in these stdlib bugs without much thought on consolidating with existing reducers (unless its a complete dup of an existing one) so I'd let @dmajda @dmehra decide if we'd want something other than head/tail.

This is another issue I pulled mechanically from JIRA. A gist referenced from there mentions the use case of alerting for tail — one could give e.g. few last field values in the stream as a context (think last few log messages). Not sure what the relevance of this use case is today.
Do we have any other obvious use cases for this? If not, I’d be inclined to just close this and maybe implement at some later point if a real demand appears.

Don't have a strong preference, but my first guess would've been that tail does not ignore null values. Fine with it either way.

I think the answer to question whether or not ignore nulls lies in the use case(s). But my instinct is the same as yours, so I’d do the simple thing (not ignore nulls) and add this as an option later if we need it.

Do we have a different way of detecting the field isn't in the data vs the field is but set to null ?

No and it bothers me too. I’ll file an issue.


Add an option for only the default HoI4 ideologies to be used

It's been requested. More details forthcoming.

It'd require a lot of coding, that's for sure, whether it be "just make the other ideologies disappear" or "completely remove them at my will".

Given the work I put in for dropping minor ideologies and getting everything straight, I think it shouldn't be too bad. But yeah, that was a lot of work.

I've got the initial code in, and focus trees are converted. However, governments get mapped poorly, which makes me wonder if they also can get mapped poorly if minor ideologies are dropped.

Governments are now mapped properly, but I need to double-check parties are converted properly.

Checked, and they aren't, but that's a different issue (#380)


Could not find 'end_listening' audio file!

end_listening.wav is missing from https://github.com/OpenVoiceOS/ovos-listener/tree/dev/ovos_listener/res/snd directory which returns an error in the logs.
2023-03-26 15:59:41.654 - voice - ovos_utils.sound:play_end_listening_sound:71 - DEBUG - Could not find 'end_listening' audio file!

not an error, file is optional and missing by default, its a debug log

Re-Opening with a request if someone can make it the reverse of the start_listener.wav
Similar as what the Google Nest HUB does in this video;
https://www.youtube.com/watch?v=x5UCjL-D_5A


need delayed syncing

Expected Behavior
I make a tar file to the folder to sync to my remote server. When I try to generate the tar file, sftp upload the tmp file, so there will be lots of unneeded file on the remote server. Is is possible to make it sync after detect some file changed.

couldn't you use "ignore" in your config?
"ignore": [
    ".vscode",
    ".git",
    ".DS_Store",
    "tmp"
  ]

The unneeded  file name seems to be generated randomly but has the same prefix zi. It is ok to use ignore in the config. I wonder what to fill in the config if they are not different totally.
> ls
zi8kQxww  ziEOi3pX  zigikxV5  ziHz5Brw  zinlLV0e  zinwv6fg  ziYBC0lP

I am not sure but I guess this has something to do with some issues I have encountered lately.
When git pulling or changing branch sftp seems to lock files.

globs should be able to help you here
"ignore": [
    "zi*"
  ]

test: https://i.linkjay.io/iSHqkT.gif

I'd also like to see some kind of deferred upload. When I build it uploads the same files 20 times while files in my output folder "dist" are updated. If it could have a timeout that gets postponed for each "watch event" it would just upload when the builder is done, or when it for some reason takes a lot of time. A 2 seconds delay would be nice. To have the delay/deferr in settings would be supreme.


Cannot properly restrict bounds in polar projection

Passing maxBounds in the map options sometimes does not lead to the expected results in polar projections. In this example the maxBounds are the same as the initial bounds, but trying to zoom into an area on the left of the map is unallowed.
This is probably to do with the fact that Leaflet handles restricting the bounds entirely in the lat/lon space and not in the projected space (see the L.Map._limitOffset method for an example of this. These methods would probably need to be overwritten to manage these restrictions in a projected space in order to correct this.

... I'll work on some possible solutions for this.

Yes, have been thinking about this problem, and I agree with your conclusion that handling bounds etc in lat/lng-space doesn't work very well for polar projections.
I remember that I at some point looked at adding a fitBounds equivalent that worked in projected space, and it looked like it could be possible. Doing the same for bounds might be trickier without ripping apart Leaflet's internals, but that's just me guessing since I haven't really checked.

Looking at this issue again, I agree that it's a valid problem that needs to be addressed to make polar projections work well in Leaflet, but the problem is in Leaflet and not in Proj4Leaflet, as I see it.
So, I'm closing this, since I don't think it's something that can be addressed within the Proj4Leaflet project.
Possibly related is https://github.com/Leaflet/Leaflet/issues/5617, which is fixed in Leaflet's master branch, but has not been released yet when I'm writing this.

I agree @perliedman, I think this is more appropriate as a change on Leaflet. I'll check out the latest changes on master and see if it makes sense to put in an issue there. Thanks!


Added d2b.js library

http://www.d2bjs.org

Please verify the library is still active. No activity for 6+ months.

You also have https://github.com/EmpriseCorporation/EJSCharts with no activty the last 5 years.


What if global router cannot reach destination?

Within the minimum spanning tree method, there is a while loop on the size of destination points. If a destination is not reachable, this while loop turns into an infinite loop as the Dijktra's shortest path algorithm may return an empty or partial path.
Should this event be detected to prevent infinite loop? In other words, terminate the while loop if the returned path is empty or does not contain a destination.

@soneryaldiz Yes, it should report error when no path is found. I will add some code


RFC: let AS to initiate nonce

ref: #162 / 1.

There are some overlap and coherance of this PR. Let me do some refactoring upon the nonce generation logic after #345 gets merged.

Let me do some refactoring upon the nonce generation logic after #345 gets merged.

I can also move this out of draft and get it merged if it helps.

Let me do some refactoring upon the nonce generation logic after #345 gets merged.

I can also move this out of draft and get it merged if it helps.

It also looks that fdbaa417f758ab5541ccda595b007e8d4887f0bf could be moved to a separate PR and have #345 rebased to use that.

Let me do some refactoring upon the nonce generation logic after #345 gets merged.

I can also move this out of draft and get it merged if it helps.

It also looks that fdbaa41 could be moved to a separate PR and have #345 rebased to use that.

I made this PR to include the necessary prep work only.

Let me do some refactoring upon the nonce generation logic after #345 gets merged.

I can also move this out of draft and get it merged if it helps.

It also looks that fdbaa41 could be moved to a separate PR and have #345 rebased to use that.

too late for now so closing


Quickstart Vagrant tutorial coming out soon - looking for reviewers

The quickstart Vagrant tutorial (with optimizations) is coming out this week or the next.
I'd appreciate it if someone could take a look, give me some feedback if you feel like something needs changing, etc.
This is just the quick start, a full exploratory tutorial series is coming in the second half of November / early December.
If you'd like to lend a hand with reviewing the post, please ping me here and I'll add you to our repo where all article drafts go as PRs. You can then drop inline comments there.

@Swader i have not really experiences with vagrant but perhaps i could give you some inputs (:

@Swader I guess you also still have the problem https://github.com/sulu-io/sulu-standard/issues/541, so this would be the perfect opportunity to have a look at both.
@wachterjohannes Do you want to take this one?

@danrot #541 is indeed still a problem, but I'll have it tracked down by the end of the day, no doubt.
@wachterjohannes the tutorial is literally a step by step procedure to get everything running - a sequential list of explained commands, so it should be very easy to follow and will be of utmost importance to your future users.
@danrot can I see a changelog for 1.1? Maybe something changed enough to warrant a change in the article.

@Swader of course, the changelog is also in the repository: https://github.com/sulu-io/sulu/blob/develop/CHANGELOG.md But it's really a lot... We've summed that a bit up in a blog article. The main points are a big redesign of the UI, the security system and making it possible to use the smart content not only for pages.

@Swader I have just talked to @wachterjohannes, can you give me access to the article, then I will review it, and try to tackle https://github.com/sulu-io/sulu-standard/issues/541

Will do, as soon as it's ready to be reviewed. Adding some more fancy automation to the vagrant moving script - it'll automatically detect the app's name, adjusting the vendor folder's name accordingly, thus supporting multiple sulu installs on a single machine, even with moved vendor folders. When is 1.1 to be released? Maybe I should wait for it before publishing.

There will be a release candidate next monday, then it depends on how much critical bugs we encounter, but I guess another 2 or 3 weeks.

Ok, vendor moving script is ironed out, now with some added safeguards.
@danrot you should be able to follow instructions in this writeup and get to the point where I'm getting the #541 error within 5 minutes (depending on how fast Composer will finish, and how good of a download speed you'll have downloading the box for the first time).
http://www.sitepoint.com/?p=118527&preview=1&_ppp=5c599b0d88
Made a public preview link, so everyone else is welcome to chime in as well.

@Swader i will take a look at this on the weekend (:

In the "Clone / Install Sulu" I would place the database name before the credentials, since it is also in this order in the post install
You should run app/console sulu:build dev or app/console sulu:build prod, that's not clear to me from the description. I would also make more clear that app/console sulu:build dev should absolutely not be run on production, since it creates a default user with an easy to guess password.
The line ~/Code/bin/sulu/vendorfix.sh doesn't work for me, in ~/Code/bin is only the file folderfix.sh

The line ~/Code/bin/sulu/vendorfix.sh doesn't work for me, in ~/Code/bin is only the file folderfix.sh

Fixed. File was missing from repo, forgot to push.

You should run app/console sulu:build dev or app/console sulu:build prod, that's not clear to me from the description. I would also make more clear that app/console sulu:build dev should absolutely not be run on production, since it creates a default user with an easy to guess password.

Is it "or"? I was under the impression (from the sulu docs) that both need to be run in development, and the prod one only in production, no? I have changed the dev paragraph to indicate danger of running it in production.

In the "Clone / Install Sulu" I would place the database name before the credentials, since it is also in this order in the post install

Fixed, thanks.

Well, the commands don't hurt if they are run like this. Both contain a set of tasks that must be fulfilled, and prod is a subset of dev. But you are right, our docs are also a bit confusing at this place, we should fix that.

:+1:
Now that the showstopping bugs are out of the way, I'm continuing to polish the post. Any other feedback is very welcome.

Article updated. I believe it's ready now.
http://www.sitepoint.com/?p=118527&preview=1&_ppp=5c599b0d88

I've seen you still have both versions of the app/console sulu:build command in your article. As said, I would change that to only use one of them, this way the same tasks are executed twice.

Ahh, I guess I misunderstood again. I thought that in dev, you should run both, and in prod, only the prod one. Will amend, thanks

Now it's right :-) But I realized two other things:

If you run app/console sulu:build dev there is already a role with all available permissions at that time, and the user with the credentials admin/admin, so it is not really required to create another role and user to start working with Sulu (although you might want to do that, what I want to say, is that it is not necessary)
For changing to dev mode I would rather use the SYMFONY_ENV environment variable, and set it via the webserver configuration (SetEnv on apache or fastcgi_param on nginx).

If you still have a need for the reviewer, I helped with the vagrant environment at work for our Symfony applications, and I'd be happy to help.

@nielsvermaut yes please - drop feedback here!


Edit Introducing Halite

Need to add figures to the "Halite game rules" section
Some restructuring of the sections may be needed. How about just giving them a quick overview of the Halite rules without going over the whole local dev stuff and instead putting local dev stuff in Improving the random bot, or its own tutorial?

ping @Sydriax @sahuguet @adereth


Unable to import containers larger than 10GB into ceph-backed LXD cluster

Required information

Distribution: Ubuntu 19.10
Distribution version:
The output of "lxc info" or if that fails:

Kernel version: 5.3.0
LXC version: latest
LXD version: 3.21 (via snap candidate, but also occurs w/ 3.20)
Storage backend in use: ceph

Issue description
When importing a 14gb container into a ceph-backed lxd cluster, a tar output appears stating that there is no space left on device.
Steps to reproduce

Create a 15gb container, then create a snapshot.
lxc publish container/snapshot
lxc image export container .
import the image with lxc image import container.tar.gz
lxc init container some-container-name
Tar will return no space left on device after a while.

(n.b.  a similar condition happened when trying to lxc copy this container from my computer to the lxd cluster.)
Information to attach
I (unsuccessfully) attempted to create the container by specifying a container that has 128gb of space as its root file system, as opposed to the default of 10gb.  This failure mode also occurs with lxc copy from a source host not in cluster, to a destination that's in a cluster.
Upon trying to re-import the image, a new error appears:
The root file system has at least 800GB of space left, with ample room left in memory and in ceph itself.
Error: Create instance from image: Failed to run: rbd --id lxd --cluster ceph --image-feature layering clone <pool name>/<exported-image-id>@readonly <pool name>/container_some-container-name: 2020-02-15 02:48:02.689772 7f39d7fff700 -1 librbd::image::OpenRequest: failed to set image snapshot: (2) No such file or directory
2020-02-15 02:48:02.689923 7f3a029f2100 -1 librbd: error opening parent image: (2) No such file or directory
rbd: clone error: (2) No such file or directory

I have to delete the image using the ceph tools in order to be able to attempt reimporting this image again.
For containers smaller than 10GB, there doesn't appear to be any issue w/ importing.
(n.b. All lxd instances at hand here are running the same lxd version.  They're also on the same kernel and OS version. )
Here is the profile....
:~# lxc profile show <>
config: {}
description: 128g
devices:
  br40:
    name: br40
    nictype: bridged
    parent: br40
    type: nic
  root:
    path: /
    pool: default
    size: 128gb
    type: disk
name: <>
used_by:

Here is some output on the ceph side.....
:~# rbd du -p <pool_name>
NAME                                                                                PROVISIONED USED
<some containers, none related // redacted>
image_<long_hash_here>                    9.3 GiB  9.3 GiB
<redacted>
<TOTAL>                                                                                1.0 TiB   74 GiB

I went trawling through the documentation another time, and it looks like setting volume.size on the storage pool to the appropriate size, lxc storage set default volume.size=25GB, does the job.
I was unsuccessful in setting the volume.size parameter on the lxc launch command.  Is there any other way to get the end result w/o having to set a default volume.size?

No, there isn't and bumping volume.size prior to the first use of the image is indeed the way to go.
We can't do it at launch the because the image is only unpacked once when the first container is created from it.
We also can't tell how much space it will take as things like sparse files and the various compression and deduplication options can make the final size order of magnitudes larger or smaller depending.

Sorry for the late reply (and reopen!)
My current method is set, create the container, then unset the volume.size, but this sometimes allows containers w/ a larger root image than I'd prefer to be created.
Is there any way to set the volume.size for a single operation? e.g.:
lxc init some-container-image some-container-name -c volume.size=25GB?

No, there isn't. Because of what I mentioned above.
When using a storage backend that stores images as block devices, like ceph or LVM, the first time you use an image, LXD will create a volume of the size configured in volume.size and then EVERY container you create from that image are clones of that initial volume.
What you can do is set the size property on the root disk of your containers.
You would usually do that using profiles such as setting a default size on the default profile.
What LXD will do with that is resize your container's clone of the image to the configured size on first startup of the container. Obviously if configured to a size that's too low, the resize will fail and the container won't start, but it does work well for growing to a larger size.
So the recommendation would be to set volume.size to whatever you need to import all your images properly. Then set the size property on the root device in the default profile to the size you want your containers to be. If you want variety in options there, then create more profiles with different values.

I see, that makes sense.  Thanks for the help.


feat: Add json schema for output json

This adds the a JSON schema file for the output JSON at examples/jsonschema/outputschema.json (though I'm open to suggestions on a better place to keep it).

Down the line can we use this schema for validating the files passed to infracost output?

Yeah I imagine that would be pretty straightforward since there are packages that can do that.


[WIP] Extra features before opening aplications

What this PR does / Why we need it
Add extra features before opening applications.
Some questions

[x] I have read the contributing guidelines
[x] I abide by this repository Code of Conduct
[x] I have checked all margins within the sponsor/partners area

Sembla que no li agrada algo al git. Fes merge en local git checkout master git merge 2019 git push


Asynchronous Interceptors

Brought this up to @rebello95. It looks like interceptors are currently synchronous, but it would be great if they could be async if possible. A common use case is using an interceptor to potentially re-authenticate an expired token before continuing on with the request.

Thanks for flagging this @eddiekaiger! I'll see if I can prioritize this - it'll require a bit of rewiring within the library, but I think your use case is valid.

Circling back to this - still something we want to implement, just haven't gotten to it yet. Keeping this issue open so we don't lose it 😃

I started a draft implementation of this here: https://github.com/connectrpc/connect-swift/pull/186
There's an example of what an implementation could look like here: https://github.com/connectrpc/connect-swift/blob/00d86d094b1d392e8fa9ba8ae46f064e816599af/Libraries/Connect/Interfaces/Interceptors/Interceptor.swift
And the ConnectInterceptor has been updated as well in that PR.
I'll revisit this next week to productionize it further.

Some things I want to look into next week:

Allowing interceptors to fail/reject outbound requests (like Alamofire does)
Whether we should expose async/await interfaces on interceptors (less flexible than closures and more challenging for users who haven't migrated codebases to async/await, but it is more straightforward and modern)
What additional guardrails can/should be added for streaming (i.e., whether it's worth enforcing that interceptors do not change the order of callbacks for headers and data chunks) without significant complexity

I chatted a bit with @eseay offline before wrapping up the implementation. Decisions and additional notes are documented in the PR: https://github.com/connectrpc/connect-swift/pull/186


Consider structure to be Turbolinks friendly

Disclaimer: my knowledge of front-end web development is very minimal.
What is this?
I'd like to propose Turbolinks integrations, perhaps in an opt-in manner.
What is Turbolinks?
Turbolinks is a JavaScript utility which makes inter-page render of your website feel faster by swapping the <body> content.
Is it any good?
Yes! To be completely honest, this is something that personally pleases me, but I can understand if this feels like "we're at 95% without Turbolinks why bother chasing the 5%" for some people.

With Turbolinks: feels like SPA -- switching pages doesn't prompt the browser to reload the whole page

Without Turbolinks: between page load has slight delay

That looks like it worked, so why is this issue filed?
Well, unfortunately the smooth experience only comes in after the CSS is cached. On initial load, it seems like each page is fetching different CSS files, hence the transition looks broken.

Turbolinks initial load 😢

Hypothesis
With all that said, I'm guessing if we have a consistent CSS file, The initial load on Turbolinks can be as good as the cached version. But then again, considering my limited experience of front-end web development, I could be totally wrong.
---
You can try it yourself here:

with Turbolinks
without Turbolinks

I just realized it's hard to convey the gap between click to render in GIF due to its low frame rate. I guess you'll have to try and experience it yourself!

closing this as I'm looking at other alternatives for turbolinks.


Added reload fire for application document upload

#3146  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


Should properly fix #88

Here you go @bmerry

Coverage remained the same at 100.0% when pulling 4158911f7ede2a594f793d68eb18f5e54d4afdfa on key-can-be-None into 52df312f74f2424b5a0c2310c59f286fcd3b7c81 on master.


[Improve][CDC] Close idle subtasks gorup(reader/writer) in increment phase

Purpose of this pull request
[CDC] Close idle subtasks gorup(reader/writer) in increment phase
Does this PR introduce any user-facing change?
No
How was this patch tested?
added
https://github.com/apache/seatunnel/pull/6526/files#diff-198d9ea0204d7713e1623ecd32a24c516808b469f8f792211e3f71b0a101b385R421
https://github.com/apache/seatunnel/pull/6526/files#diff-5f0bf5f7076dac7f98979b1221bd1be4e3c24926beb6322d987a06a9a8b6b2e3R229
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Good job.


cups_filters: 1.11.1 -> 1.14.0

Also, take ownership of this orphaned package.
This one missed two minor releases, and countless bugfix releases.
cups-browsed was not compatible anymore with the packaged cups.

Thanks for adopting the package! :)