Amass Error

On running I get the following error
/root/Osmedeus/plugins/go/amass enum -timeout 10 -active -max-dns-queries 10000 -include-unresolvable -dir /root/.osmedeus/workspaces/{Redacted} -d {Redacted} -o /root/.osmedeus/workspaces/{Redacted}

On running the command in a new terminal I get
flag provided but not defined: -include-unresolvable

Same here. Installed the latest version.

Running the default docker image with
[*] Execute: /home/Osmedeus/plugins/go/amass enum -timeout 10 -active -max-dns-queries 10000 -include-unresolvable -dir /root/.osmedeus/workspaces/example.com/subdomain/amass-example.com -d example.com -o /root/.osmedeus/workspaces/example.com/subdomain/example.com-amass.txt
flag provided but not defined: -include-unresolvable
----------------------------------------------------------------------
Something went wrong with the command below:
/home/Osmedeus/plugins/go/amass enum -timeout 10 -active -max-dns-queries 10000 -include-unresolvable -dir /root/.osmedeus/workspaces/example.com/subdomain/amass-example.com -d example.com -o /root/.osmedeus/workspaces/example.com/subdomain/example.com-amass.txt

The default command  pass an unsupported command line argument "include-unresolvable", if you run this manually with out the flag amass works.
Is there a way to pass tell osmedeus to run amass without the -include-unresolvable flag? I would like to be able to use amass with a configuration file similiar to https://github.com/OWASP/Amass/blob/master/examples/config.ini. Something like below
/home/Osmedeus/plugins/go/amass enum -timeout 10 -active -max-dns-queries 10000 -config <path to config file in docker image> -dir /root/.osmedeus/workspaces/example.com/subdomain/amass-example.com -d example.com -o /root/.osmedeus/workspaces/example.com/subdomain/example.com-amass.txt

same here.

Found the solution for this problem. The file that needs to be changed is in the lib/workflow/general.py at line 23. Just remove the "-include-unresolvable" from the command line.
So just do the following
git clone https://github.com/j3ssie/Osmedeus
cd Osmedeus/lib/worflow
nano general.py
./install.sh

They have removed the include-unresolvable option from amass:
https://github.com/OWASP/Amass/commit/e42b30ed6aa1f332ca040fbe534014d8358d875f
I will push a pull request in a few

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


Improve documentation

https://unix.stackexchange.com/questions/33617/how-can-i-update-to-a-newer-version-of-git-using-apt-get

The 2.0.0-rc1 release improved significantly the docs


Search: Ability to pass a custom SearchCategory renderer to the Search component

Feature Request
Problem description
Currently the Search component supports custom renderer for the category name and result items but not for the category layout.
For example, instead of having a two columns layout (with category on the left and results on the right), I would like to be able have a simple list with a header by category:

Proposed solution
Search can receive a new prop "categoryLayoutRenderer", which is passed down to SearchCategory. The default value of this props is the current category layout.
The prop categoryLayoutRenderer, is a function that receive the rendered category name and rendered results items.
Exemple:

MVP
We opened a PR to show the POC of how it can be done: https://github.com/Semantic-Org/Semantic-UI-React/pull/3672

Updated the description with a PR for the MVP: https://github.com/Semantic-Org/Semantic-UI-React/pull/3672

Fixed in #3672


Keep single instance of ApplicationDataCache

Rationals:

The ApplicationDataCache is supposed to be shared.
This avoids crashes on exit if there are WebConents instances apart from
Application (like it happens during presentation sessions)

@darktears ptal

Isn't it problematic that cache_ won't be deleted?

Isn't it problematic that cache_ won't be deleted?
Its lifetime is the same as the process lifetime, so it's fine.

It's possibly a good idea to add a comment to ApplicationDataCache explaining that it's supposed to be static and people shouldn't assume its destructor will be run (or add things there that need to be destroyed).

It's possibly a good idea to add a comment to ApplicationDataCache explaining that it's supposed to be static and people shouldn't assume its destructor will be run (or add things there that need to be destroyed).

done

hmm, I was actually thinking of something more verbose :-) for example, a comment on top of ApplicationDataCache itself (like Chromium documents some of its classes) saying that the class is leaked and shouldn't have a destructor or things that need to be destroyed. plus s/leacked/leaked/.
perhaps you could even add a destructor that asserts so that we're always sure it's used statically?

@rakuco I've slightly changed the interface PTAL

yes! this is much better :cool:
lgtm with the indentation nit


[FEATURE] Generate the AppCacheBuster index file for apps

Thank you for your contribution! 🙌
To get it merged faster, kindly review the checklist below:
Pull Request Checklist

[x] Reviewed the Contributing Guidelines

Especially the How to Contribute section

[x] No merge commits
[x] Correct commit message style

Coverage increased (+0.04%) to 84.892% when pulling ef07007d25e81cbf170a1ef7b8bd39412f44bb2e on feature-cachebuster into b0c59610ace127b7df3bc7f0ce7931815e3b4378 on master.

generateCachebusterInfo is now an optional task which needs to be enabled via includeTasks in the commandline

Please squash the two commits that have an identical message.


runtime error with TypeError

Hello,
I'm trying to test pySceneDetect with Python 2.7.12, numpy 1.11.1, scipy 0.17.1 and openCV 2.4.13 on Windows 10 64bit.
All seemed good but I got error when trying to run PySceneDetect on command line, that was:
C:\Works>scenedetect -i goldeneye.mp4
[PySceneDetect] Detecting scenes (threshold mode)...
[PySceneDetect] FATAL ERROR - could not open video goldeneye.mp4.
Traceback (most recent call last):
File "C:\2ndPrograms\Python27\Scripts\scenedetect-script.py", line 9, in
load_entry_point('PySceneDetect==0.3.4', 'console_scripts', 'scenedetect')()
File "c:\2ndprograms\python27\lib\site-packages\scenedetect__init__.py", line 346, in main
timecode_list = timecode_list
TypeError: 'int' object is not iterable
What is my fault? I think your code worked correctly but someone said TypeError needed to be fixed like in using List according to googling.
Sorry for writing this asking in Issue raising page.
Thank you.

Hi @gitcomo;
No problem, this is indeed the proper place to bring up such an issue.  Thank you for providing full details/output, much appreciated.  You can ignore the TypeError exception, this is a side-effect of the video not being loaded, and will be fixed in the following release.
The problem here is the video could not be loaded.  In this case, it appears the file does exist, and if you can play it locally, I would make sure you have OpenCV installed properly.  Specifically, the opencv_ffmpegXX.dll (opencv_ffmpegXX_64.dll for x64) needs to exist in your $PATH environment variable, or at least the current working directory.
To check if this is the case, run a Python prompt where goldeneye.mp4 is, and type:
import cv2
cap = cv2.VideoCapture('goldeneye.mp4')
cap.isOpened()

If you don't get True, download the OpenCV release matching your Python module, place the DLL file where the goldeneye.mp4 file is, and try running the above again.
Let me know when you've tried this and if it solves the issue (otherwise I'll certainly continue looking into it).  I'll try to detect this behaviour in the future and display a more helpful error message.

Breakthrough

@gitcomo any luck?

I'm having the very same issue. I've verified that the path to the opencv_ffmpeg310_64.dll is in my PATH variable, and when I run the test steps you have above, cap.isOpened() returns False.
When I tried putting the DLL in the same directory as my MP4 file, I still get the error referring to line 346.
Any help you can provide is greatly appreciated! Also, I'm very new to Python, so it's entirely possibly my ignorance that's causing the issue.

@sheimend are you running a 32-bit or 64-bit Python interpreter?  If you're unsure, run the following in a Python prompt, which will return 4 on 32-bit, and 8 on 64-bit:
import ctypes
print ctypes.sizeof(ctypes.c_voidp)

Also, may I ask how you installed the OpenCV module?  Did you install it via pip or get it from the OpenCV website?  I doubt you've done anything wrong, although do double-check you're using the proper DLL file.
I just double checked and indeed the test code with cap only fails when I'm missing the ffmpeg DLL file in my working directory (tested with 3.1.0 using the same DLL file), so any other information that might help replicate the error would be appreciated.

Thank you so much for the quick reply! It turned out to be an environment
issue, but is now resolved.  Made me look
like a hero today :-)
One feature request: id love an HTML output option that creates a table,
like the CSV, but that also includes the frame grab thumbnails. I was able
to recreate this structure in Excel by writing a macro to insert the
pictures in each row, but an HTML table might make the format more
accessible for folks less familiar with Excel scripting.
Thanks again!
-Scott
On Aug 2, 2016 5:30 AM, "Brandon Castellano"<EMAIL_ADDRESS>wrote:

@sheimend https://github.com/sheimend are you running a 32-bit or
64-bit Python interpreter? If you're unsure, run the following in a Python
prompt, which will return 4 on 32-bit, and 8 on 64-bit:
import ctypes
print ctypes.sizeof(ctypes.c_voidp)
Also, may I ask how you installed the OpenCV module? Did you install it
via pip or get it from the OpenCV website? I doubt you've done anything
wrong, although do double-check you're using the proper DLL file.
I just double checked and indeed the test code with cap only fails when
I'm missing the ffmpeg DLL file in my working directory (tested with 3.1.0
using the same DLL file), so any other information that might help
replicate the error would be appreciated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Breakthrough/PySceneDetect/issues/16#issuecomment-236889452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0pX31ExgcF3CoxmK-GuQJCcOPqj2Yfks5qbzhmgaJpZM4JQcvi
.

Hey  @sheimend / @gitcomo, I've made a new release including a bug-fix for the exception that was being thrown.
I also managed to use PyInstaller to generate a portable executable that includes all the required dependencies.  If you want to try that out, download the PySceneDetect-0.3.5-win64.zip file from the Releases page.
Once you extract the files, you should be able to run the scenedetect.exe file without any problems!

@sheimend:
Admittedly I'm not as familiar with (X)HTML/CSS as I'd like to be, but I have to say this is a brilliant idea.  If you'd like, you can create/open a new issue for the feature request (and then can separate the two discussions/issues if any more questions arise), and yes I can immediately see how useful such a thing would be, so again, great idea :smile:
Glad you managed to get everything working, and thanks for keeping me updated!

I am having the same issue on OS X El Capitan.
I have opencv3.0 that I have installed using pip and it works properly. My guess is some sort of package conflicts in versions. Do you have any ideas?
[PySceneDetect] Detecting scenes (threshold mode)...
WARNING: Couldn't read movie file input.mp4
[PySceneDetect] FATAL ERROR - could not open video input.mp4.
Traceback (most recent call last):
  File "/usr/local/bin/scenedetect", line 8, in <module>
    sys.exit(load_entry_point('PySceneDetect==0.3.4', 'console_scripts', 'scenedetect')())
  File "/Library/Python/2.7/site-packages/scenedetect/__init__.py", line 346, in main
    timecode_list = timecode_list
TypeError: 'int' object is not iterable```

@mahdisr85 that's interesting, when you run the following in your working directory from a Python prompt, what do you get?
import cv2
cv2.__version__
cap = cv2.VideoCapture('input.mp4')
cap.isOpened()

Also, you might want to try compiling/installing OpenCV from source on OSX, as the packages on pip may be compiled with certain options/dependencies not present on your system (on Linux I've always found compiling/installing OpenCV from source presented the least amount of issues).

@mahdisr85 Any update?

I installed it using the source and it works now. My guess it had to do something with the fact that I use homebrew Python and the scripts were explicitly running on system Python. Thanks.

Same problem here, and copying the aforementioned DLL to my working directory did fix the problem. I had used the procedure here to install OpenCV. How is the DLL supposed to be installed, when that procedure simply says to copy the OpenCV module to the Python directory?

@GregS2 I apologize, I should update that guide.  That only covers installing the OpenCV Python module, not OpenCV itself.  The .DLL files that come with the corresponding OpenCV release must be placed somewhere in your system's %PATH% to "install" the OpenCV DLL files (shared libraries) onto your computer.

To solve dependency-related runtime errors for Windows users, new versions of PySceneDetect are distributed with a complete set of binaries, both as a .MSI installer, and in portable .ZIP format (64-bit only).


Android/AVE.Evo.rqhoy vulnerability detected

With release v0.1-015 of the APK, Avira Antivirus detected a vulnerability. Possible virus idk

Seems fixed in v0.1-016.


Rich Presence not cleared on non-canary client

See https://github.com/discordapp/discord-rpc/issues/164

Looks like this was fixed


feat: allow TextUnit in SP and EM for textOffset

Merge activity

Dec 18, 3:44 PM PST: A user merged this pull request with Graphite.


[MetricsAdvisor] Add code samples for Credential API

Fixed by https://github.com/Azure/azure-sdk-for-net/pull/22549.


Create url pattern for posting question

make changes in config/url.py for making it work end to end

claim

claim

claim


Robot's config data available to listeners

Background: I have a listener implementation that produces report files and for convenience i'd like to write that into RF's output directory.  Since it looks like getting the configuration from BuiltIn() is not possible (can't get instance of running robot in listener's scope) there are afaik no good alternatives to get RF runtime configuration.
For my usecase, i can work around by inspecting log/report/output file callbacks and inspect the directory from any one of them. But imho, it would be beneficial if extra api call in listener interface could be implemented that would just receive RobotSettings instance or just a dict of properties.
As a side note, this would add a bit of extra metadata that could be exposed to alternative report outputs that then would then help in debugging when RF's own report formats can't be used when integrating into CI/QA reporting tools.

Closing, i can get the stuff out from message() - not optimal but pays the bills.


Update to 1.42: Getting EACCES: permission denied <IP_ADDRESS>:9000

VSCode Version:

Version: 1.42.0 (system setup)
Commit: ae08d5460b5a45169385ff3fd44208f431992451
Date: 2020-02-06T10:51:34.058Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

OS Version: Windows 10 Pro 1909 Build 18363.592

Steps to Reproduce:

Install VS Code prior to 1.42
Install PHP package from welcome screen (which installs felixfbecker/vscode-php-debug)
Make the default debug configuration for PHP
Run a debug session (works fine)
Update VS Code using the setting's Cogwheel to recent
Run a debug session. It aborts saying:

Error: listen EACCES: permission denied <IP_ADDRESS>:9000
    at Server.setupListenHandle [as _listen2] (net.js:1209:19)
    at listenInCluster (net.js:1274:12)
    at Server.listen (net.js:1362:7)
    at c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:236:24
    at new Promise (<anonymous>)
    at createServer (c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:184:40)
    at PhpDebugSession.<anonymous> (c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:240:27)
    at Generator.next (<anonymous>)
    at c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:7:71
    at new Promise (<anonymous>) {
  code: 'EACCES',
  errno: 'EACCES',
  syscall: 'listen',
  address: '<IP_ADDRESS>',
  port: 9000
}

Somehow VS Code prevents scripts from binding to ports? Port 9000 is not already bound as you can see here:

However, it allows me to use ports greater than and equal to 10000.

Does this issue occur when all extensions are disabled?: This needs php-debug extension

@khooz Please open an issue directly against https://github.com/felixfbecker/vscode-php-debug
VS Code does not interfere with port listening, so IMHO this might be an issue with the extension itself... Perhaps it tries to bind twice to the same port, etc.  It's also curious that such a nice port number would be used by the extension. Normally, the best practice is to bind to port 0 which means that the OS should allocate to you an available port and then you can read the port and use that. IMHO that should be the pattern used by the extension, given that this is not a user-facing port.


abstracting pcap_loop with futures::Stream

is there any way to get a stream of packets? if not i'd be highly interested in building this functionality on top of this crate. I think this is achievable by using mpsc channels within the handler of pcap_loop i'm not yet sure how to get pcap_breakloop into the picture.
I want to use this within a small tool i'm currently building and async packet handling would be a blessing

Do you mean non-blocking / async? I think it should be fairly straightforward using mpsc sync, although... note the lifetime on Packet, it's currently reusing the same memory for all packets to avoid allocations -- I don't know if that will be a problem.

I recall there being an async (callback-based) packet notification API in pcap, which would work nicely with futures, but I don't remember what platform support looks like.

pcap_loop is callbck based, but blocking. I'd tend to use pcap_get_selectable_fd and pcap_set_nonblocking so that it can be handled within a single thread and then throwing an unsync::mpsc ontop to provide the stream

If someone wants to watch: here is a compiling, but yet untested version of it: https://github.com/Roxxik/pcap (it's not yet polished and might need some refactoring)

I would be interested in having tokio-integrated pcap, too.
@Roxxik: What are your plans with your branch? How would you feel if I extracted the changes for this branch (eg. get_selectable_fd, …) and created a pull request, as a first step to some tokio-pcap crate?

@vorner I don't have that much time currently. Just go ahead and if i have
some spare time, i'm picking up the changes.
my plan was to build a very simple tui application on top of a stream of
packets. I have started some minimal printing of the stream, aggregated
packet and byte count, and maybe the average packet size, but that's it.
I'm not sure whether that code is on github yet. If not i can upload it
later today and post a link in here.

yesterday was a bit busy, but here it is: https://github.com/Roxxik/pcap-test
the code is quite ugly and uncommented since it's in the midst of a refactoring, but it works (after a quick fix that i just applied) so have fun with it ;)

@Roxxik and @vorner, I'm looking at this now - as murphy's law would have it I was busy on my own nonblocking fork when I stumbled across your thread here. Would be interested to hear if you made any more progress, or would be still be interested.

Sorry, it just sits somewhere deep in my TODO list :-|.

@Roxxik, would you mind if I try and work your changes into an acceptable PR for @ebfull (I went off the path using the pcap_dispatch route)? That is @ebfull if you would be interested in having non-blocking/tokio support?

I would be interested in that. 👍

Sure, go ahead
I had an application in mind that'd be using the feature, but for one i don't have too much time currently and second , i don't think i'm going to finish any of this soon
I haven't done any more than you can see online, but i'd love to look into your PR if it's done ;)
(i already desribed my application idea above, no need to repeat myself, more or less somthing like nethogs, but with some principled programming (have you looked at their, in my opinion, horrible c++?))

This is done by #76! Woohoo!


Adivce to install

Hello, please advice, I can not run jQuery.countdown according to the instructions, do you have another example of a file or somewhere to download?
Thank you

It's impossible to guess what kind of trouble you are going through, but as a default the plugin works well, issues with the install are often cause by bad understanding of javascript or the user own HTML and JS.
You can always checkout the docs: http://hilios.github.io/jQuery.countdown/documentation.html
There are plenty of examples there, if not works at all please try to be more descriptive about your problem.


Provide Certificate is overdue for renewal status / has expired status

https://github.com/jetstack/cert-manager/blob/3191293cb8b475f94aa9f4c843178039c5bb6a48/pkg/controller/certificates/readiness/readiness_controller.go#L202-L207
I currently have at least 6 overdue certificates:

SSL certificate for server "alertmanager.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:34 +0000 UTC)
SSL certificate for server "alertmanager.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:34 +0000 UTC)
SSL certificate for server "argocd.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:24 +0000 UTC)
SSL certificate for server "argocd.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:24 +0000 UTC)
SSL certificate for server "connect.glaypen.garnercorp.com" is about to expire (2021-12-29 03:37:27 +0000 UTC)
SSL certificate for server "connect.glaypen.garnercorp.com" is about to expire (2021-12-29 03:37:27 +0000 UTC)
SSL certificate for server "monitoring.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:32 +0000 UTC)
SSL certificate for server "monitoring.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:32 +0000 UTC)
SSL certificate for server "oauth2.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:21 +0000 UTC)
SSL certificate for server "oauth2.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:21 +0000 UTC)
SSL certificate for server "prometheus.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:32 +0000 UTC)
SSL certificate for server "prometheus.glaypen.garnercorp.com" is about to expire (2021-12-29 01:37:32 +0000 UTC)

I know about them because ingress-nginx warns me about them. Eventually ingress-nginx will warn me that they're about to expire in the past. Hopefully I'll manage to get that message changed:
https://github.com/kubernetes/ingress-nginx/pull/8046
Since cert-manager knows when it should renew a certificate, the status controller should be willing to add:

Certificate should be eligible for renewal or something to that effect (similar to the existing concept implemented by ingress-nginx).

Similarly, as cert-manager knows when a certificate will expire, the status controller should be willing to add:

Certificate has expired (similar to my PR to ingress-nginx).

Similarly, as cert-manager knows when a certificate will expire, the status controller should be willing to add:
Certificate has expired

If the certificate has expired, this will be a violation in one of the checks that the readiness controller performs and will result in Ready: false condition with a message that the cert has expired

Since cert-manager knows when it should renew a certificate, the status controller should be willing to add:
Certificate should be eligible for renewal or something to that effect (similar to the existing concept implemented by ingress-nginx).

A renewal that is in progress/has failed should be observable by status of the Issuing condition that gets applied when an issuance starts (i.e at the renewal time). If the issuing fails, the Issuing condition is set to false with the corresponding reason and message


Additional fields for assets unclear

Regarding additional fields for assets, the docs say:

For an example see the sentinel2-sample. The Sentinel-2 overall gsd is 10m, because this is the best spatial resolution among all the bands and is defined in Item properties so it can be searched on. In the example Band 5 and others have a gsd of 20m, so that asset specifies the gsd as well, which overrides the Item gsd for this one asset.

But in fact, in the example the gsd is only specified in the properties and nowhere else in the file; just the individual assets' titles mention it (but that's not really machine-readable).
Now I'm unsure what is the correct way to express this in STAC? I raised the issue here, but maybe it will need to be transferred to the stac-examples repo.

Closing as duplicate issue #1228


Todos

What kind of change does this PR introduce?
Feature
What is the new behaviour?
Merge operation and path level params
Does this PR introduce a breaking change?
Yes. Operation path parameters contain path level params.
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[X] Docs have been added / updated
[X] Relevant Changeset has been added

coverage: 100.0%. remained the same
when pulling 78c1ffbd9a49d96e4186a9046b2958982ebdd23c on todos
into 00bcd6a81511626c8023d93f5bb6e640571e7654 on master.


GSOC 2021 Proposal

Respected sir/madam
Hi , I am Ameya Chawla currently pursuing my B.Tech in Computer Science and Engineering .
I read about your organization in GSOC 2021 and looking forward to work with your organization .
I have also made a pull request "Implemented the Hyperbolic Sine Function for matrix #4944"
Please can you guide further how should start working .
Please can you share a sample template for the proposal to be made for Google Summer of Code Application..
Thank You

Please join gitter and lets discuss it there.
https://gitter.im/cupy/community


:No matching function with signature: dow(date)

Steps to reproduce the behavior (Required)
mysql>  select dow(date('2024-04-24'));
+-----------------------------------+
| dayofweek_iso(date('2024-04-24')) |
+-----------------------------------+
|                                 3 |
+-----------------------------------+
1 row in set (0.01 sec)
mysql> select extract(dayofweek_iso from date('2024-04-24'));
+-----------------------------------+
| dayofweek_iso(date('2024-04-24')) |
+-----------------------------------+
|                                 3 |
+-----------------------------------+
1 row in set (0.01 sec)
mysql> select extract(dow from date('2024-04-24'));
ERROR 1064 (HY000): Getting analyzing error. Detail message: No matching function with signature: dow(date).
Expected behavior (Required)
mysql> select extract(dow from date('2024-04-24'));
+-----------------------------------+
|                                 3 |
+-----------------------------------+
Real behavior (Required)
No matching function with signature: dow(date).
StarRocks version (Required)
3.2.5

This problem still exists.


DC-286: publish perf test results to QA dashboard

This migrates changes from QA-1765 branch to current code base. This adds a command to the nightly builds that uploads test results into the testrunner GCS bucket.
Many other minor changes:

the only testrunner account we use is perf, so the non-perf references have been removed.
update the readme to write testrunner build output into the build directory instead of /tmp
remove some redundant subproject qualifiers in gradle commands

If you are on the VPN, you can see the result of running the nightly perf workflow here: https://trdash.dsp-eng-tools.broadinstitute.org/. Select the date 04/26/22 and then select catalog-perf from the Env type menu.


V6.0

Handled here: https://issues.hibernatingrhinos.com/issue/RDBC-863/Node.js-client-on-managed-hosting-providers


MAINT: stats: do not allow non-integer xk for rv_discrete

This is a follow-up to gh-5672, intending to close gh-3758. Here this is the simplest fix: it just raises an error if the support,  xk, is not integer. See gh-3578 for discussion and possible issues due to non-integer xk.
cc @fuglede

Isn't the easy fix here to set rv.inc = None if the values are not integers - and then thing will fail loudly rather than silently?

Old and stale,  and no consensus on where it's wanted at all. Closing. Thanks all for reviews.


Low priority: Go pathname containing "-" does not work correctly.

The example program at https://github.com/masatana/go-textdistance does not go2hx correctly.
package main

import (
	"fmt"

	"github.com/masatana/go-textdistance"
)

func main() {
	s1 := "this is a test"
	s2 := "that is a test"
	fmt.Println(textdistance.LevenshteinDistance(s1, s2))
	fmt.Println(textdistance.DamerauLevenshteinDistance(s1, s2))
	fmt.Println(textdistance.JaroDistance(s1, s2))
	fmt.Println(textdistance.JaroWinklerDistance(s1, s2))
}

The path to "go-textdistance" is not correctly emitted into Haxe:
package ;
import stdgo.StdGoTypes;
import stdgo.Error;
import stdgo.Go;
import stdgo.GoString;
import stdgo.Pointer;
import stdgo.Slice;
import stdgo.GoArray;
import stdgo.GoMap;
import stdgo.Chan;
function main():Void {
    var _s1:GoString = (Go.str("this is a test") : GoString);
    var _s2:GoString = (Go.str("that is a test") : GoString);
    stdgo.fmt.Fmt.println(_textdistance.levenshteinDistance(_s1, _s2));
    stdgo.fmt.Fmt.println(_textdistance.damerauLevenshteinDistance(_s1, _s2));
    {
        var __tmp__ = _textdistance.jaroDistance(_s1, _s2);
        stdgo.fmt.Fmt.println((__tmp__._0 : GoFloat64), (__tmp__._1 : GoInt));
    };
    stdgo.fmt.Fmt.println(_textdistance.jaroWinklerDistance(_s1, _s2));
}

Haxe errors:
golibs/Main.hx:14: characters 27-40 : Unknown identifier : _textdistance
golibs/Main.hx:14: characters 27-40 : ... For function argument 'args'
golibs/Main.hx:15: characters 27-40 : Unknown identifier : _textdistance
golibs/Main.hx:15: characters 27-40 : ... For function argument 'args'
golibs/Main.hx:17: characters 23-36 : Unknown identifier : _textdistance
golibs/Main.hx:20: characters 27-40 : Unknown identifier : _textdistance
golibs/Main.hx:20: characters 27-40 : ... For function argument 'args'

Can this be tested now and see if it still doesn't work @elliott5 ? I believe I worked on fixing this a while ago.

Unfortunately it still does not work @PXshadow , the generated code looks the same as before - with no path to the _textdistace module and not given in the import statements.
I noticed in re-testing that the go-testdistance module itself was being emitted into an inconsistent file name:
./golibs/github_com/masatana/go_textdistance/Textdistance.hx
I would expect it to be called Go_textdistance.hx.

Can this be checked again @elliott5 ? I saw code recently that tries to prevent this issue.

I tried it out and it actually raises to be a higher priority problem because imports shown in this code are totally unsupported
"github.com/deckarep/golang-set" can magically turn into package mapset.


General improvements and testing

Simplified API, deleted channel subscribers. Tests added

Codecov Report
Patch coverage: 84.52% and project coverage change: -1.04 :warning:

Comparison is base (fa5a047) 82.92% compared to head (7c704eb) 81.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   82.92%   81.88%   -1.04%
==========================================
  Files           1        1
  Lines         123      127       +4
==========================================
+ Hits          102      104       +2
+ Misses         16       15       -1
- Partials        5        8       +3

Impacted Files
Coverage Δ

cog.go
81.88% <84.52%> (-1.04%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Question: How can stats get added to row group columns?

I'm generating files with the generic writer, but when I read the meta data for my generated files, every row group column has ST:[no stats for this column]. This I believe will lead to very poor predicate searching, etc in other tools.
Its unclear of the steps I would have to take to have these stats produced. Do I need to run everything through a buffered sort? Or is this simply not supported yet?

Hello @rcaught
parquet-go currently does not generate column stats but this could be added to the library.
We always welcome contributions, would you have time to submit a pull request which adds this feature?


fix(certificates): Make certificates printable

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue (replace XXXXX with an issue no in next line)

BREAKING CHANGE: None
Closes #17346
Description
I only npm tested the PR, could not test it visually due to the local auth issue.
Please block it if you think it needs to be tested more thoroughly.

Will run some QA on different sizes. Code is good to go.


Implement price-fetching command

We wish to implement a !price command that fetches the TCGplayer low, mid, and high prices. Foils optionally.

Fixed in commit #40 https://github.com/alexgerst/yawgmoth/commit/c1028284bdafdd31ab1025f856fc0805658bf3c1


Unable to find Resources to use FirebaseRecyclerAdapter with Firestore

Step 2: Describe your environment

Firebase/Play Services SDK version: 11.4.2
FirebaseUI version: 3.0.0

Step 3: Describe the problem:
Just trying my hand with the new Firestore. Unfortunately, I am unable to find relevant information relating RecyclerView, Firebaserecycleradapter and the new Firestore.
When trying to update the Firebase dependencies to 11.4.2 and the Firebase-UI dependencies to 3.0.0 the following error is getting displayed where I have been using FireaseRecyclerAdaper
populateViewHolder does not override from its superclass
Any relevant information and links to available resources with be appreciated.
Thanks.

@CeJienAJPC populateViewHolder is no longer a thing, make sure to take a look at the upgrade guide and Firestore docs.

I am sorry. I missed the information. Thanks again

NP! 😄


Trouble getting virtual disk config to work

Hi,
I'm having trouble getting the disk spec to work, i've tried different variants on the disk config (there are a lot of configuration added to try to work out what it wants) but always get the error message on vcenter saying "Invalid configuration for device '1'."  If i comment out the disk block it creates the VM fine.
I've worked from the sample of adding_disk_to_vm.py, create_random_marvel_vms.py, and a few other samples i've found googling around. Any help would be appreciated.
Thanks,
Mark
def create_vm(vm_name, si, vm_folder, resource_pool, host, datastore, network):
    """
    :param name: String Name for the VirtualMachine
    :param service_instance: ServiceInstance connection
    :param vm_folder: Folder to place the VirtualMachine in
    :param resource_pool: ResourcePool to place the VirtualMachine in
    :param datastore: DataStrore to place the VirtualMachine on
    """
    global cpucount
    global memorysize
    global disksizes
    unit_number = 0
    disk_type = 'thin'

    datastore_path = '[' + str(datastore.name) + '] ' + vm_name
    dbg('%s %s %s' % (datastore, datastore.name, datastore_path))
    devices = []

    scsi_spec = vim.vm.device.VirtualDeviceSpec()
    scsi_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add
    scsi_spec.device = vim.vm.device.ParaVirtualSCSIController()
    scsi_spec.device.busNumber = 0
    scsi_spec.device.controllerKey = 100
    scsi_spec.device.sharedBus = 'noSharing'
    devices.append(scsi_spec)

    disk = 40
    new_disk_kb = int(disk) * 1024 * 1024
    disk_spec = vim.vm.device.VirtualDeviceSpec()
    disk_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add
    disk_spec.fileOperation = vim.vm.device.VirtualDeviceSpec.FileOperation.create
    disk_spec.device = vim.vm.device.VirtualDisk()
    disk_spec.device.backing = vim.vm.device.VirtualDisk.FlatVer2BackingInfo()
    if disk_type == 'thin':
        disk_spec.device.backing.thinProvisioned = True
    disk_spec.device.backing.diskMode = 'persistent'
    disk_spec.device.backing.fileName = datastore_path + '/' + vm_name + '.vmdk'
    disk_spec.device.backing.datastore = datastore
    disk_spec.device.key = 2001
    disk_spec.device.unitNumber = 1
    disk_spec.device.capacityInKB = new_disk_kb
    disk_spec.device.controllerKey = 100
    devices.append(disk_spec)
    dbg("Creating new disk with %sGBs" % disk)

    dbg("Creating new NIC for network '%s'" % (network.name))
    #add a NIC. the network Name must be set as the device name to create the NIC.
    nic_spec = vim.vm.device.VirtualDeviceSpec()
    nic_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add
    nic_spec.device = vim.vm.device.VirtualE1000()
    nic_spec.device.deviceInfo = vim.Description()
#    nic_spec.device.deviceInfo.label = 'Network adapter 1'
    nic_spec.device.deviceInfo.summary = network.name
    nic_spec.device.backing = vim.vm.device.VirtualEthernetCard.NetworkBackingInfo()
    nic_spec.device.backing.network = network
    nic_spec.device.backing.deviceName = network.name
    nic_spec.device.connectable = vim.vm.device.VirtualDevice.ConnectInfo()
    nic_spec.device.connectable.startConnected = True
    nic_spec.device.connectable.connected = True
    nic_spec.device.connectable.allowGuestControl = True
    devices.append(nic_spec)

    vmx_file = vim.vm.FileInfo(vmPathName=datastore_path)

#    vmx_file = vim.vm.FileInfo(logDirectory=datastore_path,
#                               snapshotDirectory=datastore_path,
#                               suspendDirectory=datastore_path,
#                               vmPathName=datastore_path)

    config = vim.vm.ConfigSpec(name=vm_name, memoryMB=long(memorysize), numCPUs=cpucount,
                               deviceChange=devices, files=vmx_file, guestId=guestosid,
                               version='vmx-08', annotation=annotation)

    print "Creating VM {}...".format(vm_name)
    dbg(devices)
    task = vm_folder.CreateVM_Task(config=config, pool=resource_pool, host=host)
#    tasks.wait_for_tasks(si, [task])

I haven't tried your sample yet, but a couple things caught my attention.
First is you have controllerKey = 100.
This is the pointer to the controller. You also specify this for the controller.
scsi_spec = vim.vm.device.VirtualDeviceSpec()     scsi_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add     scsi_spec.device = vim.vm.device.ParaVirtualSCSIController()     scsi_spec.device.busNumber = 0     scsi_spec.device.controllerKey = 100     scsi_spec.device.sharedBus = 'noSharing'     devices.append(scsi_spec)
You should specify scsi_spec.device.key = 100.
Then the disk will point to the controller. Currently the disk and controller pointer to some device with key=100.
Next thing is you should key your devices with negative numbers to make sure they don't conflict with any existing devices (more of a thing for reconfigure than create, but a good pattern to have).


desc for dataset

What type of PR is this?

[ ] bug
[x] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

Need to align with @slimshadylol0303 @yyh0808 , and if this is acceptable, need to adjust the height of each card:

卡片高度大约增加56px，描述文字不能超过3行，标题位置固定2行高度，卡片依然保持高度一致。

thanks @yyh0808 !
@hetao92 @huaxiabuluo , the longest current description seems to fit(maximum 3 lines) already, in case not, I will try to rewrite them, could you please help co-author this PR (to help implement CSS changes on the branch ) for the design? Thanks!

Thanks


(PDB-3149) discard-message: mark! :discarded

Test PASSed

Test PASSed

CLA signed by all contributors.


Adding a Data Processing package for database to business logic

Context

Currently we have no way of using the information in the database in our back-end business logic so we have created a package that takes the data from the database and processes it into usable objects.
 #9

Your Changes
Description:

I changed the error in the BankingData.csv as it was using scientific notation rather than storing the number.
Created a new package called DataProcess.
Moved the BankingDataProcessingInterface and the CarDataProcessingInterface to this package.
Implemented the interfaces in new processing files.

Type of change (select all that apply):

[x] New feature (additional functionality separate from existing code)
[x] Refactoring (changing code structure only)
[x] Breaking change (changing code functionality)

Testing

In each processing file, in the main function I run each method and compared it to the documentation/database and everything matches up. Will add unit testing when I add unit testing to the overall project.
Checklist

[x] Code is up to date with main branch (no merge conflicts)
[x] Code has been properly tested
[x] Code has been properly documented
[ ] One or two people have reviewed this pull request

Keep all the data stuff in one package (DataAcces), please!


update packages

This PR updates the packages to the latest compatible versions. Will need to coordinate this with the Moonbeam package updates (https://github.com/papermoonio/moonbeam-mkdocs/pull/146) and Opslayer.
With the latest version of material-mkdocs, a bunch of bug fixes around the navigation.instant feature were fixed, so now we can add it in. I haven't come across any issues with it. This feature makes it more of a single page application where the site doesn't reload every time you click on a new page. Makes the experience a bit smoother for users.

@albertov19 I don't have the ability to merge this, can you please do the honors when you get a chance? 🙂
@augustocollado once this is merged, please do not merge/publish any PRs til I give you the green light to resume normal operations🚦


Remove version: FenoPhoto.FenoPhoto version 6.2.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://www.fenophoto.com/download/Setup_Fenophoto-6.2.0.msi
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)

Hi @Exorcism0666,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 887.)

URL: https://www.fenophoto.com/download/Setup_Fenophoto-6.2.0.msi
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 887)

Close with reason: Duplicate of #164304;


Parsing fails, requiring "TYPE must be string"

api 6.1.0 is failing when validating my schema, tripping up on fields that can be null. When I instead tried with the openapi-generator tool, it  didn't complain about building the SDK - so I don't really think the schema is invalid, although I'm open to all input!
Here's a snippet of the output:
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

SyntaxError: OpenAPI schema validation failed.

TYPE must be string

  113 |           {
  114 |             "schema": {
> 115 |               "type": [
      |                       ^ 👈🏽type must be string
  116 |                 "number",
  117 |                 "null"
  118 |               ],

TYPE must be string

  760 |                           },
  761 |                           "caption": {
> 762 |                             "type": [
      |                                     ^ 👈🏽type must be string
  763 |                               "null",
  764 |                               "string"
  765 |                             ]

Here's a snippet of the OpenAPI 3.0.3 schema:
            "get": {
                "summary": "List all attributes",
                "tags": [
                    "attribute"
                ],
                "parameters": [
                    {
                        "schema": {
                            "type": "number",
                            "default": 0
                        },
                        "in": "query",
                        "name": "offset",
                        "required": false
                    },
                    {
                        "schema": {
                            "type": [
                                "number",
                                "null"
                            ],
                            "default": null
                        },
                        "in": "query",
                        "name": "count",
                        "required": false
                    },

Thanks for any advice.

Hi! This is failing because OpenAPI 3.0.x does not support type arrays like that. That was introduced in OpenAPI 3.1. If you change the openapi property in your file to openapi: 3.1 it should work.
Interesting that it didn't complain about that when generating the SDK though.


refactor: consolidate ecosystem auth and smart account options

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on enhancing the AuthOptionsForm component in the dashboard by improving the handling of authentication options and introducing support for smart accounts. It refines the form structure and updates the logic for managing custom authentication and smart account settings.
Detailed summary

Updated types.ts to allow null values for authOptions and smartAccountOptions.
Replaced ConfirmationDialog with MultiNetworkSelector in auth-options-form.client.tsx.
Simplified state management by removing messageToConfirm.
Introduced AuthOptionsFormData type for form data structure.
Reorganized form handling for custom authentication and smart accounts.
Added UI elements for managing smart account options, including chainIds, sponsorGas, and accountFactoryAddress.
Improved error handling and user feedback with toast notifications.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5136  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on  Graphite


Unused variable in EtcdServiceDiscovery

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.6-SNAPSHOT

Steps to reproduce this issue
https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java#L64
private final ConcurrentMap<URL, ConcurrentMap<NotifyListener, ChildListener>> etcdListeners = new ConcurrentHashMap<>();

Need check this line

Can I take this Issue ?

close via #5548


COBOL COPYBOOK Improperly reporting TOKEN errors

Development environment used

Z Open Editor version:
Editor Platform

[X] Visual Studio Code
[ ] Red Hat CodeReady Workspaces
[ ] Eclipse Che
[ ] Standalone Theia

Editor Platform Version:
Operating System (on which VS Code runs such as Windows 10 2004, otherwise name and version of platform such as OpenShift v4.3):Windows 10 21H1
Java Version (when using VS Code or Theia, execute java -version and paste the details here):
[ ] Related to RSE API?

RSE API Plugin version:
Zowe CLI version:
Node.js version:

Logs attached (see here how to get them): yes/no

Problem Description
Detailed steps for reproducing the problem:

First step
Edit a Cobol COPYBOOK with multiple tokens:
000001 01  :PREF:-LOC-ADDR-TABLE-REC.
000002     :LB:  :PREF:-LOCALITY-TABLE.
000003           :LC:  :PREF:-LOCALITY-TRLR
000004                  OCCURS 0 TO 35 TIMES
000005                  DEPENDING ON :PREF:-NUM-OF-TRAILERS
000006                  INDEXED BY :PREF:-TRLR-INDX.
000007                  :LD:  :PREF:-LOCALITY-FROM-DATE
000008                                   PIC S9(07) COMP-3.
000009                  :LD:  :PREF:-LOCALITY-THRU-DATE
000010                                   PIC S9(07) COMP-3.
000011                  :LD:  :PREF:-LOCALITY-CDE
000012                          OCCURS 102 TIMES
000013                          ASCENDING KEY IS :PREF:-LOCALITY-CDE
000014                          INDEXED BY :PFIDX:LOC-INDX
000015                                   PIC X(02).
000016                   :LD:  FILLER    PIC  X(10).
000017

zOpen Editor reports multiple TOKEN ERRORS
Expected behavior
Should be accepted as valid

COPYBOOK structure

Ich bin derzeit nicht im Büro. Ich kehre zurück am  06.12.2021.
Während meiner Abwesenheit bitte bei Postkorb SCM-Admin melden!
Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema:
[IBM/zopeneditor-about] COBOL COPYBOOK Improperly reporting TOKEN errors
(Issue #186)

Gesendet (c) GRZ/RSG Linz 2021 Agent 'Abwesenheit'

Raiffeisen Software GmbH
Firmenbuchnummer: 86804d, Landesgericht Linz
UID: ATU 36961105
Der Austausch von Nachrichten mit dem oben angeführten Absender via E-Mail
dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen
dürfen über dieses Medium nicht ausgetauscht werden.
Correspondence with above mentioned sender via e-mail is only for
information purposes. This medium is not to be used for the exchange of
legally-binding communications.

Hi @gecolbert
You touch on one of the problems I expressed in discussion #184 The language server is not a language compiler.
That said, if the description of your COPYBOOK is perfectly legal in terms of form, I think there is a design problem in substance: the level numbers should not be symbolic parameters, and I doubt that it there really is a need for them to be.
You could just as easily put real values on your number levels and do a replacement when calling COPYBOOK (the IBM documentation on the compiler gives examples of this use case).
As far as we are concerned, our COPYBOOKs of data descriptions do not contain any symbolic parameters and are "totally COBOL", which does not prevent us from making replacements during COPY.
This has another advantage: our COPYBOOKs can be used in our data manipulation tool which can associate a (actually) COBOL COPYBOOK with a file and interpret its content by means of the COPYBOOK.

Ich bin derzeit nicht im Büro. Ich kehre zurück am  06.12.2021.
Während meiner Abwesenheit bitte bei Postkorb SCM-Admin melden!
Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema:
Re: [IBM/zopeneditor-about] COBOL COPYBOOK Improperly reporting TOKEN
errors  (Issue #186)

Gesendet (c) GRZ/RSG Linz 2021 Agent 'Abwesenheit'

Raiffeisen Software GmbH
Firmenbuchnummer: 86804d, Landesgericht Linz
UID: ATU 36961105
Der Austausch von Nachrichten mit dem oben angeführten Absender via E-Mail
dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen
dürfen über dieses Medium nicht ausgetauscht werden.
Correspondence with above mentioned sender via e-mail is only for
information purposes. This medium is not to be used for the exchange of
legally-binding communications.

To solve the initial problem, the language server, but also the textmate grammar, would have to accept at the place where a level number is expected, a text answering the following pattern:
/0[1-9]|[1-4][0-9]|66|77|88|(?P<sep>[\:])(?:\w|\-)+(?P=sep)/
From https://regex101.com/
1st Alternative 0[1-9]

0 matches the character 0 with index 48d (30h or 60o) literally (case insensitive)
Match a single character present in the list below [1-9]
1-9 matches a single character in the range between 1 (index 49) and 9 (index 57) (case insensitive)

2nd Alternative [1-4][0-9]

Match a single character present in the list below [1-4]
1-4 matches a single character in the range between 1 (index 49) and 4 (index 52) (case insensitive)
Match a single character present in the list below [0-9]
0-9 matches a single character in the range between 0 (index 48) and 9 (index 57) (case insensitive)

3rd Alternative 66

66 matches the characters 66 literally (case insensitive)

4th Alternative 77

77 matches the characters 77 literally (case insensitive)

5th Alternative 88

88 matches the characters 88 literally (case insensitive)

6th Alternative (?P<sep>[\:])(?:\w|\-)+(?P=sep)

Named Capture Group sep (?P<sep>[\:])
Match a single character present in the list below [\:]
\: matches the character : with index 58d (3Ah or 72o) literally (case insensitive)
Non-capturing group (?:\w|\-)+
+ matches the previous token between one and unlimited times, as many times as possible, giving back as needed (greedy)
1st Alternative \w
\w matches any word character (equivalent to [a-zA-Z0-9_])
2nd Alternative \-
\- matches the character - with index 45d (2Dh or 55o) literally (case insensitive)
(?P=sep) matches the same text as most recently matched by the capturing group named sep

About last (or second problem) concerning "replacing" on "ascending key is", this works: put "PREF-LOCALITY-CDE" as a subordonate entry of the OCCURS.
I think where is a problem un Language Server that don't accept "ASCENDING/DESCENDINK KEY" on the subject of the OCCURS.

The structure of this copybook is perfectly legal (for Enterprise Cobol) in terms of form.
While I fully agree that the use of tokens in this structure is the result of an overly exuberant programmer and are completely un-necessary, the obstacles to fixing it in my system make the implementation of z Open Editor nearly impossible.
This copybook was introduced into my production system in 1992.  It is a core part of the processing for billions of dollars of transactions every month.  Just changing the :LB: tag to an 05 will require a three month long project of obtaining change approval, scheduling of the distribution of the change to multiple external agencies, and complete end-to-end testing of our entire system. All of this not to correct a problem or enhance any system functionality.
The arduous effort of change management to critical systems makes it necessary for any new tools to be capable of properly emulating the Enterprise Cobol compiler's behavior.  I need an editor that fully implements the language without having to make system changes to accommodate the editor.

Hi @gecolbert
To avoid problems linked to the language server, you can pause it: "F1" + "pause"

Cf.  #154 Cobol Language Server - "Full red program" after LS analysis.


Return a better error when a transaction runs out of gas

If I submit a transaction with an insufficient gas value, and the EVM ends up running out of gas, it will simply stop executing and return a status of 0 in the transaction receipt. The transaction will still be included in a block, but will not be completed.
While the reason is not provided on the receipt in this case, it can be found by inspecting the transaction trace obtained by debug.traceTransaction(), if implemented: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#debugtracetransaction
The failed step of the transaction will include an error field, such as the error: "out of gas" entry seen in this trace: trace.txt
It seems that some tools such as etherscan are able to extract this information for the user: https://etherscan.io/tx/0xda8c0b80d8e240a83c8f6b067c4656babeb13e8e0ece4fd4292aa06252f1285c
It would be convenient if evmconnect could also provide this functionality.

This would also help with other error conditions.  For example, if I have a require in my .sol such as
require(balances[msg.sender] >= amount, "Not enough tokens");

and that causes the transaction to be reverted, then the error message is not returned on the receipt.
Following @awrichar suggestion above, if I get the transaction hash from the receipt (e.g. using a local firefly stack)
TRANSACTION_HASH=$(curl -s "http://<IP_ADDRESS>:5000/api/v1/namespaces/default/operations/${OPERATION_ID}?fetchstatus=true" | jq -r .detail.transactionHash)

Then use that to read the transaction trace, convert the returnValue from hex to ascii (e.g. using xxd) and extract the strings
curl -s localhost:5100 -X POST --header 'Content-type: application/json' --data '{"jsonrpc":"2.0", "method":"debug_traceTransaction", "params":["'${TRANSACTION_HASH}'", {}], "id":1}' | jq  -r .result.returnValue | xxd -r -p | strings

then I do see the output
Not enough tokens

So this a) gives confidence in feasibility of the suggested fix and b) may serve as a short term workaround for anyone blocked by this in the meantime.
I have tried this on a local geth, provisioned by ff init and also on a hosted quorum node and it worked fine on both.

I have this on Besu and the same information is available on the transaction trace, however it is in a different place.  result.returnValue is empty string but the final operation in the result.structLogs arrays is a REVERT and its reason field contains the hex encoding for Not enough tokens (114e6f7420656e6f75676820746f6b656e73)....
{
        "pc": 829,
        "op": "REVERT",
        "gas": 76488,
        "gasCost": 0,
        "depth": 1,
        "stack": [
          "00000000000000000000000000000000000000000000000000000000a9059cbb",
          "0000000000000000000000000000000000000000000000000000000000000129",
          "000000000000000000000000b5855faa164db05e70fd3476e3540fc8c4053a01",
          "00000000000000000000000000000000000000000000000000000000000f4241",
          "0000000000000000000000000000000000000000000000000000000000000064",
          "0000000000000000000000000000000000000000000000000000000000000080"
        ],
        "memory": [
          "00000000000000000000000046ec33d9fd840ae95f36c3449cf46041ff6fb886",
          "0000000000000000000000000000000000000000000000000000000000000004",
          "0000000000000000000000000000000000000000000000000000000000000080",
          "0000000000000000000000000000000000000000000000000000000000000000",
          "08c379a000000000000000000000000000000000000000000000000000000000",
          "0000002000000000000000000000000000000000000000000000000000000000",
          "000000114e6f7420656e6f75676820746f6b656e730000000000000000000000",
          "0000000000000000000000000000000000000000000000000000000000000000"
        ],
        "storage": {},
        "reason": "0x8c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000114e6f7420656e6f75676820746f6b656e73000000000000000000000000000000"
      }

First attempts to code the debug_traceTransaction into evmconnect looking promising - https://github.com/hyperledger/firefly-evmconnect/compare/main...kaleido-io:firefly-evmconnect:error-receipt#diff-2a713d08838cbdad87e4601567a44175f4abeddfcdc8cf54a80824e900714e33R140
I have tested this with a quorum node and I see the following in the receipt now (NOTE the new field returnValue ...
"receipt": {
      "blockHash": "0xb59d8ae5f0b42434e850d698a506e365d78c2d4eb4544f97e1b7183633dca519",
      "blockNumber": "137511",
      "contractLocation": null,
      "extraInfo": {
        "contractAddress": null,
        "cumulativeGasUsed": "23512",
        "from": "0x1368c2fbd50068004dac8d4f860080a3ab02b9f6",
        "gasUsed": "23512",
        "returnValue": "�y� Not enough tokens",
        "status": "0",
        "to": "0x8a50b857c856809b69b5622889a753d4d44e18fe"
      },
      "protocolId": "000000137511/000000",
      "success": false,
      "transactionIndex": "0"
    },

I'll try it out on Besu next.  And will try with out of gas conditions too.
I'm not sure whether to have this behaviour always on or make it configurable via conf files.

returnValue here seems to be binary data rendered into a string field - we need to parse that as bytes in the right layer, using the firefly-signer utilities - like we do when eth_call fails prior to submission.

Yes.  It is an ABI encoded call to Error(string).   Interesting thing about Besu is that it drops the leading 0 (using toShortHexString)  so my naive hex.DecodeString doesn't work there.  I assume the firefly-signer utilities will know the right thing to do. So I'll try that. Thanks for the pointer.

Moved to using firefly-signer - https://github.com/hyperledger/firefly-evmconnect/commit/a4b06f28208720bd8268d5b618d0b9c645307d9d#
I couldn't find anything in firefly-signer that parses call data from hex string so I do that in a wrapper function here - https://github.com/hyperledger/firefly-evmconnect/commit/a4b06f28208720bd8268d5b618d0b9c645307d9d#diff-2a713d08838cbdad87e4601567a44175f4abeddfcdc8cf54a80824e900714e33R126-R143. Wondering if it is worth putting this wrapper into firefly-signer?


issues/231: bugfix; loadshed records latency in milliseconds

Fixes: https://github.com/komuw/ong/issues/231

Codecov Report
Base: 77.59% // Head: 77.59% // No change to project coverage :thumbsup:

Coverage data is based on head (7565d86) compared to base (56846ea).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #233   +/-   ##
=======================================
  Coverage   77.59%   77.59%
=======================================
  Files          34       34
  Lines        3156     3156
=======================================
  Hits         2449     2449
  Misses        593      593
  Partials      114      114

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


MudPickerToolbar: Fix issue with landscape mode for non-static pickers (#5867)

MudPickerToolbar: Fix issue with landscape mode for non static pickers (#5867)

Description
Fixed the issue with #5867. The bug occurred because MudPickerToolbar didn't check the PickerVariant.
I've decided to add PickerVariant as a parameter so that behavior will be the same for MudPickerToolbar as it is for MudPicker.
How Has This Been Tested?

I've compared how pickers looked before the change and after the change if it had Landscape view and it was not Static.
Before:

After:

This change didn't affect Picker in Static state as it renders as it should:

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Hello @lostinmilkshake,
I noticed in the checklist that it states you have added relevant tests, but upon review, I couldn't find any tests included. Could you kindly address this by adding the necessary tests for your fix?

Sorry for the inconvenience. I've added tests for MudPickerToolbar

I'm a little confused here. Shouldn't the picker always appear in landscape mode if it is set as such? Or does this only apply in static mode?


(QA-3002)(QA-3003) Fix local_runner errors on Windows

While adding beaker-testmode_switcher tests to appveyor, we found errors running on Windows for Ruby 2.3 and Ruby 2.1
This PR contains 2 commits to address both failures.

The travis failures do not appear to be caused by the changes in this PR

I've also enable a weekly cron on travis to re-build master to at least have a trace of what is happening to our dependencies here.

@james-stocks looks good to me. Happy to merge when Travis goes green.
👍

travis boo boo :-(

@DavidS added a commit to fix that remaining travis failure. Given what I changed to fix it; I'm not sure how it ever worked. Perhaps older versions of beaker supported --test as a flag?

from the original error message about ambiguity, I would not be surprised if beaker does unique-prefix parsing, and now has a --test prefix collision. A good example why unique-prefix is bad, as it is impossible to maintain compatibility.


config.py is not really useable

At present, the config.py settings don't actually get used properly, since after import they have to be changed from within a module. This should be fixed.

This isn't true -- they get used just fine.


Cannot Download Pretrained Model

Given link to download the pretrained model is unaccessible...

Thanks to author's work, i upload their pre-trained model google-drive, hope it helps: https://drive.google.com/open?id=1oMkQODwQM53bT3l7EplnuDgN3PX91xvA


chore: lerna version static

The latest version of lerna is beta28, which causes bootstrapping to fail.

In the short term, you can change the dependency in lerna.json to BETA.28. Ian Remmel mentioned the lerna dependency is going away (or updated maybe?) in the next few days.

@ctg-api lerna isn't going away. this PR is the right short-term fix. eventually, we'll want to move to 28, but I know there are some potential breaking changes in there. The change i mentioned was going to be in a PR that I haven't fixed yet, so @adamweeks needed this to get going on another project.

LGTM


Add AuthenticationMethod to AuthenticateResponse.

Description
The API endpoint /user_management/authenticate has been recently updated to include a field called authentication_method in the response.
This PR adds the new field to the AuthenticateResponse struct.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Thanks for this!


Syntax highlighting issue

Describe the bug
If you click "view files" and then open a  .py file from dark mode, the file will open in light mode, but the syntax highlighting will be in dark mode still, making it difficult to read.

Environment
{
"marimo": "0.3.3",
"OS": "Darwin",
"OS Version": "23.3.0",
"Processor": "arm",
"Python Version": "3.11.5",
"Binaries": {
"Chrome": "123.0.6312.58",
"Node": "v20.11.1"
},
"Requirements": {
"black": "24.3.0",
"click": "8.1.7",
"importlib_resources": "6.4.0",
"jedi": "0.19.1",
"pymdown-extensions": "10.7.1",
"starlette": "0.37.2",
"tomlkit": "0.12.4",
"typing_extensions": "4.10.0",
"uvicorn": "0.29.0"
}
}
Code to reproduce
Doesn't sound like this has anything to do with code, it's more of an interface bug.

Forgot to close this out - this has been fixed.


Mesh and URDF for the Create1

This PR adds a URDF file for the Create 1, along with a mesh. I refactored the URDF files so that common elements for all Creates/Roombas are in one file. The Create 1 and 2 URDF files include the base file and add elements that are specific to their model. At the moment, the only difference between the two is the wheel separation distance. I did not add the light bumpers for the Create 2 (which would have helped with #17), simply because I don't know where they are located, but if you want to add them they can easily be added to create_2.urdf.xacro.
I also included a mesh for the Create 1, which I borrowed from turtlebot_create. I included the license from this project in the meshes folder because, as I understand it, this is required by the BSD license.
I also updated the launch files to support the Create 1. I removed joint_state_publisher from the description launch files because there is really no use for it on the Create. From what I have read, it seems to be most commonly used for testing URDF models - by using the sliders on its GUI to manually simulate joint movements. The way it was configured in your launch files meant that it was doing nothing. On a real robot, usually the robot's driver will publish JointState messages to cause the model to match the real state of the robot. In the case of ca_driver, #26 does this.

These changes seem to have broken running the description for me and I'm not sure why. I get a xacro error:
Traceback (most recent call last):
  File "/opt/ros/indigo/share/xacro/xacro.py", line 62, in <module>
    xacro.main()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 696, in main
    eval_self_contained(doc)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 626, in eval_self_contained
    eval_all(doc.documentElement, macros, symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 553, in eval_all
    eval_all(body, macros, scoped)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 609, in eval_all
    result = eval_text(at[1], symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 483, in eval_text
    results.append(handle_expr(lex.next()[1][2:-1]))
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 470, in handle_expr
    return eval_expr(lex, symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 444, in eval_expr
    result = eval_term(lex, symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 418, in eval_term
    result = eval_factor(lex, symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 398, in eval_factor
    return neg * eval_lit(lex, symbols)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 369, in eval_lit
    raise XacroException("Property wasn't defined: %s" % str(ex))
xacro.XacroException: Property wasn't defined: u'prefix'
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py '/home/autolab/jacob/create_ws/src/create_autonomy/ca_description/urdf/create_2.urdf.xacro'] returned with code [1].

Param xml is <param command="$(find xacro)/xacro.py '$(find ca_description)/urdf/create_2.urdf.xacro'" name="robot_description"/>

It works fine for me, but I'm running Jade so that might be the difference. My guess is that it is something to do with the macro that generates the wheels, because that is the only place I know of where "prefix" is used. Possibly the version of xacro in indigo doesn't like macros defined inside of other macros?

This appears to be the error: http://answers.ros.org/question/204400/can-i-define-a-xacro-with-params-by-another-xacro/

Would you rather that I push more commits to this branch (and then squash them before merging) or just keep force pushing a single updated commit?

How ever you prefer to commit. Both sound fine to me.

LGTM :+1:  You can squash and I'll merge.


trying to convert .stl to .jscad on command line produces invalid file

I know the openjscad.org code is capable of converting stl to jscad,
since I can drag and drop an stl file onto the openjscad.org web page,
and it correctly shows a corresponding jscad file on the right.
But if I try to do the same conversion on the command line, I get an invalid output file.
Am I using it wrong?
Here's what I tried.
  # Create simplest possible example jscad input file...
  echo 'function main(){return polyhedron({points:[[0,0,0],[1,0,0],[0,1,0],[0,0,1]],polygons:[[0,1,2],[0,2,3],[0,3,1],[3,2,1]]});}' > tet.jscad
  # Convert jscad to ascii stl...
  openjscad tet.jscad -of stla -o tet.jscad.stl
      converting tet.jscad -> tet.jscad.stl (STereoLithography, ASCII)
  # That produced a valid ascii stl file.
  # Attempt to convert back to jscad...
  openjscad tet.jscad.stl -of jscad -o tet.jscad.stl.jscad
      converting tet.jscad.stl -> tet.jscad.stl.jscad (OpenJSCAD.org Source)
  # The result is this strange looking thing...
  # It looks like ascii STL format with some javascript code added at the end,
  # and it doesn't seem to be usable as input to subsequent conversions.
  cat tet.jscad.stl.jscad

solid csg.js
facet normal 0 0 -1
outer loop
vertex 0 1 0
vertex 1 0 0
vertex 0 0 0
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 1
vertex 0 1 0
vertex 0 0 0
endloop
endfacet
facet normal 0 -1 0
outer loop
vertex 1 0 0
vertex 0 0 1
vertex 0 0 0
endloop
endfacet
facet normal 0.5773502691896258 0.5773502691896258 0.5773502691896258
outer loop
vertex 1 0 0
vertex 0 1 0
vertex 0 0 1
endloop
endfacet
endsolid csg.js

//only add this wrapper if not already present & we are not in command-line mode
if(typeof wrappedMain === 'undefined' && typeof getParameterDefinitionsCLI !== 'undefined'){
  const wrappedMain = main
  main = function(){
    var paramsDefinition = (typeof getParameterDefinitions !== 'undefined') ? getParameterDefinitions : undefined
    return wrappedMain(getParameterDefinitionsCLI(paramsDefinition, {}))
  }
}

Thanks for this bug report as well @donhatch  :)
I will double check the parameters you use, but could really be a bug.

Ok, did some local tries and I can reproduce, will look into fixing this.

Like the other issue, this is now fixed, please let us know if you run into other problems.


Training Code

I really like your article, and the code structure is also very clearly written. Thank you again for your work.
I have a question about the training part of train_cl.py.
I see that the code passes in different ckpt models for image, DNA, and text encoder, respectively. Is this the model you trained?
Could you please provide the training code or have the opportunity to publish it?
I look forward to your reply.

Hi @jane-pyc , thank you for reaching out, and we are glad you are interested in our work!
The checkpoint models used in the training code are pretrained models from different sources. The BarcodeBERT model for encoding DNA can be downloaded per the README instructions, and the other two (for images and text) are base pretrained ViT and BERT models, respectively, which should be loaded directly in the code, without requiring extra libraries. With the BarcodeBERT model saved on your machine, you should be able to just use the train_cl.py script after that.
Once you are done training, it should produce a single checkpoint for all of the encoders which can be used in the inference and evaluation script, rather than having to maintain three separate checkpoints afterward.

Thank you very much for your reply. The code you organized is very clear and the code structure is very elegant!
Thanks for your reply, my previous question has been completely clarified. I wish you a speedy recovery!


[2024a] Sync 2024a branch with all the commit of main branch

[2024a] Sync 2024a branch with all the commit of main branch
How Has This Been Tested?

Tested already on main
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

Merging to have all the build on 2024a branch ready.
please let me know if have any thoughts.


I am losing track of my own thoughts so I am making this to record wtf I am doing and what I have done

"Variant Item" ItemStack Stacking

[x] VariantItems with the same "original" item can stack
[x] VariantItemStacks are persistent
[ ] Dropping a single item of a VariantItemStack only drops an ItemStack version of the current main item

[ ] If the main item count is 0, cycle to next variant

[x] Dropping the entire VariantItemStack should maintain it's variants and content as an ItemEntity
[x] Right-click-dragging stacks does not duplicate variants

Does not apply to creative players, they dupe the variants too

[ ] VariantItemStacks never exceed 64 items (why tf are there like 349052 ways to combine ItemStacks that I need to worry about)

[ ] also stop the VariantItemStack from randomly erasing the main item when combined with other VariantItemStacks

[ ] Stop the 7352 ways that VariantItemStacks have their variants erased
[x] Pick-blocking a "Variant Block" should give a VariantItemStack or select a VariantItemStack that contains a VariantItem of that block 😄 🔫

Note: Impl will select any VariantItemStack that has the same "original" block if any are in your inv

[ ] VariantItemStacks should provide a tooltip display of what VariantItems it contains like bundles
[ ] Scroll-wheeling on a VariantItemStack should cycle between the main item and the contained variants
[ ] Arrow keys do the same thing for ✨ Accessibility ✨

I must say this is quite exciting


How to set time to 00:00 if datetime is not defined?

Currently when the datetime picker is opened by default the time is set to current time. Instead I would like to set it to 00:00.

set property [startAt] in owl-date-time, you could learn more about this from README and the demo page.


Moving future import to top of file

Should fix the bug discovered when running the example for Dave PR: https://github.com/Field-Robotics-Lab/dave/pull/149
If the future import is not at the beginning of the file, a SyntaxError is raised:
$ ./gripper_controller.py
Traceback (most recent call last):
  File "./gripper_controller.py", line 18, in <module>
    from uuv_manipulator_interfaces import GripperInterface
  File "/home/bsb/uuv_ws/devel/lib/python3/dist-packages/uuv_manipulator_interfaces/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 17, in <module>
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_kinematics/src/uuv_manipulator_interfaces/gripper.py", line 25
    from __future__ import division
    ^
SyntaxError: from __future__ imports must occur at the beginning of the file

This PR is a duplicate of #4 (contributed by a community member), so we should close that one after merging this. I added another small tweak to update to Python3 syntax, just in the interest of reducing the total number of PRs.

Extra steps, but if we want to keep the earlier contribution from #4, we could merge #4, merge master into this PR, and then merge this.


Add SecurityAdvisory classification for GitHub Advisory

Add SecurityAdvisory classification for GitHub Advisory.
https://docs.github.com/en/graphql/reference/objects#securityadvisory
# same results
$ ./vulnz/build/libs/vulnz-4.0.1.jar ghsa --updatedSince="2023-05-01T00:00:00Z" > result.json
$ ./vulnz/build/libs/vulnz-4.0.1.jar ghsa --updatedSince="2023-05-01T00:00:00Z" --classifications="GENERAL" > result.json

# MALWARE only
$ ./vulnz/build/libs/vulnz-4.0.1.jar ghsa --updatedSince="2023-05-01T00:00:00Z" --classifications="MALWARE" > result2.json

result.json.txt
result2.json.txt

This was just released with 4.1.0. Sorry about the delay with releasing this update.


test_add_sums, test_pow_matrix, test_sum_trans in the test_cudamat.py module sometimes randomly fail

I am testing this on Windows 10, Cuda 6.5, GTX 970, i4690k. Most of the time the test finish perfectly in 0.6 seconds on my machine, but 10-20% of the time these three units and only these three will fail with a 10-20% probability, sometimes two of them during the same run. I am unsure of how to dig deeper into this.
Also the tests only work for me if I run them through nose. Without it, I get the error that CUDAMatrix does not have the field 'ones.'

Most of the time the test finish perfectly in 0.6 seconds on my machine, but 10-20% of the time these three units and only these three will fail with a 10-20% probability, sometimes two of them during the same run.

I've seen the test_pow_matrix fail myself sometimes, the tolerance seems to be too strict (or should be based on relative error instead of absolute error). If you replace the np.max(np.abs(x - y)) < ... asserts on those three tests with np.allclose(x, y), do they pass? The default for that is a relative tolerance of 1e-5 plus absolute tolerance of 1e-8, that should be strict enough, and better than testing for the absolute tolerance only (with quite large tolerances in some of the tests merely because they can produce large results).

Without it, I get the error that CUDAMatrix does not have the field 'ones.'

The tests should work no matter whether you run nosetests or python test_cudamat.py. They won't work if you just copy/paste the code of one of the test functions, because then you're missing the cublas_init() call from the setup() function that nose calls before running the tests.


Update makemkv (1.10.2)

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Additionally, when adding a new cask:

[x] Checked there are no open pull requests for the same cask.
[x] Checked there are no closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

@victorpopkov Thank you!

@joewiz Thank you for your contribution in the first place. 👍


Update from original

The original repo was renamed from net6-samples to maui-samples.

Updating my fork.


Implementation of pallet-treasury

Fixed at https://github.com/Metaquity-Network/metaquity-network-node/pull/31


Added confirmed rule handler

When form data is enabled and confirmed rule exists, append an extra field using name + _confirmation notation just like Laravel expects. It works with both string-like and array-like rule syntax.
Eg. (rules):
'password' => ['required', 'string', 'min:8', 'confirmed']

Result (form data fields):
password
password_confirmation

Hey, thanks for the PR @rcerljenko, looks good.
Could you resolve the styleci check issues please?

@andreaselia done  :)

Good work on this @rcerljenko! Appreciate the contribution. 😃


style: transition api support

switch color mode support transition api

I am not very sure if it would feel too much. And with WC taking quite some computing power, the transitions become quite laggy tbh. Not sure if this is a good UX at this moment

Agree with you, I hadn't considered the performance of the page. Maybe we can think about whether we should add transition API support after the main features are done. Or align with nuxt.com.

I think it would be safer to align with nuxt.com for now. If we want to bring it up, we already have the code thanks to you :)
Let's close this for now and we will track later.


Looks like you didn't finish this one...

https://github.com/alx-rg/titanic-data-challenges/blob/82e7fa448285840e1584032e8238b5b667f08005/challenges-2.js#L78
Here is some pseudo code to complete the problem

Define your histogram obj
loop over all passengers

for each passenger check if that property value exists as a key on the histogram

If the property exists add 1 to the value of the properrty

else create the property on the histogram with a value of 1

You were correct, I hadn't yet finished it. It's done, thank you for pseudo code!


Add the ability to access context variables via function parameters in sql and pandas functions

What is the current behavior?

Currently, users cannot access Airflow context variables directly via function parameters.
To access context variables, users must rely on the get_current_context() method.
CLOSES: #812
What is the new behavior?
This PR enables users to access Airflow context variables directly via function parameters, making it more consistent with the Taskflow API. Users can now pass context variables as function parameters, as shown in the example below:
@aql.dataframe
def validate_file_and_context(df: pandas.DataFrame, ds=None, execution_date=None):  # skipcq: PY-D0003
    context = get_current_context()
    assert ds == context["ds"]
    assert execution_date == context["execution_date"]

Does this introduce a breaking change?
No
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@dimberman this is a great feature, what are we missing to take it from the draft to be ready for code review?


WebApp - Update more transaction history types

@lw-cdm please list all transaction history types you can get from subscan by netwok

Transfer
Crowdloan contribution
Staking
Unstake
Transfer NFT

Handling some special cases:

[ ] Some networks return data of a different type(Joystream)
Check with address: j4Us3mvJNumX4VSRokpfGcQtZFK9XVjoGPapHSsiSvJdaaToR

Version test: http://<IP_ADDRESS>:8900/s/M8fktLHjNReNS79
@lw-cdm please check this case:

[ ] Show incorrect transaction history of the EVM account

@lw-cdm please check this issue:

[ ] Incorrect display of filter results when filtering by "Failed" criteria

Check with address 5HbcGs2QXVAc6Q6eoTzLYNAJWpN17AkCFRLnWDaHCiGYXvNc on Polkadot


Failed to create plugin MKLDNNPlugin.dll for device CPU

I am having this issue when I try to launch the run_server_cpu.bat batch file.

C:\OpenVINOFaceDetectionServer>run_server_cpu.bat

C:\OpenVINOFaceDetectionServer>OpenVINOFaceDetectionServer.exe -i cam -m .\models\face-detection-adas-0001.xml -m_ag .\models\age-gender-recognition-retail-0013.xml -m_em .\models\emotions-recognition-retail-0003.xml -m_hp .\models\head-pose-estimation-adas-0001.xml -d CPU
InferenceEngine: 00007FFB1A87B740
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading device CPU
[ WARN:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2019R4\build\windows\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback
[ ERROR ] Failed to create plugin C:\OpenVINOFaceDetectionServer\MKLDNNPlugin.dll for device CPU
Please, check your environment
Cannot load library 'C:\OpenVINOFaceDetectionServer\MKLDNNPlugin.dll': 1114 from cwd: C:\OpenVINOFaceDetectionServer

I am using :
Windows 10
Built-In Webcam ( HP HD Webcam [Fixed] )

Is there any update on this ?
@nicolas-daures

Hi @nezarfadle .
Can you precise on which PC / CPU are you trying to run this FaceDetectionServer please?

Hey @SebMeunier
Here are the CPU specs:

Hi @nezarfadle
Intel's requirements  for OpenVINO state "6th to 10th generation Intel® Core™ and Intel® Xeon® processors"
Regarding our FaceDetection server, we recommend here  at least an 8th gen i5
Your CPU is a 3rd gen, so it's below both requirement & recommendation.

Hey @SebMeunier ,
Thank you very much for the clarification, it makes sense now.
I think this issue can be closed now.


Site Broken

The site that has the docs and examples is broken, seems like the styles are missing.
Seeing the following in the console:

Resource interpreted as Stylesheet but transferred with MIME type text/html: "about:blank".

Which page are you referring to? http://tether.io seems fine to me.
On Mon, Nov 16, 2015 at 4:01 PM, Ilya Radchenko<EMAIL_ADDRESS>wrote:

The site that has the docs and examples is broken, seems like the styles
are missing.
—
Reply to this email directly or view it on GitHub
https://github.com/HubSpot/tether/issues/138.

http://tether.io/docs/welcome/

tether.io is broken too, this is in Chrome 46.0.2490.86 (64-bit)

Any chance you're using Ghostery or a similar blocking tool?
On Mon, Nov 16, 2015 at 4:11 PM, Ilya Radchenko<EMAIL_ADDRESS>wrote:

tether.io is broken too, this is in Chrome 46.0.2490.86 (64-bit)
—
Reply to this email directly or view it on GitHub
https://github.com/HubSpot/tether/issues/138#issuecomment-157171769.

Using "Adblock Fast", and yes it solved the issue by disabling. This shouldn't happen :smile:


teamsTokenExchangeMiddleware

Describe the bug
teamsTokenExchangeMiddleware should use UserTokenAccess.exchangeToken (to support CloudAdapter)
To Reproduce
test teamsTokenExchangeMiddleware with cloud adapter
Additional context
See OAuthPrompt

Hi @EricDahlvang, this was addressed in #4408. This issue can be closed.


Issue getting static mjpeg to work

Thank you for all your work on this product.....it is totally fantastic.  I have not done it before but I figure out how to  "buy you a coffee".
The documentation is great but there is one thing that I have not been able to figure out.
Below are the error and the config file.
Thanks for any help you can give

 - name: Camera-1     host: <IP_ADDRESS>     port: 554     username: admin     password: Facereader     path: /Streaming/Channels/102/     codec: h264     width: 640     height: 480     fps: 6     static_mjpeg_streams:       my-big-front-door-stream:         width: 1920         height: 1080         draw_objects: True       stream1:         width: 100         height: 100         draw_objects: True     logging:       level: debug

I found out that change the Camera name to remove "-" fixed the issue.

Glad you figured it out!
And thanks a lot for the donation :)


Model Export Error. AttributeError: 'dict' object has no attribute 'model_dir'

Description:
When trying to use the Model.from_pretrained() method with the following code:
from modelscope.models import Model
from modelscope.exporters import Exporter
model_id = 'damo/cv_unet_skin-retouching'
model = Model.from_pretrained(model_id)
output_files = Exporter.from_model(model).export_onnx(opset=13, output_dir='/tmp', ...)
print(output_files)

I encounter the following error:
AttributeError                            Traceback (most recent call last)
----> model = Model.from_pretrained(model_id)
/usr/local/lib/python3.10/dist-packages/modelscope/models/base/base_model.py in from_pretrained(cls, model_name_or_path, revision, cfg_dict, device, **kwargs)
168             return model
169         # use ms
--> 170         model_cfg.model_dir = local_model_dir
171
172         # install and import remote repos before build
AttributeError: 'dict' object has no attribute 'model_dir'

currently exporting skin retouching mode is not supported

Is there any way I can export the model on my own?

you can refer to the model initalization code in the pipeline here (https://modelscope.cn/models/damo/cv_unet_skin_retouching_torch/file/view/master/ms_wrapper.py)  and try to use the pytorch interface to export the onnx model


Better inference for Integer/Boolean Nullables

Fixes: #1172, #1038
Performance tests are here

@ParthivNaresh what was the change in inference after removing the apply?

@ParthivNaresh what was the change in inference after removing the apply?

It looks like pandas is able to handle pd.NA without a problem, all tests are still passing and expected logical types are still showing up

@ParthivNaresh what was the change in inference speed/time after removing the apply?

The change should be seen here


run cargo fmt

ran with rustfmt 1.3.0-stable (d334502 2019-06-09)
I wanted to do this separately from #88 and will rebase that when the time comes.

Thanks a lot!


Code coverage support in binaries

Description
Code coverage support in binaries
Fixes https://issues.redhat.com/browse/CCXDEV-10580
Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update
Documentation update

Testing steps
Use make build-cover
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (3bc31f7) 51.28% compared to head (7bc64d8) 51.28%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   51.28%   51.28%
=======================================
  Files           3        3
  Lines         468      468
=======================================
  Hits          240      240
  Misses        211      211
  Partials       17       17

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


UI Improvements

In the attached image, I have tried to update the UI of the default index.html page.
Some of the changes that I have made;

Shifted the inline CSS to a new CSS document

Removed the borders from all the divs

Changed the colour of "display-2" to "bootstrap-danger"

Added "btn-success" class to the "Submit" button.

Added alt text for the "disease.png"

I have not pushed any code or something, all these changes are local and on my own PC.
Please let me know how to proceed further on this now :)

Hello @spiyush0212
I guess that you are making the changes for HakinCodes Contributor's Hack 2020. If so, we will start this project from scratch for a better learning curve up here on an empty repository. To get started, we can make use of this UI before we proceed with the final implementation of a better UI.

Okay @HarshCasper
I understand it now :) and will defiantly work on the newer repo for the Hack'2020
Thank you!


No example usages on README

The README does not indicate how this package should be used

I agree - it would be great to have two things:

instructions for playing with the package in the Python console - just connecting to a repo and pulling down some simple aspects - open issues or something?
a couple of simple code examples that show the package being used to pull information down from a repo.

I have some ideas for simple examples usages, but would love to hear your ideas, too @Th0ught09 .


Test262 Coverage

Hi, @jridgewell just opening this issue, because as I mention today at the Tools meeting @UlisesGascon might be happy to help on test262.

For reference, I maintain a similar library called string-dedent which has a pretty good test suite (some basic unit tests and dozens of fixture tests)

I am more than happy to help with the tests262 for this proposal. Thanks for the introduction @romulocintra and the test suite reference @jridgewell 🙂


Add a ruleset of "None"

Is your feature request related to a problem? Please describe.
When I am focused on one particular rule or feature, I want to disable all other rules, and selectively enable the items of interest.
This would be easier if it was possible to lint with no ruleset and then add individual rules to that.
Describe the solution you'd like
Additional ruleset that can be chosen, but that does not contain rules. This will mostly be useful for testing.
Describe alternatives you've considered
Keep the current setup, but publish a list of what is in the minimal ruleset so that users can turn it all off.
Additional context

i've done with with the following config:
rules:
  custom-id/parameters-namedBooleans:
    severity: warn
    suppliedSuffixes:
      - Indicator
plugins:
  - './plugins/index.js'

assume it would work without using custom rules too
rules:
  info-license: off

You can also explicitly set the extends field to an empty array:
extends: []

Closing this, since we've decided we should trigger error with this use case, so we should not make it easier for developers to take this approach.


Added en-US locale to isMobilePhone()

I've added support for US phone numbers.
This is also the same format used by a few other countries in North America (those participating in NANP), with the only difference being the country code, so it might be a good idea to eventually add those in as needed.

Coverage remained the same at 98.94% when pulling 6f6076abf509e0510657e98a4e43a7dbb3f19186 on mahsu:master into 415a54e82d4aef157b8926e77aabb70b342a4eb5 on chriso:master.

Coverage remained the same at 98.94% when pulling 6f6076abf509e0510657e98a4e43a7dbb3f19186 on mahsu:master into 415a54e82d4aef157b8926e77aabb70b342a4eb5 on chriso:master.

Thanks!


Improve TeamCity Documentation

Overview and Login procedures are added.
Typos are fixed.

I've created this PR to clarify necessary points that have been talked at Druid dev mail list: TeamCity having problems

Is there anything to add my PR?

If you want you can be more specific about how to "log in as a guest", because that's exactly what confuses a lot of people, they don't notice the tiny "log in as guest" button or don't realise that it will lead them to the inspections results page without any additional steps like "registration".