refactor: [#4759] Migrate off @azure/core-http

Fixes #4759
Description
This PR migrates the deprecated @azure/core-http library to the newer ones like core-rest-pipeline, core-client, etc.
Multiple functionalities from the new libraries have been converted to be closely related to core-http to avoid breaking changes as close it can be, for that we mostly used the core-http-compat library and some other utility code we have created.
Specific Changes

core-http related code have been moved to botbuilder-stdlib to maintain the migration compatibility across BotBuilder libraries.
Created ServiceClientContext class to maintain compatibility across ConnectorClient, LuisRuntimeClient, TeamsConnectorClient, etc.

This new class contains all the functionality to map core-http functionality to core-rest-pipeline, to make requests and manage policies.

Updated imports to use botbuilder-stdlib instead of core-http.
Removed core-http package, and installed the new ones.

Testing
The following image shows a few of the samples working with the new changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

129 of 148 (87.16%)  changed or added relevant lines in 22 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.4%) to 84.223%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botframework-connector/src/auth/botFrameworkClientImpl.ts
2
3
66.67%

libraries/botbuilder-stdlib/src/azureCoreHttpCompat/serviceClientContext.ts
57
75
76.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-ai/src/luisRuntimeClientContext.ts
1
60.0%

libraries/botframework-streaming/src/webSocket/webSocketServer.ts
1
97.22%

libraries/botbuilder/src/streaming/streamingHttpClient.ts
4
63.16%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.4%

Covered Lines:
20447

Relevant Lines:
23117

💛  - Coveralls


Move hostname to last argument on Mac

Closes https://github.com/dopecodez/pingman/issues/18

Hey, I'll test them quickly right now.

Both options from the README worked 🎉

I just tried it out too, looks good to me!
Thanks for the PR, @JesseVermeulen123 🥇


SFTP : Ability to delete non-empty folders

Describe the feature
WebSSH can't delete folders which are not empty.

[x] Ask user if the directory should be cleaned

Available inside the latest Beta Release :
https://testflight.apple.com/join/QSrBK59z


Remove version: Jackett.Jackett version 0.21.1155

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1155/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Check failed: std::getenv("DISPLAY") != nullptr DISPLAY not detected in Habitat Sim Demo in Jupyter Notebook

🐛 Bug
When I run the demo code until
sim = habitat_sim.Simulator(cfg)

My notebook's Kernel died and restarted.
Error message from my Terminal:
[I 20:42:14.992 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
kernel d28c62f2-014b-41a4-85bc-3dfb1d72cde5 restarted
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1119 20:42:19.850073 19734 WindowlessContext.cpp:235] Check failed: std::getenv("DISPLAY") != nullptr DISPLAY not detected. For headless systems, compile with --headless for EGL support
*** Check failure stack trace: ***

To Reproduce
Steps to reproduce the behavior:
Built the habitat-api code by

python setup.py install --headless

export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/
Then I create my own repo outside the habitat-sim and run test_Habitat_Sim_Demo.ipynb , which is the code from demo code.

Expected behavior
Simply run the demo in a remote server without attaching to a physical monitor, be able to have an agent taking actions in the environment and display frames when needed from my Jupyter Notebook.
Additional context
I run the .ipynb file in Jupyter Notebook on a remote server that does not have attached monitors. But if I put it into a .py file, I am able to run it without this error.
System Info
ENVIRONMENT INFO:
Platform: Linux-4.15.0-65-generic-x86_64-with-debian-buster-sid
Machine: x86_64
Processor: x86_64
Libc version: glibc 2.10
Mac version:
Python version: 3.7.4
Architecture: 64bit
Win version:
System OS: Linux
Release: 4.15.0-65-generic
Version: #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019
Operational System: linux
GCC version: gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMAKE version: cmake version 3.10.2
NVIDIA-SMI: Tue Nov 19 20:50:52 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.40       Driver Version: 430.40       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  TITAN X (Pascal)    Off  | 00000000:01:00.0 Off |                  N/A |
| 23%   26C    P8     8W / 250W |      2MiB / 12196MiB |      0%      Default |
...

export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/ should be done when using python setup.py install --headless.

One thing to note is that I can run the demo code without error in python test-habitat-sim-demo.py, but I was unable to run the corresponding .ipynb code using Jupyter Notebook remotely.

Are you running python test-habitat-sim-demo.py remotely also?

Separately, not at the same time.

Yes, I did
export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/

and
python test-habitat-sim-demo.py

Previously without doing export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/, my code raised an issue saying it couldn't import habitat-sim. But after export ... it was fixed.

If you ran python setup.py install --headless, that shouldn't happen.  Do you still have the correct conda env activated?

I see! I follow the instructions again:
conda activate habitat

and then
python setup.py install --headless

Now I can run the demo code!
Probably previously I opened a couple of tabs on my Terminal but didn't realize that in some tabs the conda env of habitat was not activated(sorry about that) when installing python setup.py install --headless.
Thank you for your time and appreciate your help! @erikwijmans

Not sure why my Jupyter Notebook kernel crashed again so I reopen this issue.
I downloaded the repo and followed the instructions again when my env is activated:
pip install -r requirements.txt
python setup.py install --headless
export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/

and for sure /path/to/habitat-sim/ is specified in my server.

Do not do export PYTHONPATH=$PYTHONPATH:/path/to/habitat-sim/


feat: Update icon

Closes #79

Extension builds preview

Name
Link

Latest commit
b2cff50fc82bdd536d7f278119c7029a10a8405d

Latest job logs
Run #8734245015

N/AN/A

after pnpm dev chrome:

is this an existing issue?


conditionalPanels not working properly

Need to update conditionalPanels to properly display relevant elements of ui in both server-process.R and ui-process.R
sidebarLayout(            fluidRow(column(6,                            radioButtons("choosePath",                                        "Choose a model",                                        choices = c("Generate new model",                                                     "Use existing model"),                                        selected = "Use existing model"                                       )            )),

Fixed


Dev/aamunger/deprecate create notebook

most of the change is to revert the commit that removed the command, but still keep it off of the command palate and add a deprecation info message when the command is invoked through a keyboard shortcut.

Codecov Report

Merging #9394 (9480d8e) into main (17f9744) will decrease coverage by 0%.
The diff coverage is n/a.

:exclamation: Current head 9480d8e differs from pull request most recent head 360b741. Consider uploading reports for the commit 360b741 to get more accurate results

@@          Coverage Diff          @@
##            main   #9394   +/-   ##
=====================================
- Coverage     74%     74%   -1%
=====================================
  Files        219     219
  Lines      10937   10939    +2
  Branches    1515    1515
=====================================
- Hits        8195    8160   -35
- Misses      2141    2185   +44
+ Partials     601     594    -7

Impacted Files
Coverage Δ

src/client/activation/activationManager.ts
56% <0%> (-5%)
:arrow_down:

src/client/common/process/baseDaemon.ts
44% <0%> (-5%)
:arrow_down:

...t/common/variables/environmentVariablesProvider.ts
68% <0%> (-5%)
:arrow_down:

...ient/datascience/data-viewing/dataViewerFactory.ts
82% <0%> (-5%)
:arrow_down:

src/client/datascience/datascience.ts
91% <0%> (-5%)
:arrow_down:

src/client/datascience/multiplexingDebugService.ts
52% <0%> (-4%)
:arrow_down:

src/client/extension.ts
58% <0%> (-4%)
:arrow_down:

src/client/common/featureDeprecationManager.ts
34% <0%> (-4%)
:arrow_down:

.../client/datascience/plotting/plotViewerProvider.ts
38% <0%> (-3%)
:arrow_down:

src/client/common/process/proc.ts
75% <0%> (-3%)
:arrow_down:

... and 3 more


⚠ Bofrost.lu has degraded performance

In db5373c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1277 ms

Resolved: Bofrost.lu performance has improved in 3f1bdde after 6 minutes.


Auth template not loading custom-self-registration-route

Describe the bug
On a new React auth project spun up via latest "npx -p @pxblue/cli" the REGISTER_SELF: '/custom-self-registration-route' does not load up (dead link)
What is the expected behavior?
Clicking on [Test Self Register] from debug to load workflow
What are the steps to reproduce?

http://localhost:3000/custom-login-route
Click on debug and Test Self Register
workflow not loaded

Screenshots or links to minimum reproduction example
Environment

Anything else to add?

This is not an issue. We turned off the ability to deep link in to self-reg/create account. It works if we toggle true/false for create account.


[withStyles] Make the classes property nullable in withStyles.

Problem:
The classes prop seems to be nullable elsewhere but not yet in withStyles, forcing components that consume withStyles to pass a classes prop.
Solution:
Make classes nullable in  #withStyles.
Resolves #8267

Also, could you add a test with your use case under this file: https://github.com/callemall/material-ui/blob/914b8bec96cbc8d04552b5e66dc9acbc99616636/test/typescript/components.spec.tsx so we don't introduce future regression. Thanks

Will add a test tonight, thanks for pointing me in the right direction!

I think #8320 solves this problem as well.

I still don't feel this is quite right. It seems like ideally the classes prop is optionally passed down but should not be null by the time you are in the element itself so it can be safely referenced. The approach from this CR works but I have to specify something like className={classes ? classes.root : ""} in my TSX to avoid a complain from TS if strict null checks is on, which is also kind of gross. Maybe because I'm new to the ecosystem in general I just don't have a lot of clarity or intuition around using material-ui styles with TS. Any suggestions here?

@ssalbdivad I think the problem you're running up against is that a correct typing of withStyles needs to mutate the type of the component, transforming it from the implementation view where classes definitely exists, to the usage view where classes doesn't need to exist (because it's an override). Unfortunately TypeScript decorators can't do that currently.

Leaving aside using withStyles as a decorator, which I don't think is currently possible to do in well-typed way due to the aforementioned issue... if you use the typing I provide in #8320 your testcase becomes
import * as React from 'react'
import { withStyles,WithStyles } from 'material-ui'

const WithStylesDoesntRequireClassesTest = () => {

  const styles = (theme: {}) => ({
    root: {
      color: 'aqua',
    },
  })

  type NoClassesRequiredProps = {
    bestComponentLibrary: string
  }

  class NoClassesRequired extends React.Component<WithStyles<NoClassesRequiredProps, 'root'>> {

    render() {
      const classes = this.props.classes
      return (

      )
    }
  }

  const Wrapped = withStyles(styles)(NoClassesRequired)

  return <Wrapped bestComponentLibrary="MUI" />
}

A little clunky, but well typed. However using a stateless functional component becomes very nice (and still well typed):
const Wrapped = withStyles(styles)<NoClassRequiredProps>(props => (

    {props.bestComponentLibrary}

)

return <Wrapped bestComponentLibrary="MUI" />

@pelotom Let's move forward with #8320. Do we have to add a new test case to your PR?
@ssalbdivad Thanks for your time :)


Interactive Always stays On

I have it correctly set up within the config of the module, but it will not make the buttons disappear.

Going further I saw that the size of the webstream was huge and wanted to make it smaller, setting max limits, I added the limits, but that did cause anything to change.

Currently have this issue, I have, Is this issue still open?
{
    module: "octomirror-module",
    position: "bottom_right",
    config: {
        url: "[...]",
        api_key: "[...]",
        streamUrl: "[...]",
        showTemps: "true",
        interactive: "false"
    }
},


Added Quick Sort in C++

Added Quick Sort in C++

Hey pal, the code works great. But needs documentation like -- Explanation on what quick sort is -- Complexities

@4N1Z  Hello I added Quick Sort In java, with proper documentation like what is quick sort, working, correct code with comment and also the Time and space complexity. Please check and merge.

@4N1Z Added Documentation in quick sort code with time & space complexity also added necessary comments in the program please check and merge an PR. Thank You !


Turnstile Example has no activities for System Requirement Definition

The WasGeneratedBy link for SystemRequirement objects is missing

@russell-d-e Is this something we should have in Turnstile?

I think the omission is an oversight - the HLR and LLR requirements do have an associated requirements definition activity.


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 2: invalid start byte

playsound.playsound("http://dict.youdao.com/dictvoice?type=0&audio=yes")
i got
Traceback (most recent call last):
File "C:/NuanTools/py_tts/testonly.py", line 73, in
playsound.playsound("http://dict.youdao.com/dictvoice?type=0&audio=yes")
File "C:\Users\YANG.LEI\AppData\Local\Continuum\anaconda3\lib\site-packages\playsound.py", line 35, in _playsoundWin
winCommand('open "' + sound + '" alias', alias)
File "C:\Users\YANG.LEI\AppData\Local\Continuum\anaconda3\lib\site-packages\playsound.py", line 30, in winCommand
'\n    ' + errorBuffer.value.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 2: invalid start byte
Python 3.6.4, playsound is the latest version installed today(14th May)

(I think you are a Chinese,I am Chinese too,I will talk with you by Hanzi.)
好吧，这个库无法播放网络文件。如果需要播放，请把他下载下来后播放，再删除。（PDC WARNING：io.BytesIO不起作用）
这是目前唯一的解决办法。就连ffplay都是这么做的，简单粗暴。

知道了，谢谢

This is now fixed on master. I have added in a test scenario, testBlockingCYRIL_WAV, which should ensure that it doesn't regress.


Expose more stats in maker's API

Resolves #340
added info about connected peers and high-level channel info (how many are open & how many are usable)

bors r+


Fix issue when io.Reader returns a partial read

First of all, thanks for great open source project. We use binpacker to unpack length prefixed data sent over network (using BytesWithUint32Prefix).
We found our data corrupted when we would be unpacking longer messages. It turned out to be an issue when io.Reader would return a partial read. The issue was caused here: buffer.Write(buf). If a read was smaller than allocated buf, data would be padded with a bunch of 0s at the end and all of it written to the final output buffer. The issue can be solved with a change to buffer.Write(buf[:rn]) but after I examined the method I thought it was better to leverage golang standard library instead. The bytes.Buffer usage was unnecessary since we know the final size in advance and we read it all anyway.
Let me know if you see any issues and I'll be happy to tweak this PR.

Thanks for your PR! It's a nice solution.


Remove .NET Core version of Project Cracker

The ProjectCracker.dll and ProjectCrackerTool.exe currently have .NET Core versions.
These are for supporting "old" F# project formats, pre .NET SDK 2.0.  I don't see the ned to continue to maintain and deliver .NET Core versions of these, since .NET Core tooling normally only understands "new" F# project file formats for .NET SDK 2.0
@ncave @Krzysztof-Cieslak @rneatherway @matthid Can you chime in with your thoughts on this?  thanks

@dsyme +1 for using the new project file format.
On a related note, are upstream changes planned to come into FCS? Is there a plan to fold FCS back into upstream? I know, so many questions...

On a related note, are upstream changes planned to come into FCS? Is there a plan to fold FCS back into upstream? I know, so many questions...

I'm trying to work this out now.
We integrated very large chunks of fcs back to Microsoft\visualfsharp, all the core code and enough to enable a CI build of the .NET Framework version of FSharp.Compiler.Service.dll.  That's good. In https://github.com/Microsoft/visualfsharp/pull/3480  I've done the same for the .NET Framework versons of the other tools (ProjectCracker, FSharp.Compiler.Service.MSBuild.v12.0.dll). However the  .NET Core/Standard build of FSharp.Compiler.Service.dll was not included in that, nor were the docs, nor .NET Core testing and so on.
The .NET Core/Standard build of FSharp.Compiler.Service is a bit of a pain to build, because of the manual codegen done in build.fsx etc.  I don't yet fully understand why all that is needed but there must be rationales for it.
Anyway, even after https://github.com/Microsoft/visualfsharp/pull/3480  this has left us in a messy situation where we have one build of FSharp.Compiler.Service.dll that uses on build system (the one from Microsoft/visualfsharp), and one here that uses another (Paket, FAKE etc.).  I really want to just have one build system with ultra-simple integrations.

The ProjectCracker.dll and ProjectCrackerTool.exe currently have .NET Core versions.
These are for supporting "old" F# project formats, pre .NET SDK 2.0

the .net core version doesnt make sense, should be removed.
Is useless to parse old fsproj
Projectcracker use msbuild autiomation, so as library.
The old fsproj/csproj expect full .net msbuild, the .net core version of msbuild is more restricted.
An example: some target file can embeed c# code, this is not supported by .net core msbuild, so will not work correctly
doesnt work with new sdk fsproj
why new project can be msbuild 15 without sdk style, these are .net full, so anyway, useless


Optionally mark 0.3 deprecated types as errors

Add variable g:julialang_version, defaulted to 0.3.  If set to 0.4, types which were deprecated in 0.4 are syntax highlighted using juliaError.  Set up this way, the user has the option to opt into highlighting of newer versions, with the default highlighting reflecting the currently released 0.3 (soon to be 0.4).
This is slightly more comprehensive go at fixing the UInt* highlighting issue, which has been gently irritating me for some time (see #43).
If the behaviour here is desired, I can add a note to the docs.

Interesting. Although marking them as errors is maybe a little too harsh? I'd say that not highlighting them at all should be sufficient indication that they're not doing what you expect.
In the meanwhile, I started updating the syntax file, I have a branch for that in my private fork (https://github.com/carlobaldassi/julia-vim/tree/julia-0.4). The changes are a little more comprehensive than what you have here, but it doesn't keep track of deprecated 0.3 types. I should probably borrow your idea.

Good question.  I think marking as errors looks ok, but that's probably because the color scheme I have uses a relatively unobtrusive dark green colour.  I do think they should be highlighted in some way: Given that a user has opted in to a recent version using the global variable, they probably want to update their code soon in order to avoid the very noisy deprecation warnings which Base emits.  For backward compatibility, the Compat.jl package encourages the new types/syntax, so marking the old ones as bad in some way shouldn't be too ugly.  An alternative to using Error is Todo which probably makes more semantic sense.
After some reflection, maybe the way I've set up g:julialang_version needs some refinement, or users will end up needing to touch their .vimrc every time a new version is released.  I'll update it to allow "development" and "release" as valid options.

Ok, how about this?  I know it clashes with your branch, but in the interests of showing a somewhat refined version of the above in code, I've spent some time making this a bit nicer.
Do you think the checking and setting of g:julialang_version should go somewhere other than syntax/julia.vim?  This is about the only vimscript I've ever written, other than adding various things to .vimrc over the years, so if I've done something odd there's a reason ;-)

I used your ideas in https://github.com/JuliaLang/julia-vim/commit/4b5ffe05d59dfe13ea25c6266f7c4d2617758930. So the julia-vim syntax is now finally versioned - and deprecated types are highlighted.

Nice, that's a much more comprehensive go at it, thanks!  I'll switch over to this right away.


fix: update svg link

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@johnlanni pls rerun ci task, It looks like the ci is unstable.

I would recommend using the "build-and-test" action instead of deployment here, and for the main branch only.
See: https://github.com/alibaba/higress/pull/904


Atom indexing on small molecules seems to be incorrect

I have a small molecule that I'm loading into a viewer, which according to rdkit, has the following numbering scheme:

However, this is the atomMap thats reported by picking the atom:
atomMap: Jc
dict:
C1|C: 0
C4|C: 3
C5|C: 4
C6|C: 5
C7|C: 6
C9|C: 8
C10|C: 9
C11|C: 10
C13|C: 12
C15|C: 14
F8|F: 7
N3|N: 2
N14|N: 13
N16|N: 15
N17|N: 16
O2|O: 1
O12|O: 11
I'm getting the above via:
stage.signals.clicked.add((pp: any) => {
          const atom = pp.atom;
          const atomIndex = atom.index;
          const atomNumberDict = atom.atomMap.dict;
          console.log(atomNumberDict);

There are some pretty disparate differences between the numbering schemes; am I not going about this the right way?

I don't know how you've loaded the molecule in NGL. I suspect that you might have used SDF/MOL v2000 format which does not contain atom names. When this type of file is loaded in NGL, atom names are created by combining the element name and the number of the line  of the atom in the atom block of the file.
To check this, you could inspect the content of the SDF file and try to find if indeed RDkit has written the atoms in a different order than the numbering displayed in the depiction.

thank you @ppillot ; I am indeed locally hosting .sdf files and loading them into NGL. I looked into this right as you posted this thinking the same thing and found that the numbering/ordering in the file matches what rdkit reports (no surprise there, I guess). However, when loaded into NGL, the elementname + number is incorrect.
Here's another example file that should replicate this issue:
ITX-SDEAADCF.zip
in the case you dont want to download/inspect, here are the contents:
 RDKit          3D

 17 18  0  0  0  0  0  0  0  0999 V2000
    2.8648    2.1759    1.3062 C   0  0  0  0  0  0  0  0  0  0  0  0
    2.7106    0.7329    1.7229 C   0  0  0  0  0  0  0  0  0  0  0  0
    1.6380    0.6138    2.7794 C   0  0  0  0  0  0  0  0  0  0  0  0
    2.4565   -0.1479    0.5713 C   0  0  0  0  0  0  0  0  0  0  0  0
    3.3383   -1.0778    0.1902 N   0  0  0  0  0  0  0  0  0  0  0  0
    2.7125   -1.6691   -0.9133 O   0  0  0  0  0  0  0  0  0  0  0  0
    1.5196   -1.0219   -1.0797 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.7245   -1.4391   -2.0886 N   0  0  0  0  0  0  0  0  0  0  0  0
   -0.4750   -0.6501   -2.2756 C   0  0  0  0  0  0  0  0  0  0  0  0
   -1.6679   -1.3864   -1.7075 C   0  0  0  0  0  0  0  0  0  0  0  0
   -1.7802   -1.1469   -0.2172 C   0  0  0  0  0  0  0  0  0  0  0  0
   -2.5188    0.0568    0.0673 N   0  0  0  0  0  0  0  0  0  0  0  0
   -3.8757    0.1671    0.1180 C   0  0  0  0  0  0  0  0  0  0  0  0
   -4.0916    1.4825    0.4701 C   0  0  0  0  0  0  0  0  0  0  0  0
   -2.9003    2.1468    0.6487 N   0  0  0  0  0  0  0  0  0  0  0  0
   -1.9667    1.2507    0.4194 C   0  0  0  0  0  0  0  0  0  0  0  0
    1.3113   -0.0874   -0.1807 N   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  1  0
  2  3  1  0
  2  4  1  0
  4  5  2  0
  5  6  1  0
  6  7  1  0
  7  8  1  0
  8  9  1  0
  9 10  1  0
 10 11  1  0
 11 12  1  0
 12 13  1  0
 13 14  2  0
 14 15  1  0
 15 16  2  0
  7 17  2  0
 17  4  1  0
 16 12  1  0
M  END
$$$$

and here is the atomMap reported for the same molecule:
C2|C: 1
C5|C: 4
C7|C: 6
C8|C: 7
C9|C: 8
C10|C: 9
C11|C: 10
C12|C: 11
C14|C: 13
C15|C: 14
C17|C: 16
N1|N: 0
N3|N: 2
N6|N: 5
N13|N: 12
N16|N: 15
O4|O: 3
The atommap seems to indicate that the numbering starts on a nitrogen, but it shouldnt. I'm guessing this is a weird issue specific to .sdf files?

here is what I got with the same file in the viewer.

It corresponds to the order in the SDF file you have pasted previously

@ppillot hm, peculiar. Is there any way you can share the code you used to get this result?

@spadavec I did the screenshot using the label representation with the nil viewer web application


Is there a way to use it with a Vue project?

Hi, what would I have write in my vue.config.js in order for it to work? Can someone give me a working example?

I'm not familiar with Vue beyond it being a frontend framework. This library is not tied to any specific framework.  Does your site require a dynamic sitemap or do the amount of pages change infrequently?

Vue provides a vue.config.js file  that is merged into webpack configuration file on build time. it has a file structure like this:
module.exports = {   configureWebpack: {      plugins:[]    } }
Should I put code inside plugins array?

There is no vue/webpack plugin that does this. You need a list of urls to pass to the library. I'm not sure if vue has a routes file. Any dynamic routes (passed a parameter/slug) would need to be explicitly passed to sitemap. You would then need to adapt its output to interface with webpack.
might be easier to just run after webpack as an explicit script.

Yea, I thought about the possibility. Well, will do it. Thanks


Geometry::clip_polygon returns an incorrect clipped polygon

Godot version
v4.0.3.stable.official [5222a99f5]
System information
Windows 11 x64, Vulkan (Forward+), NVIDIA GeForce GTX 1650
Issue description
In my case, clipping a box polygon with an up normal plane (0, 1, 0) gave me an unexpected result.
(Included a bar mesh for referencing a clipping plane)
Before clipping :

Result :

Expected :

Steps to reproduce
Run the MRP to see what's wrong with a clipped polygon.
Minimal reproduction project
i_46424488_001.zip

Looking at the implementation of Geometry3D::clip_polygons it's not supposed to work as you think. AFAICT (based on the code) it's supposed to work properly only with flat polygons. Meaning all vertices of such polygon should be on the same plane (any plane but the same for all points). And they should be ordered as in the boundary they form, as every 2 consecutive vertices are considered to form an edge (wrapped around so including the last-first pair).
Clearly passing vertices of a cube/box like in the MRP doesn't satisfy this.
It's a matter of claryfing this in the docs, as description of this method is very vague:
https://github.com/godotengine/godot/blob/46424488edc341b65467ee7fd3ac423e4d49ad34/doc/classes/Geometry3D.xml#L40-L46
This method is not used anywhere in the codebase, besides in the tests... where the usage is as incorrect as in this report. I guess tests added in #44974 were pure guess-based too. :upside_down_face:
So tests needs fixing too.

@gongpha To confirm my conclusions: if in the MRP you'd instead clip each face's polygon individually you'd indeed get the result you want.
Modified script from the MRP:
extends Node3D

var cs := CollisionShape3D.new()
var convex := ConvexPolygonShape3D.new()

func _ready() -> void:
	add_child(cs)
	recalculate(0)

	var slider := HSlider.new()
	slider.size.x = 200
	slider.step = 0.1
	slider.max_value = 11
	slider.value_changed.connect(recalculate)
	add_child(slider)

func _on_h_slider_value_changed(value: float) -> void:
	recalculate(value)

func recalculate(plane_y: float) -> void:
	var points := PackedVector3Array()
	var clipping_plane := Plane(Vector3(0, 1, 0), plane_y)

	var box_polygons := get_box_face_polygons(Vector3(10, 10, 10))
	for polygon in box_polygons:
		var clipped_polygon = Geometry3D.clip_polygon(polygon, clipping_plane)
		points.append_array(clipped_polygon)

	convex.points = points
	cs.shape = convex

func get_box_face_polygons(extents: Vector3) -> Array:
	var polygons := []
	var axis_extents := PackedVector3Array([
		Vector3(extents.x, 0, 0),
		Vector3(0, extents.y, 0),
		Vector3(0, 0, extents.z),
	])
	for axis in 3:
		for sign in [-1, 1]:
			var face_center: Vector3 = sign * axis_extents[axis]
			polygons.push_back(PackedVector3Array([
				face_center + axis_extents[axis - 1] + axis_extents[axis - 2],
				face_center - axis_extents[axis - 1] + axis_extents[axis - 2],
				face_center - axis_extents[axis - 1] - axis_extents[axis - 2],
				face_center + axis_extents[axis - 1] - axis_extents[axis - 2],
			]))
	return polygons

Thanks for the explanation ! I felt the same that the doc is lacking some further info.
Unfortunately, Since the order of the points was the matter, this function may not fit my usage.
But btw, the script you've attached should help other people or me for future use !


Upgrading from helm chart 3.60 results in error

Describe the bug
Upgrading helm chart version 3.60 to 3.62 in place gives error regarding updating certain values in the statefulset
spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
PR #5207  looks related and was committed on the same day as Chart.yaml was uplifted to 3.62.  It's not clear if helm upgrade is picking up this change or not.
System Setup
seaweedfs installed in to k3s cluster using helm
Ubuntu 22.04: Linux hotel 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
k3s version v1.28.4+k3s2 (6ba6c1b6)
Contents of values.yaml:
global:
  enableReplication: true
  monitoring:
    enabled: true

master:
  replicas: 1
  data:
    hostPathPrefix: /srv/seaweedfs/ssd
  logs:
    hostPathPrefix: /srv/seaweedfs/storage
  config: |-
    [master.maintenance]
    # periodically run these scripts are the same as running them from 'weed shell'
    scripts = """
      lock
      ec.encode -fullPercent=95 -quietFor=1h
      ec.rebuild -force
      ec.balance -force
      volume.balance -force
      volume.fix.replication
      unlock
    """
    sleep_minutes = 17

volume:
  replicas: 3
  data:
    hostPathPrefix: /srv/seaweedfs/storage
  idx:
    hostPathPrefix: /srv/seaweedfs/ssd
  logs:
    hostPathPrefix: /srv/seaweedfs/storage

filer:
  replicas: 1
  data:
    hostPathPrefix: /srv/seaweedfs/storage
  logs:
    hostPathPrefix: /srv/seaweedfs/storage
  s3:
    enabled: true
    enableAuth: true
    skipAuthSecretCreation: true
    existingConfigSecret: seaweedfs-s3-config

s3:
  enabled: true
  enableAuth: true
  skipAuthSecretCreation: true
  existingConfigSecret: seaweedfs-s3-config
  ingress:
    enabled: true
    className: "traefik"
    annotations:
      "traefik.ingress.kubernetes.io/router.entrypoints": websecure
    host: "s3.<example>.com"
    tls:
      - hosts:
        - "*.<example>.com"
  logs:
    hostPathPrefix: /srv/seaweedfs/storage

Expected behavior
Chart upgrade to work, or README to cover steps on how to achieve upgrade.
Screenshots
$ helm upgrade --install --create-namespace --namespace seaweedfs seaweedfs seaweedfs/seaweedfs --values=values.yaml
Error: UPGRADE FAILED: cannot patch "seaweedfs-s3" with kind Deployment: Deployment.apps "seaweedfs-s3" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"s3", "app.kubernetes.io/instance":"seaweedfs", "app.kubernetes.io/name":"seaweedfs", "helm.sh/chart":"seaweedfs-3.62.0"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "seaweedfs-filer" with kind StatefulSet: StatefulSet.apps "seaweedfs-filer" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden && cannot patch "seaweedfs-master" with kind StatefulSet: StatefulSet.apps "seaweedfs-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden && cannot patch "seaweedfs-volume" with kind StatefulSet: StatefulSet.apps "seaweedfs-volume" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

I don't know how to handle migration for existing helm install; The only way I found is to uninstall the helm release and reinstall it.
I am curious to know since which version you use this helm chart and if upgrade was working well ?

I first installed 3.60, this is my first attempt at upgrading.  Will I be able to install the release without losing data?

I followed the advice and uninstalled then re-installed.  All fine now.


config: Add dynamic reloading support

Using the inotify, if write to the unwritable or crashed config file
forcely, the vi/vim will try to move and delete the old config file
and then recreate it again via the *.swp. When deleting the old
config file, the inotify watching handler will be removed from the
monitor too, so needs to add it back again.
Signed-off-by: Xiubo Li<EMAIL_ADDRESS>

Updated.

Updated, please review.
@mikechristie

Thanks.


Update appveyor.yml

:white_check_mark: Build VTEX-SDK-dotnet 2.3.256 completed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/bdc56217a9 by @guibranco)

:white_check_mark: Build VTEX-SDK-dotnet 2.3.259 completed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/d68a1c3777 by @guibranco)


Status update

Why is review required?

Oops - didn't mean to submit the pull request to the rw repo.


GLIBC_2.28 version not found

OS
openSUSE Leap 15.6
Steps to reproduce
Install Pixelorama via Snap and launch:
$ sudo snap install pixelorama
$ pixelorama

Expected behaviour
The program launches without issues.
Problem
The application crashes with this error:
/snap/pixelorama/217/Pixelorama.x86_64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/pixelorama/217/Pixelorama.x86_64)

It seems to be a problem with the snap because 2.28 is a very old glibc version that is widely available. Leap has glibc 2.38 installed for examples, but I still get this error.  I've also found 2 additional reports of this problem online:
https://ru-stackoverflow-com.translate.goog/questions/1594197/Не-запускается-pixelorama-на-ubuntu?_x_tr_sl=en&_x_tr_tl=ru&_x_tr_hl=ru&_x_tr_pto=wapp
https://itch.io/post/10422742

System Information:

Operating System: Ubuntu 24.04.1 LTS (Codename: Noble)
Kernel Version: 6.8.0-49-generic
System Architecture: x86_64
GLIBC Version: 2.39
Pixelorama Version (Snap): The latest available version on Snap Store (as of posting).

Issue Description:
When I attempt to open Pixelorama via the application icon, nothing happens. Then I tried running it directly from the terminal, and it produced the following error:
/snap/pixelorama/231/Pixelorama.x86_64: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28' not found (required by /snap/pixelorama/231/Pixelorama.x86_64)

Same issue on Ubuntu 24.04, which has version 2.39.


WIP: feat(planning_utils): add planning utils

Signed-off-by: yutaka<EMAIL_ADDRESS>Description
Since there are many duplicated functions in planning modules, this package can standardized those functions.

Related links

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@TakaHoribe Didn't they make something similar?

I'll rename this package as motion_utils. Until then, I'll leave this PR here

@purewater0901 Can you change to Draft?


Adds basic game search on the homepage (substring naive scan)

Current visual state:

Remaining work on this PR:

[x] Improve the design,
[x] Debug current search issue ("Perf" shows the performance test, but not "Perfo"),
[x] Discuss the code structure (some bits from the custom box filtering could be reused here?),
[x] Add a message if no game found with the search term,
[x] Debug current 500 error call on each search key stroke,
[x] Make text translatable, and add translations,
[x] Add cypress tests.

Related to #292.

Regarding "Debug current issues ("Perf" shows the performance test, but not "Perfo"),", I was using the name field of the game object, and not the defaultName field.

Fixes #292.


cudasift has cpu implement code?

HI @Celebrandil , thank you for sharing your code. Now, I want to learn your sift algorithm procedure, but cuda code is difficult to read. Have you implented cpu code?

The code is based on a CPU version I wrote about 15 years ago, but quite a bit has changed since then when it comes to the implementation, so the versions are not really corresponding. I'm been thinking about adding some comments but haven't found the time to do so.

@Celebrandil  ,Thank you for you rely


When having IIS in front ...

Hi @ffMathy,
The middleware works as expected 💪 - and I can see that files have been generated in my website root:

FluffySpoonAspNetLetsEncryptCertificate_Site
FluffySpoonAspNetLetsEncryptChallenge_Challenges
FluffySpoonAspNetLetsEncryptCertificate_Account

However, I'm running IIS in front of Kestrel - so what should I do in order to setup SSL bindings for the IIS web-site? I mean, I don't see any new server certificates in IIS, that I can use for my HTTPS -binding.
I just know I'm missing something obvious - hope that you can help 🙌

Hi @brianhdk!
Thanks for reaching out.
I actually don't know. It's been around 5 years since I last used IIS, so very rusty in that regard.
That being said, there's another competitor project that has popped up since I created this one, which actually (by now) also seems more mature.
It's called LettuceEncrypt here on GitHub.
Sorry that I can't be of more help. Let me know if you're not having any luck with it still, and I'll see if I can take a deeper look.
It's not that I don't want to, but I feel like the world is moving away from IIS a bit. So I want to make sure I'm spending my limited time as well as possible.
I hope you understand ❤


[SPARK-9491] Avoid fetching HBase tokens when not needed.

Look at HBase's configuration to make sure it's configured for
Kerberos. If the HBase configuration is missing, or if HBase is
configured for non-kerberos authentication, then skip getting
tokens.
Reference: http://hbase.apache.org/book.html#security.prerequisites

Merged build triggered.

Merged build started.

Test build #39120 has started for   PR 7810 at commit a57c776.

Test build #39120 has finished for   PR 7810 at commit a57c776.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins retest this please.

Jenkins retest this please.

retest this please

Test build #1260 has started for   PR 7810 at commit a57c776.

Merged build triggered.

Merged build started.

Test build #181 has started for   PR 7810 at commit a57c776.

Merged build triggered.

Merged build started.

Test build #39252 has started for   PR 7810 at commit a57c776.

Test build #39252 has finished for   PR 7810 at commit a57c776.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #1260 has finished for   PR 7810 at commit a57c776.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

+1. LGTM.

Test build #181 has finished for   PR 7810 at commit a57c776.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merging this.


Lapce crashes on "must apply Delta to Node of correct length"

The editor on master randomly crashes when panicking from LSP thread with the following error message.
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `16787`,
 right: `16769`: must apply Delta to Node of correct length', /Users/user/.cargo/git/checkouts/xi-editor-32bce836970a2e41/06816cc/rust/rope/src/delta.rs:137:9

Occurred on Mac OS X on M1.

Just have time to see the source code of delta.rs and it's a debug only assertion so it won't affect the release version of Lapce. It may be still worth to see why the assertion failed but that's a low priority work.


CUDA: Fix parallel testing for all testsuite submodules

Running the testsuite in parallel for the numba.cuda.tests module works already, but running it in parallel for submodules, such as numba.cuda.tests.cudapy did not. This is because the numba.cuda.tests.__init__.load_tests() function ensured that the list of supported compute capabilities in numba.cuda.cudadrv.nvvm was initialized in the parent process, but the load_tests() function in its child modules did not.  This commit rectifies this issue by ensuring that it is initialized for each of the submodules that might want to use NVVM in a test that can be run in parallel (i.e. not a CUDATestCase requiring a context).
Some other issues were discovered and are fixed:

In nvvm.py, if the CUDA runtime was not present, cudart_version_minor was not set, so formatting ctk_ver raised an exception, leading to confusing error messages. It is now set to 0 for an absent toolkit.
TestNvvmWithoutCuda had the SerialMixin, which shouldn't be needed for a test that is not supposed to require a context. The mixin is now removed.
TestNvvmWithoutCuda.test_nvvm_llvm_to_ptx actually does require a context, because it compiles a kernel (which will be linked and loaded, etc.)! This test just shouldn't be in a test class that is not supposed to require a context, and is probably left over from a time when binding (linking and loading) did not occur automatically (many years ago). Since there are better tests of nvvm_to_ptx in the cudapy tests, this test is removed.

Running the whole CUDA test suite or its submodules in parallel with the -m flag, e.g.:
python -m numba.runtests numba.cuda.tests.<module>

now works correctly for each of the modules:

No submodule, just numba.cuda.tests
cudadrv
cudapy
nocuda
cudasim
doc_examples

(verified manually)
Fixes #6703.

fixes #6910

CI passed


[bug] Typo in documentation

About Bug or problem
There is a typo in documentation, I forgot to remove
Steps to reproduce
In tutorials' table
"How inupt works" => "How input works"

@sabderemane Thanks for reporting. It will be updated in the next document updates.


Update views.md

hopefully i understood well what the table structure should look like

I think you did. These were the exact changes I also added, before I saw your PR.

Thanks for the table fix and the effort. It was more straightforward to merge the other open pull request that contained your changes.


Fix doc for Github Actions

User description
A small issue I came across while customizing the Github Action workflow to trigger on custom PR actions: lists are not supported within the env section for Github Actions, making the suggested syntax not valid. The fix is extremely simple: the list needs to be escaped. I've already tested this and it works as expected

PR Type
documentation

Description

Corrected the GitHub Actions documentation by escaping a list in the env section to ensure valid YAML syntax.
This change addresses an issue where lists were not supported within the env section, making the previous syntax invalid.

Changes walkthrough 📝
Relevant filesDocumentation

automations_and_usage.mdFix GitHub Actions environment variable syntax

docs/docs/usage-guide/automations_and_usage.md
Fixed syntax for env section in GitHub Actions documentation.  Escaped list in github_action_config.pr_actions to ensure validity.

+1/-1

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

surprising, but true
Thanks


[DBZ-3224] Improve error handling logic when failing to publish change events.

https://issues.redhat.com/browse/DBZ-3224

Looks like there's a compilation failure on CI.

Thx! Squashed all the commit into one and merged. Taking a step back, instead of passing the "raw" set around, it may make sense to establish some higher-level component (like ErrorHandler we do have in core). This then could for instance be marked with the @ThreadSafe annotation, and taking care of satisfying that requirement internally. Something to ponder about :)


Fixed mapInPlace on mutable maps and sets

addresses #408

Once the mapInPlace issue is resolved, it probably needs to be propagated to flatMapInPlace because it looks like those methods suffer from the same issue

I didn't even realize we had these methods. If any such method makes sense for Map then IMHO it is mapValuesInPlace.

also see issue #473.

Thanks


Please add a mention of the differences between adding a partition key via the query or request options

I just spend way too long in a discussion this morning on how to add partition key to a cosmos SQL query.
Me following this document was under the impression that I was following the Microsoft documentation by adding it to the query. My colleague was under the impression that you should add it to the request options referring to the following document https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/performance-tips-query-sdk?tabs=v3&pivots=programming-language-csharp#use-single-partition-queries.
Now the fact that we where both referencing different parts of the documentation gave some confusion. We both thought that we where doing what the documentation says. It would have helped if at one of the 2 points at least a mention was made about the different way of adding the partition key with the pro's / cons of doing that.

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

ID: c4e9c4d1-a10d-2ea0-e497-4740dcde75ec
Version Independent ID: b7aafa6d-3263-aee7-8180-abf8eedaabc9
Content: Query items in Azure Cosmos DB for NoSQL using .NET
Content Source: articles/cosmos-db/nosql/how-to-dotnet-query-items.md
Service: cosmos-db
Sub-service: nosql
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

@mligtenberg, would you believe that both you and your colleague are correct?
First, queries made against Azure Cosmos DB for NoSQL will be bound within a logical partition key if you include that partition key as a filter for the query. This is discussed in our modeling documentation.
So, let's assume you have a container for products with a partitionKey of /category.
The query SELECT * FROM products p is an obviously unbounded query. Next, the query SELECT * FROM products p WHERE p.price > 50 is also an unbounded query that will have to visit every partition since it doesn't know which partitions will include relevant results.
The queries SELECT * FROM products p WHERE p.price > 50 and p.category = 'surfboards' and SELECT * FROM products p WHERE p.category = 'surfboards' are bounded queries since they use the partition key field as a filter. When possible, using bounded queries will help make sure your queries are efficient. Of course, there's scenarios where it's not possible.
In the example your colleague cited, it looks like the author applied a partition key as part of the query request operations effectively changing the query from SELECT * FROM c WHERE c.city = 'Seattle' to SELECT * FROM c WHERE c.city = 'Seattle' AND c.state = 'Washington'. This is unclear at best and clearly is confusing. The author could have just added the entire query as a string and that would have been clearer and more readable.
I'll make a few changes to this article to hopefully make things clearer.

I'll update the performance article to call out that the sample given is equivalent to X.
I'll update the how to article to use a different parameter as an example to alleviate confusion.

Thanks for this very helpful feedback!

This issue will auto-close and the changes will be live soon.


Update dataQuantity for reading correct amount of holding registers

fix: more tests and fixes
fix: gather the right holding registers - 70 bytes at 16 bits per reg

:tada: This PR is included in version 1.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[HOTFIX] optimize the carbondata thriftserver code

Two changes

remove unuse imports
remove carbon.spark.warmUpTime option, it's no need to block there and usless.

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3326/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11592/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3527/


Gitbook.com traffic tab is not displaying data.

Category

Bug in gitbook.com.
What is the current behavior?

When you open a Book and click on Traffic, is not showing the stats.
What is the desired behavior?

Display Traffic stats.
Additional information

@rmoyano Can you share your project's URL ?
(Please try and provide the maximum context possible when submitting issues)

Aaron I've entered now and it's displaying the charts and visits stats. When I created the ticket, I tried with three books:
https://www.gitbook.com/book/rmoyano/ssh-for-everyone/traffic
https://www.gitbook.com/book/rmoyano/lasrecetasdelabuela/traffic
https://www.gitbook.com/book/rmoyano/paradigmas/traffic
It looks like it was a production issue or maybe they made rollback with some version.
Thanks for your time.

@rmoyano Yep, I deployed a fix earlier today soon after my comment.
The error was due to our SSL cert renewals, so it's all good now and we've setup automated cert renewal :)

Thanks Aaron!


[FEATURE]Is there a way to build harvester as a platform or service, other than an OS?

I want to build and install harvester on some other OS, like centos or debian.
Is it possible? any guide?

Any method to deploy harvester on another OS?

In v0.3 we have replaced the k3os with the newOS which uses the sle15:15.3 as base kernel, u may want to take a look when it is out(ETA 09/30).
Additionally, u can refer to the doc https://docs.harvesterhci.io/v0.2/dev/dev-mode/#requirements here and install the Harvester via helm chart (both k8s cluster and some pre-requisites are necessary), please be aware helm mode installation is just for development purposes, it is not officially supported.

Closing this issue based on the comment from @wonleing.


Adding validation for entering movie details

Agenda: Prevent submitting empty field

I want to work on this

@Shikhar253  Assigned the issue to you , for any problems reach out to us on discord .


Check and possibly update CONTRIBUTING, CODE_OF_CONDUCT etc. to be up to par with other ASWF projects

We want these guides and docs to be uptodate and up to ASWF standards ahead of time to ease integrating and graduating the project.

Just a note: We should should probably document our REP process (even if the process description is light to begin with).

Not a complete update yet, but #1721 addresses some of these issues. More to come.


Unable to run postgres container on Ubuntu 15.04

I tried to run postgres container on Ubuntu 14.04 and it worked fine, but when i tried to run on Ubuntu 15.04 server i got error:
/docker-entrypoint.sh: line 94: kill: (59) - No such process
PostgreSQL init process failed

What was the solution to this?

Solution for me was to use *.sql file instead of *.sh to init my database.


TradingView does not want to update

Version
0.0.85
Description
TradingView does not want to update.
I have message "The data is older than 5 minute(s). This data will not be used until it is updated."
"name":"binance-api","version":"0.0.85","hostname":"63f370a3c502","pid":47,"gitHash":"52d7022","server":"cronjob","job":"trailingTradeIndicator","uuid":"11227205-e229-422e-a22e-ca9e229111ae","level":50,"symbol":"ETHUSDT","err":{"message":"Timestamp for this request is outside of the recvWindow.","name":"Error","stack":"Error: Timestamp for this request is outside of the recvWindow.\n    at /srv/node_modules/binance-api-node/dist/http-client.js:93:17\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n    at async g (/srv/dist/server.js:1:49917)\n    at async execute (/srv/dist/server.js:1:72092)\n    at async execute (/srv/dist/server.js:1:69835)\n    at async /srv/dist/server.js:1:111689\n    at async CronJob.<anonymous> (/srv/dist/server.js:1:111527)","code":-1021},"debug":true,"msg":"⚠ Execution failed.","time":"2021-11-30T13:21:35.192Z","v":0}
I use docker on linux system. I restart docker without succes

Anyone else has a similar problem? I'm considering redeploying but do not want to drop database.

Just a shot in the dark, but is your machine's clock in sync with a time server?

Hi Rayn,
I have the same issue, when I start the bot on my computer (not updating). I am not raising another issue, but write here instead.
So, I am using the docker-compose.server.yaml file to run and I have the same error on my Windows and Linux machine, and I am highly think is not a bug, since I have just synced my clock.
Maybe it's not considering the TimeZone?
node:45) UnhandledPromiseRejectionWarning: Error: Timestamp for this request is outside of the recvWindow.
binance-bot      |     at /srv/node_modules/binance-api-node/dist/http-client.js:93:17
binance-bot      |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
binance-bot      |     at async g (/srv/dist/server.js:1:49917)
binance-bot      |     at async b (/srv/dist/server.js:1:109394)
binance-bot      |     at async p (/srv/dist/server.js:1:109847)
binance-bot      |     at async runBinance (/srv/dist/server.js:1:110795)
binance-bot      |     at async /srv/dist/server.js:1:118906

Nope, your computer clock is not sync with atomic time, or you've latency.
Go to the doc API and search for recWindow : https://binance-docs.github.io/apidocs/voptions/en/#change-log


[Fix #2686] Make the usage of EnvironmentUtils.getWildFlyHome() avoid…

…able in UserManager and WildFlyCli
An attempt to make the two classes flexible again.

This was merged in https://github.com/wildfly-extras/wildfly-camel/commit/522b360a5f7f76205f6034504e38558a65a78fe7.


(docs)(CONTRIBUTING): Add CONTRIBUTING.md file

Proposed changes
The commit format for this repo was a gotcha for me when I opened https://github.com/michael-ciniawsky/postcss-load-config/pull/30, so I figured I'd add this. The other rules are from the checklist used by the template.
Types of changes
What types of changes does your code introduce
Put an x in the boxes that apply

[ ] Bug (non-breaking change which fixes an issue)
[ ] Feature (non-breaking change which adds functionality)
[ ] Breaking Change (fix or feature which changes existing functionality)
[x] Documentation

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING guide
[x] Lint and unit tests pass with my changes
[x] I have added tests that prove my fix is effective/works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes are merged and published in downstream modules

Reviewers: @michael-ciniawsky, @ertrzyiks

:warning: Pull Request - Issues :warning:

Commit: 3d169bfd770e5f25e1cb49e0b291e64cc694cffa
Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

This message was auto-generated by https://gitcop.com

Coverage remained the same at 85.714% when pulling 3d169bfd770e5f25e1cb49e0b291e64cc694cffa on pcgilday:contributing-file into 0f53d081761790bc8379907eabbc7d902c72b06e on michael-ciniawsky:master.

Coverage remained the same at 85.714% when pulling 50ffb3cdad589a2259a8feb98ac26367e84b1ca4 on pcgilday:contributing-file into 0f53d081761790bc8379907eabbc7d902c72b06e on michael-ciniawsky:master.

Coverage remained the same at 95.0% when pulling f547eae38dccb87cf37d45895599a7c0bb031d0f on pcgilday:contributing-file into d42d41ea9dad81eadcca854d7e7f4edb8359ba75 on michael-ciniawsky:master.


Soto with Vapor and MinIO - Error with putObject() and file handle payload

I'm using Soto (5.0.0-rc.1.0) with a Vapor (4.35.0) project against MinIO (https://min.io). This is all local with MinIO installed from Homebrew and running on macOS with Xcode. I have set up a Vapor service per https://soto.codes/user-guides/using-soto-with-vapor.html and have success with Soto using putObject() and a String payload. I've also had success with getObject() and getObjectStreaming() pulling data back and writing out with NIOFileHandles. However, when using putObject() and an AWSPayload from a NIOFileHandle, I receive the following logging and error:
Request:
  PutObject
  PUT http://<IP_ADDRESS>:9000/projectimage/64C40105-BC8E-470F-915E-51F28805072D.png
  Headers: [
    x-amz-acl : public-read
    Content-Length : 91639
    user-agent : Soto/5.0
    content-type : application/octet-stream
  ]
  Body: raw (91639 bytes)
Response:
  Status : 403
  Headers: [
    date : Thu, 14 Jan 2021 01:11:03 GMT
    content-security-policy : block-all-mixed-content
    vary : Origin
    x-xss-protection : 1; mode=block
    content-length : 475
    server : MinIO
    x-amz-request-id : 1659F4096A20C330
    content-type : application/xml
    accept-ranges : bytes
  ]
  Body:
  <Error>
  SignatureDoesNotMatch
  <Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
  <Key>64C40105-BC8E-470F-915E-51F28805072D.png</Key>
  <BucketName>projectimage</BucketName>
  <Resource>/projectimage/64C40105-BC8E-470F-915E-51F28805072D.png</Resource
  <RequestId>1659F4096A20C330</RequestId>
  <HostId>5c9ff981-2895-4a6e-9847-53244f40bca7</HostId>
  </Error>

Here is the Vapor route handler code:
func profilePicture(_ req: Request) throws -> EventLoopFuture<Response> {

        struct Input: Content {
            var file: File
        }

        // get user
        let user = try req.auth.require(User.self)

        // get input
        let input = try req.content.decode(Input.self)

        // get temp path for dir and file
        let pathDir = req.localFileService.profilePicTempUploadPhysicalPath(userId: UUID.init())
        let pathFile = pathDir + input.file.filename

        // create temp path
        try FileManager.default.createDirectory(atPath: pathDir, withIntermediateDirectories: true, attributes: [ : ])

        // open file...
        return req.application.fileio.openFile(path: pathFile, mode: .write, flags: .allowFileCreation(posixMode: 0x744), eventLoop: req.eventLoop)
            .flatMap { handle in

                // ...and write out...
                return req.application.fileio.write(fileHandle: handle, buffer: input.file.data, eventLoop: req.eventLoop)
                    .flatMap { _ in

                        try! handle.close()

                        // ...reopen for reading...
                        return req.application.fileio.openFile(path: pathFile, mode: .read, eventLoop: req.eventLoop)
                            .flatMap { handle2 -> EventLoopFuture<Response> in

                                let fileAttributes = try! FileManager.default.attributesOfItem(atPath: pathFile)
                                let fileSizeNSNumber = fileAttributes[.size] as! NSNumber
                                let fileSize = fileSizeNSNumber.intValue
                                let bodyData = AWSPayload.fileHandle(handle2, offset: 0, size: fileSize, fileIO: req.application.fileio)

                                // ...send to S3...
                                let putObjectRequest = S3.PutObjectRequest(acl: .publicRead, body: bodyData, bucket: "projectimage", contentLength: Int64(bodyData.size ?? 0), key: "\( user.uuid ).png")

                                return req.remoteFileService.s3.putObject(putObjectRequest)
                                    .map {putObjectOutput in
                                        print(putObjectOutput)
                                        try! handle2.close()
                                        return req.redirect(to: "/profile")
                                    }
                            }
                    }
            }
    }

Any suggestions on hunting down the SignatureDoesNotMatch error?

Hi,
Is there a reason you using the v5.0.0-rc1 instead of the actual v5 release?
v5.1 has some signing fixes which you won't have. Can you verify your code with v5.1?

Hi,
Is there a reason you using the v5.0.0-rc1 instead of the actual v5 release?
v5.1 has some signing fixes which you won't have. Can you verify your code with v5.1?

@adam-fowler Thanks for the reply and sorry for the oversight on the version update. I just updated to v5.1 and am seeing the same error.

@adam-fowler Thanks for the reply and sorry for the oversight on the version update. I just updated to v5.1 and am seeing the same error.

@joshjacob Can you remove the content-length parameter from the request. A streamed file should not set content-length. That is probably why you are seeing issues.
As an aside did you know there is a version of openFile which also returns a fileRegion which you can extract the file size from.
return req.application.fileio.openFile(path: pathFile, eventLoop: req.eventLoop) {
    (fileHandle, fileRegion) -> EventLoopFuture<Response> in
    let fileSize = fileRegion.readableBytes
    ...

@joshjacob Can you remove the content-length parameter from the request. A streamed file should not set content-length. That is probably why you are seeing issues.
As an aside did you know there is a version of openFile which also returns a fileRegion which you can extract the file size from.
return req.application.fileio.openFile(path: pathFile, eventLoop: req.eventLoop) {
    (fileHandle, fileRegion) -> EventLoopFuture<Response> in
    let fileSize = fileRegion.readableBytes
    ...

@joshjacob I'll remove the "content-length" header if signing s3 streams in the signer code so this is not an issue in the future

@joshjacob I'll remove the "content-length" header if signing s3 streams in the signer code so this is not an issue in the future


Unicode glyphs not showing in Firefox

I am having a problem getting Firefox to display some Unicode glyphs, in particular U+2A75 (eg numerical equality )
The problem is not related to fonts available to the OS, because the char can be seen in a terminal, nor is it confined to docs.raku.org. Here is a screen shot of a web site dedicated to Unicode in Firefox and in Chromium:

I have tried a number of config options, and trying to get the font-family changed, but nothing yet is successful. I have submitted a help ticket to Mozilla/Firefox.
The issue here is that perhaps in one of the pages we could indicate that when difficulties are encountered with Unicode glyphs, a user should try another browser.

tl;dr There's a config flag in Firefox to disable some code points. Set to False, and the glyph will be shown properly.
Mozilla came back to me with a reply about disfunctions with Unicode glyphs in some ranges. After Firefox 119, a new privacy key privacy.fingerprintingProtection was added.
Setting this to True prevents some Unicode ranges to be shown. So setting to False allows the glyph to be seen.
However, the key was introduced as a security measure, so setting to False is something to make an informed choice about: I'll not explain here as it's off topic.


Readme update

I have updated the readme.
fixes #36
If you can provide me how to build the project on a local device, I will add that as well.

I will review it soon. Thanks @sayeedkhannabil


Decide on whether to require Java 11 for starters.     Impact on JDBC feature for JPA starter.

If  we assume a Java 11 pre-req, we can explicitly bring in the jdbc-4.3 feature
OTOH, if we stay at a Java 8 pre-req, then, since the jpa-2.2 feature brings in jdbc-4.2, we could avoid explicitly specifying the jdbc feature in our starter server.xml.
This could result in a slightly different DS config:
https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_dep_configuring_ds.html

Maybe it is a good thing to require users install the same level of Java as the one in the containers, rather than a burden to be avoided.

Decision = Use Java 11, closing since we'll do as part of the starter impls.


test on both s3 and fs

Current coverage is 85.41% (diff: 100%)

Merging #21 into master will increase coverage by 2.40%

@@             master        #21   diff @@
==========================================
  Files            19         19
  Lines           312        336    +24
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            259        287    +28
+ Misses           53         49     -4
  Partials          0          0

Powered by Codecov. Last update ccf3b06...98b5e86


PHP8.0 support is an issue for PSALM

I mean, it impacts a lot while the fix is fast.

It seems that the dependency has been removed from psalm.

It seems that the dependency has been removed from psalm.


As a Geoconnex User, I would like to be able to use a graph view application that identifies data along a mainstem

Geoconnex users will come with different needs and skillsets which will dictate how they wish to interact with the Geoconnex system. It is anticipated that many of these users will not have the skills to use the more technical API and/or SPARQL federated service to meet their needs. Therefore a general purpose graph view application is to be create that will  be usable by the average person .

test

test

test 2

test 3

test comment 1

tc2

tc3

tc4

tc5

test to see if this comment is propagated to monday.com board

does this propagate to my monday board?


Allow non-portable path/file characters

Allow a way to circumvent the 'pedantic' path/file encoding feature of GNU Rocket.
Reasons:

In a few cases it's nice to be able to define relative or full file system path where GNU Rocket tracks are handled and located. Encoding prevents using "/" and/or "\" in the rocket base name. So defining paths with forced encoding would need chdir call or so, which then leads to other issues and portability challenges...

Quite many (desktop) operating systems are more flexible with naming conventions, so strict POSIX enforcing isn't nice for end users, who like to have whitespaces in path/file names, or something similar.

I'm not quite sure I understand the reasoning here, at least for the patch as-is. Allowing path-separators might make sense, yeah. But this here allows everything, even things that aren't allowed on desktop operating systems like Windows. For instance, colons are disallowed on Windows.
I would have expected this patch to do something more like:
static int valid_path_char(char ch)
{
	if (isalnum(ch) || ch == '.' || ch == '_')
		return 1;

#ifdef ALLOW_PATH_SEPARATOR
	if (ch == '/')
		return 1;
#endif

	return 0;
}

 	for (i = 0; i < path_len; ++i) {
 		int ch = path[i];
-		if (isalnum(ch) || ch == '.' || ch == '_') {
+		if (valid_path_char(ch)) {
 			if (pos >= sizeof(temp) - 1)
 				break;

(TBH, I'm not sure the compile-time switch above is nessecary, but I left it in to be conservative)
We'd probably also need something like this), to make sure the directories exist.

Alternative suggestion: what if the file I/O writing functions and path_encode could be wrapped to a new structure similar to "sync_io_cb" which can then be overridden by the developer?
It would give better options for persons to handle all kinds of file i/o challenges. Also it could give possibility to handle other portability issues that path_encode function currently doesn't handle, such as, case-insensitive vs. case-sensitive file systems. I would personally prefer to have the old rocket handling where it didn't attempt to encode path inputs at all so that the validity would be ultimately in demotool's hands.
The actual problem I'm facing is that my cross-platform demotool/player's end users tend to be, well..., "flexible" with naming conventions. :-) Users' usual pet-peeves have been: varying directory paths (=directory separators), whitespaces and dashes,. This worked well with rocket versions that did/do not have path_encode implemented.

Yeah, path_encode definitely caused a regression but I guess that I'm having quite verbose way of using GNU Rocket currently. :)
I committed a small alternative suggestion without a compile-time flag that would fix my current issue. I'm not completely happy with putting the path_encode callback function directly under sync_device struct but you can be the judge.
I'd also suggest following improvements:

Callbacks for write file IO for the enhanced portability.
default path_encode function should at least take into consideration directory separators. I'd assume that I'm really not the only one who uses "base" variable to deliver relative/absolute paths.

OK, so I did your second point here as #66, I hope it makes sense. I'll have a look at the first point as well, but that's a bit of a bigger change.

OK, the code looks nice now. But perhaps you could squash it all down to one commit now?

After thinking about this for a while, I think I'd rather provide a high-level key-value API to the user that gets passed serialized blobs instead or having IO callbacks in the long run. And if so, I think path-encoding will be out of our control.
So I think I'll close this for now. Thanks for the effort anyway :)

Sounds good! Any solution that gets rid of the current posix path encoding
(that even modern posix systems don't require/utilize) is fine. :)
On Feb 18, 2018 21:16, "Erik Faye-Lund"<EMAIL_ADDRESS>wrote:

After thinking about this for a while, I think I'd rather provide a
high-level key-value API to the user that gets passed serialized blobs
instead or having IO callbacks in the long run. And if so, I think
path-encoding will be out of our control.
So I think I'll close this for now. Thanks for the effort anyway :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rocket/rocket/pull/65#issuecomment-366539763, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABE9Hju3ldWaGP35V_R25gG5bMh53LO6ks5tWHcpgaJpZM4Qq4vN
.


Not opening on new VS Code 0.10.11 (Windows build) with plugin v2.47

There is Wind32 exception indicating it was looking for VS code bin installation on directory which is not matching my actual installation path (C:\Program Files (x86)\Microsoft VS Code\bin).
Easy workaround can be applied but tweaking the 'newPath' variable specified UNITY_EDITOR_WIN.
Sorry I am just new here. Just to post this issue in case anyone has similar issue and make author aware.
Brian
Detail
Win32Exception: ApplicationName='C:\Users\brian_liao\AppData\Local\Code\bin\code.cmd', CommandLine='"D:/MyProject" -r', CurrentDirectory=''
System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start ()
(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
dotBunny.Unity.VSCode.CallVSCode (System.String args) (at Assets/Plugins/Editor/VSCode.cs:383)
dotBunny.Unity.VSCode.MenuOpenProject () (at Assets/Plugins/Editor/VSCode.cs:669)

I also faced this issue. Plugin points to AppData\Local folder and my VS Code is default installed in Program Files

Same issue.
Win32Exception: ApplicationName='code', CommandLine='"F:/Projects/project" -r', CurrentDirectory='' System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start () (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () dotBunny.Unity.VSCode.CallVSCode (System.String args) (at Assets/VSCode/Plugins/Editor/VSCode.cs:360) dotBunny.Unity.VSCode.MenuOpenProject () (at Assets/VSCode/Plugins/Editor/VSCode.cs:646)


Please enable github Discussions

Please enable github Discussions to allow community members help collaborate and work on common queries.

OK, I have enable the discussions.


DF Chat Enhancement: using ingame time

Would it be possible instead of using the "actual time" a timestamp from "about time" or the corresponding "calender/wheater" module?

if it is nothing you want >> you can "push" me in the right direction and I will fork it and get my own version

The About Time module does not update the chat log with Game Timestamps. I would need to build that feature into the Chat Log as there's no way to know what "time" it was when a chat message was first posted. I can look into it and see. I will not add the About Time module as a dependency though as that would be too restrictive for the general public, instead I can just check at runtime to see if it is installed.

I think there is a misunderstanding (or I misunderstand how about time works...):
I just do not want the actual time stamp at all when I log something
but I want the "current timestamp from about time or from calender/wheater"
in calender/wheater you can start/stop the time, so there is always a "current game time" >> that is what I want in the log

You do not need the about-time/calendar weather timestamp. game.time.worldTime will return the foundry "time" in seconds since epoch, how you deal with that number is up to you. about-time supports converting that to a game time string, but even if the module is not installed you can use that value as a valid number of seconds since 0 time number.

This seems like a little bit too large for my current next release. I will have to include it in the next one along with #60

Hi FW, just came here to make a suggestion to add this feature. I see someone beat me to it.
To me, I wouldn't want to get rid of the normal time, but just add the game time as an additional stamp to each message. I understand there would be a bit more clutter in messages, but I think it's useful to keep both (maybe give GMs a toggle switch for it?).
To add on a little on tposney's suggestion of just using game.time.worldTime, it would return seconds as they mentioned, but I have an easy, if clunky, way to get it to work: just add a few fields in DFCE settings that the GM must fill out when turning on "game world time". Hours per day, days per year, etc.. I have a formula that already does something like this but don't want to clutter up the thread, just let me know if you're interested. Otherwise, just please accept my +1 for adding this feature.

@Shuggaloaf the main issue with this is that my module is System-Agnostic, and Calendars are much more complex than a simple seconds/minutes/hours/days. The Harptos calendar for D&D has names for every month, as well as special holidays that do not reside within a month. It's a level of complexity that I'd much rather not deal with.
Alternatively, if I can obtain the date string generated by some kind of calendar, that would be much more preferred. I'll have to look into SimpleCalendar and see if unsoluble's API can give me a good solution.

Calendars are much more complex than a simple seconds/minutes/hours/days.

Very true. I completely forgot I had some table magic going on with the macro to pull my Month and Day. Sorry about that!

look into SimpleCalendar and see if unsoluble's API can give me a good solution

Do you mean unsoluble's SmallTime or vigoren's Simple Cal? ;-p
Simple Cal has a great API and I remembered that I'm actually already pulling a date from SC so I'll plop (a distilled version of) the code here for you...
const Month = SimpleCalendar.api.getCurrentMonth();
const Day = SimpleCalendar.api.getCurrentDay();
const Weekday = SimpleCalendar.api.getCurrentWeekday();
ChatMessage.create({
    content: `Today is ` + Weekday.name + `, ` + Month.name + ` ` + Day.name + `, ` + Year.numericRepresentation
});```

So for my calendar, this displays `Today is Moonsday, Renewfest 1, 1499`

Hope that helps more than confuses!

@flamewave000 I also just remembered that due to a a request I made over on the Small Time thread, Vigoren (of SimpleCal) got involved and added(/is adding) some ways for other mods to pull info from his. Not sure if this might help you, but here's the link...
https://github.com/unsoluble/smalltime/issues/80

I know this request has been a VERY long time coming. I really appreciate everyone's patience.
I'm happy to say I've been able to integrate with the SimpleCalendar API and logs can now display the Date and Time according to what is set by that module.


Fixed typo in docs/intro/contributing.txt.

Should be "at least a few minutes to run", not "a few minutes run".

@chosak Thanks :+1:


Use keyword arguments for legibility

This PR solves issue #134.
Use keyword arguments for all public API methods with more than two arguments.
The Contracts type-checking gem allows for this with the KeywordArgs label. However, this only works with Ruby 3 in v0.17, and Ruby 2 in versions below 0.17. Therefore I added some conditional versioning to the gemspec.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


Property panel is not working for saga EIP

Describe the Bug
Property panel is not working for saga EIP
Steps to Reproduce the Bug or Issue

create route
add saga model
select sage node
--> the property panel has an error Field not found in schema: "option.$"

Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

duplicates #448


Fix several typos on macvlan docs

Signed-off-by: Erich Cordoba<EMAIL_ADDRESS>

ping @nerdalert

LGTM, thanks @ericho!

LGTM


Only pin specific PyYAML for python 3.4

This commit conditionally specifies the PyYAML version installed as a
ParallelCluster dependency based on the version of python used.
PyYAML 5.3 is not compatible with python 3.4, so for this version of
python, pin to 5.2. Otherwise, use the latest compatible version.
Note that the corresponding requirements.txt still pins to 5.2.
Signed-off-by: Tim Lane<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can you please explain what you mean with
"Note that the corresponding requirements.txt still pins to 5.2."
I see in the requirements.txt there is a
PyYAML>=5.1.2

The most recent version pins to 5.2. It was merged into develop as part of this PR: https://github.com/aws/aws-parallelcluster/pull/1578.

Can you please explain what you mean with
"Note that the corresponding requirements.txt still pins to 5.2."
I see in the requirements.txt there is a
PyYAML>=5.1.2

The most recent version pins to 5.2. It was merged into develop as part of this PR: #1578.

OK, I was looking at the wrong code version =)
In the past we had different requirements file depending on the python version, see https://github.com/aws/aws-parallelcluster/tree/v2.0.0/cli
not sure but maybe an idea could be to have a requirements34.txt with "PyYAML>=5.1.2, <=5.2", and a requirements.txt with just "PyYAML>=5.1.2"


Have you conducted ablation experiments on the “cls_to_coord_res” ?

Hello, thanks for this great repo.
Have you conducted ablation experiments on the cls_to_coord_res parameter? It appears to have a very large value.
https://github.com/Parskatt/RoMa/blob/370117431ffc5dc000fb46f6e581b74bdb2c3ff8/experiments/train_roma_outdoor.py#L31

Nope. I dont want it to be too small but maybe 48 should be fine.


Check for update not working behind proxy

Need the application to be able to check for updates behind a proxy, or be able to disable the automatic update check on launch.

Duplicate of issue #689  Please see that issue for progress on this issue


Get-Position-of-Mouse

I have solved the issue of Get-Position-of mouse #422,
Idea behind the project.
Like we the programmer our day start with touching with mouse and keyboard, we often slide our mouse to do our job. So, I designed this project based on the movement of the mouse.
How does it work.
Like whenever anyone moves his cursor anywhere on the screen he will get the Correspondance dimension of the mouse as the distance from X-axis and Y-axis.

Due to some issue.


about the sampled output of bayes by backprop

Hi, in BBB, we sample the outputs several times (5 for example) when testing. This is due to the nature of MC. But how do we use these 5 outputs of one sample? Averaging them? Summing them? Or just take the best one as this sample's output vector? Are there any theory about how to use these sampled results? Thanks!

Answer: For classification, we sample the weights of the whole network and compute the output given an input, for each of these samples. We then combine the predictions by averaging in probability space (not in logit-space). For regression we do the same, but now the output of the network is a mean and standard deviation - or other parameters if you're using another output distribution, we use a Gaussian. To combine these into a single gaussian, we average over means to get a single mean, and for the standard deviation we compute Total variance = Variance of predicted means + Mean of predicted variances. This is called the law of total variance.
Extra: In BBP, similar to any other MC-based algorithm for BNNs we sample the posterior over weights p(w | data), and then plug these samples into the likelihood p(y* | x*, w), to get an MC estimate of the posterior predictive p(y* | x*, data) = \int p(y* | x*, w) p(w | data) dw, where x*, y* is a new input-label pair. We need to do MC because the integral is otherwise intractable. The proper way to combine these samples is to follow the MC recipe, which is: \int p(y* | x*, w) p(w | data) dw = 1/N \sum_{n = 1}^N p(y* | x*, w_n), where w_n are samples from p(w | data). For classification this clearly means averaging over probability space. For regression the sum will be a mixture of gaussians, as a function of y*. In our case, we choose to simplify this to a single gaussian using the law of total variance.
Theory pointers

Total variance: https://en.wikipedia.org/wiki/Law_of_total_variance
Uncertainty decomposition: https://arxiv.org/pdf/1710.07283.pdf
General MC theory: https://www.microsoft.com/en-us/research/uploads/prod/2006/01/Bishop-Pattern-Recognition-and-Machine-Learning-2006.pdf

Hope this helps and thanks for your question!

Hi, besides the sampled output of the network, the loss and kl of each sample is also the average over 10 sampled times' loss and kl, am I correct?

Also in BayesByBackprop_MNIST_GMM.ipynb, should out first be sqeezed into Softmax then averaged before counting wrong predictions when training (you average the probability when testing in sample_eval() by mean_out =  F.softmax(out, dim=2).mean(dim=0, keepdim=False))? Thanks!

Hi,

Hi, besides the sampled output of the network, the loss and kl of each sample is also the average over 10 sampled times' loss and kl, am I correct?

Yes, that is the case. Note that a larger number of samples will provide a lower variance estimator of the ELBO.

Hi, I have a doubt about the measurement of epistemic uncertainty and aleatoric uncertainty. We can decompose predictive uncertainty (i.e. the entropy of softmax distribution of a classification task) into uncertainty of test input (i.e. AL uncertainty) and uncertainty of model weights (i.e. EP uncertainty). But I found that when calculating uncertainties in this way, the posterior distribution is mostly approximated by Bernoulli (i.e. Variational Dropout). I wonder that if I use BBB to perform inference, can I also calculate uncertainties in this way?
Besides, I also find another way to calculate AL and EP uncertainties Uncertainty quantification using Bayesian neural networks in classification: Application to ischemic stroke lesion segmentation (https://openreview.net/pdf?id=Sk_P2Q9sG ), which models AL and EP uncertainties in a variance way rather than an entropy way. Due to my limited knowledge, I couldn't tell the difference (and connection) between these two ways of uncertainties. If we can have a discussion about this, I will be very thankful!


Use .j2 extension on django local settings template files

per #164

rename template files so they use .j2 extension
update variables referencing template files
update templates extending base template file'

(unintentionally introduced some formatting changes, I'm trying out a new editor)

Looks good. I would not remove the newline at the end of every file, but that's one of those whitespace things that every editor (and every person) does differently.

@acozine thanks for reviewing. I usually only apply aggressive whitespace cleanup and code formatting to specific files but was trying out the Zed editor for this and don't know yet how to customize the auto-format to make it file-type specific. I'm not sure it's worth the time to undo the whitespace changes now, but maybe should establish pre-commit formatting hooks for this repo like I have for others so that it will be consistent even if different people and editors do things differently.


after loading my company's airplanes, received error message and now page only reloads white

using the version hosted on your website
hitting refresh still results in a blank page in chrome
is there somewhere to delete some kind of local storage or cache?
still works with the local version and on ms edge

Open FSE Planner, then open de Developer Tools (F12):

Browse to the Storage (Firefox) or Application tab
Under Local Storage on the left, right click https://piero-la-lune.fr to clear the local storage

Firefox:

Chrome:

If the issue persist, could you please:

Click on FSE Planner version number, on the top left of the screen
Click on "Debug": it should offer you a file called debug.json to download
Download the file and share it with me

Hopefully it should give me all the necessary info I need to reproduce your bug and then fix it.

Thanks!
If it happens again I'll send a report

From: piero-la-lune @.>
Sent: Friday, May 14, 2021 5:13 AM
To: piero-la-lune/FSE-Planner @.>
Cc: jonasbeaver @.>; Author @.>
Subject: Re: [piero-la-lune/FSE-Planner] after loading my company's airplanes, received error message and now page only reloads white (#64)
Open FSE Planner, then open de Developer Tools (F12):

Browse to the Storage (Firefox) or Application tab
Under Local Storage on the left, right click https://piero-la-lune.fr to clear the local storage

Firefox:
[image]https://user-images.githubusercontent.com/614507/118248838-09af0280-b4a5-11eb-9022-03d8c486c69b.png
Chrome:
[image]https://user-images.githubusercontent.com/614507/118248757-f7cd5f80-b4a4-11eb-86b1-d1b3d7cdac1b.png
If the issue persist, could you please:

Click on FSE Planner version number, on the top left of the screen
Click on "Debug": it should offer you a file called debug.json to download
Download the file and share it with me

[https://camo.githubusercontent.com/f018e256c041173a64f0150f0faa1fde52999985634aa3af86964bd780452165/68747470733a2f2f736e6970626f6172642e696f2f44644e7848652e6a7067]https://camo.githubusercontent.com/f018e256c041173a64f0150f0faa1fde52999985634aa3af86964bd780452165/68747470733a2f2f736e6970626f6172642e696f2f44644e7848652e6a7067
Hopefully it should give me all the necessary info I need to reproduce your bug and then fix it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/piero-la-lune/FSE-Planner/issues/64#issuecomment-841121117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ5S4ZXET234XJEVCQLNM4DTNTSTNANCNFSM4427K5LQ.

I ran into this as well recently.  I believe it was complaining about an icao object missing.  If I see it happen again, I'll post debug for ya as well.

Thanks to another user bug report, I have been able to reproduce and fix the bug (it was caused by "in flight" planes when loading planes from FSE).
I have also improved the user experience, in case something similar happens again: an error message will explain what to do, instead of a simple white screen.


Remove unnecessary mixins

keyframes should not be used, as we have autoprefixer
micro-clearfix should not be used as it uses extend (extending class from bootstrap), and bootstrap already provides clearfix mixin, which is better
remove unnecessary use of transition mixin

LGTM


toastr.clear() and toastr.active() don't work!

I tried to dismiss programmatically all opened toasts (errors): unfortunately they remain on the screen. Moreover toastr.active() doesn't return a list of toasts but the number of toasts opened.
Thanks,
Maurizio

+1, spent 30 minutes so far trying to make that a specific toast that displays a loading / processing icon is showing only once but can't get it to work and gonig nuts now.


Fix support of multiple queries in a single request

At some point the support for sending multiple queries in a single request broke due to an issue with encoding the ; character that separates queries in the URL. See issue #10.
This PR applies the solution suggested by @b00m18: using another variant of webread that encodes the query separator as InfluxDB expects it.

The response is working fine now.

Cool, thanks for checking :)

I can't test the changes in InfluxDbTest.m

That's fine, the automated Travis build passed (wasn't reported to Github for some reason)
https://travis-ci.org/github/EnricSala/influxdb-matlab/builds/753784756

The response is working fine now.

Cool, thanks for checking :)

I can't test the changes in InfluxDbTest.m

That's fine, the automated Travis build passed (wasn't reported to Github for some reason)
https://travis-ci.org/github/EnricSala/influxdb-matlab/builds/753784756


Provide native Bash script for launching host gVim from WSL

Recent Windows Insider builds break gvim.bat when launched from WSL2 (bug report). Even prior to this change, though, invoking gvim.bat correctly from within WSL2 was tricky and error-prone (here was my attempt).
Running the native Windows gVim from WSL is helpful for editing WSL files in a GUI editor without configuring x11 forwarding (WSL does not yet have any way to use native Windows graphics).
A native Bash launcher script provided as an optional component of the Windows installer would be helpful. Just like gvim.bat, it could have a hardcoded path to the Vim directory. Here is a script that I've written, which could be used as the basis for an "official" script.

not sure I follow (and I did not understand the wsl2 bug report). Is there a reason, you cannot put $VIM in your $PATH and just call gvim.exe directly?


Incorrect Alert - Book not available in Null appears  in parallel view -On selecting a text and not performing any action.

Issue Description ;
On selecting a text without performing any action (Highlight/Notes/Share) and upon immediately selecting a book from parallel view.
Incorrect alert - The book you are reading is not available in Null-   The selection made during test was Hindi IRV.  We can remove this alert.
Steps:
Open any book - Hindi IRV- John 1
Select any text
Observation:
The color tray appears
Without performing  any action (Highlight/Notes/Share) , switch to parallel view
Observation :
The reminder alert: Your text is selected ,please perform an action.
Now in the parallel drop down ,select a book say English ASV
Observation : The below alert appears
The book you are reading is not available is null , which is incorrect.
Expected:
The selected book English ASV is available and hence the alert is incorrect and should not be displayed.
It should display the selected book.

Fixed