'Invalid Character' error

Thanks for the report, is there any additional information you can give me? Right now I don't have a lot to go on to find the source.
Can you please list the preprocessors you are using, whether this still exists when you downgrade esbuild-svelte to 0.5.6 and anything else special about your environment?

Version 0.5.6 working good. Just updated today to 0.5.7 & build is broken…🤷🏻♂
Preprocessing only scss

Alright, thank you. Does the issue linked above seem relevant to your setup (do you have any non-ASCII characters)?

You can check this repo https://github.com/Valexr/Svectre

I can get it to compile with the following patch:
diff --git a/src/App.svelte b/src/App.svelte
index a963753..8e3ef45 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -190,7 +190,7 @@

-
© {new Date().getFullYear()} {name}

+
 {new Date().getFullYear()} {name}

@@ -257,7 +257,7 @@
         display: block;
         padding: var(--s1);
         border-width: var(--border-thin);
-        /* ↓ For high contrast mode */
+        /*  For high contrast mode */
         outline: var(--border-thin) solid;
         outline-offset: calc(var(--border-thin) * -1);
         color: currentColor;
diff --git a/src/Text.svelte b/src/Text.svelte
index 3e09d0a..f51690e 100644
--- a/src/Text.svelte
+++ b/src/Text.svelte
@@ -39,8 +39,8 @@

         <ruby
-            >漢
-            <rt>kan</rt>字
+            >
+            <rt>kan</rt>
             <rt>ji</rt>
         </ruby>ruby

however I'm unable to replicate this on a new project (and have added tests to make sure esbuild-svelte can deal with non-ASCII characters)

But in 0.5.6 it's compiling ok 🤷🏻♂

Hey, I run into the same issue on node 16 (but not node 14). I tried 0.5.6 and 0.5.7 and have the same issue on both.
The file that fails has no non-ASCII characters (in fact, none of the .svelte files have any non-ASCII characters)...unfortunately I can't post a full repro case, all I can do is add a data point at the moment.
 > src/components/checkout/Services.svelte:38:29: error: [plugin: esbuild-svelte] Invalid character
    38 │ import TransportSection from './TransportSection.svelte';
       ╵                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error
/Users/tylerboyd/work/spurchases/node_modules/esbuild/lib/main.js:1493
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
src/components/checkout/Services.svelte:38:29: error: [plugin: esbuild-svelte] Invalid character
    at failureErrorWithLog (/Users/tylerboyd/work/spurchases/node_modules/esbuild/lib/main.js:1493:15)
    at /Users/tylerboyd/work/spurchases/node_modules/esbuild/lib/main.js:1151:28
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errors: [
    {
      detail: undefined,
      location: {
        column: 29,
        file: 'src/components/checkout/Services.svelte',
        length: 27,
        line: 38,
        lineText: "import TransportSection from './TransportSection.svelte';",
        namespace: '',
        suggestion: ''
      },
      notes: [],
      pluginName: 'esbuild-svelte',
      text: 'Invalid character'
    }
  ],
  warnings: []
}

I'd love to be able to at least get a proper stack trace to isolate the issue.

That is helpful to see that it is reproducible on a different code base (and with different versions of node). Are you using any preprocessors @tyler-boyd ?

@EMH333 I'm using svelte-preprocess like this:
{
	preprocess: sveltePreprocess({
		defaults: {
			script: 'ts',
			style: 'postcss',
		},
		sourceMap: !production,
		scss: {},
		typescript: {},
		postcss: true,
	}),
	compilerOptions: {
		// enable run-time checks when not in production
		dev: !production,
	},
}

and I get the error with production = false (ie. no source maps) as well. Same if I turn off source maps in the esbuild build arguments.
This esbuild-svelte plugin is the only plugin I'm using.

I also get this error with 0.5.7, with 0.5.6 it works just fine, maybe this helps to reproduce it on your end: https://github.com/beancount/fava/tree/test-esbuild-057/frontend (The build can be started with npm run build in that directory or by running make in the root of the repository).

npm run build disables sourcemaps (see build.ts - dev is false in that case), npm run dev enables them, but I get the same errors in both cases.
Fava uses Typescript and plain CSS
It seems to happen both with svelte-preprocess-esbuild, which is currently used, but I could also reproduce it with svelte-preprocess
The files that it errors on all contain non-ASCII (whether in the CSS, TS or the template seems to make no difference), without those it works.

Removing the following line from esbuild-svelte also fixed the build, but I haven't really been able to debug this any further: https://github.com/EMH333/esbuild-svelte/blob/4f44209f08c6ebfd439e36f2ddf8db4aa30f45b6/index.ts#L165

Thanks @yagebu and @tyler-boyd for your additional info. I was able to get a reproduction and track this down. This looks to be related to issue https://github.com/sveltejs/svelte/issues/6714
or more specifically this line of svelte
https://github.com/sveltejs/svelte/blob/4ca2af41df436ef97cd1953eb67c2c4922a8257b/src/compiler/utils/mapped_code.ts#L263
I'm not really sure how this hasn't come up more often, but I'll look at making a patch upstream to get this fixed. I'm considering what I want to do with this project until it gets resolved, The line @yagebu referenced is what fixes preprocessor sourcemaps but also creates this error when any non-ASCII characters are used along with preprocessors, your thoughts are welcome here.

Additionally it looks like Node v16 is a culprit as well as it upgrades to V8 9.0 where they specifically call out

(SEMVER-MAJOR) buffer: expose btoa and atob as globals (James M Snell) #37786

which is what causes this issue

Fixed as a part of v0.6.0 :tada:

Thank you @EMH333!


deken uploads should contain sources

when uploading to deken, please consider providing the sources as well.

if you build all the deken packages for a given release from the same sources (which i guess is true), it's totally sufficient to upload a single source package, e.g.
else[v1.0beta20](Sources).dek

as a bonus: if you use the deken cmdline tool and upload the source package before the binary packages, you don't need to provide the --no-source-error.

doing it right now, thanks

as a bonus: if you use the deken cmdline tool and upload the source package before the binary packages, you don't need to provide the --no-source-error.

funny, I tried that after uploading the source, and it gave me that error, so I had to use the flag anyway. Probably I'm not doing something right, but the sources were uploaded successfully.
https://puredata.info/Members/porres/software/else/1.0beta20/
at this very moment, I'm uploading other two binsaries (Windows 64 and Linux 32)

funny, I tried that after uploading the source, and it gave me that error, so I had to use the flag anyway. Probably I'm not doing something right, but the sources were uploaded successfully.

weird.

yeah, I'll pay more attention to this next time I do it. I'm probably not doing things in the way I should...

I uploaded a new version. I was able to upload the sources, no issues... I didn't need the --no-source-error. It went up, all fine.
Then I tried uploading the binaries without the --no-source-error. And things went bad, as I needed to use this flag.

you can also upload multiple packages (including the source-only package) in a single step.
$ deken package --version 1.0beta21 linux-builds/else/
$ deken package --version 1.0beta21 osx-builds/else/
$ deken package --version 1.0beta21 win-builds/else/
$ deken package --version 1.0beta21 src/else
$ deken upload else*1.0beta21*.dek


ProducerStream not compatible with<EMAIL_ADDRESS>

in @types/node, the typescript signature of Writable._write(...) function changed from
 _write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
to
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
This is not compatible with kafka-node definition of ProducerStream
../../node_modules/kafka-node/types/index.d.ts:143:3 - error TS2416: Property '_write' in type 'ProducerStream' is not assignable to the same property in base type 'Writable'.
  Type '(message: ProduceRequest, encoding: "utf8" | "buffer", cb: (error: any, data: any) => any) => void' is not assignable to type '(chunk: any, encoding: BufferEncoding, callback: (error?: Error) => void) => void'.
    Types of parameters 'encoding' and 'encoding' are incompatible.
      Type 'BufferEncoding' is not assignable to type '"utf8" | "buffer"'.
        Type '"ascii"' is not assignable to type '"utf8" | "buffer"'.

143   _write (message: ProduceRequest, encoding: 'buffer' | 'utf8', cb: (error: any, data: any) => any): void;
      ~~~~~~

I have the same problem after upgrading to kafka-node^5.0.0.

skipLibCheck is a pretty bad solution. Is there a fix coming for this?

It seems like this repo is dead. Does anyone have a good fork for this?

A bit of a hack, but I solved my build problem by using patch-package
And changing types/index.d.ts line 143 to
_write (message: ProduceRequest, encoding: BufferEncoding, cb: (error: any, data: any) => any): void;


Mention workarounds for 25MB file size limit

Since this can be a very common issue with apps that have many dependencies

Hello my name is warith akbar my name  warith akbar . I'm the owner of fact
News Network and owner of S&P 500 future.   I need a tec to my headquarters
asap to help secure my company.
On Fri, Dec 3, 2021, 5:04 AM Warith Akbar @.***> wrote:

Hello my name is warith akbar my name  warith akbar . I'm the owner of
fact News Network and owner of S&P 500 future.   I need a tec to my
headquarters asap to help secure my company.
On Thu, Dec 2, 2021, 5:58 AM Kaarlo Räihä @.***>
wrote:

Since this can be a very common issue with apps that have many
dependencies
You can view, comment on, or merge this pull request online at:
https://github.com/cloudflare/cloudflare-docs/pull/2836
Commit Summary

2df086c
https://github.com/cloudflare/cloudflare-docs/pull/2836/commits/2df086cf1a87e8e11404c942f2b128c3c41fae0c
Mention workarounds for 25MB file size limit

File Changes
(1 file https://github.com/cloudflare/cloudflare-docs/pull/2836/files)

M
products/pages/src/content/framework-guides/deploy-a-blazor-site.md
https://github.com/cloudflare/cloudflare-docs/pull/2836/files#diff-c40ef7fa0bc58d7f8ffd63e7f31d5c78c387e3e2774156e6a7c8bddd8fc8620e
(6)

Patch Links:

https://github.com/cloudflare/cloudflare-docs/pull/2836.patch
https://github.com/cloudflare/cloudflare-docs/pull/2836.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/cloudflare-docs/pull/2836, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWS2SNO5TAL5D7MCHLKSXN3UO53OTANCNFSM5JHF7HTA
.

Any progress on this one?

I can redo the patch if you are doing generic troubleshooting steps for all platforms. There are other Blazor related troubleshooting steps I would like to write down, but I can wait with those.

Hey @mcraiha!
Thanks for this! And thanks @WalshyDev too!
@mcraiha can you quickly help me understand a bit more? I've never used Blazor. Am I paraphrasing correctly when I say "Blazor has the option to generate and serve WASM files. However, these WASM files can quickly get too large and exceed Cloudflare's 25mb limit. When Blazor generates WASM files, it also generates compressed versions, both Gzip and Brotli. If you exceed the 25mb limit, you can save space by deleting the WASM and Gzip versions of your application, and configuring your site to serve the Brotli versions directly."

@jkup basically that. The Blazor WebAssembly mode (the other mode is Blazor Server, but it is not related to this) will always output WASM+JS+HTML, and (by default) files generated to the _framework folder include non compressed one (e.g. dotnet.wasm), GZ compressed one (e.g. dotnet.wasm.gz) and Brotli compressed one (e.g. dotnet.wasm.br).


Add rejectWithXhr to optionally reject with XHR vs response body

Allows ember apps using ember-simple-auth to receive the whole XHR object if the backend fails, instead of the response body, if they so choose.
In the case of OAuth 2.0 backends, it's been a pattern in the wild to use X- headers to send context as to why a grant has failed. Examples include API throttling, brute force lockouts, and OTP/two-factor authentication information.
Selfishly, I require this change so my application can be notified when the API has locked out an account due to suspicious activity via an X- header.
The decision to expose it as an option was chosen so backwards compatibility is maintained and keeps the addon simple for those who need not be concerned with complex backends.

Sorry for the late reply - was super busy recently.
This looks really good - just a few comments wrt test style.

@marcoow excellent. Thank you! I've made the amendments as you've requested.


Fixes for calendar initialization

This is copied from #44, which got closed when I reorganized the branches and split up the request into two parts.
This request is to fix a few related bugs in initializing calendars and getting date information out of them:

It adds a mapping for the "leap month" field
It adds support for the Chinese calendar, which was disabled in the initial commit but seems to be working now.
It fixes a bug that occurred when a calendar could not be fully initialized. Some of the fields were being left null, but were later given to CFRelease without a check for nulls.

Thanks!

Not sure if it is just me but the following tests are failing:

test_gettingDatesOnGregorianCalendar:

XCTAssertEqual(components.day, 5)

$ (lldb) po components.day
$ 6

test_gettingDatesOnHebrewCalendar:

XCTAssertEqual(components.day, 7)

$ (lldb) po components.day
$ 7

test_gettingDatesOnChineseCalendar:

XCTAssertEqual(components.day, 15)

$ (lldb) po components.day
$ 16

Not sure if it is related to timezone or not but my timezone is JST (GMT+9).

@thii can you open a bug for us at bugs.swift.org?

I opened one here https://bugs.swift.org/browse/SR-171.
Apparently, they seem to be only failed at several timezones (so no one realized it).
@brownleej Can you have a look?


Add a version flag

I’m getting increasingly confused while working on the vapor script which one it actually is, especially when I install them somewhere and then run self-update. This would probably also be useful for self-update to report what versions it’s dealing with.
Not sure what the best mechanism would be for this. Since we distribute only the actual script itself, it would either have to be a (manually updated) variable inside the script that a version command echoes. Or we could have the script run an md5 or sha1 sum on itself and return that.
The latter option would mean there’s no need to maintain a version variable but the downside is we’d either need to pull in some pure swift implementation of md5 or sha1 or find a command line tool that’s widely available to do a system call for.
OSX has md5 but the ubuntu 14.04 I just checked doesn’t.
A variable is probably best even though there’s a good chance it’ll grow stale. The hash option feels like overkill.
PS: If I get the compiled version of the vapor script to run on Linux and in case that becomes the default way to install it, a hash function in the script should to ok performance wise, although the source file would get bigger.

I think a variable inside of the file would be best. We can police each other in the PR process to increment the version number.

I've added this to milestone 0.5. Let's make that the first version.


D88: rewrite and simplify (like IMD image handler)

D88 is a format used primarily by the PC-88, but also by many other Japanese computers with similar floppy hardware. It is similar to IMD in that it provides track layout images too. I'm adding support for D88 to gw.
Because this image format has a flexible sector layout, I am wondering what I should use for default_format. I could add a generic IBM_Format that doesn't assume anything about the sector layout, for example. Or, I could add a function to the Image class that can optionally return a custom Format which overrides default_format.
Alternately, I could manually call the mfm code right in the D88 reader and treat it as a flux format. Though, I would also like to add support for IMD, NFD, and other extremely similar formats that could reuse the same code.

Partially done with #246. I just reused IBM_MFM_Formatted in this case, but I'll probably need a separate class for D88 writing. The verify_track and get_img_track functions work as-is.

That said the EDSK format is much abused to fit in all sorts of protected tracks, so it's a pain to handle. D88 could be much cleaner.

I strongly suggest D88 gets rewritten along the lines of the new IMD support. The idea is that you define each track's layout in an IBMTrackFormat object, and then construct a track object (mk_track()) and stuff data into the resulting track which has been nicely laid out for you with appropriate gaps. This means we are defining gap heuristics in just one place and the image format handlers can concentrate on just handling image parsing rather than doing low-level track layout.

I have taken a swing at this as part of reworking the IBM track handling and adding static type hints.
The code is already simpler! But it may not work. I have no D88 image files.

I found one. Code is now fixed. Seems to work!


Fix y-axis annotation positioning of permafrost thaw/freeze charts

Closes #164.
To test, the following URL's ground freeze chart has a y-axis annotation that overlaps the y-axis tick labels slightly at wide browser resolutions on the main branch:
http://localhost:3000/report/62.83/-151.18#results
This PR prevents the overlap by adjusting the y-axis annotation positioning slightly.

I'm going to trust-merge this since I can't test it :)

I'm going to trust-merge this since I can't test it :)


Document gaps in UX/UI

While we secure a UX/UI designer, we will naturally have gaps and assumptions in our designs. Documenting these gaps will help us know what to research when we have capacity and can point future UX/UI resources in the right direction of what to evaluate within our existing designs.
Acceptance criteria:

[ ] Create a Miro board to capture known gaps in CIF app's UX/UI design
[ ] Document gaps known so far
[ ] Share board with GGIRCS team to add additional gaps

Attaching Raj's Hand off document. Might be helpful
https://bcgov.sharepoint.com/:w:/t/00608-ScrumTeam/EQrPC22TYjtDoxiTiIS4IfIBoj-fvcRHIUim1k9AVbwFAw?e=S3ji3p


Reforamt how to create a component section in main readme file

Description
After component scafolding pull request was merged i noticed that the, how to create a component section
in the main readme file got messed up
Screenshots

working on it


custom command how to write like alt+tab or other with example

          can you give me the command for alt+esc key , so I can copy and paste it. It would be great if there is short video of how to write custom command. I am newbie, I tried writing my own but it did not work. Need I have to continuously switch between two windows One where I am working another for googling. Windows 11 Home edition amd ryzen 7 4800H. Thanks👏

Originally posted by @SKHasmukh in https://github.com/vhanla/winxcorners/issues/52#issuecomment-2331172304

          can you give me the command for alt+esc key , so I can copy and paste it. It would be great if there is short video of how to write custom command. I am newbie, I tried writing my own but it did not work. Need I have to continuously switch between two windows One where I am working another for googling. Windows 11 Home edition amd ryzen 7 4800H. Thanks👏

Originally posted by @SKHasmukh in #52 (comment)

You can refer to this project, this is how I use it currently.：https://github.com/xeahsoon/keyboard-simulator


find_terminal_entry() does not search for xdg-terminal.list in BaseDirectory.xdg_config_home

https://github.com/Vladimir-csp/uwsm/blob/99f911ea23a8b5ccd2a3cba540f8065c2487b694/uwsm/main.py#L3191
Is this intentional or just an overlook? I see the spec supports it.

BaseDirectory.xdg_config_dirs returns the whole hierarchy including $XDG_CONFIG_HOME, despite its name. Do you observe a different behavior?

Yes, but that may be my setup's fault
› printenv XDG_CONFIG_DIRS | sed 's/:/\n/g'
/etc/xdg
/home/mihai/.nix-profile/etc/xdg
/home/mihai/.local/state/nix/profile/etc/xdg
/home/mihai/.local/state/nix/profile/etc/xdg
/etc/profiles/per-user/mihai/etc/xdg
/nix/var/nix/profiles/default/etc/xdg
/run/current-system/sw/etc/xdg

XDG_CONFIG_DIRS should contain system part of the hierarchy, that is correct. But pyxdg object xdg.BaseDirectory.xdg_config_dirs returns contents of XDG_CONFIG_HOME + XDG_CONFIG_DIRS. It is not explicitly stated, but seems to be implied:

A list of directory paths in which configuration may be stored, in preference order.

Now that you point that out, I see it https://cgit.freedesktop.org/xdg/pyxdg/tree/xdg/BaseDirectory.py#n40.
I'll have to investigate why xdg-terminals.list isn't picked up.
Its contents are (based on https://github.com/Vladimir-csp/xdg-terminal-exec/blob/master/xdg-terminals.list):
/execarg_default:foot.desktop:--

However uwsm app -- still tries to pick the first available option by searching .desktop files manually, and it wrongfully picks foot server which is already started.

/execart_default directive is not a part of the spec, but a compatibility feature of xdg-terminal-exec, it is a long story.
Uwsm does not support it. To set default, just put:
foot.desktop

Foot accepts -e just fine.

Fallback exclusions are part of the spec and are supported by uwsm.
-foot-server.desktop

Thanks, this worked!


Misc cleanup of the 'zenith_regress' tests

Remove serial_schedule. As was alluded in the README, it's really quite
pointless.
Remove unused PORT/HOST variables
Fix typos

Pushed, thanks for the review!


[HW] Week 2 Tiktok Clone

Name: Samarth Bansal
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/samarth-bansal-06b043218/
(I added a custom video with a custom username)
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hey there Samarth, nice job getting the app running and uploading a custom video. Did you get the app fully deployed to production with Netlify? If so, please either provide your netify app link or a screenshot of the app deployed.

Hey there Samarth, nice job getting the app running and uploading a custom video. Did you get the app fully deployed to production with Netlify? If so, please either provide your netify app link or a screenshot of the app deployed.

Here is the improved and updated work!

Hey Samarth Bansal, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/xcxGT5tASy6ZuQ8djXGAmw


uid mapping problem with ubuntu-24.04 base image

Problem
Using image ubuntu-24.04 (latest/dd2da503391d) as base for a devcontainer builds and launches normally, but the vscode user cannot create or modify files due to the fact that vscode uid is 1001 and the mounted workspace is owned by uid 1000.
(I am unsure how the ID mapping works between host and container; my host user also happens to have uid 1000, which might obfuscate the underlying issue. )
The problem seems to be caused by the image containing extra user named ubuntu that has been given the uid 1000 before user vscode has been created. I can create an modify files as that user via sudo su - ubuntu.
The problem does not appear with to ubuntu-22.04 or earlier, which do not have the extra ubuntu user:
$ docker run -it --rm mcr.microsoft.com/devcontainers/base:ubuntu-24.04 grep -E '(vscode|ubuntu)' /etc/passwd
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
vscode:x:1001:1001::/home/vscode:/bin/bash

$ docker run -it --rm mcr.microsoft.com/devcontainers/base:ubuntu-22.04 grep -E '(vscode|ubuntu)' /etc/passwd
vscode:x:1000:1000::/home/vscode:/bin/bash

Workaround
I added this to my Dockerfile right after the FROM line:
RUN userdel -r ubuntu || true

Now rebuilding and launching the image works as expected.

It seems the devcontainer images are based on these https://hub.docker.com//buildpack-deps/ which themselves are based on the official ubuntu images https://hub.docker.com//ubuntu
Apparently the extra user originates from there:
$ docker run -it --rm ubuntu:jammy grep 'ubuntu' /etc/passwd || echo nothing
nothing
$ docker run -it --rm ubuntu:noble grep 'ubuntu' /etc/passwd || echo nothing
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash

Hi 👋

It seems the devcontainer images are based on these https://hub.docker.com//buildpack-deps/ which themselves are based on the official ubuntu images https://hub.docker.com//ubuntu

Yes, that's correct! With the newer release of noble, the official ubuntu image added a new ubuntu user with gid/uid:1000. This started conflicting with with vscode:1000.
Hence, we decided to let vscode's UID/GID update as we didn't want to update (rename/delete/update) the ubuntu user provided by the base image.
This is not the case with focal and jammy, hence the vscode:1000 is intact.
https://github.com/devcontainers/images/pull/1036 mentions the same thing in the description!

So is the image supposed to work with UID 1001 just as before? For now it is not, not at least for me.
(Of course it is possible that there is something unrelated going on with my setup)

I have the exact same problem :wink:
I can see that merge #1036 fixes the overall image build issue but not the issue that a mapping to the host system is currently done with a wrong uid or at least for the default user's uid for most of us.

Adding this to my Dockerfile to fix it:
# Using mcr.microsoft.com/devcontainers/base:ubuntu-24.04 as base image
RUN userdel -r ubuntu; usermod -u 1000 vscode; groupmod -g 1000 vscode

Thanks, everyone, for your thoughts on this issue. We briefly revisited the discussion in this issue.
@gauravsaini04, can you prioritize working on this? For the noble distro, let's remove the ubuntu user and allow the vscode user to reclaim the UID and GID 1000. Additionally, let's add back the pinning in common-utils.
Please remember that we need to make changes for base-ubuntu and dotnet as well. Thanks!

For the noble distro, let's remove the ubuntu user and allow the vscode user to reclaim the UID and GID 1000

Closing as we released a new image with ^ changes. Thank you for everybody's patience.
@gauravsaini04 Let's work and track the .NET update in another issue, thanks!


Shooter improvements

Added ShooterCalculator
Feeder does not activate unless shooter is up to speed
Updated various methods

Changes have been made


Download only in specific date range

Provide us a use case of the feature
I need to download only files from N1 date to N2 date. We can actually use doc_utc in post-filter option but there is a problem: if the profile has a lot of images, I wait a long time seeing how every file is checked and skippes (except for valid files for my date range). I would not like to waste a lot of time, for example for waiting 2000 of not-valid images to download only 200 images I need
Example:
[1325/2244] <Post BxDnrGpAyr5> skipped
[1326/2244] <Post Bw8P4LzA2xu> skipped
[1327/2244] <Post Bw3ANHHAd2F> skipped
[1328/2244] <Post BwvgO9TgFCx> skipped
[1329/2244] <Post BwqWFgAAcJq> skipped
[1330/2244] <Post BwnhfTAAMe0> skipped
[1331/2244] <Post BwlIQ8IgDCs> skipped
[1332/2244] <Post Bwf3_LjA6hD> skipped

Describe the solution you'd like
Make this faster some way :)
Describe alternatives you've considered
I have no idea
If the feature request is accepted, would you be willing to submit a pull request?
Yes / No

If you provide me help where I should start maybe I will find time to do it :)
Additional context

If I understand #121 and #898 correct, this works when you use instaloader as a module. Code snipsets are posted in both issues, but I didn't check them at the moment.

I doubt that's possible. All queries seem to work by returning the newest items, and a pointer to the next page (with older items). There does not seem to be a way to query by date.

Got you :C
Another question: Is not here a way to download only latest 300 posts (not by date, just the latest 300, and stop after that?)
Does downloading start from the oldest or newest?

If I understand #121 and #898 correct, this works when you use instaloader as a module. Code snipsets are posted in both issues, but I didn't check them at the moment.

I will try

Another question: Is not here a way to download only latest 300 posts (not by date, just the latest 300, and stop after that?)
Does downloading start from the oldest or newest?

Downloading profiles with Instaloader always starts with the newest posts and works backwards to the oldest. If you want to download only the latest 300 posts, here are two effective approaches:

Use the max_count parameter in download_profiles (introduced in version 4.13):
Starting with Instaloader 4.13, you can limit the number of posts directly by passing the max_count parameter to download_profiles. For example:
import instaloader

L = instaloader.Instaloader()
L.download_profiles(["profile_username"], max_count=300)

This is a straightforward way to download only the latest 300 posts from a profile.

Use a custom Python script with itertools.islice (a more generic approach):
If you need more control or are working with any iterator (e.g., Profile.get_posts()), using islice is a flexible and generic solution. Here’s how:
import instaloader
from itertools import islice

L = instaloader.Instaloader()
profile = instaloader.Profile.from_username(L.context, "profile_username")

for post in islice(profile.get_posts(), 300):
    L.download_post(post, target=profile.username)

The islice approach allows you to limit the number of items processed from any iterator, not just profile posts. This makes it versatile for cases like working with filtered posts, comments, or other iterable objects.

Check documentation and issues for more insights:
The [Instaloader documentation](https://instaloader.github.io/) and GitHub repository contain various discussions and examples for customizing downloading behavior. These resources can be helpful if you need advanced functionality.


add css theme selection

This closes #16.
This introduces platform independent theme selection. Feedback will be much appreciated :)

Nice one, this is close to what I was going to implement. There's a few things though:

I've been looking at other applications that do this (e.g. Sourcetree) and I'd like to match them by having this under the View menu rather than Window (I think below "Build and Run" and above "Show Collisions" but with a separator on either side .
This bit https://github.com/chrismaltby/gb-studio/blob/dab277f2e4a8bf4003add8aae3ab8bb7ae369dc3/src/windows/projectRoot.js#L70-L80 is currently duplicating the functionality of this bit https://github.com/chrismaltby/gb-studio/blob/dab277f2e4a8bf4003add8aae3ab8bb7ae369dc3/src/windows/projectRoot.js#L130-L134
(oops I should remove that console.log, how embarrassing). You should just be able to call updateMyAppTheme(theme==="dark") in that ipcRenderer.on block.
Your implementation doesn't currently store the user's preference, so if you open a new window you'll be back in the light mode again, there's no user settings currently in the app though. Show collisions and Show connections are the closest there is and they're stored in the project itself right now, think this should be application wide not project wide so I'm thinking we should add a module like https://github.com/nathanbuchar/electron-settings I can't vouch for this one specifically, maybe need to do some research on the best method.
It would be nice if it used the checkbox menu to highlight the currently selected option like this

Hope there's nothing too crazy in there, user preferences is something I'd been looking at too. You might want to hold off until I've found a method I want to go with because I'll probably be really picky about how that's set up given that it will effect how preferences for potentially lots of other things (language, default paths) get stored in the future. But if you have any good ideas on that I'm open to them.

Good points. It was supposed to be a quick think so my eyes stop hurting from light theme. With those requirements and insights above, it should be more clear what the end goal is. I am closing this for now and try to come back with better way :)


[indigo] add led_components parameter to emergency_stop monitor

this is to support multiple led controllers on cob4 and remove the hardcoded light_controller namespace. Requires an additional parameter in the emergency_stop_monitor.yaml file which lists the led components.
Should be compatible with raw3-1 and raw3-3.
needs to be merged together with https://github.com/ipa320/cob_command_tools/pull/82

Visual Review: OK


Feat: produce a json schema compatible spec

Summary:
The markdown specification is great to have to understand what all of the components, mean it would be great to see a json schema specification that can be validated and applied in code using json schema validation.  I think any of the drafts v7 and greater would really help. For reference: https://json-schema.org ,
Motivation:
If you have a spec in json schema, you can do things like generate code for the math specification across languages. So if you need to machine parse the specification it'll make it easier to do so. Secondly, with a specification, you can then use editors like vscode to have auto complete for the specification, which will make it easier for people to write. The last thing would be validation becomes easier in different ecosystems, in typescript/javascript land there is ajv in python jsonschema
I tip my hat towards seeing  something like  msml.schema.json and a that was easy hook to see msml schemas produce with the file pattern mycoolmodel.msml.json , then you can just use vscode to pick up the msml.schema.json and have it auto complete with validation when you're describing your model :)
Something like this https://github.com/open-rpc/meta-schema/blob/master/schema.json

@SeanMcOwen curious what you think here, I'd be down to at least put a PR to make this happen

@zcstarr I really like this idea! I am going to put it in to the roadmap for V0.3 just because there are a few critical things I want to do first, including a full update of the graphics engine. Thank you for bringing it up!

Going to try using https://app.quicktype.io/ to convert from JSON to JSON schema


SSM get_parameters should list InvalidParameters

Invalid parameters should be listed in response['InvalidParameters'] for get_parameters.
http://boto3.readthedocs.io/en/latest/reference/services/ssm.html#SSM.Client.get_parameters

Coverage increased (+0.001%) to 93.451% when pulling 1c96335895357d79549094de55f722b5fe3b1be2 on aleerizw:fix/get_parameters_invalid into 0b8cf147066dbc35bc8331fe4265a50c3151e613 on spulec:master.

Coverage increased (+0.001%) to 93.451% when pulling 1c96335895357d79549094de55f722b5fe3b1be2 on aleerizw:fix/get_parameters_invalid into 0b8cf147066dbc35bc8331fe4265a50c3151e613 on spulec:master.

Coverage increased (+0.001%) to 93.451% when pulling 1c96335895357d79549094de55f722b5fe3b1be2 on aleerizw:fix/get_parameters_invalid into 0b8cf147066dbc35bc8331fe4265a50c3151e613 on spulec:master.

Coverage increased (+0.001%) to 93.451% when pulling 1c96335895357d79549094de55f722b5fe3b1be2 on aleerizw:fix/get_parameters_invalid into 0b8cf147066dbc35bc8331fe4265a50c3151e613 on spulec:master.

The error looks unrelated to the pull request.

@aleerizw This is great! Yes, the test failure appears to be something that started occurring very recently on just one particular configuration of our Travis setup. We can merge your work without fixing that while we debug the test failure. Welcome to Moto!

@aleerizw If you did feel like helping debug the test_s3/test_s3.py failures that would be a huge help but no worries if not!


Confusion matrix for node-wise classifications

I'm hoping to output a confusion matrix for node-wise binary classification after training is complete.
Do you have a way you recommend I go about doing this?  I've tried using tf.confusion_matrix where the labels input is y_test and the predictions input is the vector from model.outputs (which is coming from a modification to your evaluate function).  This has it's issues though, because (I think) model.outputs is the output of an activation function and not the classification itself.
Is there a better way to go about this, or is there something I'm missing?

Scikit learn has some convenience functions for creating confusion matrices: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html
Just provide the predicted classes and the true labels. You might need to perform an argmax or max operation on the output of the GCN model to get the predicted classes (as I think the model just gives you probabilities).
Hope this helps.

Hello Thomas,
I am wondering if you have the directed graph of the citation datasets ? Or do you have the script to generate those data ? I feel those 140 labeled nodes and testing instances are well-chosen. Do you have any idea about this ?

Hi @Spencerkt how did you get the model outputs for just the test dataset?


Keep the list updated with more information - Hacktoberfest 2020

There are some of the topics which are incomplete & also missing. Your contribution can be in any form. You can update the current details of vulnerabilities listed or add new list to the collection.
The changes will be on same file so make sure there is no conflict ( You have to resolve it ). Keep the fork synced.

Please update only the readme.md file but not vulnerabilities list. vulnerabilities list will be removed soon.

I'll contribute on this one @ashiishme 👍

@GuillaumeFalourd , Sure, go ahead. This issue will be assigned to multiple contributors so make sure your fork is up to date before creating PR to avoid the conflict.

Can you please add hackotberfest2021 label in the repo? and Can I contribute to the repo by updating the content?

@niyoj  Yes please you can update the content.


Responsive design for narrow display of Getting Started

Getting Started's current CSS is not responsive enough to work on smaller screens:

The following mockups are from @misolori to fit the content into a split tab or sidebar:

Cover image moved to top of the list:

No cover image for minimal sidebar mode:

@misolori apart from what I shared from your prior work, any other ideas that we could consider for a narrow responsive design?

Talking to @misolori for UX review, pushing the cover image on top of the list seems the current UX preference. CSS Grid named areas could help.

Talking to @misolori for UX review, pushing the cover image on top of the list seems the current UX preference. CSS Grid named areas could help.

Agree the current narrow view isn't great, one concern with this version is it might be hard to operate a larger listing of items. For instance if you had 5 items and a screen both short and narrow it would probably be hard to operate the scrolling list, especially as things expand/contract.
To that end one idea I had was maybe using a carousel for the items when in narrow mode?

Even on the current layout some items are pushed below the fold, so not sure if that would be a trade off for a narrow viewport layout. With a CSS Grid layout the image could scale down further to a min height to make room for the list.

As long as the list area is scrollable, I think allowing for content to go below the fold would be fine. We could even add some gradients to the bottom to make it appear more obvious that there is more content below.
I also like the carousel idea, which we've mocked up in the past

Using the power of ✨grid✨:

Still some odd looking aspect ratios but overall not too shabby. We can address specifics in new issues.


JVM Bytecode Generation Failure with "Bad type on operand stack"

In Ballerina v1.2.0, the attached program crashes at application startup. I'm attaching here the Ballerina source code, and also the "ballerina-internal.log" that is generated. The error starts with "Bad type on operand stack" in the log.
code-and-logs.zip

Observed the same for a similar scenario; when returning the result of an arithmetic operation with byte operands, where the expected return type is int in an anonymous function.
public function main() {
    var fn = function () returns int {
        byte a = 255;
        return a - a;

        // works when I do
        // int res = a - a;
        // return res;
    };
}

@lafernando's example also builds without an issue when I change the anonymous function used with sort as follows.
import ballerina/http;
import wso2/amazonrekn;
import ballerina/config;

amazonrekn:Configuration conf = {
    accessKey: config:getAsString("AK"),
    secretKey: config:getAsString("SK")
};

amazonrekn:Client reknClient = new(conf);

@http:ServiceConfig {
    basePath: "/"
}
service myservice on new http:Listener(8080) {

    @http:ResourceConfig {
        path: "/process",
        methods: ["POST"]
    }
    resource function doit(http:Caller caller, http:Request request) returns @tainted error? {
        byte[] payload = check request.getBinaryPayload();
        byte[] x = payload.sort(function (byte a, byte b) returns int {
                                    int res = a - b;
                                    return res;
                                });
        var result = reknClient->detectText(<@untainted> payload);
        if result is string {
            check caller->respond(result);
        } else {
            check caller->respond("Error: " + result.toString());
        }
    }

}


VaultName= how is it used?

[Enter feedback here]
It is unclear how VaultName= is used in the second example?
it just says VaultName=mykeyvault
but there are no examples of what that might be?  is it like this:
ci-blahblah.vault.azure.net
??
or just ci-blahblah

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

ID: 7feaa3d0-7233-a3cb-cb9b-a9a55b1f0d7a
Version Independent ID: f41f9d51-52f8-1f45-1043-1344a3b74458
Content: Use Key Vault references - Azure App Service
Content Source: articles/app-service/app-service-key-vault-references.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

@jonathh21
Thanks for your feedback! We will investigate and update as appropriate.

jonathh21, it is the vault name "myvault", from your example, kindly use the Valultname = ci-blahblah

jonathh21, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply and we will gladly continue the discussion.

Thank you


Reports against transaction log state store

Background
We'd like to make some changes to how compactions work to avoid the need for separate splitting compactions:

https://github.com/gchq/sleeper/issues/966

We have other issues for setting up a new state store interface, eg.

https://github.com/gchq/sleeper/issues/1115

Description
We'd like to support the new state store interface for all reports on the state of the system.
Analysis
We can use the table's state store class as a feature flag for whether to use the new state store interface or the old one.
We can test this against the in-memory implementation of the state store, so we don't need the DynamoDB version to be implemented first.
This includes both partition reports and file status reports. File status reports will need to be adapted to show when a file is in multiple partitions, and when a file's data has been partially compacted out of it.

We're not doing this now. We may recreate this later.


fix breaking changes

Hey @Teek-tech, how about this part?

Those part are supposed to touch the extreme part of the parent container but then it forms a line on bigger screen and it doesn’t look good. @kaxada suggested we do it the way it is now.
@iamkingsleey what do you think?

@misspee007 kindly go ahead and merge it so it doesn’t cause more problem for new pull requests.
You can also go ahead and fix the project page responsiveness when you’re done.

Hey @Teek-tech, how about this part?

Those part are supposed to touch the extreme part of the parent container but then it forms a line on bigger screen and it doesn’t look good. @kaxada suggested we do it the way it is now. @iamkingsleey what do you think?

The screenshot is not from a big screen.

@misspee007 kindly go ahead and merge it so it doesn’t cause more problem for new pull requests. You can also go ahead and fix the project page responsiveness when you’re done.

Did you mean the "About DEI Badging" page?


Doesn't build on Windows

This is a GO application, it should be easy to build on Windows.

Can you provide some more context please on what you're trying to do? Are you trying to run the operator on Windows containers? TBH, that's not a use case we've ever considered. That said, if there is a valid use case for this, let's discuss. We do accept PRs. :)

Hi,No, I just want to build and install the operator from a windows machine.The normal ‘go build’ that I am used to using doesn’t work, and the makefile seems to depend on some non-windows commands, like tail.I was unable to find a Windows binary, but I admit I could have searched harder.Regards,Walluce PinkhamOn 8 Feb 2023, at 15:40, Craig Ingram @.***> wrote:
Can you provide some more context please on what you're trying to do? Are you trying to run the operator on Windows containers? TBH, that's not a use case we've ever considered. That said, if there is a valid use case for this, let's discuss. We do accept PRs. :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Understood. I think the closest you can get to running the operator and its components under Windows is by using WSL2 and Kind (or similar tooling).

Understood, thanks. It’s just a shame because it’s a go application and it should run fine on Windows.Regards,Walluce PinkhamOn 9 Feb 2023, at 19:30, Craig Ingram @.***> wrote:
Understood. I think the closest you can get to running the operator and its components under Windows is by using WSL2 and Kind (or similar tooling).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

The operator still needs Kubernetes to do its job -- managing a Redis cluster. Are you trying to get the operator to manage a Redis cluster running remotely or something?

Hi, yes, the cluster is running remotely, or on k3s, or in minikube or in docker desktop, it doesn’t really matter. All I want to do is to build and install the operator from my windows machine. The rest is 100% standard k8s workflow with kubectl, helm, etc.Regards,Walluce PinkhamOn 9 Feb 2023, at 22:19, Craig Ingram @.***> wrote:
The operator still needs Kubernetes to do its job -- managing a Redis cluster. Are you trying to get the operator to manage a Redis cluster running remotely or something?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ah, I see. I don't see this being a common (or desirable) use case the operator should support. To be frank, you'd be losing all the resiliency and flexibility running on k8s provides. This would also introduce security holes as the operator would be making remote calls to Redis pods and there is no authentication or encryption in place (because all traffic between the operator and pods was designed to be constrained w/in a k8s cluster). I'm also not sure how the operator would even communicate w/the Redis pods as their ports are not exposed to the outside world. You could use hostPorts (but you couldn't share worker nodes if you did) or nodePorts (but then you'd have to have some discovery process in place so the operator would know how to communicate w/the pods) or maybe a proxy (not sure how that would even work); but adding this type of complexity to the operator isn't worth it. You'd also have to enable AUTH and encryption to protect the traffic. It just sounds like a lot of work for little/no gain. I'm not trying to sound harsh here -- just honest.

Sorry, I think I am not communicating well.I just want to build and install the operator from a windows machine. I don’t want to use WSL because the build agents won’t have that.Thanks for your trouble. It seems I simply have to accept that I will need to find a different operator.Thanks again!Regards,Walluce PinkhamOn 10 Feb 2023, at 17:09, Craig Ingram @.***> wrote:
Ah, I see. I don't see this being a common (or desirable) use case the operator should support. To be frank, you'd be losing all the resiliency and flexibility running on k8s provides. This would also introduce security holes as the operator would be making remote calls to Redis pods and there is no authentication or encryption in place (because all traffic between the operator and pods was designed to be constrained w/in a k8s cluster). I'm also not sure how the operator would even communicate w/the Redis pods as their ports are not exposed to the outside world. You could use hostPorts (but you couldn't share worker nodes if you did) or nodePorts (but then you'd have to have some discovery process in place so the operator would know how to communicate w/the pods) or maybe a proxy (not sure how that would even work); but adding this type of complexity to the operator isn't worth it. You'd also have to enable AUTH and encryption to protect the traffic. It just sounds like a lot of work for little/no gain. I'm not trying to sound harsh here -- just honest.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Fix path

The original change was to add a style property, but it appears to
have gone through a rebase or other conflict and was left using the
wrong path.
History:

https://github.com/thoughtbot/neat/commit/99f9255a55eb5d016042ca6e129572803de0a6a8
https://github.com/thoughtbot/neat/commit/a4820d74180ddaa6b7cd89610f5bf045ff774052
https://github.com/thoughtbot/neat/commit/2666dc829133578f0a629595cb788b8da7fa1cd0
https://github.com/thoughtbot/neat/commit/5f15317c170dbf98a482091d5879cf19564a8298

yep, good fix
bout time to cut a release

👏


How to Rescale dataset for pre-processing?

I wonder how can rescale my dataset images to reduce ram load on GPU?

Hi,
Were you able to figure it out? I am trying to use transforms.resize from pytorch but it does not seem to be compatible with the base class for dataset: MRI2DSegmentationDataset


widgets in paneldynamic

Hello,
It seems that widgets do not work  for questions inside a paneldynamic, at least for direct childs, because if I have a matrixdynamic inside a paneldynamic using matrixdropdowncolumn, dropdowns widget work, but dropdown as direct child of the paneldynamic doesn't, or am I missing something.
Survey.JsonObject.metaData.addProperty("matrixdropdowncolumn" .. works inside and outside of the matrix.
Survey.JsonObject.metaData.addProperty("dropdown".... direct child of paneldynamic doesnt get applied.
Regards,

@madceb Thank you, the bug is fixed. The fix will be available in the next minor.
Andrew


add definitions for s390x musl targets

Add support for s390x musl targets to libc.
I haven't added CI because I am not familiar with the pipelines, but would be glad to do so if somebody outlines what needs to be done.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

CI is mostly blocking on rust-lang/rust#82166 being merged, which adds the s390x-unknown-linux-musl target.

LGTM. Let's wait on rust-lang/rust#82166 so we can have CI set up.
I'm not too familiar with the libc CI, but basically just copy what we're already doing for other architectures on musl (e.g. mips, arm). The relevant files are all in ci/.

Yeah that's why I decided to go with #82166 first.  Then handle the libc bits and any std bits afterward.

Based on conversation in Zulip, I wonder if it makes sense to move a lot of these constants to the common part of the musl support code.

Yes, I think so, that's kind of how the libc crate is "supposed" to be designed (according to https://github.com/rust-lang/libc/blob/master/CONTRIBUTING.md anyways!). Probably using a similar structure as the "generic bits" vs. "arch-specific bits" pattern that musl uses for its own organization.

@Amanieu this should be good to go now.  rust#82166 has landed.

Is ci/s390x-linux-musl.json still needed?

git, how does it even work?

You need to add the target to .github/workflows/bors.yml so it gets picked up by CI.

@bors r+

:pushpin: Commit f23086220deecb84bdb9df7f89e796c7743d063a has been approved by Amanieu

:hourglass: Testing commit f23086220deecb84bdb9df7f89e796c7743d063a with merge 3c2e292f5e689e6f2d23c62773926b18a733c044...

:broken_heart: Test failed - checks-actions

oh, technically the s390x-unknown-linux-musl target is tier 3 atm.  can we just skip the CI?  or how do you want to tackle it?

Ah good point, let's just skip it for now.

@bors r=Amanieu

:pushpin: Commit 41cda2abdc6cf000ec4f4faf7dde727a95a45beb has been approved by Amanieu

:hourglass: Testing commit 41cda2abdc6cf000ec4f4faf7dde727a95a45beb with merge 5fd6540db9b14fae02ff8a11a6102ee99965ae30...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 5fd6540db9b14fae02ff8a11a6102ee99965ae30 to master...

@bors r+


Pretrained weights for other versions

Are there any available weights for the PoolFormer version with BN and LN instead of the Modified Layer Norm? (Table 5 in https://arxiv.org/abs/2111.11418)

Hi @JRestom ,
Thanks for your attention. For BN checkpoint, I have posted it in this issue #5 . For LN checkpoint, sorry that it is deleted. I will retrain it in a week and share it with you. Thanks.

Thank you! It would be of great help.

Hi @JRestom ,
poolformer_ln_s12 (let norm_layer=LayerNormChannel) is released.
Thanks!

Hello @yuweihao,
I highly appreciate the weights. One issue, when opening the link it directs me to a file called poolformer_bn_s12 (BatchNorm I assume). Could you double check the link?

Hi @JRestom , yes, poolformer_bn_s12.pth.tar and let norm_layer=torch.nn.BatchNorm2d.

I meant, the link of poolformer_ln_s12.pth.tar is directing me to the same folder as poolformer_bn_s12.pth.tar. Shouldn't they be different? (one for LayerNom and one for BatchNorm).

Oh, my fault, the right link is poolformer_ln_s12.pth.tar.

Thank you so much!!


how to run the test program

I put some images into dir /data/Vid4/GT for test,  but I don't know  what's the mean of "data/Vid4/Gaussian4xLR",
python codes/main.py --exp_dir test --mode test --model EGVSR --opt /opt/EGVSR-master/experiments_BD/EGVSR/001/test.yml
2021-07-22 11:01:23,123 [INFO]: ========================================
2021-07-22 11:01:23,123 [INFO]: Testing model: EGVSR_iter420000
2021-07-22 11:01:23,123 [INFO]: ========================================
2021-07-22 11:01:24,793 [INFO]: Testing on test1: Vid4
Traceback (most recent call last):
File "codes/main.py", line 341, in
test(opt)
File "codes/main.py", line 182, in test
test_loader = create_dataloader(opt, dataset_idx=dataset_idx)
File "/opt/daizhsh/EGVSR-master/codes/data/init.py", line 58, in create_dataloader
dataset = PairedFolderDataset(data_opt, scale=opt['scale'])
File "/opt/daizhsh/EGVSR-master/codes/data/paired_folder_dataset.py", line 21, in init
lr_keys = sorted(os.listdir(self.lr_seq_dir))
FileNotFoundError: [Errno 2] No such file or directory: 'data/Vid4/Gaussian4xLR'
Thank you for you reply!

Vid4 is the test dataset with a pair of ground true (GT) image samples and low resolution (LR) input ones.
If you want to test the VSR model, you could refer to the ''test.sh'' script. Hope it works for you!

Vid4 is the test dataset with a pair of ground true (GT) image samples and low resolution (LR) input ones.
If you want to test the VSR model, you could refer to the ''test.sh'' script. Hope it works for you!

@Thmen thanks for the information, but the "test.sh" doesn't work correctly with current situation.
The weblink to Vid4 dataset is broken (in the ReadMe), so I download it from another Google Drive (ref: issue 16). Unfortunately, it doesn't have the folder of the ground truth, like "Gaussian4xLR". It looks like that I have to generate the folder. How could we prepare dataset for testing?


master/scheduler: support rebalancer

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/5053
What is changed and how it works?
support rebalancer interface and tableNumberRebalancer in dm. This interface will periodically pick victim sources, sort them in orders and try to pick up workers for these sources.
Check List
Tests

Unit test

Code changes

Has exported function/method change

Side effects

Possible performance regression
Increased code complexity

Related changes

Need to update the documentation

Release note
support table number rebalancer for dm-master

/run-verify-ci

/run-unit-test


Zone copy with net

Fix #216
This deserves a thorough squiz, seems hacky but setting zone net was tricky. There must be a cleaner way to map source netname to target netname.

Duplicates source zone to target board
Updates the net of the zone to new net name on target board

Finds net name of source zone
iterates thru source footprint pads until netname match is found
uses matched footprint uuid and uuid map to find target footprint
uses matched pad index of matched footprint to get new net information
Sets zone net to target net info
Sets zone to netcode 0 if no match found (no net)

Perhaps this is information we can add the manifest that atopile generates on build. Currently it's just the source-target UUID map, but we could totally add a source-target net-name map too!
Side note, great PR Nick! Thank's for the step-by-step operation here. Makes it super easy to rip through!

Neat! Working for me on Kicad8


cuda-memcheck: --tool initcheck failed with lineOfSight

Thrust's scan-related algorithms (which uses CUB componentry): uninitialized value data is in fact getting “sucked up” in polling reads of status flags.  This is per design:
The “single-pass” device-wide scan requires some temporary storage.  That temporary storage is an array of tuple pairs {status, value}, one for each CTA.  Each CTA polls up to 32 predecessor structures to see if their status is set to “ready”, which signals that the corresponding value has actually been legitimately produced by that predecessor.  To reduce latency, we simply read the whole struct when polling.  But we only initialize the status during setup.  Hence memcheck complains about the second half of the struct being read before anything was written to it.

Fixed in https://github.com/NVlabs/cub/commit/5e07d954083c7f26a5eb3a4ba91513e2549c9b06


Can't import odo

I get an error when I attempt to import odo.

ImportError                               Traceback (most recent call last)
 in ()
----> 1 from odo import odo
C:\Users~AppData\Local\Continuum\Anaconda\lib\site-packages\odo_init_.py in ()
10
11 from .utils import ignoring
---> 12 from .convert import convert
13 from .append import append
14 from .resource import resource
C:\Users~AppData\Local\Continuum\Anaconda\lib\site-packages\odo\convert.py in ()
3 import numpy as np
4 import pandas as pd
----> 5 from datashape.predicates import isscalar
6 from toolz import concat, curry, partition_all
7 from collections import Iterator, Iterable
ImportError: cannot import name isscalar

I suspect that your datashape is very out of date.   If you install by conda this is taken care of and if you didn't have datashape then this is taken care of.  But if you installed anaconda a while ago and then install with pip then you run into a version mismatch.
Probably we should state that version dependence explicitly in the requirements.txt file.  This is fixed in https://github.com/ContinuumIO/odo/commit/8448fa0926e488bb28860fba9b4e1d6a4ba5e4f8 .

That fixed it. Just installed fresh Anaconda two days ago, so a bit surprising but updating with conda did it. Thanks!


fix(log): log.Fatal considered harmful

What this PR does / why we need it
The gobox logger cannot handle Infinite values in logs.
Postgres can hold infinite values.
Smartstore CDC tries to log cdc values at debug level, so they’re available in case of error in cdc.
therefore: smartstore cdc tries to log infinity, hits a log.Fatal in gobox and exits immediately, preventing cdc from advancing.
Slack message from Anton Audzei in #qss-support
Offending log.Fatal:
https://github.com/getoutreach/gobox/blob/51f0f1c06538a0c9baacf0c8d3df52b3bd636e86/pkg/log/log.go#L168

Jira ID
DT-3972

Notes for your reviewers

The PR title is funny, but a more descriptive title might be:

fix(log): avoid exiting early with unmarshal errors

The PR title is funny, but a more descriptive title might be:

fix(log): avoid exiting early with unmarshal errors

Is this a blocker?

The PR title is funny, but a more descriptive title might be:

fix(log): avoid exiting early with unmarshal errors

Is this a blocker?

Changing the PR title makes sense, merging this fix won't get it out to consumers without a considerable amount of updating across the org, so we can't exactly rush this specific fix out right now.


Support h5node to dataviewer

It is useful to display extra informations from HDF5Tree
Basically local name (and not the name using path from external h5 file)

lgtm


Slow SMS delivery (~30-60 seconds) / Invalid cache_wsdl setting?

We had been troubleshooting extremely slow SMS delivery via this API in our environment (PHP 5.3.29), but were not seeing the same issue in an alternate environment (ColdFusion)
After some review, we realized the WSDL was not caching properly to disk, hence the slow SOAP calls.
Ultimately, we were able to resolve the problem by updating the WSDL_CACHE_WSDL constant in mmsoap/WsdlClass.php to match the documentation:

The cache_wsdl option is one of WSDL_CACHE_NONE, WSDL_CACHE_DISK, WSDL_CACHE_MEMORY or WSDL_CACHE_BOTH.

// const WSDL_CACHE_WSDL = 'wsdl_cache_wsdl'; // BEFORE
const WSDL_CACHE_WSDL = 'cache_wsdl'; // AFTER

What is the proper way to go about passing WSDL caching option correctly without modifying the base WsdlClass class?

Hi @pixelchutes,
Thanks for reporting this.
I'm currently unable to reproduce the issue.  The wsdl_ prefix gets stripped from the option name in the WsdlClass::initSoapClient function, and that appears to be working correctly for me.
Would you mind adding a var_dump as follows:
diff --git a/mmsoap/WsdlClass.php b/mmsoap/WsdlClass.php
index b8f2de0..912836a 100644
--- a/mmsoap/WsdlClass.php
+++ b/mmsoap/WsdlClass.php
@@ -305,6 +305,7 @@ class WsdlClass extends stdClass implements ArrayAccess, Iterator, Countable {
                 elseif (!empty($optionValue))
                     $wsdlOptions[str_replace('wsdl_', '', $optioName)] = $optionValue;
             }
+            var_dump($wsdlOptions['cache_wsdl']);
             if (array_key_exists(str_replace('wsdl_', '', self::WSDL_URL), $wsdlOptions)) {
                 $wsdlUrl = $wsdlOptions[str_replace('wsdl_', '', self::WSDL_URL)];
                 unset($wsdlOptions[str_replace('wsdl_', '', self::WSDL_URL)]);

Run that before and after your change... I suspect you'll get the same result (int(1)) both times... but if you don't that will be very interesting.
Thanks,
Paul.

BEFORE and AFTER do match, but output is as follows:
int(3)
int(3)
int(3)

Since being able to get the WSDL to cache correctly, we have not been able to reproduce (even when reverting these settings.) Definitely appears to be environment specific for us, so I will close the issue. Hope this helps anyone who may run into the same problem.


"go get github.com/hyperledger/fabric-sdk-go" doesn't working

I try to run this project by following README.md.
but when I start to run Beats Agent, I saw that kind of below issue.
go get -u github.com/hyperledger/fabric-sdk-go
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
	ignoring go.mod;
	see 'go help modules'

Does anyone that kind of issue? I guess it is related to golang or absolute path... but I don't know.

I think it is related to go modules not working under $GOPATH, I am going to check. Meanwhile, you could try to simply clone the fabric-sdk-go github repository and place it under $GOPATH/src/github.com, then run this project. The warning won't disappear, but I think it will run fine.

I am getting similar issue. The modules need fixing. Try the solution that @balazsprehoda suggested or getting vendor modules from this old commit:
https://github.com/hyperledger-labs/blockchain-analyzer/tree/14199bfa3e770822a7877652d1a589b425b94894/agent/fabricbeat/vendor/github.com

Placing the fabric-sdk-go package inside vendor dir in fabricbeat should resolve the problem. However, it is going to break the dumper program.

@lotty02cho for now, the fabric-sdk-go has been included in the repo. See instructions here on building the agent:
https://github.com/hyperledger-labs/blockchain-analyzer/blob/master/docs/Basic_setup.md#build-fabricbeat-agent

Since this issue is outdated, I am closing it now.


change(rpc): Adds getmininginfo, getnetworksolps and getnetworkhashps methods

Motivation
We want to support the getnetworksolps, getnetworkhashps, and getmininginfo RPCs.

Closes #5721
Closes #5468

Solution

Adds a state request for getting the chain solution rate

Sums up total work for a range of blocks
Divides it by number of seconds elapsed between the first and last block in the range

Adds RPC getmininginfo, getnetworksolps and getnetworkhashps RPCs

Review
Part of regular scheduled work.
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?
[ ] How do you know it works? Does it have tests?

Follow Up Work

Populate other fields for the getmininginfo response

I did a zcash-rpc-diff, and it seemed to be the same, good work!
But since it's a manual test, we'll need to do it again before we merge.

It looks like we've hit a GitHub API rate limit, causing CI jobs across multiple PRs to fail:
https://github.com/ZcashFoundation/zebra/actions/runs/3644298974/jobs/6153406794#step:3:13
it should reset within an hour or so.
I'll ask Gustavo to look into this next week. But until then, please push your commits in batches, rather than one at a time. (Each push runs about 50 jobs.)

It looks like we've hit a GitHub API rate limit, causing CI jobs across multiple PRs to fail:
https://github.com/ZcashFoundation/zebra/actions/runs/3644298974/jobs/6153406794#step:3:13
it should reset within an hour or so.
I'll ask Gustavo to look into this next week. But until then, please push your commits in batches, rather than one at a time. (Each push runs about 50 jobs.)

🤦 Whoops. Okay, noted.
Response diffs:
WARNING: comparing RPC responses from different heights:
zcashd is at: 107837
zebrad is at: 1905342

Request: getnetworkhashps

Querying zebrad main chain at height >=1905342...
time: real 0m0.005s, user 0m0.002s, sys 0m0.000s

Querying zcashd main chain at height >=107837...
time: real 0m0.003s, user 0m0.003s, sys 0m0.000s

Response diff between zcashd and zebrad:
-12139905448
+56199849

WARNING: comparing RPC responses from different heights:
zcashd is at: 146135
zebrad is at: 1905349

Request:
getnetworksolps

Querying zebrad main chain at height >=1905349...
time: real 0m0.005s, user 0m0.002s, sys 0m0.000s

Querying zcashd main chain at height >=146135...
time: real 0m0.063s, user 0m0.003s, sys 0m0.000s

Response diff between zcashd and zebrad:
-12224410071
+201076157

WARNING: comparing RPC responses from different heights:
zcashd is at: 108810
zebrad is at: 1905347

Request: getmininginfo

Querying zebrad main chain at height >=1905347...
time: real 0m0.006s, user 0m0.003s, sys 0m0.000s

Querying zcashd main chain at height >=108810...
time: real 0m0.002s, user 0m0.002s, sys 0m0.000s

Response diff between zcashd and zebrad:
{
-  "networksolps":<PHONE_NUMBER>0,
-  "networkhashps":<PHONE_NUMBER>0,
+  "blocks": 108810,
+  "difficulty": 1348528.045183577,
+  "errors": "Your computer's date and time may be behind the rest of the network! If your clock is wrong Zcash will not work properly.",
+  "errorstimestamp":<PHONE_NUMBER>,
+  "genproclimit": 1,
+  "localsolps": 0,
+  "networksolps": 81163088,
+  "networkhashps": 81163088,
+  "pooledtx": 0,
+  "testnet": false,
   "chain": "main",
-  "testnet": false
+  "generate": false
 }

WARNING: comparing RPC responses from different heights:
zcashd is at: 107837
zebrad is at: 1905342

The different heights are going to make some fields different, even if the calculations in Zebra and zcashd are exactly the same.
Here it is with them both synced:
$ zcash-rpc-diff 28232 getnetworkhashps
Checking first node release info...
Checking second node release info...
Connected to zebrad (port 28232) and zcashd (zcash-cli zcash.conf port).

Checking zebrad network and tip height...
Checking zcashd network and tip height...

Request:
getnetworkhashps

Querying zebrad main chain at height >=1905507...

real    0m0.009s
user    0m0.003s
sys     0m0.004s

Querying zcashd main chain at height >=1905507...

real    0m0.007s
user    0m0.004s
sys     0m0.003s

Response diff between zebrad and zcashd:
RPC responses were identical

/run/user/1000/tmp.50psuVx1Eh.rpc-diff/zebrad-main-1905507-getnetworkhashps.json:
11061724042

$ zcash-rpc-diff 28232 getnetworksolps
Checking first node release info...
Checking second node release info...
Connected to zebrad (port 28232) and zcashd (zcash-cli zcash.conf port).

Checking zebrad network and tip height...
Checking zcashd network and tip height...

Request:
getnetworksolps

Querying zebrad main chain at height >=1905507...

real    0m0.009s
user    0m0.005s
sys     0m0.002s

Querying zcashd main chain at height >=1905507...

real    0m0.007s
user    0m0.004s
sys     0m0.003s

Response diff between zebrad and zcashd:
RPC responses were identical

/run/user/1000/tmp.Xn2Omwyuvf.rpc-diff/zebrad-main-1905507-getnetworksolps.json:
11061724042

$ zcash-rpc-diff 28232 getmininginfo
Checking first node release info...
Checking second node release info...
Connected to zebrad (port 28232) and zcashd (zcash-cli zcash.conf port).

Checking zebrad network and tip height...
Checking zcashd network and tip height...

Request:
getmininginfo

Querying zebrad main chain at height >=1905507...

real    0m0.009s
user    0m0.005s
sys     0m0.002s

Querying zcashd main chain at height >=1905507...

real    0m0.007s
user    0m0.004s
sys     0m0.003s

Response diff between zebrad and zcashd:
--- /run/user/1000/tmp.bzO2k7ujrN.rpc-diff/zebrad-main-1905507-getmininginfo.json       2022-12-08 16:30:55.620302894 +1000
+++ /run/user/1000/tmp.bzO2k7ujrN.rpc-diff/zcashd-main-1905507-getmininginfo.json       2022-12-08 16:30:55.628302836 +1000
@@ -1,6 +1,16 @@
 {
+  "blocks": 1905507,
+  "currentblocksize": 2128,
+  "currentblocktx": 1,
+  "difficulty": 97409482.22582503,
+  "errors": "",
+  "errorstimestamp":<PHONE_NUMBER>,
+  "genproclimit": 0,
+  "localsolps": 0,
   "networksolps":<PHONE_NUMBER>2,
   "networkhashps":<PHONE_NUMBER>2,
+  "pooledtx": 7,
+  "testnet": false,
   "chain": "main",
-  "testnet": false
+  "generate": false
 }

In this last one, all the differences are due to extra fields (including the line deletion for the trailing comma).
Great work, thanks for making this all match up!

@mergifyio refresh

@Mergifyio refresh


feat: user page

In the table, when you click on a person's id, you'll be taken to this page. Here you'll see the person's note and the voting poll.
in the voting poll, you'll be able to add one or vot for any of the existing one.
Create this page

@RakinRkz can you please check the PR that implements this?

Good work


Can not understand this sentence in paper, thank you!

@hamed-zamani

It is explained in Section 3.4 of the paper. I recommend you to take a look at an IR reference book to understand the concept of inverted indexing and their usage. Then these things become more clear. I hope this helps.


agola: init at 0.7.0

Description of changes
agola is an interesting open source ci / cd project
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I'm going to merge this for now, since probably no one will care, but happy to take feedback later


Bower: Ignore demo directory

LESS files are causing some issues for me.

Thanks for contributing dear friend :)


Conditional validations and fields

I have a use case where some form fields are only required if a certain value is selected somewhere else in the form (in this case a checkbox). Upon investigating how validations and changesets work, I can see it's not so trivial to add support for this because not only do you need to not disable the validations, but you also need to ensure that field doesn't get propagated to the model on execute.
Any thoughts on this? Am I missing some not so obvious way to achieve this? Otherwise, I'll have a crack at implementing it soon.

Hmm unless I'm misreading it, I think you could do this using ember-changeset-validations with a custom validator. Are you using that add-on for validations? This add-on is only the logic for the changeset itself.

Hi @poteto ! I am indeed using changeset-validations, but as far as I can tell the individual validations don't receive a reference to the changeset, so there's no way to query the value of the checkbox during validation.
Upon thinking over this further, I don't think it's just disabling the validation that is needed, because in that case you might just return true and assume the attr in valid. What is really needed is excluding that value from the changeset and not validating it.

@ivanvanderbyl The validator function receives the changes object, which is a map of all the changes that have been made. Would that work? Also, this issue is probably more relevant on the ember-changeset-validations addon!
https://github.com/DockYard/ember-changeset-validations#writing-your-own-validators

Yes, I noticed that, however changes alone aren't enough to solve this problem.
Imagine the scenario: You have a form with a conditional section, in this case it collects a bunch of EC2 configuration details like VPC ID, Security Group, AZ, and Subnets. These are all required fields only if the "Use EC2" checkbox is ticked, in which case they must send the default value of the model, which is null.
Now I can easily discard the validations of these properties if useEc2 is false. However, if these fields change I can't set default value back to null from within the validate function as it's not very "pure", and I'm trying to only use the changeset helper to construct the Changeset.
A solution I'm attempting is adding an additional form helper to flood-simple-form which exposes a conditional section, ala fieldset, with its own changeset and validations. If the condition is true and it's valid it gets merged into the main changeset, otherwise it's removed. At least, that's the thinking, we'll see how well it works in practice.

I see, my original intention for not passing in the changeset itself as a param to the validator function was to enforce a more functional approach with no side effects. Even the changes object that is sent to the validator function is a copy of the real object. The validator should only have 1 purpose.
I suspect your use-case would be better off handled by a custom action rather than in a validator. Let me know if you manage to solve this with the action / merging, or if not we can revisit / discuss again!

I  like that approach, oh and by validator I was actually referring to a custom validate action, not the validator function from changeset-validations.
This approach so far has one snag: you can't merge invalid changesets, which is probably something you want, but now I'm trying to think off a good way to keep track of multiple changesets, and aggregate their errors so that a single list of errors is available to the form. Shouldn't be impossible :)

I think I wouldn't mind merging invalid changesets, I was probably a little heavy handed there. Want to open a PR for it?

You know, that would actually make this a lot easier. I'll create a PR in the morning :)

I know  I know this is very old, but I'm facing the same issue, and I don't quite understand how merge applies here?
I ask because I'm also implementing a conditional validation. I'm able to get this to work mostly, but the changeset doesn't seem to re-validate correctly because the conditional validation depends on attrs other than the one being updated.
This leads me to believe I might be missing a possible use for merge? Do you recall (almost 4 years later) how this was useful for you?

@allthesignals Do you have an example (or dummy app)?  I'd be happy to look into this and possibly get working.

@snewcomer I think I got it working, I have a PR up, here's a component class in particular: https://github.com/NYCPlanning/labs-applicant-portal/pull/207/files#diff-fa73b7a98e0df38cb1686492b3077971
Here's my conditional validator: https://github.com/NYCPlanning/labs-applicant-portal/pull/207/files#diff-2a9c92ebab030a35b86d85c9f750a967 in the same PR. There is an issue with conditional validators that I was able to get around by explicitly re-validating a changeset when a field input changed.
I was mainly asking because I've gone through multiple iterations of this, trying to land on the "right" approach. The approach I linked above seems simplest (before I was wrapping stuff in proxies).


Fixed compilation error in minizip unit on macOS

Minizip code uses ftello64, fseeko64, fopen64. MacOS doesn't have them and compilation fails.
Clang produces warnings during compilation:
Implicit declaration of function 'fopen64' is invalid in C99
Implicit declaration of function 'ftello64' is invalid in C99
Implicit declaration of function 'fseeko64' is invalid in C99

and errors during linking:
Undefined symbols for architecture x86_64:
  "_fopen64", referenced from:
      _fopen64_file_func in ioapi.o
  "_fseeko64", referenced from:
      _fseek64_file_func in ioapi.o
  "_ftello64", referenced from:
      _ftell64_file_func in ioapi.o

As suggested on stackoverflow (also related to minizip) a solution is to define the symbols as:
#ifdef __APPLE__
    #define ftello64 ftello
    #define fseeko64 fseeko
    #define fopen64 fopen
#endif

That indeed helps. The question is only what is the best place for that code snippet? I've put it into minizip's file ioapi.c because this is the only unit needing them. If you think there is a better place for the snippet please let me know and I'll move it there (or you can do that yourself of course).
Thanks.

ioapi.c has already a lot of patches :-( so one more is not a problem, and for this case it its the best place. Please add, before your code, a comment line explaining the reason such as:
//Lomse. Fix compilation error in minizip unit on macOS
Also, add the prefix "Lomse. " to the comment in line 229 that you added the other day. And, if you don't mind, replace "CSG." (my name initials) by "Lomse." in several comments with changes I did time ago.
Although Git allows to find the changes I would prefer to have them easily identified in this file for future reference, just in case. Thanks in advance.
By the way, how do you build the lomse library? Do you use the provided CMakeLists.txt file for Windows? And for macOS?

Added comments as requested.

By the way, how do you build the lomse library? Do you use the provided CMakeLists.txt file for Windows? And for macOS?

On Windows I had a great deal of troubles with CMake (never used it before). First it couldn't find compiler, then it couldn't find libraries etc. Eventually CMake has generated project file for Visual Studio but could not compile it on it's own. But at this point I had the project containing all needed files. I added required libraries and search paths directly in Visual Studio. I changed project type from library to executable and added the windows example into it. This way I can compile the example application and debug through Lomse files. I can't run unit tests on Windows yet.
On Mac the things work much better. CMake generates "Unix Makefile" without troubles and compiling works (after submitted fixes). The occurred errors was easy to fix. In another build directory I run CMake with target "Xcode" and it generated Xcode project, which I then opened in Xcode and could compile without issues (after applying fixes). In both "Unix Makefile" and "Xcode" targets I can compile library and testlib. In Xcode I can run and debug tests.
On Mac I have some test failures but that is worth a separate issue I guess.
FAILURE: 35 out of 1577 tests failed (86 failures).
Test time: 9.31 seconds.

Complete log is here.

Thanks for the changes and the info on building. I never tested the cmake file in Windows and, for sure, need fixes.
Just in case, in relation to failures in the unit tests, I'm having since a month, a couple of random errors, always in two tests (see http://lenmus.org/en/lomse/unit-tests). They only happen randomly in my machine, never in Travis. In a quick look I didn't find the cause but had no time for investigating more.
I expect to merge this PR tomorrow morning.

All unit tests error messages such as "Line 112. Invalid ending number '1, 2'.  ignored." are originated in lomse_mxl_analyser.cpp, line 2804, method  bool mxl_is_valid_ending_number(const string& num). Looks like a problem with std::regex

Also all failures in tests such as MxlAnalyser_direction_words_04 are due to std::regex behaviour in mac

Also all problems related to volta_bracket seem to have its origin in method bool mxl_is_valid_ending_number(const string& num) in lomse_mxl_analyser.cpp and related to sdt::regex.


Add MIPS32 accumulating instructions

MIPS32 introduces 4 accumulation instructions: madd, maddu, msub, msubu. Unlike common instructions, they don't overwrite the contents of HI/LO register pair, but accumulate results:
    hilo += rs * rt;

The roadmap for implementation:

[x] Add accumulation feature to register file
[x] Introduce instruction to MIPS decoding flow
[x] Add a flag to perform accumulation instead of writing

@AndrewSultan
The idea of this instructions is to have an additional ALU which operates over HI/LO registers. To model it, you have to introduce new interfaces to RF class which does addition or subtraction instead of simple overwrite.
Additionally, such instructions cannot deliver data to bypass logic. Please consult with @denislos to understand the best way to change model properly.

For an unknown reason the madd test failed, but maddu test passed.

https://github.com/MIPT-ILab/mipt-mips/blob/355fec18c1bcb8ccb53d718791c51161b8ed53f3/simulator/func_sim/rf/rf.h#L47
That looks suspicious, as all operations are unsigned. However I don't see an obvious bug...
What are the operands for failing test, actual output, and expected output?

0x400b54: madd $a0, $a0  [ $hi = 0x1, $lo = 0x0 ]
0x400b58: mfhi $v1       [ $v1 = 0x2 ]

Actual msg:
[  DEATH   ] Mismatch:
[  DEATH   ] Checker output: 0x400b58: mfhi $v1	 [ $v1 = 0x2 ]
[  DEATH   ] PerfSim output: 0x400b58: mfhi $v1	 [ $v1 = 0x1 ]
[  DEATH   ]
[  FAILED  ] Perf_Sim.Run_Full_Trace (14 ms)
[ RUN      ] Perf_Sim.Run_SMC_Trace
[       OK ] Perf_Sim.Run_SMC_Trace (5 ms)
[----------] 2 tests from Perf_Sim (19 ms total)

Double-check that condition:
https://github.com/MIPT-ILab/mipt-mips/blob/355fec18c1bcb8ccb53d718791c51161b8ed53f3/simulator/core/perf_instr.h#L24

Denis @denislos, could you please take a look? It seems that MADD bypasses 0x1 to HI register, while it should be prevented by is_bypassible() check.

https://github.com/MIPT-ILab/mipt-mips/blob/48860703d0a002e94a64752dd9f51228991f02db/simulator/mips/mips_instr.h#L259
BTW, you don't need these functions as they do the same thing as execute_mult and execute_mult; all special behavior is controlled by operation type

There is a strange thing, I have run the tests and got this
fetch   cycle 2491: 0x400b3c: 0x0x400b3c: mfhi $v1
decode  cycle 2491: 0x400b38: madd $a0, $a0
execute cycle 2491: 0x400b34: lui $a0, 0x1	 [ $a0 = 0x10000 ]
memory  cycle 2491: 0x400b30: mthi $zero	 [ $hi = 0x0 ]
wb      cycle 2492: 0x400b30: mthi $zero	 [ $hi = 0x0 ]
Executed instructions: 944
decode  cycle 2492: 0x400b3c: mfhi $v1 (data hazard)
execute cycle 2492: 0x400b38: madd $a0, $a0	 [ $hi = 0x1, $lo = 0x0 ]
memory  cycle 2492: 0x400b34: lui $a0, 0x1	 [ $a0 = 0x10000 ]
wb      cycle 2493: 0x400b34: lui $a0, 0x1	 [ $a0 = 0x10000 ]
Executed instructions: 945
decode  cycle 2493: 0x400b3c: mfhi $v1 (data hazard)
execute cycle 2493: bubble
memory  cycle 2493: 0x400b38: madd $a0, $a0	 [ $hi = 0x1, $lo = 0x0 ]
In DECODE_2_FETCH_STALL port data was added at 2492 clock and will not be readed
It looks like that  the fetch stage does not handle stalls in case of a cache miss. I have changed fetch a little bit in order to fix it
template
void Fetch::ignore( Cycle cycle)
{
/* ignore PC from other ports in the case of cache miss */
rp_external_target->ignore( cycle);
rp_hold_pc->ignore( cycle);
rp_target->ignore( cycle);
rp_stall->ignore( cycle);
/* ignore miss signal */
rp_hit_or_miss->ignore( cycle);

}
Now it passes all the tests.

Thank you. There is no problem with bypass, right?

In DECODE_2_FETCH_STALL port data was added at 2492 clock and will not be readed`

@AndrewSultan Do you have the same message as Denis has?

Please proceed by updating submodule and implementing subtracting instructions. I think the best strategy is to return int8 for is_accumulating(): -1 does subtraction, 1 does addition, 0 does nothing.


4.8.0 of itwinjs will have a change relevant to ElementTreeWalker,

This PR which will end up in v4.8.0 of @itwinjs/core-backend  may require us to react to some changes. I only say that because last time ElementTreeWalker was changed we had some failing tests.
And just want to document it here to hopefully minimize confusion if tests do happen to fail.

No tests failed.


Allow the Get Started to link to Companion app or the App Store

Add a companion app link to the Get Started first screen

Not applicable any more


[FormRecognizer] Changing test location to West Central US

As instructed by the service team. A test scenario is being ignored due to a known service regression (tracked by #12319).

/azp run net - formrecognizer - tests

/azp run net - formrecognizer - tests


Call back when download is in progress

When using the flexible flow, is there a callback when the download is in progress? Eg. after the user accepted to install the update in the Play core popup.
I tried updateChecking(), but this is called before the play core update dialog is shown.
Two more questions:

is there a way to know that the user pressed cancel vs download in the Google play popup? I could use this call back to show a progress spinner/toast ui element that download is in progress for the download case

Multi activity setup
when one activity A launches a startFlexibleUpdate(appUpdateManager, A, UpdateFlowBreaker), what happens when the user accepts the update and the download is busy in the background. When I change to activity B and the download finishes then, will it call the "updateReady" callback on activity B automatically? (B also implements AppUpdateView and both A and B use the same appmanager instance & implement onActivityResult).
At this moment I'm not receiving any callback in activity B, only in activity A.
I assume I do not need to call startFlexibleUpdate(appUpdateManager, view, UpdateFlowBreaker.alwaysOn()) in Activity B? Or do I?

@wbervoets, sorry for the late answer!
I'll try to answer the last question first as it is a core functionality...

I assume I do not need to call startFlexibleUpdate(appUpdateManager, view, UpdateFlowBreaker.alwaysOn())

No. You need to start the flow anyway. There is no state save between update wrapper instances besides the state that original google library provides. This is done intentionally to try to not diverse with their flow and to be able to switch to immediate update from flexible at any point. Thus, whenever you start a new flow, you get into update check which eds up in current status processing here. This will effectively switch you to correct state as long as the google-provided status allows to do it. TLDR the library is designed as a fire-and-forget lifecycle-observer that should be run in every activity you plan to support update UI in.

When using the flexible flow, is there a callback when the download is in progress? Eg. after the user accepted to install the update in the Play core popup.

No, there is no dedicated callback on download start. But you can start your spinner manually when update consent returns RESULT_OK. You may do in in your onActivityResult - the place where you pass results to wrapper:
// Passes an activity result to wrapper to check for play-core interaction
    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        super.onActivityResult(requestCode, resultCode, data)
        if(REQUEST_CODE_UPDATE == requestCode && RESULT_OK == resultCode) {
            // Start your spinner
        }
        if (updateWrapper.checkActivityResult(requestCode, resultCode)) {
            // Result handled and processed
            return
        }
        // Process your request codes
    }

Although the constant is VisibleForTesting you can use it or suggest a feature for dedicated callback or constant disclosure :)

is there a way to know that the user pressed cancel vs download in the Google play popup? I could use this call back to show a progress spinner/toast ui element that download is in progress for the download case

You should get a call to complete here. And, again, the solution may be an onActivityResult modification as described above.


Fixed hash algo to be selected based on input and not hardcoded

The default SE05x configuration comes with 256 bit curves, so SHA256 is a better default choice.
Even better is to adapt to the input, in case the configuration is changed.

Superseded by https://github.com/arduino/ArduinoCore-renesas/pull/229


Generators don't seem to run on .NET 5 Console app

My repro steps for trying to get this going:

Install the latest public VS2019 (16.9.1)
Create a brand new .NET 5 console app
Add Microsoft.Windows.SDK.Win32Metadata @ 10.0.19041.5-preview.1
Click on project => Add new Item => Text file "NativeMethods.txt", add CreateFile to file
In my app:

using System;
using Microsoft.Windows.Sdk;

namespace MyApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

This blows up with:
1>C:\Users\ani\code\anaisbetts\MyApp\MyApp\Program.cs(2,17,2,24): error CS0234: The type or namespace name 'Windows' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

My project file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Windows.SDK.Win32Metadata" Version="10.0.19041.5-preview.1" />
  </ItemGroup>

</Project>

You're installing the wrong package. Per our readme file, the package you should install is Microsoft.Windows.CsWin32.

hwhoops, thanks for the tip 😅

And my project file: "

Exe
net5.0

all
runtime; build; native; contentfiles; analyzers; buildtransitive

"

@user16307 if you look closely, you'll see the problem:

The type or namespace name 'Windows' does not exist in the namespace 'Microsoft'

It looks like your using Windows.Win32 directive is being interpreted as being rooted in a Microsoft namespace, which isn't as intended. Try applying this change to your project:
-using Windows.Win32;
+using global::Windows.Win32;


Adding all dependent libraries to the Stan Math Library

Summary:
Includes copies of:

Boost
Eigen
Google Test
CppLint

to the source distribution under the lib/ folder, like in Stan.
Intended Effect:
Allows the Stan Math Library to be complete with its dependencies.
How to Verify:
Run any test.
Side Effects:
Stan will remove its copy of the libraries.
Documentation:
Updated in README.md. Will need to update the wiki for testing instructions also.
Reviewer Suggestions:
anyone.

@bob-carpenter, mind taking a look at the licenses folder? If you're ok with that, we should be good to go with this pull request.

I moved licenses/math-license.txt to licenses/stan-math-library-license.txt.
I also rewrote the license to clarify that we're not trying to assert we own the code and Columbia doesn't.
Copyright (c) 2011--2015, Stan Developers or their Assignees

thanks! I'll merge.
On Thu, Jul 30, 2015 at 3:11 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

I moved licenses/math-license.txt to
licenses/stan-math-library-license.txt.
I also rewrote the license to clarify that we're not trying to assert we
own the code and Columbia doesn't.
Copyright (c) 2011--2015, Stan Developers or their Assignees
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/math/pull/132#issuecomment-126442662.


[Chore] Deploy website on Github Pages

https://vuepress.vuejs.org/guide/deploy.html#github-pages

closed as it is a doublon of #16


Update readme with API description and examples

Is your feature request related to a problem? Please describe.
Currently there is no way to understand which interfaces are available and how to use them without reading code.
Describe the solution you'd like
Update readme with API description and examples.

Closed with #28


Last selected filter option displayed bold even after 'Clear All' is clicked

Priority/Severity: Low/Medium
Steps to reproduce:

Launch the Application Under Test url: https://events-qa.on.fleek.co/
On the left-side filters panel, select any option apart from 'All'
Click 'Clear All'
Invoke the same filter-combo box again

Expected result:
The related combo box should get reset to it's default option 'All' and all other options should be displayed without any issues
Actual result:
The related combo box should get reset to it's default option 'All' BUT the last selected option gets displayed as bold

This issue is delivered on 24th Feb,2023