Connect is blocking

Our broker was recently DDoSed, which caused a disconnect on our luamqtt end, and a reconnect attempt where the connecting routine took over a minute after which our service was automatically killed for being frozen by our watchdog.
The stacktrace showed us that in fact the ioloop is not used for connecting in mqtt: https://github.com/xHasKx/luamqtt/blob/929209a2b9d037a77d9f9e28fc8c72429b5c7dfd/mqtt/client.lua#L730 (settimeout is only applied later)
Is this an oversight or by design? Would a rearchitecturing be out of the question so that connect would be asynchronous also?
(Connect will always block if there is DNS resolving to be done so this may also not be the perfect solution for everyone).
Another option is we could establish a connection ourselves and just provide the connected socket to luamqtt.

@Python1320 , good point. I'll think about how to make connector.connect call non-blocking...

@Python1320 , I found a way how to use settimeout() on almost all stages of the connection lifetime (except DNS resolving).
But this will be a breaking change and actually it will use socket.select() technique, which may suffer if you plan to handle hundreds or thousands of simultaneous connections.
If you plan to handle such highload - you should consider using another mqtt framework with ioloop builtin into its runtime, like gmqtt for Pyhton or mqtt.js for nodejs.
On the other hand, luamqtt library is built to be small and simple, that's why it does still not have ioloop on all connection stages.
Do you still plan to use it in your project?

I have been struggling with a similar problem, I can't seem to be able to keep a client based on this library connected and listening to the broker for messages without blocking the lua socket. It makes it unusable even in my very simple use case of one publishing client, one listening client with one broker. Am I missing something?

@rafale77 , currently only TCP Connection opening process is blocking and all next stages is async thanks to ioloop, allowing other MQTT clients to work in the same lua script.
Did you used mqtt.run_ioloop(client)?

Yes I did and I observed that it opens a listener and waits for a message. While waiting, it does block my main program's socket activities.

Yes I did and I observed that it opens a listener and waits for a message. While waiting, it does block my main program's socket activities.

That's because mqtt.run_ioloop(client) is running an infinity loop to call your mqtt messages handlers when new MQTT messages arrived over TCP connection.
Which runtime is running your code?
If you want to run some parallel calculations or network communications in the same script with luamqtt - you have several options:

Start a separate OS thread or process to run your logic. In this case you have to exchange data between threads/processes somehow, you should handle it yourself.
Run your logic in the ioloop started by mqtt.run_ioloop(client). There will be some requirements for your code (it should not block for long). See an example in this test: https://github.com/xHasKx/luamqtt/blob/master/tests/spec/ioloop.lua
Run your own ioloop and adopt the luamqtt to be used in it. If you'll get an example - maybe I can help with that.
Don't use ioloop at all and try to use luamqtt in sync mode like in this example: https://github.com/xHasKx/luamqtt/blob/master/examples/sync.lua

I am slowly trying out https://github.com/flukso/lua-mosquitto but we are still using luamqtt, but with a 2 second timeout on connect and exponential backoff.
A broken MQTT connection is better in my case than a fully frozen process :)
Keeping things simple and flexible is indeed difficult.
In my case I need many things to cooperate at the same time and MQTT freezing the other parts is not acceptable.
Imagine a light switch: I want to be able to toggle the light on and off by polling the button status, but I also want to maintain a MQTT connection to tell about the switch status changes. Creating a thread for mqtt sounds like an overkill in this case, but indeed, MQTT must not block toggling the light switch on network troubles.

Did you try OpenResty - https://openresty.org/ ?
It's Lua engine has async sockets and supported in luamqtt with appropriate connector

Anyway, there is a way to provide a new method in luamqtt to start connecting async like described in https://github.com/xHasKx/luamqtt/issues/23#issuecomment-653740404
I'll try to implement it on the next week

@Python1320 The main "connect" problem is here; https://github.com/xHasKx/luamqtt/blob/master/mqtt/luasocket.lua#L12
It uses socket.connect shortcut, which is blocking without a timeout. Can be circumvented easily by using code like this;
local sock = socket.tcp()
sock:settimeout(timeout)
local ok, err = sock:connect(host, port)   --> calling `connect` on the socket, NOT the library!

The call will still be blocking, but at least it will timeout at some point and not just hang. If you use an IP instead of a name, you can take out the DNS resolution call as well.
@xHasKx As for using a select based implementation, that is pretty hard. Essentially you would rewrite Copas inside this library. So imo the better option is to keep this simple, and for non-blocking sockets refer people to Copas.


add maintenance mode

This adds the feature to be able to set Deployinator into maintenance mode.
While in that mode, every HTTP request is going to be rerouted to the
maintenance page unless the current user is part of the
Deployinator.admin_groups.

lgtm!


add doc for make

Coverage remained the same at 54.517% when pulling 9d4b36a97cc9eb7f3bfdfa88aecd463a50206c6d on wy65701436:dev into 4ab5f5ed168bcd7359c083380eacf0308caf2def on vmware:dev.

Will add more later.


Adding Modeller

Hi @elmiko @ruivieira
I've added the initial modeller app (app.py) which reads from local postgresql, does basic parameter tuning, trains a model and saves it to mongodb.
Pretty basic. Please rip it to pieces.

 My next task is to put the loop back in.

thanks for the changes @sophwats ! lgtm


README: add Read the Docs link

RtD let's you read the docs chapter by chapters and having a badge
makes it more visible.

This pull request is now managed with CodeReviewHub. Refresh.


Git lit image

Add image for git-lit project

@elotroalex, any news on this PR? I'd love to get this merged.


Change parsing and adding to the database

Need to rethink the parsing and adding of the database. Parsing is really slow. Need to:

add logging so we can track progress better during the parsing step. This will help ID what is the slow part.

Currently I am just overwriting the database entry every time. Don't know if it would be better to add an option to upsert or just insert data.

Would be nice to keep track how many new items were added along with their date. This could be done with some sort of admin collection.

One easy thing I can do is to make sure to index the useful fields. This can be done by MongoEngine when creating the objects:
http://docs.mongoengine.org/guide/defining-documents.html#indexes
Or it can be done with pymongo:
http://api.mongodb.com/python/current/api/pymongo/collection.html#pymongo.collection.Collection.create_index
MongoDB Docs:
https://docs.mongodb.com/manual/indexes/


Live app is not visible in play store

Here are 2 device in which issue was found
Realme X7 8/128 GB Android 10
Moto G31  6/128 -Android 12.

@ASN-BitHyve can you check this

Version -  1.2.6(342)
Device - Smasung m30

My device does not have NFC. Is this reason?

@cakesoft-shashank Please check

@ASN-BitHyve can you check this

Not visible still.

Working fine in my device..

Completed


refactor: bump depencies to rc2

:white_check_mark: Build TheIdServer 6.3.1-fix-dependencies1-0214 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/daa4b94abf by @)

:x: Build TheIdServer 6.3.1-fix-dependencies1-0218 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/94fd37b37b by @)


Add new form inputs to Members/SongBook Page

Build HTML

I am working on converting all of our html into handlebars.  Not there yet, I'll reach out with questions, thanks all.

I am working on converting all of our html into handlebars.  Not there yet, I'll reach out with questions, thanks all.

All pages converted to hbrs.  Page layouts and partials for header and modal, with dynamic html being produced with JQuery (members page) and handlebars (song page).

All pages converted to hbrs.  Page layouts and partials for header and modal, with dynamic html being produced with JQuery (members page) and handlebars (song page).


[firebase_messaging] API for Send to Topic

While integrating Firebase Messaging, I was surprised to see that there isn't a send method.  I can subscribe to a topic, but I can't easily send a message to that topic.  The documentation for Sending Messages says to use http.post.
I would expect a send method along with related data structures for messages.

Hi @awhitford
could you please describe how would you implement the send method
differently from the current one
and what would be the advantage of doing so
thank you

What current method?  There is no send method in the API.

I've update my question

I am admittedly a Noob with respect to Firebase Messaging.  However, messaging implies sending and receiving messages.  The Firebase Messaging API has mechanisms to receive messages; I am surprised that there does not seem to be corresponding methods to send messages.
Relying on an HTTP POST to send a message seems odd.  Why isn't there a Dart method that wraps that logic?  The HTTP POST mechanism relies on managing the sensitive Server Key (from Firebase Console, project settings --> cloud messaging --> Server key); can that not be managed using the existing GoogleService-Info.plist?
I imagine a send method and corresponding data structures that would ensure valid communications.  Things like:

an enum for priority (vs strings)
validation on title, body, etc. to enforce limits
validation on required fields

Right now, adding Firebase Messaging as a dependency does not solve all of my core messaging needs.  It sounds like I need to roll my own send wrapper that calls http post against https://fcm.googleapis.com/fcm/send with json encoded body...  Why isn't this just part of the library?
Is this library truly a Messaging library, or is it a Notification library?
The lack of a send method seems to suggest that sending messages from a Flutter app is discouraged.  Is that true?  Should architectures instead send messages from server logic or Cloud Functions (where the Server Key can be secured)?


Can I change the file names to README.md???

Can I change the file names to README.md so it opens up automatically ???

Sounds like a good idea!

@GreenJoey Yes, I agree with you!
feel free 👍
Thanks!


refact: optimize and sort imports

Related Issue
https://github.com/globocom/megadraft/issues/407
Proposed Changes

Remove unnecessary imports
Sort imports

LGTM!


API error at login

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
APIVersion 2019-06-01 is not available
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 625, in execute
    raise ex
cli/core/commands/__init__.py, ln 689, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 682, in _run_job
    six.reraise(*sys.exc_info())
...
azure/cli/core/_profile.py, ln 844, in find_through_interactive_flow
    result = self._find_using_common_tenant(token_entry[_ACCESS_TOKEN], resource)
azure/cli/core/_profile.py, ln 877, in _find_using_common_tenant
    tenants = client.tenants.list()
mgmt/resource/subscriptions/subscription_client.py, ln 122, in tenants
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-06-01 is not available

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login -o {}

Expected Behavior
Environment Summary
Linux-4.12.14-lp151.28.40-default-x86_64-with-glibc2.3.4
Python 3.6.10
Installer: RPM

azure-cli 2.3.1

Additional Context

add to S173

This issue got resolved deleting browser cache.
Thanks,
Pete

From: yonzhan<EMAIL_ADDRESS>Sent: Wednesday, July 1, 2020 1:29 PM
To: Azure/azure-cli<EMAIL_ADDRESS>Cc: Petteri Hakkarainen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Azure/azure-cli] API error at login (#14161)
add to S173
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/14161#issuecomment-652336468, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM6K32SQUOZPA7ZLHMLHVSDRZMFXTANCNFSM4ONIOM5A.


Feature/circle check mark icon and forms horizontal separators

Hi @leorossi
in the following PR:

updated an icon and I give a better version for PlatformaticIcon stories
horizontal separator moved outside due to FIgma design

Hi @leorossi
here how PlatformaticIcon Stories looks like


Make separate browser bundles with the Emscripten browser-only build

Refactors the build scripts to create separate browser bundles, using an Emscripten browser environment build to cut out the Node-specific code.
The yarn dist command now makes the following bundles:

dist/h3-js.js - CommonJS multi-platform bundle
dist/h3-js.es.js - ES6 multi-platform bundle
dist/h3-js.umd.js - UMD multi-platform bundle
dist/browser/h3-js.js - CommonJS browser-only bundle
dist/browser/h3-js.es.js - ES6 browser-only bundle

The browser field remaps the multi-platform bundles to the browser bundles for tools like Webpack and Rollup.
I still need to test that this all works as expected; I'm hoping that @Pessimistress and @macrigiuseppe might be able to confirm that these bundles work in the Kepler and Deck.gl builds.

Pull Request Test Coverage Report for Build 98

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 94:
0.0%

Covered Lines:
308

Relevant Lines:
308

💛  - Coveralls

Pull Request Test Coverage Report for Build 97

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 94:
0.0%

Covered Lines:
308

Relevant Lines:
308

💛  - Coveralls


Project not working correctly

Hey started the program on Unity and it worked. However, it never changes when I press send. Do you know what might be the Problem there? It is trying to connect to TCP, but seldomly connects. Adding to that I also cannot rarely press the send button. Any help will be appreciated.

Hello there,
I can't completely follow. What does never change? The text you receive?
Step by Step instructions for TCP:

Run WindowsServer/RunTcpServer.bat (and leave it open)

Open Scenes/NetworkExampleClient.unity and hit play.
Click on Connect TCP

Enter text in the input field and click Send

Enter another text and click Send again

You should see the two different message 10 times each (since it is repeating the text 10 times by default).

Vielen Dank! Now it seems a lot more understable because of the Server, but I don't know where can I install the Server from?

I am sorry for the inconvenience! Everything works fine now! Thank you, for replying so quickly. By the way, can you speak German?

Oh and I have one final question: Is there a way to see the Code from the Server side? Would be greatly appreciated since I am trying to understand all of that Server stuff!!

Oh and I have one final question: Is there a way to see the Code from the Server side? Would be greatly appreciated since I am trying to understand all of that Server stuff!!

Sure, the server code comes from https://github.com/chronoxor/NetCoreServer Take a look at the performance folder. In case of TCP it is just the compiled version of TcpEchoServer.

By the way, can you speak German?

I do speak German, but I would like o stick to English so others can follow the conversation more easily if they have the same question :)

Hey I know the following might not fit to the topic perfectly but do you know how do the same server client connection with another wifi? I don't understand at all how I can get another IP adress

Hi again,
well you just need to find out the publicly available ip address of your server.

If you get a VPS or set up a server at any online webserver service you will get your own ip, so that is quite straight forward.
If that server is in the same local network, you need to set to local ip as your target ip (eg. 10.0.0.x or 192.168.0.x)
If your server is in a different wifi than yours you need to somehow expose that IP to be reachable from outside. There are some services that can do that, but I never tried that.

That should do it. I will probably use a google cloud as my server. And I got one last question: Where did you all of your knowledge so that I can also understand how I all of it works. I tried looking up matching books but I couldn't really find any. Thank you in advance!

I would say most of my knowledge comes from University and just learning by doing. Sadly, I don't have a specific book I can point you to. I recommend doing small projects and setting small goals to get to where you want to get one step at a time.


I wanna know how to play a video (.mp4) cutscene before the title screen.

What is your question?
So I'm not sure how exactly to do this (hence me posting this question -_-), so here we go:
I wanna know how to play a video (.mp4) cutscene before the title screen.
Basically, as soon as you start the game up, the video plays. Then, when it finishes, it takes you straight to the main menu screen.
(This is just an extra, but if I find out how to make the main menu screen fade in, that would be great. But my main priority is above..)
Maybe just paste the code in an answer if you can find out?? I dunno.
Thanks to anyone who tries to help!

#8659

#8659

Alright I'll see if this works. Thanks!

#8659

Wait so what line in TitleState.hx do I put "new FlxVideo(assets/videos/videonName.mp4')?"

#8659

This didn't work.
What's the codeline I'm supposed to add in TitleState.hx and on what line is it?


[core] Improve the documentation for ConnectionMonitor

Add docs covering each property, describing exactly how the value is calculated.
Addresses https://github.com/alanmcgovern/monotorrent/issues/488

@YegorStepanov FYI :)


test: pm: add test cases for pm to improve coverage

Most of the power management module is tested by test cases in
tests/subsys/pm, this patch provide cases to improve coverage.
Signed-off-by: Meng xianglin<EMAIL_ADDRESS>

@mengxianglinx , the buildkite/zephyr failed. Does it have anything to do with your change?

Thank you @ceolin , sincerely. You are right, I should do things in the way that we recommend, now the patch is refined, can you take a look again?

@mengxianglinx , Is the PR still valid?

Power management subsystem has been overhauled since this patch, I need update it accordingly. I'm working on it.

Some of the things that are being tested here are already tested in tests/subsys/pm/device_wakeup_api/. Why duplicate it here ?
Can you explain what it is doing different (related with this API) from that test ?

I think tests/subsys/pm/device_wakeup_api/ is only for native_posix.
this patch is trying improve test coverage(on api, line, branch levels) for multiple platforms.

Power management subsystem is changed significantly, this PR is not suitable to cover these changes. close it.


Allow a user to specify an id and in/out id with scope flows #839

closes #839

I've pulled and tested again after the latest commit.  Still works perfectly, and resolved the timezone-related failure in TestPrintEvents/simple.  Merge at will!  =)


Suggestion: Rename "namespace" to "appName"

Because namespace is confusing, especially with our internal tools, where we also use the term namespace, but with a different meaning.
/cc @jhiode @matthias-reis

How about just using name? That way, it would be the same as in package.json - and work exactly like version.


Update node package plugins to not precompile builds

[ ] Chatbox
[ ] Comments
[ ] Edit
[ ] Profile hover

Our plugins currently reference a prebuilt version of the plugin, which is inefficient as it doesn't allow for removing duplicated node packages when being built by the dapp it's included in.

Creating an example app that consumes the different plugins via npm install

All plugins but profile-hover have been updated to not use a prebuilt package.  Talked with Zach about next steps for profile-hover which is built in a different way (for html + react), the component is not nearly as large as say Chatbox, so fixing this is less pressing, but will get to it when Zach has time to look into it.  I can as well but doing so will take a little more time and didn't want it blocking the other more pressing plugins


[vcpkg-tool] Make vcpkg_from_git asset cacheable

Currently vcpkg_from_git is not asset cachable because git archive creates archives with different hashes.
Solutions: Use https://github.com/microsoft/vcpkg/pull/25051#issuecomment-1146763193
git -c core.autocrlf=false archive --format tar --prefix=archive/ HEAD | tar -xf - && tar --sort=name --mtime='2020-06-05 00:00Z' --clamp-mtime --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=777 -cf vcpkg-test.tar archive/
to create reproducible archives (requires GNU tar / tar from git for windows).

still relevant

still relevant

If I understand correctly this is more complex than simply building a stable archive - the vcpkg_from_git script would need to be modified to actually talk to the asset cache and accept a corresponding SHA512 for the asset.
I'm interested in this feature because my team at Microsoft wants to use vcpkg to consume an internal library. Our build environment (CloudBuild) lives behind a firewall and only has access to the asset cache, so we can't clone the AzureDevOps repo where the code is hosted.


Improvements

Improving dutch language

Why removing so much language strings from en.json?

Why removing so much language strings from en.json?
First time using pull request. Didn't remove anything i just updated it.


Rom alias seen as missing rom

Yes, found the bug too last week. Already fixed and comes with the next update (including an alias mapping dialog).

Fixed with 1.3.4


using correction of Kotlin and Guava

The project is in Java 8, should use jdk8 version of Kotlin stdlib.
This is an Android project, should use Android version of Guava

I warmly recommend to squash some commit

git rebase -i upstream/master then you can squash them and fix your conflicts


Add a license

While this code is all public, I didn't see a license file or anything specified in the README. It'd be good to clarify this.

It's free, and you can use it if you want to. I suppose you could take that as the "Unlicense".

Cool, that's a great license choice! Could this be made explicit in the README or in a LICENSE file so that it's clear for others as well?

I believe this repo also contains hardware, which doesn't quite work with some of the conventional FOSS software licenses. I'd recommend explicitly selecting a specific OSHW license for your hardware designs and then specifying that only the code is under Apache2/MIT.

My reading / understanding was the MIT (and/or BSD) licenses covered hardware well. The copyleft fellows had to change but not the permissive ones. A quick google seemed to back this understanding, but it seems to be murkier territory. If you have pointers to any good writeups on the issues with using MIT license for OSHW / recommended licenses we'd be happy to consider them.

This seems like a good resource. But basically, MIT shouldn't be an issue, you're correct. You might want to say that non-code in this repo is licensed under MIT and all code is dual MIT/Apache2. Then I think you'd be fully covered.


fix(ics02)!: modify MsgUpgradeClient to utilize CommitmentProofBytes for the proofs

Closes: #739

PR author checklist:

[X] Added changelog entry, using unclog.
[ ] Added tests.
[X] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Superseded with #748


Quick fix for path library API deprecations

Dependency path 17.0 removed some deprecated API which breaks this library now.

Fixed by getting rid of path.py completely


how to reload NimLime without re-opening sublimetext?

I even tried AutomaticPackageReloader but didn't work see https://github.com/randy3k/AutomaticPackageReloader/issues/15
also tried various stuff here https://forum.sublimetext.com/t/how-can-i-reload-a-plugin-in-sublime-console/34325

Fixed in https://github.com/Varriount/NimLime/commit/54337b88cb8e57c5886746808ce7522da0d9d960 .

for reference:
import sublime_plugin
sublime_plugin.reload_plugin('NimLime.core.commands.nimcheck')

Even though the modules themselves don't appear in the above log, they do appear to be reloaded:

It’s because NimLime.core.commands has a custom loader https://github.com/Varriount/NimLime/blob/master/nimlime_core/commands/init.py

See https://github.com/randy3k/AutomaticPackageReloader/issues/19


Filtering /developers resets sorting option

Describe the bug
Modifying the filter on /developers always resets the sort to "Newest".
To Reproduce
Steps to reproduce the behavior:

Go to /developers
Filter by "Availability"
Add a filter

Expected behavior
The added filter is applied and the sorting remains by "Availability".
Action behavior
The added filter is applied but the sorting is reset to "Newest".

@joemasilotti Can I work on this bug.

Sure thing! All yours.

Let's hold off for a bit - the mobile filtering PR might fix this. I'll follow up here and let you know either way.

PR #304 ended up fixing this.


Wordpress 4.4 - Responsive images and term meta

Hi! Awesome plugin!
Will Timber support responsive images and term meta? Thanks.

Hi @zcuric
Regarding responsive images, I thunk your best bet for now is just to declare your images manually, something like:
<img
    src="{{ post.thumbnail.src|resize(480) }}"
    srcset="
        {{ post.thumbnail.src|resize(480) }} 480w,
        {{ post.thumbnail.src|resize(220) }} 220w
    "
    sizes="
        (min-width: 980px) 25vw,
        50vw
    "
    itemprop="image"
    alt="{{ variation.thumbnail.alt }}" />

You can also wrap the new WordPress functions to generate the srcset. Personally I prefer doing it manually to have a bit more control hover it, but both ways will work.

@lmartins seems to have answered this pretty well, going to close this for now.

In case anyone is looking for an example of the non-manual/function wrapping route to use core's responsive images:
<img src="{{function('wp_get_attachment_image_url', post.thumbnail.id, 'medium')}}"
         srcset="{{function('wp_get_attachment_image_srcset', post.thumbnail.id, 'medium' )}}"
         sizes="(max-width: 1024px) 100vw, 1024px" alt="Post thumbnail">

Swap out post.thumbnail.id with the id of your desired image.


Update highlight.js?

I need Rust support so I downloaded the latest version, but unfortunately all highlighting stopped working. Therefore I sincerely request for an update of highlight.js (for I don't know much PHP and JS.)

Turns out that adding
(function(hljs) {
    hljs.initHighlightingOnLoad();
})(hljs);

to the end of highlight.pack.js helps.


Update EOP data file example

according to issue #2867

This change is incorrect. The array of samples needs to include the JulianDate value for each sample as well.  Compare to the EOP data file used by the specs.

@shunter  I have added modifiedJulianDate to the example and included the Julian Date values for each sample of the sample array of the example.
Can you please review this?


Add BadCredentialsError

Overview
We actually reference this class in the docs in a couple places, but we never did implement it.

Work for this issue will begin begin on branch work-liquid-labs/standard-error-set/26.

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Changes to facilitate usage as animation slider.

Thanks for this nice D3 slider.
I made small changes to be able to use this slider for an animation package in R. This remembers the DOM elements for the text and handle to improve the updateValue performance. Also, I introduced a new method silentValue, which does not notify listeners.

Thanks @fmannhardt! These changes all make sense. I'll merge the PR and also update the documentation.

Great. Thank you


[BUG] Game crash when noclip

When I and my staff members use noclip after a certain we crash. Maybe you can optimize your script, or fix this issue?

thank you for providing the needed information for a bug report. this might just be the most useless issue request txAdmin has ever seen

Maybe you can optimize your script, or fix this issue?

I have not had a crash as a result of entering noclip anytime in my many hours of testing. If you have solid reproduction steps, please reopen this issue with those included.


SPN 84 Example Table A-1 Performance Success

Example of Revised Table A-1 Improvement for SPN 84
PGN 65265 with Supported SPNs 84
10:00:28.1087 18FEF10B [8] FF 00 00 FF FF FF FF FF
Found: Cruise Control/Vehicle Speed 1 from Brakes - System Controller (11):
SPN    69, Two Speed Axle Switch: 11
SPN    70, Parking Brake Switch: 11
SPN  1633, Cruise Control Pause Switch: 11
SPN  3807, Park Brake Release Inhibit Request: 11
SPN    84, Wheel-Based Vehicle Speed: 0.000 km/h
SPN   595, Cruise Control Active: 11
SPN   596, Cruise Control Enable Switch: 11
SPN   597, Brake Switch: 11
SPN   598, Clutch Switch: 11
SPN   599, Cruise Control Set Switch: 11
SPN   600, Cruise Control Coast (Decelerate) Switch: 11
SPN   601, Cruise Control Resume Switch: 11
SPN   602, Cruise Control Accelerate Switch: 11
SPN    86, Cruise Control Set Speed: Not Available
SPN   976, PTO Governor State: Not available
SPN   527, Cruise Control States: 111
SPN   968, Engine Idle Increment Switch: 11
SPN   967, Engine Idle Decrement Switch: 11
SPN   966, Engine Diagnostic Test Mode Switch: 11
SPN  1237, Engine Shutdown Override Switch: 11
INFO: <IP_ADDRESS>.d - N.6 SPN 84 provided by non-OBD ECU Brakes - System Controller (11)

PGN 65271 with Supported SPNs 158
10:00:28.1592 18FEF703 [8] FF FF FF FF FF 00 FD 00
Found: Vehicle Electrical Power 1 from Transmission #1 (3):
SPN   114, SLI Battery 1 Net Current: Not Available
SPN   115, Alternator Current: Not Available
SPN   167, Charging System Potential (Voltage): Not Available
SPN   168, Battery Potential / Power Input 1: 12.750 V
SPN   158, Key Switch Battery Potential: 12.650 V
INFO: <IP_ADDRESS>.d - N.6 SPN 158 provided by non-OBD ECU Transmission #1 (3)

Complete, not a performance deficiency


My tx stuck at "sign the claim": wormhole v1 ImBTC token from SOL to ETH

I used https://v1.wormholebridge.com/#/move?from=SOL&token=IBBTC
To move IBBTC from Solana to Eth
https://explorer.solana.com/tx/4sNgbUDNjKpkXfyM9RZhYJTJMkvtbNTLbnk1nsfxUDKuShKxdK7BQjvvwXQjL1GLg6hZNFn39JR32ndDSceGopT7
Everything was going fine
But when I received messages "sign the claim"  on the network Eth
I found out that my metamask was connected to another network, I changed network to Eth in metamask
but window with a transaction to receive coins did not appear on metamask...
after that I refresh the site, but it didn't help either
At the moment, I do not see my transaction anywhere on the site, and accordingly I cannot make the claim tokens in the Eth network or return them back to the Solan network.
Thank you for your help.

Also I tried to clear cache and reloading v1.wormholebridge.com, it didn't help

if yet not solved, you can see past closed tickets on this issues.
a solution has been provided by also developer.
i hope your fortunate.

if yet not solved, you can see past closed tickets on this issues.
a solution has been provided by also developer.
i hope your fortunate.

Thanks bro. It helped


netlib: Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL]

Summary
NET_SOCK_* is defined by nuttx/net/netconfig.h and then can be shared
Continue the work done by: https://github.com/apache/incubator-nuttx/pull/5034/commits/78822d58078df9a648be8730f224b6187fbd680f
Impact
No, refactor only
Testing
Pass CI

Please ignore "Mixed case identifier found" warning caused by cJSON library.

@gustavonihei could you take a review?


Sigma didn't launch as it was missing a file.

The original error was that the client was missing ViaBackwards-5.0.4.jar, which can be found at
\Users[user]\AppData\Roaming.minecraft\libraries\com\mentalfrostbyte\ViaBackwards\5.0.4
The file was missing for me, probably not the case forr others, but you can get it from https://github.com/MarkGG8181/cloud/blob/main/sigma/ViaBackwards-5.0.4.jar
This fixed the crashing issue for me.

打不开

 打不开

Your launcher is overriding the json file and trying to download from their own file host. Switch to a launcher that doesn’t force their own host.

The original error was that the client was missing ViaBackwards-5.0.4.jar, which can be found at
\Users[user]\AppData\Roaming.minecraft\libraries\com\mentalfrostbyte\ViaBackwards\5.0.4
The file was missing for me, probably not the case forr others, but you can get it from https://github.com/MarkGG8181/cloud/blob/main/sigma/ViaBackwards-5.0.4.jar
This fixed the crashing issue for me.

Fixed in launcher and sixth build. JSON file had incorrect url to the viabackwards jar.


Fix build issue with GNU 9.2.0

This PR introduce minor changes to the UFS Aerosols component that are required in order to build with GNU 9.2.0

The only change is in the changelog ...   is this just to document an earlier PR?

@tclune - Thanks for noticing that!

This changed file is not used in GEOS.  Thus safe.


hfinder does not display the field

hcam-finder version: 1.3.2 (up to today)
Python version: 3.11.4
Operating System: macOS Mojave 10.14.3

Description
I launched hfinder and I get some prints related to ginga:
/opt/anaconda3/envs/hipercam/bin/hfinder:41: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  OLD_GINGA = LooseVersion(ginga.__version__) <= LooseVersion("2.7.1")
2023-07-24 17:53:04,065 | I | ImageView.py:986 (capture_default_viewer_profile) | captured default profile
2023-07-24 17:53:04,068 | I | ImageViewTk.py:90 (choose_best_renderer) | best renderer available is 'pil'

Then, I input a target, click on 'query simbad', the coordinates are displayed, click on 'Load image', and the finding chart window keep in black. It is not displaying the field. And some errors are displayed. However, I can save the finding chart and it shows the field.
Here you can find the error message:
AttributeError: 'ImageDraw' object has no attribute 'textsize'
2023-07-24 17:57:19,727 | E | ImageView.py:1384 (redraw_now) | Error redrawing image: 'ImageDraw' object has no attribute 'textsize'
Traceback (most recent call last):
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/ImageView.py", line 1368, in redraw_now
    self.redraw_data(whence=whence)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/ImageView.py", line 1407, in redraw_data
    self.private_canvas.draw(self)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/DrawingMixin.py", line 708, in draw
    super(DrawingMixin, self).draw(viewer)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/CompoundMixin.py", line 126, in draw
    obj.draw(viewer)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/DrawingMixin.py", line 708, in draw
    super(DrawingMixin, self).draw(viewer)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/CompoundMixin.py", line 126, in draw
    obj.draw(viewer)
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/types/astro.py", line 415, in draw
    cx, cy = self.get_textpos(cr, tn, cx1, cy1, cx2, cy2)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/canvas/types/astro.py", line 424, in get_textpos
    htwd, htht = cr.text_extents(text)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/pilw/CanvasRenderPil.py", line 98, in text_extents
    return self.cr.text_extents(text, self.font)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/envs/hipercam/lib/python3.11/site-packages/ginga/pilw/PilHelp.py", line 134, in text_extents
    retval = self.ctx.textsize(text, font.font)
             ^^^^^^^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'textsize'

I hope I explained the error properly.
Best,
Jaume

Hi @StuartLittlefair ,
Yes, my installed versions in the environment are:
import ginga
import PIL
print(ginga.__version__)
4.1.0
print(PIL.__version__)
10.0.0

Best,
Jaume

Hi @JaumeOM
I can confirm that this is a conflict between ginga and the latest version of pillow.
For now you should be able to fix this with
pip uninstall Pillow
pip install Pillow==9.5
I have registered a bug with ginga who will update this in the next release

Hi @StuartLittlefair ,
I confirm that the field is now displayed. Thank you!


RDS Proxy

Hi,
When does the RDS Proxy support get released in terraform released during 2019 reinvent? I see the service supported in the RDS console already (us-west-2).

+1

+1

+1

+1

+1

I know, we all want to have this immediately after AWS re:invent.
We can't do much without having this feature supported by Terraform AWS provider before we can add it to this module.
From what I understand, it is not supported there yet. Am I wrong?

When is suppport for RDS proxy coming ?

@antonbabenko pleas refer to these. The AWS cli supports it now.
https://aws.amazon.com/rds/proxy/
https://docs.aws.amazon.com/cli/latest/reference/rds/index.html

Terraform does not call the AWS CLI. Support needs to be added to the terraform aws provider before this module can use the feature.
There's an issue requesting support here: https://github.com/terraform-providers/terraform-provider-aws/issues/12690
And looks like someone has created a PR adding the resource: https://github.com/terraform-providers/terraform-provider-aws/pull/12704

+1

+1

This resource is now supported in AWS provider v3.5.0 (ref https://github.com/terraform-providers/terraform-provider-aws/pull/12704).

we'll need to wait most likely for the proxy target before we can look at bringing this in. without the target, the proxy is not pointed at any database instances and therefore not usable unless manually configured. hopefully this resource makes it in on 3.6.0 https://github.com/terraform-providers/terraform-provider-aws/pull/12784

Any idea how do I add Database proxies to a lambda in terraform? I am afraid it is not supported (not sure if this PR will solve it)

This has been released in version 3.9.0 of the Terraform AWS provider.
https://github.com/terraform-providers/terraform-provider-aws/pull/12784#issuecomment-702910011

Any idea how do I add Database proxies to a lambda in terraform? I am afraid it is not supported (not sure if this PR will solve it)

It seems not to support yet

https://github.com/clowdhaus/terraform-aws-rds-proxy

https://github.com/clowdhaus/terraform-aws-rds-proxy

Any idea how do I add Database proxies to a lambda in terraform? I am afraid it is not supported (not sure if this PR will solve it)

Still not supported?

what is the question?

The question is probably related to some people having an expectation that this feature should be part of this module also. I don't think so because RDS Proxy is a rather complex piece (see resources created in the module).
I would like us to have a link in the README to the https://github.com/clowdhaus/terraform-aws-rds-proxy explaining relations.

ah ok, I see. I didn't know if it was asking about RDS Proxy support in the module or support to add the config to Lambda functions, etc.
Yes I can add something to the documentation. I agree - especially with having multiple proxies point to the same RDS instance (i.e. - one for IAM auth, one for standard auth, etc.), and we would also need to add support for the Aurora module as well - its best if its separate. makes life more simple and the modules easier to manage


gitlab-ci: use CERN gitlab templates for pushing images and charts

This PR updates gitlab-ci manifest to build and push image and chart to CERN registry. The push is done under condition that a commit was tagged.
To be merged after https://github.com/cernops/cvmfs-csi/pull/39.

I've removed the test jobs. Let's start simple for now.


lxd/db: Sort container snapshots by creation date

This fixes #5809
Signed-off-by: Thomas Hipp<EMAIL_ADDRESS>

Looks like there new static analysis errors that need addressing:
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/patches.go:501:2: ineffectual assignment to poolID
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/patches.go:798:2: ineffectual assignment to poolID
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/patches.go:1097:2: ineffectual assignment to poolID
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/patches.go:1597:2: ineffectual assignment to poolID
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/proxy_device_utils.go:58:2: ineffectual assignment to listenPid
/lxc-ci/build/tmp.8xkaS8Ucml/go/src/github.com/lxc/lxd/lxd/proxy_device_utils.go:59:2: ineffectual assignment to connectPid

Those are unrelated to this PR but are in the way of this getting merged. Please investigate and fix in a separate commit.

Looks good to me but I'd like @freeekanayaka to respond above before merging


ModelNet(8k) accuracy of 1024 PCs

Hi, I test the accuracy of the finetuning ModelNet40(8k) checkpoint on 1024 points, and the result shows that the accuracy is about 68.52% without voting. I am curious if the model's after the finetuning with 8k PCs is only suitable for the case of 8k PC input?
Model: ModelNet40 (8k)
Input : 1024 PCs  ->  Accuracy: 68.52%
Input : 8192 PCs  ->  Accuracy: 93.40%
The number of points is changed through N_POINTS in ModelNet40.yaml
Or is this something wrong with my command:
command: python main.py --config cfgs/finetune_modelnet_8k.yaml --test --exp_name test --ckpts /Point-MAE/checkpoint/modelnet_8k.pth

Yes, it is normal. We also tested this finetune pipeline before and found similar results. I guess the point cloud density is different from the image resolution, so this way cannot work.

Thanks for your reply.  :)


Move duskbound stone to artisan's worktable

This will prevent people from uncrafting it

We probably won't need this anymore since we're not including it in worldgen.


TEST-#5851: test api of cat/sparse accessors

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #5851
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@YarShev ready for merge


Various patches endpoint updates

This PR closes #155

Converts patch endpoints from using tags to COBs.
Adds an endpoint for single patch retrieval
Adds partial and complete diffs

You can rebase this now, I merged the patch count pr.

@cloudhead Please let me know if you have any other observations, I feel like we are at a good place, with just enough room for improvement hehe
Will do a rebase + squash when you are okay with it

Ok did a squash and rebase and fixed the last issues, and found some things to clean up make tidier


useDeleteThread

Implement a hook to delete a thread from the client.
Require an additional admin permission for comments to be able to delete any threads.
Definition
function useDeleteThread(): ({ threadId: string }) => void;

Usage
const deleteThread = useDeleteThread();
deleteThread({ threadId: "th_xxx" });

I read the documentation and research a lot and found some soution. can I contribute to this


BASH pipe

BASH does not accept pipes so:
seq { "test.txt" }
|> Seq.iter (fun file ->
    cli {
        Shell BASH
        Command $"{file} | echo"
        WorkingDirectory __SOURCE_DIRECTORY__
    }
    |> Command.execute
    |> Output.printText)

Does nothing.

Occured in tests while testing around in #52.

It does work with:
$"echo '{file}' | cat"
Like in the bash, so it works as expected.


Change testnet urls to use https

Updated testnet urls to use https by default, so it won't block under chrome for things like github pages that use https.
Ran npm run-script build

ty for this report. Will do so. Sorry


Hide battery status from HomeKit?

Describe The Bug:
When asking siri "What is the pool temperature?" she will respond with the battery percentage.
To Reproduce:
Add temp sensor to homebridege/homekit - label as pool temp
Expected behavior:
When asking what is the pool temp - expect siri to respond with the temp not the battery status.
Logs:
[29/08/2024, 19:25:52] [YoLink] Device initialized: YS8004-UC (d88b4c010005b798) Pool Temperature
Show the Homebridge logs here, remove any sensitive information.

**Plugin Config:**

{
    "name": "YoLink",
    "platform": "YoLink",
    "tokenURL": "https://api.yosmart.com/open/yolink/token",
    "apiURL": "https://api.yosmart.com/open/yolink/v2/api",
    "mqttPort": 8003,
    "userAccessId": "",
    "secretKey": "",
    "refreshAfter": 3600,
    "verboseLog": false,
    "liteLog": true,
    "allDevices": true,
    "excludeTypes": [
        "Hub",
        "SpeakerHub"
    ],
    "deviceTemperatures": false,
    "enableExperimental": false,
    "devices": [
        {
            "deviceId": "d88b4c010009b09b",
            "config": {
                "hide": "hydro"
            }
        },
        {
            "deviceId": "d88b4c010005b798",
            "config": {
                "hide": "hydro"
            }
        },
        {
            "deviceId": "d88b4c01000454dc",
            "config": {
                "useWaterFlowing": true
            }
        }
    ]
}

**Environment:**

* **Plugin Version**:1.6.1
* **Homebridge Version**: 1.8.4
* **Node.js Version**:18.18.0
* **NPM Version**: 11
* **Operating System**: Raspbian

I'll take a look.  But this feels rather like a Siri bug.  I assume that the temperature displays okay in the Apple Home app?

Thanks. Yes it does.  Hoping we could hide battery like you’ve configured
to hide humidity on a sensor that doesn’t have it :). Appreciate your work.
Sent from Gmail Mobile
On Fri, Aug 30, 2024 at 11:29 PM David Kerr @.***>
wrote:

I'll take a look. But this feels rather like a Siri bug. I assume that the
temperature displays okay in the Apple Home app?
—
Reply to this email directly, view it on GitHub
https://github.com/dkerr64/homebridge-yolink/issues/102#issuecomment-2322749741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADV6FEGA3KRX3GCNIBD7AHDZUE2BFAVCNFSM6AAAAABNLM63R6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSG42DSNZUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Correct macOS on-prem validation

The macos-13-arm64 Azure-provided image updated from 20231024.2 to 20231115.2 between helix-machines runs #20231115.10 and #20231116.01. The change isn't mentioned in the image's Readme.md or the 20231115 release notes. However, the agent's default python3 (v3.11.6 though v3.12.0 is also provided) now shows up earlier in $PATH than the version we install (v3.9.13). The result is a validation failure for our macos-python-3 artefact.
From #20231116.01, the error is
+ echo 'Python 3.11.6 found, expected 3.9.13.'
+ exit 1
/etc/osob/validate/macos-python-3/6FUSeJ9MJ_kIIr9M6i0-R4TxfxzIffZ7CmeA5jaZ9k4.sh --version 3.9.13
Python 3.11.6 found, expected 3.9.13.
+ _result=1
+ echo '    <testcase classname="macos-python-3" name="macos-python-3.validate" time="1">'
+ '[' 1 -ne 0 ']'
+ result=1

It may be sufficient to change validation in macos-python-3 to allow use of any Python version greater than or equal to the one we install. Another option would be to determine exactly where we place the v3.9.13 executable and ensure that's first in the $PATH. I'll try the first b/c I prefer we move closer to the #465 ideal … move to latest Python and Pip everywhere we can.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[x] Internal Infrastructure Improvements

Release Note Description
Reacting to an Azure-provided image change, we adjusted our macOS validations to allow a newer Python version than our artefacts install.

taking this b/c I have the necessary code in one of my branches

/fyi !35305 resolved this problem. should roll out tomorrow.

done :grin:


How to run this

In the package.json it not showsing any commands ro run the APP

FixTweet is designed for serverless platforms such as Cloudflare Workers, which is free. Please follow the instructions at https://github.com/FixTweet/FixTweet?tab=readme-ov-file#deploy-fixtweet-yourself. If you have any other questions feel free to follow up. Closing this issue as it does not seem there is anything for us to fix at this time.


Fix pip install error for healthcareai (conda)

@levithatcher commented on Thu Feb 23 2017
May have to upload healthcareai to conda

dupe


ARROW-3060: [C++] Factor out string-to-X conversion routines

Codecov Report

Merging #2433 into master will increase coverage by 1.29%.
The diff coverage is 99.45%.

@@            Coverage Diff             @@
##           master    #2433      +/-   ##
==========================================
+ Coverage   85.47%   86.76%   +1.29%
==========================================
  Files         300      241      -59
  Lines       45849    42756    -3093
==========================================
- Hits        39190    37098    -2092
+ Misses       6585     5658     -927
+ Partials       74        0      -74

Impacted Files
Coverage Δ

cpp/src/arrow/type_traits.h
96.66% <ø> (ø)
:arrow_up:

cpp/src/arrow/compute/kernels/cast.cc
90.82% <100%> (-0.72%)
:arrow_down:

cpp/src/arrow/util/parsing.h
100% <100%> (ø)

cpp/src/arrow/util/parsing-util-test.cc
99.22% <99.22%> (ø)

go/arrow/math/float64_amd64.go

go/arrow/math/uint64_amd64.go

rust/src/list.rs

go/arrow/math/math_amd64.go

go/arrow/array/list.go

go/arrow/array/numeric.gen.go

... and 57 more

Continue to review full report at Codecov.

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


Socket Mode: ENOTSOCK every 300 minutes on Windows

Edit: updated reproducible versions to latest.
Functionality is not impacted; the reconnect happens properly. This bug is about log spam.
Reproducible in:
slack-sdk-3.7.0
slack-bolt-1.6.1
Python 3.7.8
MINGW64_NT-10.0-18363
Microsoft Windows [Version 10.0.18363.1621]
Steps to reproduce:
app = slack_bolt.App(token=<OAUTH_TOKEN>, signing_secret=<SIGN_SECRET>, logger=...)
handler = slack_bolt.adapter.socket_mode.SocketModeHandler(app, <APP_TOKEN>)

Run, then wait 300 minutes.
Actual result:
Every 300 minutes, this error is logged.
2021-07-06 18:53:32,090 S.Sok ERROR on_error invoked (session id: 2585b6bb-07ea-470e-be5c-449bf120f013, error: OSError, message: [WinError 10038] An operation was attempted on something that is not a socket)
Traceback (most recent call last):
  File "...\slack_sdk\socket_mode\builtin\connection.py", line 289, in run_until_completion
    all_message_trace_enabled=self.all_message_trace_enabled,
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 235, in _receive_messages
    logger=logger,
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 251, in _fetch_messages
    remaining_bytes = receive()
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 226, in receive
    raise e
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 217, in receive
    received_bytes = sock.recv(size)
  File "C:\python3\lib\ssl.py", line 1058, in recv
    return super().recv(buflen, flags)
OSError: [WinError 10038] An operation was attempted on something that is not a socket

Analysis
10038 is WSAENOTSOCK and (in Python on Windows) also errno.ENOTSOCK. It's roughly comparable to EBADF (see for example https://bugs.python.org/issue13344) Should it be caught in _fetch_messages?
            except OSError as e:
                if e.errno == errno.EBADF:  # if e.errno in (errno.EBADF, errno.ENOTSOCK)
                    logger.debug("The connection seems to be already closed.")
                    return bytes()

Other info
Every now and then (~25% of the time?) this error is logged immediately afterwards.
2021-07-06 18:53:35,412 S.Sok ERROR Failed to establish a connection (session id: f1c1ee8e-a386-4e8a-8bd4-81b911c4a813, error: The read operation timed out)
Traceback (most recent call last):
  File "...\slack_sdk\socket_mode\builtin\connection.py", line 139, in connect
    status, headers, text = _parse_handshake_response(sock)
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 150, in _parse_handshake_response
    line = _read_http_response_line(sock)
  File "...\slack_sdk\socket_mode\builtin\internals.py", line 129, in _read_http_response_line
    c: str = sock.recv(1).decode("utf-8")
  File "C:\python3\lib\ssl.py", line 1056, in recv
    return self.read(buflen)
  File "C:\python3\lib\ssl.py", line 931, in read
    return self._sslobj.read(len)
socket.timeout: The read operation timed out

Hey @dubois 👋🏻 Thanks for reporting this issue and the detailed analysis!
We don't test on Windows as extensively, so receiving this feedback is super helpful. Personally, I think your analysis of checking for errno.ENOTSOCK is sound. But I'll let @seratch discuss this further before we follow up with PR!

@dubois Thanks for sharing this! I agree that we can improve this in future versions.
related issue: https://github.com/slackapi/python-slack-sdk/issues/1024

👋 Hi, we just released a new version v3.9.0rc1, which includes a fix for this issue!
https://github.com/slackapi/python-slack-sdk/releases/tag/v3.9.0rc1
Since v3.9, API clients do one retry (with the default settings) when it receives a communication error like the ones described here. If the default ones do not work for you, you can implement your own RetryHandler easily. Refer to the release note for more details. When we release v3.9.0, we will close this issue with the solution.
We would love to hear your feedback before releasing v3.9.0. If you have a chance, try the release candidate version within a few days!

Hi, I installed with
(venv) C:\Users\medibotadmin\mdbot>pip install<EMAIL_ADDRESS>(venv) C:\Users\medibotadmin\mdbot>pip freeze | find "slack"
slack-bolt==1.6.1
slack-sdk==3.9.0rc1

and this is what I see after five hours:
2021-08-12 10:42:37,700 mdbot.process_message INFO poll_for_reviews: bootstrap 4
...
2021-08-12 15:42:42,132 S.Sok ERROR on_error invoked (session id: 81f97a63-fce3-456f-8913-18ae74c168a1, error: OSError, message: [WinError 10038] An operation was attempted on something that is not a socket)
Traceback (most recent call last):
  File "C:\Users\medibotadmin\mdbot\venv\lib\site-packages\slack_sdk\socket_mode\builtin\connection.py", line 289, in run_until_completion
    all_message_trace_enabled=self.all_message_trace_enabled,
  File "C:\Users\medibotadmin\mdbot\venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 219, in _receive_messages
    logger=logger,
  File "C:\Users\medibotadmin\mdbot\venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 235, in _fetch_messages
    remaining_bytes = receive()
  File "C:\Users\medibotadmin\mdbot\venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 210, in receive
    raise e
  File "C:\Users\medibotadmin\mdbot\venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 201, in receive
    received_bytes = sock.recv(size)
  File "C:\python3\lib\ssl.py", line 1056, in recv
    return self.read(buflen)
  File "C:\python3\lib\ssl.py", line 931, in read
    return self._sslobj.read(len)

@dubois Thanks for taking the time to try the RC1 version! And, I'm sorry for bothering you as the updates on the WebClient does not help you resolve the issue described here.
Also, the analysis in your description looks valid. I will come up with updates on the relevant part and will release a new RC version including the change. Thanks for being patient and helping us resolve the issue.

Took a look at the logs after the long weekend, and I don't see the ebadf error any more. I only see a smattering of this (also mentioned ^^ as being slightly correlated with the initial exception). Since I only see the timeout and not the ebadf, the initial issue looks fixed. Thanks!
S.Sok ERROR Failed to establish a connection (session id: 8a078a8b-cc32-4b14-b1b9-ff42b49f982c, error: The read operation timed out)
Traceback (most recent call last):
  File "...venv\lib\site-packages\slack_sdk\socket_mode\builtin\connection.py", line 139, in connect
    status, headers, text = _parse_handshake_response(sock)
  File "...venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 134, in _parse_handshake_response
    line = _read_http_response_line(sock)
  File "...venv\lib\site-packages\slack_sdk\socket_mode\builtin\internals.py", line 113, in _read_http_response_line
    c: str = sock.recv(1).decode("utf-8")
  File "C:\python3\lib\ssl.py", line 1056, in recv
    return self.read(buflen)
  File "C:\python3\lib\ssl.py", line 931, in read
    return self._sslobj.read(len)
socket.timeout: The read operation timed out


errors in RDB test-cases are fixed! (solving the issue #54)

@andimou what do you think? I'll merge this one next week after the KGC meeting if no comments


https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details
The indicated URL has the line in its example:
console.log(dateControl.valueAsNumber); // prints<PHONE_NUMBER>000, a UNIX timestamp

This is incorrect; UNIX timestamps are in seconds, but this number is in milliseconds.  If you give this number to a UNIX utility that expects a UNIX timestamp, such as the date command, it will produce incorrect results:
$ date --date=@1496275200000
Wed Jan 26 19:00:00 EST 49385
The comment should indicate that this is like a UNIX timestamp, but in msec instead of seconds.
Or that it is a standard JavaScript timestamp.

@danfranklinusa good call; I've updated the comment — does this seem better to you?
https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date


Fix bugs in the example of Channel Capacity

This PR aims to fix the bugs mentioned in https://github.com/cvxpy/cvxpy/issues/1578
Also, it uses @ instead of the deprecated * for matrix-matrix multiplication
Note that xlogy(P, P) is actually e-based, and cp.entr(y) is also e-based. I think base-2 makes more sense (considering the fact that the original code has already used P*np.log2(P), which is 2-based).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!


test: use short classname for config()

Follow-up #796
Ref #802
This PR fixes the following test error with CI v4.4.0:
1) Tests\Unit\Authentication\JWT\JWTManagerTest::testParseCanSpecifyKey
ErrorException: Undefined array key "mobile"

/home/runner/work/shield/shield/src/Authentication/JWT/Adapters/FirebaseAdapter.php:145
/home/runner/work/shield/shield/src/Authentication/JWT/Adapters/FirebaseAdapter.php:112
/home/runner/work/shield/shield/src/Authentication/JWT/JWSEncoder.php:62
/home/runner/work/shield/shield/src/Authentication/JWTManager.php:[73](https://github.com/codeigniter4/shield/actions/runs/5984579479/job/16235976345?pr=801#step:11:74)
/home/runner/work/shield/shield/tests/Unit/Authentication/JWT/JWTManagerTest.php:311

I just changed the commit message.
This PR is no problem, but it seems to be better to fix the config() behavior.


Adapt to web-sys clipboard api change

Addresses #300

Thank you for the fix! I'll release a new version with it today.


Source code not updated

Yo! The new release is wonderful, thanks for working on this! Are you planning to update the source code?

Thanks! Yeah going to update it soon, the Mac and Windows versions are separate right now so I just need to combine these latest versions together and I’ll push it up.


FoundationEssentials: handle directory diff properly

We need to use FILE_FLAG_BACKUP_SEMANTICS to ensure that we are able to diff directories as well. Previously we would mishandle this case and was caught by the test suite.
Thanks to Jeremy Day for helping resolve this!

@swift-ci please test

@swift-ci please test macOS platform


Supplychain example roles reference a file which was removed in v5

Describe the bug
The roles for creating the sample webserver and for expressapi both reference a role called check/node_component which has since been removed.
To Reproduce
Steps to reproduce the behavior:

Go to the following roles:
- examples/supplychain-app/configuration/roles/create/corda/expressapi/tasks/main.yaml
- examples/supplychain-app/configuration/roles/create/corda/webserver/tasks/main.yaml
Verify the path defined on line 4 exists
Navigate to /r3-corda/configuration/roles/check/node_component
File does not exist

Expected behavior
These roles cannot be successfully executed as they reference a missing file.

Yes, this is a valid bug, the check roles have been moved from individual platforms folder to shared folder.
This needs to be updated and also check for other platforms


Moved sample scripts from test rest to main res directory

Changes in this PR:

moved sample_scripts from test resources to main resources

Codecov Report

:exclamation: No coverage uploaded for pull request head (60-keep-sample-files-together@4388e87). Click here to learn what that means.
The diff coverage is n/a.


[KARAF-5765] Enhance karaf-service on HP-UX

Add display of HP-UX service instructions + fix bad usage of shell commands in karaf-service script when used on HPUX platform

retest this please


Does promap have to return another hook?

Looking for some feedback here on a potential feature I might add to a fork, but I'm not sure if it makes sense since I'm new to lenses.
In this implementation of useProfunctorState, promap always returns a new ProfunctorState which is reliant on a hook. This is nice for defining lenses in children components.
But I am having trouble using it to dynamically create lenses in a single component. There are scenarios where I might want to use lenses "on the fly" inside a component, without creating a new hook but rather relying on the underlying hook of the parent profunctor. Like perhaps I want to create a profunctor for every item in a list of variable size. This won't work because you can't create hooks this way, but I don't really want to create a hook. I want to leverage the existing hook, but lens it without creating a new hook.
My questions are:
a) is this even a good idea to do, or does another architecture make more sense?
b) is it possible today given the existing API in some way that I'm not seeing?

Another solution would be to not useMemo every promap so we could promap inside loops and conditionals.
I've put together a POC where if args is set to false then useMemo is not called.
I don't know how this affects performance.
I'd like your take on this @staltz ?


Settings - Address line 1 field isn't providing a suggestion for "Tatabánya"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4416343&group_by=cases:section_id&group_id=229070&group_order=asc
Issue reported by: Applause - Internal Team
Action Performed:

Navigate to Profile - Address
Type "Tatabánya" in the Address line 1 field

Expected Result:
There should be suggestions
Actual Result:
Address line 1 field isn't providing a suggestion for "Tatabánya"
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/4d331f87-c905-42b0-84f5-9053753b9520
View all open jobs on GitHub

@puneetlath  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp
CC @quinthar

Proposal
Please re-state the problem that we are trying to solve in this issue.
Settings - Address line 1 field isn't providing a suggestion for "Tatabánya"
What is the root cause of that problem?
The root cause is here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L57
we have defined types as address because of which it is unable to fetch any suggestions for "Tatabánya"
What changes do you think we should make in order to solve the problem?

If we remove the resultTypes = 'address', from here, we do get suggestions for "Tatabánya"
What alternative solutions did you explore? (Optional)
N/A

Updated Proposal

Proposal
Please re-state the problem that we are trying to solve in this issue.
Settings - Address line 1 field isn't providing a suggestion for "Tatabánya"
What is the root cause of that problem?
In the AddressForm component, we do not specify the resultTypes prop as an empty string.
https://github.com/Expensify/App/blob/da7697734c1f759786eba0a643a062b4e39a47ad/src/components/AddressSearch/index.tsx#L57
Therefore, in the AddressSearch component, the resultTypes default to address and the request is going to look like command=Proxy_GooglePlaces&proxyUrl=/place/autocomplete/json?input=Tatabánya&types=address.
However, the Google Autocomplete API does not support types=address this for more supported types: https://developers.google.com/maps/documentation/places/web-service/supported_types
What changes do you think we should make in order to solve the problem?

Just how like  we set resultTypes as an empty string in IOURequestStepWaypoint over here, we should also do the same for the AddressForm component.
Let's introduce the resultTypes prop to the AddressForm  over here like resultTypes="";.
Recommended
Since Tatabánya is an establishment, the Google Autocomplete API suggests we use resultTypes as 'street_address|establishment' to find locations in the future.
What alternative solutions did you explore? (Optional)
Instead of setting the default value of resultTypes as  address, we should set it to either "" or  "street_address|establishment".
Then, fix up the rest of the places like IOURequestStepWaypoint

Proposal
Please re-state the problem that we are trying to solve in this issue.
Settings - Address line 1 field isn't providing a suggestion for "Tatabánya"
What is the root cause of that problem?
In the AddressForm component, we do not specify the resultTypes prop as an empty string.
https://github.com/Expensify/App/blob/da7697734c1f759786eba0a643a062b4e39a47ad/src/components/AddressSearch/index.tsx#L57
Therefore, in the AddressSearch component, the resultTypes default to address and the request is going to look like command=Proxy_GooglePlaces&proxyUrl=/place/autocomplete/json?input=Tatabánya&types=address.
However, the Google Autocomplete API did not find the precise address so no result was found.
More supported types: https://developers.google.com/maps/documentation/places/web-service/supported_types#table3
What changes do you think we should make in order to solve the problem?

Just how like  we set resultTypes as an empty string in IOURequestStepWaypoint over here, we should also do the same for the AddressForm component.
Let's introduce the resultTypes prop to the AddressForm  over here like resultTypes="";.
Suggestion
Since Tatabánya is an establishment, the Google Autocomplete API suggests we use 'geocode' to find locations in the future for AddressForm and IOURequestStepWaypoint.
What alternative solutions did you explore? (Optional)
Instead of setting the default value of resultTypes as  address, we should set it to either "" or  "geocode".
Then, fix up the rest of the places like IOURequestStepWaypoint

Hey @Tony-MK, I tried to do this - resultTypes = "street_address|establishment" but I am still seeing this :

Updated Proposal

There are a lot of edits in the proposal please look into this edit if needed

Since there was too many edits. So posting new proposal.
Proposal
Settings - Address line 1 field isn't providing a suggestion for "Tatabánya"
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
The root cause is here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L57
and here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L81
we are using the resultTypes as types=address in  Google Places API endpoint. We have defined types as address because of which it is unable to fetch any suggestions for "Tatabánya"
What changes do you think we should make in order to solve the problem?

We remove the resultTypes = 'address', from here:
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L57
here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L81
and here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L85
we do get suggestions for "Tatabánya" as the API is able to fetch broader set of results.
What alternative solutions did you explore? (Optional)
Alternatively, we can set it as '' i.e. resultTypes='' over here :
https://github.com/Expensify/App/blob/b8f16ba88889df5f5852ce9e7a574148a85638f1/src/components/AddressSearch/index.tsx#L57
Result :
https://github.com/Expensify/App/assets/158435970/3b7d01a8-170a-4d53-a0bd-3c710b2be40f

Hmm, I kind of don't feel like this is really a bug. It looks like Tatabánya is a city name. I think it's fine to expect a user to type in something a little more specific than just a city name.
I'm going to close this, but feel free to comment if you disagree. Sorry to everyone who posted proposals, but that's the risk of proposing before the External label is added.

Hmm, I kind of don't feel like this is really a bug. It looks like Tatabánya is a city name. I think it's fine to expect a user to type in something a little more specific than just a city name before showing suggestions.
I'm going to close this, but feel free to comment if you disagree. Sorry to everyone who posted proposals, but that's the risk of proposing before the External label is added.

I just disagree on closing this issue on one thing that what about the resultType being address which is an unsupportable api endpoint, which according to Google place api doesn't even exists. How about that ??

@neil-marcellini do you have any thoughts about that?


Question: Missing Side Bar on Linux & Windows

Description
When I open Tusk, the sidebar to the left of the notes is missing. Nothing I do can bring it back.
Error Message (if any)
No error messages

Relevant Links (if any)
No link
Environment
Tell us which operating system you are using, as well as which versions of Tusk.
Run the following script to get your OS info quickly.
OS Type: 	Linux
OS Platform:	linux
OS Release: 	4.13.0-21-generic
Architecture: 	x64

Additional Information
Include any additional information, configuration or data that might be necessary to reproduce the issue.

0.9.2 is said to have the Side Bar set as Visible by default but it wasn't visible by default here, neither the Menu Bar. I had to follow the instructions on this page in order to see the side bar.
I'm on Ubuntu 17.10 (Artful).


transferring between Nami accounts

I have all my funds in one account but was wondering how I transfer to another Nami sub account since I think when you delegate it delegates all the funds from that wallet so can't break it up unless split funds between wallets

have you tried doing a transaction from one address to the other?

yes it worked, didn't think it would and took some time but did go through
On Thu, Jan 20, 2022 at 3:46 AM Toast ⚡✨ @.***> wrote:

have you tried doing a transaction from one address to the other?
—
Reply to this email directly, view it on GitHub
https://github.com/Berry-Pool/nami-wallet/issues/240#issuecomment-1017242581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXMGP2BCMYAA6A5MDDBLVVLUW7DXRANCNFSM5MLP3Q6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Documentation on how to create Solution Templates

Documentation on how to create Solution Templates with pre defined structure (solution folders) and basic files in those folders (readmes, docs, scripts, .ignore...). Some companies and dev teams have their own standards and being able to create templates like this would be great. I know it is possible to create multi-project templates, but what I'm asking for is some documentation on how to create solution templates without projects but with some structure and basic files.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9eb0873f-6486-57fb-93db-1bc662cbbfca
Version Independent ID: 91f46431-09ff-2f01-bd20-e8e1a9490a0b
Content: Project and Solution File Types - Visual Studio
Content Source: docs/ide/reference/project-and-solution-file-types.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

@kelps Thanks for the suggestion. I'll add this to our backlog.

@prnadago Is it possible to create custom solution templates (without projects) as described?

@kelps It is possible to author a solution template with whatever content you like, using the Blank Solution template as a starting point. You won't be able to automatically create the template by using Export Template (that only works for project templates), but you should be able to author a solution template manually. Even though these steps are specific for web templates, the general steps to create a template manually are here: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-manually-create-web-templates?view=vs-2019#to-manually-create-a-web-template.
Given that we haven't had many requests for the documentation you're requesting, I'm closing out this issue. We can revisit adding documentation for this scenario if we get more requests.


Type correctness fixes

This fixes some attempts to print 64-bit integers with %d. I decided to narrow the type of MicroProfileLogGetType rather than change the format string, since a 64-bit integer for 2 bit flags is way too overkill. We should also consider narrowing other types like MicroProfileLogGetTimerIndex which also uses a 64-bit integer even though MicroProfileGetTimerIndex returns a 16-bit integer.
Beyond this there are many more type fixes possible, since there's lots of attempts to print unsigned types as signed integers. Shall I address those in this PR as well or should we keep that separate? Also, do you want to use %PRIu64 or %lld? I've seen both usages, we don't really need to use the former since we don't rely on the libc sprintf.
Fixes issue #86.

Thank you for the fixes.


extended.openjdk tests hit the 10hr timeout test-docker-ubuntu2110-armv8l-1

Please set the title to indicate the test name and machine name where known.
To make it easy for the infrastructure team to repeat and diagnose, please
answer the following questions:

test suite/name (e.g, BUILD_LIST, TARGET, CUSTOM_TARGET)? extended.openjdk
a link into recent Test_ job on https://ci.adoptopenjdk.net which showed the failure

https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_aarch64_linux/97/

Hyperlink to re-run in Grinder:
Is there an existing issue elsewhere covering this?
Which machine(s) does it work on? test-docker-ubuntu2204-armv8l-2 (job takes 6hrs32min)
Which machine(s) does it fail on? test-docker-ubuntu2110-armv8l-1

Any other details:
There are 5 test cases that fail (out of the 13,939 in extended.openjdk).
java/net/httpclient/ManyRequestsLegacy.java.ManyRequestsLegacy
jdk/incubator/vector/Byte256VectorTests.java.Byte256VectorTests
jdk/incubator/vector/Byte512VectorTests.java.Byte512VectorTests
jdk/incubator/vector/Byte64VectorLoadStoreTests.java.Byte64VectorLoadStoreTests
jdk/incubator/vector/Byte64VectorTests.java.Byte64VectorTests
These tests pass on  test-docker-ubuntu2204-armv8l-2, so these failures
java.util.concurrent.CompletionException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake   and Agent communication error: java.io.EOFException;
are not helping get the job to complete within 10hrs.  Presumably if these are understood and fixed, we may see the runs complete within the 10hrs.

Re-running with 50 hour timeout on the GA build at https://ci.adoptopenjdk.net/job/Grinder/ to see if it's reproducible and how much over the limit it is.
NOTE: There should be no performance difference between test-docker-ubuntu2110-armv8l-1 and test-docker-ubuntu2204-armv8l-2 and they're on the same physical host.

https://ci.adoptopenjdk.net/job/Grinder/6549/ completed in 9h18 on https://ci.adoptopenjdk.net/label/test-docker-ubuntu2110-armv8l-1 so it's close to 10h and may be affected when other things are running on the host.
Running the following on the two systems to see how they perform as another data point:

https://ci.adoptopenjdk.net/job/Grinder/6583/ (ubuntu2110)
https://ci.adoptopenjdk.net/job/Grinder/6584/ (ubuntu2204)

Duplicate of https://github.com/adoptium/infrastructure/issues/2923#issuecomment-1460405723


Key Codes Tutorial Proposal

Description
Tutorial Proposal for the Key Code data type in markdown. No dependencies.
Fixes # (issue)
Type of change

[x] Documentation (new)

How Has This Been Tested?
Checked preview of markdown file on VS Code.
Testing Checklist:

[ ] Tested in latest Chrome
[ ] Tested in latest Safari
[ ] Tested in latest Firefox

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have requested a review from ... on the Pull Request

Please fix the prettier errors with this PR


Custom Transformations don't work when rendered in <slot>

Say we have a global collection seasons, when using the Template Syntax, it renders the names of the seasons as expected:
<template webc:type="11ty" 11ty:type="njk">
	{%- for season in seasons -%}

{{ season.name }}

	{%- endfor -%}
</template>

However, when this same block is used within another WebC component, it doesn't render anything:

</slot>

<oh-no>
	<template webc:type="11ty" 11ty:type="njk">
		{%- for season in seasons -%}

{{ season.name }}

		{%- endfor -%}
	</template>
</oh-no>

Changing the template to a div makes it render the string contents of the njk, making me believe that the webc:type and 11ty:type attributes are ignored in render 🤔

Using the same block nested in a regular html element works as expect (f.e. when you replace <oh-no> with
)

I reproduced this one 👍🏻

Shipping with 0.11.3


Updating singer_stream.py to allow schemas without properties

While utilizing tap-zendesk (https://github.com/twilio-labs/twilio-tap-zendesk) there are some cases where the generated schema does not include a properties key in the dictionary, causing the properties = self.schema['properties'] to fail.
Defaulting properties to an empty dictionary to prevent exception in these cases without unintended side effects.

Quick sense-check on this, is the absence of properties in the schema allowed by the singer spec? I took a quick look, but couldn't find a clear answer, in part because I don't have the data that causes problem. Basically, I'm wondering if the bug is on this end or in the tap you're using.

@lucas would you be able to merge the main branch into this PR to switch to the new dependency management format (pyproject.toml)?


Allow filename to be passed as a parameter into files.create

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

[x] This is a feature request for the Python library

Describe the feature or improvement you're requesting
Right now, you can only pass a FileTypes file object into the files.create function. Therefore, when doing
with open("some_file.txt", "r") as f:
        file = f.read()
    openai_file = openai.files.create(file=file, purpose="assistants")

there is no way of passing a filename into the request (altough the endpoint accepts one, the library provides no way of passing one manually).
A workaround I found is
response = openai.files.create(file=Path(file_path), purpose="assistants")

but I think many people don't know about it, and you cannot provide a different filename than the one in the file system.
I can look into the library and make a PR myself if the feature sounds good:)
Additional context
No response

You can pass a file name by passing a tuple instead of the file contents directly. The API is the same as the underlying http library https://www.python-httpx.org/quickstart/#sending-multipart-file-uploads

Got it! Thanks:)

It does not work in my case. Below are my code:
for file in st.file_uploader('이미지 또는 PDF 파일 업로드', accept_multiple_files=True):
    st.session_state.files[file.name] = client.files.create(
        file=(file.name, file),
        purpose='assistants',
    )

However, GPT answers 'file-' as a file name when asked.

@RobertCraigie It does not work in my case. Below are my code:
for file in st.file_uploader('이미지 또는 PDF 파일 업로드', accept_multiple_files=True):
    st.session_state.files[file.name] = client.files.create(
        file=(file.name, file),
        purpose='assistants',
    )

However, GPT answers 'file-' as a file name when asked.


failed to select a version for ring.

I'm getting the following error when trying to use this crate alongside rustls:

error: failed to select a version for ring.
... required by package rpki v0.8.0
... which is depended on by [...]
versions that meet the requirements ^0.14.6 are: 0.14.6
the package ring links to the native library ring-asm, but it conflicts with a previous package which links to ring-asm as well:
package ring v0.16.11
... which is depended on by rustls v0.17.0
... which is depended on by [...]
failed to select a version for ring which could resolve this conflict

Was able to fix the problem by using a github link as dependency. Any chance of a release to bump the version though?

Funny, enough, I merged #96 a couple hours ago, so master should be there already. I wanna do a bit of cleanup before releasing 0.9.0. Can’t be far away, though.

Ah good to know. I'll close the issue since the next release is soon.


PLEASE UPDATE TO 1.20.1

PLEASE UPDATE I NEED THIS IN MY SERVER NOW LOL

Here's an updated version for 1.20.1


Fail to create FSx on-the-fly with the cluster

Environment:

AWS ParallelCluster 2.2.1
OS: CentOS7
Scheduler: Slurm
Master instance type: c5n.large
Compute instance type: c5n.18xlarge

Bug description and how to reproduce:
I was able to use an existing FSx (despite a minor issue #894), but got an error when trying to create FSx on the fly. Here's the error message:
$ pcluster create --norollback clus-with-fsx
Beginning cluster creation for cluster: clus-with-fsx
Creating stack named: parallelcluster-clus-with-fsx
Status: parallelcluster-clus-with-fsx - CREATE_FAILED
Cluster creation failed.  Failed events:
  - AWS::CloudFormation::Stack parallelcluster-clus-with-fsx The following resource(s) failed to create: [FSXSubstack, AssociateEIP, RootInstanceProfile, EBSCfnStack].
  - AWS::EC2::EIPAssociation AssociateEIP Resource creation cancelled
  - AWS::CloudFormation::Stack EBSCfnStack Resource creation cancelled
  - AWS::IAM::InstanceProfile RootInstanceProfile Resource creation cancelled
  - AWS::CloudFormation::Stack FSXSubstack Embedded stack arn:aws:cloudformation:us-east-1:753979222379:stack/parallelcluster-clus-with-fsx-FSXSubstack-12YDJ6T6SZVTY/13830d80-3ba1-11e9-85c8-122d883fe268 was not successfully created: The following resource(s) failed to create: [FileSystem].

In CloudFormation console, the earliest error in the parallelcluster-clus-with-fsx-FSXSubstack-12YDJ6T6SZVTY substack is:

Logical ID - FileSystem
Status - CREATE_FAILED
Status reason - The data repository import path is missing. (Service: AmazonFSx; Status Code: 400; Error Code: InvalidImportPath; Request ID: 72dbb484-342b-4260-814a-94f94fd832ff)

Additional context:
The stack failed before the master server was created, so I could not login and check the log files despite the  --norollback option.
The pcluster config file is almost the same as #894, except the fsx section:
[aws]
aws_region_name = us-east-1

[cluster hpctest]
vpc_settings = (master_subnet_id is the same as FSx's)
key_name = ...
base_os = centos7
master_instance_type = c5n.large
master_root_volume_size = 200
compute_instance_type = c5n.18xlarge
compute_root_volume_size = 20
initial_queue_size = 2
max_queue_size = 8
maintain_initial_size = false
scheduler = slurm
cluster_type = spot
placement_group = DYNAMIC
placement = cluster
ebs_settings = shared
fsx_settings = fs

[ebs shared]
shared_dir = shared
volume_type = st1
volume_size = 500

[fsx fs]
shared_dir = /fsx
storage_capacity = 3600
imported_file_chunk_size = 1024

[global]
cluster_template = hpctest
update_check = true
sanity_check = true

I guess The data repository import path is missing means the import_path for S3?  That shouldn't be required though?

OK setting import_path to whatever bucket fixes the problem.

The import_path argument is required when using the imported_file_chunk_size parameter.  I'll update the docs to make this clear.
The imported_file_chunk_size parameter doesn't do anything when used without a data repository. See https://aws-parallelcluster.readthedocs.io/en/v2.2.1/configuration.html#imported-file-chunk-size

Cool, just notice that, thanks!


fix underscore vuln

Problem
The version of web3 we were using, plus what we had in package-lock.json was using a version of underscore that had a severe vulnerability.
Also there is a severe vulnerability in lodash.
link to Pivotal Tracker #178101352
Solution

Installed latest versions of underscore and lodash explicitly
Completely regenerate package-lock.json
Run npm audit fix

This leaves us only with this "low" web3 vulnerability
Steps to Verify:

npm i
npm audit if this does not show you the remaining vulnerability. Only the 1 should be there.

do we need to use both underscore and lodash?

do we need to use both underscore and lodash?

I think @enddynayn is correct. Now that the package-lock.json file has the newer versions, we can remove them from the dependencies list. They are just sub dependencies, so we just needed the lock file to reflect the updates.


Can not find module 'babel-runtime/regenerator'

Previously I rebuilt packages by<EMAIL_ADDRESS> Today I  updated it to v1.5.9 but it is failed at the very beginning of rebuild process. I digged the code into node_modules/electron-rebuild/lib/cli.js and found following
var _regenerator = require('babel-runtime/regenerator')

It seems like babel-runtime/regenerator is required but the very strange thing is it had been removed from dependencies of package.json recently.
By the way, I downgraded it to v1.5.7 and it worked fine.
Hope you guies could have a look about this.
node v6.10.2
npm v4.3.0
electron-rebuild v1.5.9

Fixed in 1.5.10, leftover bug from the typescript conversion 👍


Extract and extend Scala collection mappings

I think this is a great fix to the collections issue I brought up! There's one issue though, the new Vector implementation is not specific to Scala 2.13, but specifically 2.13.2+ (see release notes). So if someone were to use optional-scala2_13-mappings with an earlier version of 2.13 they'd run into problems.

I can add a comment, for Scala <2.13.2 one can just use the 2.12 mapping.


multi-module dependencies cannot be introduced automatically

version of spring-cloud-alibaba-dependencies is 2.1.0.RELEASE
when i configure the dependency at parent like this
<dependency>
  <groupId>com.alibaba.cloud</groupId>
  <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  <version>2.1.0.RELEASE</version>
  <type>pom</type>
<scope>import</scope>
</dependency>

and add dependency of spring-cloud-starter-alibaba-nacos-discovery like this
<dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
        </dependency>

It does not take effect, i have to add the version to it.

Did I miss something?
but when i change to old version 0.9.0, it work fine。

spring-cloud-starter-alibaba-nacos-discovery has been deployed to maven central: https://search.maven.org/search?q=g:com.alibaba.cloud AND a:spring-cloud-starter-alibaba-nacos-discovery&core=gav
and it is included in bom: https://search.maven.org/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.1.0.RELEASE/pom

spring-cloud-starter-alibaba-nacos-discovery has been deployed to maven central: https://search.maven.org/search?q=g:com.alibaba.cloud AND a:spring-cloud-starter-alibaba-nacos-discovery&core=gav
and it is included in bom: https://search.maven.org/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.1.0.RELEASE/pom

i had added the bom to my parent module dependencyManagement, but the sub-module can't  be introduced be introduced automatically automatically without version

spring-cloud-starter-alibaba-nacos-discovery has been deployed to maven central: https://search.maven.org/search?q=g:com.alibaba.cloud AND a:spring-cloud-starter-alibaba-nacos-discovery&core=gav
and it is included in bom: https://search.maven.org/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.1.0.RELEASE/pom

i had added the bom to my parent module dependencyManagement, but the sub-module can't be introduced spring-cloud-starter-alibaba-nacos-discovery automatically without version

but it really included in bom, and works well in my local.

spring-cloud-starter-alibaba-nacos-discovery has been deployed to maven central: https://search.maven.org/search?q=g:com.alibaba.cloud AND a:spring-cloud-starter-alibaba-nacos-discovery&core=gav
and it is included in bom: https://search.maven.org/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.1.0.RELEASE/pom

i had added the bom to my parent module dependencyManagement, but the sub-module can't be introduced spring-cloud-starter-alibaba-nacos-discovery automatically without version

but it really included in bom, and works well in my local.

OK  i will retry again,3Q

maybe, you should close the ide and repoen it

maybe, you should close the ide and reopen it

spring-cloud-starter-alibaba-nacos-discovery has been deployed to maven central: https://search.maven.org/search?q=g:com.alibaba.cloud AND a:spring-cloud-starter-alibaba-nacos-discovery&core=gav
and it is included in bom: https://search.maven.org/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.1.0.RELEASE/pom

i had added the bom to my parent module dependencyManagement, but the sub-module can't be introduced spring-cloud-starter-alibaba-nacos-discovery automatically without version

but it really included in bom, and works well in my local.

I think maybe the maven central was delayed, after i wait for minutes, it worked fine.


feature request: smelele

Description

when the round ends it has to go smelelelelelelel what the rock is cooking
also i'm in favour of removing the "disappointed" and "not even paid for this" lines but this issue is more for the smelele

IT DOESN'T MATTER

NOW WHAT HAPPENS

We need the credits too


useToast autoClose option defaults to not close the toast

Latest version

[X] I have tested the latest version

Description
As the component works, the toast notification does not close. This can be an issue when switching from the Material-UI component to the Rocket-UI component.
For this feature request, the autoClose option for the useToast component may be given the default value.
Examples

The error can be replicated on the storybook:
https://osstotalsoft.github.io/rocket-ui-ts/?path=/docs/components-feedback-toast--docs

###Examples
The problem was actually in the tooltip documentation. It did not reflect the actual default value. As shown below.

###Desired effect
The code shall have a default value for autoClose of false and for that to be represented in the documentation.

fixed in #125

fixed in https://github.com/osstotalsoft/rocket-ui-ts/pull/125


 Руський воєнний корабль іди нахуй!
2022/03/12 08:26:05.443438 runner.go:169: Attack is successful!  Keep calm and carry on!
2022/03/12 08:27:04.976434 runner.go:168: Атака проводиться успішно! Руський воєнний корабль іди нахуй!
2022/03/12 08:27:04.988730 runner.go:169: Attack is successful!  Keep calm and carry on!

I've pulled latest.

What makes you think it has stopped working on targets though?

What makes you think it has stopped working on targets though?

Log stops print targets.

We changed that some time ago to print targets only when the app starts attacking them. It may be less obvious to users but it makes it a lot easier to diagnose problems. You can see that the app continues to generate traffic indicating that everything is fine

We changed that some time ago to print targets only when the app starts attacking them. It may be less obvious to users but it makes it a lot easier to diagnose problems. You can see that the app continues to generate traffic indicating that everything is fine

got it. ok. close it


move all the protocol and encryption handling into a more neutral library

This is just a result of my spaghetti code, but really it should be like:
A shoop library with a server component that gets an input block and generates an encrypted message, sending it over UDT transparently, and a client component, that is passed a key and does the reverse. Anything outside of the temporary SSH pipe must go through this to ensure authenticity and security.
A file server library that wraps the base shoop library component with file management protocol talkin'.

moved to connection.rs


rpcdaemon: handle incomplete request buffers using picohttpparse

H by.   Night nun is
M  im I’m oI kill io KKK MMO mythe o km look mal i

From: canepat @.>
Sent: Friday, July 21, 2023 4:53 PM
To: torquem-ch/silkworm @.>
Cc: Subscribed @.***>
Subject: Re: [torquem-ch/silkworm] rpcdaemon: handle incomplete request buffers using picohttpparse (PR #1346)
@canepat approved this pull request.
—
Reply to this email directly, view it on GitHubhttps://github.com/torquem-ch/silkworm/pull/1346#pullrequestreview-1541312941, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIF3CQOBGY67QSWWFFQGWJLXRKJXBANCNFSM6AAAAAA2QKWY2E.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Update Docs to 1.1.0(beta)

Need to update the docs to the newest version.  There are breaking changes.

These docs were updated.


Using with ES6 modules (no typescript, no webpack)

I am trying to use flatpickr directly as ES6 module.
I tried import {flatpickr}  from './flatpickr/dist/flatpickr.js';
But it did not worked because there is no ES6 module export in the file.
Is there a way to use it natively with ES6 without any webpack or TS dependencies?

Use it like this
import Flatpickr from 'flatpickr';

This won't work without a bundler. I am looking for a pure ecmascript solution.  No bundlers no loaders...

Just found this library and started to use it. I'd really happy to use it as an ES6 module, as @zortext  mentioned in the first example, so 👍  for this.

The ESM section is very much NOT a real ES6 module, nor using ES6 syntax.  It is still relying on webpack and bundlers or node to function.  Pure ES6 can function in a browser without the need for any of these things, and always has been.  One of the dead giveaways is that to import in real, vanilla ES6, you need the filename to import from, including an extension.  Ankurk91's example is not ES6 syntax.