Allow to not fail on stub attach in frozen apps

I have set up a pre-release test for pyinstaller freeze of my application.
I just found that the import of scikit-image rc fail because lack of stub files
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "skimage/__init__.py", line 74, in <module>
  File "lazy_loader/__init__.py", line 243, in attach_stub
ValueError: Cannot load imports from non-existent stub '/home/runner/work/PartSeg/PartSeg/dist/PartSeg/skimage/__init__.pyci'
[11749] Failed to execute script 'launcher_main' due to unhandled exception!

https://github.com/4DNucleome/PartSeg/actions/runs/4293660567/jobs/7481623224#step:10:183
Of course, I could try to workaround this by add more entries to package_data but I think that stub files in frozen applications are pointless.
Python allows to check if the application is frozen by getattr(sys, "frozen", False) so it may be easy to add a proper check and not raise an exception in such a use case.

So the stub file cannot be bundled and accessed?
If so, then an exception sounds right. Are you able to make a PR? I don't have a setup to test this.

So the stub file cannot be bundled and accessed?

It could be, but it needs to attach using datas that may need to be manually curated and As I read in the readme attach_stub is for IDE support which is not important in the frozen app.

If so, then an exception sounds right. Are you able to make a PR? I don't have a setup to test this.

I will do PR.

Well, not exactly. The stubs are used to define the imports, so they are not optional and cannot be removed when attach_stub is used.  We use __init__.pyi files to define the imports, vs __init__.py, so that Python doesn't immediately import modules; i.e., so we have a chance to load them lazily.
If you can ship the stub files inside your frozen archive, and if we can get access to them from the lazy loader, we can make it work.

If you can ship the stub files inside your frozen archive, and if we can get access to them from the lazy loader, we can make it work.

It looks like collect_data_files("skimage") collect .pyi for skimage files so #39 and some update of readme may be enough, but need to investigate deeper.

@Czaki Can you confirm whether or not your issue has been solved, and whether there's anything we need to do here still?


The remote server returned an unexpected response: (413) Request Entity Too Large

I tried modifying the numBytesPerChunk value. However, it throws the exception for anything larger than 100mb.

mumBytesPerChumk has a maximum of 4MB. That's a design choice of the Azure Blob Storage API. numBytesPerChunk defines the size of an HTTP POST Upload (and of an Azure storage BLOCK (not blob)). "Each block can be a different size, up to a maximum of 4 MB, and a block blob can include up to 50,000 blocks."


Update the Redux integration doc

The current link in the master branch is not as helpful anymore because the original link was stripped out. As a result, users were being redirected to a generic page. The Redux page with the one that I have added in this PR. Thanks for the project,

Thanks!

Thank you! I'll add more as I leverage the library more and step through bugs


fixing broken link

/cc @BillWagner

@BillWagner I haven't noticed it was the same one you were fixing in #853 since I'm going through a list of bugs a vendor has sent me. I'll merge that one now and then we can the additional fixes in.

LGTM.


Help with setOption

How would I make it so if the screen size less than or equal to 768 it removed my last section with the id of footer_desk is not set to 100% height?
This is what I tried but it does nothing
afterResize:function() { 				var window_w = jQuery(window).width(); 				var window_h = jQuery(window).height(); 				var options = {interstitialSection:'.footer_bottom,#footer_desk'}; 				if(window_w < 769){ 					console.log(options); 					jQuery.scrollify.setOptions(options); 				} 			}

Not sure why this isn't working for you. You might find more help if you post it on Stackoverflow.


Log spam

Describe the bug
When loading Minecraft with Raknetify installed, the following messages appear in the logs:
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_3242
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_3242$1
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_340
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2539$class_4532
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2524
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_3248
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_412
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_644
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_3324
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2539
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2528
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2529
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_644$1
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_412$1
[17:01:30] [Render thread/INFO]: Loading class net.minecraft.class_2535$1

Normally this is fine, since these are just a few messages, however, the amount of messages goes up when you install more mods. With only Sodium and Raknetify, there are 84 messages printed on every launch.
To Reproduce
Steps to reproduce the behavior:

Start minecraft
Look at logs

Expected behavior

Screenshots

Runtime info (please complete the following information):

OS: Void GNU/Linux 6.3.13_1 x86_64
Minecraft version: 1.20.1
Mod version: 0.1.0+alpha.5.93 devbuild

Crash reports / logs
Other mods
Sodium
Checklist

[x] I am using the official version of the mod.
[x] I tried the latest development version but the issue persists.
[x] I searched for similar open issues and could not find an existing bug report on this.

Additional context

8908716153586c97700094219584fb01a835c091


Plotting multiple timeseries from group-by

Thanks a lot for creating this nifty plugin.  One issue I haven't been able to overcome after spending a couple hours testing queries & searching online: given data with columns symbol, price, time where symbol comprises say 5 different stocks, I haven't been able to plot different colored/legended timeseries via the normal SELECT...GROUP BY symbol.  Instead all data-points seem interpreted as one single timeseries with mistaken interpolations at the boundaries.  Is this a known issue or am I not querying this correctly?
Thanks in advance!

Could you provide a sample database (CTE would also be fine 😉 ) as well as the SQL query?

Thanks for the quick reply.  Data is based off https://github.com/vega/vega-datasets/blob/master/data/stocks.csv with date re-formatted to YYYY-MM-DD.  Current query is SELECT date || 'T00:00:00Z' AS time, price AS value, symbol FROM stocks GROUP BY symbol, time

Oddly, an analogous query on another data-source actually grouped-by as expected 🤷♂

Maybe you just miss the ORDER BY time? You need to order by time for a useful time series. With the query below I got a normal time series chart. Is this what you expected?
WITH stocks(symbol, date, price) AS (VALUES
('MSFT', '2020-12-12', 39.81), ('AMZN', '2020-12-12', 77.9),
('MSFT', '2020-12-13', 41.1), ('AMZN', '2020-12-13', 75.6),
('MSFT', '2020-12-14', 38.2), ('AMZN', '2020-12-14', 88.2)
)
SELECT
  date || 'T00:00:00Z' AS time,
  price AS value,
  symbol
FROM stocks
GROUP BY symbol, time
ORDER BY 1

Right so I did add ORDER BY time to the analogous query.  The other thing that's required is switching the query type from Table to Time Series.
False alarm on my part - thanks again for your help!


⚠ ClamAV has degraded performance

In 40ebbdc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 191 ms

Resolved: ClamAV performance has improved in a818cd1.


docs: update public cloud platform deployment docs

Coverage increased (+2.6%) to 74.492% when pulling ec056b52c32cb974761c626077fe7c541f2adf9f on yang-yinbo:main into d625adef75ce70291c1869b11e36eae4bad3ad3d on emqx:main.


[VS Code] Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.

Error:
Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.1151

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.30.2

platformName
Linux

platformVersion
4.15.0-43-generic

likely dupe of #1246. @GeraldoSilva please confirm and reopen if that doesn't fix your issue.


Linux Install

1- Clone the repository:
git clone https://github.com/another-ai/stable_cascade_easy.git
2- open terminal in the cloned directory: stable_cascade_easy
type the following prompt:
python3 -m venv env
3- to activate the virtual environment type:
source env/bin/activate
4- your terminal will change to (env) for the new commands. Type the following
pip install -r requirements.txt
5 - when the requirements are all installed type the following:
pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force
6- the git pull will now work without errors. when install is finished type the following
python3 app.py
it will take a while to download the models and launch the Web UI in your default browser.
to launch again you can write a new file in your text editor and save in in the stable_cascade_easy directory. save the file as start.sh
here's the text you need to write in the start.sh file, you need to change "user" to your own user name:
#!/bin/bash
Specify the paths to your virtual environment and start.py script
venv_path="/home/user/stable_cascade_easy"
Open a new Gnome terminal window
gnome-terminal --working-directory=$venv_path -- bash -ic
"source env/bin/activate;
python3 app.py;
exec bash"

Thanks, perfect!


fixed requirements, fixed show database entries

I just submitted a similar pull request on requirements. Thanks for finding the other bug, too...

So sorry folks, was off from looking at these notifications from some time now.


Not working with pouch-4.0.0???

Am using Pouchdb-4.0.0 and requirejs.
In require config:
    paths: {
        pouchdb: './lib/assets/pouchdb/pouchdb-4.0.0.min',
        pouchdb_find: './lib/assets/pouchdb/pouchdb.find.min'
    }

and...
    shim: {
        pouchdb_find: {
		deps: ['pouchdb'],
		exports: 'pouchdb_find'
	}
    }

Also included it in the define file after pouchdb:
    'pouchdb',
    'pouchdb_find',

It throws error:
db.find is not a function.
What might be wrong in this???

I don't believe pouchdb-find works with requirejs, as is. You can build a browserify standalone build, and that should work: http://wzrd.in/standalone/pouchdb-find@latest

Nothing changed in 4.0.0 that should break pouchdb-find, though.

I tested pouchdb-find with v4 and it works. No problem there. But it would be awesome if it worked with requirejs. Lemme see if I can make it happen. Will ask for a pull request then.

@nolanlawson : Thanks man. Finally I could make it work with requirejs. :)

I have been having same problem with using pouchdb-find in web worker. Same db.find is not a function.

@agozie If you're seeing db.find is not a function then the plugin hasn't been loaded. Are you sure you called PouchDB.plugin(pouchdbFind), which you must do if you are using RequireJS?

@nolanlawson thanks, I didn't know about PouchDB.plugin(pouchdbFind). It solved my issue.


alsa : 1.0.9 -> 1.1.0

Bump versions for the following packages within alsa :

alsa-utils
alsa-tools
alsa-plugins
alsa-lib

Please see http://www.alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0
for the full changelog this update brings.

I bumped this locally due to an audio issue. Turns out it is a kernel related problem and not userspace, but it seems a waste to discard these changes. So I have proposed them here to see if there is a use.

I do not run nixos anymore, but this change looks simple enough :)

Hi @fps! do you want to continue being a named maintainer? I gather you run guix now?
Thanks for the input. :+1:

@heydojo Sure, I might return to nix at some point in time..

@peti as I read it, this change seems to have some problems: http://hydra.nixos.org/build/32092327


windows slave user and "logon as a service"

Cookbook version
5.0.0
Chef-client version
12.19.36
Platform Details
Windows 2016 running under test-kitchen
Scenario:
I'm trying to create a jenkins windows slave without having to know the password of the user account in question.
I see some references to this subject here: https://github.com/chef-cookbooks/jenkins/pull/376 but don't see any notes on how to implement it.
Steps to Reproduce:
jenkins_windows_slave node.name do
  remote_fs 'c:\jenkins'
  user 'Administrator'
  service_name 'jenkins-windows'
end

Expected Result:
A connected and running jenkins slave.  What am I missing here?  If I specify user 'vagrant' and password 'vagrant' it works fine.  My guess is that the vagrant user already has the right privileges.  Outside of test-kitchen I'll be running this on AWS and I won't (and don't want to) have access to the passwords.
Actual Result:
           Chef::Exceptions::Service
           -------------------------
           windows_service[jenkins-windows] (dynamically defined) had an error: Chef::Exceptions::Service: Service windows_service[jenkins-windows] did not start due to a logon failure (error 1069): possibly the specified user '' does not have the 'log on as a service' privilege, or the password is incorrect.

On Windows, it is not possible to do this without the password for the user. One way is to use chef vault to store your passwords safely for chef to use.
I also seem to recall that the version of winsw set as default in the jenkins_windows_slave resource as issues with setting the 'log on as a service' privilege. I use the following attributes to select a more recent one:
  winsw_url 'http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe'
  winsw_checksum '73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18'

Is there a way to create a windows user and assign this privilege to it during a chef run?  I didn't see anything in the windows cookbook.

If I'm not mistaken, winsw will do the appropriate thing, when it will
setup the jenkins service in the jenkins_windows_slave resource,
But you must create the user first using the standard Chef resource.
On Wed, Apr 26, 2017 at 4:06 PM, LuneraSteve<EMAIL_ADDRESS>wrote:

Is there a way to create a windows user and assign this privilege to it
during a chef run? I didn't see anything in the windows cookbook.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chef-cookbooks/jenkins/issues/601#issuecomment-297419471,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXaHChy0oO9qnxW9Ss4HbuUZhPZGt2sks5rz09wgaJpZM4NIMNY
.

Thanks for sending over the new attributes.  I was able to put those in place, but no change happened.  From what I understand of what you wrote, it sounds like:

Make User
Create Slave and toss in the winsw_url and winsw_checksum.  The winsw code will upgrade your new user to "logon as service" privileged
Everybody's happy

Here is my code for making this happen:
# create jenkins user
user 'jenkins'
group 'Administrators' do
  action :modify
  members 'jenkins'
  append true
end

# create jenkins slave
jenkins_windows_slave node.name do
  remote_fs 'c:\jenkins'
  user 'jenkins'
  service_name 'jenkins-windows'
  winsw_url 'http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe'
  winsw_checksum '73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18'
end

And here is the error:
           ================================================================================
           Error executing action `create` on resource 'jenkins_windows_slave[windows-windows-2016]'
           ================================================================================

           Chef::Exceptions::Service
           -------------------------
           windows_service[jenkins-windows] (dynamically defined) had an error: Chef::Exceptions::Service: Service windows_service[jenkins-windows] did not start due to a logon failure (error 1069): possibly the specified user '' does not have the 'log on as a service' privilege, or the password is incorrect.

           Resource Declaration:
           ---------------------
           # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/jenkins-windows/recipes/jenkins.rb

            31: jenkins_windows_slave node.name do
            32:   remote_fs 'c:\jenkins'
            33:   user 'jenkins'
            34:   #password 'vagrant'
            35:   service_name 'jenkins-windows'
            36:   winsw_url 'http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe'
            37:   winsw_checksum '73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18'
            38: end

           Compiled Resource:
           ------------------
           # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/jenkins-windows/recipes/jenkins.rb:31:in `from_file'

           jenkins_windows_slave("windows-windows-2016") do
             action [:create]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :jenkins_windows_slave
             cookbook_name "jenkins-windows"
             recipe_name "jenkins"
             remote_fs "c:\\jenkins"
             user "jenkins"
             service_name "jenkins-windows"
             winsw_url "http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe"
             winsw_checksum "73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18"
             slave_name "windows-windows-2016"
             description "Jenkins slave windows-windows-2016"
             labels []
             usage_mode "normal"
             pre_run_cmds []
             group "jenkins"
           end

           Platform:
           ---------
           x64-mingw32

You need to set a password for you new user in by adding a password
attribute to the resource.
Then you need to provide that password to the jenkins_windows_slave
resource.
On Wed, Apr 26, 2017 at 8:15 PM, LuneraSteve<EMAIL_ADDRESS>wrote:

Thanks for sending over the new attributes. I was able to put those in
place, but no change happened. From what I understand of what you wrote, it
sounds like:

Make User
Create Slave and toss in the winsw_url and winsw_checksum. The
winsw code will upgrade your new user to "logon as service" privileged
Everybody's happy

Here is my code for making this happen:
create jenkins user
user 'jenkins'
group 'Administrators' do
action :modify
members 'jenkins'
append trueend
create jenkins slave
jenkins_windows_slave node.name do
remote_fs 'c:\jenkins'
user 'jenkins'
service_name 'jenkins-windows'
winsw_url 'http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe'
winsw_checksum '73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18'end
And here is the error:
       ================================================================================
       Error executing action `create` on resource 'jenkins_windows_slave[windows-windows-2016]'
       ================================================================================

       Chef::Exceptions::Service
       -------------------------
       windows_service[jenkins-windows] (dynamically defined) had an error: Chef::Exceptions::Service: Service windows_service[jenkins-windows] did not start due to a logon failure (error 1069): possibly the specified user '' does not have the 'log on as a service' privilege, or the password is incorrect.

       Resource Declaration:
       ---------------------
       # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/jenkins-windows/recipes/jenkins.rb

        31: jenkins_windows_slave node.name do
        32:   remote_fs 'c:\jenkins'
        33:   user 'jenkins'
        34:   #password 'vagrant'
        35:   service_name 'jenkins-windows'
        36:   winsw_url 'http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe'
        37:   winsw_checksum '73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18'
        38: end

       Compiled Resource:
       ------------------
       # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/jenkins-windows/recipes/jenkins.rb:31:in `from_file'

       jenkins_windows_slave("windows-windows-2016") do
         action [:create]
         retries 0
         retry_delay 2
         default_guard_interpreter :default
         declared_type :jenkins_windows_slave
         cookbook_name "jenkins-windows"
         recipe_name "jenkins"
         remote_fs "c:\\jenkins"
         user "jenkins"
         service_name "jenkins-windows"
         winsw_url "http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/1.18/winsw-1.18-bin.exe"
         winsw_checksum "73d9e44d61e9b52fb22b684bc621d9bc247473b7625e3f2fc8a2d16cc0443d18"
         slave_name "windows-windows-2016"
         description "Jenkins slave windows-windows-2016"
         labels []
         usage_mode "normal"
         pre_run_cmds []
         group "jenkins"
       end

       Platform:
       ---------
       x64-mingw32

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chef-cookbooks/jenkins/issues/601#issuecomment-297496778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXaHErml_ol-0pjMqnbM-cMVMTVKik2ks5rz4nTgaJpZM4NIMNY
.

Ok, I added the password and got it working.  Man I don't want to know/store/maintain passwords!
Thanks for the help.

Ok, I added the password and got it working.  Man I don't want to know/store/maintain passwords!
Thanks for the help.


Release Google.Cloud.Metastore.V1 version 1.0.0

Changes in this release:
No API surface changes; just promoting to GA.

Created release for Google.Cloud.Metastore.V1-1.0.0


fix(analyses-snapshot-testing): snapshot failure capture

Overview

Test Plan

Changelog

Review requests

Risk assessment

I think this is out of date with edge and you can close this PR


run  ak.stock_a_lg_indicator(symbol="000001") ,show error

import akshare as ak

stock_a_lg_indicator_df = ak.stock_a_lg_indicator(symbol="000001")
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 57, in stock_a_lg_indicator
temp_json = r.json()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] <!doctype html>HTTP Status 405 – Method Not AllowedHTTP Status 405 – Method Not AllowedType Status ReportMessage Request method 'GET' not supportedDescription The method received in the request-line is known by the origin server but not supported by the target resource.Apache Tomcat/8.5.57: 0

stock_a_lg_indicator_df = ak.stock_a_lg_indicator(symbol="600031")
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 57, in stock_a_lg_indicator
temp_json = r.json()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] <!doctype html>HTTP Status 405 – Method Not AllowedHTTP Status 405 – Method Not AllowedType Status ReportMessage Request method 'GET' not supportedDescription The method received in the request-line is known by the origin server but not supported by the target resource.Apache Tomcat/8.5.57: 0

import akshare as ak

stock_a_lg_indicator_df = ak.stock_a_lg_indicator(symbol="000001")
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 57, in stock_a_lg_indicator temp_json = r.json() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value] <!doctype html>HTTP Status 405 – Method Not Allowed
HTTP Status 405 – Method Not Allowed
Type Status Report
Message Request method 'GET' not supported
Description The method received in the request-line is known by the origin server but not supported by the target resource.
Apache Tomcat/8.5.57
: 0

stock_a_lg_indicator_df = ak.stock_a_lg_indicator(symbol="600031")
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/akshare/stock_feature/stock_a_indicator.py", line 57, in stock_a_lg_indicator temp_json = r.json() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests/models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value] <!doctype html>HTTP Status 405 – Method Not Allowed
HTTP Status 405 – Method Not Allowed
Type Status Report
Message Request method 'GET' not supported
Description The method received in the request-line is known by the origin server but not supported by the target resource.
Apache Tomcat/8.5.57
: 0

感谢反馈问题，已修复该问题，升级到 AKShare 1.9.38 使用


feat(run): add unit tests & code fixes w.r.t run logic

Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


-Werror=address failure in LLVMCPU/ConvertToLLVM.cpp on an aarch64 builder

Haven't triaged. Only showing up on one linux-aarch64 releaser build (GCC).
FAILED: compiler/src/iree/compiler/Codegen/LLVMCPU/CMakeFiles/iree_compiler_Codegen_LLVMCPU_LLVMCPU.objects.dir/ConvertToLLVM.cpp.o
/opt/rh/gcc-toolset-12/root/usr/bin/c++  -I/work/c/third_party/llvm-project/llvm/include -I/work/iree-build/llvm-project/include -I/work/c/third_party/llvm-project/mlir/include -I/work/iree-build/llvm-project/tools/mlir/include -I/work/c/third_party/llvm-project/lld/include -I/work/iree-build/llvm-project/tools/lld/include -I/work/c/compiler/src -I/work/iree-build/compiler/src -I/work/c/llvm-external-projects/iree-dialects/include -I/work/iree-build/llvm-external-projects/mlir-iree-dialects/include -I/work/c/runtime/src -I/work/iree-build/runtime/src -isystem /work/c -isystem /work/iree-build -isystem /work/iree-build/runtime/src/iree/base/internal/flatcc -isystem /work/c/third_party/flatcc/include -O3 -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fno-rtti -fno-exceptions -Wall -Werror -Wno-error=deprecated-declarations -Wno-address-of-packed-member -Wno-comment -Wno-format-zero-length -Wno-uninitialized -Wno-overloaded-virtual -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-function -Wno-unknown-pragmas -fmacro-prefix-map=/work/c=c -pthread -I/work/c/third_party/flatcc/include/ -I/work/c/third_party/flatcc/include/flatcc/reflection/ -MD -MT compiler/src/iree/compiler/Codegen/LLVMCPU/CMakeFiles/iree_compiler_Codegen_LLVMCPU_LLVMCPU.objects.dir/ConvertToLLVM.cpp.o -MF compiler/src/iree/compiler/Codegen/LLVMCPU/CMakeFiles/iree_compiler_Codegen_LLVMCPU_LLVMCPU.objects.dir/ConvertToLLVM.cpp.o.d -o compiler/src/iree/compiler/Codegen/LLVMCPU/CMakeFiles/iree_compiler_Codegen_LLVMCPU_LLVMCPU.objects.dir/ConvertToLLVM.cpp.o -c /work/c/compiler/src/iree/compiler/Codegen/LLVMCPU/ConvertToLLVM.cpp
In file included from /work/c/third_party/llvm-project/mlir/include/mlir/Pass/PassOptions.h:21,
                 from /work/c/third_party/llvm-project/mlir/include/mlir/Pass/PassRegistry.h:17,
                 from /work/c/third_party/llvm-project/mlir/include/mlir/Pass/Pass.h:14,
                 from /work/c/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.h:21,
                 from /work/c/compiler/src/iree/compiler/Codegen/LLVMCPU/ConvertToLLVM.cpp:7:
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h: In instantiation of ‘void llvm::cl::initializer<Ty>::apply(Opt&) const [with Opt = llvm::cl::opt<bool>; Ty = char [6]]’:
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:1268:71:   required from ‘static void llvm::cl::applicator<Mod>::opt(const Mod&, Opt&) [with Opt = llvm::cl::opt<bool>; Mod = llvm::cl::initializer<char [6]>]’
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:1318:8:   recursively required from ‘void llvm::cl::apply(Opt*, const Mod&, const Mods& ...) [with Opt = opt<bool>; Mod = sub; Mods = {desc, initializer<char [6]>}]’
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:1318:8:   required from ‘void llvm::cl::apply(Opt*, const Mod&, const Mods& ...) [with Opt = opt<bool>; Mod = llvm::StringRef; Mods = {sub, desc, initializer<char [6]>}]’
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:1507:10:   required from ‘llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const Mods& ...) [with Mods = {llvm::StringRef, llvm::cl::sub, llvm::cl::desc, llvm::cl::initializer<char [6]>}; DataType = bool; bool ExternalStorage = false; ParserClass = llvm::cl::parser<bool>]’
/work/c/third_party/llvm-project/mlir/include/mlir/Pass/PassOptions.h:165:70:   required from ‘mlir::detail::PassOptions::Option<DataType, OptionParser>::Option(mlir::detail::PassOptions&, llvm::StringRef, Args&& ...) [with Args = {llvm::cl::desc, llvm::cl::initializer<char [6]>}; DataType = bool; OptionParser = llvm::cl::parser<bool>]’
/work/c/third_party/llvm-project/mlir/include/mlir/Pass/Pass.h:97:67:   required from ‘mlir::Pass::Option<DataType, OptionParser>::Option(mlir::Pass&, llvm::StringRef, Args&& ...) [with Args = {llvm::cl::desc, llvm::cl::initializer<char [6]>}; DataType = bool; OptionParser = llvm::cl::parser<bool>]’
/work/c/compiler/src/iree/compiler/Codegen/LLVMCPU/ConvertToLLVM.cpp:939:30:   required from here
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:440:69: error: the compiler can assume that the address of ‘llvm::cl::initializer<char [6]>::Init’ will never be NULL [-Werror=address]
  440 |   template <class Opt> void apply(Opt &O) const { O.setInitialValue(Init); }
      |                                                                     ^~~~
/work/c/third_party/llvm-project/llvm/include/llvm/Support/CommandLine.h:437:13: note: ‘llvm::cl::initializer<char [6]>::Init’ declared here
  437 |   const Ty &Init;
      |             ^~~~
cc1plus: all warnings being treated as errors

I don't see how this warning is helpful or indicative of anything. Going to disable it.


Feature request - show exchange rates

I would like to be able to display currency exchange rates.  Currently this appears supported only for crypto, for instance by using ETH-USD.  If you try to use a physical currency such as GBP-USD, AUD-GBP, EUR-USD this is not possible.

@ChrispyGee Thank you for using the plugin and for reaching out. The plugin is based on Yahoo Finance (finance.yahoo.com). If ever the plugin is not working try your symbol lookup on Yahoo and see what it returns.
For EUR -> USD you EURUSD=X
For GBP -> USD use GBPUSD=X
I hope this helps.

Oh, that is super helpful, thank you.  I couldn't find it in the documentation so it may be worth including an explicit example of how to display exchange rates

It will be in the next release. Thanks for the feedback.
On Tue, Oct 4, 2022 at 10:23 AM ChrispyGee @.***> wrote:

Oh, that is super helpful, thank you. I couldn't find it in the
documentation so it may be worth including an explicit example of how to
display exchange rates
—
Reply to this email directly, view it on GitHub
https://github.com/Phando/Streamdeck-Stonks/issues/19#issuecomment-1267321838,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAW7LXLRTTRK7GTIWBHNLLWBRRXLANCNFSM6AAAAAAQ4XQP6Q
.
You are receiving this because you commented.Message ID:
@.***>

--
Joe Andolina
Demo Team | salesforce.com
415.385.1218
https://smart.salesforce.com/sig/jandolina//us_mb/default/link.html

Requesting a new release


Added myself

Bio+picture

Looking good (though, if you upload a higher resolution photo, it will be the same size as everyone else's)

In the future, please add the following things to any pull request:

reviewers (in this case, @katyhuff)
labels (e.g. documentation)
projects (in this case meta)

Do you want me to merge this, or would you like to add a bigger photo first?

I'm sorry, I couldn't find a photo in which I'm alone. For now, this hideous, old, cropped picture is the best I can do. I'll work on getting a better one in the near future.

No worries! This is fine for now. Hopefully the department will take a
picture of you at some point for the wall! :D
On Wed, Aug 30, 2017 at 3:53 PM, Ansh Chaube<EMAIL_ADDRESS>wrote:

I'm sorry, I couldn't find a photo in which I'm alone. For now, this
hideous, old, cropped picture is the best I can do. I'll work on getting a
better one in the near future.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/arfc/arfc.github.io/pull/45#issuecomment-326116248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYCqzjXRVOZxPJYsXeI49_4QhdgcjNrks5sdcvhgaJpZM4PH4x4
.

--
http://katyhuff.github.com


sentry-cli: 2.21.2 -> 2.21.3

This also adds completions for bash, fish, and
zsh.
Description of changes
See https://github.com/getsentry/sentry-cli/commit/81dbfc5dc0bd1420d6239f395f82726d3125ceac.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Closed by #281892.


fix(swc/transforms): do not rename top level declarations in hygiene transform

This is branched from #2938 so that one requires merging first.
Closes #2808
Closes #2687

I tried to run cargo test --all-features -all, but then I get:
Doc-tests swc_css
error[E0658]: `#[doc(cfg)]` is experimental
 --> /home/david/swc/crates/swc_css/src/lib.rs:4:20
  |
4 | #[cfg_attr(docsrs, doc(cfg(feature = "minifier")))]
  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
  = help: add `#![feature(doc_cfg)]` to the crate attributes to enable

error: aborting due to previous error

I then tried to run cargo test --all, but it looks like it still doesn't run these tests that are failing on the CI.

@dsherret Are you using custom cargo install? rust-toolchain is handled by rustup, but it seems like stable version of cargo  is used.

@kdy1 Updated.
Also, sorry something keeps going really weird with my merge commits as I'm using linux to develop here and I normally use windows. I will eventually figure it out 😅

@dsherret Are you using custom cargo install? rust-toolchain is handled by rustup, but it seems like stable version of cargo is used.

It seems to use nightly:
/swc$ cargo -V
cargo 1.58.0-nightly (2e2a16e98 2021-11-08)


Binary Search Iterative and Recursive Method

Write a Binary Search Algorithm in Iterative and Recursive Method
Do you want to work in this issue?
Yes

I want to add the recursive method for Binary Search.

Yes you can go ahead!!

@sauravjaiswalsj  @jenistenxavier  I want to go ahead with this project. I will implement it in python. Can you assign me to this project...

@AkashM398 Can you assign this isuue to me?

@himanshujain yes you can go ahead

@AkashM398 if you assign me to this open source project, then I can go ahead

can I work on this issue


Update virtual-networks-udr-overview.md

minor updates

Hi @NarayanAnnamalai, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;


Fix incorrect value in 1-basics.md

As the code above this bit refers to 2.0, I'm presuming that that was the intended value here as well.

Thanks - it's the kind of error that no compiler or spellchecker would see.


How to use this with IP spoofing easily?

You can install yourself the version 1.6 via pip install siege-engine==1.6
. It has IP spoofing added.
However, it will require scapy installed, or a C compiler to compile the
necessary extensions.
Best regards,
Piotr
niedz., 27 lut 2022 o 14:24 Joel Derbyshire @.***>
napisał(a):

—
Reply to this email directly, view it on GitHub
https://github.com/smok-serwis/siege-engine/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAZGFNN2XPZXXF3UVMAV5TU5IQYXANCNFSM5PO6C5MQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you.


Update translations

@saeedmb8 Ready for review

@Ntu2koTrevor what languages are we updating in this PR?

👍


@typescript-eslint/no-unused-vars: Do not report reserved interfaces

Description
Hi, as per this RFC, the interface names $$Props, $$Events, $$Slots are reserved and have a special meaning inside a svelte component. Therefore, they probably shouldn't be reported by @typescript-eslint/no-unused-vars.

Thank you for posting issue.
I think the parser needs to be fixed to make no-unused-vars work.
The RFC hasn't been merged yet, so I think it should be an option as an experimental feature.
https://github.com/sveltejs/rfcs/pull/38

For now I'm using following configuration in .eslintrc.cjs. This can provide a quick workaround before RFC lands.
        '@typescript-eslint/no-unused-vars': [
          'warn',
          { varsIgnorePattern: '^\\$\\$(Props|Events|Slots)$' },
        ],

What about $$Generic?
I get '$$Generic' is not defined eslint(no-undef).
This can be fixed by adding globals: {$$Generic: "readable"} to my eslint config, but it leads to problems further on because the type becomes "any", leading to a bunch of "any" usage related errors

Not directly related, but how to handle imported stores?
This throws no-unused-vars:
import {store} from '@js/stores/globalStores'

$store = 'abc'

I am closing this as it is irrelevant with Svelte 5 - generics are handled differently and slots and events are deprecated, so it probably isn't worth it supporting these...


How to create a GRPC Access Log Service?

I'm confused about the ALS,
Am I supposed to use the .proto file to generate the GRPc service, or what?
Thanks for guidance

Hey Alex,
Yes, you need to build a gRPC (streaming) server, with an endpoint that
response to /envoy.service.metrics.v2.MetricsService/StreamMetrics. Envoy
then will connect to it to send the logs.
If you use Go, this example: https://github.com/dio/metricsink which uses
https://github.com/envoyproxy/go-control-plane probably will help a little
bit.
Good luck!
Best,
Dhi
PS. If you use Java, please also take a look:
https://github.com/envoyproxy/java-control-plane
On Wed, Jul 31, 2019 at 1:24 PM Alex Chaplianka<EMAIL_ADDRESS>wrote:

I'm confused about the ALS,
Am I supposed to use the .proto file to generate the GRPc service, or what?
Thanks for guidance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/issues/7774?email_source=notifications&email_token=AAAR3QEIDJXMELCTKN3LLULQCEVYZA5CNFSM4IIDHMRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCPJHLA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAR3QDCK6LHTY7JOLQADRDQCEVYZANCNFSM4IIDHMRA
.

Hey @aclowkey,
Yes, you need to build a gRPC (streaming) server, with an endpoint that
responds to /envoy.service.metrics.v2.MetricsService/StreamMetrics. Envoy
then will connect to it to send the logs.
If you use Go, this example: https://github.com/dio/metricsink which uses
https://github.com/envoyproxy/go-control-plane probably will help a little
bit.
Good luck!
PS. If you use Java, please also take a look:
https://github.com/envoyproxy/java-control-plane

Yes the go-control-pane is the way to go!
Thank you


map delete bug

correct
anko code:
var fmt = import("fmt");
a={"a":1}
fmt.Printf("a is %#v\n", a);
delete(a, "a");

result:
a is map[string]interface {}{"a":1}

wrong
but ,if anko code is:
var fmt = import("fmt");
a={"a":1}
fmt.Printf("a is %#v\n", &a);
delete(a, "a");

result:
panic: first argument to delete must be map; have interface
a is (*interface {})(0xc4200b2d60)

diff
 var fmt = import("fmt");
 a={"a":1}
-fmt.Printf("a is %#v\n", a);
+fmt.Printf("a is %#v\n", &a);
 delete(a, "a");

This is not a bug of delete. This bug is in & operator.

#!anko

a = 1
println(&a)
b = &a;
(*b) = 2
println(b)
println(a)

This code should had worked well but not work on latest.

great


breach.cc website is for sale -- should demos use something else?

seems odd to include in the samples, maybe it should use a gh-pages page related to this rep?

hmm sounds like a good idea. Ill see if i can work out some time to make it happen


thread 'main' panicked during install

I am getting the following error when attempting to pip install libsql-experiemental. It seems to be traced back to this particular portion of the package. main part of the error is below. I have been able to find anything helpful on this. Trying to install on a Mac.
thread 'main' panicked at /Users/UserName/.cargo/git/checkouts/libsql-e519d6234c1a233a/5a806fe/libsql-ffi/build.rs:358:33:
called Result::unwrap() on an Err value: Os { code: 86, kind: Uncategorized, message: "Bad CPU type in executable" }

Bad CPU type in executable

That error code from MacOS means it has encountered an executable that doesn't match.  For example it will happen with a 32 bit executable since MacOS only supports 64 bit, or encountering an ARM binary on x64.  You'll need to figure out what was being run.
You should take this up with https://github.com/tursodatabase/libsql-experimental-python
They have two open issues with pip install on MacOS - #55 and #58


README: add instructions for building and running on Windows x64

With these instructions, Moxin builds and runs but does not yet properly work when loading a model to chat with.
There is still a problem with WasmEdge or Moxin on Windows.

Hi @kevinaboos
Could you please confirm that these two pre-shipped wasmedge tarballs(see the following screenshot) with the wasmedge library(LLVM disabled) and that the ggml plugin still needs the LLVM dependencies? IIRC, we built these two assets with -DWASMEDGE_USE_LLVM=OFF flag, so it should not require the LLVM libraries.

These four wasmedge core tarballs will require the LLVM dependencies. So I don't think you need to use them

Hi @kevinaboos Could you please confirm that these two pre-shipped wasmedge tarballs(see the following screenshot) with the wasmedge library(LLVM disabled) and that the ggml plugin still needs the LLVM dependencies? IIRC, we built these two assets with -DWASMEDGE_USE_LLVM=OFF flag, so it should not require the LLVM libraries.

LLVM is needed for libclang, which is required by wasmedge-sys in order to generate bindings (and potentially do other things, I'm not really sure). This is only a build-time dependency, not needed at runtime.
Is there a way to configure wasmedge-sys to not need clang?


Question about hardware requirements

Hello - excellent project, I'm super excited about any option for decentralized AI.
I'm extremely green to this domain - I was hoping someone could help me understand GPU requirements for deploying this. I see many other in the issues boasting 4090s, dual 3080s, etc. - I'm wondering if it's viable for me to try using the 70b with my paltry 6700xt and ryzen 3700x (or what the max model to use with no GPU at all if any, and what the state of AMD support is). I recognize all this info is out there - I'd greatly appreciate links to resources for my own research.

I can't speak to the state of support with AMD is, but currently for GPU usage, CUDA is required. Largely I believe the larger number of cuda cores has a pretty large impact on performance (as does the amount of ram in each card).
As for the 70b, I am running that as a test on a i5-9400k with 64G of ram and no GPU support. Its fairly slow, especially compared to running the 13b model. I am running a 13b model with decent performance in a vm on top of a ryzen 5 3600x, so from that perspective you should be good.

I run 34b model with 13900k CPU only, 32 threads 100% running still taking minutes in order to get full reply. I'm not sure if this speed is what I was expecting.

Feels like 34b is out of reach for mere mortals.


Use sorcery to merge sourcemaps between browserify and gulp-typescript

Yesterday @sandersn and @andy-ms both mentioned that their sourcemaps for in-browser debugging seemed off. I checked, and despite loading in the correct files, the maps were indeed off by around 1 line in most places! After looking into it, I determined it was because we were never integrating any sourcemaps from the browserify transform step of the browser tests build. Now, browserify doesn't ingest sourcemaps from the incoming stream particularly well (or at all), so I extracted the single-stage sourcemaps it makes and merged two two layers of sourcemaps using a library called sorcery. I've tried combining them using vinyl-sourcemaps-apply and combine-source-maps (more popular libraries), but it seems like those libraries are focused more for concatenation, not redirection/layering - for some reason neither of them actually merge both the actual sourcemaps and source files list correctly (whereas sorcery does, with a little coercion).
@rbuckton You typically have opinions on all things gulp - do you have any suggestions/feedback here?

:+1: -- works for me. 1 minor nit about the conditional left.

Well, actually it needs a gulp clean whenever I change the source. Is this task run whenever runtests-parallel runs and the source has changed? It doesn't look like it is.

I sent an email to @jrieken about the feasibility of using http://github.com/jrieken/gulp-tsb instead of gulp-typescript, though it needs some updates to work well for us. One of the changes I made in the referenced PR should make sourcemaps much cleaner.

Would the incrementality of gulp-tsb fix the fact that this task doesn't update source maps when source code changes?

I'm not certain. I'm testing my fork of gulp-tsb right now. Do you have simplified repro steps I could use to check this scenario?

I should be able to to make a reusable repro shortly, but here's what I did while fixing a bug:

gulp runtests-parallel --t=multipleDeclarations --browser=chrome (this is a new test, so I'll need to get you a different one)
Put a breakpoint on a line in checker.ts:checkExpressionCached, which I knew would be hit.
Run the debugger and confirm that the breakpoint hits.
Step a few times and confirm that the debugger steps correctly.
Stop the debugger.
Add a few console.log calls earlier in the file.
Repeat steps 1-5. Step 3 or 4 will fail this time. If step 4 fails, you will specifically see that the debugger is offset by the number of added lines.
gulp clean
Repeat steps 1-5. They should now succeed.

So it seems there are various issues with source maps across gulp-typescript, gulp-sourcemaps, and browserify. I've done some investigation and it boils down into a few main themes:

gulp-sourcemaps generally seems to expect that the file that the source map is attached to is effectively the same vinyl file as the original source, just with its contents modified. As a result, it expects the source map itself to be created as if it were adjacent to the sources (not the outputs).
gulp-sourcemaps does not respect the "sourceRoot" property of an output source map.
gulp-typescript does some odd things with paths when it generates the source map. In investigating gulp-tsb, I had to avoid those pitfalls and try to make the paths the same as what gulp-sourcemaps expects.
browserify doesn't respect existing sourcemaps, and the sourcemap it generates doesn't align with the requirements of gulp-sourcemaps.

I've experimented with using my fork of gulp-tsb in place of gulp-typescript, and was able to use gulp-sourcemaps-apply to affect something like what @weswigham is doing with sorcery:
import rename = require("gulp-rename");
import source = require("vinyl-source-stream");
import buffer = require("vinyl-buffer");
import applySourceMaps = require("vinyl-sourcemaps-apply");
...
gulp.task("browserify", "Runs browserify on run.js to produce a file suitable for running tests in the browser", [run], () => {
    const b = browserify("./run.js", { debug: true, basedir: path.resolve(builtLocalDirectory) });
    return b.bundle()
        .pipe(source("run.js", path.resolve(harnessDirectory))) // emulate a file in src/harness
        .pipe(buffer())
        .pipe(sourcemaps.init({ loadMaps: true })) // pull in the inline sourcemap from browserify
        .pipe(through2.obj((bundle, enc, cb) => {
            gulp.src(run)
                .pipe(sourcemaps.init({ loadMaps: true }))
                .on("data", file => {
                    // truncate source root and repoint source maps
                    delete file.sourceMap.sourceRoot;
                    delete bundle.sourceMap.sourceRoot;
                    const sourceMap = bundle.sourceMap;
                    bundle.sourceMap = file.sourceMap;
                    applySourceMaps(bundle, sourceMap);
                    cb(null, bundle);
                });
        }))
        .pipe(rename("bundle.js"))
        .pipe(sourcemaps.write(".", { includeContent: false, destPath: builtLocalDirectory })) // sets the correct sourceRoot
        .pipe(gulp.dest(builtLocalDirectory));
});

I still have some testing to do to make sure it is working as expected, however.

@rbuckton, are you OK with @weswigham merging this now and implementing the right fix later? I have continued to use this branch and have not had any problems, but it would be way more convenient to have it in master.

After addressing the merge conflicts, :+1:


Use sendTelemetryErrorEvent, preserve properties but redact errors

The sendTelemetryException API seems to send the errors nowhere we can access. But we can revert to sendTelemetryErrorEvent and specify exactly which properties come from the error to obtain the same redaction behavior: https://github.com/Microsoft/vscode-extension-telemetry#sending-errors-as-events

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] ~Has a news entry file (remember to thank yourself!).~
[x] ~Appropriate comments and documentation strings in the code.~
[x] ~Has sufficient logging.~
[x] Has telemetry for enhancements.
[x] ~Unit tests & system/integration tests are added/updated.~
[x] ~Test plan is updated as appropriate.~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed).~
[x] ~The wiki is updated with any design decisions/details.~

Codecov Report

Merging #14453 into main will increase coverage by 0.00%.
The diff coverage is 72.22%.

@@           Coverage Diff           @@
##             main   #14453   +/-   ##
=======================================
  Coverage   59.19%   59.19%
=======================================
  Files         720      720
  Lines       40211    40213    +2
  Branches     5829     5829
=======================================
+ Hits        23802    23804    +2
  Misses      15147    15147
  Partials     1262     1262

Impacted Files
Coverage Δ

src/client/telemetry/index.ts
80.80% <72.22%> (+0.39%)
:arrow_up:

Continue to review full report at Codecov.

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


Update to spark 1.4.1

There is a problem with Spark 1.4.1. Sparks has changed TestSuiteBase, using new Trait (SparkFunSuite) contained in spark-core -only for tests.

If ours Datasources not support this Spark version we can't update the project.

The missing dependency was spark-core_2.10-tests


Button style and span (label) style on Android

Hi,
on Android, it looks superscript.
http://cl.ly/Dcim
http://cl.ly/DdH2

Looks like this is an issue with Android fonts—I'll see how much I can help this by launch, but no promises :).


BulkWriteError: E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1

Describe the bug
I get the following error when starting meteor on a fresh MongoDB database: BulkWriteError: E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1
To Reproduce
Steps to reproduce the behavior:

Check out the kwun/sdk-v0.38.x branch
Create the settings.json

`settings.json` contents
```json
{
    "public":{
        "chainName": "Agoric Testnet",
        "chainId": "testnet-1.17.0",
        "gtm": "{Add your Google Tag Manager ID here}",
        "slashingWindow": 10000,
        "uptimeWindow": 250,
        "initialPageSize": 30,
        "bech32PrefixAccAddr": "cosmos",
        "bech32PrefixAccPub": "cosmospub",
        "bech32PrefixValAddr": "cosmosvaloper",
        "bech32PrefixValPub": "cosmosvaloperpub",
        "bech32PrefixConsAddr": "cosmosvalcons",
        "bech32PrefixConsPub": "cosmosvalconspub",
        "bondDenom": "uagstake",
        "powerReduction": 1000000,
        "coins": [
            {
                "denom": "uagstake",
                "displayName": "AGSTAKE",
                "displayNamePlural": "AGSTAKES",
                "fraction": 1000000
            }
        ],
        "gasPrice": 0.00,
        "coingeckoId": null
    },
    "genesisFile": "https://testnet.agoric.com/genesis.json",
    "remote":{
        "rpc":"http://<IP_ADDRESS>:26657",
        "lcd":"http://<IP_ADDRESS>:1317"
    },
    "debug": {
        "startTimer": true,
        "readGenesis": true
    },
    "params":{
        "startHeight": 0,
        "defaultBlockTime": 5000,
        "blockInterval": 15000,
        "consensusInterval": 1000,
        "statusInterval":7500,
        "signingInfoInterval": 1800000,
        "proposalInterval": -1,
        "missedBlocksInterval": 60000,
        "delegationInterval": 900000
    }
}
```

3. Destroy the MongoDB database:
bash$ mongo
> use meteor
> db.dropDatabase()

Run meteor npm install --save
Run meteor --settings settings.json

Expected behavior
No errors.
Screenshots
log messages from starting meteor with the above settings.json
[[[[[ ~/big-dipper ]]]]]

=> Started proxy.
=> Started MongoDB.
app/client/styles.scss: warn: There are some @import rules in the middle of a file. This might be a bug, as imports are only valid at the beginning of a file.
W20200308-16:07:15.830(0)? (STDERR) CHECK SETTINGS JSON: public.coingeckoId is missing from settings
W20200308-16:07:15.892(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.39 is missing from settings
W20200308-16:07:15.893(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.40 is missing from settings
W20200308-16:07:15.894(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.41 is missing from settings
W20200308-16:07:15.894(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.42 is missing from settings
W20200308-16:07:15.894(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.43 is missing from settings
W20200308-16:07:15.895(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.44 is missing from settings
W20200308-16:07:15.895(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.45 is missing from settings
W20200308-16:07:15.895(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.46 is missing from settings
W20200308-16:07:15.896(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.47 is missing from settings
W20200308-16:07:15.896(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.48 is missing from settings
W20200308-16:07:15.896(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.49 is missing from settings
W20200308-16:07:15.896(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.50 is missing from settings
W20200308-16:07:15.897(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.51 is missing from settings
W20200308-16:07:15.897(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.52 is missing from settings
W20200308-16:07:15.897(0)? (STDERR) CHECK SETTINGS JSON: genesisFile.53 is missing from settings
W20200308-16:07:15.898(0)? (STDERR) (node:14950) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
I20200308-16:07:15.898(0)? === Start processing genesis file ===
I20200308-16:07:16.076(0)? {
I20200308-16:07:16.078(0)?   description: { moniker: 'node0' },
I20200308-16:07:16.078(0)?   commission: {
I20200308-16:07:16.079(0)?     rate: '0.100000000000000000',
I20200308-16:07:16.079(0)?     max_rate: '0.200000000000000000',
I20200308-16:07:16.079(0)?     max_change_rate: '0.010000000000000000'
I20200308-16:07:16.080(0)?   },
I20200308-16:07:16.080(0)?   min_self_delegation: '1',
I20200308-16:07:16.080(0)?   delegator_address: 'cosmos1jkmhgct3ztatf90v566dgd0pmucnhr8awaxcvu',
I20200308-16:07:16.081(0)?   validator_address: 'cosmosvaloper1jkmhgct3ztatf90v566dgd0pmucnhr8atfjdq0',
I20200308-16:07:16.081(0)?   pubkey: 'cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s',
I20200308-16:07:16.082(0)?   value: { denom: 'uagstake', amount: '2000000' }
I20200308-16:07:16.083(0)? }
I20200308-16:07:16.132(0)? BulkWriteError: E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1 dup key: { : "cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s" }
I20200308-16:07:16.135(0)?     at OrderedBulkOperation.handleWriteError (/home/bigdipper/.meteor/packages/npm-mongo/.3.3.0.qex4h.f9p14++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/bulk/common.js:1112:11)
I20200308-16:07:16.136(0)?     at resultHandler (/home/bigdipper/.meteor/packages/npm-mongo/.3.3.0.qex4h.f9p14++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/bulk/common.js:501:23)
I20200308-16:07:16.137(0)?     at handler (/home/bigdipper/.meteor/packages/npm-mongo/.3.3.0.qex4h.f9p14++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/sdam/topology.js:893:24)
I20200308-16:07:16.137(0)?     at /home/bigdipper/.meteor/packages/npm-mongo/.3.3.0.qex4h.f9p14++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/connection/pool.js:397:18
I20200308-16:07:16.137(0)?     at processTicksAndRejections (internal/process/task_queues.js:79:11) {
I20200308-16:07:16.138(0)?   index: 0,
I20200308-16:07:16.138(0)?   code: 11000,
I20200308-16:07:16.139(0)?   errmsg: 'E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1 dup key: { : "cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s" }',
I20200308-16:07:16.139(0)?   op: {
I20200308-16:07:16.140(0)?     consensus_pubkey: 'cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s',
I20200308-16:07:16.140(0)?     description: { moniker: 'node0' },
I20200308-16:07:16.141(0)?     commission: {
I20200308-16:07:16.141(0)?       rate: '0.100000000000000000',
I20200308-16:07:16.141(0)?       max_rate: '0.200000000000000000',
I20200308-16:07:16.142(0)?       max_change_rate: '0.010000000000000000'
I20200308-16:07:16.142(0)?     },
I20200308-16:07:16.143(0)?     min_self_delegation: '1',
I20200308-16:07:16.143(0)?     operator_address: 'cosmosvaloper1jkmhgct3ztatf90v566dgd0pmucnhr8atfjdq0',
I20200308-16:07:16.144(0)?     delegator_address: 'cosmos1jkmhgct3ztatf90v566dgd0pmucnhr8awaxcvu',
I20200308-16:07:16.144(0)?     voting_power: 2,
I20200308-16:07:16.145(0)?     jailed: false,
I20200308-16:07:16.145(0)?     status: 2,
I20200308-16:07:16.145(0)?     pub_key: {
I20200308-16:07:16.146(0)?       type: 'tendermint/PubKeyEd25519',
I20200308-16:07:16.146(0)?       value: 'Bll96hd8ymjLBBeNll/wnHWU6UIuCZqEwukH+qiYGCs='
I20200308-16:07:16.146(0)?     },
I20200308-16:07:16.146(0)?     address: 'B6E6C700D11BBE7C985947C8032D5BC727B159B4',
I20200308-16:07:16.146(0)?     accpub: 'cosmospub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4srmdqtz',
I20200308-16:07:16.147(0)?     operator_pubkey: 'cosmosvaloperpub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4sn80d7c',
I20200308-16:07:16.147(0)?     _id: 'C6ce2tZ3BaEW5DmaL'
I20200308-16:07:16.147(0)?   },
I20200308-16:07:16.147(0)?   name: 'BulkWriteError',
I20200308-16:07:16.148(0)?   driver: true,
I20200308-16:07:16.148(0)?   err: {
I20200308-16:07:16.148(0)?     index: 0,
I20200308-16:07:16.148(0)?     code: 11000,
I20200308-16:07:16.148(0)?     errmsg: 'E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1 dup key: { : "cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s" }',
I20200308-16:07:16.149(0)?     op: {
I20200308-16:07:16.149(0)?       consensus_pubkey: 'cosmosvalconspub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4s7dgt3s',
I20200308-16:07:16.149(0)?       description: [Object],
I20200308-16:07:16.149(0)?       commission: [Object],
I20200308-16:07:16.149(0)?       min_self_delegation: '1',
I20200308-16:07:16.150(0)?       operator_address: 'cosmosvaloper1jkmhgct3ztatf90v566dgd0pmucnhr8atfjdq0',
I20200308-16:07:16.150(0)?       delegator_address: 'cosmos1jkmhgct3ztatf90v566dgd0pmucnhr8awaxcvu',
I20200308-16:07:16.150(0)?       voting_power: 2,
I20200308-16:07:16.150(0)?       jailed: false,
I20200308-16:07:16.151(0)?       status: 2,
I20200308-16:07:16.151(0)?       pub_key: [Object],
I20200308-16:07:16.151(0)?       address: 'B6E6C700D11BBE7C985947C8032D5BC727B159B4',
I20200308-16:07:16.151(0)?       accpub: 'cosmospub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4srmdqtz',
I20200308-16:07:16.151(0)?       operator_pubkey: 'cosmosvaloperpub1zcjduepqqevhm6sh0n9x3jcyz7xevhlsn36ef62z9cye4pxzayrl42ycrq4sn80d7c',
I20200308-16:07:16.152(0)?       _id: 'C6ce2tZ3BaEW5DmaL'
I20200308-16:07:16.152(0)?     }
I20200308-16:07:16.152(0)?   },
I20200308-16:07:16.152(0)?   result: BulkWriteResult {
I20200308-16:07:16.152(0)?     result: {
I20200308-16:07:16.153(0)?       ok: 1,
I20200308-16:07:16.153(0)?       writeErrors: [Array],
I20200308-16:07:16.153(0)?       writeConcernErrors: [],
I20200308-16:07:16.153(0)?       insertedIds: [Array],
I20200308-16:07:16.154(0)?       nInserted: 0,
I20200308-16:07:16.154(0)?       nUpserted: 0,
I20200308-16:07:16.154(0)?       nMatched: 0,
I20200308-16:07:16.154(0)?       nModified: 0,
I20200308-16:07:16.154(0)?       nRemoved: 0,
I20200308-16:07:16.155(0)?       upserted: [],
I20200308-16:07:16.155(0)?       lastOp: [Object]
I20200308-16:07:16.155(0)?     }
I20200308-16:07:16.155(0)?   },
I20200308-16:07:16.156(0)?   [Symbol(mongoErrorContextSymbol)]: {}
I20200308-16:07:16.156(0)? }
=> Started your app.

=> App running at: http://localhost:3000/

Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
Running on linux_x64 (recent Ubuntu).  Agoric testnet-1.17.0.

So this is the error that make you don't have the list of validators. There is a unique index in the validator consensus key making sure validators won't be duplicated. Can you show me what is in the collection db.validators after you see this error message?

bigdipper@explorer-testnet:~/big-dipper$ mongoexport --collection=validators --db=meteor
2020-03-08T23:12:26.310+0000	connected to: mongodb://localhost/
2020-03-08T23:12:26.311+0000	exported 0 records

In the mongo shell, show collections returns nothing.

Ah... I see.
When you run with Meteor directly. It runs the bundled MongoDB in the Meteor application. To remove the db of the application, you either run meteor reset or connect to the mongodb running with it which has a default port of 3001. If you are using mongo client to manipulate it. You should run
bash$ mongo --port 3001

Okay, the missing meteor reset caused this problem.  Closing, and I'll open a new issue.


Docs: Update Find command in user guide

Find command is being enhanced (see #81). User guide needs to be updated with the respective changes as well.
References #90.

Closed as duplicate (see #91).


MAINT: remove workarounds when numpy was optional

This cleans up some logic that was used when numpy was optional. As of shapely-2.0 it is required.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 84.3%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
2078

Relevant Lines:
2465

💛  - Coveralls


Configure Tailwind Elements for Components

Please refer to frontend/README for an explanation and walkthrough. Tailwind Elements was not working, so I found a different method for how we can develop the frontend environment.


Add a warning for jsnext field

jsnext and jsnext:main fields are superseded by module field (https://github.com/jsforum/jsforum/issues/5, https://github.com/rollup/rollup/wiki/pkg.module#:~:text=(Note%3A Tools such as rollup-plugin-node-resolve and Webpack 2 treat jsnext%3Amain and module interchangeably. They're the same thing%2C except that module is more likely to become standardised.)).
This PR adds a warning for those fields.

Actually I realized something. We should downgrade this to a suggestion if "module" is already specified, similar to how the deprecated subpath mapping works: https://github.com/bluwy/publint/issues/62. I can do a quick fix for this.


Weapons and classes

Concerning class weapons, considering there are 4 classes available.
We could go for different models :

2 weapons specific per class, for a total of 8 types of weapons
1 weapon specific per class and 1 weapon that is available for 2 classes (so 6 additional weapons), for a total of 10 types of weapons
0 weapon specific and 1 weapon that is available for 2 classes (so 6 additional weapons), for a total of 6 types of weapons

Please add any other interesting model you can think of in the comments and i'll add them to the list.

Also, please keep in mind that if, eventually, we want to add classes in the future, the easiest option by far is 1.

Concerning the weapons themselves and which class they could go with
Here is a non-exhaustive list of all the types of weapons we could use (considering option 2.) :

As a reminder, the 4 classes currently available on AresRPG are : Barbarian, Paladin, Archer and Mage

hammer (Barbarian exclusive)
spear (Paladin exclusive)
bow (Archer exclusive)
staff (Mage exclusive)
sword (Barbarian and Paladin)
dagger (Archer and Mage)
axe (Barbarian and Archer)
? (Paladin and Mage)
? (Barbarian and Mage)
? (Paladin and Archer)

Please add any other type of weapon you can think of in the comments and i'll add them to the list.
Also, please discuss the class assigned to each type in the comments as well.

please move this here


Implement clipboard

It is currently not possible to copy and paste things into the app

Added in https://github.com/ashokfernandez/kiste/commit/4add8b8a78e676fd75686b1b9a9a4a88f5b93dce


Adding Makefile

adding command generate for generate distributions
adding command tests for unit tests

@regebro are you interested by these changes?

Well.... why not. Merged, thanks.


python310Packages.aiounifi: 52 -> 55

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aiounifi is: Python library for communicating with Unifi Controller API
meta.homepage for python310Packages.aiounifi is: https://github.com/Kane610/aiounifi
meta.changelog for python310Packages.aiounifi is: https://github.com/Kane610/aiounifi/releases/tag/v55
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 55 with grep in /nix/store/a2pgxp8dijbdj0xb1rhw37w17jydym8f-python3.10-aiounifi-55
found 55 in filename of file in /nix/store/a2pgxp8dijbdj0xb1rhw37w17jydym8f-python3.10-aiounifi-55

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.unifi
python310Packages.aiounifi
python311Packages.aiounifi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a2pgxp8dijbdj0xb1rhw37w17jydym8f-python3.10-aiounifi-55 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aiounifi https://github.com/r-ryantm/nixpkgs/archive/e31ab2a61a226b118fed184f5e82ce5b11cba2d3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a2pgxp8dijbdj0xb1rhw37w17jydym8f-python3.10-aiounifi-55
ls -la /nix/store/a2pgxp8dijbdj0xb1rhw37w17jydym8f-python3.10-aiounifi-55/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.unifi

2 packages built:

python310Packages.aiounifi
python311Packages.aiounifi

Maintainer pings
cc @peterhoeg for testing.

Result of nixpkgs-review pr 250272 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.unifi

4 packages built:

python310Packages.aiounifi
python310Packages.aiounifi.dist
python311Packages.aiounifi
python311Packages.aiounifi.dist


Make icomplete-selected-match more visible

When using icomplete, the selected match highlight is almost invisible. This PR makes it more visible by changing from highlight to match face.

Looks great! Running it now to check but otherwise can merge :D


Remove existing server side code

Describe your feature request :
Remove the existing server side code as it is not based on the latest specification
Implementation tasks and next steps :

[x] Remove the existing server side code in https://github.com/openBackhaul/RegistryOffice/tree/develop/server
[x] commit and merge the changes

Alternate proposals if any :
Additional context :

Removed the existing server side code


Peer to peer code review - 23rd Aug

I suggest you need to revisit your headline section styling, as there is too much space left at the bottom of your project compared to the Figma design.

https://github.com/MaiRizk/my-portfolio/blob/165e48a2cb7fdcbbf107abeb390375e754feada6/styles.css#L39-L46
Neatly done I wanted to implement the background-image styling but I really struggled with the process.
Very good.

The menu is a clickable area for the user:

[ ] so for that and for good semantics practices I suggest wrapping this img element inside a button tag

https://github.com/MaiRizk/my-portfolio/blob/83a281a50fd0d34de894721036b85eb3d84dd4a3/index.html#L26


Change the expression heatmap to canvas.

Performance:

Resizing the view shall not trigger re-render. Otherwise it is impossible to resize when the matrix shows all cells.

Bugs:

Dragging the zoom box sometimes does not work.
The drag box is positioned incorrectly with shifts. Only after moving the mouse for some distance does the drag box appear.
Mousedown -> move left+up -> move right+down: The box then does not reflect the current range. That is, the mouse is inside the drag box.
After zooming out, the canvas size does not get resized correctly.

@yubowenok You can review this pr now.

Can we prevent the canvas from being larger than the view when resizing to a smaller size? One possible solution would be to resize the canvas during the view resize, but without a redraw (That is you can truncate or scale the canvas during resizing).

This css might work for the purpose.
.view {
  overflow: hidden;
}

However, I'm not sure if there will be any side effects somewhere else.

@yubowenok It works well.

LGTM


Add node versions?

It could be useful to have electron-to-nodejs versions also

It wouldn't be hard to make this with the existing code, but do you have any specific use-case in mind?

That data could be used for specific native modules builds for Electron (some V8 bindings could be deprecated or could break in minor versions of Node, for example Utf8Value)

https://github.com/electron/electron-rebuild already does that though?

Not exactly that but kind of, yes. This just one of potential use-cases

Not exactly that but kind of, yes.

Hm, actually no. What I'm talking about is V8 API changes, electron-rebuild is project for electron apps but not for NANs. Use cases are different

That data could be used for specific native modules builds for Electron (some V8 bindings could be deprecated or could break in minor versions of Node/Electron, for example Utf8Value)

Hi, I'm the original author of electron-rebuild. While this initially seems like it'd be useful to avoid rebuilds, Electron is different enough in subtle dumb ways from node.js that binaries built against system node.js often don't work in Electron, even if NODE_MODULE_VERSION is identical :-/

This feature is obviously useful. Even if it is not related to electron-rebuild.
Because this package is used in Browserslist, and people use webpack/rollup/parcel/babel/autoprefixer/whatever.
See https://webpack.js.org/configuration/target#string, It provides electron-main and electron-renderer as output.target.


33 fix reset

Not deleting branch in case it's not really fixed...will know after I fix the disambig error.


Fixes for beta 4

A couple of easy fixes.

@Spuds since you are more familiar with selenium, does this error log give you any hint on what is going bad?
https://travis-ci.org/emanuele45/Dialogo/jobs/172689785
It's the same build as the one of this PR:
https://travis-ci.org/elkarte/Elkarte/builds/172690096
but done on my repo when I push.
I'm not sure why it passes here and not there. But if I restart the job it gets green-light.

I increased the SensioLabsInsight sensibility in order to avoid these red crosses.
At the moment it's just an informational tool, not really something we can use to judge the situation (we already know there is a lot to improve as usual :P)

A couple of easy fixes.

yawn
Continually checking on this thread finally paid off.

Well... I merge this one. :stuck_out_tongue:


Manual upload #2

Hi Li Yijun, unfortunately this is a duplicate to the new code. It looks like 2 branches gyr5098-patch-1 and gyr5098-patch-2 have been made in error. Please do another pull request from the 'hugo' branch. Thank you


Issue346 date nightnumber part5 mm

This should fix #346
A date correction I designed for WW analysis in combination with waking up before midnight was also applied to MM results.
I have now corrected the code to make sure it is only applied when WW analysis are performed.

I now see that I accidentally also included my fix to issue #347 to this pull request, for which I was planning to make a separate pull request. @m-patterson let me know if you want me split this up in two pull requests.
See #347 for a summary of what I fixed in relation to that issue.

That's, great, the fix is working properly. I see no problem combining the two issues in one pull request.


The addition of a continue statement makes the compilation fail

Bug Report
The addition of a continue statement in a for loop make some code unreachable (see screenshots below).
After the addition of the continue statement the unreachable part of the code gives compilation errors. The errors are also highlighted in VS Code.
If no continue statement is present everything compiles without an error.
🔎 Search Terms
continue
🕗 Version & Regression Information
I saw the bug today, in tsc version 4.8.4
Please keep and fill in the line that best applies:
-->

This is a crash

🙁 Actual behavior
Not working:

Working

🙂 Expected behavior
The addition of the continue statement shouldn't yield additional compilation errors, especially since they happen in unreachable code.

Because the code is unreachable, the type narrowing machinery essentially can’t see it.  Duplicate of https://github.com/microsoft/TypeScript/issues/26914

Can't the type narrowing machinery be turned off for unreachable code?

Can't the type narrowing machinery be turned off for unreachable code?

Well, in a way it already is - any existing narrowings get undone the minute the subsequent code is determined to be unreachable.  You probably meant to ask if type checking can be turned off, and while that’d be an option, there are reasons to keep it on - see https://github.com/microsoft/TypeScript/issues/26914#issuecomment-501376739.
Note that 26914 is tagged as a bug - it’s something they do want to fix, despite the current design limitations.

The bug report template asks for plaintext code and a Playground link.  A screenshot isn't appropriate for various reasons: you can't copy and paste it into an IDE without an image-to-text step; it's less accessible for visually impaired users who otherwise are able to code; et cetera.
Also, this isn't a crash. (Maybe the template should be edited to define the term?)  A crash is when the compiler itself fails to run, not when it merely reports warnings for the code it's compiling.  If the compiler were a professor and your code were an exam to be graded, it isn't a crash if you disagree with the grade.  A crash would be that the professor has a heart attack and dies while grading your exam.

Thanks for your feedback. I suspected this was already reported in some way. If it would have turned out to be a new bug, I could have provided a playground link.


[Bug]

Device information

Tachiyomi version: 1.4.1
Android version: Android 11
Device: Note 10 + (SM-N975F)

Steps to reproduce

Backing up my manga
Restoring the file

Expected behavior
It should restore my manga backup as usual
Actual behavior
The backup worked but when I did the restore it says Invalid Backup file
Other details
Idk what to do now :(

Issue fixed by deleting the .pkpass in the end


[Request] TeamSpeak3

https://www.teamspeak.com/en/downloads
Portable installation tutorial: https://forum.teamspeak.com/threads/49782-How-to-Portable-Teamspeak-3

https://github.com/Ash258/scoop-Ash258/blob/master/TS3.json
{
    "version": "3.2.2",
    "description": "TeamSpeak. Supplies mission-critical voice communication solutions to some of the world’s finest.",
    "homepage": "https://www.teamspeak.com/en/",
    "architecture": {
        "64bit": {
            "url": "http://dl.4players.de/ts/releases/3.2.2/TeamSpeak3-Client-win64-3.2.2.exe#/cosi.7z",
            "hash": "809bd44ac3345608b058a220c678e267bfb9bdf2e65ed6fd59ec808256bab310",
            "shortcuts": [
                [
                    "ts3client_win64.exe",
                    "Team Speak 3"
                ]
            ]
        },
        "32bit": {
            "url": "http://dl.4players.de/ts/releases/3.2.2/TeamSpeak3-Client-win32-3.2.2.exe#/cosi.7z",
            "hash": "4771489f3ad30e5a7d7afe451faf41642bcd5c4742e69c3958719ebd8e69db71",
            "shortcuts": [
                [
                    "ts3client_win32.exe",
                    "Team Speak 3"
                ]
            ]
        }
    },
    "post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
    "persist": "config",
    "checkver": {
        "url": "https://www.teamspeak.com/en/downloads",
        "re": "
\\s+Client 64-bit\\s+\\s+([\\d+\\.]+)\\s+"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "http://dl.4players.de/ts/releases/$version/TeamSpeak3-Client-win64-$version.exe#/cosi.7z",
                "hash": {
                    "url": "https://www.teamspeak.com/en/downloads",
                    "find": "SHA256: ([A-Fa-f\\d]{64})

\\s+
\\s+<a class=\".*\" href=\"http://.*Client-win64-"
                }
            },
            "32bit": {
                "url": "http://dl.4players.de/ts/releases/$version/TeamSpeak3-Client-win32-$version.exe#/cosi.7z",
                "hash": {
                    "url": "https://www.teamspeak.com/en/downloads",
                    "find": "SHA256: ([A-Fa-f\\d]{64})

\\s+
\\s+<a.*href=\"http://.*-Client-win32-"
                }
            }
        }
    }
}


Allow to namespace the database tables.

This is useful if you want to have two services in the same database
and don't want table names to collide.

Auto migrate tables on demand.

Signed-off-by: David Calavera<EMAIL_ADDRESS>

lgtm


Bug: parallel Ribasim core tests fail non-deterministically

Specifically @testitem "Allocation solve" and @testitem "Expand logic_mapping". They pass when running the tests sequentially (runtests(Ribasim) in runtests.jl) but sometimes fail when running the tests in parallel
(runtests(Ribasim; nworkers = min(4, Sys.CPU_THREADS ÷ 2), nworker_threads = 2)  in runtests.jl).
https://docs.juliahub.com/General/ReTestItems/stable/autodocs/#ReTestItems.runtests

Perhaps it is unrelated to parallel after all, since there are also random failures now that we switched to sequential. Or perhaps both issues occur.
Seen locally (now updated to 4.0, see #827):
Test Failed at D:\Ribasim\core\test\allocation_test.jl:22
  Expression: F[(NodeID(1), NodeID(2))] ≈ 4.5
   Evaluated: 4.0 ≈ 4.5

On main: https://github.com/Deltares/Ribasim/actions/runs/6981404082/job/18998462984?pr=823#step:9:540
Test Failed at /home/runner/work/Ribasim/Ribasim/core/test/utils_test.jl:173
  Expression: Ribasim.expand_logic_mapping(logic_mapping)
    Expected: Multiple control states found for DiscreteControl node #1 for truth state `TTF`: foo, bar.
  No exception thrown

In 8ef0361d90471ac99a1507064f4b473588d562cc I temporarily workaround / disable these two tests, and re-enable parallel tests, to get CI functional.

Here is one non-deterministic issue that still happens sometimes, that is related to the switch to ReTestItems: https://github.com/Deltares/Ribasim/actions/runs/6983243135/job/19004024801#step:9:443
ERROR: LoadError: IOError: mkdir("/var/folders/3s"; mode=0o777): permission denied (EACCES)
Stacktrace:
  [1] uv_error
    @ Base ./libuv.jl:100 [inlined]
  [2] mkdir(path::String; mode::UInt16)
    @ Base.Filesystem ./file.jl:185
  [3] mkdir
    @ Base.Filesystem ./file.jl:177 [inlined]
  [4] mkpath(path::String; mode::UInt16)
    @ Base.Filesystem ./file.jl:241
  [5] mkpath(path::String; mode::UInt16) (repeats 3 times)
    @ Base.Filesystem ./file.jl:239
  [6] mkpath
    @ ./file.jl:235 [inlined]
  [7] runtests(shouldrun::typeof(ReTestItems.default_shouldrun), paths::String; nworkers::Int64, nworker_threads::Int64, worker_init_expr::Expr, testitem_timeout::Float64, retries::Int64, memory_threshold::Float64, debug::Int64, name::Nothing, tags::Nothing, report::Bool, logs::Symbol, verbose_results::Bool, test_end_expr::Expr)
    @ ReTestItems ~/.julia/packages/ReTestItems/HZCMZ/src/ReTestItems.jl:234
  [8] runtests(shouldrun::Function, pkg::Module; kw::@Kwargs{nworkers::Int64, nworker_threads::Int64})
    @ ReTestItems ~/.julia/packages/ReTestItems/HZCMZ/src/ReTestItems.jl:196
  [9] runtests
    @ ReTestItems ~/.julia/packages/ReTestItems/HZCMZ/src/ReTestItems.jl:193 [inlined]
 [10] #runtests#38
    @ ReTestItems ~/.julia/packages/ReTestItems/HZCMZ/src/ReTestItems.jl:192 [inlined]

This looks like it could be a ReTestItems issue, if it does parallel mkdir and the folder name is "/var/folders/3s", that looks like a recipe for race conditions.

@visr Now that https://github.com/Deltares/Ribasim/pull/872 has been merged, should we close this issue?

Can not fix because we couldn't find a solution


FancyZones snap override doesn't maximise in multimonitor configuration

Microsoft PowerToys version
0.72.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce

Connect multi monitors
Enabled relative movement
Win+(UDLR) to move a window to a zone at the top of the screen
Win+up again to maximise the window to the screen

✔ Expected Behavior
Window is maximised. This is the behaviour on a single monitor
❌ Actual Behavior
Window wraps around and moves to the bottom zone (Same behaviour if moves windows between zones on all monitors is enabled or disabled)
Other Software
No response

I can't reproduce this behavior on multiple monitor setup. Win + Up maximizes the window as expected. Could you attach /bugreport? Thanks


ERR_OPENING_MEDIA Failed to Fetch

I am using docker for desktop on a windows machine for local deployment. mediafusion.local is accessible and when configured and installed, brings up the message "ERR_OPENING_MEDIA Failed to Fetch" in stremio. Prowlarr is setup properly and accessible at http://localhost:9696/. Attaching the container logs. Please let me know if you need more information. I tried configuring with just Direct Torrent and RD, both give the same error.
In case this info is needed - the first 4 lines of .env file
HOST_URL="https://mediafusion.local"
MONGO_URI="mongodb://mongodb:27017/mediafusion"
REDIS_URL="redis://redis:6379"
PROWLARR_URL="http://<IP_ADDRESS>:9696"

Thanks for this awesome addon!
Container Logs.txt

try to copy the installation link and open that link in browser to see whether you're getting addon manifest json. if so then past that link into stremio.
from the log, i dont see any issue with mediafusion container, however the dramatiq worker container spawned several child workers.

yes, the installation link brings up the manifest.json and providing it here. Pasting the link into stremio brings up the error - "Failed to Fetch"
{"id":"mhdzumair.addons.mediafusion","version":"3.7.5","name":"Media Fusion","contactEmail":"mhdzumair@gmail","description":"Universal Stremio Add-on for Movies, Series & Live TV. Source: https://github.com/mhdzumair/MediaFusion","logo":"https://mediafusion.fun/static/images/mediafusion_logo.png","behaviorHints":{"configurable":true,"configurationRequired":false},"resources":["catalog",{"name":"stream","types":["movie","series","tv"],"idPrefixes":["tt","mf"]},{"name":"meta","types":["movie","series","tv"],"idPrefixes":["tt","mf"]}],"types":["movie","series","tv"],"catalogs":[{"id":"mediafusion_search_movies","type":"movie","name":"Movies","extra":[{"name":"search","isRequired":true}]},{"id":"tamil_tcrip","type":"movie","name":"Tamil TCRip Movies","extra":[{"name":"skip","isRequired":false}]},{"id":"tamil_series","type":"series","name":"Tamil Series","extra":[{"name":"skip","isRequired":false}]},{"id":"hindi_hdrip","type":"movie","name":"Hindi HD Movies","extra":[{"name":"skip","isRequired":false}]}]}

if this is working fine, then the issue is might be with ssl certificate trust error. make sure to run mkcert -install on host machine.
Also, the current version of the addon is 3.8.1. pull the latest changes.

also could you provide more information about your system, os, which deployment type etc?

I pulled the latest and getting the same error. I am running on a Windows OS with WSL enabled and Docker Desktop on WSL mode. I had run mkcert -install using WSL and I can access https://mediafusion.local, which would mean that ssl is configured correctly, right?

@mkrishnamoorthi are you trying to add the addon in your stremio desktop app or web app

@KarthiSurfer I am adding to the desktop app

Can you help with the URL to use to check. Also I noted in the original issue that these are the first 4 lines of the .env file. Do you see any issues with it?
HOST_URL="https://mediafusion.local"
MONGO_URI="mongodb://mongodb:27017/mediafusion"
REDIS_URL="redis://redis:6379"
PROWLARR_URL="http://<IP_ADDRESS>:9696"

@mkrishnamoorthi run this command >> docker ps >> note down the container id >> then type docker logs containerID to get the logs for mongo db

ok, so I made docker run on hyperv and redid all the steps, now I am able to install the addon. I am thinking it is because of how the SSL was setup in WSL that it did not work properly. I will experiment with WSL and update here. Closing the issue for now. Thanks for your time!

As i mentioned, you need to trust self signed root certificates by your system. To do that you must need to run mkcert -install in your windows not in the wsl.


[UP-4364] Replace the WindowStateSettingsStAXComponent event filter that...

... used to set the portlet to minimized with a new attribute source that returns a theme-specific window state instead of the actual window state for the portlet.  This eliminates the issue of the WindowStateSettingsStAXComponent actually changing the window state on the portlet when it intends to only temporarily set the window state for that one render.
https://issues.jasig.org/browse/UP-4364

Seems like an opportunity for a JUnit test. :smile:
:+1: for merge.  Fix the bug.  Better is better.

:+1:  Looks pretty good.
Since it is no longer used (via configuration), I suggest also removing the default stylesheet setting at https://github.com/Jasig/uPortal/blob/uportal-4.2.0-M1/uportal-war/src/main/data/default_entities/stylesheet-descriptor/JsonLayout.stylesheet-descriptor.xml#L31.
I have a question.  It looks like the regular pipline processing is still using WindowStateSettingsStAXComponent (affects mUniversality, Universality, and Respondr).  However only mUniversality and JSON use this override/set window state feature (the latter no longer true with your change).

Is there any way mUniversality behavior could cause persistent errors similar to what you are describing in the issue?  I don't think so since you can't switch themes AFAIK during a session and I've never noticed an issue when selecting a theme at login (via an URL parameter) or selecting a theme when impersonating a user, but I thought worth asking.
Could the issue you described also be responsible for https://issues.jasig.org/browse/UP-4216?

References:

https://github.com/Jasig/uPortal/blob/uportal-4.2.0-M1/uportal-war/src/main/java/org/jasig/portal/rendering/WindowStateSettingsStAXComponent.java#L103 for WindowStateSettingsStAXComponent determining if theme has an override value and effectively setting the window state at https://github.com/Jasig/uPortal/blob/uportal-4.2.0-M1/uportal-war/src/main/java/org/jasig/portal/rendering/WindowStateSettingsStAXComponent.java#L151
https://github.com/Jasig/uPortal/blob/uportal-4.2.0-M1/uportal-war/src/main/data/default_entities/stylesheet-descriptor/UniversalityMobile.stylesheet-descriptor.xml#L40

Hey James.   Answers to your questions.

Could mUniversality be affected?   I don't think so since you wouldn't be switching between views like you do in the desktop view.   In theory, I believe we could change muniversality to use this instead of the WindowStateSettingsStAXComponent, but that's untested.
It is probably not responsible for UP-4216 although I suspect that they are similar.
We could, but it's untested.   I'm pretty sure it would be fine though.