Dependency error when installing dependencies without yarn

I'm able to get this running just fine when I install with yarn. I tried a bunch of different ways without yarn, however, and got a bunch of different dependency issues
$ npx create-next-app nextjs-starter-blog -e https://github.com/JoseRFelix/nextjs-starter-blog
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/next
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/next-themes
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/hartsimha/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/hartsimha/.npm/_logs/2021-02-12T04_08_30_565Z-debug.log

Aborting installation.
  npm install --loglevel error has failed.

$  npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/next
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/next-themes
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/hartsimha/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/hartsimha/.npm/_logs/2021-02-12T04_11_02_827Z-debug.log

I did get similar-looking dependency warnings when installing with yarn, but it managed to get things working
$ yarn install
yarn install v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "file-loader@*".
warning "next-optimized-images ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "next-optimized-images ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "next-optimized-images ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "@types/react@>=16".
warning "react-markdown ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "react-markdown > html-to-react ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "react-toggle-dark-mode > react-spring > @react-spring/core ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "webpack@*".
warning " ><EMAIL_ADDRESS>has unmet peer dependency "webpack-cli@*".
[4/4] 🔨  Building fresh packages...
✨  Done in 23.10s.

Is yarn the only supported way to install this?

Bump - same issue for me


created skeleton for example notebook

Just filled in a few cells to create a skeleton

thanks scout, looks great!


Issue with the database seed file

When following the installation instructions, the user is told to run the rake db:seed command. Doing so raise an error.
Expected behaviour:
The user should be able to run rake db:seed without any issues.
Actual behaviour:
Running rake db:seed raises the following error:
ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes for Template: migrated, dmptemplate_id
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security/sanitizer.rb:60:in `process_removed_attributes'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:352:in `sanitize_for_mass_assignment'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activerecord-4.2.10/lib/active_record/core.rb:281:in `initialize'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in `new'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in `new'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/validations.rb:15:in `create!'
/home/quentin/Projets/roadmap/db/seeds.rb:386:in `block in <top (required)>'
/home/quentin/Projets/roadmap/db/seeds.rb:384:in `map'
/home/quentin/Projets/roadmap/db/seeds.rb:384:in `<top (required)>'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in `load'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in `block in load'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in `load'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/railties-4.2.10/lib/rails/engine.rb:547:in `load_seed'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:253:in `load_seed'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:173:in `block (2 levels) in <top (required)>'
/home/quentin/.rvm/gems/ruby-2.4.4/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/quentin/.rvm/gems/ruby-2.4.4/bin/ruby_executable_hooks:15:in `eval'
/home/quentin/.rvm/gems/ruby-2.4.4/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)

Steps to reproduce:
Follow the installation instructions up to the point where the user is supposed to run rake db:seed.
Potential fix:
It would seem the columns causing the error ('migrated' and 'dmptemplate_id') were renamed, the seed file should be changed accordingly.

I face the same issue

Hi all,
We've updated the seeds file and added a stage to the Travis CI script to check the seeds with each push.
These changes are currently on development. Please bear with us while we finalise changes for the next release version on master

@briri and @xsrust is still still relevant?

Yes. this has been addressed


Add Member throw error - chsarp

Hi,
I am getting the the following error when "Add Member" is invoked. Basically call to ~/Home/GetMemberLoad.  What am i missing here?

Fixed, thanks.

Thanks, i have verified that it works now.

@nkramer - do you know why there is an error when clicking on "Add Team to Group":
Or what permission does logged in user requires ?


Provide r(2+1)d 152-layer models and weights

Right nowe we only provide the model and weights for r(2+1)d 34-layer which strikes a perfect balance between model size/runtime and accuracy in practise (sorry Kaggle folks).
We should make our code modular so that we can provide e.g. the CSN models or the 152-layered r(2+1)d model (although in practise it is quite heavy for the tiny bump in accuracy).

https://github.com/bjuncek/VMZ
hopefully will be merged soon


Assistant gets stuck after failing to resolve contant name in calendar twice

Project
Virtual Assistant, Skills, Calendar
Description
If the calendar skill tries to resolve a contact name twice and it can't find a good much, the calendar flow exists but the assistant ends up in bad state and is unable to resume any other flows.
To Reproduce
Ensure you have the assistant configured with your o365 account.

Open assistant and say "Schedule a meeting"
Say "bananas" (it won't find it)
Say "cacao" (it won't find it and it will exit the calendar skill saying "what else I can help you with")
Say "Schedule a meeting" (it will not start the flow and will just say what else i can help you with)

Expected behavior
I would expect to be able to use the calendar skill again after I get kicked out from the flow.
Screenshots

Additional context
The wording on the messages of the flow is kind of odd two, that may need reviewing.
It seems that just the Calendar skill hangs, I was able to invoke the email skill after the previous steps in the same session but trying calendar kept failing.

Perhaps a state cleardown issue?

Tested this on the latest version of master and it works now.
Thanks


Added Win32 plattform

PR adds a Vulkan.Win32 plattform project. Some minor changes in the generator were necessary to generate the code for Win32.
However, as vulkan dll is named vulkan-1 under windows wrapper does not work. Can this fixed by using dllmap under mono?

Hi Alex,
thanks for your PR! I have been meanwhile working in the same area. Could you please update your changes and also fix white space formatting?
I am trying to use the dllmap for Vulkan project, it doesn't seem to work though so far.
We will also need a copyright assignment from you, which should have been asked to sign from you by CLA bot. Looks like the bot is down now. Let me look into it.
Radek

Submitted #17 (hopefully) fixing all mentioned issues


Does serialbox2 detects automatically read format?

We are going to change the serialization format for all our fields from the "binary" to "NetCDF".
When I read the fields using serialbox::gridtools::serializer object, it accepts archive_name argument, where I can specify "NetCDF".
Since you store so much metadata, I wonder whether you can support automatic detection of the input archive format. I suspect you don't, but I ask to be sure.

I will assume you don't, we have to move on with our code. Me (and @havogt) are still curious about the answer, though.

You assumed correctly, it doesn’t do auto detection. But it’s an open source project so you are most welcome to contribute this functionality :)


Use ByteArrayComparator to replace Arrays#compareUnsigned in some other places

After https://github.com/apache/lucene/pull/11876 I find some other codes are still usingArrays#compareUnAssigned which can be repaced by ByteArrayComparator or ArrayUtil#compareUnsigned4.
This PR replaced some of them that look performance sensitive.

@gf2121 Let's merge this PR?

@jpountz Sorry for being late, thank you for the review !
I'll merge this


Change the size of the images

It would be nice to be able to change the size of the resulting drawings. A modifier could be passed like \usepackage[size = 2]{nimsticks} would multiply the default size by 2. I'm sure there are other approaches that would work as well.

Yes agreed. The TikZ way to do this would be by passing a scale to drawnimstick, which is really a tikzpicture. The issue is that each stick is its own tikzpicture and the gaps between sticks and between piles would also need to change.
I'll have a think about this. Off the top of my head, something like this would do it.
\documentclass{article}
\usepackage{nimsticks}

\newcommand{\nimscale}{1}
\newcommand{\nimstickgap}{0.5} % in mm
\newcommand{\nimheapgap}{10} % in mm
\newcommand{\setnimscale}[1]{%
    \renewcommand{\nimscale}{#1}%
    \pgfmathsetmacro{\nimstickgap}{0.5*\nimscale}%
    \pgfmathsetmacro{\nimheapgap}{10*\nimscale}%
    \pgfmathtruncatemacro{\range}{100*\nimscale}\reinitrand[first=-\range,last=\range,seed=0]%
}

\renewcommand{\drawnimstick}{%
    \rand\pgfmathsetmacro{\topx}{(\the\value{rand})/1000}%
    \rand\pgfmathsetmacro{\botx}{(\the\value{rand})/1000}%
    \begin{tikzpicture}[scale=\nimscale]%
    \draw[very thick] (\topx,0) -- (\botx,0.5);%
    \end{tikzpicture}%
}
\renewcommand{\nimgame}[2][block]{%
    \ifstrequal{#1}{inline}{}{\bgroup\centering}%
    \def\listofgames{#2}%
    \foreach \heap in \listofgames {%
        \foreach \heapindex in {1, ..., \heap} {%
            \drawnimstick\hspace{\nimstickgap mm}%
        }%
        \hspace{\nimheapgap mm}%
    }\hspace{-\nimheapgap mm}%
    \ifstrequal{#1}{inline}{}{\par\egroup}%
}

\begin{document} % \nimscale, \nimstickgap, \nimheapgap

    \nimgame{3,4,5}

    \setnimscale{2} \nimgame{3,4,5}

    \setnimscale{0.5} \nimgame{3,4,5}

\end{document}

Though it might be better to define the sizes in terms of ex, so that the size of the Nim sticks responds to the usual LaTeX sizes \Large, \Huge and so forth. Combining the two would give considerable control over the sizing of the diagrams, like this:
\documentclass{article}
\usepackage{nimsticks}

\newcommand{\nimstickheight}{3} % in ex
\newcommand{\nimstickgap}{0.3} % in ex
\newcommand{\nimheapgap}{5} % in ex
\newcommand{\setnimscale}[1]{%
    \pgfmathsetmacro{\nimstickheight}{3*#1}%
    \pgfmathsetmacro{\nimstickgap}{0.3*#1}%
    \pgfmathsetmacro{\nimheapgap}{5*#1}%
    \pgfmathtruncatemacro{\range}{100*#1}\reinitrand[first=-\range,last=\range,seed=0]%
}

\renewcommand{\drawnimstick}{%
    \rand\pgfmathsetmacro{\topx}{(\the\value{rand})/1000}%
    \rand\pgfmathsetmacro{\botx}{(\the\value{rand})/1000}%
    \begin{tikzpicture}%
    \draw[very thick] (\topx,0ex) -- (\botx,\nimstickheight ex);%
    \end{tikzpicture}%
}
\renewcommand{\nimgame}[2][block]{%
    \ifstrequal{#1}{inline}{}{\bgroup\centering}%
    \def\listofgames{#2}%
    \foreach \heap in \listofgames {%
        \foreach \heapindex in {1, ..., \heap} {%
            \drawnimstick\hspace{\nimstickgap ex}%
        }%
        \hspace{\nimheapgap ex}%
    }\hspace{-\nimheapgap ex}%
    \ifstrequal{#1}{inline}{}{\par\egroup}%
}

\begin{document}

\begin{tabular}{cc}
    \tiny tiny: & \tiny\nimgame{3,4,5}\\
    \scriptsize scriptsize: & \scriptsize\nimgame{3,4,5}\\
    \footnotesize footnotesize: & \footnotesize\nimgame{3,4,5}\\
    \small small: & \small\nimgame{3,4,5}\\
    \normalsize normalsize: & \normalsize\nimgame{3,4,5}\\
    \large large: & \large\nimgame{3,4,5}\\
    \Large Large: & \Large\nimgame{3,4,5}\\
    \LARGE LARGE: & \LARGE\nimgame{3,4,5}\\
    \huge huge: & \huge\nimgame{3,4,5}\\
    \Huge Huge: & \Huge\nimgame{3,4,5}\\
\end{tabular}

\setnimscale{2}
\begin{tabular}{cc}
    \tiny tiny: & \tiny\nimgame{3,4,5}\\
    \scriptsize scriptsize: & \scriptsize\nimgame{3,4,5}\\
    \footnotesize footnotesize: & \footnotesize\nimgame{3,4,5}\\
    \small small: & \small\nimgame{3,4,5}\\
    \normalsize normalsize: & \normalsize\nimgame{3,4,5}\\
    \large large: & \large\nimgame{3,4,5}\\
    \Large Large: & \Large\nimgame{3,4,5}\\
    \LARGE LARGE: & \LARGE\nimgame{3,4,5}\\
    \huge huge: & \huge\nimgame{3,4,5}\\
    \Huge Huge: & \Huge\nimgame{3,4,5}\\
\end{tabular}

\end{document}


Alerts that should be inhibited fire on Alertmanager reload/restart

What did you do?
Have 2 alerts firing for a long time, and configured the inhibition rule in such a way that one of the alerts inhibits the other one.
What did you expect to see?
The Alertmanager does not send a notification for the inhibited alert if I restart/reload it.
What did you see instead? Under which circumstances?
The Alertmanager sent a notification for the alert, which should have been inhibited right away once it received the alert from Prometheus.
Root cause
We dug into the issue and found this if that is causing the issue.
What it does is that if the alert started to fire longer time before then the group_wait, it will send it right a way,
But for the inhibition to work, it is necessary for it to wait at least the group_wait after start before sending any alerts so it knows that no alerts that should inhibit it are firing.
Reasoning
We tried to find any reasoning for it, but the author is @fabxc 7y ago, and it was part of large changes without any particular obvious reason for this. The only meaning I can come up with is trying to avoid waiting the group_wait for an alert that might have started to fire during the Alertmanager unavailability, so it is sent ASAP.
Possible fixes

Change the alert.StartsAt in the if to alert.UpdatedAt: This might help, but not sure if it would fix it in 100% cases
Drop the if completely since it makes the inhibitor "flaky" during reloads/restarts
Make the inhibitor state persistent and gossiped (or somehow loaded from nflog) so before starting up the Alertmanager would know what alerts are firing for the purpose of inhibiting

(we have currently been running the fix, where the if is dropped in production and everything is working fine and the flakiness of inhibiting is gone)
I'd be happy to send a PR with a fix if we agree that it is a bug that should be fixed and what is the best way.

Personally, I'd drop the if completely. The benefit of speeding up the notification compared to the possible race conditions is not worth it.

@simonpasquier hope you don't mind if I ping you about this, you were in the past involved in the issues regarding inhibitor persistence etc

Hi! 👋 Thanks for opening this issue! I agree that this if statement causes a race condition in inhibition rules:
if !ag.hasFlushed && alert.StartsAt.Add(ag.opts.GroupWait).Before(time.Now()) {
	ag.next.Reset(0)
}

I opened a PR in the past to fix this https://github.com/prometheus/alertmanager/pull/3419 but it does have some disadvantages:

A potential issue with this change is that following a reload or restart of Alertmanager, alerts that were waiting for group_wait will have to wait from the beginning of group_wait again. If group_wait is large then notifications could take longer to send then expected. Frequent reloads in combination with a large group_wait could even prevent alerts from being flushed at all.

I also wrote up a blog post on how to work around this issue without needing to run a separate build with the fix https://www.grobinson.net/best-practices-for-avoiding-race-conditions-in-inhibition-rules.html.

Hi @grobinson-grafana, thanks for the info.
The blog post is great (wondering why I did not find it googling before :thinking: ). Unfortunately, those solutions are not sustainable in larger setups and makes inhibiting unusable :confounded:
I'm wondering why is your PR closed? Did you ever get feedback on this from the maintainers?
I do understand the concerns, might be a configuration option or leave that decision on the user? :thinking:
Or, as I suggest, somehow persist state of the inhibitor over restarts.
It feels like a bug worth fixing, because without it the inhibiting is really hard to use

Unfortunately, those solutions are not sustainable in larger setups and makes inhibiting unusable 😖

It should be possible. Prometheus will let you duplicate rules if an inhibition rule is supposed to inhibit alerts across two or more rule groups.

Or, as I suggest, somehow persist state of the inhibitor over restarts.

Yes, this would work. The problem is finding someone who will offer their time to write all the code for this and test it. It's a large effort.


Update run group context keys for new cell resource

Fixes: #50 and #47
Previous

Note that the non-active, but visible cell reflects the icon state of the currently selected cell. Also side by side documents "share" execution icon state.
Now

[x] Document level commands are not all the same, they are per document
[x] Other visible cells don't "echo" the commands of the currently active cell
[x] Command palette commands now only show and work on the active document
[x] Document execute and command palette execute commands now disable if the document doesn't have anything in that run group.

Note: Also one small fix to allow for persisting of group state in documents due to an incorrect recent API update.

@roblourens 🍾  Thanks so much for the context key changes. Really improved my run group scenarios.


Lucene query parser syntax problem when using prepared statements

OrientDB Version: 2.2.32
Java Version: 1.8
OS: linux
When using lucene query parser syntax such as logical AND or the boost ^ in a query with prepared statements then it does not work. I am guessing maybe the AND and the ^ are being striped out!
My records:
one record has boat in txt1 (and not blue)
one record has blue in txt1 (and not boat)
Example using AND:
SELECT * FROM Data_cp where txt1 lucene "boat AND blue"
This works fine as it doesnt list any records
Example using AND and prepared statements
SELECT * FROM Data_cp where txt1 lucene :txt1   (value {txt1:"boat AND blue"})
This will list both records which it should not (as if the AND has been stripped out)
Example using boost ^:
SELECT * FROM Data_cp where txt1 lucene "boat  blue^4"
This list the record with blue first then the other record
Example using prepared statements
SELECT * FROM Data_cp where txt1 lucene :txt1   (value {txt1:"boat blue^4"})
This list the boat record first which it should not (as if the ^4 has been stripped out)

Not able to reproduce this one, closing!


Optimized image files

Some icons were not optimized.
So I optimized icons by using ImageOptim.
After optimized, the icons size are reduced 31.3% on average.

Could you review it? :bow:

Why?

@aungaungsoe10 What do you mean?

Leave

It compressed the images. It's a bad idea to do that.
My suggestion is: try out the SteelBytes JPG/PNG Stripper, it removes only metadata - without compression.
Plus, you only saved 108 KB with compressions. I don't know you, but I'd rather make my app 108 KB bigger and have full quality icons than compressing them.

Thank you for your contribution, but since we've mostly switched to using vector drawables, and the fact that there was the complete rewrite, I'm going to just close this PR.


[Bug]: chromadb python client 422 Client Error with chroma server

What happened?
I try to query an existing collection from a python chroma client querying a chroma server but I encounter a 422 http error code as described below
when querying the chroma server exposed through docker.
Client code for the query
def query(q: str):
    chroma_client = chromadb.HttpClient(host=CHROMA_DB_HOST, port=CHROMA_DB_PORT)
    embedding_function = embedding_functions.HuggingFaceEmbeddingFunction(EMBEDDING_MODEL)
    chroma_collection = chroma_client.get_or_create_collection(COLLECTION_NAME, embedding_function=embedding_function)
    results = chroma_collection.query(
        query_texts=[q],
        n_results=3,
        # where={"metadata_field": "is_equal_to_this"}, # optional filter
        # where_document={"$contains":"search_string"}  # optional filter
    )
    print(results)

And when this part executes I have the following error when doing the query:
I tried to disable telemetry in both my client and server side but same issue.
Client side log:
injector  | Traceback (most recent call last):
injector  |   File "/usr/local/lib/python3.11/site-packages/chromadb/api/fastapi.py", line 628, in raise_chroma_error
injector  | Chroma host=vectordb, chroma port=8000, collection name=documents
injector  |     resp.raise_for_status()
injector  |   File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
injector  |     raise HTTPError(http_error_msg, response=self)
injector  | requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: http://vectordb:8000/api/v1/collections/b0519373-d732-49ba-a093-81e78632dd01/query
injector  |
injector  | During handling of the above exception, another exception occurred:
injector  |
injector  | Traceback (most recent call last):
injector  |   File "/usr/src/app/inject.py", line 96, in <module>
injector  |     query("Give me a chocolate cake recipe")
injector  |   File "/usr/src/app/inject.py", line 72, in query
injector  |     results = chroma_collection.query(
injector  |               ^^^^^^^^^^^^^^^^^^^^^^^^
injector  |   File "/usr/local/lib/python3.11/site-packages/chromadb/api/models/Collection.py", line 330, in query
injector  |     query_results = self._client._query(
injector  |                     ^^^^^^^^^^^^^^^^^^^^
injector  |   File "/usr/local/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 127, in wrapper
injector  |     return f(*args, **kwargs)
injector  |            ^^^^^^^^^^^^^^^^^^
injector  |   File "/usr/local/lib/python3.11/site-packages/chromadb/api/fastapi.py", line 564, in _query
injector  |     raise_chroma_error(resp)
injector  |   File "/usr/local/lib/python3.11/site-packages/chromadb/api/fastapi.py", line 630, in raise_chroma_error
injector  |     raise (Exception(resp.text))
injector  | Exception: {"detail":[{"type":"list_type","loc":["body","query_embeddings"],"msg":"Input should be a valid list","input":{"error":"Authorization header is correct, but the token seems invalid"},"url":"https://errors.pydantic.dev/2.4/v/list_type"}]}
injector exited with code 1

Server side log, first connections get 200 status code, last one get a 422.
vectordb  | INFO:     [14-11-2023 07:37:28] <IP_ADDRESS>:42940 - "GET /api/v1/tenants/default_tenant HTTP/1.1" 200
vectordb  | INFO:     [14-11-2023 07:37:28] <IP_ADDRESS>:42940 - "GET /api/v1/databases/default_database?tenant=default_tenant HTTP/1.1" 200
vectordb  | INFO:     [14-11-2023 07:37:28] <IP_ADDRESS>:42940 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 200
vectordb  | INFO:     [14-11-2023 07:37:28] <IP_ADDRESS>:42940 - "POST /api/v1/collections/b0519373-d732-49ba-a093-81e78632dd01/query HTTP/1.1" 422

My docker-compose file for the chroma server is as proposed in the doc:
  vectordb:
    container_name: vectordb
    image: ghcr.io/chroma-core/chroma:0.4.17
    volumes:
      - ./data/chroma:/chroma/chroma/
    env_file:
      - .env
    environment:
      - CHROMA_DB_PORT=${CHROMA_DB_PORT}
      - ANONYMIZED_TELEMETRY=False
    restart: always
    ports:
      - "${CHROMA_DB_PORT}:8000"

Versions
client python: chromadb-client==0.4.18.dev0
server: docker image chroma:0.4.17
Docker version 24.0.6, build ed223bc
macOS 14.1 (23B74)
Relevant log output
No response

@fpaupier, I think your issue is with the HuggingFaceEmbeddingFunction. What I suspect happens is that you are trying to use the HF inference API, but you are probably not supplying the API key.
Try creating an API read key in HF UI and then add this to your code:
...
embedding_function = embedding_functions.HuggingFaceEmbeddingFunction(EMBEDDING_MODEL, api_key="HF_API_KEY")
...

Thanks @tazarov indeed my issue was related to the way I generated my embedding function.
I got it working by replacing my embedding function in the query function from
    embedding_function = embedding_functions.HuggingFaceEmbeddingFunction(EMBEDDING_MODEL)

which indeed needed an HF API key to the version below that does not require an API key:
    sentence_transformer_ef = embedding_functions.SentenceTransformerEmbeddingFunction(model_name=EMBEDDING_MODEL)

it was indeed mentioned in the chroma documentation [https://docs.trychroma.com/embeddings#sentence-transformers]


update 2.1 to 2.1.1 on windows server 2012

I did update the couchDB on windows server 2012
from version 2.1 to 2.1.1
to be clear i couldn't able to run the new setup so uninstall the old version and installed the new one.
after install if i enter the fauxton using localhost:// or using <IP_ADDRESS>://    the databases list will be as on image

if i enter the Fauxton from my public IP the database list look normal as old version

it seems all the way i updated is wrong....
now i did uninstall it and install again and cant configure as a single node..
when enter http://<IP_ADDRESS>:5986/_utils/#/setup/singlenode
the javascript give me tow errors
http://<IP_ADDRESS>:5986/_membership  400 (Bad Request)
http://<IP_ADDRESS>:5986/_cluster_setup 400 (Bad Request)
should i re install the previous version 2.1?
any suggestion?
Thanks for your help.

If you've already set it up as single node, you don't have to repeat the setup steps after the reinstall.
Don't ever use the :5986 port for Fauxton. Always use the :5984 port unless the instruction manual specifically tells you otherwise.
http://<IP_ADDRESS>:5984/_utils should look fine and your setup steps should be fine as well.


CLOUD-44801: Credential could not delete in cloudbreak because archiv…

…ed flag not true
@doktoric plz

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1819/


Nightly feature flag non existent

In the master branch of librespot the nightly flag does not exist, see here. However in the v0.2 branch from plietar we can see that it is still there, see here.
In the v0.2 branch this is the nightly flag:
nightly = ["serde_derive"]

Should it be added back in as an option or is it now unneeded and the wiki changed?

i don't believe it does anything in the current version, though @plietar would be the best person to talk to about that. the v0.2 branch was the beginning of a rewrite for librespot, but serde_derive doesn't look to do much, given that Serialize and Deserialize are already in use from the serde_json library...

serde_derive has been working on Rust stable since 1.16. I'm pretty sure the recommendation in the readme is just a left over from a while ago and can be deleted now.

Closing then, as readme has no mention of nightly flag. Reopen if necessary.


Lens unusable: connection to cluster closed seconds after being established

Describe the bug
When I start Lens I get connected to the cluster and can browse around for about 20 seconds. Then, Lens looses the connection and shows an "ETIMEDOUT" error. Pressing the "Reconnect" button ends again with no connection and the "ETIMEDOUT" error.
When I restart Lens, I get connected, but again only for about 20 seconds.
This makes Lens unusable.
A reinstallation via brew cask did not fix the problem.
To Reproduce
The problem appears (also for a colleague) with version 3.6.7. I have no further information how to reproduce the issue with other installations as I don't know what might trigger this behavior.
Expected behavior
No connection closings to the cluster. :-)
Screenshots
I attach a screenshot with the developer tools open. Maybe this can help. There are some connections with timeouts (though I don't understand what they are for):

Environment (please complete the following information):

Lens Versions: 3.6.7, 3.6.8, 4.0.0-alpha.4
OS: MacOS Catalina 10.15.7
Installation method: brew cask

Logs:
I don't know where I can get the logs from. :-/
Kubeconfig:
The config has not changed for weeks while the connection issues are new.
Please tell me what additional info you need / would like to have. I am happy to provide them.
Thanks in advance for your help.

Additional note: I tried to download an older version of Lens to overcome the issue. But Lens always updates itself to the latest version (3.6.7) which then has the issue again.

The issue is not solved in version 3.6.8 - I just cross-checked. Other tools like kubectl or k9s still work with the same clusters.

Please could you tell more about the kubernetes cluster, what distro do you use and what is the authentication method?

I log via user/client-certificate. The login itself seems not the problem as it works for some seconds.
For the distro I will come back to you ASAP.

Now I got the info: it's vanilla Kubernetes v1.15.10

Meanwhile it seems the problem are either due to a bad internet connection or misconfigured network routes.
However, it would be interesting to know more about the failed connections (see screenshot); some details might help for future investigations.

Is this related to #1022? Namely, do you have a antivirus that might be blocking the connection?

@Nokel81: Maybe. Meanwhile it's working again and I can't cross-check with my setup back than as I am using Big Sur and Lens 4.X.X now.


3-5 updates

👷 Deploy Preview for gracious-mcclintock-aa8c1f processing.
🔨 Explore the source changes: 143f437f87be4a707da4beee0d5140920935354a
🔍 Inspect the deploy log: https://app.netlify.com/sites/gracious-mcclintock-aa8c1f/deploys/62244a6ed02cc200086f9e59


Set cachecontrol for frequently hit static endpoints

Feature Request
Desired behaviour
Experiment with https://www.dropwizard.io/1.0.1/dropwizard-jersey/apidocs/io/dropwizard/jersey/caching/CacheControl.html based on kibana results to identify frequent unchanging endpoints. Test with lighthouse lab audits .
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.9.X
┆Sprint: Sprint 40 Octopus
┆Issue Number: DOCK-416

Also consider use of caching certain results in database, memcached, or redis

https://redislabs.com/lp/memcached-java/

Cache control doc is now here: https://www.dropwizard.io/en/latest/manual/core.html#caching

The problem with having the browser cache API calls is how do you invalidate the cache?
For example, one obvious candidate to cache is /api/metadata/config.json, as the UI blocks loading until that request is complete. It's really fast already for me, 40-100ms, but caching makes it even faster, down to 3ms.
The problem is going to be that one day we will release a new version of Dockstore that requires additional data in the config.json that won't be present in the cached copy.
While this will be rare, given the frequency of releases where the config.json changes, it has the potential to be a bad experience for users who do run into it, with no obvious workaround, unless the user knows how to use browser dev tools and disable cache.
Explored ways around this, but I don't think either will work:

Get the cached copy, then fetch it again when that is complete; gives the user a quick response, but then we update it later. The problem is this needs to be done with an http interceptor, which starts getting tricky because how do you know in a global interceptor which whether you want the cached result or not?
Try and invalidate the cache. There is the HTML 5 Cache Web API, but it only works in a Service Worker on Chrome in my tests. There is window.reload(true), but that (old) answer says it doesn't work on Chrome.

Bottom line; I don't think this is worth pursuing.

The performance gains are fairly minimal for the few endpoints I identified.
The potential for having a user messed up with any obvious recourse is not worth it.

As an alternative, I suggest revisiting service workers, where the service worker can both cache certain endpoints and invalidate them itself. Ryan tried a while ago, and ran into issues over a year ago, but maybe both browser and Angular support of this has since improved.

Seems like a reasonable assessment to me, I think we have bigger fish to fry


v3

And here we go.
I was very busy last months, but now I can continue development.
Roadmap

[ ] correct logging in node (ssr, f.e.)
[ ] correct logging in react-native
[ ] better docs, because now it's little bit messy

anything else?

#158 too

When I update to 2.7.0, diff is still not appear ? Is it ready?

Diff is turned off by default. It doesn't work really well, actually (currently handling simple diff cases only).
In order to use the feature you should set diff property to true in your options object.

Abandoned


Local pull request success status testing

Docs Build status updates of commit 8ca3da7:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8ca3da7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Option parser

Sometimes you may want to pre-process a value, ie:
class Foo
  extend Dry::Configurable

  setting :path { |value| Pathname(value) }
end

This would be handy. In the past I've had to override it by doing something like this:
class Foo
  extend Dry::Configurable
  setting :path

  def self.path
    Pathname(config.path)
  end
end

And then remembering to use that reader everywhere rather than the config value directly.

@solnic @timriley this could be covered by https://github.com/dry-rb/dry-configurable/pull/10
class Foo
  extend Dry::Configurable

  setting :path
  setting(:pathname) { |config| Pathname(config.path) }
end

Foo.configure do |config|
  config.path = 'test'
end

Foo.config.pathname
=> #<Pathname:test>

Not sure if I follow, this seems like two different things

Yeah, the fact that we end up with 2 configs in that example, when we really only wanted one that we could modify when it's set, shows that #10 (if we did decided to incorporate it) doesn't achieve the feature described here all that well?

Yeah I was thinking about this the other night and came to the same conclusion

@solnic @timriley WDYT about an interface like:
class Foo
  extend Dry::Configurable

  setting :path, processor: ->(value) { Pathname(value) }
end

See: https://github.com/dry-rb/dry-configurable/pull/11


No history button in "code view" beta

New "code view" has a different HTML structure.

@texastoland Do you have the wrong link in your issue description? I also see the same issue. No Open in Git History button anymore.

Link fixed thanks 🙊 I suspect the change in HTML structure broke the injection point for several extensions.

Hi Guys, I really didn't notice this bug. I will fix it right now. Thanks a lot for notice it


It won't let me start it.

When I try to run "Start stable-diffusion" it tells me this
"The file may be malicious, so the program is not going to read it.
You can skip this check with --disable-safe-unpickle commandline argument."
and idk how to fix it.
Here is the full error
Error verifying pickled file from /root/.cache/torch/hub/checkpoints/checkpoint_liberty_with_aug.pth:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 134, in load_with_extra
if not shared.cmd_opts.disable_safe_unpickle:
AttributeError: partially initialized module 'modules.shared' has no attribute 'cmd_opts' (most likely due to a circular import)
The file may be malicious, so the program is not going to read it.
You can skip this check with --disable-safe-unpickle commandline argument.
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in
from modules.call_queue import wrap_queued_call, queue_lock, wrap_gradio_gpu_call
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 7, in
from modules import shared, progress
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared.py", line 17, in
from modules import localization, sd_vae, extensions, script_loading, errors, ui_components
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_vae.py", line 6, in
from modules import shared, devices, script_callbacks, sd_models
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 17, in
from modules import shared, modelloader, devices, script_callbacks, sd_vae, sd_disable_initialization, errors, hashes
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_disable_initialization.py", line 1, in
import ldm.modules.encoders.modules
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/ldm/modules/encoders/modules.py", line 7, in
import kornia
File "/usr/local/lib/python3.8/dist-packages/kornia/init.py", line 10, in
from . import (
File "/usr/local/lib/python3.8/dist-packages/kornia/augmentation/init.py", line 43, in
from .container import AugmentationSequential, ImageSequential, PatchSequential, VideoSequential
File "/usr/local/lib/python3.8/dist-packages/kornia/augmentation/container/init.py", line 1, in
from .augment import AugmentationSequential
File "/usr/local/lib/python3.8/dist-packages/kornia/augmentation/container/augment.py", line 17, in
from .patch import PatchSequential
File "/usr/local/lib/python3.8/dist-packages/kornia/augmentation/container/patch.py", line 9, in
from kornia.contrib.extract_patches import extract_tensor_patches
File "/usr/local/lib/python3.8/dist-packages/kornia/contrib/init.py", line 4, in
from .image_stitching import ImageStitcher
File "/usr/local/lib/python3.8/dist-packages/kornia/contrib/image_stitching.py", line 7, in
from kornia.feature import LocalFeatureMatcher, LoFTR
File "/usr/local/lib/python3.8/dist-packages/kornia/feature/init.py", line 4, in
from .integrated import (
File "/usr/local/lib/python3.8/dist-packages/kornia/feature/integrated.py", line 52, in
class LAFDescriptor(nn.Module):
File "/usr/local/lib/python3.8/dist-packages/kornia/feature/integrated.py", line 65, in LAFDescriptor
patch_descriptor_module: nn.Module = HardNet(True),
File "/usr/local/lib/python3.8/dist-packages/kornia/feature/hardnet.py", line 69, in init
self.load_state_dict(pretrained_dict['state_dict'], strict=True)
TypeError: 'NoneType' object is not subscriptable

running latest colab ? https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

Yes, I am using the latest colab

Looks like I managed to fix it by deleting the "sd" folder and then trying again. You should add a warning or something about it. Something like "If you get an error or something, delete the "sd" folder and try again"

I removed the need for removing the folder sd by adding git reset --hard but probably some file is preventing the git pull, I need feedback on which file


rknn.build failure at Global Average Pool input height/width > 128

I am running rknn toolkit for building a model.rknn for running on RK3566.
After rknn.load_onnx() successfully, when run rknn.build(), the following error message occur:
--> Loading model: ./rknn_models/model_3566.onnx done
--> Building model E build: Global Average Pool input height/width > 128, which is not suppoted! E build: Catch exception when building RKNN model! E build: Traceback (most recent call last): E build:   File "rknn/api/rknn_base.py", line 2621, in rknn.api.rknn_base.RKNNBase.build E build:   File "rknn/api/graph_optimizer.py", line 3765, in rknn.api.graph_optimizer.GraphOptimizer.run E build:   File "rknn/api/graph_optimizer.py", line 3518, in rknn.api.graph_optimizer.GraphOptimizer._fuse_ops E build:   File "rknn/api/graph_optimizer.py", line 2210, in rknn.api.graph_optimizer._p_convert_global_avgpool_to_conv E build:   File "rknn/api/rknn_log.py", line 104, in rknn.api.rknn_log.RKNNLog.e E build: ValueError: Global Average Pool input height/width > 128, which is not suppoted! Build pytorch failed!

I checked my source code, I did not use the Global Average Pool anywhere. And actually I did explicitly remove final two layers of basenet (efficientnet) which contains global_pool by assigning them as Identity as below:
   basemodel_name = 'tf_efficientnet_b5_ap'
    print('Loading base model ()...'.format(basemodel_name), end='')
    basemodel = torch.hub.load('rwightman/gen-efficientnet-pytorch', basemodel_name, pretrained=True)
    print('Done.')

    # Remove last layer
    print('Removing last two layers (global_pool & classifier).')
    basemodel.global_pool = nn.Identity()
    basemodel.classifier = nn.Identity()

So it puzzled me why the rknn.build() would complain about the Global Average Pool at all.
Could anyone help to point me to the potential causes and possible fixes?
Thanks a lot for your help in advance.

Global avgpool input height/width support > 128 now for new version 1.2.0, but still should < 343

@rkchrome
Thank you so much for your update. I tried it and it looks like it's making a big progress on my test model. However, this time got stuck at "Fatal: Meet unsupported operator: Sqrt(name="Sqrt_941")."
The error messages as below:
(rknn2) paul@tensor:~/pytorch/AdaBins$ python rk3566onnx.py
right after import torch....
W __init__: rknn-toolkit2 version: 1.2.0-f7bb160f
--> config model
done
--> Loading model: ./rknn_models/model_3566.onnx
done
--> Building model
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
Analysing :   0%|                                                           | 0/
Analysing :  34%|███████████████▉                               | 262/770 [00:00
Analysing :  52%|████████████████████████▍                      | 400/770 [00:00
Analysing :  65%|██████████████████████████████▎                | 497/770 [00:00
Analysing :  77%|████████████████████████████████████▊           | 590/770 [00:0
Analysing : 100%|███████████████████████████████████████████████| 770/770 [00:00<00:00, 1067.81it/s]
I RKNN: librknnc version: 1.2.0 (b162fe95e@2022-01-14T14:12:38)
D RKNN: [11:23:26.989] RKNN is invoked
Fatal: Meet unsupported operator: Sqrt(name="Sqrt_941").

It seems that it cannot build because rknn does not support "Sqrt" operator.
Please advise how to fix this issue. Thanks a lot.

Sqrt is not supported temporarily

Do we know when Sqrt well be supported? Thank you.

Do we know when Sqrt well be supported? Thank you.

Sqrt may be supported on next format release version as soon.
If you need Sqrt in LayerNorm, maybe next version will open graph-optimization for it.

@HunterRockchips,
I upgrade to the latest version 1.3.0 and indeed the Sqrt error is gone! Thank you very much.
But now I encounter the following error:
Fatal: Meet unsupported operator: CumSum(name="CumSum_1274").
When would the CumSum operator would be supported? or What command I can change in my code to avoid this unsupported error?
Thanks a lot for your help.

This op(CumSum) is not in develop plan. I suggest you change you graph with other operators which had supported.

@HunterRockchips,
I upgrade to the latest version 1.3.0 and indeed the Sqrt error is gone! Thank you very much.
But now I encounter the following error:
Fatal: Meet unsupported operator: CumSum(name="CumSum_1274").
When would the CumSum operator would be supported? or What command I can change in my code to avoid this unsupported error?
Thanks a lot for your help.

meet the same question
I rknn building ...
I RKNN: librknnc version: 1.3.0 (c193be371@2022-05-04T20:23:58)
D RKNN: [10:47:53.678] RKNN is invoked
Fatal: Meet unsupported operator: Sqrt(name="Sqrt_51").
to:rockchip
sqrt not supportin rknn2 1.3version,please add the op in it next version

@HunterRockchips
After I replace torch.cumsum with equivalent python code in my model, now it encounters a new unsupported operator:
Fatal: Meet unsupported operator: ScatterND(name="ScatterND_1308").
So are we going to add "ScatterND" op soon?
Thank you.

Temporarily not. Maybe Sqrt will support quicker.

Or, you can cut the model into 2 pieces, and execute this op by cpu.


✨ Display achievements in Flex layout

Currently Achievements on the Profile page are displayed in a CollectionView.
@jaydenalchin wants to have dynamic number of Achievements in a row depending on the screen width.

Not relevant anymore as the Profile page was re-designed in v2024.


bundler: failed to load command: jekyll

Hello!
I just cloned this repo to start working on a German translation and I followed all instructions in README.md#development to install all dependencies. But when I try to run a local instance via ./script/server it fails:
❯ ./script/server
Configuration file: /Users/asuender/Documents/Coding/opensourcefriday/_config.yml
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
            Source: /Users/asuender/Documents/Coding/opensourcefriday
       Destination: /Users/asuender/Documents/Coding/opensourcefriday/_site
 Incremental build: enabled
      Generating...
WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 49 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/borders.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 6 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/flexbox.scss
         from line 8 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 54 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/layout.scss
         from line 9 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 79 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/layout.scss
         from line 9 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 6 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/margin.scss
         from line 10 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 7 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/padding.scss
         from line 11 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 159 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/typography.scss
         from line 12 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 18 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/lib/visibility-display.scss
         from line 14 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-utilities/index.scss
         from line 4 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

WARNING: Unfortunately, no value could be retrieved from ``. Please make sure it is defined in `$breakpoints` map.
         on line 17 of /Users/asuender/Documents/Coding/opensourcefriday/node_modules/primer-support/lib/mixins/layout.scss, in `breakpoint'
         from line 6 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-layout/lib/grid-offset.scss
         from line 5 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/primer-layout/index.scss
         from line 5 of /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-theme-primer-0.6.0/_sass/jekyll-theme-primer.scss
         from line 1 of an unknown file

                    done in 1.92 seconds.
 Auto-regeneration: enabled for '/Users/asuender/Documents/Coding/opensourcefriday'
bundler: failed to load command: jekyll (/Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/bin/jekyll)
<internal:/opt/homebrew/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- webrick (LoadError)
	from <internal:/opt/homebrew/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve/servlet.rb:3:in `<top (required)>'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:184:in `require_relative'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:184:in `setup'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:102:in `process'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:93:in `block in start'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:93:in `each'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:93:in `start'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/gems/jekyll-3.9.3/exe/jekyll:15:in `<top (required)>'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/bin/jekyll:25:in `load'
	from /Users/asuender/Documents/Coding/opensourcefriday/vendor/gems/ruby/3.2.0/bin/jekyll:25:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli/exec.rb:58:in `load'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli/exec.rb:23:in `run'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli.rb:491:in `exec'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli.rb:34:in `dispatch'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/cli.rb:28:in `start'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/exe/bundle:45:in `block in <top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/exe/bundle:33:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.2.0/bin/bundle:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.2.0/bin/bundle:25:in `<main>'

I managed to solve this by adding the webrick dependency to the Gemfile:
gem "webrick", "~> 1.8"

Or just:
bundle add webrick

OS: MacOS 13.2 (22D49)
Ruby version: 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
RubyGems version: 3.4.6

I am new to Ruby & jekyll but shouldn't we add this to the Gemfile?

In this case, since you had to manually add the webrick gem to resolve the issue, it's a good idea to add it to the Gemfile so that others who clone the repository can easily install all dependencies by running bundle install. Including the specific version ("~> 1.8") in the Gemfile is also a good practice to avoid potential compatibility issues in the future.
You can open the Gemfile in a text editor and add the following line:
gem "webrick", "~> 1.8"
After adding the line, save the Gemfile and run bundle install to ensure that the webrick gem is installed with the specified version.

Thanks for the report, I've opened a PR for this addition.


Fix for vertical scrollbar appearing when mouse plugged in

Injected CSS could potentially be moved to a separate file in the future.
Fixing this:

Remove console.log
s/styles/style

Oops. That's a bit embarrassing.

Ping. It seems that this also fixes the inertial overscroll issues that started manifesting on the latest release build for the past few weeks (even though I remember somebody specifically submitting a PR to fix that).


Windows 11 not working

I was trying to set this up with the executable on my windows 11 computer.
I got this error when trying to install 1.20.5

After I removed /.kit and then installed 1.5.1 it installed and showed a ... expected window

so I press ctrl + ; and I get this window

I'm not sure what I'm supposed to do here.

Let me know if I can help


fix: authorize nil value for object evaluation

This PR
Allow using a nil value when calling the ObjectValueDetails method.
Related Issues
Fixes #117

Codecov Report

Merging #118 (b25617d) into main (fd678bd) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
- Coverage   73.04%   73.00%   -0.05%
==========================================
  Files           8        8
  Lines         653      652       -1
==========================================
- Hits          477      476       -1
  Misses        159      159
  Partials       17       17

Impacted Files
Coverage Δ

pkg/openfeature/client.go
72.96% <100.00%> (-0.06%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I tried to fix everything from my phone, but it was not a good idea 🤦.
It should be fine now.

I tried to fix everything from my phone, but it was not a good idea facepalm. It should be fine now.

Honestly I'm impressed you even attempted it!


To use contractions or not to use contractions?

I noticed in the Installation page that there's a frequent blend of contracted and non-contracted language. For example, "we'll" versus "we will".

[…] we'll cover system requirements […]

If you haven't already, you will need […]

I think it should come to the following decision: should the Installation page feel more like formal documentation or like a friendly tutorial? For the former, complete words are preferred while for the latter, contractions are preferred.

It should sound natural. I dunno about you, but I don't always use contractions when I'm talking. It depends on what I'm saying. So I'm not certain we should have a hard rule that everything must be contracted. But that contractions are okay and we should use them where it feels natural.

@danrabbit I see. So you're rather on the "let's make it friendly without being pedantic about it" side?

@maliktunga yes, the "elementary voice" tends to be human, natural, and friendly. Not pedantic. We're free to mix contractions and non-contracted phrases as long as it is clear and sounds natural.


Add support for upgrading SharePoint Framework 1.4.0 projects

Add support for upgrading SharePoint Framework 1.4.0 projects

@waldekmastykarz  feel free to assign that to me

All yours @VelinGeorgiev!


Document and automate contract upgrades and roles configuration

There are several roles defined in contracts and their definition is split between multiple files (contracts, RFCs, YellowPaper). There is no single document defining how to set up all roles properly after deploying contracts.
A similar situation is for contract upgrades. There is no single document defining what parts of the system can be upgraded, what are the implications and how to technically perform the update.
The outcome of the work on this issue should be a document in docs/ describing how to deploy contracts and setup roles, what the roles are, and what are the mainnet recommendations. It should describe what parts of the system can be upgraded, implications, and how to perform the upgrade. All the code snippets, if needed, should be shipped along with the document.
We will use this document as a reference for system tests later and during mainnet deployment.
At least some basic validation of upgrades and statements in the document should be performed.

Done by @nkuba in his deployment scripts.


Convert yolo failed using your way

Hi
I meet a problem when I convert yolo.weight (not tinyyolo) and hope you can help me.
Environment
Python 3.5.2 + Python 2.7.13
pip2 list
coremltools (0.4.0)
funcsigs (1.0.2)
h5py (2.7.0)
Keras (2.0.4)
mock (2.0.0)
numpy (1.13.1)
pbr (3.1.1)
pip (9.0.1)
protobuf (3.3.0)
PyYAML (3.12)
scipy (0.19.1)
setuptools (32.1.0)
six (1.10.0)
tensorflow (1.0.1)
Theano (0.9.0)
wheel (0.29.0)

pip3 list
h5py (2.7.0)
Keras (2.0.4)
numpy (1.13.1)
olefile (0.44)
Pillow (4.2.1)
pip (8.1.2)
protobuf (3.3.0)
pydot-ng (1.0.0)
pyparsing (2.2.0)
PyYAML (3.12)
scipy (0.19.1)
setuptools (25.2.0)
six (1.10.0)
tensorflow (1.0.1)
Theano (0.9.0)
wheel (0.29.0)

Step 1 Convert yolo.weights to yolo.h5 success. And I've tested the .h5 can work normally.
Step 2 Convert yolo.h5 to coreml
command: python2 coreml_yolo.py
output:
Traceback (most recent call last):
  File "coreml_yolo.py", line 12, in <module>
    coreml_model = coremltools.converters.keras.convert('yad2k/model_data/yolo.h5')
  File "/usr/local/lib/python2.7/site-packages/coremltools/converters/keras/_keras_converter.py", line 477, in convert
    predicted_feature_name = predicted_feature_name)
  File "/usr/local/lib/python2.7/site-packages/coremltools/converters/keras/_keras2_converter.py", line 149, in _convert
    model = _keras.models.load_model(model)
  File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 240, in load_model
    model = model_from_config(model_config, custom_objects=custom_objects)
  File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 304, in model_from_config
    return layer_module.deserialize(config, custom_objects=custom_objects)
  File "/usr/local/lib/python2.7/site-packages/keras/layers/__init__.py", line 54, in deserialize
    printable_module_name='layer')
  File "/usr/local/lib/python2.7/site-packages/keras/utils/generic_utils.py", line 140, in deserialize_keras_object
    list(custom_objects.items())))
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2416, in from_config
    process_layer(layer_data)
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2385, in process_layer
    custom_objects=custom_objects)
  File "/usr/local/lib/python2.7/site-packages/keras/layers/__init__.py", line 54, in deserialize
    printable_module_name='layer')
  File "/usr/local/lib/python2.7/site-packages/keras/utils/generic_utils.py", line 140, in deserialize_keras_object
    list(custom_objects.items())))
  File "/usr/local/lib/python2.7/site-packages/keras/layers/core.py", line 706, in from_config
    function = func_load(config['function'], globs=globs)
  File "/usr/local/lib/python2.7/site-packages/keras/utils/generic_utils.py", line 198, in func_load
    code = marshal.loads(code.encode('raw_unicode_escape'))
ValueError: bad marshal data (unknown type code)

I also tried Keras version 1.2.2, same problem.

Yes, the full YOLO model contains a type of layer that is currently not supported by Core ML.

@hollance Thanks for your reply 😄
And I have another problem. Something I downloaded TinyYOLO which have 80 classes and convert it to .mlmodel.

I record a gif.

Here is what I changed:
let lebels = [
"person", "bicycle", "car", "motorbike", "aeroplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "sofa", "pottedplant", "bed", "diningtable", "toilet", "tvmonitor", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"
]

let anchors: [Float] = [0.738768 ,0.874946, 2.42204, 2.65704, 4.30971, 7.04493, 10.246, 4.59428, 12.6868, 11.8741]

Did I made something wrong?

@hollance Do you have any ideas about it?

I haven't tried this version of the model myself. I first would check that the number of bounding boxes is correct (there seem to be quite a few of them), then what the coordinates of the boxes are. Maybe the anchors are wrong?

The number of bounding boxes is 10. (seems right?)
The .cfg of tiny-yolo and tiny-yolo-voc seems similar. So I guess I don't need change other properties except labels, anchors and model ?
And the anchors was copied from the generated tiny-yolo_anchors.txt. It should be right.
I've already ran test_yolo.py and the result seems correct. But it all mess when I change the model in iOS.
Do you mind to test it for me if you have time? Thanks in advance

Hi @hollance
I did some test today. This is the step below:

Add debugPrint at method computeBoundingBoxes after filter by confidence threshold.

debugPrint("prediction count after filter by confidence ==> ", predictions.count)

Add debugPrint at method computeBoundingBoxes before return so the end of method become

let results = nonMaxSuppression(boxes: predictions, limit: YOLO.maxBoundingBoxes, threshold: iouThreshold)
debugPrint("result count after filter: ", results.count)
return results

Run & let camera face a object that can not be identified.

Result:
When I ran your model (Tiny-YOLO-VOC) that have 20 classes, the two debugPrint always be 0 and that the right result.
When I ran the model (Tiny_YOLO) that have 80 classes. The first debugPrint always > 70 and the second one always = 10(limit box count)
The situation didn't become good even I change the confidenceThreshold to 0.8. So forget the anchors temporarily because this result is not expected.
The result seems good when I ran test_yolo.py after generated .h5. So I'm very doubt about the result I saw in iOS.

Do you have any ideas?

Hi @hollance
I think I found the reason after read all code.
In method computeBoundingBoxes there is a const named numClasses, I need to change it to 80. And the colors should be changed also.
I'm sorry for disturbing you. Thanks to provided such a good example. 😄

Great, I'm happy it works now. :smile:

@hollance @lubeast I was trying to convert full yolo using yad2k too and have faced the same problem. The real issue is in the converted Keras model from Darknet and not that coreml don't support all of the layers.
@lubeast Have you made any progress in this area?
Simple script can prove that
from keras.models import load_model
model = load_model('yad2k/model_data/yolo-voc.h5')

These comments might help:
https://github.com/fchollet/keras/issues/7440#issuecomment-343648667
https://github.com/allanzelener/YAD2K/issues/80#issuecomment-343685850


[Bug][Test] Test function testCreateGenericExecutor would fail with NullPointerException

What happened
After running maven command mvn install, it would raise error shown below
-------------------------------------------------------------------------------
Test set: com.bytedance.bitsail.test.e2e.executor.generic.GenericExecutorTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.125 s <<< FAILURE! - in com.bytedance.bitsail.test.e2e.executor.generic.GenericExecutorTest
testCreateGenericExecutor(com.bytedance.bitsail.test.e2e.executor.generic.GenericExecutorTest)  Time elapsed: 0.113 s  <<< ERROR!
java.lang.NullPointerException
	at com.bytedance.bitsail.test.e2e.executor.generic.GenericExecutorTest.testCreateGenericExecutor(GenericExecutorTest.java:55)

What do you expect to happen
No response
How to reproduce

mvn clean
mvn install

Build Environment

OS: WSL Ubuntu 20.04
JDK: 1.8.0_362
Maven: 3.6.3

Execution Environment
No response
BitSail version
master
BitSail Component or Code Module
BitSail Test
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@hk-lrzy plz cc


RLNjs-lite: Expose circuit-wrapper without bundled with RLNjs

What's wrong?
The RLN class exposed in RLNjs's index.ts is quite large, encompassing a lot of default functionalities. For certain use cases, users may only need the circuit-wrapper, without the added bulk of the other features and extra size.
How to fix it?

Make circuit-wrapper more user-friendly.
Expose the circuit-wrapper for users who only require basic functionalities, allowing them to generate and verify proofs using the TypeScript interface.
Consider publishing a separate RLNjs-lite version that specifically addresses this streamlined use-case.

Closed by https://github.com/Rate-Limiting-Nullifier/rlnjs/pull/97


format phone numbers in search

cc @keybase/y2ksquad
Issue: Y2K-388
w=1 is your friend

This might not work for cases where we append contact component label to DisplayLabel - like "(phone)" or "(work)" when contact has more than one component.
https://github.com/keybase/client/blob/master/go/contacts/contacts.go#L193
for simplicity we can remove this for now

@zapu I know but it's better than nothing for now.


error with get_scored_comparisons()

Thank you for creating and publishing this package. I am familiar with R's fastLink, and hoping to use this in my own work as a faster solution.
I am attempting to implement your demo code on my institution's cluster and receiving the following error when calling get_scored_comparisons()
Traceback (most recent call last):
  File "/scratch/gpfs/ericmm/splink_demo/demo.py", line 30, in <module>
    df_e = linker.get_scored_comparisons()
  File "/home/ericmm/.local/lib/python3.8/site-packages/splink/__init__.py", line 101, in get_scored_comparisons
    df_comparison = block_using_rules(self.settings_dict, self.df, self.spark)
  File "/home/ericmm/.local/lib/python3.8/site-packages/typeguard/__init__.py", line 1032, in wrapper
    retval = func(*args, **kwargs)
  File "/home/ericmm/.local/lib/python3.8/site-packages/splink/blocking.py", line 204, in block_using_rules
    df.createOrReplaceTempView("df")
  File "/home/ericmm/.local/lib/python3.8/site-packages/pyspark/python/lib/pyspark.zip/pyspark/sql/dataframe.py", line 188, in createOrReplaceTempView
  File "/home/ericmm/.local/lib/python3.8/site-packages/pyspark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/java_gateway.py", line 1309, in __call__
  File "/home/ericmm/.local/lib/python3.8/site-packages/pyspark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 117, in deco
pyspark.sql.utils.AnalysisException: Recursive view `df` detected (cycle: `df` -> `df`)

I am also getting the same error when implementing your demo code on my own machine. I am fairly unfamilar with Spark, so the issue may be my own. Just thought I'd flag. Any advice you can provide would be welcome. Thanks!

Thanks for the report.  I haven't seen that error before. Are you able to post the full code you're running?  Also if you could let me know what version of spark you're using that'd be helpful

Once I rolled back to Spark 2.2 (rather than 2.4, which was temporarily unavailable on our cluster) I was unable to replicate the error. This is doubtless my fault, as I was using the wrong jar versions. I consider this closed. (Happy to discuss further if you'd find it helpful.)


Annotation apf.kubernetes.io/autoupdate-spec not registered or documented

This is a Bug Report

Problem:
According to https://github.com/kubernetes/website/pull/42114#discussion_r1287382508, Kubernetes uses an annotation: apf.kubernetes.io/autoupdate-spec. However, this annotation isn't registered (registration means adding it into https://kubernetes.io/docs/reference/labels-annotations-taints/)
Proposed Solution:
Register and document the annotation. I am not sure which version of Kubernetes added / will add the support for this annotation.
Page to Update:
https://kubernetes.io/docs/reference/labels-annotations-taints/

Additional Information:
/sig api-machinery
/language en

@sftim  i would like to work on this issue

/triage accepted

Anyone is welcome to work on this. See https://kubernetes.io/docs/contribute/ for information about contributing to Kubernetes, including to the documentation.

/triage accepted

hey @sftim can i work on this issue

Anyone is (still) welcome to work on this. See https://kubernetes.io/docs/contribute/ for information about contributing to Kubernetes, including to the documentation.

can you assign me this issue?

@bezalel-7 you are welcome to work on this issue; we have a no cookie licking policy in SIG Docs.
Anyone is welcome to work on an issue. If someone has already said that they plan to work on it, it's polite to liaise with them first. However, a second contributor can join the effort: either by opening their own PR, by reviewing the first contributor's work, or by some other means such as pairing.
We rarely assign issues to contributors because of the policy on not licking the cookie.

I'll add one thing. If people - including you @bezalel-7 - would like to document a missing annotation, take a look at https://github.com/kubernetes/website/issues?q=is%3Aissue+is%3Aopen+"not+registered+or+documented"+sort%3Acreated-asc+label%3Atriage%2Faccepted
Working top down (ie, oldest first) is even more helpful.

/assign


Settings GUI in mod manager

Hey, love the mod. I've been working on this GUI for the settings so they can be easily changed while the game is running:
https://i.imgur.com/Kq9wXo0.png
https://i.imgur.com/HiQCdPx.png
It adds a soft dependency on my shitty mod manager, so it'll continue to work great for your users who don't have the manager. Feel free to make whatever changes you want, or even to just copy paste the code out into your own UI.

This is awesome! Definitely looking forward to adding this. I'm trying to build your branch, and I'm getting SetFieldValue reference or assembly not found. Did you write some extension methods, am I missing some package, or does this require the latest .NET framework?

I'm out of town ATM so I can't verify, but I think that's a new feature added in https://github.com/risk-of-thunder/R2API/commit/c3683d1759f32dca6ec7d0b146f3dc9cce5508a8. You'd either have to update the mod to required a development release of R2API, or replace those calls with the normal reflection calls. My bad, I should have done that in the initial PR.


Provide support for the Mastodon filter v1 API for gotosocial

Describe the bug
In the instance of Gotosocial, the Mastodon filter v1 API is used to achieve filtering functionality.https://github.com/superseriousbusiness/gotosocial/pull/2594
Opening the filter page of Phanpy will only display "Unable to load filters." The action of creating a filter is also not supported.
I thought this was an issue with masto.js and submitted an issue to them. Here is their reply:  https://github.com/neet/masto.js/issues/1059
To Reproduce
Steps to reproduce the behavior:

Open filter page
See error
Try to edit filters
See error

Expected behavior
Being able to display and edit filters normally
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Windows
Edge
Latest

Additional context
Nope

To add context that might help prioritize this: GoToSocial is still in alpha, and has implemented the v1 filter API only because it's an easier starting point, and plans to implement the v2 filter API in a followup according to this comment.

@cheeaun This isn't needed for GoToSocial as of v16.0 which includes an implementation of the v2 Filters API.
https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.16.0


add isatest3 data

Thank you for submitting your data!
Please ensure this checklist is complete before creating the pull request.

[x] All of my data files are named <site_ID>_data*.csv
[ ] All columns are present in my data file(s)
[ ] All columns are named properly
[ ] Data are coded according to the data dictionary
[ ] All measures are within the appropriate scales and distribution

To check boxes, change - [ ] to - [x]
Once you create the pull request, we will automatically check your data files.
If the test fails, you can see the output:

Click Details next to the failed job
Click Run script to view the output of the QC checks

@ivdvelpen your branch name is isatest3 but the branch name needs to equal the site_ID, which corresponds to the directory name in data

I will update the template pull request to add this check box

already saw it, lol end of the day is getting me

Not sure how I can delete the failed data from this pull request? The updated datasets are visible in the pull request to me, but the QC is not taking them

It's working!

Let me know if there is a more helpful output

If you change the data files and commit them, the QC script will run each time. This helps for iterative fixing of issues.

This looks great! Thanks for being on standby and testing today :)

Sure thing! I'm going to add a couple lines that sort the missing columns and extra columns alphabetically, just in case there's a lot as in this example

@ivdvelpen can you try to submit the example file? It has the right column names (it only has 3 rows, but I don't think currently we are checking for the number of rows)

@nedasadeghi we are not.
Now that this is working, tomorrow I'll add a little summary report at the top or bottom of the output.

subject / sex / wave count
mean and range of measures (or count for ASD)

Let me know if you want to see any more summary info

@ivdvelpen you can add more data files to this pull request, they just need to be named isatest3_data*.csv.
To remove files you can:
git rm data/isatest3/isatest_data*
git commit -m 'remove old data files'
git push origin isatest3

@ivdvelpen I just emailed it


MINOR: document how to escape json parameters to ducktape tests

update the readme with an example of correctly escaped JSON to be passed
as the parameters to a parameterized ducktape tests in docker

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Getting the escaping right is surprisingly tricky, since the string gets evaluated by Bash, then wrapped in double-quotes to be passed into the Docker command, where it gets evaluated and passed to ducktape.
Since it took me so long to figure it out, I thought it might be nice to add to the README


translator: add accesslog

fixes: #684
output as follow:
[2022-11-07T01:44:50.341Z] "GET /get HTTP/1.1" 200 - 0 426 0 0 "-" "curl/7.58.0" "f5dec879-4c62-4a7d-a555-d7c044c9d5f0" "www.example.com" "<IP_ADDRESS>:3000"

this's not for https://github.com/envoyproxy/gateway/issues/699

/retest

Codecov Report

Merging #704 (ac8be62) into main (54d44d5) will increase coverage by 0.07%.
The diff coverage is 78.57%.

@@            Coverage Diff             @@
##             main     #704      +/-   ##
==========================================
+ Coverage   63.68%   63.75%   +0.07%
==========================================
  Files          47       47
  Lines        5749     5777      +28
==========================================
+ Hits         3661     3683      +22
- Misses       1864     1867       +3
- Partials      224      227       +3

Impacted Files
Coverage Δ

internal/xds/translator/listener.go
79.18% <78.57%> (-0.09%)
:arrow_down:

internal/provider/kubernetes/tlsroute.go
59.47% <0.00%> (-0.89%)
:arrow_down:

internal/provider/kubernetes/gatewayclass.go
75.36% <0.00%> (+1.44%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Long away reasons are hard to see in userlist

If I stretch the user list wide enough to fully see away reasons, the chat easily becomes unreadable:

Some away reasons are pretty long. This one is 114 characters:

Maybe it should show some kind of hover popup when you bring mouse over an away reason that doesn't fit.

I would put it in the right click menu and it makes a pop up.

@Moosems I made it show the away reason off to the side when hovered. What do you think?
https://user-images.githubusercontent.com/18505570/230886715-3c09fa50-2e34-48c1-a3b3-34aedf8cdf03.mp4
This approach is super simple to the user, but a downside is that it won't help when mantaray is at the right edge of your screen and there's no more space to the right.

I think it's decent, if it's a simple top level without the exit bar at top it might have issues on max and i always keep Mantaray in my bottom right corner so it might be an issue but it certainly looks nice @Akuli.

How about this? It no longer uses Toplevel and it doesn't extend beyond the mantaray window.
https://user-images.githubusercontent.com/18505570/230890629-f54b1ba4-53a8-4f69-beb4-b56e14bd75b2.mp4

And if the name is at the bottom of the list?

Already taken care of :)
https://user-images.githubusercontent.com/18505570/230891541-da64346e-ab3e-4ced-9667-6509ab334146.mp4


How  to train Face Expression Recognition?

Hi, hangsome boy, thanks for your nice work ,  could you share me how to train Facial Expression Recognition.  I didn't find something about these( Dataset and train code).
Hope your reply , thanks.

it's UTKFace DataSet and trained with mobile net and resnet34 as the backbone and
you can train with other backbones in FacialExpression/models/resnet.py
it's a classification and the loss is cross-entropy

it's UTKFace DataSet and trained with mobile net and resnet34 as the backbone and
you can train with other backbones in FacialExpression/models/resnet.py
it's a classification and the loss is cross-entropy

Thank you very much


console warning

i am not 100% sure what this means, but we should aim for oranda pages to have a clean console to the extent that is within our control

https://stackoverflow.com/questions/69619035/error-with-permissions-policy-header-unrecognized-feature-interest-cohort
looks like we may be able to solve this by adding
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">

ok i have confirmed that above answer is correct from a site with a bit more authority than stack overflow, lol https://github.com/WICG/floc#opting-out-of-computation


Shrink amazon_s3.svg by 118 bytes

@edent Path & whitespace optimization by SVG Cleaner, then SVGMO.
N.B.:  Notice the conversion of many M→ m.  IDK why, but I got rendering errors on multiple viewers with the uppercase versions, & the optimizers lowercased them, anyway.

Thanks! Could you update the README as well, please. Then I'll merge.

Thanks! Could you update the README as well, please. Then I'll merge.

Sorry, I'd forgotten about that.  I'll go back & get that for the rest of my PRs, too.

Sorry, I'd forgotten about that.  I'll go back & get that for the rest of my PRs, too.


FE-243: Auto-detect if non-priv mode should be used

Automatically check the environment variable DET_RESOURCES_TYPE, if it has value "slurm-job", which is set by the DispatcherRM when the HPC launcher is in use. Then run it in non privileged mode.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Pankaj Mandal seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Automatically check the environment variable DET_RESOURCES_TYPE, if it has value "slurm-job", which is set by the DispatcherRM when the HPC launcher is in use. Then run it in non privileged mode.

This isn't a very clear description from the Pachyderm perspective.
More like:
When the jupyter_pachyderm plugin is used in an Determined AI root-less/daemon-less HPC container runtime (Singularity/Enroot/Apptatiner/Podman), automatically assume NONPRIV_CONTAINER=1 to enable /pfs to work.
This is accomplished by checking the environment variable DET_RESOURCES_TYPE for the value "slurm-job"  which is set by Determined when launching such containers on an HPC cluster.

closing this due to issues with my email settings.


"client" parameter is now required for generate token request in 10.3

We just encountered that there is an update to ArcGIS Server 10.3 for generate token request, now requires “client” parameter to be included in the request, otherwise we will get this error,
“{"error":{"code":201,"message":"Exception in generating token","details":"Exception in generating tokenFailed to generate a token for the user.Client ID is required for long expiration tokens."}}”
@afili  and I just made a quick patch to the .NET version for a user, by adding the “client” parameter in the generate token request, and this addition seems to be working with previous version of ArcGIS Server.
https://github.com/Esri/resource-proxy/blob/master/DotNet/proxy.ashx#L508
Before : string uri = tokenServiceUri + "?f=json&request=getToken&referer=" + PROXY_REFERER + "&expiration=60&username=" + su.Username + "&password=" + su.Password;
After : string uri = tokenServiceUri + "?f=json&client=HTTP Referer&referer=" + PROXY_REFERER + "&expiration=60&username=" + su.Username + "&password=" + su.Password;
So we need to make this changes to all version of the proxy.
I tested with ArcGIS server 10.2, and this change does not break anything, maybe we should try with older version to make sure.
Reference to ArcGIS Server documentation. http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Generate_Token/02r3000000m5000000/

good find @esoekianto .
in general, shouldn't cause any trouble in older versions of ArcGIS Server as unknown params are typically ignored.

Duplicate/solution for #177 which has been fixed and closed.


Adding blinky for stm32h7g-dk

Changes:

Added a blinky program for stm32h7g-dk DISCO board as it has different LED pin mappings as compared to other boards
Added openocd documentation for the stm32h7g-dk board as it is a very convenient way of testing and debugging the programs

Thanks for the PR! I appreciate the effort to share something that will hopefully be useful for others. Since it's mostly information about the development board and openocd, I won't merge the PR into the main repository. There are other places to find information about debuggers and programming the H7, and while it is convenient to have the information here we sadly don't have the time and resources to keep it up-to-date.


chore: adjust technical user role documentation

Description
Adjust technical user roles to the new roles
Why
To have the latest roles documented
Issue
N/A - Jira Issue: CPLP-3312
Depending Backend PR
#294
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code

 kannst du den noch umbenennen

adjusted


Change pointer at gsplot

We had this fixed at a specific PR (usgs-r/gsplot#473) but that seems to be erroring, trying master.

Coverage remained the same at 97.113% when pulling f351911b45f082cf07e60f8926be075681934ada on update-travis into ace391d04dffe14eb4788603d853db7f4627460c on master.


Don't do "docker system prune" with "make clean"

Have you read a contributing guide?

[X] I have read CONTRIBUTING.md
[X] I have searched the existing requests and didn't find any that were similar
[X] I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem
Doing a docker system prune does clean everything on the system and is not related to this project.
Suggested solution
There should be at least a warning that if one does make clean that this command invokes docker system prune and cleans all unused volumes, networks and images.
Additionally point the user to an URL so they can read into it what this means.
Alternative
No response
Additional context
No response

This was added intentionally and is meant for clearing the test environment.
Let me remind you that the primary purpose of this repository is testing.


undefined symbol: ulViewGetJSContext

 ~/Dev/muon/examples/create-react-app git:master / 247d 23h 50m
 ❯ go build -ldflags="-r ." -o example-app

 ❯ ./example-app
Writing log to: /home/ryan/.cache/MyCompany-MyApp/ultralight.log
./example-app: symbol lookup error: ./example-app: undefined symbol: ulViewGetJSContext

I believe the .so libraries are being found, because when I move them to a different directory I get:
 ~/Dev/muon/examples/create-react-app git:master / 247d 23h 50m
 ❯ ./example-app
./example-app: error while loading shared libraries: libWebCore.so: cannot open shared object file: No such file or directory

Not sure if this is a version difference in ultralight, or if I've just got something configured incorrectly.

Downloading the December 14th 2019 release of Ultralight and copying those libraries into the Muon example completely fixed this for me.
Ultralight doesn't yet have much release history in their github releases, they just provided a link to an XML file of their S3 "Ultralight SDK" bucket hosted on digital ocean...
https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/
For me on Linux x64 that's:
https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-linux-x64.7z
For Darwin x64, I believe that would be:
https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-mac-x64.7z
For Windows x64:
https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-win-x64.7z
It looks like the new beta of Ultralight actually has a lot of new features, so it would be great if someone knows how to update Muon to be compatible with the later Muon release.
Once I switched out the library files, the example works great - and is quite impressive!