Multiple transactions by single request

Hi, for a single request I received 34Eth.
Eth address 0x2d52826fB7cC60ecEBB9aF8e683B8F30e95f592a

That must have been your lucky day ! :) The faucet only drips 1 ETH a time.


Interpreter & Executor & MPP unit test framework

Enhancement

Since there is no unit test for the Interpreter module, Interpreter test framework aims to supplement the content of the unit test, improve the stability of the module, and find more hidden bugs at home.
TiFlash planner needs to rely on unit tests to ensure the quality and progress of development during the refactoring process.
User can mock input columns and feed them into the "Execution streams(BlockInputStreams in TiFlash)", then they can test executors(except MPP related logic) of TiFlash locally.
Further more, MPP related tests will be supported.
When developing more features in the future, good unit testing can be used as the basis for development to further improve the efficiency and quality of code development.

Non MPP tests development progress:

[x] #4610
[x] #4632
[x] #4706
[x] #4742
[x] #4788
[x] #4911
[x] #4858
[x] #5041
[x] #5021
[x] #5262
[x] #5295
[x] #5243
[x] #5347
[ ] #5345
[x] #5432
[ ] #5469
[x] #5510
[x] #5534
[x] #5419
[x] #5543
[x] #5305
[x] #5889 add test log when failed.
[x] #5957
[x] #5787
[x] #5895
[x] #5915
[x] Test more types of executors[WIP].
[ ] Support more expressions to test.
[ ] More user friendly exception throw.
[x] Check the legality and correctness of user input.
[x] Add some easy to use template to write tests.
[x] When result is wrong, print more user friendly message to help debug.
[x] Add some built-in input columns for user to generate a bunch of tests.
[x] Generate columns with different types and size. #5743
[ ] Generate columns following different data distribution.
[x] Support regression test like this https://github.com/risinglightdb/sqlplannertest-rs. Here is the detail https://github.com/pingcap/tiflash/issues/6676
[x] A document to demonstrate how to use the test framework.
[ ] Bind test framework with google bench.
[x] New executor should implement Serializer. New BlockInputStream should implement appendInfo().
[ ] Improve the speed of tests.
[ ] A test generator like sqlsmith.(Just for fun)
[x] #6160
[x] #6561
[x] #7059

MPP tests development progress:

[x] #5369
[x] #5450
[x] #5573
[x] Orchestrate MPP Tasks.
[x] Get task status of each TiFlash service. #5732
[x] Mock Storage.  #5573
[x] #5732
[ ] Write TPCH queries in the framework!

Run with storage layer

[x] MockStorage with StorageDeltaMerge. #6561
[x] Support push down filter test #6573

Feel free to ask me anything about the Test Framework.

Looks like the job is done


Add more custom attributes

Indeed the Personio API is messy. Adding some more attributes.

Thanks for your contribution @augusthorlen0
I could not test it manually myself (we don't have this data setup in personio on our instance) but since we're just dealing with schema here I trust this makes the tap better!


find the maximum and minimum elements in an array.

Write a program in C to find the maximum and minimum elements in an array.
Test Data :
Input the number of elements to be stored in the array :3
Input 3 elements in the array :
element - 0 : 45
element - 1 : 25
element - 2 : 21
Expected Output :
Maximum element is : 45
Minimum element is : 21

I would like to work on this issue.
ISHA BAVISKAR FY COMP


Problem in tests with variables

Traceback (most recent call last)
nitest.nim(97)           nitest
nitest.nim(9)            run
ni.nim(783)              eval
ni.nim(762)              evalDo
ni.nim(743)              eval
ni.nim(634)              canEval
ni.nim(638)              canEval
ni.nim(338)              lookup
ni.nim(328)              lookup
ni.nim(334)              lookup
niparser.nim(197)        lookup
tables.nim(302)          []
tables.nim(110)          []
Error: unhandled exception: key not found: x [KeyError]
TEST FAILED

Not sure exactly what that was, but I pushed some more work and it works now. :)


SyntaxError: Illegal break statement

I try my code here:https://raw.githubusercontent.com/Jennal/LuaUtils/master/src/Oop.lua
Click Compile & Run, get the SyntaxError: Illegal break statement
Can you fix this?

This is a hard work now, cause currently we use function to make variables in correct block.
You can try #4 at luajs.org, compile can give result, but break will be in a function:
    do
    {
        l.__call(l._f(function()
        {
            var a$2 = 1;
            b$1 = l.__add(b$1,1);
            if ((l.__eq(b$1,3)))
            {
                break;
            }
        }),[]);
    }while (!(l.__eq(l.__get(_ENV,"a"),1)));

This is why thing happens.
I think it would be a simple way to target to ES2015(use let instead of var), and use babel to transform it into ES5 version.
Or we can just learn the way babel do with let, and rewrite it in luajs.
I wrote lua.js in old days(2 years ago). I learned much in these 2 years. I think maybe I should rewrite it in modern ways(commonJS, webpack, ES6, etc...), but I didn't have time in these days.

The other reason to rewrite lua.js is we can use Symbol to optimize the way that metatable works. This could make lua.js run 25%-100% faster.

Thank you for you replay. But I think this is a important issue that must be resolved, or lua.js become useless, because break is in common use.
I have an idea to easily solve this issue, you could try this:
do
{
    var isbreak = false;
    isbreak = l.__call(l._f(function()
    {
        var a$2 = 1;
        b$1 = l.__add(b$1,1);
        if ((l.__eq(b$1,3)))
        {
            return true;//break
        }
    }),[]);
    if (isbreak) break;
}while (!(l.__eq(l.__get(_ENV,"a"),1)));

Just translate break into return, and check the return value after the block.

This should be fixed in recent commits. I'll update web version later.


Fix problem with too long stream error formatting.

Add overflow-wrap rule for long stream names
Linked to #2596
Screenshots attached in issue.

Automated message from Dropbox CLA bot
@TomaszKolek, it looks like you've already signed the Dropbox CLA. Thanks!

It looks like this has some Travis CI failures due to lint?
@brockwhittaker can you review?

@timabbott sorry for that. Fixed!

Looks good in all cases!

@TomaszKolek it looks like your lint fix was in the wrong commit (third commit rather than second); I went ahead and fixed that (and the too-long commit message) and merged this.  Thanks @TomaszKolek!!

Oh, also I noticed you put the new #adminstration CSS in zulip.css; that belongs in settings.css (moved it before merging).


Missing cacert from window build (jdk8u172-b11)

Hello,
Actually the file cacert  for the windows build is empty, ie:
jdk8u172-b11/jre/lib/security/cacert
Everything is ok for mac / linux builds, but not windows.
Is it possible to get a new release build with the certificate file?
Thanks

FYI @jefrajames - tagging you in this item so you can track the status as we'll close the OpenJ9 issue

I encountered this same issue last.  We were trying to do maven builds, as part of a lab for a conference.  Since maven was trying to connect to the maven repo it failed on the SSL handshake since the cacerts weren't present.  I had to copy the certs from a linux build to get the lab to work... so +1 for fixing this.

Hit this same problem. Built fine on oracle 172. Switched to openjdk 171, still built fine. Then a few days later a colleague added a new dependency and wham! maven fell over as it couldn't pull an artifact. This is a breakage.
Note that ubuntu 18.04's openjdk build (not adopt) has similar issues - there I ended up copying the cacert file from an oraclejdk... (in both cases format was old style not java 9/10 for the keystore)

Built fine on oracle 172. Switched to openjdk 171, still built fine.
@planetf1 Can you clarify where "openjdk 171" came from that you're having an issue with please? The release builds at adoptopenjdk.net are 8u172 not 8u171.

I said '71' as I assumed the 71 in the bad version string (another issue open on this) was a truncated 171, but perhaps not.
MacOS
13:52 $ java -version
openjdk version "1.8.0-adoptopenjdk"
OpenJDK Runtime Environment (build 1.8.0-adoptopenjdk-jenkins_2018_05_19_02_01-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)

It's labelled jdk8u171-b11 when downloaded - yet it's unclear how to resolve that against a command I can run in the installed environment to show what is installed. there should be some match!
In full:
13:54 $ java -XshowSettings:properties
Property settings:
awt.toolkit = sun.lwawt.macosx.LWCToolkit
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
gopherProxySet = false
java.awt.graphicsenv = sun.awt.CGraphicsEnvironment
java.awt.printerjob = sun.lwawt.macosx.CPrinterJob
java.class.path = .
java.class.version = 52.0
java.endorsed.dirs = /Users/jonesn/java/jdk8u172-b11/jre/lib/endorsed
java.ext.dirs = /Users/jonesn/Library/Java/Extensions
/Users/jonesn/java/jdk8u172-b11/jre/lib/ext
/Library/Java/Extensions
/Network/Library/Java/Extensions
/System/Library/Java/Extensions
/usr/lib/java
java.home = /Users/jonesn/java/jdk8u172-b11/jre
java.io.tmpdir = /var/folders/fb/mzlmglkd11g00z2wgc4m15nw0000gn/T/
java.library.path = /Users/jonesn/Library/Java/Extensions
/Library/Java/Extensions
/Network/Library/Java/Extensions
/System/Library/Java/Extensions
/usr/lib/java
.
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.8.0-adoptopenjdk-jenkins_2018_05_19_02_01-b00
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.8
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.8.0-adoptopenjdk
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.8
java.vm.vendor = Oracle Corporation
java.vm.version = 25.71-b00
line.separator = \n
os.arch = x86_64
os.name = Mac OS X
os.version = 10.14
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path = /Users/jonesn/java/jdk8u172-b11/jre/lib/resources.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/rt.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/sunrsasign.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/jsse.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/jce.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/charsets.jar
/Users/jonesn/java/jdk8u172-b11/jre/lib/jfr.jar
/Users/jonesn/java/jdk8u172-b11/jre/classes
sun.boot.library.path = /Users/jonesn/java/jdk8u172-b11/jre/lib
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeBig
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = unknown
user.country = GB
user.dir = /Users/jonesn/Downloads
user.home = /Users/jonesn
user.language = en
user.name = jonesn
user.timezone =

This issue was moved to AdoptOpenJDK/openjdk-build#478


ENH: chunks=None

Add support for chunks=None, which sets chunk shape to array shape?

Would this make it a change in current behavior as it is already None?

I think I want to avoid changing the current behaviour. I haven't thought
this through thoroughly, but I was wondering about setting the default to
chunks=True, which means auto-chunking (which is the current behaviour).
Then if the user explicitly states chunks=None that means chunk shape
equals array shape.
On Tuesday, January 24, 2017, jakirkham<EMAIL_ADDRESS>wrote:

Would this make it a change in current behavior as it is already None?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/zarr/issues/106#issuecomment-274890875, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8Qu_BnNpsjPdkAOhyQDi3Csqx60kiks5rVkHFgaJpZM4Lsdvx
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721

To be fair, I do think this proposal results in a better default.
Just thinking of the right way to deprecate this. Normally adding a warning about chunks=None would be ok, but it is the default too. So that could get really noisy. Maybe using a decorator that checks for chunks being explicitly set or doing some introspection of the arguments passed in.

FWIW I think it would be OK to just change the default to chunks=True and
include some documentation about the change in the docstrings and release
notes. I don't think anyone will have been explicitly passing chunks=None
before now. The behaviour when no chunks argument is specified by the user
(autochunking) will be unchanged.
On Tuesday, January 24, 2017, jakirkham<EMAIL_ADDRESS>wrote:

To be fair, I do think this proposal results in a better default.
Just thinking of the right way to deprecate this. Normally adding a
warning about chunks=None would be ok, but it is the default too. So that
could get really noisy. Maybe using a decorator that checks for chunks
being explicitly set or doing some introspection of the arguments passed in.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/zarr/issues/106#issuecomment-274901798, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8QjdRz4b4tXCDJbb5ebfDanMwKFRUks5rVkqigaJpZM4Lsdvx
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721


[Question]: Average query time is 25 seconds for me

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi all,
I am having fun with LLAMA index and now trying to make it more efficient.
I am using a bit older version, but even if I upgrade the time improves just a bit.
I am happy of the answers but the average query time is 25 seconds using OpenAI.
Any suggestion? Do you advise any specific model? My goal is to retrieve fast from documents
I save the index by project and then load it:
index = GPTSimpleVectorIndex.load_from_disk(projectId + '.json')
results = index.query(prompt)
message = results.response

text-davinci-003 (the default) is definitely slower than using something like gpt-3.5
Also in the older versions of llama-index, the default chunk size was quite a lot bigger (3900 vs. 1024 now), so newer versions of llama-index are a bit faster (which you noticed)
The main bottlenecks are
a) how many LLM calls the query makes (default settings with newer versions of llama-index should be 1 llm call)
a) how much text you send
b) how much text the model generates and
c) which LLM you use

Going to close for now! Feel free to reach out on the discord with any more questions


Idea: Switch to Microsoft's cookie banner JS

Improvement Idea:
Today this is statically analyzed at build time and added to the sit... This alas isn't going to pass the CELA audit, so we need to switch to use the JS at runtime - hopefully I can figure a way to make this non-blocking and unintrusive.

Fixed by #772


Delete mosrs/nciws py and drop nciws-auth

Closes #40

Merge. Tag as v0.6.0 in master branch.

Merge. Tag as v0.6.0 in master branch.


Release v1.5.3 is missing source distribution

In the latest release, the source distribution was not uploaded along with the wheels: https://pypi.org/project/cvxpy/1.5.3/#files.
This does not impact me, I just thought I'd report it as I guess some distributors will not be able to package this release without source files.

Should be closed in #2585 , thanks for raising this @jonathanberthias . I initially didn't know why this was happening, but now we realized that we deleted action config behavior while removing support for Python 3.8.


ARROW-3942: [R] Feather api fixes

Some fixes  to follow up open #3043, and added the columns argument to read_feather that can be:

character vector
integer vector : 1-based in R
NULL: to get all columns (the default)

At the moment read_feather returns an arrow::Table that the user can later convert to a data frame with as_tibble().
Should this be done automatically ? Like in pyyarrow ?

I had suggested having an as_tibble = TRUE (or as_arrow = FALSE) argument in read_feather to preserve the default behavior of feather::read_feather. Thoughts?

Then I suppose it would also need use_threads. This only apply to the conversion right ?

Reading to an Arrow table is zero-copy when the input is a memory map -- the use_threads is only for parallelizing conversions to pandas. Have you looked at parallelizing the equivalent conversions in R? https://issues.apache.org/jira/browse/ARROW-3315 (there is a companion issue for parallelizing the other direction)

Not yet. at the moment focusing on the vignette and fixing things independent pr as needed

Build fails due to
0.78schecking Rd cross-references ... WARNING
Missing link or links in documentation object 'read_feather.Rd':
  ‘feather_table_reader’
See section 'Cross-references' in the 'Writing R Extensions' manual.
checking installed package size ... NOTE
  installed size is 11.9Mb
  sub-directories of 1Mb or more:
    libs  10.0Mb
    R      1.7Mbchecking S3 generic/method consistency ... NOTE
Found the following apparent S3 methods exported but not registered:
  print.integer64 str.integer64
See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
manual.

merge after fixing this

Thank you. merging


Discounts on Member Groups

All,
I'm trying to create a Discount rule for a specific Member Group but it seems to be that uWebshop is always applying the Discount rule. It doesn't matter if a visitor is logged in or not.

Somebody?

I'm also experiencing this issue as well.  MemberGroupDiscount just doesn't seem to take the selected member groups into account at all.

Make sure you are not logged in in the Umbraco Backend when you try this.
Let us know if something still isn't right.

Hi Arnold, thanks for the quick response.
Unfortunately I'm still having this issue after logging out of the backend.  I tried in an incognito window as well, just in case something had been cached in my browser.
I've even tried deleting the discount entirely, and I still get the shipping set to £0.00 (should be £5.00 normally).

Hey Arnold, any further ideas on this?
I've tried logging out of the backend, completely tearing down my TEMP folder, changing the version on ClientDependancy, recycling the app pool, using different browsers, deleting the discount and creating a new one, re-assigning MemberGroups...
I'm still getting my "FreeShipping" MemberGroup applied to every single order, regardless of whether there is a user signed in or not, or the MemberGroup they belong to if they are signed in.
I've checked in the uWebshopOrders table in the database, and every single item has the following in the orderInfo field.  I've got no idea how it's getting there as none of the users are in either of these MemberGroups.
<Discounts> 		<OrderDiscount> 			<OriginalId>22484</OriginalId> 			<DiscountType>FreeShipping</DiscountType> 			<DiscountValue>0</DiscountValue> 			<RangesString /> 			<Condition>None</Condition> 			<NumberOfItemsCondition>0</NumberOfItemsCondition> 			<RequiredItemIds /> 			<MinimalOrderAmount>0</MinimalOrderAmount> 			<IncludeShippingInOrderDiscountableAmount>false</IncludeShippingInOrderDiscountableAmount> 			<MemberGroups> 				<string>Special Customers</string> 				<string>Staff</string> 			</MemberGroups> 			<AffectedOrderlines /> 			<Tags /> 			<OncePerCustomer>false</OncePerCustomer> 			<Id>22484</Id> 			<TypeAlias>uwbsDiscountOrderMembergroup</TypeAlias> 		</OrderDiscount> 	</Discounts>
Does anyone have any more suggestions on where to look for the cause of this?

@GShenanigan this is possibly a bug. I'm sorry we didn't have the time yet to properly take a look at it.
In my understanding if you have a membergroup on a discount, only things should happen when a member of that membergroup is logged in.
It would have been nice if there were 48 hours a day currently....

@ArnoldV I hear you!  Just never enough time. :-)
Yes, the behaviour I was expecting is as you have stated above: it should only apply when a member of that MemberGroup is logged in.
I'll let you know if I find anything out, and I've also mentioned this issue over on Our Umbraco in case there's any additional input from there: https://our.umbraco.org/projects/website-utilities/uwebshop2/uwebshop2-general-questions/67150-membergroup-discount-applying-to-all-users
Thanks!


Remove redundant files

The src/client/datascience/api/jupyterIntegration.ts file seems to be a dupe of src/client/jupyter/jupyterIntegration.ts. IIRC we wanted to remove src/client/datascience altogether. Also we don't seem to be using src/test/datascience/mockJupyterExtensionIntegration.ts.

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #14620 into main will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main   #14620      +/-   ##
==========================================
- Coverage   65.08%   65.07%   -0.01%
==========================================
  Files         541      541
  Lines       25377    25377
  Branches     3587     3587
==========================================
- Hits        16516    16515       -1
  Misses       8179     8179
- Partials      682      683       +1

Impacted Files
Coverage Δ

...t/jupyter/languageserver/notebookConcatDocument.ts
7.81% <ø> (ø)

...client/jupyter/languageserver/notebookConverter.ts
1.67% <ø> (ø)

.../jupyter/languageserver/notebookMiddlewareAddon.ts
3.84% <ø> (ø)

src/client/activation/languageClientMiddleware.ts
32.46% <100.00%> (ø)

src/client/common/utils/platform.ts
60.00% <0.00%> (-4.00%)
:arrow_down:

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 598d849...2d6bf2d. Read the comment docs.

@joyceerhl Should this go in the release branch as well?

Hmm, that's a bit odd. The language service stuff came in late so must have accidentally been merged back to datascience. I might have done that, will look at the history.

Actually no. I'm not seeing a mismerge. I think it was just on the DS removal I totally cleared the datascience directory, but at the same time there were language server changes in that directory, maybe in the release branch? So we ended up with the dupes in main.

@karthiknadig not strictly necessary, as this PR only removes some unused code. It doesn't alter behavior.


Fix debian packaging

Hi,
ive tried the make builddeb target on 1.7.1 tag to see it fail - so i've just updated the patches and the changelog - packages for me here.

For what it's worth, make builddeb target still fails the same on 1.8.0.

cherry-picking commit 968f144a40d7abf724a86a7f1eff948ad8a62ac4 in this PR on top of 1.8.0 git tag allows make builddeb to succeed.

I've updated the font_dir patch in 1.8.x and master branch.

Thanks ! You could have cherrypicked my commit to keep authorship.. just sayin', not a big deal :)

Oh, I did't used your patch. I've updates the patch while building new packages for the OSGeoLive DVD.
Patching patches is no fun :)


[BUG/Help] <[W ..\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The IPv6 network addresses of (Win202203021144.DHCP HOST, 55890) cannot be retrieved >

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
[W ..\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The IPv6 network addresses of (Win202203021144.DHCP HOST, 55890) cannot be retrieved (gai error: 11001 - ▒▒֪▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ).
Expected Behavior
[W ..\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The IPv6 network addresses of (Win202203021144.DHCP HOST, 55890) cannot be retrieved (gai error: 11001 - ▒▒֪▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ).
Steps To Reproduce

运行train.sh 出现错误

Environment
- OS: windows
- Python: 3.10
- Transformers:
- PyTorch: 2.0.1
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : true

Anything else?
No response

any update?

I met the same trouble, have any solution?


error during linking libarmnnTFParser.so

Cmake result

make result

How can I resolve it?

Hi @gunjupark, Could you please share your results with us.

Hi @gunjupark I hope you were able to get this working. Please let us know if you are still having problems.


Fix CVE-2020-26159 in oniguruma

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

Fixes CVE-2020-26159.
Change Log

Use the patch from upstream.

Does this affect the toolchain?

YES
NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/...

Test Methodology

Pipeline build id: xxxx

Release:        1%{?dist}

Please increment the release and update the changelog.

Refers to: SPECS/oniguruma/oniguruma.spec:3 in fabab9c. [](commit_id = fabab9cf641de9dd93e3659ca5cae39b82c82a49, deletion_comment = False)


Ability to mark a BinaryViewType as deprecated

Add a new method to BinaryViewType to prevent that view type from ever being selected when opening a new file, but permit loading from bndbs. Used to allow old bndbs to open when view types get retired.
Presumably also hide from the BinaryViewType lists.
Needed to avoid deadending DBs.

pushed to dev 2.1.2480


Update server-core-roles-and-services.md

Description:
As reported in issue ticket #5079 ("Role Services included in Server Core" incorrectly lists Remote Desktop Virtualization Host as included), the roles [Remote Desktop Connection Broker] and [Remote Desktop Virtualization Host] have been removed from Windows Server 2019 Core and can no longer be accessed without installing the Desktop Experience.
Thanks to @ryanhelmer for noticing and reporting this issue.
Changes proposed:

create a wrapped note saying " (Removed in 2019 Core)* "
add the removal note for both roles (RDCB + RDVH) in the table
add an asterisk at the end of the short text to indicate a further footnote
add footnote about the 2 roles removed in Windows Server 2019 Core

Ticket closure or reference:
Closes #5079

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

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

Sorry, it was a difficult day yesterday. I wasn't paying attention enough and made some mistakes in my branch updates.


Fix indentation in Ubuntu install doc

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Update icanhazip FAQ now that SSL is available everywhere

I am able to access all the icanhaz services using SSL, so it seems the comment about it partially available is no longer needed...?

Thanks for the reminder on getting this updated, @salty-horse. I'll merge this now but I actually need to update it now that it runs at cloudflare.


Set up firebase test lab to automate integration tests

CircleCi isn't able to run Android integration tests...only unit tests.
Here's a guide for setting up firebase test lab to handle emulated or real device integration tests:
https://medium.com/@ayltai/all-you-need-to-know-about-circleci-2-0-with-firebase-test-lab-2a66785ff3c2

Pinged @wileyj on slack asking if he can set up a firebase project for this and invite @friedger

Fixed by #74


Django

Update to Django 3.2
cc @will-moore

Conflicting PR. Removed from build OMERO-docs#1190. See the console output for more details.
Possible conflicts:

PR #2195 jburel 'Rtd'

common/conf.py

--conflicts

Looks good, thx 👍


Add google analytics

fixed by https://github.com/ScottLogic/logo-bricks/commit/98e30dc127103f15fb4780a167b915a2bd35d34d


How about custom schemes and syntax? (enhancement)

So I was just thinking about tkcode.. I am using it in my code editor..
I am just thinking is there a way to use custom syntax and schemes?
then users can create the json file with scheme and it would be helpful to both, the user and the creator..
and custom syntax definition? like sublime text, using regex?

Custom color schemes
You can create and load your own color schemes. Simply specify one when initializing CodeBlock or CodeEditor:
something = CodeBlock(highlighter="your_scheme.json")

You can find an example of how to create these schemes in the schemes folder.
Here are some ideas for what a color scheme looks like:
You can use the general option to modify the actual text widget. For example, the width of the insertion cursor, the background of the textbox, and anything else you can normally adjust on a text widget.
"general":
{
    "background": "# 343d46",
    "insertwidth": 1,
    "borderwidth": 0
},

In the selection section you can set the foreground and background colors of the selection
"selection":
{
    "background": "# 4e5a65",
    "foreground": "# d8dee9"
},

And in the syntax section, you can specify what color to use for each section. These names are the names of the pygments token, so they are so weird. You can find out what the tokens means in the source code or in the documentation.
"syntax":
{
    "Token.Keyword.Constant": "# c695c6",
    "Token.Name.Decorator": "# 6699cc",
    "Token.Comment": "# a6acb9",
}

little explanation:
Token.Keyword.Constant: True, False, None
Token.Name.Decorator: obviously a decorator
Token.Comment: a comment

Of course, you can not only change the foreground color, but if you specify only one color, not additional parameters, it will apply to it. Other things can be set up like this:
"Token.Literal.Number.Integer":
{
    "foreground": "# f9ae58",
    "background": "# 4e5a65"
},

The custom syntax definitions
I do not plan to implement this feature. It would be a lot of work, and since almost everything can be found among the lexers of Pygments, it wouldn’t really be worth it. However, if only a Pygments lexer is missing from support, you can also use them with
your_code_widget.lexer = pygments.lexers.YourLexer

Although you will be warned that it may not be fully supported. Of course with creating my own regex highlighter the syntax highlighting could be much more unique even per character, but I think Pygments are perfect for this highlight purpose.

I reopen this issue, because I found a way you can create a custom syntax.
First you make a lexer class, similar what Pygments has:
import re

from pygments.lexer import RegexLexer
from pygments.token import Comment, Name, String, Number, Punctuation

class WhirlDataLexer(RegexLexer):

    name = 'WhirlData'
    aliases = ['whirldata']
    filenames = ['*.whirldata']

    tokens = {
        'root': [
            (r'~.*$', Comment.Single),
<EMAIL_ADDRESS>Name.Other),
            (r'\'\$.*\'', Name.Variable),
            (r'\d(?:_?\d)*', Number.Integer),
            (r'::', Punctuation),
            (r'\'.*\'', String.Single),
        ],
    }

Then you just import your file, and use the lexer class like this:
code_block.lexer = WhirlDataLexer

I reopen this issue, because I found a way you can create a custom syntax.
First you make a lexer class, similar what Pygments has:
import re

from pygments.lexer import RegexLexer
from pygments.token import Comment, Name, String, Number, Punctuation

class WhirlDataLexer(RegexLexer):

    name = 'WhirlData'
    aliases = ['whirldata']
    filenames = ['*.whirldata']

    tokens = {
        'root': [
            (r'~.*$', Comment.Single),
<EMAIL_ADDRESS>Name.Other),
            (r'\'\$.*\'', Name.Variable),
            (r'\d(?:_?\d)*', Number.Integer),
            (r'::', Punctuation),
            (r'\'.*\'', String.Single),
        ],
    }

Then you just import your file, and use the lexer class like this:
code_block.lexer = WhirlDataLexer

WOAH! great!!


Upgrade to Vert.x 4.1.0, edge-common 4.1.0 EDGCONX-12

And okapi 4.8.0.

do you mind squeeze in some log statement changes as well?

change from info to debug? https://github.com/folio-org/edge-connexion/blob/master/src/main/java/org/folio/edge/connexion/MainVerticle.java#L97
should this one be error or info? https://github.com/folio-org/edge-connexion/blob/master/src/main/java/org/folio/edge/connexion/MainVerticle.java#L68

I've made a separate PR for this #23 .. Hope that's ok.


Fix Travis pinnings

Appears some pinnings for NumPy and pandas were coming loose in some cases. This switches to an explicit pinning file for the environment to enforce these version constraints always. Does a little tidying up afterwards.

Replacing this with PR ( https://github.com/dask/dask/pull/2185 ), which does the same thing for AppVeyor as well.


feat(state network): create StateContentValue type

What was wrong?
We didn't have any content-value types for the state network.
How was it fixed?
Created minimal version of all required types. More functionality will be added as they are needed.
To-Do

[x] Add tests
[ ] Clean up commit history and use conventional commits.

I still have to create test vectors and add tests, but would like some initial feedback.

Standardized tests go in this https://github.com/ethereum/portal-spec-tests repo

I converted test vectors to .yaml files and added them to the https://github.com/ethereum/portal-spec-tests repo.
However, I'm not sure how I can access them from this repo? I know how to add repo as a dependency, but not how to read files from there. Any advice?
I'm fine with merging this as is, and followup later

However, I'm not sure how I can access them from this repo? I know how to add repo as a dependency, but not how to read files from there. Any advice?

I don't know how the team will want to do this, but in my past lives as a developer, we added the tests repo as a git submodule, which requires that CI be setup to pull down the submodules so that the files are available during test runs.

I looked into it a little bit and I think the best options are

what piper suggested using a git submoduals
or using a cargo make task https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#tasks-dependencies-and-aliases which we could make when cargo test is run that portal-spec-tests is pulled

I haven't looked too much into git submoduals but ideally these tests are only pulled in if someone is using them aka running tests. So maybe this looks like a combination of both of the things I listed or just one of them.
I am :+1: for handling this in a follow up PR

I believe that git submodules are the best way forward, but I would definitely leave that work for a separate PR.

Going to merge this, let's iterate on it in future PRs.


Added OAK as webcam page

LGTM, the part with OBS is very interesting, not the cleanest solution but at least something works

I agree, it's a workaround until we get correct descriptors in place:)


PowerToys has been installed before and how to deal with it after removal to install successfully

Microsoft PowerToys version
PowerToysSetup-0.41.4-x64
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
PowerToys was installed before and then removed. Finally, after reinstalling, the following message appears. What should I do to install successfully?

✔ Expected Behavior
No response
❌ Actual Behavior
The following message appears

Other Software
No response

Hi @vicie70
Are you using junction points or RAM disks?
Related or duplicate of https://github.com/microsoft/PowerToys/issues/3115


laravel fix and auth working

Some fixes to laravel and working auth for now the endpoints are
/login [POST] email,password
/register [POST] name,email,password  password_confirmation
/logout [POST]
/getCurrentUser [GET]
And our api route is
https://sponge-climbing-adder.ngrok-free.app/api

Git


ngrx/store not working when loading hardcoded data.

I'm trying to use ngrx/store in my Angular app for hours and I can't figure out what I'm doing wrong. It seems like my store items never get updated.
Here is my Store interface:
export interface ItemStore{
    items: Item[];
}

Item is a custom object - here is the model:
export interface Item {
    id: number;
    name: string;
    description: string;
};

I have a service that acts as a central hub that contain the main 'items' array and a function 'loadItems()' that loads the data (called from another component):
@Injectable()
export class ItemsService {
     items: Observable<Array<Item>>;

     constructor(private http: Http, private store: Store<ItemStore>) {
          this.items = store.select<Array<Item>>('items');
     }
}

loadItems() {
    let initialItems: Item[] = [
        {
            id: 1,
            name: "Item1",
            description: "Description 1"
        },
        {
            id: 2,
            name: "Item2",
            description: "Description 2"
        }
    ];
    this.store.dispatch({ type: 'LOAD_ITEMS', payload: initialItems });
}

and here is my main app component that calls 'loadItems';
export class HomeComponent implements OnInit {
     items: Observable<Array<Item>>;

     constructor(private itemService: ItemService, private store: Store<ItemStore>) {
          this.items = itemsService.items;
     }
}

and the html I am using to test to see if 'items' is ever updated (it's a simple div that draws a specific number of buttons based on the size of items, which after running my code and loading the manual data should be 2):
        <div *ngFor="let item of items | async">
            <button type="button" pButton icon="fa-check" label=Item: {{item.description}}></button>
        </div>

Any idea what is going on? I'm completely new to ngrx/store and the tutorials I've read haven't been too helpful - they all seem to have syntax errors and are sometimes outdated.

May i see the app.module.ts file ?

@giwiro Here you go:
// <reference path="../../node_modules/angular2/typings/browser.d.ts"/>

import { CoreService } from "./services/core.service";
import { FileManagerComponent } from "./components/file-manager.component";
import { HomeComponent } from "./components/home.component";
import { AboutComponent } from "./components/about.component";

import { routing, appRoutingProviders } from "./file-manager.routing";

import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { HttpModule } from "@angular/http";

import { DataListModule } from "primeng/primeng";
import { ButtonModule } from "primeng/primeng";
import { DialogModule } from "primeng/primeng";
import { PanelModule } from "primeng/primeng";
import { AccordionModule } from "primeng/primeng";
import { TreeModule } from "primeng/primeng";
import { InputTextModule } from "primeng/primeng";
import { ConfirmDialogModule, ConfirmationService } from 'primeng/primeng';

import { mainStoreReducer, fileSetReducer } from "./state-management/reducers/file-manager-reducer";
import { StoreModule } from "@ngrx/store";

@NgModule({
    imports: [
        BrowserModule,
        HttpModule,
        FormsModule,
        routing,
        DataListModule,
        ButtonModule,
        DialogModule,
        PanelModule,
        AccordionModule,
        TreeModule,
        InputTextModule,
        ConfirmDialogModule,
        StoreModule.provideStore({ fileSetReducer })
    ],
    declarations: [
        FileManagerComponent,
        HomeComponent,
        AboutComponent
    ],
    providers: [
        CoreService,
        appRoutingProviders,
        ConfirmationService
    ],
    bootstrap: [FileManagerComponent]
})
export class FileManagerModule { }

I managed to get this working by doing the following (note - this is not how the ngrx/store tutorial explains it - I'm unsure why their instructions don't work for me):
export class HomeComponent implements OnInit {
     items$: Observable<Array<Item>>;

     constructor(private itemService: ItemService, private store: Store<ItemStore>) {
                  store.select('mainReducer')
                       .subscribe((data: ItemStore) => {

                if (typeof data != 'undefined') {
                    this.items$ = Observable.of(data.customObjects);
                }
            });
     }
}

and the reducer function:
export const mainReducer: ActionReducer<ItemStore> = (state: ItemStore, action: Action) => {

    if (typeof state == 'undefined') {
        state = initialState;
    }

    switch (action.type) {
        case LOAD_ITEMS:
            return {
                items: action.payload
            }
        default: {
            return state;
        }
    }
}


GH-15176: Fix various issues introduced in the asof-join benchmark by ARROW-17980 and ARROW-15732

Closes: #15176

@ursabot please benchmark lang=C++

Odd...ursabot scheduled the runs but gave me links to old buildkite builds.  Here are the correct links:
test-mac-arm: https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/2134
ursa-thinkcentre-m75q: https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/2126
@ElenaHenderson is this a known issue?

Both benchmark builds passed so I think this addresses the issue.

Ah, that makes sense.  Just a matter of reading more closely.  I'm going to go ahead and merge this so CI can be unblocked.  @rtpsw , if you have any concerns let's address in a follow-up.


[Bug]: Phantom Merge Conflict on Mobile

Describe the bug
On iOS, I have no local or staged changes. However, when I pull from the remote, I get an error saying there are Merge Conflicts. This should not be the case since there are no local changes. This is a problem because it does not pull the latest stuff, and I fear that if I make a change on mobile and push it, I'll lose all the data from other devices (see #558). The only remedy is to delete the vault and set it up from scratch.
I'm not sure how I got into this situation and I'm not able to reproduce it in a clean repo. However, I have kept my vault intact on mobile so I can run any tests and get more information if that will be helpful.
Screenshot attached

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
No response
Steps to reproduce

Open iOS app
Pull changes

Expected Behavior
Changes should pull successfully without saying there are conflicts.
Addition context
No response
Operating system
iOS
Installation Method
Other
Plugin version
2.20.5

You should be able to use the files app to make a copy of your vault with a different name. This would allow you to reset your vault so it is usable, while keeping a version for testing when somebody that maintains this gets back to you.

Great idea, thanks for the tip @Supetorus!


[otp/dv/sv] Align OTP image generation for all targets

We currently generate the OTP image in a different way for DV than for other targets (FPGA, Verilator). In DV, we call the OTP generation script as part of a pre-build command here. This uses the Hjson image configurations in the repository here.
For other targets, image generation is under Bazel control, and is NOT generated from the above Hjson files. Rather, it uses a Bazel rule with a hardcoded template here.
This should be aligned so that all targets use a common source of truth. After a quick conversation with the software team, it looks like the best course of action would be to move OTP image generation fully under Bazel control. I.e., the proposal is to:

[x] Enhance the OTP Bazel rule so that it can accept (potentially several) external Hjson descriptions for an image. This allows us to specify a base configuration and overlays defined in separate files (via the --add-cfg switch, see here). If nothing is specified, it may use a default (depending on the top-level, since they can have different OTP layouts).
[x] Ensure that the --img-seed, --lc-seed and --otp-seed arguments can be passed through the Bazel rule, too, so that we can retain the current re-seeding infrastructure in DV simulations. (done in #16052 and #16608)
[ ] Update the pre run commands in DV (see here) to invoke Bazel instead of calling the OTP generation script directly, similarly to how SW images are built before a simulation run (see here).

Note that the SW team is also working on a symbolic image frontend to support the configuration of OTP partition contents in a more convenient format. The current Hjson format can result in lengthy blobs that are difficult to read and maintain. See e.g. the alert configuration:
https://github.com/lowRISC/opentitan/blob/3db50d206f0289eb1c9e0c2d36d67c8b85bf1bc5/hw/ip/otp_ctrl/data/otp_ctrl_img_rma.hjson#L120-L138
The symbolic frontend will primarily be used for the SW partitions, and will act as a translation step that produces an intermediate Hjson file that can be piped into the existing OTP image generation script using the --add-cfg switch.
Finally, note that I labelled this as an M2 / P2 for now, but it is probably ok for this to slip into M3 if we don't get to it.
The alignment is however a requirement for M3.
@arunthomas @cfrantz @sriyerg @tjaychen @moidx @dmcardle @jon-flatley let me know whether this makes sense or if you have any concerns.

Moving this from comment from #15407
+1 to having a single source of truth in the long term so that it is easier to keep test cases in sync across targets (dv, fpga, verilator).
Moving things to Bazel has the benefit of being able to customize OTP images as part of test target definitions. I believe only ROM E2E tests running on FPGA/verilator are taking advantage of this. I assume that once we start running those tests in DV we will need to add support for this in dvsim.
@msfschaffner can you outline what we would be missing if we move these configs to Bazel? One thing I think it would be good to expose is the seed value as a DV configurable param. Are there any other things we are missing?
Here is some additional context on the DV side:
Current dv configuration
In the current DV target configuration, OTP images need to be predefined in the dvsim configuration. For example:

chip_sim_cfg.hjson: pre-run commands, e.g.

{gen_otp_images_cmd} \
              --img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_dev.hjson \
              --add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_creator_sw_cfg.hjson \
              --add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_owner_sw_cfg.hjson \
              --add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
              --out {run_dir}/otp_ctrl_img_dev.vmem \
              {gen_otp_images_cmd_opts}

hw/top_earlgrey/dv/env/chip_env_cfg.sv: Mapping to DV UVM params, e.g.

    otp_images[lc_ctrl_state_pkg::LcStRaw] = "otp_ctrl_img_raw.vmem";
    otp_images[lc_ctrl_state_pkg::LcStDev] = "otp_ctrl_img_dev.vmem";
    otp_images[lc_ctrl_state_pkg::LcStProd] = "otp_ctrl_img_prod.vmem";
    otp_images[lc_ctrl_state_pkg::LcStRma] = "otp_ctrl_img_rma.vmem";
    otp_images[lc_ctrl_state_pkg::LcStTestUnlocked0] = "otp_ctrl_img_test_unlocked0.vmem";

chip_sim_cfg.hjson: Request specific OTP configuration via parameter setting, e.g. +use_otp_image=LcStTestUnlocked0

    {
      name: chip_sw_csrng_lc_hw_debug_en_test
      uvm_test_seq: chip_sw_csrng_lc_hw_debug_en_vseq
      sw_images: ["//sw/device/tests/sim_dv:csrng_lc_hw_debug_en_test:1"]
      en_run_modes: ["sw_test_mode_test_rom"]
      run_opts: ["+sw_test_timeout_ns=15_000_000", "+rng_srate_value_min=15",
                 "+use_otp_image=LcStTestUnlocked0"]
      run_timeout_mins: 60
    }

Note: DV still has the ability to inject OTP values via backdoor, so there is still a chance values will not match across targets. The backdoor is required to optimize simulation time (otherwise it would take took long to run the same tests with the foundry database).
Moving to Bazel OTP targets
The following could be done to start aligning DV with FPGA build infra. We would have to make changes to DV infra to be able to consume the OTP image target.

chip_sim_cfg.hjson: Request specific OTP configuration via build target:

    {
      name: chip_sw_csrng_lc_hw_debug_en_test
      uvm_test_seq: chip_sw_csrng_lc_hw_debug_en_vseq
      sw_images: ["//sw/device/tests/sim_dv:csrng_lc_hw_debug_en_test:1"]
      otp_images: ["//hw/ip/otp_ctrl/data:otp_test_unlocked0_image"]
      en_run_modes: ["sw_test_mode_test_rom"]
      run_opts: ["+sw_test_timeout_ns=15_000_000", "+rng_srate_value_min=15"]
      run_timeout_mins: 60
    }

Note:  Currently, the colon after the sw_image target name (e.g. :1) indicates the image type:
  typedef enum {
    SwTypeRom,  // Ibex SW - first stage boot ROM.
    SwTypeTest, // Ibex SW - actual test SW.
    SwTypeOtbn  // Otbn SW.
  } sw_type_e;

Adding @sriyerg  since this is getting into DV land.
If we need to discuss this in more detail, perhaps it can be added to the next top-level tests agenda?
CC @timothytrippel

@timothytrippel mentioned that for dv, software tests already use the opentitan_functest action which already maps OTP dependency targets.
@timothytrippel  can provide more details on how the binaries are packaged.

A note about passing the seeds into the Bazel rule from #15407: https://github.com/lowRISC/opentitan/pull/15407#discussion_r998804151

Sorry for the delay, I just realized this issue was tracking the OTP image gen stuff for dvsim. Some updates, as part of addressing #14634 during the M2 sprint , I merged:

#16052: which enabled passing the --img-seed and --otp-seed parameters to Bazel's OTP image generation rule (which simply invokes the OTP image generation Python script), and
#16053: enables generating OTP images using Bazel in dvsim

Additionally, @msfschaffner recently submitted #16608, which should enable passing the --lc-seed parameter through the Bazel OTP image generation rule now too.
Now, Bazel can be used by dvsim to build OTP images with the correct build seeds. I have updated the above checklist to reflect these updates.
At this point, there are two mechanisms to generate / use OTP images in top-level tests in DV:

Use any of the 5 default OTP images generated by dvsim invoking the OTP image generation by script itself as a pre-run command, for which there are 5 images that are in different LC states, including raw, test_unlocked0, dev, prod, and rma. The rma image is the default image loaded if no other OTP image is specified in a test's dvsim configuration entry in the chip_sim_cfg.hjson file. To use the others, you can use the +use_otp_image=OtpTypeLcSt<state> plusarg, as shown here.
Use a custom Bazel-generate OTP image, that dvsim and the chip-level testbench can be made aware of by using the +use_otp_image=OtpTypeCustom plusarg and listing the OTP image Bazel target as in the sw_images list with the index 4 as shown here. (The index of 4 lets the DV testbench know the specific SW image is destined to be backdoor loaded in the OTP.)

Since Bazel can now replace the need for option 1, since we can define the same OTP images in Bazel rather than bake them into the chip_sim_cfg.hjson file, we could simplify things and remove the need for option 1. Then Bazel targets become the sole source of truth for all SW image. Lmk what you all think.

This is not required for Earlgrey M4 or M5. It is recommended for multitop support to help remove the current level of  complexity across execution environments. @johngt, I don't see a Multitop milestone, so moving to backlog for now. Thanks


Add leaknet.org

Important: Please read all instructions carefully.
Select the appropriate category for what this PR is about
This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[ ] The domain is in the correct alphabetical order
[ ] This site is not a ultra lightweight site
[ ] The following information is filled identical to the data file

- domain: leaknet.org
  url: https://leaknet.org
  size: 197
  last_checked: 2021-11-02

GTMetrix Report:

https://gtmetrix.com/reports/leaknet.org/wN2VIK45/

This site is ultra lightweight, won't be adding.


Revert "Fix timer manager debug code"

Reverts grpc/grpc#17185.
With further experiments this is not the correct way to solve this issue. Reverting.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences


Issue/etherscan links

Checklist:

[x] Test your work and double check you didn't break anything
[x] Update any relevant READMEs and docs

Description:
On listing detail page, added a link to etherscan to go alongside our link out to IPFS. Ideally we could extend this to purchases and reviews later.
Not a big deal and not for the 0.6.1 release, but just had this branch sitting around and knew I'd forget it if I didn't do a PR.

@wanderingstan @joshfraser I've updated this to resemble the purchase detail transaction link logic and resolved the merge conflict.

@micahalcorn writes:

when I follow the link on Rinkeby, for example, I get "Sorry, we were unable to locate a matching Contract ABI or SourceCode for this contract." Is that expected?

Yes, this is expected as we haven't published our code to etherscan here:
https://etherscan.io/verifyContract
This is further complicated by the fact that each of our listings is a contract. Not sure how etherscan deals with contracts that are generated by other contracts, but we should look into it.


Dont log the full user list to console on meeting series edit

On the meeting series edit, the full user list is logged to the javascript console:
https://github.com/4minitz/4minitz/blob/develop/client/templates/meetingseries/meetingSeriesEditUsersHelpers.js#L31
I'll submit a pull-request to remove that.

See #138


[AutoPR msi/resource-manager] New folder and version for MSI and Python

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5991

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/2954


Instability with multiple read / writes to Realm

I recently switched over from SQLite to using Realm - and I'm really enjoying the speed improvements, great work! I have found some instability while testing. I am asynchronously writing & updating to one Realm database in a  DISPATCH_QUEUE_SERIAL from multiple threads. When writing in the background I get a Realm reference by:
func getRealm() throws -> Realm {
        let realm = try Realm()
        return realm
    }

I found occasionally that the current realm was already in a write transaction, so I wrote a check:
func write(realm: Realm, query: (()->Void)) throws {
        if realm.inWriteTransaction {
            query()
        } else {
            realm.beginWrite()
            query()
            try realm.commitWrite()
        }
    }

I seem to get a bunch of errors when reading & writing as Realm cannot allocate memory:
Error Domain=io.realm Code=1 "mmap() failed: Cannot allocate memory" UserInfo={NSLocalizedDescription=mmap() failed: Cannot allocate memory, Error Code=1}
I also occasionally get EXEC_BAD_ACCESS when trying to open another Realm, in this code block (group_shared.hpp):
inline SharedGroup::SharedGroup(Replication& repl, DurabilityLevel durability,
                                const char* encryption_key):
    m_group(Group::shared_tag())
{
    open(repl, durability, encryption_key); // Throws

    upgrade_file_format(); // Throws
}

What am I doing wrong here? I really love the speed I am getting from Realm but the crashes are becoming problematic. Can I not do multiple reads and writes on the database? Should I have multiple Realm databases when doing a large number of reads + writes?
Thanks for your help!

Hi @amayne, it looks like the device on which you're running Realm in this case is unable to mmap the data Realm needs to perform operations on multiple threads. This can happen when a device is space-constrained, or when Realm files become large enough.
We explain a bit in our FAQ how Realm files can become larger than they should and how to mitigate that (link).
We've also discussed this in some past GitHub issues (#620, #1096, #1159).
The solution in this case is for the Realm initializer to report mmap failures in a recoverable way (#2269), and for different threads to share the same underlying region if it's already mmapped (realm/realm-core#838 and realm/realm-core#876).
Until we have those longer-term solutions, your best bet is to keep Realm files as small as possible (e.g. via compacting) and to run on devices that aren't space-constrained. We understand these are difficult constraints, which is why we're hard at work on the longer term solutions mentioned above.
I believe this issue to be sufficiently tracked elsewhere in its underlying components to close this one as a duplicate.
If you have any questions or comments about this, we'll address them on this thread or wherever else you feel is appropriate.

Thank you @jpsim ! I managed to significantly reduce the size of the Realm by using the file system was storage (I was storing large nsdata in my realm). I am still seeing the errors, but only very occasionally. I will now work towards having this split across multiple realm files and hope that solves all my problems


Update to .NET 8.0 and cleanup

update to .NET8.0

added compatibility packages which were included by default in the past
explicitly set <Nullability> to annotations in the csproj files

correctly mark the TargetFrameworks (net8.0-android and net8.0-ios, since these are the only supported platforms)
removed redundant files from library (resources that belonged to the sample app)
updated nuget packages
cleaned up platforms folders that should not be included (windows, mac, etc)
updated and cleaned up sample app

CollectionView instead of ListView
removed redundant RefreshView as it was disabled and there was no data fetching command linked to the refresh functionality
replaced styles/colors following instructions from the readme (to inherit from Theme.Material3.DayNight
fixed appicon.svg that was being included twice

added gitattributes from https://github.com/CommunityToolkit/Maui/ (I see them as a good example of a mature MAUI repository) to set guidelines for settings (prevent people committing things with different settings for line endings - I do not mind what style is used but it helps if everybody uses the same)
added Directory.Packages.props to ensure aligned package versions are used

@paulvarache could you please give some feedback whether you're open for this PR?


Fix contrib package name under debian 10

Under Debian Buster, when we use only debian repo (ie. without using postgresql repo), the PostgreSQL contrib package postgresql-contrib-11 does not exist, only postgresql-contrib is available.
This PR fixes the wrong package name.
Note: Without this fix patch, module usage does not fail during puppet run, instead it notices the following message every run:
Notice: /Stage[main]/Postgresql::Server::Contrib/Package[postgresql-contrib]/ensure: created (corrective)

IMHO, this behavior is due to some magic done by apt, here the log when I run manually the install with the wrong package name:
$ sudo apt install postgresql-contrib-11
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-11' instead of 'postgresql-contrib-11'
postgresql-11 is already the newest version (11.7-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Thanks for this fix @neomilium and for the detailed explanation of the issue. This change LGTM!
Could I ask if you could rebase your branch with puppetlabs:main - I tried to do this to pull in a workaround for the current failing CI tests, but I do not have permission to push to your fork.
The tests will automatically kick off again and then I'll merge when we've got the green light 😃

@sanfrancrisko Branch rebased, have fun!

Codecov Report

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

@@           Coverage Diff           @@
##             main    #1188   +/-   ##
=======================================
  Coverage        ?   65.81%
=======================================
  Files           ?       14
  Lines           ?      351
  Branches        ?        0
=======================================
  Hits            ?      231
  Misses          ?      120
  Partials        ?        0

Continue to review full report at Codecov.

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


Correct make target in Makefile

When updating documentation I noticed that a typo was preventing this make target from working. This does not affect any automation around the build; it is only used in an optional step in the release checklist.
Signed-off-by: Bridget Kromhout<EMAIL_ADDRESS>

@bridgetkromhout nice catch. I've gotten that error and just typed the right thing before.


type 'int' is not a subtype of type 'double' in type cast

Hello!
Thanks for this code. I'm having an issue while reading some geojson. Here is a screen capture that documents the issue:

As you can see, the selected point contains an int in the coordinates and the conversion assumes they are double value.

Hi @IgnacioHR,
I would need a short sample of your data in order to investigate the problem. I have no problem to parse coordinates 0, 0, so right now I can't reproduce your problem.
I would appreciate if you can also post the output of command "flutter doctor -v".
Regards, Joze

Hello and thank you for your response.
After some further investigation, the problem was in the conversion from stream (text) to json. That conversion was converting 0 to int and that was the source of the problem.
I've refactored my json parsers to make sure the values are all doubles and the GeoJsonParser now is able to deal with the data without issues.
I'm going to close this and hope this information help others in case they find similar issues with the initial json parsers.
Cheers,
Ignacio

@IgnacioHR,
Thanks for the update and I am glad that you have found the cause of the problem.
Regards, Joze


fr-fr

@boscorelly Your pull request seems to include a lot of unrelated changes, can you undo the extra changes?

I fixed branch. For future, if you want to add translation (or other change), select master branch and pull latest changes, then create a new branch (with any name) in you repo and push all changes to it. When you will be ready, create new pull request from your created branch to our repo to main branch. When pull request will be merged, just delete this created branch (there will be button in Git UI). Repeat this steps for each pull request.

If you don't have enough knowledge to do all this stuff, i would suggest you to join to our Discord server, send updated translation file to one of chats and ask someone who can create PR instead of you.


CLDK-recipes: adding comments while waiting for the output and fixed the colab link

Added comments for users while waiting for the output as suggested by @fayvor
Fixed the colab links in the readme.

Okay, the merge from main is clean, I ran the three notebooks, and then cleared their output. I'll merge this PR now.


MasterPackager.MasterPackager should be removed

Brief description of your issue
MasterPackager does not download and install correctly when running winget install MasterPackager.MasterPackager
Steps to reproduce
Run winget install MasterPackager.MasterPackager
Expected behavior
MasterPackager should install without any errors.
Actual behavior
PS C:\Users\WDAGUtilityAccount\Desktop\Tools> winget install MasterPackager.MasterPackager
Found Master Packager [MasterPackager.MasterPackager]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www.masterpackager.com/installer/professional/masterpackager_21.2.7837.0.msi
  ██████████████████████████████  2.00 B / 2.00 B
Installer hash does not match; this cannot be overridden when running as admin

Environment
PS C:\Users\WDAGUtilityAccount\Desktop\Tools> winget --info
Windows Package Manager v1.0.11692
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.168
Package: Microsoft.DesktopAppInstaller v1.12.11692.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
--------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
PS C:\Users\WDAGUtilityAccount\Desktop\Tools>

Once moderators agree, I will convert my PRs #26354 #26355 #26356 #26357 #26358 to remove MasterPackager from the repo.

microsoft/winget-cli#1261

When the issue is fixed, we can re-add manifests. Also, it will affect the user's experience if the package doesn't download properly. A normal user won't come here to check the issue.
@denelon, in the upcoming manifest schema, will there be a field in the manifest where we can define custom winget settings. Like, if this particular website has an issue with InstallerUrl, we would define in the manifest only that winget should use wininet protocol for downloading the installer.

@vedantmgoyal2009, our preference would be to determine the root cause and fix it so that either network protocol works properly. Delivery Optimization has the ability to support parallel downloads, peer-to-peer downloads, and other enterprise capabilities like proxy support. As such we want to enable our customers to benefit from those features. We still have work on the back end to enable those, and they have a long lead time as they are integral with how Windows itself is built and released. We also have a couple of features on the client backlog for reporting invalid hashes and other installation failures. Those should help enable and empower customers to give us feedback.

When the issue is fixed, we can re-add manifests. Also, it will affect the user's experience if the package doesn't download properly. A normal user won't come here to check the issue.

?


Add $defs to known keywords

https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.8.2.5

Coverage remained the same at 100.0% when pulling d90b78a21f86492fe72192b96acc8414b671534b on sondrele:patch-1 into 666a85fe56ccc27a07f4d40ba52cc172406f8f17 on epoberezkin:master.

Coverage remained the same at 100.0% when pulling d90b78a21f86492fe72192b96acc8414b671534b on sondrele:patch-1 into 666a85fe56ccc27a07f4d40ba52cc172406f8f17 on epoberezkin:master.

Thanks - it will be a major version change


Can this have a better name?

https://github.com/readmeio/fetch-har/blob/8e0bebc2165427a01360cea4462b54324f030c17/index.js#L30

Is this a mistake to return here? https://github.com/readmeio/fetch-har/blob/8e0bebc2165427a01360cea4462b54324f030c17/index.js#L35


Issue with geckodriver with karate-junit4-2.0.0

When we try to run a simple test with firefox as a browser with the latest karate-junit4-2.0.0 depedency from the develop branch, we see a Null pointer error as follows:
Given driver 'https://www.amazon.co.uk' java.lang.NullPointerException classpath:KarateSample/Features/Test.feature:5 09:50:41.983 [main] ERROR com.intuit.karate - classpath:KarateSample/Features/Test.feature:5 Given driver 'https://www.amazon.co.uk' scenario [run] failed null
As a work around, if we include the karate-apache dependency of 0.9.6, it works fine.
The minimal code is attached here for reference as per the guidelines.
To replicate the issue:

In the karate-config.js, please include the path to the geckodriver by replacing executable: 'PATH to geckodriver.exe' with your geckodriver PATH. There are 2 instances of these, one for headless mode and the other for normal mode.
Try to run the test with the command -  mvn test -Dkarate.options="--tags @E2E"  -Dbrowser=firefox
Notice the error
In the pom.xml file, uncomment the dependency of karate-apache and save the file
Repeat step 2 and notice that the test now works fine.

KarateSample.zip

fixed in https://github.com/intuit/karate/commit/15eb1d6ea5b9119ae0659496cc3c799d7655757f
closing since this is against a version in develop, tracked in #1373


Since Dart 3.0 gate_provider is almost empty + warnings during build

Describe the bug
Since Dart 3.0 gate_provider is almost empty + warnings during build
It contains only:
// coverage:ignore-file
// ********************************
// Gate generated file
// Do not modify by hand
// ********************************
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
class AppProvider {
AppProvider._();
static final AppProvider instance = AppProvider._();
}
final AppProvider appProvider = AppProvider.instance;
To Reproduce
Steps to reproduce the behavior:

upgrade to DartSDK 3.0 and flutter 3.10

be sure to rm pubspec.lock etc..

Run : dart run build_runner build --delete-conflicting-outputs

you will see msgs like: " [WARNING] source_gen:combining_builder on lib/ui/guards/authenticated_guard.dart:
authenticated_guard.g.dart must be included as a part directive in the input library with:
part 'authenticated_guard.g.dart';
"
Expected behavior
a functional gate_provider.dart.

**Logs **
Run flutter analyze and attach any output of that command below.
Paste the output of running flutter doctor -v here.
flutter doctor -v
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.4 22F66 darwin-arm64, locale en-FR)
• Flutter version 3.10.1 on channel stable at /opt/homebrew/Caskroom/flutter/3.10.1/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d3d8effc68 (7 days ago), 2023-05-16 17:59:05 -0700
• Engine revision b4fb11214d
• Dart version 3.0.1
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at /Users/nicolasthomas/Library/Android/sdk
• Platform android-33, build-tools 33.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.78.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
Additional context
Add any other context about the problem here.

Can reproduce the issue with the example project provided by this package.

Fixed on version 1.1.0
You're welcome.


[fix][broker] Fix incorrect authorization issue when using proxy

Motivation
When the client uses the proxy to connect to the broker, if enabled the authorization and set namespace subscription auth mode with Prefix, the client will always face the authorization issue :
Failed to create consumer - The subscription name needs to be prefixed by the authentication role, like abc-xxxx for topic: persistent://public/default/test

The related codes to the root cause:
https://github.com/apache/pulsar/blob/dd1b57944b117d16ebd371996b44c02af2ce325c/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L468-L494
Verifying this change
Add a related test to cover this change.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Isn't proxy super user? Similar to https://github.com/apache/pulsar/pull/23036


regularization slides needs to be split

has 31 slides,
should be split into 2-3 segments.
see #337: we want small, thematically focused chunks, content < 15 min.

@juliambr low priority for now, won't be part of the course this winter in any case.


Click Repeat Due notes and then freeze with nothing shown in the developer console.

Click Repeat Due notes and then freeze with nothing shown in the developer console. Currently, show 2 repeat note due on the status bar.
As titled, any clues how to fix. Many Thanks.

To supplement, I use another clean valve to test and it is run perfectly. Think there may be some clash with other plugin. any clues to test it out? Thanks.

Hi, a few questions:

Does the entire of Obsidian freeze?
What version of the plugin are you using?
What version of Obsidian are you using?
What OS are you on?
Can you open the repeat view from the command palette (open the command search and look for "review due notes" -- it should show up)?

Thanks for your reply and I found out the plug-in clashed with is called "Folder Index". Once removed, I can use Repeat Plugin without any problems. However, I just want to provide the details, in case it is helpful to debug.

Does the entire of Obsidian freeze? Yes
What version of the plugin are you using? I upgrade to the latest version.
What version of Obsidian are you using? v1.5.3
What OS are you on? MacOS
Can you open the repeat view from the command palette (open the command search and look for "review due notes" -- it should show up)? No, basically I cannot do anything and can just force quit Obsidian.

I installed "Folder Index" but couldn't reproduce -- opening repeat view works without problems. I can even review the virtual folder notes that Folder Index adds.

Could you paste your settings for folder index. E.g.,
cd ~/Obsidian/Vault/.obsidian/plugins/obsidian-folder-index

cat data.json

Thanks for the follow up. I just remove the plugin before and I also cannot reproduce when I installed the plugin just now. Will report when it happen again. Great Thanks.


[LIBCLOUD-637] Map param ex_blockdevicemappings to block_device_mapping_v2

Add support the for the block_device_mapping_v2-parameter in Compute API v2 extensions.
https://issues.apache.org/jira/browse/LIBCLOUD-637

bump

Hey, sorry for the delay, looks like we some how missed this one.
The change looks good to me, but the build failures need to be fixed.

Where do the failures stem from? I couldn't parse the log :smile: It looks like PEP8 errors?

Yep, pep8 / lint violation.

Ah, I was thrown off by the 700 or so other line too long exceptions that flake8 reports.
But fixed as requested!

bump

Merged into trunk. Thanks.


Error in sample query.

The second sample query has extra paranthesis in SUBSTRING.

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

ID: fec72919-9f99-9718-91d4-c1ca59d95106
Version Independent ID: 89df21bb-925f-e3be-b00e-a1f2bfcf76cc
Content: Monitor performance of natively compiled stored procedures - SQL Server
Content Source: docs/relational-databases/in-memory-oltp/monitoring-performance-of-natively-compiled-stored-procedures.md
Product: sql
Technology: in-memory-oltp
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@zikato fixed - thanks


Create readme.md

Description

[ ] I have added a folder(Named it as my GitHub user id)
[ ] I have added a Readme.md file inside the folder
[ ] I understand the GitHub Forking Concept fully

@atapas Can you merge this


cannot guess "proxy"

What happened:
Today's word was "PROXY". I followed wordler's instructions, which ended in "PROMO", after which it gave up.
What I was expecting:
After PROMO, it should have suggested PROXY, as the letters X and Y had never been used before.

already fixed on master


[BEAM-6064] Improvements to BQ streaming insert performance

Consider results from this analysis: https://docs.google.com/document/d/1s8VRkN4qKdgGkDOZQiwowmD3GVyVV9UskJQwTdKfRCE/edit#
This change helps increase EPS per worker from ~100 to >1000 per worker.
Also improves documentation and telemetry.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.


json file in /assets cannot be imported using useStorage().getItem() within server function

Environment

Operating System: Darwin
Node Version:     v18.16.0
Nuxt Version:     3.6.2
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, runtimeConfig, components, css, plugins, buildModules, modules, colorMode, supabase, target, build
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Not needed (hopefully!)
Describe the bug
I'm trying to import a JSON file located at /assets/test.json within a serverless function located at /server/test.js
The function code is:
export default defineEventHandler(async (event) => {
    const test = await useStorage().getItem(`assets/server/test.json`);

    return {
       statusCode: 200,
       body: JSON.stringify(test),
  };
}

However, it says that the file cannot be found and test returns null.
Is it in the wrong directory?
Additional context
No response
Logs
No response

@jetlej  - Not sure how the nitro: section looks like in your project's nuxt.config.ts 🤔
Make sure you have configured the storage driver with base path of your file, i.e. /assets/server/ - or whatever it is in fact.
Here's how the storage config should look like:
// nuxt.config.ts
export default defineNuxtConfig({
  nitro: {
    storage: {
      myFileSystem: { // pass this key - 'myFileSystem' - into useStorage while accessing the .json file
        driver: 'fs',
        base: 'assets/server/', // make sure your `test.json` exists at this location
      }
    }
  }
});

Next, we can create our eventHandler at server/api/ directory:
// server/api/my-storage.ts

import { useStorage } from '#imports';

export default defineEventHandler(async (event) => {

  const jsonData = await useStorage('myFileSystem').getItem('test.json');
  const stringData = JSON.stringify(jsonData);

  return {
    jsonData, // json
    stringData, // string
  }

})

And finally, npm run dev and see you file data at localhost:300/api/my-storage.

@jetlej  Here's a working repro - https://stackblitz.com/edit/nuxt-starter-3uwbhb?file=nuxt.config.ts

@Krutie wow thank you so much for the detailed help! This fixed my issue! Thank you!!!


Ambari 23193. Merge UI branch 'branch-feature-AMBARI-14714-ui' into 'branch-feature-AMBARI-14714'.

What changes were proposed in this pull request?
Background:

UI branch 'branch-feature-AMBARI-14714-ui' has already merged the Backend code branch 'branch-feature-AMBARI-14714' into it.
-- Pull Req: https://github.com/apache/ambari/pull/610

Whats is done in this Pull Req:
In this, we are bringing the UI code changes from 'branch-feature-AMBARI-14714-ui' into the BE branch 'branch-feature-AMBARI-14714'.
How was this patch tested?
Build Successful.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1087/
Test FAILed.
Test FAILured.


[BUG] /team not tab completing

/teama, /teamadmin are tab completing correctly
1.16.5
paperspigot
Conversation Link: https://discord.com/channels/295271438112522241/295271438112522241/831559713111408700

I cannot reproduce this issue and thus cannot fix it


How to set passes for clspv-opt?

Hi,
When I try to run:
./clspv-opt --replace-physical-pointer-bitcasts broken.ll
I get this error message:
No passes specified to run!
./clspv-opt --help-list-hidden shows that --replace-physical-pointer-bitcasts is an option
Also running ./clspv-opt on it's own also gives the "No passes specified to run!" error message.
I used commit 3374c5a5abff3aa655934767c5d4fbc0008bd52e
Does anyone know how to debug which passes are available?

here is how to run a specific pass with clspv-opt:
clspv-opt <source> -o <destination> --passes=<comma_separated_list_of_passes>

Here is an example: https://github.com/google/clspv/blob/main/test/PointerCasts/srcGTdst/store_cast_float2_to_int.ll#L1
For clspv specific passes, one can find the list here:
https://github.com/google/clspv/blob/main/lib/PassRegistry.def

--replace-physical-pointer-bitcasts is an option, not a pass.
It is enabled by default: https://github.com/google/clspv/blob/main/lib/ReplacePointerBitcastPass.cpp#L44


Show users list

The admin should be able to see a list of all users

Getting user information:
q=getUsers
show=1
To get info about user discounts:
q=addDiscount
userid=[userid]


Add support for Mistral-Nemo

Model description
This model was released by Mistral here, and is available on HuggingFace here.
The model is meant to be a drop-in replacement for Mistral-7B, but requires some modifications to handle the use of the tekken tokenizer and the explicit definition of head-dim (see here). I've tried copying in the head-dim change into the code, but then the model's output was pure garbage, so I assume there's something else that I'm missing.
Open source status

[X] The model implementation is available
[X] The model weights are available

Provide useful links for the implementation
No response

Hi @shaltielshmid 👋
Thanks for the request! I agree that getting support for the Mistral-Nemo model would be nice 👍 At the moment we might not have bandwidth to jump on it directly.
If you have even a half ready PR please feel free to open it e.g. as a draft. I think that would help us and speed things a bit.
Btw, just as a side note. The recommended temperature for Mistral Nemo is 0.3, so good to set that as a default as well when testing.

Hi @ErikKaum
I opened the half ready PR, as you suggested. The model is loaded, but the results are gibberish.
Let me know if I can be of assistance going further.

Thank you 🙌 this already helps a lot.
At the moment I don't think there much else to do than continue debugging why the model gives gibberish so if you have bandwidth just go ahead 👍

@ErikKaum once NeMO is running although the vocab size is > 130k, do you know if TGI will work with NeMO+ LoRA Adapter?
Thank you!

Hi @tensimixt!
Sorry for a slow response. At the top of my head I can't come up with a reason why it wouldn't work 🤔
Btw, just to verify, was this issue resolved through the #2254 PR or is this still valid?


esp_wifi_sta_get_ap_info does not appear to fill wifi_country_t (e.g. country.cc) details (IDFGH-4437)

Environment

Development Kit:      [none]
Module or chip used:  [ESP32-S2 / featherS2 (UnexpectedMaker)]
IDF version (run git describe --tags to find it):
v4.3-dev-2136-gb0150615d
Build System:         [CMake|idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     [Linux]
Using an IDE?: [No]
Power Supply:         [USB]

Problem Description
While I was working on adding the "country code" to CircuitPython (via this: https://github.com/BennyE/circuitpython/commit/210c0ec89c88b50089067f74c2f0893fdd8613b4) I noticed that the function worked fine while esp_wifi_scan_get_ap_records() would fill wifi_ap_record_t, but not if esp_wifi_sta_get_ap_info would do the same. I read https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html#_CPPv424esp_wifi_sta_get_ap_infoP16wifi_ap_record_t and there was no note that the country would be missing.
Expected Behavior
esp_wifi_sta_get_ap_info should return wifi_ap_record_t including country (wifi_country_t) with correct values.
Actual Behavior
esp_wifi_sta_get_ap_info should returns wifi_ap_record_t where country is empty.
Steps to reproduce
To ensure that I didn't do something wrong in CircuitPython, I have simply done the same in your espressif/esp-idf example code. See below
Code to reproduce this issue
// esp-idf -> examples -> getting_started -> station -> code
// with the following additions
#include "esp_wifi_types.h"

// .. inserted after this ..
//    } else {
//        ESP_LOGE(TAG, "UNEXPECTED EVENT");
//    }
    wifi_ap_record_t apinfo;
    memset(&apinfo, 0, sizeof(apinfo));
    esp_wifi_sta_get_ap_info(&apinfo);
    ESP_LOGI(TAG, "RSSI: %d", apinfo.rssi);
    ESP_LOGI(TAG, "Country (CC): %s", (char *)apinfo.country.cc); // otherwise compiler wasn't happy
    ESP_LOGI(TAG, "Channel: %d", apinfo.primary);
    ESP_LOGI(TAG, "SSID: %s", apinfo.ssid);

Debug Logs
Please note that Country (CC): is "" instead of the expected value "DE".
I (659) phy: phy_version: 603, 72dfd77, Jul 7 2020, 19:57:05, 0, 2
I (659) wifi:mode : sta (7c:df:a1:03:b7:a0)
I (659) wifi:enable tsf
I (659) wifi station: wifiinitsta finished.
I (779) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (779) wifi:state: init -> auth (b0)
I (809) wifi:state: auth -> assoc (0)
I (819) wifi:state: assoc -> run (10)
I (3029) wifi:connected with Stellar-DSPSK, aid = 1, channel 1, BW20, bssid = dc:08:56:36:06:a0
I (3029) wifi:security: WPA2-PSK, phy: bgn, rssi: -44
I (3029) wifi:pm start, type: 1
I (3049) wifi:AP's beacon interval = 102400 us, DTIM period = 2
W (4439) wifi:<ba-add>idx:0 (ifx:0, dc:08:56:36:06:a0), tid:6, ssn:2, winSize:64
W (5409) wifi:<ba-add>idx:1 (ifx:0, dc:08:56:36:06:a0), tid:0, ssn:0, winSize:64
I (5429) espnetifhandlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (5429) wifi station: got ip:<IP_ADDRESS>
I (5429) wifi station: connected to ap SSID:Stellar-DSPSK password:testing12345
I (5439) wifi station: RSSI: -44
I (5439) wifi station: Country (CC):
I (5449) wifi station: Channel: 1
I (5449) wifi station: SSID: Stellar-DSPSK

Thanks for the detailed report and letting us know, we will look into.

Thanks for reporting, we have a fix under internal reviewing, the issue will close automatically when the fix is available on GitHub. Thanks.


Changing and reading the bom contents error

I found fault around here  and here . Does not appear when compiling via visual studio, but detected as an error on vs code. The second problem can be solved simply by adding tostring at the end.  But i don't know how to solve the first problem

Also, although I change the columns and compile the project, the incoming data does not change.

Hello. Projects you are referencing above are Windows .NET Framework projects and therefore need to be compiled by Visual Studio, not VS Code. Those projects are Design Automation AppBudles, which are running on the Autodesk servers not your machine, so if you want to make there changes you need to upload them to DA afterwards. This can be either done manually, or automatically by running the server with the argument bundles=true.

I am compiling from visual studio already. and I run the project from there. After the compilation, it works successfully on 13 projects. But errors appear where I point. And although I changed the code and compiled it, there is no change on the boom list.
I simply want to do, for example, I'll add the total quantity column. I write this
new Shared.Column { Label = "Material" },    new Shared.Column { Label = "Total Quantity" }
here and add the property inside the object.Like material.Value,                     row.TotalQuantity then I compile and run the project. But there is no change in the boom data and the new column does not appear.

as you can see in the picture when i print the boom data to console, there is no change

Hello.
Let me elaborate on my earlier post in regards to your finding, that changes you make in the AppBundles has no effect. This project consist of two independent parts:

Most of the content of the WebApplication folder can run on your local machine, you can debug it there and any change you make there is visible in runtime right after you compile it and run it
Sources in the AppBundles directory are on the other hand compiled to dlls (we call them AppBundles), which does not run on your machine. Since Design Automation is a Cloud service allowing customers to run their code (AppBundles) on the Autodesk machines on the internet, those DLLs needs to be deliver there. That can be accomplished by the Design Automation API, which is in this case already employed in our WebApplication server. So, once you compile the AppBundles using Visual Studio, you need to ask the WebApplication code to publish your changed dlls on the Autodesk server. And that can be done by running the web server using this command `dotnet run bundles=true'.

Regards, Michal


Add "Function" key in the Keyboard Manager

Description of the new feature / enhancement
In the feature to 'Remap a Shortcut' there is no option to add function key(Fn) as a modifier key. Therefore it is not possible to modify the secondary functions of the F1-F12 keys.
Scenario when this would be used?
My keyboard has no RGB lights (the model in my country doesn't come with it) but it still has the Fn+F4 key shortcut for switching between different RGB modes. I wanted to put that combination for some task that my device can actually perform and that is useful to me.
It would be very helpful. Thank you :)
Supporting information
No response

Often the Fn key is handled internally by the keyboard itself, makin remapping of it impossible. You could try to remap Fn+F4, but if that doesn't work...

we do directly reference this in our docs. https://docs.microsoft.com/en-us/windows/powertoys/keyboard-manager