emmet is not working

from sometime i am unable to emmet which is a inbulit feature of vscode .
Earlier I used to get the whole snippet of html on pressing the !(Exclaimation mark) but nowadays it has stopped working due to which my learning is affected .
Kindly look over this matter
Thank you

Apparently you didn't search for duplicates before opening this issue.
/duplicate of https://github.com/microsoft/vscode/issues/154375
Issue is fixed in today's Insiders and also in upcoming 1.69.2 recovery release.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Demeter Compatibility

Sweed Block delegates certain methods to super when Demeter is installed, Sweed Item extends Demeter SeedItem when Demeter is installed. When Demeter is not installed everything remains the same.

Bump


ENH: manual edition of annotations & channels

Hi there,
it could be nice to manually (add/delete/modify) annotations and (status/type) of channels.
On top of being convenient, it would also help many people transitioning to MNE Python.
The MNE annotations seem to quite suit the job for the former part, but such feature would maybe require to expand the GUI of the interactive plot or build something dedicated.
Did you already thought about something like that? Are people working on it?
Cheers!
Guillaume

yes allowing to create and modify in the raw data browser is planned

Cool! How can I help?

hack the raw matplotlib plotting code :)

and submit a clean PR :)


How to approximate the non-linear activation function in ANN using lava.dl to extend its application?

User story
As a user, I want to learn how to approximate the non-linear activation function in ANN using lava.dl to extend its application.
Conditions of satisfaction

An optional list of conditions that have to be fulfilled for this feature to be complete.
Users can choose either a sparse or normal system to adapt different applications

@zjuls can you explain more about the feature you are asking for? Have you looked at lava.dl.bootstrap?

Thanks for your time! I mean is there a way to use torch.nn.relu or other non-linear activation function in lava.dl? Or is there a chance to train a model  using torch/tensorflow and implement it with lava on loihi?


v1 Roadmap

Here are tasks that I would like to finish before v1.
v1-alpha

[x] Server bundling #21
[x] New API as middleware #23
[x] RSC-only SSR (or opt-in SSR) #66
[x] Improve HTTP errors (404 instead of 500, especially with router) #76
[x] Support interacting with server (req and res) #86
[x] CSS Modules on server #98 #105
[ ] Server bundling issues #96 #79
[ ] #111
[ ] CJS support #110
[ ] Experiment compatibilities with third-party libraries

v1-beta

[ ] Explore RSC-only forms (optional?)
[ ] Revisit entries.ts API (requires to revisit waku/router)
[ ] Revisit props encoding (deterministic JSON stringify + base64?)
[ ] waku/router [slug] support
[ ] Revisit mutate() api and maybe serve() api
[ ] Migrate to react-server-dom-vite
[ ] Support react-tweet #90
[ ] Explore if Waku can be based on other Vite frameworks

v1-final

[ ] Explore multiplexing streams
[ ] Wait for React 18.3.0

How about wakuwork actions? I was thinking about developing a plugin for vite a while ago, Since I think it's something similar to telefunc while developing this tool with Rom Brillout.

 I wouldn't say it's complete though.

Nice!

I found that router ssr doesn't work at present, is that any plane to do it?
(dig into the code, seems like some thing wrong with getComponent in getSsrConfig, but I have no idea why)

Anecdotally there seems to be a fairly large gap between waku's server actions and Next.js' implementation - I suppose this is expected because server actions are completely experimental in React right now.
IMO it makes sense to mark them as such (as an opt-in config option) before releasing v1.

I don't think our RSF (react server function) isn't that experimental, meaning it's the same level as react server component. I suppose Next's server action does more experimental things.
That said, I would like to revisit our approach anyway, which will require some feedbacks from collaborators/contributors/users.
In any case, unless we have an official doc or RFC from React, we wouldn't be able to finalize our API, which means v1 probably won't land until then.

The problem with shipping server actions now (or before they're stable in React) is that the semantics are not specified yet. For example Next.js server actions are queued, it's impossible to execute them concurrently - not the case in Waku. There is also the integration with transitions, not sure if this is implemented in Waku.
IMO need to wait for a React RFC.

Yeah, if we would release v1 before the callserver RFC, we should hide it behind a flag. For now, just noting it's not finalized would be enough. But in that sense, everything isn't finalized.

@dai-shi How about SSG? And change docs website to static files.

docs website is already static files.
we generate static files on build (SSG is a vague word, as people expect to generate HTML files.)

IMO it makes sense to mark them as such (as an opt-in config option) before releasing v1.

Having been working on #124, I'm getting more skeptical about the stability.
My gut feeling is that we should wait releasing v1 before React 18.3.0 or 19 is out.

So waku will not use react-server-dom-vite in the future?

It depends on what react-server-dom-vite and react-server-dom-esm will be like.
Hope the esm one is published: https://github.com/facebook/react/issues/27197

Integrate React Float

What is React Float? What's the relation with no index.html?

Integrate React Float

@dai-shi What is React Float? What's the relation with no index.html?

I hope React docs will cover that soon. It will be called something like hoistable resource/elements.
It's technically not "integration". As #289 may tell, we no longer use index.html and add <title>...</title> in components, for example, which is possible because of hoistable elements.

I was wondering if you could explain where it is the explanation of defineEntries function in Docs or README! Is it deprecated?

I was wondering if you could explain where it is the explanation of defineEntries function in Docs or README! I couldn't find it since waku was released as v0.19.0. Is it deprecated?

No, that API is still available, but we don't have enough documents for the public APIs.
https://waku.gg/blog/introducing-waku

https://github.com/dai-shi/waku/issues/24#issuecomment-1655694291
@tom-sherman Do you know any updates?
I guess it's unlikely that the React docs specify such details.

Explore Jotai integration

@dai-shi Is this still something that needs exploration?
If yes, what are some things that you'd be concerned about with using jotai + waku?
I suspect some exploration has been done already though, considering the waku.gg docs use example code with jotai as the state library.

I suspect some exploration has been done already though, considering the waku.gg docs use example code with jotai as the state library.

The example in docs is what's possible now. What I would like to explore is to use atoms on the server too (that is connected to the client behind the scenes.) So, it's a very tight integration (and one reason that I started developing my own framework.)
I have a goal but don't have the implementation idea yet. #11 is an old attempt.
Anyway, there are so many things to do before working on it.

@dai-shi does https://github.com/nksaraf/vinxi help with this roadmap?

I don't believe so. Waku's design conflicts with Vinxi's design. So, it's unlikely that we use it at any time soon. We don't know the far future. Related discussion: #522

Maybe "react compiler" should be added to the roadmap? https://github.com/dai-shi/waku/pull/857#discussion_r1737594978


[Python] Migrate to new test system - batch 1

Follow this guide migrate to new test proxy system.
Migrate the first test case to new system.

test PR (resources): https://github.com/Azure/azure-sdk-for-python/pull/21846

scripts to help migrate: https://github.com/msyyc/azure-sdk-for-python/tree/auto-migrate-testcases/scripts/migrate_testcases


How to generate backgrounds-truncated.dat

Thanks for this nice repo.
I am replicating this for the sake to change background with my png files.
But I am stuck with backgrounds-truncated.dat file. I don't know the structure, and how it was generated.
Please make a note or documentary to help me.
Thanks in advance

You should be able to generate backgrounds-truncated.dat by dumping Earthbound with an offset of 0x0A0200 and a length of 121056 bytes.
Anyway, you should be able to clone this project and modify it to your needs; no need to redo the math.

Thanks for your quick reply.
I am asking if I can generate the data with my own PNG files.
If so, please indicate me a proper documentation.

Oh, sorry, I might have misunderstood you.
backgrounds-truncated.dat does not only contain the bitmaps, it's a tiny dump directly from Earthbound. It also contains motion parameters and a bunch of other stuff. Just to be clear: I didn't create those bitmaps, I'm just reading them from the game.
They aren't as dynamic as you might think, as well: They have fixed sizes and are compressed with HAL's proprietary format. My (de)compressor might help with (de)compressing the data.
Rendering data should be stored in [0x0ADEA1, 0x0AF457]. For more information about how the data is stored, see BackgroundGraphics. Note that the pointer math is currently offset by some number. I'll probably revert this soon.
Hope this helps.

Can we talk about it on skype? Mine is<EMAIL_ADDRESS>

Can I import image files with your (de)compressor?

In theory, yes, you should be able to. Don't expect it to work with a high-level format such as png, though.

There are some block handling functions in BackgroundGraphics and RomGraphics, but it's hard to understand without knowledge in the structure.

The game's ROM data is compressed. This compression format is subdivided into blocks. You can check out my documentation of how this format works. Blocks are just an abstraction over byte ranges within the ROM and offer a means to be decompressed, that's it.
arrayROMGraphics is needed for drawing tiles during rendering, see here.

Thanks for your help, my app has a progress to change background image with my PNG file.
I got some questions yet.

It is not necessary to change arrayROMGraphics according to background image, is it?
How can I change the number of tiles?


Bump gaia6 derivation to v6.0.0-rc2

Note: I wasn't able to test this locally, likely because I have no idea what I am doing
$ nix run '.#gaia6'
error: builder for '/nix/store/hya6p2gzxn6fpfgb1bq0nkbls82l6m8i-gaia-v6.0.0-rc2.drv' failed with exit code 1;
       last 10 log lines:
       > patching sources
       > configuring
       > building
       > Building subPackage ./app
       > app/app.go:102:2: cannot find package "." in:
       > 	/private/tmp/nix-shell.U2526p/nix-build-gaia-v6.0.0-rc2.drv-0/source/vendor/github.com/strangelove-ventures/packet-forward-middleware/router
       > app/app.go:103:2: cannot find package "." in:
       > 	/private/tmp/nix-shell.U2526p/nix-build-gaia-v6.0.0-rc2.drv-0/source/vendor/github.com/strangelove-ventures/packet-forward-middleware/router/keeper
       > app/app.go:104:2: cannot find package "." in:
       > 	/private/tmp/nix-shell.U2526p/nix-build-gaia-v6.0.0-rc2.drv-0/source/vendor/github.com/strangelove-ventures/packet-forward-middleware/router/types
       For full logs, run 'nix log /nix/store/hya6p2gzxn6fpfgb1bq0nkbls82l6m8i-gaia-v6.0.0-rc2.drv'.

Oh, I just saw that Gaia v6.0.0-rc3 is out: https://github.com/cosmos/gaia/releases/tag/v6.0.0-rc3

@romac I definitely have bumped into this before. I am taking a look.

OMG, I'm so sorry, my syncGoModules check had a bug. I was using msum instead of mconcat and getting the wrong monoid instance for All. Anyways, you didn't run syncGoModules to get updated gomod2nix dependencies. You couldn't have known to do this, and it should have failed nix flake check / ci because of this with a message to run that command, but my script was bugged.

@romac I hope you don't mind, but I took the liberty of fixing the sync.hs and updating gaia6 to rc3. Everything is working now!


GC per thread malloc + parallel mark

I have disabled the per thread malloc in the GC as it's causing problems. We want to bring it back though, so let's find out
First, for the errors, running this test script:
#!/usr/bin/env sh
ACTONC=../dist/bin/actonc

${ACTONC} --dev rts_db/ddb_test_server.act
${ACTONC} --dev rts_db/ddb_test_client.act
${ACTONC} --dev rts_db/test_tcp_client.act
FAIL=0
for I in $(seq 200); do
    killall actondb ddb_test_server ddb_test_client test_tcp_client >/dev/null 2>&1 || true
    echo "-- TEST $I FAIL: $FAIL"
    rts_db/test_tcp_client --verbose || FAIL=$((FAIL+1))
done

echo "FAIL: $FAIL"

so we get 200 test runs

with per thread malloc & parallel mark we get about 30% failures.
with only parallel mark, we get 0 failures or maybe 1 (not percent, just 1 failure)
with only per thread malloc (no parallel mark), we get about 2% failures

It seems per thread malloc and parallel mark makes it worse when combined.

And as usual with GC related problems it might not be the GC at all, just that it helps unearth some other problem. After disabling the GC, the CI errors went away on Linux (or low enough that it's not very noticeable anymore) while for MacOS I still saw errors. Picked up my MacBook and started looking.
I suspect a bug related to DNS lookups. We already have stdlib_auto/test_net_dns.act that does DNS lookups and that seems to work just fine, but continuously running test/rts_db/test_tcp_client results in a lot of SIGILL on MacOS. We are doing DNS lookups both in the program under test, ddb_test_client, but also in the test_tcp_client app test orchestrator itself, which seem to account for most of the failures and since it's the app test runner, its crashing have weird effects and cannot be easily handled. I don't know why but it somehow seems to be hanging, so running it in a bash for loop, I still need to ctrl+c it and in CI we hit the timeout in GitHub Actions (6 hours) rather than it just failing.
I've looked quickly at the backtrace and it seems we crash in _lookup_a__on_resolve. The DNS query has failed with status -3008 and error message "DNS lookup error: unknown node or service". Now obviously a failed DNS lookup shouldn't lead to a crash, but it seems like the on_error callbak that we store in the data struct passed via the libuv DNS query struct is NULL. I don't see how can that be, since it is unconditionally set when we send in the request. Perhaps a bug in libuv? Maybe add some asserts here? Annoying that we have to guard against bugs in these APIs, I'd expect them to be fairly mature by now.
Anyway, after avoiding DNS lookups in our test suite (8aa5026bc679d209a382b0dbb33472205dcac5e2) the problem I saw with per thread malloc are completely gone! So, good news, we can put per thread malloc back in... and the bad news is that DNS resolution is broken.

I noticed problems on Linux related to uv_fs_scandir(). The fix was to tell the GC to IGNORE_FRRE and that's what we currently run with. I suspect that there is a memory allocation done in libc which isn't redirected to GC_MALLOC and so when we later to free on it we get GC_FREE which barfs because there is no GC header on the allocation.
The free is called in libuv and is explicitly coded to do a regular free(). libuv has pluggable mallocs but for this allocation it explicitly reached for the regular free() which I interpret as libuv developers expect this allocation to be done with regular malloc but since we do runtime redirection we manage to redirect the libuv free but not the (presumably) libc malloc, leading to the problem.
When we remove link time redirection of malloc & friends, I think this bug will fix itself.
I can't help but wonder if the DNS errors we saw are of a related kind, so the removal of link time redirection for malloc will fix it. That should then make it possible to re-enable per thread malloc...

I realize we do have per thread malloc. It's been enabled again ever since 1f3159169ec2a7d68880b43f9c02dda76925291c when I switched to the upstream build of bdwgc which has a new build.zig (that we wrote & upstreamed). Previously we had used a build.zig in our fork of the bdwgc repo that was tailored for our Acton use, so we had per thread alloc disabled. Switching to the upstream version, we got the defaults from the upstream which has per thread alloc enabled as well as parallel marking enabled.
The test.sh programs runs well in this combination, so this is effectively fixed since quite some time now :P  closing


Custom file name generator.

This allows the use of a custom name choosen by the user and is a response/fix to #29 .
A closure can also be passed into the constructor rather than a string.

@Gargron any comment /information on this ?


"syntax: { } vector syntax is discontinued" when interpolating template literals in Javascript

app = App() do session, request
    width = 500; height = 500
    dom = DOM.div(width = width, height = height)
    Bonito.onload(session, dom, js"""
        function (container){
            var str = "Hello, world!";
            alert(`${test}`);
        }
    """)
    return dom
end

Gives an error:
ERROR: LoadError: syntax: { } vector syntax is discontinued around /home/topolarity/repos/julia/show_graph.jl:11
Stacktrace:
 [1] top-level scope
   @ ~/repos/julia/show_graph.jl:8
 [2] include(fname::String)
   @ Base.MainInclude ./client.jl:489
 [3] top-level scope
   @ REPL[9]:1
in expression starting at /home/topolarity/repos/julia/show_graph.jl:8

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

I dont think we can make this work.
You can include the JS as a dependency via a .js file, or use any other string concatenation strategy ;)

The warning seems to suggest that ${...} always represents the discontinued vector syntax in Julia.
$( ... ) and other variants are not used as a placeholder in Javascript, just the curly brace syntax (to my knowledge).
Is there a reason that can't be escaped from interpolation?


Fix required_status_checks syntax

branchprotector requires required_status_checks.contexts: [...]
haproxy-boshrelease and pcap-boshrelease

Should fix https://github.com/cloudfoundry/community/actions/runs/5541719611/jobs/10115492680
{"component":"branchprotector","error":"error unmarshaling branchprotection.out.yml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field Repo.branch-protection.orgs.repos.required_status_checks of type config.ContextPolicy","file":"k8s.io/test-infra/prow/cmd/branchprotector/protect.go:114","func":"main.main","level":"fatal","msg":"Failed to load --config-path=branchprotection.out.yml","severity":"fatal","time":"2023-07-13T13:33:22Z"}


PML1: Typo in section <IP_ADDRESS>

In the very last sentence of paragraph <IP_ADDRESS>
"the minimum error formulation easier to understand and is more general" ->
"the minimum error formulation is easier to understand and more general"

fixed, thanks


HeroSystem6eHeroic New Features

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description

Changed formatting of Weapon/Shield/Basic Attacks
Added Shield Block Option to Shield Attacks
Added Versioning
Code Restructuring to reduce Repetitiveness
Renamed CurrentBODY, CurrentSTUN, CurrentEndurance to better support tokens

Now are body, stun, and endurance
Paired with body_max, stun_max, and endurance_max
⚠ Sheets should update properly except in cases where

No points spent in body, stun, or endurance
This will result in the character being fully healed.

Character Sheet Info Roll20 Internal Use only.

There is also a draft pull request https://github.com/Roll20/roll20-api-scripts/pull/1739 to handle the attribute name changes and deletions for the Importer API.

Renaming currentBODY, currentSTUN, and currentEND to body, stun, and endurance will cause data loss. Suggest leaving as-is and instead introducing currentBODY_max, currentSTUN_max, and currentEND_max as hidden variables set equal to body, stun, and endurance.


in dark themes, top tab stripe versus sidecar header has no contrast

no longer an issue with inline sidecar


Permissions problem with --add-file

Hello!
I'm trying to create a keyboard layout installer dmg which includes a layout.bundle and a symlink to ~/Library/Keyboard Layouts, for the former to be dropped into the latter.
I wish to add a link to ~/Library/Keyboard Layouts via the --add-file option, but in the finished dmg it's not possible to drop the main file of the dmg into it. The crossed-out circle symbol appears. When I run create-dmg and it launches the dmg initially it works to drop the keyboard layout into it, but then after it closes on the message Done running the AppleScript... it no longer works - i guess this is a permissions issue?
I'm specifying the --add-file option like this:
--add-file Keyboard\ Layouts ~/Library/Keyboard\ Layouts 250 160
Thanks in advance!

So to resolve my own issue.
I needed to manually create a symlink within the dmg source folder, as --add-file can't be used to do this. I would say that I think this would be a useful option to provide though! Thanks all good now I think.

@heyheydanhey is that symlink portable? Works with other usernames?
This remembers me to https://github.com/create-dmg/create-dmg/issues/54

Oh no

I've already tried creating a script for this at #54, but the quarantine flags make this script useless. Sadly no more ideas here.

If you find any workaround let us know in #54! Thanks @heyheydanhey!

Sorry one further idea if you don't mind - the bundle could go in /Library/Keyboard Layouts/ rather than in the home dir ~/Library/Keyboard Layouts/. Replacing the symlink to the former works as expected on my local computer (in the DMG a modal pops up asking for an admin password) but testing on another it won't ask for the password and won't drop in. That said, you can hit copy on the bundle and then paste over the Keyboard Layouts directory to get it to work! Any ideas why this might be?

You've used --add-file "Keyboard Layouts" "/Library/Keyboard Layouts/" <x> <y>?

This is probably caused by the Apple quarantine. I'm assuming you've downloaded the DMG to the other machine/user, so it has a quarantine applied and it refuses to ask for admin permission.

Check for that flag with this: xattr -l <DMG-PATH>
You can remove the quarantine like this: xattr -cr <DMG-PATH>

I think at this point you're out of luck using create-dmg for your purpose. Maybe creating a PKG (pkgbuild) is the way to go for you. Never built one but I think you can add some scripting there so you can also use $HOME. Let me know if that works for you!


[Mono] 3.2.1 ImageTexture don't set flags in code

Godot version:
3.2.1 mono
OS/device including version:
Windows 10
Issue description:
Method CreateFromImage() on ImageTexture don't use flags.
Steps to reproduce:
Write this code:
Image ImageTexture;
ImageTexture Texture = new ImageTexture();
ImageTexture = new Image();
ImageTexture.Create(50, 50, false, Image.Format.Rgba8);
ImageTexture.Lock();
ImageTexture.SetPixel(new Vector(25,25), new Color(0, 0, 0));
ImageTexture.Unlock();
Texture.CreateFromImage(ImageTexture, 0);
And add this in TextureRect.

Does this also occur with GDScript?

Does this also occur with GDScript?

No. I create Node and create GDS method, Call() this method in C# and all great work, but if i use CreateFromImage() in C# that don't work(

Image is not cached anywhere?


Seems like not working with react router 6.

Seems like not working with react router 6.

Nevermind. It worked 👍


Feature/conversation memory feature flag

Description
Block memory transport actions behind feature flag
Issues Resolved
feature flag is needed for experimental features
Check List

[x ] New functionality includes testing.

[ x] All tests pass

[x ] New functionality has been documented.

[x ] New functionality has javadoc added

[x ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@HenryL27 can you have a look at the failing test?

@dhrubo-os @ylwu-amzn can you have a look at the code change here?  Thanks!

the failing test is in RestReDeployModelIT, which I haven't touched.


The contrast/brightness in exported images is different to the sim

Maybe just increase brightness/contrast using the image crate when saving the png?

"fixed" in 7f788fd386d6006d2afb7e03db35f95580aa2779
I don't know if 1/2.2 is the correct gamma value, but it looks good (:


Re Positioning Issue

After choose an item in Repeater view, I have saved it into my Database. When i came back to the page i can't able scroll to that position automatically..
ie, I can able to highlight the previous selected item. but user need to scroll to that position ; to view that. (scroll to position is not possible).

Hi, this control is not meant to be used like a listview, so it makes no sense to implement a scrollToPosition.
The problem is that you replace all items in ItemSource, after update the selected element on the DB: try refreshing only that element and not the entire list, or use the ScrollToPosition of the parent ScrollView.

Hi @DottorPagliaccius , First i'm setting item source and then  executing SelectedItemCommand.Execute(item). I'm not replacing item source after executing "SelectedItemCommand".
Item selection is working fne

It should not reset position, what are you doing in SelectedItemCommand? Navigate to another page? There is code in On Appearing?

Hi,
In repeater view i'm selecting an item; then i'm saving current item in my
database . After that i'm navigating to another pages , and also user can
go back to previous pages.
I'm saving these datas like a draft. If user again open(new page) this page
i want to repopulate the values . i have the selected item and its index.
and i also can highlight the selected item; if the previous selected item
is in the last one; Repeater view is not automatically scroll to that that
position .
This is the problem that i'm facing.   I'm Using MVVM method
On Mon, Aug 26, 2019 at 3:16 PM Dottor Pagliaccius<EMAIL_ADDRESS>wrote:

It should not reset position, what are you doing in SelectedItemCommand?
Navigate to another page? There is code in On Appearing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DottorPagliaccius/Xamarin-Custom-Controls/issues/38?email_source=notifications&email_token=AMB5JTPI4GYXFHGDBTD5TS3QGORAXA5CNFSM4IPMLDGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D4HIA#issuecomment-524796832,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMB5JTI6JOVY3EAPHUFRG7DQGORAXANCNFSM4IPMLDGA
.

So you re-populate the list after navigation, this is the reason why the position is being reset; after you refresh the list you can use the lastIndex and the ScrollToPosition of the parent ScrollView calculating the Y value (=RowHeight X lastClickendElementIndex).
Since this is strictly a UI thing, you can't do in ViewModel, you must do in page code.

Ok, Thanks for your support  Brother;😊
On Mon, Aug 26, 2019 at 3:45 PM Dottor Pagliaccius<EMAIL_ADDRESS>wrote:

So you re-populate the list after navigation, this is the reason why the
position is being reset; after you refresh the list you can use the
lastIndex and the ScrollToPosition of the parent ScrollView calculating the
Y value (=RowHeight X lastClickendElementIndex).
Since this is strictly a UI thing, you can't do in ViewModel, you must do
in page code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DottorPagliaccius/Xamarin-Custom-Controls/issues/38?email_source=notifications&email_token=AMB5JTJ4UUH5Z7I2VO2Q32LQGOUKZA5CNFSM4IPMLDGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D6JCQ#issuecomment-524805258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMB5JTLJYM5H7TQ5GI7J3ATQGOUKZANCNFSM4IPMLDGA
.

Hi,
Like Listview; Is it possible to add Header or Footer in Repeater view.
On Mon, Aug 26, 2019 at 3:50 PM Liju Daniel<EMAIL_ADDRESS>wrote:

Ok, Thanks for your support  Brother;😊
On Mon, Aug 26, 2019 at 3:45 PM Dottor Pagliaccius <
<EMAIL_ADDRESS>wrote:

So you re-populate the list after navigation, this is the reason why the
position is being reset; after you refresh the list you can use the
lastIndex and the ScrollToPosition of the parent ScrollView calculating the
Y value (=RowHeight X lastClickendElementIndex).
Since this is strictly a UI thing, you can't do in ViewModel, you must do
in page code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DottorPagliaccius/Xamarin-Custom-Controls/issues/38?email_source=notifications&email_token=AMB5JTJ4UUH5Z7I2VO2Q32LQGOUKZA5CNFSM4IPMLDGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D6JCQ#issuecomment-524805258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMB5JTLJYM5H7TQ5GI7J3ATQGOUKZANCNFSM4IPMLDGA
.

I removed that option, I think it was not the case because the control is not meant to be used like a ListView, if you need ad Header/Footer, just put a StackLayout before or after the repeater.

Ok;🙂
On Fri, Aug 30, 2019 at 12:53 PM Dottor Pagliaccius <
<EMAIL_ADDRESS>wrote:

I removed that option, I think it was not the case because the control is
not meant to be used like a ListView, if you need ad Header/Footer, just
put a StackLayout before or after the repeater.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DottorPagliaccius/Xamarin-Custom-Controls/issues/38?email_source=notifications&email_token=AMB5JTNKLBM37TULNNIK5LTQHDDFRA5CNFSM4IPMLDGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QZVUY#issuecomment-526490323,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMB5JTIIJA574NX234KAWPTQHDDFRANCNFSM4IPMLDGA
.


Fix 499 and rephrase funding description

fixes #499

:tada: This PR is included in version 4.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


#0 getComputedStyle is not defined error

Hello;
I've been enjoying react-bootstrap-table for a while thanks for all effort.
While testing react-bootstrap-table with Enzyme a problem came up. When you mount a component that contains react-bootstrap-table it says getComputedStyle() is not defined. So that's why I've changed getComputedStyle() calls with window.getComputedStyle().
Thanks and regards.

@oalmali, thanks your contribution. BTW, why adding lib folder?

@AllenFang I did not do it on purpose. I was trying to do a quick fix. So when you merge it you can remove it without any hesitation.


Add save functionality to test / example

@jpuri I'll do this and check it into master for you, won't touch main lib - only example/


Enable multi versionning of the doc

The best would be to keep hosting the doc on GH. We can try to use the mkdocs mike plugin.
If that does not work, let's switch to readthedocs.

Done on master


Refactor unit tests into different modules

Seems good, except I'm not sure about performance tests: it still doesn't feel like we're testing anything useful. Also they don't fail if performance regresses!

I agree, the performance tests still don't test anything useful. I was planning on making another PR with an updated performance test in the future.

Looks great!


Unrecognized electrum mpk format: Zpub

I created a 1-2 multisig wallet in Electrum using Trezor. In Wallet -> Information the master public key is

Zpub75X52uG...

When running EPS for the first time, a ValueError exception is thrown:

File "/home/node/.local/lib/python3.7/site-packages/electrumpersonalserver/server/deterministicwallet.py", line 58, in parse_electrum_master_public_key
raise ValueError("Unrecognized electrum mpk format: " + keydata[:4])
ValueError: Unrecognized electrum mpk format: Zpub

Tried changing from Zpub to zpub, but then a checksum error is thrown.
I used EPS before and it worked, but I lost the config file and can't make it work again.
Thanks

In fact I wasn't using the appropriate syntax for multisig keys


📅 12/26 @ 12:00pm PT - Refactoring a 10+ years old code base: nock (Part VII)

💁🏻 Refactoring a 10+ years old code base: nock (Part VII)
📅 Sunday, December 26, 2021
🕐 12:00am Pacific Time
🎙 no guests
📍 https://www.twitch.tv/gregorcodes
🏷 opensource

Subscribe to this issues to get a notification before the show begins and a summary after the show concludes.
Refactoring a 10+ years old code base: nock (Part VII)
I will continue my refactoring work from the first 6 weeks: #59, #58, #55, #54, #53
We use the new module throughout nock's code base now. Unfortunately some tests are still failing, so that's what I hope to finish in this session.
If we get all existing tests to pass and reach 100% test coverage again, I'll move the internal intercept module to its own repository and publish it as its own npm module.
Outline

Quick recap of what we accomplished so far
Detour: https://github.com/gr2m/http-recorder - Node.js in-process http(s) recording in 100 LOC
Make remaining tests pass

[x] tests/test_recorder.js
[x] tests/test_back_filters.js
[x] tests/test_back.js

Refactor the intercept module, in particular the normalization of request options. I have the gut feeling we should just use the URL api to parse a request string and make sure we set all the properties. Have another look at what the native http.RequestClient api is doing.
Refactor the nock codebase. Remove no longer used code and obsolete tests.
Create the nock/intercept repository and move the internal module there
Make sure the new repository is fully documented and has 100% test coverage
Setup continuous releases for the new module
install the new module as dependency of nock
Celebrate the win!

TODOs
Before the show

[x]  30 minute announcement tweet
(https://twitter.com/gr2m/status/1475187516277936131)
[x]  30 minute announcement comment
(https://github.com/gr2m/helpdesk/issues/60#issuecomment-1001231000)

When show begins

[x]      start of show tweet
(https://twitter.com/gr2m/status/1475194342516035588)
[x]  comment on issue
(https://github.com/gr2m/helpdesk/issues/60#issuecomment-1001233460)
[x]  Set twitter profile url
(https://twitter.com/gr2m)

After the show

[x]  Reset twitter profile after the show
[x]  recording available tweet

Recording
https://www.twitch.tv/videos/1244301943

Shownotes
https://github.com/nock/nock/discussions/2247#discussioncomment-1873108

Going live in 30 minutes at https://twitch.tv/gregorcodes

I'm now live on https://twitch.tv/gregorcodes

All done for today! Recording will be available here in a moment:
https://www.twitch.tv/videos/1244301943

Time for a new episode? :D

it is! I'm sorry, we had a complex move over new years and the first weeks of January, got COVID (luckily only mild symptoms, our kids are high-risk ...), and are house hunting now, it's all very exhausting. But I will get back to it, I will finish up this work. We have one final move next week for now, and then I hope that by mid February I'll find time to do Sunday shows again

Well, take care, stay safe! I hope everything goes well.


Fix issue where field is persisted after deleting a block

This fixes an issue that ultimately results in this error message: https://github.com/filamentphp/filament/issues/7450.
When using filament-markdown-editor with the Builder field (https://filamentphp.com/docs/2.x/forms/fields#builder) the following bug can be consistently triggered:

Add a block with a markdown field
Set some content in the markdown field
Save (or don't)
Reload (or dont')
Delete the block
Save

This will trigger this error message https://github.com/filamentphp/filament/issues/7450. The block is deleted, however the field (in my case called content) will still have a value of '' meaning the block is not completely empty; it is now an array ["content" => ""] and we get an error. The workround suggested in issue 7450 doesn't work because this will lead to actually storing ["content" => ""].
Anyway. I hope I get this across, I'm not too familiar with the inner workings of livewire, but this change does fix the issue.

Thanks!


invariant violation: view config not found for name RNCardView

react-native-cardview": "^2.0.2
"react-native": "0.55.4",

Can you profile full error log here?

Same issue :(

I started getting this issue when I turned on "Toggle Inspector" on the app Dev menu.Turning off "JS Dev Mode" and "Use JS Deltas" fixed the issue for me.

Same here


Cy add doc

Add document for iree cross compilation and qemu based compilation.

Oops.. sorry can somebody help me hide this pull request temporarily.
I accidentally send to official iree repo.
I will need to go through our internal open source flow, then send the patch to official iree repo.

sorry I accidentally sent this patch to official repo.
I will need to go through our internal open source flow firstly.
Close it temporarily.


Subcategories improvements

(1) The arrow is black, which is had to see on a dark background. I recommend setting it to the same color as the text.

(2) The subcategory name should be at the same indent as the other fields on its level; only the values inside the subcategory should be indented. This would mean the arrow should render to the left of the text. This would be consistent with other tree style GUIs:

(3) I'd recommend a triangle icon rather than an explicit arrow. Arrow implies a direction, whereas here we just want to indicate collapse status. A triangle shaped button that rotates like the arrow and highlights like a vMC button would be perfect.

The arrow should be white, not sure what happened. I agree with point 2. I want to change the arrow to + or -

Weird, looks like it's sometimes white, sometimes not:

+/- would be great too!

weird huh

I was also able to make the scroll bar go out of its bounds and overlap the bottom button bar:
https://streamable.com/9cyah


Add extension methods for adding direct forwarding to the ASP.NET Core request pipeline (#1972)

Closes #1972

@microsoft-github-policy-service agree

We'll want to update docs/samples/tests as well, but implementation LGTM, thanks!

@MihaZupan I can update code snippet in direct-forwarding.md and ReverseProxy.Direct.Sample to use extension methods. I also see one tests asset (ReverseProxy.Direct) which could be using them. I can update those, is there anything else you would have in mind?

We'll want to update docs/samples/tests as well, but implementation LGTM, thanks!

@MihaZupan Miha Zupan FTE I can update code snippet in direct-forwarding.md and ReverseProxy.Direct.Sample to use extension methods. I also see one tests asset (ReverseProxy.Direct) which could be using them. I can update those, is there anything else you would have in mind?

Please show both options when you update these.

We'll want to update docs/samples/tests as well, but implementation LGTM, thanks!

MihaZupan I can update code snippet in direct-forwarding.md and ReverseProxy.Direct.Sample to use extension methods. I also see one tests asset (ReverseProxy.Direct) which could be using them. I can update those, is there anything else you would have in mind?

Please show both options (old and new) when you update these. We still want people to understand how to use the lowest level direct forwarding.

I've pushed the first attempt, please let me know what to adjust.

Please let me know if any further updates to tests/samples/docs are needed.

Thanks for this!

Thanks for this!

You're welcome, happy to repeat that in future if I happen to have an interesting idea 🙂

There are a few here: https://github.com/microsoft/reverse-proxy/issues?q=is%3Aopen+is%3Aissue+label%3A"help+wanted"


Compiler error since v4 - Vue SFC using pug lang for template

I followed the upgrade documentation to move to v4. It used to work nicely with v2.
Here is the error I get:
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
    at loadTemplateCompiler (\node_modules\vue-loader\lib\index.js:21:11)
    at Object.module.exports (\node_modules\vue-loader\lib\index.js:65:35)

Using Yarn 1.12
Here are our dependencies.
  "devDependencies": {
    "@fortawesome/fontawesome-svg-core": "^1.2.8",
    "@fortawesome/free-solid-svg-icons": "^5.5.0",
    "@fortawesome/vue-fontawesome": "^0.1.2",
    "axios": "^0.18.0",
    "bootstrap": "^4.1.3",
    "bootstrap-vue": "^2.0.0-rc.11",
    "browser-sync": "^2.26.3",
    "browser-sync-webpack-plugin": "^2.0",
    "cross-env": "^5.2.0",
    "eslint": "^4.19.1",
    "flatpickr": "^4.5.2",
    "form-backend-validation": "^2.3.3",
    "fs-extra": "^5.0.0",
    "html5shiv": "^3.7.3",
    "jquery": "^3.2",
    "laravel-mix": "^4.0.7",
    "lodash": "^4.17.11",
    "media-match": "^2.0.3",
    "moment": "^2.22.2",
    "path": "^0.12.7",
    "popper.js": "^1.14.4",
    "pug": "^2.0.3",
    "pug-loader": "^2.4.0",
    "resolve-url-loader": "^2.3.1",
    "respond": "^0.9.0",
    "sass": "^1.15.2",
    "sass-loader": "^7.1.0",
    "shipit-cli": "^4.1.2",
    "shipit-composer": "^0.0.5",
    "shipit-deploy": "^4.1.3",
    "shipit-shared": "^4.4.2",
    "shipit-yarn": "^0.2.0",
    "string-mask": "^0.3.0",
    "sweetalert": "^2.1.0",
    "v-mask": "^1.3.3",
    "vue": "^2.5.17",
    "vue-bootstrap-datetimepicker": "^5.0.1",
    "vue-js-modal": "^1.3.26",
    "vue-multiselect": "^2.1.3",
    "vue-promise-btn": "^1.1.0",
    "vue-template-compiler": "^2.5.21",
    "vue-toasted": "^1.1.26",
    "vue2-collapse": "^1.0.15",
    "vue2-storage": "^3.4.0",
    "vuejs-datepicker": "^1.5.3",
    "waypoints": "^4.0.1",
    "webpack-synchronizable-shell-plugin": "^0.0.7"
  },

I also tried to create a new laravel/laravel project and update the ExampleComponent to use pug. No success either.
Got a warning at install (after adding pug and pug-loader deps)
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^4.0.0".

And errors at compile
Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
(Emitted value instead of an instance of Error)
  Error compiling template:

  div
        div.row

  - Component template requires a root element, rather than just text.

Here is modified package.json
{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "npm run development -- --watch",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },
    "devDependencies": {
        "axios": "^0.18",
        "bootstrap": "^4.0.0",
        "cross-env": "^5.1",
        "jquery": "^3.2",
        "laravel-mix": "^4.0.7",
        "lodash": "^4.17.5",
        "popper.js": "^1.12",
        "pug": "^2.0.3",
        "pug-loader": "^2.4.0",
        "resolve-url-loader": "^2.3.1",
        "sass": "^1.15.2",
        "sass-loader": "^7.1.0",
        "vue": "^2.5.17",
        "vue-template-compiler": "^2.5.21"
    }
}

I had the same issue see #1867 perhaps it's the same. How does your webpack.mix.js look like?

"vue": "^2.5.17",
"vue-template-compiler": "^2.5.21"

For your second problem (Component template requires a root element, rather than just text.), which I ran into as well, add pug-plain-loader to your dependencies:
npm install pug-plain-loader --save-dev

then update webpack.mix.js to add:
mix.webpackConfig({
  module: {
    rules: [
      {
        test: /\.pug$/,
        oneOf: [
          {
            resourceQuery: /^\?vue/,
            use: ['pug-plain-loader']
          },
          {
            use: ['raw-loader', 'pug-plain-loader']
          }
        ]
      }
    ]
  }
});

@JeffreyWay What do you think about supporting <template lang="pug"> for vue-loader?
https://github.com/vuejs/vue-loader/blob/4e907844de8223f55fff7cd4d3fa77b565b179a3/example/webpack.config.js#L29-L43

Will try. Thanks a lot.
Used to work without any additional configuration with previous Mix setup. Will add those lines. If not directly supported out of the box, I think it would be nice to at least mention that breaking change in the upgrade docs.
Thanks.


[FormControlLabel][material-ui] Child control aligned multi-line alte…

Alternative fix for Child control alignment in FormControlLabel. Currently still in progress since I am having issues with rendering it correctly.

[ ] I have followed (at least) the PR section of the contributing guide.

I will close this for now in favor of https://github.com/mui/material-ui/pull/39875 as this is a more complicated issue than expected and it seems we cannot avoid a breaking change!
Thanks for spending the time to look into this @PaulKristoffersson 🙏


Pivot Table v2 sorting order is not right

Hi guys!
I have a basic count and a ratio of the total value  (displayed as combined metrics). In this case the sorting isn't working in the way it should because for example If the most sales happened in January the counted number will be the first column, however the percentage will be far back because 70% just means 0,7 in this case, but they are not the same metrics, same dimension. This is a problem because we have lot of columns (like ~1000) and users sometimes filter for some of this or just would like to see the top ones. Does anyone has a solution for this?
Thank you in advance and have a nice day!
How to reproduce the bug

Make a pivot table with 2 metrics
Use them as combined metrics
Sort them by metrics

Expected results
See the columns WITH the metrics attached to each other sorted (just like with a-z sorting)
Actual results
The values won't be represented in pair, but for example if you have a % ratio 70% wont be paired with the first value, it will be only the first of percentage values as it counts as 0,7.
Screenshots
Environment
(please complete the following information):
Mozilla Firefox
Superset 3.0 RC4

I assume this is still the case in 3.0 or the 4.0 RC?
It would be helpful if you should show us screenshots and form values for a test case using example datasets we all have access to. That would allow us to test such things manually, or even write an E2E test to cover this.

We no longer support 3.x, and it's been a long while since I asked for additional info, so I'll close this as stale. Happy to reopen/revisit if warranted.


Updated main.css colors

To make it look more like old roblox user interface.

I have looked at the old versions of the website from 2007-2008, which is the design I am wanting. The correct colours are already on the website, these colours you have requested seem to be the colours from the 2010s.


Phaser 3 example needs update in the plugins config section

The correct plugin configuration seems to be the one used in the index.html file. Something like this should appear on the main page for the example to work correctly:
plugins: {
scene: [
{
key: "DragonBones",
plugin: dragonBones.phaser.plugin.DragonBonesScenePlugin,
mapping: "dragonbone"
}
]
},
Also when I tried the above mentioned change in my config the dragonBones.js it asked me to configure it globally, triggered by:
if (!dbPlugin) throw new Error("Please add the dragonbone plugin in your GameConfig");
in DragonBonesScenePlugin.prototype, "factory" method.
After looking for solutions I messed up by local dragonBones.js and by luck alone ended up trying out the dragonBones.js from:
https://raw.githubusercontent.com/DragonBones/DragonBonesJS/dev/Phaser/3.x/out/dragonBones.js
To my awe, it all started to work without error! I then looked for differences and it looks like this dragonBones.js contains a different implementation of the DragonBonesScenePlugin.prototype, "factory" method!
So it looks like the complete, working example needs to have the correct plugins configuration and the correct (updated) dragonBones.js lib file as well. Hopefully, now more people will be able to fully appreciate your work and use it in phaser3 projects as well.
I did a PIXIv4 with dragonbones.js animated characters project in the past. Frame rate was an issue on mobile due to the size of the game and the number of concurrent characters.
Phaser3 does some nifty tricks: half screen size on mobile and batching that gives SOLID PERFORMANCE especially on mobile.
So I really encourage people to support and give dragonbonesJS and phaser3 a shot, fixing the front page instructions will surely allow people to enjoy this awesome API.

I figure out that Phaser 3 is too old to run this demo, and I will fix this problem this week and commit a PR.

It fixed at commit https://github.com/DragonBones/DragonBonesJS/commit/f1e0241ec3578273c7649a6a1844e7d16f9eaea4, you can run HelloDragonBones in Phaser/Demos with npm start.


dsh improvements

Commited to developer in
https://github.com/blinkreaction/drude/commit/954137f047a775b3ed496fbbdd90d3ee4c1c1c05 and https://github.com/blinkreaction/drude/commit/4188a7c6e5b38592d1b890e5e1aea908d50d5f16


kirby install:kit is not working

Using kirby cli *1.1.1, I cannot install any kits like plainkit. The installation folder is empty afterwards.

I am getting the same error on Linux mint 21 cinnamon, composer 2.2.6
The folder is created, but empty.
Other commands such as kirby make:command work.
Let me know if you want me to troubleshoot.
Thanks

It seems the error comes from line 43 of the 'unzip' command, where it says:
exec('mv ' . $to . '/*/{.[!.],}* ' . $to . '/');
I find two similar cases online where the issue is that * should go outside of the quotes, see here and here.
Perhaps that helps.
Perhaps also relevant to say that I am using zsh
@mi-skam What OS, composer version and terminal are you using?

I'm closing this in favour of https://github.com/getkirby/cli/issues/44


scipy.interpolate.interp1d can not handle datetime64

The interp1d function of scipy.interpolate can not handle datetime64 arrays, while there is initially no error message, and the fix seems easy (docs state that input should be real values, so that is correct)
Reproducing code example:
import numpy as np
from scipy.interpolate import interp1d
d1 = np.datetime64('2019-01-01')
d2 = np.datetime64('2019-01-03')
xp = np.array([d1, d2])
yp = np.array([1, 3])
x = np.datetime64('2019-01-02')
f = interp1d(xp, yp)  # no error message
f(x)  # now error appears

Error message: TypeError: invalid type promotion
But this works fine and seems easy to implement:
f = interp1d(xp.astype('float64'), yp)
f(x.astype('float64'))

So why not allow datetime64 input and do the conversion inside interp1d?

The issue is that xp remains np.datetime while x gets converted to float in the call to _asarray_validated inside interp1d.__call__. Hence an invalid type promotion error in trying to do mixed arithmetics between datetime64[D] and float.
There are two possible ways out:

convert the xp argument to interp1d.__init__ to float.
If this is done, this will need to be tested for all interp1d interpolation kinds, and for a variety of datetime variants. E.g., what happens if xp.dtype is datetime64[D] (days) and x.dtype is datetime64[ms] (milliseconds)?
I suspect that alone would not be enough, the next request would be to account for business days.

simply document that interp1d only accepts floats.
This way, it's up to the user to properly convert datetime objects must be converted to ints or floats.

I'm leaning towards the second option TBH.

I would prefer to do the first option, if possible. To me, it sounds like
testing wether numpy correctly converts all its possible flavors of
datetime64 correctly to floats. If they are converted correctly, interp1d
would work. So why the doubt about numpy's conversion capabilities?
On Fri, Dec 6, 2019 at 4:37 PM Evgeni Burovski<EMAIL_ADDRESS>wrote:

The issue is that xp remains np.datetime while x gets converted to float
in the call to _asarray_validated inside interp1d.call. Hence an
invalid type promotion error in trying to do mixed arithmetics between
datetime64[D] and float.
There are two possible ways out:

convert the xp argument to interp1d.init to float.
If this is done, this will need to be tested for all interp1d
interpolation kinds, and for a variety of datetime variants. E.g.,
what happens if xp.dtype is datetime64[D] (days) and x.dtype is
datetime64[ms] (milliseconds)?
I suspect that alone would not be enough, the next request would be to
account for business days.
simply document that interp1d only accepts floats.
This way, it's up to the user to properly convert datetime objects
must be converted to ints or floats.
I'm leaning towards the second option TBH.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/11093?email_source=notifications&email_token=AAKM3SGMTCYIMGM46IFR4KLQXJWVJA5CNFSM4JPJGJ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGEOXGA#issuecomment-562621336,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKM3SDOOPT2BCNP7LQXWPDQXJWVJANCNFSM4JPJGJ4Q
.

Numpy converts a single datetime object correctly, yes. However,
In [23]: x, x.dtype
Out[23]: (numpy.datetime64('2019-01-02'), dtype('<M8[D]'))

In [24]: x1 = np.asarray(x, dtype='datetime64[m]')

In [25]: x.astype(float)
Out[25]: 17898.0

In [26]: x1.astype(float)
Out[26]: array(25773120.)

So if you (or someone else) sends a PR with datatime handling, this needs to be extensively tested.

Howbout interp1d stores the dtype of the array. Then when the function that interp1d is called, it requires the same dtype? At least then all is consistent. Too easy?
Right now it accepts certain dtypes when interp1d is called, but the function that interp1d returns does not accept the same dtype. That seems odd.

simply document that interp1d only accepts floats.
IMO, this is good idea. It might be able to close #12222


Update dod-zero-trust-strategy-user.md

Remove numbering for consistency with other articles.

#sign-off

@sign-off


sleepFileTimeCalibrate takes too long

Starting a single test is quite slow. Wouldn't it be better to just use sleepFileTime with something "safe" (1.5 or 2 secs?).

On my machine sleepFileTime calibration takes a fraction of a second. What time is your sleep time calibrated to? Not doing the calibration massively slows down the full test run.

On Linux it calibrates to 6ms.

Calibration took 9.836575s. Longest file modification time lag was 1007ms

The machine is 7 years old iMac, but I would attribute that to the OS. I'll test later with a newer MacBook.

Same on MacBook with ghc 7.10.3:
Calibration took 9.614034s. Longest file modification time lag was 1005ms

Are Mac timestamps only to the nearest second? What is the filesystem you are using? If that really is correct we can do something like in calibration if the first is > 0.5s then default to 1.5s or something. But if it's just a bug in the code failing to get the high res timestamps that would be far better to fix.

I don't think so, most probably utime() is used where utimes() should be used. I've been grepping ghc sources and there're FFI calls to both APIs. Probably some incorrect conditional is making the OSX version use the former.

Thanks. I'll check exactly where I am expecting it to come from and let you know... Perhaps the UNIX package, at a guess.

I have written a small C test and UNIX is innocent. utimes() ignores the tv_usec field.

I'm use the unix library to call getFileStatus then I extract modificationTimeHiRes. The code is at
https://github.com/ndmitchell/shake/blob/master/src/Development/Shake/FileInfo.hs#L152-L164. Not sure what that corresponds to, I was expecting a stat call.

Looks like stat() is the culprit. I get 0 for the st_mtimensec or st_mtimespec.tv_nsec fields.

So that's a bug in where? Mac OS itself? Seems a bit surprising...

This prints 0 for any file you throw at it:
#include <sys/stat.h>
#include <stdio.h>

int main(int argc, char **argv) {
  struct stat st;
  stat(argv[1], &st);
  printf("%ld\n", st.st_mtimespec.tv_nsec);
  return 0;
}

Same happens when defining _POSIX_C_SOURCE and using st_mtimensec field instead.

Not sure if this is the relevant piece of code:
http://opensource.apple.com//source/xnu/xnu-1228.15.4/bsd/hfs/hfs_attrlist.c
But if it is, tv_nsec fields are zeroed in all cases.

I've pushed some code to only run the calibration twice. In reality I double the calibrated value and cap it at 1s anyway, so I don't think 2 measurements will matter. Note however that one measurement would be problematic, since I might start measuring at 0.99s and stop at 1s and conclude an accuracy of 0.01s.
I'd love to have higher precision timestamps on Mac OS, but looking at http://stackoverflow.com/a/9543891/160673 it suggests HFS doesn't store them.

https://en.wikipedia.org/wiki/HFS_Plus

Examples of modern file-system features not supported by HFS+:
nanosecond timestamps

Yep, so it seems HFS+ doesn't support subsecond timestamps, and that's known and expected. Certainly a surprise to me!
With the tweak to calibration it should only delay starting tests by an average of 1.5s, so hopefully that's liveable. Do you agree?

I was as surprised as you. I just hope they'll realise we're in the 21st century at some point and change the filesystem...
Sure, 1.5 is great compared to what I get now :-)


clean block definitions before attempting to upgrade blocks

Fixes https://github.com/microsoft/pxt-microbit/issues/5896
The issue here is that we cache Block definitions when we inject all of the blocks from our API info. This cache gets cleared when we load a new blocks file, but the compiler upgrades happen before that function is called so it's using the cached blocks from the previous injection.
I still haven't figured out when this was introduced, but it appears to be a while ago. My guess would be that this repros on arcade live as well though I haven't tried it.

Nice find


Include important date/times in descriptions of upstream actions/statuses

In particular:

The creation/last update date in the issue description
The closing date in the issue description
The comment creation / last edit date in comments
etc.

Tested it here https://issues.redhat.com/browse/HSEARCH-5082...  (see there's my comment that had an "edit")
Created/last updated are easy to add. As for the closed date 🤔... how valuable would it be?  Note that for issues that are synced by the tool through the hook, we'd see the transition in the ticket history.
I could check that new issue status != current issue status && new issue status == closed but this would work only on the close transition. If someone edits the issue after that... we'd need to read the downstream description, get the value out of it (probably some regex 🥲) and then add that date to the "new description"...

Created/last updated are easy to add.

Thanks!

As for the closed date 🤔... how valuable would it be? Note that for issues that are synced by the tool through the hook, we'd see the transition in the ticket history.

Yeah it's mostly for the thousands of already-closed issues have been synced in the past few weeks: for those, Jira history is incorrect :/

I could check that new issue status != current issue status && new issue status == closed but this would work only on the close transition. If someone edits the issue after that... we'd need to read the downstream description, get the value out of it (probably some regex 🥲) and then add that date to the "new description"...

I though Jira stored the date somewhere... If not, never mind: we can always rely on the "fix version", which I see you sync as labels.


Delete the old api

Fixes #550
There are seven tests left to fix, and this is built atop #1369, so will need that merged first.

Additionally #1383 and #1362 should be merged first.

#1382 and #1363 should be merged first also.

This now also fixes #382.

@murgatroid99 - can you take a once over on grpc.h
@nicolasnoble - can you perform an extensive diff of the Makefile :)

grpc.h looks fine to me. Though, I am disappointed in how many lines of code this PR adds.

This will break Objective-C, but it's not tested on Travis yet.
@murgatroid99 @jcanizales - hope you're ok with merging this first if #1363 as it will help stem some bleeding on Travis for the rest of the team.

I think that should be OK. That's the only active Objective C pull request.


issue

Challenge Prioritize One Style Over Another has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Hello World!

@aniketchitodkar there is actually an error within your


koji: log unsuccessful requests only once

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

@diaasami the changes look good, but I would like to ask for more details on the intention of this change. E.g. why we do not want to log each retry any more? Happy to approve afterwards.

@diaasami the changes look good, but I would like to ask for more details on the intention of this change. E.g. why we do not want to log each retry any more? Happy to approve afterwards.

The motivation for this is 1. not to log successful requests, which are not retried and 2. to not log twice.
we log retries, but this happens inside retryable-http so it's not visible here, what we are logging here is the decision to retry or not (which is based on the library function rh.DefaultRetryPolicy), if it's a yes we will see the logs of retrying, but if it's a no, we will not so we need to see that decision was taken and may be later change the retry policy.


refactor: Payout fee when proven

The fee payout should happen when proven and not when proposed as it is currently done. The reason we are currently "allowing" this is because the system does not handle reorgs so it is "same same".

When #7937 is done this might be slightly simpler to do. Should be handled before #7938.

It is insufficient that it happens at the time of a block being proven, it must happen when the block is included in the proven chain. This needs to happen as it is still possible for it to be re-orged even if the individual block is proven if a prior re-orgs.
Will wait addressing this slightly, as we can implicitly get around if when move along to the batch proving where we will likely move to sequential proving and not being able to run ahead in the same way, which removes this issue.
TL;DR: for sequential proving we can payout at verification, as it is the same as inclusion in proven chain.

This was fixed as part of #8262


docs: replace "sentHeader" with "headersSent" in jsdoc

When I use res.sendFile, I want to return json information on error. The code ran fine for months, but one day the code suddenly crashed and said "Cannot set headers after they are sent to the client" because I didn't check res.headersSent.

It was added by express before res.headersSent existed in Node.js.

It was added by express before res.headersSent existed in Node.js.

I think it is easier to help me solve the problem

Hi @zhangky01 sorry you are having an issue. I see you quoted my reply to @jonchurch 's comment, but I'm not sure what problem you are referring to. Can you ellaborate on the issue you are having? We would be happy to help.

Hi @zhangky01 sorry you are having an issue. I see you quoted my reply to @jonchurch 's comment, but I'm not sure what problem you are referring to. Can you ellaborate on the issue you are having? We would be happy to help.
I'm sorry. I misunderstood. This PR was discovered when I was looking for answers to problems. I'm glad yours approved it.

Hi @zhangky01 sorry you are having an issue. I see you quoted my reply to @jonchurch 's comment, but I'm not sure what problem you are referring to. Can you ellaborate on the issue you are having? We would be happy to help.

I'm sorry. I misunderstood. This PR was discovered when I was looking for answers to problems. I'm glad yours approved it.


Support required SQL data types

We know we want to support a SQL decimal equivalent type at least for basic SKV data type and likely filter operations, but probably not as a key type

Done


Open file branch

Adds "Open..." to the file menu, allowing the user to open a file that has python function definitions (only).  Includes new help screen to explain how this is used.
Related issues: #64

Hey, this looks good. I'll take a look at it tomorrow.

Hey, I looked at it now. Lots of problems. Thanks @Mustang01 for working on this often-requested feature.
Do fix the code style issues. For example use underscore naming when possible (i.e. save_as instead of saveAs). This is possible whenever we don't interact with wxPython. Use a ".py" extension like Peter said.
I'll try playing around with this feature after you've fixed the issues above.

@Mustang01 Do you have time to fix the issues we addressed? That would allow us to merge your changes. Let us know!


Miscellaneous enhancements

Hi! I don't know if you'll find these useful, but I added some things that were useful to me:

results_aggregator.rb refactored (created a struct to wrap the input CSV rows, so fields could be referred to by name instead of array index, which makes reading/modifying the code a lot easier)
added Gemfile
commented db.yml.example
added a cockroachdb configuration

Thanks for the patch.
I don't think a Gemfile is warranted, especially one that depends on activerecord-cockroachdb-adapter which few users would use.  I don't like to encourage the installation of unnecessary gems.
Adding the cockroachdb entry in db.yml.example is OK, though I don't understand why the sequel-amalgalite entry was removed.
This doubles the size of results_aggregator (even excluding comment lines), and I'm not sure the new version is significantly more understandable.  I'm also not sure how the reformatting of output will affect the use of the data for graphing.
I'll try this out in the next few days and decide which parts I want to merge.

Hey! Thanks for the quick and thoughtful reply!
Regarding the Gemfile, I was thinking that it could contain all the dependencies for all possible database backends, so that it would be easier for the user to run the fill suite of benchmarks. (They can ignore the Gemfile if they don't want to do that.) I guess that's only a marginal time-savings, since the user still has to install/configure all those databases!
Sorry about removing Amalgalite, I thought it was redundant, since there are already sqlite3 benchmarks, and the extensions that amalgalite includes (R*Tree and full-text search) don't get benchmarked.
I think the new version of results_aggregator.rb is easier to read -- I did add more code, but it's much clearer what's going on (self-explanatory variable names, comments, a struct, etc.). Here's what the results look like now: https://gist.github.com/epitron/f04935a87fc1887d76e7bbf55187fa63 -- I think putting the descriptions in the far right column helps too; it feels more comfortable to read, to me.

Thanks for your work on this.  I've played around with the changes, and I agree with you that the results_aggregator refactoring makes things a little easier to understand.
Having the memory used is nice, but combining it into a single cell makes analysis difficult.  We'd probably want a separate parameter you could pass to results_aggregator to choose column to use (defaulting to "real_time" for backwards compatibility).  Maybe just add OptionParser and handle an option to choose the column?
I've squashed your changes into a single commit, and I've added a commit to make the output is more similar to the previous output.  The output you used is harder to use for graph purposes or further analysis.  With the previous output, you could just open up the file in a spreadsheet program and click the graph button.
In regards to the Gemfile, few users are going to want to run all adapters, especially if they have to install drivers they wouldn't need.  I just don't think it is worth it.
I'm going to leave db.yml.example alone for now, if you would like to add cockroachdb to it, please submit a separate pull request just for that.


Enable dispatch tracing (SDK3.0)

What does this PR do?
This enables the new dispatch tracing, which was previewed in SDK2.6 and will be supported in the next SDK.
Dispatch tracing will allow the following:

Fixes the positional argument constraint to the models that needed to be worked-around. Can now use the exact same arguments as HF, including passing kwargs
Can pass dictionaries and return dictionaries to poptorch model runners.
All cases of mixed precision now work correctly. It also removes the poptorch.autocast feature.
Tracing is much faster than before.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


update saml sp docs

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

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

Hi @JasSuri - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Also, substantive updates like the ones in this pull request need to be submitted in the private repo, where there are quality checks and staging that aren't available in the public repo. Would you make this content update in the private repo instead? Thank you! We'll close this PR.
If you need guidance for working in the private repository, let me know and I'll send it in email. Thanks.

Hi @JasSuri - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Also, substantive updates like the ones in this pull request need to be submitted in the private repo, where there are quality checks and staging that aren't available in the public repo. Would you make this content update in the private repo instead? Thank you! We'll close this PR.
If you need guidance for working in the private repository, let me know and I'll send it in email. Thanks.


Add convenience functions for obtaining Authorizers

Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.
As part of submitting, please make sure you can make the following assertions:

[ ] I've tested my changes, adding unit tests if applicable.
[ ] I've added Apache 2.0 Headers to the top of any new source files.
[ ] I'm submitting this PR to the dev branch, except in the case of urgent bug fixes warranting their own release.
[x] If I'm targeting master, I've updated CHANGELOG.md to address the changes I'm making.

Addresses https://github.com/Azure/go-autorest/issues/202

We want to get this in for the SDK v12 release. Otherwise I can move this to dev branch.

Because this is additive, I don't think we need to stress about what the timing is on merging these changes. Even if we release 12 before this, it'll be trivial to ship/adopt these changes.

As a general comment I think this functionality should go into a more appropriately named package, perhaps an "auth" package under the utils directory?  Having a generic utils package is kind of an anti-pattern and I'd hate for it to end up as a random collection of unrelated bits.

@jhendrixMSFT Agreed, was thinking of leaving it there is there is already a GetAuthorizer method and move it next breaking change. But we can move it now and just mark the one already in utils as deprecated.

Also addresses #219

Also addresses bug https://github.com/Azure/go-autorest/issues/220


Link to Rate Mentor Page

Is your feature request related to a problem? Please describe.
Currently, there is no option that links to rate the mentor page (the page is already created).
Describe the solution you'd like
I want to add one more option here called as - Rate the mentor and link it to the rate mentor page.

@Abhishek-kumar09  Please assign this to me.

@sakshi-choudhary  Yeah go ahead


update to 0.1.0, flit

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: host: numpy >= 1.20.0 should not contain a space between relational operator and the version, i.e. numpy >=1.20.0
requirements: run: numpy >= 1.20.0 should not contain a space between relational operator and the version, i.e. numpy >=1.20.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


haw-hamburg-bachelor-thesis:0.3.1, haw-hamburg-master-thesis:0.3.1, haw-hamburg-report:0.3.1 and haw-hamburg:0.3.1

I am submitting

[ ] a new package
[x] an update for a package

Description:

Fix typst 0.12 compatibility
Update glossarium to 0.5.1

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

The ci fails because the templates depend on haw-hamburg 0.3.1 which is also updated in this PR

I think calls to register-glossary are missing in haw-hamburg-bachelor-thesis: it fails to compile on my machine because references to glossary terms and abbreviations are not found.

Oh nooo you are correct I totally missed that one 😬 Thank you for pointing it out! :):)
I will fix it ASAP

Okay I fixed it and squashed it

Thanks!


Passing locals as arguments directly

Currently the arguments defined using types directly.
As example, the Throwable constructor, which gets string:
pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

Possibly more convenient way is something like:
pub fn new_String<'env, Arg0: AsRef<String>>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<Arg0>>
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

But because local hasn't AsRef impl, so maybe like follow:
pub fn new_String<'env, Arg0: Deref<Target = &String>>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<Arg0>>
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

I think this is harmless to add AsRef impl to Local.

IIRC the reason I haven't done this yet is because of ambiguity errors that crop up when trying to be generic over two levels of indirection (e.g. passing None fails IIRC?).  It'd be nice to improve this to take something generic like AsRef, but I want to start fleshing out some good unit test / example coverage before trying to tackle this.

Oh this is epic problem in rust, so I take pain avoid more then one level of indirection.
Maybe something as:
pub fn new_String<'env, Arg0: AsRef<String>>(
    __jni_env: &'env Env,
    arg0: Option<Arg0>,
) -> Result<Local<'env, Throwable>, Local<'env, Throwable>>

Despite the fact that it requires Some for non null values, but it is explicit and not so big inconvenient.

Another option might be to generate a bunch of impl Into<Option<&'env java::lang::Object>> for ...s, where ... might include Local<&String>, Option<Local<&String>>, etc.
However, I'm already hitting docs.rs limits on crate size, having horrible build times, etc. so I want to see what I can do to fix that some first.  I've been doing various experiments with proc macros, and I'm considering getting rid of the jni-android-sys crate and its thousands of autogenerated features, in favor of generating just a subset of the bindings needed for just your local crate.

Yes, compile time code generation is a right thing especially in case of bindings.


Deploying multiple CFs to one NSX breaks security groups

Currently security groups are automatically created for all instance groups in a deployment when NSX is enabled. In fact you actually get one security group namespaced to the deployment and one namespaced just to the instance group. As such two deployments can very easily step on each other.
As a minimum a security_group prefix could be defined to ensure jobs get namespaced appropriately.

closing this issue, but keeping pr for discussion (since there are more comments there).


Regarding Chinese languages on Weblate

I'd like input from Chinese speaking contributors regarding the various Chinese locales we have up for independent translation on https://hosted.weblate.org/projects/godot-engine/godot
As of today we have 6 different Chinese translations being worked on in parallel, and I think there might be some confusion regarding what is what, so I'd like input from people actually familiar with those languages.
Right now we have in Godot:

zh_CN (zh_Hans in Windows API and on Weblate) - Chinese (Simplified)
zh_TW (zh_Hant in Windows API/Weblate) - Chinese (Traditional)
zh_HK (zh_Hant_HK in Windows API/Weblate) - Chinese (Hong Kong)

Those three I'm familiar with, and they make sense to be separate as they are wholly different.
But recently translators added on Weblate:

zh - Chinese
Does this make sense to have? There's no absolute "Chinese" that I know of.
zh_CHS - Chinese (CHS)
This seems to be the old Windows naming for zh_CN/zh_Hans, so seems redundant with Chinese (Simplified)
cmn - Chinese (Mandarin)
Here I'm lost, help :) In Godot's known locales we do have "cnm_TW" for "Mandarin Chinese (Taiwan)". Can you confirm that it's a different dialect from zh_TW and should be kept separate?

For the reference, here are the "Chinese" locales currently recognized by Godot:
core/translation.cpp
109:    "cmn_TW", //  Mandarin Chinese (Taiwan)
201:    "hak_TW", //  Hakka Chinese (Taiwan)
254:    "lzh_TW", //  Literary Chinese (Taiwan)
275:    "nan_TW", //  Min Nan Chinese (Taiwan)
396:    "yue_HK", //  Yue Chinese (Hong Kong)
397:    "zh", //  Chinese
398:    "zh_CN", //  Chinese (China)
399:    "zh_HK", //  Chinese (Hong Kong)
400:    "zh_SG", //  Chinese (Singapore)
401:    "zh_TW", //  Chinese (Taiwan)

Thanks for any input!

CC @Geequlim @sersoong @ZX-WT

zh_CHS - Chinese (CHS)
This seems to be the old Windows naming for zh_CN/zh_Hans, so seems redundant with Chinese (Simplified)

Should I file this as a bug with Weblate @nijel? I guess zh_CHS should be marked as a variant of zh_Hans?

There are some duplicates in Weblate language definitions indeed, see https://github.com/WeblateOrg/weblate/issues/2072. I'll look into that now.

I've just done massive cleanup. The biggest part of the problem comes from people using various codes for same language and Weblate will never be able to detect all variants. I've updated the mappings to match current knowledge and removed duplicate ones.
I now recommend you to remove the additional translation files from the vcs, sorry for the mess.

Thanks!

I think all languages of Taiwan area(TW) can be merged into zh_TW.
Although there are many dialects in Taiwan, only one official language(zh_TW) can be used,the rest is meaningless.
Chinese (Mandarin) is the standard language in mainland China.I mean pronunciation.
Mandarin Chinese (Taiwan) is the common language in taiwan China.
It is a little different from the mainland of China.
The language of Hongkong and Macao is the same as that of Guangdong of China.Because of historical reasons, they have some subtle differences.They use Cantonese(Yue Chinese).
Yue Chinese, Min Nan Chinese and Hakka Chinese is a minority language.
Subtle cultural and linguistic differences lead to different words.
From the perspective of writing, there are differences between simplified Chinese and traditional Chinese.
Of course, there are other Chinese characters in Japanese.But I am not discuss this.
Differences in writing
simplified Chinese = zh_CHS = zh_Hans = zh_SG
traditional Chinese = zh_CHT = zh_TW = zh_HK
But zh_HK is different from  zh_TW.
Subtle cultural and linguistic differences lead to different words.
So,I think you can keep zh_CN zh_TW zh_HK on weblate.
"zh" is no sense.Usually it is used to represent the Chinese mainland, that is, zh_CN.

Thanks for the detailed input @sersoong, that confirms that @nijel did the right changes.


Support knex 0.13.0

New knex was released that is not specified in the peerDependency.

Support added in<EMAIL_ADDRESS>Thanks for the heads up :)


Postman gets 403 using the service account to access resources

After the install, I realized that the Service account is setup for Postnman. So, I use the app id and client secret to get a token. But when I try to access \Patient resource it give me 403 Forbidden.
Am I missing a step?
Thanks
Ahsan

Typically, a 403 means that your identity object id (claim oid in the token) is not in the list of allowed object ids.
https://docs.microsoft.com/en-us/azure/healthcare-apis/find-identity-object-ids

Right, I'm using the open source FHIR Server (https://github.com/microsoft/fhir-server-samples). Since the deployment script doesn't allow me enter the object ID, where do I enter it after install. The link you shared is for FHIR API for Azure.
In addition, FHIR server scope is set to user_impersonation instead of "Patient", "Encounter" etc. I'm a little unclear on this.
Thanks
Ahsan

For the OSS server, we use app roles. So you have to make sure that the user (or service principal) has the appropriate app roles.

I followed the deployment script
.\Create-FhirServerSamplesEnvironment.ps1 -EnvironmentName fhirapi006 -EnvironmentLocation eastus -UsePaaS $false -PersistenceProvider sql -SqlAdminPassword $(ConvertTo-SecureString -AsPlainText -Force "FhirOSDemo1")
Everything got created properly. I can access the dashboard app, execute function. But Postman gets forbidden error using the service account.

Which service account? Are you using the service principal credentials created with the environment?
How are you getting the token in Postman?

I'm following the instruction from here https://github.com/microsoft/fhir-server/blob/master/docs/PostmanTesting.md.
The deployment scripts outputs something like this...
aadServiceClientId               String
21e1fa87-10ac-4e53-9460-691b895b6fb8
aadServiceClientSecret           String
mV0RGo9nVXQsRFvJnlPIGCjmA7GMU0F7chcItERY7a0=

The Postman example you are referring to uses authorization code flow to obtain a token. If you want to do that, you should use the confidential client details. Otherwise, you have to use client credentials flow (https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-oauth2-client-creds-grant-flow) to obtain a token directly from the token endpoint.
Also, note that if you spin up the fhir-server-samples environment, you can use the "About me" on the dashboard to get access to a token, which you can use directly in Postman.

Thanks... This allows me to setup Postman. How is the Importer Function configured? I'm not familiar with Function. I'm trying to locate the configuration.

Not sure I get the question. It is a bit broad.
But the function is deployed with this template:
https://github.com/microsoft/fhir-server-samples/blob/master/deploy/templates/azuredeploy-importer.json
Can't give an Azure Functions 101 here, but there is plenty of documentation out there:
https://docs.microsoft.com/en-us/azure/azure-functions/

I'm planning to not deploy Function App for now but use a windows client instead. I was just trying to see what the Function app was using to connect to the API.
Thanks for your help. I can sort out the windows app.

The code for the importer is here:
https://github.com/microsoft/fhir-server-samples/tree/master/src/FhirImporter
Closing this issue now.


"steamcmd was not found" using docker image

$ docker-compose up

...

server-manager_1  | The error occurred attempting to: Install assetto corsa server with steamcmd. Likely you do not have steamcmd installed correctly.
server-manager_1  | The error more specifically is: servermanager: steamcmd was not found in $PATH

same problem


Create a environment variable to store the port

By default this is set to port 3000 however this needs to be changeable via an .env file
This cannot happen until #28 is completed

#28 is now complete so this is un-blocked

@pfwd Do you think this can be closed as we do store the port now in .env as a separate variable?
.env.sample

@pfwd Do you think this can be closed as we do store the port now in .env as a separate variable?
.env.sample

Yes this is old and should be closed.  Thanks for letting me know


A temporary privilege

Hi
I gave the user the VIP privilege for 30 days
I immediately wanted to give more for 30 days, so that he was 60 days, but I wrote already temporarily inherits
What am I to do?

Check out the https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Parent#lp-usergroup-usergroup-parent-addtemp
The temporary modifier is what you are looking for.


Training on other dataset

Hello sir.
I would like to use omnianomaly on training with other dataset such as SWaT and WADI.
Is it possible to train on SWaT?
If yes, which part of the code should I change?
Thank you in advanced :)

Hello sir. I would like to use omnianomaly on training with other dataset such as SWaT and WADI. Is it possible to train on SWaT? If yes, which part of the code should I change?
Thank you in advanced :)

Hello sir.
I had the same problem as you. If you have solved this problem, would it be convenient to share your experience? Thank you in advanced!

I'm probably late to ask this question, but have you achieved training on other datasets?

@amine-banani @dingxiao2020 @ly1112
It is such a late comment, but I did not get to solve it on other dataset back in 2022, and I am not working with time-series anymore :( .


XNNPACK is not supported in Linux armv7-a when compile source code

Hi, I followed the instructions in the website:https://tensorflow.google.cn/lite/guide/build_cmake_arm to cross compile and find a question XNNPACK is not supported in Linux armv7-a when compile source code.
curl -LO https://storage.googleapis.com/mirror.tensorflow.org/developer.arm.com/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz
mkdir -p ${HOME}/toolchains
tar xvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C ${HOME}/toolchains

ARMCC_FLAGS="-march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -mfp16-format=ieee"
ARMCC_PREFIX=${HOME}/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
cmake -DCMAKE_C_COMPILER=${ARMCC_PREFIX}gcc \
  -DCMAKE_CXX_COMPILER=${ARMCC_PREFIX}g++ \
  -DCMAKE_C_FLAGS="${ARMCC_FLAGS}" \
  -DCMAKE_CXX_FLAGS="${ARMCC_FLAGS}" \
  -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
  -DTFLITE_ENABLE_XNNPACK=ON  \
  -DCMAKE_SYSTEM_NAME=Linux \
  -DCMAKE_SYSTEM_PROCESSOR=armv7 \
  ../tensorflow/lite/
make -j8

part error log:
/tensorflow/build_arm/xnnpack/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-2x2c4-minmax-fp32-armsimd32.c:80:15: error: unknown type name ‘int16x2_t’          const int16x2_t va1c02 = __sxtb16(va1);

@candcv You're right that XNNPACK is not officially supported for Linux armv7-a architecture when compiling the source code. This is because armv7-a processors generally lack hardware acceleration features that XNNPACK leverages for performance optimization. You can refer to the XNNPACK documentation here for pre-built wheels if available.
Thank you!

@sushreebarsa Thank you for your help.
The old Version XNNPACK from https://github.com/google/XNNPACK/tree/test_282285243 can support ARMv7 (with NEON) on Android and Linux,but the new version only provide script ARMv7 (with NEON) on Android,not Linux. I think the problem is related to this.

@candcv You are right! It is currently not supported. You can download the specific commit (test_282285243) from XNNPACK's GitHub repository. This version should work with ARMv7 NEON on Linux. Please use this with caution because it is not the stable version. It might have unexpected behavior.
Thank you!


[Feature] PDF output?

I would like to use clerk to generate a PDF that can be combined into a broader data pack thingy.
I've tried printing to PDF from browsers but the browsers I have tested (Brave, Firefox) both only print a single page so it is heavily truncated.
Any idea on how I might get a
nice PDF output, or what would be required to implement such a feature?
Example:
https://github.clerk.garden/nextjournal/clerk-demo/commit/cb212b2edc64e762bcd1af56417ef9f6b2fde5b1/notebooks/data_science.html
produces:
clerk.pdf

Sorry, generating PDF is out of scope for Clerk. I recommend that you investigate other third party HTML->PDF solutions for this purpose.

@behrica Yeah, there's something weird going on with the viewport in the rendered HTML. We intend to fix it, but it's also not a top priority atm.

That only the first page was printing has already been fixed with https://github.com/nextjournal/clerk/commit/0bf24372b0fed5be6bf01ffb7c04b2e254526077. I’ve added a bunch of additional print styles (see 1709741a4a8c2837735f7ceae8763f654ef6a394) that hide superfluous elements, improve font size, &c, and try to avoid breaking in between elements (with medium success because browser sometimes enforce their own heuristics).


Deserialize trajectory nodes, support multiple trajectories in LoadMap

Depends on #540 (merged).

Also, can you split off parts of this PR to get it merged quicker, whatever you would like to see merged first, maybe

The change to the serialization of initial_pose?
Adding deserialization of nodes. Maybe include both 2D and 3D, then.
Change LoadMap() to put things into separate trajectories. Should probably be a separate function DeserializeState()?
What do you think?

is already incoming in the last PR, when everything is ready. Will do 1 and 2 as separate PRs.

Okay, I'm closing this pull request. It has been superceded by #567, #568 and #569.


Merge main into deps-dev2: Update dependencies and fix code scanning alerts

Not sure what I'm looking at here

Not sure what I'm looking at here

This user seems to have created a lot of odd PRs lately, and I don't think any have been merged. Perhaps their git procedures are flaky?


[bug] Hit normals for meshes currently MeshVertex dependant

Describe the bug
MeshVertex structs may not have normals stored in them, this currently would set the normal to Vector(0)
Expected behaviour
A geometric normal would be calculated using the 3 points on the tri and the winding order
Additional context
https://wiki.facepunch.com/gmod/Structures/MeshVertex

Fixed in 1754db7ef3f3a72083e0f23b5523f3383eb7ef92


Fix Discrepency in Max and Min Value Validators

Classes MinValueValidator and MaxValueValidator had a discrepancy between their error message and their actual behavior.
Both classes returned false if the comparison values were equal - even though the error message said that equal values should return true.
I created 4 new classes that are explicit about which behavior the user should expect: InclusiveMaxValueValidator, InclusiveMinValueValidator, ExclusiveMaxValueValidator, ExclusiveMinValueValidator. The "Inclusive" validators return true if the comparison values are equal; the "Exclusive" validators return false if the values are equal. The error messages of these classes are consistent with their behavior.
The original MaxValueValidator and MinValueValidator classes are now shortcuts to the "Exclusive" validators, because that matches the behavior of these classes before this patch. It preserves backwards-compatibility, but I think this also sacrifices the intuitive understanding of how these classes should work (as "Inclusive" comparisons), so this could be looked at at a later date.

As far as I see, the code is correct as is. You can check the tests. By the way, the place to report issues by creating a Trac ticket rather than a pull request.


Add NestedScrollView

A NestedScrollView lets you implement patterns where you have a header, tabs,
and additional scrollers inside the tabs.
Fixes #8359


Fix/check word count function

Giving over 700 when about 300 words shown on screen (however, this is in debug mode so it might work with the API calls)

The problem was actually with the debug text. It had excessive newline characters that would not be generated by the actual transcript. I have replaced it with one that is more simple, but if we add the ability to upload text files, or use a more advanced transcription method we may need to take another look at this issue.