Saving work hangs

After re-tagging of a highway I wanted to upload it. ( Logged in on osm)  Screen display becomes darker gray, nothing was saved. A few moments later the screen becomes black

@FransS1945 thanks for submitting this! However I was unable to reproduce the "not savable" issue - did you just hit the gray UI interface for adding changeset comments before uploading to OSM? see below:

Let me know if you could share a little more about how to reproduce the issue :)

closing as stale - I think this was likely fixed already.


Implement bot manager

Closes #360
Now whenever you enter a match there'll be always the maximum amount of player, the diffence being that the arena will communicate with a different app through a get request to start a bot to control the missing players
in this iteration the logic will be as simple as possible, move in a random direction and try to attach each 300ms
Disclaimers:

the character will be hardcoded as "h4ck"

The communication will be as follows (You can also find this diagram on the readme file):
sequenceDiagram

    box  Arena
    participant Arena.GameSocketHandler
    participant GameLauncher
    participant GameUpdater
    end
    box  Bot Manager
    participant Endpoint
    participant BotSupervisor
    participant BotManager.GameSocketHandler
    end

    GameLauncher->>+GameLauncher:start_by_timeout
    GameLauncher->>GameLauncher:init_bots(missing_clients)
    GameLauncher->>GameUpdater:start(clients ++ bots_clients)
    GameUpdater->>GameLauncher:{:ok, game_state}
    GameLauncher->>-Endpoint:get(join/client_id/game_pid)
    Endpoint->>BotSupervisor:spawn_bot(client_id, game_pid)
    BotSupervisor->>BotManager.GameSocketHandler:init(client_id, game_pid)
    BotManager.GameSocketHandler->>Arena.GameSocketHandler:connect(client_id, game_pid)

    loop Every 300ms
        BotManager.GameSocketHandler->>Arena.GameSocketHandler: do_action()
        Arena.GameSocketHandler->>GameUpdater:do_action(player_id, game_id)
    end

Also @agustinesco how would you feel about adding some info logs on bot creation? I think it's a nice utility addition

Also, let's work a little bit on the names of the bots as we discussed! Nothing too fancy, just using some random names from a predefined list, then we can iterate on it later.

Also @agustinesco how would you feel about adding some info logs on bot creation? I think it's a nice utility addition

Yeah seems like a good idea! in fact when i was creating the bots i had some inspects with this information so i see it's utility


auto detect npm/pnpm/yarn on PR comment

https://github.com/run-llama/LlamaIndexTS/pull/1005#issuecomment-2202184703
I think the CI bot should detect the workspace package manager

Yes, you are right. it should detect the package manager. We will fix this soon!
Thanks for using pkg.pr.new and reporting an issue!

to be clear @himself65, where do you want the detected package manager be? is it for the --pnpm argument or you mean the pull request comment pkg.pr.new sends?

process.argv0 ? pnpx -> pnpm, npx -> npm...

the pull request message, yeah

I also assumed you meant the pr message since it is an issue here and must detect the pkg manager.

FYI https://github.com/unjs/nypm
you guys can adopt packageManager detection code from nypm if you don't want to add another dependency

Thank you so much Sadegh for the suggestion!


add changelog for release 0.4.0-rc1

What type of PR is this?

/kind documentation
What this PR does / why we need it:
This adds the changelog for v0.4.0-rc1 Consensus on this PR means approval for v0.4.0-rc1 release
Does this PR introduce a user-facing change?:

None

/cc @robscott @mlavacca

/lgtm !

/lgtm


Modification to systemd service

I have followed a tutorial on how to install streama on CentOS 7 (https://www.howtoforge.com/tutorial/how-to-install-streama-on-centos-7/). I would like to share my modification on creating streama systemd service on ubuntu 16.04.
in the tutorial
[Unit]
Description=Streama Server
After=syslog.target
After=network.target
[Service]
User=root
Type=simple
ExecStart=/bin/java -jar /opt/streama/streama.war
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Streama
[Install]
WantedBy=multi-user.target
my java binary is installed at /usr/bin/java and streama is located at /home/streama/
so my setup is
[Unit]
Description=Streama Server
After=syslog.target
After=network.target
[Service]
User=root
Type=simple
WorkingDirectory=/home/streama/
ExecStart=/usr/bin/java -jar /home/streama/streama.war
TimeoutStartSec=120
Restart=on-failure
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Streama
[Install]
WantedBy=multi-user.target
with 3 additional modifications.

Working directory -> WorkingDirectory=/home/streama/
java location -> ExecStart=/usr/bin/java -jar /home/streama/streama.war
systemd will reload service after 120 seconds after failure to start -> TimeoutStartSec=120

hope this will help somebody.

Oh this is great! Can you maybe add it as a wiki page? that way its more searchable

will do


Cannot import scipy.linalg.triu

Describe your issue.
Where is triu? Why remove stuff and broke other projects???
It's just a boring thing when these things happen.
Maintaining backwards compatibility would be a good thing.
Reproducing Code Example
from langdetect import detect
import time
import pandas as pd
import spacy
import gensim
import os
import numpy as np
import hdbscan
import plotly.graph_objs as go
import nltk
nltk.download('omw')
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
nltk.download('wordnet')
nltk.download('stopwords')
from nltk.stem.snowball import SnowballStemmer
from nltk.tokenize import word_tokenize
from nltk.stem import WordNetLemmatizer
from nltk.stem import PorterStemmer
from nltk.corpus import stopwords
from collections import Counter
from tqdm import tqdm
from datetime import datetime
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
from kneed import KneeLocator
from unidecode import unidecode
import re

Error message
ImportError: cannot import name 'triu' from 'scipy.linalg'

SciPy/NumPy/Python version and system information
scipy 1.13
python 3.12.3

Other example:
`# Manipolazione e analisi dei dati
import pandas as pd
import numpy as np
Elaborazione del testo e dell'HTML
import re
import html2text
from bs4 import BeautifulSoup
from urllib.parse import urlparse, urljoin
import urllib.parse
Visualizzazione dei dati
import matplotlib.pyplot as plt
import plotly.express as px
Machine Learning e NLP
from sklearn.metrics import silhouette_score
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.cluster import KMeans
import nltk
from nltk.corpus import stopwords
nltk.download('stopwords')
from gensim.models import Doc2Vec
from gensim.models.doc2vec import TaggedDocument
Manipolazione del filesystem e JSON
import os
import json
from collections import Counter
from datetime import date
Automazione del web browser
from webdriver_manager.chrome import ChromeDriverManager
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By`
ERROR:
`---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 20
18 from nltk.corpus import stopwords
19 nltk.download('stopwords')
---> 20 from gensim.models import Doc2Vec
21 from gensim.models.doc2vec import TaggedDocument
22 # Manipolazione del filesystem e JSON
File e:\python\amb\Lib\site-packages\gensim_init_.py:11
[7](file:///E:/python/amb/Lib/site-packages/gensim/init.py:7) version = '4.3.2'
[9](file:///E:/python/amb/Lib/site-packages/gensim/init.py:9) import logging
---> [11](file:///E:/python/amb/Lib/site-packages/gensim/init.py:11) from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
[14](file:///E:/python/amb/Lib/site-packages/gensim/init.py:14) logger = logging.getLogger('gensim')
[15](file:///E:/python/amb/Lib/site-packages/gensim/init.py:15) if not logger.handlers:  # To ensure reload() doesn't add another one
File e:\python\amb\Lib\site-packages\gensim\corpora_init_.py:6
[1](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:1) """
[2](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:2) This package contains implementations of various streaming corpus I/O format.
[3](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:3) """
[5](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:5) # bring corpus classes directly into package namespace, to save some typing
----> [6](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:6) from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
[8](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:8) from .mmcorpus import MmCorpus  # noqa:F401
[9](file:///E:/python/amb/Lib/site-packages/gensim/corpora/init.py:9) from .bleicorpus import BleiCorpus  # noqa:F401
...
---> [20](file:///E:/python/amb/Lib/site-packages/gensim/matutils.py:20) from scipy.linalg import get_blas_funcs, triu
[21](file:///E:/python/amb/Lib/site-packages/gensim/matutils.py:21) from scipy.linalg.lapack import get_lapack_funcs
[22](file:///E:/python/amb/Lib/site-packages/gensim/matutils.py:22) from scipy.special import psi  # gamma function utils
ImportError: cannot import name 'triu' from 'scipy.linalg' (e:\python\amb\Lib\site-packages\scipy\linalg_init_.py)`

Hello @andyfaff, why don't you fix an error that has been reported several times and causes problems for many people? You made an upgrade that broke several scripts, can you at least indicate a method to fix it? It seems like the minimum to me.

When scipy deprecates functions it has a policy of emitting DeprecationWarnings for at least two releases before removal, this will be at least a years notice. Therefore downstream package maintainers have adequate time to reconfigure and release new versions that account for the deprecations. Such deprecations are necessary to reduce technical debt whilst still moving forward with new developments.
A workaround would be to use scipy==1.12.
The issue has already been addressed by the downstream package in https://github.com/piskvorky/gensim/pull/3524.

A workaround would be to use scipy==1.12.

and once gensim releases a version without the bug, you can upgrade gensim and use the latest scipy.

In this case the warnings were emitted since version 1.11 so downstream packages should pay attention to warnings before blaming us. If you use scipy 1.12 you should see it already if warnings are not silenced

A workaround would be to use scipy==1.12.

and once gensim releases a version without the bug, you can upgrade gensim and use the latest scipy.

The error still persists with spicy==1.12

The error still persists with spicy==1.12

With which gensim version? To reiterate, the bug is on gensim's side, and the fix (https://github.com/piskvorky/gensim/pull/3524) is milestones for their 'spring 2024 release'.


Rows are disappearing when scrolling

Using Material UI for the front end and rows are disappearing when scrolling down. quickly. Was in version 9.21 and went down to 9.0 and the issue was still occuring

                        <VirtualizedList
                          width={345}
                          height={300}
                          rowCount={this.state.filteredPlaces.length}
                          rowHeight={40}
                          rowRenderer={({ key, index, style }) => {
                            const place = this.state.filteredPlaces[index]
                            const item = (
                              <ListItem key={place.name + counter} dense button style={{ paddingLeft: place.type == "neighborhood" ? "20px" : "10px", height: "40px" }}>
                                <Checkbox
                                  onChange={() => this.handleChange(place)}
                                  value={place.name}
                                  checked={this.state.chosenPlaces.includes(place.name)}
                                />
                                <ListItemText primary={`${place.displayName}`} />
                              </ListItem>
                            )
                            return (

                                {item}

                            )
                          }}
                        />

BTW it's fairly easy to repro using https://raw.githubusercontent.com/bvaughn/react-virtualized/master/playground/chat.js, just change the background color of an item and the container to be different. Seems like a pretty old and known issue. Any workarounds?

Happening for me as well with Material UI (FPS is dropping when scroll event blocks)

Removing withStyles calls helped but there is still something causes FPS to drop significantly

Can confirm this is still happening

Can confirm this is still happening


[Snyk] Security upgrade @aws-sdk/client-s3 from 3.617.0 to 3.621.0

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

services/database/package.json
services/database/yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-FASTXMLPARSER-7573289
  50

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

This is addressed in #715


chore(main): release 0.0.3

:robot: I have created a release beep boop
0.0.3 (2024-11-16)
Miscellaneous Chores

add rollup plugin to bundle types (96dee2f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.3
:sunflower:


Update CentOS 8 smoke vm's with vault repositories

Problem: CentOS 8 reached its EOL alongside its public mirrors, making
all the smoke test fail at provisioning time.

Proposed Changes
Update all CentOS repositories to point vault.centos.org.
Types of Changes
CI / Smoke tests fix
Verification
CI Passing on smoke test stage for CentOS 8 vm's
Linked Issues
#5091
User-Facing Change
NONE

Further Comments
This is a quick fix to unblock CI builds. The long standing one should be either:

Update dweomer/centos-8.4-amd64 vagrant images with the same patch
Migrate CentOS 8 builds to CentOS Stream 9

Both approaches will require to create and publish new vagrant images for each hypervisor we want to support (currently: vbox, vmware, libvrt).

Awesome!


Update the game over message

Update the game over message so people know how to play again!

Leave a comment


Overriding self.addToAdminBar to remove from admin bar

Feel like they're should be a better way to do this.

Like an option that self.addToAdminBar checks for? If it's === false it
doesn't do it?
On Tue, Feb 14, 2017 at 2:04 PM, Austin Starin<EMAIL_ADDRESS>wrote:

Feel like they're should be a better way to do this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/824, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fazlrsPOUjiPJST-igjRJo2Y6WOhks5rcfrXgaJpZM4MA3aN
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Yes that would be ideal. As opposed to in index.js of in question piece:
self.addToAdminBar = function() {};

I sense a PR is somewhere out in the universe, waiting to be sent...
On Mon, Feb 20, 2017 at 9:20 AM, Austin Starin<EMAIL_ADDRESS>wrote:

Yes that would be ideal. As opposed to in index.js of in question piece:
self.addToAdminBar = function() {};
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/824#issuecomment-281091022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fRvK13vuY9Ryd0mfn853VWnoAvTrks5reaEXgaJpZM4MA3aN
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

(That's a suggestion 👻 )
On Mon, Feb 20, 2017 at 9:27 AM, Tom Boutell<EMAIL_ADDRESS>wrote:

I sense a PR is somewhere out in the universe, waiting to be sent...
On Mon, Feb 20, 2017 at 9:20 AM, Austin Starin<EMAIL_ADDRESS>wrote:

Yes that would be ideal. As opposed to in index.js of in question piece:
self.addToAdminBar = function() {};
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/824#issuecomment-281091022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fRvK13vuY9Ryd0mfn853VWnoAvTrks5reaEXgaJpZM4MA3aN
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com


Does not work in Firefox

Environment
What version are you running? Etc.
MacOS Ventura
Firefox 117.0.1
Steps to Reproduce

Installed Cookie Sync extension from here: https://addons.mozilla.org/en-US/firefox/addon/sentry-cookie-sync/
Visiting this URL in firefox: https://sentry-sdks.sentry.io/issues/?project=5461230&statsPeriod=1h (So I am logged in with my Sentry Google account)
Open the Extension

Click on "Sync cookies now"
There is a "Something went wrong".

Expected Result
Something other than "Something went wrong".
Actual Result
"something went wrong" see above

I think this is a problem with the localhost domain. It's trying to assign cookies into subdomains like test-az.localhost but that's not supported by the browsers, so things are failing.
In https://github.com/getsentry/cookie-sync/commit/112f2d48c8f8844207c664da7a39066a65a68354 I removed support for localhost, and I've also put up a docs change https://github.com/getsentry/develop/pull/1037 to encourage *.dev.getsentry.net instead.


fix for #51

some pages are missing the featuredtable div, this could
cause an exception since soup_featured_table may be a NoneType
with no attribute named table.
I'm not sure if any artist pages are missing the discotable as well,
since the logic is about the same I applied a pre-emptive fix to it
as well.

Thank you so much!


Unable to deploy to V0.6

Using this repo and the tutorial located here: https://hyperledger.github.io/composer/tutorials/developer-guide.html , I am unable to successfully deploy.
composer network deploy --loglevel INFO -a ./dist/bd-test-network.bna -p hlfv0.6 -i PeerAdmin -s randomString

returns the following error every time:
Deploying business network from archive: ./dist/bd-test-network.bna
Business network definition:
	Identifier<EMAIL_ADDRESS>	Description: The Hello World of Hyperledger Composer samples

Error: Identity lookup error: sql: no rows in result set
Command failed

I am working with V0.6 to build a tutorial for Bluemix. Currently the only available free version to developers is V0.6, so the current version of the tutorial is based on that release.  Have already reviewed this stackoverflow question
https://stackoverflow.com/questions/43408412/no-rows-in-result-set-when-trying-to-deploy-a-business-network
but the provided guidance is based on V1 and the presence of a connection profile, neither of which are referenced in this repo or associated tutorial

Thank you for using composer - however as per release notes of v0.10.0 (https://github.com/hyperledger/composer/releases/tag/v0.10.0) support for v0.6 Fabric is deprecated and being removed entirely in v0.11.0
Fabric themselves are migrating all users to v1.0.
Therefore we can't keep supporting v0.6 Fabric.

Thanks for the response.


DRILL-3500: Add OptimizerRulesContext which exposes information neede…

…d by storage plugin specific optimizer rules

Add a new interface OptimizerRulesContext that will be implemented by QueryContext. It will contain all the information needed by the rules. This context will be passed to the storage plugin method while getting the optimizer rules specific to that storage plugin.
Restrict existing internal rules to only accept OptimizerRulesContext instead of QueryContext so information in QueryContext has better encapsulation.

+1


Vue changes the nested structure of HTML for some elements

Vue.js version
1.0.16
Reproduction Link
JSFiddle
Steps to reproduce
For some element like li, a, Vue would change the nested structure while parsing the template. But the issue is not there for elements like div, span.
For example, i have a template like this:
...
  outer archor

      inner archor

...

What is Expected?
And I expected output HTML structure as below:
...
  outer archor

      inner archor

...

What is actually happening?
But actually I got this:
outer archor

inner archor

This has nothing to do with Vue..... you cannot nest  inside itself.
https://jsfiddle.net/8o8LLLg0/4/

If you really want/have to, you can use a trick (refered by Vitaly Friedman of SmashingMagazine as "dirty"), like this:
Lorem <object>ipsum</object>

I wouldn't recommend it though.

 nested case is not mine. I though this would be an easy example.
My case is nested list. Any suggestions?
https://jsfiddle.net/ygjack/8o8LLLg0/

@JackGit It also has nothing to with Vue. You've got an invalid html when using
<collapsible>
<slot></slot>
</collapsible>
 template. You've got li inside li there. Please note that a browser will parse the html before it's compiled by Vue. So your templates should valid html before compilation.
I've fixed the example to get it work right:
https://jsfiddle.net/8o8LLLg0/9/


Web - OldDot transition tests - New workspace created when selecting free plan under Pricing from OldDot

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open staging.new.expensify.com and log out.
Navigate to OldDot and sign in with any account that has an existing Workspace.
Navigate to staging.expensify.com/pricing and select the "Free Plan".
Verify you're redirected to NewDot > Workspace settings of a pre-existing workspace.
Verify that you're logged in with the same account as in OldDot.
Tap on the back button and Verify that no Workspace was created.

Expected Result:
No workspace should be created after executing above TC.
Actual Result:
New workspace created when going to staging.expensify.com/pricing and selecting the "Free Plan" option.
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/206499247-e4e4b7b7-6f53-4329-a3d9-90c60a51ffa5.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

QA team is failing TR steps https://expensify.testrail.io/index.php?/tests/view/2990706

@kbecciv Just to confirm, your most recent comment is just indicating that you think this is a regression right?

Triaging:
From this SO: https://stackoverflow.com/c/expensify/questions/14418

[ ] The "bug" is actually a bug:
[ ] The bug is not a duplicate report of an existing GH (close the GH and add any novel details to the original GH instead):
[ ] The bug is reproducible, following the reproduction steps:
[ ] If you're unable to reproduce the bug, add the Needs reproduction label. Comment on the issue outlining the steps you took to try to reproduce the bug, your results and tag the issue reporter and the Applause QA member who created the issue. Ask them to clarify reproduction steps and/or to check the reproduction steps again. Close issue.:
[ ] The GH template is filled out as fully as possible -- this means the GH body and title are clear (ie. could an external contributor understand it and work on it?):
[ ] The GH was created by an Expensify employee or a QA tester:
[ ] If the bug is an OldDot issue, you should decide whether it is widespread enough to justify fixing or it is better to wait for reunification. If it's better to wait, close the GH & provide this justification:
[ ] If there's a link to Slack, check the discussion to see if we decided not to fix it:
[ ] Decide if the GH should be resolved by an External contributor or Internal engineer, add the appropriate label:

I was able to reproduce this on web, as shown below. Given there is an existing regression test for this, I expect it is a bug. Although I am not too familiar with this flow, so validating in Slack before proceeding.

Posted here.

Not overdue.

Same.

I'm happy to work on a fix for this if we decide that it's actually a problem.

This is expected behavior now, per this discussion.  Closing!


fix: button group

Fixes the bug in inline button group where it button don't spread out when the widget is selected.

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true


What serial connector type does RuiDeng DPS5005 uses?

Hello,
i am sorry for off topic question, but i don't know where else to ask...
Do you know what kind of connector does RuiDeng DPS5005 use? I think it might be 1.25mm Molex PicoBlade, but when i measure that connector using calipers, it seems fraction of milimeter different. Can anyone please confirm if that is 1.25mm PicoBlade or something else? Thank you!

The last time I checked it was a JST GH (ie. 1.25mm)

@kanflo Do you have same connectors as these? I made this photo of serial modules and my DPS5005 has exactly the same:

JST GH seems to look different...

A bit late perhaps, but yes. I have the same cables.


feat: adding block for alt image attribute

Hello P'unk Av',
In the apostrophe-images-widgets/views/widgetBase.html file, the  alt attribute in the img tag is as follows:
I thought it would be nice to have an imgAlt block for that:
SYS 🖐

I see where you're going with this idea. However, it's inside a "for" loop. Perhaps that will work — perhaps you can override the block with code that needs to execute separately for each invocation of the for loop that surrounds the block, and it will do the right thing — but I have a hunch it won't. Have you tested this with at least two images in the widget to verify the results can be separate for each one?

I just finished testing with multiple images, it works well, here is how I override afterwards:
{% extends 'widgetBase.html' %}

{% block imgAlt %}{{ image.alt or image.title }}{% endblock %}

with the alt field defined in the BO:

without:

I think this is a good addition .. any reason we don't want this @boutell ?


python37Packages.geojson: 2.4.1 -> 2.5.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-geojson/versions.
meta.description for python37Packages.geojson is: '"Python bindings and utilities for GeoJSON"'.
meta.homepage for python37Packages.geojson is: '"https://github.com/frewsxcv/python-geojson"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.5.0 with grep in /nix/store/71bjvc4xiph0s2kx4fqiwq41lyg3djrl-python3.7-geojson-2.5.0

directory tree listing: https://gist.github.com/fa1498a5f896d8e72868719111e1a23d

du listing: https://gist.github.com/0906c4bdb883baea36ee780d9a53e947

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

16 total rebuild path(s)
4 package rebuild(s)
4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.geojson
python27Packages.pyowm
python37Packages.geojson
python37Packages.pyowm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/71bjvc4xiph0s2kx4fqiwq41lyg3djrl-python3.7-geojson-2.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.geojson https://github.com/r-ryantm/nixpkgs/archive/5ddf46ef20514a20cfbb87849763e815f236834b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/71bjvc4xiph0s2kx4fqiwq41lyg3djrl-python3.7-geojson-2.5.0
ls -la /nix/store/71bjvc4xiph0s2kx4fqiwq41lyg3djrl-python3.7-geojson-2.5.0/bin

cc @geistesk for testing.

Looks good to me.

Everything OK for me, built locally.
Only one dependent package fails to build: python27Packages.pyowm, but this is independent from this PR (fix pending in #67249).
Thanks @geistesk for the review.


How to see whether a symbol has trading enabled?

I am particularly interested in Kucoin at this time. One property I need to evaluate is whether or not trading is enabled for a particular symbol or not.
I have done some digging and debugging and just simply cannot find where this value is found in the "dto" objects. Can someone please point me in the right direction?
The data for this is available in the SymbolResponse but is not being mapped into the CurrencyPairMetaData object, I think because there is no property for it. I suppose I could add the property and map it, but at this time I do not know of the impact of modifying a core object, as I am new here.

I'd suggest adding a CurrencyPairMetaData#marketStatus field which is an enum with possible values: ACTIVE, UNKNOWN, SUSPENDED, CLOSED where only ACTIVE gives you certainty that the market is active

Is there a way to re-query the metadata to handle CLOSED -> ACTIVE?  actually that would be great anyway, so I dont have to restart to handle SUSPENDED or additions.

I don't understand your question
if your asking how to force exchange.getMetaData() to return current metadata then the answer is: just invoke ``exchange.remoteInit()before exchange.getMetaData()`

You answered my question, I had assumed remoteInit() might do more on some exchanges, but it will work.


[5.1] Replaced count() with empty() - in some cases a huge performance benefit

There where a lot of cases where count() has been used just to check if a value is given or not.
If count() is being used, all iterations have to complete... this is not necessary if actions need to be performed even if one iteration passes.
In most of the cases the arrays would be small, but in some situations it is a huge performance difference.
count() is not very effective just to check if an array is empty, this pull request replaces this method with empty().
http://stackoverflow.com/questions/2216110/checking-for-empty-arrays-count-vs-empty

Two sources for a count() vs. empty() benchmark:
http://webjawns.com/2014/04/php-benchmark-count-vs-empty/
http://maettig.com/code/php/php-performance-benchmarks.php

We don't typically except these types of big multi-file PRs to fix something that isn't really broken. That benchmark is calling count literally 1 million times. Something we aren't even close to doing.

Well, very simple changes were made.
This pull request is an improvement not a fix, it does cut off a few ms in some Laravel benchmarks ;-)

Interesting PR tbh.

The rejection reasion is way more interesting :D

@DanielStuttgart I think that in order to justify this PR we will need to see some real benefits. Make some benchmarks based on Laravel and see what the difference is.

To setup a benchmark for these timeframes is very hard, the impact of other proccesses on the cpu and ram result in useless results.
Let’s forget the benchmarks, sorry that I mentioned them. It actually takes the spotlight to the wrong place. Benchmarks are absolutely not needed to say that the wrong functions are being used here or that count() is slower.
Let’s take for example the following if-statement from src/Illuminate/Database/Migrations/Migrator.php on line 100:
if (count($migrations) == 0) {

And now let’s assume 30 migrations are given...
The following will happen: It will iterate through ALL the migrations (30 times) and then compare that to the value zero. And now it gets extremely stupid: If counting has finished, then the rest of the code will fire - without the need to know if there are 30, 50 or 100 migrations. Why did they get counted then?!
But with the use of empty() here the following will happen: It will check if [0] is set and compare that to null. And then it already fires the rest of the code! Whoa… in an ant world that has to be a huge performance benefit does it? And from a good programmer that has to be the most efficient and correct way to do it?
Just tell me with a basic programming logic mind if the use of empty() is way faster and better here? Keep in mind that this incorrect use of count() is called a lot of times - will they all together affect times in a very small dimension? (Hint: yes, 20-30 times)
While the above example won’t effect the framework at all when finally running, an example for the querybuilder src/Illuminate/Database/Query/Builder.php on line 637 would do:
if (count($query->wheres)) {

If someone has like 10 where clauses then they all get counted for no reason at all.
Ok now that you should be aware of the correct use of functions here let’s get back to the benchmarks:
In a real world example the times we are talking about here are very very low. But within that dimension of times the change from count() to empty() will be huge! It still is far away from the decimal on the right side, but not enough to get usefull benchmarks for these low number of iterations. Fact is it is faster, like the sources above say 20 to 30 times!
Whatever, the main point here is definitely to make use of the correct functions for the the job. Iterating through all these variables for no reason at all is absolutely insane, no matter if it affects real world times (what it does, but like I said in a very small and very hard measurable dimension).
If you wanted to satisfy Steve Jobs then this change would be no discussion at all. Don’t just be passionate about DocBlocks, do it with these things too! ;)

phanan has the solution: https://github.com/laravel/framework/issues/9738#issuecomment-124970326

@DanielStuttgart While I prefer the use of empty(), count() is a O(1) operation. It does not iterate the array to determine the count. The underlying structure of a PHP array has a property that keeps the count of the array, so the count() method just returns the value of this property.

@patrickcarlohickman Thanks for the information, that is interesting! And actually a valid reason to reject this PR compared to Taylor's anwser.
Good that we're not using PHP 4, these were the O(n) times... they seem to have learned their lessons (or to protect the people's use cases where count() shouldn't be used).
How come that all these count() benchmarks are slower if it's only a function call without iteration? Is it because of the function's overhead?

@DanielStuttgart My guess would be that it is because count() is a PHP function, whereas empty() is actually a language construct.


Added ESM support

I just realized I could have put those into the same file that is already there.

also, please use conventional commits from now on

What exactly is a conventional commit?


Handlebars cli fails to minimize output if input is provided by stdin

If I try to minify output provided from stdin, uglify-js seems to fail to minimize it and there are no errors or warnings. Here's a test case:
handlebars/bin> echo test | node .\handlebars -m -i-
undefined

Without -m it works:
handlebars/bin> echo test | node .\handlebars -i-
{"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    return "test\r\n";
},"useData":true}

uglify-js seems to return this error if I log output in precompiler.js:
handlebars/bin> echo test | node .\handlebars -m -i-
{ error:
   { JS_Parse_Error [SyntaxError]: Unexpected token: punc «:», expected: punc «;»
       at JS_Parse_Error.get (eval at <anonymous> (C:\...\node_modules\handlebars\node_modules\uglify-js\tools\node.js:20:1), <anonymous>:71:23)
       at formatError (internal/util/inspect.js:810:19)
       at formatRaw (internal/util/inspect.js:646:14)
       at formatValue (internal/util/inspect.js:529:10)
       at formatProperty (internal/util/inspect.js:1266:11)
       at formatRaw (internal/util/inspect.js:744:9)
       at formatValue (internal/util/inspect.js:529:10)
       at inspect (internal/util/inspect.js:187:10)
       at formatWithOptions (internal/util/inspect.js:1408:12)
       at Console.(anonymous function) (internal/console/constructor.js:277:10)
     message: 'Unexpected token: punc «:», expected: punc «;»',
     filename: '0',
     line: 1,
     col: 11,
     pos: 11 } }

I'm on Windows 10 build 17763.437 with PowerShell Core 6.2.0<EMAIL_ADDRESS>and NodeJS v11.14.0.
Also, is stdin only handled by -i or should --string also support passing -, since the latter does not seem to work?
Thanks for your work!

Hi, same for me.  Just looking into code, it seems like minifying is not supported for standard input?  Using -i- per above trigger 'simple mode'
https://github.com/wycats/handlebars.js/blob/fd3ca85d136d9f7f11faeda2fbcb3fd56f05cf42/lib/precompiler.js#L175
Which skips adding surrounding function(), resulting in invalid JavaScript like what you see in output above (it returns a JSON object...).
E.g. running node ./handlebars cheese.txt (cheese.txt contains same text, test) results in non-simple mode and parseable JavaScript:
(function() {
  var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['cheese.txt'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
    return "test\n";
},"useData":true});
})();

But is that a bug or a feature (request)?


feat: add chrome-executable parameter to export

This adds a export --chrome-executable CLI parameter to override the bundled chrome coming with playwright.
I use this to export my slides with the chrome provided by my system, as the playwright chrome build is not binary compatible (I use nix for building, but this would also apply for a musl based system like alpine linux.)

Done, thanks for the review!


Impossible to upload a csv file from Tock Studio

Hello @broxmik,
In the tab "Stories & Answers" => "Answers", it's impossible to upload a CSV file (the json works very well) from Google Chrome or Firefox browser.

For information, the bug is present on version 20.9.1
note: json and csv export works correctly.
Best regards,
Pierre

Hi @pi-2r,
Could you precise the Tock version you use ? (Tips: build/commit is visible hovering the (i) icon on each Tock Studio page)
CSV labels import was fixed by #1067 released in Tock 20.9.1 (https://github.com/theopenconversationkit/tock/milestone/31?closed=1).
However, the import dialog should include some text (see the screenshot below), which makes me wonder the version you actually have.
Please let me know

Hi @pi-2r any update on this issue?


Add AEAD limit doc

I'll add this to https://github.com/DMTF/libspdm/blob/main/doc/api/common_api.md
Probably don't need a separate document.

I merged #2239, but I don't think there is any conflict.
I prefer to create it and remind people that they have such option for security.
Also, the AEAD limit is a new feature I would like to mention in release note.


Do not reuse AST nodes

awesome thanks so much for the contribution!

ah, so that's why it was broken. Thanks for the fix!


New Installer with UI

Prepare the SafeOS for deployment
Prepare the Azure Stack Development Kit Installation
Rerun and Gather Logs
Reboot to SafeOS

Replaces
PrepareBootFromVHD, BootMenuNoKVM and Unattend files

Closing cause of fork commit issue. Resubmitting.


"Library not loaded: @rpath/libgpr.dylib" when running tests/example

cmake .
make

then
$ ./all-tests
dyld[97154]: Library not loaded: @rpath/libgpr.dylib
  Referenced from: /Users/bramp/gpr/all-tests
  Reason: tried: '/usr/local/lib/libgpr.dylib' (no such file), '/usr/lib/libgpr.dylib' (no such file)
Abort trap: 6

Same issue with ./parse-gcode.
I don't understand dynamic linkers enough, but this is on a Mac.

Hmmm I normally run on Mac and I don't see this problem. Where is libgpr.dylib installed when you build?

To be clear, I didn't do make install, just make.
$ find .

./CMakeFiles
./CMakeFiles/parse-gcode.dir
./CMakeFiles/parse-gcode.dir/DependInfo.cmake
./CMakeFiles/parse-gcode.dir/compiler_depend.ts
./CMakeFiles/parse-gcode.dir/compiler_depend.make
./CMakeFiles/parse-gcode.dir/depend.make
./CMakeFiles/parse-gcode.dir/cmake_clean.cmake
./CMakeFiles/parse-gcode.dir/link.txt
./CMakeFiles/parse-gcode.dir/progress.make
./CMakeFiles/parse-gcode.dir/build.make
./CMakeFiles/parse-gcode.dir/flags.make
./CMakeFiles/parse-gcode.dir/src
./CMakeFiles/parse-gcode.dir/src/main.cpp.o
./CMakeFiles/parse-gcode.dir/src/main.cpp.o.d
./CMakeFiles/cmake.check_cache
./CMakeFiles/3.22.1
./CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin
./CMakeFiles/3.22.1/CMakeDetermineCompilerABI_C.bin
./CMakeFiles/3.22.1/CompilerIdC
./CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c
./CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.o
./CMakeFiles/3.22.1/CompilerIdC/tmp
./CMakeFiles/3.22.1/CompilerIdCXX
./CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.o
./CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp
./CMakeFiles/3.22.1/CompilerIdCXX/tmp
./CMakeFiles/3.22.1/CMakeCXXCompiler.cmake
./CMakeFiles/3.22.1/CMakeCCompiler.cmake
./CMakeFiles/3.22.1/CMakeSystem.cmake
./CMakeFiles/CMakeOutput.log
./CMakeFiles/CMakeError.log
./CMakeFiles/all-tests.dir
./CMakeFiles/all-tests.dir/DependInfo.cmake
./CMakeFiles/all-tests.dir/compiler_depend.ts
./CMakeFiles/all-tests.dir/test
./CMakeFiles/all-tests.dir/test/parser_tests.cpp.o.d
./CMakeFiles/all-tests.dir/test/main.cpp.o
./CMakeFiles/all-tests.dir/test/parser_tests.cpp.o
./CMakeFiles/all-tests.dir/test/main.cpp.o.d
./CMakeFiles/all-tests.dir/compiler_depend.make
./CMakeFiles/all-tests.dir/depend.make
./CMakeFiles/all-tests.dir/cmake_clean.cmake
./CMakeFiles/all-tests.dir/link.txt
./CMakeFiles/all-tests.dir/progress.make
./CMakeFiles/all-tests.dir/build.make
./CMakeFiles/all-tests.dir/flags.make
./CMakeFiles/Makefile.cmake
./CMakeFiles/gpr.dir
./CMakeFiles/gpr.dir/DependInfo.cmake
./CMakeFiles/gpr.dir/compiler_depend.ts
./CMakeFiles/gpr.dir/compiler_depend.make
./CMakeFiles/gpr.dir/depend.make
./CMakeFiles/gpr.dir/cmake_clean.cmake
./CMakeFiles/gpr.dir/link.txt
./CMakeFiles/gpr.dir/progress.make
./CMakeFiles/gpr.dir/build.make
./CMakeFiles/gpr.dir/flags.make
./CMakeFiles/gpr.dir/src
./CMakeFiles/gpr.dir/src/parser.cpp.o.d
./CMakeFiles/gpr.dir/src/parser.cpp.o
./CMakeFiles/gpr.dir/src/gcode_program.cpp.o.d
./CMakeFiles/gpr.dir/src/gcode_program.cpp.o
./CMakeFiles/CMakeTmp
./CMakeFiles/progress.marks
./CMakeFiles/TargetDirectories.txt
./CMakeFiles/CMakeDirectoryInformation.cmake
./CMakeFiles/Makefile2
./Makefile
./cmake_install.cmake
./parse-gcode
./README.md
./.gitignore
./libgpr.dylib
./all-tests
./CMakeCache.txt

Interestingly, after posting this bug, I created my own CMakeLists.txt in a parent directory
project(app)

cmake_minimum_required (VERSION 2.8.12)

set (CMAKE_CXX_STANDARD 11)
add_subdirectory(gpr)
add_executable(app main.cpp)
target_link_libraries(app gpr)

and that does run successfully, while using your library.


Fix #2091 bug (in-place after expand)

Pull Request Template
Checklist

[x] Confirmed that run-checks all script has been executed.

Related Issues/PRs
Fixes #2091
Changes

Introduce should_clone_hint flag to clone
Add a regression test

Testing
Recreated the bug using a regression test

@nathanielsimard Let me know if it's okay solution since you designed and implemented.


sleuth with flowable not working

I have tried to integrate the sleuth with flowable but its not working.
As observer the trace details are not available in api request called using flowable.

@DekateSainath Could you please provide a minimal sample project that reproduces the issue?

@DekateSainath Could you please provide a minimal sample project that reproduces the issue?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Consider moving to .NET Core...

...was looking into adding Github Actions for doing project validation, and it looks like .NET Desktop apps are supported, but only if they are on top of the newer .NET Core platform.
https://github.com/microsoft/github-actions-for-desktop-apps
https://github.com/actions/setup-dotnet
https://devblogs.microsoft.com/dotnet/continuous-integration-workflow-template-for-net-core-desktop-apps-with-github-actions/

The project is currently targeted to .net 5. Per https://docs.microsoft.com/en-us/dotnet/core/dotnet-five, .net 5 is the next major release of .net core 3.1. Per https://www.elliotdenolf.com/posts/build-net-5-applications-with-github-actions/, it looks like it should just work pending verification.

Right.  Nice work.


Issue with k8s.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/

This is a...

[ ] Feature Request
[ ] Bug Report

Problem:
Proposed Solution:
Page to Update:
https://kubernetes.io/...

@MiaAdriani - is there something not right with https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/? If so, what needs fixing?
/triage needs-information

/triage needs-information
/close


Broken link fix

Describe your changes
I was checking out the repository and realized that one of the links was broken, this fix restores that links path.
Issue ticket number and link

Fixes #(issue)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have verified that the code builds perfectly fine on my local system
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have verified that my code follows the style already available in the repository
[ ] I have made corresponding changes to the documentation

@PerssonAlbin Good catch! Thanks for contributing!


Changing the icon and labels

Updated:

The Sync icon
CLOUD SYNC button -> Save to Cloud
OFFLINE SYNC button -> Save to Computer
SYNC label -> Projects on my Computer
CLOUD PROJECTS label -> Projects on Cloud
Gitea Project button -> {username}
scribe Project label-> Projects

#126

[ ] The Sync icon
[ ] CLOUD SYNC button -> Save to Cloud
[ ] OFFLINE SYNC button -> Save to Computer
[ ] SYNC label -> Projects on my Computer
[ ] CLOUD PROJECTS label -> Projects on Cloud
[ ] Gitea Project button -> {username}
[ ] scribe Project label-> Projects


BACnet Write node test

Hello,
I'm using your great BACnet toolbox and have some suggestions.
For the BACnet Write node, would be nice to have one more configuration element: bacnetValueType of written value. Can be selected from list, like "Type" property. Now I have to add it via function block.

This type is "BACNET_APPLICATION_TAG_xx" from https://github.com/stargieg/bacnet-stack/blob/master/include/bacenum.h
I suggest to use YABE (Yet Another Bacnet Explorer) for everyone, for finding right configuration values of BACnet points needed to read/write.

So bacnetValueType=4 in my function block.
There is my flow:
[{"id":"3d1f1a2b.ea484e","type":"tab","label":"Temperatūros","disabled":false,"info":""},{"id":"f076b690.28a4e","type":"xiaomi-home","z":"3d1f1a2b.ea484e","name":"","x":230,"y":380,"wires":[["5e33fba1.d026bc","b5109086.b0a06"]]},{"id":"f84edd62.9cd608","type":"BACnet-Write","z":"3d1f1a2b.ea484e","name":"Holo temp.","deviceIPAddress":"<IP_ADDRESS>","objectType":"2","objectInstance":"353","propertyId":"85","priority":"15","server":"2108d4fe.dbbd1c","multipleWrite":false,"x":1130,"y":380,"wires":[[]]},{"id":"5e33fba1.d026bc","type":"switch","z":"3d1f1a2b.ea484e","name":"","property":"payload.sid","propertyType":"msg","rules":[{"t":"eq","v":"158d0001fd5b5a","vt":"str"},{"t":"eq","v":"158d0001f54bab","vt":"str"},{"t":"eq","v":"158d0001f544e8","vt":"str"},{"t":"eq","v":"158d0001c2ba6c","vt":"str"},{"t":"eq","v":"158d0001f54b6b","vt":"str"},{"t":"eq","v":"158d0001f54bc6","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":410,"y":380,"wires":[["788e4c7c.a5b484","dc3411a3.d9aff8"],["746e78ea.2b6288"],["d6d21645.15415","6ab87523.c3f50c"],["50b021b3.f3542","6c9ff0a9.6253d"],["f029bbdd.19fdf8","ad81971c.db0dd8"],["85c143e5.2901b8","1ae2ad8.84695d3"]]},{"id":"788e4c7c.a5b484","type":"debug","z":"3d1f1a2b.ea484e","name":"sveciu k.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1220,"y":60,"wires":[]},{"id":"746e78ea.2b6288","type":"debug","z":"3d1f1a2b.ea484e","name":"laiptines t.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":530,"y":240,"wires":[]},{"id":"d6d21645.15415","type":"debug","z":"3d1f1a2b.ea484e","name":"holo t.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1210,"y":100,"wires":[]},{"id":"8fb97380.92c9d8","type":"debug","z":"3d1f1a2b.ea484e","name":"msg4","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":510,"y":160,"wires":[]},{"id":"b5109086.b0a06","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"return {value: msg.payload.temperature};","outputs":1,"noerr":0,"x":390,"y":160,"wires":[["8fb97380.92c9d8"]]},{"id":"1fbf6886.9fdff7","type":"BACnet-Write","z":"3d1f1a2b.ea484e","name":"Saliono temp.","deviceIPAddress":"<IP_ADDRESS>","objectType":"2","objectInstance":"328","propertyId":"85","priority":"15","server":"2108d4fe.dbbd1c","multipleWrite":false,"x":1140,"y":500,"wires":[[]]},{"id":"9835d991.f21788","type":"BACnet-Write","z":"3d1f1a2b.ea484e","name":"Svečių temp.","deviceIPAddress":"<IP_ADDRESS>","objectType":"2","objectInstance":"303","propertyId":"85","priority":"15","server":"2108d4fe.dbbd1c","multipleWrite":false,"x":1130,"y":320,"wires":[[]]},{"id":"456b8ef8.17c04","type":"BACnet-Write","z":"3d1f1a2b.ea484e","name":"Miegamojo temp.","deviceIPAddress":"<IP_ADDRESS>","objectType":"2","objectInstance":"278","propertyId":"85","priority":"15","server":"2108d4fe.dbbd1c","multipleWrite":false,"x":1150,"y":440,"wires":[[]]},{"id":"63b1496b.85b96","type":"BACnet-Write","z":"3d1f1a2b.ea484e","name":"Virtuvės temp.","deviceIPAddress":"<IP_ADDRESS>","objectType":"2","objectInstance":"253","propertyId":"85","priority":"15","server":"2108d4fe.dbbd1c","multipleWrite":false,"x":1140,"y":560,"wires":[[]]},{"id":"50b021b3.f3542","type":"debug","z":"3d1f1a2b.ea484e","name":"miegamo t.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1230,"y":140,"wires":[]},{"id":"f029bbdd.19fdf8","type":"debug","z":"3d1f1a2b.ea484e","name":"svetainės t.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1230,"y":180,"wires":[]},{"id":"85c143e5.2901b8","type":"debug","z":"3d1f1a2b.ea484e","name":"virtuvės t.","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1220,"y":220,"wires":[]},{"id":"c239c65c.b41608","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"msg.payload = {\n  bacnetValue: msg.payload.temperature,\n  bacnetValueType: 4\n\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":440,"wires":[["456b8ef8.17c04","50b021b3.f3542"]]},{"id":"2e26f3d6.206db4","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"msg.payload = {\n  bacnetValue: msg.payload.temperature,\n  bacnetValueType: 4\n\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":380,"wires":[["f84edd62.9cd608","d6d21645.15415"]]},{"id":"6015b073.4c417","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"msg.payload = {\n  bacnetValue: msg.payload.temperature,\n  bacnetValueType: 4\n\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":320,"wires":[["9835d991.f21788","788e4c7c.a5b484"]]},{"id":"77114731.ee476","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"msg.payload = {\n  bacnetValue: msg.payload.temperature,\n  bacnetValueType: 4\n\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":500,"wires":[["1fbf6886.9fdff7","f029bbdd.19fdf8"]]},{"id":"c6292d90.80488","type":"function","z":"3d1f1a2b.ea484e","name":"","func":"msg.payload = {\n  bacnetValue: msg.payload.temperature,\n  bacnetValueType: 4\n\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":560,"wires":[["63b1496b.85b96","85c143e5.2901b8"]]},{"id":"dc3411a3.d9aff8","type":"msg-resend","z":"3d1f1a2b.ea484e","interval":"60","intervalUnit":"secs","maximum":"0","bytopic":false,"clone":true,"firstDelayed":false,"addCounters":false,"highRate":true,"outputCountField":"","outputMaxField":"","name":"","x":850,"y":320,"wires":[["6015b073.4c417"]]},{"id":"6ab87523.c3f50c","type":"msg-resend","z":"3d1f1a2b.ea484e","interval":"60","intervalUnit":"secs","maximum":"0","bytopic":false,"clone":true,"firstDelayed":false,"addCounters":false,"highRate":true,"outputCountField":"","outputMaxField":"","name":"","x":850,"y":380,"wires":[["2e26f3d6.206db4"]]},{"id":"6c9ff0a9.6253d","type":"msg-resend","z":"3d1f1a2b.ea484e","interval":"60","intervalUnit":"secs","maximum":"0","bytopic":false,"clone":true,"firstDelayed":false,"addCounters":false,"highRate":true,"outputCountField":"","outputMaxField":"","name":"","x":850,"y":440,"wires":[["c239c65c.b41608"]]},{"id":"ad81971c.db0dd8","type":"msg-resend","z":"3d1f1a2b.ea484e","interval":"60","intervalUnit":"secs","maximum":"0","bytopic":false,"clone":true,"firstDelayed":false,"addCounters":false,"highRate":true,"outputCountField":"","outputMaxField":"","name":"","x":850,"y":500,"wires":[["77114731.ee476"]]},{"id":"1ae2ad8.84695d3","type":"msg-resend","z":"3d1f1a2b.ea484e","interval":"60","intervalUnit":"secs","maximum":"0","bytopic":false,"clone":true,"firstDelayed":false,"addCounters":false,"highRate":true,"outputCountField":"","outputMaxField":"","name":"","x":850,"y":560,"wires":[["c6292d90.80488"]]},{"id":"2108d4fe.dbbd1c","type":"BACnet-Client","z":"","name":"Bacnet0","port":"","adpuTimeout":""}]

the release will come with the next version ...

👍super

Yes.. Can't wait. :)

You could test v0.0.13 but maybe it does not work, then we have to wait for the next update of bacstack.

please test v0.1.0


Resolve: Validation problem fails to load urn:ietf:bcp:13

Closes #3344.

Closing in favour of using 3436 to resolve this instead.


Raise JSONDecodeError("Expecting value", s, err.value) from None

Describe the bug
A clear and concise description of what the bug is.
An error occurs when trying to run compreface_webcam_recognition_demo.py on Desktop machine while CompreFace docker compose is run on server side.
To Reproduce
Steps to reproduce the behavior:

Run docker-compose up on server side
Obtain server IP address
Test UI on desktop machine (works well)
Run compreface_webcam_recognition_demo.py on desktop machine.
See error

Expected behavior
A clear and concise description of what you expected to happen.
Webcam demo for face recognition to work as usual while docker container is run on server side.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22]

Additional context
Add any other context about the problem here.
The webcam turns on, detects my face and draws the bounding box then it gets stuck and exits with the following error message shown:
Traceback (most recent call last):
  File "C:\Users\Abuelgasim\miniconda3\envs\compreface\lib\site-packages\requests\models.py", line 971, in json
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\compreface_webcam_recognition_demo.py", line 141, in <module>
    threaded_camera.update()
  File ".\compreface_webcam_recognition_demo.py", line 133, in update
    data = self.recognition.recognize(byte_im)
  File "C:\Users\Abuelgasim\miniconda3\envs\compreface\lib\site-packages\compreface\service\recognition_service.py", line 68, in recognize
    return self.recognize_face_from_images.execute(request, self.options if options == {} else options)
  File "C:\Users\Abuelgasim\miniconda3\envs\compreface\lib\site-packages\compreface\use_cases\recognize_face_from_image.py", line 37, in execute
    result: dict = self.recognize_face_from_image.post(
  File "C:\Users\Abuelgasim\miniconda3\envs\compreface\lib\site-packages\compreface\client\recognize_face_from_image.py", line 63, in post
    return result.json()
  File "C:\Users\Abuelgasim\miniconda3\envs\compreface\lib\site-packages\requests\models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Hi, we checked it, and it works.
From logs, it looks like CompreFace returns, not JSON, which may happen only if one of the servers is down.
Could you check if CompreFace works from UI?


Lazy ingestion will process all the versions of a package instead of the specified one.

When triggering the lazy ingestion from the restapi, the kafka-filter-pypi will process all the versions of the package. It is not ideal if we have a dedicated deployment for more focused usage.

That's right, currently PyPI Filter processes all the versions of a requested package that are not stored in the database. We implemented such mechanism in order to store in the Fasten Knowledge Base the whole PyPI Ecosystem, since we were scraping the web to find new releases and we wanted to simultaneously store all the previous releases.
Unfortunately, this approach makes the PyPI ingestion way slower. I agree that we could modify it to process only the specific package version, given that the PyPI pipeline is primarily used through the ingestion mechanism.

@gdrosos I have made a change and pull request to only process specific package version in lazy ingestion. Could you please have a look and comment on the changes?


HHH-10684 - No target script generated for update action when using schema-generation

https://hibernate.atlassian.net/browse/HHH-10684

What is the reasoning behind just switching the order of the executions working?

in the case of update, the database action update the database and so the script action generates an empty script.

Ok, makes sense
On Fri, Apr 15, 2016, 8:44 AM Andrea Boriero<EMAIL_ADDRESS>wrote:

in the case of update, the database action update the database and so the
script action generates an empty script.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/1332#issuecomment-210469237

applied to 5.1 and master


Division by zero issue on dev branch

/home/moul/Documents/cutecoin/build/res/i18n/langs-1435860778.qrc >> /home/moul/Documents/cutecoin/build/src/i18n_rc.py
Traceback (most recent call last):
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/gui/informations_tab.py", line 96, in refresh
    self.community.computed_dividend
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/core/community.py", line 152, in computed_dividend
    self.parameters['c'] * block['monetaryMass'] / block['membersCount']
ZeroDivisionError: float division by zero
Traceback (most recent call last):
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/gui/informations_tab.py", line 96, in refresh
    self.community.computed_dividend
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/core/community.py", line 152, in computed_dividend
    self.parameters['c'] * block['monetaryMass'] / block['membersCount']
ZeroDivisionError: float division by zero
Traceback (most recent call last):
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/gui/informations_tab.py", line 96, in refresh
    self.community.computed_dividend
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/core/community.py", line 152, in computed_dividend
    self.parameters['c'] * block['monetaryMass'] / block['membersCount']
ZeroDivisionError: float division by zero
Traceback (most recent call last):
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/gui/informations_tab.py", line 96, in refresh
    self.community.computed_dividend
  File "/home/moul/Documents/cutecoin/build/src/cutecoin/core/community.py", line 152, in computed_dividend
    self.parameters['c'] * block['monetaryMass'] / block['membersCount']
ZeroDivisionError: float division by zero

Are you sure you are up to date ?
On dev branch, division by zero are already handled : https://github.com/ucoin-io/cutecoin/blob/dev/src/cutecoin/core/community.py

I have deleted the repo, cloned it again, git checkout dev. The interface seems better. But, I still have division by zero in the terminal.

It's when you run main, or when you build cutecoin ?

When I run the main file.


Bump Normalize to 7.0.0

Why not. :)

@HugoGiraudel Next time, maybe you might want to reconsider using another CSS Reset/Reboot?


Inventory bug and player bug

First off, the inventory items won't show up. The inventory is completely blank. Even though you can see your items in the hotbar, they won't show up in the inventory and the rest of the items too. No tooltip too, but you can still grab the items and switch them around.
 If you look at a specific angle, the bug will dissapear, but once you look back or do something the bug will appear again.

The bug with the arm and head displacement should no longer be present in the upcoming release :).
As for the inventory bug, could I get a screenshot?

This problem also occurs for me.

Sorry for the late reply, but that's exactly what the inventory bug looks like.
Yeah.. not much more to say than good luck with fixing the bug! 👍 😃

I've rewritten the system, which is going to ship with the upcoming 1.0.0 update. It doesn't occur there, and it has no reason to, so stay tuned for that! 😄


Pin time crate version

Pin time crate version to make sure build on main still works.
Rust 1.80.0 has a breaking change that causes compile errors with older
versions of time. Updating to the newest version of time fixes the
issue.
We don't depend directly on time, but adding this line to Cargo.toml
will make sure that we resolve at least this version through our
dependencies.

Became part of https://github.com/contentauth/c2pa-node/pull/79


Convert to vanilla js

By using http://youmightnotneedjquery.com/ website it was very easy to convert it 💯

Oh right, I’ll update in the morning.

On Oct 5, 2017, at 8:19 PM, Ted Hanson<EMAIL_ADDRESS>wrote:
@ted-hanson commented on this pull request.
In app/views/render_async/_render_async.html.erb:

@@ -4,10 +4,21 @@

<% content_for :render_async do %>
<%= javascript_tag html_options do %>

(function($){

 $.ajax({ url: "<%= path %>" }).always(function(response) {

   $("#<%= container_id %>").replaceWith(response);

 });

}(jQuery));

var request = new XMLHttpRequest();
I think it would make sense to wrap this in a function to keep the state out of global scope

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Looks nice! 👏
I would just leave out the console.log because we don't want to print out stuff in JS console to people who use render_async :)

@nikolalsvk console.log only when there is an issue, might be useful for debugging, no?

It would help with debugging but it's not wise to leave console.log in production code, here's a stackoverflow question explaining it.

Thanks @sasharevzin 🌟


Campcam products

Hi there, I'm brand new to this.
I reached out to the email address<EMAIL_ADDRESS>and Igor Zalatov said I should posty inquiry here.  The company Campcam has cameras with solid hardware, but I haven't been able to access it via a browser/IP address.  For this reason, I'm suspicious of these cameras and who else is watching the feeds.  They require you to use their app it seems.
What I'd like to do is convert these to cameras to IP access with some third party software and get rid of their firmware all together.  I can open these up and provide pictures of the inside.
2K Security Camera Wireless Outdoor with 360° PTZ, Battery Powered WiFi Camera for Home Security, 4MP Color Night Vision, Spotlight & Siren, PIR Human Detection, 2-Way Talk, IP66 Waterproof https://a.co/d/b250IPk
Light Bul6 Security Camera, Upgrade 10X Hybrid Zoom Light Bul6 Camera,Dual Lens,Color Night Vision,Siren & Light Alarm,Tracking,Indoor Pan/Tilt Security Camera,Works with Alexa https://a.co/d/6RCtOoi
Camcamp Wireless WiFi Light Bulb... https://www.amazon.com/dp/B0B49QRRS5?ref=ppx_pop_mob_ap_share
2.4G WiFi Battery Powered Home Security Camera Indoor, 180 Days Standby, PIR Motion Detection, SD/Cloud Storage, No Glow Night Vision and APP Alert, Wireless Portable Surveillance Nanny Cam (2 Pack) https://a.co/d/8fvmJ9k
QR code reads:
2232 FG3161ASLX-K1 FIQS01XX-0x206 M:684E05E5BF3F

Can you please provide more photos from other sides of these boards?

Didn't mean to close this.

Can you please provide more photos from other sides of these boards?

I think we are missing the most important view here - the bottom side of the large board. Where SoC is supposedly resides.

I think we are missing the most important view here - the bottom side of the large board. Where SoC is supposedly resides.

@Sshepard06
Why do you keep closing and opening this Issue ?

Ingenic T31 is supported. But you need to understand that while you get basic functionality like streaming video an taking pictures, you will most likey lose battery optimized perfor.mance, PIR sensor support and some other features available in stock firmware. You will have to work closely with us to get any missing features implemented as we do not have such a hardware on hands. Also, if you decide to go with flashing OpenIPC on this one, do make a full firmware backup. Consider it a madatory condition.
Your camera has exposed, marked and easily accessible UART, so flashing it should not be a problem.

@Sshepard06
Why do you keep closing and opening this Issue ?

A general unfamiliarity with the system.

Camcamp Wireless WiFi Light Bulb... https://www.amazon.com/dp/B0B49QRRS5?ref=ppx_pop_mob_ap_share

https://www.amazon.com/dp/B0BB9RNDW3?ref_=cm_sw_r_apan_dp_945XEMVRKC2BCJ6CNZNW

The Fullhan processor is now almost unsupported
https://openipc.org/cameras/vendors/fullhan

The Ingenic T31 processor is supported but we need to know the type of WiFi chip.
And in any case now there will be no availability of motor control.

2K Security Camera Wireless Outdoor with 360° PTZ, Battery Powered WiFi Camera for Home Security, 4MP Color Night Vision, Spotlight & Siren, PIR Human Detection, 2-Way Talk, IP66 Waterproof https://a.co/d/b250IPk

The Anyka processor is now almost unsupported
https://openipc.org/cameras/vendors/anyka
Looks like you've collected the maximum zoo in one place. ;)

The Ingenic T31 processor is supported but we need to know the type of WiFi chip. And in any case now there will be no availability of motor control.

Is there anyway to bypass the PTZ functions or use them in a different way?  I really wish they'd just let me access these cameras via IP/Browser.

Ingenic T31 is supported. But you need to understand that while you get basic functionality like streaming video an taking pictures, you will most likey lose battery optimized perfor.mance, PIR sensor support and some other features available in stock firmware. You will have to work closely with us to get any missing features implemented as we do not have such a hardware on hands. Also, if you decide to go with flashing OpenIPC on this one, do make a full firmware backup. Consider it a madatory condition.
Your camera has exposed, marked and easily accessible UART, so flashing it should not be a problem.

@themactep how do I back this up?  Is there a tutorial in terms of backing up/retaining original firmware?

Install Telegram client and join our English channel. It will be easier to converse there than in this thread. Ping me there for details.

The Ingenic T31 processor is supported but we need to know the type of WiFi chip. And in any case now there will be no availability of motor control.

@FlyRouter
https://www.amazon.com/dp/B0BB9RNDW3?ref_=cm_sw_r_apan_dp_945XEMVRKC2BCJ6CNZNW

RTL8188FU supported, all OK


dataset used in hand tracking.

Hello,
I have a few questions regarding the hand dataset. I hope you would help me with this.

Is the annotated dataset available for public use?
How to annotate 3D points for the hand dataset?

@Rakeshvcr 1) unfortunately due to privacy reasons. We are unable to release annotated dataset for public use
2) We have 2 tflite models: one for 2d and one for 3d. For the 2d model, We trained only on 2D annotation (x,y) leaving z empty. For 3d model training, we used synthetic dataset that includes xyz ground truth.


unable to extract podcasts from www.faz.net

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Provide a description that is worded well enough to be understood
> yt-dlp https://www.faz.net/podcasts/f-a-z-podcast-fuer-deutschland/militaerexperten-domroese-und-masala-russlands-einsatz-von-schmutziger-bombe-ist-realistisch-18410680.html
[faz.net] 18410680: Downloading webpage
ERROR: [faz.net] 18410680: Unable to extract media; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.9.2 (CPython 64bit) - Linux-5.10.0-16-amd64-x86_64-with-glibc2.31 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1 (setts), ffprobe 5.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)

Seems like the extractor doesn't support podcast urls.
Related upstream issue: https://github.com/ytdl-org/youtube-dl/issues/25473


I have a problem (1.7.10)

---- Minecraft Crash Report ----
// But it works on my machine.
Time: 08.01.16 22:17
Description: Unexpected error
java.lang.IndexOutOfBoundsException: Index: 5, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at net.minecraft.inventory.Container.func_75139_a(SourceFile:104)
at net.minecraft.inventory.Container.func_75141_a(SourceFile:385)
at net.minecraft.client.network.NetHandlerPlayClient.func_147266_a(NetHandlerPlayClient.java:1027)
at net.minecraft.network.play.server.S2FPacketSetSlot.func_148833_a(SourceFile:27)
at net.minecraft.network.play.server.S2FPacketSetSlot.func_148833_a(SourceFile:10)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1602)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

I and multiple people have recieved this crash on the same server when accessing the ships helm, however different people can access the same helm and not crash at all. And the problem simply seems to go away and then come back randomly to affect a different person trying to access any ships.

Please modify your issue to be in line with the Contributing.MD, also this has been addressed tons of times fairly sure I've already done a fix on the repo, it's just not in the builds that are posted at the moment.


add upstream api

is there no test cases? or we can add them later

is there no test cases? or we can add them later

I will add some later

we'd better create an issue about this.


Create Event now works properly and as intended.

After creating an event, the browser redirects to the newly created
event's EventDetails page

Okay well my git history is messed up... Guess I'll be fixing merge conflicts pretty soon


Email Loop when Queue address is in cc

Hello,
we observed the following behaviour. When a client sends an email with the queue mail address in cc this email is added to the cc mails of the ticket resulting in a mail loop triggered by the confirmation email send out to all cc mails.
I think the queue mail address should be filtered out and not be added to the ticket cc list nor should mails be send to this mail
Best regards

Which version of helpdesk are you using?

At the moment we are using 0.2.19

Any Update on this ?
Do you need more information to reproduce the Issue ?

I did not reproduce this behavior on 0.2.21.
I send an email to queue mail address with this same address in CC. Then ticket get created but the queue mail address isn't added to TicketCC so it doesn't loop.
Maybe this issue was fixed in the following versions of 0.2.19 ?

I believe there were some changes to CC in the recent bugfix releases. Let me know if you can reproduce or think this has been fixed. @SurtursRevenge please update to 0.2.21 if you can and let us know the result.

Hello,
I looked into this issue and it is not resolved yet.
The problem may partly be hidden or mitigated by the mail server.
Exchange for example will delete the queue mail in the CC list if it is the recipient as well. So basically you need to send a mail to someone different with the queue in CC.
Furthermore there are basic checks which try to exclude the queue address here
https://github.com/django-helpdesk/django-helpdesk/blob/630cfd91793313266024baaabe1d036488e601c4/helpdesk/management/commands/get_email.py#L451-L455
This works basically but it does not take into account that e.g. "Support Mail<EMAIL_ADDRESS>is a valid email which may be in the cc list extracted here
https://github.com/django-helpdesk/django-helpdesk/blob/630cfd91793313266024baaabe1d036488e601c4/helpdesk/management/commands/get_email.py#L319-L328
So if I have the queue email address<EMAIL_ADDRESS>and someone sends a mail to<EMAIL_ADDRESS>with "Support Mail<EMAIL_ADDRESS>in the CC list the issue will occur.
To this point I only testet this with existing tickets. Not sure if this also occurs if creating a new one.
So to fix this cc and other_mails need to be normalized into some form. Unfortunately I am not familiar which mail address formats are valid, if there is already a function to do this and if this would have an impact on anything else.
I hope this helps to resolve this issue.


[DO NOT MERGE] Release 2.18 - Migration Customizations

This is a PR to track the changes made to the 2.18 release branch to support converting our existing clusters to Kubespray.

Is this intended to form a todo list of things we'll shoot to align with upstream after we're using kubespray consistently, or do we expect to contribute these changes upstream?


Refactor NbBlock

this is a major change, implements #168 (and also #117). Very WIP in a sandbox folder (see sandbox/notes.md)

milestone reached, now in sandbox/minib3.nim both a minimal html and json backend work. (your json work was great @HugoGranstrom). Still lots of details to work on, but I am feeling more confident now!

Some notes for me for later while I am on mobile related to NbRender type:

right now NbDoc forced me to change the signature to add also Nb object
I think I should change to pass only NbDoc object (type of the root object)
also I could have NbRender support two types of functions (one for NbDoc like blocks one for NbText like blocks)
I should encode the block type in the base block
the general idea is to make the internal api safer (allow only what needs to be allowed)
also the idea is to have the NbDoc the unit of serialization and rendering should not access anything outside of that (it will not be accessible from a deserialized version)
and in NbDoc the plan is to have a theme field that is skipped on json serialization
there is a tension between what you want to be able to serialize (content and specificities of a page) and what you want to be controlled (later) by the SSG (like the theme) and should not be serialized (also because it is redundant). Tension also with a third element which is the fact that rendering does need a theme
as another, unrelated note, minimal theme could contain only doctype html and title element (see https://unplannedobsolescence.com/blog/best-hello-world-web-development/)

Wow! Great work! :partying_face: Looking good, it definitely seems way easier to define custom blocks now that the mustache backend is gone :smile: But I'm wondering how we will solve the problem of customizing an existing block type without it :thinking: But maybe that is what this idea is about?:

can I also use a super method or something to wrap the rendered block in a NbBlock?

for example it could be used to add a class name inside a div

this could be important for example to customize code block appearance

or to add an optional id to a block
(this could anyway be added later)
and it could be added as something that by default a block does during rendering
it might have a different signature (takes rendering of content and outputs new rendering)

This sounds magical! Being able to modify the rendered code would be so cool and useful. The custom block code could stay very simple while we add all sort of features behind the scenes. Would we be able to do this with raw HTML though? Parse the HTML to and AST and modify the AST and then rewrite it as HTML?

there is a tension between what you want to be able to serialize (content and specificities of a page) and what you want to be controlled (later) by the SSG (like the theme) and should not be serialized (also because it is redundant). Tension also with a third element which is the fact that rendering does need a theme

Is there really a tension? Couldn't we theoretically serialize the theme as well and just ignore/overwrite it in the SSG?
Also, while we are refactoring the code, one part that has always confused me is nb.blk. I don't really see the point of it. Can't we just use nb.blocks[^1] instead (behind a template for easy access)? What value does adding it as its own variable (that you need to remember to set) bring?

note, I just pushed a possible implementation of a NbContainer object (and NbDoc would inherit from this):
  NbContainer = ref object of NbBlock
    blocks: seq[NbBlock]
    parent: NbContainer

while the html backend works fine with it the json backend fails to serialize because of the circular reference. This is an issue with jsony that does not support this out of the box. It does not seem easy to fix. I tried to use skipHook (with a dev version of jsony), but since ref objects delegate to the non ref version, it does not work (I do not know if there is a way to get the type of the non ref version). I also tried with a custom dumpHook (which would not be nice to automate) but it also does not work. This issues should be probably better documented (maybe in a jsony issue?).
My current plan is to actually skip the parent field in NbContainer and have a containers: seq[NbContainer] field in Nb object (and add(nb: var Nb, blk: NbBlock) as a generic api that might support a different implementation.

ok the new NbContainer implementation is indeed simpler, easier to implement and... it actually works! :)
I have also "hidden" the nb.blk api which is something that we might get rid of in the future.
Next steps:

implement nbCode in minib
implement nbCodeFromJs in minib
think if there are essentially other types of blocks we need to test with the new refactoring
if not go ahead and implement sugar to implement custom blocks (and refactor)
clean up minib implementation
reimplement all of minib starting with the new minib poc

Nice work! :star_struck:
I really like the withContainer and nb.add. Now that nb.blk is hidden, I don't have that much against it anymore tbh.

So, I've started working on implementing nbJsFromCode. The part that I'm not sure about is where we should do the Nim->JS compilation. Should it happen before or after the transformation to JSON? It feels like it should happen before so that the JSON-HTML can happen without a Nim-compiler present + that steps become faster (important for SSG?).
Another thing that I'm wondering about is whether we should do the compilation the same way we are doing it now. Now we do it in nbSave: code
The thing is that we compile all of the nbJsFromCode blocks in the same file at the end, so we can't do the compilation before we have created all of them. I think the way we do it should be fine but I'm open to other ideas.

Agree it should happen before Json creation and it could be fine to have it in the nbSave node as before (I do not see at the moment advantages for the refactoring for this part).

Great, thanks for your input :D (does that sounds like an AI or is it just me? 🤣).
I agree, why change something that works. It is if/when we get plugin support (#209) that we could reconsider how we do things.

A first (hacky) implementation of nbJsFromCode is now implemented. Just have to add back a few fields to the NbDoc to make it work fully. The one problem is that we will probably need to define the types in types.nim so that they can be accessed in jsutils.nim without circular imports.
One thing I realized we will need now with container blocks is an iterator that walks through them all and returns a flattened list of blocks.

we will probably need to define the types in types.nim

ok, for the moment I would probably only move the js block types there (maybe even in a jstypes), which do have a reason to be special, not all types definitions for blocks

Sounds like a good plan 👍

I've started thinking about the sugar for defining a block now and we have for example:
type
  NbImage = ref object of NbBlock
    url: string
template nbImage*(turl: string) =
  let blk = NbImage(url: turl, kind: "NbImage")
  nb.add blk
func nbImageToHtml*(blk: NbBlock, nb: Nb): string =
  let blk = blk.NbImage
  ""
nbToHtml.funcs["NbImage"] = nbImageToHtml
addNbBlockToJson(NbImage)

Which should be shortened to:
newNbBlock(nbImage):
  url: string
  toHtml:
    ""

I'm not sure how the template could be automated with this sugar. It feels like it should be created manually unless we can come up with a nice way of abstracting it. So currently I think this is feasible:
newNbBlock(nbImage):
  url: string
  toHtml:
    ""

template nbImage*(turl: string) =
  let blk = NbImage(url: turl, kind: "NbImage")
  nb.add blk

Something else to consider is inheritance. By default the block inherits from NbBlock but you could also write:
newNbBlock(nbImage of NbContainer):
  ...

to signify that it should inherit another block?

Something we could do though to prevent the error of writing the wrong kind (wrong casing probably) in the template when creating the block, is to generate a newNbImage proc which has all the inputs except kind which is already prefilled.

Why the template cannot be created from the sugar macro? Is there some macro limitation I am not aware of (I know I am not aware of many things regarding macros... :))

Btw I forgot to add them but I think it might worth adding also a new nb. api that is not template based, e.g.:
proc image*(nb: var NbContext, url: string) =
  nb.blk.add NbImage(url: url)

template nbImage*(url: string) =
  nb.image(url)

The new procedural api would also help to reduce the number of templates that nimib needs and incidentally should reduce the number of globals (of course for nbCode and similar we still would have a template in order to have untyped arguments)

Also agree on the additional sugar for inheriting for other blocks

Because we don't know the inputs and what to do with them 😄 Say we have two fields on the object and we only want the user to provide one of them. So the problem is that we don't know what the input to the template should be from just the information given right now. We could of course add the template body as a new section in the sugar syntax with the inputs as well. But then we have basically written the template already. So I think it is more flexible if we write the template manually. For example when you have a block that you want to create a few different templates with different defaults for.

Yes it's a good idea to write the functional api as well 😄 I feel like I have regained some coding motivation now so I'll just need to find some time the coming weeks 😁

Because we don't know the inputs and what to do with them

Ah right. I think we could provide maybe a default with all fields or indeed think of additional sugar but I guess it might be wiser for the moment to limit ourselves to leave it out of the sugar for now and see later if there is some good pattern that emerges

And yeah probably we should just provide the functional api as default (with all the fields) and leave all the templates as a customization (indeed nbCode has a lot of variants, the skip one, the block one, ... and they all refer to the same type)

In that case I would suggest the templates to use the functional api in their implementation (and this could be general advice).

Because we don't know the inputs and what to do with them

Ah right. I think we could provide maybe a default with all fields or indeed think of additional sugar but I guess it might be wiser for the moment to limit ourselves to leave it out of the sugar for now and see later if there is some good pattern that emerges

The problem with creating a default template is that it can cause conflict with a manually created one.

And yeah probably we should just provide the functional api as default (with all the fields) and leave all the templates as a customization (indeed nbCode has a lot of variants, the skip one, the block one, ... and they all refer to the same type)

So we automatically generate the functional api? How would we do that for blocks that require untyped arguments? Or do you mean we just create a constructor automatically?

In that case I would suggest the templates to use the functional api in their implementation (and this could be general advice).

Agreed, when possible, the templates should be sugar on top of the functional api 👍

Looking at this again, I'll try to summarize the last conversation we had:

The sugar should generate a functional initializer with the kind prefilled
The sugar should not generate the template (as we don't know what the inputs to it as they could be untyped)
The sugar should not generate the functional API for the same reason, at least not by default. This is because it would create problems if we want to create a custom template/proc.

This means that for now, when defining a new block. We would have to create a functional api proc/template for each block type. And then create a "old-style" template using that (e.g. nbCode using nb.code)
This could be included in the sugar, but then we are basically defining the proc/template in there instead. Which could be a good thing as stuff would be nicely contained.

Sooo, now the sugar is finally finished. So instead of this:
type
  NbImage = ref object of NbBlock
    url: string
template nbImage*(turl: string) =
  let blk = NbImage(url: turl, kind: "NbImage")
  nb.add blk
func nbImageToHtml*(blk: NbBlock, nb: Nb): string =
  let blk = blk.NbImage
  ""
nbToHtml.funcs["NbImage"] = nbImageToHtml
addNbBlockToJson(NbImage)

We now do this:
newNbBlock(nbImage):
  url: string
  toHtml:
    ""

func image*(nb: var Nb, url: string) =
  let blk = newNbImage(url=url)
  nb.add blk

template nbImage*(url: string) =
  nb.image(url)

Note that nbImage must be a template as it needs to access nb which isn't defined until we run nbInit


fixed discrepancy between write_s_params and mpi version by pickling ar…

…guments instead of using string
See issue #332 and discussion #310

Thank you Simon!


Fields Won't Update for Merchant Settings

Describe the bug
On the settings tab of the merchant sheet, the fields reset to their original value after you change them.  Once you do this once, they will work the next time.
To Reproduce
Steps to reproduce the behavior:

Create a Merchant Sheet
Go to the settings tab
Change any of the inventory settings.
Tab away or hit enter.
The value you entered will be gone and the prior value will show.

Expected behavior
Save my changes the first time.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome 98.0.4758.82
Version: Lootsheet 3.5.0

I'm having the same problem, although it doesn't always keep the changes the second time. Often I have to try and change it multiple times before it seems to stick. Also, it keeps reverting to Loot instead of Merchant.

As you suggested, the problem still persists.  Just tested the latest version tonight in my regular campaign


create functionality for hamburger navbar

Functions

toggle between open and closed hamburger menu
each button takes user to each section of website

Display

covers the whole screen
section headers are centered

Out-of-Scope Functions

animation when opening and closing hamburger menu
line animation when hovering over section header

refer to this link for inspo


[5.4] reflection based implementation of class_basename

Reflection based implementation is 1/3 faster compare to explode
http://stackoverflow.com/questions/19901850/how-do-i-get-an-objects-unqualified-short-class-name

Tests fail. Also, We would need to see real benchmarks in a real application.


Direct memory/object access

Is there any way for the c code to access any object in wasm/js directly (or vice versa?).
Webview.Bind works great for strings, would it work for large files though, or to push lots of raw image data (camera/renderer/etc)?
I read something about ExternalInvokeCallbackFunction but couldn't find anything.
I know it's possible in theory when bundling your own V8 engine, for WebKit not so sure.

Yes, there is, @pannous. You use the bind function as you suggested.
Here is a good example, someone made pong with all the game logic written in golang and just used JS to render it:
https://github.com/phillvancejr/webview/tree/master/example/go/pong
If you want a simple example, here you go:
in main.cc define:
void test(string seq, string arr, void* a) {
  std::cout << arr << '\n';
  // handle raw image data here
}

then bind the function:
w.bind("test", test, 0);

On the JS side, you can send your C++ program data by calling our new test function:
test(rawImageData);

Now, what if we want to send data from C++ to JS?
void test(string seq, string arr, void* a) {
  string buffer = fileContents;
  // send as string. Without the quotes, you can send a number, boolean, or js variable!
  string sendData = "\"" + fileContents + "\""
  w.resolve(seq, 0, buffer);
}

On the JS side, if we want to request this data:
test().then(function(fileContents) {
  // do stuff with fileContents here
});

The bind and resolve functions are very powerful, and live at the core of this library. I hope that info helps!

If you are still having trouble and can be more specific about what our library is lacking, please reopen.

Thanks for the helpful reply. It solves the JS to C direction, unfortunately efficient transfer from C to JS seems so far unimplemented.
Your suggested call to 'resolve' takes no binary input but uses strings:
string sendData = "\"" + fileContents + "\""
w.resolve(seq, 0, buffer);
=>
eval("window._rpc[" + seq + "].resolve(" + result + ");

In my case I have to encode large chunks of data like this:
	std::stringstream ss;
	ss << "code=new Uint8Array([";
	for (int i = 0; i < length; i++) {ss << std::hex << std::showbase << ((int) bytes[i]) << ", ";}
	ss << "]);callback(code);";
	w.eval(ss.str());

I know direct data transfer is possible when bundling your own V8 engine, for WebKit not so sure.
I suggest to reopen this issue for tracking of possible future implementations.

Right, whatever string you enter in the C side is sent to the JS side. It's as if you typed that string directly into a JS console.
I opened about 100 tabs trying to figure out how to get from a string to raw data on the JS side. I did:
test().then(e => {
    new Response(e).arrayBuffer();
});

But that is no good. The string from the C side is implicitly converted into a USVString before being passed into the callback function, so bytes like 0x80 are converted into a 3 byte UTF-8 series. From there it is converted into an arrayBuffer - too late! I tried with older APIs like Blob, and still... no dice. Now I see your quandary and why you had to craft the eval string by hand instead of passing data back like I assumed was possible.
The only alternatives I can think of are exclusively on the JS side: http request to the local filesystem (permission denied by default in our library), or using a file upload button. I'm re-opening and will look into this soon. Thanks for the info.


Android chrome video works on mobile but shows up with diagonal lines on other participants

Running on android Chrome Pixel 4. Also can't flip the camera.
Looks like this:

Haven't changed any connectionSettings.
Any thoughts?

I believe this is related to https://github.com/twilio/video-quickstart-android/issues/470

Hey @dannnnthemannnn , can you try the solution mentioned here and see if it works?
https://github.com/twilio/video-quickstart-android/issues/470#issuecomment-623042880
Basically, use H264 codec if you're running on this device and on android chrome.

Thank for the question @dannnnthemannnn!
Closing this issue since it's related to this bug and not the react app.
This issue has to do with the Android hardware encoder - it distorts the video when the video's width is not a multiple of 16.
One possible workaround is to avoid widths that aren't a multiple of 16 when they are scaled down. 720 is divisible by 16, but when the video is scaled down to conserve bandwidth (to 360 or 180), the width is no longer a multiple of 16.
Try using a capture resolution of 768x1280 on pixel devices. This isn't a 16:9 aspect ratio, but the widths will remain a multiple of 16 as the video scales down (640x384, 320x192). This is also true if the video is in landscape orientation (1280x768).
Let me know how this works out for you!


How to  to Make Preference Criteria Effective

I can‘t find examples of preference criteria  under the  examples/reify/optimization  path. Could you please provide some insights or point me towards relevant examples?

There are some examples in the folder. The README.md also has a link to the metasp project where you find further instances and the paper explaining the encoding.


 Also: On parent destroy, destroy children. That is not needed, when a scope is destroyed, all children are as well.
Also, listen for this event is when to do some cleanup and there is none in there.

That is a silly $destroy - LGTM