[Feature Request] Recording gyro data when recording video

Is your feature request related to a problem? Please describe.
I'd like M5StickC Plus to start recording gyro data when video recording is triggered (and stop recording gyro data when video recording is stopped) so it can be used for post-process video stabilization using Gyroflow.
Describe the solution you'd like
Many newer Sony cameras such as Sony ZV-1, ZV-E10, Sony FX30, Sony α7 IV etc. can record gyro data which are later on used for post-process video stabilization using Sony's proprietary software Catalyst Browse. However there's similar open source software called Gyroflow that can load data from external source and use it for video stabilization in a similar way Sony's Catalyst Browse does it. It'd be awesome to have such a small device as M5StickC Plus is, attached to older Sony cameras (such as Sony a6400 in my case) to achieve similar results.
Describe alternatives you've considered
Older Sony a6xxx series cameras (a6000, a6300, a6500) run on Android system and are tweakable (f.e. using this  ) so maybe it could be possible to implement android app that would capture camera's internal gyro sensor data. However as far as I know, this is not possible for newer but not entirely new models such as Sony a6400 or a6600.

here's some gyro logger repo that should be compatible with Gyroflow in case it'd be useful

Maybe I will work on this, it is in the spirit of what I typically do. But I don't make enough videos to have expertise on this topic.
I did some calculations, 60 FPS means roughly 16 milliseconds per frame. if I did one sample every 5 milliseconds, then the M5StickC-Plus can record about 800 seconds of IMU data. And that's in a binary format, not CSV. Another tool will be required to convert the binary into the CSV that Gyroflow can use.
 It would require the usage of a serial terminal, the user would need to type in some Wi-Fi credentials, then if the connection succeeds, the user can download a file through a URL displayed in the terminal. Maybe the HTTP server can do the file conversion though.
The screen will not be able to show a timer. The current code prioritizes communication with the camera, but is not well suited for super timing accurate tasks like logging with millisecond precision. Updating the screen all the time will make it hard to achieve the timing. So if I implement this, the screen will simply show "logging started", and it will end when the user presses the button. I can make the LED flash as it logs. There will be no connection to the camera during this time.
What do you think?

Maybe I will work on this, it is in the spirit of what I typically do. But I don't make enough videos to have expertise on this topic.

First of all, thanks for your willingness to work on such thing. It's highly appreciated.

The current code prioritizes communication with the camera, but is not well suited for super timing accurate tasks like logging with millisecond precision.

I think the precision doesn't necessarily need to be spot on as there's auto sync function in Gyroflow that actually can match gyro data graph with optical flow algorithm approximation of the movement. So as soon as it's roughly in sync with recording, it should be good enough.

The screen will not be able to show a timer. The current code prioritizes communication with the camera, but is not well suited for super timing accurate tasks like logging with millisecond precision. Updating the screen all the time will make it hard to achieve the timing. So if I implement this, the screen will simply show "logging started", and it will end when the user presses the button. I can make the LED flash as it logs. There will be no connection to the camera during this time.

Sure, this is no problem, I understand it's challenging. There's no need to see timer on the screen.

I did some calculations, 60 FPS means roughly 16 milliseconds per frame. if I did one sample every 5 milliseconds, then the M5StickC-Plus can record about 800 seconds of IMU data. And that's in a binary format, not CSV. Another tool will be required to convert the binary into the CSV that Gyroflow can use.
 It would require the usage of a serial terminal, the user would need to type in some Wi-Fi credentials, then if the connection succeeds, the user can download a file through a URL displayed in the terminal. Maybe the HTTP server can do the file conversion though.

I see, the memory limitation is tricky. Usually those videos capturing motion aren't too long, however it'd mean it'd be necessary to download gyro data after every ~13mins of the footage which can be suboptimal. I am wondering if anything from the following would be possible:

it'd be possible to add some memory module to M5StickC Plus to extend the storage
pair-up with f.e. smartphone app and offload the gyro data once recording is finished
run the same code on some other M5 device, f.e. M5Stack Core 2 that has memory card slot

This is just quick brainstorming, I don't expect you to implement f.e. mobile app for the second idea. I am just trying to figure out some convenient solution.

There's no way to extend the memory. The spare pins available are not enough.
I don't ever make apps for IoT projects. I always simply implement a web portal, and code everything using HTML and JavaScript. So the app is always a web app, no install, no security risk, no need to buy a mac... I think I already implemented Wi-Fi AP mode HTTP server for the Alpha-Fairy so that part is not hard.
The M5Stack Core would help. But getting the rest of Alpha-Fairy working on it would take a lot of work.
Uh, I have a robotics competition at the end of August I'm focusing on, don't expect me to work on this fast

Ok I understand. Just to double check.

I think I already implemented Wi-Fi AP mode HTTP server for the Alpha-Fairy so that part is not hard

does this mean I'd be able to connect and download data via smartphone browser without need to connect M5Stick using cable?

The M5Stack Core would help. But getting the rest of Alpha-Fairy working on it would take a lot of work.

This would be unnecessarily difficult it seems like. If there's convenient way to download data from it, 13mins of gyro data on M5StickC Plus will be enough.

Uh, I have a robotics competition at the end of August I'm focusing on, don't expect me to work on this fast

OFC, no pressure on this. I'll fork your repo and try it myself in the meantime once I'll get my M5StickC Plus I ordered even though this would be my first experience with writing code for such device.


[FAT-13846] Updated tests to separate credits from expenditures

Purpose
FAT-13846 - Update tests to separate credits from expenditures
Approach

Updated amounts and totals wherever credits are used (otherwise the tests are still valid)
Added some test cases with credits to check totals
I did not check if the tests pass because the implementation is not complete. So there might be something to fix afterwards, but for now it can be used as a target to achieve with the implementation.

re-enabled disabled karate tests related to credits feature in scope of this pr


Direct Rendering on AMD gives error: Could not create presentable surface 0

When trying to run the RenderManager examples like: RenderManagerD3DPresentExample3D.exe, RenderManagerOpenGLSharedContextPresentExample.exe, RenderManagerD3DATWDoubleBufferExample.exe and the other examples which are shipped with OSVR I get the following error only on AMD cards:
error [RenderManager]: RenderManagerAMDD3D11::OpenDisplay(): Could not create presentable surface 0
I am using a custom display in my headset and have direct rendering working with Nvidia'
s direct mode without any problem with my current configuration. It seems like the error is thrown by the NDA repository implementation of direct to display from AMD.
Is there something I am missing? I don't believe AMD requires me to whitelist the HMD.
It is interesting to note that EnableOSVRDirectModeAMD.exe and DisableOSVRDirectModeAMD.exe works with the AMD card without any problem.
I am pasting the error log here:
Apr 17 15:30:12.602 info [createRenderManager]: Display descriptor reports vendor as MVN
Apr 17 15:30:12.602 info [createRenderManager]: No built-in match found, but vendor could match PNPID format, so adding as a candidate MVN
Apr 17 15:30:12.617 info [OSVR: com.osvr.renderManager]: OSVR client context initialized for com.osvr.renderManager
Apr 17 15:30:12.618 info [OSVR: com.osvr.renderManager]: Got connection to main OSVR server
Apr 17 15:30:12.700 info [OSVR: com.osvr.renderManager]: Connected 0 of 0 unconnected paths successfully
Apr 17 15:30:12.706 info [OSVR: com.osvr.renderManager]: Connection process took 87ms: have connection to server, have path tree
Apr 17 15:30:12.706 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /me/head
Apr 17 15:30:12.707 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Client\TrackerRemoteFactory.cpp:93: Constructed a TrackerHandler for com_osvr_Meta/Meta@localhost:3883 sensor 0
Apr 17 15:30:12.707 info [OSVR: com.osvr.renderManager]: Successfully produced handler for /me/head
Apr 17 15:30:12.722 info [RenderManager]: RenderManagerD3D11Base::SetDeviceAndContext: Created D3D11 device
Apr 17 15:30:12.723 info [RenderManager]: RenderManagerD3D11Base::OpenDisplay(): Using display adapter Radeon (TM) RX 480 Graphics
Apr 17 15:30:16.162 info [RenderManager]: Mfr: ce36  PID: ea60
Apr 17 15:30:16.169 info [RenderManager]: Matches the filter!
Apr 17 15:30:16.169 info [RenderManager]: Opening display described as Perm: N:Meta2 M:MVN P:0xEA60
Apr 17 15:30:17.124 error [RenderManager]: RenderManagerAMDD3D11::OpenDisplay(): Could not create presentable surface 0
Could not open display

Hmm - it looks like it's matching the filter, so it should be working. I have some improvements to the AMD submodule that just hadn't gotten integrated into the main repo - see https://github.com/sensics/OSVR-RenderManager/pull/316 - which might help.

I don't have access to the NDA repositories as yet. I am using the RenderManger being shipped by OSVR out of the box.
Would it be possible to get a build for this RenderManager from the amd-update branch? When do you think this update can be merged into main and make its way into a publicly released dll?

I just need someone to "review" the submodule update pull request, which
shouldn't be difficult since the actual changes were merged earlier. Then a
build will automatically be produced.
On Tue, Apr 18, 2017 at 2:37 PM raunaqatmeta<EMAIL_ADDRESS>wrote:

I don't have access to the NDA repositories as yet. I am using the
RenderManger being shipped by OSVR out of the box.
Would it be possible to get a build for this RenderManager from the
amd-update branch? When do you think this update can be merged into main
and make its way into a publicly released dll?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/sensics/OSVR-RenderManager/issues/314#issuecomment-294956314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADuyYdscJc_P2PYQxxI_D1P0dyR92tAks5rxRDngaJpZM4M_qAB
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
Apr 9: The unique requirements of public VR
http://sensics.com/unique-requirements-public-vr/
Apr 3: Suffering, Art and VR Standards
http://sensics.com/suffering-art-vr-standards/
Apr 1: Unholy alliance
http://vrguy.blogspot.com/2017/04/unholy-alliance.html

@rpavlik  Is there any place I can access the build once its ready?

https://gist.github.com/rpavlik/2f581216ad670071bd2c26ae1ca155d5

I tried using the builds as follows:

Got the OSVR core and render manager 7z builds using the scripts you pointed me to.
Configured the OSVR render manager and copied over my osvr plugin.
Copied over the Render Manager bin (and examples) into the OSVR core bin.
Ran the OSVR server. I could get all the head position information accurately.
Ran the sample native applications packaged with the render manager build i got from the scripts.

I still see the same errors as before. Do let me know if I made a mistake.

@rpavlik : Another data point:
The AMD GPU works with the SteamVR - OSVR plugin in direct mode. I am guessing this is because the surface creation is handled by the steam compositor. However the AMD direct mode still seems to have this issue.


Validate launch configurations

We don't currently check that the launch configurations specified by the user, or computed/deduced by the adapter, are even supported by the device. Let's add such checks and fail early if the configurations are not supported.
What to check?

block size overall
grid size overall
block size in each axis
grid size in each axis
Dynamic shared memory

All of the above are now verified with CUDA, but not with OpenCL.
Also, need to have another look at the CUDA API wrappers validation code to make sure we're not missing anything.

With OpenCL, it seems the best we can do is use the following:

CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS
CL_DEVICE_MAX_WORK_ITEM_SIZES - an array of size_t's and length as per the previous attribute; and it applies to workgroups, not to the grid
CL_DEVICE_MAX_WORK_GROUP_SIZE - may be smaller than the product of per-axis maximum dimension

But can also check that the dimensions are positive.


Fixing problems introduced by merging #1623 for older compilers

This also changes boost::detail::iterator_traits to std::iterator_traits

This has been tested on all major platforms and has shown to fix the issue.


#1207 fix(Config,Babel): Redbox error source mapping change

RedBox showing error links to compile code instead of original code from webpack #1207

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1208   +/-   ##
=======================================
  Coverage   72.72%   72.72%
=======================================
  Files          12       12
  Lines          66       66
=======================================
  Hits           48       48
  Misses         18       18

Continue to review full report at Codecov.

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

+1 for this
I was able to get the intended result without including 'transform-react-display-name', so that may not be needed.

Really appreciate the fix, but if it's solvable without the added dependency I'd prefer that route.
Do normal source maps still work correctly with eval? I remember having issues in the past, but perhaps those have been fixed.

@prescottprue  Can you please provide the details, how you were able to do that. Because without adding a dependency is always a preferred solution for me.
@davezuko Very much agreed with you, without adding a dependency is always preferred by me as well.
i haven't faced any issue  regarding eval with source maps as such. As far as Redbox is concern they recommend eval over others with webpack. https://github.com/commissure/redbox-react#sourcemaps-with-webpack

So I just took a look at this with the new migration to webpack 2, and it seems like it's just an issue with Redbox. If you look at the error in the console, you see the correct component and file mapping in the stack trace. Going to dig into redbox and see about submitting a PR to them, since source-map (and similar) is more useful for debugging than eval.


photon stack 有支持spdk的blobfs计划吗

rocksdb + ext4 + ssd，导致lsm引擎并没有很好的将底层硬件的能力发挥出来；
photon在rocksdb的协程化改造中，个人认为是做了一个非常好的尝试的，能否做到生产可用？如何可以的话，真是一个amazing的工作；
sdpk的blobfs比较精简，append only的特性，很好的和Rocksdb的io pattern适配；如果能结合photon的协程能力，个人感觉能给本地存储场景的rocksdb一个很好的工程实践

We do plan to use rocksdb in our productional apps, that's why we have made it coroutine-nized.
Your suggestion for blobfs and spdk is really a good one, and I believe it will prove its value once done. The problem is that we haven't met such demand from our applications, and we only have quite limited hands at present. If you can contribute an implementation for that binding, it would make the suggestion come true much earlier.
Thanks!


fn: in api tests move singleton server into TestMain

This also avoids spinning up this extra server in fn-system-tests.


F1 2020 Erpfragment type 16 is not supported

I know, I had the same problem as you, I am waiting for more data to try to be able to extract the models, it is annoying, it is the only defect that I criticize for the moment ...

Its in the usual path but instead of animation package you can find it in team package and Team Livery.
They have repacked everything differently this year..I don't like it...

I don't like it either, so it's the same source I have, but I have "uncommon", I hope we can modify the skin, it will be really a shame to be restrained

I think it all correlates with this podium pass (Hence the common, uncommon, legendary, etc)
I don't think it was worth adding this podium pass in, I hope its not just bound for Online only.
If we can get past this hurdle we should be back to where we were before.

I don't know, I'm watching this midi at home, all I hope is to be able to settle this problem of "erpfragment type 16" that would make insertion more interesting!
From what I read, other files should have arrived at the official release on the 10th, while waiting for those who have it have a semi complete version

I uploaded a new version of the erp archiver.  Give it a try.

great guy thank you it's perfect !! Provenance : Courrier pour Windows 10 De : Petar TasevEnvoyé le :jeudi 9 juillet 2020 05:34À : ptasev/Ego-Engine-ModdingCc : XOOLHP; CommentObjet :Re: [ptasev/Ego-Engine-Modding] F1 2020 Erpfragment type 16 is not supported (#33) I uploaded a new version of the erp archiver. Give it a try.—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

I downloaded .NET Core 3.1 but it still says that I need to download it when I try to open the app.

Did you download the latest version of Ego? And did you take version 64?


Fix lint warnings on go_router example

The go_router example from the drop down menu, found at https://gist.github.com/flutterdevrelgists/4a546fc44db8aca351bfe791e251acc2, comes with a bunch of lint warnings.
Screenshot

Thanks for the report! We've decided to retire the current package:go_router sample for now, but will look to bring back a new sample that showcases its features in the future. If you have any ideas, please let us know! Thanks again :)


Not compiling in Void Linux

Hi there, currently running Hypr on X11 (it's great!) but looking forward to trying the Hyprland and see how that rolls.
Sadly, I can't get it to compile on my system because a meson file is missing during make install.
If there is anything other info I can supply to help out, please let me know.

In normal circumstances, you could either add --recursive to the git clone command, or run git submodule init && git submodule update  on the already cloned source to download it.
However, it seems that freedesktop's GitLab, where wlroots is hosted, is having issues (returns 504). So until it's back up, I'm afraid we can't do much.

In the meanwhile, if you just wanna try it out, you could try using the latest binary release.

yepp, freedesktop's Gitlab has been down for ~10hours or so.

Thanks for the suggestion, but I have been having difficulties with them too
/tmp/hyprland
❯ ./Hyprland
./Hyprland: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by ./Hyprland)
./Hyprland: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by ./Hyprland)
./Hyprland: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./Hyprland)
./Hyprland: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib64/libwlroots.so.11032)
./Hyprland: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib64/libwlroots.so.11032)

Void Linux is on glibc_2.32 so I can't run it on my box :(

#205 would fix this by taking advantage of Meson's builtin support for graceful system dependency fallback to submodules.

#205 would fix this by taking advantage of Meson's builtin support for graceful system dependency fallback to submodules.

that wouldnt fix shit and possibly introduce more problems. Hyprland doesn't follow the latest commit of wlroots for a reason. Furthermore, Hyprland will NEVER use system wlroots. At least if built (properly) with CMake.  Hyprland doesn't follow the latest commit of wlroots for a reason.

That is why dependencies take a version argument to ensure that the system wlroots is not considered satisfactory unless it's the right version of wlroots.

cmake --build ./build --config Release --target all -j 10
[42/42] Linking CXX executable Hyprland
make[2]: Leaving directory '/home/hplar/git/src/Hyprland'
cd ./hyprctl && make all && cd ..
make[2]: Entering directory '/home/hplar/git/src/Hyprland/hyprctl'
g++ -std=c++20 ./main.cpp -o ./hyprctl
make[2]: Leaving directory '/home/hplar/git/src/Hyprland/hyprctl'
make[1]: Leaving directory '/home/hplar/git/src/Hyprland'
mkdir -p /usr/local/share/wayland-sessions
cp ./example/hyprland.desktop /usr/local/share/wayland-sessions/
mkdir -p /usr/local/bin
cp ./build/Hyprland /usr/local/bin
cp ./hyprctl/hyprctl /usr/local/bin
mkdir -p /usr/local/share/hyprland
cp ./assets/wall_2K.png /usr/local/share/hyprland
cp ./assets/wall_4K.png /usr/local/share/hyprland
cp ./assets/wall_8K.png /usr/local/share/hyprland

Compiler looking happy now that I was able to clone wlroots from the freedesktop repo.

closong then


Connection to server failed

[Error - 10:30:47] Server initialization failed.
  Message: Request initialize failed with message: abort(Assertion failed: bad export type for `tree_sitter_c_sharp_external_scanner_create`: undefined). Build with -s ASSERTIONS=1 for more info.
  Code: -32603
[Error - 10:30:47] Cucumber Language Server client: couldn't create connection to server.
  Message: Request initialize failed with message: abort(Assertion failed: bad export type for `tree_sitter_c_sharp_external_scanner_create`: undefined). Build with -s ASSERTIONS=1 for more info.
  Code: -32603


feat: Resurface critical filters to utility toolbar

Tidy 5e Sheets now has a variety of new filters, requiring a place to put overflow.
However, some filters are critical during play, such as those seen on Tidy before the big filter upgrade.
Restore the most critical filters to the utility toolbar by default, and leave room for a future upgrade to allow users to pin/unpin filters to the utility bar.

Closing as completed.


weekly review for generating training data using llms

I've signed us up for the 12th July slot - even if we haven't trained the NER model yet, hopefully we will have experimented with it

FYI changed to august as its the first day back from holiday for me! @lizgzil

@liz started this here: https://docs.google.com/presentation/d/14SDujJ7H6Ho5NzQRsC_MgeJx_jPh5pLE66iCXbM9nYs/edit#slide=id.g25c3e8b7584_0_1139


Invalid Token

I'm trying to confirm an email account, but I'm getting the error "Invalid Token".
I'm gerenating the confirmation token using the following code:
var code = await UserManager.GenerateEmailConfirmationTokenAsync(user.Id);
var callbackUrl = Url.Action("ConfirmacaoEmail", "Usuario", new { userId = user.Id, code = code }, protocol: Request.Url.Scheme);
                    await UserManager.SendEmailAsync(user.Id, "Ativação de Conta", user.GetEmailAtivacao(model.Nome, callbackUrl));

                    ViewBag.Link = callbackUrl;
                    return View("ExibicaoEmail");

As I'm testing, I've copied the callbackUrl and pasted in another tab. To confirm the token, I'm using the following code:
var resultConfirmacaoEmail = await UserManager.ConfirmEmailAsync(identityUser.Id, model.Code);
It seems to be a encode/decode problem, but I've already tested with and without encode the confirmation code and it still not working and I don't know what to do.
Here the link:
link
I've tried confirmation code as:
HSLVy54VW3/ZOEBGeme3/F4IyTS1gbixTVejbxdKrsMZ3E3QFVomMS7rOkLsgqfRo+STf8fbBib9h9CK4tTsXNoq5ffD3hn+ULIWvmUWORcVrZLFIT0OQ6AWuQ8bIWIlXC+qyrHJE3atF15T8Rmtnymjqa2lHUXxmT122E6Q564axhN0SR3XCFG2uYXZkM8/
and
HSLVy54VW3%2FZOEBGeme3%2FF4IyTS1gbixTVejbxdKrsMZ3E3QFVomMS7rOkLsgqfRo%2BSTf8fbBib9h9CK4tTsXNoq5ffD3hn%2BULIWvmUWORcVrZLFIT0OQ6AWuQ8bIWIlXC%2BqyrHJE3atF15T8Rmtnymjqa2lHUXxmT122E6Q564axhN0SR3XCFG2uYXZkM8%2F
both return the same error: "Invalid Token". Any clues?

I've got the same problem, has anyone figured our  something?


Add Cherrypy

Adding a language

[x] The code displays "Hello World"
[x] I have updated the readme to include the new language
[x] I have incremented the language count in the readme
[x] I have no association with the language

Link to programming language: https://docs.cherrypy.dev/en/latest/

It appears that the intended title for the filename should be CherryPy

yes, I will fix those problems right now

ill make another pull request later


pylance_error for importing function from another file

I am Using Pylance in Visual Studio Code,
When i import fuction from another file it work normally.
But i receive a problem {
Import "(file-name)" could not be resolved, Pylance (reportMissingImports)[1,8]
Everything is works good when i run code, but everytime i see error in Problems.
Please Solve it !

@devnarayanp02, thanks for the report. Could you please send a code sample and the folder structure?

Code working normally in Terminal,no issue When i Run !

I am a Beginner and learning Python,
when i make that two python file in desktop then didn't showing this problem
But when move these files to another folder where my all python files available then i face this problem

.

I have exactly the same issue. To expand a bit, if I have a project with a single directory and all my python files in it there is no issue. If I create a structure with a top-directory and one subdirectory where I put all my files in, VSCode and Pylance can't resolve the modules anymore, though the code is running fine. If I open this subdirectory alone then Pylance finds the other files.

I have managed to fix this issue. This is related with the way Pylance is trying to resolve imports.
In your case, in your project root folder create a .vscode directory. Then in this directory create a settings.json file.
Open this file and add this:
"python.analysis.extraPaths":["./subfolder1", "./subfolder2"]

This way you will be able to import your hello module into your hello2 file.

Thanks for help, I don't know why but my problem is solved. Now I can move that two files to any directory,
Now color is not changing to green when import function from another file.
Now an extra folder 'pycache' created after importing function.
I have Updated VS Code then show a pop-up for installing Jupyter Notebook Extension and pylint module, I have installed both.


Clarify how to use id constraints in XPath

Changes agreed over Slack.
Will do further work on a new PR about XPath builder.


Site context / routing issue

when you go to url like /contextParam1/contextParam2/?any=thing - it redirects to /contextParam1/contextParam2/contextParam2?any=thing

QA steps:

open url /electronics-spa/en/USD/?test=param and check if homepage loads correctly
Also it could work for all the following urls:
/electronics-spa/en/USD?test=param
/electronics-spa/en/USD#fragment
/electronics-spa/en/USD/#fragment
/electronics-spa/en/USD?test=param#fragment
/electronics-spa/en/USD/?test=param#fragment

QA done, all following url's works properly.


Add files via upload

Add Montpellier Business School
School Website: www.montpellier-bs.com

Add Montpellier Business School domain

@mew221b First stage of verification passed, official domain is montpellier-bs.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@mew221b Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Using AI agents to contribute to the book

In your video "LAID OFF BY AI: Day 5: Filled with a terrible resolve! Let's write a collaborative book!" you did not mention AI, AI agents as collaborators. As you already have a repo, code can be added to improve all of the aspects of the book, like readability, citations, graphs, graphics, etc. Then as you add raw content it can be integrated, cleaned up, analyzed and whatever else automatically and rebundled into a fresh living book. Automatically an audiobook can be created. Later with AI video generation a documentary could be generated.
This could be a greater resource than the book itself as when you gather a team of all those people with skills to improve the book they can teach AI agents to do that automatically. This way any book can be improved from now on.
P.S. I'm writing this as an issue as the comments were disabled on the video.
Happy to discuss this further.

At its core, the idea of using AI to make this book multimodal has merit, IMO (it kinda reminds me of the fictional book "System Collapse" by Martha Wells). However, as of right now, I think, the tech isn't quite up for that (even for automated text improvement without human oversight) and is thus currently, unfortunately, not actionable. Luckily, AI is changing fast, so this might be possible in a few months.

Thanks for jumping in with your ideas. There would be some value here, however, this constitutes scope creep. Furthermore, there is not much utility in focusing on agents and bots, as not many people use them, and they are experimental. Please review CONTRIBUTING as well as the strategy. These will not be changed. Cheers!

@daveshap The idea has nothing to do with the contents of the book, so you don't have to change anything there. It's a way to improve the book consistent with some of your videos I have seen about higher level thinking with AI.
About the scope creep. It looks like it solves a real problem, how do you update a book about predictions about a quick changing topic and constant influx of new information. Include here discussions, different ideas from contributors. All of this needs to be managed and integrated.
P.S. Maybe it's a topic for the discussions.
Cheers


Set the original requirement in patches from suggest

Previously, origRequire is not set in patches from suggest, however we plan to use this field to differentiate patches from override, this PR sets origRequire for patches from suggest so that manifest.Write() is able to only add dependencies from patches generated by override.

Codecov Report
Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 66.90%. Comparing base (9ab83d0) to head (6ec43bb).
Report is 1 commits behind head on main.

Files
Patch %
Lines

internal/resolution/manifest/maven.go
50.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1117      +/-   ##
==========================================
+ Coverage   65.99%   66.90%   +0.91%
==========================================
  Files         160      161       +1
  Lines       12910    10199    -2711
==========================================
- Hits         8520     6824    -1696
+ Misses       3917     2890    -1027
- Partials      473      485      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


It would be nice if clocks could generate architecture specific clock tiles as needed.

It would be nice if Rhea's clocks could generate architecture specific clock tiles as needed.
For example, given a hardware_clock specified in a board definition file with a frequency of 12mhz, I want to create a derived_clock of 48mhz (and have rhea automatically set up the clock tile for me)
derived_clock = hardware_clock.create_derived_clock(frequency=48e6)
During vhdl / verilog conversion:

verification would occur that the frequency could be synthesized by the clock tiles available in the particular part.
The particular set of multiplies / divides would be set up - and otherwise configuring the clock tile.
part specific verilog / vhdl would be emitted to specify the clock tile.

Implementation wise, I imagine there would need to be FPGA part specification classes, much like the board files have.  I imagine these FPGA classes would contain their various clock resources and contain code to set up the multipliers and dividers and emit the code.   I can also imagine the possibility for these FPGA specifications being used in the future for specifying other implementation specific hardware (serdes, clock buffers, etc)
Thoughts?

Wait, I seem to have found this already exists in some form in device_clock_mgmt.py.
will give that a try.


Upstream work: help jupyterlab clarify to users if a kernel is OOMKilled

I think currently, the UX of using JupyterLab, and having a kernel run out of memory, making the kernel process killed - the user won't understand much about what happened. Wouldn't it be great if this could be surfaced to the user in a message box or similar - "kernel process terminated unexpectedly - error code 137" or more tailoired where its clarified that 137 is associated with being out of memory in linux.
I'm not sure how to proceed, or if this makes sense, but this is maybe something we can refine to an idea of a upstream contribution?

I'm not sure how to proceed, or if this makes sense, but this is maybe something we can refine to an idea of a upstream contribution?

It seems a general enough feature to be an upstream contribution, IMHO.


🚧 Proxless working in the cloud

Use hello-world image for example
Fix host parsing
Fix NPE in serviceengine

Successfully deployed proxless in a kubernetes cluster with the ./examples resources.
It's working fine. The example if a hello-world docker image from Docker.
I added an Ingress for hello-world.proxless.kintohub.com.
Cool thing is that the configuration is really minimal.

Inactive.
Merging...


wrong checksum with spark-sql 2.4.4 (Scala 2.12)

steps
sbt version: 1.3.7
Create an empty project with the following build.sbt:
name := "wrong-checksum"

version := "0.1"

scalaVersion := "2.12.10"

libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.4.4"

problem
[error] (update) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/spark-sql_2.12-2.4.4.jar: wrong checksum: /Users/jacek/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/spark-sql_2.12-2.4.4.jar (expected SHA-1 ec1d629508b27dd126a3b24ce8af91e72778e16f in /Users/jacek/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/.spark-sql_2.12-2.4.4.jar__sha1, got 999be449cb7a92968bf60be68ff1c36647be0a4c)
[error] (ssExtractDependencies) lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
[error] https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/spark-sql_2.12-2.4.4.jar: wrong checksum: /Users/jacek/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/spark-sql_2.12-2.4.4.jar (expected SHA-1 ec1d629508b27dd126a3b24ce8af91e72778e16f in /Users/jacek/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/2.4.4/.spark-sql_2.12-2.4.4.jar__sha1, got 999be449cb7a92968bf60be68ff1c36647be0a4c)
[error] Total time: 2 s, completed Jan 16, 2020 7:05:59 PM

expectation
Spark SQL dependency resolved without disabling coursier.
notes
Disabling coursier with the following in build.sbt fixes it:
useCoursier := false

Not sure if this was resolved, but if in fact the checksum does NOT match (because it contains error message in HTML etc), then I think the default behavior of failing is the correct behavior.

Not sure if this was resolved, but if in fact the checksum does NOT match (because it contains error message in HTML etc), then I think the default behavior of failing is the correct behavior.

I don't remember whether it was fixed or not, but haven't seen it since. I think it could be marked as resolved (as can always be reopened when necessary). Thank you.

I don't remember whether it was fixed or not, but haven't seen it since. I think it could be marked as resolved (as can always be reopened when necessary). Thank you.


Fixes #43 clobber flag less truthy

passing a string of 'false' would stop clobber
just because it confused me for second doesn't mean it's needed :)

See #43

Current coverage is 84.93% (diff: 100%)

Merging #50 into master will not change coverage

@@             master        #50   diff @@
==========================================
  Files             1          1
  Lines            73         73
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             62         62
  Misses           11         11
  Partials          0          0

Powered by Codecov. Last update e3eb838...7e4d7e3

So I was fiddling around trying to write a test for this, which made me realize the command line flag ignores adding a 'false' string after the flag... and having a second .rc file in test/fixtures will also be a bit tricky.  I wonder if just punting on this makes more sense.  It's a bit of a non issue unless you're just not thinking about the whole truthy thing while you're editing an rc file.

I think I'll just leave this for now... it's not a big priority and I can pick it up again if I get motivated to figure out a test.


vmware-horizon-client: s/buildFHSEnvChroot/buildFHSEnv/

Description of changes
Suggested in https://github.com/NixOS/nixpkgs/pull/229242#issuecomment-1529697576.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This change just re-introduces https://github.com/NixOS/nixpkgs/issues/227262

Thanks for the report!
I don't actually have a server to test this against, so I'll close this PR, and let someone with access re-roll this.


Using Crosswalk - Splash Screen is always white on Android.

@do-web - I've been pulling in some commits from the new version of cordova-android that we are using underneath to drive Crosswalk.
I'll be pushing some changes out Monday for 1.3.3, and I'm hoping this may address your issue.
Thank you for reporting.

@do-web are you also using the splashscreen plugin?

@do-web - any update here? What I hear is you have to add the plugin via its git url:
cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git

Installing the plugin fixed it for me!


feat(cli): add ReactRefreshPluginOptions receive

add ReactRefreshPluginOptions receive

Codecov Report

Merging #76 (7f3c9a0) into master (48a11d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   96.26%   96.26%
=======================================
  Files          17       17
  Lines         241      241
  Branches       42       42
=======================================
  Hits          232      232
  Misses          9        9

Continue to review full report at Codecov.

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


Fixed link to output property

The original link (/concepts/output) leads to an empty page.

It loads for me: https://webpack.js.org/concepts/output/

Might be a browser related bug? 🤔

There maybe other issue...
I encountered this issue in testing locally: http://localhost:3000/concepts/output/
Here is the details:

(1) If I click the nav-button in the side menu, it's OK:

(2) If I click the text anchor [our guide](/concepts/output), it'll results in an empty page:

My browser is:
Chrome, Version 68.0.3440.106 (Official Build) (64-bit)
Mac OSX 10.13.6

And I checked the online site, https://webpack.js.org/concepts/output/ goes well.
Strange though... 🤔

If you detail the href attribute it is different:
"our guide" is /concepts/output
"Output" (navbar) is /concepts/output/.
I guess that webpack-dev-server doesn't handle it, but when running in a server it works just fine.
Can you try adding that / at the end and test locally?

@montogeek
Wow!
Yes, that's the problem.
I've checked that if I added the trailing /, it goes well.
Links without the trailing / all lead to the empty page when rendered locally.

Thanks!


labelparam support

Copied nodeparam for the style, I have docs and tests ready for this too.
Thanks,

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Great, but I think it's error-prone when a user has to call allNodes before trigger and eligibility get effective. Integrate the trigger and eligibility options into allNodes like allNodes(String trigger = 'allCases', String eligibility = 'AllNodeEligibility') and remove the separate trigger and eligibility methods. Then add the docs and tests.

Updated as per comments, added docs, tests and rebased to head of master.


Move images between folders

On iPhone don’t seem to be able to move images from one folder to another. Haven’t tried on desktop

Desktop observations
Check check check buncha ₿🐝 stuff from recent posts, double tapped my /Bitcoin folder - works.
Cons:

you have to Double-Tap pretty fast (not sure if "Move To > Folder1/Folder2/Folder3" would be better here like on android apps or other UIs... not sure what's the best UI design haha but it does not seem natural for some reason (not intuitive right)
you have to Double-Tap EXACTLY the "Text" of the folder name itself, if i click the area outside the text does not seem to work . have to be precise hehe

Mobile Observations

same as above, but i guess it works easier on mobile because the buttons in the vertical orientation are smaller, thus you are almost always double tapping the text area anyways so the success rate of moving between is higher

I got used to it, so i tap it faster now and thinking "oh yea let me double-tap the text area" cuz i got burned too many times in the past

I feel like if it's double tap, the the whole rectangle - including the folder icons/GBs full rectangle should be double-tappable. But maybe it should be different navigation for moving, you know best 🤙


FIX: Add the full directory path to the docker compose file

@bmcclellan-cu, I think this will solve the issue on the dev machine. This adds the full path by appending /pvw

Did you want to bump up the docker-compose.yaml file version as well in this PR?

Done in the last commit. Check and see if that helps dev at all...


Great convenience API for converting from Bytes to byte array

Problem
While we do have a number of getBytes methods on Bytes to populate an array, we're missing a simple asByteArray method that will create a new byte array of the correct size and populate it with a copy of the data all in one call. Right now, I have to do a lot of conversions between Bytes and byte arrays because the hashgraph platform doesn't support Bytes yet. As such, I have to write a lot of boilerplate code like:
final var compressedByteArray = new byte[(int) keyBytes.length()];
keyBytes.getBytes(0, compressedByteArray);

Solution
I'd like an API such as:
final var compressedByteArray = keyBytes.asByteArray();

Alternatives
No response

@rbair23 A quick question... Does the returned bytes need to be different than the bytes in the internal buffer? Should the returned value be a copy (slow) or it is okay to return the bytes that already exist? Shall the user be allowed to modify the data in the buffer?

@rbair23 After talking to @jasperpotts, it is as I expected... I need to clone the bytes since the Bytes object is better to stay immutable.

Implemented with https://github.com/hashgraph/pbj/pull/46.


Question: where is the configuration related to prefix + s to show a list of tmux sessions?

Hello,
Thank you for providing the .tmux configuration. It has been very helpful to me.
I would like to understand how you configured the behavior of "pressing prefix + s to display a tmux session list." Could you please direct me to the relevant code in your repository? I am interested in customizing the order of the session list when using prefix + s, but I'm unsure how to do so.
Thank you.

Hello @eval-exec 👋
<prefix> + s is a default tmux binding bound to the choose-tree command, see the output of tmux list-keys and tmux manual

Thank you👋


API to retrieve NoStore set by plugins

A plugin can use TSHttpTxnServerRespNoStoreSet to make ATS not cache the Origin Server's response. Traffic Server does the right thing using the flag api_server_response_no_store, but there is no API to 'get' this flag for other plugins to use it. This PR provides 'GetAPI' for the flag set by TSHttpTxnServerRespNoStoreSet.

Should these also be described in the docs?

Should this also be described in the docs?

Ideally, yes. I didn't do it as TSHttpTxnServerRespNoStoreSet also isn't documented.

Cherry-picked to v9.1.x branch.


Update package.json (#3629)

Removed preview tag from botbuilder-ai-orchestrator package

Pull Request Test Coverage Report for Build 790156191

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 84.249%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 781295182:
0.0%

Covered Lines:
18823

Relevant Lines:
21247

💛  - Coveralls


Uses a hashset to de-duplicate results

This creates a HashSet<u64> using FNV Hashing, because it's much
faster than Rust's default SIP hash and this isn't used for anything
that needs to be overly cyptographically secure. It also allows us to keep a
hashset of 64bit numbers, instead of Strings or string slices thus
reducing memory consumption.
In unscientific benchmarks of ~5,200 .cheat lines containing about
2,600 duplicate lines there was no noticable increase in memory
consumption (benchmarking time is harder since you wait for human
input), both master (HEAD b78903a9d4fb) and this commit used 10.8mb max
RSS.
To attempt to measure time (and again max RSS) running master against
this commit using the command navi --print --path dups_folder/ best "git tag"
resulted in a decrease of memory consumption by about 200k, and no
noticeable time increase.
Closes #283
Note, it's also possible to use a HashSet<String> if you wish to remove fnv.rs, for slightly increased memory and runtime.

I should note, I think technically we're double hashing (FNV hash of String to u64, then SIP hashing u64), however SIP hashing a u64 is very fast. The only way to get around that is to use something like a Vec to hold the hash results. That will actually probably run faster than the current FNV/SIP implementation for low numbers of cheats lines (like 5,000), however as the number of cheats grows I'm pretty sure the Hashset will outperform a Vec pretty easily.

Final note :stuck_out_tongue_winking_eye: It's also possible to use FnvHasher as the HashSet hasher (instead of SIP), however you still end up with a HashSet<String> which means cloning all the lines. Just wanted to mention that since my previous comments gloss over that fact but don't explain why.

Excellent PR description! :clap:
Regarding the double hashing, we could pass a custom hasher to the HashSet, where hasher = identity.
We can do that in a future PR.


Back-end Version 1.0.0

Done the two APIs: transaction :year/:month/detail and :year/:month/:categoryId
Fix bug API  :year/:month/overral
Add attribute User to Expense and Income model, remove two arrays in User model (add relationship)

Nice, but did you test it? @husone

Of course yes, already tested and generated data for front-end team


json dumped datetime behaviour change

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
pydantic v1 .json() would dump datetimes as follows:
>>> a.json()
'{"time": "2023-08-08T08:02:10.013540+00:00"}'

pydantic v2 .json() and .model_dump_json() dumps datetimes as follows:
>>> a.model_dump_json()
'{"time":"2023-08-08T07:57:57.786989Z"}'

The new format cannot be loaded using datetime.datetime.fromisoformat
Is there a way to instruct pydantic to dump datetimes the v1 way?
Example Code
No response
Python, Pydantic & OS Version
pydantic version: 2.1.1
        pydantic-core version: 2.4.0
          pydantic-core build: profile=release pgo=false mimalloc=true
                 install path: /Users/Eimantas/git/skm/wg/.venv/lib/python3.10/site-packages/pydantic
               python version: 3.10.7 (main, Mar 13 2023, 10:00:01) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
                     platform: macOS-13.4.1-arm64-arm-64bit
     optional deps. installed: ['typing-extensions']

Selected Assignee: @hramezani

Thanks @sidekick-eimantas for reporting this 🙏
You can use field_serializer to customize your serialization:
from datetime import datetime

from pydantic import BaseModel, field_serializer

class Model(BaseModel):
    time: datetime

    @field_serializer('time')
    def customise_time_serialization(self, v, info) -> str:
        return v.isoformat()

m = Model(time=datetime.now())
print(m.model_dump_json())  # {"time":"2023-08-08T11:36:42.220234"}

@hramezani Hi! Sorry for hijacking. Is there any way to alter this behaviour globally? (same story for Decimal/float serialization) Because e.g. in my fastapi app sometimes I can't define exact model for dynamic fields returned (it is type hinted as just dict), and I get incompatible datetime returned

You can define your custom type and use it in all places instead of adding field_serializer on every model:
from datetime import datetime

from pydantic import BaseModel, PlainSerializer

from typing_extensions import Annotated

MyDateTime = Annotated[datetime, PlainSerializer(lambda x: x.isoformat())]

class Model(BaseModel):
    time: MyDateTime

m = Model(time=datetime.now())
print(m.model_dump_json())  # {"time":"2023-08-08T11:36:42.220234"}

But what if I have a model like
class Model(BaseModel):
      custom_data: dict

And this dict (contains dynamic data added by plugins) contains a datetime object?

Then you may need to add a field_serializer for custom_data and then serialize datetime values differently.
You can find more information about customize serialization in the doc.

Oh, this took me by surprise TBH.
What's interesting is that it seems this format is only applied to UTC datetimes, any other TZ is serialized like in v1.
So e.g. this piece (wrapped with a small FastAPI app, sorry):
import zoneinfo
from datetime import datetime

from fastapi import FastAPI
from fastapi.testclient import TestClient
from pydantic import BaseModel

app = FastAPI()

warsaw_tz = zoneinfo.ZoneInfo("Europe/Warsaw")
utc_tz = zoneinfo.ZoneInfo("UTC")

class Model(BaseModel):
    dt1: datetime
    dt2: datetime

warsaw_dt = datetime(2023, 9, 5, 8, 38, 15, 886840, tzinfo=warsaw_tz)
utc_dt = datetime(2023, 9, 5, 8, 38, 15, 886840, tzinfo=utc_tz)
m = Model(dt1=warsaw_dt, dt2=utc_dt)

@app.get("/")
def root() -> Model:
    return m

client = TestClient(app)
res = client.get("/")
print(res.text)

on v1 prints:
{
  "dt1": "2023-09-05T08:38:15.886840+02:00",
  "dt2": "2023-09-05T08:38:15.886840+00:00"
}

while on v2 it gives:
{
  "dt1": "2023-09-05T08:38:15.886840+02:00",
  "dt2": "2023-09-05T08:38:15.886840Z"
}

Correct me if I'm wrong, but this feels to me like an oversight. Can we at least agree that this behaviour is (a) inconsistent and (b) undocumented (I couldn't find anything in the migration guide nor serialization docs)?
So, while I understand I can fix/customise this per field, it seems like a lot of work (if one has many models) that could be avoided 😬.

OK, after reading a bit more about the standard, saying this behaviour is "inconsitent" might be an exaggeration 😅.
For reference:

https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators
https://github.com/python/cpython/issues/90772

Hi, I'm having the same problem but in my case it's not that easy to fix, since I have two base models that I inherit and in many children there are datetime fields.
I can see in my tests after migrating to v2 that the datetime format has changed.
There is of course the approach of changing the datetime field everywhere as you suggested (either with a custom type or adding a validation method each time), but I was hoping for a less cumbersome and more global approach.
 We indeed already have ser_json_timedelta for changing the output of all timedeltas.

I agree with @thibaultbetremieux, I would love to have a config handle to choose between datetime serialization behavious, especially since Zulu timezone format is (to my knowledge) not yet natively supported by Python's datetime anyways.


:mag: Retro Day two: What was good?

Hands on labs, answers to questions from participants.

🔧🔨 Hands on: always a good idea.
❔ Answering all questions at any time

Slides were made really well. Thanks!

Use of GitHub issues for this 😆


Minion Sheet: Alive tracker is one wound off

Set unit wounds to 6.
Set total quantity to 3.
Apply 12 damage, should result in 1 alive, but instead lists 2 alive.

Fixed in next release.


Partial updates best practices [QUESTION]

Hi,
I am wondering if you have any thoughts on best practices for partial updates. That is, my API layer has the ability to introduce a field mask on objects to update such that only those objects are updated, but I am not sure how to introduce this into the data layer using sqlc. Any thoughts on how one might implement partial updates based on a field mask? I understand that this might be more generally an SQL question, but i'm wondering what the maintainers typically do here.
A concrete example
CREATE TABLE public.users
(
    user_id       char(27)                 NOT NULL UNIQUE,
    email         text                     NOT NULL UNIQUE,
    first_name    text                     NOT NULL,
    last_name     text,
    oidc_subject  varchar UNIQUE,
    password_hash text,
    created_time  timestamp WITH TIME ZONE NOT NULL DEFAULT 'NOW()',
    updated_time  timestamp WITH TIME ZONE NOT NULL DEFAULT 'NOW()',

    CONSTRAINT users_pk PRIMARY KEY (user_id)
);

If I want the end user to be able to adjust last_name and oidc_subject only based on a mask (while also retaining the ability to zero these out if that is what is wanted), then how would this be achieved?
So far i'm happy with my switch from gorm to sqlc, but little things like this are still snagging me.
Cheers

Realizing that I should have posted this under discussion.

Going to close this since this isn’t relevant to sqlc. Was able to work out my issues by referring to SQL docs. Sorry for the noise!!


[react-rewrite] responsive layout

Resolved by https://github.com/Rebilly/ReDoc/commit/3aab2d97d3f9f8c0665bf40c28c03dc4ca4b56f0


Registrar ID field for .au domains

Hi
It appears that, for .au domains, the "Registrar ID" field once made available by whois.audns.net.au is no longer returned, although a "Registrar Name" is.
I have submitted a support request with AusRegistry to ask if they can clarify, however it appears as though the field disappeared from auDA's WHOIS policy somewhere inbetween http://www.auda.org.au/policies/index-of-published-policies/2010/2010-06/ and the latest policy, http://www.auda.org.au/policies/index-of-published-policies/2014/2014-07/.
Currently the parser for whois.audns.net.au returns nil instead of a Whois::Record::Registar because it relies on an ID being present. However I think it's still useful to surface the registrar name somehow.
I would like to submit a pull request to fix however I'd appreciate your guidance on whether it's acceptable to have either a nil or made-up string value in a Whois::Record::Registar object.
Cheers

All Registrar fields are optional. If there is no ID anymore, I think it's reasonable to rely on the Registrar Name as a checkpoint and simply return the values we have.
Thanks for the report @afoster


Register java.lang.Object by default in kt CPGs

Formatting issue, but the change looks fine apart from that.

then approve pls : )


dck-redux 3.2.1 is not compiled due to incorrect extra comments

latest dck-redux is not compiled due to incorrect extra comments
static itemSet(itemType: string, id: string | number, data: any): {
                type: string;
                itemType: string;
                id: string | number; /**
                 * Remove global search filters action.
                 * @param filter filter name
                data: any;
        };
        /**
            * Set items action.
            * @param itemType items type
            * @param data items
            */

fixed in https://github.com/AgileVisionCompany/dck/tree/dck-redux-4


Build systemd check on puppy

What does this PR do?
Builds the systemd core check when building the puppy agent.
Motivation
So IoT customers can monitor systemd.

I've just checked the size difference and it goes from 34939041 to 35322032 (1% increase).
Once size is a problem, I'm sure there are many other things we can optimize with a bigger impact.
For now, we haven't seen any concern with the size of the Agent for IoT customers, while we have seen demand for systemd support.

AFAIK there are 2 systemd-related features in the Agent:

the systemd core check: I think the only impact of including it is the slightly increased binary size. We may even consider removing the systemd tag on the check.
the journald logs tailer: the library this is based on requires CGO + journald dev headers, because of the dependency on the github.com/coreos/go-systemd/sdjournal package: https://github.com/DataDog/datadog-agent/blob/b7f27bfc81cbf0fa8e51c5943975301513efbea5/pkg/logs/input/journald/tailer.go#L16. If we include this journald logs tailer in the puppy build I think we'll see a discrepancy between puppy builds with CGO enabled (native builds) and those with CGO disabled (cross-compilation). To avoid this hidden inconsistency we could force-disable CGO on puppy builds (probably a good general solution to avoid this type of inconsistencies), or, for this case specifically, if we're only interested in the core check, simply remove the systemd tag requirement on that core check.

@olivielpeau good point. journald logs is the part we are most interested about actually, if/when we decide to cross-compile puppy, we will need to make a note on the difference :(


Feature/client dependency fix

Client made it into model directory somehow. Removing that Client. Updating client and removing unused plugins in build.
Some strange SBT behaviour fixed.

return Future[WSClient] or Future[AddressbySearchResponseContainer] in this version?


Added a new programming book "Let Us C"

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Not clear if this is an authorized distribution. Please see CONTRIBUTING.md guidelines.

Awesome

I don't think this is free either.

GitHub shouldn't be used as a CDN or as an alternative for a file sharing site like.
The book doesn't contain a license in it, so there's no evidence that it's under a redistributable license.
There is no evidence that the author of the repo/PR are the author of the book which would infer an authorized distribution.
On https://en.wikipedia.org/wiki/Special:BookSources/978-1934015254#Online_text I only see places to buy the book, nowhere to get it freely however.

I can see two versions of this book in the OpenLibrary:
Let Us C 3rd Edition:
https://archive.org/details/letusc3rdrevised00
Let Us C 7th Edition:
https://archive.org/details/zdanh_test_031_letusc00yash
These aren't e-books though, just scans of a physical book, and this would require an account to access the full version anyway.

there are DMCA takedowns of this book, so I'm going to close this PR
https://lumendatabase.org/notices/21428028#


Fix a case of lost vote.

Fix the case of losing a vote when actual vote found in Redis and db connection was closed

Nice catch! Thanks for the PR!


Solve "unknown format: 3"

Solve execute the following code with return value wav:
iob = io.BytesIO(wav)
wave.open(iob, 'rb')
will throw an "unknown format: 3"  exception

PR types

PR changes

Describe

 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.

please sign for CLA and refer https://github.com/PaddlePaddle/PaddleSpeech/issues/2325 to format code


restrict access to information by namespace

From @rade on August 4, 2016 16:38
From a user...
"Is there a way to lock down scope to a specific namespace? We want to allow teams only to see stuff about their namespace."
Copied from original issue: weaveworks/service#726

At best this belongs in the scope repo, this would probably be implemented in the probe.

From @rade on August 5, 2016 9:15
more info from user...
"would like to remove process view, in essence it should be at least limited to what they kubernetes policy allows for that specified user token."

has there been any work made along the lines of similar to this issue that has made progress toward some kind of access controls ?

This is useful, especially when we want to provide a limited UI access to developers


seg fault when using ffpyplayer

Versions

Python: 2.7
OS: ubuntu 18.04
Kivy: 11.0
Kivy installation method: pip

Description
when using
os.environ['KIVY_AUDIO'] = 'ffpyplayer'
when exiting from app, it exit with 139
i can see in gdb :
Thread 21 "SDLAudioP2" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff907f8700 (LWP 4966)]
0x0000000000000000 in ?? ()
Code and Logs
/usr/bin/python2 /home/ron/fertissimo/fertissimo_app/Fertissimo.py
15/10/19 17:06:28,INFO-[Factory     ] 184 symbols loaded
[INFO   ] [Factory     ] 184 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.3.0.dev0
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer, img_gif
15/10/19 17:06:28,INFO-[ImageLoaderFFPy] Using ffpyplayer 4.3.0.dev0
15/10/19 17:06:28,INFO-[Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer, img_gif
[INFO   ] [Text        ] Provider: sdl2
15/10/19 17:06:28,INFO-[Text        ] Provider: sdl2
15/10/19 17:06:28,INFO-[Kivy        ] v1.11.0
[INFO   ] [Kivy        ] v1.11.0
15/10/19 17:06:28,INFO-[Kivy        ] Installed at "/usr/local/lib/python2.7/dist-packages/kivy/init.pyc"
15/10/19 17:06:28,INFO-[Python      ] v2.7.16 (default, Mar 26 2019, 10:00:46)
[INFO   ] [Kivy        ] Installed at "/usr/local/lib/python2.7/dist-packages/kivy/init.pyc"
[GCC 7.3.0]
[INFO   ] [Python      ] v2.7.16 (default, Mar 26 2019, 10:00:46)
15/10/19 17:06:28,INFO-[Python      ] Interpreter at "/usr/bin/python2"
[GCC 7.3.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python2"
15/10/19 17:06:28,WARNING-[Deprecated  ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore
[WARNING] [Deprecated  ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore
15/10/19 17:06:28,INFO-[Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
15/10/19 17:06:28,INFO-[GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used
15/10/19 17:06:28,INFO-[GL          ] Backend used
[INFO   ] [GL          ] OpenGL version <3.3 (Compatibility Profile) Mesa 19.0.8>
15/10/19 17:06:28,INFO-[GL          ] OpenGL version <3.3 (Compatibility Profile) Mesa 19.0.8>
[INFO   ] [GL          ] OpenGL vendor <VMware, Inc.>
15/10/19 17:06:28,INFO-[GL          ] OpenGL vendor <VMware, Inc.>
[INFO   ] [GL          ] OpenGL renderer <SVGA3D; build: RELEASE;  LLVM;>
15/10/19 17:06:28,INFO-[GL          ] OpenGL renderer <SVGA3D; build: RELEASE;  LLVM;>
[INFO   ] [GL          ] OpenGL parsed version: 3, 3
15/10/19 17:06:28,INFO-[GL          ] OpenGL parsed version: 3, 3
[INFO   ] [GL          ] Shading version <3.30>
15/10/19 17:06:28,INFO-[GL          ] Shading version <3.30>
[INFO   ] [GL          ] Texture max size <16384>
15/10/19 17:06:28,INFO-[GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
15/10/19 17:06:28,INFO-[GL          ] Texture max units <16>
15/10/19 17:06:28,INFO-[Window      ] auto add sdl2 input provider
15/10/19 17:06:28,INFO-[Window      ] virtual keyboard allowed, single mode, docked
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard allowed, single mode, docked
[INFO   ] [SoundFFPy   ] Using ffpyplayer 4.3.0.dev0
[INFO   ] [Audio       ] Providers: audio_ffpyplayer (audio_gstplayer, audio_sdl2 ignored)
15/10/19 17:06:28,INFO-[SoundFFPy   ] Using ffpyplayer 4.3.0.dev0
15/10/19 17:06:28,INFO-[Audio       ] Providers: audio_ffpyplayer (audio_gstplayer, audio_sdl2 ignored)
15/10/19 17:06:29,DEBUG-Importing BlpImagePlugin
15/10/19 17:06:29,DEBUG-Importing BmpImagePlugin
15/10/19 17:06:29,DEBUG-Importing BufrStubImagePlugin
15/10/19 17:06:29,DEBUG-Importing CurImagePlugin
15/10/19 17:06:29,DEBUG-Importing DcxImagePlugin
15/10/19 17:06:29,DEBUG-Importing DdsImagePlugin
15/10/19 17:06:29,DEBUG-Importing EpsImagePlugin
15/10/19 17:06:29,DEBUG-Importing FitsStubImagePlugin
15/10/19 17:06:29,DEBUG-Importing FliImagePlugin
15/10/19 17:06:29,DEBUG-Importing FpxImagePlugin
15/10/19 17:06:29,DEBUG-Image: failed to import FpxImagePlugin: No module named olefile
15/10/19 17:06:29,DEBUG-Importing FtexImagePlugin
15/10/19 17:06:29,DEBUG-Importing GbrImagePlugin
15/10/19 17:06:29,DEBUG-Importing GifImagePlugin
15/10/19 17:06:29,DEBUG-Importing GribStubImagePlugin
15/10/19 17:06:29,DEBUG-Importing Hdf5StubImagePlugin
15/10/19 17:06:29,DEBUG-Importing IcnsImagePlugin
15/10/19 17:06:29,DEBUG-Importing IcoImagePlugin
15/10/19 17:06:29,DEBUG-Importing ImImagePlugin
15/10/19 17:06:29,DEBUG-Importing ImtImagePlugin
15/10/19 17:06:29,DEBUG-Importing IptcImagePlugin
15/10/19 17:06:29,DEBUG-Importing JpegImagePlugin
15/10/19 17:06:29,DEBUG-Importing Jpeg2KImagePlugin
15/10/19 17:06:29,DEBUG-Importing McIdasImagePlugin
15/10/19 17:06:29,DEBUG-Importing MicImagePlugin
15/10/19 17:06:29,DEBUG-Image: failed to import MicImagePlugin: No module named olefile
15/10/19 17:06:29,DEBUG-Importing MpegImagePlugin
15/10/19 17:06:29,DEBUG-Importing MpoImagePlugin
15/10/19 17:06:29,DEBUG-Importing MspImagePlugin
15/10/19 17:06:29,DEBUG-Importing PalmImagePlugin
15/10/19 17:06:29,DEBUG-Importing PcdImagePlugin
15/10/19 17:06:29,DEBUG-Importing PcxImagePlugin
15/10/19 17:06:29,DEBUG-Importing PdfImagePlugin
15/10/19 17:06:29,DEBUG-Importing PixarImagePlugin
15/10/19 17:06:29,DEBUG-Importing PngImagePlugin
15/10/19 17:06:29,DEBUG-Importing PpmImagePlugin
15/10/19 17:06:29,DEBUG-Importing PsdImagePlugin
15/10/19 17:06:29,DEBUG-Importing SgiImagePlugin
15/10/19 17:06:29,DEBUG-Importing SpiderImagePlugin
15/10/19 17:06:29,DEBUG-Importing SunImagePlugin
15/10/19 17:06:29,DEBUG-Importing TgaImagePlugin
15/10/19 17:06:29,DEBUG-Importing TiffImagePlugin
15/10/19 17:06:29,DEBUG-Importing WebPImagePlugin
15/10/19 17:06:29,DEBUG-Importing WmfImagePlugin
15/10/19 17:06:29,DEBUG-Importing XbmImagePlugin
15/10/19 17:06:29,DEBUG-Importing XpmImagePlugin
15/10/19 17:06:29,DEBUG-Importing XVThumbImagePlugin
[INFO   ] [GL          ] NPOT texture support is available
15/10/19 17:06:29,INFO-[GL          ] NPOT texture support is available
xclip version 0.12
Copyright (C) 2001-2008 Kim Saunders et al.
Distributed under the terms of the GNU GPL
[INFO   ] [Clipboard   ] Provider: xclip
[INFO   ] [CutBuffer   ] cut buffer support enabled
15/10/19 17:06:29,INFO-[Clipboard   ] Provider: xclip
15/10/19 17:06:29,INFO-[CutBuffer   ] cut buffer support enabled
15/10/19 17:06:29,INFO-stdout: init app
15/10/19 17:06:29,INFO-stdout: SQLite DB connection test successful. version: 3.22.0
15/10/19 17:06:29,INFO-stdout: Current keyboard mode: 'systemanddock' and layout 'data/fonts/Ubuntu-B.ttf', 'data/fonts/Ubuntu-BI.ttf']
15/10/19 17:06:29,INFO-stdout: (1024, 768)
15/10/19 17:06:30,INFO-[Base        ] Start application main loop
[INFO   ] [Base        ] Start application main loop

from audio_ffpyplayer.py , maybe related:
When kivy exits by closing the window while the audio is playing,
it appears that the __del__method of SoundFFPy
is not called. Because of this the SoundFFPy object is not
properly deleted when kivy exits. The consequence is that because
MediaPlayer creates internal threads which do not have their daemon
flag set, when the main threads exists it'll hang and wait for the other
MediaPlayer threads to exit. But since __del__ is not called to delete the
MediaPlayer object, those threads will remain alive hanging kivy. What this
means is that you have to be sure to delete the MediaPlayer object before
kivy exits by setting it to None.


VBXCBXC

[Enter feedback here]

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

ID: 56fc532d-8c75-3681-3c26-c6276df401a2
Version Independent ID: 1e51db86-6ad9-d6ea-cdb5-ced1b86fc65d
Content: az webapp scan
Content Source: latest/docs-ref-autogen/ext/webapp/webapp/scan.yml
Service: app-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

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

ID: 56fc532d-8c75-3681-3c26-c6276df401a2
Version Independent ID: 1e51db86-6ad9-d6ea-cdb5-ced1b86fc65d
Content: az webapp scan
Content Source: latest/docs-ref-autogen/ext/webapp/webapp/scan.yml
Service: app-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

vhgfh

@Kotasudhakarreddy closing this as no-repro


Update README.md reference to configuration file.

Not in every system the settings file is on ~/.vscode/settings.json. To use the command pallet to access it is more robust.

Thank you for your reviews. I am a beginner specially when it comes to do a really good documentation. Lots of room for me to learn.


Add uninstall script

We have postinstall to set .git/hooks/pre-commit, but we forgot about the uninstall script to remove the script on the simple-pre-commit unsinatlling

It will be nice to have similar output explaining what happened during uninstall:
➜ yarn remove husky
yarn remove v1.22.10
warning package.json: No license field
[1/2] Removing module husky...
$ node husky uninstall
husky > Uninstalling git hooks
husky > Done
$ node husky uninstall
husky > Uninstalling git hooks
husky > Done

~

Added an uninstall script in 1.2.* release, Thanks!


Add a Dependabot config to auto-update GitHub action versions

Currently, deprecation warnings are being thrown due to actions using out-of-date Node versions (recent example). Rather than submitting a PR to update them manually, this PR configures Dependabot to regularly submit PRs to update GitHub action versions as needed.
If this PR merges, you can expect Dependabot to immediately submit a PR to update actions to newer versions.

@kurtmckee very cool, thank you!
Would you mind please amending the commit to address the commit message lint, e.g.
ci: add Dependabot config for GA auto-update

Updates GitHub Actions versions on a monthly basis.


Update SDWebImage

SDWebImage updated to 3.7.3 but UIActivityIndicator-for-SDWebImage requires specifically 3.7.0. Can you update the podspec please?

oh will that include 3.7.3?

Seems to work fine on iOS 7. Are you sure?


RFP - overwolf

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://www.overwolf.com/
Direct download URL for the software / installer : https://download.overwolf.com/installer/web_dl_btn2/OverwolfInstaller.exe
Software summary / short description:
Overlay-Apps for several games
https://www.overwolf.com/legal/privacy
https://cdn2.iconfinder.com/data/icons/gaming-platforms-logo-shapes/250/overwolf_logo-512.png

I didn't find switches to install this package silently.
Windows Spy does not detect the name of buttons in installer so it seems not possible to use AutoHotKey.

Status: Review
https://chocolatey.org/packages/overwolf

Status: Published
https://chocolatey.org/packages/overwolf


:tcp_endpoint is not idempotent

Creating a linux box, and specifying port 22 in :tcp_endpoint will result in a convergence/creation error:
Pry output
Recipe: azure::create_azure
  * machine[alexvtrashbox01] action converge
    - Creating alexvtrashbox01 with image b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB in West US...Creating deploymnent...
Creating cloud service alexvcloudservice02.
Storage Account alexvstorageacct02 already exists. Skipped...
Deployment in progress...
# # BadRequest: Port 22 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.WARN: Unresolved specs during Gem::Specification.reset:
      httpclient (>= <IP_ADDRESS>, ~> 2.2)
      gyoku (>= 0.4.0)
      mini_portile (~> 0.6.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

From: /Users/alexvinyar/.chefdk/gem/ruby/2.1.0/gems/chef-provisioning-azure-0.2.1/lib/chef/provisioning/azure_driver/driver.rb @ line 117 Chef::Provisioning::AzureDriver::Driver#allocate_machine:

    112:         }
    113:         # require 'pry';binding.pry
    114:         action_handler.report_progress "Creating #{machine_spec.name} with image #{image_id} in #{location}..."
    115:         vm = azure_vm_service.create_virtual_machine(params, bootstrap_options)
    116:       end
 => 117:       require 'pry';binding.pry
    118:       machine_spec.location['vm_name'] = vm.vm_name
    119:       machine_spec.location['azure_public_ip'] = vm.ipaddress
    120:       action_handler.report_progress "Created #{vm.vm_name} in #{location}..."
    121:     end
    122:

2.1.4 (#<Chef::Provisioning::AzureDriver::Driver:0x007f92da1adaa0>):0 > vm
=> "\e[31m\e[1mBadRequest: Port 22 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.\e[0m\e[0m"
2.1.4 (#<Chef::Provisioning::AzureDriver::Driver:0x007f92da1adaa0>):0 > exit

    Error executing action `converge` on resource 'machine[alexvtrashbox01]'

    NoMethodError
    -------------
    undefined method `vm_name' for #<String:0x007f92da980908>

    Resource Declaration:
    ---------------------
    # In /Users/alexvinyar/Documents/Projects/chef-provisioning_all/chef-provisioning/.chef/local-mode-cache/cache/cookbooks/azure/recipes/create_azure.rb

     31: machine 'alexvtrashbox01' do
     32:   machine_options machine_options
     33:   ohai_hints 'azure' => { 'a22' => 'b33' }
     34: end
     35:

    Compiled Resource:
    ------------------
    # Declared in /Users/alexvinyar/Documents/Projects/chef-provisioning_all/chef-provisioning/.chef/local-mode-cache/cache/cookbooks/azure/recipes/create_azure.rb:31:in `from_file'

    machine("alexvtrashbox01") do
      action :converge
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      chef_server {:chef_server_url=>"http://localhost:8890", :options=>{:client_name=>"alexv", :signing_key_filename=>"/Users/alexvinyar/Documents/Projects/chef-provisioning_all/chef-provisioning/.chef/keys/chef_default"}}
      driver "azure"
      machine_options {:bootstrap_options=>{:cloud_service_name=>"alexvcloudservice02", :storage_account_name=>"alexvstorageacct02", :vm_size=>"Small", :location=>"West US", :tcp_endpoints=>"10000:10000,10001:10001,10002:10002,10003:10003,8989:8989,443:443,22:22,80:80,5672:5672,10012:10012,10013:10013", :os_type=>"Linux", :deployment_name=>"alexvcloudservice02"}, :image_id=>"b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB", :password=>"chefm3t4lB/la\\"}
      declared_type :machine
      cookbook_name "azure"
      recipe_name "create_azure"
      ohai_hints {"azure"=>{"a22"=>"b33"}}
    end

Running handlers:
[2015-03-26T06:34:29-07:00] ERROR: Running exception handlers
Running handlers complete
[2015-03-26T06:34:29-07:00] ERROR: Exception handlers complete
[2015-03-26T06:34:29-07:00] FATAL: Stacktrace dumped to /Users/alexvinyar/Documents/Projects/chef-provisioning_all/chef-provisioning/.chef/local-mode-cache/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 160.321307 seconds
[2015-03-26T06:34:29-07:00] ERROR: machine[alexvtrashbox01] (azure::create_azure line 31) had an error: NoMethodError: undefined method `vm_name' for #<String:0x007f92da980908>
[2015-03-26T06:34:29-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Is this a second machine in the same deployment?  If so than the error returned by Azure is correct (you can't have two different machine listening on port 22 via the same cloud service).  If it's the first machine of a cloud service, then this is possibly a defect with merging the options.  The first port 22 endpoint (named 'SSH' in Azure) is added by default to the provisioning config when creating a Linux machine, so should be ignored (the first time).

nah, this is totally different box. I just use it to test clean scenarios.
I actually hit the exact same bug with knife aws and knife azure way back when. So this doesnt surprise me.

Closing this as the Azure SDK's ASM behaviour will not be fixed.
Endpoint configuration is completely different in the Azure Resource Manager mode and should work a lot better when we release a new driver soon.


Failed to flash TP24 plugs

Hi,
Had a batch of 2 TP24 plugs from Aliexpress recently, they flashed fine OTA. Just got another batch through of 4, only 1 flashed and the other 3 won't. I noticed that the only difference between the plugs is that the name and model number are now over 2 lines rather than printed on one line as before. The plugs with it over 2 lines will not flash. Logs show it can not decrypt or bad mac. I've attached the log that only had errors in.
I'm new to this, but assuming they've patched the plugs or changed the PSK? I have not linked it using the SmartLife app yet, but will do, so if there is any info you need to look into this more let me know. I'm familiar with wireshark etc for capturing traffic.
Thanks for your great work.
Liam
smarthack-psk.log

The plugs are using the new psk format, for which currently no solution for tuya-convert exists.
See #483


proxy: simplify channel receive, add missing function call

lgtm once it's using Sleep
was this from go-simple?

@heyitsanthony Yeah it's from go-simple and unused. :) Merging in greens.

CI keeps failing from https://github.com/coreos/etcd/issues/4990. Will investigate more in that issue.


[EDIT] Fix Twitter link in raydium-exploit article

Entry
raydium-exploit
Changes
Twitter link https://twitter.com/CertiKAlert/status/1603870381609213980 is broken, https://twitter.com/CertiKAlert/status/1603877927078313984 seems to be the correct one.
Agreement
By submitting this issue, I irrevocably agree to release my contribution under the CC-BY 3.0 License. I agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.

Thanks!


[FLINK-32671] Document Externalized Declararative Resource Management…

https://issues.apache.org/jira/browse/FLINK-32671

👍 PTAL; the changes are in a separate commit

Please remember to update the chinese docs and backport the commits to release-1.18


Memory leak in CanJS template/model

When passing observables obtained from can.Model.findAll() or can.Model.find() into a can.view.mustache template generator, it appears to leak memory. The leak goes away when you call myobservable.attr() instead of passing the myobservable object directly to the template generator function. It doesn't matter whether the data comes from a real AJAX call or is provided by a fixture.
Here is a simple test to reproduce the issue (one button causes memory to leak, and the other doesn't - It just rerenders a template many times):
Note that you need to replace the all dependencies with their appropriate paths on your system.
To check memory consumption in Chrome, use the profiles tab of the developer console and take a memory snapshot before and after each test.
<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>CanJS View Memory Leak Test</title>

Thanks for posting this.

Here is a simple test to reproduce the issue

Can you simplify it a bit more?  It's probably possible to create this situation without can.Model or can.fixture.
I'm asking because I can't follow the code immediately.  I would have to setup this test, which would take some time, and really dive in.
If I can follow the code, it's possible I can immediately spot the problem and advise on a fix.
Thanks!

Also, how exactly do you know this is creating a leak.  When you say "It just rerenders a template many times", it appears that you keep adding more and more content to the page:
mainArea.append(output);

If this content is never removed, the amount of memory consumed will constantly go up.
Are you sure you are seeing a leak?  Instead, I think you are just seeing that live-binding templates consume much more memory than flat DOM.  This is expected.
However, if you were to remove those elements from the page (with jQuery's $.fn.remove), you should notice memory going back to normal.

Assuming I'm correct, and you'd like to reduce the memory consumed by live binding, please close this issue and create another titled: "Reduce live-binding memory consumption" that references your example (or post a new example without can.Model).  Thanks!

Ah, I missed the "empty" of the main area.  Deleting my previous comments.

Does this happen with mustache?

I've set up a fiddle. Not sure it is confirming the issue. http://jsfiddle.net/tarabyte/8g0qv4xj/
Well, the memory consumption is growing both cases. But not as if it was leaking something having model instances in closure.

@justinbmeyer Note sure, I haven't tried with stache yet.
@Tarabyte On my machine, the script I provided only leaks when you click on the 'Start test (with leak)' button.
In the slightly modified version to provided in JSFiddle, both leak. The first one leaks almost 3MB and the second one only leaks slightly over 1MB - So one is leaking more than the other... Could this be related to fiddler itself? Not sure why it's different.
When checking for memory leaks, I tend to check in complete isolation in a fresh tab - I'm not sure how fiddler interacts with all this code - It might skew results... I also noticed that fiddler runs the code in an iframe which can affect things too.

@justinbmeyer I will try to reproduce it using a simple Observe instead of the Model + Fixture combination - It might still leak.
Ultimately, something appears to be holding on to references of the data. When I was debugging a while ago, I think I saw something about a _cache property somewhere in 'can' and I remember thinking that this could be the cause... Does that ring a bell?

Yes, the model layer keeps instances, but only while they are bound. Clearing the page should clean them up.
Sent from my iPhone

On Jan 13, 2015, at 3:54 PM, Jonathan Gros-Dubois<EMAIL_ADDRESS>wrote:
@justinbmeyer I will try to reproduce it using a simple Observe instead of the Model + Fixture combination - It might still leak.
Ultimately, something appears to be holding on to references of the data. When I was debugging a while ago, I think I saw something about a _cache property somewhere in 'can' and I remember thinking that this could be the cause... Does that ring a bell?
—
Reply to this email directly or view it on GitHub.

@jondubois I'm going to look into this Friday.  Anyway we can chat about it sometime on Friday?

@jondubois I can confirm there is a leak in Mustache, but not in stache.

@justinbmeyer Thanks for looking into this. We will try to migrate our templates to stache.

I am not sure that this has been fixed. The following line of code causes a memory leak:
can.mustache('{{ test }}')(new can.Map())

The leak does not occur if the template is passed a plain object or when the template contains no mustache code. More complex examples such as using an actual template instead of a string also have the same problem.


Bernies fixes

Fixed code coverage publishing.
The issue is that Cypress uses NYC under the covers to generate coverage information. By default, it uses the lcov format. Unfortunately, NYC can't be easily configured to put absolute paths in the output file. This causes the coverage publisher action to fail because it's running from the root of the repo, but the lcov uses the 'merch-dropper' folder as the root.
The fix was to tell NYC and the coverage publisher to use the Clover format, which has absolute paths.

I also added a couple .gitignore fixes. You should never commit binaries, like videos and screenshots, into a Git repo.

I also removed the example tests from the Cypress folder, which were being run, but didn't do anything wrt the app. :)


possible approach to fix AQP-295

Possible approach to fix AQP-295.
The changes still need to be cleaned but I will do it once the approach is vetted.
Following is the issue & the fix:
The issue is that the region corresponding to sample table's reservoir region is created as a part of system procedure ( that means no container etc). That system procedure message is added into DDL queue with the preprocess flag as true. That means it gets executed before any DDL statements are executed from the queue. Since this reservoir region is colocated withe sample table , the creation of reservoir region as part of preprocess fails, as no sample table has yet been created.
Even if we make preprocess flag as false, such that reervoir region creation statement gets executed as part of queue, the region creation still fails,as the colocated sample table has not yet been initialized & hence its entry in the meta region identity has not yet happened & the reservoir region creation code gets executed directly ( & not via container mechansim)
The way I have tried to fix it is by augmenting the marker interface GfxdDDLPreprocess to have another method boolean postprocess.
If this returns true ( as in case of Reservoir region creation procedure), these messages are executed at the end of the boot process.
I am not sure if this is a clean solution, but this is one option which I have tried.
Patch testing
(Fill in the details about how this patch was tested)
Is precheckin with -Pstore clean?
ReleaseNotes changes
(Does this change require an entry in ReleaseNotes? If yes, has it been added to it?)
Other PRs
(Does this change require changes in other projects- snappydata, spark, spark-jobserver, aqp? Add the links of PR of the other subprojects that are related to this change)

@ahshahid

Even if we make preprocess flag as false, such that reervoir region creation statement gets executed as part of queue, the region creation still fails,as the colocated sample table has not yet been initialized & hence its entry in the meta region identity has not yet happened & the reservoir region creation code gets executed directly ( & not via container mechansim)

Not clear about this. If preprocess flag is false then the reservoir creation statement should be in order i.e. after the corresponding sample table has been created since that is the order in which it would be executed originally. Can you explain more why the normal order of execution does not work?

Not clear about this. If preprocess flag is false then the reservoir creation statement should be in order i.e. after the corresponding sample table has been created since that is the order in which it would be executed originally. Can you explain more why the normal order of execution does not work?

Actually by making preprocess as false it's execution is delayed till after the table is created but it is just the first phase. I mean the region initialization of the base table is still to be done but before that this reservoir region is attempted to be created which waits forever on region initialization.
Therefore @ahshahid fix looks ok to me. May be we can simply have another list in which we push all these "preprocess = false" type GfxdReplayableMsgs and replay them even after region initialization. Essentially it will be similar to what has been done in this PR. @sumwale please suggest.

Actually by making preprocess as false it's execution is delayed till after the table is created but it is just the first phase. I mean the region initialization of the base table is still to be done but before that this reservoir region is attempted to be created which waits forever on region initialization.

Ok, but will it not be better to also delay the initialization of reservoir region like others?

Ok, but will it not be better to also delay the initialization of reservoir region like others?

yes may be I thought about it. But then thought may be we can make exception for sample tables. Few reasons would be that: 1) it is already created as a region and not like gfxd tables. 2) Code changes will be a bit weird. The reservoir region creation will have to check ddlinprogress and just do create without init and then latetr initialize the region with other tables. I thought this can be ignored. sample table might be ok to get initialize fully like this.

Yes . Since no container is created for reservoir region , not sure how we can delay initialization cleanly.


Duplicate event consumption from Kafka via a Siddhi Kafka source under state persistence.

Description
When the events are consuming Kafka via a Siddhi Kafka source, duplicate events will be consumed after following log lines relevant to the state persistence cycle.
After each cycle, there will be considerable event duplications in the system.
Best Regards,
Janith
Steps to Reproduce
Consume events via a Kafka Siddhi source and monitor the Kafka offset number and the partition number. After a persistence cycle, it is possible to observe duplicate events under the same partition number and the offset number.
Affected Component
SI
Version
1.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Public fix: https://github.com/siddhi-io/siddhi-io-kafka/pull/162 has already been merged into the master branch.


Black area inside window with Height<38 or Width<46 when HasSystemDecorations="False"

Similar to #2166 - possibly an edge case of the same issue
Repro updated here.
Screenshots on Windows 7:
This window has a Height of 34. The window should have a white border all around it, with a colored background.
Shown against white background:

Shown against black background:

Changing the height to 38 or higher fixes the issue.

This seems to be caused by Windows having a minimum window size, returned by calling GetSystemMetrics with SM_CYMAXTRACK . On my machine, that size is 56 pixels (I have a 150% scaling monitor).
I'm not sure if there's a way to override this for individual windows, need to investigate further.

Same Problem here. I want to draw on the screen, therefore I need a window with Height = 3 and SystemDecorations=None. The window is now to large. Are there news when this get fixed?

Faced with the same problem. Implemented my WindowImpl based on Avalonia. Win32. WindowImpl with redefinition of values in MINMAXINFO when processing WM_GETMINMAXINFO. This didn't solve my problem, I have a minimum window size of 46x39 with no system decorations. Do you have any ideas how I can create a window with the size of 1x1 without system decorations?

Maybe someone will need it. I solved the problem as part of my task by setting the window style WS_OVERLAPPED & ~WS_CAPTION, by calling SetWindowLongPtr

@bars43ru you can create a popup (which is a window).. of any size.


Removes react-window once again

Summary
Uses dynamic-virtualized-list instead of react-window for global threads
list. This way we avoid having fixed height thread items and we can have
variable heights instead.
A bit of context: react-window was added because dynamic-virtualized-list wouldn't reflect
items added at the top. This was due to:

onItemsRendered callback guards also against changes so it needs to be added even as a noop for changes to be reflected
even with onItemsRendered added we still need to scroll to reflect the changes at the top of the list.

There is a hack needed for this to work though...To update the rendered list
while adding new items at the top we have to initiate a scroll by a any amount (1px) and the list will update.
It can be avoided but the list won't update unless the user scrolls, by any amount.
This commit essentially reverts https://github.com/mattermost/mattermost-webapp/pull/8350/commits/5b59cd2ef4384c8b1a60d464201461597d9b6c61
Release Note
NONE

@koox00 how confident are we that this is stable using the hack you mentioned? Testing I found two issues (see below). If the advantage to doing this is only that we can have variable height rows, I'm not sure it's worth it for decreased stability.
https://i.gyazo.com/02f9f0523f8b29d495f62198f81ab958.mp4

First issue you can see is that a new thread became unread but the list did not update (you can see the unread bubble on the "Unreads tab" but the thread didn't appear in the "All your threads" list until I scrolled around
Second issue seend later in the videa is that when a new thread became unread in the list, it caused the lower half of the list of threads to disappear


Renamed DOCKER env vars to ECR

In future PR, we will push the docker image to both Docker Hub and AWS ECR.
As prep work, this PR renames environment variable names to be more clear.

Coverage remained the same at 94.465% when pulling 298a9ef370b6340196b16b87855aeb0c35925bec on cody-rename-docker-to-ecr into 9a6749bd8481e92ef0e8dfeef821858c47bdcb7f on main.


Sass 2955

Description
Split IT tests into View Test and Form tests
Add a link to the relevant story in Jira
SASS-2955
Checklist PR Reviewer
Before Reviewing

[x]  Have you pulled the branch down?
[x]  Have you assigned yourself to the PR?
[x]  Have you moved the task to “in review” on JIRA?
[x]  Have you checked to ensure all dependencies are up to date?
[x]  Have you checked to ensure its been rebased against the current version of main?

Whilst Reviewing

[x]  Have you run the tests?
[ ]  Have you run the journey tests?
[x]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ]  Have you checked for merge conflicts or any changes in the current main that may affect the current pull request? i.e. does it need another rebase?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

Checklist PR Raiser
Before creating PR

[ ]  Have you run the tests?
[ ]  Have you run the journey tests? (where applicable)
[ ]  Have you addressed warnings where appropriate?
[ ]  Have you rebased against the current version of main?
[ ]  Have you checked code coverage isn’t lower than previously?

After PRs been raised

[ ]  Have you checked the PR Builder passes?

The integration tests now run in 18 minutes vs 20 minutes on my machine. A good reduction, and there are several other packages to go, for which I think this is a good model to follow.

I'm still able to make the journey tests pass; I think it's related to (my) service manager.
Given that @abiodxn has them working on his machine (and his changes shouldn't have affected it), I'll approve.


[accessibility] Subscribe section form the input is missing a label.

Info about why it is important can be found here: https://dequeuniversity.com/rules/axe/3.4/label

I don't understand the title, sorry.
Could you also give some examples or specifically where in dvc.org this is an issue in the description? Thanks

OK got it from the PR #1165 so never mind.
Feel free to skip opening issues if able to submit a PR directly 🙂