Update User.php

prevent template from crashing
Recoverable fatal error: Method Timber\User::__toString() must return a string value in /var/www/html/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 56

This happened because i programmatically inserted some posts which had no user attached. Other parts of wordpress have no problem with this scenario.

Codecov Report

Merging #2232 into master will decrease coverage by 1.82%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2232      +/-   ##
============================================
- Coverage     94.88%   93.05%   -1.83%
+ Complexity     1584     1549      -35
============================================
  Files            50       50
  Lines          3849     3831      -18
============================================
- Hits           3652     3565      -87
- Misses          197      266      +69

Impacted Files
Coverage Δ
Complexity Δ

lib/User.php
93.18% <100.00%> (+0.15%)
38.00 <0.00> (ø)

lib/Site.php
49.42% <0.00%> (-37.94%)
23.00% <0.00%> (ø%)

lib/Cache/Cleaner.php
66.66% <0.00%> (-28.99%)
6.00% <0.00%> (ø%)

lib/Image/Operation/Resize.php
87.96% <0.00%> (-10.21%)
33.00% <0.00%> (ø%)

lib/Timber.php
88.78% <0.00%> (-7.48%)
34.00% <0.00%> (ø%)

lib/Twig.php
96.72% <0.00%> (-2.78%)
55.00% <0.00%> (-32.00%)

lib/Core.php
84.61% <0.00%> (-2.57%)
24.00% <0.00%> (ø%)

lib/Loader.php
95.62% <0.00%> (-0.63%)
67.00% <0.00%> (ø%)

lib/Post.php
95.17% <0.00%> (-0.59%)
243.00% <0.00%> (-3.00%)

lib/ImageHelper.php
95.69% <0.00%> (-0.36%)
89.00% <0.00%> (ø%)

... and 2 more

Continue to review full report at Codecov.

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

Coverage decreased (-2.5%) to 91.602% when pulling b38a6c430ba8c07f3c190467bd86f443bc6a13c9 on flip111:patch-1 into 8df0dc9002529744fda1fa6306384aaa21935ae7 on timber:master.

Coverage decreased (-2.5%) to 91.602% when pulling b38a6c430ba8c07f3c190467bd86f443bc6a13c9 on flip111:patch-1 into 8df0dc9002529744fda1fa6306384aaa21935ae7 on timber:master.

Thanks @flip111 — could you post a snippet of code showing how you're programmatically creating those posts? I want to make sure I write a test that properly matches your situation (I wasn't able replicate the error thus far in my tests)

https://developer.wordpress.org/reference/functions/wp_insert_user/
$posts variable below is from some data i was loading earlier.
foreach ($posts as $post) {
  $post_id = wp_insert_post(
    [ 'post_date' => date('Y-m-d H:i:s', $post['date'])
    , 'post_title' => $post['topic']
    , 'post_content' => $post['text']
    , 'post_status' => 'publish'
    ]);

  wp_set_post_categories($post_id, [$some_category_id]);
}


fixes when STDIN input and CLI args are provided

a potentially common scenario is zed is being invoked from a shell script that is having its input piped, but zed itself is being provided with arguments as the result of parsing that input in the script. In such case arguments provided should take precedence to the STDIN, instead of erroring out

FYI @epaulson10


Doors

region Owners are unable to use the doors, this should be true if you are NOT a owner of a region but owners should be able to use the doors.
Chest, Furness are both fine to use just the doors, buttons levers gates etc... Please fix this :)

Removing - use deny does the job but i thought that was to deny others to use stuff

thats a worldguard issue
the "use" flag controls the redstone/doors
protectionstones   creates a region in worldguard with the player name and stone location as the region name
you can stand in a ps area and type /rg info  and get the exact same info as /ps info, /ps view
all of the flags come from worldguard


Issue Templates

[x] add some templates for onboarding
[x] add some templates for help

that was easy


Add lightweight web frontend

Add a minimal web frontend for browsing and managing the local database using webrick. To launch the server, a new command like web could be added.

Implemented with drum serve


Replaced Heading With Bold Heading

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

can you explain in detail with picture what modification you are expexting

can you explain in detail with picture what modification you are expecting

I tried giving a Professional tone to the Heading. It makes it more appealing, clear, and professional than previous Heading.

Before it was simple and did not have a bold impact on the essentials.

That's why I changed to the new Bold Heading to attract the essentials first whenever readers visit the site.

Thanks for trying but there is only small benefits to this change and a significant cost: it makes the English page different from all the other translations. Closing.


[release-v1.5] Github action for building multiarch test images

Same as https://github.com/openshift-knative/eventing-kafka-broker/pull/419, just merging all commits into one to have a good example for future similar changes in other repositories (Serving, Eventing, etc.).

Align base image for ko with CI
Github workflow for building multiarch test images

/assign @pierDipi

/test 46-test-conformance-aws-ocp-46

/retest-required

/retest

/retest


(WIP, Don't commit me) Fixing tests

The test that's still failing is related to the oauth_callback() in
user/controllers.py. The problem is that this function now changes the
session, but the tests are calling it directly (i.e. outside of a session).

The tests were fixed in master, so this PR isn't relevant anymore.


NLL for q0-q2 is 0 but for q3 is >2

Hey,
its me again! :D
My loss, mse and in the example down below the nll is dropping very fast and even reaches 0.
Coming from my previous issue (https://github.com/Shark-NLP/DiffuSeq/issues/45), this means that the recovered token embeddings for timessteps [0, n * 0.25) [n * 0.25, n * 0.5) [n * 0.5, n * 0.75) with n being the number of diffusion steps are the exact same for each timestamp.
However the nll for q3 ([n * 0.75, n]) is very high (>2) which is also reflected when generating sequences for the respective checkpoints. Did you encounter something similar during your training process? 😊

Hi,
I didn't encounter such a situation before. Which datasets did you use? It seems that $x_t$ with a larger sampled $t$ didn't get sufficient training.

I conjecture that the model degenerates to predicting all [PAD] or [EOS] thus obtaining a zero nll during training. Try checking this, and if this is the case, it could be solved with hyper param tuning (e.g. LR).

Thanks! I am using a protein sequence dataset with 100K training sequences and 6K diffusion steps however the same change of metrics happen when I use 2K.
Do you mean with  $x_t$ with a larger sampled $t$ didn't get sufficient training that the last 25% of the denoising steps are not yet trained properly however the previous denoising steps are already "done"?
If yes, can I influence that without changing the previous denoising steps because I also noticed that the q2 nll goes up again after 1K iterations, whereas the q0/1 nll stays the same and the q3 is still gradually going down.

Do you mean with $x_t$ with a larger sampled $t$ didn't get sufficient training_ that the last 25% of the denoising steps are not yet trained properly however the previous denoising steps are already "done"?

Yes. This pattern is not observed in the text sequence, not sure about the protein sequence. Maybe you can edit the time sampler to add more weight on q2 steps.

Thanks again :)
Two follow ups to your answer:

sampler to add more weight on q2 steps.

Do you mean to adjust the fixed sampler so that t's that are in q2 are weighted higher?

What is the expected behaviour of the the different metrics in different qn's? I am currently running DiffuSeq on a reduced Conversation dataset and there, all metrics are in the same ballpark.
Is that also what you have observed?

Respond to 1: Yes
Respond to 2: Yes, the specific number of q_n is computed after re-weighting.


Using filters programatically

What is the syntax to use the 'filterBy' filter in JS code?

@kwab That would seem ubiquitous to me -- it is by default in angular that you can inject $filter and then use it like this $filter('filterBy')(collection, firstParam, secondParam) which is equivalent for collection | filterBy:firstParam:secondParam angular expression. It works with any filter like that.

Thanks Martin.

On Feb 4, 2015, at 4:58 AM, Martin Večeřa<EMAIL_ADDRESS>wrote:
@kwab That would seem ubiquitous to me -- it is by default in angular that you can inject $filter and then use it like this $filter('filterBy')(collection, firstParam, secondParam) which is equivalent for collection | filterBy:firstParam:secondParam angular expression. It works with any filter like that.
—
Reply to this email directly or view it on GitHub.


ArchiSteamFarm: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ArchiSteamFarm is: "Application with primary purpose of idling Steam cards from multiple accounts simultaneously"
meta.homepage for ArchiSteamFarm is: "https://github.com/JustArchiNET/ArchiSteamFarm"
meta.changelog for ArchiSteamFarm is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS>/bin/ArchiSteamFarm had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found <IP_ADDRESS> with grep in /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS>
found <IP_ADDRESS> in filename of file in /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS>

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
ArchiSteamFarm
nixos-install-tools
tests.nixos-functions.nixos-test

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ArchiSteamFarm https://github.com/r-ryantm/nixpkgs/archive/34e6dd868500f9c7823cfdc8a0f2f953e9b92184.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS>
ls -la /nix/store/3m2644daafvjqhyaripzgnpgqppmzi19-archisteamfarm-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

ArchiSteamFarm
nixos-install-tools

Maintainer pings
cc @SuperSandro2000 @legendofmiracles for testing.

#168466


[AutoRelease] t2-customproviders-2022-10-31-62894(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3324
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1598

issue link:https://github.com/Azure/sdk-release-request/issues/3324


Flow should have an FAQ page

The FAQ page should cover (at the very least):

disjoint unions
refinement invalidation
writing HOCs
annotating exports

@jbrown215 Is the issue still open?

https://flow.org/en/docs/faq/
Feel free to add more!


Correction for raw affiliation Department of Physiology and Pharmacology, Western University

Correction needed for raw affiliation Department of Physiology and Pharmacology, Western University
raw_affiliation_name: Department of Physiology and Pharmacology, Western University
new_rors: 02grkyz14
previous_rors: 05cgtjz78
works_examples: W4384028982;W4367301719;W4389938404;W4389083180;W4389947649;W4389099140
contact: 3e6040efb9c6de18d7da5033681b9a2c:3a06966c714f0022 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Ignore query params in trailing slash constraint

If someone refreshes a page with query params, a slash is added on the end, breaking the last parameter. This strips anything after a question mark in the url before checking for a trailing slash.
This appears to only come into play with a root url?

@seanpdoyle I've been to busy to create a test case. I'll get to it if I can.


Example of lovelace card?

Can you show us an example about how to configure a lovelace card with this component?
I see many new sensors created so i think i need only an entities card or not? And how to show a map?

inside the zip file you will find all the cards you need

need more informations about lovelace integration. Thanx

what are the entities to use in Lovelace?

No entities. I see notification in attach that change on every new event
In data 23 novembre 2020 16:31:45 legolas0802<EMAIL_ADDRESS>ha
scritto:

what are the entities to use in Lovelace?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have published a new version. Added more examples and useful links.

Thanx
In data 23 novembre 2020 19:47:29 caiosweet<EMAIL_ADDRESS>ha
scritto:

I have published a new version. Added more examples and useful links.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


CORGI-208: Improve purl generator with more correct namespace/type values

We should consider submitting a proposal to include rpmmod as a supported purl type. I filed CORGI-224 to further improve the namespace vs type fields.

thx for this - now reading this PR a few thoughts come to mind:

We would have to regenerate all purls for all components after this is applied.
Unclear if we conflate SRPM with RPM if that does not introduce potential for collision. Also we would keep SRPM component type ... and hide that fact in purl
Package url is barely a spec eg. it is an adhoc community standard ... if we have something non standard I am fine with it in the short term (and propose changes to purl community)

Are we proposing anything for handling epoch ?
My pref is to keep proposed enhancements with rhel_module and upstream->generic changes and consider holding off on conflating srpm with rpm ... that in particular seems slightly risky. Maybe I am being paranoid.

thx for this - now reading this PR a few thoughts come to mind:
* We would have to regenerate all purls for all components after this is applied.

Ah true, but that could be a simple data migration. I'll add one. We can consider squashing all migrations into one (and then deleting any data migrations) before our 1.0.0 release.

* Unclear if we conflate SRPM with RPM if that does not introduce potential for collision. Also we would keep SRPM component type ... and hide that fact in purl

There should still be uniqueness based on the arch type, for which SRPMs should use src. Revisiting the Type and Namespace values can be solved in that follow-up CORGI-224 issue and would also de-risk changing the purl package type (you could still filter on the Type=SRPM field).
The point of not treating SRPM as a unique type is that SRPMs are RPMs just like any other ones. They just happen to contain sources instead of binaries. The only way to detect if an RPM is a source RPM is to check the file's header for some special value. So proposing adding an srpm type to the purl spec would (I assume) not be accepted.

* Package url is barely a spec eg. it is an adhoc community standard ... if we have something non standard I am fine with it in the short term (and propose changes to purl community)

Are we proposing anything for handling epoch ?

In the purl spec?

My pref is to keep proposed enhancements with rhel_module and upstream->generic changes and consider holding off on conflating srpm with rpm ... that in particular seems slightly risky. Maybe I am being paranoid.

@jasinner wdyt?

thx for explanation - and +1 to your set of commits (we can always ?type=SRPM to facet on these ) ... wld be good to get @jasinner thoughts as well

Actually, I'll take the lazy route out and once this is deployed just run this in Python shell before we migrate the data from stage to prod:
for c in Components.objects.all():
    c.save()

That refreshes the nevra, nvr, and purl values and bumps the last changed timestamp (which is fine).

sounds like a plan, maybe we take a paranoid backup before applying that change ;)

Actually, I'll take the lazy route out and once this is deployed just run this in Python shell before we migrate the data from stage to prod:
for c in Components.objects.all():
    c.save()
for c in ComponentNode.objects.all():
    c.save()

That refreshes the nevra, nvr, and purl values and bumps the last changed timestamp (which is fine).

ComponentNode.save() only updates the purl is the purl is None. I think we'll have to do something more manual like:
for c in ComponentNode.objects.all():
   c.purl = c.obj.purl

ComponentNode.save() only updates the purl is the purl is None. I think we'll have to do something more manual like:

@jasinner Why does it do that actually? Is there any harm in removing that IF condition?

Sorry for delayed reply here - I didn't see this MR since no one got tagged / requested as a reviewer. If we're going to regenerate purls, we need to make sure the ComponentNodes have their purl updated as well. Martin (in gchat) proposed running the below code in addition to https://github.com/RedHatProductSecurity/component-registry/pull/140#issuecomment-1244196863 above:
for c in Component.objects.all():
    c.save()
for c in ComponentNode.objects.all():
    c.save()

I don't think this will be enough, since if I remember right, the purl is only copied from the Component to the Node the first time the Node is created. If the node's purl is already set, calling my_node.save() again won't update the purl (I think).
We could just filter for all Components with Type=RHEL_MODULE and set the purl manually, though:
for c in Component.objects.filter(type=Component.Type.RHEL_MODULE):
    c.save()  # Updates the purl automatically using get_purl
    for node in c.cnodes.all():
        # Update the purl manually, since it only changes automatically when unset
        node.purl = c.purl
        node.save()

Shouldn't be a blocker or a big deal, just something to be aware of.

This seems to be what we need, waiting for it to complete before spot checking the data:
for c in m.Component.objects.all():
     c.save()

 for n in m.ComponentNode.objects.all():
     n.purl = m.Component.objects.get(n.object_id).purl
     n.save()

Pushed a new commit that removes the condition on refreshing the ComponentNode.purl on save; now it really should be just:
for c in Component.objects.all():
    c.save()
for c in ComponentNode.objects.all():
    c.save()

There is a corrupt data probably created before this commit.
We'll have to clean it up before we can re-generate all the ComponentNode purls, maybe like this:
from django.db import IntegrityError
from corgi.tasks.brew import slow_fetch_brew_build

 def refetch(build_id):
     m.SoftwareBuild.objects.get(build_id=build_id).delete()
     slow_fetch_brew_build.delay(build_id)

   ...: for n in m.ComponentNode.objects.all():
     try:
         n.save()
     except IntegrityError:
         if n.obj.software_build:
             refetch(n.obj.software_build.build_id)
         else:
             for node in n.obj.get_roots:
                 refetch(node.obj.software_build.build_id)

import corgi.core.models as m
from django.db import IntegrityError, DatabaseError
from corgi.tasks.brew import slow_fetch_brew_build
for c in m.Component.objects.all():
c.save()
def fix_root(node):
print(f"finding roots for '{node.purl}'")
for root in node.obj.get_roots:
print(f"deleting root node '{root.purl}' and re-fetching")
slow_fetch_brew_build(root.obj.software_build.build_id, force_process=True)
root.obj.delete()
for n in m.ComponentNode.objects.all():
if not n.obj:
print(f"node with null obj found '{n.purl}', deleting")
n.delete()
continue
try:
n.save()
except IntegrityError:
print(f"got integrity error for '{n.purl}'")
if n.obj.software_build:
build_id = n.obj.software_build.build_id
print(f"deleting software build for '{build_id}' and re-fetching")
slow_fetch_brew_build.delay(build_id, force_process=True)
else:
fix_root(n)
except DatabaseError as e:
fix_root(n)

This completed successfully for me in dev and it seems like all the purls have been updated successfully.


Update installation and testing instructions

I'm trying to follow the installation and testing instructions here:
https://www.transcrypt.org/docs/html/installation_use.html#installation
The instructions say to open:
localhost:8000/animals.html
but I think it should be:
localhost:8000/autoTest.html
I see a reference to animals.html in issue #498.  I'm assuming that this was the correct way to do it in older versions, but that the documentation has not been updated yet for the current version.
I am using Windows 10 and installing using pip.

I see now that there is a file run.bat in the folder
C:\code\t1\env\Lib\site-packages\transcrypt\development\automated_tests\transcrypt
It's similar to the instructions but it has more command-line options.  I assume these options are needed to make the tests run.

It's working for me now.
Here are the scripts I used to install it using PIP and using the ZIP file.  These are fairly ugly scripts, but I hope you don't mind if I upload them here so I have them the next time I need to install and test Transcrypt on Windows 10.
The issue tracker won't let me upload them with .BAT extensions, so I renamed them as .BAT.TXT instead.
setup-transcrypt-pip.bat.txt
setup-transcrypt-zip.bat.txt

Here are my files for installing and testing Transcrypt on Linux, using pip or the zip archive.  I'm not experienced in all the technologies that are used here, so having a script gives me enough detail so that I can install it and validate the installation.
These are not polished scripts.  I hope you don't mind if I post these here so I can access them again when I need to install Transcrypt on Linux again.
setup-transcrypt.zip
Contents:
setup-transcrypt-zip.sh
setup-transcrypt-pip.sh

@aps9, thanks for sharing, it's certainly easier and faster to use scripts than to try and remember everything.
In the 'ugly but it works category', i use this on windows to give a dev server some time to start:
start cmd /k "timeout 10 & start /MAX path_to_browser.exe http://<IP_ADDRESS> & exit"
python -m http.server

With bash one could use something like this:
bash -c 'sleep 10; path_to_browser http;//<IP_ADDRESS>' &
python -m http.server

@fzzylogic, thanks, I tried the commands you sent and they seem better than the way I was doing it.

@aps9 @fzzylogic Thanks!

I too am trying to get started and got confused with the content of https://www.transcrypt.org/docs/html/installation_use.html#installation and specifically the tests.
According to the scripts in this github issue, one should run
transcrypt -r -xr -n -b -da -xg -c -sf autotest
transcrypt -xr -n -b -da -xg -c -sf autotest

However the documentation linked above say the following.
transcrypt -b -c -da autotest
transcrypt -r -c autotest

One would assume the documentation is right, but it saysanimals.html which is outdated, so what?
Moreover, what is one supposed to see? I see an empty table with the following header, does it mean all the tests are successful, or does it mean I ran none of them?
_______________________________________________________
|          CPython          |          Transcrypt     |
_______________________________________________________
|   Location    |  Value    |  Value  |    Location   |
_______________________________________________________

Notice the different order of "location and value" between CPython and Transcrypt
PS: thanks for maintaining such a project, it seemss very well thought and I am looking forward to trying it!


TypeError: Cannot read properties of undefined (reading 'test')

Describe the bug
Following the docs (https://vitest.dev/guide/#writing-tests), I've created the following minimal test:
import { test, expect } from 'vitest';

test('sum test', () => {
    expect(1 + 2).toBe(3);
});

and I'm getting the following error:
 RUN  v1.4.0 c:/srv/work/vitest-problems

 ❯ src/test-sum.js (0)

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/test-sum.js [ src/test-sum.js ]
TypeError: Cannot read properties of undefined (reading 'test')
 ❯ src/test-sum.js:3:1

package.json
	"devDependencies": {
		"@sveltejs/adapter-auto": "^3.1.1",
		"@sveltejs/kit": "^2.5.4",
		"@sveltejs/vite-plugin-svelte": "^3.0.2",
		"@vitest/coverage-v8": "^1.4.0",
		"svelte": "^5.0.0-next.80",
		"vite": "^5.1.6",
		"vitest": "^1.4.0"
	},

if I downgrade vitest to 0.26.0 (random version, saw it in another issue) then everything works.
 RUN  v0.26.3 c:/srv/work/vitest-problems

 ✓ src/test-sum.js (1)

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  17:53:04
   Duration  1.42s (transform 188ms, setup 0ms, collect 10ms, tests 2ms)

Done in 2.48s.

Reproduction
https://github.com/thebjorn/vitest-problems
Created with npm create svelte@latest vitest-problems modified vite.config.js to look for test files in jest format and added src/test-sum.js
	test: {
		include: ['src/**/test-*.js']
	}

(aside: the nice thing about jest is that it just worked..)
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 28.62 GB / 63.92 GB
  Binaries:
    Node: 21.4.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.8.0 - ~\AppData\Roaming\npm\npm.CMD
    pnpm: 8.15.3 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.92)
    Internet Explorer: 11.0.22621.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

`"vitest": "^0.9.0" works, but "^1.0.0" does not... At this point I can't tell if I'm doing something wrong (I haven't done anything special, so I don't think so..) or if the docs just haven't been updated to a new syntax? (it's literally the first example in the docs, so that too seems unlikely...?)

How do I reproduce this error? Works fine here https://stackblitz.com/github/thebjorn/vitest-problems?file=src%2Ftest-sum.js

modified vite.config.js to look for test files in jest format
(aside: the nice thing about jest is that it just worked..)

This is intentional https://github.com/vitest-dev/vitest/issues/3530. Considering files like test/test-utils.ts as test files is not ideal.

How do I reproduce this error?

(dev310) go|c:\srv\tmp> git clone https://github.com/thebjorn/vitest-problems
Cloning into 'vitest-problems'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 21 (delta 0), reused 21 (delta 0), pack-reused 0
Receiving objects: 100% (21/21), 31.64 KiB | 675.00 KiB/s, done.

(dev310) go|c:\srv\tmp> cd vitest-problems

(dev310) go|c:\srv\tmp\vitest-problems> node --version
v21.4.0

(dev310) go|c:\srv\tmp\vitest-problems> yarn --version
1.22.21

(dev310) go|c:\srv\tmp\vitest-problems> yarn
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@sveltejs/vite-plugin-svelte ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS><1".
[4/4] Building fresh packages...
Done in 1.48s.

(dev310) go|c:\srv\tmp\vitest-problems> npx vitest --run
8:30:51 AM [vite-plugin-svelte] Your are using Svelte 5.0.0-next.80. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.
work in progress:
 - svelte-inspector is disabled until dev mode implements node to code mapping
 - hmr for .svelte files is disabled until hmr api is implemented

 RUN  v1.4.0 c:/srv/tmp/vitest-problems

 ❯ src/test-sum.js (0)

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/test-sum.js [ src/test-sum.js ]
TypeError: Cannot read properties of undefined (reading 'test')
 ❯ src/test-sum.js:3:1

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  no tests
   Start at  08:30:51
   Duration  441ms (transform 15ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 123ms)

(dev310) go|c:\srv\tmp\vitest-problems> yarn add -D<EMAIL_ADDRESS>yarn add v1.22.21
[1/4] Resolving packages...
⠁ (node:19480) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@sveltejs/vite-plugin-svelte ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS><1".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved lockfile.
success Saved 14 new dependencies.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 1.53s.

(dev310) go|c:\srv\tmp\vitest-problems> npx vitest --run

 RUN  v0.9.4 c:/srv/tmp/vitest-problems

8:31:20 AM [vite-plugin-svelte] Your are using Svelte 5.0.0-next.80. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.
work in progress:
 - svelte-inspector is disabled until dev mode implements node to code mapping
 - hmr for .svelte files is disabled until hmr api is implemented

 √ src/test-sum.js (1)

Test Files  1 passed (1)
     Tests  1 passed (1)
      Time  1.39s (in thread 1ms, 139434.73%)

(dev310) go|c:\srv\tmp\vitest-problems>

modified vite.config.js to look for test files in jest format
(aside: the nice thing about jest is that it just worked..)

This is intentional https://github.com/vitest-dev/vitest/issues/3530. Considering files like test/test-utils.ts as test files is not ideal.

That is certainly one opinion (although why you wouldn't simply call it test/utils.js is a mystery), but for some of us api-stability, backwards compatibility, and compatibility with other languages' testing tools is more important - I realize this isn't true for everyone.

Start by resolving these issues that your package manager is warning about. These are likely pulling multiple version of Vitest into your setup.

(dev310) go|c:\srv\tmp\vitest-problems> yarn
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@sveltejs/vite-plugin-svelte ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS><1".
[4/4] Building fresh packages...
Done in 1.48s.

I'm still getting the error after removing the two coverage packages:
(dev310) go|c:\srv\tmp\vitest-problems> rm -rf node_modules yarn.lock

(dev310) go|c:\srv\tmp\vitest-problems> yarn
yarn install v1.22.21
info No lockfile found.
[1/4] Resolving packages...
⠁ (node:55724) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@sveltejs/vite-plugin-svelte ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^4.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 6.94s.

(dev310) go|c:\srv\tmp\vitest-problems> npx vitest --run
9:20:18 AM [vite-plugin-svelte] Your are using Svelte 5.0.0-next.80. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.
work in progress:
 - svelte-inspector is disabled until dev mode implements node to code mapping
 - hmr for .svelte files is disabled until hmr api is implemented

 RUN  v1.4.0 c:/srv/tmp/vitest-problems

 ❯ src/test-sum.js (0)

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/test-sum.js [ src/test-sum.js ]
TypeError: Cannot read properties of undefined (reading 'test')
 ❯ src/test-sum.js:3:1

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  no tests
   Start at  09:20:18
   Duration  666ms (transform 22ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 158ms)

Another developer here has verified that they get the problem.
Interestingly, I do not see the problem when running under wsl, nor when running under windows-latest on github...(?)

(dev310) go|c:\srv\tmp\vitest-problems> npx vitest --run

Could you also try if running vitest through package.json scripts help? I guess npx could use another version if it's available as global package. So instead of npx vitest --run use yarn test.

same result.

I'm unable to reproduce this issue on Github Codespaces or Stackblitz. It works fine all the time.

Hmm... just for fun I tried using pnpm instead of yarn and that worked...(?)

Neither npm nor yarn works.

Both NPM and Yarn work in Github Codespaces using your reproduction setup. I have no idea how to reproduce this issue. 🤷


Push sync pushes chunks twice

Summary

Push sync is seemingly pushing chunks twice without reason
Steps to reproduce

This is reproducible when starting 2 fresh nodes locally, connecting them together and uploading some content to one of them
Expected behavior

Actual behavior

TRAC[2020-10-26T11:52:22+01:00] pusher pushed chunk 03aa8466da882a29ea24e51f3f61183e1f749f4e7376754f86a40f37a9f54e1a
TRAC[2020-10-26T11:52:22+01:00] pusher pushed chunk 687e89a8d2c9e8b8b299cb7bb5da1bf7f34d14a452546eaa5aa97d625008117d
TRAC[2020-10-26T11:52:22+01:00] crediting peer 1fa1cb1814b2ad643e5841d6707fcfe11dd240841a493a18969e7eeda9bd32b7 with price 160, new balance is -6400
DEBU[2020-10-26T11:52:22+01:00] localstore: chunk with address 80353183ad91cb4447b4c29b1bb2cacc55e922a2b1554dcbc337402b103d0b72 not found in push index
TRAC[2020-10-26T11:52:22+01:00] pusher pushed chunk 80353183ad91cb4447b4c29b1bb2cacc55e922a2b1554dcbc337402b103d0b72
TRAC[2020-10-26T11:52:22+01:00] crediting peer 1fa1cb1814b2ad643e5841d6707fcfe11dd240841a493a18969e7eeda9bd32b7 with price 130, new balance is -6530
DEBU[2020-10-26T11:52:22+01:00] localstore: chunk with address 03aa8466da882a29ea24e51f3f61183e1f749f4e7376754f86a40f37a9f54e1a not found in push index
TRAC[2020-10-26T11:52:22+01:00] pusher pushed chunk 03aa8466da882a29ea24e51f3f61183e1f749f4e7376754f86a40f37a9f54e1a

Steps to fix:

[ ] Revert #827
[ ] Beekeeper tests that would have caught this regression
[ ] re-implement #827,but then without the regression

Hi @zbiljic ,
Could you give me a heads-up on the status of this?

Sure thing @Eknir. I planned to continue with these steps, however in the period before last release there were too many problems with some Beekeeper tests, especially in regard to this, and I felt it would not be prudent to introduce some changes which might end up causing additional problems, and delaying release any more (than it already was last-minute).


Thumbnails not created when uploading a new dataset on Nexus dev server

Please @mattiagiupponi take a look at what's happening non Nexus dev server on this regard,
You can get the credentials here.
You can ask @randomorder to add your key for SSH access.

Please hand me your public SSH keys @mattiagiupponi

access granted

After some analysis, looks like that the Thumbnail is generated, but in some way is not assigned to the dataset.
This is an example:
This dataset is without thumbnail
https://dev.nexus.geosolutionsgroup.com/catalogue/#/detail/dataset/101
but checking the logs of celery, technically the thumbnail is created (downloaded from the thumb/ folder)

I'm keeping investigating.

UPDATE: After some deeper analysis, it looks like that there is an issue regarding the thumbnail file name during the creation of it.
Celery logs those errors:
[2021-07-30 11:11:36,127: ERROR/ForkPoolWorker-1104] Error when generating the thumbnail for resource 105. (Generated thumbnail image is zero size)
[2021-07-30 11:11:36,127: ERROR/ForkPoolWorker-1104] Check permissions for file thumbs/dataset-dfb7bcf6-f126-11eb-aeaa-0242ac180006-thumb.png.

The function tries to check the path for a thumbnail named: dataset-dfb7bcf6-f126-11eb-aeaa-0242ac180006-thumb.png, while the file created and saved into the storage has this name: dataset-9c9a707e-f119-11eb-95d4-0242ac180006-thumb_IGDLuLw.png
There is a misalignment between the name extracted and the one returned by the storage manager.

Fix ready for review here: https://github.com/GeoNode/geonode/pull/7897

Fix ready for review here: GeoNode/geonode#7897

Looks like the issue is still present, still investigating

I was able to reproduce this locally on running the project with Docker, When i check the logs, i see get a connection error when they try to call wms.get_map.

UPDATE: After some deeper analysis, it looks like that there is an issue regarding the thumbnail file name during the creation of it.
Celery logs those errors:
[2021-07-30 11:11:36,127: ERROR/ForkPoolWorker-1104] Error when generating the thumbnail for resource 105. (Generated thumbnail image is zero size)
[2021-07-30 11:11:36,127: ERROR/ForkPoolWorker-1104] Check permissions for file thumbs/dataset-dfb7bcf6-f126-11eb-aeaa-0242ac180006-thumb.png.

The function tries to check the path for a thumbnail named: dataset-dfb7bcf6-f126-11eb-aeaa-0242ac180006-thumb.png, while the file created and saved into the storage has this name: dataset-9c9a707e-f119-11eb-95d4-0242ac180006-thumb_IGDLuLw.png
There is a misalignment between the name extracted and the one returned by the storage manager.

On addition to @mattiagiupponi  comment, It seems in docker environment. files with the created thumbnail_name are not saved but only temp files are saved in the MEDIA_ROOT. Am trying to debug with docker but am still getting error in starting the debug container.

Looks like that the issue is a matter of double slashes in the save_thumbnail function.
Here is the PR on GeoNode https://github.com/GeoNode/geonode/pull/7975, I'm testing it locally.
cc: @marthamareal

@giohappy this PR seems to solve this issue locally https://github.com/GeoNode/geonode/pull/7975, was it deployed on the Nexus dev server so that i can if the issue is resolved.

I'm not sure if the last build includes the fix @marthamareal. I'm going to rebuild the images. I will notify you when ready.

@marthamareal dev necus updated, please make your checks.

@giohappy  Yes thumbnails are now created. example

well done @marthamareal. Can you check if we have a command to automatically recreate thumbnails for existing datasets?


Add creation of a Github issue to the run-archiver.yml workflow

When the run-archiver.yml workflow runs monthly, it creates a Slack notification. To make sure we actually publish the draft archives created, it should also result in the creation of a Github issue. Ideally this issue will have a short description of what review entails, and a tasklist with links to the draft archives. A more minimal version would just be to include the links in the issue.

It would be great if it would automatically assign the issue to @catalyst-cooperative/inframundo as well.

Subsumed and duplicated by #346, closing.


Add support for Anthropic Claude-3.5 V2 Sonnet and Claude-3.5 Haiku

Support Claude-3.5 V2 Sonnet and Claude-3.5 haiku via the bedrock Platform.
List of Base Models supported by bedrock:
https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html
Latest news on claude-3.5 sonnet V2 on bedrock
https://aws.amazon.com/about-aws/whats-new/2024/10/anthropics-claude-35-sonnet-model-computer-amazon-bedrock/

Fixed added support for Claude-3.5 Sonnet V2 and Claude-3 Opus


File not saving after editing in nvim

When I try to save file after editing in nvim I get this error;
Error detected while processing BufWritePost Autocommands for "*.jop.md":
E5108: Error executing lua ...ocal/share/nvimvimplug/plenary.nvim/lua/plenary/path.lu
a:317: Path not valid
stack traceback:
        [C]: in function 'error'
        ...ocal/share/nvimvimplug/plenary.nvim/lua/plenary/path.lua:317: in function
'expand'
        ...ocal/share/nvimvimplug/plenary.nvim/lua/plenary/path.lua:685: in function
'is_file'
        ...ocal/share/nvimvimplug/plenary.nvim/lua/plenary/curl.lua:188: in function
'request'
        ...ocal/share/nvimvimplug/plenary.nvim/lua/plenary/curl.lua:240: in function
'put'
        .../.local/share/nvimvimplug/jopvim.nvim/lua/jopvim/api.lua:36: in function '
put'
        .../.local/share/nvimvimplug/jopvim.nvim/lua/jopvim/api.lua:63: in function '
update_note'
        ....local/share/nvimvimplug/jopvim.nvim/lua/jopvim/init.lua:56: in function '
on_bufWritePost'
        [string ":lua"]:1: in main chunk

OS: Fedora 35
Joplin 2.7.15 (prod, linux)
Neovim 0.8

@dmytrodubinin hmmm do you have the commit hash for plenary that you are using ?
if you are in the joplin discord, feel free to ping me there.

I found the problem. somehow if your notes contains a "$", plenary has this weird bug that couldn't send the data across. I will try to fix this on plenary side later on.

Thanks!

Fixed this in another commit(jopvim) that use raw_body instead of body to avoid the is_file call of plenary so that the fix for plenary is no longer necessary.


[BUG] running opensearch query to delete some of logs causing ingest plugin not working

this query was executed to remove Normal logs:
DELETE logs-v0.5.1-000001
{
  "query": {
    "match": {"anomaly_level.keyword": "Normal"}
  }
}

The DELETE query is incorrect and it deleted the logs index and thus causing the bug as ingest plugin was then not properly attached to the logs index.
The solution is to solve this issue:

delete logs index
restart opni-manager so it will reset the configs for logs index

and the right query to remove logs should be :
POST logs-v0.5.1-000001/_delete_by_query
{
  "query": {
    "match": {
      "anomaly_level.keyword": "Normal"
    }
  }
}


0.3.0 False positive warning for persistent script variable declaration

Caprica Papyrus Compiler v0.3.0
Compiling SKK_ShipToolsQuestScript.psc
SKK_ShipToolsQuestScript.psc (8, 7:21): Warning W4007: The script variable 'fScriptVersion' is initialized but is never used.
;*******************************************
Scriptname SKK_ShipToolsQuestScript extends Quest
Float fScriptVersion = 0.0
Event OnQuestInit()
fScriptVersion = 1.0 ;this would beg to differ
EndEvent
;*******************************************

this would be the correct output for this particular script. While the variable is written to, it's never read, and as such the value is never used. Since object variables can't be inherited by child objects and can't be accessed by external objects like properties can, this will remain only written and not read from. Thus, we consider it unused.

Welp adding this clears the condition:
Debug.Trace("SKK_ShipToolsQuestScript.OnQuestInit " + fScriptversion, aiSeverity=0)
Which is just odd. But your compiler, your rules.


No CollisionFidelity support

It would be great to add collision fidelity support, i had to edit code to add collision fidelity myself, cause it was important part for me.

And also i found out new issue, i'm not going to create new issue cause i'm not sure if that's issue been fixed in new versions of Roblox-File-Format, but the issue, that new meshes created with Roblox-File-Format, are glitched, mesh size is messed up.


Error when trying to run shads command

when trying to run the shads command I got this error following the tutorial
Could not find commit 24a43bc89cf58d6d6c945ef236cb80227e853c21 for shard "view_model" in the repository https://github.com/imdrasil/view_model.cr.git

Hi, this project was "a bit" outdated. Temporary you can use master branch instead of a version but take into account that it wasn't tested against latest crystal version


Cannot access 'fragment' before initialization in Windows using Next.js + @lit-labs/nextjs, related to #3859

Which package(s) are affected?
React (@lit-labs/nextjs)
Description
The Lit team has been working hard recently to support React and Nextjs, and overall developer experience is quite slick. The only problem we have seen is with our developers who use Windows machines.
As previously mentioned, the problem only affects Windows and causes the attached runtime error when "@lit-labs/nextjs" is used; however, everything works as expected when the nextjs plugin is removed (in CSR mode).

Reproduction

Verify that you are using a Windows computer.
Try downloading and running the example repo below in Windows:
https://codesandbox.io/p/sandbox/dreamy-keller-5lmq2h?file=%2Fpackage.json%3A1%2C1
Launching the project after that would result in the above runtime error.

Workaround
No workaround found yet
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
"@lit-labs/nextjs": "^0.1.2" or eariler
Browser/OS/Node environment
Only Windows

Solution to this is using WSL2 in Windows

@lit-labs/nextjs Can this toolkit only be used in a wsl environment? I have also encountered this problem. How long will it take to fix it? I hope I can use this toolkit in a windows environment.


Remove target painting

This feature always annoyed me.
Fixes: #1029
I left the dupe info for backwards compatibility.

No.
For the matter of old-school. Better make this "feature" into an opt-in ConVar.
On top of that convar, add these in the render: filter out players & respect PP for the rest.

Then I'll add a CanTool for the color tool I guess


What's the difference between this repo and rs-fsrs?

I noticed that there exists the other repo: https://github.com/open-spaced-repetition/rs-fsrs
What's the difference?

rs-fsrs doesn't include the optimizer module, so it's very lightweight.


Easy way to install pyTorch with  Gpu /Cuda support on Jetson nano

@dusty-nv
I have my new Jetson nano device here and would like to install PyTorch with GPU support.
Can you please advise the easiest way to install PyTorch with  GPU / Cuda support on Jetson nano?
I have tried several methods but no luck still ?
thank you

If you run the jetson-inference container, it already has PyTorch with GPU installed in the container.
For the PyTorch wheels, see this thread:  https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-8-0-now-available/72048

From: SaddamBinSyed @.>
Sent: Monday, June 14, 2021 4:24:04 AM
To: dusty-nv/jetson-inference @.>
Cc: Dustin Franklin @.>; Mention @.>
Subject: [dusty-nv/jetson-inference] Easy way to install pyTorch with Gpu /Cuda support on Jetson nano (#1104)
@dusty-nvhttps://github.com/dusty-nv
I have my new Jetson nano device here and would like to install PyTorch with GPU support.
Can you please advise the easiest way to install PyTorch with GPU / Cuda support on Jetson nano?
I have tried several methods but no luck still ?
thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/1104, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK2VIZGTX62SRWPKHH3TSW4CJANCNFSM46UXZO3Q.

@dusty-nv
S. I have followed this "https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-8-0-now-available/72048" thread .
now torch running on my cuda.
Thank you

If you run the jetson-inference container, it already has PyTorch with GPU installed in the container. For the PyTorch wheels, see this thread: https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-8-0-now-available/72048
…
________________________________ From: SaddamBinSyed @.> Sent: Monday, June 14, 2021 4:24:04 AM To: dusty-nv/jetson-inference @.> Cc: Dustin Franklin @.>; Mention @.> Subject: [dusty-nv/jetson-inference] Easy way to install pyTorch with Gpu /Cuda support on Jetson nano (#1104) @dusty-nvhttps://github.com/dusty-nv I have my new Jetson nano device here and would like to install PyTorch with GPU support. Can you please advise the easiest way to install PyTorch with GPU / Cuda support on Jetson nano? I have tried several methods but no luck still ? thank you — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#1104>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK2VIZGTX62SRWPKHH3TSW4CJANCNFSM46UXZO3Q.


Tooltip features

User story
In some cases in the past we have hard-coded info in factors that is redundant with cell-sets (e.g. the values for the cluster and subcluster factors in the codeluppi cells.json are cell set names). In these cases the tooltip implementation could be improved such that there is a just a lookup for the cell set membership for each cell. This would also come with the benefit of supporting user-defined cell set names in the tooltip.
In the HuBMAP data portal, the current "factors" feature is being used to display marker gene IDs in tooltips.
The marker gene use case is different since the values are gene IDs, so the values cannot just be looked up from cell-sets.
I think a more flexible option than looking up the translation would be for the values of obs['marker_gene_1'] column to be integer indices for the var.index array. Then values from the var index or any other var column could be used in the tooltip.
Preferred solution
For the most flexibility we would ideally support three distinct tooltip features:

look up cell set membership from cell-sets
support hard-coded values from cells.json's factors or any string column of an AnnData obs dataframe
support gene ID values from any column of the AnnData obs dataframe, where the values are integer indices matching rows of var (along with specification of which var column to display)

Partially completed in https://github.com/vitessce/vitessce/pull/1333 with useMultiObsLabels https://github.com/vitessce/vitessce/search?q=useMultiObsLabels


IHostedService should be available for 2.2

Currently you get redirected to 2.1 when trying to view the API docs for IHostedService in 2.2

We're still working through some build warnings for the 2.2 API pages and hope to have them published within the next week. Thank you for your patience.

Microsoft.Extension.* APIs seem to be a ongoing issue?

The ASP.NET Core 2.2 APIs have been published. For example, see https://docs.microsoft.com/dotnet/api/?view=aspnetcore-2.2&term=IHostedService.


Django 1.8 Support

Is D-B-T 1.8 ready yet? This is my favorite template.

I've created a branch for 1.7 and pushed updates to the requirements file and README, but I don't follow Django very much these days, so I was unable to tell if there were any changes from 1.7 to 1.8 that would have affected this template. If you can think of any, please open an issue for them.
Thanks!


Add definitions for sql tables.

Add definitions for common SQL tables.
This adds definitions for the following sql tables:

Admin
CompanyEmail
Company
Coupon
CouponDiscount
CouponPresent
CouponSet

These sql tables are based on the Kucipong 仕様 document.

@arowM @kayhide レビューお願いします！
I wasn't sure how to translate the tree types of coupons (お買い上げ額から割引, お買い上げ時にプレゼント, クーポン限定セット) to SQL.
In Haskell it would be a disjoint union (sum type), but I'm not sure the best way to do this in SQL.
Here's a stackoverflow question, but there are a lot of different answers:
http://stackoverflow.com/questions/1730665/how-to-emulate-tagged-union-in-a-database

I propose not to split the coupon type specific properties in the first place.
How about include CouponDiscount, CouponPresent, CouponSet in Coupon table?

Less join operation means less acces to the SQL and simpler code.

I now pushed related document about APIs.
https://github.com/blueimpact/kucipong/blob/1454e86a7f840b9bb74e39e78e319c92178ea5d2/doc/api.md

よいと思います。
CouponDiscount、CouponPresent、CouponSet は arowMさんと同じ意見です。
きれいな設計ではありませんが、ひとつのテーブルにまとめてしまってよいと思います。

@arowM @kayhide Thanks for the review!
Normally when I create table definitions, I try to make them 3NF unless there is a reason not to do so (normally performance).  However, persistent doesn't handle joins very well, so it make sense to keep all these coupon types in one single type.
I went with the type that @arowM suggested.
I wish SQL handled sum types as easily as Haskell.


npm run-build properly builds static site but github pages is calling the repository url link twice in one path

The title says it all, after deploying the website on github pages here, https://jadenswang.github.io/Woopotle/
when you go into the console and take a look at the errors, it seems to be attemping
name.github.io/reponame/name.github.io/reponame/static/...
what am I doing wrong here? I added homepage: name.github.io/reponame

@JadenSWang
Check out the docs for Building for Relative Paths and Serving the Same Build from Different Paths
You may just need to set your homepage: to the following as per the docs:
"homepage": "."

Let me know if either of these work for you!

github pages is doing something funky, so far your answer hasn't broken anything on localhost, I'll let you know if it fixes

Turns out theres an issue with my non-built react folder which I decided to keep in my repo so it worked after I deleted that folder

Happy to hear you got it working!


Issue #1443 - Fix early or duplicate 404 error handling

What are the symptoms of this?

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1544/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1437/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/109/ for details.

An assert triggers.  A stack trace in the issue description.
https://github.com/apache/trafficserver/issues/1443

I looked at this as well and it definitely looks like it's an artifact of a remap plugin setting the transaction to be an error. You can see that this happens in a switch statement where t_state.next_action was SM_ACTION_REMAP_REQUEST on entry yet is SM_ACTION_SEND_ERROR_CACHE_NOOP. This could only have been updated via do_remap_request() and presumably via a remap plugin as RemapProcessor doesn't update that member. It also seems reasonable to check if a plugin has error'd out the transaction and give up on further transaction processing at that point.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/86/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1654/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1550/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/218/ for details.


properties issues

I ll sum up a few issues i am seing here:
*text-min-distance: does not seem to do anything . i have tried with very high values (like with places labels) and nothing changes. Is there a special case? What is the unit for it?

line-geometry-transform : 'scale' behave weirdly.i was think that with something like scale(1.1, 1.1) i could create some kind of a halo effect but it moves the whole line in totally different places. What is the anchor point for scale? translate seems to be good though.
text-wrap-character: i know we dont have that prop yet. No real issue just could we have wrap on - i have a lot of rendering issues because of this. In France we have a lot of long names with no spaces and only -
could you add support for line-offset? this would allow very nice feature rendering like cliffs or park "frontiers" (like "inside" line of a polygon)
line-pattern-file : kind of render weirdly. The image seems "overly" scaled as shown in the screenshot.

Ok, I will try to answer them one by one:

text-min-distance, I will look into this.
text-wrap-character, I think it should be supported, will look into this
line-geometry-transform, scaling works based on local tile coordinates, so the behavior you are describing seems right.
line-offset, I just added support for this. This has been requested before and can be used to create various effects, so this is supported now
line-pattern-file stretching. This has been discussed before, distortion is caused due to keeping line width constant while line stretches when zoomed along the line direction. It would be possible to keep the pattern non-stretched but then zooming causes ugly 'pattern running' artifact which looks very bad to me.

@mtehver thanks for your answers i remember now about line-pattern-file. I understand what you say. I am just thinking something is wrong as mapbox manage to render them a bit better. By better i mean the "details" are not as "scaled" as in carto. In my screenshot above you can see that we see like a  blurred "circle" when the pattern was actually showing a triangle shape. On Mapbox we still see the shape

@mtehver just tested your latest changes, pretty awesome!!! still a weird behavior with text-wrap-width
as you can see in the video it seems to not always wrap at the same "place".
I use this:
text-wrap-character: '-';
text-wrap-width:step([view::zoom], (9, 100), (15, 180));
text-wrap-before:true;

https://user-images.githubusercontent.com/655344/130239718-5e082e5d-297e-40f5-9c39-b6d334491092.mp4

Time to show the progress. It is going really well in copying Mapbox style.

And this is my osm variant. Just a variant of the same style.

Your styles look great! Any chance of making them publicly available in github?

@mtehver yes i was actually hoping you would ask for this :D Let me clean it up a bit and i ll create a repo just for it.

@mtehver here you go https://github.com/farfromrefug/new_carto_theme

@mtehver it seems there is an issue with line-offset. I dont see it with 'cliffs' when i use it but with this code it draws the "offset" line twice, one on each side

Another side effect of line-offset, on certain zooms  i see unwanted lines (same code)

@farfromrefug What type of geometry do you use with offsetted lines? In case of polygons, this could happen at tile borders if you offset lines 'inwards'. The reason is that polygons are clipped at tile boundaries (with a small extra buffer usually) and when you shift the lines inwards, this clipping becomes visible. Thus this is an artifact of tiling and can not be really fixed (other than increasing the buffer size).

@mtehver it makes sense and yes those are polygons (parks). I ll see what i can do on my side


nimble/ll: Fix updating adv and scan response data while advertising

This PR make sure advertising is stopped while data are updating.

@andrzej-kaczmarek fixed


USBX documentation improvement

Improvement Item
The explanation for Host Video Class API is not described in the following USBX document.
https://learn.microsoft.com/en-us/azure/rtos/usbx/
Request
Please add the explanation for Host Video Class API in the following USBX document.
https://learn.microsoft.com/en-us/azure/rtos/usbx/

Thanks for the feedback. We will update that later.


Print server ID

Please print the ID of the server used so I can easily --exclude it if I need to try a different one. Thank you.

If this is something that is decided to be added, it likely won't be until a 3.0 release, and I just released 2.0.
This info is already included in the JSON and CSV outputs, but adding it to the standard output could be backwards incompatible for anyone "screen scraping" the results, and I won't make that change in a bugfix release.

Try the list command and write the content into a file by e.g. > servers.list. Now open that file and check the ID of the first server that appears.
The program will usually choose the nearest server and that one will appear on the top of the list.

ill add onto this,
it would be nice for us to LIMIT the number of servers being shown when outputting the server list,
as it currently lists all 1k+ servers,
but say add --limit 10 and it should only list the top 10 servers 👍

Quick solution\workaround to this...
`python speedtest.py --list | head -n 30


simulate single-pass wavefront propagation with exponential decay of n2

This could be a new notebook.
Take the n2 values from the RHS plot in Boaz's presentation, where there is a max value of approximately 30, which then drops exponentially.  Use enough crystal slices to be reasonably sure it's converged.

Based on the email received today from Jeroen van Tilborg, I believe it's important to first implement the 'enhanced' propagation algorithm, where n2 is constant out to a specified radius, but then drops to zero.
JVT wants to compare the simulated wavefront with his WFS data.
These comparisons are very problematic, if the simulation assumes linear focussing, based on an n2 value that is independent of radius.


Configure project to test on Windows

This configures the project to test in AppVeyor which is a TravisCI equivalent for Windows.
As you can see it gives the similar breakdown of the console output and integrates with GitHub in the same way.
It takes only a couple of minutes to set up.

@noahdietz - is this something you are not interested in adding? It is really straightforward and will auto check the project on the Windows OS in the same way that Travis does for Linux


-r seems to call files multiple times depending on depth of folder it is in

When the '-r' recursive argument is given on the command line, rflint seems to analyse files more than once.  At least some files appear multiple times in the output.
How often it appears seems to depend on the depth of the folder the file is in.
e.g. below, we can see that files that are immediately under the supplied folder get processed once, files that are a level lower get processed twice, a level below that 4 times, a level below that 8 times, ...
Below is output from a bash script I ran.  Because no two lines have the same number of slashes (the slashes from the file paths), we can see that all files at the same depth show up the same number of times.  The number at the start of each line of output is the number of times that files at that level got repeated.
$ rflint -r ./project1/ | grep '^\+' | sort | uniq -c | sort -n |  sed 's/\/[^/]*/\//g ' | uniq
      1 + .//
      2 + .///
      4 + .////
      8 + ./////

Based on those numbers, and looking at the code.  It looks like it is because you are using os.walk, which gets all descendant files/folders; but then in the handling for each folder, (_process_folder), you are calling os.walk again; which is not necessary, because the top call to os.walk has gone down to all descendant folders, not just child folders.

Thanks for the report!
On Fri, Jul 14, 2017 at 5:28 AM, Nicholas Daley<EMAIL_ADDRESS>wrote:

When the '-r' recursive argument is given on the command line, rflint
seems to analyse files more than once. At least some files appear multiple
times in the output.
How often it appears seems to depend on the depth of the folder the file
is in.
e.g. below, we can see that files that are immediately under the supplied
folder get processed once, files that are a level lower get processed
twice, a level below that 4 times, a level below that 8 times, ...
Below is output from a bash script I ran. Because no two lines have the
same number of slashes (the slashes from the file paths), we can see that
all files at the same depth show up the same number of times. The number at
the start of each line of output is the number of times that files at that
level got repeated.
$ rflint -r ./project1/ | grep '^+' | sort | uniq -c | sort -n |  sed 's//[^/]*///g ' | uniq
1 + .//
2 + .///
4 + .////
8 + ./////
Based on those numbers, and looking at the code. It looks like it is
because you are using os.walk, which gets all descendant files/folders;
but then in the handling for each folder, (_process_folder), you are
calling os.walk again; which is not necessary, because the top call to
os.walk has gone down to all descendant folders, not just child folders.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boakley/robotframework-lint/issues/46, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABEmYokYj4HK8tPJzKYnqosdGrZ5_vAxks5sN0LWgaJpZM4OYFpP
.

I have experienced the same problem.
Any chance on getting that fixed soon?

Yeah, sorry. I have a fix, and just forgot to push it out. I'll try to get
it out soon.
On Fri, Feb 9, 2018 at 7:31 AM, SCHLUPP42<EMAIL_ADDRESS>wrote:

I have experienced the same problem.
Any chance on getting that fixed soon?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/boakley/robotframework-lint/issues/46#issuecomment-364434136,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEmYoFS5TB0TVC34GmiaWqA4pjRsDq6ks5tTEiqgaJpZM4OYFpP
.

Any updates on this one?

@boakley Any ideas on whether pull-request #54 fixes the issue, and if so, when a new release could be done?


Document ID should be optional in AccountDocument model

The ID should be optional in the document model since it's not required for account creation, otherwise the pydantic validation will fail when trying to create accounts using the array in the docs (that has no id field):
"documents": [
        {
            "document_type": "identity_verification",
            "document_sub_type": "passport",
            "content": "/9j/Cg==",
            "mime_type": "image/jpeg"
        }
    ]

Also, document_type should be optional, as the sandbox API right now is returning a object for me with no document_type.
document_type: Optional[DocumentType]


in lin 546 added a type conversion to float to avoid OverflowError when converting  python int to clong

In cases where an int column contains values greater then sys.maxsize, calling explainer.explain_instance will result in an error as described in #598
https://github.com/marcotcr/lime/issues/598
OverflowError: Python int too large to convert to C long.
"In Python 2 a python "int" was equivalent to a C long. In Python 3 an "int" is an arbitrary precision type but numpy still uses "int" it to represent the C type "long" when creating arrays."
https://stackoverflow.com/questions/38314118/overflowerror-python-int-too-large-to-convert-to-c-long-on-windows-but-not-ma
We can avoid the limitation by casting as float.

The lines you changed are only about categorical values, and have to be integers to be compared with the original instance. And no way they can overflow, unless someone has way too many categories for a single feature :)


Get-MailTrafficReport doesn't return 180 days worth of data

Running Get-MailTrafficReport only returns data for the last two weeks. At the time of this comment, that is from 3/8/19 through 3/22/19. Including the startdate and enddate parameters like so: (Get-MailTrafficReport -StartDate 01/01/2019 -EndDate 03/22/2019) it returns data from 1/1/19 through 1/28/2019. Based on this documentation, I should be seeing results from as far back as September 2018 using just Get-MailTrafficReport, and I should see all data between January and the end of March when using the -StartDate and -EndDate parameters. This is consistent across two tenants.

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

ID: 1fb20809-8f21-dfd3-23bf-bbfb82679619
Version Independent ID: be54b158-1672-5ae9-6a6d-139a7850c67b
Content: Get-MailTrafficReport (exchange)
Content Source: exchange/exchange-ps/exchange/reporting/Get-MailTrafficReport.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

Hi @terrogin, thank you for your feedback.
I am trying this cmdlet and it's working good here. I can return data from 10/12/2018 to today (04/11/2019).
Did you try adding "-PageSize 5000"?
Also this works for me:
Get-MailTrafficReport -Direction Inbound -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000

This is interesting. I have access to two tenants and both display the same issues. I tried using the -PageSize parameter and that certainly makes a difference. Running your same command, I return 101 days of data, which is accurate. Without the -PageSize parameter, I only return 45 days even when specifying a StartDate and EndDate. I checked for the count of days as well and pasted my output below.
PS C:> Get-MailTrafficReport -Direction Inbound -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000 | Select -Unique Date | Measure
Count    : 101
PS C:> Get-MailTrafficReport -Direction Inbound -StartDate 01/01/2019 -EndDate 04/11/2019 | Select -Unique Date | Measure
Count    : 45
...and running the cmdlet by itself, I only get back 15 days worth of data:
PS C:> Get-MailTrafficReport | Select -Unique Date | Measure
Count    : 15
PS H:> Get-MailTrafficReport -Direction Inbound | Select -Unique Date | Measure
Count    : 15

From: Dario Woitasen<EMAIL_ADDRESS>Sent: Thursday, April 11, 2019 6:24 AM
To: MicrosoftDocs/office-docs-powershell
Cc: terrogin; Mention
Subject: Re: [MicrosoftDocs/office-docs-powershell] Get-MailTrafficReport doesn't return 180 days worth of data (#3119)
Hi @terroginhttps://github.com/terrogin, thank you for your feedback.
I am trying this cmdlet and it's working good here. I can return data from 10/12/2018 to today (04/11/2019).
Did you try adding "-PageSize 5000"?
Also this works for me:
Get-MailTrafficReport -Direction Inbound -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/office-docs-powershell/issues/3119#issuecomment-482112442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQWxVAFwF7aVyKPuoc9dmmWMu7-OY6Rpks5vfzd9gaJpZM4cDxob.

If you have a lot of data it won't show you all, only the first 1000 entries by default. Max is 5000.
To see all you should use a combination of -Page and -PageSize.
I hope it's useful for you.

I'm not sure I fully understand. If I use Get-MailTrafficReport by itself with a PageSize of 5000, I have 552 results. If I use the same cmdlet with a StartDate and EndDate and a PageSize of 5000, I have 3,693 results. Why would the command with the StartDate and EndDate return more data than the cmdlet without the StartDate and EndDate if both specify a PageSize of 5000? For example:
PS C:> Get-MailTrafficReport  -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000 | Measure
Count    : 3693
PS C:> Get-MailTrafficReport -PageSize 5000 | Measure
Count    : 552

Sorry, I wanted to say that if you have more than 5000 entries you should also use the -Page parameter.
Based on your latest examples I think all is running fine for you, rigth?

Not really - Based on the first two commands below, there are only 552 entries on page 1 and 2 combined when not using the StartDate and EndDate parameters. However, when using the StartDate and EndDate parameters, I see over 3000 results. Why do I not see over 3000 results when using the first two commands though? I'm not even using the -Page parameter in the last example to return the 3693 results.
PS C:> Get-MailTrafficReport -Page 1 -PageSize 5000 | Measure
Count : 552
PS C:> Get-MailTrafficReport  -Page 2 -PageSize 5000 | Measure
Count : 0
PS C:> Get-MailTrafficReport -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000 | Measure
Count : 3693

Get-MailTrafficReport alone will return only 2 weeks as you said.
If you run:
Get-MailTrafficReport -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000 | Measure
It returns 3693 entries, looks fine. If you remove "-PageSize 5000" it will return only 1000 entries.
But I should say that you should use StartDate and EndDate to avoid mistakes.

Okay thank you, that all makes sense

From: Dario Woitasen<EMAIL_ADDRESS>Sent: Thursday, April 11, 2019 5:53:50 PM
To: MicrosoftDocs/office-docs-powershell
Cc: terrogin; Mention
Subject: Re: [MicrosoftDocs/office-docs-powershell] Get-MailTrafficReport doesn't return 180 days worth of data (#3119)
Get-MailTrafficReport alone will return only 2 weeks as you said.
If you run:
Get-MailTrafficReport -StartDate 01/01/2019 -EndDate 04/11/2019 -PageSize 5000 | Measure
It returns 3693 entries, looks fine. If you remove "-PageSize 5000" it will return only 1000 entries.
But I should say that you should use StartDate and EndDate to avoid mistakes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/office-docs-powershell/issues/3119#issuecomment-482394662, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQWxVOemzgWu-_G_zcSKePLYbVrIji--ks5vf9kegaJpZM4cDxob.

@dariomws306  Thank you very much for the contribution and sharing this explanation. @terrogin
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Temporarily fix CI by disabling link validation

Description
When the release branch was cut for release 2, it unfortunately was cut from a commit that had a failing lint-check. It was only fixed on master afterwords. To avoid cherry-picking changes onto the release branch, this PR makes the minimal change to have CI pass for the release branch, and upon merging this back into master, this PR should be undone.

I wanted to but JSON files don't allow for comments? :(

I wanted to but JSON files don't allow for comments? :(

I wanted to but JSON files don't allow for comments? :(

You could add a bash comment in the command itself?

I wanted to but JSON files don't allow for comments? :(

You could add a bash comment in the command itself?


Broker API

Does the broker api not get created/started during the initialization process on the master?  I get a 403 when trying to call the endpoint /broker/rest/api.  Is there a command to start up the broker or can the script be modified to include that service?

Hi there @kelleyaj do you mean the new tech preview service broker?
https://blog.openshift.com/whats-new-openshift-3-6-service-catalog-brokers-tech-preview/
If so, it's not set up by default, but I could potentially add it as a recipe you can mix into the project!

Yes sorry, I now see that it is in the next release 3.6 tech preview.  I have a external Jenkins instance where I am trying to utilize open shift for application deployment, it uses a plugin that needs a broker url to call.  See here - https://blog.openshift.com/deploy-openshift-external-jenkins-instance/
That would be great if it can be added!  Sorry I would do a pull myself but I am still coming up to speed on terraform scripting and open shift, using this great project here to learn.  Thanks!

Looks really interesting! I'll take a look at the broker set up and see if it can be included somehow as an optional component :)


Add additional link to "Writing data from your application using a client library” on the homepage

we will need to get the link from docs

+1
On Thu, Jul 25, 2019 at 5:10 PM stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/13644?email_source=notifications&email_token=ABEVK3P2O6HBYLUWV3YUCLLQBI6G5A5CNFSM4HIQ64A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23DUDQ#issuecomment-515258894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEVK3LEEV5RL54EWYIOQ73QBI6G5ANCNFSM4HIQ64AQ
.

--
Russ Savage
Product Manager • InfluxData
m<PHONE_NUMBER>     t @russellsavage     w influxdata.com
https://www.influxdata.com/

Dependent on documentation for client libs.


v5.0.4 release

@paulrobertlloyd I've merged some dependabot alerts and manually updated some dependencies in order to resolve some security alerts (which are pretty low risk for a static site but annoying nonetheless).
Worth doing a v5.0.4 release for? (This'll also fix any security alerts on downstream sites which use this plugin).

Done!

@paulrobertlloyd thanks! Do you have a process for doing the release, generating the release notes, etc, or is it semi-manual? (I should know this stuff but either I've never learnt or I've forgotten)

I’ve been using np; perhaps there’s a case for adding it as a dev dependency and adding a script task, or at least adding a note about releasing updates to the README.

@paulrobertlloyd oh nice! happy to add it as a dev dependency - or just as documentation somewhere if that's easier.
@peteryates has a neat GitHub action which auto-publishes to rubygems when there's a new tag – wonder if it's worth doing something similar but for npm?


Downstream updates tracker for v1.0

Which dependents are ready for ADTypes v1.0?

package
status
PR

SciMLBase
draft
https://github.com/SciML/SciMLBase.jl/pull/674

https://github.com/JuliaDiff/SparseDiffTools.jl/pull/294
https://github.com/SciML/Optimization.jl/pull/738
https://github.com/SciML/DiffEqFlux.jl/pull/918
https://github.com/SciML/OptimizationBase.jl/pull/37
https://github.com/SciML/SimpleNonlinearSolve.jl/pull/140
https://github.com/SciML/NonlinearSolve.jl/pull/412
https://github.com/SciML/SciMLSensitivity.jl/pull/1044
https://github.com/SciML/OrdinaryDiffEq.jl/pull/2172
https://github.com/SciML/DeepEquilibriumNetworks.jl/pull/150
https://github.com/SciML/BoundaryValueDiffEq.jl/pull/181

Is it Christmas already?

For most of those, the huge breaking change will be bumping Julia compat up to 1.10. If that is accepted, the rest is a bunch of renamings that I can try to contribute little by little

Since I'm not a member of SciML, I can only create new PRs, not update those from CompatHelper though

Most should already be bumped to v1.10.

I'm trying to do one of the harder upgrades with https://github.com/SciML/NonlinearSolve.jl/pull/426
Can someone make me a member of the NonlinearSolve repo, so that CI runs automatically on my commits? It's rather tedious to wait for maintainer approval.
If you want I can also join the SciML organization if it makes things easier.
@avik-pal @Vaibhavdixit02 @ChrisRackauckas

The CompatHelper PRs that were merged don't force ADTypes v1, since they still allow v0.2.
As a result, most of them don't change anything, and ADTypes v0.2 is still the one picked by CI.
The PRs I make manually force ADTypes v1, so that we can see whether it breaks stuff or not.

Most cases have very small usage of ADTypes. NonlinearSolve, SparseDiffTools, and BoundaryValueDiffEq are the three that require a deeper dive.


Compiltion error.

ept' to the type of 'finalize'.
      error: Cython failure: 'petsc4py.PETSc.pyx' -> 'petsc4py.PETSc.c'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for petsc4py
  Running setup.py clean for petsc4py
  Building wheel for petsc (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      petsc: this package cannot be built as a wheel
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for petsc
  Running setup.py clean for petsc
Failed to build petsc4py petsc
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (petsc4py, petsc)
Something happened in petsc4py real failed, Stopping. Manual cleanup might be needed.

Still an issue with PETSc


Validation error with updatable singular collection attribute

In 1.5.0-Alpha3 we slightly changed the validation of expressions in entity views which might lead to validation errors when using an updatable singular Collection attribute.
Environment
Version: 1.5.0-Alpha3
JPA-Provider: -
DBMS: -
Application Server: -

Fixed via acf93b61225309da5c7eabe687dfdb065e4f2b40


[BUG] giga low scroll

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
i scroll like half a pixel at a time on huds but not ingame camera

There's this flag named FIntScrollWheelDeltaAmount which you can set as a number, which should increase the rate of UI scrolling depending on how high you set it. Try that out.

There's this flag named FIntScrollWheelDeltaAmount which you can set as a number, which should increase the rate of UI scrolling depending on how high you set it. Try that out.

gotchu ty


Delete deprecated-update-snapshot.yml

https://github.com/Azure/communication-ui-library/blob/main/.github/workflows/update-snapshots.yml has been working well for a couple months.

❤ on waiting to ensure the new action fully met our needs and work correctly before removing this one


Add de-dotting support for ES 2.x

Fixes #11:

adds dedot_labels parameter
replaces all Docker labels "." with "_"

I added some tests, but don't know how to run them (e.g. using build-dev.sh). Maybe you could update the README.md to include that information.

thanks you so much!

Great, thanks for the merge! Would it be possible to update https://hub.docker.com/r/rtoma/logspout-redis-logstash/ to 0.1.7 too?

I was already working on it, but upstream stuff broke. I need a 0.1.7 image myself, so you get one on hub soon.

Hub has been updated with 0.1.7 and 0.1.8 (for new buildsystem, try it out!)


Unable to import proto file that depends upon another protofile

Describe the bug
I have a proto file, a.proto, that has a dependency upon a message in a different proto file, b.proto. To get around this, I am forced to move all of my proto definitions into one file.
To Reproduce
Steps to reproduce the behavior:
Simplified version:
b.proto
message FooStruct {
  string foo = 1;
}

a.proto
message BarStruct {
  string bar = 1;
  Foostruct imported_struct = 2;
}

Try to import a.proto and receive the following (I have omitted my actual file names and substituted the above)
Error: no such Type or Enum 'FooStruct' in Type BarStruct
    at Type.lookupTypeOrEnum (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86897:15)
    at Field.resolve (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:74747:94)
    at Type.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:114185:21)
    at Namespace.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Namespace.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Namespace.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Namespace.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Namespace.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Root.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:86794:25)
    at Root.resolveAll (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:115345:43)

**Expected behavior**
I should be able to import proto files that have imports from other proto files.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
Version: Insomnia 2021.3.0-beta.1
Release date: 4/21/2021
OS: Darwin x64 19.6.0
Electron: 9.3.5
Node: 12.14.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64
node-libcurl: libcurl/7.73.0 OpenSSL/1.1.1j zlib/1.2.11 brotli/1.0.9 zstd/1.4.9 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.41.0

**Additional context**
Add any other context about the problem here.

If a.proto depends on something in b.proto, both proto files need to be available to Insomnia (they are fully ingested by Insomnia). In order to provide two .protos in this way, you need to upload them but uploading a directory. You can upload your entire code-directory if you want and Insomnia will keep the folder structure but ignore all non-.proto files.
You need to upload a common parent directory (it doesn't have to be a direct parent) because Insomnia needs to understand the relative file paths which exist when importing a type from a separate file. You shouldn't need to combine everything into one file.
Let me know if that doesn't clarify the usage and I can elaborate :)

Hi @develohpanda, I run into the same error if I use the import directory option too.

Gotcha - how are you importing b.proto in a.proto, and could you show an outline of the file/directory structure you have?

I have a folder called test, representing my service, which lives inside a folder with many other proto files for other services. Inside test is a folder called api. Inside the api folder, I have two files: a and b .proto.
b.proto looks like:
syntax = "proto3";

package com.org.contracts.test.api;

option java_outer_classname = "ModelProtos";

message FooStruct {
   string foo = 1;
}

a.proto looks like:
syntax = "proto3";

package com.org.contracts.test.api;

import "com/org/contracts/test/api/b.proto";

option java_outer_classname = "ContractProtos";

message BarStruct {
    string bar = 1;
    FooStruct imported_struct = 2;
}

Again, the error is like: Error: no such Type or Enum 'FooStruct' in Type .com.org.contracts.test.api.BarStruct

👍🏽 From com/org/contracts/test/api, which directory are you selecting to import into Insomnia?

I have tried importing both the api (immediate parent) and the test folder (parent of api). I get the same error both times. I cannot import the next level up, contracts, because I get errors on other proto files - this is probably the same issue too.

I vaguely recall that relative imports aren't possible (something like import ../b.proto.
If you can visualize how the files are being resolved compared to what is given, you'll see the problem.
If Insomnia is only provided the test folder containing api/a.proto and api/b.proto, but it's trying to resolve from com/org/contracts/test/api/b.proto, that entire directory structure doesn't exist for Insomnia, so the import fails.
You'll need to provide the top-most directory in this case - the parent of com.
Ie. if your folder stucture is ~/dev/project/com/org/contracts..., you'll need to upload project. This is less a requirement of Insomnia specifically, but if gRPC can't find the filepath to resolve from it will always fail.

I don't know if this is a related issue, but when I try to import a directory, it is not allowing me to pick sub directories.

@sasidakh that seems to be unrelated, could you please open another issue (and share your OS details) please? Thanks!

It is not always possible to load the parent folder. Some projects rely on other open source projects, for example I'm importing timestamp from google:
import "google/protobuf/timestamp.proto";
Is this not supported by Insomnia?

Any updates? In case the gRPC functionality of Insomnia is completely useless for relative scenarios

Any updates otherwise I need to switch from Insomnia to other alternative?


How to add breakpoints to every method?

How to add breakpoints to every method? I can't find any documentation.

Hi Tony,
you can Open a Window via Tools - VsBreakpointextension.
Then you have a toolwindow with Options.
On Wed, 16 Aug 2023, 01:49 Tony20221, @.***> wrote:

How to add breakpoints to every method? I can't find any documentation.
—
Reply to this email directly, view it on GitHub
https://github.com/timi992000/VSBreakpointExtension/issues/13, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQIMQLFRXH66XFL5CPUDSTXVQDHHANCNFSM6AAAAAA3RXHAWA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks. I suggest you add this to the description in the extension in the VS Marketplace. The first question a user will wonder is .. how to use it.

Thanks. I suggest you add this to the description in the extension in the VS Marketplace. The first question a user will wonder is .. how to use it.

Done, Feel free to check it out and let me know what you think

Looks great.


Unify deployment tables

Changes
Replace None w "-" in K8s table as it only happens there.
Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2173

Documentation PR
For UI changes, please provide the documentation PR on info_grid
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

@zaelgohary please attach a screenshot of the UI update as required.

@zaelgohary please attach a screenshot of the UI update as required.

Added.


Ignore $myScripts if necessary

Some of your changes are overwriting some changes I made
I have a auth parameter (not authenticationtype) you have changed that (I think unintentionally)
But you are right, that myScripts should have had a default value in new-navcontainer:
[string[]]$additionalParameters = @(),
[string[]]$myScripts = @()
I will check this in right away.
Please start a pull request from a fresh branch, thanks

It should not.  The total change of the pull request does not include that change.  On of the commits is merging your changes into my fork.. .
Sorry - didn't know how to do it, besides unfork an refork (may be I should have done that.. ).

Just look at the "Files Changed"
https://github.com/Microsoft/navcontainerhelper/pull/10/files

I'm unforking as we speak - next time a clean pull request... :-)
#sorry

Fixed – and now with ReleaseNotes:
https://www.powershellgallery.com/packages/navcontainerhelper/<IP_ADDRESS>
/Freddy
Fra: waldo<EMAIL_ADDRESS>Sendt: 7. november 2017 09:34
Til: Microsoft/navcontainerhelper<EMAIL_ADDRESS>Cc: Freddy Kristiansen<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Emne: Re: [Microsoft/navcontainerhelper] Ignore $myScripts if necessary (#10)
I'm unforking as we speak - next time a clean pull request... :-)
#sorry
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fnavcontainerhelper%2Fpull%2F10%23issuecomment-342411112&data=02|01|freddy.kristiansen%40microsoft.com|5dcff18e4f814b91511208d525ba4601|72f988bf86f141af91ab2d7cd011db47|1|0|636456404322661991&sdata=1zHcjloBWkRjzxwPHupZhU7RW86AVlJTHdvE2eepcCQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKRqAxHB9JHoeaO4KSwlJ0eM4tn6XWWDks5s0BXugaJpZM4QUaSK&data=02|01|freddy.kristiansen%40microsoft.com|5dcff18e4f814b91511208d525ba4601|72f988bf86f141af91ab2d7cd011db47|1|0|636456404322661991&sdata=pyyDZhiG8kEowbDXzROQXS60KoFqDlBUsZ8LYXm0eYk%3D&reserved=0.

OK, I need to learn some more about this as well:-)


Add apms parameter for Spring Cloud Gateway

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Could you add some test case for this new parameter?

Could you add some test case for this new parameter?

Test cases added


bug: System enviroment variables not being read

Description
For whatever reason I cannot get the library to read system environment variables
Steps to reproduce

Add a configuration to pubspec.yaml
Run export SOME_VARIABLE=TEST; dart_define generate --force --json_path=config/dev.json --FLAVOR=dev
Observe Invalid argument(s): The required argument SOME_VARIABLE is not given as CLI option and is not found from system environment.

Free word
I have tried using both zsh and bash
I have tried making env variables with all lowercase, all uppercase, and without _
I have tried exporting the variable export SOMEVAR="test"; dart_define... and prefixing it directly to the command SOMEVAR="test" dart_define...
I have tried both using flutter pub run dart_define, and a standalone dart_define package installed via dart pub activate
The result is always the same
Platform
dart_define: ^2.1.0
macOS 13.5.2

The following snippet
import 'dart:io';

main() {
  print(Platform.environment);
  print(Platform.environment.containsKey('SOME_VARIABLE')); // prints "true"
}

Does indeed print my Platform variables, including the "missing" ones, which is interesting

The bug is here:
bool matcher(ArgumentVariable v) => v.name == variable.name;

var argVariable = argumentVariables.firstWhere(
  matcher,
  orElse: () => ArgumentVariable(
    name: variable.name,
    value: PlatformExtension.getEnvValue(variable.name),
  ),
);

The matcher never really returns false, because there's always an object with the required key but no value in the initial argumentVariables list:
print(argumentVariables); // [ArgumentVariable(name: somevar, value: null)]
Which means that the orElse branch never actually gets called, thus ignoring system env variables altogether


Bad Favorite if Created from Modify Tab for Line/Area Symbol

Line/Area Favorites created by selecting a line or area symbol on the map (from the modify tab) - incorrectly set their geometry to "Point" (because the geometry tag is not being set on the favorite/symbol)

Open Pro 1.4 and Project containing the Military Feature Info Model
Perform a search in the Search tab for a line symbol ex: "Axis"
Select a line symbol ex: "Axis of Advance"
Click "Add to Map", and click on the map to place the new feature.
Click "Add Favorite". New entry is added to list in Favorites tab.
Click on the newly added entry in Favorites tab.
The selected favorite will be in an invalid state - it can not be added to the map (screenshot below) and its attributes are incorrect (because the line/area symbol now thinks its a point

This issue is related to #113 , #92 - the solution is to add/ensure the geometry tag is present on favorites before saving.

This fix has been merged/checked


Adding python quickstart for Drive Activity API v2.

Started from the v1 quickstart, updated scopes, service names, etc. Since the v2 API is richer, this versoin has some functions to extract human-friendly information from the main object types (actor, action, target). This was intentionally designed to be similar to the other quickstarts (e.g. java, browser-js) in its strategy for interpreting the main object types.

Registered myself.


Question about generator model for RTD

Could you please share more information about the n-gram language model that you have used as the generator model in RTD objective? For example, what is the exact value of n (trigram or 4-gram)? what is the model structure? what are the training hyperparameters?

Hi @natedingyifeng , we use tri-gram (n=3) for the generator model. Instead of using a neural network, we simply use a statistics-based language model. We first calculate the tri-gram distribution on the training data and then predict mask words.

Got it. Thanks!

@xieexiaotuzi We only train the discriminator of RTD, and the generator is a statistics-based language model without training.

Thank for your reply. I still have a liitle concern about B.1.1 of CodeBert. As two statistics-based language models are used as generators, why still need time to train?

Thanks a lot.


Flash errors

Hello,
I propose to add the flash media error in your pack :)

Checkout the f0c14fcb1bda8a23cc47e4678adb6279784dde48 commit (flash-helper branch), I added a BootstrapFlashHelper that you can use and that will render bootstrap 3 alert for standard flash message.