Can.Net Core 2 Support?

@ENikS @Chavoshi  Can.Net Core 2 Support?

Fixed in https://github.com/unitycontainer/abstractions/commit/a0f372e392132a98b56c0e95589c3232afcd5450


Update strings.xml (English)

LOTS of English fixes :)

should be all good to go, tell me if anything else seems wrong

@aviraxp @liyufan @lbwawrence

The last words, Rom or ROM / ROMs ?

@TacoTheDank please contact me via email to get the contributor promotion.

scamer @TacoTheDank big scamer please bacarefull

@abdulmalikkhan655 lmfao dude you're honestly pathetic, first you steal icons from flaticons to try to contribute to open-source projects for crypto from utopian.io, and then when i expose your dumbass, you go around trying to slander me

becarefullly


Update README.md

Description
Type: <New | Updated> <Network | Warp Route>
Network(s): <Network Name(s)>
Other notes
Backward compatibility

Testing

mvbmbn


Feature requests: Images in select, autocomplete with images

As seen here: https://www.google.com/design/spec/components/text-fields.html#text-fields-auto-complete-text-field a select or autocomplete could have icons.
I came up with the following for select:

I have the following for autocomplete. It is almost the same as select:

Still todo:

Fix a bug when comparing strings;
Fix a bug when option is selected in select label isn't activated
Test with other browsers (tested in: Chrome, FireFox working same in both);
Test with different types of input (text tested);
Add support to highlight matching characters;
Add different styling for highlight matching characters

What I have changed is also in the README.md

With a pull request of this size it would be very helpful to have some code examples or docs to go along with this. Once these are made I can take a closer look at it and the code.

@acburst I've updated forms.html so it has more documentation and example code. There are still some bugs

This is looking good! I can try looking into some of the bugs and help polish some of the styles for the eventual merge into master.

Looking at this PR again. Because it is rather large, it would be better if you separated this out into 2 pull requests. 1 For images in select, and 1 for autocomplete. This way bugs for either feature won't hold up the submission of the other.

@acburst Removed autocomplete from master and created a new branch for it because it has more bugs than select with images

thanks!


Enhance Geometry Operations Docs

Geometry Operations docstrings are too vague. The docstring in the init should explain, using set notation, what each operation does.

Working on it now.


Sketchfab support

Sketchfab supports WebVR. Similar to #493.

Command ran:  node . -x webvr https://sketchfab.com/models/3e7fd0f34af540e4869b213510306b1f/embed

$ node . -x webvr https://sketchfab.com/models/3e7fd0f34af540e4869b213510306b1f/embed
Failed to JSON decode DOM data.
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at y (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:151374)
    at Object.8 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:342584)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.212 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:107439)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Module.1154 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:10423)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at c (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:387)
    at a (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:250)
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3499
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3519
    at Object._runJavascript (/home/chris/github/exokit/src/utils.js:71:15)
    at ownerDocument.defaultView.fetch.then.then.s (/home/chris/github/exokit/src/DOM.js:1655:17)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
Failed to JSON decode DOM data.
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at y (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:151374)
    at https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:237571
    at Object.39 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:237656)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.148 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:36913)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.212 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:107579)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Module.1154 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:10423)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at c (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:387)
    at a (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:250)
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3499
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3519
    at Object._runJavascript (/home/chris/github/exokit/src/utils.js:71:15)
Failed to JSON decode DOM data.
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at y (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:151374)
    at Object.212 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:107632)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Module.1154 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:10423)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at c (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:387)
    at a (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:250)
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3499
    at https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:3519
    at Object._runJavascript (/home/chris/github/exokit/src/utils.js:71:15)
    at ownerDocument.defaultView.fetch.then.then.s (/home/chris/github/exokit/src/DOM.js:1655:17)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
Sentry was not installed ; it is manually disabled.
Effect error: TypeError: Cannot read property 'isAnonymous' of undefined
    at effect (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:90504)
    at https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:77374
    at Object.dispatch (https://static.sketchfab.com/static/builds/web/dist/vendors-3590db61537cd704cdef.js:79:13254)
    at Function.me (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:307524)
    at t.a (https://static.sketchfab.com/static/builds/web/dist/viewer-9438fc2b8985e1d7d1c6.js:1:647753)
    at Object.34 (https://static.sketchfab.com/static/builds/web/dist/viewer-9438fc2b8985e1d7d1c6.js:1:947378)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.123 (https://static.sketchfab.com/static/builds/web/dist/viewer-9438fc2b8985e1d7d1c6.js:1:260120)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.169 (https://static.sketchfab.com/static/builds/web/dist/viewer-9438fc2b8985e1d7d1c6.js:1:312601)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Object.382 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:173701)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at Module.1154 (https://static.sketchfab.com/static/builds/web/dist/embed-c3931559d9da7a9a77be.js:1:10609)
    at n (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:519)
    at c (https://static.sketchfab.com/static/builds/web/dist/runtime-0499ff2b88077757922a.js:1:387)
couldn't load mixpanel
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
Bugsnag:  Encountered an uncaught error, terminating…
Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17)

Is there a way we can get cleaner source for this? i.e. is Sketchfab using a framework?

This should be booting to grey gl scene with no errors now; for some reason the model load doesn’t complete.
Needs more investigation.

Just tested
node . -x webvr https://sketchfab.com/models/3e7fd0f34af540e4869b213510306b1f/embed hangs

node . -x webvr https://sketchfab.com/models/3e7fd0f34af540e4869b213510306b1f/
, got grey screen then:
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
{ Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17) code: 'ECONNRESET' }
Bugsnag:  Encountered an uncaught error, terminating…
Error: socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:431:23)
    at TLSSocket.emit (events.js:202:15)
    at TLSSocket.EventEmitter.emit (domain.js:446:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17)

Yeah, as far as I can tell the user code doesn't load up a model or initialize rendering.


Project: Digital Twin Docs

Project name
Digital Twin Docs
Description
A web application that effortlessly creates a digital twin documentation environment for your company.
Using a company name and a brief description, this project will generate a page with internal documentation to be used by employees and contractors. Every page might include links to other valuable topics, allowing you to dive deeper into specific subjects and potentially generate an infinite amount of information!
Technologies
Some cool technologies used in this project:

.NET 8.0
Aspire ✨
Minimal APIs
Native AOT
Blazor
Feature Management
OpenAI/ChatGPT
Redis Caching
Blob Storage

Project Repository URL
https://github.com/marcel-paalvast/digital-twin-docs
Project video
see comments
Team members
marcel-paalvast

Demo video:
https://github.com/microsoft/hack-together-dotnet/assets/126659601/6e6d942a-b17c-44fb-80bd-c0d809f2723f


[terra-paginator] Update Terra Doc Site

Summary

What was changed:
Added an accessibility guide for the Paginator component
Why it was changed:
So users have a reference for accessibility guidelines and changes we've made to the paginator component.
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[x] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[x] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-8576

Thank you for contributing to Terra.
@cerner/terra

@scottwilmarth UX Accessibility icons are added to the ARIA props:

Examples and the accessibility doc are updated as we discussed as well. Good to be reviewed again.


test: fbc build

Changes

Added new test repo: https://github.com/redhat-appstudio-qe/fbc-sample-repo
updated util for installing bundle to support passing multiple pipeline bundles via arg (separated by a comma)

JIRA
https://issues.redhat.com/browse/STONEBLD-39

/retest

/retest

/retest

/retest


"The item you were attempting to purchase could not be found"

hello i am new to this plugin and i guess in app purchases in general. i mostly copied what the billing example was doing to get things going. the queryProductDetails call is returning the items i am expecting.. but when i try to do a purchase call for one of those items i get the error mentioned in the title with a response code of 4. i know i have to be doing something wrong. i am just not sure what quite yet.

Hey @Lokix84 did you manage to find a solution as I am also getting the same error. It works as long as I download the public release in test mode  but shows the actual purchase not the test purchase. Kindly let me know if you solved the issue. Thanks!

@Lokix84 @Anirudh-gitprojects
Can you show here the part of the code that makes the purchase?

It's working now, I cleaned up my code and initiated the process from
scratch. Must have been some error on my end. Thanks for the library and
thanks for reaching out!
On Sat, Sep 14, 2024 at 7:51 PM Max Parkhomenko @.***>
wrote:

@Lokix84 https://github.com/Lokix84 @Anirudh-gitprojects
https://github.com/Anirudh-gitprojects
Can you show here the part of the code that makes the purchase?
—
Reply to this email directly, view it on GitHub
https://github.com/code-with-max/godot-google-play-iapp/issues/14#issuecomment-2351009321,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIBUIECMKSNO26WNRLRNK3ZWRA7DAVCNFSM6AAAAABNYXNJ32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGAYDSMZSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

i haven't gone back to it in a minute. was using the following from the demo to test out the idea.
func do_purchase(id: String, is_personalized: bool = false):
if billing and billing.isRead():
Utilities.add_log_message("Attempting to purchase '" + id + "'")
billing.purchase([id], is_personalized)
else:
Utilities.add_log_message("Billing is not available while attempting to purchase: " + id)

@Anirudh-gitprojects Hi Anirudh, I found your discussion on udemy on Godot mobile app lecture. I used the solution you wrote. However, I keep getting "Error, The item you were attempting to purchase could not be found". How did you solve the problem? Kindly share with me, please? Many thanks

Hey, the setup process I mentioned works and helped me overcome the same
problem. Did you change all the methods to the corresponding methods in the
git example? Try setting up a small project and just have the purchase
functionality implemented and then bring that code into the main project. I
had the same error and once I cleaned up my code it worked for me. Let me
know how it goes.
Anirudh S
On Sun, Nov 3, 2024 at 1:54 PM tanahairstudio @.***>
wrote:

@Anirudh-gitprojects https://github.com/Anirudh-gitprojects Hi Anirudh,
I found your discussion on udemy on Godot mobile app lecture. I used the
solution you wrote. However, I keep getting "Error, The item you were
attempting to purchase could not be found". How did you solve the problem?
Kindly share with me, please? Many thanks
—
Reply to this email directly, view it on GitHub
https://github.com/code-with-max/godot-google-play-iapp/issues/14#issuecomment-2453341151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIBUIDOBPGO4Z77SINZXR3Z6XMSNAVCNFSM6AAAAABNYXNJ32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGM2DCMJVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


community: Allow override of 'fetch_schema_from_transport' in the GraphQL tool

Description: In order to override the bool value of "fetch_schema_from_transport" in the GraphQLAPIWrapper, a "fetch_schema_from_transport" value needed to be added to the "_EXTRA_OPTIONAL_TOOLS" dictionary in load_tools in the "graphql" key. The parameter "fetch_schema_from_transport" must also be passed in to the GraphQLAPIWrapper to allow reading of the value when creating the client. Passing as an optional parameter is probably best to avoid breaking changes. This change is necessary to support GraphQL instances that do not support fetching schema, such as TigerGraph. More info here: TigerGraph GraphQL Schema Docs
Threads handle: @zacharytoliver

@baskaryan would you be able to help with linting again? For the life of me, I can't get it to work.

@baskaryan thanks for the fmt! Seems there may still be linting issues after the merge. Hoping to get this in for v0.1.9, if possible, to be able to override that auto fetch schema setting.


#34 Messages - add additional message details screen

To do:

Image icons
Tests

@nickm01, checking in: are you still planning on getting this ready for review?


[Question] How can I save the output log to a file?

Hi,
I would like to analyse the steps of the bot afterwards. So I need a file where every step is saved in.
How can I accomplish that?

./run.sh > output.file

nope, isn't working for me

./run.sh | tee -a bot.log
It will show log to stdout and also write to bot.log

I am running on 64 bit Debian and that method isn't working

Any error message?
Also, you can try python ./pokecli.py -cf config/config.json | tee -a bot.log

no, that doesn't work for me... no error messages, nothing. It just shows me the output on the terminal and doesn't save anything to the file

no, the file is getting created, but theres nothing in it

I use :
python pokecli.py --config ./configs/config.json > bot.log 2>&1 &
in an .sh file


removing selected total feature

Github Issue (if applicable): #624
Explanation of Bugfix/Feature/Enhancement:
Removes feature now supported natively.

Thanks!


Possibility to listen 2 port from the same database

Hello,
I ran 2 process of scan from my database. One to port A the other to port B.
But in the apps, we can only set one port, like this: http://<IP_ADDRESS>:portA
Is it possible to merge the data from 2 port ? maybe like this: http://<IP_ADDRESS>:portA:portB
Or add an option.
Respect for your works, your app is really helpful.
Regards,
Made.

This isn't possible, you should set up your server workers so that they both save their data to the same database. This allows data from both workers to show up in the app.

Hello,
I tried to launch 2 run process from the same area, then the database pogom.db is created in the same directory, and it works !!
I was afraid about 2 process writing in the same db in the same time.
This is a cool result ^^
Thx so much !


Motor controller errors should be more self-descriptive

Background
Motor controller errors (a.k.a. "Smoothie errors") are a bit of a black box to Support – at least, to me – because they're not self-descriptive. I have to do Slack archeology most times I see one.
 (It's the limit switch being hit when not homing.)

 (It's the limit switch not being hit when homing.)

 (I still don't know.)
WTF is this G-code doing? (Some of it is standard, but not all!)

G-code seems like the wrong level of abstraction for most of our work. I take for granted that the G-code layer is working properly. I care about the higher-level command that failed, like "with current 1.0, moved -Z by amount 10."

Desired behavior
At a high level, messages should:

Be meaningful to a person who's familiar with the platform's fundamentals but not all of its internals.
Be unambiguous.
Be appropriately specific.

Also:

Messages should call it the "stepper motor driver" or "motor controller," not "Smoothie."

┆Issue is synchronized with this Wrike Task by Unito

Since this issue was written, we've solved this for our own Support team not by changing the error messages, but instead by writing up a cheat sheet to help interpret the existing messages. This seems to be good enough.
That cheat sheet is currently internal-only because:

Making it good enough to be public would take nonzero work and thought.
I kind of doubt that any user cares about errors at the level that this issue talks about. Like, even if we successfully taught a user to read the error message, understand what the phrase "hard limit" means, and mentally parse the line of G-code to understand what the robot was doing when the error happened...how does that help them? They'll still need Support's help to resolve the problem of broken hardware or whatever.

I mean, maybe some advanced users would find it interesting. But I think those same advanced users could search our codebase for SmoothieError and figure it out on their own?

But, if this seems wrong, I'm happy to reconsider.

Messages should call it the "stepper motor driver" or "motor controller," not "Smoothie."

This still irks us, but I think it belongs in its own issue.

Is "if you get G-code errors then contact support" documented somewhere? I spent some time googling, and I realized I should contact the support when I found this issue.

@Akuli I think I assumed that if someone gets a G-code error, it's ultimately surfaced with a scary message that encourages people to reach out to Support.
What particular G-code error did you get, and where? Maybe we can improve how that error is presented.

When I ask the robot to home or move somewhere, it makes a weird brrr noise instead of actually moving. I found the G-code error from the logs. I first assumed that it's a software problem, but I'm no longer sure about it. I contacted support.
Part of api.log
May 24 11:20:04 misty-river opentrons-api[239]: rpc built call move_to on <opentrons.api.calibration.CalibrationManager object at 0x718d1070>
May 24 11:20:04 misty-river opentrons-api[239]: this is the first calibration action, homing
May 24 11:20:04 misty-river opentrons-api[239]: Homing axes XYZAXZA in sequence ['AZ', 'X', 'Y']
May 24 11:20:10 misty-river opentrons-api[239]: Homing axes B in sequence ['B']
May 24 11:20:15 misty-river opentrons-api[239]: Homing axes C in sequence ['C']
May 24 11:20:15 misty-river opentrons-api[239]: alarm/error outside hard halt: ALARM: Hard limit -C
May 24 11:20:16 misty-river opentrons-api[239]: alarm/error: command=G0 C-1

, resp= ALARM: Hard limit -C
May 24 11:20:18 misty-river opentrons-api[239]: alarm/error outside hard halt: ALARM: Hard limit -C
May 24 11:20:18 misty-river opentrons-api[239]: alarm/error: command=M907 A0.1 B0.3 C1.0 X0.3 Y0.3 Z0.1 G4 P0.005 G0 C-14.5

, resp= ALARM: Hard limit -C
May 24 11:20:18 misty-river opentrons-api[239]: Homing after alarm/error
May 24 11:20:18 misty-river opentrons-api[239]: Homing axes C in sequence ['C']
May 24 11:20:20 misty-river opentrons-api[239]: Move failed
Traceback (most recent call last):
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1072, in _send_command
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1108, in _send_command_unsynchronized
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1147, in _handle_return
opentrons.drivers.smoothie_drivers.driver_3_0.SmoothieError: SmoothieError: None returned ALARM: Hard limit -C

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/api.py", line 1093, in _move
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/controller.py", line 118, in move
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1642, in move
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1089, in _send_command
opentrons.drivers.smoothie_drivers.driver_3_0.SmoothieError: SmoothieError: M907 A0.1 B0.3 C1.0 X0.3 Y0.3 Z0.1 G4 P0.005 G0 C-14.5

returned ALARM: Hard limit -C
May 24 11:20:20 misty-river opentrons-api[239]: Exception during RPC call:
Traceback (most recent call last):
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1072, in _send_command
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1108, in _send_command_unsynchronized
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1147, in _handle_return
opentrons.drivers.smoothie_drivers.driver_3_0.SmoothieError: SmoothieError: None returned ALARM: Hard limit -C

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "usr/lib/python3.7/site-packages/robot_server/service/legacy/rpc/rpc.py", line 269, in make_call
File "usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
File "usr/lib/python3.7/site-packages/robot_server/service/legacy/rpc/rpc.py", line 259, in call_and_serialize
File "usr/lib/python3.7/site-packages/opentrons/api/util.py", line 32, in decorated
File "usr/lib/python3.7/site-packages/opentrons/api/calibration.py", line 42, in decorated
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/adapters.py", line 56, in call_coroutine_sync
File "usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
File "usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/api.py", line 681, in home
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/api.py", line 647, in _do_plunger_home
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/api.py", line 993, in _move_plunger
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/api.py", line 1093, in _move
File "usr/lib/python3.7/site-packages/opentrons/hardware_control/controller.py", line 118, in move
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1642, in move
File "usr/lib/python3.7/site-packages/opentrons/drivers/smoothie_drivers/driver_3_0.py", line 1089, in _send_command
opentrons.drivers.smoothie_drivers.driver_3_0.SmoothieError: SmoothieError: M907 A0.1 B0.3 C1.0 X0.3 Y0.3 Z0.1 G4 P0.005 G0 C-14.5

returned ALARM: Hard limit -C

Also, given an ssh connection to the robot, it would be nice to tail -f the log file. I found a few files named api.log on the robot, but none of them seemed to contain the full content of what the "Download logs" button gives. That way I could see the errors as they happen instead of looking at timestamps. Should I make a separate issue about this or is it just a matter of knowing where the correct api.log is?

I see. So the Opentrons App isn't showing you an error. You're doing your own debugging, seeing the phrase "hard limit" in the internal logs, and wondering what that means.
In that case, to answer your question: no, we haven't documented anywhere that you should contact Support if you see a hard limit error in the internal logs.

Also, given an ssh connection to the robot, it would be nice to tail -f the log file. I found a few files named api.log on the robot, but none of them seemed to contain the full content of what the "Download logs" button gives. That way I could see the errors as they happen instead of looking at timestamps. Should I make a separate issue about this or is it just a matter of knowing where the correct api.log is?

Yeah, I'm happy to help with that in a separate issue. Feel free to mention @SyntaxColoring in it to ping me.

This is the first error I got, and it's from the app:

As a software developer, when I see an error like this, my first instinct is to get more information about it (from logs, in this case), and that's especially true when the support opens 4PM in my timezone and has about 1h of waiting. But the support resolved my problem and the error does say "contact support", so there's nothing to be done here.


Create apps when prepare changes owner of sessions

@hmusum or @bratseth please review.

Either get this workaround merged, or revert the original PR: https://github.com/vespa-engine/vespa/pull/8654

👍


Building grpc-1.4.0 from tarball failed

Please answer these questions before submitting your issue.
What version of gRPC and what language are you using?
grpc-1.4.0 c++
What operating system (Linux, Windows, …) and version?
(Ubuntu 4.8.4-2ubuntu1~14.04.3)
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
What did you do?
I encountered some grpc problems when I was using grpc-1.0.0. The previous problems are:

https://github.com/grpc/grpc/issues/11681
https://github.com/grpc/grpc/issues/11725
Since seems no one is working on 1.0.0, so I changed to using a newer version to see if the problem also exists.

I downloaded the grpc-1.4.0 tarball from https://github.com/grpc/grpc/archive/v1.4.0.tar.gz
and then:
cd grpc-1.4.0/;
 make

What did you expect to see?
The third_party/cares/cares/ directory didn't contain anything
What did you see instead?
Package libcares was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcares.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcares' found
Package libcares was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcares.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcares' found

DEPENDENCY ERROR

You are missing system dependencies that are essential to build grpc,
and the third_party directory doesn't have them:

  cares

Installing the development packages for your system will solve
this issue. Please consult INSTALL to get more information.

If you need information about why these tests failed, run:

  make run_dep_checks

make: *** [stop] Error 1

Release tarballs from github don't contain submodules. As the error you've pasted says, you then need to provide cares yourself in your system. Please install libcares somehow, or use git to clone the repository and grab the submodules.

thanks @nicolasnoble


PC/Win demo shows asserts and crashes

Describe the bug
PC/Win demo shows asserts and crashes. Ofen a queue function is called while the scheduler is disabled.
System information

Which hardware board or part numbers?
Asus laptop, i7

IDE used
VS 2017 with SDK version 10.0.17763.0

Operating System [Windows|Linux|MacOS]
W10

Version of Amazon FreeRTOS (run git describe --tags to find it)
Today's version, cloned from here

Project
pc - demo
pc - test

Expected behavior
No asserts or crashes
Screenshots or console output
One example is from xQueueSemaphoreTake():
configASSERT( !( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) &&
                 ( xTicksToWait != 0 ) ) );

What I think is that despite the scheduler was suspended, and this (asserting) task is still running.
To reproduce
Steps to reproduce the behavior:
Start the demo one or more times, with or without enabling ipconfigUSE_DHCP.
Additional context
I saw this kind of behaviour in the PC/Win before: it may happen when a FreeRTOS task calls directly a blocking Windows API, like e.g. Sleep(), or any I/O call ( printf() ).
Would one of the tracing functions call API's of the Windows?
Thanks, Hein

Hi Hein,

Project
pc - demo
pc - test

Which demo are you using? Is it the default MQTT demo?

Would one of the tracing functions call API's of the Windows?

Also I do not believe that there are any tracealyzer functions being invoked by default. Are these the functions you are speaking of here?

Hi Sarena, I mostly tested with :
projects/pc/windows/visual_studio/aws_demos/aws_demos.sln
It rarely finishes the demo, because it hangs somewhere, it asserts, or it crashes.
I worked from scratch:

git clone
Change the SDK version in VS
Adapted configNETWORK_INTERFACE_TO_USE
Changed aws_clientcredential.h and aws_clientcredential_keys.h

Is anything else needed?

FreeRTOS V10.3.0 is out, and it contains the reparation for the above mentioned issue.
I tested it with the PC project and it worked well: no more exceptions or asserts.
It gave one compilation error in:
libraries/3rdparty/tracealyzer_recorder/Include/trcKernelPort.h

because uxPendedTicks is unknown to my compiler.
Hein


how to track channel status in c++, just like python subscrible?

so title,thanks

i got it.timer-->channel->getstate(try_connect).
and find one bug in python's pull thread.
the pull thread dont reconnect after shutdown.
_connectivity_channel.py
def _poll_connectivity(self, low_channel, initial_try_to_connect):
......
while True:
low_channel.watch_connectivity_state(
low_connectivity, time.time() + 0.2, completion_queue, None)
event = completion_queue.next()
with self._lock:
if not self._callbacks_and_connectivities and not self._try_to_connect:
self._polling = False
self._connectivity = None
completion_queue.shutdown()
break
try_to_connect = self._try_to_connect           //<--------
self._try_to_connect = False                         //<--------- dont reconnect after shutdown


Fixing some imports

Description

Change some imports.

Codecov Report

Merging #16 (3ec7169) into main (82ae37a) will increase coverage by 6.11%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   47.44%   53.55%   +6.11%
==========================================
  Files           8        9       +1
  Lines         293      295       +2
==========================================
+ Hits          139      158      +19
+ Misses        154      137      -17

Impacted Files
Coverage Δ

padl_ext/pytorch_lightning/prepare.py
77.98% <0.00%> (ø)

padl_ext/torchserve/handler.py
41.37% <0.00%> (ø)

padl_ext/__init__.py
50.00% <100.00%> (+4.54%)
:arrow_up:

padl_ext/torchserve/__init__.py
100.00% <100.00%> (ø)

padl_ext/trainer/__init__.py
100.00% <100.00%> (ø)

padl_ext/trainer/trainer.py
16.83% <0.00%> (+16.83%)
:arrow_up:

Continue to review full report at Codecov.

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


Backport to stable 5.0 of https://github.com/owncloud/ocis/pull/8756

ci was green, but github did not pick up the notification ... merged manually

@dragonchaser

just checked:
the envvar OCIS_SHOW_USER_EMAIL_IN_RESULTS has shown up in the docs-stable-5.0 branch for antora ✔
you may delete the branch. It was not autodeleted on merge.
pls tell what to announce in the ocis 5 release notes additionally.
note that we do not have a changelog entry, intentionally...?

@mmattel

it has the experimental in the description that is sufficient from my perspective.
done, github services were disrupted completely
nothing?
because there is no release (yet)


React to IdentityModel namespace changes.

Just an FYI: @muratg @brentschmaltz @tushargupta51

Hi @Tratcher, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


Ensure admin API always uses SessionAuthentication backend

Fixes #5585 and (at least partly) #5628. I suggest that we backport this to 2.6.x (for a 2.6.3 bugfix release) and 2.7.x (for release candidate 2, along with a fix for #5632).
I would have preferred to test this with a new test with a suitable @override_settings decorator, but that doesn't work, presumably because DRF only checks that setting on application startup when constructing endpoints - so we have to take the slightly more ham-fisted approach and set it in wagtail.tests.settings (which, without the fix, breaks the existing tests wagtail.admin.tests.api.test_pages.TestAdminPageListing.test_for_explorer_filter and wagtail.core.tests.test_page_permissions.TestPagePermission.test_explorable_pages_in_explorer).

Merged in 53f5b1a96b361884e4aab655a8e770f98b0a2b1b (2.6.x), 46615c2912fc3acb2455a2d40bb6a1e7438abad8 (2.7.x), 605cedca7897a02e2d586ddf6ff1999a3e16fd1c (master). The admin APIs for images and documents don't have behaviour that's dependent on request.user, so aren't essential for getting a 2.6 bugfix release out - but will leave #5628 open to cover that.


The watchfiles SDK unexpectedly replaces the SIGTERM handler

While killing the process started by cli.run_app method using SIGTERM I can observe the following log line:
2024-11-28 11:09:30,796 - WARNING watchfiles.main - received signal 15, raising KeyboardInterrupt

I assume this is not expected as the invocation of https://github.com/samuelcolvin/watchfiles/blob/cb0bcd84ae4ebea084c1db1adcf7a778952b3842/watchfiles/run.py#L438C19-L438C33 overrides the signal handler set in https://github.com/livekit/agents/blob/57834ec97db4a23452e52f98b2b48fac37eed0aa/livekit-agents/livekit/agents/cli/cli.py#L258

TIL that watchfiles replaces this handler, but in a production environment, the dev subcommand isn't recommended. The start command, on the other hand, doesn’t rely on watchfiles at all.


Feature Request - Cli version of a chat.

Dont know if that would be possible, maybe via tmux or just to have a chat but to chat with "your" assistant in CLI would also be a nice feature to have :)

interesting idea. i will see what i can do.

am getting this error


Detailed sources of MERFISH data in Figure 5d and supplementary Figure 7a

Cancer-Finder is an amazing tool, and your analysis in the paper is excellent. Could you please provide detailed sources of MERFISH data in Figure 5d and Supplementary Figure 7a, such as which sample and which fov these analyses come from? Looking forward to your kind answer.

Figure 5d is about 10x Visium. Did you mean Figure 4d? The MERFISH data used are from the MERSCOPE website, with the link provided in the 'Data Availability' section of the article. You can find the corresponding datasets for different cancer types on the website, where each image displayed in the paper corresponds to a dataset from the MERSCOPE website. There should be only about 10~20 datasets in total. You can try plotting them, and you'll be able to find the one you're looking for.


Case Reason Typo: "Newsetter"

Critical Changes
Changes
Issues Closed

@Nickers3 The corrected picklist value of "Newsletter" is inactive.

@Nickers3  Maybe this is something that we can't do with Metecho because of it actually needing to go into the unpackaged stuff?

@badgerbadger5 @mkolodner ah, yeah, this is in the magical unpackaged stuff.  I have a new pull request that I think covers everything for this one.

@davidmreed or @Nickers3  or anyone that knows, how do we reflect that this PR has been approved on the original Metecho task (https://metecho.herokuapp.com/projects/ombudsmancloudcare/release-13/case-reason-typo-newsetter) that started it? I want it to show that @lauraetzler did the dev and @badgerbadger5 did the approval.

@mkolodner because this ended up being a part of the unmanaged section, I think we can just close this PR.  Not sure what that would show on Metecho though.

@Nickers3 Go ahead and just click what you think is the right button. I assume you're going with Close with Comment.

Closing due since PR 119 was used due to needing it to be in the unmanaged section.


Update README.md - database table

I have created a table in the database called modules
Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
Write a summary of your change. Explain why you have made it.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Good  job Ele.


Remote validation not working in last release

Your environment

Version of jquery-validate:  1.20.0
Browser name and version: Chrome, last update

Current behavior
Remote validation cancels last petition on keyup and fails

Expected behavior
Remote validation should validate on last entered digit without canceling petition.

Live demo
Can't provide live demo because romote validation is custom made for a bussines

Without a demo we cannot help you.

Sounds related to https://github.com/jquery-validation/jquery-validation/pull/2435
@bidord any ideas?


lingering old boundaries

There's a bug where updating a place geom
http://www.inaturalist.org/places/moundville-archaeological-park

makes changes that are immediately shown on obs-search

but sometimes results in persistant old boundaries that display on places/show

and associated projects/show

Whats the plan here? Should we track down the bug that's not clearing the caches on places/projects or should we just change those maps to display using the obs-search infrastructure? thoughts @pleary @kueda?

I think this is a duplicate of #790. Not technically a bug, just a known deficiency. Our Varnish reverse proxy cache logic isn't in any way connected to the tile serving or app logic right now. The new obs search Places of Interest doesn't depend on these tiles, and its results are currently not cached at all, so they should reflect data in real-time

ok - I'll close this then. What's the best way to manually refresh the tiles though so I can help out @jcabbott with his launch of http://www.inaturalist.org/projects/moundville-archaeological-park-biodiversity-survey?


ontology webhook failing?

the buda2:~/bin/db-load migration script includes at the end:
curl -H "Content-Type: application/json" -X POST "http://purl.bdrc.io/callbacks/github/owl-schema"

which is now failing like:
{"timestamp":"2020-06-19T16:34:05.047+0000","status":400,"error":"Bad Request","message":"Required request body is missing: public org.springframework.http.ResponseEntity<java.lang.String> io.bdrc.ldspdi.rest.controllers.PublicDataController.updateOntology(java.lang.String) throws io.bdrc.ldspdi.exceptions.RestException,java.io.IOException","path":"/callbacks/github/owl-schema"}

It last succeeded on 18 June

Yes we are now parsing the github payload to get the actual commitId. The only way to update is to effectively commit and push to the repo.

So there is no longer any way to signal from the migrate script to refresh the ontology.
The buda2:~/bin/db-load currently ends with:
echo -e "\n\n====> TELL LDSPDI to reload ontology"
curl -H "Content-Type: application/json" -X POST "http://purl.bdrc.io/callbacks/github/owl-schema"
echo -e "\n====> CLEARING LDSPDI CACHES"
curl -X POST "http://purl.bdrc.io/clearcache"
echo -e "\n====> DONE"

Applicable, in particular, for the case in which the dataset is rebuilt.
Now what is the proper procedure in this case?

How often the dataset is rebuilt? I think ldspdi is not running (or at least fails) while a new dataset is rebuilt, so restarting ldspdi should be enough to rebuild everything. We could write one more endpoint for this, but does this (quite rare) use case really justify it ?
I remember restarting ldspdi a couple of times for rebuilding ontologySchema, so I don't think you've always been using this curl command. I even believe it's quite recent.

The dataset isn't rebuilt from scratch very often.
I really don't know the status of ldspdi when the dataset is rebuilt, but it seems reasonable that it might be down or failed.
So, no, I suppose a special endpoint is not very sensible especially if ldspdi is down or has failed since I suppose there'd be nothing to listen on the endpoint.
The curl has been in buda2:~/bin/db-load since last year but w/o the -H "Content-Type: application/json" since early on it was not needed. I only learned recently from you that the header was needed.
 Sorry about that.


Fresh AWS Install: Docs should say to install deisctl first

Out of interest followed the AWS install docs as a new user would and following each section step-by-step got me to a spun-up CloudFormation, however the supplied provisioning script started to complain that deisctl was not found (obviously as it was not installed).
./provision-aws-cluster.sh: line 148: deisctl: command not found
Waiting until fleet is up and running ...

The docs need to make it clear for new users that deisctl should be installed before attempting to provision the CoreOS cluster.

deisctl should be installed before attempting to provision

Right you are--sorry we missed this. I'll update the docs.

Thanks. Might have a few more relating to the AWS provisioning into an existing VPC, but will reserve judgement once I've gone over it a few times more to make sure it's not me. :)


Added C++ snippits to mica.md

Added C++ code snippits that are confirmed fully functional using VS 2022
Also added the header file includes

@Koyuki-of-SimpleIO : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Why C++/CX instead of C++/WinRT?

Why C++/CX instead of C++/WinRT?

Comfort mainly, have written in CX for a while. If you would like I can update the example to follow WinRT rules, but overall I really do prefer CX.

It should be in cppwinrt, as C++/CX is deprecated and cppwinrt is recommend for all new development, so docs shouldn't be recommending it.

Got it, will update to RT tonight.

Oh, also the language slug needs a tweak. Since this is C++/CX (which we shouldn't publish) the slug for that is cppcx. But once it's ported to C++/WinRT, it'd be cppwinrt.

This one is very old now, and isn't being actively worked from either side. Let's close it. Thanks, all! :)
-Steve


nuxt-start package on npm don't have update to 1.4.0

Version
v1.4.0
Reproduction link
https://www.npmjs.com/package/nuxt-start
Steps to reproduce
npm install --save nuxt-start
only can install to 1.0.0-rc11
What is expected ?
npm install --save nuxt-start
should install the lastest version 1.4.0
What is actually happening?
forget publish nuxt-start to npm ?
Additional comments?
sorry ,
I can't find nuxt-start repo , and on npm page , it's redirect to nuxt.js repo . so, @Atinux  can you help publish the latest nuxt-start on npm ?
thanks.

This bug report is available on Nuxt.js community (#c7133)

Hi @ausir0726
Actually we will find a way to automatically sync it with 2.0
In the meantime, please don't use it, sorry about this :s

@Atinux , ( thanks all for nuxt community people )
HI , I'm use docker image deploy our nuxt project
I already use multi stage build image , first , download all dependence and run nuxt build
and then copy .nuxt and static folder to second build stage and use npm i nuxt , and run nuxt start
but , when I npm i nuxt , all dependence about 100MB , that make the image to big .
so , I find nuxt-start , seems like just only need 20MB can use nuxt start for production .
before nuxt 2 , or I need production 1.4.0 minimal docker image , any idea ?
thanks .

I am really sorry @ausir0726 but I looked at it and it will take too much time to publish nuxt-start 1.4.X, it's a mistake from our own and will do our best that it won't happen again with 2.X.


CkMulticast support for Group sections breaks in STL headers

Original issue: https://charm.cs.illinois.edu/redmine/issues/1262

The use of std::placeholders and std::bind fails to compile with the STL headers that are used on autobuild's netlrts-linux-x86_64-tcp, mpi-win64, and gni-crayxc builds. XLC and other tests were not run, but might suffer the same failures.
ckmulticast.C(615): error: namespace "std" has no member "placeholders"
ckmulticast.C(616): error: namespace "std" has no member "bind"
https://charm.cs.illinois.edu/autobuild/cur/gni-crayxc.txt

Original date: 2016-10-17 13:39:06

Fix with high prioriity or else revert the offending commit until it can be fixed: ~~https://charm.cs.illinois.edu/gerrit/#/c/1287/~~ https://github.com/UIUC-PPL/charm/commit/bb8df90f64be6b9823a052ff401d51fdaf6ab230

Original date: 2016-10-18 00:57:23

Workaround is here: ~~https://charm.cs.illinois.edu/gerrit/#/c/1923/~~ https://github.com/UIUC-PPL/charm/commit/defdd160818a16e3dc758a7d7650bc7adc54d26e
We would like to know what compiler versions are needed to support this particular use of std::bind, to see if we can just bump our compiler requirements


[PARQUET-888] Add missing virtual dtor.

Can you change the title of the PR to match PARQUET-888: ?

Done

This failed because of PARQUET-885. I am merging, and we can follow up if the build is still failing on master


Document MSRV upgrade and improve readme

I moved some of the sections in the README out into separate documents in a docs folder.
I have left the section about alpha releases in there, though. I think it is important enough to grant it its placement.
I have added a document describing a policy to upgrade the MSRV, since this will eventually be important once we have released the 1.0.0 version.
TL;DR: The MSRV may be updated in major or minor releases but not on patch releases.
Closes #364

r? @ryankurte
(rust-highfive has picked a reviewer for you, use r? to override)


feat(performance): Add redis-backed graphqlProxyMiddleware; write to cache on SPA transitions

The type of this PR is: Spike
Description
Now that we've increased our redis cache tty's, this spikes an idea around being able to retrieve our redis cache on the client by wiring up a proxy to metaphysics.
Now, even if a user hasn't visited a page and is in SPA mode, we still get nearly instantaneous responses back assuming the page has been visited by someone else.  And if nobody's visited it, it gets pushed into the cache for the next person that comes along.
Along the way we were also able to delete a lot of code thanks to how this proxy simplifies:

Unused redis client adaptor
Custom relay network cache middleware
Custom relay-redis cache adaptor, for the relay network middleware

Also fixed a bunch of small DX issues while working with server-side code, namely:

Fixed hot module swapping on file change for middleware (before had to stop and start server)
Reinstantiate Redis on file change; before it would be null on change

Unless I'm missing something obvious this is ready to be tested in staging!
Todo:

[ ] hokusai staging env set ENABLE_GRAPHQL_PROXY=true
[ ] hokusai staging env set ENABLE_GRAPHQL_CACHE=true
[ ] hokusai staging env set GRAPHQL_CACHE_SIZE=1000000
[ ] hokusai staging env set GRAPHQL_CACHE_TTL=86400000
[ ] hokusai production env set ENABLE_GRAPHQL_PROXY=true
[ ] hokusai production env set ENABLE_GRAPHQL_CACHE=true
[ ] hokusai production env set GRAPHQL_CACHE_SIZE=1000000
[ ] hokusai production env set GRAPHQL_CACHE_TTL=86400000

Screencaps:
All of these page transitions are uncached on the client ❇ Nearly instant:
https://github.com/user-attachments/assets/7490869f-f643-45d4-b956-ee80d12337cd
Here's a log of the client-side pushing cached redis entries while in SPA mode:
https://github.com/user-attachments/assets/bc4c53f7-2346-402a-8b39-836503fabd5c
The flow:

Added http-proxy-middleware which points  at MP
SSR render first checks if graphql response is in cache; if not, store it
Logged-out user lands on site, clicks a url
Relay network now hits internal api -- /api/metaphysics
We check the query id and variables and look and see if that page has been visited before, and thus cached in redis
If so, return the cache
If not, return proxy to MP, do normal lookup
On success, push cache entry into redis

Aight @mzikherman / @joeyAghion - comments addressed, tests added, some cleanup, and this PR is ready to review 👀

Aight @mzikherman / @joeyAghion - comments addressed, tests added, some cleanup, and this PR is ready to review 👀
I went ahead and added support for route-level (server-side) TTL configuration in https://github.com/artsy/force/pull/14247/commits/e039dff42e991cc3b947deb244a50552032330f0. With this I can imagine us starting to work in (logged-in) caching sooner rather than later. We just need to figure out what the proper TTLs are for various pages, and perhaps add in an invalidation mechanism. In works like this:
const myRoutes = [
  {
    path: '/artist/:artistID',
    query: ...,
    serverCacheTTL: 1000
  }
]

Some notes on that:

Setting serverCacheTTL: 0 will skip caching on the server
If we can figure out some dynamic mechanism for knowing when to bust the cache (ie, a quick server call to check lastUpdated?) we can update the signature of the function to something like:

getServerCacheTTL: async () => {
  const didUpdate = await fetchQuery(graphql`
    query ArtworkLastUpdatedQuery(id: $id) {
      artist(id: $id) {
        lastUpdated
      }
    }
 `)

 if (didUpdate) {
   return 0
 } else {
   return DEFAULT_TTL
 }
}

(I have no idea how to do this efficiently; this just gives us an idea of whats possible.)
But lets not get ahead of ourselves! In any case, we now have the ability to configure page-level TTLs. Right now everything defaults to env-configured GRAPHQL_CACHE_TTL.

@damassi Integrity failure seems to point to this PR that mutations are being routed to this local proxy endpoint. I didn't look closely at the changes, but I think mutations are probably never gonna be cached. Is the plan to always proxy MP requests through the endpoint? If so, we can adjust Integrity accordingly.


add url param to /api

@jph00 I really like this tool!  I want to add an optional url param to the /api route.
Tested this locally
curl -X POST http://<IP_ADDRESS>:5001/api \
     -H "Content-Type: application/x-www-form-urlencoded" \
     -d "url=https://example.com/"
# Example Domain

This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.

More information...

Also tested the webapp

Nice!

Deploying now.


ffi samples on dart-lang/samples are not updated

The sample code for ffi examples for primitives and struct on dart-lang/samples is referenced from the tutorial docs page.  I updated to the latest SDK 2.6.0-dev.8.2 and this broke the analysis on the samples.
Looked at the sample code on dart-lang/samples to see if they needed to be updated, but no changes. Had to look at the sdk sources to confirm that this is indeed the case, and that the sample code has to be updated.
Maybe the samples should be moved into the SDK to make it easier to update with breaking changes?

/cc @mkustermann , @mit-mit

/cc @athomas

Related: https://github.com/dart-lang/samples/issues/16

dart-lang/samples is owned by DevRel, not Eng. cc @johnpryan

This is a duplicate of dart-lang/samples#16, closing this one.


Details note box to models

As part of a models details a text box (renderable to markdown) should be added to models details. this note/description/further info box could then be used to store information as part of the models "front matter"
Details
This field should be created within core as a model abstract class for inclusion by all models that would require it. Within the UI on the models details page, the field should show as rendered and contain an edit button next to it so that it can be edited in a separate form.
Links

https://github.com/neutronX/django-markdownx plugin

Requirements

[ ] Supports Markdown

[ ] field renders as markdown

[ ] field has it's own edit form
do this way so that the field can be rendered markdown unless the user is editing

[ ] Validates as valid markdown

added 6m of time spent

mentioned in commit 36d7e54547bd5afc1270c02f6160b95eda5cc557

mentioned in commit c570fb114f70a2a1785fffe3ba627eee86c0c8d5

mentioned in commit dd063feae9e69627a199083d677d5e3a165d8121

mentioned in commit ca8e0c07ea6aff681e03ed966412403ba94c2d7c

added 3m of time spent

mentioned in commit 848661856a44de31ee2116c1b5c4445fe6daf654

mentioned in commit 6969b611644f025426cdb1f77c92f7a79d361859

added 20m of time spent

mentioned in commit 85bf1b9907788f1e190c00827c096b00e25a8048

mentioned in commit 36c13e18c7f8f6e3354a2fb79c6a2240fdec431f

mentioned in commit ea1727f2c796bd305b0e01c87f1db16c217b1b1e

mentioned in commit 904234c5818d893d63fc152e5f7b86d37226e122

mentioned in commit a02fda84137810d840168d214af471dac451887f

mentioned in commit b5bc76b0ab79dcec38d5c91a95c1a737b89c9f8b

mentioned in commit ccfdf005f75600af926d5a37c1483407863e3f83


[v 0.3.0] Pre-release tasks

[x] Update tutorials,
[x] Update documentation,
[ ] TODOs to Issues,
[x] Update docstrings with authors information
[x] Check setup scripts
[x] Move https://github.com/DataverseLabs/pyinterpolate/blob/dev/pyinterpolate/misc/download_air_data.py to v0.3
[x] add requests to requirements
[x] test setup and code with paper examples
[ ] describe data structures

I have updated each tutorial, now I'll update documentation with authors and move the function https://github.com/DataverseLabs/pyinterpolate/blob/dev/pyinterpolate/misc/download_air_data.py to the v0.3

Ok, I have to make one last step - update README and documentation - and I will publish the package. TODOs to Issues will be done after publication :)

README is updated, and documentation in the first form is available; but I need to do one more thing: describe data structures. Then I can publish the new version of a package!

I'll close this issue and create two new ones from it.


false bool values not taken into account while laying out views

LYTBoolValues() adds both true and false. But the views in the test are rendered for only true values. The test does not render any views for false values.

I can't reproduce this locally. When I run the SampleAppTests it uses BoolValues:
    public class func dataSpecForTest() -> [NSObject: AnyObject] {
        return [
            "text": LYTStringValues(),
            "buttonText": LYTStringValues(),
            "buttonEnabled": LYTBoolValues(),
            "imageType": LYTDataValues(values: ["linkedin", "garbageString", NSNull()])
        ]
    }

If I put a break point on line 40 and po data["buttonEnabled"], eventually (after a few tries) I see:
  - Some : 1

▿ Optional<AnyObject>
  - Some : 0

It does return true multiple times in a row before moving to false though. Can you send me some sample code that reproduces the issue?

Yes, that prints fine in the debugger, even for me. I see true/false being printed alternatively. But the view is not rendered according to the false value. If you have a button and label, and you set the button to hidden according to the bool value, it won't get hidden.

It looks like the Sample App manages to test this:
XCTAssertEqual(view.rightButton.enabled, data["buttonEnabled"] as? Bool ?? false)

The tests pass indicating that the button is correctly enabled/disabled.
What does your viewForData method look like?

That's interesting. I have attached my view and ViewTests. If you see in the code I am sending you, the info button should be visible half of the times, and not visible for the other half.
LayoutTestCode.zip

So to be clear, this line gets called:
infoButton.hidden = !viewModel.shouldShowPriceBreakdown
and viewModel.shouldShowPriceBreakdown is sometimes true and sometimes false.
But, when you inspect the value of hidden, it's always false?

Yes. To put it in a more clear way, viewModel.shouldShowPriceBreakdown is sometimes true and sometimes false. But in the index.html, the view always shows. It should show/not show according to this bool, and that does not seem to work.

so, the index.html only shows views which have errors. Perhaps you are only failing the test when this view is being shown? For instance, if a view is overlapping this view, it will only fail when this view is not hidden.

Oh no. I purposely put an XCTAssert to assert and see the views.

To debug this, you could try putting XCTFail() in the block for your test. This will cause every view to fail and you'll see all views in the index.html.

Ah, yeah...looks like you did this. When you query the view for infoButton.hidden it gives you the right answer correct?

yes.

So, the bug here is that the screenshot logic seems to not be working. Let me see if I can repro.

Yes right. May be it is hardcoded to true somewhere. That's what I can guess, but not sure.

Meh...no dice again.
Changed the sample app to be:
    func setup(json: [NSObject: AnyObject]) {
        label.text = json["text"] as? String
        button.setTitle(json["buttonText"] as? String, forState: .Normal)
        label.hidden = true
    }

So the label is always hidden. When I run tests, I see all the views printed out (I added an XCTFail()) but the view is hidden.

Could you try in your tests something like adding the current view to the window and see how it renders?

Ah that's interesting. I think may be we are calling the action infoButtonTapped(). This function in turn toggles the visibility of the info button. May be this is kind of dynamic and is not taken into account while rendering them in the html? Thoughts?
    static func viewForData(data: [NSObject: AnyObject], reuseView: UIView?,
                            size: LYTViewSize?, context: AutoreleasingUnsafeMutablePointer<AnyObject?>) -> UIView {
        let view = BundleSavingsAndTotalView(viewModel: FakeBundleSavingsAndTotalViewModel(data: data))
        let shouldShowPriceBreakdown = data["shouldShowPriceBreakdown"] as! Bool
        if shouldShowPriceBreakdown {
            view.infoButtonTapped()
        }
        return view
    }
}

    private func updatePriceBreakdownView(isVisible isVisible: Bool, animated: Bool) {
        if animated {
            UIView.animateWithDuration(animationDuration) {
                self.bundlePriceBreakdownView.hidden = !isVisible
            }
        } else {
            bundlePriceBreakdownView.hidden = !isVisible
        }
        infoButton.hidden = isVisible
    }

Well, when you call animateWithDuration, it actually changes the .hidden value immediately. Only the layer value will change.
Currently, layout tests aren't setup up to do interactions well because they run synchronously. You could do this with waits, but probably not a great solution because of how slow they will run.

Oh ok, so you mean the data layer property will change, but the LayoutTest library wont take that into account?
Probably I will write a UIViewController test for interactions and test only layout with UILayoutTests.

Closing this issue, got why that was happening, probably expected behavior. Thanks for the help!


Correction for raw affiliation King's University College, Western University, Canada AND

Correction needed for raw affiliation King's University College, Western University, Canada AND
raw_affiliation_name: King's University College, Western University, Canada AND
new_rors: 02grkyz14;
previous_rors: 02grkyz14;048f5b183
works_examples: W4387992251;W4387992217
contact: 7a8968def8c1c091f9e958cb9ab0ad73:df676730a158c6fb @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-21. The new affiliations should be visible within the next 7 days.


When running through Jenkins ,i can see +Screenshot ,but after clicking on that i dont see any screenshot.Running normally without jenkins i see the screenshots attached

Hi I will probably need more info about your setup to help here.


chore(deps): bump grpc-health-probe in Goreleaser built image

Description
Resolve the differences between the Dockerfile and the one used in the Goreleaser build Dockerfile.goreleaser. See:
https://github.com/openfga/openfga/blob/8526d5208ff7003aa7b7cc8e30c530052fd37b80/Dockerfile#L1
vs
https://github.com/openfga/openfga/blob/8526d5208ff7003aa7b7cc8e30c530052fd37b80/Dockerfile.goreleaser#L4
References
Closes #1504 (see https://github.com/orgs/openfga/discussions/290)
https://github.com/goreleaser/goreleaser/issues/4741
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[x] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected

Note: ideally we'd do the following:
FROM ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.5 as grpc_health_probe

FROM cgr.dev/chainguard/static:latest

COPY --from=grpc_health_probe /ko-app/grpc-health-probe /usr/local/bin/grpc_health_probe

COPY assets /assests
COPY openfga /

ENTRYPOINT ["/openfga"]

this way dependabot could notice the first image from the multi-stage build and we could get automatic updates. But goreleaser doesn't support multi-stage builds today and dependabot does not support automatic updates of inline image copies. So until one of these issues is resolved we're stuck with manual updates.

FOSSA is failing for some reason, retrying


Issue with ouput that look like an HTML tag. Starts with '<'

Having the following displayed in response body preview tab :
{   "a": "<blablabla>" }
the higlight tab displays :
    {         "a": ""     }
A way to reproduce with python :
get in a python 2 virtualenv then
pip install bottle
copy paste the following code server.txt and run python server.txt (sorry github does not allow attaching python file)
then use restclient to "get" : http://localhost:8080/ and http://localhost:8080/ex2 http://localhost:8080/1
You should experiment the same difference.
The 'bug' came to me since an api was improperly returning '<colander.null>' string, instead of dropping it.

What is the response body preview tab? This doesn't sound like it has anything to do with rest-client. Feel free to reopen with more information.


#3468 Update electrs to 0.9.11

see https://github.com/rootzoll/raspiblitz/issues/3468#issuecomment-1382839908
worked on my test machine

Install looks good on Rpi and amd64
Thinking that we could add verification to the update as well after the git reset:
    sudo -u electrs /home/admin/config.scripts/blitz.git-verify.sh \
     "${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1

Roman is very consistent on signing all the release commits and tags: https://github.com/romanz/electrs/releases


Support custom SchemaAdapter on ParquetExec

Is your feature request related to a problem or challenge?
This is a feature request to allow the ParquetExec type to accept a SchemaAdapter instead of having a fixed SchemaAdapter.  By supporting a SchemaAdapter to be injected, the same ParquetExec could be reused by a number of protocols that build upon parquet.  For example, delta-rs keeps the schema separate from the parquet so that schema evolution can be well controlled.  For instance, the external schema can enrich the data inside the parquet files with missing nested columns or timezone information.
This same pattern may also be useful for other storage formats as well as the mapper just accepts the record batch from the file and a desired Table Schema.
Describe the solution you'd like
ParquetExec accepts a SchemaAdapterFactory which then the ParquetExec will call to create SchemaAdapter per parquet file.  The SchemaAdapter likewise will check the schema's can be mapped and return a SchemaMapper (just like it does today) which is used to transform the RecordBatch into the desired format.
Describe alternatives you've considered
It could be considered that the ParquetExec should be closed to modification and instead it should either be decorated or new ExecutionPlan should be built.  There is a lot of parquet specific code in the ParquetExec which these protocols would have to rebuild.  Alternatively we could change the interface for ExecutionPlan which would be a breaking change.
Another approach is to say that we don't want to support different ways of casting arrow batches to different protocols and all these changes should be made in arrow.  I think different applications are going to have different constraints about what migrations they choose to support .  For instance, arrow today will cast one struct based on the position of the fields, this is great for short lived record batches that are trying to just rename fields, but this would be problematic for long lived arrow batches stored as parquet as the code that wrote the record batch may not be the same that read the record batch.  So there is opportunity to both improve arrow but also allow how it is used to diverge.
Additional context
I've got a code change ready that I can make a PR soon.
We had some conversation about this in discourse here: https://discord.com/channels/885562378132000778/1166447479609376850/1236683250244517991

Perhaps a good starting place would be to make Schema Adapter public. It seems entirely an private struct today https://docs.rs/datafusion/latest/datafusion/index.html?search=SchemaAdapter
In general I think this ticket is another potential reason to make ParquetExec easier to use by other libraries, not just DataFusion itself (via ListingTable)
We certainly use ParquetExec  directly in INfluxDB 3.0 so I would be interested in helping make this easier to do (as it would also decrease our maintenance burden()


[Event Request] Table 167 Job OnBeforeCalcRecognizedProfitAmount

Hi,
Need a published event in the table 167 Job: OnBeforeCalcRecognizedProfitAmount

Thanks

What parameters do you need?

Hi,
Sorry I only need the Sender.
The procedure that handle the event looks like this:
local procedure OnBeforeCalcRecognizedProfitAmount(var Sender: Record Job)


Cannot login to the spotify...

I tried to start playing a station, and the bot told me that I was not logged in (despite logging in earlier in the week). I tried to login again, was sent the spotify link and clicked on the accept button, but was returned to the web with the following error:
This site can’t be reached botify.gg.robinfriedli.net refused to connect.
I then tried to start playing music again and was still told that I am not logged in.

Yeah there's a server issue with the public botify instance atm (btw please refer to the support guild for issues with the public instance, invite link's on the top.gg page -> "join support server"). I'll restart the bot along with an increase of the server pool size (PR #141) and other improvements by Tuesday.

Also btw you don't need to be logged in to play music. I presume you used the $own to search an item in your library, alternatively you can just paste the open.spotify link or Spotify URI for that playlist / album / track.


Custom coloring for picked color theme

It would be great if there section in user settings appear where user can define custom coloring for picked color theme and those override or extend existing. Because now if I want to add just different color for function color i have to create new theme from scratch.

FYI @aeschli

duplicate of #11556


Support nested vendored dependencies in bindgen!

Thanks for filing a feature request! Please fill out the TODOs below.
Feature
It seems that the only way to import other packages right now is to vendor them, so I tried to do that by symlinking the dependee
into the dependant deps folder (showing dirs only for conciseness):
❯ tree -d -l wit
wit
└── deps -> ../../wasi-http/wit
   └── deps
       ├── cli
       ├── clocks
       ├── filesystem
       ├── io
       ├── random
       └── sockets

Then i attempt to generate bindings like so:
bindgen!({
    path: "../adhoc/wit",
    with: {
<EMAIL_ADDRESS>http_proxy,
    }
});

and I get the following compile error:
error: failed to resolve directory while parsing WIT for path [/Users/mpostma/Documents/code/rust/wasm-experiments/adhoc/wit]

       Caused by:
           0: failed to parse dependency directory: /Users/mpostma/Documents/code/rust/wasm-experiments/adhoc/wit/deps
           1: failed to parse package: /Users/mpostma/Documents/code/rust/wasm-experiments/adhoc/wit/deps/deps
           2: no `package` header was found in any WIT file for this package

It seems to be because the second level of deps doesn't contain any WIT file, but only directories.
Benefit
I'm not sure what's the current plan, or the recommended way to deal with imports right now. I suspect that all of this will converge to a more streamlined experience, but until then, it would be nice if we could just symlink components as dependency for other components.

Thanks for the report! The structure of the wit directory is mostly defined by the wasm-tools project at this time (and doesn't have the greatest documentation unfortunately). You might be interested in https://github.com/bytecodealliance/wasm-tools/issues/1461 and https://github.com/bytecodealliance/wasm-tools/issues/1462 as well.
Overall relaxing various bits of the wit directory are not the easiest thing to do as it needs to be balanced with the variety of consumers of WIT. If possible features like https://github.com/bytecodealliance/wasmtime/pull/9288 are intended to help with this, though.

thanks @alexcrichton 🙏


Contact Us

Make a Responsive Contact Us page.

Add a vector image to the page
Fields : First Name , Last Name , Email ID , Message
Submit Button
Responsive design.
Make sure the contact page looks attractive.

Hey, can you assign me this issue?

Hey, can you assign me this issue?

Please take a look at the Readme


Add landscape/portrait toggle to control panel to swap viewport width and height.

Duplicate of https://github.com/bryanoltman/stager/issues/30


Make sure modifiers are applied before playing

Problem
On iOS, a video with allowsExternalPlayback={false} will hijack an ongoing audio playback if playing on AirPlay.
Steps to reproduce:

Start audio playing via AirPlay.
Initialize component with allowsExternalPlayback={false}
Now the audio will unexpectedly be interrupted, while nothing will start playing on AirPlay.

Fix
By setting the modifiers right after a player is initialised, we ensure all configuration is respected when playback starts.

@anderslemke would you mind testing this PR for the iOS conversion to swift? It does not have the changes you have made here, but I'd be happy to add them in afterwards. I'm looking to have anyone who has contributed to ios test out the converted version. Please be aware that there is a required update to add use_frameworks! :linkage => :static to your project Podfile
https://github.com/react-native-video/react-native-video/pull/2527

@hueniverse hope this PR was tested before release new version, because last time when I try to use it, my app crashes. To reproduce it, I changed source multiple times in my <Video/>

@Deodes thanks for the feedback. I did some basic tests (that's really all we can do right now and catch bugs are people try out the new version which will have a pre-release label on it) and didn't see an issue. Are you able to either test it locally again or fork https://github.com/react-native-video/react-native-video-test and change it to reproduce the issue? If it still breaks things I'll revert the change.


default sorting option in the bibliography

Dear Biber authors,
in the effort of keeping my tools up-to-date I switched to Biber to handle the bibliography of my works. Unfortunately, I got the unpleasant surprise that one the very nice feature for the common user is somehow very hard to reproduce with my setup.
In fact, I was used to Latex sorting the reference list such that its order follows the one of the citations in the text.
What a disappointment to discover that it's not the case any longer, and that I am browsing the internet since quite a while to understand how to reproduce such a simple thing!
May I suggest you to have this as a default for Biber?
Best regards.

It's best to ask such questions on tex.stackexchange.com. Since biber is a backend for biblatex, biber obeys the defaults for biblatex and the default sorting is the nty (Name, Title, Year). If you want citation order, simply specify sorting=none as a package option to biblatex:
\usepackage[sorting=none]{biblatex}

thanks for your precious feedback!


Add Dev Dependency on phpunit 6

Fix #337

I've rebased now that the build has been fixed. Travis highlights that at least for dev requirements, we now need at least PHP 7. I'm not sure if that's a bad thing at this stage for new releases, given that even 7.1 is EOL now.

Hmm, can't we use a 5.x version of phpunit just as it was before? I'm not happy to drop support for older PHP versions just because of the test setup. There may still be devs out there with weird restrictions that require PHP 5.x and the library itself runs fine with it.

For comparison I had a look at yii2-apidoc where they also support PHP 5.4 - 7.3. Their main trick seems to be that they use <7 as version constraint for phpunit. Seems like composer then picks the latest supported version depending on PHP version. Maybe we should try this, too? Their travis setup also looks interesting.
See here:

https://github.com/yiisoft/yii2-apidoc/blob/7f08120da99437a99d33c447f64a8b2675009d44/composer.json#L34
https://github.com/yiisoft/yii2-apidoc/blob/7f08120da99437a99d33c447f64a8b2675009d44/.travis.yml

I assumed due to the commit message on 1c1e6fb6efabfd0635f7906e3c20eb88335a6433 that you'd made changes that weren't backwards compatible with PHPUnit 5 (I know on a work project were we'd had issues when we upgraded PHP Unit). It does appear you've made it backwards compatible, and it looks like it should work with PHPUnit 5, 6 and 7. I've updated the branch to attempt to use a range of phpunit versions, without moving to PHPUnit 8 which breaks things.


Encoding fixed-size arrays together with the dynamically sized values

abi.rawEncode([ 'bytes', 'uint[2]', 'uint[2]' ], [ 'hello', [1, 2], [3, 4] ])

The code above produces
0000000000000000000000000000000000000000000000000000000000000060
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000002
0000000000000000000000000000000000000000000000000000000000000003
0000000000000000000000000000000000000000000000000000000000000004
0000000000000000000000000000000000000000000000000000000000000005
68656c6c6f000000000000000000000000000000000000000000000000000000

Is that the right behaviour? bytes offset here is 96, while it should actually be 160. Correct me if I'm wrong.

Actually, sorry, it's already reported https://github.com/ethereumjs/ethereumjs-abi/issues/22


update Long Running Operation guidance

I'm seeking clarification of how long running operations are supposed to be modeled. Here is how I think it works now. I'll be bringing this up in ARM office hours today.
related: https://github.com/ctaggart/azure-rest-api-specs/pull/7

/azp run

I was wrong. The Swagger documents response codes of the initial response as well.


Feature request: display connection speed and transferred data for upload/download tasks

Currently mirakle shows something like that
Total time : 9 mins 3.816 secs
Task uploadToRemote took: 4.136 secs
Task executeOnRemote took: 7 mins 34.594 secs
Task downloadFromRemote took: 1 mins 25.028 secs
4 actionable tasks: 4 executed

Would it be possible to also display how much data was transferred and/or what was the connection speed?
I think it might be beneficial to see that data to easily detect connection issues and/or tasks that produces big results.

Hey, mirakle uses rsync under the hood to sync files and your request can be easily achived using rsync --info flag. See Tips and Tricks doc.

thank you!
mirakle {
    rsyncToRemoteArgs += ["--info=progress2"]
    rsyncFromRemoteArgs += ["--info=progress2"]
}

did the trick. Initially it failed because I had an old rsync version on my Mac
rsync: --info=progress2: unknown option
rsync error: syntax or usage error (code 1) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/main.c(1337) [client=2.6.9]

after updating rsyc everything works.


Bumping up API Versioning to 2.5.0-pre for the G-Release

/cc @Fryguy marked as fine/no as this is master only.  Thanks.


Add override file feature with simple logger saving and deletion

Add following functions to support #12:
auto from_file_and_override(
    const std::string &base_toml_path, const std::string &override_toml_path)
    -> bool;

void save_logger_to_file(
    const std::shared_ptr<spdlog::logger> &logger,
    const std::string &toml_path,
    const bool overwrite = false);

auto delete_logger_in_file(
    const std::string &logger_name, const std::string &toml_path) -> bool;

Add some unit tests to all the new functions, but not completely tested.
This PR also changes the directory structure of the solution for the better, splitting up details into inner files.

Codecov Report

Merging #14 into master will decrease coverage by 7.07%.
The diff coverage is 84.69%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   90.24%   83.16%   -7.08%
==========================================
  Files           1        1
  Lines         246      101     -145
==========================================
- Hits          222       84     -138
+ Misses         24       17       -7

Impacted Files
Coverage Δ

include/spdlog_setup/conf.h
83.16% <84.69%> (-7.08%)
:arrow_down:

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 bfca706...59ddb49. Read the comment docs.


SSL Support?

Does burrow support SSL-enabled kafka cluster(s)? Looking through the documentation, I can't find anywhere specifically where I'd have to change the burrow config to allow for monitoring of Kafka endpoints that only serve SSL

it does.
burrow uses sarama to consume kafka messages, and sarama does support ssl.

Is there any configuration needed, such as providing the keystore used in kafka to Burrow? With my kafka cluster up and running using SSL (and only SSL), I am receiving the following in my burrow.out:
Started Burrow at April 27, 2016 at 1:27pm (MDT)
2016/04/27 13:27:47 Connected to <IP_ADDRESS>:2181
2016/04/27 13:27:47 Connected to <IP_ADDRESS>:2181
2016/04/27 13:27:47 Authenticated: id=95555382589981222, timeout=6000
2016/04/27 13:27:47 Authenticated: id=95555382589981223, timeout=6000
Burrow failed at April 27, 2016 at 1:27pm (MDT)
F
2016/04/27 13:27:47 Send loop terminated: err=<nil>

I've got burrow working against servers not advertising SSL, and requiring ssl for interbroker communication.  But as soon as I turn on SSL as the primary means, burrow fails to start.
burrow.err doesn't provide me anything outside of:
Reading configuration from /usr/local/burrow/burrow.cfg

Running go 1.6 on ubuntu 12.04.5

While sarama supports TLS, the version that Burrow is set to use with Godeps does not, and I'm loathe to ever update it because they constantly change the interfaces.
We're going to have to pull a new version to test with and see what else will have to be updated alongside it. Right now, I need to go through some of the other code changes and lock a release. Then we'll test TLS and lock a release for that separately.

I figured out my problem.  As a workaround, I tried to set Kafka to listen on both SSL and Plaintext, and point Burrow only at the plaintext endpoint. Something akin to:
listeners=SSL://ip:9092,PLAINTEXT://ip:9093
advertised.listeners=SSL://ip:9092

This didn't work. Even though Kafka was listening on 9093, and my burrow config pointed there, Burrow still failed.  I'm not sure if this is a Burrow problem or not (I suspect it is -- somehow Burrow is prioritizing Zookeeper's port/ip combo over what's in its own configuration file).
Trying several different iterations of this, including plaintext on the Advertised Listeners port, also failed. It wasn't until I switched the order of my listeners to put plaintext first was burrow able to connect.
listeners=PLAINTEXT://ip:9093,SSL://ip:9092
advertised.listeners=SSL://ip:9092

The hard lesson: Put Plaintext first, SSL second.

@toddpalino - what's the time frame we should be looking at for the SSL support? Our broker currently supports only SSL connections, so I guess we will have to support PLAINTEXT as well for the time being to allow Burrow to connect to the brokers

It should be pretty quick. I've already done some basic testing with the latest version of Sarama and it didn't break things. We need to add some configuration parameters for setting up SSL and pass them through, however

OK, the master version now has support for TLS. You'll need to add a section like this to your config:
[clientprofile "tlsonly"]
client-id=burrow-lagchecker
tls=true
tls-noverify=true

And then you'll need to add client-profile=tlsonly to the Kafka cluster definition part of the config. Set the tls-noverify appropriately: setting it to true means that you want to skip host certificate validation (which is bad).
The intention here is to eventually have all the client authentication bits in the clientprofile structure as well, but we're not there yet. We can also add more TLS configuration settings (I just added the one I needed) when we get there to allow client certs, special CA bundles, etc.. We'll need to come up with a good way to read all of that, however.
Please test and validate that this works for you. I've tested it locally and it appears fine.

Hi,
I had trouble starting burrow after this change. I'm not using TLS and the problem seems related to a missing section in config. The error was:
$ ./Burrow --config /Users/lrussell/Dev/Burrow/burrow.cfg
Reading configuration from /Users/lrussell/Dev/Burrow/burrow.cfg
panic: assignment to entry in nil map

goroutine 1 [running]:
main.ValidateConfig(0xc8200dc400, 0x0, 0x0)
	/Users/lrussell/Dev/Burrow/src/github.com/lucrussell/Burrow/config.go:183 +0x47e
main.burrowMain(0x0)
	/Users/lrussell/Dev/Burrow/src/github.com/lucrussell/Burrow/main.go:114 +0x2b9
main.main()
	/Users/lrussell/Dev/Burrow/src/github.com/lucrussell/Burrow/main.go:222 +0x43

I added this section to my burrow.cfg and it starts up ok now:
[clientprofile "default"]
client-id=burrow-lagchecker
tls=false
tls-noverify=false

This is resolved with the bugfix in #69

Nice! Thanks for the update. Great work with this project.

Is there any additional work being done to get SSL support in Burrow? Unless Kafka is configured with "ssl.client.auth = none" or "ssl.client.auth = requested" it does not work with this work around?

@standingb
We have a similar issue in our project with ssl.client.auth = requested set in Kafka. I`ve filed a PR that makes it possible to add cert/key/CA to Burrow config, see https://github.com/linkedin/Burrow/pull/160

Correction: I meant "ssl.client.author = required" of course :) Works perfectly fine now with pem certs in place.


Annotations not appearing in TSX / JSX files

VS Code Version:
1.28.0
Extension Version:
0.9.0
What's the issue:
I'm not sure how to debug this issue. I've installed the extension but I'm not seeing the desired effect.  See screenshot:

As you can see in the screenshot VSCode has figured out the parameter name (route) but it's not displayed. I've tried to toggle the annotations but that made no difference.
I do get two suggestions from VSCode because we're using Flow but the JS/TS extension is still enabled.

At the bottom of your file there is prob written Javascript React. It only works if you set it to Javascript. Should be fixable I guess

@lannonbr Is there any obstacle to support JSX/TSX (javascriptreact/typescriptreact) ?

@LaurensBosscher and @Titozzz, I will have to try later if I can support the two formats, but as long as the parsers which I use in the extension (Esprima for JS, Recast's TS parser for TS) support JSX / TSX, I should be able to just add those two formats. I will test it out later and if it is successful, I will push a new update.

@Titozzz This was indeed in a React component but in JS files (with type "Javascript" in the lower right corner) this also doesn't display.
See attached screenshot:

This was the simplest case I could think of, console.log should display "message", right? Both the internal JS parser and Flow do detect this and show this in the overview, this file only contains JS (no JSX) and the type is configured correctly for Javascript (as visible in the lower right corner).
Is there any way I can further debug this? Might this be related to our usage of Flow?

If you could possibly share a small code snippet, I could try later today testing it and seeing what breaks when I debug my extension. As well, if you want to try debugging it yourself and send in a possible PR if you can find a way to resolve it, I am happy to receive contributions.
As well with this, let me go make another issue to write some docs to explain how to debug the extension so if someone has never worked on vscode extensions before, I can be welcoming to them as well.

Well, i've got the same issue @LaurensBosscher, whenever I create a new file, for example test.js and write console.log(), messages displays fine when I set language to Javascript, but if I set language to javascript in one of my more complex files it's not working 😢 . I'll try to debug if you explain how to :)

For a TDLR, clone the repo down, run npm install, put in some breakpoints in some files, and if you open the debug panel in VS Code and run the "Extension" config and it will open up an instance of vscode with the extension loaded.
you likely will want to put some breakpoints in parser.ts and decorator.ts

So I dug into some things and Babel's Parser which is what recast is using for Typescript does support JSX/TSX so I will dig into this given it does support them.

So cool ❤

As well, Facebook themselves have a doc on the AST for JSX and show the tools that supports it: https://github.com/facebook/jsx/blob/master/AST.md#tools-that-work-with-jsx-ast

I'm seeing this same thing with the type set to Babel JavaScript

Note that if the file contains JSX at all, the annotations will not be displayed:

vs.

Both TSX and JSX files now work. @LaurensBosscher @Titozzz, If I give you the dev build of the next version of the extension, would you two be willing to test this out?

Here's the pre-release: https://github.com/lannonbr/vscode-js-annotations/releases/tag/0.10.0-dev. Download that .vsix file and you can install that in VS Code as described here: https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

@lannonbr I tried it out over the weekend - seems to work great, thanks!

awesome, I'll test it too :)


Errors in Zabbix Agent log file

After yesterday's update of the Zabbix Agent and the Zabbix Template for IPFire, I've checked on IPFire in "System Logs" the section "Zabbix Agent" and noticed the errors  active check "vfs.file.contents["/sys/class/net/blue0/speed"]" is not supported: Cannot read from file. every 5 minutes and active check "system.sw.packages.get" is not supported: Unsupported item key. every hour.
Looking back through the log, these errors are there since the Zabbix Agent and the Zabbix Template were activated a few months ago, but went unnoticed back then, so it's obviously not related to the latest versions.
Not sure if this is an issue with the Template or the Zabbix Agent itself, maybe someone can shed some light on that and how to resolve it, thanks!
Current environment:

Zabbix Server 7.0.4
IPFire 2.29 Update 189
zabbix_agentd 6.0.33
Template IPFire by Zabbix agent active 7.0-0.5

None of those checks are coming from my IPFire template, but probably come from the Zabbix official Linux by Zabbix Agent template.

system.sw.packages.get is defined in the Linux by Zabbix Agent (active) template and  is natively built in into the agent for getting installed software, however as IPFire is not an RPM or DEB based Linux, the agent does not support this key on an IPFire instance. So best is to disable that item in Zabbix on your IPFire host.
I will add a remark in the README.md about this.
vfs.file.contents["/sys/class/net/blue0/speed"] is coming from the Network Discovery of the Linux by Zabbix Agent (active) template and should work fine, if you have the blue network configured and working on your IPFire instance. I did not check, but possibly, if your blue0 interface has no link, it also has no speed and that file may not exist.

If you would need further help with the blue speed item, you should be able to find help on the Zabbix community.

Also added a note on the IPFire zabbix_agentd addon wiki page.

@RobinR1 Thanks a lot for your prompt and detailed answer!
You're right down to the point, so I've disabled system.sw.packages.get for IPFire in Zabbix, and blue0 is simply not configured (yet)!


A lot of changes all rolled into one

Updated Mongoose/MongoDB models

No longer inherit from a base model; instead, use default mongoose functions and timestamps
Made exports all objects
Model definition looks for the existing Model before trying to create (for SLS offline issues, specifically)

Update imports across the board

Import from @friggframework instead of assuming they exist in relative locations
Update for removed packages (/models for one)
Some imports were still expecting a single export from a given module. All modules are now exporting objects with keys to pull from/destructure (So, no more const Entity = require('./models/entity'), now const { Entity } = require('./models/entity'))

More tweaks throughout if you want to review all of the changes. I can give rationale as needed.
TODO

Tests!

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket: