Critical Error When Trying to Run

Using  Jython Standalone 2.7.2 (not sure if that is relevant) and Python 3.12 I was unable to start the sqlmap API using the Burp panel. Instead, I downloaded sqlmap and manually started the sqlmapapi.py server. I connect to my manual API instance using the correct port and <IP_ADDRESS>
When attempting to Start Scan on any host, I receive the following error in the console window where the API is running:
PS C:\Users\ianfr\sqlmap-1.7.12\sqlmap > python .\sqlmapapi.py -s -H <IP_ADDRESS> -p 9191
[08:37:55] [INFO] Running REST-JSON API server at '<IP_ADDRESS>:9191'..
[08:37:55] [INFO] Admin (secret) token: af51a5ad488cef25452f7917e160a097
[08:37:55] [DEBUG] IPC database: 'C:\Users\ianfr\AppData\Local\Temp\sqlmapipc-ezu6cbci'
[08:37:55] [DEBUG] REST-JSON API server connected to IPC database
[08:37:55] [DEBUG] Using adapter 'wsgiref' to run bottle
[08:38:16] [WARNING] [0] Invalid task ID provided to scan_status()
[08:38:53] [DEBUG] Created new task: '68247d953bd5bd53'
[08:38:53] [DEBUG] (68247d953bd5bd53) Requested to set options
[08:38:53] [DEBUG] (68247d953bd5bd53) Listed task options
[08:38:53] [DEBUG] (68247d953bd5bd53) Started scan
[08:38:54] [CRITICAL] you have provided an invalid and/or unreadable configuration file ('AttributeError: 'UnicodeRawConfigParser' object has no attribute 'readfp'')

I am able to start the API inside burp when using the manually downloaded copy of sqlmapapi.py only - attempting to use the version in C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\sqlmapapi.py will not start but hangs with no message.

There is nothing in the "Errors" or "Output" tabs when you go to "Extensions"->"SQLiPy Sqlmap Integration"? What version of the extension are you using?
I cannot recreate your error when running manually. I just downloaded version 1.7.12-6 and it worked fine.

 Maybe one of those options is broken.

I ran it with level 3, risk 2. Left everything as default.  Note that I can't actually start the API using the sqlmapapi.py at C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\sqlmapapi.py -- it just hangs and it says "SQLMap API is NOT Running!"
When I tell it to use the sqlmapapi.py I downloaded manually, it runs - but with errors.
Here is the output from the installed extensions menu "Output" tab:
SQLiPy - 0.8.5
Burp interface to SQLMap via the SQLMap API
<EMAIL_ADDRESS>

Could not find python path in registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath.

Could not find python path in registry at: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PythonCore\2.7\InstallPath.

Could not find python path in registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.x\InstallPath\ExecutablePath.

Could not find python path in registry at: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PythonCore\3.x\InstallPath\ExecutablePath.

Python found in system path at: C:\Python312\python.exe

SQLMap API found at: C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\sqlmapapi.py

Calling: C:\Python312\python.exe C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\sqlmapapi.py -s -H <IP_ADDRESS> -p 9090

Failed to start the SQLMap API

raceback (most recent call last):
 File "C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\lib\utils\api.py", line 58, in <module>

Here is the "Errors" tab output:
Traceback (most recent call last):
  File "C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\SQLiPy.py", line 1295, in getLogs
    print 'Failed to get logs for: '+self._jComboLogs.getSelectedItem().split('-')[0]+'\n'
AttributeError: 'NoneType' object has no attribute 'split'

Tried reinstalling the extension, now it fails with a different error:

Selected Python at C:\Python312\python.exe
Calling: C:\Python312\python.exe C:\Users\ianfr\AppData\Roaming\BurpSuite\bapps\f154175126a04bfe8edc6056f340f52e\sqlmap\sqlmapapi.py -s -H <IP_ADDRESS> -p 9091

Failed to start the SQLMap API

raceback (most recent call last):
   import base64, calendar, cgi, email.utils, functools, hmac, imp, itertools,\

Maybe it's my version of python?

Yeah, that is my initial assumption, as that looks like sqlmapapi itself is failing for some reason, which is out of my control.

I'm trying to figure out a workaround for this. Installing a different version of Python also fails. If I start the API manually from the command-line with the sqlmapapi.py  installed using pip, and then click "Start API", it changes to "SQLMap API IS CURRENTLY RUNNING!"
The output from the SQLiPy -> SQLMap Logs tab shows:
Log results for: sqlmap.py -u "https:/site.com:443/something?id=1
...
INFO: 12:32:00 - testing connection to the target URL

No further output is shown.
If I switch to the Extensions -> Installed -> SQLiPy Sqlmap Integration -> Output I see the following:
Started SQLMap Scan on Task 5973b5f57eb0bc6a with Engine ID: 29584 - https://site.com:443/something?id=1

Checking results on task: 5973b5f57eb0bc6a

Scan for task 5973b5f57eb0bc6a is still running.

Scan for task 55ca8c5b141bd6a8 is still running.

Scan for task 5973b5f57eb0bc6a is still running.

Scan for task 55ca8c5b141bd6a8 completed.  Gathering results.

Scan completed for task 55ca8c5b141bd6a8 but SQLi vulnerabilities were not found.

Does this look correct? Or should there be more details beyond the INFO: 12:32:00 - testing connection to the target URL  line from the  SQLiPy -> SQLMap Logs tab? If this looks correct then I can use this method as a workaround - though I feel like perhaps there is some missing information from the Logs/output.

That all looks like correct output from the Output section, it performed and completed the scan according to that data.


Add database method

Add database method :
HasTable, determine whether the table name exists in the database.
HasField, determine whether the field exists in the table.

@chenghonour 请修复后再提交，另外需要加上增加方法的单元测试，参考已有单元测试。

@chenghonour 另外，CI失败了，请查看一下。

ok

Codecov Report

Merging #800 into master will increase coverage by 0.05%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #800      +/-   ##
==========================================
+ Coverage   71.03%   71.09%   +0.05%
==========================================
  Files         348      348
  Lines       28729    28753      +24
==========================================
+ Hits        20408    20442      +34
+ Misses       6977     6963      -14
- Partials     1344     1348       +4

Impacted Files
Coverage Δ

database/gdb/gdb.go
68.85% <ø> (ø)

os/gview/gview_parse.go
61.20% <ø> (ø)

database/gdb/gdb_model_fields.go
77.01% <69.23%> (-1.37%)
:arrow_down:

database/gdb/gdb_core.go
70.87% <75.00%> (+0.07%)
:arrow_up:

encoding/gjson/gjson_api_new_load.go
76.63% <100.00%> (ø)

os/gfile/gfile_cache.go
95.00% <100.00%> (ø)

os/gmutex/gmutex.go
95.74% <0.00%> (-2.13%)
:arrow_down:

os/glog/glog_logger.go
73.37% <0.00%> (-1.14%)
:arrow_down:

container/gtree/gtree_avltree.go
93.70% <0.00%> (+0.44%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4dd1243...d56835f. Read the comment docs.

@gqcn 已经修改成功

@gqcn All things done


Upgrade the GPU on AEON4 to an RTX 4090

As described in #573, we have confirmed the RTX 4090 can run inference at 50 Hz so it would be good to upgrade for consistency.

Done


Loggable stringified version

In writing CID i wanted a way to expand a CID into a human readable log version, for development. So i wrote this:
This means multihash needs an equivalent version.

@greglook already wrote one over at https://github.com/multiformats/clj-multihash it looks like:
hash:sha2-256:dbd318c1c462aee872f41109a4dfd3048871a03dedd0fe0e757ced57dad6f2d7

My comments on it there: https://github.com/multiformats/clj-multihash/issues/7

Relevant comments from: multiformats/clj-multihash#7

I would discourage use of : end prefer - because it would be great if people use the compressed representation in URNs instead of the expanded one... but i can be persuaded.
(I would want to ensure people don't use the string versions to rely on them for identifiers-- as the whole copy-pastability and versatility of multihash goes down with that).
See also

https://github.com/multiformats/multibase
https://github.com/ipld/cid

I like it generally! Nitpicks:

We might wanna consider a less general prefix, e.g. mhash or multihash
I agree about : as a delimiter being less than ideal, but so is -, since it already clashes in the simplest example with sha2-256 :) In the context of URNs, & or ; might fit?

I agree about : as a delimiter being less than ideal, but so is -, since it already clashes in the simplest example with sha2-256 :) In the context of URNs, & or ; might fit?

On the other hand we're talking about a human-readable version, where this is less of an issue.

I agree about : as a delimiter being less than ideal, but so is -, since it already clashes in the simplest example with sha2-256

This was the reason I used : in the URN form, otherwise you can't easily tell whether -256 is part of the algorithm name or a different field in the multihash.

We might wanna consider a less general prefix, e.g. mhash or multihash

This would also be good - as far as I could find at the time, there was no real accepted standard for the hash URN namespace, so I went with the simplest version I could think of.

i wouldnt be against claiming hash but we may have to put a real bid for it and be ready to change it if it doesn't fit

Ok, I'm okay with :

The mutliformats home page says

They MUST have a human-readable representation.

Was a human-readable representation ever standardized for multihash?

I don't believe it has ever been finalized.

See this independent draft which could be defined on top of multihash specification instead being part of it. Note that the digest length is implicitly given by the length of the string, we only need to agree on canonical hash function names in addition to the hash function identifiers.

There is also https://github.com/w3c-dvcg/hashlink spec, which leverages multihash to make uris

At https://multiformats.io/#what-are-multiformats there are some stipulations:

They MUST be in-band (with the value); not out-of-band (in context).
They MUST avoid lock-in and promote extensibility.
They MUST be compact and have a binary-packed representation.
They MUST have a human-readable representation.

The last 2 are important. At the moment I am aware of the binary representation of the multihash, however, I didn't see any human-readable representation. Is this issue about adding that human-readable representation?
Also, I see you guys talking about reserving hash: or something, but why not just go with #? THE HASHTAG!!! For example, #sha2-256:dbd318c1c462aee872f41109a4dfd3048871a03dedd0fe0e757ced57dad6f2d7.

@ben221199 The hashtag is used in URI syntax for referencing content within a document, so using multihashes in this context makes no sense. A human-readable representation should also be a valid URI to be used as identifier where URIs are required (e.g. RDF), but the hastag has nothing to do with it.


VS fails to identify anaconda x64 as python

We should be auto-detecting the python process as python.
Start Anaconda x64
Debug attach
python.exe shows up as x64 and not Python, x64

It should actually be just "Python", we don't want mixed-mode by default.

What version of Anaconda? 2.7 or 3.4? Can you check whether they're using the original Python binaries or if they've rebuilt them (should be able to tell from sys.version).

So I cannot repro this with the most recent sources on either my work or my home machine with 64-bit Anaconda 2.7.

I was using an older anaconda, 2.1.  (python 2.7.8 64-bit)

Do we have a recent repro of this? Or can we close

This was due to the NTVS PTVS guid collisions.  This is now fixed.


Multichannel support does not work.

Can't access surround left and right on my 5.1 speaker system. This should work with web audio multichannel.
https://codepen.io/alexanderson1993/pen/dPwqPL

fixed on dev branch c1e4ba8fc6bbfa1351196df777c0d34b492f0b37

Fixed in webchuck v1.2.8


Error: Unknown email

Hi,
I'm getting an unknown email error when follow your instructions.
The email most certainly exists, as I can login with it.
Please help.

Apologies - I mistook .sendVerificationCode as a Meteor native function, which caused my issues.


BUG: union_categoricals can't handle NaN

[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff
[x] whatsnew not needed

union_categoricals doesn't handle NaN properly.
on current master:
from pandas.types.concat import union_categoricals
union_categoricals([pd.Categorical([np.nan, 1]), pd.Categorical([2, np.nan])])
# [1, 1, 2, 2]
# Categories (2, int64): [1, 2]

union_categoricals([pd.Categorical([np.nan]), pd.Categorical([np.nan])])
# IndexError: cannot do a non-empty take from an empty axes.

[Current coverage][cc-pull] is 84.57% (diff: 100%)

Merging [#13759][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master     #13759   diff @@
==========================================
  Files           141        141
  Lines         51195      51200     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          43295      43300     +5
  Misses         7900       7900
  Partials          0          0

Powered by Codecov. Last update [9f94e6a...ab99976][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/9f94e6a04564e8269b43c5b4e83854d277ea30bd...ab99976f4a29e9291e525a50549f5f37456b92b6?src=pr
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13759?src=pr

lgtm.
cc @chris-b1

Yeah, I had actually fixed this in #13406 too - this PR fixes some other corners I missed.  I used take_1d with a fill value, which seems to be a little faster?
In [13]: cats = [pd.Categorical(list('abcdefghijkl') * 100) for _ in range(100)]

In [14]: union_categoricals_pr = pd.types.concat.union_categoricals # from 13406

In [15]: def union_categoricals_sinhrks(to_union):
 <snip - this pr>

In [16]: %timeit union_categoricals_pr(cats)
100 loops, best of 3: 2.78 ms per loop

In [17]: %timeit union_categoricals_sinhrks(cats)
100 loops, best of 3: 3.45 ms per loop

@chris-b1 thx, changed to use take_1d.

Looks good to me, go ahead with merging if ready!


Support better color management (RGB profile etc)

Splitting from issue #270

[may belong to codecs’s repos, but Sqoosh could surface some control] Colour management behaviour is inconsistent. At times broken/dangerous. For PNGs, all input is converted to sRGB , but the sRGB chunk is not set (questionable, although browsers got better at assuming sRGB). For JPGs, RGB profiles are converted, while CMYK ones are a problem, again output is, at times, in sRGB, but there is not profile embedded.

A temporary solution for anyone having this issue is to use Sharp with:
const correctColorSpaceBuffer = await sharp(arraybuffer).toColorspace("srgb").toBuffer()


Remove runtime from lib/babel

Fixes for #144

[x] Remove runtime with polyfills
[x] Add regenerator to test files
[ ] Make it less horrible

Couldn't it just read the runtime from https://github.com/facebook/regenerator ?

Couldn't it just read the runtime from https://github.com/facebook/regenerator ?

This is what Make it less horrible part for ;)


bug submit

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

html-snippets
abu
0.1.0

angular1-code-snippets
ale
0.0.3

vscode-database
baj
1.2.0

phpserver
bra
2.0.0

path-intellisense
chr
1.4.2

bracket-pair-colorizer
Coe
0.10.9

jquerysnippets
don
0.0.1

vscode-html-css
ecm
0.1.8

php-debug
fel
1.11.1

auto-rename-tag
for
0.0.14

code-runner
for
0.7.1

beautify
Hoo
1.1.1

crane
Hvy
0.3.8

HTMLHint
mka
0.4.0

vscode-filesize
mkx
1.0.0

debugger-for-chrome
msj
3.3.0

vscode-icons
rob
7.13.0

open-in-browser
tec
1.1.0

(1 theme extensions excluded)

Steps to Reproduce:
1.if i use tab in a new line, cursor will move to end of  next line instead of next tab
2.

Reproduces without extensions: Yes/No

Please run code --disable-extensions from the command line and see if you still see the issue. This is to eliminate the case that one of the extensions that you have is causing the problem.
If you still see the issue, please share more details like

what type of files do you see the issue in? All types?
Can you share a gif/video of the same?
Have you bound tab as a keyboard shortcut for any command?


Can you release the training log of RIFE_m on vimeo90k-septuplet

I've made some changes to RIFE_m, and retrained it. Could you release the train log to serve as a reference. Thank you very much.

Yes. I upload it to https://drive.google.com/file/d/1v7KkQ-LhQliD0Mb0rbXYHZrc7R1UxwVj/view?usp=sharing

It would be very helpful to me, thanks.


Created Technical Documentation Page

Please check & Merge @atapas

@shubham7668 Please create an issue with details so that I know the purpose.

@shubham7668 Please create an issue with details so that I know the purpose.

Done
Check pls

Issue https://github.com/atapas/html-file-upload/issues/7 has been resolved


Cannot download the TalkingHead-1KH Dataset

Hello, when I try to download the TalkingHead-1KH Dataset based on its instructions: https://github.com/tcwang0509/TalkingHead-1KH?tab=readme-ov-file
However, I met the ``HTTP Error 400: Bad Request'' problem. I would like to ask if anyone meets this problem as well, and how I can solve it?

fixed by referring https://github.com/pytube/pytube/issues/1973#issuecomment-2232907131


Docs: Migrate from core.js to other framework

Not sure if my stance is simplistic but I'd love to hear creator's opinion.
As Denis Pushkarev written on Valentine's day, 2023, in the article So, what's next?, it was clear that he couldn't find sponsorship for core.js and the project is no longer maintained. A lot of big companies indeed still uses it, but at the same time, forward thinkers are diving in to try out new OSS frameworks such as Solid Start or Astro.build. I know new frameworks are not necessary to be used, but if this is what young people are attracted to -- why not?
I have asked several open source maintainers and contributors why they choose to contribute to open source and a lot of the time the answer is "Because this is cool and exciting."
I propose several new framework ideas to rewrite our documentation in hoping enthusiasts find our project exciting (it is both exciting and innovative) to encourage further collaboration within the OSS community and even attract people who are not from OSS community but excited to try out new technology. Many people's OSS journey starts with fixing a minor typo. And if we want to attract frontend developers to use backend technologies, we might as well see what could be the best out there?
If my idea gets approved, I will start rewriting our documentation from April onwards. Here are some thoughts on each framework:
1, Svelte
Writing less code but using languages people already known: HTML, CSS and Javascript. It align with Yiming's philosophy on "Don't learn the latest framework, learn the fundamentals" (I guess?) Because it's truly reactive and simple, if we ever decide to put blog examples into documentation (say something extremely interactive but built on Next.js), it could be both possible while retaining performant.
2, Astro
The reason for Astro is simple: stripping away Docusaurus. I know it was hairy to set it up...

Solid
Several packages integrate Markdown, including one supports mdx compiler integrated with Vite.

solid-marked
vite-plugin-solid-markdown

While both Marko and Fresh are great, there are two major reasons why I don't think they are a good option:
1, strange..syntax.
2, Preact is ...relatively old? And Fresh is built on top of Preact, although it is performant but for documentation, until we have an extremely interactive component want to embed in the website, we don't need to worry about any performance-related issue?

Hey @zmzlois , thanks for proposing a rewrite. I agree that the current site is not stylishly designed 😄.
Just FYI, it's currently implemented with Docusaurus. It's not a new tool, but I feel it is quite solid for serving documentation: easy to configure, has a good variety of plugins, and generates an excellent experience score (from an SEO perspective). So far pretty happy with the choice. Btw, I guess core-js was noticed probably because it's a dependency of Docusaurus.
I feel Svelte/SvelteKit is worth trying for implementing a feature-rich web app. Haven't used Astro yet, but I'm interested in looking into it. For documentation sites, I think overall matureness and SEO friendliness are crucial (that's why I switched from docsify to docusaurus ...).
For the time being, I think reimplementing the doc site is not a high priority. Instead, maybe improving the quality of the content itself (copywriting & structure) brings more value to the developers. What do you think?

Copywriting & structure-wise... I do have some thoughts :)
FYI on how Astro looks like: every file feels like writing a markdown file + html, javascript is inside the front matter, and properties of markdown files are inside the front matter too. Without any extra configuration to implement markdown.

With a site as an example [Eye of the storm]: https://eyeofthestorm.netlify.app/


RealSense Viewer SEH exception

librealsense
2.38.1 RELEASE

OS
Windows 10 Pro 19041.508

CPU
i7-8809G

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Program terminated due to an unrecoverable SEH exception:
Access Violation!

This exception was thrown after installing the Intel RealSense SDK for Windows and launching the RealSense Viewer. I had just uninstalled the SDK from my computer (Intel Nuc Hades i7-8809G CPU  running Windows 10 Pro 19041.508). 2 RealSense cameras were plugged into the computer at launch.
These cameras previously worked (viewer worked and my python scripts worked) but after leaving the computer for a month with who knows how many windows updates, both the Intel RealSense Viewer and my python scripts stopped working. They would silently fail - the scripts would fail to access the cameras, and the viewer would never start (no error messages). So I uninstalled the SDK, and installed it again from intelrealsense.com. Upon doing so and attempting to launch the viewer, this above error occurs. Error still occurs and the application never opens. My scripts seem to be working, however - it sees 2/2 devices connected, but can only open 1/2 of the devices. This problem seems to be a recurring issue with RealSense devices however as this spotty connectivity appears on every computer I have tried RealSense devices on.

Hi @tlsharkey   There was a case of this error occurring on Windows recently.  In that particular case, it was found that the Device Manager had 8 hidden instances of the 400 Series RGB and Depth driver entries.   If there was only one camera attached then there should have only been two of these drivers listed (one RGB driver and one Depth driver).
So the additional drivers were uninstalled from the Device Manager (which can be done by right-clicking on the driver entry and selecting Uninstall device from the menu).
https://github.com/IntelRealSense/librealsense/issues/7185#issuecomment-688837669

Doesn't seem to be the problem for me

I have 2 cameras connected and see 4 drivers (2x RGB and 2x Depth). All drivers have the same version. After uninstalling devices drivers and following instructions in #7185 comment, the same error still occurs.
Other ideas?

Thank you for the update.   Next, can you check that Enable access to the camera on this device is set to On please in the Windows privacy settings?
https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

Hi @tlsharkey   Do you still require assistance with this case, please?   Thanks!

Yes, still having trouble.
Camera access is enabled, and the cameras can be viewed through the windows camera app. I also have python scripts using realsense2 bindings that can see the cameras, but cannot pull frames from them through the realsense api

Do you experience the same SEH error if you download and launch the standalone .exe version of the Viewer from the Assets list on the SDK 'Releases' page, please?
Once downloaded, this Viewer should be launched from the location that you downloaded it to, or a new Windows desktop shortcut icon created.

Can you update on your current situation please @tlsharkey

Do you still require assistance with this case please?   Thanks!

Never got the viewer to work, but my python scripts are working again. Don't have the time to troubleshoot further. Closing issue.

I'm sorry to hear about the Viewer, though I am pleased to hear that you got Python functioning.

Hi @sktistakis  Can you confirm whether you have checked that permission for applications to access to the camera is set to On in the Windows privacy settings please, using the method described in https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

Hi I have the 'RealSense Viewer SEH exception #7435' error same as that of https://github.com/IntelRealSense/librealsense/issues/7435#issue-710568759
Attempted all the solutions mentioned there.
Still I have the same issue. Please help me to solve that issue

Hi @kalai2875  Next, could you try installing the Dynamic Calibration tool (which includes a program called CustomRW) and try using CustomRW to 'gold rest' the camera to its factory defaults, as described in https://github.com/IntelRealSense/librealsense/issues/9947#issuecomment-966148418
If you have not already downloaded and installed the Dynamic Calibration tool on Windows, you can obtain it from the link below.
https://www.intel.com/content/www/us/en/download/645988/intel-realsense-d400-series-dynamic-calibration-tool.html


style(akita-cli): reformat templates and schematics

sort imports and exports alphabetically, remove consecutive blank lines and add missing ones
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/datorama/akita/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The generated code has consecutive blank lines, or doesn't have a blank line where it's needed. Also, it's generally a good idea to sort imports alphabetically as it makes it easier to visually find an import you're interested in.
Issue Number: N/A
What is the new behavior?
Statements mentioned above are fixed.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Motivation: in our projects we use recommended linting rules (as well as some custom ones), and an IDE sometimes yells at us because of the things mentioned in the PR. I wanted to fix those things, especially since it doesn't affect any feature.


[kibana] feat: Add support to kibana 6.8 chart for deployment annotations

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes
[x] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

^ Unsure if integration test updates are needed with this feature.
This PR creates the ability to add deployment annotations for those using 6.8 versions of elastic. Code used from when changes were introduced to newer versions of the chart in https://github.com/elastic/helm-charts/pull/1417.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@jmlrt @Kushmaro how do we get someone to review these changes?


Update policy-for-kubernetes.md

The existing keyword "azurePolicy" is not working as the command - az aks show returns
"azurepolicy" as a field in the output.

@iAshishHere : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


Outlines updates

side is not valid anymore.
tags is not valid anymore.

Sorry I didn't see this issue earlier.
About the tags, was it valid before? I can't really think of a way of using it for outlines. How would one go about replacing it?

Here is an example of how it was used: https://github.com/benvallack/ergogen/blob/master/input/config-piano.yaml
I don't know the project well enough to offer a suggestion for a replacement.


autocomplete is not working when working with JSON templates. When I press Ctrl+space, it is stuck on loading. Reinstalling or restart VS Code do not help.

VSCode Version:
Version 1.20.1
Commit f88bbf9137d24d36d968ea6b2911786bfe103002
Date 2018-02-13T15:34:36.336Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

OS Version: Windows 10 1709 (OS Build 16299.248)

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

@a-mosheh please provide a snippet that illustrates the problem. What kind of JSON templates are you using? Do they come from an extension?

Hello, I'm using Azure ARM template JSON (i'm following examples here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-create-first-template),

Can you give more details? Please post the sample code, annotated the location where you try code completion.
That's what I quickly tried and which seems to work for me:

Closing due to lack of details.


sbJson 2.0 contacts

Mapping of sbJson contacts to mdTranslator internal data structure:

[ ] reader complete
[ ] writer complete

{
   "contacts": [
      {
         "name": "Robert N Prescott",
         "oldPartyId": 58818,
         "type": "Distributor",
         "sourceId": "asdf",
         "contactType": "person",
         "organizationsPerson": "usgs",
         "ttyPhone": "123-123-1234",
         "hours": "8-4",
         "instructions": "test",
         "email"<EMAIL_ADDRESS>         "active": true,
         "jobTitle": "Computer Programmer",
         "personalTitle": "test",
         "firstName": "Robert",
         "middleName": "N",
         "lastName": "Prescott",
         "organization": {
            "displayText": "Fort Collins Science Center"
         },
         "primaryLocation": {
            "see": "sbJson 2.0 primaryLocation"
         }
      }
   ]
}

Definition: The contacts of an item. This is an collection of basic typed contact objects, which have the fields: type, name, highlighted.
Mapping...

new contact
[schema][contacts][n].contactId
name: The name of the contact.
Map to contacts name
[schema][contacts][n].name
view mdTools
type: An editable type to describe the person or organization.
Map to contacts contactType
[schema][contacts][n].contactType
view mdTools
contactType: The type of contact, always "person" or "organization"
Map to contacts isOrganization
[schema][contacts][n].isOrganization
view mdTools
ttyPhone: (none)
Map to contacts phones
[schema][contacts][n].[phones][n].phoneNumber
view mdTools
[schema][contacts][n].[phones][n][phoneServiceTypes][n]
view mdTools
hour: (none)
Map to contacts hoursOfService
[schema][contacts][n].hoursOfService
view mdTools
instructions: (none)
Map to contacts contactInstructions
[schema][contacts][n].contactInstructions
view mdTools
email: The email address of a person. Not included in organizations
Map to contacts eMailList
[schema][contacts][n][eMailList][n]
view mdTools
jobTitle: (none)
Map to contacts positionName
[schema][contacts][n].positionName
view mdTools
organization.displayText: (none)
Map to new contact
[schema][contacts][n+1].contactId
[schema][contacts][n+1].name
[schema][contacts][n+1].isOrganization = true
view mdTools

Not Mapped...

oldPartyId
sourceId
organizationsPerson
active
personalTitle
firstName
middleName
lastName

Mapping to mdTranslator
   def newBase
      intObj = {
         contacts: [
            {
               contactId: 'CID001',
               isOrganization: false,
               name: 'Robert N Prescott',
               positionName: 'Computer Programmer',
               memberOfOrgs: ['CID002'],
               logos: [],
               phones: [
                  {
                     phoneName: nil,
                     phoneNumber: '123-123-1234',
                     phoneServiceTypes: ['tty']
                  }
               ],
               addresses: [],
               eMailList<EMAIL_ADDRESS>               onlineResources: [],
               hoursOfService: ['8-4'],
               contactInstructions: 'test',
               contactType: 'Distributor'
            },
            {
               contactId: 'CID002',
               isOrganization: true,
               name: 'Fort Collins Science Center'
            }
         ]
      }
   end

Translation to mdJson
{
   "contacts": [
      {
         "contactId": "CID001",
         "isOrganization": false,
         "name": "Robert N Prescott",
         "positionName": "Computer Programmer",
         "memberOfOrganization": ["CID002"],
         "logoGraphic": [],
         "phone": [
            {
               "phoneNumber": "123-123-1234",
               "service": ["tty"]
            }
         ],
         "address": [],
         "electronicMailAddress"<EMAIL_ADDRESS>         "hoursOfService": ["8-4"],
         "contactInstructions": "test",
         "contactType": "Distributor"
      },
      {
         "contactId": "CID002",
         "isOrganization": true,
         "name": "Fort Collins Science Center"
      }
   ]
}

Just a note that the contact -> type mapping is one-way. The writer will need to determine the type by scanning the record for all instances of party (contactId + role). Each unique instance of the party will need to be included in the sbJSON contacts[ ] with type = role.

I'm thinking no scanning will be necessary if a unique contact is created for each occurrence in sbJson.  I find a contact, I create one, and each has a unique ID so it can find its way back.  Otherwise we are making too many guesses about what contact to use in any situation.

When going from mdJSON to sbJSON, you'll have to put all the unique contacts into the sbJSON contacts[ ] array. To do that the contacts will need a type which can only be obtained from the party roles. It's a PITA, but the only way to grab them all is to scan for every instance of party. Unless we just use the contacts in the citation and call it good.

OK, you're talking about the type element specifically.  It is very likely that in mdJson a contact will be associated with several roles (types).  Since contact < type in sbJson is singular, are you thinking we need to create a new instance of contact in sbJson for each contact/role paring mdJson?

Exactly.

Not sure why fbmsCodes are associated with contact.  Any insight?  Not that we have a place for them anyway.

Nope. Might be related to agreement #s?


Possible bug with error messages from callable discriminators

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
The error messages from discriminated unions using callable discriminators on models with no extra fields allowed are a bit weird in that they include the Tag id in the key path to the extra field.
There's a code example below, but here's what an error looks like where a field is named option_1 but the tag associated with it is option_1_tag.
1 validation error for TestModelWithDiscriminator
exclusive_options.option_1_tag.option_2
  Extra inputs are not permitted [type=extra_forbidden, input_value='test', input_type=str]
    For further information visit https://errors.pydantic.dev/2.6/v/extra_forbidden

We're using discriminated unions with callable discriminators to validate mutually exclusive field options within a model.
Any help with this is much appreciated! And if this is intended behavior, it would be great for that to be documented.
Example Code
from typing import Annotated, Any

from pydantic import (
    BaseModel as PydanticBaseModel,
    ConfigDict,
    Discriminator,
    Tag,
    ValidationError,
)

class BaseModel(PydanticBaseModel):
    model_config = ConfigDict(extra="forbid")

class DiscriminatorOption1(BaseModel):
    option_1: str

class DiscriminatorOption2(BaseModel):
    option_2: str

def get_discriminator_value(v: Any) -> str:
    if isinstance(v, dict):
        if v.get("option_1"):
            return "option_1_tag"

        if v.get("option_2"):
            return "option_2_tag"

    return ""

class TestModelWithDiscriminator(BaseModel):
    exclusive_options: (
        Annotated[
            Annotated[DiscriminatorOption1, Tag("option_1_tag")]
            | Annotated[DiscriminatorOption2, Tag("option_2_tag")],
            Discriminator(get_discriminator_value),
        ]
        | None
    ) = None

if __name__ == "__main__":
    # Provides both `option_1` and `option_2`, which should raise a ValidationError.
    raw = {
        "exclusive_options": {
            "option_1": "test",
            "option_2": "test",
        }
    }
    try:
        TestModelWithDiscriminator.model_validate(raw)
    except ValidationError as err:
        # Raises a ValidationError due to extra inputs, but reports the attribute path weirdly.
        assert "Extra inputs are not permitted" in str(err)
        assert "exclusive_options.option_1_tag.option_2" in str(err)
        print(err)

Prints:
1 validation error for TestModelWithDiscriminator
exclusive_options.option_1_tag.option_2
  Extra inputs are not permitted [type=extra_forbidden, input_value='test', input_type=str]
    For further information visit https://errors.pydantic.dev/2.6/v/extra_forbidden

Python, Pydantic & OS Version
pydantic version: 2.6.3
        pydantic-core version: 2.16.3
          pydantic-core build: profile=release pgo=true
                 install path: /Users/alexklavens/dev/data-product-tools/.venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.9 (main, Apr  8 2024, 13:54:35) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
                     platform: macOS-14.6.1-arm64-arm-64bit
             related packages: typing_extensions-4.11.0 mypy-1.8.0 pydantic-settings-2.2.1
                       commit: unknown

Indeed, that is an odd way for those errors to be reported. Looks like a bug to be fixed in pydantic-core. Help is welcome here - relatively low priority issue for now.


[BUG] Validate on blur and on change not working on day component.

Environment

Hosting type

[] Form.io
[x] Local deployment

Version:

Formio.js version: 4.11.1
Frontend framework: Angular 9
Browser: Chrome
Browser version: 87

Steps to Reproduce

Add a day field into the form builder.
Set validation on blur.
Make sure to check Require Day, Month and Year.

Expected behavior
Validation error message must be displayed when the day field is empty.
Observed behavior
Validation error message not display when the day field is empty.

Hello @pathompongthapuech,
In order for the validation blur to fire, you need to insert data into the Day component. You will also need to add a min year and max year (ex. Need to have the year in-between 2000 and 2021). You will fill out the component and trigger the min or max validation. You will then tab into a new component and begin typing, then the validation will trigger saying that the Day should not contain year less/more than 2000. Here is a video: https://share.getcloudapp.com/qGul2y7W

Hello @pathompongthapuech,
In order for the validation blur to fire, you need to insert data into the Day component. You will also need to add a min year and max year (ex. Need to have the year in-between 2000 and 2021). You will fill out the component and trigger the min or max validation. You will then tab into a new component and begin typing, then the validation will trigger saying that the Day should not contain year less/more than 2000. Here is a video: https://share.getcloudapp.com/qGul2y7W


Upgrade to Angular 2 RC4

Upgraded to Angular 2 RC4, plus also fixed couple of linting errors, and changed es6-shim to core-js (it's recommended to be used together with Angular 2).
Note! I upgraded all packages to the latest ones (except rxjs is 5.0.0-beta.6, which is the one used in Angular 2 release candidates for the moment). Everything checked out, builds were successful and tests also passed.

There were the following issues with your Pull Request

Commit: f25f3996557abcb0c522a6313eeae7717265bdda

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: ab3c64e32e84b7c79b863bd5a39ef12dac57b52b

Commits must be in the following format: %{type}(%{scope}): %{description}

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert, build, ci

Commit: 97f1d6645fd554bf48f0aa9bd802495b65355136

Commits must be in the following format: %{type}(%{scope}): %{description}

Your subject line is longer than 72 characters

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert, build, ci

Commit: d3f260cde5ee569da096c724db4e19cca7223aac

Commits must be in the following format: %{type}(%{scope}): %{description}

Contribution guidelines are available at https://github.com/SebastianM/angular2-google-maps/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

I'm currently using this in my app with npm install --save github:jussikinnula/angular2-google-maps-build.

@jussikinnula thanks for the PR. A few notes regarding your PR:

There should be max one commit per PR (You should squash all commits).
There a breaking changes in rc4 that are related to unit testing. These should also be addressed with this single commit.

When this is fixed, im happy to merge it.
Thank you!

Updated the stuff only to include Angular 2 RC4 upgrade (I might still make the core-js upgrade as a separate one, now I did return es6-shim back).

@jussikinnula Did you manage to check out the breaking tests on rc4? Would be awesome to get those squashed into this commit! THanks!

Tests pass fine with es6-shim:
06 07 2016 14:12:24.464:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
06 07 2016 14:12:24.471:INFO [launcher]: Starting browser Chrome
06 07 2016 14:12:27.299:INFO [Chrome 51.0.2704 (Mac OS X 10.11.5)]: Connected on socket /#ev1DuXKT8q_eZ2h-AAAA with id 34732074
Chrome 51.0.2704 (Mac OS X 10.11.5): Executed 4 of 4 SUCCESS (0.042 secs / 0.031 secs)

To get the tests passing also with core-js (which would be another PR) is another thing. I have a working setup for my unit tests based on https://github.com/r-park/todo-angular2-firebase/blob/master/karma.conf.js & https://github.com/r-park/todo-angular2-firebase/blob/master/karma.entry.js ... I guess if creating similar entry for these lines https://github.com/SebastianM/angular2-google-maps/blob/master/karma.conf.js#L16-L22 angular2-google-maps could also use core-js. I could try that next week if I have time :-) ...

@jussikinnula I'm taking a look at the changelog and it looks like a couple testing imports were deprecated so tests won't pass at the moment.  Looking into it...

@jussikinnula I've updated the tests myself and merged here: https://github.com/SebastianM/angular2-google-maps/commit/1e8145cd1541d97258cb58b26c722ce8fac4fbc2 (you still get commit credit though, thanks!)


Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

I can't seem to get react-sticky to work when attempting to use my own component
              <StickyContainer>
                <Sticky>
                  {({style}) => (<SearchResultsBar style={style} onFilterClick={this.props.handleFilterClick} />)}
                </Sticky>
                ...
              </StickyContainer>

When I attempt the above I get Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null at Sticky.js:61.
var contentClientRect = _this.content.getBoundingClientRect();

If I do the above, but don't attempt to pass any of my own props, and just return the component by name it works:
              <StickyContainer>
                <Sticky>
                  {SearchResultsBar}
                </Sticky>
                ...
              </StickyContainer>

I'm assuming I'm missing something simple, but I don't know what it is. The SearchResultsBar is a stateless functional component if that makes a difference. This is using 6.0.1.

Interesting, might be a bug or an unsavory limitation of the current approach -- can you try with your <SearchResultBar /> as a class instead and report back to see if that makes any difference?

@dbarbalato, I actually just got finished trying that, and it appears to work correctly as a class extending Component.

Ok, well that's good to know. Obviously undesireable. Would you have any objection to submitting a PR with a reasonable attempt to make this work? I don't do much work with functional components so I wouldn't be the right person to implement.

So on second thought, I don't think this will ever be possible -- stateless functions don't support refs by design, which is the core to this implementation, at least not without some some sort of Component/PureComponent wrapper.
Not to discourage someone from making a PR to work around it. But the mystery as to why has been identified

I'm still somewhat new to react, but creating a HOC seems to make it possible.
const sticky = (ComposedComponent) => class extends Component {
  render() {
    return <ComposedComponent {...this.props}/>
  }
}

const StickySearchResultsBar = sticky(SearchResultsBar)

Whether that's a good solution or not, I don't know. It does work though.

How on Earth could this be not documented after a very lucky catch?

I appreciate this project isn't actively maintained but has anyone looked into a fix for this?
The issue has been closed but not fixed...

@dnd would you be able to share your source code for your fix?

I found a library which does pretty much everything I need if anyone is interested?
Not experiencing the same getBoundingClientRect bug with this one
https://github.com/yahoo/react-stickynode

It should be documented, yeah.
Another way to fix it is to use React.forwardRef in your pure component function ( https://reactjs.org/docs/forwarding-refs.html ) .

The repo is open for contributions @jtomaszewski! We'd welcome a PR to the readme if this is still a problem with the latest version.

If it helps anyone, forwarding the rest of the props to a wrapping div seems to fix the problem
<Sticky>
     {({style, isSticky, ...rest}) => (
         <div {...rest}>
             <SearchResultsBar style={style} onFilterClick={this.props.handleFilterClick} />
         </div>
     )}
</Sticky>


Documentation on hogan.js homepage assumes Array.prototoype.map mutates original array

Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array which is not true.
Note: Please move to the documentation (for homepage) repo if there is one. I could not find a one, so filing an issue on this repo.
This is a minor issue, but might confuse developers about Array.prototype.map.
Following won't work:
console.log('Follow: ' + team.join(' ') + '!');
To correct the doc, result of team.map() call needs to be stored in a variable, and then join() should be called on that variable.

any update on the issue?


ARROW-6296: [Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar fields

Related to ARROW-6296.
i. If we use direct setting of fields, we can avoid the extra temporary buffer and memcpy by setting bytes directly.
ii. We should overwrite existing vectors in consumers before returning results, to avoid the possibility of closing vectors in use (or alternatively make sure we retain the underlying buffers).
iii. Try to eliminate some of the state in load() by moving initialization to the constructor.

cc @emkornfield

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@94ba10b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #5152   +/-   ##
=========================================
  Coverage          ?   89.76%
=========================================
  Files             ?      682
  Lines             ?   101904
  Branches          ?        0
=========================================
  Hits              ?    91471
  Misses            ?    10433
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94ba10b...e6bd999. Read the comment docs.

@emkornfield PR updated, please help take a look, thanks!

looks like there is one problem consuming the inputstream (hopefully this code is centralized) otherwise I think it can be merged after.

Thanks, fixed now.

Build passed :)

+1, thanks.


i cant play the audio, i need help

... ...
import Sound from 'react-native-sound';
... ...
export default class App extends Component {
... ...
  // test sound
  _play() {
    setTimeout(() => {
      var sound = new Sound('test.mp3', Sound.MAIN_BUNDLE, (error) => {
        console.log(error)
        if (error) {
          console.log('failed to load the sound', error);
        }
      });
      setTimeout(() => {
        sound.play((success) => {
          if (success) {
            console.log('successfully finished playing');
          } else {
            console.log('playback failed due to audio decoding errors');
          }
        });
      }, 100);
    }, 100);
  }
... ...
  render() {
    return(
      <View style={styles.container}>
        <Text style={styles.title}>{this.state.comm_name}React-Native-Sound</Text>
        <Button style={styles.title} title="play" onPress={this._play.bind(this)}/>
      </View>
    )
  }

i click the button, only console log "playback failed due to audio decoding errors".
the console.log(error) is not working.
i need help, thank you!

have you tried several different mp3 files?

@schumannd yes,i had tried mp3 aac url.
tomorrow i'll watch the source file.

oh,it's my device's problem……


Ability to change bit order + SPI support

added SPI support

That's pretty cool, thanks for the contribution. (I'll test this before merging.)

That's pretty cool, thanks for the contribution. (I'll test this before merging.)

ok ;) how long it could take?

#define SHIFT_REGISTER_USES_SPI_WITH_FREQUENCY 20000000UL

#include <ShiftRegister74HC595.h>
#include <SPI.h>

#define LATCH 7

ShiftRegister74HC595<3> sr(LATCH);

void setup() {
  Serial.begin(115200);

  TCCR1A = 0;
  TCCR1B = 0;
  TCNT1 = 0;
  OCR1A = 10; //10khz
  TCCR1B |= (1 << WGM12);
  TCCR1B |= (1 << CS21);
  TIMSK1 |= (1 << OCIE1A);
  sei();
}

volatile uint8_t b[3] = { 0b10010011, 0b11010011, 0b1111000 };

ISR(TIMER1_COMPA_vect)
{
  sr.setAll(b);
}

void loop() {
  delay(1000);
}

hey, any progress / problems with this PR?

hey @Simsso what do you think about this? is there anything i can improve?

hey@blinkinglight did you forked it so that we can use your edited version?

hey@blinkinglight did you forked it so that we can use your edited version?

yes click on 9glt:master at the top

hey@blinkinglight did you forked it so that we can use your edited version?

yes click on 9glt:master at the top

Thank you. on the SPI version, for the esp32 board which frequency can I set?


please document some scenarios the lib try to solve

Hi,  it seems this lib is very interesting but the document doesn't show what case it try to  solve, can you document some scenarios please? for beginner,  understanding the situation the lib can be used is more important than how it solved .

@videni Tnx we are working on a new documentation on http://docs.simplebus.io/ and https://github.com/SimpleBus/Docs to improve the documentation.

Thank you


Consider upgrading only gems listed in Gemfile

Thanks for this very useful tool.
When I update gems, I usually only update the ones listed in the Gemfile, which is what Gemnasium uses to report outdated gems. I noticed that bummr uses Bundler.load.specs, which lists a whole lot more than what's in the Gemfile, and in some cases gems that aren't even in the Gemfile.lock. Is there a particular reason for that decision?
Would it be possible to provide some sort of configuration to allow the user to choose to update only the gems listed in the Gemfile?
Updating only the files listed in the Gemfile should automatically update the dependencies of those gems, and should make bummr run faster since the list of gems it iterates through will be smaller.
Thanks!

I did some more debugging and came to the conclusion that all_gem_specs should only return Bundler.load.dependencies. I'm not sure why you are also including Bundler.load.specs. What was the reasoning behind that?
One of the reasons why you don't want to include the gems in the Gemfile.lock is because they are likely to change while you are updating the gems. For example, here is what resulted in the error I reported here:
I had flamegraph version 0.1.0, which lists fast_stack as its runtime dependency. fast_stack in turn was at version 0.1.0, which has rack-compiler as a runtime dependency. Because bummr includes all files in the Gemfile.lock, it assumes that both fast-stack and rack-compiler need to be updated.
When Bummr updated flamegraph, it was upgraded to version 0.9.5. This latest version no longer has a dependency on fast_stack, which means that both fast_stack and rake-compiler have now been removed from the Gemfile.lock.
So, when Bummr tries to get the updated_version from bundle list for rake-compiler, it crashes because that gem is not there anymore.
This means that the only gems Bummr should try to update are the ones listed in the Gemfile.

Hey,
Thanks for the report. That part of the code was essentially pulled from Bundler's source code. I'm going to take a look and see what I can do. Thanks!

I have a fix. I'll submit a PR in a bit.

It looks like what we're looking for may be bundle outdated --strict https://github.com/bundler/bundler/issues/2575

@monfresh I couldn't help myself, been working on my own fix here: https://github.com/lpender/bummr/pull/11

I'm going to go ahead and merge my pull request, since I'm concerned that other users of the app may be having a poor experience. Please let me know if you come up with an alternate method that you feel is better.

Did some more testing -- looks like it is still trying to update gems that are not in the Gemfile. Though this hasn't been a breaking issue for me so far, as they do still show up in bundle list

https://github.com/lpender/bummr/pull/12

Upgrading to 0.1.1 should now work for you.
The list of gems to update went from ~90 to 32 on my test fixture so you should also gain quite a bit of speed.

Thanks, I'll try it out. For your test fixture, I recommend you set it up so that you can test what happens when a gem removes a dependency after being updated, like what happened in my case with flamegraph.

I fixed the regex and added rspec and some basic unit tests.
Unfortunately, full BDD is going to be an issue until this issue is resolved.
Take a look at https://github.com/lpender/bummr/compare/lp-bdd if you'd like to take a crack at the integration tests yourself.

@monfresh I'm closing this again for now. Let me know if you have any more issues.

Thanks! The latest version looks great, but I found another issue with the commit message. I'll open a new issue now.


welcome text

or have none.
Currently,

Here is what we did for microplastics (still in progress with the social media icons):

@gjahansen2 got any goodies or suggestions for this?

Climate change and freshwater fish
Lakes in Wisconsin are getting warmer, and fish communities are changing as a result.
Understanding the changes that have already occurred and anticipating future changes can help to design management strategies that protect resilient populations and adapt to new conditions.

mic drop. I am headed north for the weekend.

GH is suggesting changing this to:

And then there could be the white space with the last piece of text ("understanding..." above) to separate this picture from the next.

desktop:

mobile:

we probably want to do a little tweaking on parts of how that last piece works, but I think this update covers this issue. Agree @gjahansen2 ?

Yes. but change last text section to read as above:
Understanding recent trends and anticipating future changes can help decision-makers protect resilient populations and adapt to new conditions.

fixed in #73


Multiple forms, same field names

Hiya,
I have N dynamically generated copies of the same form on one page where basically the only difference is an ID that ties into the database on the backend.
form[1] will fail if form[0] is invalid because all the inputs share names. It seems form[0] is not dependent on from[1] being valid though (which makes me wonder if I'm doing something wrong)
There's a lot of "stuff" out there for when a single form has inputs of the same name, but this was the only example I found of someone else having this same problem: http://forum.jquery.it/topic/validate-plugin-multiple-forms-with-same-form-field-names
(they're using #rules where I'm just using #validate - probably inconsequential but figured I'd include as much detail as possible)
Any advice? Am I missing something? Is there a blog post I missed that you can point me at? If the solution is to fork and fix then I wouldn't mind a point in the right direction :P
Thanks,
Dan

hi


[BUG] origins:multiple Incompatibility

Describe the bug
After using origins:multiple with one of the powers titled effects, the plugin detects this as an effect list and states that I'm missing duration_per_tick.
I expect that this also occurs with other things things inside origins:multiple, but I haven't tested.
To Reproduce
"type":"origins:multiple",
"effects": {
    code
}

Expected behavior
There should be no error as it is not an effects list, it is an origins:multiple power.
Screenshots

After checking some more, it appears that this happens with every stacking status effect, however, I do not see duration_per_tick in the origins docs, so why does the plugin enforce it?


Relax libnvjitlink dependency on cuda-version

Close #15.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Not sure why rerendering would go wrong...

Not sure why rerendering would go wrong...

There's a bug in the latest version of conda-build where is tries to render build variants that are skipped. If any of the jinja variables are undefined in those skipped variants, it throws an error. Lemme check for that here and assign default values.

Are runtime dependencies on libgcc and libcxx needed? There's warning about those. Otherwise, LGTM.

Thanks @carterbox @bdice!


"No commit messages were generated"

Bug description
I'm using the local model (ollama with codellama) to generate a commit. It works sometimes and fails sometimes with the warning information: "⚠ No commit messages were generated."

And if I enable OLLAMA_STREAM, after streaming for a while, a new error message is displayed: Failed to extract messages from response.

aicommit2 version
1.8.6
Environment
System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 252.88 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.5.0 - ~/.asdf/installs/nodejs/21.5.0/bin/node
    npm: 10.2.4 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 9.0.4 - ~/.asdf/shims/pnpm

Can you contribute a fix?

[ ] I’m interested in opening a pull request for this issue.

thank you for your interest. There seems to be a problem with parsing messages. I'll fix it as soon as possible

Thank you for your interest. There seems to be a problem with parsing messages. I'll fix it as soon as possible

@caiguo37 I fine-tuned the prompt, but sometimes AI doesn't return the correct commit message.
I added the logging option to see the full response message. It support from v1.9.0.
You can set it up with the command below.
aicommit2 config set logging=true

Didn't see any log generated.

The log files will be stored in the ~/.aicommit2_log

success.log
fail.log
fail2.log
success2.log
Using the same content, logs of failure and success. Took a glance, didn't find any difference.

Thank you for sharing the error log.
I checked and found that the fail case is not correct format of a conventional commit message.
In the case of fail.log, the type is git, but it is not an conventional commit type.
The message in fail2.log is not in the form of type(scope): description.

Thank you for sharing the error log.
I checked and found that the fail case is not correct format of a conventional commit message.
In the case of fail.log, the type is git, but it is not an conventional commit type.
The message in fail2.log is not in the form of type(scope): description.


Download failed if folder name contain the character ':' in Windows

Since the character ':' is forbidden in Windows folder name, in case we try to download to folder which it name contain the character ':' the download will fail.
for example:
if our build name contain  the character ':', for example "myBuild:test", in case we will try to download the entire build we will get the following error:
jfrog rt dl * --server-id ArtifactoryOL --build-name="myBuild:test" --build-number LATEST .
[Error] mkdir C:\Users\yehudah\AppData\Local\Temp/jfrog/builds/myBuild:test_LATEST/: The directory name is invalid.
step to reproduce:

create build with the character ':' in it name.
try to download the artifact according to the following command:
jfrog rt dl * --server-id <server id> --build-name="<build name>" --build-number LATEST .

@yudkeh,
JFrog CLI 1.10.0 has been released and includes a fix for this issue.

@yudkeh,
May we close this issue?

@yudkeh, I'm closing this issue for now.


Question about paper

Hello, I've reading your paper and I'm a little curious about the calculation of mutual infomation.
when transfer the MI to KL based method which contains a joint distribution and two marginal production.

but how to understand when we train the network, we sample (z1,z2)as the joint distribution, and sample (z1,zrand) as the other? what's the true joint distribution and two marginal distribution?Thanks.

Hi, in the following you find my remarks:
1 The discriminator outputs a single number ranging between 0 and 1 (binary
classification only needs one output)
2. The loss is the standard binary cross entropy. It can be proved that
such a metric corresponds to the JS divergence.
3. The game we play in the paper is cooperative and not adversarial. You
don't have to multiply the gradient by -1
Mirco
On Fri, Dec 14, 2018 at 9:23 AM zx<EMAIL_ADDRESS>wrote:

I also have a question about implement the work. are there any problem in
my point of view ? when train the network :

the positive and negative sample send to D and get 2 number .
then use JS-based estimate to calculate the loss.
multiply -1(pytorch) to update D and task network for maxmize
simultaneously?

Thanks （＾-＾）

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/11#issuecomment-447251194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1navoMak2XTe8n3kF6R8DHBW1tTUks5u41_tgaJpZM4ZRx1K
.

oh my god, I see the maximize loss, so in my first of view, loss*-1 to maximize, as the following loss is directly could be calculated by BCE loss(BCE loss have a additional multiply -1 compare to the loss function bellow) and directly backward and optim.step for maximize. thanks for your reply.

L(Θ,Φ) = EXp [log(g(z_1 ,z_2 ))]+EXn[log(1−g(z_1 ,z_rnd ))]

Hi, I'm reading your paper and curious about the experiments' results.
Have you tried to add the  to other SOTA networks such as ResNet or SENet et al. How does it perform? Can I consider the  is a general way to improve the CNN's performance dealing with time series?
Looking forward to your reply. Thanks~

Hi,
thank you very much for your interest in my research. To better answer, let
me distinguish between the architecture of the encoder (SincNet) and the
method for learning speaker-id representations (i.e., the sampling strategy
coupled with a discriminator that maximizes the mutual information). The
first one is a general architecture for learning from audio and speech
waveform directly (it can be used for both supervised or unsupervised
learning). In particular, SincNet uses sinc-based filters in the first
convolutional layer and, after that, the user can employ anything,
including other fully connected  (such as resnet) or recurrent layers
(e.g., LSTM or GRU). The second one is a method that turned out to derive a
representation that highlights very clearly speaker-id information. We are
working now to extend this work in order to capture other interesting
features of the speech signal, including for instance phonemes and prosody
information.
On Mon, Dec 24, 2018 at 6:39 AM Weihao Li<EMAIL_ADDRESS>wrote:

Hi, I'm reading your paper and curious about the experiments' results.
Have you tried to add the to other SOTA networks such as ResNet or SENet
et al. How does it perform? Can I consider the is a general way to improve
the CNN's performance dealing with time series?
Looking forward to your reply. Thanks~
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/11#issuecomment-449723459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1uvIn3MvlykRRTvRRmtK-XHabjYDks5u8LzlgaJpZM4ZRx1K
.

Hi, thank you very much for your interest in my research. To better answer, let me distinguish between the architecture of the encoder (SincNet) and the method for learning speaker-id representations (i.e., the sampling strategy coupled with a discriminator that maximizes the mutual information). The first one is a general architecture for learning from audio and speech waveform directly (it can be used for both supervised or unsupervised learning). In particular, SincNet uses sinc-based filters in the first convolutional layer and, after that, the user can employ anything, including other fully connected (such as resnet) or recurrent layers (e.g., LSTM or GRU). The second one is a method that turned out to derive a representation that highlights very clearly speaker-id information. We are working now to extend this work in order to capture other interesting features of the speech signal, including for instance phonemes and prosody information.
…
On Mon, Dec 24, 2018 at 6:39 AM Weihao Li @.***> wrote: Hi, I'm reading your paper and curious about the experiments' results. Have you tried to add the to other SOTA networks such as ResNet or SENet et al. How does it perform? Can I consider the is a general way to improve the CNN's performance dealing with time series? Looking forward to your reply. Thanks~ — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#11 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGs1uvIn3MvlykRRTvRRmtK-XHabjYDks5u8LzlgaJpZM4ZRx1K .

Thanks for your quick reply.
I understand the sinc-based filters can capture the featrue from raw data with better interpretable. And it got better classification performance on TIMIT and LibriSpeech. But I'm not sure if it is universal for other time series classification problem when added to various neural networks. (i.e, vanilla GRU vs vanilla GRU with sinc-filter). Do you have any verification results?
Sorry for my previous question decription that when I use "<>" symbol to quote the "sinc" function, the word missed. I've edited my question.
Thanks again.

I actually never tried with time series different from audio and speech. My
feeling is that it could work even for other time of time series....
Mirco
On Mon, Dec 24, 2018 at 9:36 PM Weihao Li<EMAIL_ADDRESS>wrote:

Hi, thank you very much for your interest in my research. To better
answer, let me distinguish between the architecture of the encoder
(SincNet) and the method for learning speaker-id representations (i.e., the
sampling strategy coupled with a discriminator that maximizes the mutual
information). The first one is a general architecture for learning from
audio and speech waveform directly (it can be used for both supervised or
unsupervised learning). In particular, SincNet uses sinc-based filters in
the first convolutional layer and, after that, the user can employ
anything, including other fully connected (such as resnet) or recurrent
layers (e.g., LSTM or GRU). The second one is a method that turned out to
derive a representation that highlights very clearly speaker-id
information. We are working now to extend this work in order to capture
other interesting features of the speech signal, including for instance
phonemes and prosody information.
… <#m_-6311391848662784978_>
On Mon, Dec 24, 2018 at 6:39 AM Weihao Li @.***> wrote: Hi, I'm
reading your paper and curious about the experiments' results. Have you
tried to add the to other SOTA networks such as ResNet or SENet et al. How
does it perform? Can I consider the is a general way to improve the CNN's
performance dealing with time series? Looking forward to your reply.
Thanks~ — You are receiving this because you commented. Reply to this email
directly, view it on GitHub <#11 (comment)
https://github.com/mravanelli/SincNet/issues/11#issuecomment-449723459>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1uvIn3MvlykRRTvRRmtK-XHabjYDks5u8LzlgaJpZM4ZRx1K
.
Thanks for your quick reply.
I understand the sinc-based filters can capture the featrue from raw data
with better interpretable. And it got better classification performance on
TIMIT and LibriSpeech. But I'm not sure if it is universal for other time
series classification problem when added to various neural networks. (i.e,
vanilla GRU vs vanilla GRU with sinc-filter). Do you have any verification
results?
Sorry for my previous question decription that when I use "<>" symbol to
quote the "sinc" function, the word missed. I've edited my question.
Thanks again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/11#issuecomment-449790208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1qHnKTxzqwMvqfKbC8FBcLXWcSbZks5u8Y9KgaJpZM4ZRx1K
.

@mravanelli Thank you, I may try it.
Merry Christmas~

Sure,
please keep me updated!
Best,
Mirco
On Wed, Dec 26, 2018 at 10:33 AM Weihao Li<EMAIL_ADDRESS>wrote:

@mravanelli https://github.com/mravanelli Thank you, I may try it.
Merry Christmas~
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/11#issuecomment-449982390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1nuzrOVKX11_OTdKk5LHPYXCe1Njks5u85bUgaJpZM4ZRx1K
.

Hi, thank you very much for the interest into my last paper on unsupervised learning with mutual information (https://arxiv.org/abs/1812.00271). You are right: (z_1,z_2) contains speech representations from the same speaker (i.e., is a sample from the joint distribution), while (z_1,z_rnd) contains two speech representations from different speakers (i.e., is a sample from the product of marginal distributions).
…
On Thu, Dec 13, 2018 at 3:49 PM zx @.***> wrote: Hello, I've reading your paper and I'm a little curious about the calculation of mutual infomation. when transfer the MI to KL based method which contains a joint distribution and two marginal production. https://camo.githubusercontent.com/e62bc599836f741efd45c0c5d1f547c7dd5a6c89/687474703a2f2f63686172742e676f6f676c65617069732e636f6d2f63686172743f6368743d74782663686c3d5c4c61726765205c6d61746874747b4d497d287a5f312c7a5f3229203d205c6d61746874747b445f4b5f4c7d2870287a5f312c7a5f32297c7c70287a5f312970287a5f322929 but how to understand when we train the network, we sample (z1,z2)as the joint distribution, and sample (z1,zrand) as the other? what's the true joint distribution and two marginal distribution?Thanks. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#11>, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGs1u5hwfa8wIkH1GIKjax1Ix5H6spVks5u4mjqgaJpZM4ZRx1K .

Thanks for your work. It's really helpful for us to understand the framework. I just wonder where I can find the implementation of this paper. You mentioned you released the code in the Pytorch-Kaldi toolkit. But I don't find it. Thank you.


Remove the previous language limitations and database name length

Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)

@raghuke : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Thanks @raghuke for taking the time to make this edit. However, since I already have an active pull request in the private repo on the same article, trying to merge them both will cause merge conflicts. So I'm going to close this pull request, and I'll incorporate the same changes in the private.

Reference SCCMDocs-pr PR 3076


Normalization and preprocessing

Hi, Thank you for releasing your codes.
May I ask several questions?

Based on my understanding, you crop the SIDD dataset into 512 * 512 patches with 128 overlappings. So if one patch is [100:100+512, 100:100+512],  then the next patch will be [100:612, 100+512-128: 100+512-128+512].
The input tensor is the cropped patch, a 120 * 120 tensor will be generated by cropping the patch. So the actual input tensor will be 120 * 120
How do you normalise your input data? I can see somewhere there is a function called normalize(...) in denoise_dataset.py but where this function is called?  It uses the std and mean to normalize data, how the std and mean are generated?

Thank you for your time!

Hi, RuoyuGuo.
Thanks for your interest to my work.
To the first and second questions, Yes. As your thought, we randomly cropped 120x120 patches during training. But instead of loading full SIDD image for cropping training patches, we firstly prepared the training dataset by cropping 512x512 with 128 overlapping for more faster loading. And your understanding for this preparing step is right.
To the third question, we did NOT use normalization for images. Actually, we tested on both using/not using normalization of images, but we cannot find big difference. That normalize(...) is a deprecated function which is does not used in this project.
Sorry for your confusing due to remaining functions.
Thank you!

Thank you for your reply! Your answers definitely solved my problems. May I have the last question? So in your experiments, the pixel intensity of non-normalized images ranges from 0 to 255. Is this correct?

Yes, the input/output image have a pixel range of [0, 255]

Again, thank you! A very amazing study on denoising!


What is the Android permission GET_ACCOUNTS used for?

Hi, with Unity and with the latest version of Android I noticed that GET_ACCOUNTS will ask the user to allow access to their contacts. I was wondering what you use this permission for so I can see if it is possible to remove it, as I only use the Cognito Sync service.
Thanks.

Which SDK are you using?

.net SDK for Unity
From: PavelSafronov
Sent: 10 March 2017 23:08
To: aws/aws-sdk-net
Cc: Alexander Taylor; Author
Subject: Re: [aws/aws-sdk-net] What is the Android permission GET_ACCOUNTSused for? (#577)
Which SDK are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

are these permissions getting added when you try to export it as Android project?
The SDK doesn't require any permissions except for ACCESS_NETWORK_STATE, and INTERNET.

Closing this issue, the SDK only requires ACCESS_NETWORK_STATE, and INTERNET permissions. The GET_ACCOUNTS permission may be added by Unity IDE. Feel free to reopen if you feel this is an SDK issue.

The unity packages add a manifest with GET_ACCOUNTS, I'm using Kinesis and S3


Could not find a version that satisfies the requirement tensorflow (from versions: none)

❯ python --version
Python 3.10.5
❯ pip3 install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
OS: Mac Ventura M1

are you using anaconda by any chance?
if so, please use pip instead of pip3.
If in case you arent using anaconda, follow these steps.

Go to the Pypi page (https://pypi.org/project/tensorflow/)
Go to download files
Download the one that matches your machine
type in pip3 install

Hope this helps,
Akul.

@rajutechie Could you confirm the TF version you are using? Please refer to this link to know more on the tested build configurations. Let us know if it helps?
Thank you!

@sushreebarsa I am trying to install TensorFlow version 2.11.0

@rajutechie Could you refer to this issue and try creating another virtual environment. Please let us know if it helps?
Thank you

@sushreebarsa Now I can install TensorFlow using the new conda env, but I am still facing the issue with tensorflow.keras module import

@rajutechie First install the TensorFlow backend, then Keras itself:
pip install tensorflow

pip install keras

Test the installation:
python

>>> import keras

The import should succeed without error if the installation is complete.
Please let us know if you still face this issue ? Thank you!

Thank you worked well.


Making the Invite Code into a URL with uProxy Prefixed

Also adding a button to directly access the link if desired.

@blueandgold to review as well.

Awesome, looks good to me. :+1:

Reviewed 2 of 3 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

ufo/user.py, line 17 [r2] (raw file):
I think it would look better with that last forwards lash dropped, your call completely though.

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 2 unresolved discussions.

ufo/user.py, line 17 [r2] (raw file):
Will that work without the forward slash? I'm checking here (https://github.com/uProxy/uproxy/blob/6f665fb90ef3884c3543b655d98e6e1507cd4f21/src/generic_ui/scripts/ui.ts#L558) at the parseInvite function, which seems to be based on last index of forward slash in the string (unless this needs to be updated as well, which is fine if so). I am fine with either and happy to change it, just want to make sure it matches and works as intended.

Comments from the review on Reviewable.io


Feat: ConversationTokenBufferMemory

Add support for ConversationBufferWindowMemory.  Uses token length to limit the buffer size.
Issue related #26
Dependencies: None
Maintainer responsibilities:
@davidmigloz
I have some doubts about the API of removeOldestMessage. It could be removeAt and handle it as Dart does. I prefer this way as it maintains the same syntax of other methods.

Merged! Thank you very much for your work @mauricepoirrier 🙌

Thanks for the improvements !


Allow md-button-toggle color to be easily overwritten

fix(md-toggle-button):
md-toggle-button color can be set to non-default values. Tested by adding a style="color:red" to a toggle-button in the demo app.

LGTM


Add "default_retention_policy" and "retention_policy" options

These options enable retention_policy to be specified for the points.

@moriyoshi I merged your previous PR and it causes conflict. Could you rebase the patch?

Hey @moriyoshi, it'd be really great to have this present in the plugin. Are you able to handle the conflicts on this branch?

Sorry for the late reply.  I've just got a time to handle this. Take a look at this soonish.

Ok, I finally managed to rebase the branch.

I will check this patch today.

Could you take a look at this again when you have time?  Thanks.

Thanks!

Released v0.2.7.


Italian language

Thanks for contribution! I'll add few fixes to other pages and update website later today.


Temporal Coverage doesn't allow for year only or year month only date ranges

In previous implementations of the IPT I could select a Temporal Coverage that was year only. For instance "1910 - 2018". It doesn't seem possible to include date ranges like this anymore with the addition of the calendar entry.

If I try to enter only a year the date defaults to the current date. I would like to be able to type in a date range using ISO format which can be year only or year-month.

Thank you for reporting this @albenson-usgs
We'll fix this


feat!: wasm-dpp-integration

Issue being fixed or feature implemented

Backport of https://github.com/dashpay/platform/pull/848
What was done?

Backported https://github.com/dashpay/platform/pull/848
Fixed bug with json! wrapper in where query for indices validation
Added StateTransitionExecutionContext to validateBasic calls in SDK
Removed js-drive and rs-drive-nodejs workflows from pull request CI

How Has This Been Tested?

Ensured that network starts in Run platform test suite workflow
Ensured that wasm-dpp is building properly for SDK, DAPI, Wallet-lib

Breaking Changes

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

What backend is sccache using here, does it depend on the GitHub Actions cache? Did you test this works on AWS self-hosted runners?

@strophy the change was cherry picked as is from v0.24.
No other CI related manipulations were made


Move DaModParams to base axon

Open questions:

Should we delete rl.Layer? It is totally empty now.
Earlier you said we should rename DAModParams to NeuroModParams, but it's unclear what is shared between ACh and DA. Can you clarify?

Codecov Report
Base: 45.51% // Head: 45.25% // Decreases project coverage by -0.25% :warning:

Coverage data is based on head (b75ae32) compared to base (610ba73).
Patch coverage: 49.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
- Coverage   45.51%   45.25%   -0.26%
==========================================
  Files          23       25       +2
  Lines        4979     5031      +52
==========================================
+ Hits         2266     2277      +11
- Misses       2563     2600      +37
- Partials      150      154       +4

Impacted Files
Coverage Δ

axon/axon.go
100.00% <ø> (ø)

axon/dars_string.go
0.00% <ø> (ø)

axon/networkbase.go
32.32% <ø> (ø)

axon/neuron.go
78.72% <ø> (ø)

examples/bench/bench.go
0.00% <0.00%> (ø)

axon/da.go
24.24% <24.24%> (ø)

axon/layer.go
45.12% <85.71%> (+0.22%)
:arrow_up:

axon/network.go
21.56% <100.00%> (-0.25%)
:arrow_down:

axon/prjn.go
56.00% <100.00%> (-0.11%)
:arrow_down:

axon/threads.go
73.68% <100.00%> (-0.39%)
:arrow_down:

... and 3 more

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.

Yeah rl.Layer can be removed..
but you didn't grab the UnitVar* methods -- these are critical for GUI to make DA visible in NetView
We want to add ACh to the story -- this is not included in the existing code but as I've learned more about ACh and elaborated its role in the BOA model, the new story is that ACh is a timing variable saying when salient events happen (at time of CS, US) while DA is the usual signed RPE (reward prediction error).  So the net modulation is ACh * DA basically.
However, now that I see the DAR aspect of this, I realize that we need two different implementations -- the cortical and subcortical ones.  Cortex doesn't have a DAR (D1 vs. D2) specific modulation, and, accordingly, the effect of DA is likely more about learning rate (belonging functionally to the RLrate computation) rather than where it is in the rl / pvlv code...

Also, there are issues here in relation to the GPU code organization.  I'll start a general discussion thread to talk about this...

Ok, so to be clear: rl.Layer cannot be removed, and we need two different sets of modulation params.  It is probably easier for me to just edit this branch directly to impl the right thing..

Seems this might be made obsolete by the in-progress refactor so I'm closing for now. Can re-open if it's useful.


Fix outliers import

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

Coverage remained the same at 95.443% when pulling 468294e3e082e7ccd627278992e0fd7dc229f13b on develop into a7935852103f4e8cbef535f92f09e53c8aaa4e83 on master.


LightGBM GPU Python 3.7 CUDA 10.1 Windows boost 1.69 compilation error

Environment info
Operating System: Windows 10
CPU/GPU model: Interl Core i7-8700 3.2 Ghz/NVIDIA GeForce GTX 1060 6GB
C++/Python/R version: Python 3.71
LightGBM version or commit hash: 2.2.1
Error message

Reproducible examples
System variable PATH:

Steps to reproduce

Install Visual Studio 2017 with C++ packages
Install CUDA 10.1
Install MinGW 8.1
Unpack boost 1.69 in C:\boost and follow steps:
4.1 cd C:\boost\boost_1_69_0\tools\build
4.2 bootstrap.bat gcc
4.3 b2 install --prefix="C:\boost\boost-build" toolset=gcc
4.4 cd C:\boost\boost_1_69_0
4.5 b2 install --build_dir="C:\boost\boost-build" --prefix="C:\boost\boost-build" toolset=gcc --with=filesystem,system threading=multi --layout=system release -j 12 (I have 12 cores thats why last parameter is equal 12)
Then I get error above.
Can you please give me any suggestions?
I have read all guides related to lightgbm gpu version compilation include this:
https://lightgbm.readthedocs.io/en/latest/GPU-Windows.html
Tried to reinstall everything from start to end and still can't solve this problem...

@StrikerRUS hope it's enough information, waiting for you help, thanks.

@dishkakrauch Sure, let's try!

Install Visual Studio 2017 with C++ packages

Install MinGW 8.1

How would you like to use GPU version of LightGBM: with VS or MinGW?
Note: the first variant (Visual Studio) is recommended.

@StrikerRUS of course, I prefer VS.
p.s. sorry, I accidentally closed issue, but reopened it in a second.

OK. Then please download https://bintray.com/boostorg/release/boost-binaries/1.69.0#files/1.69.0/binaries (if not already) and unzip them into some folder (C:\boost, for example).

Please post screenshot  here of resulted folder structure of unzipped Boost - I'll adjust paths in next commands.

@StrikerRUS Done! I downloaded all files according to the link you sent before and unzipped file boost_1_69_0-bin-msvc-all-32-64.7z to folder boost_1_69_0.
Here is screenshot of all files in folder C:\boost

Waiting for your reply!

@dishkakrauch
Please try to run the following commands:
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
mkdir build
cd build
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DUSE_GPU=1 -DBOOST_ROOT=C:/boost/boost_1_69_0 -DBOOST_LIBRARYDIR=C:/boost/boost_1_69_0/lib64-msvc-14.1 ..
cmake --build . --target ALL_BUILD --config Release

@StrikerRUS Done!
It looks like everying went well!

What's next? Should I install LightGBM-gpu via conda or pip?

@dishkakrauch Good!
Now install Python package with this just precompiled dll.
cd ../python-package  # assuming you're in LightGBM/build folder now
python setup.py install --precompile

@StrikerRUS Done without errors!

@dishkakrauch Great!
Now check that you can use LightGBM GPU:
import lightgbm as lgb
from sklearn.datasets import load_boston

data = lgb.Dataset(*load_boston(True))
lgb.train({'device': 'gpu'}, data)

@StrikerRUS Thanks!
Holy Moly! It's working! Can you tell why didn't we use conda or pip install? How should I update LightGBM to the newest version in future?

@dishkakrauch No problem!
Рад, что смог помочь! :-)
Unfortunately, we do not maintain conda receipts. So you cannot install LightGBM via conda (at least official one, I'm not sure, but you can search conda-forge for unofficial one).
By the commands above you've installed the latest version of LightGBM from GitHub. You can repeat them in the future to update LightGBM. But again, don't forget to remove previous installation. I suppose you're using conda, so it's possible to do via pip uninstall lightgbm.
Speaking about pip, there is a delay between GitHub and latest PyPI files. Usually, it's about 2 months or more. Also, by default, pip install lightgbm will install ordinary CPU version. To install GPU version, in your case you should run the following command:
pip install lightgbm --install-option=--gpu --install-option="--boost-root=C:/boost/boost_1_69_0" --install-option="--boost-include-dir=C:/boost/boost_1_69_0/lib64-msvc-14.1"

https://github.com/Microsoft/LightGBM/tree/master/python-package#build-gpu-version
But please don't forget that it will not be the latest version!
In addition, you may want to know about that after we've successfully adjusted all paths, it's highly likely that the following command will do all job:
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM/python-package
python setup.py install --gpu --boost-root=C:/boost/boost_1_69_0 --boost-include-dir=C:/boost/boost_1_69_0/lib64-msvc-14.1

It will install latest GPU version from GitHub, just like you did today but with fewer commands.

@StrikerRUS Thanks for the details!
I understand now a bit more about GPU python libraries compilation.
Let me ask a few questions - why lightgbm lib is not in pip list?

And one more - is pip installation of lightgbm gpu version slower than building it from source like we did?
BTW, I installed xgboost like that too.
p.s. особенно приятно, что можно и по-русски))

@dishkakrauch

why lightgbm lib is not in pip list?

Hmmm... I have no idea. Can you try conda list? LightGBM should be there with pip channel.

And one more - is pip installation of lightgbm gpu version slower than building it from source like we did?

Speaking about GPU version, there is no difference. All actions will be the same under the hood - compilation from sources will be performed anyway. The difference will be only in code freshness: the latest from GitHub and 2 months+ from PyPI.
Fast installation via pip is possible only from wheel file in which precompiled dll is already placed, then (roughly) just copy-paste operation is performed. But we do not provide GPU wheels due to compatibility reasons. GPU version can be installed only from sources.
Why we can then install GPU version via pip? The thing is that any option after pip install package_name, like --gpu or --boost-root, forces pip to download not wheel file, but tar.gz archive with sources (without precompiled dll) and perform compilation from sources.
$> pip install lightgbm --install-option=--gpu
UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.

https://pypi.org/project/lightgbm/#files

@StrikerRUS thanks again for full explanation!
It's really strange cause I can't see lightgbm packge via conda list or pip list command in cmd, but it's available inside jupyter notebook cmd command...

@dishkakrauch Да не за что!
For LightGBM-not-listed error I got an idea: please provide the output of conda info --envs command. Maybe those lists are from different conda environments...

@StrikerRUS I have just base env...

@dishkakrauch Strange... Something is wrong with conda, definitely.
What does output conda info --envs inside notebook's cell?

@StrikerRUS same...

@StrikerRUS solved aftrer "conda install annaconda" command!
Thanks for following me from the start to the end step by step, now we can close the issue.
p.s. очень помогли, спасибо!

Hm... Actually my python versions had been downgraded from 3.7.1 to 3.6.5.final.0 but I don't understad which package did that.
I built lightgbm from source, then xgboost form source and then installed everying related to tensorflow, keras e.t.c. but there weren't suggestions for python downgrading. Interesting...

@StrikerRUS finally I reinstalled Anaconda and all packages from scratch.
I can see LightGBM in conda and pip list right now and it's working on gpu.
Thanks again, now we can close the issue.
p.s. спасибо, не ожидал, что по open-source пакету может быть такой фидбэк; в итоге со всем разобрался!

@dishkakrauch I'm very glad to see that all your problems have been solved!

finally I reinstalled Anaconda and all packages from scratch.

Yeah, sometimes only reinstalling from scratch can help 😃 .

Actually my python version had been downgraded from 3.7.1 to 3.6.5.final.0 but I don't understad which package did that.

It wasn't LightGBM. That's for sure. We support Python 3.7 and 3.6. Moreover, we do not restrict Python version by python_requires option, allowing users to try to build under any version they want.
Не за что! Здорово, что всё в итоге получилось) А фидбэк везде по-разному: где-то скинут ссыль на мануал и иди кури его (хорошо, если ещё главу подскажут); а вот, например, в соседнем проекте чувак предлагает даже созвониться по скайпу, чтобы помочь устранить проблему. И такое бывает)
Удачи на Каггле (вижу, что ноутбук из той папки)!


Review: rotate

Somehow, we never implemented the rotate() function, and nobody noticed.  Now works, implemented in stdosl.h, added test to testsuite/vector (which I also modified to take away the "varying" tests, which are meaningless now that we don't have the interpreter any more).

LGTM

Merged.