Polyglot docs

Eventually, all or most of the language specific support libraries may live in other repos, with Go likely being the first to do this, as discussed in #103. This raises a question for the docs. In an ideal world, documentation should live in the same repository as the code it documents, since updating documentation when a feature is added or changed should be part of the definition of done of a task, and PRs shouldn't be merged until the feature is done. It also allows things like code snippet validation to capture breaking changes before they are committed, and guarantee that if the breaking change is acceptable, the docs get updated since CI doesn't pass without it. But right now our approach to the docs is in a mono structure, with a single paradox project, and this also has a lot of advantages.
I think splitting up the docs will probably be the best answer long term, this will mean coming up with a way to deploy the docs that allows them to be split across repos. It might mean instead of deploying the docs to a single repo (replacing the entire contents of the repo each time), we deploy them to a subdirectory within a shared repo. We currently use travis's GitHub pages deployment support to deploy docs, that probably won't work, but we can easily replace this with our own custom scripts.

@jroper Antora how one of the variants. I seeing that Tim worked on migrate Lightbend Tech Hub to Antora. 😄

@jroper Would that apply to shared protobuf files for the CloudState protocol too? Together with the documentation they are shared with the main CloudState repository. If a support library builds in its repository by itself, it would have to download/copy over from somewhere. Would that be a similar shared artefact?

I've created a shared paradox theme and plugin at https://github.com/cloudstateio/cloudstate-paradox.
Updated the main documentation to use this in #339.
For publishing the separate docs for language support modules: since we're using github pages, a simple approach would be publishing docs to the gh-pages branch of each support repo. These are automatically served under the repo name, so for example, the go support docs would be served under https://cloudstate.io/go-support. That may not be the structure that we want, as this is not under /docs/.
We could update the structure of the docs and publish everything under the one https://github.com/cloudstateio/docs repo. So we could change to having something like: cloudstate.io/docs/core, cloudstate.io/docs/go, and so on. This would be a breaking change for any links out there.
If we're changing structure, we may want to introduce the possibility for doc versioning as well. So we could have /docs/0.4.0, /docs/0.4.1, /docs/0.5.0, and then aliases for /docs/0.4.x -> /docs/0.4.1, /docs/0.5.x -> /docs/0.5.0, /docs/current -> /docs/0.5.x, and so on. We may not want to have all of these versions yet, but could make sense to introduce a version into the path and use /docs/current for now. We can then also start separating the stable release at /docs/current from snapshot docs at /docs/latest. Currently the docs are published from master, which may describe features that are not yet released. We can introduce more versioning and aliases if we use /docs/core/current or similar from now on.
Note that with this simple approach to separate docs, there won't be shared navigation. It will be like the separate module docs for https://akka.io/docs/

Docs from master now publish to https://cloudstate.io/docs/core/snapshot/
Have manually published current docs for previous tag: https://cloudstate.io/docs/core/current/
Which is an alias for https://cloudstate.io/docs/core/0.5.1/
These are automatically published by travis on tags.
The old docs are still there under https://cloudstate.io/docs/
These will removed once some more links have been updated, and will create a cloudstate docs home page instead.
And I'll start breaking out the language support docs.

I've removed the old docs now, updated links for Lightbend Cloudstate docs, and created a simple new docs index at https://cloudstate.io/docs/ using the cloudstate.io site styling.

If the separate repos for all languages exist now, this is easy enough to do. Antora can publish from multiple repos and make it look as if it is all one doc set. Or, if the docs for each language get large and complex enough, they can be published as separate "components" meaning the reader would have to select the component from a separate menu. I prefer the former because I think it is simpler for the reader. @pvlugter, I see you checked off Go and Python, does this mean you have already separated these docs? If so, could you point me to the repos? Thanks!

The Cloudstate Go docs are here, in the Go support repo:
https://github.com/cloudstateio/go-support/tree/master/docs
The current version is published to https://cloudstate.io/docs/go/current/ which is an alias for https://cloudstate.io/docs/go/0.1.1/. Snapshot version of docs from master published to https://cloudstate.io/docs/go/snapshot/.
Similarly for Cloudstate Python (just the shell of docs currently):
https://github.com/cloudstateio/python-support/tree/master/docs
And the Cloudstate Spring Boot docs are being added here:
https://github.com/cloudstateio/springboot-support/tree/master/docs
The core docs are under the main https://github.com/cloudstateio/cloudstate repo, and published under similar versioning with current here: https://cloudstate.io/docs/core/current/ (which is currently version 0.5.1).
These all use the theme and sbt plugin from https://github.com/cloudstateio/cloudstate-paradox
Sounds good if Antora already has support for multiple repos. Note that each module has its own versioning and release cycles. For example, Cloudstate core is currently 0.5.1 and Cloudstate Go is 0.1.1 and so on, and these are released separately.
If these are being converted to Antora now, then I'll pause the work here.

@pvlugter, I'm converting the docs in the cloudstateio/cloudstate repo now. Per your checklist above, I'll only convert the Javascript and JS language docs as part of this effort. So, you can continue splitting off the others into their respective repos if you like. I will tackle conversion later, but for now I'll link from the cloudstateio doc to the snapshot you are publishing for Go and python. Once they are converted, I can include them instead of linking to them. The Cloudflow team has described how they use Antora versioning here: https://github.com/lightbend/cloudflow-enterprise-docs#updating-a-current-version-of-the-documentation. However, I have to think through how this will work with including content from multiple repos, each of which has it's own version.

@rstento @pvlugter I right understand, that documentation will be migrated to Antora?

Yes, @ihostage. Any comments or suggestions?

Any comments or suggestions?

@rstento No, only respect of this choice 😉 My suggestion (https://github.com/cloudstateio/cloudstate/issues/104#issuecomment-532224470) of using Antora wrote on 17 Sep 2019 when James created this issue 😂

Per language support docs set up for markdown/paradox and then converted to asciidoc/antora now.
https://cloudstate.io/docs/


Fix #4902

Description
Convert all non-list types into list, rather than blindly assuming vals must either be a string or a list.
Checklist

[x] I have updated tests where applicable.
[ ] I have added an entry to the CHANGELOG.

Hi, first time contributing here.
Any tips on how to resolve the test coverage? I thought the modified line should still be covered by the original tests (although I have no idea where the specific tests locate.)

Thanks for the detailed guidance! 😄


Update to 2.0.0rc2 nuked my settings

From<EMAIL_ADDRESS>on 2010-11-23T13:59:52Z
What steps will reproduce the problem?

Install spyder 2.0.0rc2
Run spyder
All settings have been reset to defaults What is the expected output? What do you see instead? At a minimum make a backup of the current ini file so I can merge my custom settings back into the main ini.  Now I have to go back and change all my keyboard shortcuts, color scheme, etc. again.  It did create some .spyder.ini.bak file, but the file creation date is the same as the main .ini and it does not contain my previous settings. What version of the product are you using? On what operating system? spyder 2.0.0rc2 Windows XP SP3 python 2.6.1

Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=461

From pierre.raybaut on 2010-11-23T11:10:57Z
I'm really sorry for the inconvenience.
I'll fix this in v2.0.0rc3.
Status: Accepted
Labels: -Priority-Medium Priority-Critical Milestone-Release2.0

From pierre.raybaut on 2011-04-24T07:37:34Z
This issue was closed by revision d61ab2189d54 .

From pierre.raybaut on 2010-11-24T10:00:31Z
This issue was closed by revision d61ab2189d .
Status: Fixed


Add a transposed residual block

Codecov Report

Merging #69 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master    #69   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          34     34
  Lines        1324   1341   +17
=====================================
- Misses       1324   1341   +17

Impacted Files
Coverage Δ

torchgan/layers/residual.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


URL Provider Update - Allow for querying category by URL Path

name: Allow for querying category by URL Path
about: URL Provider
User Story
As a site manager I want to be able to set category ID lookup to be based off URL Path so that categories with matching URL keys can be looked up uniquely
Description & Motivation
In large enough catalog taxonomies it is fairly common for URL keys to match between categories.  The current URL Provider implementation uses URL Key to look up the ID of a category which causes effectively indeterminate behavior when there are categories with matching URL Keys (see https://github.com/adobe/aem-core-cif-components/blob/master/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/services/UrlProviderImpl.java#L451).
Deliverables
Code change needed to update the URL Provider to know whether to use URL Key or URL Path to query for category IDs.
Acceptance Criteria

I am able to set in the configuration of the URL Provider whether URL Path or URL Key or ID should be used to identify categories
Given that I am viewing two categories with matching URL Keys but different URL Paths and that I have configured the URL Provider to lookup categories by URL Path and to render URL Paths in the URL then I see the expected category content in each category I am viewing

Verification Steps

Setup multiple categories in Magento with the same URL key at different places in a taxonomy so the URL path is differing
Configure the URL provider to user URL path to lookup category ID
Open category pages for both categories and make sure the content matches what is expected based on the category definitions in Magento

@adobe export issue to Jira project CIF

Released with CIF Core Components 2.9.0


enabling glow on GLES2 driver and enabling verbose debug output yields prodigious amounts of error logs on my moto g6 device

Godot version:

Godot Engine v3.2.2.stable.official -
https://godotengine.org
OS/device including version:

08-14 11:48:28.037  2454  2524 I godot   : Using GLES2 video driver
08-14 11:48:28.038  2454  2524 I godot   : godot: ENABLING GL DEBUG
08-14 11:48:28.046  2454  2524 I godot   : OpenGL ES 2.0 Renderer: Adreno (TM) 506

Issue description:

Built a sample project that demontrated the glow feature for Android GLES2 devices. When I enabled verbose debugging,
via the project setting:
[debug]
settings/stdout/verbose_stdout=true

It THEN yielded a prodigious volume of OpenGL error messages, of the following form, on my Motorola g6 device:
08-14 11:48:30.688  2454  2524 E godot   : ERROR: GL ERROR: Source: OpenGL  Type: Error     ID:<PHONE_NUMBER>  Severity: High  Message: location of the uniform is -1
08-14 11:48:30.689  2454  2524 E godot   :    At: drivers/gles2/rasterizer_gles2.cpp:133:_gl_debug_print() - GL ERROR: Source: OpenGL   Type: Error     ID:<PHONE_NUMBER>  Severity: High  Message: location of the uniform is -1
Steps to reproduce:
Unzip the attached project. From godot, deploy the debug version of the project to a Motorola G6 android device and view the adb logs for that device.
Once it deploys and starts running, it looks like it's generating the aforementioned OpenGL error message at least once per frame..
Minimal reproduction project:

gles2_post_process-opengl-error.zip

I'll close this as nobody else has been able to reproduce this recently. Please comment (with the issue template filled) if you can still reproduce this.


[ic-search-bar] props not working as expected

Summary of the bug
When checking search bar against the PR checklist, I noticed that spell check and auto focus didn't work as expected.
🪜 How to reproduce
Tell us the steps to reproduce the problem:

On the search bar playground turn on spellcheck
Try typing something wrong - see that there are no red lines
Turn on autofocus
See that focus isn't given to the component

📸 Screenshots or code
Example of the html input with spell check

Search bar with spell check

🧐 Expected behaviour
The props should work where red lines appear for spell check and the component is focused on page load for autofocus.
Additional info
We have a focusOnLoad prop that works correctly and focuses the component on load, but autofocus doesn't work (do we just need to do the same thing for both of these props?)

Is spell check on Text field working too?

Is this a quirk of Storybook or the specific browser, explore if this is the case in this ticket

Works in stackblitz, not in Storybook

We've got a Cypress test for spellcheck, but not autofocus

spell check works. would not expect autofocus to work in storybook as it is only applied on page load. closing


Guide Uploading Files

Hello, I have a question about regular expressions.
FileUploadController class, serveFile method, @GetMapping("/files/{filename:.+}") annotation.
What is the colon used for?

Spring Expression Language - colon " : "
Regular Expression Language - dot and plus ".+"
The part after the : specifies a default value. If "filename" is not defined, ".+" will be used as default value.
filename.mp3
.mp3
.m


Pixel Vision 8.app not running on macOS Catalina

Downloading and trying to open the "Pixel Vision 8.app" on a mac with Catalina will result in an error message "The application "Pixel Vision 8" can't be opened.".
To fix this, the following steps can be taken:

In a terminal go to the folder that contains the downloaded file "Pixel Vision 8.app"
From there change directory into "Pixel Vision 8.app/Contents/MacOS/"
chmod 755 Pixel\ Vision\ 8
In your finder you can now just double-click the "Pixel Vision 8.app" as usual. You will still have to allow executing this application from your security settings as usual for it to work.

I need to try to fix this as part of the build script process.

I've uploaded a new version with support for Catalina, you just need to manually approve the app in the security panel the first time you load it up.


gui: Make drc marker blink when selected as for mouse over.

Mouse over makes the marker blink and then clicking stops it. Make it continue blinking after selection.

For https://github.com/The-OpenROAD-Project/OpenROAD/issues/6149.

@titan73 I'm unable to get a different behavior before or after this change. What exactly is the sequence of events that you are expecting this to cause? and how to test it?

To reproduce

extract test case below drc_blink.zip
cd to folder
openroad -gui
open test.odb from menu
load violations.drc
expand "short" tree
click on first violation
move mouse out of violation entry
move mouse back to violation, the marker starts blinking
click on violation entry and the marker stops blinking
With the change the last step does not make blinking stop

Yes indeed, it is restarted.
I'll keep the issue open. What behavior did you see?


Special rule for ilvl < 60 Titicius' Span

as it is worth the price of Lycosidae - Ancient Orb

5a2740d51d004e89d1f9b5bfa0875bb20e47c658


Wrapping callback execution by try/catch to avoid unhandled exception

Description
When calling a native function with a callback, and that callback throws an exception, the whole runtime crashes. Hence we better wrap the call to the callback into try/catch to avoid the overall crash.
How has this been tested?
Needs setting up a native function that receives a function pointer, to which the javascript call then provides a callback that in turn throws an exception.
closes #52

This PR was redone and is already merged.


[GLUTEN-7847][CORE] Distinguish between native scan and vanilla spark scan in plan tree string

What changes were proposed in this pull request?
For FileScan V1 native, update nameNode from "Scan **" to "ScanTransformer **", update nodeNamePrefix from "NativeFile" to "File".
For BatchScan native, update nameNode from "BatchScan **" to "BatchScanTransformer **".
How was this patch tested?
Pass CI.

@zhztheplayer @FelixYBW Can you help take a look?
@zzcclp CH backend is also modified here, Thanks.


UI shows up but does not contain any publish/subscribe channels

Describe the bug
Springwolf UI does not contain any channels
Dependencies and versions used
springwolf-kafka version 0.10.0, springwolf-ui version 0.6.0 .
Code example
Based off https://github.com/thepracticaldeveloper/kafka-spring-boot-example + configuration based on https://www.springwolf.dev/docs/quickstart

do you have a more detailed error description, like exception thrown or error message from the browser console/network tab?

Hi @timonback, sorry, i've re-written the initial report a couple of times and forgot to include the essential information in the final version.
Here's the error from the console (HTTP 404 for springwolf/docs):
ERROR
Object { headers: {…}, status: 404, statusText: "OK", url: "http://localhost:8080/springwolf/docs", ok: false, name: "HttpErrorResponse", message: "Http failure response for http://localhost:8080/springwolf/docs: 404 OK", error: {…} }
main-es2015.f2cdf53117163d7cda62.js:1:49783

See https://github.com/coiouhkc/springwolf-286

Hi @coiouhkc,
I had a look and changed some things: https://github.com/coiouhkc/springwolf-286/pull/1
Please have a look at our kafka example project, which includes a running example and go from there and adapt it to your needs (consumer factories, etc).
As part of knowledge sharing, here is what I found:

Update to the latest springwolf and spring boot version

Related: In older springwolf versions the @EnableAsyncApi annotation was needed

When specifying configuration in the application.properties and as a @Configuration docket, only the application.properties setting is used. -> therefore the file was removed
To document the listeners, the annotation approach is used. Same can be done for the producers

We will update the documentation to better reflect the new way to document listeners/publishers in https://github.com/springwolf/springwolf.github.io/pull/45


V-79287 - Get-DbaAuditLogin

I thought I wrote this already or the Set 🤔

OH, I did but still need a set


fix table caption

This is a Bug Report
A table in the API overview concept page is listing a table caption after the table.
Typically, in the site, table captions are not displayed.
Problem:
The table caption is displaying after the table on the page,
https://kubernetes.io/docs/concepts/overview/kubernetes-api/
Proposed Solution:
Update the page to use the table shortcode. More information about the table shortcode can be found at:
https://kubernetes.io/docs/contribute/style/hugo-shortcodes/#table-captions
Page to Update:
https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-specification

/kind bug

/language en
/triage accepted
/priority backlog

/assign

Fixed by PR #24024.
/close


Save Defaults as JSON

Change all defaults from text files to JSON for more robust comparison and manipulation.

See https://github.com/NREL/SAM/pull/1103


Wrong mouse event targets with d3.js v6

hello,
i couldn't find any specific d3 module for events or mouse so i put it here, supposing this belongs to core functionalities.
The changes with d3 events in v6 are creating some problems, i noticed this change of behavior which i think is an issue.
I have a table with images contained in the cells <td><img> and a callback on mouseover.
d3 v5.16
    tbody.selectAll("td:nth-child(2)")
        .on("mouseover", function () {  console.log(this, d3.event); // my handler follows...
         });

I get an event fired on the td item consistently. If the mouse goes over the image, i still get a target td with fromElement = img.
d3 v6
Now if i rewrite with the new API:
    tbody.selectAll("td:nth-child(2)")
        .on("mouseover", (event, d) => { console.log('mouseover', event.target); })

I would now get events fired both on td and img which does not seem logic. I only declared an event handler on td, why do i get events on img? I expect it to be as before, only fire on td. If the mouse is over the image the event should have fromElement = img.

Oh i just realized this belongs rather to d3-select... Sorry about that! I create a new ticket.

yes :) https://github.com/d3/d3-selection/issues/258


Problem when encountering comments

In the following file:
&control
    pseudo_dir  = 'pseudo/'
    calculation = 'scf',
    prefix = 'Si_exc1',
 /
 &system
    ibrav = 0
    ! ibrav =  -3,
    celldm(1) = 20.385647759,
    nat =  1,
    ntyp = 1,
    ecutwfc = 30
 /
 &electrons
 /

ATOMIC_SPECIES
 Si 28.086  Si.pbe-n-rrkjus_psl.1.0.0.UPF

ATOMIC_POSITIONS {bohr}
Si    0. 0. 0.

CELL_PARAMETERS {alat}
-1.0 1.0 1.0
 1.0 -1.0 1.0
 1.0 1.0 -1.0

K_POINTS {automatic}
  6 6 6 1 1 1

if I run
import os, qe_tools

s = qe_tools.PwInputFile(os.path.abspath(FILENAME))

print("With comment:")
for v in s.get_structure_from_qeinput()['cell']:
    print(v)

I get:
With comment:
[-5.393810088203304, 5.393810088203304, 5.393810088203304]
[5.393810088203304, -5.393810088203304, 5.393810088203304]
[5.393810088203304, 5.393810088203304, -5.393810088203304]

If I instead remove the comments, I get:
Without comment:
[-10.787620176406609, 10.787620176406609, 10.787620176406609]
[10.787620176406609, -10.787620176406609, 10.787620176406609]
[10.787620176406609, 10.787620176406609, -10.787620176406609]

I think the reason is that it is not ignoring the commented line (indeed, from the QE docs, we have for ibrav=-3:
          cubic I (bcc), more symmetric axis:
      v1 = (a/2)(-1,1,1), v2 = (a/2)(1,-1,1),  v3 = (a/2)(1,1,-1)

from which the factor 1/2 between the two cases comes.

Released 1.1.2 (FYI @lekah) with this bug fix
Pinging also @sphuber and @borellim (todo: remember to upgrade dependencies in aiida-quantuemespresso if a specific version is "frozen", or maybe change them to say anything of the form 1.1.x is fine - I don't remember what we do now)


[FEATURE] A "Public Server" mode

Is your feature request related to a problem? Please describe.
So as this is a VR port of a non-VR game
to PC/Non-VR users we might look a bit off/odd in game
Which is fine, but for a Servers anti-cheat that off/odd can sometimes look like cheating
I think that's a problem
Describe the solution you'd like
I think it'd be good to have a "Server Mode"
Where some stuff might be different between Client and Server
or even some stuff changed for both, to prevent false bans/kicks
Stuff like
"If in Server Mode, Local Client can still lean/move a tad bit but if they move more than given amount view fades to black to prevent cheating, and while again Local Client can move a tad that movement is not transferred to server only rotational movement
and movement from joystick/controller"
OR to explain it differently
In Server mode you'd move like
When you're on a horse you can still turn and look up and down but if you walk around IRL it doesn't move the horse
so it wouldn't move the Minecraft Character either
And maybe past a certain distance it could "drag" the MC Character behind the Player
If the VR Player moves more IRL they are prevented in game like the game just moves with them unless they go back?
Describe alternatives you've considered
A Plugin/Mod for Servers to add that communicates in some way with MCXR/QuestCraft
so that they can relax when it comes to those users in some respects like movement mentioned above
Though this wouldn't fix this universally and might be a bit too niche
plus it could in theory add a security risk if other mods/clients are able to add that flag or whatever that MCXR/QuestCraft has
to then be less likely to be caught
Additional context
I feel if there could be a white/blacklist of servers the user could add so it'd automatically use
this "Server Mode" on some servers but not others
or to varying degrees, like on [Server Here] it'd do everything it can to be like a regular non-VR player to the server
Whereas on [ServerB Here] it'd just do a minimal amount etc

Hypothetically it should be possible to play on servers as strict as Hypixel without trigering the anti-cheat, albeit with most XR features disabled.


Anvil inaccessible

I don't know what causing this. Maybe some mod conflicts with 1.8 anvil changes but I can't find it. Sometimes GUI pop ups for 1 second and immediately closes. No crashes happens.
Using Et Futurum 1.4.2, Forge 1492 and a lot of other mods.
List of mods: http://i.imgur.com/rey6FE7.jpg
I've uploaded modpack to dropbox

Are you playing on a server?

No, singleplayer world.

Maybe you can add some debug feature (only for testing) which can detect if any other mod tries to change anvil? Then I can launch my modpack with this feature and send you a log?

I don't think that will be necessary.
I'll download your modpack and try it out myself and see if I can identify the problem.

Let me see if I got it right.
It doesn't happen 100% of the time, correct?

I can say that this happens 100% of the time. But sometimes you just able to see GUI for less of one second.

[14:55:34] [Server thread/WARN] [cuchaz.ships]: SERVER Unable to reflect on container class: ganymedes01.etfuturum.inventory.ContainerAnvil
java.lang.NullPointerException
	at cuchaz.ships.core.ShipIntermediary.getEntityDistanceSq(ShipIntermediary.java:65) [shipsMod-v1.7.10-1.0.3.jar:?]

This is the culprit

shipsMod-v1.7.10-1.0.3.jar
Seems to try to reflect on the class and upon failing it closes the GUI.

Thanks for looking into! So, should I ping cuchaz or it can be workarounded on your side?

You'll have to ping him. He's forcibly closing the GUI, nothing I can do to remedy it unfortunately )=

Alright pinging @cuchaz. I've also tried updated ships mod 1.0.4 and nothing changed.

Check if the mod has any config options you could turn off that might prevent the crash :)

Closing this since the guy never showed up.
If he ever replies and it turns out it's my fault (which I doubt) I'll re-open it.

This problem probably isn't caused by the exception. It's just caught and logged without incident. Here's the relevant source code:
https://bitbucket.org/cuchaz/ships/src/d3af625fb1b958e1b6cba511ff93430393685365/src/cuchaz/ships/core/ShipIntermediary.java?at=1.7.10&fileviewer=file-view-default#ShipIntermediary.java-85
Ships Mod is trying to spoof distance checks from tile entities so they work correctly on ships. It's basically impossible to get the spoofing right for every possible tile entity since the information needed to do that correctly just isn't always available. Ships Mod makes a best guess and does what it can without leaving uncaught exceptions flying around. In this case, the best guess about distance to the player is probably much too large which causes Minecraft to close the gui. There's probably something I can do on my end to make the best guess better for unknown kinds of containers, but I can't get it working perfectly without the mod tile entity knowing it's on a ship. I'll eventually write the API for that, but even if I did, who would use it...

I see, well just to make sure, @Adaptivity could you remove ShipsMod and try it to access the anvil again?
From the explanation I don't see it being the cause of the problem, but before ruling it out completely it's better to be 100% sure :3

Oh, Ships Mod is probably causing the problem. It gets all up in TileEnties and Containers using ASM. It changes the results of calls to methods that query player distance since TileEntities on ships are actually in a completely different coordinate system. The point of my comment before was just to say that's it's probably tricky to completely fix while keeping the TileEntity in the dark about what ships are.

oh right! Well shame it can't be fixed )=
Would it be possible to only execute the logic when the TileEntities are in the ship? Because then the anvils will still be accessible outside (which is a reasonable compromise I suppose)

Also, could it be because my container extends ContainerRepair? Or does it execute the same logic with any container?

That's the trouble. Ships Mod can't tell if for certain if TileEntity is on a ship or not based only on its container and the distance request. Containers just don't have a lot of useful info in them, and the info that is there is not easily accessible, hence all the madness with reflection. The mod tries to guess by inspecting the container state, but that's pretty error-prone.
I think I know of a way to make the guessing smarter if I can just get the World instance the container thinks it's in. That might not be too hard to do with reflection.
Btw, there's an issue in my system to remind me to look into this:
https://bitbucket.org/cuchaz/ships/issues/224/guess-better-about-tileentity-entity
Also, extending ContainerRepair makes it more likely that Ships Mod can read your container correctly since it will act like a vanilla container.

Closing this since there's nothing I can do afaik


Edit Preshita's use cases in the Developer Guide

Codecov Report

Merging #59 (f4a0167) into master (85d9060) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #59   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Add code coverage reporting support

Add new build target "coverage-smoke" which builds, tests and generates code coverage report.
This code coverage report will be available on CircleCI as artifacts.

I will merge as it is for now. Technically speaking, since there's no difference between smoke_tests and coverage_smoke, we could live with just one, but it is not a big deal.


Translate in a given language

Hello,
I have a specific need and I don't find a solution with no downside. Maybe I just missed something but I can't find what.
My need:
get a translation in a lang different than the currently used language. (example: app in english, need just one translation in french)
I found 2 ways of doing it:

Change the entire app language (TranslateService.use), retrieve the traduction and set back the original language.
Retrieve all the translations of the given language and manually find what I need (TranslateService. getTranslation).

I don't like the first approach because the entire app lang is changed and I can't be sure that angular is not trying to get a translation during that process (would cause a wrong translation if it happens)
For the second approach, the interpolation is not longer possible (or must be done manually).
Is there an easier way to do it ?

Hi X4V1,
you can create your own custom loader, load more than one resource and merge them as needed.
Take a look at my article where I use this trick to make translations much more modular, but the loader I implemented should help you get started on a good idea.
Angular: Modular translations


Sticky arrows do not work well for all types of diagrams

Hi,
I think the sticky arrows feature is very well done. It works well for graphs.
There are also other types of diagrams where it doesn't work well, I am opening this issue to start a conversation about how the feature can be improved.
I find myself deleting arrows and redoing them (I don't do many graphs).
Take a look at this example diagram.

When you move the CPU usage label, the arrow vanishes.
When you move the autoscaler a bit down to align it, the perpendicular arrows need to be redone.

What do you think?
One alternative I thought of is to move the grey 'hitting areas' to inside the shape you're connecting to. Drop the arrow ON the shape and it pops to outside the shape?

I think it was a mistake to enable binding by default. I completely agree it doesn't work for all kinds of diagrams, for me specifically any kind of "high-school"-like geometry.
@wietsevenema for the example you gave, the only change I would make is to disable binding to text. That gets rid of the CPU usage label (people have asked before for binding text to middle of arrows instead). The fact that you have to fix the perpendicular arrows seems fine - you'd have to do that without binding too.
Now I do think we should either make a mode toggle for binding, or flip the modifier key.  I don't want to have to constantly press CMD to be able to draw my diagrams, it's uncomfortable. cc @dwelle

I think it was a mistake to enable binding by default. I completely agree it doesn't work for all kinds of diagrams, for me specifically any kind of "high-school"-like geometry.
[...]
Now I do think we should either make a mode toggle for binding, or flip the modifier key. I don't want to have to constantly press CMD to be able to draw my diagrams, it's uncomfortable.

Yea, at least until #2106 is implemented. But then I'll just learn to hold Cmd all the time as you stated, so that's not a good default.
I'm undecided between (1) mode-toggle and (2) hold-to-bind.
(1) is adding UI complexity, friction (you need to toggle on/off when you want to bind just a specific shapes), reduces discoveribility.
(2) also reduces discoveribility (people need to read the hint to figure out what to do, and people often don't do that. But then this applies to current behavior too).
If push comes to shove I'd definitely prefer (2) as it has better ergonomics (I believe that binding shapes is much less common than plain drawing, and as such hold-to-bind is perfectly acceptable).
(2) will also allow adding binding for lines since unintentional binds will become less likely (although in diagrams with lots of lines mixed with arrows it might still be an issue).

I think hold-to-bind works best.

I wouldn't rule out mode toggle just yet. There are types of diagrams (mind maps, state transition diagrams) where you want to bind almost constantly. It might be equally annoying to have to constantly hold cmd there.
Here's a PR to test the "modifier key to bind" version: https://github.com/excalidraw/excalidraw/pull/2146

One thing I noticed already from #2146 is that it feels strange that moving an already bound arrow automatically unbinds it.

Closing this as I have created a new issue where we will be discussing this and improve the overall UX for arrow binding https://github.com/excalidraw/excalidraw/issues/6685


Deleting items does not remove them from the parent

Hi,
The issue persist, When using RemoveChildData it's deleted well the child but the reference inside the parent still there.
Before Remove child Data

After Remove child data

As we can see the group schema inside Policy still have the id.
Thank you.

+1 for this post, any solution ?


Cannot read property 'formState' of undefined // Cannot read property 'showError' of undefined

Description
When I try to add a new FormFieldConfig into the present formFields[0].fieldGroup object with hideExpression it throws this error. And the form does not render. I saw this#2197 which was talking about the same problem but I couldn't figure out what can be done to make the error go away.
And also when I remove the hideExpression, it gives me the error Cannot read property 'showError' of undefined. So there's not a way for me to extend the formFields[0].fieldGroup array.
Minimal Reproduction
https://stackblitz.com/edit/formly-starter-example-fcnweb?file=src/app/app.component.ts
Your Environment

Angular version: 11.0.9
Formly version: 5.10.21

Additional context
It doesn't occur when the initial object has the same hideExpression.
And it doesn't occur when I try to push new objects into the formFields array. But when I try to push a new object into formFields[0].fieldGroup then the error occurs.

The push doesn't detect the new changes, your spread operator instead or update fields after the push call:
  this.newFields.forEach(f => this.fields[0].fieldGroup.push(f));
+ this.fields = [...this.fields];


GEOMESA-1741 Adding exception handling in stat observe

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Is this just purely defensive?
Does this address any 'bugs' around stats?


Can we add additional information to the WDI for drive and display?

Raised by Northwestern Argalab: Could the WDI include information on the current speed, acceleration, speed settings, mode etc. of the chair for use by active systems and/or to display?

Based on meetings with Northwestern on August 21, 2024, it has been proposed that WDI feedback should be limited to built-in HID functionalities. These will focus on lights, sounds, and haptics that could be part of an input device.


consider utilizing already-activated virtualenvs

just an idea.

Looks like this was added in #395.

✨🍰✨

sorry for leaving this open!

No need to apologies, just cleaning up 😊


Can someone confirm whether or not Superhot VR works with PS Move Controllers?

I can't seem to get it to work, just wondering if anyone else got it to work.

This kind of question should be asked in the google group as it doesn't have anything to do with the core functioning of PSMoveService.
https://groups.google.com/forum/#!forum/psmoveservice


Request: Accurate and Up-To-Date High Quality Image Assets

A lot of community developers are at the point where they need accurate and up to date high quality image assets for their projects in order to take their Vainglory data to the proper level of quality standards and sophistication (aka not half-baked).
These assets should include but are not limited to the following library types..

Hero profile squares
Hero splash art
Hero images on transparent backgrounds
Item icons that are up to date
Role icons (Carry, Captain, Jungle)
In game UI icons (Creeps, Gold, Kills, Deaths, Assists, Turrets icons, Battle Log event icons, and any other UI icons)
In game currency images on transparent backgrounds (including all keys, Opals, ICE and Glory)
In game ping icons

All images in each of the categories should be of the same high quality and standards with no deviations in image quality through the library.
Thanks! :)

@PierreAndreis Good lookin' out 👍

This one is definitely happening.

Hey @BrianGlory sent you a private message in Discord with some art.  If this looks good, we'll share.

@genexp That looks great but some small changes to the art must be made before sharing. Thank you!

are you also planning to expose hero and item master data like we have on VaingloryFire?

also, can you share some samples of what sort of icons are you planning? if it works for our designs i won't do a lot of those

are you also planning to expose hero and item master data like we have on VaingloryFire?

Are you talking about item and hero base stats? that's a stretch goal of 1.0.
*fingers crossed*

@BrianGlory
i guess i will start working on the same, if we get it, all we will need is to replace with API calls :)

Please add the Support Badge in the assets. Thank you!

can we have some update on when https://github.com/madglory/gamelocker-vainglory/issues/37#issuecomment-279601194 will be available on api? @genexp

@BrianGlory  - in wake of recent changed, i would like to suggest a few things when you guys do this:
if you guys plan to do this live images

make assets available over a CDN and not via API
send in request headers so that they are cached by the client (on browser or something) so that the apps in browsers are making calls again and again
please don't put this on a rate limit

if you plan to share (download from FTP) offline and then host as required

I am okay with this, just provide a location on S3 or something where players with auth can download and sync
try to have some sort of a programmatic sync method. so don't expose it via a web download zip. this way we can code to sync from time to time.

thanks

We're pulling this into the ItemDB feature, if you guys up-vote it :)

Can you reopen the issue until it is fixed? We are still using assets we downloaded from the Vainglory site and don't have explicit permission to use them in our applications.

@genexp 2 upvotes does it? there are at least 6 sites which use the API. it's a humble request to setup an email notification/broadcast to reach out to us. I don't track this GIT hub repository all the time and we may miss something important.
also, while you close this, can you please link this to the other one that is open?
I would like to see how you guys are planning to release itemDB?
@genexp / @bguilder

I believe at the time @genexp was referring to "up voting" as voting for it in the poll that was emailed to developers around that time. I don't believe that itemDB got as many votes as other items in the poll (sadly!) and it was generally overlooked and seemingly not as high of a priority for others when discussed in #feature-voting on Discord. Comments by MadGlory in chats have given the impression that some work is being done on it but other things that have been voted on are of a higher priority. See #announcements in Discord for the poll results and how those are being prioritized.

We still do not have any official assets from SEMC.

So...

We're going to keep image assets here.
Surprise incoming.

Please move assets into a separate repo (gamelocker-vainglory-assets?). Disable issues on that repo and add a link on README to this repo to submit an issue. Docs Contributors should not be forced to download big assets to contribute.

I propose we have two main branches to this rep. The “Light version", where one would update the docs and json resources; and the “heavy version”, everything the light version has plus assets, aka. Imgs. This way anyone who wants to update the docs will just download and edit the “light version”; and won’t have to download 350+ MB of assets that come with the “heavy version”, which aren’t even relevant to the docs. While someone who wants to start creating content, with the api, right away will be able to download the “heavy version”; and start creating content within a few minutes of reading the docs with all the assets he/she could possibly want.
light version - a branch:
The master branch where everything that's on the rep right now would be. This is the branch that you download and send your pull request to if you’re going to update the gamelocker VainGlory docs and json resources.
Includes:

gamelocker VainGlory docs
json resources
heavy version - a branch:
This would be a side branch from Master, light version, it will have the docs and resources up to date including assets. This is the branch that you download and send your pull request to if you’re going to edit assets.

Includes:

gamelocker VainGlory docs
json resources
assets(A.K.A. imgs)
If we do this we’ll have community maintained assets; and while GitHub isn’t relatively meant for this I can’t think of another service which can make this easily accessible, to both get and post, while still maintaining quality control. It would be awesome for SEMC to give us assets, but it’s not going to happen anytime soon, and even if they do it may not be what we expect. While community maintained will be exactly what we expect, because we’re the ones who decide what assets are added.

I'm working on this guys, soon we will have a repo with most of assets.

Hey folks - I think our proposal is to just pull them into this repo.

We're talking hundreds of MB, i don't really think that's a huge repo?  If we end up with GB we should find another plan.
If we can have them in one place, there's potential to pull them into a project, deploy on CDN, etc.

based on my experience - adding assets will eventually slow down the repo and it will be a deterrent for any new committer. I dont mind the putting in a repo, can you not create a new repo. so you have one each for assets and documentation.

I agree, I don't think they should be in the same repo. For one thing, a 350 MB repo is a lot when you're downloading over cellular, which I do quite often -- I clone repos all the time to my mobile devices, which btw, generally have much more significant storage constraints than PCs or laptops.

There is git-lfs, which is designed for storing binary files in git, it is supported by GitHub. https://git-lfs.github.com/
It requires users to have git-lfs installed or only the "pointer files" will be downloaded.

@schneefux yeah, great idea :)  Let's pull them out when there's a problem?

(Just trying to get issues fixed, and closed.)


No windows status or control on MG5

All windows on my MG5 are always “closed” and issuing “open window” doesn’t do anything either.
When trying to open, this error is thrown:
2024-05-25 17:36:10,453 [ ERROR  ] Unsupported topic windows/driver - __main__
Traceback (most recent call last):
  File "/usr/src/app/./mqtt_gateway.py", line 391, in handle_mqtt_command
    await self.vehicle_state.configure_by_message(topic=topic, payload=payload)
  File "/usr/src/app/vehicle.py", line 569, in configure_by_message
    raise MqttGatewayException(f'Unsupported topic {topic}')
exceptions.MqttGatewayException: Unsupported topic windows/driver

Does the MG5 support window control from the MG app? We have yet to find a car that does have it so that command is not implemented yet

Ah, good point. I just expected it to be implemented since the windows were there.
Can I suggest disabling the window-entities as default, to avoid confusion? :)

Ah, good point. I just expected it to be implemented since the windows were there.
Can I suggest disabling the window-entities as default, to avoid confusion? :)

I'm logging a feature request to move them to sensor instead of a switch entity, yes


I've lost all my files and my codespace - HELP!

ADD ISSUE DESCRIPTION HERE
I was working on week 5 problem set.  I was focused on another tab opened in my web browser.  When I returned to codespace, it turned out that I lost all of my code from previous weeks.  I have included a screen shot of what I see now.  There was a creation.log showing up on screen, I have no idea what has gone wrong.  I tried restarting my codespace and rebuilding my codespace but neither of those things changed anything.  Please help.
Version: 1.95.1
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/question please use your course support channel.


PLAT-10435 - Change tag name for /roles/list in Swagger spec

PLAT-10435 : BDK2.0 Java - Change tag name for /roles/list in Swagger spec
The pod-api-public and pod-api-public-deprecated were mentioning "System" as a tag for "/roles/list" endpoint. This tag being duplicated in agent public api, it is overwritten in symphony-api-client and only agent's system api class is generated.
In this PR, the tag for "/roles/list" is changed to match the same as "/roles/add" and "/roles/remove".

@symphony-soufiane could you also backport this change to https://github.com/symphonyoss/symphony-api-spec/tree/20.10, thanks!

@symphony-soufiane could you also backport this change to https://github.com/symphonyoss/symphony-api-spec/tree/20.10, thanks!


fix AerialApp copy-Info.plist & Aerial copy-Info.plist absolute path to group path

Oops, well spotted. Thanks a lot, merging now.


Remove extraneous use of connection string and prefer credential

Description

Migrates tests that are not specifically designed to test features using connection string (i.e. SAS token) to DefaultAzureCredential or PipelineCredential.

Tests using connection string are in NonFederatedIntegrationTests.

Removes creation of additional auth rules when creating resources.

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - eventhubs - tests

/azp run java - eventhubs - tests

/azp run java - eventhubs - tests


Invalid problems raised for user-defined functions in ARM template

Support using the in-built parameters('xyz') function in output.value of the user-defined function rather than raising the following problem...
a) Undefined parameter reference: 'xyz';
   "value": "[if(equals(parameters('SuppliedLocation'),'uksouth'), 'UKS', 'EUS')]"

is valid

Support using user-defined functions rather than raising the following problems...
b) Unrecognised function name: 'xyz'; &
c) Expected the end of the string;
"Region": "[RegionSelector.discriminate(parameters('pLocation'))]"
is valid

@afnw35342 Thanks for taking the time to report this.  This is being tracked by #122, I'm hoping to get to it soon.


Don't include parent IDs in events until the parent events have been logged

Clients can still read the values for logUserID, sessionID, and viewID before those events are logged, but the IDs themselves won't be included in event messages until the corresponding parents have been explicitly logged.

technically, we should be able to handle out of order, so if the ancestor id exists for the child to log the correct value for the ancestor even if the ancestor event itself hasn't been logged, that's ok.

That's good. Additionally you should be able to tell this by the ordering of the client timestamps.


localise

At dev time:
extract the golang text to a json format
translate the json
merge back in to the json
At runtime:
golang gui uses that json based on the local detection.
https://github.com/vorlif/spreak to do all the above at dev time.
https://github.com/gioui/gio-x/tree/main/pref/locale to detect the users locale at runtime.

I na the other dev will be adding automatic machine translation here: https://github.com/vorlif/spreak/issues/21

Thank you!


Feature/generate

Add Vocabulary.to_ttl, to_jsonld, and to_html to generate pretty version of Turtle, JSON-LD and HTML+RDFa for the vocabulary, using some heuristics on the values from the Vocabulary description.
Generate triples from graph, rather than directly from vocabulary, and allow the graph to be provided as an optional argument. Also, allow additional prefixes to be added via optional argument. This allows the vocabulary definition to be used to get data that may be excluded from the built-in version, including literal language and datatypes.
Add gen-vocab CLI command.
HTML+RDFa can use either ERB or Haml templates (defaults to etc/template.erb). CLI help points to repository location containing templates, allowing customization.

Note, there are CLI changes on the develop branch or RDF.rb, which need to be released along with this as a version 2.0.1.

Awesome. I'll be able to give this a more serious look over the weekend.
The failing tests are rbx specific; they seem familiar from my rdf-ldp work, but I don't think I ever tracked down the source.

I thought I had avoided that problem here. I'll check again. It stems from a problem with RDF::Vocabulary::Term#to_uri that may relate to named argument handling in Rubinius.


Allow function reregistration

Codecov Report

Merging #161 (45cc0af) into main (990d647) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main     #161      +/-   ##
===========================================
- Coverage   100.00%   99.90%   -0.10%
===========================================
  Files           57       57
  Lines         2124     2127       +3
  Branches       283      284       +1
===========================================
+ Hits          2124     2125       +1
- Misses           0        2       +2

Impacted Files
Coverage Δ

dask_sql/context.py
100.00% <100.00%> (ø)

dask_sql/input_utils/hive.py
90.00% <0.00%> (-10.00%)
:arrow_down:

dask_sql/utils.py
100.00% <0.00%> (ø)

dask_sql/integrations/fugue.py
100.00% <0.00%> (ø)

dask_sql/physical/rel/custom/predict.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


python 3.11 에서 실행 불가

응급처치법
pyenv 등을 사용해서 3.8 버전으로 실행
에러로그
Traceback (most recent call last):
  File "/opt/homebrew/bin/dhapi", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/dhapi/main.py", line 5, in main
    entrypoint()
  File "/opt/homebrew/lib/python3.11/site-packages/dhapi/router/router.py", line 7, in entrypoint
    arg_parser = ArgParser()
                 ^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/dhapi/router/arg_parser.py", line 25, in __init__
    installed_version, _ = get_versions()
                           ^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/dhapi/router/version_checker.py", line 20, in get_versions
    dist = JohnnyDist(PACKAGE_NAME)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/johnnydep/lib.py", line 81, in __init__
    self.import_names, self.metadata = _get_info(
                                       ^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/cachetools/__init__.py", line 702, in wrapper
    v = func(*args, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/johnnydep/lib.py", line 477, in _get_info
    data = pipper.get(
           ^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/cachetools/__init__.py", line 737, in wrapper
    v = func(*args, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/johnnydep/pipper.py", line 236, in get
    target, _headers = _download_dist(url, scratch_file, index_url, extra_index_url)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/johnnydep/pipper.py", line 105, in _download_dist
    target, _headers = urlretrieve(url, scratch_file, auth=auth)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/johnnydep/compat.py", line 38, in urlretrieve
    res = opener.open(url, data=data)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 503, in open
    req = Request(fullurl, data)
          ^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 322, in __init__
    self.full_url = url
    ^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 348, in full_url
    self._parse()
  File<EMAIL_ADDRESS>line 377, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: 'dhapi-2.0.0-py3-none-any.whl.metadata'

3.8.17에서 동일 에러 발생
dhapi -U dfdgsdfg -P -K lotto645 -T buy -M auto -C 5
Traceback (most recent call last):
  File "/Users/user/.asdf/installs/python/3.8.17/bin/dhapi", line 8, in <module>
    sys.exit(main())
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/dhapi/main.py", line 5, in main
    entrypoint()
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/dhapi/router/router.py", line 7, in entrypoint
    arg_parser = ArgParser()
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/dhapi/router/arg_parser.py", line 25, in __init__
    installed_version, _ = get_versions()
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/dhapi/router/version_checker.py", line 20, in get_versions
    dist = JohnnyDist(PACKAGE_NAME)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/johnnydep/lib.py", line 81, in __init__
    self.import_names, self.metadata = _get_info(
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/cachetools/__init__.py", line 702, in wrapper
    v = func(*args, **kwargs)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/johnnydep/lib.py", line 477, in _get_info
    data = pipper.get(
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/cachetools/__init__.py", line 737, in wrapper
    v = func(*args, **kwargs)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/johnnydep/pipper.py", line 236, in get
    target, _headers = _download_dist(url, scratch_file, index_url, extra_index_url)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/johnnydep/pipper.py", line 105, in _download_dist
    target, _headers = urlretrieve(url, scratch_file, auth=auth)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/site-packages/johnnydep/compat.py", line 38, in urlretrieve
    res = opener.open(url, data=data)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/urllib/request.py", line 509, in open
    req = Request(fullurl, data)
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/urllib/request.py", line 328, in __init__
    self.full_url = url
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/urllib/request.py", line 354, in full_url
    self._parse()
  File "/Users/user/.asdf/installs/python/3.8.17/lib/python3.8/urllib/request.py", line 383, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: 'dhapi-2.0.0-py3-none-any.whl.metadata'


Butt_joint_offset

This adds the geomtric implementation of the milled feature on butt joints. I added an abstract ButtJoint class from which LButtJoint and TButtJoint inherit.
What type of change is this?

[ ] Bug fix in a backwards-compatible manner.
[x] New feature in a backwards-compatible manner.
[ ] Breaking change: bug fix or new feature that involve incompatible API changes.
[ ] Other (e.g. doc update, configuration, etc)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[x] I ran all tests on my computer and it's all green (i.e. invoke test).
[x] I ran lint on my computer and there are no errors (i.e. invoke lint).
[ ] I added new functions/classes and made them available on a second-level import, e.g. compas_timber.datastructures.Beam.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have added necessary documentation (if appropriate)

I had updated the changelog. Should I have addressed the other points before merging? Sorry if you wanted to discuss before I merged.

I had updated the changelog. Should I have addressed the other points before merging? Sorry if you wanted to discuss before I merged.

No not the main review comment. Scroll up, there's a bunch of comments on the code.
My bad though, next time will flag as requested changes instead of approved


[Color Picker] The Zoom window captures part of the Hover Menu with color

Microsoft PowerToys version
0.79.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
ColorPicker
Steps to reproduce

Run Color Picker tool
Scroll mouse wheel to zoom

✔ Expected Behavior
The Zoom window shouldn't capture part of hover menu. (v 0.78.0 there is still small part of hover menu but much less)

❌ Actual Behavior
The Zoom window captures part of the Hover Menu with color.

Other Software
No response

/dup #11924


Unable to install via HACS

Howdy,
I am trying to install via HACS, it fails on Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble.
I added successfully in HACS, but when installing as an Integration I get the above error.
In your documentation is says it has a dependency of pyastroweatherio but has no info on how to install this?
Noob help please?
Thanks
Major

Are we talking about the integration or the lovelace card?
After installation of the integration a full restart of hass is required, as with all other integrations. The card requires the integration to work, so install it afterwards, after the integration is functional. Be sure to refresh your browser cache after the card installation.
Thy pyastroweatherio component is installed automatically during the installation of the integration. No worries here.


Document passing attributes

Hello,
I'm trying your (great!) plugin for a new website. And at first the debugger throw me an error because it's looked like I can't replace this line:
<?= css('/assets/css/print.css', 'print') ?>
By:
<?= Bnomei\Fingerprint::css('/assets/css/print.css', 'print') ?>

Argument 3 passed to Bnomei\Fingerprint::helper() must be of the type array, string given, called in /Users/yoan/Projets/zardust/site/plugins/kirby3-fingerprint/classes/Fingerprint.php on line 218

By looking the error and the plugin code, I understand that the attributes need to be passed through an array. I think a common example with media="print" should be useful on the documentation 👍
Thanks!

ah. the kirby css helper does support a string with media as default. i did not know that.
https://getkirby.com/docs/reference/templates/helpers/css
also the js uses bool for async
https://getkirby.com/docs/reference/templates/helpers/js#example__async
i will see if i can get my helpers working more closely like the core. thanks!

I just tried the mentioned behaviour and found out that this is still not possible (talking about the async bool).
Can you add it to your plugin?

@MaluNoPeleke as far as i can tell the
echo Bnomei\Fingerprint::css('/assets/css/style.css', ['async' => true, 'defer' => true, 'data-something' => 'my-value']);

should be working as expected.

<link async data-something="my-value" defer href="http://fingerprint.local:8080/assets/css/style.css" rel="stylesheet">


Change default modal template?

Hi,
Is it possible to change the default modal template? I need to change the class of the reset button in the html code but I don't know how to do, there is no options for that.
Thanks a lot and great work by the way ;)
Rémi

Hi,
You can use the option "search-template" :
<button id="modalButton" modal-select                     options="contacts"                     ng-model="selectedContacts"                     on-select="onChange(newValue, oldValue)"                     search-template="templates/modal-template.html">
Copy/paste the "modal-template.html" (or modal-template-multiple.html) in your template folder.
Now you have to load the template in the $templateCache, here how :
$http.get('templates/modal-template.html').then(function (response) {             $templateCache.put('templates/modal-template.html', response.data);         });
Be careful, the "templates/modal-template.html" is not related with the real path (except for the $http call), this is only a key to retrieve the cached template.

@aless673 thanks for your clarification.
Do you think we need a "search-template-url" option in order to get a template from a path?
That would reduce the boilerplate of putting the template into the cache.
I am closing this anyway, if you feel so open a new issue about this.
regards
Mauro

@bianchimro Yes of course we need this :)


x64: Port fdemote and fvdemote to ISLE

Port fdemote to isle
Port fvdemote to isle

Looks like we are missing run tests for fdemote and completely missing any file tests whatsoever for fvdemote. Care to add some of those along with this PR?

Yep, happy to add tests for these. I was working on getting good test cases for fdemote/fpromote before marking this ready, as I noticed they were a little under tested.


Upgrade fails

--- Installing helper binaries...
While constructing the BuildPlan the following exceptions were encountered:

--  Failure when adding dependencies:
      cabal-helper: needed (<0.7 && >=<IP_ADDRESS>), <IP_ADDRESS> found (latest applicable is <IP_ADDRESS>)
    needed for package ghc-mod-<IP_ADDRESS>
*** Binary installation failed with error 1. Aborting...

Using resolver lts-5.4 instead of lts-5.2 works fine for me. But I'm not sure if it's just some local issue.

Remove additional packages from ~/.stack/global-project/stack.yaml (or something like that). We don't need them anymore, you need to remove them manually. Then try again (with lts-5.2).

Thanks. :)
I had the following:
packages: []
extra-deps: [cabal-helper-<IP_ADDRESS>, pure-cdb-0.1.1]

So cabal-helper in extra-deps was the issue (not in packages).
I had removed the whole stack.yaml and then tried with the most recent lts. But I see, it works with lts-5.2 too.

Reopen the issue, please.
We need some message in the end of installation about extra-deps.

Could/should we do an automated sed on the yml file to fix it?

I think that's the way to go but an additional confirmation by the user could be a good idea.
By the way, I'm not sure whether pure-cdb was added by installing HVM or by some other package.

pure-cdb is a transitive dependency for haskell-vim-now because of hscope (at least).  pure-cdb is on LTS now, so haskell-vim-now doesn't have to do anything special for it.  See beb8ee05f3c54072fc98c1b6b30a1eadbcac081a.


refactor(assemblyscript): extract standard tests

I recommend viewing the diff with indentation changes hidden
Put tests of actual NEP-4 standard into function, so that we can extract this function to a separate file/library/web app that other people can use to test their own NFT implementations

AssemblyScript contract has been deprecated.


Future plans to grab modules in an ES6 manner?

Hi all,
Please excuse me if I am asking a dumb question. I was quite familiar with nodeJS back in 2013-15, and am now starting a new project based off of the hackathon-starter. There are a lot of ways to do essentially the same thing in node, especially in regards to modules, so I am trying to decide on the best way to do things before moving forward.
In particular, I'm wondering on the best way to structure modules. From reading this article, among others, it seems like the newest convention for module import / export is:
myModule.js
export function myFunction() {   // myFunction Scope }
app.js
import { myFunction } from 'myModule';
My concern is the age-old one: Do I decide to write code in the "newest" way or do I decide to write code the way it already exists in the codebase. With that in mind, are there any plans to refactor modules in this project or the way modules are used to conform to the ES6 manner?
Please be kind in your criticisms of me :)

As far as the code formatting and best practices go, Hackathon-Starter uses the following Lint rules: https://github.com/sahat/hackathon-starter/blob/master/.eslintrc .  The style rules for imports and modules are in-part based on the rules defined in the latest versions of eslint-config-airbnb-base and eslint-plugin-import.  You can find more about what these rules define as good or bad for imports at https://github.com/airbnb/javascript#modules and https://github.com/benmosher/eslint-plugin-import#rules
We typically update the format if a new revision of eslint-config-airbnb-base or eslint-plugin-import specifies that the current code style is no longer OK.

As far as the code formatting and best practices go, Hackathon-Starter uses the following Lint rules: https://github.com/sahat/hackathon-starter/blob/master/.eslintrc .  The style rules for imports and modules are in-part based on the rules defined in the latest versions of eslint-config-airbnb-base and eslint-plugin-import.  You can find more about what these rules define as good or bad for imports at https://github.com/airbnb/javascript#modules and https://github.com/benmosher/eslint-plugin-import#rules
We typically update the format if a new revision of eslint-config-airbnb-base or eslint-plugin-import specifies that the current code style is no longer OK.


Backup secrets

Resolves #22
Add backup of /secrets folder in an Azure Blob Container.
Each container name has a date and time stamp.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   91.44%   91.44%
=======================================
  Files          24       24
  Lines         830      830
=======================================
  Hits          759      759
  Misses         71       71

Continue to review full report at Codecov.

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


Expose background blur

We should be able to create a flow::Layer that blurs the existing background.

Done.


Sync teams and team members

Update the sync script to also sync teams and members.

Fix org.yaml; in teams members should be a member or a maintainer but
not both.

This change is

/assign @ashahab

/approve


tm1project_put in GitService not working properly

Describe the bug
When attempting to put a tm1project using the tm1project_put function under GitService, I get an error message stating:
  File "C:\Python381\lib\site-packages\TM1py\Services\RestService.py", line 68, in wrapper
    raise ValueError(f"Failed to retrieve async_id from request {func.__name__} '{url}'")
ValueError: Failed to retrieve async_id from request PUT 'https://mycompany.planning-analytics.cloud.ibm.com/tm1/api/tm1/api/v1/!tm1project'

This happens ONLY when async_requests_mode=True.
To Reproduce
tm1_project_source_file = r'C:\tm1project.json'
with TM1Service(
        base_url='https://mycompany.planning-analytics.ibmcloud.com/tm1/api/tm1/',
        user="non_interactive_user",
        namespace="LDAP",
        password="U3lSn5QLwoQZY2",
        ssl=True,
        verify=True,
        async_requests_mode=True) as tm1:
    tm1_project = GitProject.TM1Project().from_file(tm1_project_source_file)
    tm1.git.tm1project_put(tm1_project)

To Avoid This Behavior
Under the GitService.py you can force the PUT function to use async_requests_mode=False:
def tm1project_put(self, tm1_project: TM1Project) -> TM1Project:
    url = '/api/v1/!tm1project'
    body_json = tm1_project.body

    response = self._rest.PUT(url=url, data=body_json, async_requests_mode=False)
    return TM1Project.from_dict(response.json())

Expected behavior
The response from the server does not have a Location section in its headers, so I'm not sure if the response if wrong or if we should not expect it at all thus, enforce the async_requests_mode=False in the function above.
At any point, the value of async_request_mode should not be relevant for this operation.
Version
TM1py 1.10.2
TM1 Server Version: 11.8.01700.1

Thanks for raising the issue.
Does TM1 raise the same error when doing a put with async_requests_mode=True against an on-premise TM1 instance?
I agree. Your suggested fix seems the most appropriate solution to the problem.

Good question: I checked against our OnPrem (same PA version as cloud but running on RHEL) and it does not fail, the only connection parameter that differs from the one to cloud is the ssl as it is set to False in our OnPrem installations.
Do you think the OS or the SSL param could have some relation with this?

I doubt it's related to the SSL. I think most likely due to the implementation of the TM1 API in PAoC. I have seen on multiple occasions that the API behaved slightly more fragile than on-premise. For instance, when using write_async with a few threads it occasionally fails to return a response (I tend to work around it with a retry). I hadn't reported it to IBM yet for a lack of a concise reproducible example, but I understand there is some extra layer in that Architecture that is a weak link in the chain.
My guess would be that the PUT isn't implemented well in that layer for the async_requests_mode.
This PUT request should be reproducible. I think we could raise a ticket with IBM to address it.

Hi @MariusWirtz ,
I'm sorry but I was incorrect in my prior statement: it also fails if executed against an OnPrem instance (I used a wrong config.ini file when testing).
Just to note, the PUT call that places the tm1project is successfully completed, but the Location header is missing from the response.
I'll raise a ticket to IBM to see what they say. In the meantime I can put this workaround in place. Sounds good?

Thank you! Please open a PR for the fix.
Yes, raising a ticket with IBM will be a good long-term solution.

Hi @MariusWirtz ,
I raised a ticket with IBM and below is their answer:

respond-async is a PREFERENCE, the service is free to ignore it. This is standard HTTP protocol. If the service honors the preference it will set the Preference-Applied header accordingly (which the client could check) and also, in the case of respond-async, return a 202 Accepted status code instead of another success or failure code. The client will have to act accordingly.
Putting to the project file resource is one of those operations, which typically happens instantaneously anyway, that the service doesn't execute asynchronously. So this is expected.

Though I understand the PREFERENTIAL behavior of the asyn-request, I find it a bit hard to understand why this function (PUT tm1project) is the only one facing this issue; does it mean that all other functions that TM1Py executes with respond-async are honored by the service and this one does not? Do we have a proper handling of the 202 return code for async requests?

Thank you.

Does it mean that all other functions that TM1Py executes with respond-async are honored by the service and this one does not?

Yes!
I think we must change the implementation of the async response handling in TM1py so that, potentially, the request returns a normal response instead of async-id, even though this is the only function that behaves this way.

Solved with 6105399c5f8630af948348eec6f0be8a964cb543


Add Support for SlashCommand option type 10

https://github.com/discord/discord-api-docs/pull/3455

Added in the latest version

yay


[Mobile ] Before setting up a new wallet for the first time, warn the user if their disk space is below or near the needed threshold.

A substantial amount of disk space is required for SPV mode. Before setting up a new wallet for the first time, warn the user if their disk space is below or near the needed threshold. Also check and warn if remaining disk space is critically low during subsequent app launches.

Hh


extension installation problem

Type: Performance Issue
extensions getting uninstalled while clicking on reload required option
VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:29:14.590Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz (4 x 1696)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
3.91GB (1.34GB free)

Process Argv
--crash-reporter-id e3c6da5b-2a1d-4e80-9fcf-041608226599

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   121	 11160	code main
    0	   202	  1564	   window (Extension: Code Runner - PYTHON - Visual Studio Code)
    0	    43	  4804	   utility-network-service
    0	   157	  6388	   extension-host
    0	   114	  7024	     "C:\Users\BIKASH\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\BIKASH\.vscode\extensions\ms-python.vscode-pylance-2022.12.20\dist\server.bundle.js --cancellationReceive=file:2176ce7ee892e7175a799e4e292546a43535595a60 --node-ipc --clientProcessId=6388
    0	    31	 10840	     c:\Users\BIKASH\AppData\Local\Programs\Python\Python310\python.exe c:\Users\BIKASH\.vscode\extensions\ms-python.isort-2022.8.0\bundled\tool\server.py
    0	    11	  5968	       console-window-host (Windows internal process)
    0	    26	  7764	   crashpad-handler
    1	    88	  8796	   issue-reporter
    0	    94	 10716	   window (undefined)
    0	   136	 10824	   gpu-process
    0	   108	 10936	   shared-process
    0	    88	  5612	     ptyHost
    0	    65	  2324	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\BIKASH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	    65	  2900	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\BIKASH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     6	  6000	       console-window-host (Windows internal process)
    0	    65	  6368	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\BIKASH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	    66	  8548	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\BIKASH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     6	  8868	       console-window-host (Windows internal process)
    0	     6	  9040	       console-window-host (Windows internal process)
    0	     6	  9076	       console-window-host (Windows internal process)
    0	    91	 11108	     fileWatcher

Workspace Info
|  Window (Extension: Code Runner - PYTHON - Visual Studio Code)
|    Folder (PYTHON): 353 files
|      File types: py(224) pdf(20) ipynb(11) json(9) jpg(7) txt(4) fsd(4)
|                  pyc(3) png(1) 1(1)
|      Conf files: launch.json(1) settings.json(1)
|      Launch Configs: extensionHost chrome;

Extensions (4)

Extension
Author (truncated)
Version

isort
ms-
2022.8.0

python
ms-
2022.20.1

vscode-pylance
ms-
2022.12.20

jupyter
ms-
2022.11.1003412109

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848cf:30577861
nodejswelcome1:30587005
3biah626:30602489
iaj6b796:30613358
89544117:30613380
fim-prod:30623723

/gifplease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Issue 1865: Added profiles to enforce JDK 1.8.0-241 or 11.3 and up

Linked Issue: strongbox/strongbox#1865

Please, re-indent your changes according to our coding convention. We use four spaces, instead of a tab.

@AricMonary ,
The username under which you're committing and pushing to Github seems to be mis-configured. You will have to look into how to configure your git settings properly, amend the author of the commits and then force push back to the branch. (When your user is properly set up, you see your avatar when against your commits in the commit history, otherwise it's a default grey avatar).


Add insertion sort on javascript

@harshitbansal373 please merge, approve or mark my request with "hacktoberfest-accepted" label


Grub Error: no such device, grub rescue

After install Debian in a USB thumb drive, fail to load boot loader into correct position (should be thumb drive not hard drive), got this error after reboot.
error: no such device: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
GRUB rescue>
Can boot with another bootable USB drive.

http://askubuntu.com/questions/143667/boot-error-no-such-device-grub-rescue
http://askubuntu.com/questions/187862/after-update-get-error-file-not-found-followed-by-grub-rescue


Always use column_index.

Now that we introduced multi-index columns, we should use column_index rather than data_columns to be consistent access between single and multi index.
We still have a ways to go, so this includes a workaround to work with the data_columns-based approach.
I will address them in the separate PRs.

Codecov Report

Merging #648 into master will decrease coverage by 1.95%.
The diff coverage is 97.7%.

@@            Coverage Diff             @@
##           master     #648      +/-   ##
==========================================
- Coverage    93.3%   91.34%   -1.96%
==========================================
  Files          32       32
  Lines        5106     5130      +24
==========================================
- Hits         4764     4686      -78
- Misses        342      444     +102

Impacted Files
Coverage Δ

databricks/koalas/indexes.py
91.58% <ø> (ø)
:arrow_up:

databricks/koalas/series.py
92.94% <100%> (ø)
:arrow_up:

databricks/koalas/indexing.py
92.85% <100%> (-0.54%)
:arrow_down:

databricks/koalas/utils.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/internal.py
98.14% <100%> (-1.17%)
:arrow_down:

databricks/koalas/frame.py
94.53% <92.59%> (-0.12%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
76.92% <0%> (-7.7%)
:arrow_down:

databricks/conftest.py
93.02% <0%> (-4.66%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


New package: Rem0o.FanControl version 181

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

@Rem0o hope this PR is fine for you :)

Yeah that's fine.

This was approved in error. It needs Microsoft.DotNet.DesktopRuntime.8 as a dependency.

will fix it here https://github.com/microsoft/winget-pkgs/pull/139480

This was approved in error. It needs Microsoft.DotNet.DesktopRuntime.8 as a dependency.

will fix it here https://github.com/microsoft/winget-pkgs/pull/139480


Chat only gives one answer, then it does not respond

Describe the bug
When using the chat, the first interaction is answered as normal, but further interaction is not possible because it won't respond.
To Reproduce
Steps to reproduce the behavior:

Open chat
Start a convesation
Wait for response
Try to continue conversation

Expected behavior
The chat system should be able to continue the conversation
Screenshots

Desktop (please complete the following information):

OS: Debian

Additional context
Using twinny from vscode extension manager:
Published
2023-08-25, 09:49:54
Last released
2024-02-29, 20:41:00
Last updated
2024-03-01, 08:23:50

Please could you share the twinny debug output? You can find it in developer tools of vs code. Thanks.

Just saw that vllm responded with status 400 but can't see the request.
ERR [Extension Host] Fetch error: Error: Server responded with status code: 400
    at e.streamResponse (/home/tecnalia/.vscode/extensions/rjmacarthy.twinny-3.7.7/out/index.js:2:121658)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Fetch error: Error: Server responded with status code: 400
    at e.streamResponse (/home/tecnalia/.vscode/extensions/rjmacarthy.twinny-3.7.7/out/index.js:2:121658)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Interestingly enough using the template settings buttons, such as "Explain" work as expected.

I guess that vLLM is not fully compatible with twinny? You need to provide the debug output of twinny, tick the debug option in settings. Thanks.

I guess that vLLM is not fully compatible with twinny? You need to provide the debug output of twinny, tick the debug option in settings. You may need to restart vscode for the setting to take effect. Thanks.

I think so. Request
[Extension Host]
***Twinny Stream Debug***
Streaming response from <redacted>
Request body:
{
  "model": "TheBloke/deepseek-coder-33B-instruct-GPTQ",
  "prompt": "[INST] hello\n [/INST]\nHello！How can I assist you with your programming or computer science related questions today?\n\n[INST] ko\n [/INST]\n  ",
  "stream": true,
  "max_tokens": 512,
  "messages": [
    {
      "role": "system",
      "content": "You are a helpful, respectful and honest coding assistant.\nAlways reply with using markdown.\nFor code refactoring, use markdown with code formatting.\n  "
    },
    {
      "role": "user",
      "content": "hello",
      "type": ""
    },
    {
      "role": "assistant",
      "content": "Hello！How can I assist you with your programming or computer science related questions today?\n",
      "type": "",
      "language": {
        "languageId": "markdown"
      }
    },
    {
      "role": "user",
      "content": "ko",
      "type": "chat"
    }
  ],
  "temperature": 0.2
}

Request options:
{
  "hostname": "<redacted>",
  "port": 8005,
  "path": "/v1/chat/completions",
  "protocol": "http",
  "method": "POST",
  "headers": {
    "Content-Type": "application/json",
    "Authorization": "Bearer EMPTY"
  }
}

Vllm response:
{
	"object": "error",
	"message": "[{'type': 'string_type', 'loc': ('body', 'messages', 'str'), 'msg': 'Input should be a valid string', 'input': [{'role': 'system', 'content': 'You are a helpful, respectful and honest coding assistant.\\nAlways reply with using markdown.\\nFor code refactoring, use markdown with code formatting.\\n  '}, {'role': 'user', 'content': 'hello', 'type': ''}, {'role': 'assistant', 'content': 'Hello！How can I assist you with your programming or computer science related questions today?\\n', 'type': '', 'language': {'languageId': 'markdown'}}, {'role': 'user', 'content': 'ko', 'type': 'chat'}], 'url': 'https://errors.pydantic.dev/2.5/v/string_type'}, {'type': 'string_type', 'loc': ('body', 'messages', 'list[dict[str,str]]', 2, 'language'), 'msg': 'Input should be a valid string', 'input': {'languageId': 'markdown'}, 'url': 'https://errors.pydantic.dev/2.5/v/string_type'}]",
	"type": "BadRequestError",
	"param": null,
	"code": 400
}

Thanks it seems like expecting msg but twinny sending OpenAI compatible data and it's role and content.  Not sure about vLLM it's not fully supported.  We an open issue already for it so will mark this as duplicate. https://github.com/rjmacarthy/twinny/issues/40

It turns out that the error comes from sending the key "language", which is not part of the official OpenAI API for the endpoint chat/completions/.


Add GitHub Actions workflow for coverage reporting

I experimented with adding a GitHub Actions workflow to report coverage.
The workflow is triggered on every push to the repository, generates a HTML coverage report and uploads it as an artifact.
Additionally, it shows the coverage percentage in the summary.
The decisions I made (not necessarily the best ones):

It runs only on one OS (Ubuntu). It's possible to run on multiple configurations and then merge the results, but that seems like overkill to me.
It uses Clang. At first, I tried to use GCC, but it seems that GCC generates invisible branches in the code in some cases. This leads to false positives in the coverage report. Clang takes a different "source code-first" approach, so it is more accurate.
It uses gcovr. I also experimented with lcov, but it generated errors (it's possible to silence them, but I decided to use gcovr for now).
It ignores /test/ directories and _test.c files.
The artifact will be available for ~2 weeks~ 3 days.

Sample summary:

Sample coverage report:
coverage-fbcc6cf25534a64915913a021c12171e7c8bb62f.zip
I hope it will be useful, and I would be happy to hear any feedback.

@matz
Thank you.

2 weeks may be too long for 3.5 MB files.

I changed it to 3 days.

Thank you!


No update available (iTunes)

Brief description of your issue
Hello,
An iTunes update is available but when I want to upgrade, it's not available
Steps to reproduce

winget upgrade iTunes

Expected behavior
iTunes update
Actual behavior

Environment
Windows Package Manager v1.0.11694
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.22000.132
Package: Microsoft.DesktopAppInstaller v1.15.11694.0

This might be related to this...

I agree it is the same issue.  Please feel free to bump up the rating of the open issue and possibly close this one as a duplicate.  #752

Sure ! You can close this one :)

You can just close it yourself.


Use target-heap-size for Prometheus 1.6

Prometheus 1.6 allows configuring estimated memory usage by storage via a new flag that's set to an explicit target heap size.
This is in line with how we want users to simply configure memory resource requirements and we should use it if the respective Prometheus version is used.

@fabxc Fixed by #295 I suppose. A new release would be awesome, if you are confident enough with it.

Yes, as 1.6.1 with the crash bug fixed is release now I'll tag another release after bumping the default version to 1.6.1.


Problem with login to EC2 Instance through Gitbash

please follow the below steps:

your ec2ex.pem file is in downloads path
check security group if ssh 22 is allow or not
check the machine is running if it is running please take the correct ssh id
I hope this is useful to you if not please ignore
Note: if you run your machine with a default vpc noproblem but if you run your machine with custom vpc please check once your vpc is configure correctly or not
if you find the solution to this please close the issue


Robert/15 weak password prevention

The CodeQL warnings regarding unused variables are correct, but they haven't been fixed yet.


Is there any plan for adding IMU factor?

Yes we have a plan for IMU pre-integration factor, stay tuned.

Hi, do you have any updates on this? It'd be really cool to have one like in gtsam.

No description provided.

I migrated IMU factor from gtsam, and it did work on kitti example dataset

Any updates on this?

Any updates on this?


Using social strategies with sessionless jwt strategy

Hi,
I would be greatly helped and appreciative if there were an available example of how to implement jwt and social (in my case, instagram) strategies in a sessionless approach, for an app where routing is being handled by the frontend.
Thanks!

https://github.com/jaredhanson/passport-instagram

Is this still needed? I am working on an API that does the initial authentication ( log in ) via Github then passes the JWT token to the front-end. On subsequent requests to the api, the front-end passes the JWT to authenticate the user.

Absolutely a needed thing, I'm done working on my project (sent the JWT to the client-side via query string in the callback url after Instagram authentication, kind of an ugly hack)...

This can be tricky since a good example would include the backend and a frontend. I currently use AngularJS 1.x as a frontend with the ng-token-auth module. If those requirements are to your satisfaction, I could put something together.

I'd be interested to see someone's take on this. I've seen various piecemeal articles online.

I'll slap something together tonight.
Backend: Express, Sequelize, Passport
Frontend: Angular, NG-Token-Auth

@angelxmoreno - did you manage to figure it out? i'm trying to do something similar for a react app

I need the same sample which fulfils below requirement.
I am using express typescript along with routing-controller module. I have to implement jwt and some of social auth using passport. Is there any samples which handle both email password/ social using passport-jwt authentication ? How can i implement this ? Its really confusing.

I just ended up hijacking githubStrategy and created jwt for each user through oAuth .
https://github.com/Kannaj/42EXP/blob/master/server/passport/passport_github.js#L31

Closing as this is out of scope of this module.
There have been several answers with examples of social login strategies.
@akshath4u There is a good jist in which the author of the passport framework provides his suggestion on how to handle multiple authentication strategies in the same applicaiton: https://gist.github.com/joshbirk/1732068