IE driver issue.

I am trying this
$Driver = Start-SeInternetExplorer -Maximized

I get below error:
Exception calling ".ctor" with "2" argument(s): "Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all
zones. (SessionNotCreated)"
At C:\Program Files\WindowsPowerShell\Modules\Selenium\3.0.1\Selenium.psm1:321 char:5
+     $Driver = [OpenQA.Selenium.IE.InternetExplorerDriver]::new($servi ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

You'll need to configure the zones in IE or the Windows system settings before using it, I'd imagine. Similar issue turns up if you Invoke-WebRequest in powershell without -UseBasicParsing before running IE at least once and setting some things up.
Not much this module can do, that's purely an IE issue.

As per above comment, you need to set the security zones all the same.

Open IE
Go to Tools -> Internet Options -> Security
Set all zones (Internet, Local intranet, Trusted sites, Restricted sites) to the same protected mode, enabled or disabled should not matter.

This restriction comes from Selenium
For more information on why it is the case, check this out: http://jimevansmusic.blogspot.co.uk/2012/08/youre-doing-it-wrong-protected-mode-and.html


remove typo

Description:
This Pull Request fixes a typographical error in the README.md file.
Changes Made:
Corrected "Dowloading " to "Downloading" in the README.md file.
Additional Information:
This fix is not related to any existing issue. It's a minor typo that I noticed while reviewing the README.
Thank you for considering this contribution.

Hi, we have received a large number of these typo fix PRs recently and have doubts about the intention of them so we are closing them preemptively - we will make the recommended changes soon. Thanks.


'braintree_payment/BraintreePaymentPlugin.h' file not found

Hello,
i have problems to get this plugin running in Xcode. You can do the following simple steps to reproduce:

flutter create -i swift my_test_project
add 'braintree_payment: ^1.2.2' to pubspec.yaml
Open Runner.xcodeproj in ios folder
Set IOS Deployment Target to iOS 10.0
run 'pod install' in ios folder
Try to  build Runner.xcodeproj

Hi Dennis,
I found out that, since you are creating a flutter project with swift template you are facing this issue....please use it with a ObjC template.
This plugin is developed in ObjC and working of this plugin with a project in swift template is handled by flutter.
You can read this thread for you issue
https://github.com/flutter/flutter/issues/25676

For me it is not possible to use ObjC template as some other plugins are written in Swift. The good news is that I get it to work.
This is what I have done:

Delete Podfile and Podfile.lock in ios folder
Run pods install in ios folder
Open Pods.xcodeproj in ios/Pods folder
Update all TARGETS (tab Build Settings) to the same Deployment Target and same Swift_Version

After that

flutter build ios

from command line is working and Archive from Product menu in Xcode too. Build from Xcode still gives me some errors but thats seems not to impact the build from command line.
Maybe that helps someone.

Glad to know that you make it work for your app and thanks for sharing the solution with everyone.


add rounding to balance in low credit notification email

I think we still need to add the change that makes it clear that remaining balance is in credits. Something like: Your remaining credit balance is 123.45 or Your remaining balance is 123.45 credits

Unless thats for a different PR?

:+1:

:+1: looks great


using @types/jquery freezes neovim

I'm not sure what's the problem but it only happens when auto-completing and displaying method documentation of jquery.
Neovim completely freezes for at least a minute. Annoying.

I tried inspecting with :CocInfo and I get this
2021-01-13T14:47:57.611 INFO (pid:22640) [plugin] - coc.nvim 0.0.80-fff2a86b16 initialized with node: v14.15.3 after 601ms
2021-01-13T14:48:03.133 INFO (pid:22640) [language-client-index] - eslint started with 23409
2021-01-13T14:48:03.248 INFO (pid:22640) [services] - registered service "tsserver"
2021-01-13T14:48:11.678 INFO (pid:22640) [completion-complete] - Results from: around
2021-01-13T14:48:15.437 INFO (pid:22640) [completion-complete] - Results from: file
2021-01-13T14:48:16.945 INFO (pid:22640) [completion-complete] - Results from: around,tsserver-typescript
2021-01-13T14:48:21.570 INFO (pid:22640) [completion-complete] - Results from: tsserver-typescript
2021-01-13T14:48:23.587 INFO (pid:22640) [completion-complete] - Results from: tsserver-typescript
2021-01-13T14:48:29.442 WARN (pid:22640) [events] - Handler of TextChangedI blocked more than 2s: Error
    at mq.on (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:133:216)
    at new IP (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:250:9995)
    at new OP (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:251:5526)
    at MP.init (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:254:5504)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /home/tvrtko/.vim/bundle/coc.nvim/build/index.js:129:13445
2021-01-13T14:49:04.594 INFO (pid:22640) [completion-complete] - Results from: around,tsserver-typescript
2021-01-13T14:49:38.614 INFO (pid:22640) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-13T14:49:38.619 INFO (pid:22640) [attach] - receive request: doAutocmd [ 1, 3 ]
2021-01-13T14:52:24.909 INFO (pid:22640) [attach] - receive notification: showInfo []

I don't know if it is relevant or no.
What else can I do to see what's happening?

I tried inspecting with :CocInfo and I get this
2021-01-13T14:47:57.611 INFO (pid:22640) [plugin] - coc.nvim 0.0.80-fff2a86b16 initialized with node: v14.15.3 after 601ms
2021-01-13T14:48:03.133 INFO (pid:22640) [language-client-index] - eslint started with 23409
2021-01-13T14:48:03.248 INFO (pid:22640) [services] - registered service "tsserver"
2021-01-13T14:48:11.678 INFO (pid:22640) [completion-complete] - Results from: around
2021-01-13T14:48:15.437 INFO (pid:22640) [completion-complete] - Results from: file
2021-01-13T14:48:16.945 INFO (pid:22640) [completion-complete] - Results from: around,tsserver-typescript
2021-01-13T14:48:21.570 INFO (pid:22640) [completion-complete] - Results from: tsserver-typescript
2021-01-13T14:48:23.587 INFO (pid:22640) [completion-complete] - Results from: tsserver-typescript
2021-01-13T14:48:29.442 WARN (pid:22640) [events] - Handler of TextChangedI blocked more than 2s: Error
    at mq.on (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:133:216)
    at new IP (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:250:9995)
    at new OP (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:251:5526)
    at MP.init (/home/tvrtko/.vim/bundle/coc.nvim/build/index.js:254:5504)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /home/tvrtko/.vim/bundle/coc.nvim/build/index.js:129:13445
2021-01-13T14:49:04.594 INFO (pid:22640) [completion-complete] - Results from: around,tsserver-typescript
2021-01-13T14:49:38.614 INFO (pid:22640) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-13T14:49:38.619 INFO (pid:22640) [attach] - receive request: doAutocmd [ 1, 3 ]
2021-01-13T14:52:24.909 INFO (pid:22640) [attach] - receive notification: showInfo []

I don't know if it is relevant or no.
What else can I do to see what's happening?

It's async, profile your vim for blocked function.

It's async, profile your vim for blocked function.


Ruby on Rails capstone project - Budget app

Project requirements
Design

You should follow these design guidelines, including:

Colors.
Typography: font face, size and weight.
Layout: composition and space between elements.

NOTE: In these design guidelines there are several UIs that you won't need for this exercise; also, some pages are not given a design and you will create them following the design guidelines of the other pages.

Original design idea by Gregoire Vella on Behance.
The Creative Commons license of the design requires that you give appropriate credit to the author. Therefore, you must do it in the README of your project.
Interactions

Splash screen

A simple page with the name of your app (yes, you need to choose one), and links to the sign up and log in pages.

Sign up and log in pages

The user should be able to register in the app with full name, email and password (all mandatory).
The user can log into the app using email and password.
If the user is not logged in, they can't access pages that require the user to be logged in (all the pages described below).

Home page (catagories page)

When the user logs in, they are presented with the categories page.
For each category, the user can see their name, icon and the total amount of all the transactions that belongs to that category.
When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.
There is a button "add a new category" at the bottom that brings the user to the page to create a new category.

Transactions page

For a given category, the list of transactions is presented, ordered by the most recent.
At the top of the page the user could see the total amount for the category (sum of all of the amounts of the transactions in that category).
There is a button "add a new transaction" at the bottom that brings the user to the page to create a new transaction.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add a new category" page

The user fills out a form to create a new category, indicating their name and icon (both mandatory).
The user click (or taps) the "Save" button to create the new category, and is taken to the home page on success.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add a new transaction" page

The user fills out a form to create a new transaction with:

name (mandatory)
amount (mandatory)
categories (mandatory at least one)

The user click (or taps) the "Save" button to create the new category, and is taken to the transactions page for that category.
When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.

Testing requirements

Create unit and integration tests for all the most important components of your RoR application.

Link to video
- Create unit and integration tests for all the most important components of your RoR application.

Hi @franciscoPonceDev,
Good job so far!

All linters are passing
You are following GitHub flow
Nice design
Good commit history

There are some issues that you still need to work on to go to the next project but you are almost there!
Required Changes ♻

[x]  As requested by the previous code reviewer, the list of the transactions in a category should be ordered by the most recent. please fix this and update your live link.
[x]  I'm still getting an error trying to create a category with an icon

Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

https://www.loom.com/share/b773f1591cd94ca1b2c728f608057c2e


feat: Voyage AI embedding support

#68  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


[HELP] Does multithreading work in nodejs side?

What do you need help with?
I'm planning to use thyseus with colyseus, which only run game logic in server side.
I'm not sure if thyseus can use worker_thread of nodejs, because in the doc it says

Parallelism is enabled by taking advantage of technologies offered by modern browsers

Target Environment
Node

Hi there - thanks for your question & interest in Thyseus! 🙏
Unfortunately, threading will not work for Node right now, as it depends on the Worker global being available. In the meantime, I believe Bun has the Worker global and is (supposed to be) a drop-in replacement for Node, but if you're more comfortable sticking with Node that's entirely fair - I haven't tried Bun yet myself.
As a general note, Thyseus' concurrency model will be getting a complete overhaul at some point in the future, and one of the explicit goals of this redesign is to be useable in Node. I'll be posting more information about that soon, and tracking progress in an issue - I'll link it here once I've got it set up. For transparency, I don't have a timeline for this change right now.
Cheers!

Thanks, I have experience with https://github.com/andywer/threads-plugin , but it is a webpack plugin, not a rollup plugin.
I will try bun to see if it works out-of-box. And I think when using in the server, multi-threading is not that necessary, because there will be many game rooms, occupy all the CPU cores... So I just need to ensure the ecs running on the client side is multi-threading is enough!


Performance

A conceptual question, in relation to the previous version of the plugin, does the new version increase the final performance? (gatsty static files in production mode)?

Frontend performance is handled by Gatsby core so overall it should be similar except for one area which is Gatsby images in HTML fields. The old plugin didn't process those and this one does which should improve your frontend performance out of the box for any pages which use images in html fields (like post content, Gutenberg, or ACF wysiwyg fields).


use centos-release-openshift-origin repo on CentOS

this allows us to use different ansible versions than what is found on EPEL
this allows us to use more up-to-date origin RPMs (for 'oc' and 'oadm' binaries)

thanks @andrewklau for #2186 ... we'll just use the OpenShift for Cent repo in general rather than just for Ansible


MRG: Fix report rendering for data without channel locations

WIP:

[x] Tests
[x] Changelog
[x] There might be more affected methods (ICA topos? SSP topos?)

cc @agramfort

Should be fixed now.


remove russian comments from levenshtein_searcher.py

Duplicates #1555
remove/russian_comments could be merged locally to issues-1418/1420 branch allowing not to open 1555, but after openning 1555 there is no need in such merge


Node tf2

Node uses tf2 rather than tf.

Travis fails on fetching jade release :
RuntimeError: Unknown release: 'jade'. Valid release names are: 'kinetic', 'indigo', 'lunar'

Please correct me if I'm wrong, but when you include TF it already uses TF2, you can check the includes of TF here. AFAIK, this was done to keep total compatibility when migrating.

You are definitely right. This PR came after the need of handling an odd behavior with tf and static transforms which tf2 solves. I'm still investigating ...

The initial issue has roots in static_tf-related issue, especially with rosbags.
This PR won't really fix it but it is the occasion to a slightly cleaner API and to move to tf2.

Add option to try retrieving the tf X times
Fix travis build related to jade pre-release as it is EOLed.  (RuntimeError: Unknown release: 'jade'. Valid release names are: 'melodic', 'kinetic', 'indigo', 'lunar')


Static content caching... somewhere

Hi, first experience with Chicago Boss here. I've spent the better part of the afternoon trying to figure out what's happening, but my conclusion is that all of you folks will be a lot smarter than I am.
Using OTP 17 and the legacy branch of Chicago Boss.
I am building JavaScript into priv/static/js. Despite the fact that I see no cache-related headers in the request, I am never able to see the actual contents of my JavaScript.
Let's say I start with this file contents:
console.log('hello, erlang');
And then I update to:
console.log('goodbye, erlang');
I will still see the original contents.
I do see an Etag in the response header, but I also see Cache-Control: no-cache.
Any advice?

hi,
there is no catching for static files as far as I know. To help you better I wiil need to know webserver you used. Also, to check if there is no problem with browser? did you tried to clean cache and try again. Also, are you running in production or dev mode.


Problem running in Fusion "Insider" version.

I am running Threadkeeper and am very pleased with it. Thanks very much.
I have both the standard (basic subscription) and the "Insider Program" version.
It runs perfectly in the standard version but if I launch the "Insider" version I get the following error which I hope you can help with:-

ThreadKeeper
error: 'NoneType' object has no attribute 'group'
Copy this message using Ctrl+C (Windows) or take a screenshot (Mac). Describe what you did to get this error or record a video.

C:\Users\marti\AppData\Roaming\Autodesk\ApplicationPlugins\ThreadKeeper.bundle\Contents\ThreadKeeper.py failed:
Traceback (most recent call last):
File "C:/Users/marti/AppData/Roaming/Autodesk/ApplicationPlugins/ThreadKeeper.bundle/Contents/ThreadKeeper.py", line 104, in run
fusion_deploy_folder = pathlib.Path(thomasa88lib.utils.get_fusion_deploy_folder())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/marti/AppData/Roaming/Autodesk/ApplicationPlugins/ThreadKeeper.bundle/Contents\thomasa88lib\utils.py", line 53, in get_fusion_deploy_folder
return _DEPLOY_FOLDER_PATTERN.match(get_fusion_ui_resource_folder()).group(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

OK
====================

Please see https://github.com/thomasa88/ThreadKeeper/issues/4
Duplicate of !4


can't run the wrapper

see the details below:
Exception has occurred: AttributeError
'Bot' object has no attribute 'status'
File "/home/maciej/devel/odoo_xmlrpc/from odoo_xmlrpc_wrapper import odoo_xml.py", line 9, in
bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD)
AttributeError: 'Bot' object has no attribute 'status'
Maybe there is something missing for v16?

make the changes below to .........\lib\site-packages\odoo_xmlrpc_wrapper\odoo_xmlrpc_wrapper.py

anything??
Traceback (most recent call last):
File "C:\Users\darren_dean\Projects\python\odoo\test.py", line 9, in
bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD, secured=False)
File "C:\Users\darren_dean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\odoo_xmlrpc_wrapper\odoo_xmlrpc_wrapper.py", line 58, in init
print(self.status)
AttributeError: 'Bot' object has no attribute 'status'. Did you mean: 'satus'?
from odoo_xmlrpc_wrapper import odoo_xmlrpc_wrapper as oxw

HOST = "192.xxx.0.xx:8069"
DB = "odoo"
USERLOGIN =<EMAIL_ADDRESS>PASSWORD = "xxxxxxxxx"

bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD, secured=False)


External ITK Modules need to be updated to ITK 5.3.0.

Hello Dr. Tustison
I was trying to use your module for one of my projects and it kept failing when trying to import it. Through searching around on github I believe that an update to ITK broke external modules. I have linked to the GitHub issue that refers to its issue as well as the solution which can be found at the end of the thread.
https://github.com/InsightSoftwareConsortium/ITK/issues/3528

Please post this over on the ITK discourse forum.  This issue isn't specific to this module.

While this issue is due to an ITK bug. The fix for it can only be implemented by the author of the Remote Modules
This is the solution that the dev on the ITK forum gave.
"Remote modules should update to ITK 5.3.0. See https://github.com/InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction for help with this"
From what I understand if you want the AdaptiveDenoising module to keep working with ITK, it needs to be rebuilt on the latest version of ITK.

What your asking for seems to have already been done with this commit.

Okay, I see. I will investigate why it is still throwing the same error as if it has not been updated. I will see if the ITK forum can help. For now, I will close the issue. If I find that there is something else that needs to be done on this rep, I will re-open it with an update.


Unable to run into OCP

I am facing issue running KubeInvaders into OCP.
Using the ROUTE_HOST as described, however this is also used in routes in another namespace where I have deployed the containers / pods in an organized manner in another project, the one on which I want to cause  chaos
This is causing conflict
Route "rejected", when having a look at yaml , I see
HostAlreadyClaimed
a route in another namespace holds "myroute" and is older than kubeinvaders
Please advise

Uhm.. strange! Which host is managing the route older than kubeinvaders? May be it have the same host of ROUTE_HOST.

Hi, yes indeed same host, I just realised this and fixed this added kube. as prefix on the ROUTE_HOST used for my other project. Appologies

Hi, thought I should reopen.
Actually I have ISTIO running on my specific project (bookinfo demo), and would like to visualize what is going on during chose.
Ran this commands, and all ok
TARGET_NAMESPACE=bookinfo
oc create sa kubeinvaders -n $TARGET_NAMESPACE
oc adm policy add-cluster-role-to-user kubeinvaders-role -z kubeinvaders -n $TARGET_NAMESPACE
Unfortunatly I cannot have it running against that project, error message  "K8 status code request 403"

did you take the token of kubeinvaders service account?

yes indeed
TARGET_NAMESPACE=bookinfo
KUBEINVADERS_SECRET=$(oc get secret -n $TARGET_NAMESPACE --field-selector=type==kubernetes.io/service-account-token | grep 'kubeinvaders-token' | awk '{ print $1}' | head -n 1)
echo $KUBEINVADERS_SECRET
kubeinvaders-token-4j458
actually I have noticed there are 2 pods aren't up naturally, I need to go to the Deployment Config, edit ENV variable, search for K8S , and update with one of the 2 secrets (kubeinvaders*) I find in the list.
Once updated, pods are recreated, and eventually only one is up

uhm... try if with this token you can list the pods into the namespace using oc --token=$KUBEINVADERS_SECRET

oc get pods --token=$KUBEINVADERS_SECRET gives "error: You must be logged in to the server (Unauthorized)"
however
oc get pods --token=$SESSION_TOKEN does give a list, this is the API token provided by OCP at initial login
SESSION_TOKEN here is my user token
Documentation says TOKEN=

Yes the env variable for Docker is TOKEN! So the token you use is working from oc logs.. Which error you receive?

On project kubeinvaders
oc get pods
NAME                    READY   STATUS      RESTARTS   AGE
kubeinvaders-2-deploy   0/1     Completed   0          7h5m
kubeinvaders-2-wmtcs    1/1     Running     0          7h5m
dont  now why 2 pods, I actually can see only one  (kubeinvaders-2-wmtcs) in the OCP console
oc logs on this pod, a bunch of GET, no error
x.x.x.x - - [18/Sep/2020:19:47:13 +0000] "GET /kube/api/v1/namespaces/bookinfo/pods HTTP/1.1" 403 342 "https://kube.xxx.containers.appdomain.cloud/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" "<IP_ADDRESS>"

Hi @jfrieu,
it is something related to the token used... can you please try again this?
`oc create clusterrole kubeinvaders-role --verb=watch,get,delete,list --resource=pods,pods/log
oc create sa kubeinvaders -n kubeinvaders
oc adm policy add-cluster-role-to-user kubeinvaders-role -z kubeinvaders -n kubeinvaders
KUBEINVADERS_SECRET=$(oc get secret -n kubeinvaders --field-selector=type==kubernetes.io/service-account-token | grep 'kubeinvaders-token' | awk '{ print $1}' | head -n 1) `

hi works now, i got confused by a video on youtube where I understood I should use TARGET_NAMESPACE=myproject
oc create sa kubeinvaders -n $TARGET_NAMESPACE
oc adm policy add-cluster-role-to-user kubeinvaders-role -z kubeinvaders -n $TARGET_NAMESPACE
so with
oc create sa kubeinvaders -n kubeinvaders
oc adm policy add-cluster-role-to-user kubeinvaders-role -z kubeinvaders -n kubeinvaders
works fine now
Thanks !!

Great!


Build/docker w ipfs

fixes #6
Even though it doesn't bundle in IPFS haha..
latest discussions showed that putting IPFS into the docker file might be a bad idea

Coverage remained the same at 54.0% when pulling 826c42579a792f72ada38c340d842c8aecb93ce0 on build/docker_w_ipfs into 519c60153f411dd06752f07b8865c07402f3def4 on develop.


display command shows all images to be removed ☠

ghost-purge-images v3.0.3
Ghost version: v3.6
Reported by @Caucasus-and-Mercury
Related issue #6
display command shows all uploaded images to be removed
I can't reproduce it with Ghost 3.3.0 & ghost-purge-images 3.0.3
Need to investigate, the issue may be related to the API endpoint
- /var/www/ghost/content/images/2019/04/siberiannationalcostumes_yakutiarussia_01.jpg (0.09 MB)
- /var/www/ghost/content/images/2019/04/vladimir-kolodenko---aeroport.JPG (0.04 MB)

📊 Summary:
- 2771 files of 2771 uploaded images (100.00%)
- Total space: 969.57MB

❔ Want to delete this files? Run `ghost-purge-images purge key=YOUR_KEY`
🎁 Open source tool by David Burgos from https://ghostboard.io
ghost-mgr@ghost-caucasusandmercury:/var/www/ghost$

Hello there @dburgos ,
I'm still having these issues, purging images doesn't work as it used to earlier.
When running the purge command many, many images are purged that shouldn't be, images that are still in use.
I'm on the digitalocean droplet, latest Ghost 3.15.3. I've been trying to solve things by running the install in the droplet directly as well as in the ghost installation folder. I've also done the sudo chmod -R a+rw content here and there. Maybe I've messed up things somehow?
When I do the install it works but I get this:
root@ghost-caucasusandmercury:~# cd /var/www/ghost
root@ghost-caucasusandmercury:/var/www/ghost# npm install -g ghost-purge-images
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
/usr/bin/ghost-purge-images -> /usr/lib/node_modules/ghost-purge-images/bin/ghost-purge-images.js
+<EMAIL_ADDRESS>updated 4 packages in 3.659s
root@ghost-caucasusandmercury:/var/www/ghost#

And when I do the purge check I get this:
- /var/www/ghost/content/images/size/w300/2019/03/tungus-horses.jpg (0.01 MB)
- /var/www/ghost/content/images/size/w300/2019/04/people-of-tartary.jpg (0.02 MB)
- /var/www/ghost/content/images/size/w300/2019/06/2.png (0.09 MB)
- /var/www/ghost/content/images/size/w300/2019/06/i-Jq9qB58-X3.jpg (0.01 MB)
📊 Summary:
- 3242 files of 3242 uploaded images (100.00%)
- Total space: 1539.44MB
❔ Want to delete this files? Run `ghost-purge-images purge key=YOUR_KEY`
🎁 Open source tool by David Burgos from https://ghostboard.io
root@ghost-caucasusandmercury:/var/www/ghost#

Pls note, you made a note yourself above: display command shows all uploaded images to be removed. That's true: but all images are not deleted. Not all - but way too many.
Yours is an incredibly useful tool, and I really hope I can make this work somehow. Thank you very much, - Max !

hey @Caucasus-and-Mercury
Just released v3.0.4 version to fix this issue
Thanks for your your patience


Close #223 | KoPI-CC_News Loader

Close #223

ccepted config name format:
kopi_cc_news_{year}_{schema}

list availablle year = ["2016",2017","2018","2019","2020","2021","2022","all"]
if you use all, it will load all available year
example:
say if you want to load news for year 2016 only and nusantara source ,the code will look like:
from datasets import load_dataset
dataset = load_dataset("/data/nusa-crowd/nusantara/nusa_datasets/kopi_cc_news/kopi_cc_news.py",name="kopi_cc_news 2016_nusantara_ssp")

test unit
python -m tests.test_nusantara nusantara/nusa_datasets/kopi_cc_news/kopi_cc_news.py --subset_id kopi_cc_news_2016

Checkbox

[ x] Confirm that this PR is linked to the dataset issue.
[ x] Create the dataloader script nusantara/nusa_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[ x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _NUSANTARA_VERSION variables.
[ x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[ x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one NusantaraConfig for the source schema and one for a nusantara schema.
[ x] Confirm dataloader script works with datasets.load_dataset function.
[ x] Confirm that your dataloader script passes the test suite run with python -m tests.test_nusantara --path=nusantara/nusa_datasets/my_dataset/my_dataset.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Approving this. Thanks @acul3 for your contribution!

hi @holylovenia
yes. i'm just following the step from oscar tool paper...you can read it here at section 1 and 2
tldr
this just to keep l"ine by line-oriented" text but also not destroy document boundary

hi @holylovenia yes. i'm just following the step from oscar tool paper...you can read it here at section 1 and 3
tldr this just to keep "line by line-oriented" text but also not destroy document boundary

Noted, @acul3! Thanks for explaining.


validation of enumerated values does not support multiple values

I noticed that when multiple values are encoded for the MR Image Scanning Sequence attribute, an error is reported even if both values match the enumerated values.
Here is the output:
Module "MR Image":
Tag (0018,0020) (Scanning Sequence) value is not allowed (value: ['SE', 'EP'], allowed: SE, IR, GR, EP, RM)
The current implementation of enumerated values may be limited to single value only.

I made a new patch release with the fix, please check!


Allow CNAME records for external-dns integration

Hi again,
Many cloud providers provide their LoadBalancer resources with hostname only, and no IP addresses. The hostname is usually meant to be added as a CNAME record to DNS.
Example kubernetes service status:
status:
  loadBalancer:
    ingress:
    - hostname: example.lb.identifier.amazonaws.com

It would be useful if Switchboard would also be able to pick up a hostname variable in the absence of an IP address, from the defined traefik service object, and create the DNSEndpoint resource with recordType: CNAME in this case. I think external-dns does something like that from ingress sources.

Ah sure, will do! (I was working with GCP when developing this operator and their load balancers always provide IPs 😄)

That was an impressively fast merge for this issue, great job.
I was wondering, with the latest commit - is there risk that it would try to create conflicting DNSEndpoint resources for the same hostname in case some LoadBalancer service provided both IP and Hostname in the status? I think k8s API does not prevent both being present, although I am not sure if any providers do this. An A record and a CNAME record for the same DNS entry, however, is not allowed. How would Switchboard handle such case?

Thanks 😄
I also had that thought, I didn't check whether Kubernetes prevents to set both (but thought it did) ... currently, Switchboard would use both (i.e. cause an erratic configuration). Would it make sense to have the hostname take precedence?

I did not see anything preventing it in k8s reference. The status.loadBalancer.ingress is an array LoadBalancerIngress so I think there is nothing to prevent several instances of either, or both (I might definitely be mistaken though).
I did try to find how external-dns itself handles such cases from the vanilla ingress resource, but I'm not a developer and that project was too large for me to trace through :) . I only found there that they seem to sort the list by priority with IP addresses being first, but did not find where both kinds are separated.
In my opinion it would make more sense to prioritize hostnames, as they are usually provided with the thought that the underlying IPs can change, while the hostnames should stay constant throughout the life of the load balancer. So the CNAME record should change less frequently. This is a valid consideration, as DNS record updates inherently have some delay from the point of the client due to the TTL value. But maybe there are other considerations where it makes more sense to prioritize IPs instead.

From a quick check, I don't think that external-dns checks inputs for the DNSEndpoint CRD overly carefully. Thus, my guess is that trying to create both a CNAME and an A record for a particular domain will yield an error from your cloud provider.
For the moment, I think that it makes sense to prioritize CNAME records.


[OPENCL]:CL ERROR:CL_INVALID_COMMAND_QUEUE - and posterior Segmentation fault (core dumped)

Hi guys!
I'm getting a seg fault running the miner, this is the output:
ubuntu@ip-172-31-1-11:~/zcash/zogminer$ ./src/zcash-miner -G  -printtoconsole -debug

Zcash Miner version v1.0.0-beta2-3c2bc92 (2016-11-12 10:27:26 +0100)
Running the test miner
[OPENCL]:Found suitable OpenCL device [Tesla K80] with<PHONE_NUMBER>8 bytes of GPU memory
[OPENCL]:Using platform: NVIDIA CUDA
[OPENCL]:Using device: Tesla K80(OpenCL 1.2 CUDA)
[OPENCL]:Printing program log
[OPENCL]:

Running Equihash solver with nNonce =<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000
[OPENCL]:CL ERROR:CL_INVALID_COMMAND_QUEUE
Segmentation fault (core dumped)

ubuntu@ip-172-31-1-11:~/zcash/zogminer$ clinfo
clinfo: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by clinfo)
Number of platforms                               2
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 8.0.0
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
  Platform Extensions function suffix             NV

  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 12.0.6
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     Tesla K80
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  375.66
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Topology (NV)                            PCI-E, 00:03.6
  Max compute units                               13
  Max clock frequency                             823MHz
  Compute Capability (NV)                         3.7
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple              32
  Warp size (NV)                                  32
  Preferred / native vector sizes
    char                                                 1 / 1
    short                                                1 / 1
    int                                                  1 / 1
    long                                                 1 / 1
    half                                                 0 / 0        (n/a)
    float                                                1 / 1
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size<PHONE_NUMBER>8 (11.17GiB)
  Error Correction support                        Yes
  Max memory allocation<PHONE_NUMBER> (2.793GiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        212992
  Global Memory cache line                        128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             4096x4096x4096 pixels
    Max number of read image args                 256
    Max number of write image args                16
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max constant buffer size                        65536 (64KiB)
  Max number of constant args                     9
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Kernel execution timeout (NV)                 No
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [NV]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform
ubuntu@ip-172-31-1-11:~/zcash/zogminer$

I have the apport crash file if it's useful.
It seems like the culprit can be found at the beginning of the clinfo:
clinfo: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by clinfo)

I can also provide the Apport report file (the app that collects the core dump apparently on Ubuntu)

I am having the exact same problem.  Did you solve this yourself?

i had the issue also, anyone solve it?


Counters overlap with Tasks checkboxes and mess with indentations in Reading/Preview mode

Already mentioned in https://github.com/TfTHacker/obsidian42-strange-new-worlds/issues/39 but I'm still seeing this issue in a clean test vault with no themeing, SNW 1.2.2:

A fix for this should be available in the next public release. It can be tested now if you like with BRAT and the current beta.


Lager Logger for Filtering Specific Messages

Description
Current configuration of KEBs broker-api uses errors as a way to return HTTP status code. Such errors are logged with ERROR level but they do not interrupt normal application behaviour nor require additional intervention from dev side. The following PR introduces possibility to filter such logs by their message. Errors that are filtered out are redirected to stdout with level changed to INFO.
Changes proposed in this pull request:

Filtering messages so that unnecessary ERRORs are not logged in broker-api layer.

Related issue(s)

Decided not to filter such logs in the code.


New Store Message component in the latest DataStax Langflow (11/6/24) errors on Chat Output messages

Bug Description
After updating to the latest Store Message component my flow breaks with the error in the attached image
"Error building Component Store Message: Object of type Message is not JSON serializable"
Reproduction

Connect a Chat Output (Message) to the Messages Input (Message) of the new Store Message component
Attempt to execute a flow with some chat output

I included my flow *.json for troubleshooting
Expected behavior
The updated Store Message component correctly stores message output from the Chat Output component
Other details
I also tried pulling in the component from the left hand menu with no luck.
Looking a bit more deeply I see that the new component uses MessageInput as compared to StrInput for all of the inputs.
Who can help?
No response
Operating System
DataStax Langflow
Langflow Version
1.0.19.post1???
Python Version
None
Screenshot

Flow File
Zoom _ Astra_ERROR.json

@SonicDMG On latest Main, i can't seem to reproduce - see the screenshot attached. I tried to create the simplest example based on your steps for reproducing. Anything im missing?


Version of postscribe available via CDN is old [1.1.2]

Hey everyone,
The postscribe library turned out to be a godsend, when I recently had to implement a GPT passback tag for a client.
But I noticed that the latest version of postscribe.min.js available via CDN is an old one, namely 1.1.2
Link => http://cdnjs.com/libraries/postscribe
CDN link to postscribe => https://cdnjs.cloudflare.com/ajax/libs/postscribe/1.1.2/postscribe.min.js
I thought of giving the client a rawgit link => https://rawgit.com/.
But according to rawgit, 100% uptime is not guaranteed, since it is a free service
Just wanted to know when you next plan to update the postscribe version in the official CDNJS github repo => https://github.com/cdnjs/cdnjs
Thanks,
Krishna Kishore Shetty

I guess you guys are really busy.
I will go ahead and create a pull request to submit the postscribe.min.js, and the package.json file myself to the CDNjs repo. Hope it gets merged.

I've gone ahead and created a pull request of my own.
https://github.com/cdnjs/cdnjs/pull/4444
Once it is approved, I will close this issue.
Thanks,
Krishna Kishore Shetty

Have gone ahead and submitted a pull request to the CDNjs repo
https://github.com/cdnjs/cdnjs/pull/4446
Once it is merged, I will close this issue
Thanks,
Krishna Kishore Shetty

Have submitted two pull requests to two different JavaScript CDN services.
https://github.com/cdnjs/cdnjs/pull/4448
and
https://github.com/jsdelivr/jsdelivr/pull/3883

jsDelivr supports auto-updates as well https://github.com/jsdelivr/jsdelivr/#auto-updating

https://github.com/jsdelivr/jsdelivr/pull/3883 has been merged. Woohoo!
CDN Link => http://cdn.jsdelivr.net/postscribe/1.3.2/postscribe.min.js
Thanks,
Krishna Kishore Shetty

https://github.com/cdnjs/cdnjs/pull/4448 has also been merged.
CDN Link => https://cdnjs.cloudflare.com/ajax/libs/postscribe/1.3.2/postscribe.min.js
Thanks,
Krishna Kishore Shetty


Check that constructors are not overloaded

Haskell does not have overloaded constructors, so we should make sure that we do not allow several constructors with the same name to be compiled to Haskell.

Fixed in #328


Update package.json

I can't install your library because this dependency won't compile, however I can compile 0.1.2 successfully on my machine.

it seems same for me


iOS support

Would it be possible to port this to iOS? Thanks!

See #1691

Sorry, I should be more clear with my feature request. I do not mean to use scrcpy to control iOS devices, I mean directly porting scrcpy so that I can use it on iOS devices to control an Android device, much like how you are currently able to use scrcpy to control an Android device on Mac, Windows and Linux. Thanks again and great work BTW. I used to use Genymotion Personal quite a bit in the past :-)

#2467


Option to turn off "Boost to everyone" confirmation

It's easy to un-boost something in case of accidental clicks - it'd be nice to have the option to disable the confirmation step, especially since boosts are already an extra click away (see post -> open post in expanded view -> click boost -> click "boost to everyone").

Duplicate of https://github.com/cheeaun/phanpy/issues/186


[5.2] Defaults MySQL timestamp Values to 0

This sets the default values of timestamps in mysql to 0. This should be required because mysql has the most insane defaults for timestamps.
Take the following create statement:
create table `test` (
	`id` int unsigned not null auto_increment primary key,
	`created_at` timestamp,
	`updated_at` timestamp,
	`deleted_at` timestamp default 0
);

If you then run show create table test you'll get the following table structure:
CREATE TABLE `test` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

As you can see the created_at timestamp gets stuck with ON UPDATE CURRENT_TIMESTAMP, which likely isn't what anybody wants.
The following is from the MySQL documentation:
TIMESTAMP and DATETIME columns have no automatic properties unless they are specified explicitly, with this exception: By default, the first TIMESTAMP column has both DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP if neither is specified explicitly. To suppress automatic properties for the first TIMESTAMP column, use one of these strategies:

Enable the explicit_defaults_for_timestamp system variable. If this variable is enabled, the DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP clauses that specify automatic initialization and updating are available, but are not assigned to any TIMESTAMP column unless explicitly included in the column definition.

Alternatively, if explicit_defaults_for_timestamp is disabled (the default), do either of the following:

Define the column with a DEFAULT clause that specifies a constant default value.

Specify the NULL attribute. This also causes the column to permit NULL values, which means that you cannot assign the current timestamp by setting the column to NULL. Assigning NULL sets the column to NULL.

— Timestamp Initialization

Will fix failing test and re-open


Generalize homepage spec

Update homepage spec to make it more generic. References to data involving music is now an example rather than a requirement.

@ajax-wcd, the "Site News" section refers to this guy. Will display stuff like outage notices & other critical information. I think should be the one mandatory element on the homepage & cannot be hidden by the user.

@sneakysneakysneaky Ah okay. We're on the same page then I believe.

@sneakysneakysneaky Can this be merged?

Squashed & merged


Server Core installation

It appears that this is not supported on Server Core. Or at least, I'm not able sign in in order to register the gateway because I get the following error: Unable to load DLL 'IEFRAME.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E). Can you confirm if Server Core is supported? I'm using Windows Server 2016 Core.

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

ID: 0deaa8b2-66a2-b45c-3ecd-7ea2d08503ed
Version Independent ID: 364890ed-d3ba-9e01-c40a-ce78600319f1
Content: Install on-premises data gateway - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-gateway-install.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @sc-bperry Thank you for your feedback! We will review and update as appropriate.

@sc-bperry We received confirmation from product team that Server Core is not currently supported, and there are no plans on the product roadmap to do so at this time.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Feature Request - Open Positions / Unrealized Gains

It'd be useful for me to see a table of open positions for all cryptos in a single table. Possible placement could be the summary tab or its own tab.
The following fields alone would be quite handy: Asset, Exchange, Balance, Cost Basis of Position
It would be especially awesome if there was a field off to the side for "Current Spot Price" designated for the user to enter the current price of the asset, and additional calc fields near that for "Current Value", "Net Gain/Loss", "Pct Gain/Loss" which had the calculations already in place where once the spot price was entered, the corresponding values would be displayed.
There could be some finagling such that the user didn't have to enter the current spot value multiple times e.g. for the same asset held in multiple places, but that would be a minor inconvenience for the value provided.

Interesting suggestion! I won't have time to work on this in the near future, but I'll review PRs if anybody wants to tackle this.

I've started working on this as a new plugin. For now I have to put my templates into template_us.ods. Would it be reasonable to make the template file an argument, or would there be some better way to handle templates for plugins aside from adding to the vanilla template?

Thanks for starting work on a new plugin! I like that this would go into a new plugin because this sounds more like investment management-related than tax-related, which is great, because RP2 can definitely provide more value than tax only.
Regarding the template: good question. I think each new plugins should have their own template files (except in special cases). This requires a small change to the _initialize_output_file() function (add the template parameter) and updates in the two call sites (in the two existing report plugins).

https://github.com/mdavid217/rp2/tree/openpositions
I have the report generating output I'm happy with. The pylint and mypy tests have a few failures which I'm not sure how to properly address in the tree. The branch also has the change to the ods generator to use a file with a specified prefix (sorta.. it prefixes it before country code, but keeps template in.)
I wanted to outline the above before sending a PR as my experience with git has been to local repositories, and I'm not familiar with the PR process - wanted to avoid possibly creating a mess by doing a PR prematurely.
Comments / advise welcome.

Great! I gave it a quick look, but it's a bit difficult to review stacked diffs: I suggest going ahead with the PR, which is easier to read. And don't worry about messing anything up: the PR won't affect the main tree until we merge.
A few random notes from my rapid skimming of the code:

if possible, always pass a string to RP2Decimal constructor: when using float you are losing precision.
don't do RP2Decimal(net_cost / tot_crypto_bal). Instead just use normal math operations with RP2Decimal objects: net_cost / tot_crypto_bal (assuming they are both RP2Decimal)
to round to 2 decimals for Fiat: don't use round(). Instead (assuming you want to round and RP2Decimal called r): r.quantize(FIAT_DECIMAL_MASK)
try to use descriptive identifiers for functions and variables: e.g instead of ap_sheet, asset_price_sheet

Looking forward to the PR!


Ignore unused args if they start with underscore

It's a convention that unused args can be denoted by prefixing them with underscore, but eslint does not implement it by default.
See https://eslint.org/docs/latest/rules/no-unused-vars#argsignorepattern

+1 but looks like this currently undoes .estlintrc.cjs changes

like this currently undoes .estlintrc.cjs changes

That's odd, let me fix that


Don't lint current line

It's really annoying when I stop typing for a second to think, and a big intrusive tooltip appears telling me I'm wrong about something.
Could this be changed?

You can disable on the fly linting in linter, but there isn't really a way to reliably do what you are asking here.


Interacting With Civs Broken In Newest Release

After updating to the newest version, I can no longer interact with civs.  When I press the interact to get them down, no sound plays, no animation plays, and they do not respond.  When killed, if they have an exclamation point above their head, they maintain that.  As well, when they are body bagged, they body remains, and a body bag is used.

Not a GoonMod issue.


Create ceiling for memory usage w.r.t. http requests and responses

This is addressing 3) from https://github.com/criblio/appscope/issues/1521#issuecomment-1591975835

Notes to self:
What about pipelined http1 requests?  Not today.
What about http2 channels?  Yeah.  Do that here.
What about http2 streams?

To evaluating this with http2 traffic:
cd test/integration
make nginx-shell
unset SCOPE_EVENT_DEST SCOPE_METRIC_DEST
export SCOPE_EVENT_LOGFILE=false SCOPE_EVENT_CONSOLE=false
edit /etc/nginx/nginx.conf to change `listen 443 ssl;` to `listen 443 ssl http2;`
scope -z nginx && top

apt install -y git g++ clang make binutils autoconf automake \
  autotools-dev libtool pkg-config \
  zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev \
  libevent-dev libjansson-dev \
  libc-ares-dev libjemalloc-dev libsystemd-dev \
  ruby-dev bison libelf-dev
git clone https://github.com/nghttp2/nghttp2
cd nghttp2
$ autoreconf -i
$ automake
$ autoconf
$ ./configure
$ make

In another terminal in the container:
curl --http2 -k https://localhost/
src/h2load -n10000000 -c100 -m100 https://localhost:443/


Verify Github Webhook

We should be verifying Github Webhooks to make aslo more secure, since anybody can try to spoof the JSON payload.

One concern that I feel need to be addressed is applying secret key to hundreds of repos with webhook.
Webhook will be the same for all repos. Should we use the same secret key then or different key for each repo ?
If we use different secrets then server has to have a dictionary to select the right key and decode for verification.

Done


Pressing enter when the autocomplete text box is closed selects the first entry, even when freeSolo is true

If you declare freeSolo in the AutoComplete component, it would be great if you could type in something, press ESC to exit the autocomplete box and expect the text you entered to get submitted unmodified in a form. However, currently, pressing enter in this situation completes to the first autocomplete entry.
Here's a screen-cast to demonstrate this:
Screencast from 01-02-24 10:26:22.webm

Thank you for reporting this and for providing the screen recording.  It seems to do this even if you don't type anything into the input or even open it.  I'll get working on this.

This should be fixed in v5.2.10.  Let me know if you still have issues and I'll reopen this issue.  Thank you for reporting the issue!


Getting a "markClass @MC_mark_parent_top and @MC_mark_top" error building OpenType

Here's the error. Tried to compile on Mac OS X and on Ubuntu with same result.
--
Minor version in 2.1289 has too many digits and won't fit into the head table's fontRevision field; rounded to 2.129.
Traceback (most recent call last):
  File "scripts/build-v2.py", line 96, in <module>
    proj.generateFont(th.font, "%s/Thin/Regular/Th"%FAMILYNAME)
  File "/home/administrator/roboto-src/roboto/scripts/lib/fontbuild/Build.py", line 174, in generateFont
    saveOTF(newFont, otfName)
  File "/home/administrator/roboto-src/roboto/scripts/lib/fontbuild/Build.py", line 292, in saveOTF
    kernWriter=RobotoKernWriter)
  File "build/bdist.linux-x86_64/egg/ufo2ft/__init__.py", line 29, in compileOTF
  File "build/bdist.linux-x86_64/egg/ufo2ft/__init__.py", line 18, in _compile
  File "build/bdist.linux-x86_64/egg/ufo2ft/makeotfParts.py", line 27, in compile
  File "build/bdist.linux-x86_64/egg/ufo2ft/makeotfParts.py", line 166, in setupFile_featureTables
  File "/usr/local/lib/python2.7/dist-packages/FontTools/fontTools/feaLib/builder.py", line 14, in addOpenTypeFeatures
    builder.build()
  File "/usr/local/lib/python2.7/dist-packages/FontTools/fontTools/feaLib/builder.py", line 63, in build
    gdef = self.buildGDEF()
  File "/usr/local/lib/python2.7/dist-packages/FontTools/fontTools/feaLib/builder.py", line 164, in buildGDEF
    gdef.GlyphClassDef = self.buildGDEFGlyphClassDef_()
  File "/usr/local/lib/python2.7/dist-packages/FontTools/fontTools/feaLib/builder.py", line 195, in buildGDEFGlyphClassDef_
    (glyph, name1, name2), markClassDef.location)
fontTools.feaLib.error.FeatureLibError: /tmp/tmpADNADS:7731:5: Glyph uni1ABC cannot be both in markClass @MC_mark_parent_top and @MC_mark_top
make: *** [v2] Error 1

Thank you for the bug report! This is a duplicate of https://github.com/behdad/fonttools/issues/453

Note: this should be fixed upstream. Thanks again for the report.


from keyserv. Models import DB" without this keyserv

Hello, I'm very interested in this project. One problem I found is that there is a "from keyserv. Models import DB" without this keyserv. It's not in the catalog either. I don't know how to deal with it. I would appreciate your guidance.
at auth.py
#=============================
import secrets
import argon2
from flask_login import LoginManager, UserMixin
from keyserv.models import db
login_manager = LoginManager()
login_manager.session_protection = "strong"
#=================================
Traceback (most recent call last):
File "D:\project381\flask02\venv\lib\site-packages\flask\cli.py", line 240, in locate_app
import(module_name)
File "D:\project381\flask02_init_.py", line 27, in
from .auth import login_manager, add_user
File "D:\project381\flask02\auth.py", line 27, in
from keyserv.models import db
ModuleNotFoundError: No module named 'keyserv'

The problem has been solved. I changed the original directory


The Metadata module cannot disable writing files

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: >= 2.7.9
Operating System version: xxx
Java version: xxx

Steps to reproduce this issue

xxx
xxx
xxx

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?

If there is an exception, please attach the exception trace:
Just put your stack trace here!

Should this issue be labeled as Good First Issue?
We are doing research about how to help newcomers onboarding in an open source project and how to accelerate the issue resolving process.
We have developed a tool to automatically label the Good First Issue (GFI), i.e., the issue which is good for newcomers.
We first extract 72 features from different dimensions of issue reports, such as readability, semantic meaning, associated code snippets, etc, and experimentally investigate to what extent these features correlate with GFI. Results turn out that a large portion of these features do have a medium to large correlation with GFI.
We then build a machine learning model based on these features to predict GFI. The experiments on a dataset of 12k issues from Github show that 0.90 AUC can be achieved.
Our tool shows that this issue has a very large possibility to be a GFI.
Could you please tell us whether it should be labeled as a GFI?
And if you have any comments or suggestions with this tool, could you please tell us?
Thank you so much.

It already supports not writing files when file = N/A


Docker 1.12 not compatible with custom Docker docs

Docker 1.12 splits the daemon and client into separate binaries. As a result of this, the instructions in the custom Docker docs don't work for Docker 1.12.

Looking forward to try out 1.12 on rancher os myself as well.

What needs to be done in order for Rancher OS to support Docker 1.12 ?
Is there an expected milestone for 1.12 support?
(really want to use it!)
thx!

Docker 1.12 support - specifically macvlan has put my work using RancherOS on hold.
Some indication - weeks, months would help with planning my time.

In the next release, we're changing how to customize Docker. We'll update the docs on how to customize Docker.
https://github.com/rancher/os/issues/1129

@channeladam @nhi-vanye The most recent RC has support for Docker 1.12 if you'd like to try it out now.

Fyi, the trick to successfully building the RC is to have Docker 1.11.2 installed on the build server - as the build fails if it tries to use Docker 1.12 ... :)

http://docs.rancher.com/os/configuration/switching-docker-versions/

This is now working for v0.6.0


Enable Extension of FO-Engine-Specific Plugins

Description

Currently the .fop, .axf, and .xep plugs do not provide extension points. They should.
In addition, they each include the dita.xsl.xslfo extension point in their top-level XSLT files, which they should not.
Possible Solution

Change the extension point in the XSLT to a plugin-specific name and declare the extension in each plugin's plugin.xml file.
Potential Alternatives

None.
Additional Context

Use case was implementing a small extension to table entry handling just for FOP to add zero-width spaces to enable line breaking of long strings. Realized that there was no direct way to do this and noticed the inappropriate import extension.

In addition, they each include the dita.xsl.xslfo extension point in their top-level XSLT files, which they should not.

I noticed this morning the same problem, implementing the "dita.xsl.xslfo" extension adds references to your XSLT in 4 difference XSLT stylesheets.

It's an easy fix and I can make it just don't have time right at this moment.

The problem goes back to at least 2.5.4

We can't remove the old dita.xsl.xslfo extension point and replace them with formatter specif extension points for backwards compatibility. We can add e.g. new fop.xsl.xslfo to add FOP specific extension point to add imports to FOP shell stylesheet.

But those extension points can't do anything since they duplicate the base one. They only result in redundant imports of the same extension XSLTs unless I've seriously misunderstood what is happening.
In addition, the extension points are not declared in the plugin.
They should have never been there.

If we remove dita.xsl.xslfo, existing plugins will break, because they will not use fop.xsl.xslfo extension point. We can break those plugins in DITA-OT 4.0, but I see no point breaking the old plugins like this.

But those extension points can't do anything since they duplicate the base one. They only result in redundant imports of the same extension XSLTs unless I've seriously misunderstood what is happening.

That's not what is happening today -- the 4 imports go into 4 different shells. None of them go into the main topic2fo.xsl file that is imported by all of the shells.
I think that one of the imports is generally a no-op (org.dita.pdf2/xsl/fo/topic2fo_shell_template.xsl) because the three known formatters will all use one of the other three shells. But ... it's the "default" in the absence of those 3 so it makes sense to define it.
The other three imports all go into the formatter-specific shell for FOP, AXF, or XEP -- none of them go into the common file.
I do think you could have an extra, formatter-specific import after that one. But with the current design, each of the 3 shells will import your dita.xsl.xslfo extension after everything else.

I see--I had misunderstood how those plugins worked.
However, they still need to have their own plugin-specific extension points for the reason I gave. I will try to develop a pull request for this at some point.


refactor: double if check

is_load was checked twice, this seems simpler.

Things like this need "[pr]" in the title to confirm process replay runs and it produces the same outputs

pr passed


Error on invoking new-bccontainer when publishing Microsoft_Tests-TestLibraries

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
A clear and concise description of what the issue is.
Scripts used to create container and cause the issue
$containerName = 'mycontainer'
$username = 'admin'
$password = ConvertTo-SecureString 'admin' -AsPlainText -Force
$credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $username, $password
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'de' -version '25.0'
New-BcContainer `
    -accept_eula `
    -containerName $containerName `
    -credential $credential `
    -auth $auth `
    -artifactUrl $artifactUrl `
    -memoryLimit 8G `
    -isolation hyperv `
    -updateHosts `
    -includeTestToolkit

Full output of scripts
BcContainerHelper is version 6.0.5
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - 10.0.22631.4391
Docker Client Version is 24.0.7
Docker Server Version is 24.0.7
Removing Session breedingcentral
Removing container breedingcentral
Removing entries from hosts
Removing breedingcentral from container hosts file
Removing breedingcentral-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\breedingcentral
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2762
Creating Container breedingcentral
Style: sandbox
Multitenant: Yes
Version: 25.0.23364.26597
Platform: 25.0.26562.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.20348.2762 (ltsc2022)
Host OS Version: 10.0.22631.4391 (Unknown/Insider build)
Using hyperv isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\BcContainerHelper\Extensions\breedingcentral\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container breedingcentral from image mcr.microsoft.com/businesscentral:10.0.20348.2762
36742494ff47611e2b269272d45a0a7b120b4c909d6d6795688e63a24d5712bb
Waiting for container breedingcentral to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/25.0.23364.26597/de
Using installer from C:\Run\240
Installing Business Central: multitenant=True, installOnly=False, filesOnly=False, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\25.0.23364.26597\de, platformArtifactPath=c:\dl\sandbox\25.0.23364.26597\platform, databasePath=c:\dl\sandbox\25.0.23364.26597\de\BusinessCentral-DE.bak, licenseFilePath=c:\dl\sandbox\25.0.23364.26597\de\Cronus.bclicense, rebootContainer=True
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\25.0.23364.26597\platform\ServiceTier\Program Files
c:\dl\sandbox\25.0.23364.26597\platform\ServiceTier\System64Folder
Copying Web Client Files
c:\dl\sandbox\25.0.23364.26597\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\25.0.23364.26597\platform
c:\dl\sandbox\25.0.23364.26597\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\25.0.23364.26597\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\25.0.23364.26597\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\25.0.23364.26597\de\Extensions
Copying Applications
C:\dl\sandbox\25.0.23364.26597\platform\Applications
Copying Applications.DE
C:\dl\sandbox\25.0.23364.26597\de\Applications.DE
Copying dependencies
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 115 seconds
Installation complete
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is breedingcentral
PublicDnsName is breedingcentral
WARNING: Container starts with TimeZone = Mitteleurop├ñische Zeit, which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint EE54D83D23B03E5C8F6A09F7C0A6EB2C1DBC70E0
DNS identity breedingcentral
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements.
It should be at least 8 characters long and contain at least one uppercase
letter, one lowercase letter, and one number.
Container IP Address: <IP_ADDRESS>
Container Hostname  : breedingcentral
Container Dns Name  : breedingcentral
Web Client          : http://breedingcentral/BC/?tenant=default
Dev. Server         : http://breedingcentral
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting breedingcentral to <IP_ADDRESS> in host hosts file
Setting breedingcentral-default to <IP_ADDRESS> in host hosts file
Setting breedingcentral-default to <IP_ADDRESS> in container hosts file

Files:
http://breedingcentral:8080/ALLanguage.vsix

Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 4.6Gb

Initialization took 27 seconds
Ready for connections!
Reading CustomSettings.config from breedingcentral
Creating Desktop Shortcuts for breedingcentral
Synchronizing Permissions Mock on default
App successfully synchronized
Installing Permissions Mock on default
App successfully installed
Synchronizing Test Runner on default
App successfully synchronized
Installing Test Runner on default
App successfully installed
Synchronizing Any on default
App successfully synchronized
Installing Any on default
App successfully installed
Synchronizing Library Assert on default
App successfully synchronized
Installing Library Assert on default
App successfully installed
Skipping app 'C:\Applications.DE\Microsoft_Permissions Mock_25.0.23364.26597.app' as it is already installed
Synchronizing Library Variable Storage on default
App successfully synchronized
Installing Library Variable Storage on default
App successfully installed
Publishing C:\ProgramData\BcContainerHelper\Extensions\breedingcentral\5c01ea83-04b4-41dd-8a11-3cb7b2fca346\Microsoft_System Application Test Library_25.0.23364.26597.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App Microsoft_System Application Test Library_25.0.23364.26597.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\breedingcentral\3eaf28a7-9123-4516-93e4-9934fb0cf85e\Microsoft_Tests-TestLibraries_25.0.23364.26597.app
Publish-NAVApp:
Line |
  15 |      $output = Publish-NAVApp @cmdletArgs;
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Extension compilation failed
error AL1024: A package with publisher 'Microsoft', name 'Business Foundation Test Libraries', and a version compatible with '<IP_ADDRESS>' could not be loaded. Symbols for the requested app Business Foundation Test Libraries by Microsoft <IP_ADDRESS> could not be found in the database.
LibraryUtility.Codeunit.al(19,26): error AL0185: Codeunit 'Library - No. Series' is missing

Container Free Physical Memory: 4.3Gb

Services in container breedingcentral:
- MicrosoftDynamicsNavServer$BC is Running
- MSSQL$SQLEXPRESS is Running

Relevant event log from container breedingcentral:
- 20241112 12:58:36 - MicrosoftDynamicsNavServer$BC

  Server instance: BC
  Category: Extensions
  ClientSessionId: 00000000-0000-0000-0000-000000000000
  ClientActivityId: 00000000-0000-0000-0000-000000000000
  ServerSessionUniqueId: 875f9be2-90c5-4ea6-8583-7d2cb0aa2a00
  ServerActivityId: 48842a4a-9acb-46e4-b7cc-7c844b26caf1
  EventTime: 11/12/2024 11:58:36
  Message Extension compilation failed
  error AL1024: A package with publisher 'Microsoft', name 'Business Foundation Test Libraries', and a version compatible with '<IP_ADDRESS>' could not be loaded. Symbols for the requested app Business Foundation Test Libraries by Microsoft <IP_ADDRESS> could not be found in the database.
  LibraryUtility.Codeunit.al(19,26): error AL0185: Codeunit 'Library - No. Series' is missing
  ProcessId: 504
  Tag: 00001YW
  ThreadId: 30
  ExecutionId: 174
  CounterInformation:

Publish-BcContainerApp Telemetry Correlation Id: 03aa9202-eb32-439a-ae9f-73b1a3430472
Import-TestToolkitToBcContainer Telemetry Correlation Id: 5d4041fc-6fb3-4447-a476-7e32d7d7ed86
New-BcContainer Telemetry Correlation Id: 680038dc-1a0b-4774-a623-01bcf9a996f4
Exception: C:\Users\user\OneDrive - MyCompany\Dokumente\PowerShell\Modules\BcContainerHelper\6.0.5\ContainerHandling\Invoke-ScriptInNavContainer.ps1:288
Line |
 288 |                          throw $errorMessage
     |                          ~~~~~~~~~~~~~~~~~~~
     | Publish-NAVApp:  Line |   15 |      $output = Publish-NAVApp @cmdletArgs;
     |      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~
     |      | Extension compilation failed
     | error AL1024: A package with publisher 'Microsoft', name 'Business Foundation Test
     | Libraries', and a version compatible with '<IP_ADDRESS>' could not be loaded. Symbols for the requested app Business Foundation Test Libraries by Microsoft <IP_ADDRESS>
     | could not be found in the database. LibraryUtility.Codeunit.al(19,26): error AL0185:
     | Codeunit 'Library - No. Series' is missing

ERROR
publishing C:\ProgramData\BcContainerHelper\Extensions\breedingcentral\3eaf28a7-9123-4516-93e4-9934fb0cf85e\Microsoft_Tests-TestLibraries_25.0.23364.26597.app
Publish-NAVApp:
Line |
  15 |      $output = Publish-NAVApp @cmdletArgs;
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Extension compilation failed
error AL1024: A package with publisher 'Microsoft', name 'Business Foundation Test Libraries', and a version compatible with '<IP_ADDRESS>' could not be loaded. Symbols for the requested app Business Foundation Test Libraries by Microsoft <IP_ADDRESS> could not be found in the database.
LibraryUtility.Codeunit.al(19,26): error AL0185: Codeunit 'Library - No. Series' is missing

Additional context
-- problem also occurs when invoking Import-TestToolkitToBcContainer

I assume you also updated ContainerHelper, which probably is the reason.


Linking on Windows

Hello again,
I've discovered an issue just opposite to this: https://cmake.org/pipermail/cmake/2008-July/022740.html
While trying to build on Windows, Visual Studio 2015 searches for boost-system-xxxx file, instead of libboost-system-xxxx (which are created by this package). From http://cpprocks.com/using-cmake-to-build-a-cross-platform-project-with-a-boost-dependency/ I've also got there's a BOOST_ALL_NO_LIB define which might solve the problem.

I solved it in my project by using add_definitions(-DBOOST_ALL_NO_LIB=1)

Yeah, please remember that CMake.js does just a regular cmake build, you can use all of its features in your lists.


[REQ] New backgrounds

CS2 has some new backgrounds, Inferno, Baggage, Warehouse and others. Could they be added to the website?

Unfortunately no, CSGO's Panorama used recorded videos as background (the ones we have in the app currently). In CS2 it's an actual 3D loaded map. If someone is kind enough to record new backgrounds loops for the new maps we may add them in the future.

I'll leave a list of the videos I'm making here and finding the missing maps.
In this case, I chose to take videos in .mp4 format 1080p60 resolution.

[ ] CS2 Inferno T Ramp Live Wallpaper - https://github.com/ianlucas/cs2-inventory-simulator/assets/32937653/e82c9c0d-d349-4145-9700-cfbef3f0c729

For now I found these @ianlucas, would it be possible to add them?
Remaining maps I've seen how to pick up, seeing only the best way to save and loop them.

For now I found these @ianlucas, would it be possible to add them?
Remaining maps I've seen how to pick up, seeing only the best way to save and loop them.

Can you remove the "Limited Test" label on the bottom left and make the videos 960x540@30fps & .webm format to keep the standards?

I'm going to close this issue for now, once the videos are in the right format I'll open them again

I believe it would be this format, anything we will add more in the future.
de_anubis (Bombsite A).webm
de_inferno (Bombsite A).webm
de_inferno (Caverna).webm
de_overpass (Bombsite B).webm
de_ancient (Base T).webm

"de_inferno (Bombsite A)" gets a black screen at the end, other than that the others look good. Personalized videos are risky as they could have copyright, I won't be adding those.

"de_inferno (Bombsite A)", I check it later and see other maps.
I understand about the personalized ones, the ones I found were free to download for everyone, in any case I understand why.

Train: de_train.webm

Need to trim the fade-in and fade-out from the train video

Videos uploaded again, I believe all correct now.

de_anubis (Bombsite A).webm
de_inferno (Bombsite A).webm
de_inferno (Caverna).webm
de_overpass (Bombsite B).webm
de_ancient (Base T).webm
de_train.webm

Just one more correction:

de_overpass (Bombsite B).webm - has the label in the bottom left.

It'd be nice to review the loop of some videos as well, de_overpass (Monster), for instance, has the train passing through in the start of the loop, but it's almost in the middle of the path.


Number of captcha examples

Hi,
thanks for providing this awesome module! :-)
Can you share how much captcha examples you've used for the training stage? I got an accuracy of 0.3 with 5 examples. How much should I use for training?
Best
Willy

Depend on your captcha.
For DL, you need at least 10.000 examples to train.

Oh, that's a lot! Not that easy to get all these samples :-)


Create a setup.py file

Create a setup.py file to be able to easily install and import the privacy-evaluator package properly.

Solved by #73.


Test build against GHC 9.2

and publish to Hackage once it's working.

I haven't tested this beyond a "hello world" app, but Scotty builds with the appropriate patches to its dependencies. Right now the dependencies which need a GHC 9.2 patch uploaded to hackage are:

hs-memory (https://github.com/vincenthz/hs-memory/pull/87)
basement (https://github.com/haskell-foundation/foundation/pull/555)
cryptonite (https://github.com/haskell-crypto/cryptonite/pull/354)

It's unclear why these PRs have not been merged.
I can build a project dependent on Scotty using this cabal.project to forcibly use the patched dependencies:
packages: .

-- Patches to build with GHC 9.2.1; remove these when official builds are released.
source-repository-package
    type: git
    location: https://github.com/tfausak/hs-memory
    tag: 3cf661a

source-repository-package
    type: git
    location: https://github.com/TomMD/foundation
    tag: 0bb195e
    subdir: foundation basement

source-repository-package
    type: git
    location: https://github.com/josephcsible/cryptonite
    tag: 3b081e3ad027b0550fc87f171dffecbb20dedafe

I can build a project dependent on Scotty using this cabal.project to forcibly use the patched dependencies:

I think that https://github.com/josephcsible/cryptonite is rebased, therefore:
source-repository-package
    type: git
    location: https://github.com/josephcsible/cryptonite
    tag: 0d04e90dc33b6aeaf8a5686921d6999599429fb0

i will look into this when i get home. i’d prefer not to depend on off-hackage commits, though.
Sent from my iPhone

On Mar 12, 2022, at 6:17 PM, Vehbi Sinan Tunalioglu @.***> wrote:

I can build a project dependent on Scotty using this cabal.project to forcibly use the patched dependencies:
I think that https://github.com/josephcsible/cryptonite is rebased, therefore:
source-repository-package
type: git
location: https://github.com/josephcsible/cryptonite
tag: 0d04e90dc33b6aeaf8a5686921d6999599429fb0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were assigned.

i’d prefer not to depend on off-hackage commits, though.

I totally agree. I was just testing 9.2 in general.

Oh! I understand. Sorry for the confusion on my part!

On Mar 12, 2022, at 10:24 PM, Vehbi Sinan Tunalioglu @.***> wrote:

i’d prefer not to depend on off-hackage commits, though.
I totally agree. I was just testing 9.2 in general.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were assigned.

No problem at all.
Btw: I understand that the 3 libraries mentioned have new releases now. I managed to compile a "hello world" Scotty (v0.12) application with stock dependencies the way cabal has resolved them (without pinning to off-hackage commits). That should be good news.

Scotty is now in Stackage LTS 19.2 (on GHC 9.0.x) and Stackage Nightly (on GHC 9.2.x), so I'll close this issue. Thank you very much, @jamestmartin and @vst, for doing the prep work to make sure that builds would go smoothly ahead of Stackage! Your help is appreciated, and it made sure we could avoid getting into a rushed situation if, say, the build failed on these GHC versions for some reason and we only learned about it when Stackage incremented its GHC. Thanks again!


multipart/form-data support

This is a fairly substantial change, as it requires getting more MIME header information to the formatter, so I decided to change the signature of the input formatters as the encoding parameter has not been documented yet(?)

Coverage remained the same at 100.0% when pulling e073b874d058a208fafe15fec8c77ebbfc677c8e on cag:develop into 0cdbdbc7a3f546e7bcc605e42993e1157d895916 on timothycrosley:develop.

Coverage remained the same at 100.0% when pulling e073b874d058a208fafe15fec8c77ebbfc677c8e on cag:develop into 0cdbdbc7a3f546e7bcc605e42993e1157d895916 on timothycrosley:develop.

@cag, This is great work! I'm going to merge as is, but will be thinking about how to best handle the additional header information in a performant and intuitive way.
Thanks!
~Timothy


Output layer options SG vs CBOW

Similar to https://github.com/monarch-initiative/embiggen/issues/208, we have two slightly different ways of initializing the output layer weights and biases. There is no reason to have different versions. I am going to use the version that we had for CBOW. After everything is working again, we should compare both for a few datasets
## VERSION NOW USED IN SKIPGRAM
self.nce_weights: tf.Variable = tf.Variable(
      tf.random.normal([self.vocabulary_size, self.embedding_size]))
self.nce_biases: tf.Variable = tf.Variable(
      tf.zeros([self.vocabulary_size]))

and
## VERSION NOW USED IN CBOW
 tf_distribution = tf.random.truncated_normal([self.vocabulary_size, self.embedding_size],
                                              stddev=0.5 /
                                                     math.sqrt(
                                                             self.embedding_size),
                                              dtype=tf.float32)
 self.softmax_weights: tf.Variable = tf.Variable(tf_distribution)
 self.softmax_biases = tf.Variable(
                tf.random.uniform([self.vocabulary_size], 0.0, 0.01))

This issue has become stale, closing!


Reducing the cost of ImageFilter

Use case
Some ImageFilter is resource intensive and looks different than on native development
Proposal
As it turned out, some filters on iOS have _requestedScaleHint, which specifies the value at which the image falls into the filter
You can see in the screenshot:

Perhaps it would be convenient to be able to adjust this parameter in Flutter:

filters would be able to work faster
filters can consume fewer resources (CPU/GPU)

/cc @chinmaygarde

Do you have a more detailed proposal for a specific Flutter API. The issue as titled is extremely vague.

I have two options:

Add a parameter that will reduce the size of the input picture
Make a filter that will reduce the size of the input image

We did not accept this proposal.


CI: Try running Engine & CLI workflow in larger GitHub runners

Is this an intermediary step that we can take towards migrating to new CI runners? Related to:

https://github.com/dagger/dagger/pull/7082

If the Engine & CLI workflows passes, I would be tempted to merge this before the other PR. The focus is to migrate off the legacy CI as soon as possible.
Trade-offs:

If we keep the current DAGGER_CLOUD_TOKEN, we will not be able to use the Cloud Cache in PRs coming from forks
If we add the DAGGER_CLOUD_TOKEN secret, this will not be available to PRs coming from forks, meaning that we will not have Dagger Cloud Traces in those PRs

Closing, we are now fully committed to pushing this one through:

https://github.com/dagger/dagger/pull/7082


Pull config changes in ConsumerConfig and JSApiConsumerGetNextRequest

Overview
Support for MaxBytes for pull requests including changes to Consumer Configuration and JSApiConsumerGetNextRequest
See Server PR 3126
The Consumer Configuration now includes max_expires and max_bytes
MaxRequestExpires  time.Duration `json:"max_expires,omitempty"`
MaxRequestMaxBytes int `json:"max_bytes,omitempty"`

The JSApiConsumerGetNextRequest now includes max_bytes and idle_heartbeat
MaxBytes  int           `json:"max_bytes,omitempty"`
Heartbeat time.Duration `json:"idle_heartbeat,omitempty"`

The max_bytes limit makes the server complete a batch request if the total number of bytes sent to a pull request reaches this value. It works in combination with batch count, which means that the pull request will be complete based on whichever completes first (count or size).
The idle_hearbeat causes the server to send messages with "100 Idle Heartbeat" status (note that the value cannot be 50% more than the consumer config heartbeat value, but the check is done by the server, library does not have to check for that).
Note max_bytes is currently EXPERIMENTAL while behavior is ironed out.
Clients and Tools

[x] Schemas @ripienaar
[x] CLI @ripienaar
[ ] Terraform @ripienaar
[x] Github Actions @ripienaar
[ ] Go @wallyqs
[x] Java @scottf
[ ] JavaScript @aricart
[x] .Net @scottf
[ ] C @kozlovic
[ ] Python @wallyqs
[ ] Ruby @wallyqs
[ ] Rust @derekcollison @Jarema @caspervonb

Other Tasks

[ ] docs.nats.io updated
[ ] Update ADR to Implemented
[ ] Update client features spreadsheet

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

Note that we may not rush that to be added in client libraries until the JS simplification work is done and some discussion occurs between client and server team.
For instance, currently the server does not send an indication that the pull request is done because of the size, so the library would need to do accounting of message size + headers when deciding if it needs to wait for more messages or not.
Also, in the case where the pull request max_bytes is smaller than the first message that the server would need to deliver, the server sends a 408 with a description "Message Size Exceeds MaxBytes", which would force libraries to behave differently with this 408 than others..

I've marked my additions to pull requests as EXPERIMENTAL so we can change them without a break if we need to.

There are other issues - if the stream has a message that is larger than the max_bytes the consumer will stall, because the server will send a 408, in this case the 408 is final, as there's no way for the message in question to be processed by the client.
https://github.com/nats-io/nats-server/issues/3165

Which max_bytes are you explicitly referring to here?

The new max_bytes on a pull. Let's say you set max_bytes to 1k, but have a message that is 2k. What will happen?

You get this..
go nats.Header{"Status": []string{"408"}, "Description": []string{"Message Size Exceeds MaxBytes"}}

It would be nice if we didn't have to rely on text for status messages. We face the same issue with flow control and heartbeats, we have to recognize the status code (100) and the text.
For this though, at a minimum I wonder if there is a better code than 408. Maybe one of these?

412 Precondition Failed (RFC 7232)
413 Payload Too Large (RFC 7231)
416 Range Not Satisfiable (RFC 7233)

At a maximum, is there any way we can just ditch the http based codes here and use an api [like] error code?

I think that is an excellent idea and happy to make that change. We also of course have a precedence of adding in specific error codes to compliment the status codes, which by design are mimicking HTTP.

I don't think we can ditch status alignment with HTTP at this point.

the one thing that is not great about the current strat, is that these errors are reported simply as status errors, there's no attribution, the only thing making them jetstream is that there's no payload. Since they are a JetStream response, it would be great if they were js API errors. - or headers indicated that these are jetstream errors.

We could possible add more headers, but not sure if that would buy us much. Sometimes it feels like that just means you need to check multiple headers versus one.
How are you thinking about that would work out in practice and for applications?


Added builds for arm

Built on raspberry pi 4B RaspberryPi OS (Debian)

You can't add binaries like this, they don't update with code changes

If you can download them and add them as they should be added, please do so. Other way I don't have interest in this anymore.


Fix code scanning alert - Flask app is run in debug mode

Tracking issue for:

[x] https://github.com/casudo/Kickbase-Insights/security/code-scanning/1

Removed debug mode


autoconf: Get version components from PACKAGE_VERSION

AX_SPLIT_VERSION only works after AM_INIT_AUTOMAKE, so that macro had
to be moved.
GENERIC_MAJOR_VERSION, GENERIC_MINOR_VERSION and GENERIC_MICRO_VERSION
are now set automatically and can be used in further processing.
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

Running configure now shows the versions:
[...]
checking dependency style of g++-8... gcc3
checking for a sed that does not truncate output... /bin/sed
checking Major version... 4
checking Minor version... 0
checking Point version... 0-beta.1-54-g6b0b
[...]


Send token and namespace ad to director

I'm leaving this in draft mode for the moment because I haven't gotten through the whole process yet, and I suspect there are still bugs.
The part I'm getting stuck on is in director/origin_api.go, line 115 in my changed files where we do ar.Get(ctx, issuer_url). It looks like under the hood, ar.Get instantiates an http.Client and tries to get the issuer.jwks from the issuer_url. Of course, testing locally I don't have a valid TLS setup, and I can't figure out how to bypass that issue through the jwk library because the x509 certificate is obviously not signed by a known authority.
Otherwise, a few bugs I think I've nailed out:

The origin now sends a token to the director for verification (before no token was sent)
There were issues with the ttlcache mutex in director/origin_api.go, both in terms of the types of lock being set and an improperly scoped defer statement.
The origin now sends a slice of namespace ads to the director, with its own namespace ad as the only item. This should be reviewed because I'm hard coding things in the ad like "RequireToken", "MaxScopeDepth", "Strategy", and "BasePath". Currently I'm unsure of where these variables should be coming from or whether there are config variables that can be obtained through viper

Okay, this should be ready for a review @bbockelm. Two things to point out that can either be fixed as a part of this PR or another:

In origin_ui/advertise.go, there's a TODO that talks about generating an origin url and that code being in a branch I presume you were waiting to merge. I assume we don't to hardcode the origin url as localhost
I still have RequireToken set to false for the origin's namespace ad. I'm not sure how to determine what that setting should be based on the configuration variables I know of.


FTS5 Class/Struct how to match the Delegate Type?

Hi guys.
sqlite-net works like a charm for me, yet, on FTS5 Tables I cannot select the data, the query is valid and works elsewhere.
I couldn't find anything related to FTS5 and sqlite-net, can you guys please enlighten me on the subject?

Thanks :).

Well, seems that it was my mistake (or not).
Depending on the load I prefer to use structs over classes, or even now we can do for symmetry record structs and record classes.
Changing from record struct to record class didn't do much, but leaving as class worked.
Not an issue for me now, but good to note.


StartExampleDownloads fails because of SP88497

The script fails because https://ftp.hp.com/pub/softpaq/sp88001-88500/sp88497.exe (newest BCU) is being extracted to C:\SWSetup\[sp88497 (note the extra [ before sp), and this is not expected.
We'll need to create workaround in the script to compensate this error from HP.

Pushed a fix to the repo, the workaround is now active.


Reads API should be added to test_simulated_stack.py

Currently only the variants API is exercised using test_simulated_stack.py. This should be extended to include the full reads API to ensure we test the front end code thoroughly.

Fixed in #466