text:
Error when generating pretty XML report

The pretty report is generated in the file dependency-check-report.xml.pretty but it is not copied to a dependency-check-report.xml file and there is an error message. Without the pretty setting it works fine.
The problem occurs using version 5.2.3 of the the cli and the maven plugin.
With the cli we use these parameters:
-f HTML -f XML --prettyPrint

** Log file extract**
2019-11-11 15:19:35,998 org.apache.velocity.runtime.VelocimacroFactory:385
DEBUG - added VM writeXmlException: source=org.apache.velocity.Template@57b75756
2019-11-11 15:19:36,027 org.apache.velocity.runtime.parser.node.ASTMethod:181
DEBUG - Object 'org.owasp.dependencycheck.dependency.CweSet' does not contain method isEmpty() at templates/xmlReport.vsl[line 227, column 18]
2019-11-11 15:19:36,100 org.apache.velocity.runtime.parser.node.ASTMethod:181
...
2019-11-11 15:19:36,917 org.owasp.dependencycheck.reporting.ReportGenerator:510
ERROR - Unable to generate pretty report, caused by: Failed to delete original file 'C:\winapp\dependency-check-5.2.3.\dependency-check-report.xml.pretty' after copy to 'C:\winapp\dependency-check-5.2.3.\dependency-check-report.xml'

The 5.2.3 release has more than 1 issue...  We will be releasing 5.2.4 shortly - and re-evaluating the QA being done with each release.

The problem alread occured with older versions. I just did not have the time to report it.

The main problem is not fixed with the new release. Does the test work in your environment?
I assume that the method pretifyXml in ReportGenerator needs to be rewritten like pretifyJson to close the Streams ( see https://stackoverflow.com/questions/49626912/java-io-ioexception-failed-to-delete-original-file-movefiletodirectory).

source: gharchive/issue

authors: MichaelVetter jeremylong

repo: jeremylong/DependencyCheck

license_type: permissive

license_source: github-api


text:
CVSSv3 missing for CVE

Hi, after scan execution for dependency named infinispan-embedded-9.3.2.Final.jar, my .html raport contains CVE-2019-10174 and it does not have cvssv3.0 value. On nvd.nist.gov website, we can check that cvssv3.1 value exists for this particular dependency cve.
Does dependency check supports cvssv3.1 scoring system or only cvssv3.0 ?
Best regards
Michał

Please see #2547. We are going to update this as part of the upcoming version 5.4

Thanks a lot :)


text:
Package URl
pkg:maven/org.springframework.boot/spring-boot-starter-data-rest@3.4.1
CPE
cpe:2.3:a:vmware:spring_data_rest:::::::: versions from (including) 3.4.0; versions up to (including) 3.4.13
CVE
CVE-2021-22047
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
11.1.1
Description
<suppress>
   <notes><![CDATA[
   file name: spring-boot-starter-data-rest-3.4.1.jar
   ]]></notes>
   <packageUrl regex="true">^pkg:maven/org\.springframework\.boot/spring-boot-starter-data-rest@.*$</packageUrl>
   <cve>CVE-2021-22047</cve>
</suppress>

approved
Spring Boot Starters are versioned with Spring Boot, not with (in this case) Spring Data Rest itself, where the defect is.


text:
Found some errors while trying to onboard.

Lets have a chat this week and we can look into some of these issues:

Slugify function is required... Maybe reuse the one from device type import?

(venv) agitting@dev:~/python/ipf-netbox$ ipf-netbox task ensure-sites
Ensure Netbox contains the Sites defined in IP Fabric
Fetching from IP Fabric and Netbox ...
IP Fabric 1 items.
Netbox 1 items.
Site Name    Exists
-----------  --------
Axians Lab   No
CREATE site: Axians Lab: FAIL: {"slug":["Enter a valid \"slug\" consisting of letters, numbers, underscores or hyphens."]}

When IPFabric does not discover a model its None but platform is used as the model.
This can be seen here:

maybe in devices if the model is none we check if there is a platform to device type mapping.

@minitriga - per your DM, is this issues still relevant?  If not, please close.  Thank you.

@jeremyschulman No ill close.

authors: jeremyschulman minitriga

repo: jeremyschulman/ipf-netbox


text:
Undefined index: icon  in resources\views\vendor\adminlte\partials\menu-item.blade.php

Change 'or' to '??'
refference: https://github.com/jeroennoten/Laravel-AdminLTE/blob/master/resources/views/passwords/email.blade.php#L27

Fixed in #244

Fixed in version 1.24.1. Thanks for reporting and sorry for the inconvenience!

authors: Lucky-Loek consciousnessdev jeroennoten vatraiadarsh

repo: jeroennoten/Laravel-AdminLTE

license: MIT


text:
[Bug]: Won't refresh icons in a playlist, if you remove a song from another playlist it appears in.

To reproduce:

Create Playlist One.
In Playlist One, add song(s) from an existing playlist (Playlist Two).
In Playlist Two, check if the icons from the new playlist show up here (they do).
In Playlist One, remove some of the songs you added.
Go back to Playlist Two. It didn't update the playlist icons next to the songs which are removed from Playlist One.

Restarting the app didn't refresh the icons. The icons finally refresh after editing Playlist One's name.
If this isn't reproduceable, the extension is probably clashing with something else I have installed...
ℹ Environment / Computer Info
Spotify for Windows (64 bit)
1.2.33.1042.g26c92729
Spicetify v2.35.1
Theme: marketplace
Extensions: bookmark.js, keyboardShortcut.js, allOfArtist.js, playbarClock.js, tracksToEdges.js, extended-copy.js, romaji-convert.js, playlist-icons.js, PlaylistProxy.js, spicetify-playlist-labels.js, dist\search-on-youtube\prism.mjs, section-marker.js, resume-playlist.js, spicetify-private-session.js, LuckyLP.js, spicetify-furigana-lyrics.js, pip.js, QueueTime.js, CoverAmbience.js, upcomingSong.js, AnonymizedRadios.js, songstats.js, wikify.js, adblock.js, utilities.js, who-added.js, imageOpener.js, playOnYouTube.js, addToQueueTop.js, lastfm.js, css-editor.js, removeFriendsActivity.js, playing-source.js, djinfo.js, autoSkipWrapper.js
Custom apps: marketplace

Are you talking about the playlist icons in the left hand sidebar, or the 'add to playlist' contextmenu? The latter doesn't seem to even render playlist icons for me. As for the former, I can't test that, as they are only shown in legacy mode on old spotify versions.

Sorry for completely confusing you, I wrote about a different extension! You may close and delete this issue. Let me make up for it and open up a separate issue I encountered with spicetify-playlist-icons.

authors: jeroentvb kaboomtrap

repo: jeroentvb/spicetify-playlist-icons


text:
Import Error  cannot import name 'AI21' from 'langchain.llms'

Greetings! thanks for building this, this tool is a gem. As a beginner, I attempted to use it to test some basic stuff, but unfortunately, I encountered an error during my first run. Here's the code I used:
from langchain import OpenAI
from llama_index import (
    GPTSimpleVectorIndex,
    download_loader,
    LLMPredictor,
)

MODEL_TO_USE = "gpt-3.5-turbo"
PDFReader = download_loader("PDFReader")
loader = PDFReader()
documents = loader.load_data(file="boost-your-django-dx.pdf")
llm_predictor = LLMPredictor(llm=OpenAI(temperature=0, model_name=MODEL_TO_USE))

index = GPTSimpleVectorIndex(documents, llm_predictor=llm_predictor)

# index.save_to_disk('index.json')

while question := input("Question: "):
    print(index.query(question))

It seems straightforward, but I encountered the following error:
Traceback (most recent call last):
  File "/home/tobi/Builds/documate/ai.py", line 3, in <module>
    from llama_index import (
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/__init__.py", line 18, in <module>
    from llama_index.indices.common.struct_store.base import SQLDocumentContextBuilder
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/indices/__init__.py", line 4, in <module>
    from llama_index.indices.keyword_table.base import GPTKeywordTableIndex
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/indices/keyword_table/__init__.py", line 4, in <module>
    from llama_index.indices.keyword_table.base import GPTKeywordTableIndex
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/indices/keyword_table/base.py", line 16, in <module>
    from llama_index.indices.base import DOCUMENTS_INPUT, BaseGPTIndex
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/indices/base.py", line 23, in <module>
    from llama_index.indices.prompt_helper import PromptHelper
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/indices/prompt_helper.py", line 12, in <module>
    from llama_index.langchain_helpers.chain_wrapper import LLMPredictor
  File "/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/llama_index/langchain_helpers/chain_wrapper.py", line 9, in <module>
    from langchain.llms import AI21
ImportError: cannot import name 'AI21' from 'langchain.llms' (/home/tobi/.cache/pypoetry/virtualenvs/documate-D2J91GFU-py3.11/lib/python3.11/site-packages/langchain/llms/__init__.py)

python : 3.11
llama-index : 0.4.26
openai : 0.27.2

I don't know exactly how but my issue got fixed, I recreate a new environment and then reinstall all dependencies.


text:
Indexing Time Logging

It would be useful if there was an indication of how many documents have been indexed so far/how long the rest of the indexing process will take. I am indexing 2000+ documents and I have no idea how long it will take.
If this already exists I look forward to hearing how to do it!

Ya we can add some logging/tqdm for this!

This has been added! https://gpt-index.readthedocs.io/en/latest/core_modules/data_modules/index/usage_pattern.html#high-level-api


text:
Media Placeholder

The media placeholder needs to be more flexible to change , Im having trouble setting it behind the activity indicator than changing it when image finish downloading. how can we do that ??

hey @nachkar - you can subclass or create your own media items. just follow the pattern from the existing ones

How can i display the JSQMessagesMediaPlaceholderView to show the indicator that the image is not yet downloaded from the web? i didnt find any thread that describes how to use JSQMessagesMediaPlaceholderView item . can you please help me

authors: jessesquires nachkar neerajneeruz

repo: jessesquires/JSQMessagesViewController

license: mit

license_source: bigquery


text:
Extra bottom padding for long text messages

The bottom padding gets too big for large texts.

Hello all — See my comment on #347 for details on the "fix" for this.
https://github.com/jessesquires/JSQMessagesViewController/issues/347#issuecomment-130533179

authors: jessesquires oonoo


text:
Add GitPrime to the list

We're remote-first, too :)

Thank you! Do you mind filling out a company profile? I'll merge this as-is, however.

Thanks, I've added the profile in #116.

source: gharchive/pull-request

authors: jessicard nvie

repo: jessicard/remote-jobs


text:
Permissions-Policy is Only Served on HTML Content-Type

The application configurable Permissions-Policy is only served on responses
with an HTML related Content-Type.
This has been assigned the CVE identifier https://github.com/advisories/GHSA-fwhr-88qx-h9g7.
Versions Affected: >= 6.1.0
Not affected: < 6.1.0
Fixed Versions: 6.1.7.8, 7.0.8.4, and 7.1.3.4
Impact
Responses with a non-HTML Content-Type are not serving the configured Permissions-Policy. There are certain non-HTML Content-Types that would benefit from having the Permissions-Policy enforced.
Releases
The fixed releases are available at the normal locations.

Appreciate the PR. This was merged in #2127.

authors: gcurtis gitworkflows

repo: jetify-com/devbox


text:
nixstore: search packages by attribute path

Depends on #896.

This is a hack to get a rudimentary package search (by attribute path) working natively in Devbox. For example, to install Go 1.19:
remoteStore, _ := Remote("https://cache.nixos.org")
remotePkg, _ := remoteStore.PackageAttrPath("go_1_19")

localStore, _ := Local("/nix/store")
localStore.Install(remotePkg)

The attribute path lookup relies on embedding a gzipped JSON index of all nixpkgs at commit 3fb8eedc450. This file adds 4.7 MiB to the size of the Devbox binary. Ideally this index would be downloaded as-needed instead.

If anyone things the embedded file is too large, I can hold off on this and get a better implementation working by downloading it at runtime.

Not necessarily opposed to embedding, but generally prefer downloading. Is this part of a general strategy for search? or is it tangential?

I think downloading (or API) is the way to go. But in the interest of Always Be Shipping, I think it's totally cool to embed as a first pass, and get the search feature out. 4.7 MiB feels reasonable to me, so I'd be inclined to ship this!

Not necessarily opposed to embedding, but generally prefer downloading. Is this part of a general strategy for search? or is it tangential?

It's more of a first step to get something working. I don't think this will (or should) be the final implementation.

Is this PR abandoned? (should we close it in that case?)

authors: gcurtis loreto mikeland86

repo: jetpack-io/devbox


text:
glfw compile error on jetson tx1 L4T 24.1

I tried to install librealsense on jetson tx1 using 'installLibrealsenseUVC.sh' shell file. Some link errors show up when compiling glfw. The errors are like this:
libGL.so: undefined reference to 'drm......
I have searched some similar issues in the github page of librealsense. It seems like the problem is related to the NVIDIA driver on PC. But I have flashed the system with jetpack. Do I need to install the driver manuelly?

Are you running 64 bit L4T?

@jetsonhacks
I am running 64 bit L4T. But it is the same on 32 bit L4T. Your solution fixed the glfw issue on both systems.
But another issue shows up while I continuing installation. I use installLibrealsenseUVC.sh shell file. The lib and examples are compiled correctly. But when I plug in R200 and start cpp-config-ui, the program crashes and throws an error message:
uvc_set_ctrl(...) returned LIBUSB_ERROR_PIPE

Have you tried running the example with sudo? It could be that when the script aborted the udev rules did not get put into place. Also, are you plugging into the USB port, or into a hub. If using a 3.0 hub, is it powered?

I have tried sudo command which outputs the same error message. And I plugged into the USB 3.0 port of tx1 develop kit.

Got the same error running the example with sudo and R200 directly plugged into USB 3.0

The problem is solved. However I do not know why. I tried another fork of librealsense https://github.com/Maghoumi/librealsense.
It does not work at first. But It goes well after I unplug and plug in the camera several times.

I haven't tried any other fork but  I managed to successfully run all the examples plugging an unplugging the camera several times as well. I remembered I had the same kind of issues with the previous Jetpack

For the TX1, please use the repository:
https://github.com/jetsonhacks/installLibrealsenseTX1

authors: jetsonhacks sclin-loauas vftejada

repo: jetsonhacks/installLibrealsense


text:
WIP: Couchbase tests

Builds on #12 to test the Couchbase 3rd party resource.

Superseded by #18

repo: jetstack-experimental/navigator


text:
Bump base images

As prompted by the automated reminder in slack, which links to #4033.
I also ran ./hack/latest-base-images.sh now that we have the makefile flow. I'll update the instructions in #4033.
Update distroless base images for cert-manager

/lgtm
/approve

/cherry-pick release-1.6

authors: SgtCoDFish irbekrm

repo: jetstack/cert-manager


text:
Multiline HTML with brackets raises Zmpl.SynaxError

The following code will give the Zmpl.SyntaxError "Error resolving braces" when placed in a .zmpl file.
<style>
#myHeader {
  background-color: lightblue;
  color: black;
  padding: 40px;
  text-align: center;
}
</style>

I can condense it into one line and it works fine, although requiring everything be condensed into one line seems like it could be a problem (specifically with JavaScript)

@mitteneer Thanks for reporting this, I've been trying to think of the best way to deal with it.
I think I'll just disable interpolation inside <style> and <script> tags, but it's not ideal.
For now, a workaround is to bring the closing brace up to the previous line, like this:
<style>
#myHeader {
  background-color: lightblue;
  color: black;
  padding: 40px;
  text-align: center; }
</style>

I'll see if I can get a proper fix done tonight, will update you once I've got something I'm happy with.

@mitteneer Sorry it took so long to fix this - I had a hacky fix that would have worked in most cases but I'm glad I didn't rush it as the fix I have now has made the Zmpl parser a lot better.
Braces are now ignored completely unless you're inside a mode block, e.g.:
@zig {
   // braces are important here
}

If you really need to use braces inside a mode block, you can now use a custom heredoc-like delimiter - here's an example from the tests:
@markdown MARKDOWN
  # Built-in markdown support

  * [jetzig.dev](https://www.jetzig.dev/)
  @zig ZIG
    if (true) {
      @html HTML
        <script>
          const foo = () => {
            console.log("hello");
          };
        </script>
      HTML
    }
  ZIG
MARKDOWN

Nice thing is this is not a breaking change, but gives you options to use custom delimiters if you really need to do something unusual, otherwise 99% of cases you can just write regular HTML and it will work as expected. Let me know if you have any issues and thank you for reporting ! I'll get this merged into mainline Jetzig right after sending this comment. : )

Awesome! Thanks for what you're doing, this is really cool stuff 👍

authors: bobf mitteneer

repo: jetzig-framework/zmpl


text:
envdir setup is not easily greppable / envprint utility?

I am considering using envdir for a Django project, but get the impression that it may become more difficult to grep / search for settings and their values, given that they are split into filename and file content.
For example, you cannot just grep your settings / project folder anymore for DEBUG, EMAIL_ etc, without having to also grep (and then look into) the output of find.
Given that I am also looking into django-configurations, because it allows to have local, production and staging settings in a single file, this feels uncomfortable.
OTOH, envdir makes it easier already to have environment settings in a central location (envs/{local,prod,...}), which are scattered around otherwise (virtualenv's postactivate, wsgi server setting files, ...).
Just wanted to leave this as feedback - maybe there's an approach to make it easier to work with it?
Maybe a script / option could be provided, which only displays settings from a specific env dir in the form of NAME=VALUE.
Or when invoked in a directory with subdirs, would display it like grep as in:
$ envprint ./envs
prod: DEBUG=False
prod: FOO=1
local: DEBUG=True

$ envprint ./envs/local
DEBUG=True

@blueyed this works too:
➜   myproj [master] ⚡ tail envs/local/*
==> envs/local/DATABASE_URL <==
postgres://postgres@localhost:5432/election2016

==> envs/local/DEBUG <==
true

==> envs/local/SECRET_KEY <==
poop

==> envs/local/STAGE <==
dev

authors: AlJohri blueyed

repo: jezdez/envdir


text:
Dependency fix

Hi, this fixes the problem mentioned in https://github.com/jfcaiceo/react-lightbox-component/issues/13 in which having react as a dependency causes collisions between multiple react instances.
Also added babel-cli as a missing dependency and fixed some version ambiguities.
I guess this package isn't being actively maintained any more, but t would be great if you could merge this and release a new version to npm!

Dependencies fixed in the new release

authors: jfcaiceo twitchett

repo: jfcaiceo/react-lightbox-component


text:
Addition of cryptography section

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
Adding a cryptography section which will contain all the relevant content related to it which has also helped me a lot.
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
No response

@jfmartinz  kindly assign me this

repo: jfmartinz/ResourceHub


text:
Bump gradle-dep-tree dependency to 3.0.0

Describe the bug
v2.x of the gradle-dep-tree plugin does not handle transient circular dependencies well, and causes a Heap Space error. v3.0.0 fixes this
Current behavior
When running against a project with transient circular deps, jf audit fails
Reproduction steps
No response
Expected behavior
No response
JFrog CLI-Core version
2.37.0
JFrog CLI version (if applicable)
2.42.0
Operating system type and version
MacOS Ventura
JFrog Artifactory version
No response
JFrog Xray version
No response

PR submitted for this issue; https://github.com/jfrog/jfrog-cli-core/pull/854

@eyalbe4 Hi Eyal, this is affecting Premara Blue Cross, an E+ customer, is there any timeline on when this change will be made?

Hi @owenmartin-toast, gradle-dep-tree 3.0.0 has breaking changes that require some changes in jfrog-cli-core in order to integrate with it.
I opened another pull request to update gradle-dep-tree to its latest version.
I'll update here when it's merged and released.

@owenmartin-toast JFrog CLI version 2.49.0 is now available, incorporating the latest gradle-dep-tree version with enhanced memory efficiency. We value your input and welcome your feedback on this release.

Hi, in order to resolve this issue https://github.com/jfrog/gradle-dep-tree/issues/21 for jf audit command, it would be great to bump gradle-dep-tree to 3.0.1 version

We already did @gregoryboue, in https://github.com/jfrog/jfrog-cli-core/pull/1023.
The change will take place in the next release.

@yahavi for information with JFrog CLI 2.52.0 i still have issue with jf audit --gradle : https://github.com/jfrog/gradle-dep-tree/issues/21

@gregoryboue
Thanks for the feedback.
In JFrog CLI 2.52.0 we use the gradle-dep-tree 3.0.1. To verify it, you can compare the following files:
https://github.com/jfrog/jfrog-cli-core/blob/master/xray/commands/audit/sca/java/resources/gradle-dep-tree.jar
https://releases.jfrog.io/artifactory/oss-release-local/com/jfrog/gradle-dep-tree/3.0.1/gradle-dep-tree-3.0.1.jar
Is it the same issue? Could you please provide some steps to reproduce?

@yahavi did you reproduce my case ?

Hello @gregoryboue, Iv'e tried to reproduce your case but didn't encounter any problem with while running 'jf audit' on the example you gave here https://github.com/jfrog/gradle-dep-tree/issues/21 in 'Reproduction Steps'.
We are currently working on optimizing the construction of Gradle dependency tree. This optimization should shorten the time and improve the whole process.
We will post an update whenever this optimization will be released.

@eranturgeman , in https://github.com/jfrog/gradle-dep-tree/issues/21 @asafgabai said that he was able to reproduce and he's working on a fix

Hello @owenmartin-toast and @gregoryboue,
I've successfully reproduced the bug and have initiated work on a fix.
Notably, the issues concerning gradle-dep-tree have already been resolved. Please inform me if you encounter any further complications.
Regarding 'jf audit', I'm actively working on a resolution and will keep you informed of any progress or updates along the way.

Hello @owenmartin-toast and @gregoryboue!
I'm pleased to share that the bug fix has been successfully merged into our Dev branch and will soon be released.
I'll keep this issue page open for a while longer, so please don't hesitate to respond here if you encounter any additional issues.
If the fix resolves your problem, your feedback confirming its success would be greatly appreciated.

I can confirm that it's now ok

authors: NandiniDJFrog asafgabai eranturgeman gregoryboue owenmartin-toast yahavi

repo: jfrog/jfrog-cli-core


text:
JFrog rt download does not handle quotation marks surrounding the target pattern

It seems that  the client does not handle quotation marks around the target path correctly. When running the following command:
"C:\PathToJfrog\jfrog.exe" rt dl --server-id=myserver --split-count=15 --threads=15 --flat=true --explode=true repo/COTS/cotsProduct/2.0.0/ "C:\Path to cache with whitespace\.cache\"

I get the following error:
[Info] Searching items to download...
[Info] [Thread 14] Downloading repo/COTS/cotsProduct/2.0.0/cotsProduct-2.0.0.zip
[Error] [Thread 14]  Received an error: CreateFile C:\Path to cache with whitespace\.cache": The filename, directory name, or volume label syntax is incorrect.
[Error] CreateFile C:\Path to cache with whitespace\.cache": The filename, directory name, or volume label syntax is incorrect.

Currently I am using version 1.35.1. If the target pattern is replaced with a path not in quotation that does not have whitespace it works as expected.

@KaylCoulston, try to use the latest release of JFrog CLI (1.35.3).

@Or-Gabay, I just downloaded version 1.35.3 and was able to replicate my results above.

@KaylCoulston , Thank you for your feedback.
Correct me if I'm wrong but, at the end of your command, you escape the final quote with a backslash.
I suggest this:
"C:\PathToJfrog\jfrog.exe" rt dl --server-id=myserver --split-count=15 --threads=15 --flat=true --explode=true repo/COTS/cotsProduct/2.0.0/ "C:\Path to cache with whitespace\.cache\\"

@KaylCoulston , thank you for your feedback.
Looks like the backslash is causing the problem, could you please try this:
"C:\PathToJfrog\jfrog.exe" rt dl --server-id=myserver --split-count=15 --threads=15 --flat=true --explode=true repo/COTS/cotsProduct/2.0.0/ "C:\\Path to cache with whitespace\\.cache\\"

@Or-Gabay, that does work. Also using backslashes and ending with a forward slash works. The latter of the two should be a alright work around for now. Thanks for investigating this.

@KaylCoulston, I'm glad it works for you.
Moreover, according to the error you posted:
[Error] CreateFile C:\Path to cache with whitespace\.cache"
the last backslash is escaping the final apostrophes, which causes the problem.

authors: KaylCoulston Or-Gabay

repo: jfrog/jfrog-cli


text:
Support for webhooks

It looks like there is REST support for webhooks .

Would it be a good enhancement to add support for managing webhooks to this provider?
Would a pull request for this be welcome?

We would welcome a PR

@markgalpin - another feature request

what about xray webhooks?

repo: jfrog/terraform-provider-artifactory


text:
Classic controller mapping issue #2 (analog buttons)

I left some comments in issue #38 that I still haven't figured out - why does moltengamepad not work with my wiimote classic controller with analog shoulder buttons?
Original comment from #38:
I have some classic controllers that seems to give analogue values when I test with evtest, but I cannot get anything registering within MoltenGamepad after unsetting cc_r and cc_l and setting cc_l_axis and r_axis to tl2/tr2_axis
Output from moltengamepad startup:
...
parse: setting wiimote.cc_l_axis = tl2_axis+
parse: setting wiimote.cc_r_axis = tr2_axis+

...
But nothing happens in moltengamepad (after move wm1 to debugslot) when I press the buttons.
Here's output from evtest when doing a quick press on the right shoulder key (when not running moltengamepad):
Event: time 1601131800.637029, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 34
Event: time 1601131800.637029, -------------- SYN_REPORT ------------
Event: time 1601131800.653275, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 38
Event: time 1601131800.653275, -------------- SYN_REPORT ------------
Event: time 1601131800.673310, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 54
Event: time 1601131800.673310, type 1 (EV_KEY), code 311 (BTN_TR), value 1
Event: time 1601131800.673310, -------------- SYN_REPORT ------------
Event: time 1601131800.721957, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 56
Event: time 1601131800.721957, -------------- SYN_REPORT ------------
Event: time 1601131800.932076, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 54
Event: time 1601131800.932076, type 1 (EV_KEY), code 311 (BTN_TR), value 0
Event: time 1601131800.932076, -------------- SYN_REPORT ------------
Event: time 1601131800.942060, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 40
Event: time 1601131800.942060, -------------- SYN_REPORT ------------
Event: time 1601131800.952052, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 34
Event: time 1601131800.952052, -------------- SYN_REPORT ------------
Event: time 1601131800.962038, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 18
Event: time 1601131800.962038, -------------- SYN_REPORT ------------
Event: time 1601131800.969604, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 6
Event: time 1601131800.969604, -------------- SYN_REPORT ------------
Event: time 1601131800.980910, type 3 (EV_ABS), code 22 (ABS_HAT3X), value 4
Event: time 1601131800.980910, -------------- SYN_REPORT ------------

Would be extremely neat to have this working :) Is there some debug tricks I can apply to figure out what is going wrong? This is tested today on commit 95b0d47 (with make eventlists)

No news regarding MoltenGamepad and this issue, but I thought I should mention that the built-in Steam Input support in Steam has gotten good enough these last years that MoltenGamepad might not be strictly needed anymore (although it would be nice to have working too, as it makes things a lot simpler).
I found a configuration string that made the Classic Controller analog buttons work in Steam alone, I wrote about it here:
https://github.com/ValveSoftware/steam-for-linux/issues/9962
It should be mentioned that you also have to calibrate the gamepad when you use Steam Only, you can use this program for that: https://github.com/Virusmater/evdev-joystick-calibration

repo: jgeumlek/MoltenGamepad


text:
App.prototype.getDiagramId() and App.prototype.loadFile functions always will use location.cash as encrypted file?

I added keycloak javascript adapter to drawio, it redirects me to keycloak login page, after my autentification keycloak gets me back to drawio url with location.hash like #state=;,ds;aldl&session_state=akjdlkjas&code=askd;l12, it leads to exeption with alert screen which says 'Error loading file, service unavaliable or blocked' cause hash's first letter is not an R, T, S, G and else.

And i can solve it only:

by changing original code;
by redefinition of App.prototype.loadFile(..) with all it's 400 lines (not good) in my plugin

Maybe there is the way to let users make their own handlers/functions on location hash to make it work with OAuth or OICD and maybe other default storages?

That's https://www.keycloak.org/ ?
What problem are you trying to solve at a high level? i.e. why would you add authenication to draw if that system doesn't offer storage?

authors: Andrewbayav davidjgraph

repo: jgraph/drawio


text:
[WIP] Cursor movement in tty

Hi, I really like this awesome fuzzy finder!
I added cursor member to tty_interface_t struct to implement cursor movement.
Like this:

Support keybindings: Ctrl-A,Ctrl-E,←,→
TODO:

[ ] append search (in string)
[ ] delete char (in string)

How do you feel about this feature and implementation?

:+1: I really like this and this seems like a good start

@jhawthorn Thank you for your reply! Although it may take time, I want to improve it little by little.

Ah I just noticed this PR after writing another implementation of this. Mine seems to be fully functional and can be found here https://github.com/jhawthorn/fzy/pull/46

Closing for #46. Thanks!

authors: b4b4r07 jhawthorn keith

repo: jhawthorn/fzy


text:
Convert eureka to module

Convert Eureka (src/main/java/tech/jhipster/lite/generator/server/springboot/springcloud/eureka) to module (this is a good first issue)

This needs https://github.com/jhipster/jhipster-lite/issues/2179

repo: jhipster/jhipster-lite


text:
Create Image with Dependencies

use docker

repo: holds the files (requirements.txt) melanoma_jsy
image - holds the compiled dependencies - melanoma_jsy:v# (currently on v1)
container - holds the running dependencies, you don't need the requirements.txt anymore -
melanoma_jsy_instance1 ... i think if you "stop" the container you can't run it again, but if you "kill" the container, you can run it again. instance is synonymous with container.
port - 590

helpful commands (even though they are obvious)
-docker container : will give you a list of typical commands, like stop, kill, etc
-docker container ls : to see which of the containers are currently running

Requirements.txt includes Flask, TensorFlow, Redis, scipy, numpy, pytest, pytest-pep8, ipython.
Environment name: melanoma_jsy.


text:
Add / remove doc content

[ ] Allow user to add more content to a document using the doc types validContentTypes configuration.
[ ] This will include the add content dialog and a way to remove/delete doc content.
[ ] Fix bug with moving an item and its index being off when then trying to edit the content

Started on this but will move to another milestone to get started on the page refactor

repo: jhorback/harbor


text:
".class" selector seems to be failing

A more detailed post: http://stackoverflow.com/questions/42322374/jsoup-basic-class-css-selectors-not-working-html-shows-elements-exist-an
The problem can be summarized like so:
Debugging code:
Elements as = doc.select("a");
for (Element e : as) {
    if (e.classNames().size() > 0)
        M.debug(e.classNames());
    if(e.classNames().contains("bigChar")) {
        M.debug("found!");
    }
}
as = doc.select(".bigChar");
M.debug("now: " + as);
for (Element e : as) {
    if (e.classNames().size() > 0)
        M.debug(e.classNames());
}

Output:
[logo]
[bigChar]
found!
[dotUnder]
[dotUnder]
[dotUnder]
[dotUnder]
[dotUnder]
now:

I've spent a while debugging this and I think the problem may have to do with malformed HTML. Attached is a sample input, and below is some simple code to run it:
    try {
        Document doc = Jsoup.parse(new File("blahblah.txt"), "UTF-8");
        System.out.println(doc.html());
        System.out.println("FINAL");
        System.out.println(doc.select(".bigChar"));
        System.exit(0);
    } catch (IOException e) {
        e.printStackTrace();
    }

blahblah.txt
You can see in the HTML output that the "bigChar" class is used, but the .bigChar selector doesn't seem to find it.
In my run of the above code, my output is
   </div>
   <script type="text/javascript">
         $('#footer').css('top', $(document).height() - $('#containerRoot').height());
     </script>
  </body>
 </html>
 FINAL

(i.e. nothing found for .bigChar)

Further debugging on the same blahblah.txt input:
        for (Element e : doc.getAllElements()) {
            if (e.hasClass("bigChar")) {
                M.debug("Found iteratively");
            } else {
                if (e.className().length() > 0)
                    M.debug(e.className());
            }
        }

Upon outputting all className()s in the Document, the bigChar is found in a className():
barTitle
barContent
arrow-general
bigChar
info
info
dotUnder
info

However, "Found iteratively" is never printed, so hasClass() is not finding it.
Adding e.className().contains("bigChar") to the same if statement, like so, does find it.
            if (e.hasClass("bigChar") || e.className().contains("bigChar")) {

Further debugging:
            if (e.hasClass("bigChar") || e.className().contains("bigChar")) {
                M.debug(e.attr("class").length());
                M.debug("bigChar".length());
                M.debug(e.hasClass("bigChar"));
                M.debug(e.className().equalsIgnoreCase("bigChar"));
                M.debug("Found iteratively");

Output:
7
7
false
true
Found iteratively
FINAL

Seems like something strange going on? Given that Element.hasClass() seems to first check by length.

After a lot more digging around, I found something strange - when I commented out my Jsoup 1.10.2 dependency, everything worked normally! I pulled up the dependency tree and realized that one of my other dependencies also has Jsoup as a dependency, but an older version:
[INFO] |  +- org.jsoup:jsoup:jar:1.9.2:compile
So it seems that the same issue does not occur on Jsoup 1.9.2.
I noticed that Element.hasClass() received a significant rewrite for "better performance" in this commit: https://github.com/jhy/jsoup/commit/d3c582598890d1e5e31e4f26e8452ad2dbf40b47
At the risk of incorrectly pointing fingers, perhaps the rewrite introduced some small bug? It is worth noting that the repo was at version 1.9.3 at the time of the commit, conveniently one patch after the version that works for me.

This is already fixed in master. See #814.
Please also keep in mind that people who watch this repository are notified for every post you make. So it's better to first gather all the information you can, then create one post containing only the most relevant bits.

Oh sorry, my mistake. I haven't used GitHub enough to know about that but now that I know I will keep it in mind in the future!
However I believe this is a different issue than the one in the issue you linked. That fix was simply for case sensitivity, and the version that the bug appeared for me (1.10.2) on included that commit (I checked the source just to be sure).

Thanks for the report and the sleuthing.
The problem is that the attribute name is now all lower case, and something's bugged in the case insensitivity of the attribute name.
You can see an e.g. here: http://try.jsoup.org/~l4ZA3QJ3p5WzWTD5y6v-tGu1Sh8 - change "Class" to "class" and it works. Will fix it up.

Actually this is the same as #814 as @cketti pointed out :) I just forgot that try.jsoup wasn't on 1.10.3.

authors: cketti edasaki jhy

repo: jhy/jsoup


text:
use chrome extensions in nativefier?

Is this possible? Or a technical limitation?

Thanks for the feedback, @ekimia. No, for now we don't support bundling Chrome extension, and it's unlikely to come soon, given upstream (electron) position on this, see discussion at #207

@ekimia

Is this possible?

Yes, but it's a workaround: https://github.com/jiahaog/nativefier/issues/246#issuecomment-718708717

authors: Rimseg ekimia ronjouch

repo: jiahaog/nativefier


text:
RuntimeError: quantile() input tensor is too large when using stable-ts in Anaconda environment

I'm trying to use the stable-ts package to process an audio file in an Anaconda environment, but I keep encountering a RuntimeError with the following message:
RuntimeError: quantile() input tensor is too large
And here is the full message:
Isolating vocals from "audio.mp3" 100%|██████████████████████████████████████████████| 1678.9499999999998/1678.9499999999998 [00:59<00:00, 28.34seconds/s] Loaded Whisper large-v2 model Traceback (most recent call last):   File "D:\program\Anaconda\envs\whisperstuffs\lib\runpy.py", line 197, in _run_module_as_main     return _run_code(code, main_globals, None,   File "D:\program\Anaconda\envs\whisperstuffs\lib\runpy.py", line 87, in _run_code     exec(code, run_globals)   File "D:\program\Anaconda\envs\whisperstuffs\Scripts\stable-ts.exe\__main__.py", line 7, in <module>   File "D:\program\Anaconda\envs\whisperstuffs\lib\site-packages\stable_whisper\whisper_word_level.py", line 964, in cli     result: WhisperResult = model.transcribe(input_audio, **args)   File "D:\program\Anaconda\envs\whisperstuffs\lib\site-packages\stable_whisper\whisper_word_level.py", line 359, in transcribe_stable     ts_token_mask = wav2mask(audio, q_levels=q_levels, k_size=k_size)   File "D:\program\Anaconda\envs\whisperstuffs\lib\site-packages\stable_whisper\stabilization.py", line 200, in wav2mask     loudness_tensor = audio2loudness(standardize_audio(audio))   File "D:\program\Anaconda\envs\whisperstuffs\lib\site-packages\stable_whisper\stabilization.py", line 129, in audio2loudness     audio_tensor = audio_tensor / min(1., (audio_tensor.quantile(0.999, dim=-1) * 1.75)) RuntimeError: quantile() input tensor is too large
The error seems to occur in the "audio2loudness" function in the "stabilization.py" file, which is part of the "stable_whisper" package. I suspect the issue might have something to do with the size of the input audio file.
I have tried encoding the audio file in MP3 format (as it was originally in WAV format), but the issue persisted.
Environment:

Anaconda version: 2.3.1 (will try updating)
Python version:  3.9.16
Operating system: Windows 11
Stable-ts version: Newest one, as of writing
Other relevant information: Audio file is ~28 minutes long GPU: 2080ti

It should be fixed in this new commit.

Yes, Seems to be fixed. Thanks!

authors: PascalsHere jianfch

repo: jianfch/stable-ts


text:
Tring to  Recording on sperate server

Dear Hi,
i am trying to record live meeting on separate server .  the process running even the meeting is ended. and not found any recorded file on save path.

You can try to change here:
https://github.com/jibon57/bbb-recorder/blob/f2520ca2bbdc0714ee63fe1cd30edc41ef25a625/liveJoin.js#L93
Like this:
https://github.com/jibon57/bbb-recorder/blob/f2520ca2bbdc0714ee63fe1cd30edc41ef25a625/liveRTMP.js#L96


text:
Use package.json flow

https://github.com/jillix/engine-tree/blob/8f3f79009aa2e06d296b50da9e6d9605ecd15b06/server/index.js#L4-L10

What is the package.json flow?

@gabipetrovay It's module specific flow. Here is an example.

authors: IonicaBizau gabipetrovay

repo: jillix/engine-tree


text:
划词有的页面还是取不出来呀，希望能够改善下

比如在我现在的这个页面
http://developer.android.com/reference/android/widget/ImageView.html
Class Overview等描述的文字都能正常打开划词窗口，但是在下面的表格里面却识别不出来了，然而谷歌官方的可以正常使用，强烈希望改善下这个呀。
或者加入一个点击icon（类似于谷歌官方的那个翻译插件）提供查询窗口和加入生词按钮

popup 定位问题。table 内查询，计算位置会有偏差导致。

如果在浏览器里浏览本地的pdf文件时也能划词查询就好了，不知道原理上有什么不同，现在的版本不能。浏览器里也有少数地方不能查

@Macer3 原理有一些不同。据我目前知识，Chrome 处于安全考虑，目前查词时只能让这个扩展跑在后台的background page 负责所有页面的查词请求，然后再回传给对应的tab（每一个html 的页面都能有一个id 值，但是pdf 页面没有这个id 值），有对应ID 值就能回传对应到确切的tab 弹出，不然就没办法找到对应的tab。所以目前pdf 还不好做。

authors: ACBingo Macer3 jinntrance

repo: jinntrance/shanbay-crx


text:
客户端"address"填Cloudflare CDN无法连接

v2ray, Xray, trojan-go 客户端"address"填Cloudflare CDN无法连接，且无log 输出。xray-ws-tls客户端配置如下：
{
"log": {
"access": "～/v2ray/access.log",
"error": "～/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 10800,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "x.y.z",
"port": 443,
"users": [
{
"id": "xxx-xxx-xxx",
"encryption": "none",
"level": 0
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "a.b.c"
},
"wsSettings": {
"path": "/xxxx"
}
}
}
]
}
当x.y.z 填Cloudflare CDN ip时，没网络连接，也没log输出，当x.y.z填自己的域名a.b.c 时可以正常联网。请问在ws-tls 模式下x.y.z 是否只能填自己的域名？如果填Cloudflare CDN ip，该如何设置？

1 你用的第几项安装的？
2 每个客户端设置不同，例如v2rayN 中 地址填写 实际的CDN ip ，然后伪装域名需要填入原来的域名, 但其他的客户端方法也不一样

脚本的第12项和第19项均试过。客户端就是X-ray或trojan-go的源文件，命令行启动，没有用其它的客户端。操作系统时macOS 10.13.6 或10.15.6。

脚本的第12项和第19项均试过。客户端就是X-ray或trojan-go的源文件，命令行启动，没有用其它的客户端。操作系统是macOS 10.13.6 或10.15.6。

这里有问题要解释一下
1 当开启Cloudflare CDN后， 直接仅仅填写https域名后 就已经是走CDN了, 你可以ping 一下的域名看看是不是已经不是你原来VPS的IP了,
2 填写优选的CDN IP 必须同时填写域名，否则CDN怎么知道你访问的是哪个网站？  所以只填入IP肯定是不对的配置。
v2rayN 是windows 客户端，例如v2rayN 中 地址填写 实际的CDN ip ，然后伪装域名需要填入原来的域名
其他客户端和命令行具体怎么操作不太清楚，你可以找个windows 用v2rayN 试一下 .
但 CDN的 IP 和 你的https域名肯定要同时填写的,
同时Cloudflare CDN 里面需要打开CDN 选项， 而且还要填入worker 的脚本 才可以

多谢！我找个windows客户端试试


text:
Wrong documentation for foreignkey vs. association_foreignkey?

The documentation states http://doc.gorm.io/associations.html#belongs-to

Specify Foreign Key & Association Key
type Profile struct {
gorm.Model
Refer int
Name  string
}
type User struct {
gorm.Model
Profile   Profile gorm:"foreignkey:ProfileID;association_foreignkey:Refer"
ProfileID int
}

What works for me is:
type Model struct {
	Id        int64     `gorm:"type:bigserial;primary_key" json:"id"`
	CreatedAt time.Time `sql:"DEFAULT:NOW()" json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

type AppInstance struct {
	Model
	AppId string `gorm:"unique_index"` // user readable id that can't change but identifies an app
}

type Datasource struct {
	Model
	App    *AppInstance `gorm:"foreignkey:id;association_foreignkey:AppID" json:"app"`
	AppID  int64        `gorm:"type:bigserial" json:"appId"`
}

Not sure if it has to do with the additional "AppId" field in my AppInstance, so I just left it for the example. But the usage of foreignkey and association_foreignkey seems to be wrong in the documentation.
Can you confirm and fix that inside the docs? Pretty confusing :)

Also, under Has One:

Specify Foreign Key & Association Key
type Profile struct {
  gorm.Model
  Name   string
  UserID uint
}

type User struct {
  gorm.Model
  Refer   uint
  Profile Profile `gorm:"foreignkey:UserID;association_foreignkey:Refer"`
}

should be

Specify Foreign Key & Association Key
type Profile struct {
  gorm.Model
  Name   string
  UserID uint
}

type User struct {
  gorm.Model
  Refer   uint // unused, may be deleted
  Profile Profile `gorm:"foreignkey:UserID;association_foreignkey:ID"`
}

Any update here? Can someone please correct the documentation. It's very confusing ;)

Still broken.

authors: Niondir ags799 farzaa

repo: jinzhu/gorm


text:
popupconfig: adjust to new-window event replacement

See https://www.electronjs.org/docs/latest/breaking-changes#removed-webcontents-new-window-event

@saghul please review if you have time

I'd like @quitrk to take a look since we need to integrate with other window handlers in 8x8 apps and we need to keep that working.

@quitrk can you please take a look? Thanks in advance!

@quitrk as the new-window event is removed since Electron 22 (and we are now at 25), and the current popupsconfig code still relies on it, can you please take a look if this replacement PR looks good from your perspective?

@csett86 looks good to me

Thank you @quitrk

authors: csett86 quitrk saghul

repo: jitsi/jitsi-meet-electron-sdk


text:
Desktop Sharing Linux One Way Only

I am running Arch linux and using the AUR for jitsi [0]
I can receive a shared desktop from a Windows user, and if they allow remote control I can control it.
If I share my desktop, fixed region or full-screen, they do not see anything or are able to control anything.
What would help debug this?
[0] https://aur.archlinux.org/packages/jitsi/

Reading the bug reporting guidelines would a start. They tell you to write to the mailing list and send the logs.

Thank you for the direction, I am slightly confused.
It lists to send my bug to the dev list here [0], and to send my bug to the users list here [1].
[0] https://jitsi.org/Documentation/ReportingBugs
[1] https://jitsi.org/Development/BugsAndIssues

Did anyone try to reproduce it under Ubuntu?

@GNUDimarik libjnffmpeg is from here: https://github.com/jitsi/jitsi-lgpl-dependencies
The rest are from here: https://github.com/jitsi/libjitsi

@damencho thanks!

@damencho please let me know:
libjnffmpeg.so
libjnffmpeg-ffmpeg.so
What's difference?
When I built native libraries it built 2 libffmpeg.so with and without h264 support.
When I built new ones with statically built ffmpeg with h264 support it started to work. The both: camera and screen sharing. I think it was because I had irrelevant libav* libraries and static likning should help us to avoid it.
Is that right way? If so
will do the same for linux 32 bit and make pull request to https://github.com/jitsi/jitsi-lgpl-dependencies

Here is dependencies list:
ldd jnffmpeg_oh264/libjnffmpeg_oh264.so
linux-vdso.so.1 =>  (0x00007fffa71a2000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9d44e52000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9d44a89000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9d4553a000)
I think it's good enough for making it more portability. I'm sure this library should work on most linux distors but of course I tested it locally only.
@BoBeR182 can you help with testing?

No, we deliberately didn't link the libraries and use dynamic linking. This way it is used whatever is on the system, and it will be using x264, which we do not want to ship and this for Linux, while on windows and mac it will be using openh264.
The -ffmpeg libraries are for Ubuntu/Debian differences in naming the libraries, I don't know them by heart, but you can go and check latest two stable/LTS releases of Debian/Ubuntu and you will see the difference in naming the libraries.
You can also see those naming stuff and in the control file:
Depends: default-jre | java7-runtime,
 libavformat57 | libavformat-ffmpeg56,
 libavcodec57 | libavcodec-extra57 | libavcodec-ffmpeg56 | libavcodec-ffmpeg-extra56,
 libavfilter6 | libavfilter-extra6 | libavfilter-ffmpeg5,
 libavutil55 | libavutil-ffmpeg54,
 libswscale4 | libswscale-ffmpeg3,

So those ffmpeg binaries have difference dynamic links and are built on the corresponding debian/ubuntu x86/x64...
Why do you need to rebuild the binaries?

I saw that depencencies. Let me upgrade the distro and check once more

Why do you need to rebuild those binaries, is it only for local testing or?

Well, I'm not sure that we cleared the exceptions, but about ffmpeg you can see that there are few library loads one after another, the logic is supposing some of the binaries to fail till one succeeds are you sure that nothing loaded at the end...
The binaries and version for different os and versions, we choose that we cover two stable releases for Debian and two LTS releases for Ubuntu, both cover more than two years so ...

After system update the same behaviour like with static binaries but without them. So it works fine under Ubuntu 18.04

@damencho So much time has passed now and I wonder if we should drop support for Ubuntu 16.04 (well, at least if for ffmpeg/h264). It would make things so much easier...

Easier is good. +1 to only support current LTS of Ubuntu Desktop

We can do that, I don't insist on sticking to 16.04, especially when it will be easier :) so we will have more time for other stuff.

As @GNUDimarik reports that it "works fine under Ubuntu 18.04", I propose we close this. @BoBeR182: Please re-open if it doesn't work for you in Ubuntu 18.04.

authors: BoBeR182 GNUDimarik damencho ibauersachs marclaporte

repo: jitsi/jitsi


text:
About train with point label

When running the file train_with_point_label.ipynb, I got an error :
TypeError                                 Traceback (most recent call last)
Cell In[12], line 21
9     return dict(
10       image = tf.repeat(data['image'], 3, axis=-1),
11       gt_locations = data["centroids"],
12     )
14 # create a tensowflow dataset from the files on disk
15 ds = (
16     lacss.data.dataset_from_simple_annotations(
17         data_path/"train.json",
18         data_path/"train",
19         image_shape=[None, None, 1]
20         )
---> 21     .map(parser)
22     .repeat()
23     .padded_batch(
24         batch_size,
25         padded_shapes=dict(
26             image=[512,512,1],
27             gt_locations=[768,2],
28         ),
29         padding_values=-1.0,
30     )
31     .prefetch(1)
...
File "d:\Anaconda\envs\python310\lib\site-packages\lacss\data\augment.py", line 132, in random_resize  *
target_size = tf.cast(tf.round(img_shape * scaling), tf.int32)
TypeError: Expected int32 passed to parameter 'y' of op 'Mul', got (0.8, 1.2) of type 'tuple' instead. Error: Expected int32, but got 0.8 of type 'float'.
Is it because I'm using the wrong version of TensorFlow? Please tell me where is the problem.

I'm sorry, the image keeps failing to upload.

I have solved the problem, but I encountered a new error : Lacss.call() got an unexpected keyword argument 'gt_locations'
I saw a closed issue about this, but the colab don't work and I got the same error. Does the link https://github.com/jiyuuchc/lacss@lacss1 still exist?

Can you describe your testing environment? Are you just using colab or are you adopting the notebook in your own environment?
In general, these notebooks are unfortunately a bit out-of-date -- as you see they track an older branch (v1) of the code and if you are trying to run them against the current HEAD branch, you will absolutely see a lot of breakage.
However if you stick with the v1 branch, they should still be running fine. One problem that may occurs in some versions of the colab environment is that the python package 'lap' may not install, due to the upstream bug. However, lap is not needed for the notebooks and you can safely remove it in the pyproject.toml to get around the issue.
We are hoping to fix/update everything in the next release.

I'm currently running the train_with_point_label.ipynb from the lacss1 branch, and I can't download the 'cnsp4-bf' model from the link. Could you please share the model with me? Thank you!

Looks like we also broken the model download link :( -- sorry about that.
The code snippet in the demo notebook demonstrated how to do a transfer learning, but you can also just train from scratch if you couldn't download the transfer model:
collaborator_cfg = {} # use default config
principal_cfg = {}

trainer = LacssTrainer(
    principal_cfg,
    collaborator_cfg,
    strategy=VMapped,
)

# create random weights
params = trainer.get_init_params(TFDatasetAdapter(ds))

The final model accuracy may be a bit lower, but it is not a huge difference.

I am trying to run the codes in my own environment by setting up a conda environment and installing lacss1 (pip install git+https://github.com/jiyuuchc/lacss@lacss1). When trying to run the train with point label example, I get this error:

I'd appreciate your help in this regards.

FYI, just updated flax to version 0.10.2 and it's now running. Hope this helps others

Thanks for the report!
We will update the dependency spec in the next release.

authors: Frances1996 jiyuuchc soltanianzadeh

repo: jiyuuchc/lacss


text:
can't get logs in case of multi-container pod

Unable to get logs from underlying pod. Check the ReplicaSet (k describe) if the service account isn't missing.	{"error": "a container name must be specified for pod prometheus-operator-7b997546f8-9hv99, choose one of: [prometheus-operator kube-rbac-proxy]"}
it fails even if kubectl.kubernetes.io/default-container annotation is present

done in https://github.com/jkremser/log2rbac-operator/commit/8e18c26e3473feb16dc554e97751a960b7bb592d


text:
Add headers like Content-Security-Policy

Hey,
Thanks for this image, I'm really considering using it instead of nginx for my projects! Just one thing, how can you easily add headers like Content-Security-Policy, X-XSS-Protection, X-Content-Type-Options, etc... ?

Hi @AymericBethencourt, thanks for liking this project.
At the moment it is not possible to introduce custom middlewares but I will implement this feature so we ca easily cover this and other use cases.
Will get back to you ASAP,
Regards

Hi @AymericBethencourt, from v1.1.0 you have the chance to extend the server functionalities through middlewares. Please see:
https://github.com/jkyberneees/restana-static/releases/tag/v1.1.0
Regards

authors: AymericBethencourt jkyberneees

repo: jkyberneees/restana-static


text:
Start consumer with kafka file

Start consumer with configuration should be available inside kafka file:
CONSUMER test
topic: topic-a
partition: <number> (optional)
from: [earliest | latest | <offset>]
to: [latest | <offset>]

See https://github.com/jlandersen/vscode-kafka/issues/69#issuecomment-765894929

I can manage the from offset by using https://kafka.js.org/docs/consuming#a-name-seek-a-seek but KafkaJS doesn't provide to (offset).
If we cannot manage the to,perhaps CONSUMER should look like this:
CONSUMER test
topic: topic-a
partition: <number> (optional)
offset: [earliest | latest | <offset>]

@fbricon @jlandersen what do you think about  that?

I can manage the from offset by using https://kafka.js.org/docs/consuming#a-name-seek-a-seek but KafkaJS doesn't provide to (offset).
If we cannot manage the to,perhaps CONSUMER should look like this:
CONSUMER test
topic: topic-a
partition: <number> (optional)
offset: [earliest | latest | <offset>]

@fbricon @jlandersen what do you think about  that?

You can still call it from. The to can come later, whether the feature is implemented in kafka.js or here, we'll see

You can still call it from. The to can come later, whether the feature is implemented in kafka.js or here, we'll see

You can still call it from. The to can come later, whether the feature is implemented in kafka.js or here, we'll see

Ok thanks for your feedback, I will do that.
I have an another question when you write
CONSUMER test
what mean test? I suppose it's the name of the consumer to create ?
Today this name is generated by using cluster, topic, from, position, my question what is the goal of this test name?

You can still call it from. The to can come later, whether the feature is implemented in kafka.js or here, we'll see

Ok thanks for your feedback, I will do that.
I have an another question when you write
CONSUMER test
what mean test? I suppose it's the name of the consumer to create ?
Today this name is generated by using cluster, topic, from, position, my question what is the goal of this test name?

This should be the consumer name, we should be able to use whatever we want, eg.:

I imagine some clusters could be configured to enforce a certain consumer naming scheme, so being able to define the name in the CONSUMER attribute will be valuable.

This should be the consumer name, we should be able to use whatever we want, eg.:

I imagine some clusters could be configured to enforce a certain consumer naming scheme, so being able to define the name in the CONSUMER attribute will be valuable.

authors: angelozerr fbricon

repo: jlandersen/vscode-kafka


text:
Objective-C solution

Trying again, without cruft in the commits.
Once again I welcome your keen eye!

Jeff, in the process of doing the ObjC version, I discovered a Swift commit where I violated the 3 Laws. Since folks may study the commits, I'd like to revise the history. I think the easiest way to do that would be if you delete & recreate swift-solution for a clean slate.

you are a better, less lazy man than I am--I dropped my solutions in one fell commit in most cases. I should probably re-test-drive. thanks Jon!

authors: jlangr jonreid

repo: jlangr/name-normalizer


text:
itoa is really slow.

Suggest we migrate to another implementation where possible.
The GridPage implementation is surprisingly MUCH faster.
205   val[0] = (MidiClock.bar_counter % 100) / 10 + '0';
206   val[1] = (MidiClock.bar_counter % 10) + '0';
207   val[2] = '\0';

itoa deprecated.

repo: jmamma/MCL


text:
frequency checking very slow

Hi, first great job with this gem :)
I just wanted to talk about the CronLine frequency method.
First i used frequency but after this I used previous_time.
For example if I do :
for i in 0..5000
  cron_line = Rufus::Scheduler.parse("*/5 * * * *")
  puts cron_line.frequency
end

It takes just forever to execute even one line.
And if I do :
for i in 0..5000
  cron_line = Rufus::Scheduler.parse("*/5 * * * *")
  puts cron_line.next_time.to_i - cron_line.previous_time.to_i
end

It takes a few second for the same result.
If I want to compare previous, current and next times, I can't use the frequency method then ? What is this method for ?
My goal is to have only one job reading database for many jobs to execute or not, depending on last_checked_time < previous_time
What is the best way to achieve that if it were for you ?
Thanks !

It appears that the cost of computing the frequency is directly proportional to the number of occurrences of the cron during the year.
I did a quick profiler run and found 2 places where we could optimize on computing the frequency of */2 * * * * (pretty close to the worst case)
Changing the implementation of parse_item to return a Set instead of an Array will cause the include? operation in sub_match? run a whole lot faster
    def parse_item(item, min, max)

      return nil if item == '*'

      r = item.split(',').map { |i| parse_range(i.strip, min, max) }.flatten

      raise ArgumentError.new(
        "found duplicates in #{item.inspect}"
      ) if r.uniq.size < r.size

      Set.new(r) # the optimization
    end

Here is the benchmark for */2 * * * *
% ruby benchmark-rufus-scheduler.rb
              user     system      total        real
regular:   78.480000   0.210000  78.690000 ( 78.747986)
optimized: 33.920000   0.180000  34.100000 ( 34.154923)

There are a bunch of tests that fail with this change, but I'm happy to fix them if you're OK with this change.

Hello,
sounds interesting. Could you please open a new issue and state which Ruby you're benchmarking against?
Thanks in advance,
John

authors: jmettraux ketan yoyos

repo: jmettraux/rufus-scheduler


text:
hi-res para agregar a los KS-CS

Subida las imagenes en el Drive, carpeta "xcs-kscs hi res"

Cerrado. Commit 81.


text:
Missing destination name id

I'm trying to get all rows from a table in a postgres database but I get the following error "Missing destination name id" even if the id exists on the model.
Can anyone help?
Thanks,

@mahaben can you share a code snippet to look at?

@mahaben check this https://github.com/jmoiron/sqlx/issues/234

I checked the issue #234 but it did not helped me.
Here's my code:
type MachinesModel struct {
ID          *int        json:"id" db:"ID"
EntityName  string      json:"entity_name" db:"ENTITY_NAME"
Description zero.String json:"description" db:"DESCRIPTION"
}
and my table is as following:
CREATE TABLE IF NOT EXISTS MACHINES (ID SERIAL PRIMARY KEY,ENTITY_NAME TEXT ,DESCRIPTION TEXT)
Here's my code to select all rows:
err := Db.Select(&models, "SELECT * from machines")
I'm getting "Missing destination name id".
Note that it works when I use the function "Db.Query" but I want to use Db.Select and I want to understand why it doesn't work.
The same code works with oracle, sqlite, mssql and mysql.
Thanks,

@mahaben By convention Postgres uses lower case identifiers unless they are quoted. My guess is Postgres has translated your DDL to:
create table machines
(
   id serial not null
   	constraint machines_pkey
   		primary key,
   entity_name text,
   description text
);

Postgres is case-sensitive so try updating your struct tags to lower case and give that a try:
type MachinesModel struct {
	ID          *int `json:"id" db:"id"`
	EntityName  string `json:"entity_name" db:"entity_name"`
	Description zero.String `json:"description" db:"description"`
}

https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

@jhngrant  Thank you for your reply. I understand but I have to keep them in upper case  because I have 100 models written in the same way...

Found the solution, now I'm using a new mapper:
db.Mapper = reflectx.NewMapperFunc("json", strings.ToLower)
Thanks @jhngrant  again for your help!

@mahaben my misunderstanding. In Postgres you'll have to recreate your table using quoted identifiers:
CREATE TABLE "MACHINES"
(
  "ID"          SERIAL NOT NULL
    CONSTRAINT machines_pkey
    PRIMARY KEY,
  "ENTITY_NAME" TEXT,
  "DESCRIPTION" TEXT
);

@jhngrant This might be a solution but I don't want to be obliged to use upper case when doing queries in psql cmd. I finally found a solution. I added the following statement when my database is "postgres" and it works perfectly
case "postgres":
		db, err = postgresOpen(dsn)
		db.Mapper = reflectx.NewMapperTagFunc("db",
			nil,
			func(s string) string {
				return strings.ToLower(s)
			},
		)

For anyone else who faces a similar issue, I came across something similar due to a really silly mistake on my end as well.
type user struct {
	ID        uuid.UUID `json:"id,omitempty", db:"id"` // notice the comma in the tags this screwed up everything.
}
``

I had added a silly comma somehow and it was just invisible to my eye for 1 whole day 🤯

Also hit this issue by using unexported struct identifiers. Silly mistake which seems obvious in retrospect.
 type Foo struct {
-    bar string `db:"bar"`
+    Bar string `db:"bar"`
 }

Facing this issue, if i have an underscore in my sql attribute name,
TokenHash string    json:"token_hash" sql:"token_hash"   -> is giving me an error "missing destination name token_hash"
whereas
TokenHash string    json:"tokenhash" sql:"tokenhash" -> is executing fine without any error.

Added Test Data for Zestril

authors: ChrisKhoshaba d-vignesh gayanhewa izolate jhngrant mahaben

repo: jmoiron/sqlx


text:
Can't get it to use GPU in docker

I have a RTX 3050...
I went through the install and it works from the command-line, but using the CPU.
When I try running this last step, though (after shutting down the container):
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
I get: Error response from daemon: Conflict. The container name "/ollama" is already in use by container "60d73a071b8a28b47b2593dd459338fa9d6002b0f7ac041267e2c79114091e6f". You have to remove (or rename) that container to be able to reuse that name.
How do I get it to use the GPUs now that it's installed?

@pdavis68 which OS do you use?

also, if you want to use "ollama" name as your container name, you better delete the other container.

Sorry, I thought I closed this comment. I got confused in the install I'm running it in docker under windows. I posted a new issue after the install completed regarding some possible instruction clarifications.

repo: jmorganca/ollama


text:
Where is the model file stored?

Hi there, I need to make a modification to the model file. Can you please tell me where do you store the model file?
Best regards

Ok, I found how, but it would be cool if you expose a method to change the model template.
thanks

Modelfiles themselves are not stored but there are multiple ways of changing a model template as well as other parameters.
Similar to Dockerfiles, you can inherit and override parts of a Modelfile. The docs describe this in detail
You can also override the template in runtime with template in the API request or with /set template in the REPL

Well i found exactly where they are, they are stored in blob as json file with a hash name so i did change it and it works. My front end already does the formatting that's why i just need bare text generation with no template.
If you add an endpoint to the api /set_template for example, that would be helpful because since the file name is a hash, it is extrememy difficult for me to automate the changing of the template from the front end.
Thanks for answering.

authors: ParisNeo mxyng


text:
Allow field validation using JSON schema

Description
I would like to supply a JSON-schema to the widget, and the widget ensures that the field content is validate according to the JSON schema provided.

You can give that via the options
`JSONEditorWidget(
options={
                "schema": self.acl_schema,
            }
        )`

i used it with dynamic json schema stored in a related model. Id dit it by overriding get_form method :
   def get_form(self, request, obj=None, change: bool = False, **kwargs):
        my_form = super().get_form(request, obj, change, **kwargs)
        categorie_spec = Categorie.objects.get(
            id=obj.categorie_id
        ).specifications_schema
        my_form.base_fields["specifications"].widget = JSONEditorWidget(
            options={"schema": categorie_spec}
        )
        return my_form

authors: Gustutu KARTHIKEYAN-ACKO jayvdb


text:
docs(README): remove <a name... since it's done by default

This will cause the readme to render correctly on GitHub

Thanks 🍻

With pleasure!

authors: Haroenv jmurzy

repo: jmurzy/react-native-foldview


text:
Support YAML config format

This a mostly working prototype to be able to load YAML config (on par with JSON config) using https://github.com/FasterXML/jackson-dataformat-yaml

This looks good and simple enough. I was a bit worried of adding complexity to support multiple formats, but since this is simple enough, I have no objection. I suspect the failing integration test is a false positive, I restarted the build. If it fails again, I'll look deeper into it.

Should I change command line flags (--json-file --json-dir ) and environment vars (JSON_DIR) in start scripts?

Nope, don't change those. They are part of the external interface that users expect to be stable. If you really want to do the cleanup, introduce a new option and deprecate the old one (with a WARN log message).

Documentation added https://github.com/jmxtrans/jmxtrans/wiki/YAMLConfig#using-standard-jsonyaml-configuration

Sorry to ask it there, but it looked like the good place : Was it really merged in 266 like announced in the wiki page ?
Because I tested with a 266 build and it doesn't seem to recognise YAML at all.
Looking at the classes in the jar, there is no com/googlecode/jmxtrans/util/ProcessConfigUtils.class, and looking at the git repo for the 266 tag, the change is not there : https://github.com/jmxtrans/jmxtrans/tree/jmxtrans-parent-266/jmxtrans-core/src/main/java/com/googlecode/jmxtrans/util
Or Am I missing something ?
Are there some nighlty builds from master to test this ?

@gehel What occured during release 266 https://travis-ci.org/jmxtrans/jmxtrans/builds/255802515 ?

This specific travis error is the release branch having be merged back to master before the travis build completed. That should not be a problem at all. To be honest, I have no idea what the issue was... I'll just release a new version and see if it works.

authors: eesprit gehel gquintana

repo: jmxtrans/jmxtrans


text:
Enhancement request: ui context button

Hi,
Love this tool. Very useful.
I have a very minor enhancement request.
In ui script snd_xplore_shortcuts.openQuery, can the line
var log = [];

Be moved to the very top of the run function? This way extra info can be added to the output before the query is performed.
As I said very minor change and IMHO it makes it easier to use the log variable at different stages of the function. I find myself manually moving it every time I use it.
cheers James

Thanks! Should be fine.

Moved the log definition to the top of the run function.

authors: jimfricker jneale

repo: jneale/Xplore


text:
Pre print command not executed

I am running windows version of OctoPrint
When I tried to run commands from "System Command Before Each Print" the commands are not run.
I wanted to have the printer off when it is not printing, and as soon as print schedule hits, it turns on the smart socket.
At first I thought it was the curl problem with Windows so I tested it with Invoke-WebRequest:
Invoke-WebRequest -Uri "http://<OCTOPRINT_IP>/api/plugin/tasmota" -Method Post -Headers @{"Content-Type"="application/json";"X-Api-Key"="<API_KEY>"} -Body (@{command="turnOn";ip="<IP>";idx="<IDX>"} | ConvertTo-Json)
This didn't work either. So I tried the last thing and use the solution from #18 with Invoke-WebRequest:
Invoke-WebRequest -s http://<TASMOTA_IP>/cm?cmnd=Power%20On
Did not work either.
The Invoke-WebRequest commands work as they should in PowerShell.
And when looking through the logs it seems that the plugin sees that there is a command and tries to run it but nothing really happens.
Log:
2024-06-23 11:22:40,485 - octoprint.plugins.printscheduler - DEBUG - Job found: {'name': 'TT_firstlayer_2_w_purge_line.gcode', 'path': 'TT_firstlayer_2_w_purge_line.gcode', 'start_at': '2024-06-23 11:22'}
2024-06-23 11:22:40,486 - octoprint.plugins.printscheduler - DEBUG - Running system command before print.
2024-06-23 11:22:40,520 - octoprint.plugins.printscheduler - DEBUG - Bypassing scheduled job as printer is not available yet.```

Commands must include full path to executable. Just putting in powershell command won't work, you need to run powershell exe for that. Same for curl command, there needs to be full path to the exe.

Oh. That makes ton of sense.
I propose than a slight tweak in your documentation so that people not as good with IT can follow and proceed to make functional system commands calls.
What I mean is that you should add a Note that system command has to have full path to the terminal in which should the command be run in.
For example on linux bash and on windows powershell -command "YOUR_COMMAND" or cmd.exe /c YOUR_COMMAND
Also thanks as now the command works as intended:
powershell -command "Invoke-WebRequest -Uri 'http://<OCTOPRINT_IP>/api/plugin/tasmota' -Method Post -Headers @{'Content-Type'='application/json';'X-Api-Key'='<API_KEY>'} -Body (@{command='turnOn';ip='<IP>';idx='<IDX>'} | ConvertTo-Json)"

authors: FajnB jneilliii

repo: jneilliii/OctoPrint-PrintScheduler


text:
Add interactive overlay show/hide

We can use this to better be able to visualise branch statistics on top of the image.

@ajblanch can you paste the code from that interactive coding session that we did on your computer?

juan.txt

authors: ajblanch jni

repo: jni/skan


text:
[Bug]: Validation Messages

What happened?

how to custom validation messages?
How to reproduce the bug
input wrong password
Package Version
1.0
PHP Version
8.3
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
No response

No replicated, maybe you should to publish in laravel your language

I have been publish by running
php artisan vendor:publish --tag="filament-edit-profile-translations"
and use id. All keys same with en.

I think the translations not from here

authors: fjarfs joaopaulolndev

repo: joaopaulolndev/filament-edit-profile


text:
Any docker image officially built?

If not, I'd like to try to build one for this beautiful tool

Hi @lawipac, I haven't added Dockerfile for the repo. Happy to accept PRs :)

Any official docker ???

@Allan-Nava thank you for the PR.  This is available here

@Allan-Nava thank you for the PR. This is available here

No problem!

authors: Allan-Nava joeirimpan lawipac

repo: joeirimpan/listmonk-messenger


text:
Add CHANGELOG

perhaps via https://github.com/conventional-changelog/standard-version

closed in https://github.com/joelmukuthu/knorm/commit/c918c6d4c4c57e980c39dcbe5a78f9e3ac2a8ca0

repo: joelmukuthu/knorm


text:
Problem while installing

Ubuntu 14.04
Atom  1.13.0 x64
--- npm-debug.log file was empty.

segfault-handler@1.0.0 install /tmp/apm-install-dir-117017-16530-1ez7l5h/node_modules/atom->clang/node_modules/segfault-handler

node-gyp rebuild

make: Entering directory /tmp/apm-install-dir-117017-16530-1ez7l5h/node_modules/atom->clang/node_modules/segfault-handler/build'  CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o  SOLINK_MODULE(target) Release/obj.target/segfault-handler.node  COPY Release/segfault-handler.node make: Leaving directory /tmp/apm-install-dir-117017-16530-1ez7l5h/node_modules/atom->clang/node_modules/segfault-handler/build'

atom-clang@1.0.14 install /tmp/apm-install-dir-117017-16530-1ez7l5h/node_modules/atom-clang
node-gyp rebuild

/bin/sh: 0: Illegal option --
gyp: Call to '--includedir' returned exit status 2 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/node->gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-59-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" >"/usr/share/atom/resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-117017-16530-1ez7l5h/node_modules/atom-clang
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-117017-16530->1ez7l5h/package.json'
npm WARN apm-install-dir-117017-16530-1ez7l5h No description
npm WARN apm-install-dir-117017-16530-1ez7l5h No repository field.
npm WARN apm-install-dir-117017-16530-1ez7l5h No README data
npm WARN apm-install-dir-117017-16530-1ez7l5h No license field.
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" >"/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" >"/home/eojojos/.atom/.apm/.apmrc" "--userconfig" "/home/eojojos/.atom/.apmrc" "install" "/tmp/d-117017->16530-nbeszc/package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! atom-clang@1.0.14 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the atom-clang@1.0.14 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the atom-clang package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs atom-clang
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls atom-clang
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-117017-16530-1ez7l5h/npm-debug.log

you do not have clang installed or llvm-config is not in your $PATH, the installation uses the llvm-config command to discover where the libclang headers and libraries are.
i have a change coming soon to use cmake-js instead of node-gyp which should make the discovery of clang easier, but for now, Atom needs to be able to locate the llvm-config command.
In addition, it requires clang 3.8 or better.

authors: jlojosnegros joeroback

repo: joeroback/atom-clang


text:
Windows minimized: problems key binding

user jerefeltan reports this problem in Forum Manjaro Linux and i tested here. this really occurs!
when all windows are minimized and i touch a key binding, nothing happens.
why?
vlw fwi, Holmes :)

It seems to work for me.  What version of JWM?  There was a bug a while back that caused this.  Also, what key binding?  The one I'm used to test is showing the root menu.

In the versions 2.3.3 and 2.3.4 (in Manjaro Linux). When I use <Key mask="4" key="d">exec:wmctrl -k on</Key> to hide the windows, there is no problem, everything works. But if I hide the windows manually, there is no key binding that works.

What do you mean by hide windows manually? Are you closing the windows or minimizing or?

Check to see if it is the keybinding itself or wmctrl.  Temporarily replace exec:wmctrl... with exec:xterm (or some random app)  Perhaps wmctrl does something different if the windows are all iconified.  Then try your wmctrl command from the terminal to see if it works:
sleep 20 && wmctrl -k on (then minimize within 20 seconds)

I can confirm this on Manjaro JWM 16 dev 30116, JWM 2.3.4 . It occurs when you minimize to tray tracklist all the widows one by one.
But, when everything is minimized using 'showdesktop', as is assign here ' showdesktop ' (in ~/.jwm/keys , but I guess you know it), the key bindings work fine.

See #322. It appears that this happens with conky and/or compton.

authors: blconde holmeslinux jerefeltan joewing technosaurus

repo: joewing/jwm


text:
Doesn't build on stable rust

bevy_web_asset main↑1 cargo run --example web_image
    Blocking waiting for file lock on build directory
   Compiling proc-macro2 v1.0.78
   Compiling thiserror v1.0.57
   Compiling num-traits v0.2.18
   Compiling aho-corasick v1.1.2
   Compiling windows v0.52.0
   Compiling crc32fast v1.4.0
   Compiling khronos-egl v6.0.0
   Compiling miniz_oxide v0.7.2
   Compiling profiling v1.0.15
   Compiling ring v0.16.20
   Compiling fdeflate v0.3.4
   Compiling blake3 v1.5.0
   Compiling polling v2.8.0
   Compiling rustix v0.37.27
   Compiling anyhow v1.0.80
   Compiling accesskit_consumer v0.16.1
error[E0554]: `#![feature]` may not be used on the stable release channel
   --> C:\Users\Johan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustix-0.37.27\src\lib.rs:101:26
    |
101 | #![cfg_attr(rustc_attrs, feature(rustc_attrs))]
    |                          ^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `rustix` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

https://github.com/bytecodealliance/rustix/issues/526
Running cargo clean solved it for me.


text:
TravelTime cheats by not using histories.

This was one of the first explorations.

Done.

repo: johanley/special-relativity-core


text:
[TESTING] 2.0.0-rc (Release Candidate)

I've just released a "release candidate" of the plugin. You can install it in your homebridge by running npm i homebridge-dingz@next from the Terminal in Homebridge Config UI X or your command line and then restart homebridge.
One note: it will BREAK YOUR BLINDS -- I had to implement a change that is unfortunately incompatible with old setups. It should be much more reliable now but I can't tell for sure. If you have a test-server you can run along your main server to do the testing, that will help (you can also run a local homebridge instance on your computer for some testing and to avoid touching your main setup -- you will just have to set-up a new Home in HomeKit and add the bridge there).
Please have a look at it. It should fix quite a few problems and will make it easier to solve additional little ones. I'd be grateful to see some testing before I release this as a major version.
Release notes can be found here: v2.0.0-rc
Fixes and implements changes and bugs reported in #3, #103, #116, #120, #123, #124, #129, #135
(@qx54, @granturism0, @simonnelli: I'd be very grateful if you could help with testing in your different environments.)

Closed with 038e49fd09ec1a9010112d7077dc9ed55a97267b :octocat: :smile:
I've had it tested with my complete setup (myStrom Lights, dingz Blinds, Buttons et al.) for over a day (+ some changes) and I'm quite confident it's much less buggy than v1.7.1 (and definitely less buggy than v1.8.0). Thansk again you all for your contributions and feedback so far.

Hello @johannrichard
Thank you for your work and this effort.
I have tested this on myself. Looks just great so far :-)
Best regards

I've just released a v2.0.1 hotfix on the main release train to solve a UI glitch with -- guess what -- the blinds. 😆🤣:octocat:

👍🏻😂 Great!  Was just a point, which I still want to test😅

I have one more improvement: can't we give the LEDs a clean name? For example, the LED+ device name, which we will read out.

I have one more improvement: can't we give the LEDs a proper label? For example, the LED+ device name, which we will read out.

There's definitely room for many small improvements. Now that some of the bigger glitches are fixed, that should become easier, too.

I have just discovered an issue in my setup. I have the DIP=1 setup. I have configured the motor but not the dimmers.
However, in my setup a dimmer now appears in the user interface. This is the dimmer of output 1.

How does the ALIVE check for the MyStrom buttons work?
It's my understanding the buttons reside in shutdown mode and only when the button gets pressed the OS boots. Is that wrong?
I can't ping the buttons nor access the API, so to me it looks like they're down (like they're supposed), thus wondering about the ALIVE entries in the log.

How does the ALIVE check for the MyStrom buttons work?

They're undead. ☺ Right now, the call to getDeviceStateUpdate() always resolves the promise and thus they're ALIVE. I have plans to change that to UNKNOWN at some point as we just don't know their state, but it was not highest priority anyway (since it's merely a heartbeat and status indicator in the logs).
Good observation though. ☺😊

repo: johannrichard/homebridge-dingz


text:
Support for multiple APIs

Would be nice to have support for multiple apis - with multiple composables generated: useApi1Data, useApi2Data

Agreed! It's on the roadmap.

✅ Released in v0.3.0.

authors: TO-koswald johannschopplich

repo: johannschopplich/nuxt-api-party


text:
Provide admin export functionality for vouchers

Add a CSV export feature to export all vouchers for all vendors, with the following fields (note field names will be exactly as specified here):

Field Name
Order
Notes

Vendor ID
1

Vendor name
2
Optional. It helps for being able to visually check who’s who. Need to confirm if this is feasible.

Order Number ID
3
This is OrderId.

Order reference number
4

Customer name
5

Customer email address
6
Unlike in the vendor portal UI, this should always be included in the exports.

Order date & time
7
Project to NZ time zone.

Line item ID
8

Voucher ID
9
This should be constructed using the same business logic as the vendor portal.

Payment gateway
10

Quantity
11

isDonation
12

Gross sales
13

CC Fees
14

Net Sales
15

isRefunded
16

Yes thank you :)

The back-end side of this has been completed. The front-end app needs to be updated.
@randiratnayake could you please take a look at this? There is a new 'admin view' (kind of like a sub-site to the main vendor portal) - if you have a special claim in your token you get a new option in the top-right menu to switch to admin view, and this gives superuser powers.
What we'd like to do for this is to add a new button to the admin view, very similar to the current 'Export all businesses' button, but which is 'Export all vouchers'. This will work the same way as the 'Export all businesses' button (i.e. it downloads a CSV), but it goes to a different URL: /internal/vouchers/csv.
(FYI this API can take ~60-90 seconds to return a result, since this is a very heavy query.)

@randiratnayake the back-end components have been deployed to the test site, and if you use the voucher-csv branch then your changes will be auto-deployed when you push a commit. (We have CI/CD set up now!)

@johndowns the front end changes to have the ability to download all vouchers is committed to the feature branch.
The behaviour I see it takes a while for that download to return. So should there be some sort of visual feedback to indicate so? If that be nice to have work-related this issue is completed.

authors: dwdowns johndowns randiratnayake

repo: johndowns/soscafe


text:
How to handle Youtube VEVO restriction

Hi,
I'm facing this youtube license problem, After days figuring out how to exclude non embadable videos searched by youtube data api, seems like some videos still go through, so mediaelement can't play them. So I need some error handling when this happens, for example to skip this kind of video and play next automatically. is there anything like that?
thanks

If you provide our URL with your issue I will take a look. Thanks oh thank you

URL is blocked for public, it's under dev, but I can open up for you if you'll give me your ip, pm?

Or at least post the code you are using so I can try to replicate your issue and provide some guidance

The player has an error callback in the configuration, so whenever you are dealing with an error you can do anything you want inside the callback. Something like this:
$('video').mediaelementplayer({
     // All your configuration
     error: function(e) {
           // You can add action(s) here to handle your error
     }
})

I tested this using this method (just printed a console.log if an error occurs) and used this YouTube video as a test: https://www.youtube.com/embed/1kIsylLeHHU; it loads it but when you try to play, the error comes on screen and console.log fires

Thanks for help
Here is a link with latest ME script and a basic html, console log not firing....
http://www.design.ge/me_test.html

problem solved
thanks

repo: johndyer/mediaelement


text:
Flash fallback not visible in IE8 if max-width: 100% set on object

If CSS max-width: 100% is set on object, which may be done when building a responsive site, the Flash fallback will not be visible in IE8.
Demo: http://dev.thingsthemselves.com/mediaelement-2.14.2/demo/gh980.html
(The videos in the demo are also stretched to full width because of max-width. This may be bug in how MediaElementPlayer calculates the size of the video, but I haven't spent time to investigate this.)
The poster image appears correctly. When I click the play button, the video appears to play correctly (sound from the video can be heard, the video progress bar is working), but only black is visible in the video area.
Inspecting with the IE Developer Tools, the <object> and <div class="me-plugin"> elements both have zero width, rendering them not visible.
I'm not sure what a "correct" solution should be, but the workaround is to unset max-width (max-width: none) on object.

@jefferyto Closing old issues. If you'd like to reopen this, let us know. Thanks!


text:
Settings: delete data warning

Show a warning asking the user to confirm they want to delete their data after pressing the button.

Commit: https://github.com/johneastman/todo/commit/ec788e8e3daf68829acd1b5236fe4a8b49ce0850

repo: johneastman/todo


text:
Add missing parameter and type definition for transfer

In my PR #7 I forgot two things:

Adding the transfer parameter to both calls of postMessage
Adding the transfer parameter to the definition of the method send

This PR corrects that.

Hi @gabrielecirulli, version 6.0.2 is now available.
Thank you so much for your contributions! They are truly valuable, and I'm delighted that you found my humble work useful.
Please don't hesitate to let me know if there's anything else I can assist with. I also warmly invite you to take a look at other packages I've developed.
Again, thank you so much.

Thank you! This library is great, two way fully-typed communication with a worker is a godsend. It's the only one I could find online that does it, I'm surprised it's not more popular.

By the way, I'm not sure why but the default version of this library on npm is still 1.0.0 instead of 6.0.0. Might be worth looking into.


text:
[Enhancement/Feature Req?] A request to implement a feature or know if possible to do

Thanks for reading! I was wondering if it were possible to have the bot show that it is typing once it registers that it will respond to someone's message, then type for the duration till the message is sent?
Also thanks for taking the time to share this repo. Finding something updated or with easy to read/follow steps and code for a bot like this has been a struggle

Hey, thanks for the request! I understand your struggle, that's why I decided to make this repo public in the first place. Just added in the feature, was an easier fix than I thought. If anyone's curious, I just changed with message.channel.typing to async with message.channel.typing and moved it further up the code for responsiveness' sake.
The first message the bot receives after you turn it on will always be handled sort of sluggishly for reasons I'm not really sure of. So don't worry if the typing indicator acts weird or doesn't display at all for that first message, because in my testing (and running on that same ancient i5) it's perfectly snappy on all subsequent messages. Enjoy!

Thanks for adding this btw! I really don't know if this is the appropriate place to add on, but I had a question about the feature. When I execute and the bot shows as "typing" it usually end the typing event a few seconds to a minute before the bot sends its actual message. Is this intentional just by nature of the program or is that an issue on my end?
Also if we wanted the bot to only respond in specific servers do you know which file this code should be added, if it's something possible?

Hmmm. Reopening issue for now, others please comment if you're experiencing the same.
I haven't experienced this at all. The bot in general shouldn't be taking longer than 10 or so seconds to get a response. What GPT model did you train? The testing I did for the typing feature was done on 124M and 355M. 355M is a tad slower but never takes longer than 20 seconds, in my experience. If you're using something larger than 355M then I'd recommend you just use 355M, as the higher you go, things start to get crazy heavy and the returns that you get (especially for relatively small things like generating one line of conversational text) kind of diminish.
Another concern might be RAM. My bot may run off an ancient i5, but that server has 8GB of ram, and almost all of it is available as nothing else was running at the time. Running this locally off of your own daily-driver computer while other things are happening in the background is perfectly doable, but not really recommended as it sucks up CPU and RAM from your other programs as well as not really being suitable for leaving unattended. (My friends in different time zones want to play with it too, after all!) I've noticed this when trying to run it on my laptop, whose Ryzen 5 3550H is hypothetically superior to my server's i5-2400 with the same amount of memory. Things generally take way longer and act buggier even on 124M. If you have a VPS or old desktop computer or Raspberry Pi or anything else you can use as a headless server, try running Gravital off of that and see if the issue persists. If your connection is bad then that could be causing it, too, since what you're describing sounds kind of like what would happen to a laggy human sending a normal message in a discord channel.
As far as customizing where auto-response can happen, I recognize that that's an issue (you might want it to be @able in #general, for example, without having it interrupt your conversations randomly.) I've been trying to think of ways to implement that, and whenever it's done I'll comment here and release it as v1.3. It'll probably be handled in bot.py and managed on a per-channel basis, so you can do what you like with that as far as allowing / disallowing entire servers.

authors: johnnymcmike trombonePlayers

repo: johnnymcmike/Gravital


text:
Flutter web added

[x] only the most simple basic hello world app
[x] remove all tests and commands for tests and dependencies for tests
[x] must say "Hello World" on the main component
[x] only include the minimal components (1 ideally)
[x] no routing, not extras whatsoever
[ ] no styling - some styling required in order to run (based on the selected platform)
[x] nothing else !
[ ] must work by running npm install and npm start (or equivalent) - see comment below
[x] must be in the folder named <tech-name>
[x] add yourself using the all-contributors bot @allcontributors please add @<your-github-account> for code
[x] add build steps and which folder to serve in the README.md, Serve the public folder

A bit more complex scenario as Flutter SDK needed to be installed first (explained in README) as couldn't find an option to install it via NPM. But still 100% CI/CD friendly - here is a GitHub action to build and deploy it to Azure Static Web App - demo

Thanks for the review, @johnpapa! Fixed PR.

repo: johnpapa/hello-worlds


text:
Not in sync with Volar

Hi,
I started getting error TS7006: Parameter 'value' implicitly has an 'any' type. for type checks inside template tags from vue-tsc, whereas volar in VSCode isn't reporting this error and hovering over value prints correct type
Volar:

vue-tsc:

Does this mean vue-tsc is behind volar versions?

Thanks for you report! It's seem a bug in 0.0.23 (this version is fix pug checking only), please downgrade to 0.0.22 for now if you're not using pug.

Thanks – this fixes it 👍

Fixed in 0.0.24, and 0.0.23 has been deprecated, because there has some serious typecheck mistake...

authors: johnsoncodehk zigomir

repo: johnsoncodehk/vue-tsc