upgraded topshelf prerelease version

Nothing more than references fixes to be able to use this with latests prerelease of topshelf. I had to use local nuget packages since latest topshelf has not pushed the Topshelf.ServiceInstaller package, but I downloaded those from the build system in topshelf.

Hi, Thanks for the PR.
I'm not sure I understand it. Why was TopShelf downgraded from <IP_ADDRESS>-develop to <IP_ADDRESS>-develop? Is it related to Sample project only? Do you want Topshelf.Autofac to be released with the downgraded dependency?

@ovebastiansen Oh completely missed that, sorry. Thanks for the info.

Thank you for the contribution! I'll release it tomorrow.

Now I understand what you meant by Topshelf.ServiceInstaller release. I'm sorry I don't follow Topshelf development anymore. I'll release this version after Topshelf.ServiceInstaller is released.


Filter which tags should trigger a PyPi action build

Impact of the bug
WMCore in general
Describe the bug
Now that there is a GitHub action defined in the project, as a result of this issue:
https://github.com/dmwm/WMCore/issues/11276
we can see that many of the build-on-tag tasks are failing, under this tab:
https://github.com/dmwm/WMCore/actions
and the reason is that a new tag is created twice a day for the Jenkins baseline tests. That means we need to adapt this github action such that it can identify which tags require a new build or not.
How to reproduce it
It gets reproduced twice a day, whenever Jenkins create a new tag in WMCore.
Expected behavior
We should define a filter/regex to be applied in the GitHub action:
https://github.com/dmwm/WMCore/blob/master/.github/workflows/pypy_build_publish_template.yaml
such that tags starting with JENKINS will be skipped from the automated build/upload workflow.
Additional context and error message
See issue linked above for further details.

@khurtado given that you implemented that GH action, could you please look into this one?

@khurtado Kenyi, I am reopening this issue to properly track it.


[cmake] add a WITH_FORTRAN option

motivations:

not all platform have a fortran compiler easily available (Windows, Mac OS X)
not all build system support fortran (Ninja, VS, ...)

We would loose at least:

ql0001
odepack
hem5

Todo:

add a cmake option WITH_FORTRAN
and a bunch of "if defined(WITH_FORTRAN) ... else ... endif" in

LsodarOSI.{h,c}pp
Hem5OSI.{h,c}pp
lcp_nsqp.c, lcp_qp.c

Optional:

add sundials (CVODE) to have a good event-driven integrator even if WITH_FORTRAN=NO

Unfortunately, I don't have time to implement this now. This is low priority and should not block a release.


Feral P2

Implement P2 spells and changes.

[x] Level 40 claw base damage
[x] Mangle and Shred weapon mult change
[x] Rake with AP scaling [^1]
[x] Berserk rune
[x] King of the Jungle rune
[x] Ferocious Bite
[x] Innervate
[x] Automatic Crowd Pummeler
[x] Iron Counterweight
[x] Blood Frenzy talent

[^1]: From my testing AP coef seems to be 4% on both direct damage and per tick.

@kayla-glick Noticed that Rip values were off after you changed the tick count. I changed Rip definitions to be dmg per tick so this can't happen again. Did the same for Rake because why not. Also added missing aura labels for Rip and Rake. Otherwise it's still the same since you reviewed it.


andreer/multiple rotations fix

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

👍


Fix typo Update README

Description

Related issue

Tests

[ ] Yes
[ ] No, because they aren't needed
[ ] No, because I need help

Added to documentation?

[ ] README.md
[ ] Dojo Book
[ ] No documentation needed

Checklist

[ ] I've formatted my code (scripts/prettier.sh, scripts/rust_fmt.sh, scripts/cairo_fmt.sh)
[ ] I've linted my code (scripts/clippy.sh, scripts/docs.sh)
[ ] I've commented my code
[ ] I've requested a review after addressing the comments

Summary by CodeRabbit

Documentation

Updated the date of the audit report for Dojo core smart contracts in the README file to reflect accurate information.

Not sure of the change proposed here. Will close but don't hesitate to comment if I missed something. 👍

Not sure of the change proposed here. Will close but don't hesitate to comment if I missed something. 👍

Thanks for the feedback


祈愿记录

由于操作失误，导致祈愿记录出错，请问能修改吗？或者在不清除成就的情况下，清除祈愿记录？可以做到吗？

We only accept issues in English.
No, don't worry. Google Translate is fine, too.

they would like to only clear the wish history (they accidentally corrupted it), with achievements and so on unaffected.

In that case, you can do so with manual input.
But do note that it's very tedious as you'd have to delete entries one by one.


Add Search Devices Endpoint

Add support for the Search Devices endpoint. Searching devices was previously done via the List Devices endpoint /devices, but now has it's own dedicated endpoint /devices/search.
This issue has two parts:

Update the documentation for List Devices
Add support for Search Devices

Example of this update in the Ruby library: https://github.com/attm2x/m2x-ruby/commit/20e563d31e13dbca8771d10f856935dab7ee33cc

@fsaravia this is ready for review

@kristinpeterson: Looks good! We definitely can reduce the duplication present in JsonRequest but I believe that's out of scope of this PR

@fsaravia ok, thanks!  Another thing we can discuss at the Summit :) I'd actually love to go over the JSONRequest file with you to see where we can trim it down some more. I had removed a great deal of duplication in a previous PR, but would like to "pair program" with you on this one so that you can show me what areas I missed.
I think this should be a MAJOR version update, as it changes the method signature for the searchDevices method (adding JSONObject).

I think this should be a MAJOR version update, as it changes the method signature for the searchDevices method (adding JSONObject).

Exactly :), but we can wait until all pending changes are made and do a release then :)

@fsaravia sounds good! I'm going to update the docs per your suggestion and then merge this PR.


Go test/generate/get running endlessly

What version of Go are you using (go version)?

$ go version
go version go1.15.6 windows/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=C:\Users\xxx\go\bin
set GOCACHE=C:\Users\xxx\AppData\Local\go-build
set GOENV=C:\Users\xxx\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\xxx\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\xxx\go;C:\Users\xxx\git;
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\xxx\git\piper_CL\jenkins-library\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\xxx\AppData\Local\Temp\go-build997310438=/tmp/go-build -gno-record-gcc-switches
GOROOT/bin/go version: go version go1.15.6 windows/amd64
GOROOT/bin/go tool compile -V: compile version go1.15.6

What did you do?
go test in a folder not related to go does just output: package .: no Go files in
go test in a folder with go files just runs endlessly
same with go generate
same with go get
windows task manager -> "Analyze Wait chain" -> Displays go.exe is waithing for some of iths own threads endlessly
What did you expect to see?
something, at least an error message
What did you see instead?
nothing - it just runs endless

This isn't enough information to figure out what's going on. Please provide a way to reproduce the hang.

I have this issue on my business computer - I tried to reproduce on my private PC but there everything works as expected. I try to investigate with our IT department what has changed and might have caused this.
Anyway could you point me to some information how I can analyze this in more detail? Is there a way that go itself is writing trace files or how I can obtain any other information about it? go test -trace does not write anything as it is the runtime which hangs, not my tests.

you could try go test -x -v and run as few tests as possible, reducing the problem to as small an input as you can.

sorry for my limited capability to express the problem:
it is not the unit tests which hang, it is go itself. and it is not only go test but several go sub commands which hang. Other concrete example:
go get golang.org/x/tools/gopls@latest
just does nothing, for hours, no output, just running and waiting for something which is not happening...

If many go commands hang forever, that sounds like something is very wrong at a low level, perhaps with the system. Maybe try using a tool like strace to investigate what the processes are doing right up to when they get stuck, or sending SIGQUIT to get a stack trace dump of all goroutines.
cc @ianlancetaylor in case he has other ideas, but I still think this issue needs to be labelled WaitingForInfo because I don't see any actionable bug.

If you can, try disabling your antivirus and see if that helps.

Unfortunately I cannot disable the antivirus on my business laptop - IT is analyzing the Anti virus Logs but did not came back to me...

I downloaded ProcessMonitor and when executing "go get golang.org/x/tools/gopls@latest" the last "real" activity shown is reading a lot of *.mod files in <user_dir>\go\pkg\mod\cache\download* after this only Thread Create, Thread Exit - every some seconds for about a dozen of threads...

I created a process dump of go.exe from task manager and executed the "CrashHang" analysis of DebugDiag but it also just says it did not find any common issue and lists 19 Threads all waiting:

ntdll!NtWaitForSingleObject+14 |
-- | --
KERNELBASE!WaitForSingleObjectEx+93 |
go+6d19e
only thread shown there which looks a little different is
ntdll!NtWaitForSingleObject+14 |
-- | --
KERNELBASE!WaitForSingleObjectEx+93 |
mfehcinj!Initialize+8566 |
mfehcinj!Initialize+87fd |
mfehcinj!Initialize+7f6d |
mfehcinj+1e00 |
mvcairo_x64+6037 |
mvcairo_x64+5334 |
mfehcthe+3975
searching for "mfehcinj" showed this result: https://github.com/golang/go/issues/42528

so it seems to be caused by McAfee - but why does it only affect go, everything else is working fine...

Antivirus software have a track record of not liking Go programs at all, perhaps because of the runtime and unique compiler. There is not much you can do about it other than report the false positives, because there is nothing wrong with the binaries.

I finally could verify it works fine again once the virus scanner got disabled. Now the issue is reported to the vendor and I'm waiting for a new version.

As per McAfee this issue is realted to usage of WSL/WSL2...
https://kc.mcafee.com/corporate/index?page=content&id=KB91411


remove your hass dns from public repo

Hi אבישי,
Thanks for the repo!
I'm now in the middle of changing my stack from docker-compose to k3s and it helps.
anyway I notice that your DNS record is here
https://github.com/avishayil/home-cluster/blob/0123d2ba45206c4a55ee01232a0269a9571c30ea/cluster/home/homeassistant/004-ingress.yaml#L13
You can close and ignore the issue if you don't care.

Thanks @doryosef! I do care actually.
Good catch


"Broken pipe issue" from meteor.py

Hi,
This issue seems more of stemming from coco caption tool, but would you like to comment any possible way to get around it? So, the error raises within meteor.py as follows,
Traceback (most recent call last):
  File "../tools/test_net.py", line 142, in <module>
    vis=args.vis, use_box_at=args.use_box_at, save_html_path=args.save_html_dir)
  File "/scratch/work/xxxx/Projects/densecap/tools/../lib/dense_cap/test.py", line 481, in test_net
    vg_evaluator.evaluate()
  File "/scratch/work/xxxx/Projects/densecap/tools/../lib/pycocoevalcap/vg_eval.py", line 118, in evaluate
    score_match, scores_match = Meteor().compute_score(gts_tokens_match, res_tokens_match, imgIds=all_keys)
  File "/scratch/work/xxxx/Projects/densecap/tools/../lib/pycocoevalcap/meteor/meteor.py", line 47, in compute_score
    stat = self._stat(res[i][0], gts[i])
  File "/scratch/work/xxxx/Projects/densecap/tools/../lib/pycocoevalcap/meteor/meteor.py", line 96, in _stat
    self.meteor_p.stdin.write('{}\n'.format(score_line))
IOError: [Errno 32] Broken pipe

It happens in a for loop given below (also in meteor.py),
        for i in imgIds:
            print 'img IDs:', i
            assert(len(res[i]) == 1)
            stat = self._stat(res[i][0], gts[i])
            print 'stat:', stat
            eval_line += ' ||| {}'.format(stat)

The first execution of the for loop is fine, but the second time it enters the loop, specifically, getting into stat = self._stat(res[i][0], gts[i]), then the error pops up.
I am aware of there had been posts asking the exact same issue (e.g. https://github.com/elliottd/satyrid/issues/2), but just couldn't find myself a workaround after spending few hours on it. Have you ever encountered this?
Thanks in advance, and any idea would be really appreciated :)

Hi,
Sorry to be this late to get back to you. I resolved the issue and it was simply by having paraphrase-en.gz (for example, grab it from here) placed in ./tools/pycocoevalcap/meteor/data. I'll close the issue and thanks for you help :)

Yes, it works.

file is already present in the respective location, still i m facing the same issue.


poor result

I use this picture above as the source image.

and use this picture above as the driving image.
The character features are relatively similar, but the result is very poor.Like the following figure.

If the source image remains unchanged, the driving image is changed to the following figure.

The result becomes worse, as shown in the following figure.

Is it my mistake? I operate like this.
1.run fitting.py to get src_headpose.txt/src_landmark.txt/drv_headpose.txt/drv_landmark.txt.
2.run reenact.py and use txt files above to get the final reenacted result.

I think you refer to the the expression transfer seems weak. This is partly because of the use DECA 3DMM fitting method. If using our 3DMM fitting method, the preformance would be better. Addiontionaly, our currently result cannot reproduce the eyebrow movement due to the limitation of 3DMM fitting. It is also worth to note that we have already achieved SOTA performance on high-resolution images in real-time on the oneshot track. And all the existing methods cannot reproduce the winkle caused by expression change based on only one input image.

I think you refer to the expression transfer seems weak. This is partly because of the use DECA 3DMM fitting method. If using our 3DMM fitting method, the performance would be better. Additionally, our current method cannot reproduce the eyebrow movement due to the limitation of 3DMM fitting. It is also worth noting that we have already achieved SOTA performance on high-resolution images in real-time on the one-shot track. And all the existing methods cannot reproduce the winkle caused by expression change based on only one input image.

Please allow me to confirm again.
Is the "src_header.txt/src_landmark.txt/drv_header.txt/drv_landmark.txt" of the source image and the driving image obtained through "fitting.py"? And if it is a driving video, the txt files of each frame should also be obtained through "fitting.py"?

yes! you are right!


generate client code error

Bug description
output config generate code error
How to reproduce

set ouput

generator client {
  provider = "prisma-client-js"
  output   = "./client"
}

datasource db {
  provider = "sqlite"
  url      = "file:./sqlite3.db"
}

generate client

cd src/prisma
npx prisma generate

run code

src/prisma/prisma.ts
import { PrismaClient } from './client'
export default new PrismaClient()

ts-node src/prisma/prisma.ts

get error

Error: ENOENT: no such file or directory, open '/Users/nowcoder/project/icon-manager/.git/schema.prisma'
    at Object.openSync (node:fs:505:3)
    at Object.readFileSync (node:fs:401:35)
    at new LibraryEngine (/Users/nowcoder/project/icon-manager/src/prisma/client/runtime/index.js:36078:40)
    at PrismaClient.getEngine (/Users/nowcoder/project/icon-manager/src/prisma/client/runtime/index.js:39108:16)
    at new PrismaClient (/Users/nowcoder/project/icon-manager/src/prisma/client/runtime/index.js:39079:29)
    at Object.<anonymous> (/Users/nowcoder/project/icon-manager/src/prisma/prisma.ts:3:16)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Module.m._compile (/usr/local/lib/node_modules/ts-node/src/index.ts:1310:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Object.require.extensions.<computed> [as .ts] (/usr/local/lib/node_modules/ts-node/src/index.ts:1313:12) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/nowcoder/project/icon-manager/.git/schema.prisma',
  clientVersion: '3.3.0'
}

generate client dir path error, here the code

src/prisma/client/index.js
const dirname = findSync(process.cwd(), [
    "client",
    "", // <--- match every dir
], ['d'], ['d'], 1)[0] || __dirname

Expected behavior
No response
Prisma information

Environment & setup

OS: Mac OS
Database: SQLite
Node.js version: v15.13.0

Prisma Version
"prisma": "^3.3.0",
"@prisma/client": "^3.3.0",

What does your project setup look like?
Can you possibly create a minimal reproduction project that makes it easy for us to experience this error?

I'm having the same issue, using ts-node to run my seed.ts and in it I use the generated prisma client to access the DB.
import { PrismaClient } from './lib'

This is the error I get:
Running seed command `npx ts-node ./seed.ts` ...
Error: ENOENT: no such file or directory, open '{MY_WORKING_DIR}/.git/schema.prisma'

I am going to close this as its been 3 months now and there is no activity here.
Please reply if you want us to take another look.


TCP overeager retransmission (IDFGH-14130)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Sometimes(usually every 45-75 seconds but sometimes within a few seconds) during a WebSocket connection on ESP-IDF 5.1.2, the ESP32's TCP stack will send a TCP retransmission very quickly, well before the retransmission time-out should've fired. This then causes the server to emit a duplicate acknowledgement unneccesarily, and generally increases data transfer overhead:

Here are the relevant LwIP configurations I thought might be important:
CONFIG_LWIP_TIMERS_ONDEMAND=y
CONFIG_LWIP_TCP_RTO_TIME=500
CONFIG_LWIP_TCP_TMR_INTERVAL=250

I attach the others here: sdkconfig_lwip.txt

Our RTT for this connection is approximately 35ms.
I haven't touched this layer of networking in a long time, it looks like the recommendation per-connection is now:
RTTVAR <- (1 - beta) * RTTVAR + beta * |SRTT - R'| //Smooth abs(deviation from SRTT) into RTTVAR
SRTT <- (1 - alpha) * SRTT + alpha * R' //Smooth the RTT value into SRTT
RTO <- SRTT + max (G, K*RTTVAR) //Where K=4, G=ClockGranularity so RTO should be SmoothedRTT, plus max(clock-Granularity, 4x RTTVAR).

I think it's on me to record this again and try to compute values for RTTVAR and SRTT - perhaps our RTT is remarkably stable, so RTTVAR is close to zero?

After rereading the RTO section of RFC, I didn't realize it's expected for newer TCP stacks could even compute an RTO so low, so perhaps these retransmissions may be expected?

I'm sorry to have bothered you about this, my knowledge was quite out of date.

Perhaps an LwIP issue, or an ESP integration with LwIP issue. Odd that I can't seem to find how portTICK_PERIOD_MS is mapped to G ESP-IDF/components/lwip code, but that should only impact RTO once RTTVAR < portTICK_PERIOD_MS / 4, which shouldn't be the case here.


Update R package set

Motivation for this change
Update R package set @peti
Things done
Ran nix-build test-evaluation.nix --dry-run and removed packages from default.nix that are no longer upstream

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Merged into r-updates at https://github.com/peti/nixpkgs/commit/4950bfc31984f322aca94436fe87ec4b49a7a948. Test builds will be running at https://hydra.nixos.org/jobset/nixpkgs/r-updates.


Allow repo.listBranches to support branch names that contains slashes

I was running into an issue with listBranches - we use slashes in our branch naming convention.
For example, the branch feature/my-cool-feature would return only my-cool-feature. This fixes this issue.

See #31.

Hmm, tests failed in Node 0.11 but not 0.10. I'd love to add this to 0.10.7, will take a look at fixing your tests.

Phh, what the heck? Now tests pass fine. MERGING. :+1: :shipit:
Many thanks, @olivierbeaulieu!


Sometimes old display info isn't deleted

Due to synchronization of drawing / incoming data, sometimes old data / drawings sticks around. That should be fixed.

Fixed


[FEATURE REQUEST] Correct stack trace of a guard error in request errored pino-http's log

The problem I am facing is similar to those described in this feature request. Despite after using LoggerErrorInterceptor I am getting the correct stack trace of errors thrown from controllers or services when an error is thrown from a guard, it behaves like LoggerErrorInterceptor was not used.
Describe the solution you'd like
I am not sure if it is a bug or if additional functionality to be added. Probably this problem is caused by Interceptor not being called at all when application flow is broken on a guard level.

can you provide minimal example repo with logs?

@iamolegga sure, I'll isolate this

@iamolegga
I apologize for the delay.
Here is this problem reproduced: https://github.com/artursudnik/nestjs-pino-issue.

I can confirm this happens to me either

No, unfortunately, I have not.

Does it work properly with the original built-in logger?

@iamolegga I need to double-check this. I guess yes though.

Considering NestJS's request lifecycle, should this logic be in an interceptor? Wouldn't an exception filter be a better fit for this?
The same issue is happening for me. All errors except ones from guards are logged just fine.

Wouldn't an exception filter be a better fit for this?

agree, we need to change this class to a filter and add tests to verify that it correctly catches and logs errors from different layers

Same to me, but it only happens when i try to execute test scripts using jest+supertest.
I am not sure how to fix it.

@happy-ruby

@artursudnik Did you find out the solution?
No, I have not.

Okay thanks, what i fixed is that i switched logger.warn to logger.errror in exception cases.
Then i could catch out the issue logs.
That may be an alternative solution.

As @eyalch pointed out, the problem is that interceptors run after guards. The solution is to add an exception filter to do this instead.
The following seems to work well; it's heavily based on the sample exception filter. I have not tested it in a fastify environment.
import {
  type ArgumentsHost,
  Catch,
  type ExceptionFilter,
  HttpException,
  InternalServerErrorException,
} from "@nestjs/common";
import type { HttpAdapterHost } from "@nestjs/core";

@Catch()
export class LoggerExceptionFilter implements ExceptionFilter {
  constructor(private readonly httpAdapterHost: HttpAdapterHost) {}

  catch(error: unknown, host: ArgumentsHost): void {
    // In certain situations `httpAdapter` might not be available in the
    // constructor method, thus we should resolve it here.
    const { httpAdapter } = this.httpAdapterHost;

    const response = host.switchToHttp().getResponse();

    const isFastifyResponse = response.raw !== undefined;

    if (isFastifyResponse) {
      response.raw.err = error;
    } else {
      response.err = error;
    }

    const httpException =
      error instanceof HttpException
        ? error
        : new InternalServerErrorException();

    httpAdapter.reply(
      response,
      httpException.getResponse(),
      httpException.getStatus()
    );
  }
}

Install during setup with:
const httpAdapterHost = app.get(HttpAdapterHost);
app.useGlobalFilters(new LoggerExceptionFilter(httpAdapterHost));


Update README.md

fixed link to Tableoperations.ps1

Thanks @malteme !
Sorry for the delay in responding.


AutocompleteList not list data items in the dropdown

Describe the bug
When user types the first character to search, the code searches database and get data items back, but AutocompleteList pop-up dropdown not showing the data items. The dropdown is empty.
To Reproduce
Steps to reproduce the behavior:

Type one letter in AutocompleteList textbox
Code search data from database and get some records
The dropdown list didn't show any data items (empty instead)
Type the second letter, now the dropdown list show filtered data items
Ideally, after type the first letter, the dropdown should show the data items returned back from database.

If data items are pre-populated, i.e. no searching from database, then there is no problem.

@CharlesZhuGit ,
I'm confused, as there is no database in the example. Can you perhaps provide a blazorfiddler with the issue?

When doing the auto complete in dropdown, most likely we go to database to get the data instead of pre-populated data.
At the beginning, the Items is empty. After user types one letter, my code will go to database to search data and return the list of records back to the AutocompleteList for data binding.
I checked your code. You might need to add one more check in the GetFilteredList function (used for displaying the pop-up list), i.e. check if the previously filtered list is empty (even though the search key has one letter typed by user). If yes, continue to loop through Items because at this moment, Items have data records from database.
Thanks, Charles
On Saturday, October 10, 2020, 11:30:32 p.m. MDT, Christian Oleson<EMAIL_ADDRESS>wrote:

@CharlesZhuGit ,
I'm confused, as there is no database in the example. Can you perhaps provide a blazorfiddler with the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am also experiencing the issue above. Also when loading a list of 250 country names and searching the list display empty for allot of the names.

@CharlesZhuGit or @Christoffleroux ,
Would either of you be willing to open a PR to fix this?


Issue about building environment

Hi,
I failed to build the python environment by yml, could you offer a list of packages needed for installation?

Hi Zuricho,
Which platform are you on? I only tested the installation myself on UNIX platforms, but would be glad to help you with installation on Windows also.
The .yml files are themselves simply lists of packages. To see the packages, just open the .yml files in a text editor, or even just on github:
If you have have a CUDA-enabled GPU:
https://github.com/barbireau/HVQE/blob/main/environment/environment_GPU.yml
If not:
https://github.com/barbireau/HVQE/blob/main/environment/environment_no_GPU.yml

Actually I'm on Windows but I can try on Linux. I understand that the yml file contains the packages, but that is too much of them. I'm considering install them one by one to find which one made me failed to build the environment

Let me know if you encounter are any issues on Linux...

I succeed on Linux, thanks!

Great! I will add a remark in the README.md that the installation has only been tested on UNIX systems. I may extend this to Windows systems if there is any demand.

(Please contact me if you need any other help!)


How can I change the color of MUIDataTableToolbar icon hover

Hi
-I want to override this color of toolbar icon as example below:
MUIDataTableToolbar-icon-982:hover {
color: #fd7e14;
}
-I can override the color of icon, but I don't know how to do with hover, please help
const customTheme = createMuiTheme({
overrides: {
MUIDataTableToolbar: {
icon: {
color: "#dc3545"
},
    },
}

});
Thank you.
Lam

Hi lamthenguyen. It should be as easy as how you'd normally add hover on any react component. Try this:
const customTheme = createMuiTheme({
  overrides: {
      MUIDataTableToolbar: {
        icon: {
           color: "#dc3545",
           '&:hover': {
                color: "HOVERCOLOUR"
            }
        },
    },
  }
});

It works OK. Thank you, Yakitrak.

Hi lamthenguyen. It should be as easy as how you'd normally add hover on any react component. Try this:
const customTheme = createMuiTheme({
  overrides: {
      MUIDataTableToolbar: {
        icon: {
           color: "#dc3545",
           '&:hover': {
                color: "HOVERCOLOUR"
            }
        },
    },
  }
});

can we decrease the icon size in this??

can we decrease the icon size in this??

Do you know how to set active status css


Lemmatization

Only use lemmatizer on nouns. Lemmatizing other POS sometimes change the meaning or POS of the words. For example "localized" --> "localize". For non-noun, only lower case, and remove 'the' in NEs.

Change of plan: make lemma a function that takes a lot of pos tags for words to be lemmatized.


PackageReferences in fsproj

VS2017 generated me fsproj with package reference in 'update' format
<PackageReference Update="FSharp.Core" Version="4.5.2" />
When I open the same project in vscode with ionide
intellisense doesn't see references to other project in the same solution
Using 'Include' instead works fine.
<PackageReference Include="FSharp.Core" Version="4.5.2" />

CC: @enricosada

Should be fixed with 5.0


Fix pandas DeprecationWarning for empty series

Initializing an empty pandas.Series without specifying a dtype will raise a
DeprecationWarning. Explicitly set the dtype to object for empty set
initialization.

trading_calendar.py:983: DeprecationWarning: The default dtype for empty Series will be  'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
return pd.Series([])

Hey @asweeney86 - thank you for spotting this!
I thinks, to be consistent with what this function returns in the non empty case, we should actually set the dtype as datetime64[ns, UTC].
if not merged:
    return pd.Series([], dtype="datetime64[ns, UTC]")


when autopilot right is revoked, user continues to see updates in autopilot

If a user's permission to use the autopilot is revoked during a meeting, but he remains in this menu, he will continue to see all updates projected into the autopilot. Only by manually leaving the autopilot he has no further access rights.
Reproduction:
Reproduction requires two users; an admin and another user in the Delegates group.

Both users must be logged into the meeting in differnent browsers.
delegate opens autopilot
admin projects a motion
admin removes delegate autopilot rights in group rights menu.
Admin projects another motion. Delegate sees update in autopilot.

What should happen from my point of view: When a user is revoked the permission to see the autopilot, the user should be automatically navigated to the home page to not see any more updates.

Automatic redirection on permission loss is something we've never done, AFAIK. The same thing would be needed for all other views, e.g. motions, agenda, etc., when the respective rights are revoked.
The continuing autoupdates happend because the autopilot just wraps some other OS functionality which has its own access rights, e.g. the projector is controlled by projector.can_see. So it is logical that the user continues to see updates, since he is permitted to do so.

This is basically just a sub-problem of #1439 so I'll close this as a duplicate


Resolved issue with 'dummy' image to prevent a single build failure f…

 Also, added an important detail to the comment in the python script.

@PPathu can you split out the comment in the Python script into a separate commit? It's not related to the current commit message.


Improve collision detection

Implement a improvements similar to: https://dev.to/alexandereardon/overhauling-our-collision-engine-962
Should be done after #1

Added edge crossing mode. Added option to switch to center crossing instead.


pull

@bsylve1996 since there are no merge conflicts with the base branch, would you like to merge the branches?


Support for tracing Spring-Webflux request in Webflux 6.x plugin

Fix #11654 and add support for spring-webflux-6.x

[x] Add a unit test to verify that the fix works.
[x] Explain briefly why the bug exists and how to fix it.

Add an agent plugin to support Spring-Webflux-6.x

[x] Add a test case for the new plugin, refer to the doc

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #11654.

[x] Update the CHANGES log.

What happened here?
A tip, if you are adding new toolkit, please

Make sure it is necessary, such as WebFlux 5.x and 6.x expose different APIs for toolkit compilings.
Docs should be updated accordingly.

What happened here?
A tip, if you are adding new toolkit, please

Make sure it is necessary, such as WebFlux 5.x and 6.x expose different APIs for toolkit compilings.
Docs should be updated accordingly.

I can think about this again, and redo the pull request.


Cannot log into account and being told to contact support which requires being logged in

Expected content
Details about how to contact support if you cannot access your account (even with the correct password).
Actual content
Log in page says "Contact support" but support page says "Please login".
Link to page:
Example login error:

Closest page I've found with information pertaining to my problem:
https://support.sendgrid.com/hc/en-us/requests/new

Turns out if you scroll down farther on the support page it has a "trouble logging in" option.


chore(style): Adds travis driven awesome-lint

Adds awesome-lint
Adds editorconfig
Adds Travis build executing awesome-lint in npm test
Sets block ignore for list-item-indent on the t.o.c
Fixes style errors
Enables branch protection for master setting travis build to required

Don't land this yet, need to fix the package.json contributors field

LGTM


rectangle: init at 0.59

Description of changes

Move and resize windows in macOS using keyboard shortcuts or snap areas

https://rectangleapp.com/
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 194681 run on x86_64-darwin 1

1 package built:

rectangle


[BUG] ReaderWriterLockSlim error on release if not held

LiteDB v5.0.11 / Win 11 / .NET 4.8
Ran into this during a system shutdown.
The read lock is being released without being held.
   at System.Threading.ReaderWriterLockSlim.ExitReadLock()
   at LiteDB.Engine.TransactionMonitor.ReleaseTransaction(TransactionService transaction)
   at LiteDB.Engine.TransactionService.Dispose(Boolean dispose)
   at LiteDB.Engine.TransactionService.Finalize()

I believe the issue is here:
https://github.com/mbdavid/LiteDB/blob/1e014473976c779e94dccad7664266c748b4e945/LiteDB/Engine/Services/LockService.cs#L57
If this is called and no read lock is held.. it shouldn't be trying to release it.
Fix:
public void ExitTransaction()
{
    // if current thread are in reserved mode, do not exit transaction (will be exit from ExitExclusive)
    if (_transaction.IsWriteLockHeld) return;

    if(_transaction.IsReadLockHeld)
        _transaction.ExitReadLock();
}

Submitted a pull request with fix.
https://github.com/mbdavid/LiteDB/pull/2198


Hyperlink DOIs against preferred resolver

Same as https://github.com/scipy/scipy/pull/8832 ;-)

@rgommers @pv I think this can go in. If you agree, could you please merge/rebuild?

Thank you @katrinleinweber! And thanks @ilayn for the reminder

You're welcome, and thanks for merging :-)


changed the header to be Pascal on CommuteDistanceDistribution component

Overview of the Pull Request:
Describe your changes here...
link to Trello card or Github issue
How Has This Been Tested?

Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.  => Change only lines 26 and 40 about "Distribution of Commute Distance" on CommuteDistanceDistribution component
If necessary, please also list any relevant details for your test setup/configuration

Pull Request Checklist:
Make sure the following checkboxes[ ] are checked with x before sending your PR -- thank you!

[x] Have you included a link Trello card / Github issue and written sufficient description to help others review your work?
[ ] Is your pull request up-to-date with main branch?
[x] Have you checked That code is well formatted? Did npx prettier --check . return no warnings/errors?
[ ] Have you written instructions on how to test that your changes work as expected?
[ ] Have you tested your work thoroughly on your local machine to ensure you are not breaking anything?

Hi @FaneTree , congrats on first commit!
What about the following charts?

Also, would you be able to revert the changes to package.json and package-lock.json, those would need to be done in a separate PRs to keep the code single purposed.

I have changed all as discussed. To summarise all the changes.

Adjusted in CommuteDistanceDistribution component

line 26 (For header before description),
line 40 (for chart header)

Adjusted in TripCountAndTravelMethods component

line 44 Trip Count and Travel Methods ⇒ Count
line 69 "Active-public-shared Travel” ⇒ Travel
line 81 "Individual Travel” ⇒ Travel

Note:

checked  CSS and both are the same for “Travel to Work Days” and “Distribution of Commute Distance”.
pull the current version again to align the version and now the local and this repository are the same.

Missed 1:

Awesome work on your first PR to this repo @FaneTree ! 🙌🏽
You're almost done with this PR; remember to address @OlaShabalina 's comment about remove package*.json files k?
🙇🏽


Vulnerability in rollup dependency

Latest vite-eslint-plugin is v1.8.1 containing dependency on rollup v2.77.2 which contains the following high severity vulnerability:
https://github.com/advisories/GHSA-gcx4-mw62-g8wm
Output from npm audit:

rollup  <3.29.5
Severity: high
DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS - https://github.com/advisories/GHSA-gcx4-mw62-g8wm
fix available via npm audit fix --force
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/vite-plugin-eslint/node_modules/rollup
vite-plugin-eslint  1.0.5 || >=1.1.1
Depends on vulnerable versions of rollup
node_modules/vite-plugin-eslint

Thought I'd have a stab at creating a PR for this https://github.com/gxmari007/vite-plugin-eslint/pull/99. Feel free to check etc


Precompose unicode

https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreprecomposeUnicode
https://indienote.tistory.com/84

How to verify integrity?


chore: make sure that version bumping happens everytime

What this PR does / why we need it
This makes sure that we dont only do a patch bump on main after a successful branch cut, but we also do a bump on the release branch (for the next z / patch version) after the minor has been released.
Creates a shared workflow that can be called from other workflows.
Which issue(s) this PR fixes

Ensures more automated workflows after the rework from https://github.com/open-component-model/ocm/issues/995
Example run at https://github.com/open-component-model/ocm-cicd-playground/actions/runs/11838213132/job/32986884073

Understood. If you could let me know how we can improve them, please tell me straight away. I will try to simplify as much as possible but currently my PRs are focusing on only "touching up" without rewriting

I created an issue https://github.com/open-component-model/ocm/issues/1094. Although I agree, that this has no priority.


Update workflows for testing to use tox

Summary
This PR is for resolving some issues that could be introduced while run the tests with the package installation instead of 'editable'.

changed flat layout to src layout - this will resolve ModuleNotFoundError for datumaro._capi when run the tests with package installation. some background information is here: https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/
added testenvs for testing in tox - tox provides the easiest way to run tests with package installation option

Updates were tested & verified with some workflows below manually

Build (develop health check): https://github.com/openvinotoolkit/datumaro/actions/runs/5151541593
Nightly regression: https://github.com/openvinotoolkit/datumaro/actions/runs/5151029735
Weekly: https://github.com/openvinotoolkit/datumaro/actions/runs/5152396591
code-scanning: https://github.com/openvinotoolkit/datumaro/actions/runs/5151897614
Build-docs: locally

Should we adhere to have datumaro directory? How about replacing datumaro to src isntead?

we cannot omit datumaro directory because the first level of namespace for the package should be that.


Fixing test for python 2.7

Codecov Report

Merging #295 into master will increase coverage by 0.87%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
+ Coverage   87.83%   88.71%   +0.87%
==========================================
  Files           2        2
  Lines        1143     1143
  Branches      161      161
==========================================
+ Hits         1004     1014      +10
+ Misses         99       91       -8
+ Partials       40       38       -2

Impacted Files
Coverage Δ

test_whisper.py
97.84% <100.00%> (+1.07%)
:arrow_up:

whisper.py
82.47% <0.00%> (+0.73%)
:arrow_up:

Continue to review full report at Codecov.

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


fix: correct Mastodon logo background in dark mode

PR Checklist

❌Addresses an existing open issue: fixes #000
❌ That issue was marked as status: accepting prs
🆗 Steps in CONTRIBUTING.md were taken

Overview
If your browser's prefers-color-scheme is dark, the Mastodon SVG's inner path would be the same color as the rest of the logo.  This fixes that by using the background variable as the <path>'s fill.

@all-contributors please add @tjwds for code.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


request for unknown status list crashes workflow-coordinator

Describe the bug
When making a call to the workflow coordinator's '/status/:statusCredentialId' endpoint with a statusCredentialId for which there is no status list, the coordinator calls the status-service, which correctly returns a 404, which the workflow-coordinator middleware handles, but the workflow coordinator's '/status/:statusCredentialId' method still incorrectly tries to return a second response (a 500), which crashes the server with error:
node:internal/errors:496
ad-coordinator   |     ErrorCaptureStackTrace(err);
ad-coordinator   |     ^
ad-coordinator   |
ad-coordinator   | Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
ad-coordinator   |     at new NodeError (node:internal/errors:405:5)
ad-coordinator   |     at ServerResponse.setHeader (node:_http_outgoing:648:11)
ad-coordinator   |     at ServerResponse.header (/app/node_modules/express/lib/response.js:767:10)
ad-coordinator   |     at ServerResponse.send (/app/node_modules/express/lib/response.js:170:12)
ad-coordinator   |     at ServerResponse.json (/app/node_modules/express/lib/response.js:267:15)
ad-coordinator   |     at ServerResponse.send (/app/node_modules/express/lib/response.js:158:21)
ad-coordinator   |     at file:///app/src/app.js:230:36
ad-coordinator   |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
ad-coordinator   |   code: 'ERR_HTTP_HEADERS_SENT'
ad-coordinator   | }
ad-coordinator   |
ad-coordinator   | Node.js v18.20.4

Essentially the error gets handled twice, with two responses.
To Reproduce
Steps to reproduce the behavior:

request an unknown statusId from /status/:statusId

Expected behavior
Should instead return a 404

Completed, closing


SPDoctor - change app to add-in

I have attempted to manually correct the contents of the articles directory to reflect the name "Add-in" rather than "App" where appropriate. Obviously this needs to be done in the correct context, hence the need for manual changes. I have changed as many as I can manage at one go - I am sure I have missed some. I also can't guarantee there are no "false positives" but I haven't seen any when reviewing. In some cases the text is a link to an article or the name of a function, etc. and I have tried to leave these because the function names will not have changed. In some cases the word "App" is correct - "mobile apps", for example.

Hi @SPDoctor, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@SPDoctor, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thx Bill. Appreciated.


Update documentation to reflect that DefaultStorageClass has been enabled by default for a long time

I believe this page in particular needs significant changes with respect to the DefaultStorageClass admission controller. In particular, it is now enabled by default in all currently supported versions of Kubernetes, so statements such as:

To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server.

Is misleading at best, because the cluster administrator does not need to do anything to enable the admission controller.
Several other sections documenting the difference between having the DefaultStorageClass admission controller enabled and disabled should be rewritten to reflect the default status of it being enabled.
Possibly other pages need similar updates.
Page to Update:
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
References:

#42288
#42177 and https://github.com/kubernetes/website/pull/42177#issuecomment-1666822625
#42176

/language en
/sig storage

When you create a PersistentVolumeClaim, you can specify a StorageClass that provides information about how the storage will be provisioned. If you don't specify a StorageClass, then the default StorageClass gets used.
In case of dynamic storage provisioning admin need to create a storage class for users https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#enabling-dynamic-provisioning

/remove-lifecycle rotten

/remove-lifecycle stale


Admin: Investigate ingestion errors not being shown in Deployment.Logs

Statuses are set in admin/projects.go

Not sure what this refers to. Closing for now.


listenables bugfix and more elegant checking for React

Fixed the this.listenables bug.
Also implemented a more elegant form of checking for React in index.js...I have no idea why I didn't try it earlier, actually. It's much nicer.

Resolves #478


Brute: check if the brute key's are correct

It could be that the brute key's for globalReset are not correct.
It would be great to check it 👍
Only affects Ghost alpha/master.

https://github.com/TryGhost/Ghost/blob/master/core/server/middleware/api/spam-prevention.js#L77
Not sure if I am making much sense, but shouldn't this,
}, _.pick(spamGlobalBlock, spamConfigKeys))

be this,
}, _.pick(spamGlobalReset, spamConfigKeys))


Bug fix: Completed game is not working as expected

What Issue Are You Seeing or What Feature Needs To Be Added?
Completed games column is not updating on the table

It was an issue with my db, which has been fixed


Wrong cosign command in “Verify Signed Kubernetes Artifacts” task

The right command line for cosign usage should be:
cosign verify-blob "$BINARY" --signature "$BINARY".sig --cert "$BINARY".cert

So with --cert instead of the actual --certificate which is an unrecognized option, at least in cosign version 1.6.0.

/retitle Wrong cosign command in “Verify Signed Kubernetes Artifacts” task
/language en

It appears that the version v1.9.0 of cosign has updated this parameter to --certificate
But for compatibility with previous versions, both --cert and --certificate can be used.
related issue:

https://github.com/sigstore/cosign/issues/1847

related PR:

https://github.com/sigstore/cosign/pull/1868

code：
https://github.com/sigstore/cosign/blob/1c04ce6299e63fe2af5823f7dcc4d179806208df/cmd/cosign/cli/options/certificate.go#L41

Today, if you follow the instructions (and so you download cosign 1.6.0), you get an error, so it might be useful to fix this anyway.

Perhaps, the version of cosign needs to be indicated in the docs?
For more advice. @sftim

Perhaps, the version of cosign needs to be indicated in the docs?
For more advice. @sftim @saschagrunert

Yes, maybe that would fix the problem as well.

I agree having the cosign version mentioned in the docs will help us to prevent such issues in the future.

/triage accepted

Page to update: https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/

Can we also mention the note about cosign, something like this: if we are using cosign version v1.9.0+ we should use the --cert parameter instead of the --certificate

/assign


Revert automated changes made to deprecated settings.gradle (plugins.each)

Restore testing deprecated settings.gradle (plugins.each).
Updated presumably by accident in #83067
Split from #137115
See also https://github.com/flutter/flutter/pull/137115#issuecomment-1781909865
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

CC @reidbaker

Thank you for a well written pr description that let me understand what was happening in the pr quickly.

@reidbaker Can this be merged then? I don't have the permissions to do so :sweat_smile:


Need to introduce RSS feed for other global sites

Need to introduce RSS feed for other global sites where we can generate RSS feed similar to  https://www.crn.com/rss2.xml
Customer feedback : We have a number of RSS feeds that send out content to various places.  In some cases, we send the full article content in a stream to our publishing partners, like CRN Australia.  How do we do that in Franklin/EDS?

An rss feed for Australia:  https://www.crn.com/rss2.xml

Customer is still requesting more information around requirements and the needs for it. @mulderjoe would update this ticket once he has more information from global teams.
Feedback from Amol : we have an RSS feed generator script + github workflow in our Block Party submitted by someone in the community that can help you generate and update the RSS feed xml based on when someone publishes an article triggered by Github Events. https://www.hlx.live/developer/block-collection#block-party

There are a number of feeds that we display, based on taxonomy. Those are located here:
https://www.crn.com/rss-news-feeds
We also have three other feeds:

General feed: https://www.crn.com/rss.xml

Feed that has full content in the feed itself:  https://www.crn.com/rss2.xml  (this feed is specifically for our publishing partners CRN Australia, CRN India and CRN Poland)

This feed is a news feed for Google:  https://www.crn.com/rss3.xml

Moved to new github repo : https://github.com/thechannelcompany/crn-com/issues/10


Cache vault cards and credential cards for quicker loading time

Vault cards and credential cards that have been loaded once should be cached so next time they are loaded, it does not take as long to load

It'd be a security risk to save those to the Vuex/local storage, but I suppose we could at least create a reactive property that'd be accessible to all components and save loaded vaults/credentials there. This way we want have to load that data while user is still inside our app (uses built in navigation to browse various pages on our app, and not hard-refreshing the page or going to specific urls directly). However, we might want to have a way for the user to refresh this data - maybe we could seek advise from the design team on this matter.


Uncaught error from get_class on array in converter class

This issue arises from get_class throwing an error if the $data variable evaluated on line 85 in vendor/zohocrm/php-sdk-7.0/src/com/zoho/crm/api/util/Converter.php is not an object, but an array.

get_class(): Argument #1 ($object) must be of type object, array given

This can be reproduced by following the SDK Sample code provided in the readme.

@sigveholmen Thanks for your contribution. Please share the SDK configuration and Sample code and draft an email to<EMAIL_ADDRESS>We will follow up on this request, over there.


Auto-legacy mode for dfns extraction

Dfns extraction expected specs to always follow the data definitions model specified in Bikeshed's documentation. Older specs don't follow that model. Terms they define are still extracted but with a private access level.
This update makes the code peak at all definitions found in the spec. When some definition has a data-dfn-type attribute or some other attribute directly related to the data definitions model, extraction proceeds as before. When no definition has any of these attributes, the "legacy" extraction mode is activated and all extracted definitions are considered to be "public".
This makes a few existing dfns public that used to be private for specs such as TC39 specs, css-page-4 (see below for details), but that is precisely what we want!
This would fix #1117 the lazy way, meaning without introducing extra crawling options ;)

css-page-4 - https://drafts.csswg.org/css-page-4/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://drafts.csswg.org/css-page-4/'
  }
}

css-style-attr - https://drafts.csswg.org/css-style-attr/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
...
    url: 'https://drafts.csswg.org/css-style-attr/'
  }
}

ecma-402 - https://tc39.es/ecma402/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/ecma402/'
  }
}

html - https://html.spec.whatwg.org/multipage/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
      heading: {
+         href: 'https://html.spec.whatwg.org/multipage/infrastructure.html#parallelism',
+         id: 'parallelism',
+         number: '2.1.1',
+         title: 'Parallelism'
-         href: 'https://html.spec.whatwg.org/multipage/introduction.html#typographic-conventions',
-         id: 'typographic-conventions',
-         number: '1.9.2',
-         title: 'Typographic conventions'
      },
+       href: 'https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel',
+       id: 'in-parallel',
-       href: 'https://html.spec.whatwg.org/multipage/introduction.html#x-that',
-       id: 'x-that',
      informative: false,
      linkingText: [
+         'in parallel'
-         'this'
      ],
      localLinkingText: [],
      type: 'dfn'
    },
    {
+       access: 'private',
-       access: 'public',
      definedIn: 'prose',
      for: [],
...
        title: 'Parallelism'
      },
+       href: 'https://html.spec.whatwg.org/multipage/infrastructure.html#immediately',
+       id: 'immediately',
-       href: 'https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel',
-       id: 'in-parallel',
      informative: false,
      linkingText: [
+         'immediately'
-         'in parallel'
      ],
      localLinkingText: [],
      type: 'dfn'
    },
    {
+       access: 'public',
...
-       access: 'private',
...

rfc7231 - https://httpwg.org/specs/rfc7231.html
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://httpwg.org/specs/rfc7231.html'
  }
}

rfc9110 - https://httpwg.org/specs/rfc9110.html
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://httpwg.org/specs/rfc9110.html'
  }
}

svg-integration - https://svgwg.org/specs/integration/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'dt',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://svgwg.org/specs/integration/'
  }
}

svg-strokes - https://svgwg.org/specs/strokes/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'table',
      for: [],
...
    },
    {
+       access: 'public',
...
-       access: 'private',
...

SVG2 - https://svgwg.org/svg2-draft/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
...
    },
    {
+       access: 'public',
+       definedIn: 'table',
+       for: [
+         'SVGLength'
+       ],
+       heading: {
+         href: 'https://svgwg.org/svg2-draft/types.html#InterfaceSVGLength',
+         id: 'InterfaceSVGLength',
+         number: '4.5.2',
+         title: 'Interface SVGLength'
+       },
+       href: 'https://svgwg.org/svg2-draft/types.html#__svg__SVGLength__SVG_LENGTHTYPE_NUMBER',
+       id: '__svg__SVGLength__SVG_LENGTHTYPE_NUMBER',
+       informative: false,
+       linkingText: [
+         'SVG_LENGTHTYPE_NUMBER'
+       ],
+       localLinkingText: [],
+       type: 'const'
+     },
+     {
+       access: 'public',
+       definedIn: 'table',
+       for: [
...
-       access: 'private',
-       definedIn: 'prose',
-       for: [],
-       heading: {
-         href: 'https://svgwg.org/svg2-draft/types.html#InterfaceSVGLength',
-         id: 'InterfaceSVGLength',
-         number: '4.5.2',
-         title: 'Interface SVGLength'
-       },
-       href: 'https://svgwg.org/svg2-draft/types.html#LengthValue',
-       id: 'LengthValue',
-       informative: false,
-       linkingText: [
-         'value'
-       ],
-       localLinkingText: [],
-       type: 'dfn'
-     },
-     {
-       access: 'public',
-       definedIn: 'table',
-       for: [
-         'SVGLength'
-       ],
...

tc39-decorators - https://tc39.es/proposal-decorators/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/proposal-decorators/'
  }
}

tc39-import-assertions - https://tc39.es/proposal-import-assertions/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/proposal-import-assertions/'
  }
}

tc39-intl-enumeration - https://tc39.es/proposal-intl-enumeration/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/proposal-intl-enumeration/'
  }
}

tc39-intl-numberformat - https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/proposed.html
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/proposed.html'
  }
}

tc39-shadowrealm - https://tc39.es/proposal-shadowrealm/
Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

{
  dfns: [
    {
+       access: 'public',
-       access: 'private',
      definedIn: 'prose',
...
    url: 'https://tc39.es/proposal-shadowrealm/'
  }
}

that's a wonderfully elegant solution to #1117! I'm surprised to see the HTML in the list of impacted specs, though, since it's definitely using the dfn model - can you comment on that?

Ah, I forgot to remove it from the diff. It is due to removal of duplicate dfns added in #1110 but not yet integrated in a released version of Reffy (so not yet integrated in webref). The Typographic conventions section in HTML defines "this" twice to show how definitions get marked. The second definition is now ignored by Reffy (but still appears in webref data). In an ideal world, we would probably ignore these fake definitions altogether but that seems like a good topic for another day ;)


Decouple profile creation from PowerSimData Grid object

:rocket:

[ ] Is your feature request essential for your project?

Describe the workflow you want to enable
I wish I could generate hydro/solar/wind profiles using an arbitrary collection of lat/lons (and maybe power levels for hydro), without requiring a Grid object and all of the other information it contains/requires.
Describe your proposed implementation
Anything that currently takes a Grid object will only take the relevant information directly, rather than looking into the Grid object to obtain this information.

Thinking about it carefully, I found this could be tricky. For the profiles that are generated using weather data + location, this can be easily decoupled. However, for profiles generated using other information, it could be tough. For example, generating hydro profiles, we reply on net demand, generating demand profiles, we reply on Pd, etc.

Could we de-couple in stages? It seems like the wind and solar profiles would be fairly straightforward at least.

Even for wind and solar, the current wind and solar profile generation scripts use some imports from powersimdata.network.usa_tamu.constants (e.g. to do aggregation of individual plant attributes to state sums, or to look up the appropriate state average for a given plant's state). This presents problems for generating HIFLD profiles which have different zone IDs and other elements within the model immutables. I think we'll want to refactor these scripts so that they look only at the dataframe(s) that are passed directly to the functions, and don't assume that all queries relate to any particular grid model.

Even for wind and solar, the current wind and solar profile generation scripts use some imports from powersimdata.network.usa_tamu.constants (e.g. to do aggregation of individual plant attributes to state sums, or to look up the appropriate state average for a given plant's state). This presents problems for generating HIFLD profiles which have different zone IDs and other elements within the model immutables. I think we'll want to refactor these scripts so that they look only at the dataframe(s) that are passed directly to the functions, and don't assume that all queries relate to any particular grid model.
EDIT: branch-in-progress is the daniel/decouple_profiles_from_grid branch.

It would be nice if we could find a way to throw an error if the meteorological data don't cover the passed plant data frame. The NSRDB and NOAA database won't work with the European grid and we want to let the user know that he cannot use this script for plants loacted in Europe. We can work with a bounding box defined in a const.py in prereise/gather

It could be useful to have a set of constants related to regions, rather than grids. E.g. there's some USA-specific information right now (bounding box, state abbreviations) that's contained within the usa_tamu grid constants data that could be associated with the USA region, which then gets applied to both the usa_tamu and hifld (usa_hifld?) grid models.

It could be useful to have a set of constants related to regions, rather than grids. E.g. there's some USA-specific information right now (bounding box, state abbreviations) that's contained within the usa_tamu grid constants data that could be associated with the USA region, which then gets applied to both the usa_tamu and hifld (usa_hifld?) grid models.

Yes, there are a lot of constants we can factor out in the zones and plants module

Thinking a little more on this, maybe we could have PreREISE generate all regional profiles with some meta data tag, such as Asia, Europe, North America, etc. then leave "distribution" tasks for PowerSimData based on the parameters of a grid object that user specifies. In this way, we can conduct a clean decoupling between PreREISE and PowerSimData on profile generation. Also, the regional profiles could be the state-of-art public accessible datasets that one could find for the time being, i.e. in PowerSimData, we could either distribute or aggregate the "best" profile from PreREISE based on the granularity of the grid, for example, in a PCM, the grid granularity could be higher than the given profile, then we will need to distribute a regional profile down to nodes, whereas in a CEM, the grid granularity could be lower than the given profile, then we will do aggregation instead.

I believe this will be satisfied upon completion of #256, #260, and #261.


fix one last link (SOFTWARE-4265)

(could not apply the suggestion on the previous PR after it was merged)

Oh wait, I was wrong! This is a section link within the same doc and we renamed the section, which I'm on board with. Sorry for the noise!


178935375 Labbook interactive

WIP:  Using old drawing tool for the moment.

@dougmartin I think this might be ready.  Sorry its enormous.

@dougmartin when you get a chance, if you could give this a glance.
I addressed fixes requested by @kswenson
Intermittent failing cypress test is the graph interactive question thing Matt pointed out in December.


Oriented beam query

This is an implementation of oriented beam queries. An oriented beam is the same thing as an ortho frustum, so it is not as specific as it might sound.
Much like the box query, it only opens nodes intersected by the queried volume to be efficient. To do this, a specialized implementation of a collision check between two oriented cubes/boxes is provided.

ptal @catevita

As discussed offline, I changed the members of OrientedBeam to be more geared towards efficiently computing intersects() and contains(), meaning some redundancy, and made the members private.

@pifon2a Do you know why my commit gets automatically reverted?

@nnmm Need more data to answer. What happened exactly?

@pifon2a My branch is at ddbe037, but if you look above, your account force-pushed 3042bb6, the previous commit right after I pushed to my branch.

Weird. When I look at the files changed tab, I see my latest changes now. I seem to remember that wasn't the case before. So the messages are probably harmless. Sorry for the ping.

It could be because our merge bot Wally went insane. Thanks for noticing. I will clear up its cache and restart it. It acts from my account, that's why you see "pifon2a".

@wally-the-cartographer merge

Merge requested by authorized user nnmm. Merge queue now has a length of 1.


SAK-33571 Change file submission text to refer to My Home.

Pre-fix:

Post-fix:

Post-fix with one attachment already:

All the time spent changing this it would be nice if it just defined centrally what My Workspace was called and then substituted it in the right places.


Default branch set to master in nbgitpuller

Summary
The default branch in nbgitpuller  is set to master. Github changed the default branch name to "main" sometime in the Fall of 2020.
User Stories
During our demo with Palomar CC, we tried to generate a link via nbgitpuller from a repository using the branch name, "master". We did not realize this was a newer repository in Github with a default branch name of "main". It might be prudent to change the default branch name in nbgitpuller to "main" or leave the field empty and force the user to specify the branch name. I suppose a more intensive solution would check the repo to ensure the branch exists.
Important information

Nbgitpuller

Tasks to complete

[ ] Decide how intensive the solution should be - automatically check repo or just change the branch field
[ ] Implement and redeploy

@yuvipanda I think this one should be a ticket in the nbgitpuller repo. Thoughts?
And we can link that one from here...
And this one will be centered into performing further steps to bring the "fixed" version, @sean-morris , WDYT?

nbgitpuller has an issue already: https://github.com/jupyterhub/nbgitpuller/issues/159
Yeah, we should find a way to make this ticket 'track' getting that fix to a point where we can use it here.

"Tracking" this  jupyterhub/nbgitpuller#159 would be great.  I subscribed to the issue and am watching the repo. Is there a way to "notify" this specific issue in pilot-hubs when the nbgitpuller issue is updated. It looks a solution was propsed on April 9th.

@sean-morris do you think you'll be able to try implementing that solution and see if you can get it to work?

I am sure I could.I am trying to get a handle on this week this morning but will touch base

@sean-morris awesome. lmk how I can help you get started?

Should be fixed by https://github.com/jupyterhub/nbgitpuller/pull/179


[PORT] Make multiple languages limited to the language of the entry lg file

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3241

If we have an entry file: a.xxx.lg, (xxx is the locale, en-us, en, fr-fr .etc.)all the import file while is imported by this entry file or the children file, would fallback language from xxx.
So, if a user uses a.en.lg as entry file, and import b.en-us.lg, it would make some exception because LG would find a.lg file from b.en.lg and with the fallback file b.lg, even if the current locale is "en-us".

it should porting to AdaptiveDialog


How do I minimize the amount of shared libraries?

Hello, is there a way to reduce the amount of shared libraries generated/needed when installing a package like Qt5? I usually had to provide three .dlls to get everything running (QtCore, QtGui, QtWidgets) when I downloaded the binaries directly. Now after building it and trying to link it dynamically (using the x64-windows triplet), my binary folder gets filled with loads of other .dlls which seem to be dependencies of the three core module I need. This tremendously increases my linking times.. Is there a way to get rid of those?

Usually, we use feature to separate the port's dependencies, and only use the command .\vcpkg install ${PORT}[core] to build will use only the minimum dependencies (required).
In qt5, this situation becomes complicated.
@Neumann-A

in qt5 there are no dependency features yet and vcpkg is build qt with everything enabled. We could provide features in the future but for the time being lets focus on getting qt updated first.
If you want to minimize the dependencies yourself you need to modify the portfile of qt5-base with the configure option you would like qt5-base being build with.

Can you tell me what would be needed to change in that portfile?


implement .vol loading?

Hi! I have a .vol (density map) and really like to use your viewer instead of a dirty hack we already have rendering the .vol using chimera headless on the server and cherry picking the volume code and embed it into our HTML template.....grrr!!
I really want to use NGL but loading .vol files doesn't seem to be implemented. At this point I can convert .vol to .mrc in the server, and serve the .mrc to the viewer or ...
Implement .vol in the ngl viewer. I'm familiar with javascript but not at all with this project, with some guidance, I'm happy to contribute.
Congratulations for this work!
Pablo.

You are very welcome to contribute! See here for some pointers.
Is this the .vol format you are referring to? If it is, the parser can be similar to the parser for binary .mrc, see here. To use it you need to register it in ngl.js by importing it there. Also add "vol" here and here and here.
Hope that helps

Thanks Alexander, for now it's faster for me to convert to mrc on the
fly and use the viewer as it it.
But I'll keep this email in my mind for the future. I'm already
visualizing stuff. Just need to figure out how to change the threshold
(isolevel).
Any tip? Actually, I'm already setting the value, but don't know how to
trigger the rendering.
All the best,
On 02/09/16 21:08, Alexander Rose wrote:

You are very welcome to contribute! See here
https://github.com/arose/ngl/blob/master/DEVELOPMENT.md for some
pointers.
Is this http://paulbourke.net/dataformats/vol/ the .vol format you
are referring to? If it is, the parser can be similar to the parser
for binary .mrc, see here
https://github.com/arose/ngl/blob/master/src/parser/mrc-parser.js.
To use it you need to register it in ngl.js
https://github.com/arose/ngl/blob/master/src/ngl.js#L527 by
importing it there. Also add "vol" here
https://github.com/arose/ngl/blob/master/src/loader/loader.js#L16
and here
https://github.com/arose/ngl/blob/master/src/loader/loader-utils.js#L45
and here
https://github.com/arose/ngl/blob/master/examples/js/gui.js#L474.
Hope that helps
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arose/ngl/issues/196#issuecomment-244462484, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AAv84cDIOkE2CEE18ahRai9rZdknTwF-ks5qmHQogaJpZM4Jzh3_.

Any tip? Actually, I'm already setting the value, but don't know how to
trigger the rendering.

Have you tried component.setParameters({ isolevel: 1.0 })?

Many thanks, I've found out this on Friday:
         surfaceComponent.clearRepresentations();
         surfaceComponent.addRepresentation("surface", {isolevel:

threshold});
This works fine, surfaceComponent is a NGL.SurfaceComponent object.
I'm also using the 0.7dev version (same  source at here
http://proteinformatics.charite.de/ngl/doc/index.html#User_manual/Usage/Embedding)
I've also tried to use later versions (0.7 to set an orthographic camera
but got not success)
If you are interested I can switch to the latest (v0.8) and report back
what I find.
Now I can't remember the exact problem but it was related with the fact
that our URL to request our data looks like this:
http://localhost:8000/webtools/get_file/?path=/Runs/000178_XmippProtAlignVolumeForWeb/extra/output_vol000274.vol.mrc&filename=ngloutput.mrc
and the error was about a problem with the extension. If I remember
right, there was a class that parses the url trying to get an extension,
and in this case it was null since it was using only "get_file/".
At that point I though my case was a bit out of the scope (that url is
working in v0.7dev, embedded)  and gave up.
If this case is useful for you, I'll be happy to report exact details.
All the best, Pablo. And congratulations for the viewer.
On 19/09/16 02:53, Alexander Rose wrote:

Any tip? Actually, I'm already setting the value, but don't know
how to
trigger the rendering.

Have you tried |component.setParameters({ isolevel: 1.0 })|?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arose/ngl/issues/196#issuecomment-247895369, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AAv84dai1Mghoc6HAKGf-RobaJO1zkNJks5qrd0BgaJpZM4Jzh3_.

If you are interested I can switch to the latest (v0.8) and report back what I find.

it is in any case a good idea to switch to 0.8

and the error was about a problem with the extension.

you can force the extension/file type like
stage.loadFile("url", {ext: "mrc"})
see also http://arose.github.io/ngl/api/Stage.html#loadFile__anchor

It worked like a charm! And now we have the orthographic camera on.
Many thanks!

It worked like a charm! And now we have the orthographic camera on. Many thanks!

You're welcome

I'll let you know where to find it, when deployed.
On 22/09/16 15:58, Alexander Rose wrote:

It worked like a charm! And now we have the orthographic camera
on. Many thanks!

You're welcome
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/arose/ngl/issues/196#issuecomment-248911288, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AAv84X9UW9d-FT_tpjnu8DykCSnyk1FOks5qsomUgaJpZM4Jzh3_.

that would be great!

Deployed, couldn't wait to see it in action.
It's a bit hidden.
You can see it working here
http://scipion.cnb.csic.es/m/showj/?path=Runs/000462_XmippProtAlignVolumeForWeb/volumes.sqlite&s=myfirstmap&p=BpvTestData&visible=id enabled comment _filename &mode=table&render=_filename&order=id enabled comment _filename
Steps to show it in action:
1.- Click on GREEN area of the last box of the work-flow (aligned volume
web).
2.- Click on the "Analyze results" button
3.- A window should pop up (must allow pop up windows, sorry)
4.- In the popped up window...click in the small cube icon ()  (shortcut
out of context
http://scipion.cnb.csic.es/m/showj/?path=Runs/000462_XmippProtAlignVolumeForWeb/volumes.sqlite&s=myfirstmap&p=BpvTestData&visible=id enabled comment _filename &mode=table&render=_filename&order=id enabled comment _filename)
5.- A surface object should appear.
Any improvement is very welcome.
We are writing a paper, were NGL is cited already.
Thanks again!.
On 23/09/16 16:53, Alexander Rose wrote:

that would be great!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/arose/ngl/issues/196#issuecomment-249214279, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AAv84bku1uzBLYjJtqn7gVre7xrF-eM1ks5qs-ffgaJpZM4Jzh3_.

Very nice! What kind of improvements are you looking for?

Sorry, I think my english confused you.
I meant feedback. Your viewer does all we need for now.

On 23 Sep 2016, at 21:12, Alexander Rose<EMAIL_ADDRESS>wrote:
Very nice! What kind of improvements are you looking for?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/arose/ngl/issues/196#issuecomment-249278363, or mute the thread https://github.com/notifications/unsubscribe-auth/AAv84UUTlmPlLrkRsmHp12bFbyfUe4VKks5qtCSQgaJpZM4Jzh3_.

I meant feedback.

I see. Adding a slider for the front clipping plane might be useful.

Your viewer does all we need for now.

Alright. Good luck with your paper!


Add code of conduct

Description
Add a code of conduct file like this one.

@ehdlg Add a link to the code of conduct from the main readme.


Fix CI jobs

Fixes 2 issues with CI on main:

brew is not properly installing docker because python needs to be forcibly unlinked before installing it (more info here):

==> Pouring maven--3.9.6.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/maven/3.9.6: 92 files, 10.4MB
==> Upgrading<EMAIL_ADDRESS>  3.12.0 -> 3.12.0_1

==> Pouring<EMAIL_ADDRESS>Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.12
Target /usr/local/bin/2to3-3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.12'

To force the link and overwrite all conflicting files:
  brew link --overwrite<EMAIL_ADDRESS>
To list all files that would be deleted:
  brew link --overwrite --dry-run<EMAIL_ADDRESS>

The conformance test repo is pinned to a version too far in the past, so the sha is not included in the default clone depth and thus cannot be found. This PR bumps the ref (see https://github.com/connectrpc/connect-es/pull/894)

Ok, finally passing 😅


Question: Is there a marketplace for addons?

I created a very simple one here: https://github.com/DianaSuvorova/storybook_giphy_addon. Planning to create more. Is there a place for developers to publish their creations?

No there no. But we have a simple list of addons.
See: https://getstorybook.io/docs/react-storybook/addons/addon-gallery


Added Post() method.

Grr... Something wrong with CI\CD config...

Please add unit tests for Post


Get rid of overviews

Yes, it's totally ok.
I was about to remove raster_overviews, luckily I realized that raster_overviews has to do nothing with overviews.

:+1: then. I'll do the acceptance as well if you want. Suggestions?

Acceptance: Create a map a with a table that has more than 0.5M points and check that everything is working and slower than production.
More advanced acceptance will come with Maps API PR

@dgaubert comparing speeds is very troublesome. What direct verification could be done?

Blocked after a converation with @dgaubert because this is blocked until some user checks are performed.

@dgaubert I'm doing some housekeeping, is this still a thing we should pay attention?

You can drop out of the project but keep it open. We might have a chance to move this forward in the near future. 🤞

I'm closing the PR. If someday we want to recover it, we can reopen it (I'm leaving the branch).


Reorganize Functions

This PR is mainly reshuffling the codebase to improve functions and such and make it easier to work with
This is the base for Vector/Tesore valued functions (with "empty" files for it)

Codecov Report

Merging #744 into master will increase coverage by 0.03%.
The diff coverage is 93.46%.

@@            Coverage Diff             @@
##           master     #744      +/-   ##
==========================================
+ Coverage   88.54%   88.57%   +0.03%
==========================================
  Files          99      103       +4
  Lines        9949     9976      +27
  Branches     2010     2010
==========================================
+ Hits         8809     8836      +27
  Misses        892      892
  Partials      248      248

Impacted Files
Coverage Δ

devito/symbolics/search.py
83.33% <ø> (ø)
:arrow_up:

devito/core/operator.py
96.42% <100%> (ø)
:arrow_up:

devito/core/__init__.py
100% <100%> (ø)
:arrow_up:

devito/mpi/routines.py
100% <100%> (ø)
:arrow_up:

devito/ops/__init__.py
100% <100%> (ø)
:arrow_up:

devito/dle/backends/parallelizer.py
100% <100%> (ø)
:arrow_up:

devito/functions/dimension.py
92.81% <100%> (ø)

devito/mpi/halo_scheme.py
94.53% <100%> (ø)
:arrow_up:

devito/dse/backends/advanced.py
96.29% <100%> (ø)
:arrow_up:

devito/ir/support/utils.py
97.98% <100%> (ø)
:arrow_up:

... and 36 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 537d385...449d179. Read the comment docs.

@FabioLuporini yeah my editor did something weird moving and copy/pasting stuff so now gotta go line by line to fix it.


StructLoggingConfig.processors is cast to the wrong type

Heya! Firstly, thanks for the great project! I've been using Starlite for the last few weeks and it's great :)
Describe the bug
The processors type for the StructLoggingConfig model is specified as an Iterable which appears to mean that if a list is passed in it is cast to an iterable. This means that when structlog makes its second log message, it falls over as it exhausts the iterator (I believe)
To Reproduce
from starlite import Starlite, StructLoggingConfig, Request, get
from starlite.config.logging import default_structlog_processors, StructLoggingConfig

@get("/")
async def hello(request: Request) -> None:
    request.logger.info("Hello there")
    return None

logging_config = StructLoggingConfig(processors=default_structlog_processors())
app = Starlite(route_handlers=[hello], logging_config=logging_config)

And visit the / route twice. The first time you get the logging message, the second time you get an internal server error:
{"status_code":500,"detail":"TypeError(\"BytesLogger.msg() got an unexpected keyword argument 'event'\")"}
Swapping the type to:
processors: Optional[List[Processor]]
fixes the problem. Happy to do a PR!
Additional context
Running (via uvicorn) with:
starlite==1.42.0
structlog==22.3.0
uvicorn==0.19.0
>>> from starlite.config.logging import default_structlog_processors, StructLoggingConfig
>>> default_structlog_processors()
[<function merge_contextvars at 0x1030737f0>, <function add_log_level at 0x103090c10>, <structlog.processors.ExceptionRenderer object at 0x103077130>, <structlog.processors.TimeStamper object at 0x102cb4e40>, <structlog.processors.JSONRenderer object at 0x100be54b0>]
>>> StructLoggingConfig(processors=default_structlog_processors()).processors
<list_iterator object at 0x100be4c70>
>>> StructLoggingConfig().processors
[<function merge_contextvars at 0x1030737f0>, <function add_log_level at 0x103090c10>, <structlog.processors.ExceptionRenderer object at 0x103077130>, <structlog.processors.TimeStamper object at 0x1033a0480>, <structlog.processors.JSONRenderer object at 0x100be5540>]
>>>

Thanks for reporting this!  Feel free to submit a PR and we can get this fix merged.

It doesn't look like it should be reported to Starlite.
configure in structlog accepts Iterable according to its definition
So StructLoggingConfig(processors=default_structlog_processors()).processors is a valid argument.
>>> from typing import Iterable
>>> l = [1, 2]
>>> li = l.__iter__()
>>> li
<list_iterator object at 0x7f89f77ca290>
>>> isinstance(li, Iterable)
True

It seems like library author wanted to type processors as collections.abc.Collection.
Also, it is a bit unexpected for me to see that Pydantic converts a list passed to the model to a list iterator object here
>>> from pydantic import BaseModel
>>> class MyModel(BaseModel):
...     a: Iterable[int]
...
>>> m = MyModel(a=[1, 2, 3])
>>> m.a
<list_iterator object at 0x7f5c493a48e0>

Ah that's true. I could have made it more generic like Sequence (I think that's what structlog uses in some places)
I was similarly surprised with the pydantic behaviour of changing it into an iterator...
I'll raise an issue in structlog to get them to change the type :)


Saga as a first class citizen

When it comes to entities interacting with each other, Aecor is more on a choreography side, by design. However, oftentimes I run into cases when being able to organize my code in the form of an orchestration could make it easier to reason about the data flow and simplify application's architecture significantly.
Of course, it seems that one could create a single entity with a bunch of processes (that receive events and in turn issue new commands) and make it act like a saga, to have that orchestration part with Aecor. The obvious flaw here is that we end up having loads of boilerplate, even when having a few entities to orchestrate (we need a saga entity, its own events and quite a lot of separate processes that allow us to form kind of a distributed transaction with other entities/aggregate roots).
But what if we make saga a first class citizen in Aecor? To eliminate all that boilerplate and provide a seamless experience when orchestration is one's choice. Do you think that some building blocks for a saga pattern could be a part of Aecor or should it be placed in a separate library/toolkit that leverages Aecor to deliver FP-style event sourcing for Scala?

Hi! As you already said it is possible to implement stateful saga using Aecor Entity, as it allows to perform arbitrary effects during command processing.
I'm open to any suggestions on how to design Saga module, preferably on top of Aecor Entity.


Performance of Adam different in Mxnet 0.9.3 and 0.10.0

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Operating System: ubuntu 14.04
Package used (Python): 2.7.6
MXNet version: 0.9.3 and 0.10.0
I get different results when I run the same piece of code in mxnet 0.9.3 and 0.10 versions.
The network converges in the former case where as in the latter, it doesn't. I assume this is due
to a issue with the Adam optimizer.
Sample output on mxnet 0.10.0 machine :
Epoch 0, iteration 0 , Training ('mse', 0.0035316271241754293)
Epoch 0, iteration 200 , Training ('mse', 0.0020998953378282082)
Epoch 0, iteration 400 , Training ('mse', 0.0020730258888818159)
Epoch 0, iteration 600 , Training ('mse', 0.0020803247674131228)
Epoch 0, iteration 800 , Training ('mse', 0.0020828090243904238)
Epoch 0, iteration 1000 , Training ('mse', 0.0020948627337508208)
Epoch 0, iteration 1200 , Training ('mse', 0.0020971355235109494)
Epoch 0, iteration 1400 , Training ('mse', 0.0021050738676455798)
Epoch 0, iteration 1600 , Training ('mse', 0.002108772054051679)
Epoch 0, iteration 1800 , Training ('mse', 0.0021108072839298806)
Epoch 0, iteration 2000 , Training ('mse', 0.0021140645785808288)
Epoch 0, iteration 2200 , Training ('mse', 0.0021199630068802107)
Epoch 0, iteration 2400 , Training ('mse', 0.0021227942717597912)
Sample output on mxnet 0.9.3 machine:
Epoch 0, iteration 0 , Training ('mse', 0.0035316271241754293)
Epoch 0, iteration 200 , Training ('mse', 0.0020357351889138792)
Epoch 0, iteration 400 , Training ('mse', 0.0019829668106971089)
Epoch 0, iteration 600 , Training ('mse', 0.0019657226051196159)
Epoch 0, iteration 800 , Training ('mse', 0.0019437202295176823)
Epoch 0, iteration 1000 , Training ('mse', 0.0019294929921628906)
Epoch 0, iteration 1200 , Training ('mse', 0.0019097013292767473)
Epoch 0, iteration 1400 , Training ('mse', 0.0018983960284955858)
Epoch 0, iteration 1600 , Training ('mse', 0.0018860451705657239)
Epoch 0, iteration 1800 , Training ('mse', 0.0018750134976254957)
Epoch 0, iteration 2000 , Training ('mse', 0.0018656182529947914)
Epoch 0, iteration 2200 , Training ('mse', 0.0018591857366913381)
Epoch 0, iteration 2400 , Training ('mse', 0.0018510462387049122)
I'm assuming the inconsistency is with the optimizer (I use Adam), as both networks
report identical losses at the initial iteration. When I use SGD I get almost identical
outputs.
Output obtained with SGD is as follows:
mxnet 0.9.3 machine:
Epoch 0, iteration 0 , Training ('mse', 0.0035316271241754293)
Epoch 0, iteration 200 , Training ('mse', 0.0025281838178449305)
Epoch 0, iteration 400 , Training ('mse', 0.0024361704746748963)
Epoch 0, iteration 600 , Training ('mse', 0.0024052463359929338)
Epoch 0, iteration 800 , Training ('mse', 0.0023750611564921174)
Epoch 0, iteration 1000 , Training ('mse', 0.0023559516919851231)
Epoch 0, iteration 1200 , Training ('mse', 0.0023335584792751295)
Epoch 0, iteration 1400 , Training ('mse', 0.0023223736288017997)
Epoch 0, iteration 1600 , Training ('mse', 0.0023103310963776495)
mxnet 0.10.0 machine:
Epoch 0, iteration 0 , Training ('mse', 0.0035316271241754293)
Epoch 0, iteration 200 , Training ('mse', 0.0025281838647585675)
Epoch 0, iteration 400 , Training ('mse', 0.0024361706192505329)
Epoch 0, iteration 600 , Training ('mse', 0.0024052464653863364)
Epoch 0, iteration 800 , Training ('mse', 0.0023750612553216041)
Epoch 0, iteration 1000 , Training ('mse', 0.0023559517588570612)
Epoch 0, iteration 1200 , Training ('mse', 0.0023335585225067977)
Epoch 0, iteration 1400 , Training ('mse', 0.002322373659214368)
Epoch 0, iteration 1600 , Training ('mse', 0.002310331112374758)
The two lines of codes used for SGD and Adam are as follows:
opt = mx.optimizer.SGD(momentum = 0.9, learning_rate=lr, wd=0.0001,
lr_scheduler=lr_sch,rescale_grad=1.0/batchsize)
opt = mx.optimizer.Adam(learning_rate=lr, wd=0.0001, lr_scheduler=lr_sch,
rescale_grad=1.0/batchsize)
Some of the symbols I hope to use in my code is not available in mxnet 0.93.
Therefore I'm looking at getting my code running on mxnet 0.10. At the same time,
I need to use Adam for optimization. What changes should I
make in my code to get the same performance in 0.10 as in 0.93?

This is due to a bug in adam optimizer was fixed between 0.9.3 and 0.10.0. You can try reducing weight decay to improve convergence

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


Regression: Reply-objects don't support indexing anymore

This used to work:
print(i3ipc.Connection().get_workspaces()[0]['name'])
if I read this diff correctly, then both workspace.name and workspace['name'] used to work.
Should the ability to index via subscription be reimplemented? A simple addition like
class _BaseReply
    # ...
    def __getitem__(self, k):
        return getattr(self, k)

    def __setitem__(self, k, v):
        return setattr(self, k, v)

    def __delitem__(self, k):
        return delattr(self, k)

should suffice.

Yeah this was a breaking change in 2.0. Why would you want both?

For compatibility, it seems kind of unecessary to break this. This also isn't mentioned in the 2.0.1 release notes.

You can put it back in like that if you want, but don't document it and mark it as deprecated.

Okay... but if that means you will remove the feature again in a later update I will rather patch downstream.


⚠ Bofrost.at has degraded performance

In 87f3a05, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1342 ms

Resolved: Bofrost.at performance has improved in cfed93f.