[Bug]: Quote requests throw attribute error when no quotes are available

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When I make a StockQuoteRequest (or Crypto), and there are no quotes available within the start/end timeframes, the code is unable to properly handle empty item and it throws an exception:
File "/Users/<user>/Library/Caches/pypoetry/virtualenvs/<project>/lib/python3.9/site-packages/alpaca/data/historical/stock.py", line 125, in get_stock_quotes
    return QuoteSet(raw_quotes)
  File "/Users/<user>/Library/Caches/pypoetry/virtualenvs/<project>/lib/python3.9/site-packages/alpaca/data/models/quotes.py", line 73, in __init__
    parsed_quotes[symbol] = [Quote(symbol, quote) for quote in quotes]
  File /Users/<user>/Library/Caches/pypoetry/virtualenvs/<project>/lib/python3.9/site-packages/alpaca/data/models/quotes.py", line 73, in <listcomp>
    parsed_quotes[symbol] = [Quote(symbol, quote) for quote in quotes]
  File /Users/<user>/Library/Caches/pypoetry/virtualenvs/<project>/lib/python3.9/site-packages/alpaca/data/models/quotes.py", line 48, in __init__
    for key, val in raw_data.items()
AttributeError: 'NoneType' object has no attribute 'items'

Expected Behavior
Should return an empty item, or atleast a valid exception, as opposed to trying to do an operation on a NoneType object.
For this example, get_stock_quotes should ensure that it is passing a valid raw_quotes object to QuoteSet.
SDK Version I encountered this issue in
0.7.1 (Checked most recent and it is still issue)
Steps To Reproduce
1. Create client via StockHistoricalDataClient
2. Create StockQuotesRequest for a small time interval (lets say 1 minute ago UTC, to now UTC) -- easiest to reproduce during after-hours on a US stock. May take a couple attempts.
3. Submit request via get_stock_quotes function in the client.

Filled out the Steps to Reproduce section?

[X] I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?
Important to note this occurs for both stock/crypto requests.
UPDATE: Also occurs when it fails to obtain bars.

I've encountered the same issue, here are a few example symbols I've identified that this issue has occurred with. ('ATMCR', 'ATMVR', 'BHRB')

Having the same issue - it looks like we have an array of one None element instead of an empty array.

The raw response from the API is:
{"bars":null,"symbol":"COIN","next_page_token":null}

And so this code is parsing the null into None and adding to to a list.
response_data.items()

cleaning up some issues since there are duplicates
follow along here
https://github.com/alpacahq/alpaca-py/issues/317


Use antialiasing for framelist & animation preview

The previews in the application have a fixed size :

framelist : 96x96
animation preview : 200x200

Depending on the size of the original frame, the nearest neighbour scaling can look quite bad :
https://screenletstore.appspot.com/img/295589a1-9deb-11e5-abb4-9b54fd621f86.png

Using antialiasing now :

Ideally, pixelart should be viewed at a perfect scale (1x, 2x etc....), and AA can be deceiving for users so I think it should be behind an application setting, turned off by default.

Suggestion: how about for a zoom < 1.0x, antialiasing is used, but for >1.0x, the zoom is the largest integer where the image still fits in the preview.


[QUESTION] How I could disable log for certain hosts

[x] I've read the docs of nestjs-pino
[x] I've read the docs of pino
[x] I couldn't find the same question about nestjs-pino
Question
I would know how I could ignore certain hosts to be logged.
The reason is that I have a healthcheck that tests an HTTP route every 30s, even in the development environment, and healthcheck requests pollute the console
If possible, I would a minimal code to see how is it works.

https://github.com/iamolegga/nestjs-pino/issues/253#issuecomment-616613889
https://github.com/iamolegga/nestjs-pino/issues/253#issuecomment-617432600


fix: fix fs permission error

Why we need this ？

This is a bug ？

This is a bug ？

Allocating an FSGroup that owns the pod's volumes	fsGroup.
While creating pv by sc,the default group of user is root cause the permission error for user in emqx user group.

I think we should put the SecurityContext in the CRD "spec.emqxTemplate" and let the users configure it themselves, since not all users are using the official emqx image, r


sdk location an vs code

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
"The .NET Core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path."
this problem comes out. I haven't figured out. also, although I downloaded the sdk, the file cannot be found on the terminal. and the problem "ln:/usr/local/bin/dotnet:File exists" comes out

Were you able to figure it out? Can you provide all the steps you have tried?


How to set a plugin (dataset from backend)

Instated of asking initially pull a data from 'time_series' table from 'sqlite://test.db'
How can I set this (database) in backend when app loads then start directly asking questions.?

We would suggest wrap around the taskweaver and automatically send a request (e.g., pull the data) to Taskweaver on behalf of human when starting the services.

We would suggest wrap around the taskweaver and automatically send a request (e.g., pull the data) to Taskweaver on behalf of human when starting the services.

Can you please elaborate how to set this up in code?
I want to work with one csv file that can be accessed from plugins and stays in memory in the session.

CodeInterpreter File Handling
To enable CodeInterpreter to access data, I supplied the complete file path, and the file was successfully read and processed. It is important to emphasize that the file must be reachable by the user executing TaskWeave and must have the necessary read permissions.
Plugins in the Application

sql_pull_data Plugin

Source Code
The path to the SQLite database is determined from an environment variable.

anomaly_detection Plugin

Source Code
The file is incorporated into the context.

Creating a custom plugin might prove more convenient than exploring alternatives. Consider specifying the full file path for CodeInterpreter, as it could enhance control and compatibility.

CodeInterpreter File Handling
To enable CodeInterpreter to access data, I supplied the complete file path, and the file was successfully read and processed. It is important to emphasize that the file must be reachable by the user executing TaskWeave and must have the necessary read permissions.
Plugins in the Application

sql_pull_data Plugin

Source Code
The path to the SQLite database is determined from an environment variable.

anomaly_detection Plugin

Source Code
The file is incorporated into the context.

Creating a custom plugin might prove more convenient than exploring alternatives. Consider specifying the full file path for CodeInterpreter, as it could enhance control and compatibility.

Thanks for the response, looks more promising.

I have one Query here,
I have a SQL Db sitting on the Cloud and i am using similar Function to connect to it
db = SQLDatabase.from_uri("SQL PATH")
I am Seeing this observation that when the CI calls the Plugin , it takes time to make connection every time.
I dont want to make connection every time i want to reuse the Connection so that i can reduce latency and not needing to connect to the DB every time the plugin gets called
Can some one suggest a solution where DB object is only instanciated once and Reused again in the plugins. Hence Reducing Latency

I have one Query here,
I have a SQL Db sitting on the Cloud and i am using similar Function to connect to it db = SQLDatabase.from_uri("SQL PATH")
I am Seeing this observation that when the CI calls the Plugin , it takes time to make connection every time.
I dont want to make connection every time i want to reuse the Connection so that i can reduce latency and not needing to connect to the DB every time the plugin gets called
Can some one suggest a solution where DB object is only instanciated once and Reused again in the plugins. Hence Reducing Latency

A simple way to achieve this is as follows:
@register_plugin
class SqlPullData(Plugin):
    db = None
    def __call__(self, query: str):
        ...
        if db is None:
            db = SQLDatabase.from_uri(self.config.get("sqlite_db_path"))

The connection will be created at the first time calling this plugin and reused in following calls.

Thanks @liqul ,  One more question :
Lets say i initialize it once and use it again,
what if the connection is broken or it is stale.
what would be a best way to implement above logic while also handling scenarios where connection would be stale or lost?

This may be a bit going beyond developing the plugin. It is a common issue for all db access scenarios. I didn't investigate it and you can take a look at langchain's implementation details here.


Upgrading private vault cluster

I built a HA, private vault/consul cluster based on vault-cluster-private example 2 years ago.
Now I want to update both  private AMI and vault/consul version.
What should I do to upgrade and keep everything safe?

Figure out what version of this repo you used: look for version = "xxx" or ?ref=xxx.
Go to the release notes.
Follow the upgrade instructions in each release.

@brikis98 Thanks!


Wiki How Build Works need small update

Thanks for this great work!
Just to let you know that this Wiki page refers to the following files that are not in the repository anymore:

Dockerfile.xfce.chromium
Dockerfile.xfce.firefox

Probably related to pre g3 images.

Thanks a lot for the hint, I'll fix it. :)

@patlachance It's already fixed. Thanks a lot again.


Flutter has exited unexpectedly

I could not run 'flutter doctor' in command prompt. please check attached screenshot.

and if i try to run app , then i am getting following error.
Launching lib\main.dart on SM G920I in debug mode...
Initializing gradle...
Resolving dependencies...
Finished with error:
*** Error running Gradle:
Unable to download needed Android SDK components, as the following licenses have not been accepted:
Android SDK Build-Tools 26.0.2, Android SDK Platform 27
To resolve this, please run the following command in a Terminal:
flutter doctor --android-licenses**

Sorry for the late response. Is this still an issue?


Update changelog

I'd like to make a release once the odoc PR is merged. @diml any objections?

Nope, but I heard that jbuilder doesn't build with OCaml trunk, we should have a quick look before to see if it's easy to fix

Hmm, I just built it with trunk now.

Ok, it's fine then

I'll merge this now, since the odoc wil be ready in a couple of weeks or so.


Move commit-specific methods from ZCL_ABAPGIT_BRANCH_OVERVIEW to new class ZCL_ABAPGIT_GIT_COMMIT

Related to #3040
It must be possible for e.g. feature #3040 to get commits from remote. We have already logic implemented that does exactly that in ZCL_ABAPGIT_BRANCH_OVERVIEW. Therefore I want to reuse it but the visibility and type of methods needed aren't allowing exactly that. One would have to create a BRANCH_OVERVIEW object which isn't needed in certain scenarios. Additionally the constructor would execute a lot of unnecessary functions. Plus we should move those methods to object-specific classes instead of hiding them in classes only related to one specific overview UI/functionality.
Example:
zcl_abapgit_git_commit=>get_by_commit( io_repo         = io_repo
				       iv_commit_hash  = io_repo->get_branch_hash_remote( )
                                       iv_deepen_level = 99 )

Change Log:

Created new class ZCL_ABAPGIT_GIT_COMMIT
Moved commit-specific methods from ZCL_ABAPGIT_BRANCH_OVERVIEW to ZCL_ABAPGIT_GIT_COMMIT (functionality didn't change for copied/existing methods)
Changed methods visibility (from private to public) and type (from instance to class method)
Added method get_by_commit that gets the commits from remote and sorts them by their hierarchy to eachother
Added method get_by_branch which is the equivalent of get_by_commit for the branch name as import parameter
Moved test methods/class to ZCL_ABAPGIT_GIT_COMMIT because all tests within ZCL_ABAPGIT_BRANCH_OVERVIEW are commit-specific

@larshp Done :) Thanks for reviewing all my PRs with such patience 👍

thanks 👍


Internal problem window just pops up

Description
What steps will reproduce the problem?

When I start Sypder my session it normally starts with the files I had open last session.  This time, instead of the pointer curser, I got a round circle with a cross . Oppisite sides where colored the same, but different colors adjacent.  None of my files opened. No default file was opened either,  The Save a single file button was active.  The save All files button was deactivated.
I opened the file I wanted to edit.  Since I still didn't have the pointer curser (i.e. I had the circle curser).  I decided to restart Spyder.  It seemed to come up normally.  I made about 1 minute of edits and my wife needed my help.  When I got back 30 minutes later the "Issue preporter" window was up and I started typing this problem report.
Traceback
Traceback (most recent call last):
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/widgets/editor.py", line 2290, in focus_changed
    self.refresh()
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/widgets/editor.py", line 2450, in refresh
    self.__check_file_status(index)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/widgets/editor.py", line 2423, in __check_file_status
    self.reload(index)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/widgets/editor.py", line 2508, in reload
    txt, finfo.encoding = encoding.read(finfo.filename)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/utils/encoding.py", line 304, in read
    text, encoding = decode( open(filename, 'rb').read() )
PermissionError: [Errno 1] Operation not permitted: '/Users/dave/Desktop/SynologyDrive/MyCode/RothConversion/PythonRC/main.py'

Versions

Spyder version: 5.4.4 d28269e66 (standalone)
Python version: 3.9.14 64-bit
Qt version: 5.15.2
PyQt5 version: 5.15.9
Operating System: macOS-13.4.1-x86_64-i386-64bit

Dependencies
# Mandatory:
atomicwrites >=1.2.0                                                        :  1.4.1 (OK)
chardet >=2.0.0                                                             :  5.1.0 (OK)
cloudpickle >=0.5.0                                                         :  2.2.1 (OK)
cookiecutter >=1.6.0                                                        :  2.2.3 (OK)
diff_match_patch >=20181111                                                 :  20230430 (OK)
intervaltree >=3.0.2                                                        :  3.1.0 (OK)
IPython >=7.31.1,<9.0.0,!=8.8.0,!=8.9.0,!=8.10.0,!=8.11.0,!=8.12.0,!=8.12.1 :  8.14.0 (OK)
jedi >=0.17.2,<0.19.0                                                       :  0.18.2 (OK)
jellyfish >=0.7                                                             :  1.0.0 (OK)
jsonschema >=3.2.0                                                          :  4.18.4 (OK)
keyring >=17.0.0                                                            :  24.2.0 (OK)
nbconvert >=4.0                                                             :  7.7.1 (OK)
numpydoc >=0.6.0                                                            :  1.5.0 (OK)
parso >=0.7.0,<0.9.0                                                        :  0.8.3 (OK)
pexpect >=4.4.0                                                             :  4.8.0 (OK)
pickleshare >=0.4                                                           :  0.7.5 (OK)
psutil >=5.3                                                                :  5.9.5 (OK)
pygments >=2.0                                                              :  2.15.1 (OK)
pylint >=2.5.0,<3.0                                                         :  2.17.4 (OK)
pylint_venv >=3.0.2                                                         :  None (OK)
pyls_spyder >=0.4.0                                                         :  0.4.0 (OK)
pylsp >=1.7.4,<1.8.0                                                        :  1.7.4 (OK)
pylsp_black >=1.2.0,<3.0.0                                                  :  1.3.0 (OK)
qdarkstyle >=3.0.2,<3.2.0                                                   :  3.1 (OK)
qstylizer >=0.2.2                                                           :  0.2.2 (OK)
qtawesome >=1.2.1                                                           :  1.2.3 (OK)
qtconsole >=5.4.2,<5.5.0                                                    :  5.4.3 (OK)
qtpy >=2.1.0                                                                :  2.3.1 (OK)
rtree >=0.9.7                                                               :  1.0.1 (OK)
setuptools >=49.6.0                                                         :  68.0.0 (OK)
sphinx >=0.6.6                                                              :  5.1.1 (OK)
spyder_kernels >=2.4.4,<2.5.0                                               :  2.4.4 (OK)
textdistance >=4.2.0                                                        :  4.5.0 (OK)
three_merge >=0.1.1                                                         :  0.1.1 (OK)
watchdog >=0.10.3                                                           :  3.0.0 (OK)
zmq >=22.1.0                                                                :  25.1.0 (OK)

# Optional:
cython >=0.21                                                               :  3.0.0 (OK)
matplotlib >=3.0.0                                                          :  3.7.2 (OK)
numpy >=1.7                                                                 :  1.25.1 (OK)
pandas >=1.1.1                                                              :  2.0.3 (OK)
scipy >=0.17.0                                                              :  1.11.1 (OK)
sympy >=0.7.3                                                               :  1.12 (OK)

# Spyder plugins:
spyder_terminal.terminalplugin 1.2.2                                        :  1.2.2 (OK)

More Information.  I noticed some .py files used the ^M (Carriage return) for EOL and some files used \r (Line feed) for EOL.  Since I'm on a Mac I changed all files to \r.  Now everything is working fine.

Hey @dgervasio, thanks for erporting. You said:

When I start Sypder my session it normally starts with the files I had open last session. This time, instead of the pointer curser, I got a round circle with a cross . Oppisite sides where colored the same, but different colors adjacent. None of my files opened. No default file was opened either, The Save a single file button was active. The save All files button was deactivated.

I really don't know what generated this problem, but I'm glad to read that you managed to solve it by changing the line endings of your files.

When I got back 30 minutes later the "Issue preporter" window was up and I started typing this problem report.

We'll solve that error in our next version (5.5.0), to be released in a couple of months.


new hook

@zhuowei
function blockUpdateHook()
Block.setUpdatable

Explanation would be nice.

Yrp

function blockUpdateHook(eventType) or add x,y,Z
if(eventType==digBlock && getTile(x,y,Z)==3){ //event types is digBlock && placeBlock
//Block.setUpdatable(id,boolean) //weather the block can be updated

Doesn't make sense to me and most of that would cause errors anyway

would need a digBlock constant but the thing is there's destroyBlock(x,y,z, side) which is a better option

would need a digBlock constant but the thing is there's destroyBlock(x,y,z, side) which is a better option

When would block update hook get called? Is it only called for player modification of blocks or is it called on any block change (e.g. snow melting, fire spreading)?

When would block update hook get called? Is it only called for player modification of blocks or is it called on any block change (e.g. snow melting, fire spreading)?

Yes if there a block update nearby it types would be like fireSpread place block and you would specify what should it do if updated @zhuowei


Use this javascript object

Using global vars doesn't look clean. Updated the package to use this object provided by javascript itself. Also updated readme

yea


feat: Explorer panel design for multiple projects

This PR updated the UI to the latest design with menu triggers for the project and files.

As part of this change can we create a top-level folder called "documents", put it above exports and uploads, and put the documents under there?

Or if that breaks the data model, we should at least have the documents above the exports and uploads, I think.

That change of having a top-level documents folder is a bit complex in terms of data model and UI logic to make it expanded (when opening a project, creating a new file, ...).
But showing the files before folders (i.e. above exports and uploads) should be very simple. We will do that in a follow-up PR.


Alternative builder syntax for AllowedMentions

This syntax doesn't work as PHP doesn't have optional args.
For editing a message (among other items) we need 3 states for some field:

A set value
null
Not set

Omitting "Not set" and using null instead will have unexpected side effects


Sensitivity sliders

What are available classes for node class field (equivalent for value from link)?

pull request marked as ready for review. then the name changed to WIP. Huh?

Note: Merge master to this branch to update forceGraph. This version still requires "type" and "class" fields in data.


Typo in documentation

Issue in ./help/analyze/analysis-workspace/components/apply-create-metrics.md
Please correct Components typo - refer screenshot

@jay-nike - Thanks for noticing this. The typo has been fixed.


Distributions by county report

Summary
Essentials banks need a breakdown of their distributions by county to support quarterly grant requests
Each partner serves one or more counties (or equivalents).   Each partner will provide the list of counties they serve,  and the  estimated percentage of items that will go to each county.
The information needed in the report is county(state), number of items distrubuted, and dollar amount of distribution.
The report would look roughly like this (translated to HE's style, of course)

To support this, we need to add  counties/equivalents served  to the partner organization page -- both for the partners and the banks --  allowing for multiple counties.  The counties added would each have a percentage associated with them (said percentages have to add up to 100).     In the report,  the distributions will be allocated to each county according to the percentages entered by the partner.   It is permitted to have no counties.  In that case, all that partner's distributions would be in the "Unknown" category in the report.
Things to Consider
There is a list of all the us counties/equivalents at https://en.wikipedia.org/wiki/List_of_United_States_counties_and_county_equivalents
Criteria for Completion

[ ] Add counties/equivalents (multi-select) to the partner organization edit.  Having no counties is allowed.
[ ] The partners counties have a percentage associated with them which adds up to 100
[ ] Add a report for the banks that reports the distributions by counties over a date range
[ ] Add tests proving that it all works

This is currently waiting for some feedback from Caitlin on the best way to handle the counties/equivalents selection.

Has been discussed by the developer group in the office hours of Sept 18, 2022.    Approach to county data -- do it naively, and we'll see if we have to do something else for performance.
The actual input, we think, should be informed by the very soon upcoming turbo/stimulus addition issue.

I have groomed the county list found in Wikipedia to the attached csv.
county_list.csv

Grabbing this, at least long enough to the initial creation of the counties table

Still working on this -- making good progess, though I'm now at the point where I need to learn things I don't know to make it work!

There is a [WIP] PR for this now.  #3206

Still working on it.  Hopefully done this week

Back to working on this now that the partner merge is in place-ish.

Almost done!  Could put in a PR now, but there are a lot of aesthetic issues.


Enforce cargo fmt

Let's enforce cargo fmt in CI so it no longer introduces (completely) unrelated changes. The codebase is pretty consistently formatted already, so this isn't a big change.

Good idea, thanks!


Error while running ./install.sh

Hi,
I am getting the following error while installing the king-phisher.
sudo ./install.sh
Failed to detect the version of Linux
This installer only supports the following Linux distributions:

BackBox
CentOS
Debian
Fedora
Kali
Ubuntu

If the current version of Linux is one of these flavors but it is
not recognized, please open a support ticket and include the version.
Also ..please advise if king-phisher can work on ARM7 processor for Raspberry Pi 3
Environment Details

Host OS: SMP Debian 4.14.13-1kali1 (2018-01-25)
King Phisher Version: king-phisher   1.7.1-0kali1

Well Kali already has King Phisher in their package repository. You can simply install it using sudo apt-get install king-phisher I think. It should work just fine with an ARM processor, although I haven't tried it myself.
It does look like your version of King Phisher is a bit out of date and I'm confused as to the kali1 tag at the end. Are you trying to replace the one provided by Kali with an install from source?

I'm going to close this issue out due to inactivity. If you're still experiencing it, please respond to the preceding message in this thread and we'll re-open it. Thanks.


ci: automatically skip when there is a label except invalid issue

What type of PR is this?
ci

Check the PR title.

[x] This PR title match the format: <type>(optional scope): <description>
[x] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
当 issue 已经设置好标签时，ci 自动豁免，除了 invalid issue 标签。
(Optional) More detail description for this PR(en: English/zh: Chinese).

en:
When we don't want to use the ci that automatically increases the label in some cases, we can judge by whether there is a label. When there is a label that is not the invalid issue, ci will be skipped.
zh(optional):
在某些情况下我们不想使用自动增加标签的 ci 时，可以通过是否有标签来判断。当有标签不是 invalid issue 时，将跳过 ci。
Reference: https://stackoverflow.com/questions/63637826/how-to-check-if-an-issue-has-no-labels-in-a-github-workflow
Which issue(s) this PR fixes:

LGTM


Watcher seems to error on missing objects

Getting a mess of these guys. I think this might be because I have no entities of the given type. I'm not getting them for entities I do have at least one object of.
Not sure if something in k8s is supposed to return 404 in the case of no objects. But, if so, it should probably be handled instead of thrown and logged.
Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'NotFound'
   at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)
   at k8s.Kubernetes.ListClusterCustomObjectWithHttpMessagesAsync(String group, String version, String plural, Nullable`1 allowWatchBookmarks, String continueParameter, String fieldSelector, String labelSelector, Nullable`1 limit, String resourceVersion, String resourceVersionMatch, Nullable`1 timeoutSeconds, Nullable`1 watch, Nullable`1 pretty, IDictionary`2 customHeaders, CancellationToken cancellationToken)
   at k8s.WatcherExt.<>c__DisplayClass1_0`2.<<MakeStreamReaderCreator>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at k8s.Watcher`1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
   at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)
   at k8s.Watcher`1.WatcherLoop(CancellationToken cancellationToken)
[08:25:51 INF] Trying to reconnect with exponential backoff 00:00:32.

This seems to be happening in the watcher loop. This happens when you try to run an operator with CRDs that are not yet installed in the Kubernetes instance. Then the API returns not found. For CRDs that exist but have no entities, it should not return 404.

FWIW - this error appears fine - although there is an error logged. We see it when monitoring for DeploymentConfigs (a OpenShift entity) when running within vanilla K8s, and we haven't seen any problems so far.

This is normal behavior. If a CRD is not installed in K8S, the watcher will throw an error for those resources.


REPL

This PR adds a REPL as the default option when invoking gopass without any arguments.

Codecov Report

Merging #1425 into master will decrease coverage by 0.48%.
The diff coverage is 5.06%.

@@            Coverage Diff             @@
##           master    #1425      +/-   ##
==========================================
- Coverage   65.42%   64.94%   -0.48%
==========================================
  Files         200      201       +1
  Lines       11380    11436      +56
==========================================
- Hits         7445     7427      -18
- Misses       3122     3196      +74
  Partials      813      813

Impacted Files
Coverage Δ

internal/action/repl.go
0.00% <0.00%> (ø)

main.go
50.35% <0.00%> (-6.44%)
:arrow_down:

internal/action/config.go
87.72% <100.00%> (+0.45%)
: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 36afb8d...4142e36. Read the comment docs.


Version Numbers

It would be useful to see a list of the version numbers with the latest being bold or highlighted similar to what we have for Office versions

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

ID: f6da28da-eb7b-d3ae-4c2f-8f87803b1830
Version Independent ID: 8c42d7a2-80c6-86dd-347a-ed6d8d909c41
Content: Teams updates - Microsoft Teams
Content Source: Teams/teams-client-update.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@Nasherx thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@scanum I don't have a service issue. It would just be beneficial to see something similar to this for Teams:


Wrong location for for caveats.

This page lists caveats of DataBox Gateway:

renaming of files and directories is not supported
deletion must happen on the SA as well
rsync -a not supported (meaning you loose metadata like, ACL, owner, create-, modify- and access dates
These are major aspects of the functionality of this product.

Putting these limitations in a "Tutorial" section limits visibility on these (again; important) aspects.
The "Understand Limits" would be a far better place for these aspects.
https://docs.microsoft.com/en-us/azure/databox-online/data-box-gateway-limits
Kind regards,
Joost

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

ID: 954e8423-01fe-9adf-9ff6-8b19ce85cb9e
Version Independent ID: 275683b7-04da-03f8-a344-d59320109df3
Content: Transfer data with Azure Data Box Gateway
Content Source: articles/databox-online/data-box-gateway-deploy-add-shares.md
Service: databox
Sub-service: gateway
GitHub Login: @alkohli
Microsoft Alias: alkohli

@joostm1 Thank you very much for the documentation feedback. We are evaluating the feedback and will have the content team make enhancements as appropriate.

I agree with Joost.


URI Scheme is an odd description

See screenshot.  Maybe pick a different name.
Similarly value for username probably ought to just be "neo4j."  The description could explain what it is.

this is fixed and merged


opencollective sends html-only mails

It is a rather annoying custom to send html-only mail without a useful plaintext alternative part.
However, opencollective is sending such e-mails (such as the "You are one click away from logging into your Open Collective account" confirmation e-mail, which is rather cumbersome for people who are (for all kinds of valid reasons) using text-mode e-mail user agents.

Agreed. Fix coming.


[Misc] Bump transformers to latest version

There are small changes to the tokenizers library related to supporting the converted llama 3 titkoken tokenizer.

Saw this error in CI. Is the version correct?
ERROR: No matching distribution found for tokenizers>=1.19.1

@zhuohan123 sorry it was a fat-finger, now fixed! (should have been 0.19.1)

@simon-mo test failures look like flakes/network issues. Should we re-run or you think good to merge?


SentinelConnector set KnownNodes empty during redis failover, which causes app could not access redis any more

Bug Report

Current Behavior

In redis sentinel mode, lettuce may refresh topology nodes to empty, if the connection to redis sentinel closed just after lettuce received TopologyRefreshMessage. And that will cause lettuce cannot recover anymore until received next TopologyRefreshMessage.
We have two redis nodes, and redis is running in sentinel mode.
Assume the redis nodes' names are redis1 and redis2, and redis1 is master at the beginning, we inject errors as below:

ifconfig down network at redis1, and wait the redis failover to redis2 finished
ifconfig up network at redis1, and wait the redis failover to redis1 again
ifconfig down network at redis2

At step3, redis sentinel send +sdown sentinel ... to lettuce client, and trigger lettuce executing method SentinelConnector::getTopologyRefreshRunnable. While at the same time, the connection between lettuce client and redis sentinel is closed, and then error occured.
lettuce logs below
[WARN] io.lettuce.core.RedisClient:605 Cannot connect Redis Sentinel at redis://*:*: java.util.concurrent.CompletionException: io.netty.channel.StacklessClosedChannelException
[WARN] io.lettuce.core.masterreplica.SentinelConnector:117 Topology refresh returned no nodes from redis-sentinel://**@*:*,*:*?sentinelMasterId=mymaster

And since that, the app could not handle any read and write operation because the knownNodes is empty.
org.springframework.data.redis.redisSystemException: Redis exception; nested exception is io.lettuce.core.RedisException: Cannot determine a node to read (Known nodes: []) while setting io.lettuce.core.ReadFromImpl$ReadFromUpstreamPreferred

org.springframework.data.redis.redisSystemException: Redis exception; nested exception is io.lettuce.core.RedisException: Master is currently unknown: []

By reviewing the git log, we've found this problem existed since commit Do not fail Master/Slave topology refresh if a node is not available. And it still exists at branch master;
When Requests#getRequest return null or future.isDone() returns false, it'll clear MasterReplicaConnectionProvider#knownNodes and the lettuce client could not get recovered untill receiving next TopologyRefreshMessage, or the lettuce client process was restarted.

src/main/java/io/lettuce/core/masterreplica/Requests.java
    protected void onEmit(Emission<List<RedisNodeDescription>> emission) {

        List<RedisNodeDescription> result = new ArrayList<>();

        Map<RedisNodeDescription, Long> latencies = new HashMap<>();

        for (RedisNodeDescription node : nodes) {

            TimedAsyncCommand<String, String, String> future = getRequest(node.getUri());

            if (future == null || !future.isDone()) {
                // if this expression is true for all nodes, it'll clear MasterReplicaConnectionProvider#knownNodes
                continue;
            }

            RedisNodeDescription redisNodeDescription = findNodeByUri(nodes, node.getUri());
            latencies.put(redisNodeDescription, future.duration());
            result.add(redisNodeDescription);
        }

        SortAction sortAction = SortAction.getSortAction();
        sortAction.sort(result, new LatencyComparator(latencies));

        emission.success(result);
    }

Environment

Lettuce version(s): 6.1.10.RELEASE
Redis version: 6.2.7
Spring Boot version: 2.7.18
JRE version: 11.0.8

Possible Solution
We've checked the lettuce code, the code in SentinelConnector::getTopologyRefreshRunnable may be improved, to avoid setting empty list to knownNodes.

src/main/java/io/lettuce/core/masterreplica/SentinelConnector.java
    private Runnable getTopologyRefreshRunnable(MasterReplicaTopologyRefresh refresh,
            MasterReplicaConnectionProvider<K, V> connectionProvider) {

        return () -> {
            try {

                LOG.debug("Refreshing topology");
                refresh.getNodes(redisURI).subscribe(nodes -> {

                    EventRecorder.getInstance().record(new MasterReplicaTopologyChangedEvent(redisURI, nodes));

                    if (nodes.isEmpty()) {
                        LOG.warn("Topology refresh returned no nodes from {}", redisURI);
                        return;  // Add return here, to avoid setKnownNodes with empty nodes.
                    }

                    LOG.debug("New topology: {}", nodes);
                    connectionProvider.setKnownNodes(nodes);

                }, t -> LOG.error("Error during background refresh", t));

            } catch (Exception e) {
                LOG.error("Error during background refresh", e);
            }
        };
    }

Hey @jiajunsu ,
Thanks for the verbose analysis. Before we jump into the way the Lettuce driver works let's first analyse the scenario and environment you are working with and why sentinel returns an empty list of nodes in the first place.
How many sentinel processes are you using to test this scenario?
The empty list of nodes is not repied by sentinel, I've tested that posibility, and found that empty-list could not be responsed from sentinel.

code in src/main/java/io/lettuce/core/masterreplica/MasterReplicaTopologyRefresh.java
    public Mono<List<RedisNodeDescription>> getNodes(RedisURI seed) {
        CompletableFuture<List<RedisNodeDescription>> future = topologyProvider.getNodesAsync();

        Mono<List<RedisNodeDescription>> initialNodes = Mono.fromFuture(future).doOnNext(nodes -> {
            applyAuthenticationCredentials(nodes, seed);
        });
        return initialNodes.map(this::getConnections)  // if initialNodes is empty, map `getConnections` will be skipped
                .flatMap(asyncConnections -> asyncConnections.asMono(seed.getTimeout(), eventExecutors))
                ...
    }

And the empty list was made from connections.requestPing(). The detail is:

sentinel send +sdown to lettuce client.
lettuce try to get nodes list from sentinel and success.
lettuce try to PING the nodes, and at the same time, the redis nodes could not be reached from network.
at last we get an empty list in SentinelConnector#getTopologyRefreshRunnable

This could be reproduced by running MyTest in my forked repo and commit. Just make the test environment by make prepare and make start, and the testcase use the sentinel in lettuce unittest environment running with port 26379 and 26380,

This is not a recommended setup for Redis Sentinel as you have to have at least 3 sentinel nodes to achieve master promotion and avoid split brain scenarios. See Example 1 and the explanation why this is a broken setup.

Sorry for the misleading response. In prod, we do have 3 sentiniel nodes. The 2 running sentinel is in my test env for reproducing this issue.

At the moment the refresh is happening, there is basically no valid node to connect to, as the masters returned from the NODES command are not returning a reply to our PING. The only thing the driver could do is wait until the next refresh attempt. What else could it do? If it attempts to send commands to the last known nodes they are sure to fail, as they are not reachable.

IMHO, a better way may could be:

If some nodes(not all nodes) do not reply to PING, we could remove them from KnownNodes. Possibly those nodes are fault.
If all nodes do not reply to PING, we could just do nothing rather than clear the KnownNodes list. Possibly it's not the redis nodes' problem, may the lettuce process node's network being broken. After we clear KnownNodes, if the sentinel don't send any psub message, the lettuce client could not get recovered ever.

I just compared the lettuce features between redis-cluster and redis-sentinel, maybe we could support enablePeriodicRefresh feature in sentinel mode, just like what the cluster mode do. That could handle this scenario in a better way.

Sorry for the misleading response. In prod, we do have 3 sentiniel nodes. The 2 running sentinel is in my test env for reproducing this issue.

I understand. I do - however - feel this would not happen if you use 3 sentinel nodes.
Have you tried reproducing the problem this way?

IMHO, a better way may could be:

If some nodes(not all nodes) do not reply to PING, we could remove them from KnownNodes. Possibly those nodes are fault.
If all nodes do not reply to PING, we could just do nothing rather than clear the KnownNodes list. Possibly it's not the redis nodes' problem, may the lettuce process node's network being broken. After we clear KnownNodes, if the sentinel don't send any psub message, the lettuce client could not get recovered ever.

We are in agreement about step 1, this is also how the logic should be working right now
Again - the question here is WHY is there a situation where no nodes are returned, and I believe this is an invalid state of the system. I disagree we should leave the existing knownNodes as they are. If we do it would mean that we assume that the knownNodes would eventually come up.

Here is the modification to reproduce this issue.
01f96a6

This test scenario simply simulates what would happen if a PING command fails. I am not sure why the Sentinel would return a node that is unreachable. Could you verify that somehow? Could it be that the master is never promoted?

I just compared the lettuce features between redis-cluster and redis-sentinel, maybe we could support enablePeriodicRefresh feature in sentinel mode, just like what the cluster mode do. That could handle this scenario in a better way.

Assuming we add this periodic refresh - which node should we ask for what type of information?
Currently we depend on the Sentinel to push data about all master nodes, and all master nodes to give us master/replica status. If we are to believe your research the Sentinel pushes a topology refresh, giving us a master node and when we attempt to connect to it we get a list of nodes that we can't PING.

I do - however - feel this would not happen if you use 3 sentinel nodes.
Have you tried reproducing the problem this way?

The original case was happend in our production environment, with 3 sentinel nodes. And I tried to reproduce it by dropping down the replica and 2 sentinel nodes, it didn't happen in about 100 times. That means the trigger condition is too extream to reproduce in real environment. So I have to inject exceptions to lettuce code and test it in unittest env.

WHY is there a situation where no nodes are returned, and I believe this is an invalid state of the system. I disagree we should leave the existing knownNodes as they are. If we do that it would mean that we assume that the knownNodes would eventually come up - and we have no way of knowing that.

Because I didn't reproduce it in real env, and without debug logs, it's hard to get the detail reason why PING command fails. After reading and testing the lettuce code, it seems to be just one possible cause that could make that WARN log Topology refresh returned no nodes. Considering the network latency between lettuce client and redis sentinel/master, a likely scenario maybe the network between lettuce and sentinel/master was down just after the psub message being sent from sentinel. But it's just a guess.
I also checked the redis sentinel logs, and it records the psub messages was sent at that time.

redis sentinel logs
22:10:51.299 # +sdown sentinel sentinel-node1  @ mymaster
22:10:51.371 # +sdown slave slave-node  @ mymaster
22:10:51.587 # +sdown sentinel sentinel-node2  @ mymaster

I agree that leaving knownNodes with unreachable data is not a good idea. Clearing knownNodes and waiting for next psub message to refresh the topology data is not a good choice either.  So maybe supporting periodicRefresh is a better choice.

Assuming we add this periodic refresh - which node should we ask for what type of information?
We could make it the same way as the callback function for psub message, SentinelConnector#getTopologyRefreshRunnable, getting master and slave nodes from sentinel. Differ from just receiving psub message from sentiniel passively, we could refresh
knownNodes periodically. That means, if that extream scenario happened, the lettuce client could get to work just after the network recovered, without doing anything by SRE(restarting the client process).

This is a fair point. We could improve the resiliency of the driver if we schedule some action in this particular scenario.
I think we could model it similar to the ClusterTopologyRefreshScheduler.
This is no trivial task however, I will have to think on it's priority given our backlog and given the fact it is a bit of an exotic issue. Meanwhile contributions are welcome in that direction.


Update to Ruby 2.5.0 (will need to fix some things)

Upgrade to Ruby 2.5.0.
Unfortunately, this upgrade isn't trivial (it usually is trivial).  As expected, the following command updates Ruby:

./update-ruby 2.5.0

However, at least one test fails.  In particular, test #1 in test/features/github_login_test.rb fails, which you can quickly rerun doing:

rails test test/features/github_login_test.rb

The reported error is;
Error:
GithubLoginTest#test_0001_Has link to GitHub Login:
VCR::Errors::UnhandledHTTPRequestError:

================================================================================
An HTTP request has been made that VCR does not know how to handle:
  GET https://api.github.com/repos/ciitest/cii-best-practices-badge/contents//

VCR is currently using the following cassette:
  - /home/dwheeler/cii-best-practices-badge/test/vcr_cassettes/github_login.yml
    - :record => :once
    - :match_requests_on => [:method, :uri]

Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:

  * If you're surprised VCR is raising this error
    and want insight about how VCR attempted to handle the request,
    you can use the debug_logger configuration option to log more details [1].
  * You can use the :new_episodes record mode to allow VCR to
    record this new request to the existing cassette [2].
  * If you want VCR to ignore this request (and others like it), you can
    set an `ignore_request` callback [3].
  * The current record mode (:once) does not allow new requests to be recorded
    to a previously recorded cassette. You can delete the cassette file and re-run
    your tests to allow the cassette to be recorded with this request [4].
  * The cassette contains 13 HTTP interactions that have not been
    played back. If your request is non-deterministic, you may need to
    change your :match_requests_on cassette option to be more lenient
    or use a custom request matcher to allow it to match [5].

[1] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/debug-logging
[2] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/record-modes/new-episodes
[3] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/ignore-request
[4] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/record-modes/once
[5] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/request-matching
================================================================================

    app/lib/github_content_access.rb:31:in `get_info'
    app/lib/repo_files_examine_detective.rb:66:in `analyze'
    app/lib/chief.rb:112:in `propose_one_change'
    app/lib/chief.rb:135:in `block in propose_changes'
    app/lib/chief.rb:132:in `each'
    app/lib/chief.rb:132:in `propose_changes'
    app/lib/chief.rb:168:in `autofill'
    app/controllers/projects_controller.rb:127:in `create'

The specific line that fails is (surprisingly) this one:
      assert has_content? 'Thanks for adding the Project! Please fill out ' \
                         'the rest of the information to get the Badge.'

Deleting the recorded VCRs and re-running doesn't help.
I notice the doubled "//" at the end of this request URL, which shouldn't be there and is suspicious:
  GET https://api.github.com/repos/ciitest/cii-best-practices-badge/contents//

That doubled "//" isn't at the end in the corresponding VCR file test/vcr_cassettes/github_login.yml (beginning on line 791):
- request:
    method: get
    uri: https://api.github.com/repos/ciitest/cii-best-practices-badge/contents/
    body:

At this time I'm not certain that the trailing "//" is the problem, and if it is, I don't yet know what is causing the trailing "//".  That said, I've run out of time to do a "quick upgrade", so I'm recording my stopping point here so that I (or others) can pick it up later.

Related to #994.

We completed this earlier - closing out.


Add [darktable]/[Design Tools]

DarkTable

darktable - darktable is an open source photography workflow application and raw developer. A virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them.
License: <GPL 3.0>
Why do you think this helps users privacy?: <Open source, commonly used alongside RawTherapee as Adobe Lightroom replacements>
Under what section should this service be listed?: Design Tools
Additional comments / info: Github page here.

Just as rawtherapee, wouldn't Photo Editing and Management be a better fit?

Yeah, that's right! I wrote both as design tools given i first saw them recommended for designing. Feel free to place them wherever they fit best.


Remove path constants references from docs

After merging https://github.com/silverstripe/silverstripe-framework/pull/7065, we should no longer teach devs to rely on constants like FRAMEWORK_PATH, or hardcoded paths like Requirements::javascript('mysite/file.js').

I've just checked, and there's not a lot of uses any more - it's a handful of FRAMWORK_DIR and FRAMEWORK_PATH

Yeah I did a big blat of this when we introduced Requirements::javascript('silverstripe/framework: client/dist/bundle.js') syntax.


Intermediate state

if only some of the checkboxes are checked, set the intermediate attribute.

Hey @glaszig, sorry for the late reply. This controller is basically a wrapper for github's check-all library, it doesn't have anything to do with the checking functionality, so I'm closing the PR as it isn't something that should be implemented here.
That said, I also see this as a missing functionality, so you should open an issue/pr there, once it is implemented there I'll release a new version. In the meantime, you could extend the CheckAll stimulus controller and override the connect method to provide this functionality:
import CheckAllController from "stimulus-check-all"

export default class extends CheckAllController {
  connect () {
    super.connect();

    const checked = this.checked.length
    this.allTarget.checked = checked === this.checkboxes.length
    this.allTarget.indeterminate = !!checked && !this.allTarget.checked
    this.countTarget.textContent = checked.toLocaleString()
  }
}


exemplar set

Hi, I have some questions regarding the exemplar set.
(1) Did you use fixed memory (M=2000) or growing memory (20 per class) for experiments? From your paper, it looks like you are using growing memory but in the Section3.1, your description is about fixed memory with total exemplar size |M|.
(2) For the conventional setup, is the training epochs, learning rate decay ,...other training parameters the same as in LT or LTIO? Still the growing memory?
(3) Is there any reason to use growing memory? Since fixed memory is more popular in CIL.
Thanks and look forward to your response!

For (1), we use growing memory, as our experiments are on 50 based scenarios. The discussion in section 3.1 is an introduction example.
For (2), all the learning rate is same.
For (3), growing memory is always used in 50 based scenarios while fixed memory in 0 based scenarios.


no sound with wdm/ks under win8.1

I've compiled portaudio myself (with Visual C++ 2008 Express Edition), and tried out binaries from https://github.com/adfernandes/precompiled-portaudio-windows but there is no sound on win 8.1, when using wdm/ks...
any ideas how to get around it?

Did you try to use the bundled DLL?

yes. wdm-ks isn't available then: default_output_device: -1,
default_input_device: -1
but I also get some problems with utf8, when querying for devices or trying
to use wasapi:
C:\snd_scripts_f>python -m sounddevice
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\sounddevice.py", line 2517, in

print(query_devices())
File "C:\Python27\lib\site-packages\sounddevice.py", line 613, in
query_device
s
for i in range(_check(_lib.Pa_GetDeviceCount())))
File "C:\Python27\lib\site-packages\sounddevice.py", line 613, in

for i in range(_check(_lib.Pa_GetDeviceCount())))
File "C:\Python27\lib\site-packages\sounddevice.py", line 622, in
query_device
s
_lib.Pa_HostApiTypeIdToHostApiIndex(_lib.paMME)) else 'utf-8'),
File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 48:
invalid
continuation byte
2016-08-16 19:42 GMT+02:00 Matthias Geier<EMAIL_ADDRESS>
Did you try to use the bundled DLL?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/36#issuecomment-240179760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANHZpvx7T3-NVpcQEXlm-f9kca4y5c51ks5qgfZugaJpZM4Jk5lS
.

just to let you know; wdm ks works perfect on windows 7; sound latency (measured with an oscilloscope) is between 0.5 and 2 ms; that's very good, thanks a lot!

I think the issue can be closed; I can't reproduce the problem on win8 anymore. wdm-ks worked today, when I specified the location of the audioport.dll with
_lib = _ffi.dlopen('c:\python27\Lib\site-packages\_sounddevice_data\libportaudio32bit.dll'

Maybe the portaudio.dll of pyo was loaded, without my knowing

OK, that's possible. If dlopen('portaudio') succeeds, the bundled DLL is not used.
I guess this is a feature?
This is necessary for Linux, I don't know if I can/should disable this for Windows ...?
You can try to check if the PortAudio versions are different:
import sounddevice as sd
sd.get_portaudio_version()

You might get some information about the used library with this:
from ctypes.util import find_library
find_library('portaudio')

Just out of curiosity, where is pyo's DLL installed?

thanks for the infos. It's actually a nice thing, that one can choose the
portaudio.dll. But it can mislead...
pyo's dll is installed in the main site-package folder:
pythonpath/Lib/site-packages/portaudio.dll
2016-08-25 14:25 GMT+02:00 Matthias Geier<EMAIL_ADDRESS>
OK, that's possible. If dlopen('portaudio') succeeds, the bundled DLL is
not used.
I guess this is a feature?
This is necessary for Linux, I don't know if I can/should disable this for
Windows ...?
You can try to check if the PortAudio versions are different:
import sounddevice as sd
sd.get_portaudio_version()
You might get some information about the used library with this:
from ctypes.util import find_library
find_library('portaudio')
Just out of curiosity, where is pyo's DLL installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/36#issuecomment-242367660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANHZpllz87Alla-UT6TrV8fSwhjxge4Aks5qjYnOgaJpZM4Jk5lS
.

that's ok now.
now,
I get however an error, if I call
sd.play(data, device=9, extra_settings=wasapi_exclusive)```

c:\python27\lib\site-packages\sounddevice-0.3.4-py2.7.egg\sounddevice.py in __in
it__(self, kind, samplerate, blocksize, device, channels, dtype, latency, extra_
settings, callback_wrapper, finished_callback, clip_off, dither_off, never_drop_
input, prime_output_buffers_using_stream_callback)
    908                                   samplerate, blocksize, stream_flags,
    909                                   self._callback, _ffi.NULL),
--> 910                'Error opening {0}'.format(self.__class__.__name__))
    911
    912         # dereference PaStream** --> PaStream*

c:\python27\lib\site-packages\sounddevice-0.3.4-py2.7.egg\sounddevice.py in _che
ck(err, msg)
   2601         else:
   2602             msg += _ffi.string(_lib.Pa_GetErrorText(err)).decode()
-> 2603         raise PortAudioError(msg)
   2604     return err
   2605

PortAudioError: Error opening OutputStream: Incompatible host API specific strea
m info

`sd.query_devices()` shows:
 9 Speakers (Realtek High Definition Audio), Windows WASAPI (0 in, 2 out)

there seems to be another small issue with `sd.default.extra_settings = wasapi_exclusive`;

I get the following error message, if I run it:
c:\python27\lib\site-packages\sounddevice-0.3.4-py2.7.egg\sounddevice.py in __i
it__(self, kind, samplerate, blocksize, device, channels, dtype, latency, extra
settings, callback_wrapper, finished_callback, clip_off, dither_off, never_drop
input, prime_output_buffers_using_stream_callback)
    887             parameters, self._dtype, self._samplesize, samplerate = \
    888                 _get_stream_parameters(kind, device, channels, dtype, l
tency,
--> 889                                        extra_settings, samplerate)
    890             self._device = parameters.device
    891             self._channels = parameters.channelCount

c:\python27\lib\site-packages\sounddevice-0.3.4-py2.7.egg\sounddevice.py in _ge
_stream_parameters(kind, device, channels, dtype, latency, extra_settings, samp
erate)
   2523         latency = default.latency[kind]
   2524     if extra_settings is None:
-> 2525         extra_settings = default.extra_settings[kind]
   2526     if samplerate is None:
   2527         samplerate = default.samplerate

TypeError: 'WasapiSettings' object has no attribute '__getitem__'

Thanks for testing! Just for the record, this should have been an answer to https://github.com/spatialaudio/python-sounddevice/issues/35#issuecomment-242708385.
I fixed the second problem in a new commit to #39, can you please try again?
I don't know what's causing the first error, probably it's related to the second one ...?

I'm closing this issue since it was caused by pyo's portaudio.dll.


Unspecified data type in image_dataset_from_directory

Thank you for submitting a TensorFlow documentation issue. Per our GitHub
policy, we only address code/doc bugs, performance issues, feature requests, and
build/installation issues on GitHub.
The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue: https://keras.io/api/preprocessing/image/#imagedatasetfromdirectory-function
There are issues with the follwoing entries:
labels: Either "inferred" (labels are generated from the directory structure), None (no labels), or a list/tuple of integer labels of the same size as the number of image files found in the directory. Labels should be sorted according to the alphanumeric order of the image file paths (obtained via os.walk(directory) in Python).
label_mode: - 'int': means that the labels are encoded as integers (e.g. for sparse_categorical_crossentropy loss). - 'categorical' means that the labels are encoded as a categorical vector (e.g. for categorical_crossentropy loss). - 'binary' means that the labels (there can be only 2) are encoded as float32 scalars with values 0 or 1 (e.g. for binary_crossentropy). - None (no labels).
Description of issue (what needs changing):
The data types for input are not clearly described and there are no examples of what would be an acceptable input if its is not feasible to supply a data directory organized into files by class labels.  Currently when i try this approach the fucntion does not even recognize that there are files in the directory I am giving it, but when I move up in the directory and supply the file containing the images instead I get a Dataset object for training a single class.
The errors are not useful and confusing.  It is not clear why the function does not recognize that there are image files in the folder in one case and not another.  Examples would make implementing this usecase much easier.

Hi @AngCamp!
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999 . Thanks!


Remove Disassembly class

We now no longer need it; it behaved very much like an array and it is thus much better to
return an array instead.

Great, thanks!


IPFS data spec update: schema_name and schema_version

what
I suggest adding two new fields to the IPFS JSON for bounties.network:

schema_name: the name of the schema that is being used. (example: bounties_network, gitcoin )
schema_version: the version of the schema that is being used (ex: 0.1, 0.11, 1.0)

why
formalizing these two fields would recognize the business case reality that different bounty networks are likely to have different use cases and thereby, different metadata they need to store about the bounties.
by recognizing this implicit fact explicitly, different implementers of the bounties network:

can have different JSON metadata formats (instead of trying to all work around one format).
could formalize their JSON formats explicitly, allowing more easy management of said formats.
can manage the versioning of their formats as their business needs evolve.
ingestion of bounties across networks becomes easier because there is documentation of each networks presumed metadata.

suggested next steps

accept schema_name / schema_version as standard parts of the IPFS json
publish samples of both the bounties_factory and gitcoin formats to this repo
define and publish documentation on required fields for each schema (title, description, sourceFileHash, etc).
maintain those specifications over time as our business needs evolve.

taken care of in https://github.com/ConsenSys/StandardBounties/pull/23

taken care of in #23


🐛 [Firestore] Minified FirebaseFirestore datatypes (Map, List, etc.) in release mode (Flutter Web)

Bug report
Every Firestore data I got in my flutter web (as e.g. in the stream below) were minified in release mode. In detail the runtimeTypes Map, List and Timestamp become "minified:...". In reference to the example below: Already the values of the DocumentSnapshot fields of snapshot.data are minified. I don't get any errors or special log output.
I´ve the newest Version of flutter, dart and android studio. My temporary workaround is to launch the website with:
flutter build web --profile --dart-define=Dart2jsOptimization=O0 --no-tree-shake-icons
but of course this is neither a solution to the problem nor a permanent method.
Thank you very much for your comments!
Steps to reproduce
I wish I knew exactly how this error came about. It occurs as soon as I simulate the website in release mode or publish it.
Sample project

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.4, on macOS 14.1.2 23B92 darwin-x64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] Connected device (3 available)
[✓] Network resources

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.2.3
Flutter SDK 3.16.4
bgs_webapp 1.0.0+1

dependencies:
- cloud_firestore 4.13.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.5.8 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- crypto 3.0.3 [typed_data]
- csv 5.1.1
- cupertino_icons 1.0.6
- excel 2.1.0 [archive xml collection equatable]
- file_picker 6.1.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- firebase_analytics 10.7.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.2.1+8 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.15.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.4.8 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_performance 0.9.3+8 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_storage 11.5.6 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- fl_chart 0.64.0 [equatable flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web]
- flutter_map 6.1.0 [async collection flutter http latlong2 logger meta polylabel proj4dart vector_math]
- get_it 7.6.4 [async collection]
- http 1.1.2 [async http_parser meta web]
- iconsax 0.0.8 [flutter]
- image 4.1.3 [archive meta xml]
- intl 0.18.1 [clock meta path]
- latlong2 0.9.0 [intl]
- location 5.0.3 [flutter location_platform_interface location_web]
- path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- pdf 3.10.7 [archive barcode bidi crypto image meta path_parsing vector_math xml]
- printing 5.11.1 [ffi flutter flutter_web_plugins http image js meta pdf plugin_platform_interface]
- provider 6.1.1 [collection flutter nested]
- responsive_builder 0.7.0 [flutter provider]
- shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- timelines 0.1.0 [flutter]
- url_launcher 6.2.2 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- url_strategy 0.2.0 [flutter_web_plugins]

dev dependencies:
- flutter_lints 2.0.3 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]

transitive dependencies:
- _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta]
- archive 3.4.9 [crypto path pointycastle]
- async 2.11.0 [collection meta]
- barcode 2.2.5 [meta qr]
- bidi 2.0.10
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- cloud_firestore_platform_interface 6.0.10 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.5.11 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.6.11 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.18.0
- convert 3.1.1 [typed_data]
- equatable 2.0.5 [collection meta]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- file 7.0.0 [meta path]
- firebase_analytics_platform_interface 3.8.4 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.5+11 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.1.0+10 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.1.0+10 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 7.0.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.12 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_performance_platform_interface 0.1.4+16 [_flutterfire_internals firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.4+16 [_flutterfire_internals firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 5.1.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.6.17 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_plugin_android_lifecycle 2.0.17 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- js 0.6.7 [meta]
- lints 2.1.1
- lists 1.0.1 [meta]
- location_platform_interface 3.1.2 [flutter plugin_platform_interface]
- location_web 4.2.0 [flutter flutter_web_plugins http_parser js location_platform_interface]
- logger 2.0.2+1
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.10.0
- mgrs_dart 2.0.0 [unicode]
- nested 1.0.0 [flutter]
- path 1.8.3
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.1 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.1 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- petitparser 6.0.2 [meta]
- platform 3.1.3
- plugin_platform_interface 2.1.7 [meta]
- pointycastle 3.7.3 [collection convert js]
- polylabel 1.0.1 [collection]
- proj4dart 2.1.0 [mgrs_dart wkt_parser meta]
- qr 3.0.1 [meta]
- shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.3.4 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.3.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.2.2 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- stack_trace 1.11.1 [path]
- stream_channel 2.1.2 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- typed_data 1.3.2 [collection]
- unicode 0.3.1 [lists]
- url_launcher_android 6.2.0 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.2.1 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.2.0 [flutter plugin_platform_interface]
- url_launcher_web 2.2.2 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface]
- vector_math 2.1.4
- web 0.3.0
- win32 5.1.1 [ffi]
- wkt_parser 2.0.0
- xdg_directories 1.0.3 [meta path]
- xml 6.5.0 [collection meta petitparser]

Hi @Nico1911, do you have this issue with the plugin example app as well or is it only with your project? Did you recently upgrade your flutterfire packages or has this always been the case?

Hey @danagbemava-nc, thank you for your message! I have only had the problem for about 2 weeks and it only occurs with my project. Unfortunately, I can't remember exactly what caused this error - but I know for sure that I haven't (at least actively) updated Flutterfire. In order to solve this Problem, I updated anything that could correlate to the newest version, but unfortunately it still occurs...

Hi @Nico1911, could you please provide a complte minimal reproducible code sample so that we can investigate this? Could you also check your git history to see if anything might have changed around the time you started experiencing the issue?


Fix-build-container-action

This fixes the docker-tag for Repositorys containing capital letters

@lstein the build container image action is failing in this PR since it is using the one currently hosted in development branch, after merging this error should be gone.

since there are no secrets used in this action, I just changed from pull_request_target to pull_request 🙈


Sync should support non zip archives

Right now when calling sync() everything gets extracted by default. cf: pull request by @revolunet
Not sure what the best way is to detect if an archive is a zip archive:

Read the first 4 bytes and expect "50 4B” PK
Rely on file extension to be ".zip"
All of the above?

Use case is for all other file types: images, videos, etc...

in my PR, the file is considered a zip if matches one of these :

server content-type
or file has a ".zip" extension

to make the code more focused and simpler, what about moving the "copy cordova" stuff to dedicated methods ?


Detect current slide or start/end to enable/disable navigation

Hello,
I'm currently using keen-slider at work.
Just seen Blaze and looks incredibly promising.
I do not see, however, a way to track current slides shown, or track start/end. If this were implemented, I'd test it to replace Keen.
I'd be willing to contribute to the library since there are not that many good options and it's a very important feature in my work. Any tips to start helping you?
Thanks!

Hi @debatz, you can use the onSlide method to track current slides shown and other info
Example: https://codesandbox.io/s/blaze-slider-playground-ps0b9u?file=/index.html:1796-1803

Hi @debatz, you can use the onSlide method to track current slides shown and other info
Example: https://codesandbox.io/s/blaze-slider-playground-ps0b9u?file=/index.html:1796-1803

I see, excellent! Sorry, I must've missed it in the docs.
Any tips on how to contribute to the library?
Thanks!


Add item pickup delay data

Forum
Wiki
Add an item pickup delay. Also support like the old methods in sponge common, unpickable items.

https://github.com/SpongePowered/SpongeAPI/pull/1197


Add security bug that was fixed in 2.5

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Preview at https://deploy-preview-12084--docsdocker.netlify.app/docker-for-mac/release-notes/#docker-desktop-community-2500

Preview at https://deploy-preview-12084--docsdocker.netlify.app/docker-for-mac/release-notes/#docker-desktop-community-2500


Unexpected Color Change in publication list format

I've noticed a strange behavior of the font color when changing the publication list format to detailed. I've wanted to get rid of the dots in front of the publication title e.g. my publication section. However, once I switch to detailed, the font is green my working paper section. I wasn't able to find the problem after going through the config.toml, so maybe its a bug? Otherwise, it's a great theme!

Please use the support forums for assistance: http://discuss.gohugo.io/ . When you post there, providing a link to your website repository would also be helpful.


fix: don't assume there's always a reason for a package being filtered out

The current logic results in a trailing space in our snapshots which IDEs want to trim, and I think it's less bug-like to omit the "because: " in this situation.
Alternatively we could go the other way if we want to strongly encourage people to always provide a reason by either falling back to a value like "no reason given!" or rephrase the string to something like "has been filtered out for an unknown reason" (though the latter would still require a few more lines of code than just using a fallback value)

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

Project coverage is 68.65%. Comparing base (f8953ff) to head (37b5123).

Files with missing lines
Patch %
Lines

pkg/osvscanner/osvscanner.go
80.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1241      +/-   ##
==========================================
+ Coverage   67.83%   68.65%   +0.81%
==========================================
  Files         174      174
  Lines       16769    13088    -3681
==========================================
- Hits        11375     8985    -2390
+ Misses       4765     3471    -1294
- Partials      629      632       +3

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


Windows support

Due to your use of awk here adding a tree fails on windows.
One possible solution would be use the git-bash that comes with awk.
Aside from the bug, should the extension even remove branches unasked?

same issue here https://github.com/alexiszamanidis/vscode-git-worktrees/blob/8b838de0341b36fa1bdb1a908742a4e4ac3bf4b5/src/helpers/gitHelpers.ts#L58

In my opinion, WSL is established on Windows.
Have you tried it with WSL? Do you think this is a solution for Windows or would it be better to move on to what you suggested?
Branches deleted without asking the user are stalled. This means that these branches are deleted remotely, but are available locally.

Well yes it works in wsl but that is linux so I could not use it for windows development. It would be possible to use wsl to solve this via prefixing the linux commands like this wsl awk.
Sure I think this is still a choice the user should be aware of and have the possibility of turning off. After all the command is "add a new worktree" not "add a new worktree and clean up branches"
I also want to thank you for the extension as it works quite well (on linux :P)!

Hi Alexis, I just open a PR to add Windows support for this extension.
If you have some free time, please take a look. ☺

Hi jonz94, I reviewed your PR and your solution seems neat. I will proceed with the merge and the publish of the improvement.
Thank you both for your time and contribution!


Msi models

Can flash the board with:
osfv_cli rte --rte_ip <IP_ADDRESS> flash write --rom ~/Downloads/msi_ms7d25_v1.1.3_ddr4.rom
DUT model retrieved from snipeit: MSI PRO Z690-A DDR4
Sonoff init
Writing /home/macpijan/Downloads/msi_ms7d25_v1.1.3_ddr4.rom to flash...
Executing command: flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=16000  -w /tmp/write.rom
flashrom v1.2 on Linux 5.4.69 (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).

Found Macronix flash chip "MX25U25635F" (32768 kB, SPI) on linux_spi.

===
This flash part has status UNTESTED for operations: ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to<EMAIL_ADDRESS>if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!

Reading old flash chip contents...
done.
Erasing and writing flash chip...
Erase/write done.

Verifying flash...
VERIFIED.

Flash written

It is flashing the whole chip, as in other platforms, but in MSI scripts on RTEs we had:
echo "start flash command"
flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=16000 \
        --layout msi_z690a.layout -i bios -w $1

these models are already supported in the main branch


[BUG] Harvester API doc not viewable as it expends

Describe the bug
Harvester API doc is seem to get cutoff and become un-viewable as we drill down the model descriptions.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.harvesterhci.io/v0.3-dev/reference/api/
Select 'POST /apis/kubevirt.io/v1/namespaces/{namespace:[a-z0-9][a-z0-9-]*}/virtualmachines'
Select 'model' and start drilling down. i.e. click on 'spec*' and you'll notice that the right side of the field descriptions are only partially viewable and the rest got cutoff.  In some cases, the description is not visible at all. I've tried both Firefox and Chrome and got the same result.

Expected behavior
All the fields along with their respective descriptions should be viewable and the layoff should be intuitive.
Support bundle
N/A
Environment:

Harvester ISO version: v0.3-dev
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): N/A

Additional context
Add any other context about the problem here.

fix via https://docs.harvesterhci.io/v0.3/reference/api/


[README-AzConfig] move custom header description to be one of example

Move custom headers description out from the TroubleShooting section and to be one of example.

No longer required to have this change.


[conv] Expore different filter layouts for convolution

Explore different convolution filter layouts (NHWC, HCHW, etc.) to see if they improve conv performance.

Update 5/22: added new 1D nhw op and vectorization. seems slow. next to verify numerics and profile.

Closing as proven to be not very helpful.


Problem on Server detecting JRE with gradle >8.9

https://github.com/gradle/gradle/issues/30652


Please help to Answer Question on Stackoverflow

I asked a question on Stackoverflow here
My aim is to crawl a website and obtain ONLY the internal (local) URLs within that domain. I am not interested in any page data or scraping. Just the URLs.
Kindly help me and respond to the question. Thank you in advance!

I believe you've got what you want, so I closed this issue


add aarch64 to systems

This allows nix run .#vm and nix run .#vm-rootless to work on aarch64-linux systems such as Apple Silicon Macs

Thanks for the contribution @yu-re-ka! Just to double check, I assume you've verified locally this works on Apple Silicon?

I think there is an issue with the test runners atm, but I verified all the tests are still passing for x86 on my machine. It might be a good idea to have a table on the README showing support for different platforms now that we have more than one @elpdt852 ? Otherwise happy to merge!


Can't get the target port from the serviceentry generated by the xds api generator

Bug Description
Can't get the target port from the service entry generated by the xds API generator. The target port is not set in the code.
https://github.com/istio/istio/blob/b55bf1a7debc0ce0081e91ad25694e839737512b/pilot/pkg/serviceregistry/serviceentry/conversion.go#L118
Version
client version: 1.10.0
control plane version: 1.10.0
data plane version: 1.10.0 (1 proxies), 1.10-dev (3 proxies), 65536.65536.65536 (1 proxies)

The latest version has this issue as well.

Additional Information
No response

Hi @zhaohuabing, according to the comment, do you have any idea about the PR here?


[Snyk] Security upgrade certifi from 2017.11.5 to 2023.7.22

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

Packs/Exchange2016_Compliance/Integrations/Exchange2016_Compliance/doc_files/requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

471/1000  Why? Recently disclosed, Has a fix available, CVSS 3.7
Improper Following of a Certificate's Chain of Trust SNYK-PYTHON-CERTIFI-5805047
certifi:  2017.11.5 -> 2023.7.22
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

This is a fork of an upstream repository we use to facilitate PRs into the upstream repository. Any package updates unrelated to our contributions must be applied by the upstream repository.