[QUESTION] Identify TIME Column Type?

Thank you very much for writing (and open sourcing) this really great library!  I am working on incorporating this into Apache Drill which will enable users to use Drill to query SAS files with SQL.  I ran into a small issue which I can't seem to figure out.  I need to get the schema of the data.  Right now, I have a for loop that iterates over the columns and maps them to the correct type of Drill vector.
List<Column> columns = sasFileReader.getColumns();

The issue I'm running into is with TIME formats.  With the code above, parso only seems to return times as longs.  Is there any way to programmatically identify whether a column is a time and not a long?
Here's a link to my code: https://github.com/cgivre/drill/tree/format-sas
The relevant code can be found in the contrib/format-sas folder.
Thanks!

Apologies, I might have missed your question in 2021!
Parso tries to mimic SAS7BDAT format behaviour, and time (we are talking about time per se, not date or date+time, right) is stored as a number of seconds after the midnight. To understand whether it was time or just arbitrary number, you would need to understand what the column type in the original file was (for example, it could be TIME or just NUMERIC).
Please take a look at https://github.com/epam/parso/pull/86 to better understand what are the challenges with datetime format.


script load retry and resin logo loading spinner

incorporated requirejs to retry javascript loading in the frontend
added resin logo for spinning loader

There are two loader stages - one for the GUI, one for the Frontend. It's not easy to hand over between them, so doing two spinner logos (that is one for each), and spin them opposite direction to make look less horrible (ie. instead of spin-jerk-spin, it's more like spin-then-spin-backwards).

closes #3


ResponseException during login (iber.py line 33)

Seems like the rest api endpoint https://www.iberdroladistribucionelectrica.com/consumidores/rest/loginNew/login has an internal error (500) or is not available anymore. Could you please confirm if this is still working or if anything changed. It this a public api. Can not find any documentation at Iberdrola. Thank you.
File "/usr/local/lib/python2.7/dist-packages/oligo/iber.py", line 33, in login
raise ResponseException
oligo.exceptions.ResponseException

Same error here:
 File "/usr/local/lib/python2.7/dist-packages/oligo/iber.py", line 33, in login     raise ResponseException oligo.exceptions.ResponseException

Same error here:
 File "/usr/local/lib/python2.7/dist-packages/oligo/iber.py", line 33, in login     raise ResponseException oligo.exceptions.ResponseException

Same here:
Traceback (most recent call last):
File "consumo-dia-anterior.py", line 11, in
connection.login("XXXXXXXX", "XXXXXXXXXXX")
File "/home/pi/.local/lib/python2.7/site-packages/oligo/iber.py", line 33, in login
raise ResponseException
oligo.exceptions.ResponseException

Que versiones usáis?

Acabo de reinstalar:
/home# pip install oligo
Collecting oligo
Downloading oligo-1.3.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from oligo) (2.21.0)
Installing collected packages: oligo
Successfully installed oligo-1.3.1
Traceback (most recent call last):   File "test.py", line 4, in <module>     connection.login("xxxxxx", "xxxxxxx")   File "/usr/local/lib/python2.7/dist-packages/oligo/iber.py", line 33, in login     raise ResponseException oligo.exceptions.ResponseException

Y ejecutandolo con python3?


port toranj test21_address_cache_table

Codecov Report

Merging #69 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   41.72%   41.64%   -0.09%
==========================================
  Files          37       37
  Lines        3851     3844       -7
==========================================
- Hits         1607     1601       -6
+ Misses       2244     2243       -1

Impacted Files
Coverage Δ

silk/tools/otns_manager.py
79.87% <0.00%> (-1.06%)
:arrow_down:

silk/utils/directorypath.py
94.11% <0.00%> (-0.33%)
:arrow_down:

silk/tools/wpan_util.py
16.79% <0.00%> (+0.12%)
:arrow_up:

silk/device/system_call_manager.py
16.66% <0.00%> (+0.41%)
:arrow_up:

silk/tools/watchable.py
40.00% <0.00%> (+0.41%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #69 into master will decrease coverage by 3.27%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   44.70%   41.42%   -3.28%
==========================================
  Files          39       37       -2
  Lines        4107     3867     -240
==========================================
- Hits         1836     1602     -234
+ Misses       2271     2265       -6

Impacted Files
Coverage Δ

silk/tools/wpan_table_parser.py
40.74% <0.00%> (ø)

silk/tools/otns_manager.py
79.87% <0.00%> (-1.06%)
:arrow_down:

silk/tools/pb/visualize_grpc_pb2_grpc.py

silk/tools/pb/visualize_grpc_pb2.py

Continue to review full report at Codecov.

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


Minimal Variance Sampling in Stochastic Gradient Boosting

Summary
MVS can be considered as an improved version of the Gradient-based One-Side Sampling (GOSS, see details in the paper) implemented in LightGBM, which samples a given number of top examples by values |gi| with the probability 1 and samples other examples with the same fixed probability. Due to the theoretical basis, MVS provides a lower variance of the estimate Eg than GOSS.
References
Docs:

https://catboost.ai/docs/concepts/algorithm-main-stages_bootstrap-options.html

Code:

https://github.com/catboost/catboost/commit/0bd529cbee49408ee9607885c9170bc037a0e2af
https://github.com/catboost/catboost/pull/1005/files

NeurIPS 2019 Poster:

https://github.com/ibr11/mvs_paper/raw/master/mvs_poster.pdf

NeurIPS 2019 Paper:

http://papers.nips.cc/paper/9645-minimal-variance-sampling-in-stochastic-gradient-boosting.pdf

Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.

refer to https://github.com/ibr11/LightGBM

@guolinke Exciting!
However, the author disabled possibility to open issues in that repo and I can't find their contact info in the GitHub profile to ask for creating a PR.
What do you think about borrowing that code with referring to the author. I guess if the author wished to contribute to the upstream repo, it was enough time to do it from the latest commits...

Uhhh, just noticed that this is one of the authors of MVS!

Closing according to https://github.com/microsoft/LightGBM/pull/5091#issuecomment-2157106007.
Welcome to contribute this feature! Feel free to fork https://github.com/microsoft/LightGBM/tree/mvs_dev branch.


[Bug] Fix the incorrect lookup join result when lookup from level0

Purpose

Linked issue: close #2912

Tests

API and Format

Documentation

@JingsongLi Do we need to cherry-pick to release-0.7 branch ?


Release/0.23.0

I think we should we set the QA run as required for merges into main? Any objections? @cqc-alec


Issue with String Suggestions in CommandComponent.Builder#suggestionProvider

When trying to show suggestions for text inputs using suggestionProvider(final @Nullable SuggestionProvider<? super C> suggestionProvider), the suggestions don't appear as expected. The provided code snippet illustrates this issue, where the suggestions for arguments aren't displayed correctly. However, switching to a different method, suggestionProvider(final @Nullable SuggestionProvider<? super C> suggestionProvider), solves this problem, as shown in the subsequent code snippet.
Code Snippet (1):
            optional("leader", StringParser.stringParser()) {
                suggestionProvider(SuggestionProvider.suggestingStrings(Bukkit.getOnlinePlayers().map { it.name }))
            }

Result (1):

Code Snippet (2):
            optional("leader", StringParser.stringParser()) {
                suggestionProvider { _, _ ->
                    CompletableFuture.completedFuture(Bukkit.getOnlinePlayers().map { Suggestion.suggestion(it.name) })
                }
            }

Result (2):

After testing this with both required and optional arguments, it appears that the issue only occurs with optional arguments.

The server will have no players at command registration time.


[Bug]: Scroll bar position

Give a brief about the bug ✍
Position is not proper and even not similar to about us page
What is the expected behavior? 🤔
It must be at extreme right side of page
Provide step by step information reproduce the bug 📄

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@Durgesh4993 @thevirengarg Sir, assign this issue to me.
Thank You!


Feature/Fix squad voting assignment

Description
Squad voting assignment is now circular (A votes on B, B votes on C, C votes on A)
Fixes #
Previously the voting assignment required a multiple of 8 users to work, now it requires a multiple of 4 (but must start with a minimum of 8 users)
Type of change
New API call to get the total number of squads in this cohort
New function for voting assignment
Please delete options that are not relevant.

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

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

Has This Been Tested

[x] Yes
[ ] No
[ ] Not necessary

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

One test is failing from previous code not related to this PR. The fail is in VotingForm:  "subEmogis1" cannot be destructured because it is not defined.


Use pip list's JSON output for installed_distributions

Closes #92.

Looks like some tests are failing; will investigate.

Looks like the failure is actually a behavior improvement!
        assert distribution.name == some_distribution.name
        assert distribution.version == some_distribution.version
>       assert distribution.location == some_distribution.location
E       AssertionError: assert '/tmp/pytest-of-runner/pytest-0/test_installed_distributions0/workspace/venv/lib/python3.5/site-packages' == None
E        +  where '/tmp/pytest-of-runner/pytest-0/test_installed_distributions0/workspace/venv/lib/python3.5/site-packages' = <Distribution(name='dummyproject', version='0.0.1', location='/tmp/pytest-of-runner/pytest-0/test_installed_distributions0/workspace/venv/lib/python3.5/site-packages')>.location
E        +  and   None = <stub(location=None, version=<Version('0.0.1')>, name='dummyproject', editable=False, filename='/tmp/pytest-of-runner/pytest-0/test_installed_distributions0/data/dummyproject-0.0.1.tar.gz')>.location

The tests were checking for location being None, since the some_distribution fixture sets it to None. But it's now a real path, thanks to the -v change. Will update the assertions.

Unrelated CI failure?
tests/test_pep650.py .....E..                                            [ 90%]
tests/test_tests.py ...                                                  [ 97%]
tests/test_version.py .                                                  [100%]

==================================== ERRORS ====================================
__ ERROR at setup of test_invoke_uninstall[requirements.txt-requirements.txt] __

tmpdir = local('/tmp/pytest-of-runner/pytest-0/test_invoke_uninstall_requirem0')

    @pytest.fixture(autouse=True)
    def isolate(tmpdir):
        """
        Isolate our tests so that things like global configuration files and the
        like do not affect our test results.
        We use an autouse function scoped fixture because we want to ensure that
        every test has it's own isolated home directory.
          Works like
        mkdir, except that any intermediate path segment (not just the rightmost)
        will be created if it does not exist. If the target directory already
        exists, raise an OSError if exist_ok is False. Otherwise no exception is
        raised.  This is recursive.

        """
        head, tail = path.split(name)
        if not tail:
            head, tail = path.split(head)
        if head and tail and not path.exists(head):
            try:
                makedirs(head, mode, exist_ok)
            except FileExistsError:
                # Defeats race condition when another thread created the path
                pass
            cdir = curdir
            if isinstance(tail, bytes):
                cdir = bytes(curdir, 'ASCII')
            if tail == cdir:           # xxx/newdir/. exists if xxx/newdir exists
                return
        try:
>           mkdir(name, mode)
E           FileExistsError: [Errno 17] File exists: '/tmp/pytest-of-runner/pytest-0/test_invoke_uninstall_requirem0/home'

/opt/hostedtoolcache/Python/3.6.14/x64/lib/python3.6/os.py:220: FileExistsError

Unrelated CI failure?

Looks like a fluke, restarting CI resolved it.


Knip doesn't resolve imports in Nuxt projects

Reproduction url
https://codesandbox.io/p/devbox/priceless-aryabhata-zl8s4x?file=%2Fapp.vue%3A8%2C8
Description of the issue
Knip doesn't seem to be working correctly in Nuxt projects. Here is an example when we import a function in app.vue:

And that same function is then reported by Knip as an unused file, while the import is unresolved:

For some reason, Knip doesn't resolve Nuxt paths properly.
Running pnpm knip --tsConfig .nuxt/tsconfig.json or copying the tsconfig.json from .nuxt folder into the main folder does not fix the issue.

The issue is that baseUrl isn't set in either of the tsconfig.json files.
For now you can do this:
{
  // https://nuxt.com/docs/guide/concepts/typescript
  "extends": "./.nuxt/tsconfig.json",
  "compilerOptions": {
    "baseUrl": ".nuxt"
  }
}

Or wait until the next release of Knip, this will have a patch to handle it for you.

The issue is that baseUrl isn't set in either of the tsconfig.json files.
For now you can do this:
{
  // https://nuxt.com/docs/guide/concepts/typescript
  "extends": "./.nuxt/tsconfig.json",
  "compilerOptions": {
    "baseUrl": ".nuxt"
  }
}

Or wait until the next release of Knip, this will have a patch to handle it for you.

It worked! Thank you so much!

:rocket: This issue has been resolved in v5.27.1. See Release 5.27.1 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.

Unfortunately, there is another issue regarding Nuxt. If Vue isn't listed in dependencies or devDependencies - knip doesn't seem to enable the Vue plugin. In the reproduction URL I tried to enable the Vue plugin manually within knip.json by setting "vue" to true and to the default (as mentioned here) config value, but this doesn't work.
Can this be fixed without needing to add vue to dependencies or devDependencies?
Thanks in advance!

Can this be fixed without needing to add vue to dependencies or devDependencies?

Like you said, you can enable the Vue plugin manually. You can use --debug to see whether the plugin is enabled or not, and what it finds. I'd need a reproduction to look into it (please file a new issue then).


Migration Guide Update WIP

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @xtineledlie,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


[WIP] Update resource parameters as necessary

Changes:

Install latest (development version!) of nssm, as it is necessary for listing and dumping the parameters.
Update resource parameters as necessary
Triple quotes are no longer necessary
Kitchen tests are not compiling, but the error seems bogus
Added Chefspec tests for testing resource updates, but it seems to be not working. Related: https://github.com/sethvargo/chefspec/issues/793

so I apologize if I'm being to picky.

Don't :). I will look at your comments and update the PR in a few days

@dhoer

The checks are still failing and does the https://github.com/dhoer/chef-nssm#arguments-with-spaces section in readme need to be updated as well?

I'm not sure what this means, and wether it has anything to do with the change, as the filename is not familiar: FC021: Resource condition in provider may not behave as expected: C:/projects/kitchen-machine/providers/default.rb:47
I will update the documentation section, forgot about that.

Appending # ~FC021 to the line it is complaining about will tell foodcritic to ignore it.
Is the triple quotes still backwards compatible with this version of nssm?


My Task comand is not activated

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

hello @amiltonevaristo , can you please provide us with more info about this issue?


Is there a way to specify a different _config.yml when baking?

I need some ability to specify "environment" when baking / exporting the pages. For example I might need one that's for live (i.e. _config_live.yml) and one for local (i.e. _config_local.yml) etc. Is there a way to do that? So I would expect something like this when I am calling the bake:
For live
.\Pretzel.exe -t razor -c _config_live.yml -d .\live_site
For local
.\Pretzel.exe -t razor -c _config_local.yml -d .\local_site

There is nothing for that right now but that's a good idea.
I don't know if I'll have the time to do it, but a PR is always welcome :smiley:

Adding to this conversation, It would be great to see such a feature mimic the Jekyll way of allowing overrides. For example, pretzel taste --config=_config.yml,_config.dev.yml would first load the regular config, then override/add any values with the second config.
This is great, for example, for locally testing a site at localhost:8080/, but publishing at example.com/blog/ as Jekyll does by default by referenceing links like {{ site.baseurl }}/2016/10/01/a-thought-on-pretzel. Regular config defines baseurl as "/blog" and dev config overrides it as "".
If I have time to look at the code and see if it is trivial enough for a guy who is completely unfamiliar with programming for Windows, I'll submit a PR sometime.

Thanks a lot for your interest in Pretzel! 😄
I will gladly review your PR.

I've written a bat script to get round this issue and use _config_bake.yml & _config_taste.yml file
@echo off

set source=C:\src\
set dest=C:\build\

copy %source%_config_bake.yml %source%_config.yml /Y

Pretzel.exe bake %source% --cleantarget --destination=%dest%


[TIFLASH #4562] Remove embedded member function for gtest in dbms/src/Storages/Page

What problem does this PR solve?
Issue Number: close #4562
Problem Summary: Remove embedded member function for gtest in dbms/src/Storages/Page
What is changed and how it works?
Remove embedded member functions for gtest in dbms/src/Storages/Page including PS::V2::PageStorage, PS::V3::PageDirectory, PS::V3::PageEntriesEdit and PS::V3::PageStorageImpl.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/run-unit-test

The way to run unit tests
cd $BUILD
cmake $WORKSPACE/tiflash -GNinja -DCMAKE_BUILD_TYPE=DEBUG
ninja gtests_dbms
./dbms/gtests_dbms

It has been a long day since last update. @SteNicholas are u still working on it?

Seems that you are not working on it now. And this pr does not work, so I would close it and cancel assign tomorrow.


make-pot pointing to raw JSX file, not built JS file

wp i18n make-pot . languages/rankbear.pot --include='dist,src' --exclude='*.jsx,*.map,*.svg,*.txt' --color'
Example built file (currently private project but will be public) in my dist directory:

Why does the .pot file point to the JSX file instead of the built JS file?

Sounds like a duplicate of #185.

Thanks, @ocean90. I tried --debug and EVERY file is still in there even though excluded. I assumed this meant it was able to find it but then it must have known to exclude it once found (such as excluded by file extension *.jsx).
If that's not what debug's output is telling me, then the exclude isn't working, I guess being overridden by include, which seems odd.
If that's the case, it's not quite the same as #185, since I don't have a wildcard include, only a wildcard exclude.
Thoughts?

Unfortunately, include is broken too, see #186.

Interesting. TYVM for the help.
Any idea how bugs in this CLI command affect ability to translate on .org, such as if my plugin has JSX that builds to JS and does not ship JSX files to .org, and I don't generate a .pot for .org, then things should still be translatable by .org's team because all they'd know about is the built JS files, right?

Correct, the built files are what really matters. For testing you can use wp i18n make-pot . on the final plugin files and check that everything is included in the POT file.
On w.org we're still using 2.2.0 fwiw.

gracias!


[Issue-238] Add Koin

This addresses the Koin part of this issue: https://github.com/jmfayard/refreshVersions/issues/238
🚀 Description
Add the Koin dependencies. I think the organization makes sense when referencing how Koin docs break it up.
📄 Motivation and Context
Koin is a common DI / Service Locator framework for KMP, and we'd like
to migrate to refreshVersions completely.
https://insert-koin.io/docs/setup/v3
How we're using it for safe multithreading on native in KaMP Kit:
https://github.com/touchlab/KaMPKit/blob/main/shared/src/commonMain/kotlin/co/touchlab/kampkit/Koin.kt
🧪 How Has This Been Tested?

./gradlew :refreshVersions:check
verified that the coordinates are generated in
dependencies-mapping-validated.txt and
bundled-dependencies-validated.txt.

📦 Types of changes

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

✅ Checklist

[X] I have read the guidelines for the development process
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Hello @brady-aiello
Sorry for the late reply.
The reason of the delay is this warning that is still on the website:

we are in the process of refactoring the way we define dependency notations in refreshVersions, so it’s less overhead for both you and us, and less error-prone to do overall (especially regarding backwards and forward compatibility).
That means that we’re unlikely to accept any submission of dependency notation updates for now.

Now the good news is that I've just completed this process of refactoring, it's merged in main and I would be happy to merge your 3 pull requests.
Would you mind updating them so that they use the new DependencyGroup API?
It's all explained here:
https://github.com/jmfayard/refreshVersions/blob/main/docs/contributing/submitting-prs/dependency-notations-updates.md

Sounds good! I'm on vacation now, but I'll put it up by next Friday at the latest. Cheers.

Hello Brady, we updated the contribution docs to add a guide dedicated specifically for dependency notations, available here:
https://jmfayard.github.io/refreshVersions/contributing/submitting-prs/dependency-notations-updates/
Do you want to update your PR so it uses the new API we made?

Yes, sorry for the delay. Will update tonight.

Closing this and starting fresh with https://github.com/jmfayard/refreshVersions/pull/421


Could not detect any instruction adress in the stack/backtrace

First of all, thanks for your plugin!
I tried to decode the register dump I get, but the decoder gives an error message:
"Could not detect any instruction addresses in the stack trace/backtrace"

Is this a bug or am I missing something?
Thanks in advance!

Thanks for reporting it. Please attach the stack trace you pasted into the decoder terminal to the issue, preferably as a code block comment. Otherwise, it will be hard to reproduce the defect from a screenshot. I will take a look at it.

Thanks for your fast response!
Guru Meditation Error: Core  0 panic'ed (InstrFetchProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x00000000  PS      : 0x00060a30  A0      : 0x00000000  A1      : 0x3ffd1a90
A2      : 0x3ffd5c40  A3      : 0x3ffbdbac  A4      : 0x00000005  A5      : 0x00000021
A6      : 0x3ffc60d4  A7      : 0x00000000  A8      : 0x800d2649  A9      : 0x3ffd1a70
A10     : 0x3ffd3928  A11     : 0x00000000  A12     : 0x3ffbdbaf  A13     : 0x00000000
A14     : 0x00000000  A15     : 0x3ffd1a40  SAR     : 0x00000000  EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000  LBEG    : 0x400d26cc  LEND    : 0x400d271a  LCOUNT  : 0x00000004

Backtrace: 0xfffffffd:0x3ffd1a90

Let me know if there's anything else that helps you helping me^^

I debugged into the code. From your decoder input, the decoder extracts this string to do further match for instruction addresses:
 0xfffffffd:0x3ffd1a90

but it fails to find any because they do not match the expected instruction address regex: /4[0-3][0-9a-f]{6}\b/gim (Here is the logic from the original implementation and the same here from this repo.)
This is where my domain knowledge is limited; I can easily relax the regex to match the 0xfffffffd (from your use case), but I do not know if this is correct.
If somebody can chime in and help with why there are no instruction addresses in the stack trace, I would be happy to fix it if this is a bug.

This is where my domain knowledge is limited; I can easily relax the regex to match the 0xfffffffd (from your use case), but I do not know if this is correct.

We could try that with my sketch and see if the result makes sense. I have somewhat of an idea of where the exeption is coming from.

Can you share your sketch (or its simplified version) that produces the problematic backtrace? I am open to providing you with a tester VSIX with the changes, but I would like to understand the problem better.
If I blindly relax the regex, people might suddenly see trash in the stack trace. Here is another (bash) tool to decode ESP32 backtrace. It also matches only the registered address.

Sure, I will probably have some spare time to find the exact error tomorrow, so that I can give you the simplified version of it. I bet it's some kind of data corruption by writing beyond the bounderies of an array with pointers in a for loop.  I'll keep you updated!

I think I found the exact place where the programm crashes. Due to the fact that the sketch is quite large, I''ll simplify it as much as I can:
Imagine a class:
class aclass{
       bool set;
       void action(){
           Serial.println("test");
          // other stuff;
       };
}

aclass aclass_array[100];

loop{

  for(int i = 0; i < 100; i++){
       if(aclass_array[i].set){
               Serial.print("i = ");
               Serial.println(i); //When it chrashes, this is the last working line, although "i" is "valid"
               aclass_array[i].action();
       }

   }
 //other stuff
}

The strange thing is, that everthing is executed and working fine for quite some time but then suddenly it crashes. I put some "serial.prints" here and there and found out that even the Serial.print at the beginning of the function isn't executed anymore, which means that after some time "aclass_array[i].action();" becomes an "IllegalIntructionFetch". Im still working on where this problem comes from exactly. As I said before, I think other stuff in the programm accidently overwrites memory.  Maybe that explains why the Decoder can't find instruction adresses in the backtrace.


[Accessibility]A11y_VSCode_ViewProblems_ScreenReader: VoiceOver reads state of each tab item as Selected.

Environment Details:
VSCode Version : 1.24.0
OS Version : Win10
Additional Details:
MAS Violated: MAS1.3.1
ScreenReader Version: HighSierra10.13.5
Repro Steps:

Launch VS Code while NVDA is ON.
Go to View menu and Select Problems.
Check the state of all the tabs(Problems,Output,Debug Console, Terminal).

Actual:
VoiceOver reads the state of each tab item (Problems,Output,Debug Console, Terminal) as "Selected" whether it is selected or non selected.
Expected:
Voiceover should read the selected tab item as selected and non selected tab item as non selected.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
User will not understand which tab item is selected and which one is non selected.
MAS Reference:
https://microsoft.sharepoint.com/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment for reference:
A11y VSCode Problems Voiceover reads selected.pptx
Does this issue occur when all extensions are disabled?: Yes

Dup of https://github.com/Microsoft/vscode/issues/51967


Confusion with regards to cmsCreateTransform

Hi there!
I have a question in regards to cmsCreateTransform, with the signature below:
cmsHTRANSFORM cmsCreateTransform(cmsHPROFILE Input,
                                 cmsUInt32Number InputFormat,
                                 cmsHPROFILE Output,
                                 cmsUInt32Number OutputFormat,
                                 cmsUInt32Number Intent,
                                 cmsUInt32Number dwFlags);

I understand the intent of this function is to create an object capable of transforming a pixel in Input to Output. However, what is the intended purpose of InputFormat and OutputFormat? In the documentation, it is written:

Formatters are used to describe how bitmap buffers are organized.

If ICC profiles expect pixels of a particular format, say RGB8, why is it necessary to specify this information in the InputFormat parameter? Furthermore, how is one supposed to specify the value of OutputParameter if this is information contained inside the Output ICC profile?
To exemplify, say I have a buffer of RGB8 pixels I would like to convert using an ICC profile somewhere on disk. It just so happens this output ICC profile is CMYK, but without querying information from the Output profile, there is no way to specify the output format correctly.
In short, what is the purpose of InputFormat and OutputFormat and how can one find correct values to use?
Thanks!

I understand the intent of this function is to create an object
capable of transforming a pixel in |Input| to |Output|

|Please see the tutorial. This function creates a color transform for
translating bitmaps. ICC profiles does not expect particular formats,
only color spaces. i.e. a profile handles CMYK but you can use 8 or 16
bits per channel, you can use additional channels for alpha blending, or
you can use floating point. This is not in the profile and you have to
specify it. In the tutorial this is explained in detail.
|
|
|


fix bugs: '%' in the url will be removed when it call UnicodeSanitize function.

if the url contains CJK characters, it will escape to %HexHex, but UnicodeSanitize function skips '%' .

 You should sign our Contributor License Agreement in order to get your pull request merged.xiao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).

hi @anthonyfok ,
Thanks for reminding me. Now I change my git setting, and email can be displayed in the commit log.

:wink:


Improve "Reserve Compute Resources for System Daemons" doc

📖 Add a link to how to change kubelet settings
🗑 Remove mention of k8s 1.17
🧹  Remove deprecated CLI flags and replace by KubeletConfiguration settings ; and properly document defaults
👍 properly document enforcement (enforceNodeAllocatable should be set)

Appart from the included changes, I find the Kube Reserved and System Reserved section misleading.
I first thought that those would map to an amount of reserved memory and cpu (i.e. requests), while the current behavior is to set limits.

Thanks @tengqm. I've applied your suggestions.

/label tide/merge-method-squash

@tengqm How can we move this PR forward?

@sathieu Please check the feedback about headings and fix it if possible.

@tengqm @dipesh-rawat Sorry for the delay. I addressed the last comment. Back to you!

/lgtm


fix: small change for create alert flow (save alert button)

The type of this PR is: Fix

This PR resolves []
Description
Small changes for create alert flow and "Save Alert" button

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

small change for create alert flow - dimatretyak

This PR contains the following changes:

Dev changes (small change for create alert flow - dimatretyak)

  Generated by :no_entry_sign: dangerJS against cc4e2fe897de04fc8254d2e697b1ad26a9972c32


The player name is hardcoded to Yotanido for commands

When using the in-game chat commands, you need to use Yotanido as the player name, which makes the chat commands useless when multiple console clients are on one server.

Fixed in ea024fa9fa310e48044fb6d4e5755e4b682422ca


Castling Issue

Hello - I am using Chess.js with Chessboard.js and have an issue with castling.
I play this opening set of moves on chessboard.js and the castle move only moves the King and not the Rook.
Ruy Lopez Open
1.e4 e5 2.f3 c6 3.b5 a6 4.a4 f6 5.O-O xe4
Chess.js translates to:
e2-e4 e7-e5
g1-f3 b8-c6
f1-b5 a7-a6
b5-a4 g8-f6
e1-g1 f6-e4
Upon move 5 for white, o-o, the actual move should be e1-g1, h1-f1 for white.
When I modify the code to catch a Kingside Castle (looking for 'e1-g1' string) I pass this for the move:
board.move('e1-g1', 'h1-f1');
This is input from chessboard.js.  The code works and the castling happens.
However, at this point chess.js loses the sequence for whose move it is.  It should now be black's turn in this example but chess.js has counted the castle as a white and black move and wants to move the white pieces for the next move.
Is there a way to pass a flag to tell chess.js not to count the castle as two moves?  Or is there a way to toggle whose move it is within chess.js?
Thank you,
Earl Russell

The move generation code in chess.js is pretty well tested, so I suspect this bug has something to do with your chessboard.js integration.  How does your code compare to http://chessboardjs.com/examples#5000?

Thank you for your response.  Earlier today I responded and tried to close
the issue but the page denied me and closed.  I cleared the browser cache
and ran tests again and discovered I had no issue.  Sorry for the false
alarm.
On Oct 17, 2016 7:34 PM, "Jeff Hlywa"<EMAIL_ADDRESS>wrote:

The move generation code in chess.js is pretty well tested, so I suspect
this bug has something to do with your chessboard.js integration. How does
your code compare to http://chessboardjs.com/examples#5000?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jhlywa/chess.js/issues/128#issuecomment-254374014,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV0QkU_PizPgAqF9fLjdD7b79zL6IKdOks5q1BQBgaJpZM4KYxbb
.


For #130: added changelog generation test for XmlOthers

For #130:

added changelog generation test for XmlOthers
didn't left puzzle, there is already an issue for implementing changelog generation

Codecov Report

Merging #173 into master will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #173      +/-   ##
============================================
- Coverage     42.22%   42.18%   -0.05%
  Complexity       83       83
============================================
  Files            33       33
  Lines          1035     1036       +1
  Branches         43       43
============================================
  Hits            437      437
- Misses          589      590       +1
  Partials          9        9

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/artipie/rpm/meta/XmlOthers.java
84.37% <0.00%> (-2.73%)
5.00 <0.00> (ø)

Continue to review full report at Codecov.

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

This pull request #173 is assigned to @vatavuk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@sereshqua/z please review this job completed by @vatavuk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@Vatavuk please make sure you will find at least 3 issues during next CR, thanks

@sereshqua ok

@0crat quality acceptable

@0crat quality acceptable  (here)

@sereshqua The project doesn't have enough funds, can't make a payment


feature eliminate sort under subquery

Proposed changes
eliminate sort under subquery

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Fix mentions on delete and redraft.

Currently, selecting "delete and redraft" on a post mentioning someone on another instance removes the URL part of the instance. I have added code to fix this.
Before:

After:

Thank you for the PR.
your code uses mentions meta data for resolving full acct from username,
but it may not correct if some accts has same username.

Original toot content has HTML markup for each mentions, it like as @mention.
then we have to resolve from mention URL to user's full acct.
I added the commit that does it.
https://github.com/tateisu/SubwayTooter/commit/890377e9014a00fe6a733fea2fbc2a9d466903a0

This is perfect. Thank you!


Update modeling.py

add load config from custom local path to avoid load from net huggingface ;
modify encode function add custom device
modify encode function image not only local path but also np.ndarray

Thank you for your attention and contribution to our project!
I will retain the modification for loading the model from a local path and further adjust the code to default to GPU for inference. As for the support for np.ndarray, since this is only a demo inference interface, I will remove it for the sake of simplicity. Users can customize their own data types based on the modelling.py file as needed.

nice 👍🏻
---Original---
From: @.>
Date: Sat, Jun 22, 2024 17:44 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [FlagOpen/FlagEmbedding] Update modeling.py (PR #899)
Thank you for your attention and contribution to our project!
I will retain the modification for loading the model from a local path and further adjust the code to default to GPU for inference. As for the support for np.ndarray, since this is only a demo inference interface, I will remove it for the sake of simplicity. Users can customize their own data types based on the modelling.py file as needed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


🐛: Explain NLTK setup

:red_circle: Title : Explanation of NLTK setup
:red_circle: Bug : Replace this notebook by a directory NLTK Setup
:red_circle: Changes :

remove this notebook file.
create a directory named NLTK setup
provide the code for different setups of different topics from the provided notebook.
add a readme file to explain the provided code.
create another sub-directory named tests which consists the python file to test them

Screenshots 📷

N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name :
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

hi, i would like to try resolving this issue. could you please assign me this? also, if you have any tips or specific areas you'd like me to focus on, feel free to let me know. I'm here to learn!
Name: Jyotiska Bose
Participant role: SSOC

Shivansh Mahajan
Participation role :- SSOC
I am well equiped with nlp , you can se my nlp repository https://github.com/shivansh-2003/NLP.

@shivansh-2003 your repo is not required. you have to explain the provided notebook code into a readme file. By deleting this notebook, add readme in the documentation directory only.

sir in this task i want clarity list of works
delete notebook file
create a readme file out of notebook file name:- NLTK_setup.md to add in documentation section
any other task please mention

No, nothing else, But keep everything from notebook into a md file. Name = NLTK-Setup.md.


Load map does not work

After saving an image, if I open a new map and select "load map" using that image, the map will appear as blank.

Can you post the image here so we can try it?

http://virtualducttape.com/files/HappyIslandDesigner_1585334401513.png

Also not working for me, not compressed/modified neither.

Don't know if it makes a difference using my repo to create the map then testing it in my repo and this repo but not working in either.

In #58 I changed the compression to do UTF 16 rather than the default which compresses to an invalid js string. Because it is a valid string, steganography should be able to correctly store the data.


Add direction field to benches

I've noticed a number of benches with directions already in OSM, but without this set, it's something of a hassle to do while using GoMap.

+1 fore moreFields. AFAIK GoMap does not distinguish between fields and moreFields (just lists them all in one list), so this change would not affect the goal of getting the tag in the default-list of GoMap.

There are no hard rules here. Usually, "fields" are only used for the essential properties of map features. This is because mappers (especially beginners) sometimes feel urged to fill out all fields that are displayed. Now, if the direction of a bench should count as essential or not is of course quite a subjective matter. From my personal experience (and going by the numbers mentioned above), the direction is just not very often mapped for benches, that's why I suggested "moreFields".
PS: Looking through the other presets, I can see that there are quite a few more presets where the "direction" could be made optional by using the same argument.

Alright, well, done that way, as you suggest.

thanks!


[FEATURE] Update to newer python version by default

Is your feature request related to a problem? Please describe.
Missing compatibility with new python features
Describe the solution you'd like
The default environment that the CI and notebooks run against is with the latest (conda resolved) python version
Describe alternatives you've considered
N/A
Additional context
N/A

Python 3.8 is not supported in fbprophet=0.6, let's close this now

Python 3.8 is supported in fbprohpet=1, re-opening this now


Storing slot not found on sending $ from empty account

Storage slot not found on sending $ from empty account
Description
Currently in a situation where I'm launching with dev mode (no blocks yet created), using the premine account like
./main dev --premine "0x...."
I load up metamask and load up another account (NOT the premine) and try to send a balance around to any account. (You might have to manually adjust gas limit, I made https://github.com/0xPolygon/polygon-sdk/pull/97 to help) I always seem to get this error as a result from this call
https://github.com/0xPolygon/polygon-sdk/blob/develop/minimal/server.go#L243
It seems this call generates a key (the hash of the account address) that never exists in the storage.
https://github.com/0xPolygon/polygon-sdk/blob/develop/minimal/server.go#L229
Some debug output

Your environment

OS and version Ubuntu 20
version of the Polygon SDK  2f50a194f21d972b542ccd1e1571ccba40c5c810
branch that causes this issue develop

Steps to reproduce

Tell us how to reproduce this issue

Set premine to account 1, start up the chain. Load up metamask targeting account 1.
Set premine to account 2, start up the chain. Load up metamask still targeting account 1.
Try to send $ from account 1 to any account

Where the issue is, if you know
Which commands triggered the issue, if any

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Logs
Please paste any logs here that demonstrate the issue, if they exist
Proposed solution
If you have an idea of how to fix this issue, please write it down here, so we can begin discussing it

@mrwillis This is expected behaviour of the log output of the polygon-sdk node if you try to send funds from an address that hasn't had any transactions to it and is not premined.
Yet, to be double sure that I understand what the issue is, can you tell me in the Steps to reproduce section why do you start up the chain setting different premines each time?
An important thing to note (since you are mentioning running the dev command subsequently with a different premine argument) is that the dev command doesn't re-generate genesis.json if it already finds it on the filesystem, that is why without deleting the data-dir and the genesis file in between changing the --premine parameter for the dev command the new premines will not take effect as it will read from the old data-dir  (test-chain/) and genesis.json.

@lazartravica yep got that part. The reason why I do a different pre-mine is so metamask will incorrectly show the balance as metamask doesn't refetch the balance that often it seems. It's kind of just a hack to be able to execute the transaction (which will fail). So even when I change the premine to account 2, metamask still shows account 1 has a balance (even though it doesn't).
If anything this is more of a JSON-RPC error I feel? The spec does not indicate what should happen here if the transaction cannot be submitted.
https://eth.wiki/json-rpc/API#eth_sendrawtransaction


Update node and java version + java URL for latest now.sh

The hard-coded URL on master no longer works. This URL seems more likely to keep working (found in @larionov's fork).

Looks good! Thank you for submitting this pr! I will test this and publish a new package if everything works 😄


Need diesel + sqlite example

Hi, I am currently creating a little wep app in Rust, and I need a tiny database. SQLite is the best choice since it is light and do not need a running server. But I am pretty new to databases and the example with postgresql is too complicated for me. I tried to adapt it to SQLite but I have still some errors.
Is it possible to add an example with SQLite?

Duplicate of #376


The delete endpoint now returns JSON

The current /delete doesn't return JSON.
curl -X DELETE http://httpbin.org/delete
:(

Thanks :)


cli should be object

Describe the bug
When running yarn tauri dev, I get this error:
yarn run v1.22.4
$ /Users/andrew/code/tauri-apps/test-app/node_modules/.bin/tauri dev
[tauri]: running dev
 ERROR: tauri.conf.json > tauri > cli should be object +0ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

To Reproduce
Steps to reproduce the behavior:

Started a new folder
ran yarn init
ran yarn tauri init
ran yarn tauri dev

Expected behavior
A dev server should start running
Screenshots
If applicable, add screenshots to help explain your problem.
Platform and Versions (please complete the following information):
Operating System - Darwin(19.5.0) - darwin/x64
Node.js environment
Node.js - 14.5.0
tauri.js - 0.8.2
Rust environment
rustc - 1.44.1
cargo - 1.44.1
tauri-bundler - 0.8.2
Global packages
NPM - 6.14.5
yarn - 1.22.4
App directory structure
/node_modules
/src-tauri
App
tauri.rs - 0.7 (no lockfile)
mode - embedded-server
build-type - bundle
CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'
Windows - Edge
distDir - ../dist
devPath - http://localhost:4000
Additional context
I used asdf to install rust on my system.

What's your tauri.conf.json contents?

{
  "build": {
    "distDir": "../dist",
    "devPath": "http://localhost:4000",
    "beforeDevCommand": "",
    "beforeBuildCommand": ""
  },
  "ctx": {},
  "tauri": {
    "cli": null,
    "embeddedServer": {
      "active": true
    },
    "bundle": {
      "active": true,
      "targets": "all",
      "identifier": "com.tauri.dev",
      "icon": [
        "icons/32x32.png",
        "icons/128x128.png",
<EMAIL_ADDRESS>        "icons/icon.icns",
        "icons/icon.ico"
      ],
      "resources": [],
      "externalBin": [],
      "copyright": "",
      "category": "DeveloperTool",
      "shortDescription": "",
      "longDescription": "",
      "deb": {
        "depends": [],
        "useBootstrapper": false
      },
      "osx": {
        "frameworks": [],
        "minimumSystemVersion": "",
        "useBootstrapper": false
      },
      "exceptionDomain": ""
    },
    "whitelist": {
      "all": true
    },
    "window": {
      "title": "Tauri App",
      "width": 800,
      "height": 600,
      "resizable": true,
      "fullscreen": false
    },
    "security": {
      "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
    },
    "edge": {
      "active": true
    },
    "inliner": {
      "active": true
    }
  }
}

Can you just remove the "cli" key instead of setting it to null? Our validator currently doesn't support null values.

That seems to have worked, though once the "App" opened, the logs said this:
    Finished dev [unoptimized + debuginfo] target(s) in 1m 01s
     Running `target/debug/app`
Error: connect ECONNREFUSED <IP_ADDRESS>:4000
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 4000
}

Not sure if it's related...

Did you start your dev server before running tauri dev?

I think yarn tauri dev was me starting my dev server...

I might be misunderstanding what should exist at localhost:4000... I think I'm confused on Tauri's role in an app. However, my original bug has been fixed, so I'm going to close this ticket.

Can you join our Discord server so we can talk and get this sorted? I'm always checking what's going on there. Thank you!

Ran into the same issue. Thought it was because port conflict and tried to change different port.
Turns out the order is:

start a local server something like http-server . on a port e.g. 7000
change the tauri config devPath to use the same port

It's not a bug but can be confusing for absolute beginners like me just to try it out.


Automatically open netCDF file after creation.

Currently, the netCDF file is created and then closed, meaning the user has to manually open the file in append mode afterwards. Instead, the create_netcdf.main function could return the open netCDF file.

The current method (i.e. the function not returning anything) could be deprecated. Thoughts:

can we identify if the user wants the netCDF file returned? (i.e. have they written nc = create_netcdf.main(...) or just create_netcdf.main(...)?)
need to create a deprecation policy, and work a way to stick to it

Further question/thought would be does this need to be deprecated? The answer might be dependent on how easy it is to have both options together in the code


Setup Github actions for automatic deployments

It makes sense to set up a Github Action that automatically uploads updated and new files that were pushed to master. We can use this one.
@heldyboy can you set up another ftp user and add the credentials to the configuration? Otherwise just send it to me via mail and I can try to set it up. My public key can be found here.

Done... seems to work. But now the website is down.  I think it's a permissions problem.  Can you take a look as soon as possible?  Thanks.

The action works as it should I think. The problem was either the httpd config or the DNS settings. I fixed it by refreshing both in the dreamhost panel.


fix k8s cluster script

we must disable the checksum offload on the virtual PF if not when we create virtual functions on the nic the host have checksum issues

This one goes in first


fix: async_run to allow nested event loops.

Fixes: https://github.com/snakemake/snakemake/issues/1105
Description

QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Thanks a lot!


Remove italic from type keyword in TypeScript

One more minor nitpick 😄

Despite turning off all italic options the type keyword remains. Is this possible to disable also?
Edit: I'm seeing this gitcommit messages also

That is controlled by the setting tokyonight_italic_keywords

Ah perfect, thank!


chore Fix some spell errors in be's comments.

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 39.69 seconds
load time: 584 seconds
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221020022515_clickbench_pr_31507.html


log uncaught exceptions once hoodie.log is available

follow up for https://github.com/hoodiehq/hoodie.js/pull/376
Dreamcode for hoodie.log
hoodie.log("ohaj!")
// (hoodie) ohaj!
hoodie.log.info("This might be of interest. Or not.")
// (hoodie:info) This might be of interest. Or not.
hoodie.log.warn("Something is fishy here!")
// (hoodie:warn) Something is fishy here!
hoodie.log.error("oooops")
// (hoodie:error) oooops

The for message would use window.console internally, the for hoodie.log methods would work as their window.console counterparts.

I'd like a default log style like this:
colors = {
  log: 'grey',
  info: '#2A53CD',
  warn: '#F4BD00',
  error: '#E13438'
}
'log info warn error'.split(' ').forEach(function(type) {
  console[type]('%choodie%c' + type, 'font-size: .8em; color: white; padding: .2em .5em; margin-right: .5em; border-radius: 1em; background-color:' + colors[type], 'color: inherit')
})

Not sure about cross browser support though

prrretty!

I'd leave the font-size, as is for accessibility reasons.

Also https://www.npmjs.com/package/debug for inspiration

Yeah I just looked in to debug, it's a different use case though, there is no differentiation in log levels, it's all debug. I think for our target group, it'd be good to show warnings & errors by default, but hide info, and always show log
But I'm open to be convinced otherwise

implementing the log API here: https://github.com/hoodiehq/hoodie-client-log

Oh this is cool, I will keep a close eye on hoodie-client-log. A nice small API I can surely learn from!

This is now part of new Hoodie \o/


how to use ConcatDataset in mmdet3.x

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
3.x branch https://github.com/open-mmlab/mmdetection/tree/3.x
Environment
pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.0rc1"
git clone https://github.com/open-mmlab/mmdetection.git -b 3.x
"-b 3.x" means checkout to the 3.x branch.
cd mmdetection
pip install -v -e .
Reproduces the problem - code sample
#config file:
dataset_syn_train = dict(
type=dataset_type,
data_root='/gemini/data-1',
metainfo=metainfo,
ann_file='/gemini/linshi.json',
data_prefix=dict(img='syn_images/'),
filter_cfg=dict(filter_empty_gt=True, min_size=32),
pipeline=train_pipeline)

dataset_render_train = dict(
type=dataset_type,
data_root='/gemini/data-1',
metainfo=metainfo,
ann_file='/gemini/linshi.json',
data_prefix=dict(img='syn_images/'),
filter_cfg=dict(filter_empty_gt=True, min_size=32),
pipeline=train_pipeline)
train_dataloader = dict(
batch_size=2,
num_workers=2,
persistent_workers=True,
sampler=dict(type='InfiniteSampler'),
batch_sampler=dict(type='AspectRatioBatchSampler'),
dataset=dict(type='ConcatDataset', datasets=[dataset_syn_train, dataset_render_train]))
# dataset=[dataset_syn_train, dataset_render_train]
Reproduces the problem - command or script
python tools/train.py --configs
Reproduces the problem - error message
Traceback (most recent call last):
File "/usr/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/mmengine/registry/registry.py", line 284, in switch_scope_and_registry
yield registry
File "/usr/local/lib/python3.8/dist-packages/mmengine/registry/build_functions.py", line 135, in build_from_cfg
raise type(e)(
TypeError: class IterBasedTrainLoop in mmengine/runner/loops.py: class ConcatDataset in mmdet/datasets/dataset_wrappers.py: init() got an unexpected keyword argument 'data_root'
python-BaseException
Additional information
I directly copied the code of ConcatDataset implemented by MMEngine to mmdetection3. x, but it cannot be used. If the above problem occurs, please ask me how to use ConcatDataset in mmdetection3. x

This is a bit wierd because mmdet/datasets/dataset_wrappers do not have ConcatDataset as you can see here https://github.com/open-mmlab/mmdetection/blob/dev-3.x/mmdet/datasets/dataset_wrappers.py.
You do not need to copy concatdataset, you can directly use it with the same config.

This is a bit wierd because mmdet/datasets/dataset_wrappers do not have ConcatDataset as you can see here https://github.com/open-mmlab/mmdetection/blob/dev-3.x/mmdet/datasets/dataset_wrappers.py. You do not need to copy concatdataset, you can directly use it with the same config.

Ok， I finally find my mistakes, I didn't use 'delete=True' in configs' file.


Mozilla Thunderbird loses data

Bug Report
Package Name: [name of package which has bug(s)]
scoop info thunderbird
Name: thunderbird
Description: A free email application that’s easy to set up and customize.
Version: 91.5.1
Website: https://www.thunderbird.net
License: MPL-2.0 (https://spdx.org/licenses/MPL-2.0.html)
Manifest:
C:\Users\hadak\scoop\buckets\extras\bucket\thunderbird.json
Installed:
C:\Users\hadak\scoop\apps\thunderbird\91.3.2
C:\Users\hadak\scoop\apps\thunderbird\91.4.0
C:\Users\hadak\scoop\apps\thunderbird\91.4.1
C:\Users\hadak\scoop\apps\thunderbird\91.5.0
C:\Users\hadak\scoop\apps\thunderbird\91.5.1
Binaries:
thunderbird.exe
Current Behaviour

After updating, I lose my Thunderbird profile. It looks as if I installed Thunderbird all over again.
I tried thunderbird -p flag and it showed me a few profiles but not my most recent profile

Expected Behaviour

Thunderbird should not lose my profile
Additional context/output

possibly related to #4377 ?
Possible Solution

System details
Windows version: [e.g. 7, 8, 10] 10
OS architecture: [e.g. 32bit, 64bit] 64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
 $($PSVersionTable.PSVersion)

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  1320

Additional software: [(optional) e.g. ConEmu, Git]
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\hadak> scoop update
Updating Scoop...
Updating 'extras' bucket...
 * 5fab14843<EMAIL_ADDRESS>Fix hash (Closes #7826)                 89 minutes ago
 * b32e85c4b FastCopy: Update to 4.0.2 (#7825)                           3 hours ago
 * d6d669662 xmrig: Update to version 6.16.3                             3 hours ago
 * ab80744dd streamdeck: Update to version <IP_ADDRESS>48                   3 hours ago
 * 61d91c478 schismtracker: Update to version 20220125                   3 hours ago
 * 391b7564d renderdoc: Update to version 1.18                           3 hours ago
 * c3fa82344 pe-bear: Update to version <IP_ADDRESS>                          3 hours ago
Updating 'games' bucket...
Updating 'jetbrains' bucket...
 * 6e37881b IntelliJ-IDEA-Ultimate-RC: Update to version 2021.3.2-213... 30 minutes ago
 * 405bf656 IntelliJ-IDEA-Ultimate-RC-portable: Update to version 2021.. 30 minutes ago
 * 221f9efc IntelliJ-IDEA-RC: Update to version 2021.3.2-213.6777.38     30 minutes ago
 * cfd1e9ba IntelliJ-IDEA-RC-portable: Update to version 2021.3.2-213... 30 minutes ago
Updating 'main' bucket...
 * 7138fd540 watchexec: Update to version 1.18.3                         3 hours ago
 * d4a575f29 sentry-cli: Update to version 1.72.1                        3 hours ago
 * 6efdf6105 regula: Update to version 2.4.0                             3 hours ago
 * 84fc80739 nginx: Update to version 1.21.6                             3 hours ago
 * 5da5f718b jenkins: Update to version 2.332                            3 hours ago
 * 32fc3c456 cmake: Update to version 3.22.2                             3 hours ago
 * 138d2634c sget: Fix hash (#3252)                                      4 hours ago
 * 75299cc66 cosign: Fix hash (#3251)                                    4 hours ago
 * 521f2e726 gotify-cli: Add version 2.2.1, gotify-server: Add version.. 5 hours ago
 * 4da61f668 ossgadget: Add version 0.1.314 (#3249)                      6 hours ago
Updating 'nonportable' bucket...
Updating 'versions' bucket...
 * dbc26c0 rstudio-daily: Update to version 2022.06.0-daily+26           3 hours ago
 * a1d78b9 rclone-beta: Update to version 1.58.0-beta.5952.0eb7b716d     3 hours ago
 * 87ba4af logseq-nightly: Update to version 0.5.9-20220125              3 hours ago
 * fc76754 dart-dev: Update to version 2.17.0-49.0.dev                   3 hours ago
 * bba857e chromium-dev: Update to version 100.0.4852.0-r962965          3 hours ago
 * 5c6cdbd zig-dev: Update to version 0.10.0-dev.390                     7 hours ago
 * 8b871c8 vim-tux: Update to version 8.2.4213                           7 hours ago
 * f0929c6 neochat-nightly: Update to version 397                        7 hours ago
 * 9a1dfda firefox-nightly: Update to version 98.0a1.20220125100058      7 hours ago
 * 7f3dd99 ffmpeg-shared-nightly: Update to version 105350               7 hours ago
 * b71d28f ffmpeg-nightly: Update to version 105350                      7 hours ago
 * 3b7106f chromium-dev: Update to version 100.0.4852.0-r962921          7 hours ago
 * 531b9c4 brave-nightly: Update to version 1.36.66                      7 hours ago
Scoop was updated successfully!
PS C:\Users\hadak> scoop update; scoop status;
Updating Scoop...
Updating 'extras' bucket...
Updating 'games' bucket...
Updating 'jetbrains' bucket...
Updating 'main' bucket...
Updating 'nonportable' bucket...
Updating 'versions' bucket...
Scoop was updated successfully!
Scoop is up to date.
Updates are available for:
    git: 2.34.1.windows.1 -> 2.35.0.windows.1
    notepadplusplus: 8.2 -> 8.2.1
    thunderbird: 91.5.0 -> 91.5.1
    vivaldi: 5.0.2497.38 -> 5.0.2497.48
These app manifests have been removed:
    libreoffice-fresh
PS C:\Users\hadak> scoop update git notepadplusplus thunderbird vivaldi
git: 2.34.1.windows.1 -> 2.35.0.windows.1
notepadplusplus: 8.2 -> 8.2.1
thunderbird: 91.5.0 -> 91.5.1
vivaldi: 5.0.2497.38 -> 5.0.2497.48
Updating 4 outdated apps:
Updating 'git' (2.34.1.windows.1 -> 2.35.0.windows.1)
Downloading new version
PortableGit-2.35.0-64-bit.7z.exe (43.7 MB) [==================================================================================================================================================================================================================================] 100%
Checking hash of PortableGit-2.35.0-64-bit.7z.exe ... ok.
Uninstalling 'git' (2.34.1.windows.1)
Removing shim 'git.exe'.
Removing shim 'git.shim'.
Removing shim 'git.ps1'.
Removing shim 'gitk.exe'.
Removing shim 'gitk.shim'.
Removing shim 'gitk.ps1'.
Removing shim 'git-gui.exe'.
Removing shim 'git-gui.shim'.
Removing shim 'git-gui.ps1'.
Removing shim 'tig.exe'.
Removing shim 'tig.shim'.
Removing shim 'tig.ps1'.
Removing shim 'git-bash.exe'.
Removing shim 'git-bash.shim'.
Removing shim 'git-bash.ps1'.
Unlinking ~\scoop\apps\git\current
Installing 'git' (2.35.0.windows.1) [64bit]
Loading PortableGit-2.35.0-64-bit.7z.exe from cache
Extracting dl.7z ... done.
Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.35.0.windows.1
Creating shim for 'git'.
Creating shim for 'gitk'.
Creating shim for 'git-gui'.
Creating shim for 'tig'.
Creating shim for 'git-bash'.
Creating shortcut for Git Bash (git-bash.exe)
Creating shortcut for Git GUI (git-gui.exe)
'git' (2.35.0.windows.1) was installed successfully!
Notes
-----
Set Git Credential Manager Core by running: "git config --global credential.helper manager-core"
Updating 'notepadplusplus' (8.2 -> 8.2.1)
Downloading new version
npp.8.2.1.portable.x64.zip (5.1 MB) [=========================================================================================================================================================================================================================================] 100%
Checking hash of npp.8.2.1.portable.x64.zip ... ok.
Checking hash of install-context.reg ... ok.
uninstall-context.reg (518 B) [===============================================================================================================================================================================================================================================] 100%
Checking hash of uninstall-context.reg ... ok.
Uninstalling 'notepadplusplus' (8.2)
Removing shim 'notepad++.exe'.
Removing shim 'notepad++.shim'.
Unlinking ~\scoop\apps\notepadplusplus\current
Installing 'notepadplusplus' (8.2.1) [64bit]
Loading npp.8.2.1.portable.x64.zip from cache
Loading install-context.reg from cache
Loading uninstall-context.reg from cache
Extracting npp.8.2.1.portable.x64.zip ... done.
Running pre-install script...
Linking ~\scoop\apps\notepadplusplus\current => ~\scoop\apps\notepadplusplus\8.2.1
Creating shim for 'notepad++'.
Creating shortcut for Notepad++ (notepad++.exe)
Persisting backup
Persisting cloud
Persisting plugins
Persisting themes
Persisting userDefineLangs
Persisting config.xml
Persisting nativeLang.xml
Persisting session.xml
Persisting shortcuts.xml
Persisting userDefineLang.xml
'notepadplusplus' (8.2.1) was installed successfully!
Notes
-----
Add Notepad++ as a context menu option by running: reg import "C:\Users\hadak\scoop\apps\notepadplusplus\current\install-context.reg"
Updating 'thunderbird' (91.5.0 -> 91.5.1)
Downloading new version
Checking hash of Thunderbird%20Setup%2091.5.1.exe ... ok.
Removing shim 'thunderbird.exe'.
Removing shim 'thunderbird.shim'.
Unlinking ~\scoop\apps\thunderbird\current
Installing 'thunderbird' (91.5.1) [64bit]
Loading Thunderbird%20Setup%2091.5.1.exe from cache
Extracting dl.7z ... done.
Linking ~\scoop\apps\thunderbird\current => ~\scoop\apps\thunderbird\91.5.1
Creating shim for 'thunderbird'.
Creating shortcut for Thunderbird (thunderbird.exe)
'thunderbird' (91.5.1) was installed successfully!
Updating 'vivaldi' (5.0.2497.38 -> 5.0.2497.48)
Downloading new version
Vivaldi.5.0.2497.48.x64.exe (76.2 MB) [=======================================================================================================================================================================================================================================] 100%
Checking hash of Vivaldi.5.0.2497.48.x64.exe ... ok.
Uninstalling 'vivaldi' (5.0.2497.38)
Removing shim 'vivaldi.exe'.
Removing shim 'vivaldi.shim'.
Unlinking ~\scoop\apps\vivaldi\current
Installing 'vivaldi' (5.0.2497.48) [64bit]
Loading Vivaldi.5.0.2497.48.x64.exe from cache
Extracting dl.7z ... done.
Running installer script...
Linking ~\scoop\apps\vivaldi\current => ~\scoop\apps\vivaldi\5.0.2497.48
Creating shim for 'vivaldi'.
Creating shortcut for Vivaldi (vivaldi.exe)
Persisting User Data
'vivaldi' (5.0.2497.48) was installed successfully!
PS C:\Users\hadak> scoop help
Usage: scoop <command> [<args>]

Some useful commands are:

alias       Manage scoop aliases
bucket      Manage Scoop buckets
cache       Show or clear the download cache
cat         Show content of specified manifest.
checkup     Check for potential problems
cleanup     Cleanup apps by removing old versions
config      Get or set configuration values
create      Create a custom app manifest
depends     List dependencies for an app
export      Exports (an importable) list of installed apps
help        Show help for a command
hold        Hold an app to disable updates
home        Opens the app homepage
info        Display information about an app
install     Install apps
list        List installed apps
prefix      Returns the path to the specified app
reset       Reset an app to resolve conflicts
search      Search available apps
status      Show status and check for new app versions
unhold      Unhold an app to enable updates
uninstall   Uninstall an app
update      Update apps, or Scoop itself
virustotal  Look for app's hash on virustotal.com
which       Locate a shim/executable (similar to 'which' on Linux)

Type 'scoop help <command>' to get help for a specific command.
PS C:\Users\hadak> scoop config
Usage: scoop config [rm] name [value]
PS C:\Users\hadak> scoop list
Installed apps:

  7zip 21.07 [main]
  audacity 3.1.3 [extras]
  azuredatastudio 1.34.0 [extras]
  element 1.9.9 [extras]
  ffmpeg 5.0 [main]
  filezilla 3.57.0 [extras]
  git 2.35.0.windows.1 [main]
  gpg 2.3.4 [main]
  jami<PHONE_NUMBER>25 [extras]
  lessmsi 1.10.0 [main]
  libreoffice-fresh <IP_ADDRESS> [extras]
  mkvtoolnix 64.0.0 [extras]
  nodejs14 14.18.3 [versions]
  notepadplusplus 8.2.1 [extras]
  obs-studio 27.1.3 [extras]
  python27 2.7.18 [versions]
  Rider-EAP 2021.3-EAP10-213.5744.263 [jetbrains]
  sql-server-management-studio-np 15.0.18390.0 [nonportable]
  supertux 0.6.3 [games]
  thunderbird 91.5.1 [extras]
  tor-browser 11.0.4 [extras]
  vivaldi 5.0.2497.48 [extras]
  vlc 3.0.16 [extras]
  vscode 1.63.2 [extras]
  windirstat 1.1.2 [extras]
  windows-terminal 1.11.3471.0 [extras]

PS C:\Users\hadak>

Scoop Configuration

{
    "lastupdate":  "2022-01-25T12:38:45.9914856-07:00",
    "SCOOP_REPO":  "https://github.com/lukesampson/scoop",
    "SCOOP_BRANCH":  "master"
}

Thanks for the detailed bug report?
Can you check the AppData folder once? Your Thunderbird profile might be in Local or Roaming folders.

caused by https://github.com/ScoopInstaller/Extras/commit/f4fc56a410a43169c3ddb8653d9bf68602bcc181
open thunderbird with your previous profile saved in <SCOOP>\persist\thunderbird\profile
thunderbird -profile '<SCOOP>\persist\thunderbird\profile'
// e.g.
thunderbird -profile 'C:\Users\HUMOR\scoop\persist\thunderbird\profile'

open thunderbird with your previous profile saved in <SCOOP>\persist\thunderbird\profile

This worked for me. Thank you!


facebook redirect example auth reference

facebook-redirect.html has references to auth which should be firebase.auth()

Thanks! That's right. Sending a fix now.


TypeError: templates is null

In 2.6.0 build (and previous ones), the template menu doesn't work.
TypeError: target is null[Learn More]  copyurlsexpert.js:491:13
TypeError: templates is null[Learn More]  advanced.js:65:20

Can you please try with KeyBinder disabled or in a new firefox profile? I think Keybinder is affecting all XUL-based windows.

Yeah, I can reproduce this in a fresh profile with no other add-ons (Nightly 53 on Windows 8)

User environment issue


cmake: make pre-built library discoverable via CMake configuration files

Initial work, started by @SomeoneSerge to add Mitsuba 3 to Nixpkgs: https://github.com/NixOS/nixpkgs/pull/269378
This PR adds the ability to make nanothread discoverable via CMake instead of requiring projects vendor it in-tree.
Additionally, it allows testing through CMake by using CTests

I force-pushed to update the PR and take care of the extra $CMAKE_CURRENT_SOURCE_DIR I introduced -- thank you for the feedback!

After reading through the CMake docs, I've switched to use CMAKE_INSTALL_* where appropriate -- these should be relative paths, as each has a CMAKE_INSTALL_FULL_* counterpart which is the absolute path.


Tensor has shape torch.Size([448, 1024]) ... this looks incorrect.

Thank you for building this - very interested in trying it.  In my hands, when I try to export the model to a .bin I get the following error - is this something simple / user error?
(MacOS Ventura 13.5.1 w/ Conda Environment)
❯ python export.py l70b.act64.bin TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ gptq-4bit-64g-actorder_True
CUDA extension not installed.
Traceback (most recent call last):
  File "/Users/timothypark/dev/llama2.rs/export.py", line 150, in <module>
    load_and_export(model_name, revision, output_path)
  File "/Users/timothypark/dev/llama2.rs/export.py", line 128, in load_and_export
    model = AutoGPTQForCausalLM.from_quantized(model_name,
  File "/opt/homebrew/anaconda3/envs/pytorch/lib/python3.10/site-packages/auto_gptq/modeling/auto.py", line 105, in from_quantized
    return quant_func(
  File "/opt/homebrew/anaconda3/envs/pytorch/lib/python3.10/site-packages/auto_gptq/modeling/_base.py", line 847, in from_quantized
    accelerate.utils.modeling.load_checkpoint_in_model(
  File "/opt/homebrew/anaconda3/envs/pytorch/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 1409, in load_checkpoint_in_model
    load_offloaded_weights(model, state_dict_index, state_dict_folder)
  File "/opt/homebrew/anaconda3/envs/pytorch/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 727, in load_offloaded_weights
    set_module_tensor_to_device(model, param_name, "cpu", value=weight, fp16_statistics=fp16_statistics)
  File "/opt/homebrew/anaconda3/envs/pytorch/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 281, in set_module_tensor_to_device
    raise ValueError(
ValueError: Trying to set a tensor of shape torch.Size([448, 1024]) in "qzeros" (which has shape torch.Size([224, 1024])), this look incorrect.

Ah, you should be able to get the same specific model using the previous commit SHA:
python export.py l70b.act64.bin TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ 3b2759aac1962b01959765a7f2918b09feda2680

Does that work?

Thanks for the fast response!
It makes more progress with that for sure - but I still get this error:
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Regular
torch.Size([8192])
Traceback (most recent call last):
  File "/Users/timothypark/dev/llama2.rs/export.py", line 150, in <module>
    load_and_export(model_name, revision, output_path)
  File "/Users/timothypark/dev/llama2.rs/export.py", line 139, in load_and_export
    export(model, output_path)
  File "/Users/timothypark/dev/llama2.rs/export.py", line 102, in export
    for i in range(p['n_layers']): serialize(model.layers[i].self_attn.q_proj)
  File "/Users/timothypark/dev/llama2.rs/export.py", line 42, in serialize
    w = k.weight
  File "/opt/homebrew/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1614, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'QuantLinear' object has no attribute 'weight'

Somehow your model is using a QuantLinear rather than a GeneralQuantLinear. What does the output at the beginning (i.e. the printout of the model) look like?
I see something like this:
Exporting...
LlamaForCausalLM(
  (model): LlamaModel(
    (embed_tokens): Embedding(32000, 5120, padding_idx=0)
    (layers): ModuleList(
      (0-39): 40 x LlamaDecoderLayer(
        (self_attn): LlamaAttention(
          (rotary_emb): LlamaRotaryEmbedding()
          (k_proj): GeneralQuantLinear(in_features=5120, out_features=5120, bias=True)
          (o_proj): GeneralQuantLinear(in_features=5120, out_features=5120, bias=True)
          (q_proj): GeneralQuantLinear(in_features=5120, out_features=5120, bias=True)
          (v_proj): GeneralQuantLinear(in_features=5120, out_features=5120, bias=True)
        )
        (mlp): LlamaMLP(
          (act_fn): SiLUActivation()
          (down_proj): GeneralQuantLinear(in_features=13824, out_features=5120, bias=True)
          (gate_proj): GeneralQuantLinear(in_features=5120, out_features=13824, bias=True)
          (up_proj): GeneralQuantLinear(in_features=5120, out_features=13824, bias=True)
        )
        (input_layernorm): LlamaRMSNorm()
        (post_attention_layernorm): LlamaRMSNorm()
      )
    )
    (norm): LlamaRMSNorm()
  )
  (lm_head): Linear(in_features=5120, out_features=32000, bias=False)
)

It looks like this:
❯ python export.py l70b.act64.bin TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ 3b2759aac1962b01959765a7f2918b09feda2680
Downloading model.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 36.7G/36.7G [10:26<00:00, 58.5MB/s]
CUDA extension not installed.
LlamaForCausalLM(
  (model): LlamaModel(
    (embed_tokens): Embedding(32000, 8192, padding_idx=0)
    (layers): ModuleList(
      (0-79): 80 x LlamaDecoderLayer(
        (self_attn): LlamaAttention(
          (rotary_emb): LlamaRotaryEmbedding()
          (k_proj): QuantLinear()
          (o_proj): QuantLinear()
          (q_proj): QuantLinear()
          (v_proj): QuantLinear()
        )
        (mlp): LlamaMLP(
          (act_fn): SiLUActivation()
          (down_proj): QuantLinear()
          (gate_proj): QuantLinear()
          (up_proj): QuantLinear()
        )
        (input_layernorm): LlamaRMSNorm()
        (post_attention_layernorm): LlamaRMSNorm()
      )
    )
    (norm): LlamaRMSNorm()
  )
  (lm_head): Linear(in_features=8192, out_features=32000, bias=False)
)
writing tok_embeddings...
Regular
torch.Size([32000, 8192])
Regular
torch.Size([8192])
...

Give this version of the script a shot: https://gist.github.com/rachtsingh/17387f86a5d34cdcf495537610ef0b62
I'll try to get it merged in the next patch.
Just to check for others - do you have ExLlama installed? I think this line means that your QuantLinears are ```auto_gptq.nn_modules.qlinear.qlinear_exllama.QuantLinearinstead of theGeneralQuantLinearI see, and then the classname check triggers. You can also just patch that one line ofexport.py` if you'd like.

Yes - that fixed it - thank you!
Do not have ExLlama installed as far as I know...

When I go to run the bin generated with the new script, I am getting this exception:
$ target/release/llama2_rs -c l70b.act64.bin -t 0.0 -s 11 -p "The only thing"
thread 'main' panicked at src/constants.rs:86:9:
assertion `left == right` failed
  left: 8192
 right: 4096
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I've compiled with the following config, which I think is correct from the README.md:
"--cfg", 'model_size="7B"',
"--cfg", 'quant="Q_4"',
"--cfg", 'group_size="64"']

@timfpark I'm getting the same error after following instructions on this thread - did you end up getting it working?


CASSANDRA-13325 configure which TLS protocols should be accepted

CASSANDRA-13325
PR just to help for review.  This is based on the top of CASSANDRA-16152, CASSANDRA-1615 and CASSANDRA-16144 which all need to land still.

Thanks for the review, rebased and pushed up nits.


Battery module rewrite

Using udev
Will closes #229 #237

This should be an added module/mode because not everyone has upower

At the moment, if a battery is not present, the only thing the module does is complain in the log:
[warning] module battery: Disabling module "battery", No batteries.

May I suggest that that module present itself in a deliberately "broken" state, rather than silently failing, in order to urge the user to resolve the issue?


Issue: Add dynamic year in the Copyright section

In the copyright section of the website, it shows a hard-coded value of 2022. Instead, a function needs to be added in order to fetch the current year and display the same.
Image for reference:

I would like to work solving this issue.
Please assign me the issue under GSSoC'23.

make sure to add issue #45

make sure to add issue #45

Yeah... Added 👍
Please have a look - #56


Add Clubstep x Angry Birds Theme (GD Mashup) by yoot

Song Name
Clubstep x Angry Birds Theme (GD Mashup)
Artist Name
yoot
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=a8SyA0fTp-M
Direct File Link
No response
Song ID
13
Extra
the funny (ALL CREDITS TO YOOT FOR THE SONG!)

its still relevant

accept


Move from EC2 to a container-based workload

Right now we need to maintain EC2 worker instances for processing which isn't ideal since weird errors that occur during processing can propagate to cause the entire host to stall.
Ideally, we would move to a workload based solution like Fargate so that each package is installed in a totally isolated environment. Most seem to support SYS_PTRACE which is required for sysdig to work. It'll just be a matter of figuring out how to make it work.

To make sure I understand your idea:

One container would start up in something like fargate
The entrypoint there would be a binary we control
This binary would setup the necessary monitoring (tcpdump, sysdig, ptrace, etc.)
This binary would execute the package installation as a subprocess
This binary would parse/upload the resulting data

Is that the rough idea?

I can see a few options. I guess I considered each package being executed as a "task", where a task included setting up the monitoring and installing the package in a separate container.
The specifics of this are still up in the air. Ideally, we'd install the package in its own container and do all the monitoring out of band. Right now, that's done at the host-level, but it's possible that we could construct some kind of container workload that sets up the monitoring for us (e.g. a tcpdump container) and then does the package installation.
Alternatively, we could just have the entire task use our binary as the entrypoint, and it could setup the monitoring and execution, like you suggested. Kind of like a docker-in-docker situation or something.
I'm definitely open to ideas!

I agree with your points, and I think there's probably a larger design discussion worth having here.

The specifics of this are still up in the air. Ideally, we'd install the package in its own container and do all the monitoring out of band.
Yup, this sounds ideal.

Right now, that's done at the host-level, but it's possible that we could construct some kind of container workload that sets up the monitoring for us (e.g. a tcpdump container) and then does the package installation.

I'm having a hard time imagining how this would work, given the limitations of the container hosting platforms I've seen (Fargate, Cloud Run, etc.). Most restrict to one container, or don't allow the full host access that would be required for one container to start up and monitor the others.
I think we might also want to add support for Windows/Mac environments eventually, since installations could/do behave differently in different environments.


[Question]:  Got exception during eval Expected tensors and new_tensors to have the same type but found  (Tensor, Tensor) and Tensor

请提出你的问题
Hi there,
I recently got into a issue when using a trained ernie-layout model for inferencing, it throws the above assertion error as shown in the title, there is no error during the training as I see and it all goes good,  and the error seems to be thrown by the _helper.py in the xxx/paddlenlp/trainer/utils/  folder.
 Its causing problem for me if I feed a few imgs with some questions, and they will just skip that img if such error occurs, so wondering what is the cause of this error, thanks. a lot for the great help

Will you please paste the code used for inference

Will you please paste the code used for inference

Hi guosheng,
yes,  thx for getting back, the inference code I use is the run_mrc.py script which is the same used for training,  but in the inference phase, I just use -do_predict instead of -do_train and -do_eval .


Is the .onoin down for Tor users?

Tor onion may be down again? I'm getting:
$ keybase login
▶ ERROR unexpected error in Login: API network error: Get http://keybase5wmilwokqirssclfnsqrjdsi7jdir5wy7y7iu3tanwmtp6oid.onion/_/api/1.0/merkle/root.json?c=1&last=22975350&skip_last=1: socks connect tcp <IP_ADDRESS>:9050->keybase5wmilwokqirssclfnsqrjdsi7jdir5wy7y7iu3tanwmtp6oid.onion:80: unknown error host unreachable

Looks down to me.

Back in 2022, @heronhaye resolved #24477. Maybe they can bring it back again?


https://is.gd/myatko

https://is.gd/myatko

@kyawthusan007 What's this? Please delete whatever that link is


[Bug] Time series axis labels are overlapping

Version
5.3.1
Link to Minimal Reproduction
https://codepen.io/flo_core/pen/XWVmmNE?editors=0011
Steps to Reproduce
Create a chart with time series that has axis labels set a small chart width
Current Behavior
The auto generated labels overlap. They do not overlap when the chart is wider.
Any settings to interval etc. don't seem to make a difference.

Expected Behavior
The chart only shows the labels that fit on the axis without overlapping.
Environment
- OS: macOS Monterey
- Browser: Chrome 96

Any additional comments?
The app I'm building will show very dynamic data for multiple hours within a day or multiple days etc, so I'd be happy if ECharts could take care of this for me.
In my specific case I would want to use a formatter fn for the labels. But then also it doesn't prevent overlapping as it does for type category.

The issue still exists in 5.4


Add lookup-only option

Description
Add an advanced option to skip downloading the cache entry.

Note
Requires https://github.com/actions/toolkit/pull/1286
This PR currently links a custom version of actions/toolkit with the PR changes to be able to test it.

Motivation and Context
Fixes #901
Fixes #831
https://github.com/actions/cache/discussions/1020#discussioncomment-4332778
https://github.com/actions/cache/discussions/1020#discussioncomment-4341251
If dependency install / cache setup and the actual tests are split across multiple jobs, it's often unnecessary to restore the cache if an exact cache-hit occurred. Similarly, if the cache is created from scratch, it's only necessary to know if a cache entry already exists.
Using lookup-only in these cases saves time and resources, especially for larger caches which don't need to be restored.
How Has This Been Tested?
Added test case and run a test workflow using the feature branch.
Screenshots (if appropriate):
--
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (add or update README or docs)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hi @cdce8p, 👋🏽
We had an internal discussion within our team and we felt like this feature might affect the extensibility of the code and feel that having a new action for the same (something like check as suggested by some users) would make more sense from maintenance perspective.
For now we have added the work needed for this new action in our backlog and we will pick this up in the future. In the meantime, if you would want to contribute for the same, you are welcome to do so. :)
Thanks for your contribution, we really appreciate your efforts here. ❤
We can go ahead with the other PR of yours. I have requested a small test case addition in the same.

Hi @kotewar,
thanks for the update. After the other PR was done, I took some time today to think about this one some more.
I can understand your point about maintenance. So I did implement a separate new check action. However while writing it and especially the readme, I noticed something interesting. The outputs provided by the current restore actions are exactly the ones I would have chosen for the check one as well. To the point that the final implementation is fairly similar to the approach here, just not with a separate input but a dedicated action instead. That action just uses the extended restore implementation.
Furthermore, it's worth to consider the main use case again and what from the user perspective might be a good solution.
Use case
The main use is probably in a build job to check if a cache entry exists and, if not, to build and save a new one. This is especially useful if the cache doesn't change much over time while also being quite large >500 MB. Thus the new action would help save the time needed to restore (download + unzip) the cache that wouldn't get used anyway, since tests are in a separate job(-matrix).
This would probably look something like this. Note that it's basically necessary to duplicate all inputs from the initial cache action to cache/check and later cache/save. Additionally, a new cache-hit != 'true' check must be added to make sure we don't try to write to an existing key. AFAICT that's also the workflow proposed by MartijnHols/actions-cache in the Cache build output and skipping build section. I believe that might be where the proposal originally came from.
 build:
   steps:
     - uses: actions/checkout@v3

-    - users: actions/cache@v3
+    - users: actions/cache/check@v3
       id: cache-check
       with:
         path: path/to/dependencies
         key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

     - name: Build
       if: steps.cache-check.outputs.cache-hit != 'true'
       run: /build.sh

+    - uses: actions/cache/save@v3
+      if: steps.cache-check.outputs.cache-hit != 'true'
+      with:
+        path: path/to/dependencies
+        key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

 test:
   ...

How would that be different to the input parameter? As the lookup-only input is handled by the cache action directly, there is no need to create an additional step and duplicate inputs.
 build:
   steps:
     - uses: actions/checkout@v3

     - users: actions/cache@v3
       id: cache-check
       with:
+        lookup-only: true
         path: path/to/dependencies
         key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

     - name: Build
       if: steps.cache-check.outputs.cache-hit != 'true'
       run: /build.sh

 test:
   ...

Conclusion
I can fully understand the maintenance argument, tbh I don't know how other user would use it in their workflows. However, just from my perspective I would probably prefer to use just lookup-only: true. It's simpler and less error prone. There could be an argument to doing both actually. The separate check action is certainly more extendable so if other inputs / outputs only for it need to be added, that would be the way to go. Simultaneously, the lookup-only approach is likely the easiest for the most common use case and could be limited to support just that.
To make it easier to compare both, I've rebased this PR as well.
In any case, both approaches depend on some ground: https://github.com/actions/toolkit/pull/1286
--
I'm interested to hear your opinion on this.

@cdce8p,
Okay I am in agreement with the last comment. Most use cases I saw wanted to do something when the cache doesn't exist. If they want to save the cache, they can use the cache action and if they want to do something else or not do anything, they can use the restore action with the lookup-only option
Did I understand it correctly?
And talking of the extensibility, if we feel this could be breaking in the future, we might have to remove it and do a major release instead with a different set of inputs.
For that reason, shall we instead add an environment variable like we have for SEGMENT_DOWNLOAD_TIMEOUT_MINS so that we can be sure about the extensibility and then?
I am also discussing this internally with my team, but want to get your views on the same.

@cdce8p, Okay I am in agreement with the last comment. Most use cases I saw wanted to do something when the cache doesn't exist. If they want to save the cache, they can use the cache action and if they want to do something else or not do anything, they can use the restore action with the lookup-only option
Did I understand it correctly?

Yes, exactly.

And talking of the extensibility, if we feel this could be breaking in the future, we might have to remove it and do a major release instead with a different set of inputs. For that reason, shall we instead add an environment variable like we have for SEGMENT_DOWNLOAD_TIMEOUT_MINS so that we can be sure about the extensibility and then?

From what I've seen the use case outline above is the only one I've seen (so far). If someone really wants some other options, I feel doing something like #1095 in the future, in addition to the lookup-only option, might be the better choice. "Make the common case easy, and the edge case possible."
As for the idea to use an environment variable. I'm not sure this would be a good user experience. SEGMENT_DOWNLOAD_TIMEOUT_MINS works as env variable since it applies to all cache steps in a workflow equally. In contrast lookup-only will probably only be used in a few select cases. Users who would benefit from it likely even have multiple different caches per job (my use cases have).  As env variable there is the risk it might get misused accidentally, e.g. added to the workflow env and applied to all cache actions even if that wasn't planned. The correct usage would thus require it to be added to the step env individually. Adding lookup-only: true is just easier and would be a better UX IMO.

I am also discussing this internally with my team, but want to get your views on the same.

Thanks for keeping me in the loop here and valuing my opinion! Appreciate that ❤

@kotewar Just wanted to check, are there any updates?
It would be awesome if we could get this over the finish line soon. Especially as not much work is left. Please let me know if I can help in any way.

Sorry, I was looking into another issues and forgot about this one.
I've approved the toolkit PR. Let's get it released first and then we can release the cache action.

Hi @cdce8p,
I was testing the action, and found that the log says cache restored, I think that gives wrong info to the user as in the earlier logs we say skipping download
Lookup only - skipping download

Cache restored from key: key1

I was thinking it will better if we print something else or don't print the restored log when its a lookup-only case.

Hey @cdce8p 👋🏽
Thanks a lot of your contribution and apologies for the delay in reviewing.
I've released the new version v3.3.0 to marketplace and also tagged v3 to the latest version.
Thanks again for your great work, we appreciate it. 😊 ❤

Thanks @kotewar ❤