Autocrafting improvements

Part 1, Processing.
It rewrites processing to iterate over each pattern instead of each processing step.
This makes requests that have many of the same items much faster.
Before: https://sparkprofiler.github.io/#GWZTTP4QkF
After: https://sparkprofiler.github.io/#6YRrjGQjZH
Things that this will change for users:

Processing tasks that still have items that are in processing will no longer display "Cannot Insert" for items that have not been inserted yet
processings in locked/no machine/cannot insert state will block all crafters with the same pattern (this is fixable but not a priority)
Insertion Speed is much lower. This is because getMaximumSuccessfulcraftingUpdates() is being ignored. I'll leave the decision up to you whether you want to call insertion X times or just insert X * items at once. Implemented X times as performance seems fine.

I tested in a world with a fairly big auto crafting setup and it worked just fine, but considering the number of bugs I produced and fixed while making this and the number of times I had to redo parts of it, bugs are (likely) still present.
Also not happy with many of the method names. Taking suggestions.
Surprisingly enough the current Implementation works fine with 1.6.14 crafting tasks. They just stop and can be canceled.
I expect this will change once I get to Part 2 & 3 Crafting and Calculation.

Alright, Part 2 is done.
Same as part 1 just for crafting.
Crafting 2 6xCobble + 64 ultimate induction cells (with max size reborn storage crafter) and watching in the crafting monitor:  https://sparkprofiler.github.io/#2CyaHsCMCR
I've also fixed 3 bugs from the previous commit and implemented inserting X times. This should bring insertion Speed back up what it was before.
Calculation might be trivial but I want to understand how it works before actually implementing anything.

Alright, done (finally).
This adjusts the crafting calculation to work with quantities so that multiple crafts can be created at once.
That, in turn, makes adding all ingredients together possible. For Chests, for example, it will now request 8 Wood instead of requesting wood 8 times.
There are faster ways to count the number of occurrences in a set than what I implemented, but I failed at making them work in this case...
Things like crafting octuple compressed cobble now totally possible:
https://gfycat.com/FarawayCloseArmadillo
Although crafting more than 49 ends up in an Integer overflow...
Also fixed some math from previous commits.
I still need to do more testing to confirm everything working. But I've not found anything broken so far.

Very interesting! This won't be merged soon though. I'm going to take my time to take a GOOD look at this code, to make sure it doesn't break anything and I understand it myself.
(I'm avoiding making the same mistake as I did last time - merging autocrafting changes without really understanding what changed. This lead to me not being able to maintain the code myself anymore and having to rewrite it all. So that's why I am going to take my time investigating this.)

I was hoping you would. I am sure there are some bugs left.
You should already be familiar with the majority of the code as much of it is the same or close to the same as before.

@raoulvdberge  Can you find out when you can tackle this problem? Thanks for the answer!

There is still a major part (oredict) missing. I have it mostly figured out but not bugfree just yet.

Alright finally got oredict working.
Shoot me a message on discord for any questions about my (questionable) decisions. (Or ask here I guess..)

I'll look into this for the release after the next one Darkere, gonna first do some quick/easy fixes.

This will not get merged for 1.12 as 1.12 will only get smaller fixes at this point.
#2329 is a small change that fixes the most significant problem without reworking the entire crafting logic and may be merged for 1.12 in the future.
The changes from this Pull Request will get another rework and may be merged for 1.14.

I never said I wasn't going to merge this for 1.12, I just need some time for after 1.14.

Summary of Changes:
Sorting of both the Crafting Monitor Display and the Crafting preview
implemented insert order for Patterns #1937
Due to this change, these to Recipes are no longer the same:

In fact, the right recipe will not work at all as the machine itself only has 2 slots and there will be no attempt at inserting a combined set.
improved Performance for:

Crafting Calculation
craft updating
NBT read and write
item Importing while crafting tasks are running

This contains API changes. Pretty sure no one was using that part of the API but...

Due to the size of this PR this won't be pulled for mc 1.14.


About i3d yml file

Hi
When I executed conda env create -f conda_env_i3d.yml, the following error occurred.
`(base) D:\I3D_VGGish>conda env create -f conda_env_i3d.yml
Channels:

pytorch
conda-forge
defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

zstd==1.3.7=h0b5b093_0
zlib==1.2.11=h7b6447c_3
xz==5.2.5=h7b6447c_0
x264==1!152.20180806=h7b6447c_0
tk==8.6.8=hbc83047_0
sqlite==3.31.1=h62c20be_1
readline==8.0=h7b6447c_0
pytorch==1.2.0=cuda100py37h938c94c_0
python==3.7.7=hcff3b4d_5
pillow==6.1.0=py37h34e0f95_0
openssl==1.1.1g=h7b6447c_0
openh264==1.8.0=hd408876_0
numpy-base==1.15.4=py37hde5b4d6_0
numpy==1.15.4=py37h7e9f1db_0
ninja==1.9.0=py37hfd86e86_0
nettle==3.4.1=hbb512f6_0
ncurses==6.2=he6710b0_1
nccl==1.3.5=cuda10.0_0
mkl_random==1.1.1=py37h0573a6f_0
mkl_fft==1.0.15=py37ha843d7b_0
mkl-service==2.3.0=py37he904b0f_0
mkl==2020.1=217
libtiff==4.1.0=h2733197_0
libstdcxx-ng==9.1.0=hdf63c60_0
libpng==1.6.37=hbc83047_0
libiconv==1.15=h63c8f33_5
libgfortran-ng==7.3.0=hdf63c60_0
libgcc-ng==9.1.0=hdf63c60_0
libffi==3.3=he6710b0_1
libedit==3.1.20181209=hc058e9b_0
ld_impl_linux-64==2.33.1=h53a641e_7
lame==3.100=h7b6447c_0
jpeg==9b=h024ee3a_2
intel-openmp==2020.1=217
hdf5==1.10.2=hba1933b_1
h5py==2.8.0=py37h989c5e5_3
gnutls==3.6.5=h71b1129_1002
gmp==6.1.2=h6c8ec71_1
freetype==2.9.1=h8a8886c_1
ffmpeg==4.1.3=h167e202_0
fastrlock==0.4=py37he6710b0_0
cupy==5.1.0=py37hc0ce245_0
cffi==1.14.0=py37he30daa8_1
bzip2==1.0.8=h7b6447c_0

Current channels:

https://conda.anaconda.org/pytorch/win-64
https://conda.anaconda.org/conda-forge/win-64
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/msys2/win-64

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.`
How do I solve this problem?

Hey, sorry about that. You seem to be on windows.
try following this guide: https://v-iashin.github.io/video_features/meta/install_conda/

ねえ、ごめんなさい。あなたは窓にいるようです。
このガイドに従ってみてください: https://v-iashin.github.io/video_features/meta/install_conda/

I tried it, but I get the same error.
`(video_features) D:\I3D_VGGish>conda env create -f conda_env_i3d.yml
Channels:

pytorch
conda-forge
defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

zstd==1.3.7=h0b5b093_0
zlib==1.2.11=h7b6447c_3
xz==5.2.5=h7b6447c_0
x264==1!152.20180806=h7b6447c_0
tk==8.6.8=hbc83047_0
sqlite==3.31.1=h62c20be_1
readline==8.0=h7b6447c_0
pytorch==1.2.0=cuda100py37h938c94c_0
python==3.7.7=hcff3b4d_5
pillow==6.1.0=py37h34e0f95_0
openssl==1.1.1g=h7b6447c_0
openh264==1.8.0=hd408876_0
numpy-base==1.15.4=py37hde5b4d6_0
numpy==1.15.4=py37h7e9f1db_0
ninja==1.9.0=py37hfd86e86_0
nettle==3.4.1=hbb512f6_0
ncurses==6.2=he6710b0_1
nccl==1.3.5=cuda10.0_0
mkl_random==1.1.1=py37h0573a6f_0
mkl_fft==1.0.15=py37ha843d7b_0
mkl-service==2.3.0=py37he904b0f_0
mkl==2020.1=217
libtiff==4.1.0=h2733197_0
libstdcxx-ng==9.1.0=hdf63c60_0
libpng==1.6.37=hbc83047_0
libiconv==1.15=h63c8f33_5
libgfortran-ng==7.3.0=hdf63c60_0
libgcc-ng==9.1.0=hdf63c60_0
libffi==3.3=he6710b0_1
libedit==3.1.20181209=hc058e9b_0
ld_impl_linux-64==2.33.1=h53a641e_7
lame==3.100=h7b6447c_0
jpeg==9b=h024ee3a_2
intel-openmp==2020.1=217
hdf5==1.10.2=hba1933b_1
h5py==2.8.0=py37h989c5e5_3
gnutls==3.6.5=h71b1129_1002
gmp==6.1.2=h6c8ec71_1
freetype==2.9.1=h8a8886c_1
ffmpeg==4.1.3=h167e202_0
fastrlock==0.4=py37he6710b0_0
cupy==5.1.0=py37hc0ce245_0
cffi==1.14.0=py37he30daa8_1
bzip2==1.0.8=h7b6447c_0

Current channels:

https://conda.anaconda.org/pytorch/win-64
https://conda.anaconda.org/conda-forge/win-64
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/msys2/win-64

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.`
I ran this command in the video_features virtual environment.
https://v-iashin.github.io/video_features/meta/install_conda/

I'll try inserting it manually.


Items visible before the animation

Hi everyone.
I am using the animate.css plugin in my project, except that something strange is going on before the animation starts when I go to the animated section, before the animation starts, you can see the visible element and then disappear and perform the animation. 'animation.
How can I make the element not visible before the animation?
Reading the animate.css file I see that the animated class always has opacity in 1 so I guess the problem is this and so it's a bug?
Then again if I try to put an initial class with "opacity: 0" to keep it hidden initially, after the animation ends the element disappears even if animated is in 1, another bug?

Please let me see an example of a code that showing it. Then I could try to help and maybe we will create a bugfix.

Suggestions for your problem:

JS animationstart and animationend Events
JS CSS and DOM manipulating like display: none, display: block

Closing this as it's unrelated and got no feedback from @massimilianocom .


OneScript 1.8.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

https://github.com/EvilBeaver/OneScript  - here we have a link to oscript.io site
https://oscript.io/dev/sources - here we have a link to the github page
oscript is a shortcut for OneScript
does this suit as an evidence ?

@wingetbot waivers Add Validation-Domain

/azp run

@wingetbot waivers Add Validation-Domain

@wingetbot waivers Add Validation-Domain

@wingetbot run


Delivery options not showing label text

After updating to Woocommerce 3.5.6 and Myparcel 3.1.3 the delivery options text labels won't show anymore.. See screenshots. I already tried disabling and enabling the delivery options but no luck. Also changing the text won't help.
Please help because now we have to disable the delivery options.

Hi @volmerf,
Do you have a caching plugin that cached the page and / or the settings?

Hey Richard,
We have the w3 total cache plugin but of course we clear the whole cache after upgrading our plugins.
Met vriendelijke groet / Best regards,
Frank
Mediablox
Parallelweg 20 | 3959 BC Overberg
T: 0343 - 410999 | Fax:<PHONE_NUMBER>
info<EMAIL_ADDRESS>| http://www.mediablox.nl
On Mar 11, 2019, wk 11, at 14:39, Richard Perdaan <notifications<EMAIL_ADDRESS>wrote:
Hi @volmerfhttps://github.com/volmerf,
Do you have a caching plugin that cached the page and / or the settings?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/myparcelnl/woocommerce/issues/222#issuecomment-471541908, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEtgBSYB4PUqeP1VoySHVGKVg0w_cWTaks5vVlyigaJpZM4bl9Jt.

Any update on this @RichardPerdaan?

Hi @volmerf ,
Unfortunately I have no idea why the titles are not visible. If you send an email to<EMAIL_ADDRESS>then can I look at your website.

Hi @volmerf
Is this problem already solved and can I close the issue?

Hi Richard,
Yes, sorry. This was probably caused due to a problem with our Succuri Firewall caching.

Hi @volmerf,
Good to hear that the problem has been solved, then I will close the issue


This doesn't work on Linux

Even the sample above doesn't return the expected output. As far as I can tell there's no way to pass variables to a Bash script.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 36fff5ec-d766-b589-39ff-9c69ab26dd5b
Version Independent ID: 12deb045-2511-b5bf-9e41-0d223bef516b
Content: Shell Script - Azure Pipelines & TFS
Content Source: docs/pipelines/tasks/utility/shell-script.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

First of all, the documentation needs to be updated. YAML is not even an option for release pipeline (the feature is still not GA in CD)
I second to chaholl. I stumbled upon the same issue. The custom environment Variable (not the system, build or release variables) are not accessible if you use .sh file, however, if you put the same command in inline script text box and access the custom environment variables, it works.
Is there a way I can access the custom environment variables in .sh file using "Bash Script" task for my release pipeline (CD)? Am I missing something here?

Thanks for the feedback, both of you.
@chaholl I can't repro the problem you're having. In both the designer and YAML, when I set an environment variable, the script is able to access it. Can you be more specific about what didn't work?
The script:

The designer definition:

The log:

@heruwala the example works under Build (even from the designer, even on Linux, even as a .sh file). A few things I noted when testing:

Some of the system variables are different under RM, and we should have a universal example there instead.
Bash on Linux allows only LF line endings and expects the script to be chmod +x. Adding the script via the web editor doesn't set these things properly, but it fails with a reasonably obvious error (there's a \r at the end of some variable names). We can mention that.

If you had any other problem, please file an issue with details and I'll get it sorted out.


Ci/create GitHub actions workflow

@MaxJPRey I've added coverage reporting to my PR for switching to GitHub Actions for PyDPF-Post. Is there everything needed?

Once the PR is validated for merging I'll have to change the settings of the repo, which right now requires pyansys.pydpf-post (Windows) to have run, which will be obsolete and replaced by the equivalent GitHub workflow.


Improve ROC-AUC metrics

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (28518b6) to head (6c3a409).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #300   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           98        98
  Lines         2356      2355    -1
  Branches       214       213    -1
=========================================
- Hits          2356      2355    -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


proxy.golang.org: stop serving<EMAIL_ADDRESS>when the branch is deleted

I just had a very confusing experience using modules for a solid hour, which was all caused because one of the tools I use renamed their HEAD branch from master to main and I hadn't noticed.
I was happily running go install github.com/kyleconroy/sqlc/cmd/sqlc@master, and it was working. I ran into some weird behaviors which should have been fixed in the latest development version, which was odd. I later found out via go version -m $(which sqlc) that my version was half a year old, even though HEAD had a commit just days ago.
Ah! The HEAD branch is now main. But why is @master still happily giving me an old version, when upstream deleted their branch? Surely, upstream deleting their old HEAD branch is as much as they should do to make things right.
Turns out that the problem is that proxy.golang.org is remembering the last master version it saw, presumably forever:
$ go list -m github.com/kyleconroy/sqlc@master
github.com/kyleconroy/sqlc v1.8.1-0.20210503000056-ec35f225dfed
$ go list -m github.com/kyleconroy/sqlc@main
github.com/kyleconroy/sqlc v1.10.1-0.20211019050806-6ee39cb62526
$ GOPROXY=direct go list -m github.com/kyleconroy/sqlc@master
go: github.com/kyleconroy/sqlc@master: invalid version: unknown revision master
$ GOPROXY=direct go list -m github.com/kyleconroy/sqlc@main
github.com/kyleconroy/sqlc v1.10.1-0.20211019050806-6ee39cb62526

You can see it frozen in time at<EMAIL_ADDRESS>I strongly believe the proxy server should not do this. I realise that tagged versions are effectively treated as read-only once pushed by the proxy and index servers, but I understand that branches aren't meant to work that way. If a branch vanishes from upstream, I think its .info file should reflect that, just like<EMAIL_ADDRESS>gives invalid version: unknown revision missing.
This issue is slightly similar to https://github.com/golang/go/issues/39007, but also different - in my case, the module is healthy, but just not at that branch anymore.

This argument could be made if the repository is deleted as well.

Coming to this over two years later, but: the proxy should continue serving semver versions practically forever, unless there's something serious like a takedown notice or licensing issue. Otherwise, one pillar of reproducible builds falls down. I still think that branch names do not fall under that category, because they're not used by MVS nor commands like go build on a tidied module, as those don't need to resolve branches. It's only direct calls by humans or scripts like go install pkg@master which are affected.
I personally don't mind whether this detection of "branch deleted" happens in the proxy or in cmd/go. Intuitively, I would assume that the proxy can do it more efficiently, as it already needs to keep track of new versions published by the module, as well as cache some branch names. On the other hand, an implementation in cmd/go means that this would be solved for any proxy and not just proxy.golang.org.


[1pt] Add test for models

Add tests for user model
Add tests for reservation model
Add tests for houses model.

Implemented in PR https://github.com/Reem-lab/house-booking-back-end/pull/37


Fix type in react-widow-context API reference

Overview
Link has 'apai-reference', should be 'api-reference.

Work for this issue will begin begin on branch work-liquid-labs/dmd-readme-api/7.


Styles not loading in production

After setting RAILS_ENV and RACK_ENV to production, styles no longer load. Running rails assets:precompile does not help.

I was just able to run this locally and it worked as expected. @jamesiarmes could you confirm if this failed locally for you or is the issue only in the AWS environment?

@ptrikutam I've tested this locally on my Mac, locally using Docker, and on AWS. All three produce the result above.

Hey @jamesiarmes, I was able to reproduce this locally. It seems to be due to one of the default production settings defined in Rails.
This PR should fix the problem:
https://github.com/codeforamerica/classifyr/pull/93
I've also removed the unused application.css file since it wasn't getting compiled properly and was trying to load imports as external files.
Let me know if you run into any issues!


Update serialization Note

Added json and pickle notes aswell

It would be great if u add  examples aswell....

Sure Piyush


ClassList not applied when using together with class in nested components or when class comes later

Describe the bug
const D: Component<JSX.IntrinsicElements['div']> = (props) => (

    {JSON.stringify(props.classList)}

);

const C = () => <D classList={{ [styles.bar]: true }} />;

const E = () =>
E

const F = () =>
F

const App: Component = () => {
  return (

      <C />
      <E />
      <F />

  );
};

[styles.bar] should be applied to all 3 components. However only E works.
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-h4zylc?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
Just open the link.
Expected behavior
In the given link, the text with yellow background should all be colored red indicating class [styles.bar] being applied.
Screenshots or Videos
No response
Platform

OS: Any
Browser: Any
Version: 1.6.0

Additional context
No response

I think it is recommended to avoid mixing class and classList.  From the docs...
"It's also possible, but dangerous, to mix class and classList. The main safe situation is when class is set to a static string (or nothing), and classList is reactive. (class could also be set to a static computed value as in class={baseClass()}, but then it should appear before any classList pseudo-attributes.) If both class and classList are reactive, you can get unexpected behavior: when the class value changes, Solid sets the entire class attribute, so will overwrite any toggles made by classList."

I can imagine how things can be ruined with both attributes reactive, but this is static and compile time, it is just classList comes before class.
As it says:

The main safe situation is when class is set to a static string (or nothing), and classList is reactive. (class could also be set to a static computed value as in class={baseClass()}, but then it should appear before any classList pseudo-attributes.)

Class is indeed a static string in this case, if we look at build artifacts. It is not like "class is static and classList is dynamic", because both is static, but it is also not the case that "classList should become later if class is computed", because it is not. Leaving this issue like this could make it uncomfortable to use solid with module CSS, even when everything is static.
Or maybe let's just change the type definition to ensure that class and classList can not be mixed, so that typescript will tell.

Or maybe let's just change the type definition to ensure that class and classList can not be mixed, so that typescript will tell.

Spreads make that tricky I think.

I would always avoid things like "class before classList solves F", its behavior should not rely on which one comes first.
I will avoid class and always use classList in my future projects.

Looks related.  Moving the spread to be first gets the initial classes mixed properly - but as soon as you have something reactive, like toggling disabled in your case, the mix is lost and the latest update wins...
https://playground.solidjs.com/anonymous/7ebcdf9f-baa6-42eb-b468-18dcda40cd88


311 - Integrate breadcrumbs with owner information

What this PR does / why we need it:
Display the actual breadcrumb routes from the new owner info recently added to the Dataverse API
This issue depends on:

https://github.com/IQSS/dataverse-client-javascript/issues/122
https://github.com/IQSS/dataverse-client-javascript/issues/121

Which issue(s) this PR closes:

Closes #311

Special notes for your reviewer:
I changed the Home page to be the collection page since now we're able to display datasets from collections different than the root one.
The e2e tests are failing because the GitHub Action is using an unstable image of Dataverse instead of the image containing the necessary Dataverse changes. The Dataverse branch should be merged prior to this one
Suggestions on how to test this:
Step 1: Run the development environment

Run npm I
cd packages/design-system && npm run build
cd ../../
Check that you have a  .env file such as the .env.example, with the VITE_DATAVERSE_BACKEND_URL=http://localhost:8000 variable
cd dev-env
./run-env.sh unstable
To check the environment go to http://localhost:8000 and check your local dataverse installation

Step 2: Test breadcrumbs

Go to http://localhost:8000
Login as admin using username: dataverseAdmin and password: admin1
Create a new Dataverse collection
Create a new Dataset
Upload a file to the dataset
Go to http://localhost:8000/spa and select your dataset in the list
From the list of files in the Dataset page select your file to go to the File page
Now from the File page check the breadcrumbs are being displayed correctly and click the corresponding dataset breadcrumb
Now you should be in the Dataset Page. Look at the breadcrumbs and click the collection link
Now you should be in the Collection view. Now click on the Root breadcrumb to go to the initial page

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
Add breadcrumbs navigation to the SPA
Additional documentation:

coverage: 97.084% (-0.4%) from 97.483%
when pulling 066dd2801122d9ebf0fe8badb4847f9d888bac05 on feature/311-integrate-breadcrumbs-with-owner-information
into 8a0ee10b014cc3d9cc76e71ff6adc2f9328dead4 on develop.

@MellyGray Can you please resolve the conflicts?

But the collection page for "Dataverse 2" is missing "Dataverse 1" as parent. Also, it is showing the display name as "Dataverse-2", including a dash in the name:

We haven't started working in the Collection page so there's no use case in js-dataverse to get the collection, that's why the title and the breadcrumbs are not coming from the API. We can create some issues to start working on the Collection page
I added the fix for the enum switch, thanks!


How to get the LLVM IR with your library exactly? the .bc  file? Is that a real LLVM IR that I can use llvm utils like llvm-dis on that? If yes, does it produce debug info?

The tool is a hack around NVIDIA CUDA compiler by means of dynamic code injection. It makes LLVM IR Module pointer available to the injector function. The Module could be further dumped by its pointer either in binary or text format, or modified on the fly.
I suppose, debug info should be inlined in LLVM IR in form of metadata nodes. At least, this is how it was done by the mainline LLVM at that time.

So...I need to write the dump function by myself given the module pointer? How do I dump it to the regular LLVM IR bitcode format?
Thanks

It's all shown here:
https://github.com/apc-llc/nvcc-llvm-ir#unoptimized-llvm-ir-retrieval
In order to get the module pointer, you need to wrap around the libNVVM
function called inside the CUDA compiler.
2017-09-06 6:49 GMT+03:00 hzhang86<EMAIL_ADDRESS>
So...I need to write the dump function by myself given the module pointer?
How do I dump it to the regular LLVM IR bitcode format?
Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/apc-llc/nvcc-llvm-ir/issues/2#issuecomment-327366713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFaPqn2IblmSYjCfMJ5cx8V904gXGbvfks5sfhZAgaJpZM4PNo_e
.

The same code is in cicc.cpp, so all I need to do is to uncomment the "outs()<<"  line in modifyModule function?
How to "wrap around the libNVVM function called inside the CUDA compiler" ? sorry I'm totally new to CUDA
Thanks

Yes you can uncomment this line in cicc.cpp to see the textual IR code of
your CUDA source.
The concept of wrapping has nothing to do with CUDA. It's a standard
library trick. Almost every app uses system libraries, right? Those
libraries provide C/C++ runtime functions - printf, memory allocation, etc
etc. If the app links to the library dynamically (such library is called
shared), the app and the library are independent runtime components. This
yields that you can substitute the original shared library libfoo1.so used
by app with your own libfoo2.so and implement there functions with the same
signature as in the original libfoo1.so. From the app's point of view, the
change will be unnoticed. More specifically, if an app uses malloc()
function, you can implement your own malloc() in the separate shared
library and load it before the standard one (called library preloading).
Then, inside you own malloc() you can do whatever you need, besides calling
the original system malloc() function. This is called wrapping malloc()
function call.
2017-09-06 16:28 GMT+03:00 hzhang86<EMAIL_ADDRESS>
The same code is in cicc.cpp, so all I need to do is to uncomment the
"outs()<<" line in modifyModule function?
How to "wrap around the libNVVM function called inside the CUDA compiler"
? sorry I'm totally new to CUDA
Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/apc-llc/nvcc-llvm-ir/issues/2#issuecomment-327483105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFaPqtf_yb4-o1O2JjT_H5Dy317CY7QTks5sfp4QgaJpZM4PNo_e
.


expiry param make no sense

Since expiry time is already set in the Rate Limit, why should we include it another time for the redis?
I guess that if it's not possible due to the express-rate-limit module, we can suggest modification of the implementation for the store driver on the express-rate-limit

Totally agree, it is very confusing

I believe if it's not simple to fix, the expiracy param should at least be in milliseconds to be in the same unit as the parameter windowMs from express-rate-limite and perhaps use the same name? But regardless of changes, this should be mentioned in the docs. The comment in the README file
max: 100, // limit each IP to 100 requests per windowMs

makes it even more confusing

Perfectly understandable!
I'm a bit time limited, so I'd recommend opening a PR with the suggested change to the store driver https://github.com/nfriedly/express-rate-limit so that I can adapt the store to support it!


Can't figure out how to properly move notifications to the right corner

While trying to move notifications to top-right corner, I end up with this config
// ...
    min_window_width: 400,
    layout_blocks: [
        (
            name: "root",
            parent: "",
            hook: Hook(parent_anchor: TR, self_anchor: TR),
            offset: Vec2(x: -7.0, y: 30.0),
            // https://github.com/Toqozz/wired-notify/wiki/NotificationBlock
            params: NotificationBlock((
                monitor: 0,
                border_width: 1.0,
                border_rounding: 0.0,
                //background_color: Color(r: 0.15686, g: 0.15686, b: 0.15686, a: 1.0),
                background_color: Color(hex: "#0C0E15"),
                border_color: Color(hex: "#282828"),
                border_color_low: Color(hex: "#282828"),
                border_color_critical: Color(hex: "#fb4934"),
                border_color_paused: Color(hex: "#fabd2f"),

                gap: Vec2(x: 0.0, y: 8.0),
                notification_hook: Hook(parent_anchor: BL, self_anchor: TL),
            )),
        ),
// ...

It's okay, but now longer notifications renders outside of screen, while there is shorter notifications above

And shorter notifications appears aligned to right side of longer notification

So how I configure anchors to achieve optimal behaviour?

Yeah, this seems to be a common issue.  See #3 .
Basically, you need to change notification_hook to hook correctly (probably BR, TR in your case).


ATO 207 run form validation  on form activation

Proposed changes:

Revert change here https://github.com/RasaHQ/rasa/pull/10295/files#r807244104 that removed running the form validation action on activation of the form (before the loop is active).
This would make #10913 obsolete since the 2.x mechanism for achieving the same thing would be returned.
Closes #11199
Resolves the issue where any extract_<slot_name> method in a FormValidationAction subclass only runs after a required_slot in the form has been set (i.e. after activation).

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Can we merge and release this soon? thanks.


PDF:  add space between section number and title in ToC

Source issue: https://github.com/metanorma/metanorma/issues/357
From PDF:

Log:
The contents of fo:block line 1 exceed the available area in the inline-progression direction by 4322 millipoints. (See position 49:180607)
The contents of fo:block line 1 exceed the available area in the inline-progression direction by 4322 millipoints. (See position 49:191913)
The contents of fo:block line 1 exceed the available area in the inline-progression direction by 4322 millipoints. (See position 49:192952)
The contents of fo:block line 1 exceed the available area in the inline-progression direction by 4322 millipoints. (See position 49:193979)

Fixed:


ESM build

Any chance we could get a an esm.js file for this?
Marked has one: https://www.npmjs.com/package/marked?activeTab=code but this doesn't https://www.npmjs.com/package/marked-highlight?activeTab=code

The src/index.js file is ESM it should work to use that file

Oh, ok, perfect.


TASK - Glossary

Description
Define a glossary for Taqueria.
Acceptance Criteria

[x] Create Notion page to draft glossary
[ ] Glossary documented and incorporated into Taqueria website content

Additional Context and Related Items
@mweichert has created an initial draft glossary which must be included.

Notion page will not be used.

Replaced by #347


Allow tables to be used in tests without providing explicit store argument

This is especially a problem for libraries that use tables - having to manually pass worldAddress in all custom lib methods is bad devex
Making systems specifically for tests is an option of course, but also rather inconvenient and unnecessary in many cases

One solution is to call tests with msg.sender equal to worldAddress (as if they're systems), and also startPrank(worldAddress) in tests to bypass AccessControl (as if whenever tests call world, it's like world calls itself, e.g. a root system).

Another solution would be to change how StoreSwitch detects store, for example instead of isStore have a method that actually returns storeAddress

Or we can double down on systems for tests, and not do this. I'm not entirely certain spoofing world in tests is the best idea

when we touch isStore for approach 2 we should also fix this one: https://github.com/latticexyz/mud/pull/540 (if we stick with a method, then just passing fixed amount of gas)


Write evergreen parser to embed whole documents

This will also allow for integrating a built evergreen directly with a closely-linked existing evergreen.

When this is done, we will be able to add document metadata to the knowledgebase as well, and query against that


Return secrets as outputs instead of values (no dist)

Issue #14: Environment variables vs outputs
Description of changes:
Secrets are now returned as action outputs. This results in the following improvements:

User side:

Less concern needed over which steps to separate in a different job to avoid access to environment variables
Full control over where the returned secrets are used

Codebase side:

No more need to clean up environment variable secrets, as the GitHub Actions toolkit will handle the outputs.

README.md, action.yml and code comments have been updated accordingly. Tests are passing.
If you prefer having the compiled files included in the PR, I have created a parallel PR (#36) containing the code changes and the built dist files.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Since I seem to consistently fail keeping my build files out, I'll close this PR. A re-build of the TS code is still possible on the other PR.


Zoxide not found in Wezterm run from /Applications/ in MacOS

Based on the issue detailed here in the FAQ the root Wezterm instance run from the Applications launcher on MacOS has only the sparse PATH from /etc/paths. This is fine for running wezterm, but insufficient for really running much else, including zoxide.
The simplest way to get around this, in my view, is to simple run against a users shell. Pull request forthcoming.

Awesome, that you noticed this bug!


HTML select is out of order in Dropdown

Steps To Reproduce
Nav to https://mdsinabox.com/nba/historical_matchups/
Open the picker for Year
NB edited screenshot

Expected Behavior
years should be in order because they are sorted in the query
Actual Behaviour
years are not in order

Seems intentional based on the source markdown

This screenshot was suboptimal
Here is where it get's really weird

Looks like filtering with SELECT DISTINCT throws ordering out the window, not sure if there's a good way for us to preserve
Adding order=season on the Dropdown should fix

@matsonj

agree with having a default.
I think we should also have this default for the ButtonGroup

SELECT DISTINCT range AS blah FROM (SELECT * FROM (SELECT * FROM range(1, 100) ORDER BY range DESC));

I guess an option is for us to not do any DISTINCT-ing

Yeah that's also an option, just not sure which is more important between distinct vs. preserving order

Not 100% sure either but I would lean towards preserving order over distinct-ing:
Any SQL building that we do on top of the queries can lead to inexplicable results. I was on a call with a user who couldn't work out why their sort was discarded.
However if you write a query with no group by / distinct and your dropdown has multiple entries for each option, your steps to rectify are clear.
An option would be to have a distinct=true prop that you add to the Dropdown componenent

I think the key bit from a DX perspective is that SQL should be transparently passed to components. It should be consistent for me to reason about when passing SQL to evidence components. So I vote for removing the DISTINCT and adding an option, although unclear why we need distinct in the dropdown component when we can add it in SQL.

Makes sense, I think the DISTINCT default made more sense when the query was built fully in-component (with table name passed in to the data field instead of a query result)

although unclear why we need distinct in the dropdown component when we can add it in SQL.

Yeah I think I agree. It would only be an alternative, but SQL > New syntax a user has to learn

I am probably misunderstanding something, but can't the "order by" be done after the distinct ?
Or is the issue that the "order by" comes from the client query while the "distinct" is added by evidence?
In that case I would also be in favor of removing the distinct added by evidence (the user can still do it) and keeping the order by.

Yes, the issue is that the order comes from the client query and the distinct is evidence

My suggestion is we remove the distinct for a future release.
It shouldn't really be a breaking change, some users passing in non-distinct tables may end up with dropdowns with repeated entries, but the dropdowns would still work, and they could filter them in the SQL to rectify when they notice.


Possible Duplicated Lib?

Here is what I did before: https://github.com/Swordsman-Inaction/react-native-linkedin-oauth
Is this what you are doing? 😀

Yes this pretty similar but not yet finished to publish. We are in concurence ! ;)

I have added your lib into README ;)


ERROR: Failed building wheel for pointnet2-ops

I have tried installing this multiple times and keep running into: ERROR: Failed building wheel for pointnet2-ops
I am using miniconda, have a Nvidia 3080, and using Windows 11.
This is my first time creating a GitHub Issue so if I am doing something wrong / need to include specific pieces of information please let me know.
Here is a larger part of the error:
nvcc error   : 'cl.exe' died with status 0xC0000409

      ninja: build stopped: subcommand failed.
      Traceback (most recent call last):
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\torch\utils\cpp_extension.py", line 2096, in _run_ninja_build
          subprocess.run(
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '1']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\tgs\models\snowflake\pointnet2_ops_lib\setup.py", line 22, in <module>
          setup(
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
          dist.run_commands()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\dist.py", line 989, in run_command
          super().run_command(command)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\wheel\bdist_wheel.py", line 364, in run
          self.run_command("build")
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\dist.py", line 989, in run_command
          super().run_command(command)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
          self.run_command(cmd_name)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\dist.py", line 989, in run_command
          super().run_command(command)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\command\build_ext.py", line 88, in run
          _build_ext.run(self)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
          self.build_extensions()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\torch\utils\cpp_extension.py", line 871, in build_extensions
          build_ext.build_extensions(self)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
          self._build_extensions_serial()
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
          self.build_extension(ext)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\command\build_ext.py", line 249, in build_extension
          _build_ext.build_extension(self, ext)
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 548, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\torch\utils\cpp_extension.py", line 843, in win_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\torch\utils\cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI\Lib\site-packages\torch\utils\cpp_extension.py", line 2112, in _run_ninja_build
          raise RuntimeError(message) from e
      RuntimeError: Error compiling objects for extension
      [end of output]

As for the "nvcc error   : 'cl.exe' died with status 0xC0000409" part, when I run nvcc in the miniconda prompt I get this output:
(C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_miniconda_env\ComfyUI) C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Feb__8_05:53:42_Coordinated_Universal_Time_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0

Building of all other wheels works:
ERROR: Failed building wheel for pointnet2-ops
Running setup.py clean for pointnet2-ops
Building wheel for simple-knn (setup.py) ... done
Created wheel for simple-knn: filename=simple_knn-0.0.0-cp311-cp311-win_amd64.whl size=365349 sha256=78b43cd461bf2512dd308dfc39e22ecc58372c414c5524b578d8416200723703
Stored in directory: c:\users\notja\appdata\local\pip\cache\wheels\d0\dd\2b\97965447ecdac866e6fb89f97e8a4b0fabc167392bffcb988a
Building wheel for diff-gaussian-rasterization (setup.py) ... done
Created wheel for diff-gaussian-rasterization: filename=diff_gaussian_rasterization-0.0.0-cp311-cp311-win_amd64.whl size=490085 sha256=63771790aaf93509b32b2c0b2c1f17ac7c0ee215b8da3767b668da5bafef8f04
Stored in directory: C:\Users\notja\AppData\Local\Temp\pip-ephem-wheel-cache-wq7ad9vr\wheels\a9\c6\3b\59b39a0f60badb061da8b34f4e15bc89813f388c73f72a4369
Building wheel for nvdiffrast (setup.py) ... done
Created wheel for nvdiffrast: filename=nvdiffrast-0.3.1-py3-none-any.whl size=141467 sha256=e8bd81bba59dded7b0fa9db5dd938cba745fffff0d7cd77f6817ca5eb2bc85af
Stored in directory: C:\Users\notja\AppData\Local\Temp\pip-ephem-wheel-cache-wq7ad9vr\wheels\b5\a7\d7\a47411b2b358c07b037dae28028ba02c100c03fe3fd2392e5c
Building wheel for pytorch3d (setup.py) ... done
Created wheel for pytorch3d: filename=pytorch3d-0.7.5-cp311-cp311-win_amd64.whl size=5466565 sha256=33a875653a3db80378d0a917a1fed99031e4947cf232105e3461ac50c992b88c
Stored in directory: C:\Users\notja\AppData\Local\Temp\pip-ephem-wheel-cache-wq7ad9vr\wheels\08\90\1b\df18c3e3634f86278e793b87f37ea4c58d0c36731196122518
Building wheel for torch-scatter (setup.py) ... done
Created wheel for torch-scatter: filename=torch_scatter-2.1.2-cp311-cp311-win_amd64.whl size=3286750 sha256=b855ac01b016444f0a85dbb56f320b2d2fe75d9860cb00c412f467697c423336
Stored in directory: C:\Users\notja\AppData\Local\Temp\pip-ephem-wheel-cache-wq7ad9vr\wheels\fa\26\ab\08e8b8230fe29a7c209f0f26e92b097146f076d2184f24598f
Building wheel for kiui (setup.py) ... done
Created wheel for kiui: filename=kiui-0.2.4-py3-none-any.whl size=1190200 sha256=24cced4a106ccb967d976cbc9bbc283e66e6c42ce4556a7b14f00463419de674
Stored in directory: C:\Users\notja\AppData\Local\Temp\pip-ephem-wheel-cache-wq7ad9vr\wheels\20\3c\17\e791a15a84c4c4e2281c95331ff68b27a12f93ce8aa4c0aaf9
Successfully built simple-knn diff-gaussian-rasterization nvdiffrast pytorch3d torch-scatter kiui
Failed to build pointnet2-ops
ERROR: Could not build wheels for pointnet2-ops, which is required to install pyproject.toml-based projects

This ninja issue seems to occur even if we have LongPathsEnabled in System Registry (REGEDIT: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem) and CMAKE_OBJECT_PATH_MAX=1024 in our environment.
When ninja builds it likes to repeat the path to the module's base folder after the Release folder so that the target path length doubles. For example, here is a possible path that ninja might be trying to reference which is close to 400 characters long:
C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\tgs\models\snowflake\pointnet2_ops_lib\build\temp.win-amd64-cpython-311\Release\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\tgs\models\snowflake\pointnet2_ops_lib_ext-src\src\group_points_gpu.obj
Likely this is because 'CMAKE_OBJECT_PATH_MAX=1024' is not being appended as a default argument.
See:  https://github.com/ninja-build/ninja/issues/1900#issuecomment-1817532728
Alternatively, you can simply copy the pointnet2 folder to a root folder 'C:\Temp' where all build paths will be less than 260 chars long, and once it's built there, install the created wheel with pip in your environment as usual.  In this case use: python setup.py bdist_wheel  instead of install or build.

This ninja issue seems to occur even if we have LongPathsEnabled in System Registry (REGEDIT: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem) and CMAKE_OBJECT_PATH_MAX=1024 in our environment.
When ninja builds it likes to repeat the path to the module's base folder after the Release folder so that the target path length doubles. For example, here is a possible path that ninja might be trying to reference which is close to 400 characters long:
C:\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\tgs\models\snowflake\pointnet2_ops_lib\build\temp.win-amd64-cpython-311\Release\ComfyUI\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\tgs\models\snowflake\pointnet2_ops_lib_ext-src\src\group_points_gpu.obj
Likely this is because 'CMAKE_OBJECT_PATH_MAX=1024' is not being appended as a default argument. See: ninja-build/ninja#1900 (comment)
Alternatively, you can simply copy the pointnet2 folder to a root folder 'C:\Temp' where all build paths will be less than 260 chars long, and once it's built there, install the created wheel with pip in your environment as usual. In this case use: python setup.py bdist_wheel instead of install or build.

Hi kustomzone I have run python setup.py bdist_wheel in C:\Temp\pointnet2_ops_lib
What should I do next? Building the wheel completed successfully in the Temp folder described above, but afterwards I tried running install_miniconda.bat and pip install -r requirements_post.txt but am still getting the same error as above. I then tried moving the pointnet2_ops_lib folder with build folder into the same directory where the unbuilt pointnet2_ops_lib  folder is in the ComfyUI-3D-Pack folder, but when I try to load workflows I am still getting a lot of missing nodes.
Any idea where to go from here? Thank you for your help above and any help is appreciated!

Got this to work! Had to install the packages in requirements_post individually and moved the points package into the same directory as the unbuilt one.

Closing this issue.


Move typespecs into appropriate modules

I added typespecs for the tokenizer, and updated some of the metadata that we generate. Most of the metadata changes were to be consistent (e.g. adding self_close: false, updating the comment metadata to include line and column info, always adding the node line/column end values).
The only addition is macro?: boolean() to the tag metadata - this allows us to centralize our definition of macro so we don't have to have when first in ?A..Z? or name == "#raw" in a few different places. I have another change (https://github.com/lnr0626/surface/compare/lr-translator-types...lnr0626:lr-macro-body-end) that removes the </#raw> and </# <> ... signatures

Oh whoops, that's my bad - I'll remove that


Graceful shutdown / signal handling

NB: Feature requests will only be considered if they solve a pain
Summary
Problem
Describe the pain that this feature will solve
Impact
The impact of not having this feature
Solution
Describe the solution
Detail
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I believe this is covered in the IPFS trait implementation if you are talking about graceful shutdown of the IPFS Daemon. If that is what you are talking I can edit the issue and link it to the PR. I just want to make sure before I do.


SVG don't work in IE

Hey,
I am using html2pdf version 0.9.1 for a project. I use it to create a PDF with text and image svg.
HTML2PDF works fine for Google Chrome and Firefox, but on IE, svg is not displayed. Their location is empty, everything else works.
IE's Pdf :

Firefox or Google Chrome's Pdf :

In the console of IE, I have this error, I do not know if this is the source of my problem, but it only appears when I try to download the pdf so I think it's linked.

Thank you in advance for your help !

I'm also having the same problem, any solutions/updates on this?


Nuxt middleware performs undefined behaviour when protecting routes

Environment
Nuxt project info:                                                                                12:33:25

------------------------------
- Operating System: Linux
- Node Version:     v22.6.0
- Nuxt Version:     3.13.0
- CLI Version:      3.13.0
- Nitro Version:    2.9.7
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      -
- Runtime Modules:  -
- Build Modules:    -
------------------------------

                                                                                12:33:25
👉 Report an issue: https://github.com/nuxt/nuxt/issues/new?template=bug-report.yml
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com

Reproduction
I am not being able to reproduce this bug on codesandbox but my nuxt middleware is not working as expected.
Describe the bug
On my PC, there is a discrepancy between the client and the server. On the client side, the user exists in the store, but it doesn't work server side and it gives a 500 error. I have the exact code (minimally) on the codesandbox provided above, but this is how the application behaves on my local computer.

As shown above, the server gets a null user but the client has the correct user with the correct information. How can I fix this issue?
Additional context
No response
Logs
No response

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I'm afraid I need more information to look into this, if it works fine on stackblitz. is everything exactly the same? named exactly the same?
can you upload a minimal git repo instead that locally reproduces the issue for you? 🙏

It look a long while to slowly build the reproduction to reach the root problem of the issue. Here is the git repo with the problem.
I found that the cause is I am using nginx to redirect the /api route traffic to another container (running Hono). While that works in the browser, it doesn't in the server (where the nuxt middleware is running)

Nice debugging. That sounds like this isn't a Nuxt issue then.


Bug 2087578: Changing VM to VirtualMachine

Signed-off-by: Dana Orr<EMAIL_ADDRESS>
📝 Description
Changing VM to VirtualMachine
🎥 Demo
Before:

After:

/lgtm


Needs moar tests

Some nice end-to-end tests would be delightful.  We should think about using https://github.com/doubt72/kitchen-metal to test the chef-metal/cluster pieces.

Closing as this cookbook has been deprecated


feature: danger variant for button

Feature request
Is your feature request related to a problem? Please describe.
For delete, remove action, we need a danger variant button

already done in feature branch im working on 🚀
(although variant is being renamed to type)
example use
<Button type="danger">I am the danger</Button>

will assign PR to this issue

already done in feature branch im working on 🚀
(although variant is being renamed to type)
example use
<Button type="danger">I am the danger</Button>

will assign PR to this issue

I still can't find danger type on Button component.

I still can't find danger type on Button component.

@phamhieu sorry, your right, fixing

@phamhieu sorry, your right, fixing

also missing this type of button

also missing this type of button

@phamhieu
danger is now a boolean prop. Took some inspiration from Antd.
danger can be applied to any type of button now.
<Button type="primary" danger>I am the danger</Button>

@phamhieu
danger is now a boolean prop. Took some inspiration from Antd.
danger can be applied to any type of button now.
<Button type="primary" danger>I am the danger</Button>


Reuse BitSet when there are deleted documents in the index instead of creating new BitSet

Description
Fixes issue: #12414
Before this change we were creating new BitSet every time when there are deletions in the index with use of matched Docs and Live Docs, which required iteration over all matched docs which is a time consuming process with linear time complexity. This is not required when the iterator is of BitSetIterator instance.
With this change we have wrapped matching Docs and live Docs under single Bits instance which can be directly passed for HNSW search. So, now during HNSW Search when a node is explored, we will check if the doc is accepted or not by checking bits of both matchedDocs and liveDocs which is constant time operation. Cost (int cost = acceptDocs.length()) of the new acceptedDocs is not exactly accurate but gives an upper bound on number, as it is not considering live-docs count.

Is our goal memory usage or speed?
We could use FixedBitSet#intersectionCount and keep from having to create a new bit set that is the intersection.
I am honestly not sure if the implementation here is any faster than just creating the bit set upfront and checking it. During search, you now have to check two bitsets now instead of one.
If the filter happens to be < number of docs visited in a typical search, your implementation here seems like it would be slower.

Broad feedback: any "optimizations" without benchmarking aren't optimizations, they are just guesses.
I am curious to see if this helps CPU usage in anyway. I could see it helping memory usage.

I don't fully understand this change, but it looks like it is stalled on proving it shows lower CPU and/or heap/GC load?
Could we benchmark this change using luceneutil?  It's able to create vector indices that have X% deletions and then run KNNByte/FloatVectorQuery...

Thanks @mikemccand for the pointers. Will try to run benchmarks on this change.


Default role

I set default role:"subscriber" in phpbbwp ext, wp is giving role author to every new user

The default role is overwritten by the role association. Do you have any that is set for this group ?

And I want default wp role: sub
wp Autors = registered
When I make changes in wp users, does it affect phpbb user or it's only one way?

It's only one way.
You can't set registred users as both author and subscriber, as WP handle only one role per user, so that the "higher" defined (author here) for the same phpbb group is the one choosed over creation or Resynchronization.

so the solution is to create group authors in phpbb and give them the same perms as registered?

Well, if you want some of your users but not everyone to be an author, you need to separate them from the rest of the registred users, yes.

thanks for help


Improve etcd scale up

Now adding unjoined members to existing etcd cluster
occurs one at a time so that the cluster does not
lose quorum.

ci check this


Possible Infinite Loop

https://github.com/Placekey/placekey-py/blob/faca8db46068dda9393b05984dbe7c63ec31209e/placekey/api.py#L267
Our account/apikey was locked out today due to making too many requests in 1 day.  We then started seeing some of our applications hang.  We traced it down to the line of code referenced above.  It seems to go into an infinite loop for as long as 429 response code is returned.  If our account is locked out for 1 day, for example, that means this code loops continually making calls to placekey for maybe 1 day (not sure how you guys perform your rate limiting calculations).  For example, if we make our entire day's allocations of calls in 1 hour, then we would have to wait 23 hours until our account is unlocked which means this code will loop for 23 hours.  A library should not hang for 23 hours so I think this is a bug.

Hey Shawn, Thanks for raising this. It looks like the original implementation did not account for the 429 coming from a hitting an upper limit. The fix is in the queue and will be applied and released ASAP.
Context: PR Adding Mechanism

Please find the fix in 0.0.13 at https://pypi.org/project/placekey/


chore: update @planning-inspectorate/pins-components package

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Bug inside calc() method - no scrollbars needed

Hey,
I hacked around your code to analyse why Optiscroll generates unneeded scrollbars in Chrome.
Please read the code comments above!
Using Math.max instead Math.min fixed the issue but I think we have to check if  sizeRatio is lower than maxTrackSize instead?
I did not completly understand the calc() magic, please tell me if you can confirm this bug.
Math bugfix:

sizeRatio = Math.max(sizeRatio, settings.maxTrackSize / 100);

Another bugfix:

if (sizeRatio < settings.maxTrackSize) {
    return { position: 0, size: 1, percent: 0 };
}

Related fiddle: http://jsfiddle.net/ty4ca48z/4/ (uncomment related code to see useless scrollbar)
Method with debug and comments:

calc: function () {
      var position = scrollEl[scrollProp],
          viewS = cache[clientSize],
          scrollS = cache[scrollSize],
          sizeRatio = viewS / scrollS,
          sizeDiff = scrollS - viewS,
          positionRatio, percent;

      if(sizeRatio === 1 || scrollS === 0) { // no scrollbars needed
        return { position: 0, size: 1, percent: 0 };
      }

      percent = 100 * position / sizeDiff;

      // prevent overscroll effetcs (negative percent)
      // and keep 1px tolerance near the edges
      if(position <= 1) { percent = 0; }
      if(position >= sizeDiff - 1) { percent = 100; }

      // Capped size based on min/max track percentage
      sizeRatio = Math.max(sizeRatio, settings.minTrackSize / 100);
      sizeRatio = Math.min(sizeRatio, settings.maxTrackSize / 100);

      positionRatio = (1 - sizeRatio) * (percent / 100);

      // positionRatio returns 0.050000000000000044
      // sizeRatio in my case returns 95 and therefore generates a useless scrollbar
      console.log(positionRatio);
      console.log(sizeRatio);

      return { position: positionRatio, size: sizeRatio, percent: percent };
    }

Congratulations! You just found a bug in Chrome (related to this) :smile:
The problem is a rounding error in Chrome due to the CSS units you are using.
Let me explain: Optiscroll calc() assumption is that scrollHeight is always equal or bigger than scrollHeight, as the spec says (same for widths). However, vh and vw units in Chrome are rendered with floating point precision BUT they are rounded differently by Chrome internals.
So, for instance, if an element has an height = 85,672px, Chrome clientHeight is 86px but scrollHeight is 85! Definitely wrong.
Nevertheless, to fix this, it should be enough to change sizeRatio === 1 to:
if(sizeRatio >= 1 || scrollS === 0) { // no scrollbars needed
        return { position: 0, size: 1, percent: 0 };
}

So if scrollHeight / clientHeight >= 1 we assume no scrollbars are needed anyway.
I don't have time now to properly check it, but feel free to try.

It seems like this solves the issue, can you please hotfix this inside your master / develop branch so I can switch bower to this branch for now. Let me know if you had time for a patch release.
Thanks for your help


Training Suggestion

@ZhengPeng7
can you please suggest some detail explanation of how to run the training to only the DIS dataset .as your readme file contain very less information about training and inference

You can refer to this part in README, that's very easy with only one command. Make sure the task=DIS5K in config.py.
Thanks for your suggestion. I'll emphasize them in README as they are important.

Feel free to re-open this issue if you still have problems conducting the training and test.


[question] wrong intent and entity detection

rasa NLU version (e.g. 0.7.3):
Used backend / pipeline (mitie, spacy_sklearn, ...):
Operating system (windows, osx, ...):
Issue:
Content of configuration file (if used & relevant):

i am using demo-rasa.json as training data and spacy_sklearn as the backend. if my query is "which is the best phone avaliable in the market" then it is giving me the result as :
{'text': u'which is the best phone avaliable in the market', 'confidence': 0.64447036573192351,  'intent': u'restaurant_search',  'entities': [ {u'start': 13, u'end': 23, u'value': u'best phone', u'entity': u'cuisine'},  {u'start': 41, u'end': 47, u'value': u'market', u'entity': u'cuisine'} ] }
The training data does not contain anything related to this context so i was expecting it  to return empty entities and intent?

Intent classification is a multiclass problem, hence it will always classify a message as one intent, even if the message is of an intent never seen before. The classifier doesn't know the answer "I don't know" (it tries to hint at us with the confidence, but it still will give us the most likely intent).
The data provided is just example data, there are way to few entity examples in there, hence the classifier here isn't very good and wrongly classifies your examples.

@tmbo  i completely agree with you .  Thank you so much for your feedback.The only one thing i am unable to understand that why it is giving so high confidence.As we are planning to consume rasa-nlu i
was expecting rasa to give in my opinion a relatively low confidence not as high as 0.6.

How high the value is really depends on the model used and also how much the model was overfitted (i.e. how many times the model saw the training data and hence how much the model remembers the examples). In general I wouldn't put to much emphasis on the scores (yet?).

@tmbo  thank you so much for your answer but i am stuck on this problem of identifying wrong intent and entity  for  text not present in the same data .i am stuck on this problem .can u help me with this?

There is an issue that is describing this feature #387.
At the moment here is what you should do:

make sure you have collected enough training data
are you running in a special domain, e.g. are there words that are quite uncommon? if so try including the intent_featurizer_ngrams
try to find examples that break your model - collect training data in that direction


HELP!!

Traceback (most recent call last):
File "maidfiddler\ui\maids_list.py", line 125, in maid_selected
File "maidfiddler\ui\tabs\maid_stats.py", line 146, in on_maid_selected
File "maidfiddler\ui\qt_elements.py", line 24, in set_value
TypeError: setText(self, str): argument 1 has unexpected type 'bool'

Old issue, closing. Maid Fiddler has since been updated and the game as well. Please make sure your Maid Fiddler and game are up-to-date.
Please create a new issue if the problem still persists.


get_between_ngrams bug?

Here is some code from the get_between_ngrams function.
If span0 is before span1,then we should either take the right_ngrams of span0 or the left ngrams of span1.
If span 1 is before span0, we should take the right ngrams of span1 or the left ngrams of span0.
But in the code below, we take the left ngrams of span1.
Shouldn't it be the opposite?
https://github.com/HazyResearch/fonduer/blob/28c09d92b3e74b97db50ae2e1e94c6256cac1bd8/src/fonduer/utils/data_model_utils/textual.py#L31-L51

Yes, you're right, we should take the left ngrams of span1. We'll fix this with the next release.


Move repo to github

From<EMAIL_ADDRESS>on January 05, 2015 15:16:58
## SVN History
This should be straightforward to move over; Ignazio managed this for oboformat easily.
We would move everything across at first, but then may decide to split things up
## Modularization
Lego stuff should go to a separate repo.
We should move OWLTools-Sim, but this will gradually be abandoned as owlsim-v3 (already a separate github repo) comes into play.
## Issue Tracker
We will not attempt to migrate; we will start afresh with the gh tracker. We will leave the gcode one up and running and may manually migrate a select few items.
## Wiki
There is a lot of good material on the wiki - will probably have to be manually moved, with links from old to new added.
Original issue: http://code.google.com/p/owltools/issues/detail?id=111

From<EMAIL_ADDRESS>on January 05, 2015 20:17:00
Here is an example migration: https://github.com/ShahimEssaid/owltools I used git svn:
git svn clone --prefix=origin/ --authors-file=../authors --authors-prog=../authors-default  -s http://owltools.googlecode.com/svn .
I had to remove large files from the history because GitHub doesn't like > 50mb and refuses > 100mb files:
remote: error: GH001: Large files detected.
remote: error: Trace: 415df2b385d9bf1f9c72fa5a226558c6
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 129.98 MB; this exceeds GitHub's file size limit of 100 MB
remote: error: File OWLTools-Core/src/test/resources/go.owl is 116.81 MB; this exceeds GitHub's file size limit of 100 MB
remote: error: File OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 129.54 MB; this exceeds GitHub's file size limit of 100 MB
remote: error: File OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 125.45 MB; this exceeds GitHub's file size limit of 100 MB
Ran the following to clear the history from these files:
git filter-branch --prune-empty -d /dev/shm/owltools
--index-filter "git rm --cached -f --ignore-unmatch OWLTools-Annotation/src/test/resources/rules/ontology/go.owl"
--tag-name-filter cat -- --all
git filter-branch --prune-empty -d /dev/shm/owltools
--index-filter "git rm --cached -f --ignore-unmatch OWLTools-Core/src/test/resources/go.owl"
--tag-name-filter cat -- --all
Maybe these files can be downloaded from somewhere else when tests are ran.
Finally:
git checkout -t -b hmc-clinic
git remote add origin git@github.com:ShahimEssaid/owltools.git
git push -u origin master hmc-clinic
The current commits don't have proper user names but I can fix this once I have the correct user names and email addresses to use for the commits.
For the issues, I used: https://github.com/arthur-debert/google-code-issues-migrator For the wiki: https://github.com/trentm/googlecode2github

From<EMAIL_ADDRESS>on January 05, 2015 21:41:34
Fantastic. This would be a good time to refactor tests that involve enormous files

From<EMAIL_ADDRESS>on January 06, 2015 09:10:01
What about the generated apidocs? gh-pages?

From<EMAIL_ADDRESS>on January 20, 2015 14:35:02
After done, update GO FAQ and other links. Eg http://geneontology.org/faq/how-do-i-map-set-annotations-high-level-go-terms-go-slim

From<EMAIL_ADDRESS>on January 21, 2015 09:20:18
Should we go ahead with this or not yet?
Chris, I need the GitHub emails for you and Keiko (not the GitHub login/name) before running the final Git import. Can you please send them to me when we are ready for the move?

From<EMAIL_ADDRESS>on January 21, 2015 11:09:21
I just committed a few odds and ends to gcode.
We're ready to switch assuming this passes: http://build.berkeleybop.org/job/owltools/1160/ cjm AT berkeleybop.org
I think Heiko's will be hdietze AT lbl.gov

From<EMAIL_ADDRESS>on January 22, 2015 16:25:26
I just removed all the big go.owl files from the test resources and replaced it smaller modules for the relevant tests. See r2446 for changes.
Does this mean you need to import the SVN again? Or is it just possible to pull the changes from SVN (even with the deleted go.owl files)?

Done


Feature Request: API to get subdomains, services & directories

Could an API be added to allow us to pull a list of all subdomains, services/ports and the directories/url's belonging to that subdomain.

For example I could create an agent to pull all the subdomains & spider the one's with web servers running on whatever ports, spider them & return the directories./url's.
Then create another agent to check all directories/url's for open redirects & update the vulnerability info in #154

This is the same with download the subdomains from the API, I'll create an example how do tho using Go

Hey @hiddengearz. I created an example using GO to obtain the list of subdomains
You can run that using the next CMD
go run Auth.go -b https://localhost:5001 -a api/Auth/Login -u gorums -p gorums -s api/targets/exportSubdomains/Opera/opera.com -f subdomains.csv
Auth.go sourcecode
package main

import (
	"io"
	"bytes"
	"encoding/json"
	"flag"
	"io/ioutil"
	"net/http"
	"crypto/tls"
	"os"
)

func Auth(url string, authApi string, username string, password string) string {

	values := map[string]string{"UserName": username, "Password": password}
	jsonValue, _ := json.Marshal(values)

	req, err := http.NewRequest("POST", url + "/" + authApi, bytes.NewBuffer(jsonValue))
	req.Header.Set("Content-Type", "application/json")

	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	body, _ := ioutil.ReadAll(resp.Body)

	return string(body)
}

func GetToken(jwt string) string {

	in := []byte(jwt)
	var raw map[string]interface{}
	if err := json.Unmarshal(in, &raw); err != nil {
		panic(err)
	}
	return raw["auth_token"].(string)
}

func ExportSubdomains(url string, subdomainApi string, token string, filepath string) {

	req, err := http.NewRequest("GET", url + "/" + subdomainApi, nil)
	req.Header.Set("Authorization","Bearer " + token)
	req.Header.Set("Content-Type", "application/json")

	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	out, err := os.Create(filepath)
	if err != nil {
		panic(err)
	}
	defer out.Close()

	// Write the body to file
	_, err = io.Copy(out, resp.Body)
	if err != nil {
		panic(err)
	}
}

func main() {

	url := flag.String("b", "", "BaseUrl")

	username := flag.String("u", "", "Username")
	password := flag.String("p", "", "Password")

	authApi := flag.String("a", "", "Auth API")
	subdomainApi := flag.String("s", "", "Subdomain API")
	filepath := flag.String("f", "", "File Path")

	flag.Parse()

	http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}

	// Do the authentication and obtain the jwt
	jwt := Auth(*url, *authApi, *username, *password)
	// Get the token to allow us send auth request
	token := GetToken(jwt)
	// Export subdomains to a file
	ExportSubdomains(*url, *subdomainApi, token, *filepath)
}

Hey @gorums,
Amazing this looks perfect except one small thing. If I make a wrapper how can I get the 'opera/opera.com'? I image the agent will look something like
./wrapper -d {domain}
You'll have to edit the agent and provide project/rootdomain each time unless you can do something like
./warpper -d {project/rootdomain}
Thanks for working on this!

this will work. I'll add {{target}} in the command
go run Auth.go -b https://localhost:5001 -a api/Auth/Login -u gorums -p gorums -s api/targets/exportSubdomains/{{target}}/{{rootDomain}} -f subdomains.csv

Done! I added {{target}} as part of the command to be replace for the current target

Thanks! I'll add this to the wrapper I was working on :)

Is it possible to also create an api to pull the open ports for the target domain?
Currently I have a script that uses naabu (similar to masscan) to scan for any open ports. I then run nmap on those ports to get a more detailed analysis. I can port that script as a

Is it possible to create an API to get the IP's, ports
I have a personal script that uses massdns, naabu and nmap to do an very efficient port scan and would like to port it to an agent, it works like this:

Run massdns to resolve all of the subdomains IP's - (Save IP's to reconless, this can be done currently)
I then find the unique IP's from all of the subdomains & send that to Naabu - (use reconless API to get all of the IP's, this can't be done currently)
Naabu then does a full syn port scan on these IP's to find open ports - (save ports to reconless, this can be done currently)
I then do an nmap scan on the open ports found by Naabu - (use reconless API to get all of the open ports, this can't be done currently)
I then cross check the massdns results to see which IP belongs to which subdomain and update the services/notes (use reconless API to get subdomains and IP's, can partially be done currently)

this endpoint return all the data about the subdomain you can use that to know the IP & Ports, and more data that you can check in the json
GET api/subdomains/{target}/{rootDomainName}/{subdomain}
Ex
GET api/subdomains/VerizonMedia/yahoo.com/ar.answers.yahoo.com
Response:
{
"id":"03afa05a-d45c-491e-82c7-92f9697e0143",
"name":"ar.answers.yahoo.com",
"createdAt":"2020-07-14T17:49:20.391455",
"target":"yahoo.com",
"rootDomain":"ReconNess.Entities.RootDomain",
"ipAddress":"<IP_ADDRESS>",
"takeover":null,
"hasHttpOpen":true,
"isMainPortal":null,
"isAlive":true,
"fromAgents":"Sublist3r, ZDNS, Httprobe, Ping",
"serviceHttp":null,
"services":[
{
"id":"9743a66f-b078-4103-b88d-4c4f3bef4059",
"name":"https",
"port":443
},
{
"id":"ad60a3f5-0cac-4d75-a019-2044e8b3329e",
"name":"http",
"port":80
}
],
"labels":[
]
}


showNotification() function doesn't work

Hello, everybody
I faced the issue that function showNotification() that is used in many examples in this article doesn't work. I can't find it in API as well. In task pane addin, on button click event, I execute the following method:
function saveData() {
Excel.run(function (ctx) {
showNotification("Hi");
});
}
In debugger I see exception: "showNotification" is not defined. What am I missing?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a714626a-058a-789e-6add-5e9dfb21fd1f
Version Independent ID: 1b88a28c-fc36-4518-2808-7246f08d9753
Content: Use the Dialog API in your Office Add-ins - Office Add-ins
Content Source: docs/develop/dialog-api-in-office-add-ins.md
Product: office 365
GitHub Login: @o365devx
Microsoft Alias: o365devx

@andrewkhramov thanks for reaching out about this problem. The showNotification function referenced within this article is similar to the showUserName function referenced in the article -- in that (by design) the implementation of this function is not explicitly shown in the article. You'll need to define a function called showNotification that displays the specified message in the task pane UI. The OfficeDev/Office-Add-in-Dialog-API-Simple-Example GitHub repo (specifically the ~/SimpleDialogSampleWeb/Taskpane.js file in that project) provides an example of how the showNotification function might be implemented.
Thanks again for reaching out; we'll update the docs to clarify this.

We've addressed this issue with PR #636 and the doc update will be published later today.

Thank you very much for the answer.


1.5.0 expects at least one ElementaryStream in the config object, even for non ad-hoc cases

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is this a client library issue or a product issue?
Not sure, but probably client library, since the docs states these props as "optional".
(ref: https://googleapis.dev/nodejs/transcoder/latest/google.cloud.video.transcoder.v1beta1.IJobConfig.html)

Did someone already solve this?
No issues or questions that I have found so far. Sorry if that's the case 😅

Do you have a support contract?
Please create an issue in the support console to ensure a timely response.
No

If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details

OS: N/A (GCP Functions)
Node.js version: nodejs10
npm version: N/A (GCP Functions)
@google-cloud/video-transcoder version: 1.5.0

Steps to reproduce

If you create a job request without a pubsubDestination (hence the config object), you should see everything running smoothly:

const request: {
parent: transcoderServiceClient.locationPath(projectId,location),
job: {
  inputUri: inputUri,
  outputUri: outputUri,
  templateId: 'preset/web-hd',
},
};

But, as soon as I try to use a pubsubDestination, it errors expecting an ElementaryStream

const request: {
parent: transcoderServiceClient.locationPath(projectId,location),
job: {
  inputUri: inputUri,
  outputUri: outputUri,
  templateId: 'preset/web-hd',
  config: {
    pubsubDestination: {
      topic: `/projects/${projectId}/topics/${topicName}`
    }
  }
},
};

Error: 3 INVALID_ARGUMENT: Request field config.elementaryStreams is missing, expected at least one ElementaryStream.
    at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:179:52)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at process.nextTick (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78)
    at process._tickCallback (internal/process/next_tick.js:61:11)

Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

This error response is coming from the backend service. It seems like the value is marked as optional in the pure API definition but may actually required under certain circumstances. Unfortunately, those circumstances are not clearly documented.
Here's a link to the support page for the backend service: https://cloud.google.com/transcoder/docs/getting-support. The team that manages this repository only handle what's provided to us, so please forward this question to one of those support channels.

Thanks for the clarification, @chingor13. Getting in touch with the support team right away.

For anyone having the same problem, the support team clarified that:

When you use a template_id to create a job, the Job.config is populated by the JobTemplate.config. That means when creating a job from a template, you cannot specify the config field 'pubsubDestination:' again.

So your options are [1] using ad-hoc jobs with 'pubsubDestination' in the config, or [2] create a job template with the pubsubDestination in the config of the template.
With that in mind, I don't think it's possible to have pubsub job updates by using the default 'preset/web-hd' anymore.


Logging object with circular reference

Hi,
I noticed that when trying to log an object with a circular reference, bunyan-debug-stream throws an error: TypeError: Converting circular structure to JSON.
It seems that's the case because it calls JSON.stringify here.
Is there a way to override that with something likeutil.inspect so that circular references are handled when converted to strings?
An example case showing the circular reference:
var bunyanDebugStream = require('bunyan-debug-stream');
var bunyan = require('bunyan');

var log = bunyan.createLogger({
    name: "myLog",
    streams: [{
        level:  'info',
        type:   'raw',
        stream: bunyanDebugStream({
            forceColor: true
        })
    }],
    serializers: bunyanDebugStream.serializers
});

let b = {a: "temp"};
const a = {b: b};
b.a = a;

log.info(a);

throws
TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at BunyanDebugStream._entryToString (/temp/node_modules/bunyan-debug-stream/lib/BunyanDebugStream.js:206:30)
    at BunyanDebugStream._write (/temp/node_modules/bunyan-debug-stream/lib/BunyanDebugStream.js:253:28)
    at doWrite (_stream_writable.js:397:12)
    at writeOrBuffer (_stream_writable.js:383:5)
    at BunyanDebugStream.Writable.write (_stream_writable.js:290:11)
    at Logger._emit (/temp/node_modules/bunyan/lib/bunyan.js:923:22)
    at Logger.info (/temp/node_modules/bunyan/lib/bunyan.js:1045:24)
    at Object.<anonymous> (/bunyandebug-test.js:20:5)
    at Module._compile (module.js:652:30)

Thanks!

Good catch!  I'd happily take a PR.


sync races with optimistic block generation

{"L":"WARN","T":"2023-11-23T11:39:40.129Z","N":"7d22e.sync","M":"mesh failed to process layer from sync","node_id":"7d22e417f6808587a3a61db73fa70c6a35e7503c54f9371426746a6623cd1ace","module":"sync","sessionId":"b8254426-cae0-411a-b2a8-b34033232e63","layer_id":11,"errmsg":"execute block 12/e8464a2de4: apply block: internal: failed to insert account stest1qqqqqqp3qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqql50dsa for layer 12: database: object exists","name":"sync"}

the expected behavior is that sync waits until both hare and block generator completed layer or failed. in this case it is obviously didn't work as expected.
the helper for that is called layerpatrol.
hare calls Complete on it only in case of failure, otherwise it is expected to be called by block generator. likely the bug is somewhere there

i think i fixed it in recent refactoring, will reopen if i see it again


Move the project to a different location if the project is preserved.

As mentioned in #62, I would be great to move the project to a different location if the project is preserved.

@yozhgoor if this is still open for grabs I would like to give it a chance :), the idea is to move the entire dir to another location with a new command right? something like cargo temp mv new_location?
Also, I'm probably missing something, what is the difference between just running an mv temp-123 /projects/my_cool_project and this?

Hey, cool!
The idea is to allow the user to move the temporary project to a new location if they want to preserve it.
We currently create the temporary project at the location given by the temporary_project_dir setting in the config file but most people use a location like ~/repos so it would be handy to be able to move a project you want to preserve directly in that location.
I was thinking about adding a preserved_project_dir setting in the config file at first but we can maybe use a flag like cargo temp --move <new_location> (or both).

You can use mv temp-123 /projects/my_new_project too but if you type cargo-temp from ~, you create a temporary project at ~/.cache/cargo-temp/tmp-123 and when you exit the shell you go back to ~, so you have to manually search for tmp-123 by yourself.

For me we have three use-case for this, you have a project and you want to preserve it so:

you don't care and you leave the project at the temporary_project_dir location (so the preserved_project_dir is None)
you don't know if you are going to preserve the project but you have set the preserved_project_dir to move the project to new_location.
there is a chance that you are going to preserve the project and you don't have set the preserved_project_dir setting in your config file or you want to choose another location that the one given by preserved_project_dir. so you use the cargo-temp --move <new_location> command.

Note that the naming can change if you want, you do you!

The best option here in my opinion is to prompt the user when the shell is terminated and have a flag with a config option controlling that behavior. In addition to that you have to check that the cargo-temp is running in the interactive mode before prompting the user. That part can be done using isatty function. If it returns false then the checking file descriptor is redirected/piped.

I'm not really sure about this one @YohDeadfall, that's maybe a bit too verbose for a tool like cargo-temp, most people use cargo-temp to create little project, on the fly and that can be huge to refactor since we need to adapt the prompt system from the config file and the purpose is not really the same (and it's already kinda verbose tbh).
This can be more "automagic" if you handle this feature by playing with the config file. It's more fun for the developer and easier for the user.

(I'm not bringing my point of view here, only helping with the communication... hopefully)

@yozhgoor if this is still open for grabs I would like to give it a chance :), the idea is to move the entire dir to another location with a new command right? something like cargo-temp mv new_location?

I don't think that was the idea @yozhgoor had.
@yozhgoor correct me if I'm wrong but what you want is more something like this:

User starts cargo-temp normally
User deletes TO_DELETE file in order to tell cargo-temp "please do not this project when I exit the sell"
User exits the shell
Normally the directory is preserved where it was created (in ~/.cache/cargo-temp/tmp-xyz). This nice but it's also annoying because it's remote in the user's home directory hierarchy. So @yozhgoor would like to have a setting in the config file of cargo-temp that gives a "target" directory. When the project needs to be preserved, instead of staying in ~/.cache/cargo-temp, it would go to that directory.

since we need to adapt the prompt system from the config file

Pretty sure that's not what @YohDeadfall meant.
A prompt is an invitation on screen for the user to provide input. I know the "prompt" is also the shell's prompt but I doubt very much @YohDeadfall was talking about that prompt :joy:

In addition to that you have to check that the cargo-temp is running in the interactive mode before prompting the user.

cargo-temp is always running in interactive.... wait... ah yes maybe on Windows it's not xD Ok I see, it's the "editor" parameter of cargo-temp

It's interactive even on Windows if it's executed by the user. It's just for those who will use cargo-temp with redirected input, but honestly, I have no idea who that people are.

cargo temp <<< "Hello World" ?
I doubt that this is a valid use case

correct me if I'm wrong but what you want is more something like this:

That's right but @era got a point somehow so why_not_both.gif

A prompt is an invitation on screen for the user to provide input. I know the "prompt" is also the shell's prompt

I understood that @YohDeadfall talk about a way to ask where the user want to preserve the directory like we do to ask the user if they really want to delete the config file so we need to modify the prompt setting we already have in the config file
Also correct me if I'm wrong but the interactive mode is a bool in the config file that allow the user to choose if they use the prompt or not ?

Also correct me if I'm wrong but the interactive mode is a bool in the config file that allow the user to choose if they use the prompt or not ?

It depends on the application. Some of them detect it by checking standard IO for redirection, others tend to have a command line flag, and the rest simply ignore existence of non-interactive mode.

What if we start with your initial idea @yozhgoor ? Something as @cecton described:

User starts cargo-temp normally
User deletes TO_DELETE file in order to tell cargo-temp "please do not this project when I exit the sell"
User exits the shell
Normally the directory is preserved where it was created (in ~/.cache/cargo-temp/tmp-xyz). This nice but it's also annoying because it's remote in the user's home directory hierarchy. So @yozhgoor would like to have a setting in the config file of cargo-temp that gives a "target" directory. When the project needs to be preserved, instead of staying in ~/.cache/cargo-temp, it would go to that directory.

With that in hand, it should be easy to implement the prompt as @YohDeadfall suggested if prompt = true (https://github.com/yozhgoor/cargo-temp/blob/main/src/run.rs#L288) and having the possibility to run a command to move the project.
What do you all think?

Sounds good to me
Don't hesitate to ping me if you need!


how to explain this results from the code

sorry to disturb, how to explain for this results and the Table.4 in the paper? this is the right results?

Please use the following hyperparameters.
https://github.com/allenai/openpi-dataset/blob/main/hyperparams.md


sql model support beetlsql

we have used beetlsql, http://ibeetl.com/guide/#beetlsql . can codeMirror support beetlsql ?

Possibly, if you provide a pull request that adds a definition to the bottom of mode/sql/sql.js. You'll have to do it yourself, though.


Vitest version not detected

Describe the bug
After latest update (0.2.37) the extension does not allow to run tests because it does not detect the Vitest version on the workspace.
The package.json and node_modules folder are in the root of the open workspace.
To Reproduce
Steps to reproduce the behavior on the example project:

Install latest version 0.2.37 of the extension
Immediately get the popup that version is under 0.12.0

Expected behavior
The extension should detect correctly the workspace version
Screenshots
Message

Version and console output

Folder structure of workspace

Environment

OS: Windows 11
VSCode version: 1.74.2
Vitest version: 0.27.0
Vitest plugin version: 0.2.37

Experiencing this as well.

This is a duplicate of #88.

I'm hitting this on macOS with pnpm

It works with Vitest plugin 0.2.36

@asbermudez this was probably broken by https://github.com/vitest-dev/vscode/pull/118.
Could you please try the steps at https://github.com/vitest-dev/vscode/issues/88#issuecomment-1399518132 and post your results there?

You're welcome 😄