Error Connection SSL did not do anything and today no connection

this is the code error
2024-10-06 12:11:23,089 - The configuration is valid
2024-10-06 12:11:23,090 - tydom.TydomClient    - INFO    - Configure local mode (<IP_ADDRESS>)
2024-10-06 12:11:23,094 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=homeassistant, port=1883, user=mqtt-soba, ssl=False)
2024-10-06 12:11:23,106 - tydom.TydomClient    - INFO    - Connecting to tydom
2024-10-06 12:11:23,111 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<listen_tydom() done, defined at /app/main.py:42> exception=SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)')>
Traceback (most recent call last):
File "/app/main.py", line 46, in listen_tydom
await tydom_client.connect()
File "/app/tydom/TydomClient.py", line 145, in connect
conn.request(
File "/usr/local/lib/python3.11/http/client.py", line 1294, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1340, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1289, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1048, in _send_output
self.send(msg)
File "/usr/local/lib/python3.11/http/client.py", line 986, in send
self.connect()
File "/usr/local/lib/python3.11/http/client.py", line 1466, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 1108, in _create
self.do_handshake()
File "/usr/local/lib/python3.11/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)
2024-10-06 12:11:23,124 - mqtt.MqttClient      - INFO    - Connected to mqtt broker

To solve that i just restart the tydom box and restart tydom2mqtt and everything work again like a charm i close this issue


fix: fix slice init length

The intention here should be to initialize a slice with a capacity of   len(g.ChildGroups) rather than initializing the length of this slice.
The online demo: https://go.dev/play/p/q1BcVCmvidW

Thank for for this fix! @tnqn @Dyanngg do you think this is something worth backporting? I can see how this bug would not really impact functionality, but it would create some incorrect index entries, with the "" key matching all groups (but we probably never lookup that key).

Yes can confirm that we never use "" to look up this index

/test-all


Update location header capitalisation

Resolves issue where the tool is unable to pick up the location header due to the location response header no longer being fully lowercase.
Concerns #82.

Closing as https://github.com/KunoichiZ/lumaupdate/commit/3748676b04a4158ebe4672ace44c0d325fae0c34 uses the most ideal method of dealing with the issue.


Register package

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/78964
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" bc3f5e2dabc86e4a6e17c557842576ccc20ee426
git push origin v0.1.0

Registration pull request created: JuliaRegistries/General/78976
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 53568d4f35a5a852f103a2c4ee4b696f996d6fae
git push origin v0.1.0


fix(menu): focus on the trigger when rootActiveTrigger is defined

fix #867.
When the page is first loaded, there is no need to focus on the trigger even if $rootOpen is false.
However, when rootActiveTrigger is set at the time it is mounted, the effect will be executed and the trigger will be focused.
Since we only need to pay attention to whether the menu is closed or not, we did not need to monitor the rootActiveTrigger.

Since we only need to pay attention to whether the menu is closed or not, we did not need to monitor the rootActiveTrigger.

This isn't true if using forceVisible and conditionally rendering the menu, as you can see from the test I just added that is failing.
Instead, I think we should use a closeMenu function which would handle the focus restoration once the menu has closed, rather than focus being handled within the effect.

Let me confirm that this won't impact the auto refocus of the trigger when a user closes the menu using the keyboard. I added a test which is currently failing for it. There's probably a better way to handle the focus restoration rather than simply reacting to the open. Will do some explorations cause always focusing the button is def not the intended behavior.

Thanks for the review!


Fix bluesky-queueserver branch name (master -> main)

oh, sorry I didn't check! what did you want to do with this PR?

High fives all around!


IoU metric

In the docs of iou_score you state only that predictions are of the shape (B, H, W, C) but you state nothing about the values in predictions. Are those probabilities (let's say [0.2, 0.1, 0., 0.7] for one pixel and the case with 4 class) or the one-hot encoded vectors ([0, 0, 0, 1] for the same pixel and the same number of classes)?
Because the result is not the same.
Let's say that the ground truth in this example is: [0, 1, 0, 0].
In the first case, the intersection is 0.2, but in the second case, it is 0. And 0 is the correct intersection value.
Actually, I'm not sure how to interpret it if those are probabilities ...

IoU is calculated over each class separately and than averaged.
ground truth:      [0.0, 0.0, 0.0, 1.0]
prediction:        [0.2, 0.1, 0.0, 0.7]
calss_iou_score:   [0.0, 0.0, 0.0, 0.7]
iou_score: mean(calss_iou_score * classes_weights)

When you train the network it is better to look at iou_score calculated over probabilities cause you dont know what is the best way to get thresholded values, than validate your model and find the best threshold.

Ok, so you use probabilities instead of one-hot encoded predictions.
I wanted to state that you don't get the same result (same number) for IoU metric if you use probabilities for predictions and if you use one-hot encoded predictions (1 is set to k where k=argmax(prediction, axis-1)).

Agree with @ajuric . When training using softmax on multi-classes task (PASCAL VOC for example), I apply argmax to final feature map HWC to get final prediction H*W mask (each cell is the class_id ). And there is no threshold needed actually. Then I compute IOU based on the ground truth mask and prediction mask. I think it will be great if we have both kinds of IOU here.

Ok, I got it. I will add this feature.


Updated deprecated calls and fixed relative path

Just FYI, this fixes #40 for me

Sorry, I spoke too soon.
Fixes the parsing and the panel appearing as it should.
However, after starting a task (etc watch) it still has an overlay that makes it impossible to click anything.
After "Start"

After pressing "w"

After selecting the task

Any chance you can take a look at that as well @sebastianhaeni ?

@kokarn Did this fix your problem?

@sebastianhaeni Yes! Now it works great again.
Thank you so much and sorry for the late reply.

Thanks for this!


Permit falseable fields when using select or querying

Problem

I was trying to retrieve data from users when creating at database like this:
// some code

return this.database.users.create({
      select: {
        password: false,    // this topic is about this line in this select query
      },
      data: {
        email,
        fullName,
        username,
        profile_photo,
        password: this.securityService.encrypt(password),
      },
    });

So, this dont worked and give me a error to insert at least one true field:
Invalid `this.database.users.create()`
... some path information error ...

PrismaClientValidationError:
Invalid `this.database.users.create()` invocation in /home/andre.....

The `select` statement for type users needs at least one truthy value.

I understand that we should inform at least one true value.  However i think that in cases when we want to retrieve data excepting some security values like password etc. we could do something like a select(*) excepting the false value.
The only thing i could to my application at this point is a more verbose code like this:
return this.database.users.create({
      select: {
        email: true,
        fullName: true,
        username: true,
        profile_photo: true,
        ...all other fileds
        ...not informing password to retrieve
      },
      data: {
        email,
        fullName,
        username,
        profile_photo,
        password: this.securityService.encrypt(password),
      },
    });

Suggested solution

I think that we could implement falseable fields and intelligent query to accpets a false field, and not only true fileds like now.
The flow could be something like:

If a false field is informed we look to see if theres any other field with true. If only false fields are informed, we do a select(*) retrieving all data EXCEPTING the false values informed.
If only true values are informed, could perform like today.
If a true and false values are informed, we could do something similar like today and just ignore the false fields and select the true values at query.

Alternatives
I could not figure out any alternative. Its just a suggestion. I think I'll work on this feature myself with some free time soon.
Additional context
No context is necessary.

Hey @andreluiz901,
I believe your issue is a duplicate of https://github.com/prisma/prisma/issues/5042.
I'll keep this around because I think we could enhance typings by expecting at least one true field in the selection set.

Okay, @Weakky , thanks for note that, i made  search about this and really cannot find nothing about, sorry for not notice that before, i will read how this feature development is running in this issue that you mentioned. I made some tests here and i will see if i can contribute with this feature.
Best regards.

Closing this as a duplicate of https://github.com/prisma/prisma/issues/5042


🐛 error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'

Build for Windows(windows-x64) failed：bitsdojo_window_windows-0.1.0/lib/src/window.dart(2,1): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'.
Flutter 2.11.0-0.0.pre.599 • channel master • https://github.com/flutter/flutter.git
Framework • revision 525c620718 (4 days ago) • 2022-02-16 23:16:36 -0800
Engine • revision 754478998b
Tools • Dart 2.17.0 (build 2.17.0-105.0.dev) • DevTools 2.10.0

The bug is due to the depedency bitsdogo_window: https://github.com/bitsdojo/bitsdojo_window/issues/125

I was planning to get rid of bitsdojo_window anyways

Do you will use the default appbar ? Or other solution ?

@WinXaito I've already removed most of bitsdojo_window code from example app on #191. I only use it now for buttons

@WinXaito I've already removed most of bitsdojo_window code from example app on #191. I only use it now for buttons

How do you set borderless Window ? (https://github.com/bdlukaa/fluent_ui/pull/191/files#diff-9ebc5f51658ae065025e2981c2a66a77d0cda33299181b0add318907f22ba516L10) 🤔


Rename the status of the transaction when sending to yourself(exchange)

with

on

Also on the "wallet" screen you need to add "BEAM" to sent and received

checked


Make onion fields optional on lsp client hook handler

This PR makes all of the onion payload fields for the lsp clients htlc_accepted hook handler optional. We can not assume that all fields are set and we need to act to what we get. If the handler processes an onion payload that is missing essential fields it will stop executing and return the continue signal to core-lightning to pass the htlc to the next processor/handler in line.
Resolves #541

Made shared_secret and next_onion optional and rebased on main.


Add Checkpoint Filter to Form

Enable people to see the count of accesses for sites for certain checkpoints.

Dashboard deprecated, closing issue.


diagnostics: 2.0.8-2 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository diagnostics to 2.0.8-2:

upstream repository: https://github.com/ros/diagnostics.git
release repository: https://github.com/ros2-gbp/diagnostics-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.7
previous version for package: 2.0.7-1

diagnostic_aggregator

No changes

diagnostic_updater
* [ROS2] Time Diagnostics can be used with Simulated Time (#201 <https://github.com/ros/diagnostics/issues/201>) (#205 <https://github.com/ros/diagnostics/issues/205>)
* Contributors: Marco Lampacrescia

self_test

No changes

@MarcoLm993 fyi

Holding for Foxy sync


Timeouts - Dropout of service, board not reachable

Thanks for sharing this project (and also for that very useful documentation!)
My installation seems to be working fine in general. I can remotely open and close my blinds via the web interface and also from Home Assistant. Pressing a button on the physical remote is also being registered.
Unfortunately my setup seems to not be very reliable. When I woke up the next day the service would not work any more. accessing the web interface would give a timeout, HA buttons disabled due to device not being available.
I hit refresh a few times in my browser and after a few minutes the web interface would show up again.
This is the hardware that I use:
AZDelivery ESP32 Dev Kit ( ESP32-WROOM-32 )
EBYTE E07-M1101D
Wifi Reception is not great in the space (kitchen), other wifi based appliances and devices seem to work okay though (HomePod, smartphone, thermostat, weather station)
As this is my first ESP project I am not sure how to access any log files.
When running ping from my computer to the ESP32 for the last couple of hours I would randomly get a timeout, but the web Interface seems a lot more reliable. (showing up any time I would try)
Wifi reception is only at -72DBm as displayed in the Web panel.
Further research led me to a few more possible reasonings

power supply: I was first using an old AC to USB plug from an older smartphone. Then switched to a proper power supply from an old Nokia. The board does no longer seem to reboot randomly now.
power save mode: Is there a power saving mode I can disable in this firmware? Here is where I found [https://esphome.io/guides/faq.html#my-node-keeps-reconnecting-randomly](information about power saving mode sometimes being an issue). If possible I would like to set:

wifi:
power_save_mode: none

in case this is simply related to poor wifi reception maybe I should switch to board with ethernet? I really do not understand at this point what a serial port is a whether I might need to learn and/or buy further equipment in order to get a WT32-ETH01 based version up a running.

A couple of things.

Did you reserve the IP address for the ESPSomfy RTS device in your router for DHCP?
ESPSomfy RTS disables sleep mode in the firmware there is no need to do this.
-72dBm is not great for wifi reception but I suspect that it just drops off occasionally.  If it remained at -72dBm then it would be fine.  If the ESPSomfy RTS device is near anything that can generate interference move it.  You might be surprised what a couple of feet can do.
A WT32-ETH01 board requires an external USB to TTL serial adapter that connects to the pins on the board.  I have no idea why it is not simply soldered on the board.  You cannot load the firmware without it and it is the most likely power source.
Go into the network tab and save the adapter after you have set up your DHCP IP reservation in your router.  This will force the ESPSomfy RTS to resend the mDNS packets.  Next go into the Options tab, check your timeszone, uncheck broadcast uPnP over SSDP if you have it checked and press Save.  This will force the NTP and SSDP server processes to update themselves.
Sometimes disabling 802.11b in your router (you probably do not have any of these devices anyway) this protocol does all kinds of handshaking with everything connected since it needs to probe the connection whether it is connected that way or not.  If you have a lot of wifi devices this protocol is a menace.
If the board was rebooting on that power supply you were definitely underpowering it.  While the symptom is a reboot, an underpowered ESP32 will often not properly write to the flash.  If you have not done this please update your firmware and application with the improved power supply connected.

Thanks rstrouse!
I have checked all aspects you mentioned.

IP reservation is set in DHCP (router)
timezone is set correctly, unchecked broadcast uPnP over SSDP
updated firmware and application to latest build
tried different placements for the device. (only limited options in my kitchen)

While Wifi reception ist still poor I have gotten no dropouts of the service in the last several hours. fingers crossed. (I occasionally open and close the blinds via smartphone for testing purposes)
The setups needs to work reliably before I introduce it to the family :)

Lets cross our fingers!
I have plenty of coffee at the moment.  If I could only figure out the a "Buy me some time" button.  I need a little bit of the 4th dimension.

I am going to close this for now.  If you have further issues re-open this one or start another.

Using the settings you provided controlling my blinds has been working fine for several days now.
I can unfortunately not say what setting exactly did the trick. Wi-Fi Signal is still very low, but does not matter so much.
Thanks again!


Add more implicit encoders/decoders to speed up the compilation of internal model

For https://github.com/wellcomecollection/platform/issues/5298 I followed the instructions in the blog post linked at the top of Implicits.scala, identified the slowest parts, and added implicits for them. Unsurprisingly, implicit matching is still ~99% of our compilation time. It has a roughly 50% improvement:
Before:
Executed in  104.56 secs   fish           external
   usr time   72.90 millis   90.00 micros   72.81 millis
   sys time   87.06 millis  426.00 micros   86.63 millis

After:
Executed in   47.56 secs   fish           external
   usr time   63.90 millis   87.00 micros   63.81 millis
   sys time   78.13 millis  353.00 micros   77.77 millis

I'm at a point of diminishing returns – the last few changes made barely any dent in the compilation time.
I've uploaded the current flame graph here, so if anyone can see where I should make the next intervention, I can see if they make a difference: https://wellcome.slack.com/archives/C3TQSF63C/p1631533771051400

New record:
Executed in   41.39 secs   fish           external
   usr time   58.91 millis   91.00 micros   58.82 millis
   sys time   70.29 millis  363.00 micros   69.93 millis

And a little bit more:
Executed in   38.56 secs   fish           external
   usr time   53.41 millis  101.00 micros   53.31 millis
   sys time   66.16 millis  421.00 micros   65.73 millis

@alexwlchan do you think it would be worth removing any implicit codecs to ensure we always add them?

do you think it would be worth removing any implicit codecs to ensure we always add them?

Do you mean removing the autoderived decoders/encoders? Possibly, but not right now – it seems like a moderate amount of work to remove them just for internal model and not break every other bit of code that relies on JSON parsing.
The point of this change was to get internal model compiling in a sensible time, because that was blocking the TEI work (it was so slow that neither of us could run builds in IntelliJ). Now the TEI work is unblocked, I don't want to spend more time on this.
If we really want to fix this properly, I think simplifying the type hierarchy is a better fix than piling more stuff into the JSON handling, but that's a bigger change that needs more discussion.


Fix bug where using eids would apply actions to all records

Bug introduced in 011f91 where test for records to apply an action to
would always return true if any eids were given.

Please accept my apologies for my earlier blunder.

Ah, should've caught that one. No worries, thanks for the fix. Cheers.


Compiling issues

The IDE claims that "runner" was not found. The folder "..\Lib" is imported and the files are there.

i am not sure why is that happening to you, try to restart your IDE or make sure you install it correctly, i have done several tests and works fine

I'm also having this problem @evildrummer , what solved it for you?

I'll install a new win 10 and start agein with a clean system. Can report my progress in two days or so.

Thanks, I’ll be interested in how you get on!

@evildrummer cheers for the follow up, that’s the info I needed! :) Bummer about the detection but maybe a slight modification will be enough…


Add support for fs.fdatasync()

https://nodejs.org/api/fs.html#fs_fs_fdatasync_fd_callback

Is this for compatibility reasons only? According to the docs it's possible for a transaction to report completion before data is flushed to physical storage. There's also no standardization (I think?) between implementations around this behavior. Firefox uses a non-standard API to allow client code to force flushing before completion.

Only for compat, yes, it will be essentially a no-op.


Added detail and description and fixed grammar

Changed the examples, added more details about each formatting method, and cleaned up grammar. Also made the text easier to read and comprehend, as well as more attractive.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good @EmeraldEntities, thanks for contributing to freeCodeCamp!

@EmeraldEntities thanx for this pr. We look forward to your future contributions :balloon:


ModuleNotFoundError when running auto_subtitle

Hello! Can you please help me with this error?
I have Python 3.12.1 from Microsoft store and ffmpeg from chocolatey. I installed auto-subtitle binary according to readme. I am on Windows 10.
When I try to run auto_subtitle in any way (eg. auto_subtitle --help), I get this error:
Traceback (most recent call last):
(…)
File "C:\Users\theuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch\nn\modules\module.py", line 8, in <module>
    from torch._prims_common import DeviceLikeType
ModuleNotFoundError: No module named 'torch._prims_common'

I don't know if it's not connected to my python installation, but I not good with this stuff, so I’d rather ask.

pip install ffmpeg-python

https://github.com/m1guelpf/auto-subtitle/pull/89/
Updated setup file in this pull request correctly installs the ffmpeg-python.


how can choose the id of my dropzone or have more than one in one page

Hi,
I would like to be able to fully use your extension, but I notice some limitations.
First, I can not choose the name of my dropzone, it is blocked at 'myDropzone'.
Secondly, which stems from the first rema, I can not have more than one dropzone per page which is a bit limiting.
Would it be possible to add the parameter id to dropzone.create () in order to fix a particular dropzone, knowing that if nothing is specified, 'myDropzone' will be used?
Regarding differentiate setting, I think this does not happen to be done. This can be done by limiting its python level setting to use the dropzone.config () view helper with the custom_init and custom_options parameters to do so.
Thank you for taking the time to read me, waiting for your answer.
Regards,
Celtic34fr
Béziers, Occitanie, France

Hi,
Really enjoy flask-dropzone. Many thanks for making this extension available.
I wanted to inquire about the status of this particular enhancement. I have a use-case for two dropzones on a single page; the two dropzones are to distinguish between the roles of the files in an analysis method.

I will try to add this feature and make a new release next week.

Implemented and released 1.6.0. Give it a try, any feedback will be helpful. Thank you!

Thanks so much for the quick turnaround on this feature. A quick scan of the code changes and the example suggest this is exactly what is needed for my use case. I will try to work this update into my app in the near term.  Thanks again.


Update generations to support netstandard

dnxcore50 is updated to netstandardapp1.5-> In reference to the following links:
https://github.com/NuGet/Home/issues/1956

/ @davidfowl

:shipit:

:shipit:


Integrate Replicate API to mint dall-e NFTs

We would like to speed up the dall-e minting process right away from Kodadot.
You can either integrate it to the classic one on basilisk or copy a whole new minter, which one is more manageable.
Integrate replicate API to minting for Basilisk where user can

enter prompt for model prediction https://replicate.com/kuprel/min-dalle (now we are hardcoding this model)
user will see rendered prediction and can use it as a file to mint
add the ability to change the grid size; the default could be 3 or 4 as it's super speedy with fewer tiles
add prompt to traits of NFTs
choose which is easier to implement, either HTTP or replicate-js library
To make its way, we can add the ENV variable for API token on deployment/production

Ping me for the key or just subscribe (it's $10/mo)
Ref

https://replicate.com/docs
https://github.com/replicate/replicate-discord-bot
https://github.com/nicholascelestin/replicate-js
https://replicate.com/docs/api/http
https://app.wombo.art/
https://replicate.com/afiaka87/retrieval-augmented-diffusion
https://promptbase.com/marketplace
https://unstock.ai/
https://promptomania.com/
https://promptomania.com/prompt-builder/
https://github.com/aihubgg/MidJourney-Wiki/blob/f87a32cd2cd3129d65a48eefacd24d5153ca4913/docs/External-Resources/Prompt-Builders/promptoMANIA.md
https://phraser.tech/
https://huggingface.co/spaces/doevent/prompt-generator/
https://github.com/midjourney/docs/blob/f102e3bccbcbec33aae04f267b17a7b71c85e01f/resource-links/README.md
https://www.the-ai-art.com/
https://multimodal.art/news/1-week-of-stable-diffusion

Let me give it a try, but I am in Paris and have to sweat my gut out, literally 🥵
But I can give it a week and see how far I can get.
If someone is faster, because "more familar with the codebase" please go ahead 🙃
I will write you on Sunday for the key Stuff.
Cheers 🌤

kodadot/workers#14

AI x Frames ❤
Continue in

https://github.com/kodadot/ops-internal/issues/1807


[Rework] (core): Add C foundation

This pull request implements multiple Interfaces and Definitions as part of the NinjaIPC C Foundation.
ninjasync, ninjaview, ninjahandle, ninjaerr, ninjall, ninjanotifier.
Closes #5

Nice!
Result on my machine:
[RECEIVED] :)
[RECEIVED2] :)
[RECEIVED3] :)

It worked as expected!


Update port_compiler to support OTP 27.0-rc2 by avoiding code:lib_dir/2

In Erlang/OTP 27.0-rc2, code:lib_dir/2 was marked as deprecated:
https://erlang.org/documentation/doc-15.0-rc2/doc/deprecations.html#otp-27
And port_compiler uses that deprecated function in https://github.com/blt/port_compiler/blob/3c621624a289652ecc8e5d696558ec65e32ace27/src/pc_port_env.erl#L190
BTW, this warning crashes compilation completely, because port_compiler has the erlang option warnings_as_errors enabled in
https://github.com/blt/port_compiler/blob/3c621624a289652ecc8e5d696558ec65e32ace27/rebar.config#L13
The usage of that function was recently removed in rebar3 itself: https://github.com/erlang/rebar3/commit/17f6861c1540d8e4df586f29cb2d4e490e8f4bb7
It would be great to update port_compiler to work with OTP 27.0-rc2

Thanks. I've created https://github.com/blt/port_compiler/pull/80 and will merge+release today.

Yes, it works great, thanks!


Move net-misc/openssh from overlay to portage-stable, configuration changes

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2034/cldsv
This does mainly two changes:

Move the package to portage-stable, so it will be automatically updates, and move the necessary modifications that we were doing to coreos-base/misc-files.
Start using configuration snippets in /etc/ssh/ssh{,d}_config.d/. Adapt other packages that were messing with sshd config to start using snippets instead.

The openssh ebuild changes are mostly dropping all the third-party high-performance patches that we weren't even using. In Gentoo, these patches were moved to a separate package, net-misc/openssh-contrib.
Fixes https://github.com/flatcar/Flatcar/issues/1062.
Needs https://github.com/flatcar/init/pull/98.

[x] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[x] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

All tests failed, because both /etc/ssh/sshd_config and our config snippet in /etc/ssh/sshd_config.d/50-flatcar-sshd.conf specify the sftp subsystem and sshd is having none of that - just prints an error about sftp subsystem already being specified and quits. Which means, connecting to the machine via ssh won't work. Let's see if Gentoo accepts my addition of a USE flag that drops the Subsystem setting from /etc/ssh/sshd_config - https://github.com/gentoo/gentoo/pull/31615.

CI passed. The only test that has failed was some nvidia stuff on azure arm64. Looks unrelated.

Hm, looks like I forgot to actually paste a link to the Jenkins build: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2610/cldsv/
Currently I'm rerunning image changes jobs with a fix, so I can see the full report.

Tests passed. The changes there are expected:
-net-misc/openssh-9.3_p2-r1::coreos
+net-misc/openssh-9.4_p1::coreos
…
+/usr/lib/systemd/system/sshd.socket.d
+/usr/lib/systemd/system/sshd.socket.d/no-trigger-limit-burst.conf
…
-/usr/lib/tmpfiles.d/ssh.conf
…
 /usr/share/flatcar/etc/ssh/ssh_config
+/usr/share/flatcar/etc/ssh/ssh_config.d
+/usr/share/flatcar/etc/ssh/ssh_config.d/50-flatcar-ssh.conf
+/usr/share/flatcar/etc/ssh/ssh_config.d/9999999gentoo-security.conf
+/usr/share/flatcar/etc/ssh/ssh_config.d/9999999gentoo.conf
 /usr/share/flatcar/etc/ssh/ssh_revoked_hosts
 /usr/share/flatcar/etc/ssh/sshd_config
+/usr/share/flatcar/etc/ssh/sshd_config.d
+/usr/share/flatcar/etc/ssh/sshd_config.d/50-flatcar-sshd.conf
+/usr/share/flatcar/etc/ssh/sshd_config.d/9999999gentoo-pam.conf
+/usr/share/flatcar/etc/ssh/sshd_config.d/9999999gentoo.conf
 /usr/share/flatcar/etc/ssl


Inception3 not supported ?

I uploaded custom tensorflowlite model which is based on InceptionV3,
plugin shows error:
The model is INCOMPATIBLE. It may contain unrecognized custom ops, or not FlatBuffer format: java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: Didn't find op for builtin opcode 'CONV_2D' version '2'

It was my mistake, the options were invalid. But I fixed options and now I get error:
E/ModelDownloadManager( 4245): The model is incompatible with TFLite and the app is not upgraded, do not download
The model is 100% TFLLite I just uploaded it and used successfully on my computer.
My options are:
    FirebaseModelInputOutputOptions options = FirebaseModelInputOutputOptions([       FirebaseModelIOOption(FirebaseModelDataType.BYTE, [1, 800, 800, 3])     ],      [       FirebaseModelIOOption(FirebaseModelDataType.BYTE, [1, 8142])     ]);
Maybe I am missing something ?

I dowloaded model from Firebase to be sure it was not broken on the way and it is working in Python script on my Mac but not in plugin.

Thank you for reporting the detailed issue!

I am trying to dig into that but I don't see where this exception is coming from.

I'll check this issue within a week. But it may take time.

Sad to hear it. Your plugin is the only I found for custom models, I will try to find the issue and fork in in worse case.

Did you run your example recently ? Gradle fails for me without explanation.

I corrected another input/output format config and I am getting.
E/CustomCompatChecker(20300): The model is INCOMPATIBLE. It may contain unrecognized custom ops, or not FlatBuffer format: java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: Didn't find op for builtin opcode 'CONV_2D' version '2'
E/CustomCompatChecker(20300): Registration failed.
E/ModelResourceManager(20300): Error preloading model resource
E/ModelResourceManager(20300): com.google.firebase.ml.common.FirebaseMLException: Remote model load failed with the model options: Local model name: unspecified. Remote model name: detector.
E/ModelResourceManager(20300): 	at com.google.android.gms.internal.firebase_ml.zzon.zza(Unknown Source:33)
E/ModelResourceManager(20300): 	at com.google.android.gms.internal.firebase_ml.zzpr.zza(Unknown Source:109)```

Hi,
I dig deeper and it seems a lot of people have problems with TF converted to TFLite and then used on Android. I have not seen a  solution to the problem yet :(.

So it seems your example works fine, the issue is with more complex optimized models.
I will try complex but not optimized and see what will happen.  I wish the exceptions would be more informative.

I'll resolve https://github.com/azihsoyn/flutter_mlkit/issues/54 in next release.
Thanks.

Do you know what is the problem ?

Hi did you managed to solve it ? The same problem directly on Android it suppose to be solved by upgrading to newer Tensorflow Lite recently released.
https://github.com/tensorflow/tensorflow/issues/28163


Payload: update payload images to 0.6.0

Update the payloads for Kata-Containers and Enclave-CC to the ones built from the subcomponents tagged for 0.6.0.
This is step 15 and 16 from https://github.com/confidential-containers/community/issues/93

/test

/test

The SEV test failed:
not ok 4 [cc][kubernetes][containerd][sev] Test SEV encrypted container launch success with VALID measurement
07:58:20 # (in test file sev.bats, line 473)
07:58:20 #   `return 1' failed
07:58:20 # Deleting previous test pods...
07:58:20 # service "encrypted-image-tests" deleted
07:58:20 # deployment.apps "encrypted-image-tests" deleted
07:58:20 # pod/encrypted-image-tests-59b5676bdf-lv7hr condition met
07:58:20 # mysql: [Warning] Using a password on the command line interface can be insecure.
07:58:20 # Kernel Append: tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k cryptomgr.notests net.ifnames=0 pci=lastbus=0 console=hvc0 console=hvc1 quiet panic=1 nr_cpus=1 selinux=0 agent.aa_kbc_params=online_sev_kbc::<IP_ADDRESS>:44444 scsi_mod.scan=none agent.config_file=/etc/agent-config.toml agent.enable_signature_verification=false
07:58:20 # Firmware Measurement: cXsWWJ5N5bf8I39V/WVGvjYKgnbZCUvXdAczoDMwFuk=
07:58:20 # mysql: [Warning] Using a password on the command line interface can be insecure.
07:58:20 # service/encrypted-image-tests created
07:58:20 # deployment.apps/encrypted-image-tests created
07:58:20 # pod/encrypted-image-tests-59b5676bdf-kv4p9 condition met
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # NAME                         STATUS   ROLES                  AGE     VERSION   INTERNAL-IP     EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION          CONTAINER-RUNTIME
07:58:20 # amd-coco-ci-ubuntu2004-001   Ready    control-plane,worker   3m59s   v1.24.0   <IP_ADDRESS>   <none>        Ubuntu 20.04.5 LTS   5.19.2-051902-generic   containerd://<IP_ADDRESS>
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # NAME                    TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE     SELECTOR
07:58:20 # encrypted-image-tests   ClusterIP   <IP_ADDRESS>   <none>        22/TCP    11s     app=encrypted-image-tests
07:58:20 # kubernetes              ClusterIP   <IP_ADDRESS>      <none>        443/TCP   3m58s   <none>
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # NAME                    READY   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS              IMAGES                                                                SELECTOR
07:58:20 # encrypted-image-tests   1/1     1            1           11s   encrypted-image-tests   ghcr.io/confidential-containers/test-container:multi-arch-encrypted   app=encrypted-image-tests
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # NAME                                     READY   STATUS    RESTARTS   AGE   IP            NODE                         NOMINATED NODE   READINESS GATES
07:58:20 # encrypted-image-tests-59b5676bdf-kv4p9   1/1     Running   0          11s   <IP_ADDRESS>   amd-coco-ci-ubuntu2004-001   <none>           <none>
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # Name:         encrypted-image-tests-59b5676bdf-kv4p9
07:58:20 # Namespace:    default
07:58:20 # Priority:     0
07:58:20 # Node:         amd-coco-ci-ubuntu2004-001/<IP_ADDRESS>
07:58:20 # Start Time:   Wed, 07 Jun 2023 06:58:08 +0000
07:58:20 # Labels:       app=encrypted-image-tests
07:58:20 #               pod-template-hash=59b5676bdf
07:58:20 # Annotations:  io.katacontainers.config.pre_attestation.uri: <IP_ADDRESS>:44444
07:58:20 #               io.katacontainers.config.sev.policy: 3
07:58:20 # Status:       Running
07:58:20 # IP:           <IP_ADDRESS>
07:58:20 # IPs:
07:58:20 #   IP:           <IP_ADDRESS>
07:58:20 # Controlled By:  ReplicaSet/encrypted-image-tests-59b5676bdf
07:58:20 # Containers:
07:58:20 #   encrypted-image-tests:
07:58:20 #     Container ID:   containerd://c402e113565d235b6aa7dea1f16f3f972954917c8897b06e7d1a4ff739fe7219
07:58:20 #     Image:          ghcr.io/confidential-containers/test-container:multi-arch-encrypted
07:58:20 #     Image ID:       [Encrypted]
07:58:20 #     Port:           <none>
07:58:20 #     Host Port:      <none>
07:58:20 #     State:          Running
07:58:20 #       Started:      Wed, 07 Jun 2023 06:58:18 +0000
07:58:20 #     Ready:          True
07:58:20 #     Restart Count:  0
07:58:20 #     Environment:    <none>
07:58:20 #     Mounts:
07:58:20 #       /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-45bkb (ro)
07:58:20 # Conditions:
07:58:20 #   Type              Status
07:58:20 #   Initialized       True
07:58:20 #   Ready             True
07:58:20 #   ContainersReady   True
07:58:20 #   PodScheduled      True
07:58:20 # Volumes:
07:58:20 #   kube-api-access-45bkb:
07:58:20 #     Type:                    Projected (a volume that contains injected data from multiple sources)
07:58:20 #     TokenExpirationSeconds:  3607
07:58:20 #     ConfigMapName:           kube-root-ca.crt
07:58:20 #     ConfigMapOptional:       <nil>
07:58:20 #     DownwardAPI:             true
07:58:20 # QoS Class:                   BestEffort
07:58:20 # Node-Selectors:              node-role.kubernetes.io/worker=
07:58:20 # Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
07:58:20 #                              node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
07:58:20 # Events:
07:58:20 #   Type    Reason     Age   From               Message
07:58:20 #   ----    ------     ----  ----               -------
07:58:20 #   Normal  Scheduled  12s   default-scheduler  Successfully assigned default/encrypted-image-tests-59b5676bdf-kv4p9 to amd-coco-ci-ubuntu2004-001
07:58:20 #   Normal  Pulling    5s    kubelet            Pulling image "ghcr.io/confidential-containers/test-container:multi-arch-encrypted"
07:58:20 #   Normal  Pulled     3s    kubelet            Successfully pulled image "ghcr.io/confidential-containers/test-container:multi-arch-encrypted" in 1.230699372s
07:58:20 #   Normal  Created    3s    kubelet            Created container encrypted-image-tests
07:58:20 #   Normal  Started    2s    kubelet            Started container encrypted-image-tests
07:58:20 # -------------------------------------------------------------------------------
07:58:20 # Pseudo-terminal will not be allocated because stdin is not a terminal.
07:58:20 # ssh: connect to host <IP_ADDRESS> port 22: Connection refused
07:58:20 # KATA CC TEST - FAIL: SEV is NOT Enabled

I'll attempted a re-queue, but not sure if that will help this.

Nice - the SEV re-queue did work, so these versions look good, so I think we can start tagging


[Persistence] Update block header

Description

Summary generated by Reviewpad on 18 Jul 23 18:20 UTC
This pull request adds state tree hashes and the next validator set hash to the block header proto. It also adds RPC support for the updated block header.

Issue
Fixes N/A
Type of change
Please mark the relevant option(s):

[x] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Major breaking change
[ ] Documentation
[ ] Other

List of changes

Adds state tree hashes as a map to the block header
Add next validator set hash to the block header

Testing

[x] make develop_test; if any code changes were made
[x] make test_e2e on k8s LocalNet; if any code changes were made
[x] e2e-devnet-test passes tests on DevNet; if any code was changed
[x] Docker Compose LocalNet; if any major functionality was changed or introduced
[x] k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
[x] I have tested my changes using the available tooling
[ ] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@h5law Friendly reminder to please update Issue/PR metdata

Friendly reminder to please update Issue/PR metdata

ur too fast


Dynamic validator update for NpmCredentials and report credentials as unknown for generic uri.

Dynamic validator update for NpmCredentials and report credentials as unknown for generic uri.

This PR has been replaced by new PR
https://github.com/microsoft/sarif-pattern-matcher/pull/799


error when installing

I get this error
 Unable to install module ndiswrapper/1.61 for kernel 5.1.7-1-surface: Missing kernel modules tree.

And then wifi doesn't work properly,

If you get this error
:: Running post-transaction hooks...
(1/3) Updating linux-surface-lts module dependencies...
(2/3) Install DKMS modules
==> Unable to install module ndiswrapper/1.61 for kernel 4.19.56-1-surface: Missing kernel modules tree.
(3/3) Arming ConditionNeedsUpdate...

You should install the linux package first, and then the headers.
Trying to install the linux package first will complain that the module is missing, because it depends on the headers.
Marked as solved.


Support for Managed Service Accounts/Group Managed Service Accounts

Hi,
We currently utilize MSA/gMSA's within our deployments but are required to manually switch over to them after utilizing DSC to deploy with local accounts. Would it be possible to implement these in the future?
Our current workflow requires...

Setting permissions for the MSA on the required ArcGIS dirs based on the software being configured.
Setting the service account to the MSA.
Restarting the service.

As the DSC resources already handle setting the permissions aspect, I assume that adding support for the MSA's use of
domain\username$

for the username field would need to done.
Thanks,

Adding info for documentation purposes. PowerShell does not support $null passwords when creating pscredential objects. Adding support for MSA's would likely require changing the DSC resources to support individual parameters for Username and Password instead of passing in a pscredential or including a new parameter that accepts a MSA and then logic determines which to use

https://github.com/Esri/arcgis-powershell-dsc/issues/87

Any updates on an ETA for that?

Any updates on an ETA for that?

Push.

Just an update on this enhancement request. With the release of 10.8, the installers now support the use of gMSA's. As such, the below example can be used when building custom configurations with the DSC resources directly (compared to leveraging the functions/cmdlets bundled) to install the software and run it as a gMSA. It's not complete support but half the battle.
If building custom DSC configurations yourself, the ArcGIS_Install resource sets the permissions as needed (for install folder) and sets the service to auto start so in theory, you could do away with the need to use the ArcGIS_WindowsService and ArcGIS_Service_Account depending on your setup or supplement it with a Script resource that sets the config-store and directories dir permissions for the gMSA.
Install ArcGIS Server:
ArcGIS_Install 'InstallServer' {
    Name      = 'Server'
    Version   = '10.8'
    Path      = 'C:\ArcGIS_Server_Windows_108_172859.exe'
    Arguments = if($Gmsa) { "/qb MSA=TRUE USER_NAME=$Gmsa" } else { "/qb" }
    Ensure    = 'Present'
    DependsOn = $Depends
}

This update is directed toward users of the module and not toward the dev team directly.

Hope the team will prioritize this request. At last since UC-2019 using a gMSA as the service account is promoted as a best practice.

Hope the team will prioritize this request. At last since UC-2019 using a gMSA as the service account is promoted as a best practice.

Hello @PleaseStopAsking and @HakonD,
We have added support for gMSA in the latest release, v3.2.0:
https://github.com/Esri/arcgis-powershell-dsc/releases/tag/v3.2.0
To use, set ConfigData.Credentials.ServiceAccount.IsMSAAccount = true.
https://github.com/Esri/arcgis-powershell-dsc/blob/78e488fc0aac6f8f4cdf574e1bdb50a7d39ed350/SampleConfigs/v3/v3.2.0/Base Deployment/BaseDeployment-SingleMachine.json#L23-L28
Thanks,
Cameron K.


Fix building of MacroXS tables when MPI import fails #357

When mpi4py import fails, MPI_SIZE defaults to 1. Use this to disable the
execution of MPI commands. See #357

Eh, wait, I've got a failing test.

The code coverage just went down because you added lines to the code.  So... by definition the % code coverage went down very slightly for the whole project.  Oh well.  (It would be nice if we could tell it not to fail code coverage unless it dropped by more than 0.01% or something.)
Fun Fact: The file macroXSGenerationInterface.py has exactly 0% code coverage.

Yeah, I saw that. What I meant when I said a test failed was that the check-formatting test failed cause I had code lines longer than 80 characters. So I fixed that and push it back up. It should be ready now.

This was tested manually on a machine that did not have MSMPI and it worked. I will accept and merge in.


feature/GDEV-151

Not sure what the problem is at all.

The Github actions workflow used the wrong Python version. The chassis lib is only available for 3.9+. Just fixed it.

Can be merged @MoritzHahn1337?


Typing of get broken

Issue description: The return type of get is K | null where K is the type of the default value. This means that I can never make the return value non-nullable even when providing a non-nullable default value.
Expected: When I provide a default value to get, then the return type should be the type of the default value without any union members such as null. Only when no default value is provided should the return value always include null (or undefined depending on preference).
Side note: It would be even better if we inferred the return value from the first argument from which the get-function derives the result via the path (second argument). Only if this inference leads to null/undefined, should the default value type even come into play. But this is more work to implement.

Hey @mstykow 👋 this is a great callout, I'll make a fix this weekend.
About the side note, I would love it if the typing was robust enough to infer the return type from the string path. The ts-toolbelt library has a Path type (and some other useful types) I've considered either importing or copying. I personally wouldn't know where to start to dynamically infer the type in that situation 😅

This is what I've come up with. What do you think @mstykow ?
get<TDefault = unknown>(
  value: any,
  path: string,
  defaultValue?: TDefault
): TDefault

get({}, 'enemies.0.power') // => unknown
get({}, 'enemies.0.power', null) // => unknown
get({}, 'enemies.0.power', undefined) // => unknown
get<string>({}, 'enemies.0.power') // => string
get({}, 'enemies[0]power', 22) // => number
get<number>({}, 'enemies[0]power', 22) // => number

This looks like a nice improvement @rayepps! Thank you so much. :)

Also, this function does not respect returning undefined as default value.
runkit error example
Example:
var radash = require("radash")
let obj = {a: {b: {c: "hello"}}}
let result = radash.get(obj, 'a.b.c.d',undefined)
console.log(`isUndefined ${result === undefined}`)
console.log(`isNull ${result === null}`)


Object prototype may only be an Object or null!

Hi
I'm working on a project which needs tcp socket , and when i tried to use this library , i get the error mentioned in the title ! I know its a stream /rn-nodeify error , but while its a dependency of native-tcp , I posted this issue here , is there anything i can do to fix this one ?
react-native @0.41.2
react-native-net @3.2.1
rn-nodeify @7.0.1

I'm getting this when trying to nodeify zlib for react-native as well. I haven't been able to find any information anywhere on this issue.

I found a temporary workaround for this issue here.

I have also faced this error, after some workaround, I tried below steps and worked for me. Please check if this can help you as well.

Latest RN setup. (react-native init project_name)
npm install<EMAIL_ADDRESS>--save  (and other command as specified, only thing is to use 3.1.0 version )
update string-browserify and readable-stream to latest version
Manually add stream module to node_modules.

Try this:

npm install<EMAIL_ADDRESS>--save
npm install --save-dev rn-nodeify
node_modules/.bin/rn-nodeify --install stream,process,util --hack
npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>--save

@zelll  it's worked for me. thanks

same problem, how to fix it? thanks.

@scriptfans check this answer :

Latest RN setup. (react-native init project_name)
npm install<EMAIL_ADDRESS>--save (and other command as specified, only thing is to use 3.1.0 version )
update string-browserify and readable-stream to latest version
Manually add stream module to node_modules.

if didnt work , check this one:

npm install<EMAIL_ADDRESS>--save
npm install --save-dev rn-nodeify
node_modules/.bin/rn-nodeify --install stream,process,util --hack
npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>--save

@omidnavi Thanks very much. I solved it in another way, we can install the github version rn-nodeify to fix it:
"devDependencies": {     "rn-nodeify": "mvayngrib/rn-nodeify"   }

@uriva use npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>--save


Mac

Can you provide instructions for Mac? I tried following the symlink instructions, but when I tried the unzip-jp command as instructed, I got the message
-bash: unzip-jp: command not found

The instructions should work on a Mac too (my main computer is a macbook). Make sure the directory where you created the symlink is included in your PATH environmental variable.


Request: Locations for Gather Windows

I have a request regarding location and the windows. Presently you can set a Gather Group and set a location for nodes, However non timed nodes don't work for setting alarms. Likewise if you create a Gather window it does not keep the locations that you set under the gather group.
Can it be made or added the ability to set the specific location under the gather window like it can be done on the Gather Group tab?

To further explain, I set up a group that was specifically set up for mining, however there are locations that have the same things under botanist. My purpose in setting up the list was so that I would not be wasting time to switch jobs. And I have noticed that when it does teleport me to say a botanist node, it doesn't switch jobs automatically list it does with just a normal alarm list.


Use is_valid_field from 1.x for mypy plugin

Change Summary
https://github.com/pydantic/pydantic/blob/3ddb509786089f9df0658303545ae4b66db2d47c/pydantic/utils.py#L696-L699
This brings the mypy plugin in the v1 namespace in line with how 1.x actually behaved.
Importing this from the pydantic namespace created warnings in our v1/v2 codebase.
Related issue number
No issue, couldn't find one and this seems like a simple enough change.
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist > seems unnecessary?
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @sydney-runkle
skip change file check

please review
I think the last failing test can be skipped by adding the correct label? It doesn't feel like this requires a changelog?

In general I think we want to avoid changing the 1.X module code as much as possible.
Does it not work to change:
from pydantic.utils import is_valid_field

to
from .utils import is_valid_field

?

@dmontagu It should. Added a second commit to fix this, thanks!

@sydney-runkle Any reason why this fix is not included in the latest releases? The backport to 1.10.x doesn't really resolve the issue, as the error is actually on the 2.x tags.

@DanielNoord,
I think this should be included in 2.7!


Release date for 9.0.2 ?

Do you have a planned release date for v9.0.2 (non-beta)?
I ask because we'd like to use the v9.0.2 support for BigInteger parsing of numbers in the NetStandard target within Google.Cloud.Metadata.V1 and Google.Api.Gax, but we really need a non-prerelease version to do so.
Thanks :)

Do you have a planned release date for v9.0.2 (non-beta)?

\no

OK, thanks for the quick answer.


Fix command names in README

set -> write
get -> read

Sorry about that, we are in the process of changing the CLI and we changed the doc before actually changing the code. They will get back in sync once https://github.com/mirage/irmin/pull/501 is merged (pretty soon).

Closing as since #501 is merged, the CLI not matches the README.


Improve logging mechanism of litmusportal components

Currently, the litmus portal’s backend logs aren’t meaningful and formatted. Also, It’s difficult to find the root cause of any litmus portal component failure by going through the logs.
The requirements of this issue are:

Use a common go pkg like logrus/glog/klog across all litmus portal’s backend components
Add meaningful log on the edge cases
Format the existing log.

List of components:

https://github.com/litmuschaos/litmus/tree/master/litmus-portal/cluster-agents
https://github.com/litmuschaos/litmus/tree/master/litmus-portal/authentication
https://github.com/litmuschaos/litmus/tree/master/litmus-portal/graphql-server

@rajdas98 sir as the authentication portal is going to be refactored in  GSOC 2021, do we need to format the logs of the auth server as well, in this particular issue ?

@imrajdas , I am interested work on this one, could you please assign me this and provide some resources to tackle this


[5.3] Migration Timestamp Invalid Default Value

Hi,
After upgrading to laravel 5.3 my migration with timestamp on migrate get error
[PDOException]   SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'create   d_at'
My migration:
  Schema::create('feedbacks', function (Blueprint $table) {
        $table->increments('id');
        $table->uuid('transaction_id');
        $table->uuid('user_id');
        $table->text('content');
        $table->decimal('rating', 3, 1);
        $table->softDeletes();
        $table->timestamp('created_at');

        $table->foreign('transaction_id')->references('id')->on('transactions');
        $table->foreign('user_id')->references('id')->on('users');

  });

Any solution?
Thanks

I found this article. It fixes the error by disabling MySQL strict mode, in your laravel config file database.php, set 'strict' => true to 'strict' => false.

It is better to write migrate file

$table->timestamp('created_at')->nullable();

From MySQL 5.7.x，formats like '0000-00-00 00:00:00' are not valid time string.

@yappkahowe what is strict??

In the case when do not need default value, you can set timestamp to nullable
$table->timestamp('mycolumn')->nullable();


Setup Lead Matching - review and transition to Pages site

Review documentation for accuracy and transition to new Pages site.
https://github.com/SFDO-Community/Summit-Events-App/wiki/0c-–-Setup-Lead-Matching
Added to the bottom of the Contact Matching page.  Will rework later: https://github.com/SFDO-Community-Sprints/summit-events-app-documentation/blob/main/docs/advanced-features/contact-and-lead-matching.md

Closing at this is is a duplicate of #45
Duplicate #45


Bot quits when catch daily limit is met

When limit is reached, pokemon bot quits. Shouldn't it just continue work to spin pokestops, walk eggs , buddy etc ?
The file cell_workers/pokemon_catch_worker.py  has the following currently:
            self.emit_event('catch_limit', formatted='WARNING! You have reached your daily catch limit')
            sys.exit(2)
            break

Someone was working on changing this before the api change, so you could choose whether to exit the bot, or keep farming without catching anything. I do not know what happened to that. Possibly abandoned by the person who was working on it? For now, it's working as intended/designed, so not a bug. Added "Feature Request" tag.

if you wanted it to continue to work, why put a limit?

ahh fast reply without thinking... sorry... I now get it...
this would be great addition...

commenting out # sys.exit(2) helps...
here's the output....

Yes, I have commented it out for me. But I don't get the idea to kill the bot so quickly when limit is reached :)


How can I attach a chart with data from database and export that chart in file excel ??

I could not find a way to attach a chart to an excel file
Please help me

Please create a new ticket with the issue template filled. The issue template is required for us to be able to help you and is automatically available for you when opening a new issue, please do not remove the contents of the issue template.


cancel export job

Description
When exporting a large number data, users should cancel the operation during the operation to release resources as soon as possible.

Still work in progress.


Logging to USB CDC ACM limited to very low rate

Describe the bug
Logging, using the Zephyr logging system and the log_backend_uart, is limited to about 2200 bytes/sec when the uart is a USB CDC ACM UART.  This is quite slow.  USB should be capable for much higher speed.
Logging to the shell_uart_backend, with the shell also on a USB CDC ACM uart, isn't limited to this low speed.
It's specific to the interaction between the USB CDC ACM uart and the logging uart backend.
To Reproduce
Steps to reproduce the behavior:
Log more than 2200 bytes/sec continuously to the backend log_backend_uart with a USB CDC ACM uart.  Eventually the logging system's buffer will fill and messages will start getting dropped.
Expected behavior
The logging system should be able to achieve a much higher data rate before dropping messages.
Impact
Logging over USB CDC ACM is very limited.  This is especially bad for devices which do not have another logging interface.
Logs and console output
USB captures from log_backend_uart and shell_uart_backend.
usb_captures.zip
Environment (please complete the following information):

OS: Linux
Toolchain: GNU
Commit SHA or Version used: b05b8ad63acf30e08a570ce553831a06db27a2e0
Nordic NRF52840

Additional context
The USB URBs will contain at exactly one byte of data with log_backend_uart.  With shell_uart_backend, the URBs contain more data.
The issue appears to be a compounding limitations in cdc_acm and log_backend_uart.

log_backend_uart will only write one byte a time with uart_poll_out() unless the async UART API is enabled.
cdc_acm does not support the async UART API, only the polling and interrupt-driven UART APIs.
log_backend_uart does not support the interrupt-driven UART API.
cdc_acm does not appear to allow merging multiple bytes written with uart_poll_out() into a single URB.

This is not a bug. Here the same answer as on discord: "Everything that falls back to uart_poll_out is very slow due the nature of the UART API, for USB device stack it means, write one character -> trigger transfer, regardless of new or old stack."

It's not a bug that the logging system is limited to 2.2 kB/sec over 12 Mbit USB?  That makes it nearly useless for anything but occasional warning messages.

It's not a bug that the logging system is limited to 2.2 kB/sec over 12 Mbit USB? That makes it nearly useless for anything but occasional warning messages.

You claim that it is a bug in USB support.
You also noticed that it behaves as expected by UART polling API.
I told you that it behaves as expected by UART polling API and is not a bug.
Further discussion with your bug description above is pointless.
You are welcome to open an enhancement issue for logging subsystem.

The description of the issue does not fit an enhancement at all and it remains closed.

Further discussion with your bug description above is pointless.
You are welcome to open an enhancement issue for logging subsystem.

The description of the issue does not fit an enhancement at all and it remains closed.

@jfischer-no this literally has a fix that was submitted here: https://github.com/zephyrproject-rtos/zephyr/pull/53003
Hence why I re-opened it because it fixes this person's issue

The interrupt-driven interface of the CDC ACM driver stops the transfer when no host is connected, while the polling interface will drop data without a host.  I couldn't find any justification for this difference in behavior in the UART APIs.
It gets in the way when trying to use interrupt-driven mode to increase speed.

The interrupt-driven interface of the CDC ACM driver stops the transfer when no host is connected, while the polling interface will drop data without a host. I couldn't find any justification for this difference in behavior in the UART APIs.

Yes, poll_out does not block, this is the result of constant complaints from users. Otherwise device would mostly not start (depending on the context from which first call comes).

It gets in the way when trying to use interrupt-driven mode to increase speed.

Again, please open a specific enhancement issue to track this.


Added Register link button to login page, got rid of tabs on register…

… and created onclick

Also, after reviewing the code @Mikehill345 and @alexandrakay just pushed up last night, we need to update our history.push to route to the Student Form. Can you add a new route in App.js before we merge please?

Also, after reviewing the code @Mikehill345 and @alexandrakay just pushed up last night, we need to update our history.push to route to the Student Form. Can you add a new route in App.js before we merge please?


Adding Glo-90

Helps resolve #34 by adding glo_90 and geojson with missing tiles. Demonstration on how to merge data together (in memory).

The main changes of this request are:

Allow glo_30 to be filled in by glo_90 in the API
Add exceptions that catch: a) no available tiles of specifed DEM, b) badly specified dem_name and c) extent/bounds not of the form xmin, ymin, xmax, ymax.
Relevant tests for the above

The notebooks that illustrate the filling is here: https://github.com/ACCESS-Cloud-Based-InSAR/dem-stitcher/blob/glo_90/notebooks/Filling_in_missing_glo-30_tiles_with_glo-90_tiles.ipynb
The final output can be found at this link.
A few more things:

The glo_90 AWS page does not distribute a shapefile of all possible tiles anymore so we now go through the bucket to find available tiles. The relevant notebook has been updated. Previously, there were tiles across the globe all listed and many were not available.
We have a dataset glo_90_missing which can be downloaded here. These are glo_30 tiles that are not available but whose corresponding tile as glo_90 is.


Documentation about any type does not reflect difference with object

Current documentation for any type does not reflect the difference between any and Object.
If you take a look here, you may find following example:
var notSure: any = 4;
notSure = "maybe a string instead";
notSure = false; // okay, definitely a boolean

But this example shows only one part of the any nature: an ability to assign anything to the variable of type any. Looking into this example it is really hard to understand the difference between any and Object, because following code would behave in the same way:
var notSure: Object = 4;
notSure = "maybe a string instead";
notSure = false; // okay, definitely a boolean

Proper example should show that the TypeScript type checker gives up and allows to call any method or access any properties on the variable of type any without any errors:
var notSure: any = 4;
notSure.weCanCallAnyMethodWithoutAnError();
notSure = "maybe a string instead";
var f = notSure.andAccessSomeFields;
notSure = false; // okay, definitely a boolean

@SergeyTeplyakov, thanks for reporting this, a PR would definitely be appreciated.

Fixed by #72.


[adhoc] Correct typo in README

change "acommplish" in ## About the Project to accomplish

Noticed this as well and hit it with the car door in this PR: https://github.com/expel-io/pyexclient/pull/59


show commit hash info

Short Description:
show commit hash info in the log.
Fixes/Resolves/Closes (please use correct syntax):

#4241

What if there's no git in Desktop release?

@solderzzc maybe we could check whether git exists.
if it doesn't, don't do anything.
what do you think ?

@rawgni  it's hard to deal with multi platform for the check, or just parse the command response ?


[AutoPR imds/data-plane] IMDS Swagger for 2019-02-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6283

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5869


[#BCHP-141] Social media embed blocks / transformations

Should we write something in the Readme about that one has to integrate twitter widget with this?

Can do


edupont04 from OPS portal: Merge from master to live

Docs Build status updates of commit ed53e4d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/distribution/ReturnsManagement.md
:warning:Warning
View
Details

dynamics-gp/installation/SystemAdminGuide.md
:warning:Warning
View
Details

dynamics-gp/payroll/CAN18YETax.md
:warning:Warning
View
Details

dynamics-gp/TOC.md
:white_check_mark:Succeeded
View

dynamics-gp/distribution/Inventory.md
:white_check_mark:Succeeded
View

dynamics-gp/distribution/Inventory2.md
:white_check_mark:Succeeded
View

dynamics-gp/distribution/ProjAcctAccountingControl.md
:white_check_mark:Succeeded
View

dynamics-gp/distribution/media/IV_der.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/IV_entory.pdf.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/IV_orschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/distribution/media/POEder.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/POEorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/distribution/media/POader.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/POlorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/distribution/media/SOader.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/SOlesOrderProcessing.pdf.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/SOlorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/distribution/media/SalesOrderProcessing.pdf_files/SalesOrderProcessing.pdf.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/media/colorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/distribution/media/header.htm
:white_check_mark:Succeeded

dynamics-gp/distribution/sales-order-processing-part3-allocation-fulfillment-purchasing.md
:white_check_mark:Succeeded
View

dynamics-gp/financials/PaymentDocumentManagement.md
:white_check_mark:Succeeded
View

dynamics-gp/financials/media/FAader.htm
:white_check_mark:Succeeded

dynamics-gp/financials/media/FAlorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/financials/media/GLader.htm
:white_check_mark:Succeeded

dynamics-gp/financials/media/GLlorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/index.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/ProfServicesToolsLibrary.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/SecurityPlanning.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/SystemSetup.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/creating-a-company.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/using-microsoft-dynamics-utilities.md
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/AB2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/BC2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/FED2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/MP2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/NB2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/NL2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/NS2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/NT2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/NU2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/ON2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/PE2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/SK2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/YT2020.JPG
:white_check_mark:Succeeded
View

dynamics-gp/payroll/media/colorschememapping.xml
:white_check_mark:Succeeded

dynamics-gp/payroll/media/header.htm
:white_check_mark:Succeeded

dynamics-gp/payroll/us-year-end.md
:white_check_mark:Succeeded
View

dynamics-gp/upgrade/company-data-conversion.md
:white_check_mark:Succeeded
View

dynamics-gp/upgrade/module-upgrades-from-microsoft-dynamics-gp-2013.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

dynamics-gp/distribution/ReturnsManagement.md

Line 147: [Warning] Invalid file link: 'media/00a7f706f144330c6f17db09b3b43451.jpg'.
Line 206: [Warning] Invalid file link: 'media/f12018aae2b49de01e869ece9a2df275.jpg'.
Line 299: [Warning] Invalid file link: 'media/c769b7d3f57331e85f2ee591920f156e.png'.
Line 475: [Warning] Invalid file link: 'media/e7b2929f2289ce9e817505e610809dd0.jpg'.
Line 811: [Warning] Invalid file link: 'media/bf7177d7d41bb05716aff3c9f813f4f7.jpg'.
Line 832: [Warning] Invalid file link: 'media/b2fbf0d4a807ab4b46829b998a6f5952.jpg'.
Line 880: [Warning] Invalid file link: 'media/f81109484a788f0390fa3aa1a0a2b290.jpg'.
Line 1086: [Warning] Invalid file link: 'media/b72e6312ea19a7ddc0bb56859d884192.jpg'.
Line 1392: [Warning] Invalid file link: 'media/a52bdb0ea4df751d5e4697df9c7451cd.jpg'.
Line 1880: [Warning] Invalid file link: 'media/574168f6abc6cfef05ccb6bbd3bcf9ba.jpg'.
Line 1938: [Warning] Invalid file link: 'media/2f6243c4d1229b40fe723fb30ddb660f.jpg'.
Line 2215: [Warning] Invalid file link: 'media/232dcba71dd1014742f0f29895589897.jpg'.
Line 2443: [Warning] Invalid file link: 'media/526a8c7b538b8fc4e8b3147de1553154.jpg'.

dynamics-gp/installation/SystemAdminGuide.md

Line 83: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 92: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 105: [Warning] Invalid file link: 'media/41e0028d957325a5ec9ead101e554179.jpg'.
Line 117: [Warning] Invalid file link: 'media/a70a053047b2ea7d171a61dc3d65cc1c.jpg'.
Line 140: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 154: [Warning] Invalid file link: 'media/4ba7ad1fa62be89d95ad738ce5d6955f.jpg'.
Line 156: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 168: [Warning] Invalid file link: 'media/cc41fa92885c57432374ba9f8f515aec.jpg'.
Line 355: [Warning] Invalid file link: 'media/4a0f8edd2921d216ee7eee22a19febca.jpg'.
Line 357: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 386: [Warning] Invalid file link: 'media/820d040d799a790f028581eb12bac16f.jpg'.
Line 393: [Warning] Invalid file link: 'media/1896ae1842a2f630ea1a370fb90e59eb.jpg'.
Line 397: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 417: [Warning] Invalid file link: 'media/52d13f7a5e2d866b9232e22454d94a3b.jpg'.
Line 441: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 480: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 563: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 577: [Warning] Invalid file link: 'media/ad24459d9210008d87a4871d244a2d45.jpg'.
Line 634: [Warning] Invalid file link: './media/image12.jpg'.
Line 635: [Warning] Invalid file link: './media/image10.jpg'.
Line 787: [Warning] Invalid file link: 'media/a36ee3792d20a3dad35be1e289df5aef.jpg'.
Line 807: [Warning] Invalid file link: 'media/708ea670a694e9c158021345c5733c0f.gif'.
Line 1014: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1125: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1139: [Warning] Invalid file link: 'media/1597aff7f613c3f01bda5b389c6719a4.jpg'.
Line 1148: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1168: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1189: [Warning] Invalid file link: 'media/47d7888960f58bcf62671721c19fd983.jpg'.
Line 1202: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1281: [Warning] Invalid file link: 'media/4a6f5ca9a4f1c8afbb262366b0b99c03.jpg'.
Line 1314: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1356: [Warning] Invalid file link: 'media/e49cb2902de2e13466b4ad5f4f07c630.jpg'.
Line 1383: [Warning] Invalid file link: 'media/adc7ed53c7dcdec15b92dddfdf40847f.jpg'.
Line 1423: [Warning] Invalid file link: 'media/acd2aff846ecb477a873dd0595bac494.jpg'.
Line 1634: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1661: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1788: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 1867: [Warning] Invalid file link: 'media/e7ad250b61c0c4be0b07981ba693bc4f.png'.
Line 1878: [Warning] Invalid file link: 'media/cbd974239674b95d22b94fa20d1c4c7a.png'.
Line 1891: [Warning] Invalid file link: 'media/e323d6cf753295eddd0b803e8f8a738d.png'.
Line 1977: [Warning] Invalid file link: 'media/dd2bf3db7c50ffdeea57e6d23e5fafa6.jpg'.
Line 1994: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 2026: [Warning] Invalid file link: 'media/27dfd5f61b0a29f35d5b73e6b6bf6bef.jpg'.
Line 2061: [Warning] Invalid file link: 'media/b33c316e27c95989a8eb638dec691771.jpg'.
Line 2071: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2101: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 2119: [Warning] Invalid file link: 'media/657df4011a3dd42c47b326fbc88fafd5.jpg'.
Line 2147: [Warning] Invalid file link: 'media/5f17992822798bd90032ed9b8bc5dd44.jpg'.
Line 2181: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2235: [Warning] Invalid file link: 'media/ce0aaeb901d0b0c3f548cc57ed00b8a0.jpg'.
Line 2257: [Warning] Invalid file link: 'media/0db6f4872075f2b1cc507a9c80b58038.png'.
Line 2271: [Warning] Invalid file link: 'media/2b5bb39073e32bc5cfb703af58baf1bd.png'.
Line 2334: [Warning] Invalid file link: 'media/57bd80b2efe26be55621e11f258582c6.jpg'.
Line 2406: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2419: [Warning] Invalid file link: 'media/e1ebb643175b5ee2421367c034d99d19.jpg'.
Line 2450: [Warning] Invalid file link: 'media/3b9a3a4f9d9e5a64c2581cb1c74f84e3.jpg'.
Line 2481: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2491: [Warning] Invalid file link: 'media/91eccc90ebd5005ee56b5a5a0d326c72.jpg'.
Line 2497: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 2706: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 2803: [Warning] Invalid file link: 'media/e86b980227ef135617849572b100d4df.jpg'.
Line 2838: [Warning] Invalid file link: 'media/628e7d401bf34793e0b2aa1dd8b89500.jpg'.
Line 2861: [Warning] Invalid file link: 'media/b425984db2e4c6c323d1c0d1d93efd11.jpg'.
Line 2883: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2932: [Warning] Invalid file link: 'media/913f27c7a19f592a619ab746a57635f0.jpg'.
Line 2946: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 2960: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 2971: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3009: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3026: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3142: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3158: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3189: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3318: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3358: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3370: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3430: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3549: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3599: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3618: [Warning] Invalid file link: 'media/950ecb44b521a20b70d741d62d212440.jpg'.
Line 3645: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3661: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3713: [Warning] Invalid file link: 'media/3a86aab9ce0e6ad7af063fe066660c75.jpg'.
Line 3727: [Warning] Invalid file link: 'media/37e9f1c83cd5cae0000d5c22328baf07.gif'.
Line 3760: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3795: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3813: [Warning] Invalid file link: 'media/fd6d021a22dcaf4de997ea2a5d15efea.gif'.
Line 3827: [Warning] Invalid file link: 'media/d500d7795a2e3508eb777ea4bbc687a4.jpg'.

dynamics-gp/payroll/CAN18YETax.md

Line 383: [Warning] Invalid file link: 'media/MB2020.JPG'.

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


Evaluation of model not working due to keras compile error

Using the example code provided, this is the error given when trying to evaluate a model:
Using TensorFlow backend. Starting Model evaluation.... ^Ti/home/user/.local/lib/python3.6/site-packages/keras/engine/saving.py:341: UserWarning: No training configuration found in save file: the model was *not* compiled. Compile it manually.   warnings.warn('No training configuration found in save file: ' skipping the evaluation of ../imageai/models/detection_model-ex-029--loss-0008.378.h5 because following exception occurred: 'NoneType' object has no attribute 'shape'

Are you sure your dataset is properly saved on the right directories? I guess the problem is either in your dataset location or in your .xml file format. Double check those points, please.
In adition to this: can you share the full traceback? Can you share your code?
Thanks

Yes, I have tried putting the datasets in all different kinds of locations. I have also tried using absolute paths. Considering training and the model itself works just fine with detection and all. I don't understand what the problem would be with the XML files (they are, however, automatically produced). I attached one of the XML files (in txt format).
The code I used was the one given by the repo in examples/custom_detection_single_model_evaluation.py
`
from imageai.Detection.Custom import DetectionModelTrainer
trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3()
trainer.setDataDirectory(data_directory="hololens")
trainer.evaluateModel(model_path="hololens-ex-60--loss-2.76.h5", json_path="detection_config.json", iou_threshold=0.5, object_threshold=0.3, nms_threshold=0.5)
download JSON file via https://github.com/OlafenwaMoses/ImageAI/releases/download/essential-v4/detection_config.json
download detection model via https://github.com/OlafenwaMoses/ImageAI/releases/download/essential-v4/hololens-ex-60--loss-2.76.h5
"""
SAMPLE RESULT
Model File:  hololens_detection_model-ex-09--loss-4.01.h5
Using IoU :  0.5
Using Object Threshold :  0.3
Using Non-Maximum Suppression :  0.5
hololens: 0.9613
mAP: 0.9613
"""
`
1579944741.9134734.txt

I have the same problem

I have the same problem


package.json

Issue Type: Bug
how to fix the error message: Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from 'https://json.schemastore.org/package': Request vscode/content failed unexpectedly without providing any details.
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: unavailable_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
5.88GB (2.83GB free)

Process Argv
--crash-reporter-id 4852749c-73bc-410a-b654-ffb4e80dee11

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

LiveServer
rit
5.6.1

VSCode was not able to access 'https://json.schemastore.org/package'.
Maybe a connection or proxy issue?

VSCode was not able to access 'https://json.schemastore.org/package'.
Maybe a connection or proxy issue?


chore(readme): remove underlines between badges

Remarks

This is a reupload of https://github.com/web-infra-dev/rspack/pull/7020

Summary

The additional whitespace within the <a> gets included between the badges. By removing this whitespace, the badges will not show underlines in-between anymore

Checklist

[X] Tests updated (or not required).
[X] Documentation updated (or not required).

 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.


Honk Recursive Verifier

Implement Ultra Honk recursive verifier. (Vanilla style - no Goblin yet).

Closed with PR #1488


feat(watch): add interruptible tasks

Description
Adds the ability to annotate persistent tasks as interruptible. Fixes #8164.
NOTE: This does create change in behavior for watch mode where new changes will stop the current executing and start a new one. Previously, we waited for runs to finish, but now that persistent tasks can be interrupted, we can't do that since persistent tasks don't finish.
Testing Instructions
Added tests for ensuring that interruptible requires persistent, but otherwise you'll have to try this out manually since it's watch mode.

NOTE: This does create change in behavior for watch mode where new changes will stop the current executing and start a new one. Previously, we waited for runs to finish, but now that persistent tasks can be interrupted, we can't do that since persistent tasks don't finish.

But only when interruptible is set to true otherwise the previous behaviour occurs?

No, the change is true for all tasks. I don't want to make too many special cases for watch mode execution

looking forward to a release with this feature, when should we expect it being released? 👀

Hmm, looks like the JSON schema was not updated with the new field added here.


tree-sitter-nu grammar doesnt load in Neovim

Describe the bug
The grammar package for tree-sitter-nu called by nvim-treesitter.withPlugins is never picked up by Neovim (v0.10.0).
Steps To Reproduce
Steps to reproduce the behavior:
Install the grammar, open neovim, run checkhealth, see that the grammar's are loaded or not
Expected behavior
The grammar should be loaded by neovim and usable in a .nu (nushell file)
Screenshots

Additional context
From what i can see, the "nu" folder is linked to the tree-sitter-nu-grammar-0.22.5 folder in the nix store but it doesnt follow the same mechanism as the other grammars do:
The queries folder is a parent of nu which is a parent of nu which is a parent of the queries (highlights/indents/injections) like so:
/n/s/brkhrsr7nklxgd63ngg2mw7vkvd9fjmk-vim-pack-dir/pack/myNeovimPackages/start/vimplugin-treesitter-grammar-nu/queries/nu/nu/queries
Other grammars are as follows:
/n/s/b/pack/myNeovimPackages/start/vimplugin-treesitter-grammar-python/queries/python/queries
Notify maintainers
@Profpatsch
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ : nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.20240531.63dacb4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos-23.11"`
 - nixpkgs: `/nix/store/wzx1ba5hqqfa23vfrvqmfmkpj25p37mr-source`

how did you "install" the grammar?

how did you "install" the grammar?

https://github.com/nvim-treesitter/nvim-treesitter/commit/604aa5a7c8cf1fd0c4ad667a0cc7fb8aaf0be33e
now nushell  has been merged into nvim-treesitter

#361493 pulled in a version that is broken on my hosts.


Edge 14 is stable

Edge 14 is stable now: https://blogs.windows.com/windowsexperience/2016/08/02/how-to-get-the-windows-10-anniversary-update/

Yup, has been updated.


should always be synchronous

Palette.generateAsync internally uses AsyncTask, which is not a RxJava way.
People want to generate palette asynchronously should use:
RxPalette.generate( ... )
    .subscribeOn(Schedulers.computation())
    .observeOn(AndroidSchedulers.mainThread())

They probably should, but it's simple enough to support both. Its internal usage of an AsyncTask doesn't make this API any less "Rxjava way", it just defers to whatever asynchronous implementation Google chooses under the hood.

Please don't. Its use of AsyncTask or any other asynchronous algorithms may forks unnecessary extra threads.
Please refer: https://github.com/square/retrofit/pull/1117

You don't have to use generateAsync, and anyone else that uses it should be knowledgeable of what they're doing. If they're not and start spinning off tons of other threads, that's not my problem. To suggest blocking it is like suggesting that any library with code that could be done asynchronously should only support a synchronous API. For a library this small, I'm not interested in predicting how developers are going to use the code nor am I interested in trying to coerce them into a certain asynchronous paradigm when it comes at no extra cost to support both.
Retrofit is not really comparable here. It's an extensive library and having a concise and opinionated API is important to maintain a clear interface. This library has 4 functions, it is really not a big enough deal to matter.

I opted to actually go with this approach anyway, namely because asynchronous unit testing was proving annoying and it was going to be tedious maintaining 4 different OnSubscribe implementations


Integration error with 2023.12.1

Updated to the new 2023.12.1 and followed the instructions: created a follower account, logged in and copied and pasted temp auth token.
Debug shows the following: (time zone UTC+1)
2023-12-28 14:10:46.911 DEBUG (MainThread) [custom_components.carelink.api] Carelink country: at
2023-12-28 14:10:46.911 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: Initial token expires in 1954s (Thu Dec 28 13:43:21 UTC 2023)
2023-12-28 14:10:46.927 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_my_user()
2023-12-28 14:10:46.927 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:47.339 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_my_profile()
2023-12-28 14:10:47.339 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:47.492 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_country_settings()
2023-12-28 14:10:47.492 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:47.676 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_monitor_data()
2023-12-28 14:10:47.676 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:47.868 DEBUG (MainThread) [custom_components.carelink.api] Carelink country: at
2023-12-28 14:10:47.868 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: Initial token expires in 1953s (Thu Dec 28 13:43:21 UTC 2023)
2023-12-28 14:10:47.883 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_my_user()
2023-12-28 14:10:47.883 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:48.073 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_my_profile()
2023-12-28 14:10:48.073 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:48.304 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_country_settings()
2023-12-28 14:10:48.304 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:48.471 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_monitor_data()
2023-12-28 14:10:48.471 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:48.640 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_connect_display_message()
2023-12-28 14:10:48.640 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data()
2023-12-28 14:10:48.790 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: 400
2023-12-28 14:10:48.790 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_data() failed: exception __get_data() session get response is not OK400
2023-12-28 14:10:48.790 DEBUG (MainThread) [custom_components.carelink] Using timezone Europe/Vienna
2023-12-28 14:10:48.791 DEBUG (MainThread) [custom_components.carelink] Using timezone Europe/Vienna
2023-12-28 14:10:48.791 ERROR (MainThread) [custom_components.carelink] Unexpected error fetching carelink data: 'NoneType' object has no attribute 'setdefault'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/carelink/init.py", line 172, in _async_update_data
recent_data["lastSG"] = recent_data.setdefault("lastSG", {})
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'setdefault'
2023-12-28 14:10:48.795 DEBUG (MainThread) [custom_components.carelink] Finished fetching carelink data in 0.927 seconds (success: False)

I think the only time I had such an issue was when I did not provide the patients account.. or you don't have permission to read. You need to create a new follower account and request to read data from the patient. And add the patient's username to the initial integration of the addon.
Sure, you probably might have done all the steps, but since you have a valid token, this is the only thing I can think of.
And you can ignore the 'setdefault' warnings/error... they are (only) follow up issues and need to be improved separately.

I did request and grant to read the patient data.

It worked by typing in the optional patient id.


Official API Gateway service

Features

[x] native or Expess http server (maybe pluggable adapter for Koa, Hapi, ...etc)
[x] exposed path (/api)
[x] whitelist handling
[x] static folder handling to serve assets
[x] SSL support
[x] body parsers
[x] aliases to shorthand routes (e.g. users.create -> POST /users)

Created: moleculer-web


Quickly define filters by right clicking field values

using: Docker
version: 1.5.0
Context
Filters are currently defined by clicking the table header 'filter' icon and then specifying the filter by a popover.
Feature request
Allow users to right click a field value in the data table and then filter by that value (e.g. '>', '<', '=<', '=>', '=', '!=').
Example screenshot
An example of this feature can be seen in DBeaver:

This is definitely an interesting feature to add. We will will try to come up with more details on what this can look like in the next few weeks, and then open up the discussion / implementation ideas.


How to prevent alert turned to is_enabled=True to send alerts in the past

I have a flatline alert that look like this:
`name: My-Alert
import: ../config.yaml.inc
is_enabled: True
index: myindex-http-*
type: flatline
threshold: 10
timeframe:
minutes: 2
filter:

query:
query_string:
query: "field: value"

`
I needed  tio disable it for a week to fix the detected problem. Once I fixed it and set is_enabled=True again, elastalert restarted exactly at the the time it was turned off. despite having a timeframe of only 2 minutes.
I read somewhere that it's the normal behaviour but is there a way to prevent this and force it to restart at the moment it was turned back on? I also saw that if I changed the rule name it could work but I would rather keep the same name if possible.

There's a setting called old_query_limit: https://elastalert.readthedocs.io/en/latest/elastalert.html?highlight=old_query_limit
But you'd need to restart elastalert to change this value.
Another option is to alter the name of the rule slightly. It looks for exact name matches to find where it last left off.
A final option is to go into the elastalert_status index in Elasticsearch and delete the query logs for that rule.

Ok in our case setting an old_query_limit to a shorter period should do it although I understand it's a trade-off. I'd rather not change my alerts name, even slightly as I do have other tools relying on the exact string
thanks!


read.lisp should not use symbol names

This line is the problem:
https://github.com/own-pt/wordnet-dsl/blob/74593f13be30a395ed5f584537747849b1d66047/src/read.lisp#L7
While it work on Macs due to case insensitive file systems, it fails on Linux.  I recommend switching to strings instead of symbols for the filenames.

341b38d8771d970ceae409e2884055caceebbf50 changes that.

Why not a hash of strings instead of symbols ? But this is a minor problem for now

@fcbr the proposed change solves the issues ?

Yep, closing it.


The Datadog class is missing from 1.7.0 in the Python cdk-v2 library

Expected Behavior
from datadog_cdk_constructs_v2 import Datadog works.
Actual Behavior
from datadog_cdk_constructs_v2 import Datadog throws an import error.
Stacktrace
Traceback (most recent call last):
File "/home/runner/work/xxxx/xxxx/app.py", line 7, in <module>
  from infra import common
File "/home/runner/work/xxxx/xxxx/infra/common.py", line 11, in <module>
  from xxx.cdk.datadog import Monitoring as DatadogMonitoring
File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/xxx/cdk/datadog.py", line 14, in <module>
  from datadog_cdk_constructs_v2 import Datadog
ImportError: cannot import name 'Datadog' from 'datadog_cdk_constructs_v2' (/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/datadog_cdk_constructs_v2/__init__.py)  ```

Hi @kcp-chewie, thanks for bringing this up. We're working on a fix now, but in the meantime please use version 1.61.0

This has been fixed with version 1.71.0
Please reach out if you have any other issues!


fix: endent introduces unexpected newlines

closes #50

Codecov Report

Merging #51 (b6b579a) into main (0e94cea) will not change coverage.
The diff coverage is 81.81%.

@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   44.66%   44.66%
=======================================
  Files          26       26
  Lines         403      403
  Branches       80       80
=======================================
  Hits          180      180
  Misses        203      203
  Partials       20       20

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

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket: