Problem running . node graphql/utilities/buildASTSchema.js:266

I installed via NPM and added this to my component-config.json but get the following error
{
"loopback-component-explorer": {
"mountPath": "/explorer"
},
"loopback-graphql": {
"path": "/graphql",
"graphiqlPath":"/graphiql"
}
}
node_modules/graphql/utilities/buildASTSchema.js:266
throw new Error('Type "' + typeName + '" not found in document.');
^
Error: Type "undefined" not found in document.

Can you share your model?
On Wed, Feb 8, 2017, 14:21 Patrick Corkery<EMAIL_ADDRESS>wrote:

I installed via NPM and added this to my component-config.json but get the
following error
{
"loopback-component-explorer": {
"mountPath": "/explorer"
},
"loopback-graphql": {
"path": "/graphql",
"graphiqlPath":"/graphiql"
}
}
node_modules/graphql/utilities/buildASTSchema.js:266
throw new Error('Type "' + typeName + '" not found in document.');
^
Error: Type "undefined" not found in document.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Tallyb/loopback-graphql/issues/33, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHC0jx_yL3cgVjpUBK--hcvbphOedhXcks5rabNPgaJpZM4L6wRb
.

i had the same error, removing geopoint property fixed it.

Geopoint was added in 0.12.


Do we use merge-py.py?

Let's remove if not
https://github.com/pydata/pandas-gbq/blob/master/scripts/merge-py.py

I don't use it. @jreback do you?


window.PanelMemoryUsage & window.TotalMemoryUsage: discrepancy

In particular, window.PanelMemoryUsage seems to be under reporting.
Example:
Use a layout with ONE SMP panel & insert the code below.
Play a track to compare memory use.
let str = "With a single SMP panel, I would have thought window.PanelMemoryUsage & window.TotalMemoryUsage should be about the same. Although, window.PanelMemoryUsage seems correct for images (not shown), it doesn't seem to be taking into account certain other things."
let arr = [];
for (let i = 0; i < 642000; i++) arr.push(str + " - " + Math.random())

function on_playback_new_track() {
    console.log("window.PanelMemoryUsage: " + window.PanelMemoryUsage + " bytes; arr.length: " + arr.length);
    console.log("window.TotalMemoryUsage: " + window.TotalMemoryUsage + " bytes; arr.length: " + arr.length);
}

Values on my device for this example are:
window.PanelMemoryUsage: 168 bytes
window.TotalMemoryUsage: 31637652 bytes
While window.PanelMemoryUsage seems correct for images (not shown), it doesn't seem to be taking into account certain other things, at least on my device.

That's the intended behaviour - memory usage consists of two parts:

My custom JS objects, which have memory tracking (e.g. GdiBitmap, FbMetadbHandle, FbProfiler) - counted towards PanelMemoryUsage and TotalMemoryUsage.
Native JS objects (e.g. arrays, strings, functions) - counted only towards TotalMemoryUsage.

There is no (affordable) mechanism to make a relation between a native JS object and a panel in which it was created, thus it's impossible to differentiate the memory allocation between different panels.


Expose navmesh bake function to scripting

Godot version:
3.1. alpha 1
OS/device including version:
Win 7 x64
Issue description:
Please expose navmesh baking to scripting. It would be immensely useful for procedural maps.
Steps to reproduce:
N/A
Minimal reproduction project:

Yes please!

I was about to suggest the same. Good that it already exists!
I really hope that 3.2 will get the absolutely necessary navigation overhaul as planned. At the moment, navigation in 3D projects with procedural generation of almost any kind that is downright impossible with Godot. Or would require extreme workarounds to the point of rolling your own navigation.
If we could just give any mesh at runtime to a function, and receive a navmesh fitting that mesh as a result, things would look brighter.

This issue is more than a year old but is not marked for any upcoming release version nor was it closed. Is there anything I am missing or did this just go unnoticed?

The PR referenced above sounds like it would solve this.

@ScyDev As I understand this it is only for gridmaps and neither at runtime? I made a quick hacky test yesterday, which creates a navmesh from a CSG plane with holes in it (subtracted CSG cubes) at runtime. But this is still would not replace the "Bake NavMesh" function needed for runtime.
The usecase is e.g. having a plane ground with baked navmesh, then the user places a rock onto the ground and the navmesh needs an update due to the new obstacle...

@FrischerHering If you succeeded in updating a NavMesh at runtime (in 3D space or only on a plane?) I'd like very much to see how you did it :) Back when I commented on this issue, I couldn't do it and couldn't find a solution online, only people with the same problem, as in this issue.
Being able to bake the NavMesh from script at runtime would seem to be an elegant solution, since all the necessary code already exists.
However, if a NavMesh can be edited at runtime now, then exposing the baking function would not be strictly necessary, but still probably much more elegant and user friendly than handling vertex arrays manually.

@ScyDev Important to note that it is a solution, but not a good solution! I basically used CSG meshes to form what the navmesh should look like. Then, using get_meshes() doc you can retrieve all the faces that are generated from the combining of CSG meshes (called on the root mesh). Ultimately, just use set_vertices() and add_polygon() on a navmesh doc.
The problem here is, that the navmesh is overcomplicated (many and mostly unnecessary edges). Despite that fact, navmeshes in Godot (at least the 3d ones) are entirely unusable, because pathfinding is simply broken. I could post lots of calculated paths, that are simply wrong. E.g. instead of a straight line the generated path is a 6+ waypoints curve... I concluded, that even if this is a dynamic navmesh solution, I would rather stick to A* and try to workaround navmeshes completely...
As some side facts, the mesh in the image above is a CSG plane with around 10 CSG cubes subtracting and creating the holes. The navmesh creation from CSG took 2ms and pathfinding is 0.2ms on average.

@FrischerHering Can't comment on that as I don't really understand it that well.
I can say that on manually arranged geometry and manually baked NavMesh it seemed to work well for me. Just had no way to update it at runtime.

@ScyDev I think that for flat grounds navmeshes work pretty well, as they do in 2D. As already mentioned, my method of creating navmeshes in runtime is both overcomplicated and faulty. Exposing the baking tool to runtime and script still sounds like an easy adjustment for the engine.
To add to the feature proposal, it should be up to the developer on how to deal with the time the baking takes. I.e. the engine should not try to run its own baking thread or anything like that.

4.0 already allows in-game navmesh baking. I guess this issue can be closed now?

I'd also say so.
Also, just FYI, I created a navigation GDNative module for 3.2 a bit ago which also allows baking at runtime (among other things):
https://github.com/TheSHEEEP/godotdetour

Closing, as this was implemented by #34776.

@ScyDev Important to note that it is a solution, but not a good solution! I basically used CSG meshes to form what the navmesh should look like. Then, using get_meshes() doc you can retrieve all the faces that are generated from the combining of CSG meshes (called on the root mesh). Ultimately, just use set_vertices() and add_polygon() on a navmesh doc.
The problem here is, that the navmesh is overcomplicated (many and mostly unnecessary edges). Despite that fact, navmeshes in Godot (at least the 3d ones) are entirely unusable, because pathfinding is simply broken. I could post lots of calculated paths, that are simply wrong. E.g. instead of a straight line the generated path is a 6+ waypoints curve... I concluded, that even if this is a dynamic navmesh solution, I would rather stick to A* and try to workaround navmeshes completely...
As some side facts, the mesh in the image above is a CSG plane with around 10 CSG cubes subtracting and creating the holes. The navmesh creation from CSG took 2ms and pathfinding is 0.2ms on average.

@dodafish Would you mind explaining how you got your CSGPlane's mesh into the navmesh?  The docs are all empty so I'm not sure how to set/replace the navmesh of a NavMeshInstance.
What do I do with the mesh: var new_mesh =  $CSGMesh.get_meshes()[1] once I have it? I can't figure out how to set_vertices() or add_polygon() as you suggest to try.
This is all I could come up with:
var nmi = $Navigation/NavigationMeshInstance
var navmesh = nmi.get_navigation_mesh()
navmesh.create_from_mesh(new_mesh)
nmi.set_navigation_mesh(navmesh)

But no luck with that...
Thanks for any (more) insight you can provide.


Compilation fails eventually on Alpine Linux 3.8

Using the rust-1.29 branch, after apk add alpine-sdk zlib, adding a symbolic link in the PATH to x86_64-linux-musl-gnu (which is being used as a linker only, I think), and running make -f minicargo.mk RUSTC_VERSION=1.29.0 (for some reason cat rust-version doesn't seem to work) gets rather far, but then disaster strikes:-
BUILDING compiler_builtins from compiler_builtins v0.0.0 with features [c,rustbuild,compiler-builtins]
> /home/raph/mrustc/bin/mrustc rustc-1.29.0-src/src/rustc/compiler_builtins_shim/../../libcompiler_builtins/src/lib.rs --crate-name compiler_builtins --crate-type rlib -g --cfg debug_assertions -O -o output/libcompiler_builtins.hir -L output --cfg feature=c --cfg feature=rustbuild --cfg feature=compiler-builtins --extern core=output/libcore.hir
rustc-1.29.0-src/src/rustc/compiler_builtins_shim/../../libcompiler_builtins/src/float/mul.rs:160: warning0:Spare Rule - <F/*M:0*/ as ::"compiler_builtins"::float::Float>::Int = < _/*303*/ as ::"core"::ops::bit::Shl<u32,> >::Output
rustc-1.29.0-src/src/rustc/compiler_builtins_shim/../../libcompiler_builtins/src/float/mul.rs:159: warning0:Spare Rule - i32 : ::"compiler_builtins"::int::CastInto<_/*303*/,>
rustc-1.29.0-src/src/rustc/compiler_builtins_shim/../../libcompiler_builtins/src/float/mul.rs:178: BUG:src/hir_typeck/expr_cs.cpp:6478: Spare rules left after typecheck stabilised
BUILD FAILED
make: *** [minicargo.mk:64: output/libstd.hir] Error 1

Any ideas?

The 1.29 branch is still in development, until it's merged use master

Oh well.


Refactor rendering/actions into modal workflow

https://trello.com/c/NwWjLtlX/724-user-can-embed-attachment-links-inline-attachment
Previously we duplicated some of the render and action code in each
modal module. It now appears three times, which is good evidence it
needs DRY-ing up. This refactors the render and action code into the
existing ModalWorkflow utility to avoid duplication.
Originally it was unclear how portable the code we wrote for inline
images would be, so leaving it in each modal module allowed it to be
easily customised in the future, which a refactoring like this could
make harder. But this flexibility has not been useful, so there's no
strong argument for continuing to duplicate the code between modules.

Nice work refactoring!
All looks good to me, my only comment would be concerning the methods both called performAction in ModalWorkflow and its respective modal class (e.g InlineAttachmentModal). This is a little confusing to me when reading through, maybe in the ModalWorkflow it could be renamed to displayModal or something that better reflects the behaviour of the method? :)

@1pretz1 that was a concern I had when I made the changes, since as you say, we now have two different kinds of method with the same name. However, the ModalWorkflow one doesn't really display the modal; it just contains some common code.
I was thinking about keeping the code duplicated, but then each module has to have a MultiSectionViewer again. How about 'actionCallback' for each of the modal modules? (This matches the parameter name in ModalWorkflow.)

@benthorner Yep your suggestion sounds good to me and will make the code easier to understand! :)

@1pretz1 updated - how's it looking now?

@benthorner LGTM! ⭐


tmux won't read zsh startup files when I have antigen use prezto

When I open up a (non-tmux) shell, and launch tmux from it, normally tmux will open and execute my shell startup files as normal. However, when I have antigen use prezto in my zshrc, when I launch tmux no startup files are executed. $SHELL brings me to this screen:

smackesey% $SHELL
This is the Z Shell configuration function for new users,
zsh-newuser-install.
You are seeing this message because you have no zsh startup files
(the files .zshenv, .zprofile, .zshrc, .zlogin in the directory
~/.antigen/repos/).  This function can help you with a few settings that should
make your use of the shell easier.

You can:

(q)  Quit and do nothing.  The function will be run again next time.

(0)  Exit, creating the file ~/.antigen/repos//.zshrc containing just a comment.
That will prevent this function being run again.

(1)  Continue to the main menu.

--- Type one of the keys in parentheses ---

Notice it's looking for startup files ~/.antigen/repos. I'm not sure whether I just don't understand something or this is a bug, but I didn't know where else to post.  A temporary workaround is to symlink the startup files into ~/.antigen/repos.

No updates since 2014. I'm closing this for now.


More Events page rebooted with BETTER UI #890

More Events page needs BETTER UI
Related Issue
Closes: #890
Description
This pull request introduces the following changes for the Events Page:

Implemented a responsive and interactive grid layout to display both future and past events.
The grid dynamically adjusts for different screen sizes:

1-column layout on smaller screens, ensuring no overflow or layout-breaking issues.

Added smooth animations to the event cards, making them "slide in" when loaded or resized, enhancing the user experience.
Separated the events into two sections:

Future Events: These events include a "Book Now" button with hover effects for booking tickets.
Past Events: Displayed without a booking button, just showing the event details.

Improved hover effects and styling of the event cards and buttons to increase interactivity.
Cards for future events have an emphasis color, and past events have a subdued color to distinguish them visually.

Type of change
What sort of changes have you made:

[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[x] Bug fix (non-breaking change which fixes layout responsiveness)

Checklist

[x] My code follows the code style of this project.
[x] I have followed the contribution guidelines.
[x] I have performed a self-review of my own code.
[x] I have ensured my changes don't generate any new warnings or errors.
[x] I have updated the documentation (if necessary).

Earlier

Now

[x] I have resolved all merge conflicts.

@priyanshufox Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. You can also contribute in my another Repository BuddyTrail which is also under Hacktoberfest
Great contribution to HACKTOBERFEST'24! 🎉


WIP Turbogit dev

Updated to add input options for Docker registry credential during deployment, and updated the deployment instructions for command line in README.


ACM-3084 - Empty page dark mode png

regarding: ACM-3084
Before:

After:

@KevinFCormier
I tested this primarily on Standalone ACM, but also used storybook.
Two problems I'm running into with the SVG however:

I'm still checking local storage for dark or light theme, but that method does not give me the ability to re-render as the CSS cascades when hitting the "light mode switcher". This may not be a real problem because this switcher (so far as I know) does not exist in live MCE, but I wanted to point out what the current behavior was.
Apparently storybook has issues with loading SVG as react components. You can read more about it here.. Not yet sure how to respond to the issue, but it does break our EmptyState storybook demo.

One other question I had was, what did you have in mind for CSS + SVG? Maybe it could fix our issues here.

/retest-required

/hold
Waiting for more information from design


Supported content types: Document and Location

I need to manage this both on my end. Please provide the release time for the same.

Hey @BarjatyaAyushi, unfortunately we do not have time for open source right now. You are most welcome to support this library by submitting a PR adding this functionality

How soon It will update? Stil we are waiting for this.


to_h does not perform a deep dup leaving the resulting hash partially frozen

When calling to_hon an event, if the data attribute contains a nested hash, the nested hashes will remain frozen. To fix this we can use Marshal.load(Marshal.dump(@attributes)) instead of @attributes.dup. Alternatively, we could clone deep_dup from Rails, though it does miss some edge cases.
I have a PR prepared if you would like me to submit it.

Thanks for the report! I've just been looking at some related fixes, and went ahead and threw this one in.

awesome, thank you.


reverse proxy user role always changed to 'app-user' at login

Expected behaviour
User roles should be preserved on user login
Actual behaviour
User role is always changed to app-user on login when using reverse proxy (can't test another login provider). REVERSE_PROXY_DEFAULT_ADMIN is working as expected.
Steps to reproduce
Configure kanboard with:
REVERSE_PROXY_AUTH=true
REVERSE_PROXY_USER_HEADER=REMOTE_USER
REVERSE_PROXY_DEFAULT_ADMIN=administrator  (<- this is the only admin user working right now)
Configuration
Application version: 1.0.30
◾ PHP version: 5.6.20
◾ PHP SAPI: fpm-fcgi
◾ OS version: Linux 3.10.0-327.13.1.el7.x86_64
◾ Database driver: mysql
◾ Database version: 5.5.47-MariaDB
◾ Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)

After an update I faced a similar issue and can provide a Docker-Container with a HAProxy to reproduce the reverse proxy.
Details
I updated a old Kanboard to Docker 1.0.31

Application version: master.fc93203e4db044d37c1686fef0efb1ac1d6ac4b8
PHP version: 5.6.21
PHP SAPI: fpm-fcgi
OS version: Linux 4.4.0-24-generic
Database driver: sqlite
Database version: 3.13.0

and set my role in the database manually. But this had no effect.
update users set role='app-admin' where username='MY_USER';
@schtritoff: Thanks for the "steps to reproduce" setting REVERSE_PROXY_DEFAULT_ADMIN=MY_USER worked for me as a hotfix.

Actually it was the expected behaviour. Anyway, now the role is preserved if the user already exists. This change is available only in the development branch at the moment.
Thanks


[Coverity CID :197596]Memory - corruptions in /tests/net/lib/mqtt_packet/src/mqtt_packet.c

Static code scan issues seen in File: /tests/net/lib/mqtt_packet/src/mqtt_packet.c
Category: Memory - corruptions
Function: test_mqtt_packet
Component: Tests
CID: 197596
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

False positive


feat: add typedoc zip to release

@LichKing-2234 can you give me admin access to the repo, I don't have permission to GH Pages write I believe that's making the workflow fail. Or can you try making a commit here to see if this works? Maybe we can merge this.

@EkaanshArora pls not use fored repo to create PR, just clone it


Prepare for refactoring payment lifecycle

As suggested by @joostjager, this PR takes some of the preparation commits out of #6683 so we can focus on improving the payment lifecycle and fixing potential bugs later. This PR mainly covers function renames, format fixes, and moving code.

Needs a rebase then this is good to go.


vite 3.0 启动报错[vite] Internal server error: $ can only be used as the initializer of a variable declaration.

Describe the bug
vite 3.0 启动报错[vite] Internal server error: $ can only be used as the initializer of a variable declaration.
"vite": "v3.0.3",
"unplugin-vue2-script-setup": "^0.11.3"
use:
plugins: [
ScriptSetup({
reactivityTransform: true
})
]
Reproduction
npm run dev
System Info
windows10
chrome浏览器
nodejs v16.16.0

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


iD suggesting nonsense as first choice

As far as I can see, the values signal(s), crossing, pedestrian_crossing are nonsense for the key traffic_signals. These may well be the most used values according to Taginfo, but they are not documented and not self-explanatory so no-one can know what they are supposed to mean!

Yes, iD fetches these suggestions from taginfo, so there is not much we can do about this.  These values are suggested because they are the values that people use in OSM.
See what I wrote on #4508

The OSM community needs to take responsibility for the tags, not expect editors to build in a bunch of extra logic to know which tags are better than which other tags. If sport=football is indeed deprecated, then somebody should make a Maproulette challenge or something to clean them up. iD will stop suggesting the tag when it is no longer in widespread use.

not expect editors to build in a bunch of extra logic to know which tags are better than which other tags.

You already have a list of all tags and include logic to suggest useful combinations. Why wouldn't you keep a list of bad tags?
These tags are used 126,759 times. You know how the community frowns upon mechanical edits, so you know this isn't going to get fixed unless Taginfo and/or iD start blacklisting some tags, but you and Taginfo consider this out of scope. So we're stuck, this is an unfixable issue?

These tags are used 126,759 times. You know how the community frowns upon mechanical edits, so you know this isn't going to get fixed unless Taginfo and/or iD start blacklisting some tags or looking at the "status" on the wiki.

If you're talking about the traffic signals, the values are these:
https://taginfo.openstreetmap.org/keys/traffic_signals#values
There are 1458 with the value signals which should probably be renamed to signal.  This is not a very large number, and anybody who cares could just change them with overpass/JOSM/level0.   Below that, the numbers are even lower, and I don't see anything that stands out as obvious "nonsense" or "bad".

Both you and Taginfo consider this out of scope. So we're stuck, this is an unfixable issue?

I don't see it that way.   That was a much bigger project, and the community got it done.
I think for smallish tag updates (< a few thousand, obvious misspellings) someone could just do them in one shot, and for larger projects somebody just needs to tell the community and set up a challenge.

There are 1458 with the value signals which should probably be renamed to signal. This is not a very large number, and anybody who cares could just change them with overpass/JOSM/level0. Below that, the numbers are even lower, and I don't see anything that stands out as obvious "nonsense" or "bad".

The main tag to map a traffic signal is highway=traffic_signal, so traffic_signals=signal is a subtag. Indeed: it is used prevalently in combination with highway=traffic_signal. But it adds no meaning, it is nonsense.
A quick sample of some points suggests all of them are added with iD, starting about 2 years ago, like in https://www.openstreetmap.org/changeset/38976653. Do you have any idea why?

A quick sample of some points suggests all of them are added with iD, starting about 2 years ago, like in https://www.openstreetmap.org/changeset/38976653. Do you have any idea why?

Yes, traffic_signals=signal just means - a normal traffic signal.  It was the most common value in taginfo in late 2016, and I chose it as the default because it is the default.
see #3838

But it adds no meaning, it is nonsense.

That's just, like, your opinion man.

That's just, like, your opinion man.

Okay if you disagree, no problem. I just wasn't expecting it.
It's already mapped as a traffic signal, so what meaning does it add according to you? That it's a "normal traffic signal"? What would constitute that? And most significantly: how are iD users supposed to figure it out? (And data users for that matter?)

This discussion points out that signal and signals both refer to a “classic” signal for vehicular traffic at an intersection. Typically, a user will see this field set to signal by default when choosing the “Traffic Signals” preset, so I’d be surprised if there’s outright confusion from users about the meaning of this value.
As an alternative to a blacklist, this preset could define a fixed set of allowed values or a whitelist of preferred values in a combo box, labeled with more human-readable names than the raw tag values. (This is also great for non-English speakers: #2708.) Presenting a combo box would require being more opinionated about what’s a valid traffic_signal tag and what isn’t, so the existing combo boxes in iD were created for tags where the standard values are generally agreed upon and there’s little tag pollution.

Typically, a user will see this field set to signal by default when choosing the “Traffic Signals” preset, so I’d be surprised if there’s outright confusion from users about the meaning of this value.

So they just leave the default without questioning it's the right tag? Even more reason why this has to die.

@M1dgard It's not going to change, and there is nothing wrong with having the field work this way.
The signal value was already the most common value back in 2016 before iD added this default.
I'm not going to try to explain to users "here's a field for you to use, but don't use it if the traffic signal is a normal kind of signal, only use it if it is a special kind of signal".


Fix failing build:lib:prod

Fixes build & package deployment
https://github.com/ng-packagr/ng-packagr/blob/master/docs/dependencies.md#whitelisting-the-dependencies-section

Close as duplicate


Cleanups

Just some clean up work that is building up in my master. The only potentially controversial change here is the unification of the wheelchair types and the pickup/dropoff types (and maybe the ShapePoint change)

Cool!
I have some additional commits in my fork you might be interested in:

load archives in a nicer way (eg zipped feeds) and expose csv parsing options (useful for example if a feed has whitespace around their stop coordinates). This is in my master
Initial pass at a helper struct for sequences of stop times (called Runs in my run branch)

Yes, lets do it and I'll push out another version


echarts waterfall error 瀑布图示例错误

One-line summary [问题简述]
 数据源【-200,-120,-100,228,150,135,178,286,-119,-361,-203】无法实现图中效果，【demo中的瀑布图无法适应支出值为负数且绝对值大于辅助值】，正负交叉会出现问题

Trying to achieve the same with echarts, But not able to find the exact way. I tried this with bar chart by hiding the base series but in case when value is falling from 400 position by -800 then how to draw the bar of "800" which is from +400 to -400.
for example refer image. I want somethis similar to this.

I am having the same issue trying to implement a waterfall chart as well as a floating bar chart where a single bar has to span the origin starting at a negative value and ending at a positive value.
@Ovilia Is there any workaround for this?

Any ideas on this ? @Ovilia

working in v.5.4.3 - Demo Code.


"Component tools" page is showing "command-line-tools" as it's slug

This is a Feature Request

What would you like to be added/enhanced?
Component tools page slug is showing "command-line-tools" that i think needs to be changed to "component-tools"

/area web-development
/sig docs

I don't think this is a bug or it needs a fix.

It sounds like a mistake to use a slug here.
However, I'm not sure if fixing this will cause problems to users who have local bookmarks.
/triage awaiting-more-evidences

/triage awaiting-more-evidence


Added Berufsmaturitätsschule Liechtenstein

Added Berufsmaturitätsschule Liechtenstein

@YannickHutter1993 Could you please provide us with a link to a page on the official website where the school offers at least one long-term course (one year or longer), and the course is somehow related to IT (it is in computer science, software engineering, statistics, bioinformatics, etc.)? Thank you!

@YannickHutter1993 I am sorry, this request remains unanswered for a while. I close it with no merging. Please reopen if you have an update which I have requested for in a comment above. Thank you for your understanding!


11ty

Closes #14

It looks like we need to adjust the build output on Netlify to tell it to look for a _site folder instead of dist. I can't do that though.

Just changed and retried the deploy.

That did it! Merged and everything seems to be working


Need clear examples for "UPDATE" sql statement

The examples are not very clear regarding how to do an SQL "UPDATE".
Specifically, can it be done by a Prepare() followed by an Exec() or does sql get executed in the Prepare() statement itself ?
Also, can one use Query() to do an UPDATE ?
Thanks
-A

You can find one example here: http://golang.org/pkg/database/sql/#Tx.Stmt

updateSql := update sj_tx set  status = ? ,sj_tx_beizhu = ? where sj_tx_id = ?
msDB.QueryRow(updateSql,status,remarks,id)


Studio intermittently fails with a ECONNREFUSED Error

Original comment: https://github.com/prisma/prisma2/issues/114#issuecomment-516159575
Studio/photon are most likely unable to connect to the binary.

Hitting the same problem:

Here's a reproduction:
new-server.zip

Fixed with preview.4

Hi. The same error occured again, but this time, not in studio but when I was running the seed against the database as mentioned in the screenshot below. I guess that studio is not the only thing connecting to the binary. Won't the same thing happen in prod when running via script unless the binary is actually fixed?

PS: I ran the same command again in few seconds and then it worked. So, looks like sort of race condition.
And this is what I had in seed.js
const { Photon } = require('@generated/photon');
const photon = new Photon();
const moment = require('moment');
/**
 * SEED FUNCTION FOR ACCOUNTS TO LOAD INITIAL TEST DATA
 */
async function main() {
    const user1 = await photon.users.create({
        data: {
            firstName: 'Vignesh',
            lastName: 'T.V.',
            username: 'tvvignesh',
            displayName: 'Vignesh',
            dob: moment('1992-12-30').toDate(),
            settingListID: [],
            tagListID: [],
            email: {
                create: [
                    {
                        emailAddress<EMAIL_ADDRESS>                        emailType: 'primary',
                        alias: 'primary email',
                        settingListID: [],
                        tagListID: []
                    }
                ]
            },
            phone: {
                create: [
                    {
                        contactNo: '+91-7358445777',
                        alias: 'personal mobile',
                        contactType: 'primary',
                        settingListID: [],
                        tagListID: []
                    }
                ]
            }
        }
    });

    console.log({ user1 });
}

main()
    .catch(e => console.error(e))
    .finally(async () => {
        await photon.disconnect();
    });


Phone auth with textlocal provider not working

Bug report
While enabling auth with the phone using Textlocal, the sender name cannot update.
While sending OTP to the number it throws an error of the sender name.
below is the error message
{
    "code": 400,
    "msg": "Error sending sms: missing Textlocal sender"
}

NOTE: I did all the required setup on textlocal to get the message working, When I test with the API of textlocal directly then its works fine. But not with supabase send OTP.
Describe the bug
Bug is when auth using phone using textlocal.
To Reproduce

Setup auth with Phone method using textlocal provider
Complete the setup at Textlocal
Send phone OTP using phone method
The Error will occur

Expected behavior
While sending the OTP it should be sent directly. Without any error.
A clear and concise description of what you expected to happen.
While sending the Phone Auth, The OTP should be sent. Even there's a sender name configured at supabase setting. Yet it says
missing Textlocal sender Must be issue with config would not be getting read?
Screenshots

If applicable, add screenshots to help explain your problem.
System information
OS: macOS
Version of supabase-js: 2.0.4
Version of Node.js: 16.17.1

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
Add any other context about the problem here.

Hi @farhan711, can you please contact us at support so we can investigate the issue with your project?


✨Recover account with password

This PR adds the ability to recover an account and secure it with a password entered by the user.
In order to work, the user must set their password before trying to encrypt/decrypt values using their password.
This is done by calling PasswordStore().initiatePassword("somePassword").
It could be included in an onboarding screen for example.
In the example app, if the password is not set, a dialog is shown to enter the initial password.
⚠ If the user has biometric authentication, biometric will be used instead of a password. The example asks to set the initial password only if the biometric authentication is disabled.
For test purpose, one could return false manually in SecureStore.hasBiometricStore().
Dev options have been added to the "More" action in the account balance screen:

Remove wallets, which remove all stored wallets
Replace passwords, which prompts to type your previous password first then an other prompt to set the new one

There are other alternatives we might want to explore about the password creation:

Create a different password for each wallet / account
Create an unique password for the whole app on the first encryption with password. Next encryptions will ask to retrieve this unique password to encrypt/decrypt next secrets with that same password.

The current approach is to setup this password in an onboarding screen for instance and reuse it later when we need to encrypt/decrypt secrets.


How do I pronounce the package name?

Hi, I'm one of the folks who really love the features what this project provides, and want to introduce this to my colleagues and friends.
But I'm having a major issue: how do I pronounce this project?
at first glance, I thought this should be supposed to pronounce as [A-tu-in] but after a few moments, it seems to be [æt-chu-in] or [æt-u-in].
I'm really confused right now, if any maintainer or anyone else out there who knows how to pronounce this name, please let me know so that I recommend this to my friends.
thanks! hope you have a good day

The former (ah-tu-in) is how I usually pronounce it. It comes from "The Great A'Tuin" from Terry Pratchett's Discworld series, so the A and Tuin parts are most likely distinct sounds

The former (ah-tu-in) is how I usually pronounce it. It comes from "The Great A'Tuin" from Terry Pratchett's Discworld series, so the A and Tuin parts are most likely distinct sounds

Thanks for your kind reply with its origin. now I can recommend [Ah-tu-in] to my friends!

Haha, thank you for asking! Tbh I don't think there is an exact pronunciation, feel free to say it however you wish
There's also this, and a few other posts like it: https://www.reddit.com/r/discworld/comments/70qtjb/re_the_pronunciation_of_great_atuin/


Dotnet core 3 issue

I have project with dotnet core 3.0
When I start project with installed Robotify.AspNetCore - I've got the following message:
[2019-10-16T08:08:39.2047487+00:00 FTL] (//1) Host terminated unexpectedly
System.AggregateException: Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Robotify.AspNetCore.RobotifyMiddleware Lifetime: Singleton ImplementationType: Robotify.AspNetCore.RobotifyMiddleware': Unable to resolve service for type 'Microsoft.AspNetCore.Http.RequestDelegate' while attempting to activate 'Robotify.AspNetCore.RobotifyMiddleware'.)
 ---> System.InvalidOperationException: Error while validating the service descriptor 'ServiceType: Robotify.AspNetCore.RobotifyMiddleware Lifetime: Singleton ImplementationType: Robotify.AspNetCore.RobotifyMiddleware': Unable to resolve service for type 'Microsoft.AspNetCore.Http.RequestDelegate' while attempting to activate 'Robotify.AspNetCore.RobotifyMiddleware'.

Deployment to NuGet will follow shortly

v1.0.2 should now be available via NuGet


shortcut: 'Shift + Click'

I had an idea that Obsidian's CTRL + click would open documents, and we could shift click to open web pages quickly.
This allows us to easily make web bookmarks.

or a right click 😀

thanks for filing an issue. This likely requires extending the viewport. While this would be a nice feature, it's likely a different plugin that enhances the UI of obsidian. I'm going to close this out.


Event Calendar Section, Forum/Discussion Boards, Footer Structure

Is your feature request related to a problem? Please describe.
I'm always frustrated when users cannot easily find information about upcoming events and community discussions on our website, leading to reduced engagement and missed opportunities.
Describe the solution you'd like
I would like to implement an "Upcoming Events" section on the homepage that clearly showcases our events, workshops, and meetups. Each event should include a title, date, time, location, and a registration link to make it easy for users to participate. Additionally, the Forum/Discussion Boards section should be repositioned to the footer for better visibility, encouraging users to engage in community discussions. This section should still include links to both our dedicated forum page and a third-party Discourse community, fostering greater interaction among members.
Describe alternatives you've considered
I considered keeping the Forum section in the main content area but found that moving it to the footer enhances the overall layout and highlights it as a resource for community engagement. Other alternatives included creating a separate events page, but I believe having it directly on the homepage increases visibility and participation.
Additional context
The "Upcoming Events" section will help users quickly find relevant activities and encourage them to engage with our community. By placing the Forum/Discussion Boards in the footer, we maintain a clean design while ensuring users can easily find ways to interact with others. This adjustment also includes keeping the copyright statement at the bottom for clarity. Screenshots of the new layout can be provided upon request for further illustration.

@Rizwan102003 @arushi2610  plzz check this issue.

I have assigned this issue to you @Prerrna .Try to use separate files if you can .For any queries,contact us in the discord server. @SaurabhS55 please put the appropriate labels.

@Prerrna start working on it. make sure to create new branch for your feature.
If you any query then feel free to ask.


v0.13.0 the trait bound stylist::StyleSource: std::convert::From<&str> is not satisfied

I follow the example as bellow
use stylist::Style;

let style_str = r#"
background-color: red;

.nested {
    background-color: blue;
    width: 100px
}
"#;

let style = Style::new(style_str).expect("Failed to create style");

the error is the trait bound stylist::StyleSource: std::convert::From<&str> is not satisfied
the trait std::convert::From<stylist::ast::Sheet> is implemented for stylist::StyleSource
required for &str to implement
here is the Cargo.toml
[dependencies]
stylist = {version="0.13.0",features=["yew","yew_use_style"]}
yew = { version = "0.21.0", features = ["csr"] }

Enable the parser feature.

Duplicate of #152


V9

Upgraded project to v9 with new Ivy compiler

Cool thanks. Did you test this in your Angular 9 project?
Just one thing I noticed, peerDependencies should be readded for:

"@angular/animations": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/material": "^9.0.0"

Cheers

Somehow ng update also removed peer dependencies.
Yes tested it and it works just fine. But your example project ui alignment is all the way to the far right not sure if this is intended or the update did some UI change.


ACCSEC-20143 Validate device token for push

Jira Ticket

ACCSEC-20143

Description

Validate push token before creating factor

Screenshot

Testing

[ ] Added unit tests
[ ] Ran unit tests successfully
[ ] Added documentation for public APIs and/or Wiki

Code coverage
Total coverage: 95.38%

Powered by Slather

  Generated by :no_entry_sign: Danger


standardize metadata schema with Bob Dattore

Should start on this issue by 2019-07-15 in order to map custom metadata fields (for observables) into compliance with the RDA.

This issue is intertwined with #6, but focuses on the more technical implementation given clean metadata. One option would be to have keep images as a separate database, with a separate metadata manager schema.


[Node] Fixed docs:start command on Windows

Solved docs build issue on Windows
yarn docs:start v0.21.3
$ (cd docs/site; npm start)
The system cannot find the path specified.
error Command failed with exit code 1.

@oliviertassinari While @kybarg is editing this line - any reason this can't just be start, then npm start will work rather than needing npm run docs:start...

@mbrookes That sounds good to me to have "start": "cd docs/site && npm start",.

@oliviertassinari should I update PR? Also do we have references in documentation I need to update?

Also do we have references in documentation I need to update?

I couldn't find any reference in the docs. Thanks 👍 .


[WIP] C# 8 nullable reference type support

fixes #54
tests for NRT

Need more tests for generic constraints and base classes.

CI build on Windows should be fixed. Maybe rebase on top of master?

Can this be done from the web interface?

Sorry that I was assuming you know how to rebase. Usually I rebase in Gitextensions or the command line. You can only do it on Github when you merge the PR


feat: line breaks after images in atmospherePro contributing codelab

- What I did
- I added newline after each image
- I have inserted {{< br >}} after the image source in the index.md file along with a image of the file after editing
- added line break after each image

closes #163

Hey @saket-57 could you please give screenshots of what it looks like? :)

Ofcourse @JeremyTubongbanua . I've attached both the entire screen using chrome tools and separate screenshots as well.

@saket-57
Hey! Thank you for your Hacktoberfest contribution. You could be eligible for a prize.
To be eligible, please send an email to<EMAIL_ADDRESS>with a screenshot of the PR approval email (or just forward the PR approval email to us). This is to prove that your email corresponds to the correct GitHub account. Thank you!
When it comes time to distribute the prizes, we will look at all the emails we've received from that email so don't forget to do this!


Support use as ESP IDF component

Fix #708 Support use as ESP IDF component.
How to use: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html

@HomeSpan  why you don't merge this?

I have open code with significant updates in progress.   Will be a while before I get to this (also, I'm not using the IDF environment but it's been on my list to try this out, so appreciate the PR).    Will let you know when I begin and may have some questions.


[WIP] added pycodestyle checking and ci structure

Fixes: #46
Added pycodestyle and moved CI components into a .ci folder as suggested by @jameslamb in the provided example.

[Feedback Request] pycodestyle triggers on substantial amount of code. I've already added E501 to the tox.ini file. Would you all think it'd be better to include those changes in a separate PR or as part of this one?
Also, should package installs get moved from travis.yaml to .ci/setup.sh?

@adamsxs , since this PR w/o those changes would make master fail upon merge, I think including those changes in this PR would be best.
Also, @adamsxs, how will style errors present themselves: as warnings in the PR or as a failed unit test?

@bburns632 Currently? They are presenting themselves as a failed build (see above). It's currently executed before pytest, so don't think it counts as a unit test per se. Definitely more serious than a warning though.
In the future? Depends on how aggressively you want to enforce conventions. I think the easiest thing for maintainers, and the best for consistency across the code base, would be to keep them as errors. Based on the length of the logs from the previous builds, it's probably worth figuring out which ones are taking a stand on (errors) and which PEP8 conventions are less valuable.

Syntax unit tests are best practice, yes, but IMO most valuable in popular,
high rate of PR projects.  I would love for this package to get to a point
where evaluating PRs are a burden and/or there are multiple authors with
different default styles of code, but that is not the case today.
Subsequently, I think it would be most valuable to to get these PEP8 checks
in place (like you have done) but enforce very few syntax constraints (like
1 - 3) at first, especially since the current code does not follow PEP8.
On Mon, Sep 23, 2019 at 4:05 PM Sam Adams<EMAIL_ADDRESS>wrote:

@bburns632 https://github.com/bburns632 Currently? They are presenting
themselves as a failed build (see above). It's currently executed before
pytest, so don't think it counts as a unit test per se. Definitely more
serious than a warning though.
In the future? Depends on how aggressively you want to enforce
conventions. I think the easiest thing for maintainers, and the best for
consistency across the code base, would be to keep them as errors. Based on
the length of the logs from the previous builds, it's probably worth
figuring out which ones are taking a stand on (errors) and which PEP8
conventions are less valuable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptake/numpynet/pull/50?email_source=notifications&email_token=AF3FDSZHQ6DQEJJYAVYUQ2LQLEVQDA5CNFSM4IZRIJR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7MIO5Q#issuecomment-534284150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3FDS35A27OTB3OBRSMYRDQLEVQDANCNFSM4IZRIJRQ
.


Updates haproxy: v2.0 -> v2.3.4

Also uncomments configurations in src/haproxy.cfg.

Note: We'll wait for 2.4 This PR breaks the development due to uncorrect WebSocket handing again.


Add configuration for multiprocessing for python tests

What this PR does / why we need it:
Python tests involving the stub server currently get stuck on macOS with python version <3.8. This PR configures multiprocessing to use spawn for new processes on windows and macOS so that the python tests can run.
Does this PR introduce a user-facing change?:

NONE

/lgtm


Can't import Bestiary - Half-Celestial Unicorn

Can't import statblock:
Half-Celestial Unicorn      CR 4
XP 1,200
Male half-celestial unicorn (Pathfinder RPG Bestiary, 269)
CG Large outsider (magical beast, native)
Init +4; Senses darkvision 60 ft., low-light vision, scent; Perception +14
Aura magic circle against evil
Defense
AC 17, touch 13, flat-footed 13 (+4 Dex, +4 natural, -1 size; +2 deflection bonus vs. evil)
hp 42 (4d10+20)
Fort +9, Ref +8, Will +8; +2 resistance vs. evil
DR 5/magic; Immune charm, compulsion, disease, poison; Resist acid 10, cold 10, electricity 10; SR 15
Offense
Speed 60 ft., fly 120 ft. (good)
Melee gore +10 (1d8+6), 2 hooves +7 (1d3+3)
Space 10 ft.; Reach 5 ft.
Special Attacks powerful charge (gore, 2d8+12), smite evil 1/day (+8 attack and AC, +4 damage)
Spell-Like Abilities (CL 9th; concentration +17)
At will—detect evil (as free action), light
3/day—cure light wounds, protection from evil
1/day—aid, bless, cure moderate wounds, detect evil, greater teleport (within its forest territory), neutralize poison
Statistics
Str 22, Dex 19, Con 20, Int 13, Wis 25, Cha 26
Base Atk +4; CMB +11; CMD 25 (29 vs. trip)
Feats Multiattack, Weapon Focus (gore)
Skills Acrobatics +11 (+23 to jump), Fly +13, Knowledge (planes) +5, Perception +14, Sense Motive +14, Stealth +11, Survival +14 (+17 in forests); Racial Modifiers +4 Stealth, +3 Survival in forests
Languages Common, Sylvan
SQ magical strike, wild empathy +18
Ecology
Environment temperate forests
Organization solitary, mated pair, or blessing (3-6)
Treasure none
Special Abilities
Damage Reduction (5/magic) You have Damage Reduction against all except Magic attacks.
Darkvision (60 feet) You can see in the dark (black and white only).
Energy Resistance, Acid (10) You have the specified Energy Resistance against Acid attacks.
Energy Resistance, Cold (10) You have the specified Energy Resistance against Cold attacks.
Energy Resistance, Electricity (10) You have the specified Energy Resistance against Electricity attacks.
Fly (120 feet, Good) You can fly!
Immunity to Charm You are immune to charm effects.
Immunity to Compulsion You are immune to compulsion.
Immunity to Disease You are immune to diseases.
Immunity to Poison You are immune to poison.
Low-Light Vision See twice as far as a human in dim light, distinguishing color and detail.
Magic Circle against Evil (Su) This ability continually duplicates the effect of the spell. The unicorn cannot suppress this ability.
Magical Strike (Ex) A unicorn's gore attack is treated as a magic good weapon for the purposes of damage reduction.
Powerful Charge (Gore, 2d8+12) (Ex) Your charge attacks deal additional damage.
Scent (Ex) Detect opponents within 15+ ft. by sense of smell.
Smite Evil (1/day) (Su) +8 to hit, +4 to damage, +8 deflection bonus to AC when used.
Spell Resistance (15) You have Spell Resistance.
Wild Empathy +18 (Ex) Improve the attitude of an animal, as if using Diplomacy.

I got this statblock from Hero Lab.  You might benefit from retesting with aonprd.com.  Sometimes Hero Lab truncates some of the descriptions.
I used the latest Pathfinder system and your latest module to test this.


Test rendering the vignette on mac and Windows in CI

Since the rendering of the pkgdown site confirms the vignette runs, we exclude running it from the Ubuntu R CMD check for efficiency, but we probably want to confirm it runs on mac and Windows.

Although I am all for rebuilding vignettes using different flavors of OS, I just want to ensure we all are aware of the option of sharing pre-built vignettes; see: this r-opensci article about pre-computed vignettes, the note in this section of the R pkgs book, and the section "Condition code in the code package on availability of the data package" of this paper about drat).

We use pre-built vignettes in epinowcast etc with actions to keep them up to date. It works and is fine but its really annoying to have to store the figures etc in the repo so I would avoid if we can/for as long as possible
I wouldn't personally run the vignettes across platform and leave the unit tests for checking that but I don't think its harmful to do so.


添加laydate测试

计划是先把文档中的配置、方法覆盖了, 然后再写根据页面交互功能的测试~

Coverage increased (+15.3%) to 27.003% when pulling d228a8a3eac5125d4733c72d450cd07d0e5bc97b on xuexb:feature/test into 6dfdf4b664f5ec5a972f2f5071236398616343ee on sentsin:master.

Coverage increased (+15.3%) to 27.003% when pulling ae9af909ff6a686b7786d7fcccac0120c1e3ea20 on xuexb:feature/test into 6dfdf4b664f5ec5a972f2f5071236398616343ee on sentsin:master.

Coverage increased (+15.3%) to 27.019% when pulling 8bc052d90b6de6598bb8732b01ebe2c65dbe967f on xuexb:feature/test into 6dfdf4b664f5ec5a972f2f5071236398616343ee on sentsin:master.

Coverage increased (+15.3%) to 27.003% when pulling b2aec99667e8e666efdf21e7522c3c79315de500 on xuexb:feature/test into 6dfdf4b664f5ec5a972f2f5071236398616343ee on sentsin:master.


Cleanup NetBeans license header for module junit

Review and cleanup the license header in junit
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in junit:
junit/src/org/netbeans/modules/junit/resources/layer.xml
junit/src/org/netbeans/modules/junit/resources/templates/junit-custom.xml
junit/test/qa-functional/data/JunitTestProject/build.xml

On it.

Ok, updated https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review for junit

Working on it

Done. PR #318

Closed by GitHub's mistake (some other commit references an issue with the same number).

Merged.


Add versioning to schema

We should add a version number to the schema_sheets/tsv_in/sheets-for-nmdc-submission-schema_schema_only.tsv  sheet. It would be good if this version number can be coordinated with the version number in pyproject.toml and git tags when releases are made.

This finished. Files and artifacts produced by the pypi-publish workflow will have dynamic version numbers added. v1.0.0 has been released via this pipeline and has correct versioning.


Fix a typo - s/protocoal/protocol/

Summary
Thanks to feedback on Twitter, this pull request fixes a typo in the documentation.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

The AppVeyor build did pass - https://ci.appveyor.com/project/slackapi/python-slackclient/builds/29589108
Not sure why it's not reporting status to GitHub correctly.


Map tiles are not optimal

Freeways and their route numbers are very prominent, even though transit users can't make use of them. Metro lines and stations are drawn on the tiles.
Create custom set of tiles more appropriate for TNM application.

For the DC region, this makes sense. But one thing to consider is that ideally TNM might be able to run in different metro areas, with different line colors. So while it might be good to have a tileset that isn't too close to WMATA line colors, we should also make sure that overlaid lines stand out regardless of the backing tiles. For example, we could put outlines around the lines.

Agreed. The tile set should also have fairly dull colors for background elements (water, parks, etc.) but even that won't help with some lines (like Silver), so some kind of outline for rail lines is appropriate.

Something like the DevSeed "OSM Bright Minimal" style would be a good start for this.


Can't debug_sql! query that contains time::Timespec; trait not implemented

Setup
Versions

Rust: stable 1.18.0
Diesel: 0.13.0
Database: postgres
Operating System osx

Feature Flags

diesel: features = ["postgres", "serde_json", "deprecated-time", "chrono"]
diesel_codegen: none

Problem Description
What are you trying to accomplish?
I'm trying to debug a query in crates.io (essentially this code but i'm changing some things for debugging), because i'm having a timezone issue:
    let downloads_query = VersionDownload::belonging_to(&version)
        .filter(version_downloads::date.between(
            date(cutoff_start_date)..
                date(cutoff_end_date),
        ))
        .order(version_downloads::date);

    debug_sql!(downloads_query);

What is the expected output?
I expect to see a printed version of the SQL generated by this diesel code.
What is the actual output?
I get a compilation error:
error[E0277]: the trait bound `time::Timespec: diesel::types::ToSql<diesel::types::Timestamp, diesel::backend::Debug>` is not satisfied
   --> src/version.rs:475:5
    |
475 |     debug_sql!(downloads_query);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::types::ToSql<diesel::types::Timestamp, diesel::backend::Debug>` is not implemented for `time::Timespec`
    |

Steps to reproduce
Check out this branch of crates.io: https://github.com/integer32llc/crates.io/tree/diesel-debug-sql-error and try to build it.
Checklist

[x] I have already looked over the issue tracker for similar issues.

Thanks for the report. It is indeed a bug (we're missing an implementation).
Here is what you would get with the debug_sql! function if it worked, I hope it can help you while you're waiting on this to be fixed :)
SELECT `version_downloads`.`id`, `version_downloads`.`version_id`, `version_downloads`.`downloads`, `version_downloads`.`counted`, `version_downloads`.`date`, `version_downloads`.`processed` FROM `version_downloads` WHERE `version_downloads`.`version_id` = ? AND `version_downloads`.`date` BETWEEN date(?) AND date(?) ORDER BY `version_downloads`.`date`


Integrate Viem to CLI

Depends on: https://github.com/semaphore-protocol/semaphore/issues/343
Add a CLI template using Viem

Hi @aguzmant103! I'm interested in this Viem issue and would like to request an assignment.
Could you clarify the remaining tasks? Thanks!

assign this to me.

Hi @Chirag-S-Kotian, this issue still depends on #343, which has not been completed yet.


fork.js: Reject child-process completion promise with an error.

It is generally recommended to reject Promises with an error.
This becomes especially true with the move to async/await,
as Promise.reject(1) essentially becomes throw 1 in that context.
Not doing so was causing a weird bug on Node 0.10.
Ref: https://travis-ci.org/sindresorhus/ava/jobs/90709377#L779

Agreed. Rejecting without an error makes it impossible to see where it happened.

Fails on Node 0.10 :/
https://ci.appveyor.com/project/sindresorhus/ava/build/96/job/3yun8im3pcpp3o8w

Passes on Windows 7 / Node 10 here.
I think it is just AppVeyor again.
Give me a moment. to get those logged in the tracking issue.

Alright


Fix memory management issues and enhance resource deallocation at RockRawler.Go

This PR addresses memory management issues and improves resource deallocation in the codebase. The following problems were identified and resolved:

Memory leaks in C struct conversion: The original code allocated memory for C-style data structures but did not handle the deallocation of the allocated resources. This could lead to memory leaks and inefficient memory usage. The code has been modified to explicitly free the allocated memory for individual C strings, C parameters, and C endpoints using appropriate deallocation functions.

Lack of memory deallocation in Go code: The Go code did not explicitly deallocate memory allocated during C struct conversions or other operations. While Go has automatic garbage collection, it may not be able to immediately reclaim memory allocated in C code or through C function calls. To ensure proper memory management, explicit memory deallocation has been added to release the allocated C memory resources.

By addressing these memory management issues, this PR enhances the overall efficiency and reliability of the code. The modifications ensure proper memory deallocation, preventing memory leaks and unnecessary resource consumption.

Tested perfectly without any problems, Wish to be a good contributor ...

Hello hossam
Thank you for the effort, but this is not right, the C extension is responsible for the deallocation, exactly this function does it => FreeCrawlerResult


Usage of Modifier.composed { } is no longer recommended

The ComposeComposableModifier rule suggests the usage of Modifier.composed { } which is no longer recommended according to the Android developer documentation
Links:

Android developers documentation: https://developer.android.com/jetpack/compose/custom-modifiers#create_a_custom_modifier_using_a_composable_modifier_factory
ComposeComposableModifier rule: https://github.com/slackhq/compose-lints/blob/main/compose-lint-checks/src/main/java/slack/lint/compose/ModifierComposableDetector.kt

Already done in #204, just not yet released


Integration with Google Assistant

Verify possible integration with Google Assistant

Hello all,
I just started with niq the development of the integration with Google assistant. It will be written in Go and, at the beginning, will deal with lights and scenarios. I hope to be able to share with your other details and POC by the end of this week..
Stay tuned ;)

@Cosby86
have a look at the following integratations

Firebase Authentication
FCM
Cloud Functions (beta)

Maybe is simpler to invoke the webhook directly on the new cloud functions (Node.js) and send a push notification directly to the authenticated device, not sure about the prices although


qmsched: use Bangle.CLOCK instead of FILE

Thanks for pointing out Bangle.CLOCK, I know I've seen it before, but totally forgot about it.
Also just checks for global.setAppQuietMode instead of __FILE__, so that should work with borked __FILE__ as well.
I figured this wouldn't need a version bump, because it hasn't made it into the official store yet.

Thanks! Looks great - and yes, don't worry about the version bump


Feat imaging calibration

Purpose
To accommodate a calibration of the type: (excitation power set point, excitation power measured at objective).
Set point allows percent as a unit for the set point, which is what the SmartSPIM logs in it's instrument-created metadata.
There is a bit more discussion in Issue 272, but generally speaking, the power set point on a laser is very different from the power that makes it to a sample, and can vary across instruments and time.
Scope
Added to acquisition.py schema, added example of a stand-alone calibration measurement. Schema additions are Optional, so should not create conflicts in main.
Edit -- Unit tests failing for examples, even though this field is designated Optional. Am I misunderstanding unit tests?

Hello @miketaormina, I have updated your branch to use a generic calibration class I included in this branch.
I noticed that the LightSourcePowerCalibration class is in the acquisition.py script. Should we move that one as well to device.py? If so, there are circular dependencies that we will have to fix @dyf.

Ideally LightSourcePowerCalibration will use the generic calibration class. I imagine this should stay in the acquisition file - @miketaormina this is likely something you want to run before each imaging session? If so, acquisition file is the place that makes most sense.

That's right, @saskiad . My thinking was that it would happen at most once per day, but maybe even once per week. In either case, one calibration would be associated with several acquisitions. We may need to do this once per imaging day until we know how stable the values are on that time scale.
How I imagined this working would be generating calibration files in a standard location on the acquisition machine and then ingesting the most recent one when the data sets are prepared for transfer. This is similar to how I have been grabbing the instrument json, but I think it belongs in the acquisition file, since it would be used to establish the actual laser power in milliwatts for that particular imaging run (since the device currently only reports this value as a percentage of maximum).
I just need a day or so to sort out what's needed on the updated branch.

sorry to add a monkey wrench at this point, but I think that cleaning a chamber isn't a calibration event so much as a maintenance event.

I feel like we aren't aligned on how we want to use the calibration class

@saskiad I agree and think it takes some more thought. Although a calibration should be associated with an instrument and one or more acquisitions, it doesn't seem to fit neatly into one or the other schemas. It often will be generated separately from an acquisition, so if it goes into acquisition.json, it needs to be ingested, which I think is a pattern we are trying to avoid in this workflow (correct me if I'm wrong). If it goes into instrument.json, that file will be updated much more often than I think we'd like. Does this mean we need an instrument_maintenance.json with calibrations and cleanings? I suspect that we don't like that either.
Can we:
Make class CalibrationSet(AindCoreModel) be a list of Calibration of the same type and use a convention of including the CalibrationType in the file name?
E.g.,
class CalibrationSet(AindCoreModel):
    calibration_type: ...
    instrument_id: ...
    calibrations: List(Calibration)

c = CalibrationSet(. . . , calibrations=[cal0, cal1, cal2])
c.write_standard_file(prefix=f"{c.calibration_type}")

outputs laser_calibration.json or monitor_calibration.json, which consist of lists of calibrations of the same type (and performed at the same time)? Then raw data gets packaged with the most recent version of locally available calibrations. This gets around the acquisition vs. device/instrument but spreads the information over more files.
Am I overcomplicating this?

I think you are overcomplicating it. I imaging in the acquisition schema there is a list of calibrations. The list uses a class called Calibration which is being added to the device schema in this PR. That class needs a field for the name of the device that was calibrated. Date of calibration. A dictionary of input variables (e.g. laser power settings) and a dictionary of output variables (e.g. measured power).
I think making separate classes for each device calibration is going to get very bloated very fast. Already for the behavior schema we have about 5 devices that need regular calibration.
So then in the acquisition schema you create a list of all the calibrations for the instrument that you need.
Separate from this I suggest we create a class called Maintenance which is for things like cleaning the chamber where it isn't a calibration per se and doesn't have the input/output dictionaries.

Hello! I just wanted to follow up on this @dyf @saskiad @miketaormina, I would like to have these changes in the main branch to update the SmartSPIM data transfer scripts. Thanks!

do you want me to take a pass at how I would structure this? I can probably do that tonight. That okay @miketaormina ?

do you want me to take a pass at how I would structure this? I can probably do that tonight. That okay @miketaormina ?

Okay with me, for sure!


⚠ Bofrost.de has degraded performance

In ca87bdc, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.de performance has improved in 85d9636.


Fix progress bar displacement snippet preview image is tiny

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version: 1.1.86
- Spicetify version: 2.10.1

📝 Description
Fix progress bar displacement snippet preview image is tiny. Could we make it a bit bigger? Cropping the blank space around should help, just keep it centred inside a square.
📸 Screenshots

Not a bug, the image was submitted by the user which happens to be unexpectedly tiny lol #253

I know. Just wanted to make an issue so we remember to crop it


Olca prompt tweek

Correcting the appended prompt based on latest session

@workspace  Analyze this prompt and suggest simplification.  (consider that this is a system prompt that is appended to what the sure wrote to make sure the agent does its task, etc)


Add a Tekton PAC file for building this project

Pipelines as Code CI has failed.There was an issue validating the commit: "the webhook secret is not valid: token has expired at Mon, 01 Jan 0001 00:00:00 UTC"

/retest

/retest


Login G icon conflicts with resize area on Mac OS X

Very hard to hit with cursor; probably move it up and to the left 16 pixels or so in each dimension

When I install the fish food releases, it shows up on the left.  Unfortunately there's not much that can be done as there are no fixed anchors to target.  I tried toolbar:org.eclipse.ui.trim.status?before=org.eclipse.ui.StatusLine, but it's not shown — the status line is installed by WorkbenchWindow seemingly after the trim contributions are processed.  Plain toolbar:org.eclipse.ui.trim.status appears no different from the current toolbar:org.eclipse.ui.trim.status?after=additions.
If it does show up on the right-hand side, the user can drag it over to the left.  I'm going to close this as wontfix for the moment, and lets see what we can do with the multi-account work.

Here's what I know (at least what happens on my machine):
If the IDE launches for the first time for a new workspace (which will show the welcome page), the button is on the left. This is the case for unit/integration testing.
However, if the IDE opens the workspace second time (no welcome page), the button is on the right.

Oh I see that; I was clearing my workspace.
Unfortunately this is as good as it gets for the status bar.  Eclipse doesn't provide any anchor points to target, and although I could maybe get something in for 4.6.1, we can't do anything for 4.5.  And contributions referencing missing anchor points are dropped.


dts: renesas: ra: Handle interrupt numbers generation for Renesas RA series

This PR updates interrupt number for Renesas RA boards (current supported boards, exclude RA2L1) to avoid full of interrupt ID.
(related to PR #78579).
We will add map_renesas_ra_irq function in gen_defines.py script to intervene in the generation of the device tree during build.
Only nodes with status = "okay"; will have their interrupt IDs generated as valid numbers in devicetree_generated.h. The others will be assigned interrupt IDs with the unspecified value (0xff).
This will help conserve the interrupt IDs allocated in isr_table.c.

As discussed at length in #75946 and at the arch meeting, interrupt maps in the devicetree shall be used for mapping interrupts. I see there is some precedence with the map_arm_gic_irq_type fn, but as the TODO just above the function suggests, this should be moved to the devicetree as well.

@bjarki-andreasen: We aware the discussion in #75946.

As you may already know, the RA MCU interrupt mapping is complicated. The mapping can be up to 400+ signals map with 96 NVIC lines. Your proposal for using interrupt_map is almost impossible for RA Zephyr Users.

With this situation, we would like to propose a solution to support for RA Zephyr but not impact to others in Zephyr ecosystem. It is supported for RA MCU specifically. We would like to have your strongly consideration to have a change to improve for RA Zephyr User Experience.

As discussed at length in #75946 and at the arch meeting, interrupt maps in the devicetree shall be used for mapping interrupts. I see there is some precedence with the map_arm_gic_irq_type fn, but as the TODO just above the function suggests, this should be moved to the devicetree as well.

@bjarki-andreasen: We aware the discussion in #75946.

As you may already know, the RA MCU interrupt mapping is complicated. The mapping can be up to 400+ signals map with 96 NVIC lines. Your proposal for using interrupt_map is almost impossible for RA Zephyr Users.
With this situation, we would like to propose a solution to support for RA Zephyr but not impact to others in Zephyr ecosystem. It is supported for RA MCU specifically. We would like to have your strongly consideration to have a change to improve for RA Zephyr User Experience.

Thank you so much.

The effect in the Zephyr ecosystem will not be felt heavily by this addition specifically, it will be felt when others want to do the same. The gen_defines.py script will, with high certainty, be abused. Add a little here for one platform, a little there for another, until any change to introduce new platforms, or make changes to the overall interrupt architecture becomes impossible without breaking existing platforms.
A platform, redefining what an IRQ number is, how IRQs are modeled in the devicetree, how the isr table is generated, which is different from all other platforms, is not scalable. The solution in this PR, is not scalable.
The learning curve for any OS is already high, now users need to learn how each platform implements and manages interrupts?
The fact is that we have a solution for interrupt mapping, which supports all platforms, including this one. It may not be perfectly tailored to the RA (I believe it is fine), but that is the case for any standard.

As discussed at length in #75946 and at the arch meeting, interrupt maps in the devicetree shall be used for mapping interrupts. I see there is some precedence with the map_arm_gic_irq_type fn, but as the TODO just above the function suggests, this should be moved to the devicetree as well.

@bjarki-andreasen: We aware the discussion in #75946.

As you may already know, the RA MCU interrupt mapping is complicated. The mapping can be up to 400+ signals map with 96 NVIC lines. Your proposal for using interrupt_map is almost impossible for RA Zephyr Users.
With this situation, we would like to propose a solution to support for RA Zephyr but not impact to others in Zephyr ecosystem. It is supported for RA MCU specifically. We would like to have your strongly consideration to have a change to improve for RA Zephyr User Experience.

Thank you so much.

The effect in the Zephyr ecosystem will not be felt heavily by this addition specifically, it will be felt when others want to do the same. The gen_defines.py script will, with high certainty, be abused. Add a little here for one platform, a little there for another, until any change to introduce new platforms, or make changes to the overall interrupt architecture becomes impossible without breaking existing platforms.
A platform, redefining what an IRQ number is, how IRQs are modeled in the devicetree, how the isr table is generated, which is different from all other platforms, is not scalable. The solution in this PR, is not scalable.
The learning curve for any OS is already high, now users need to learn how each platform implements and manages interrupts?
The fact is that we have a solution for interrupt mapping, which supports all platforms, including this one. It may not be perfectly tailored to the RA (I believe it is fine), but that is the case for any standard.

Thanks @bjarki-andreasen for your explanation, we understood the situation.  We will consider design policy again and improve for user experience in documentations. Thank you again.

This PR is no longer active, so I'd like to close it. Thanks so much for the explanation @bjarki-andreasen


[Bug]: Sidebar options moving when hovering over an option

What happened?
I found a BUG 🐞
BUG: When we hover over an option in the sidebar, all the options below it shift down a little which does not look appealing. In the attached screenshots, you will find the issue if you will look closely.
Besides that, the interface of the sidebar can be enhanced by modifying some styling.
Add screenshots

Normal
On hover

What browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@VenomFate-619 @JasonDsouza212 Please assign this issue to me under GSSOC

That is a feature that allows you to select multiple categories simultaneously.


Parameters in yaml, crash functions with @jwt_required() decorator

I write this issue https://github.com/KarimJedda/connexion_jwt_example/issues/2 in the example using flask-jwt with Swagger api description.
I see that writing parameters in swagger api.yaml file, and decorating the controller with @jwt_required() the app crashed.
This is part of the  yaml api description file,
paths:
  '/stuff':
    get:
      tags: [stuff]
      operationId: zblaaaa.get_secret
      summary: Give me sugar sugar
      parameters:
        - name: animal_type
          in: query
          type: string
          pattern: "^[a-zA-Z0-9]*$"
        - name: limit
          in: query
          type: integer
          minimum: 0
          default: 100
      responses:
        200:
          description: Something secret

and this is  the controller function decorated with @jwt_required()
from run import jwt_required, current_identity
pets = {}
@jwt_required()
def get_secret(limit, animal_type=None):
    return [pet for pet in pets.values() if not animal_type or pet['animal_type'] == animal_type][:limit]

the app crash with the following error
*flask_jwt/init.py", line 177 in decorator
return fn(args, kwargs)
TypeError: get_secret() takes at least 1 argument (0 given)
ERROR:run:Exception on /api/stuff [GET]
Traceback (most recent call last):
  File "~/.pyenv/versions/miserver/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
 ....
  File "~/.pyenv/versions/miserver/lib/python2.7/site-packages/connexion/decorators/validation.py", line 192, in wrapper
    response = function(*args, **kwargs)
  File "~/.pyenv/versions/miserver/lib/python2.7/site-packages/connexion/decorators/produces.py", line 117, in wrapper
    data, status_code, headers = self.get_full_response(function(*args, **kwargs))
  File "~/.pyenv/versions/miserver/lib/python2.7/site-packages/connexion/decorators/parameter.py", line 133, in wrapper
    return function(*args, **kwargs)
  File "~/.pyenv/versions/miserver/lib/python2.7/site-packages/flask_jwt/__init__.py", line 177, in decorator
    return fn(*args, **kwargs)
TypeError: get_secret() takes at least 1 argument (0 given)
<IP_ADDRESS> - - [2016-03-21 20:20:26] "GET /api/stuff?animal_type=dino&limit=100 HTTP/1.1" 500 377 0.003594

But without the decorator the app runs fine.
Thanks in advance

I see the same behavior with any decorator.


MRG+1: Add reduced set of labels for HCPMMP

This adds the combined labels (23 per hemi) for the HCPMMP parcellation.
There is no test because downloading the (only 4MB!) parcellation can actually be pretty slow, but it is effectively tested by CircleCI (just as before).

Codecov Report

Merging #4624 into master will decrease coverage by 0.04%.
The diff coverage is 20.83%.

@@            Coverage Diff             @@
##           master    #4624      +/-   ##
==========================================
- Coverage   87.77%   87.73%   -0.05%
==========================================
  Files         351      351
  Lines       66271    66300      +29
  Branches    10278    10282       +4
==========================================
- Hits        58172    58167       -5
- Misses       5160     5192      +32
- Partials     2939     2941       +2


Get any width (if one is present) in CFF parser

in charstring specs at page 21 (section 4.2): "Also, it may appear in the charstring as the difference from nominalWidthX" so the number we've on the stack doesn't have to be positive.
currently this bug has probably no visible effect
but when the font is loaded to be used with XFA, then the rendering is incorrect.

/botio test


React upgrade fixes

Updated dependencies due to https://github.com/facebook/react-native/releases/tag/v0.25.1

Hey @FaridSafi Can we get this merge this in master on priority?

@FaridSafi can we merge this?

Sorry for the delay. Thank you @Gedzis


Can you elaborate on running SAC on discrete action space

In the docs, it is mentioned about an alternate version of SAC with slight change can be used for discrete action space. Please elaborate with some more details.

You're actually the second person to ask about this! First person sent an email. I'll add a sub-section or a "you should know" to the docs to go over this soon.

+1
I am just learning RL and looking to modify SAC for discrete action state. If you can elaborate on how to derive the equation I can implement it and send a PR.


e2e: plumb a cancellable context through the e2e code

The test process should handle graceful shutdown in response to a
SIGTERM or SIGINT. To achieve this, provide each Test* function access
to a global test context.Context which will be closed upon receipt
of SIGINT or SIGTERM on the main test thread. This gives test functions
an opportunity to execute deferred calls.

/test e2e-aws

/lgtm


iOS Xcode 12.5 Could not cast value of type NSNull to NSString

Hi,
Just tried to use the iOS simulator today and it errors out after calling:
final _contacts1 = await FlutterContacts.getContacts();

error message:
Could not cast value of type 'NSNull' (0x10495cf18) to 'NSString' (0x10495cf78).

this plugin was working fine, so i thinking maybe something with the recently updated Xcode 12.5 ...
Thank you !

https://github.com/QuisApp/flutter_contacts/pull/18
This PR fixes this iisue.

Thank you all for reporting! I merged #18 and included it in version 1.0.0+1, let me know if you're still seeing the issue.

its working fine, tested on iOS Simulator 14.4 and 14.5
Thank you !


m3u support removed in lr core?

Hi,
thanks for making this cool emulator. I'm using it quite often and I'm getting very good results on a Raspberry Pi 4 using the libretro core.
In the past I was using m3u files for multidisk games. I've seen, that m3u support was recently removed in the libretro core. Should I now use cmd files for multidisk games, or will m3u support come back at some point?
Do cmd files work the same: Loading 2 floppies in FDD0 and FDD1 and only swapping in FDD1?
Thanks for your time!

I have the same issue.  I'd rather keep using m3u since it's the expected way that disk swapping would be addressed across most libretro cores.


GTN Header - Adding a Answer Key Histories drop-down menu

This is the first attempt to get the conversation started
I'm wondering if it would be ideal to have a landing page, like with the workflows, where we stipulate how to import a history, compare, and drag datasets between histories so they can help themselves if they get stuck.

I put an 'input histories' there, but actually, that's probably not necessary (although I could absolutely see a future wherein the 'Get data' sections automatically pull from the input histories just like they pull from Zenodo, but it's not strictly needed atm).
I think mentally I was thinking it would be valuable to quickly see which tutorials have input histories and which don't, so that we could make the input histories and keep everything up to date, but that probably goes with the whole workflow / history / automation plan and isn't necessary NOW, so happy for it to be binned.

I think this is a good interim plan. We can make something like this work

Ahk, bad me, I've put this in two places
https://github.com/galaxyproject/training-material/issues/4594
Well when we make this work then we can resolve that issue!

Ahk, bad me, I've put this in two places
https://github.com/galaxyproject/training-material/issues/4594

no this is fine, perfect even. you filed an issue to see if the implementation was reasonable/desired, we agreed, and now you've opened a PR to implement this (which we will get around to eventually i promise). I've tagged this PR as "Fixes #4594" which will ensure that when this is merged the associated issue is auto-closed.
that's a great workflow! Especially for feature requests where you want feedback on if it's possible or so.

Looks good I think, added an optional 'date' field that can be used (or not, or automatically extracted from the history/etc).

Woooo!


Offer a generic interface for IdTypeMap that either uses temp or persisted

Is your feature request related to a problem? Please describe.
I have a bunch of values stored in ui.memory().data as temporary data.  Recently, I wanted to retain it persistently, which means I had to track down every usage and replace ..._temp_... with ..._persisted_..., which is slow and error-prone.
Describe the solution you'd like
Ideally, IdTypeMap would offer a generic interface, which would statically dispatch to either the temp or the persisted variants, depending on the data type.
Here's a basic implementation, which doesn't require to touch egui itself:
/// Allows implementor to be stored in/retrieved from memory with a generic interface.
trait IdTypeMapData: Sized {
    fn get(id_type_map: &mut egui::util::IdTypeMap, id: egui::Id) -> Option<Self>;
    // ...other functions
}

/// Extension for `IdTypeMap` with generic storage/retrieval functions.
trait IdTypeMapExt {
    fn get<T: IdTypeMapData>(&mut self, id: egui::Id) -> Option<T>;

    // ...other functions
}

impl IdTypeMapExt for egui::util::IdTypeMap {
    #[inline]
    fn get<T: IdTypeMapData>(&mut self, id: egui::Id) -> Option<T> {
        T::get(self, id)
    }

    // ...other functions
}

/// Example data type to be stored.
#[derive(Clone, Serialize, Deserialize, Default)]
struct MyData(i64);

/// Implementation of `IdTypeMapData` which uses the persistent storage in the background.
///
/// This is pure boilerplate, and should probably be done with a pair of macros: one for
/// temporary and one for persistent storage.
impl IdTypeMapData for MyData {
    #[inline]
    fn get(id_type_map: &mut egui::util::IdTypeMap, id: egui::Id) -> Option<Self> {
        id_type_map.get_persisted(id)
    }

    // ...other functions
}

which allows the following:
let MyData(x) = ui.memory().data.get(track_state_id).unwrap_or_default();

I haven't yet looked deeply into the actual source code for IdTypeMap, but there might be a simpler, less boilerplate-y way to do this.
If you think this is worthwhile, I could look into this a bit more and do a PR :]

The current code doesn't require users to implement any trait on their data, except the standard serde::Serialize/Deserialize. I'd like to keep it so if possible.


fix: Automatic reduce summary types to fit API limits

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


OnComplete - Feature Request

Based on the current behavior I observed, the onComplete function seems to pass in the initial value of the slider when the change began.  If I am wrong I would greatly appreciate any assistance!
Issue:
I am attempting to build a temperature slider. Component state is set using the onChange function just like the README.md examples.  I am attempting to make an API call to a backend to update the desired temperature using the onComplete.  However, it appears that the onComplete is firing before the final async onChange event has completed and the API call is made with a "stale" value.
Proposed Solution:
I would like to request that the final selected value get passed into the onComplete function.  The API could be called onChange, but that could potentially call the API hundreds of times within a few seconds.
Simplified Example:
import React, { useState, useEffect } from 'react';
import { RadialSlider } from 'react-native-radial-slider';

export default function TemperatureDial() {
    const [desiredTemp, setDesiredTemp] = useState(70);

    const updateComplete = async (value)  => {
        console.log(value);  //<----appears to be initial slider value
        await apiCallUpdateTemp(desiredTemp);
    }

    return (
        <RadialSlider
            value={desiredTemp}
            min={50}
            max={90}
            onChange={setDesiredTemp}
            onComplete={updateComplete}
            unit="°"
        />
    )
}

i got the same problem? is there any solution ?

Here is the solution. but i dont want to modify inside library.
Change the method in useSilderAnimation.js in node modules / rn-radialslider/lib/components/radialslider/hooks
const handlePanResponderEnd = (_e,gestureState) => {
    if (disabled) {
        return;
    }
    let {x, y} = startCartesian;
    x += gestureState.dx;
    y += gestureState.dy;
    const radian = cartesianToPolar(x, y, radius, sliderWidth, thumbRadius, thumbBorderWidth);
    const ratio = (moveStartRadian - radian) / ((Math.PI - radianValue) * 2);
    const diff = max - min;
    let nValue;
    if (step) {
        nValue = moveStartValue + Math.round((ratio * diff) / step) * step;
    } else {
        nValue = moveStartValue + ratio * diff;
    }
    nValue = Math.max(min, Math.min(max, nValue));
    setValue((prevState) => {
        prevValue.current = Math.round(Math.abs(nValue - prevState) > diff / 4 ? prevState : nValue);
        return Math.round(Math.abs(nValue - prevState) > diff / 4 ? prevState : nValue);
    });
    // onChange(prevValue.current);
    onComplete(prevValue.current)
    //
    // if (disabled) {
    //     return;
    // }
    // onComplete(props.value);
};


Add streams.Latest

Codecov Report

Merging #109 into master will decrease coverage by 0.24%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   98.51%   98.26%   -0.25%
==========================================
  Files          67       59       -8
  Lines        3563     3053     -510
==========================================
- Hits         3510     3000     -510
  Misses         45       45
  Partials        8        8

Flag
Coverage Δ

#dot
98.26% <100%> (-0.25%)
:arrow_down:

#dot_changes
100% <ø> (ø)
:arrow_up:

#dot_conv
100% <ø> (ø)
:arrow_up:

#dot_encoding
90.05% <ø> (ø)
:arrow_up:

#dot_encoding_counter
74.41% <ø> (ø)
:arrow_up:

#dot_encoding_richtext
100% <ø> (ø)
:arrow_up:

#dot_encoding_set
100% <ø> (ø)
:arrow_up:

#dot_encoding_sparse
100% <ø> (ø)
:arrow_up:

#dot_ops
100% <ø> (ø)
:arrow_up:

#dot_refs
100% <ø> (ø)
:arrow_up:

#dot_streams
97.49% <100%> (+0.06%)
:arrow_up:

#dot_streams_text
95.32% <ø> (ø)
:arrow_up:

#dot_test_seqtest
100% <ø> (ø)
:arrow_up:

#dot_x_fold
100% <ø> (ø)
:arrow_up:

#dot_x_idgen
60% <ø> (ø)
:arrow_up:

#dot_x_nw
98.88% <ø> (ø)
:arrow_up:

#dot_x_rle
100% <ø> (ø)
:arrow_up:

#dot_x_rt
?

#dot_x_types
?

#dot_x_undo
?

Impacted Files
Coverage Δ

streams/stream.go
100% <100%> (ø)
:arrow_up:

x/types/array.go

x/types/map.go

x/types/string.go

x/types/counter.go

x/undo/stream.go

x/rt/formatted.go

x/rt/run.go

x/undo/stack.go

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 23b36ee...2c3b95d. Read the comment docs.


README.rst add amazon builders to supported list

the following should be added in alphabetical order to list of supported builders :

amazon-chroot
amazon-ebssurrogate
amazon-ebsvolume

they were added as part of #16
see https://github.com/mayn/packerlicious#currently-supported-packer-resources

I'll take this up
Thank you @mayn


feature/de-4-harvest-cmdi-metadata

The item metadata should be CMDI-compliant. OAI-PMH must provide Item metadata in the CMDI format.
@MajoBerger where do you developed this feature? Please add PR to the Development.

Added. If that's all, you can close this issue, @milanmajchrak

Added. If that's all, you can close this issue, @milanmajchrak

first @Paurikova2 must test it. @MajoBerger please write for Miska some test scenarios how to test this feature.

Testing should be described at PR not here at issue. At least I think so.
here you asked to link PR where CMDI was developed

it is linked

in that PR there is link to testing another format which is very similar


Setting a session lifetime

This patch is meant to have a session timeout shorter than the default flask_login one.
I manually added a new setting called session_timeout in the setting table, with a default value of 10 minutes:
insert into setting(name,value, view) values('session_timeout', 10, 'basic');
I didn't quite understand the way new settings were added in the database depending on the version of alembic (files in migrations/versions), It may be necessary to complement this patch with the proper migration file.

If you decided to manage this config in the DB, i suggest you to put it Setting > Basic view which requires to adjust this list also.
You don't need to manually insert the record for that config, and you shouldn't do that. Without available setting in the DB, PDA should work. It will take the default value in the defined dictionary.

I modified the list you mentioned. Since the database insert wasn't in any commit, there is no other  needed modification.

LGMT. Merging it. Thanks for submitting the PR.


[5.7] SILGen: Use ObjC types to lower async completion handler arguments.

An @objc interface defined from Swift may have a formal type in terms of its
Swift bridged types, but we want to lower the SIL-level completion handler
implementation according to the actual ObjC types that will be passed at runtime.
Fixes rdar://93112430

@swift-ci Please test


Replace libc with std::os::raw

Thanks for the PR! Could you expand on the motivation here? As a crate compiling C code, this crate does depend on libc?

Spurred by discussion, this makes flate2-rs agnostic towards libc version in use
This crate may depend on C's libc, but it needn't depend on Rust's libc

Ok, in that case I'm going to close this as the libc crate is the way to link to a C library on a given platform, which is what this is embodying. Thanks for the PR though!

This doesn't mean libc must be a public dependency, @alexcrichton would you be ok with keeping the dependency but not relying on its symbols from the public API? This will limit the damage of a libc 1.0 bump.


WA for gcc-5 internal compiler error

Could you provide error messages?

Could the error be fixed by capturing this by lambda:
auto make = [&, this] (auto refFunction) {
    ...
};

gcc version:
sandye51@sandye51-pc:~/Documents/Programming/git_repo/dldt$ /usr/bin/arm-linux-gnueabihf-gcc-ar-5 --version
GNU ar (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Error:
/home/sandye51/Documents/Programming/git_repo/openvino_contrib/modules/arm_plugin/src/arm_converter/arm_converter_group_conv_backprop_data.cpp: In lambda function:
/home/sandye51/Documents/Programming/git_repo/openvino_contrib/modules/arm_plugin/src/arm_converter/arm_converter_group_conv_backprop_data.cpp:26:50: internal compiler error: Segmentation fault
                               node.get_pads_end());
                                                  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.

The provided fix does not work:
auto make = [&, this] (auto refFunction) {
    ...
};


Add !overwatch profile lookup command

Add a command to permanently register your battletag to your discord ID via something like !owreg Crump#11665 na pc  (na = region, pc = platform). After registering battletag, running the command !ow by itself would link you your own stats.
Add a command to lookup someone else's battletag (ex: !ow bepis#1128)
Example format for displaying stats

Need to make a Node module that connects to OWAPI


sessions opened with Stage.SessionFactory.withSession() are never closed

This is fallout from the migration to Vert.x 4.
This code doesn't work:
	@Override
	public <T> CompletionStage<T> withSession(Function<Stage.Session, CompletionStage<T>> work) {
		return newSession().thenCompose(
				session -> work.apply(session).whenComplete( (r, e) -> session.close() )
		);
	}

Because whenComplete() just throws away the CompletionStage.
This was driving me nuts because for what seems like pure damn chance, the tests weren't failing on main, but when I made a teensy unrelated change they started hanging. Took me ages to figure it out.
So we're going to have to do a new release to fix it.

Note that it's fixed in #779.