SCSS path in nuxt.config not resolved

Version
v2.4.0
Reproduction link
https://jsfiddle.net/
Steps to reproduce

What is expected ?
To import the scss file
What is actually happening?

Additional comments?
Working fine until 2.4.0
Node-sass and sass-loader installed.
Tried all sort of paths (@/, @, ~/, ~, /) and none of them work.
Removed node_modules and reinstalled them, removed package.lock.json...

This bug report is available on Nuxt community (#c8567)

You say that manually installing the sass-resources-loader did the trick for you, how in the world did you 'manually' install it though. Can someone please explain that to me, been searching for this stupid problem for hours now...
@chiptoma  @manniL

@Mertakus
npm install --save-dev sass-resources-loader

put this to your nuxt.config:
render: {
bundleRenderer: {
shouldPreload: (file, type) => {
return ['script', 'style', 'font'].includes(type)
}
}
}
references: https://nuxtjs.org/examples/global-css/

@galuhramaditya: the render declaration seems not be required, if you ensure, that these packages are installed:
sass-resources-loader
sass-loader
node-sass
so the following command should do the trick:
npm install --save-dev sass-resources-loader sass-loader node-sass

step1:
npm i -D @nuxtjs/style-resources sass-loader node-sass
step2:
module.exports = {
    // Other nuxt.config.js

    modules: ['@nuxtjs/style-resources'],
    styleResources: {
        scss: [
            'assets/scss/file/_path.scss',
            'assets/scss/file/_path-two.scss'
        ]
    }
}

work for me!

Same issue for me on "nuxt": "^2.10.2"
 ERROR  Failed to compile with 1 errors                                                                                friendly-errors 08:48:07

This relative module was not found:                                                                                friendly-errors 08:48:07
                                                                                friendly-errors 08:48:07
* ../client/assets/sass/main.scss in ./.nuxt/App.js                                                                                friendly-errors 08:48:07
ℹ Waiting for file changes                                                                                08:48:07
ℹ Memory usage: 244 MB (RSS: 359 MB)

I don't know what in the world, but I couldn't get it working on my end, already tried all the suggestions above, read Nuxt Globel CSS documentation and still no luck, hmmm

Npm i

When creating a nuxt app I chose vuetify and now I've removed it, and had the same issue.
Following the 2 steps in this comment solved my issue.


securefs: 0.3.2 -> 0.8.1

Semi-automatic update. These checks were performed:

built on NixOS
ran /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1/bin/securefs version and found version 0.8.1
found 0.8.1 with grep in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1
found 0.8.1 in filename of file in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘securefs-0.8.1’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/filesystems/securefs/default.nix:23 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
-- Install configuration: "Release"
-- Installing: /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1/bin/securefs
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1
shrinking /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1/bin/securefs
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1/bin
patching script interpreter paths in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1
checking for references to /tmp/nix-build-securefs-0.8.1.drv-0 in /nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1...
/nix/store/r1icgafqy02cz35kjkxr86hxj8mj1nyv-securefs-0.8.1

Success on aarch64-linux (full log)
Partial log (click to expand)
-- Install configuration: "Release"
-- Installing: /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1/bin/securefs
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1
shrinking /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1/bin/securefs
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1/bin
patching script interpreter paths in /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1
checking for references to /build in /nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1...
/nix/store/wm9ra2fgj4ksr1zgf3d52r1mbrj5q2gr-securefs-0.8.1


Meaningful description in search results

Now that we added description in https://github.com/ipfs/specs/pull/408 we should use it to add meaningful header for SEO (https://developers.google.com/search/docs/appearance/snippet):
<meta name="description" content="TODO">

@hacdias mind adding while we are at this? :pray:

Eg

Ah, yes, I looked at cached HTML, my bad :sweat_smile:


Multiple syntax error on latest build of standalone report

Hi,
When compiling de latest build of the standalone report I'm getting muliple syntax errors.

Please, check attached screenshot.
Thanks!

thanks what is your SAP_BASIS version?
I'm guessing its all inside class https://github.com/larshp/abapGit/blob/master/src/objects/zcl_abapgit_object_wdcc.clas.abap in the report, can you help checking?

Hi,
we are running 702 release version of SAP_BASIS.
And yes, you guessed right... all syntax error are in the class zcl_abapgit_object_wdcc in the implementation methods of the interface zif_abapgit_object (~delete, ~serialize, and ~deserialize)
After commenting the local class the report has activated correctly,
Many thanks for your help!

@eljoaco try again, latest version, if there is still problems feel free to reopen this issue

Thanks @larshp , latest versión worked perfectly fine 👍

and thanks to @mbtools that actually fixed it 💪


UX: uv run's --frozen flag silently ignores --resolution (and presumably --prerelease) arguments

setup
export UV_NO_CONFIG=1
uv init --lib test
cd test
uv add "pytest>=7.0"
uv lock

now
uv run --frozen --resolution=lowest-direct pytest

outputs
=========================================== test session starts ===========================================
platform darwin -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /private/tmp/test
configfile: pyproject.toml
collected 0 items

========================================== no tests ran in 0.00s ==========================================

(evidently we still have pytest 8.3.4 != 7.0)
Arguably the behavior is correct, assuming --frozen is expected to take precedent over --resolution, but my issue is that this happens silently, whereas a helpful warning is shown if I drop the --frozen flag
uv run --frozen --resolution=lowest-direct pytest

Ignoring existing lockfile due to change in resolution mode: `highest` vs. `lowest-direct`
Uninstalled 1 package in 16ms
Installed 1 package in 9ms
=========================================== test session starts ===========================================
platform darwin -- Python 3.13.1, pytest-7.0.0, pluggy-1.5.0
rootdir: /private/tmp/test
collected 0 items

========================================== no tests ran in 0.01s ==========================================

I think the same problem might exist with --frozen + --prerelease options (although I'm not sure how to check it right now).
In hindsight, it's pretty obvious to me what I did wrong here, but it took me a couple minutes to figure it out the first time I made this mistake because I wanted to call uv run exclusively with the --frozen flag, and conditionally included --resolution arguments.
It might also bite anyone who sets the UV_FROZEN environment variables.
I think a warning might be sufficient to pin point the issue, although an error would make sense too. Whatever type of message is emitted, it should probably pop up only when the value attached to --resolution (or --prerelease) isn't compatible with the existing lock file.

I'm a little torn... I guess we could show a warning like the above. Erroring seems potentially problematic since it would lead to errors if both or one were set via an environment variable.


Update aws-java-sdk-dynamodb to 1.12.656

About this PR
📦 Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.656
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #539.


Add manifest

Will add marketplace support so more people are aware of your extension.
You also need to add "spicetify-extensions" tag to your repository in order for it to work.
https://github.com/CharlieS1103/spicetify-marketplace

Thanks for adding that.
If you could fix the typo in the manifest on the "main": "neverAutopplay.js", (should be only one "p") I'll merge that in and add the tag at the same time

Done @39digits


Debugger for Chrome extension not working

VSCode Version: 1.6.1
OS Version: Windows 7 SP1

Steps to Reproduce:

Install it , enable it etc...
Try to use it as a debugger
It does not show as an option:

The drop down doesn't show debuggers but launch configs. Please read https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome for how to use the debugger.


arith_binary_func() wrongly casts number arguments

If the lhs is a number and the rhs an array (or vice-versa) the lhs will be casted to the type of the rhs. This is inconsistent with the C++ API (there's no C API for such a case).
The array created out of the lhs should have the arrayfire types that matches the type of the lhs, or raise an error is no such type exists.

This can also cause seg faults when the types of lhs and rhs are different, for example:
import arrayfire

arrayfire.pow(1.0,1.0)+1


Add tag db.type for encache,guava-cache plugin

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

First , Add db .type  for  guava , encache which  miss the  tag
related  issue  https://github.com/apache/skywalking/issues/9556

Let's start from listed all relative plugins, which are cache plugins.
Then we could check tags usage and adjust them one by one.

Make cache tags to replace database tags
Add tags for keys
Define op tags(read/write/enqueue/etc.) and implement them in plugins.

redis commands : https://github.com/redis/jedis/blob/master/src/main/java/redis/clients/jedis/Protocol.java#L218
memcached : https://github.com/memcached/memcached/wiki/Commands
redis is the  most complex  ,  I'll  try it  first .

Look like this
public class OperatorParser {

    private static final Map<Command, String> MAPPING = new HashMap<>();

    static {
        MAPPING.put(Command.GET, "READ");
        MAPPING.put(Command.HGET, "READ");
        MAPPING.put(Command.MGET, "READ");
        MAPPING.put(Command.ZCARD, "READ");
        MAPPING.put(Command.ZCOUNT, "READ");
        // ....
        // ....
    }

    public static String parse(Command command) {
        return Optional.ofNullable(command).map(MAPPING::get).orElse("Other");
    }
}

Do  you have  better way ?

We could provide a  tag  named cache.command  ,   user can config which command should be  analyzed in OAP .

https://github.com/pg-yang/skywalking-java/blob/feature/virtual-cache-v2/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/OperationParser.java
It's  my code  for  converting command  to op .

To easy the configurations, I think we only need read/write and default(cmd in your configuration?). Then the worst case when we missed something, is that, we don't treat it as a read/write command.

We could provide a tag named cache.command , user can config which command should be analyzed in OAP . Or mapping command to op(write/read/etc) , It's simple string match , such as
Write:
  - GET
  - HGET
Read:
 - SET
 - SETNX
 - HSET

Actually , business application just use a few command in cache system

Yes, we just need READ or WRITE tag if we could identify them.

How about  we  provide mapping mechanism from  command  to  op  in OAP . we support two  group  (read/write) analysis .
This mapping  could be  configured  by  user  .  User  make that  which  command  is write  or  read

So, We put the mapping  configure to  plugin side .

I have done  a  demo  for  plugin .  I  add  a  module named  virtual-cache-helper.
Cache plugin must call HelperInitiator#register , this method  will return a Function  that convert command  to  op

Where does this class place? I think this is plugin specific only?

HelperInitiator will  be  put  to  a  new  module named  virtual-cache-helper , this  module is  submodule  of apm-sdk-plugin , and  it's  responsible for parsing the configuration , providing  uniform convert function
All  cache plugin  will  depends  this plugin  .

Why we need to share? I think the command is tech stack relative.
Do you want to redis clients sharing?

Why we need to share? I think the command is tech stack relative. Do you want to redis clients sharing?
jedis  , guava-cache,  memercached  , all cache plugin need to  depend it

Why? Their command should be different, I think we could have their own? It is better we don't set plugin dependencies. This would be more friendly.

Every  cache plugin  should  have  own  config for   Write/Read  mapping , even  if  their comma is  different . This module only math String command  to operation .
If  we  don't  want  adding  dependency to  cache  plugin , we  could  use   maven shade plugin   for  merging  common  class  to  every cache plugin .

Every plugin commands are different, I think copying the codes into various plugins under different package names is fine.
Jedis has nothing to share with Ehcache commands, right?

https://github.com/pg-yang/skywalking-java/blob/feature/virtual-cache-v2/apm-sniffer/apm-sdk-plugin/virtual-cache-helper/src/main/java/org/apache/skywalking/apm/plugin/vcache/helper/HelperInitiator.java

I didn't read this from my cellphone at this night. I just checked I think you made things too complex.
As a mapping, I think you just need a map like your previous version. Simple, fast and clear

No problem , Just  need  a  config .

Update  ,define following  tag for all cache plugin

cache.type , represent  which cache system is used
cache.op , represent the command for write or  read
cache.cmd represent command which  send to cache system
cache.key  represent key which  send to cache system , nullable

Provide  following config  for  all  cache plugin (Java  filed format)

Set<String> OPERATION_MAPPING_WRITE , which  command should be  mapped to write
Set<String> OPERATION_MAPPING_READ ,which  command should be  mapped to read

Make sense to me, please go ahead. We need to find a place to doc these tags and meanings in Java agent and backend.
I will back to this thread later.

Could you send a pull request to here https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#advanced-apis (after the whole Advanced APIs section)?
We should add reserved tags, the new added tags and database relative tags should be defined here.
Database relative tags could refer from codes and the backend doc
A new backend doc for virtual-cache should be added later

OK.

Let's finish virtual-cache first , then coding ,  we  could agree through the doc.

I  think  this PR would not  be  merged util the work in OAP finished , it's better wait I finish the test of  OAP and plugin .

I will review the change, I think this PR doesn't have side effects. Users could use it for previous OAP, as we don't analysis anything before.
We could add v8.13.0 Java agent and required tags in the OAP doc.

I'm  disheartened  to write doc .  Thanks , You  are   patient

I'm disheartened to write doc . Thanks , You are patient

I would like to help with docs writing if you have any trouble.


Generic flows handling error/logging/discarding errors

What is this PR trying to achieve?
To implement the progress service to keep track of progress and send messages to the caller service (and for many of the other akka-stream based services)  it's useful to handle failures consistently.
This change adds some flows for dealing with error cases and utilises them in core progress functionality.
Who is this change for?
🏭

Closing as subsumed by #2690


[decl'HDF5] HDF5 compression

In GitLab by @mtrochon on Jun 17, 2024, 10:34
I am trying to use compression in Gysela. I modified the yaml file as the image shows, in the output log it's written that Decl'HDF5 does use deflate. But I don't see any changes regarding the time and the output file sizes.
image

Can you provide us with your full yaml & log in text format, please?

In GitLab by @mtrochon on Jul 2, 2024, 09:28
Good morning,
I checked the compression and indeed it works.
The problem was that i compile gysela+GNU+PDI which gave a very bad compression (from 1.1T to 1.05T)
So, I compare it with gysela+Intel+HDF5, where i got good results (from 1.1T to 500GB)
Then, i checked gysela+GNU+HDF5, and I got the same result as the first tests.
So the problem is between GNU and HDF5_compression, and I will look more into it. Sorry for the trouble !

No worry, thanks for the feedback.

also, can you actually check the compression level of each datacheck as described in https://stackoverflow.com/questions/70202779/determine-if-a-hdf5-file-created-with-h5py-is-compressed-or-not


[fix] Fix For Error Code Collision Due To 8-bit Component Code

The component names were 8-bit fields and the associated code for the components were more than 8-bits. Due to this, the components names greater than 256 were overflowing, rendering the error codes incorrect.

Closing the PR because the latest merge with main caused a panic to be introduced.


Typescript error with producer in latest version: 'expected one arguments, but got two'

[x ] Issue:
I use produce for a reducer like this

export default (
  state = initialState.search,
  { type, payload }: SearchActions
): Partial<RootState> => (handlers[type] ? produce(handlers[type])(state, payload) : state);

While this still works fine it now raises a Typescript error in the new (1.2) version: 'expected 1 arguments, but got two.'
I looked at the typings and I don't grasp why they don't work as they seem to have an overload for this.
I will try to produce a codepen of the issue in the next day or two.

example of typescript error: https://codesandbox.io/s/4047no7q77?module=%2Fsrc%2Freducer.ts

As a work around: produce<any, any> will fix it, will see if we need some overload reordering to improve it

Check, the inference of this producer has changed indeed, however, the current typings are better, as in the old setup even typed producers with arguments would always infer there arguments to any. So I'll keep the typings as is, as they, in general, infer better typings.
So for now, if TS cannot infer the amount and types of arguments of the producer function (like in this example), explicitly type producer, like produce<any, any>(handler), ideally, you make the typing more strict by giving as first argument the type of state, and as second generic the type of the payload'
To fix the generic case, TS needs support for generic Variadic types: https://github.com/Microsoft/TypeScript/issues/5453

Thanks for you response. As you suggest, this does the job produce<UserState, Actions>


Documentation about Suspenсe in React outdated, cuz React 18 is realised

https://gqty.dev/docs/react/suspense

gqty is not compatible with React 18 yet. We are working on it, contributions are also welcomed.

i'm not talking about gqtt. Im talking about React 18. In your documentation not correct information about React

@MaxmaxmaximusAWS I'm not a maintainer, but these kinds of changes are fortunately easy to do oneself. I simply scrolled down on the how to contribute page, and found that the docs are under "internal/website/docs", so I browsed the repo, and went here, and clicked edit in the upper right corner, edited the text, and  simply followed the steps to create a pull request. Here is the subsequent PR that resolves this issue: https://github.com/gqty-dev/gqty/pull/971

closed by https://github.com/gqty-dev/gqty/pull/971 thanks @redbar0n


destructible object idtype

hello!
great work as usual with the latest update!
another question:
if i want to pickup a destructible object, am i wrong to assume that i can do the same way as with the physical object to be able to grag them but add another grab function but set the object type id for destructibles so i can grab them but when released the fall appart in chunks? in that case, which id corresponds for the destructibles?

Hi Juan!
Are you referring to the new simplegrabber component? with the simoplegrabber, by default, anything that has collision set to physics actor and has generate overlap events toggled will be "grabbable".
you only need an object type/collission channel if you want to be more "selective" of which actors in your scene can be grabbed.  As long as you toggle "Enable Physics" your destructibles should also work as normal.
let me know if that helps of if I misunderstood your question.

Configurable object types now avaliable in Update 3.0


Slim 4 running out of memory when long URLs are passed in

I have the following code:
use Slim\Factory\AppFactory;
require_once 'vendor/autoload.php';

$app = AppFactory::create();
$app->run();

I call it with this URL:
https://localhost:8443/api2/test/asdf/asdfasdfasdfasdf/asdfasdf/asdfasdf
My Apache server then crashes:
[crit] Memory allocation failed, aborting process.

My main concern here is the this represents a Denial of Service attack against my server, using routes that aren't even configured, so there's nothing I can do to stop it.

I’m not sure what the exact issue is here. I’ve never encountered this problem. It’d be great to have the stack trace that preceded this failure to gain more insight.

Actually, when I commented out ALL of the code, I still had the same problem, so it appears to be an issue between Apache and PHP. Sorry to have bothered you.


Static only build fails

Hello,
I'm trying to add LetMeCreate package in Buildroot. While testing it in static only environment, build fails with following errors.
rahul@rahul-Aspire-4736Z:~/upstream/LetMeCreate/build$ cmake .. -DBUILD_SHARED=OFF
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rahul/upstream/LetMeCreate/build
rahul@rahul-Aspire-4736Z:~/upstream/LetMeCreate/build$ make
Scanning dependencies of target letmecreate_core_s
[  1%] Building C object CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o
In file included from /home/rahul/upstream/LetMeCreate/src/core/uart.c:9:0:
/home/rahul/upstream/LetMeCreate/include/letmecreate/core/common.h:17:37: fatal error: letmecreate/core/export.h: No such file or directory
compilation terminated.
CMakeFiles/letmecreate_core_s.dir/build.make:62: recipe for target 'CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o' failed
make[2]: *** [CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/letmecreate_core_s.dir/all' failed
make[1]: *** [CMakeFiles/letmecreate_core_s.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Thanks,
Rahul

Hello Rahul,
CMake generates the export files:
./include/letmecreate/rpisensehat/export.h
./include/letmecreate/click/export.h
./include/letmecreate/core/export.h
./include/letmecreate/bosch/export.h

Can you try running cmake . -DBUILD_SHARED=OFF from ~/upstream/LetMeCreate ? I suspect running it from a subdirectory does not work.
François

Running cmake in source directory didn't help, it is failing with same error. Probably you have CMake generated files present from previous configuration.
generate_export_header() is only called if BUILD_SHARED is set. So CMake won't be generating export headers in case of static only builds.
I think export headers are only meant to be used in shared library cases as static libraries are just archive of object files where there is no visibility.


Nvidia_driver_not_detected by apollo.sh

About the Nvidia-docker problem
Issue:
We already strictly follow the tutorials to install the Nvidia-driver (430.5) in the host machine
and also the Nvidia-docker (using the scripts in the https://github.com/ApolloAuto/apollo/tree/r5.5.0/docker/setup_host).
when we pull the docker image, it showed like this:
[WARNING] nvidia-docker is in deprecation!
[WARNING] Please install latest docker and nvidia-container-toolkit:
and when we used nvidia-smi to check the availability of nvidia drivers both in the local and the container. They both delivered a positive result.
➜  ~ nvidia-smi
Thu Jul 16 11:59:48 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.50       Driver Version: 430.50       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  GeForce RTX 208...  Off  | 00000000:06:00.0  On |                  N/A |
|  0%   27C    P8     4W / 250W |    437MiB /  7974MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1706      G   /usr/lib/xorg/Xorg                            18MiB |
|    0      1736      G   /usr/bin/gnome-shell                          50MiB |
|    0      1943      G   /usr/lib/xorg/Xorg                           166MiB |
|    0      2071      G   /usr/bin/gnome-shell                          78MiB |
|    0      2394      G   /opt/teamviewer/tv_bin/TeamViewer             11MiB |
|    0      5933      G   ...quest-channel-token=7615111884222666551   108MiB |
+-----------------------------------------------------------------------------+
root@in_dev_docker:/apollo# nvidia-smi
Thu Jul 16 12:00:47 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.50       Driver Version: 430.50       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  GeForce RTX 208...  Off  | 00000000:06:00.0  On |                  N/A |
|  0%   26C    P8     5W / 250W |    437MiB /  7974MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1706      G   /usr/lib/xorg/Xorg                            18MiB |
|    0      1736      G   /usr/bin/gnome-shell                          50MiB |
|    0      1943      G   /usr/lib/xorg/Xorg                           166MiB |
|    0      2071      G   /usr/bin/gnome-shell                          78MiB |
|    0      2394      G   /opt/teamviewer/tv_bin/TeamViewer             11MiB |
|    0      5933      G   ...quest-channel-token=7615111884222666551   108MiB |
+-----------------------------------------------------------------------------+
But when we want to use the ./apollo_opt_gpu.sh to compile the repository. The shell could not find the gpu driver. so it showed like this:
root@in_dev_docker:/apollo# ./apollo.sh build_opt_gpu
System check passed. Build continue ...
Running build under CPU mode. No GPU is required to run the build.
[INFO] Start building, please wait ...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC --output_user_root=/apollo/.cache/bazel
[INFO] Building on x86_64...
[INFO] Building with --jobs=8 --ram_utilization_factor 80 for x86_64
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC --output_user_root=/apollo/.cache/bazel
INFO: (07-16 10:02:59.644) Found 7459 targets...
INFO: (07-16 10:03:12.603) From Compiling modules/bridge/common/util.cc:
modules/bridge/common/util.cc: In function 'int apollo::bridge::GetProtoSize(const char*, size_t)':
Anyone could help solve the driver_not_detected problem?

nvidia-smi works
but sudo dpkg --list | grep nvidia* does not work.

About the Nvidia-docker problem
Issue:
We already strictly follow the tutorials to install the Nvidia-driver (430.5) in the host machine
and also the Nvidia-docker (using the scripts in the https://github.com/ApolloAuto/apollo/tree/r5.5.0/docker/setup_host).
Anyone could help solve the driver_not_detected problem?
So the branch involved is r5.5.0 ?

About the Nvidia-docker problem
Issue:
We already strictly follow the tutorials to install the Nvidia-driver (430.5) in the host machine
and also the Nvidia-docker (using the scripts in the https://github.com/ApolloAuto/apollo/tree/r5.5.0/docker/setup_host).
Anyone could help solve the driver_not_detected problem?

So the branch involved is r5.5.0 ?

Yes absolutely.

nvidia-smi works
but dpkg --list | grep nvidia* does not work.

Sorry for the late response.  Does your issue still persists today?
Have you installed nvidia-docker2 or nvidia-container-toolkit ?


Tab rename or tab new not working - Attempt to index a number value

For some reason, when using tabline with only tab capabilities i am unable to make it properly create a new tab with a specified name and / or rename existing tab
    enable = false,
    options = {
        show_bufnr = false,
        show_tabs_only = true,
        show_devicons = true,
        modified_italic = true,
        show_tabs_always = false,
        show_filename_only = true,
    }
}

After executing :TablineTabNew somename. Exact same issue with rename. Looking through the source code, it seems that for some reason it does tonumber(name) and then does an index access on that number, which makes no sense.

Same error. Now I know how to reproduce it ^_^ The only setting I have for tabline  is show_tabs_only = true. Neovim version 0.8.3, hash of the tabline commit being used 5d76dc8616b4b7b892229cc05cd0f4cd0200077a


Only exclude current/active members on workspace invite page

Details
Added the right conditions to only exclude current/active members on workspace invite page.
Fixed Issues
$ https://github.com/Expensify/App/issues/14142
PROPOSAL: https://github.com/Expensify/App/issues/14142#issuecomment-1377765165
Tests

Go to settings > workspace > manage members
Click on invite button
Select any member and invite him
Go back to manage members page and remove the added member
Click again on invite button
Verify that you see the removed member and you can invite him again

[ ] Verify that no errors appear in the JS console

Offline tests

Go to settings > workspace > manage members
Remove any member
Verify that the member is now greyed out with strike-through line (but still in the list)
Click on invite button
Verify that you don't see that "removed" member

The offline test is indicated in the Desktop video below
QA Steps

Go to settings > workspace > manage members
Click on invite button
Select any member and invite him
Go back to manage members page and remove the added member
Click again on invite button
Verify that you see the removed member and you can invite him again

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[X] I linked the correct issue in the ### Fixed Issues section above
[X] I wrote clear testing steps that cover the changes made in this PR

[X] I added steps for local testing in the Tests section
[X] I added steps for the expected offline behavior in the Offline steps section
[X] I added steps for Staging and/or Production testing in the QA steps section
[X] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[X] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[X] I included screenshots or videos for tests on all platforms
[X] I ran the tests on all platforms & verified they passed on:

[X] Android / native
[X] Android / Chrome
[X] iOS / native
[X] iOS / Safari
[X] MacOS / Chrome / Safari
[X] MacOS / Desktop

[X] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[X] I followed proper code patterns (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I followed the guidelines as stated in the Review Guidelines
[X] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] I verified that if a function's arguments changed that all usages have also been updated correctly
[X] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/16493223/212138682-1f9c921c-6752-4692-887c-c8622a88105a.mp4

Mobile Web - Chrome
https://user-images.githubusercontent.com/16493223/212138704-da8b41d7-3d98-4e36-88d7-177029be0b03.mp4

Mobile Web - Safari
https://user-images.githubusercontent.com/16493223/212138852-817fea31-47a3-4b5c-8472-39d5083d9e10.mp4

Desktop
https://user-images.githubusercontent.com/16493223/212138874-b4819c1a-0cc6-4ae9-94ca-b3d7d2b30541.mp4

iOS
https://user-images.githubusercontent.com/16493223/212139009-02adf71f-9c68-463b-9237-c080dfe9621c.mp4

Android
https://user-images.githubusercontent.com/16493223/212139027-cf2b183e-0853-4f72-9d99-4a1d1bb5cda2.mp4

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/83179295/212416099-95ac6374-3186-4f5f-9500-c057fa077b32.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/83179295/212417289-6071743b-c00d-4868-8746-7a95ea90d632.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/83179295/212416567-3f94c97d-b786-45fd-831d-2de493d8f842.mov

Desktop

https://user-images.githubusercontent.com/83179295/212416518-da6b97a5-cec1-4a37-ae2f-b002919c2ba4.mov

iOS
https://user-images.githubusercontent.com/83179295/212416015-09d73abc-c726-41ca-b430-60e8164e32c8.mov

Android
https://user-images.githubusercontent.com/83179295/212416117-77cd087b-9bd6-45fb-8bcd-4a140a22f109.mov

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @Julesssss in version: 1.2.55-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @AndrewGable in version: 1.2.55-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Document APIs for the System.Text.Encodings.Web Namespace.

Title
Document APIs for the System.Text.Encodings.Web Namespace.
Summary
Added documentation for "To be added." fields in all classes of the System.Text.Encodings.Web Namespace:

System.Text.Encodings.Web.HtmlEncoder
System.Text.Encodings.Web.JavaScriptEncoder
System.Text.Encodings.Web.TextEncoder
System.Text.Encodings.Web.TextEncoderSettings
System.Text.Encodings.Web.UrlEncoder

Fixes #2211
Suggested Reviewers
@mairaw

Terrific feedback Ron. Thanks for reviewing so closely. This was my first one of these, so I wasn't entirely sure how far I could go with changing the wording from the code comments. This will help me going forward.

Once you've addressed @rpetrusha's comments, please let me know. I want to find who owns this on the PU side for some technical review.

@mairaw This seems to have failed the check with no coding error, just: "Run script failed with no detailed information."

Let's see if it happens again.

Happened again with the same error.

Trying one more time, I'll open a LSI if it doesn't work. There are other builds failing.

Thanks. Yes, it looks like PR 2226 failed with the same error.

@mairaw Thanks for starting this again last night!

@tompratt-AQ, I think that this looks good. @mairaw, do you want to review it? I think that it's ready for PU review, which we should do before we merge.

@KrzysztofCwalina and @tarekgh, we'd appreciate it if you could review this.

LGTM.
@KrzysztofCwalina please have a look too.
CC @krwq

For easier review, you can the content on staging too: https://review.docs.microsoft.com/en-us/dotnet-new/api/System.Text.Encodings.Web?branch=pr-en-us-2221&view=netcore-2.0
@tompratt-AQ we should also add the namespace description at https://github.com/dotnet/docs/blob/master/xml/ns-System.Text.Encodings.Web.xml

@mairaw thanks for the link it is really much easier to look at there.
In TextEncoder.MaxOutputCharactersPerInputCharacter, it mentioned "Gets the maximum number of characters that this encoder can generate for each input character."
I would change the last part "input character" to "input code point".
I am looking at the rest now.

side question, why the docs not mentioning the possible exception get thrown for the APIs?

We should add those too @tarekgh. We'll work with @tompratt-AQ to add those. Thanks!

I looked at the rest and LGTM.
one last question, is it possible to point to the System.Text.Encodings.Web project in github for looking at the source also use the tests there as a code samples?
Thanks all for getting this done!

@tarekgh, yes, it is possible. I'll ask @tompratt-AQ to do it next week.

Thanks all for the great review comments. I'll address these issues next week.

@rpetrusha In the most recent commit, I addressed the following:

Broken link that @mairaw mentioned.
Change to TextEncoder.MaxOutputCharactersPerInputCharacter per takegh.
Added a Namespace description
Added exceptions for each class based on the code files.

Please especially review my namespace description and my exception information as this is the first time I've added either.
Especially, look at the exceptions in the System.Text.Encodings.Web.TextEncoder base class. (code file )
I wasn't entirely sure of the best way to note the exceptions thrown by private classes which are called by the public classes. Thanks!

@tompratt-AQ, the final item that @tarekgh had wanted was a link to source and to examples (as found in unit tests). In the type topic for each encoder type and for TextEncoderSettings, add a paragraph at the  end of the Remarks section that reads:
The source code for this type is available in the System.Text.Encodings.Web project on GitHub. Unit tests that can also serve as code examples are found in the System.Text.Encodings.Web/tests folder on GitHub.

@rpetrusha the links you mentioned in your last comment are invalid. the github link for this library project is https://github.com/dotnet/corefx/tree/master/src/System.Text.Encodings.Web

@rpetrusha I added your suggested paragraph to the remarks section for each type, and confirmed that the links were correct.

Ah, of course, @tarekgh. I always seem to create invalid GitHub links. Fortunately, you noticed, and @tompratt-AQ seems to have added the correct links to the documentation. If this builds successfully and the links are OK, we'll merge.


Custom newcommand in mathjax

Hi!
Great app!
Is there a way to define newcommands recognized by mathjax and rendered properly?

works for me if put in the beginning of the document:
$\newcommand{\hi}{new command text}$


Fix: Switch to React Router

The basic routing that was configured when the project was first put together is running into a few issues. For stability and future maintenance purposes the routing should be handled by react router.
It would also make the implementation of certain features a bit easier. Like page history for example.
Right now there is also no way to pass props between Views, this is due to using a context to control the routing.
For certain page changes, the way data is handled just does not make sense. Its relying on the Chrome storage api to pass task list and project objects, which I believe is what is causing a few bugs.
I'm also looking into react-chrome-extension-router
My hope is that switching to a more standard routing solution will resolve the several bugs that have cropped up

Refreshing on a task list does not work the first time
Cannot navigate back when opening the settings

https://github.com/chrisstoll1/ActiveCollabHelperExtension/commit/71e21da345748a648e1751e90df5b270a2f3c9e9


Add an article on organising a Kubernetes Contributor Summit

This is an important moment for contributors and would provide some deserved exposure to the work people do to organise it.

/assign

/cc @qedrakmar


404 not found/nothing happening

this appears on localhost:443 when running

and the console is empty like this

Localhost exposes a websocket not a webservice so that is the normal behaviour. for the blank screen are you sure you have spotify open with a song playing?


Split package io.matthewnelson.encoding.builders

The package io.matthewnelson.encoding.builders is split across 3 jars. When using Java modules, these jars become modules, and this results in a split package which is disallowed by JPMS. This results in errors at runtime for example: Package io.matthewnelson.encoding.builders in both module encoding.base16.jvm and module encoding.base32.jvm.
There are two solutions - either package the encoding-base*-jvm jars as one jar, or change the package name in each of the jars, for example: io.matthewnelson.encoding.builders16, io.matthewnelson.encoding.builders32, io.matthewnelson.encoding.builders64.

Deprecation cycle did not work, will need to remove the .builders packages from base16, base32, and base64 modules.
POA:

Release 1.2.3 with deprecation notices and a way for library consumers to gracefully update to new methods
Release 2.0.0 with API breaking changes (...encoding.builders package removed).
Add migration notes to the CHANGELOG and release notes.


[Feature Request] handle raw representation of Any message in fromJson

The problem
The protobuf spec defines the JSON mapping of Any type to have:
{"@type": xxx, "value": yyy}

In our implementation, we did it correctly by checking if @type exists: https://github.com/bufbuild/protobuf-es/blob/2966b9cba6713fada2fca5670cbe14ee4798f945/packages/protobuf/src/google/protobuf/any_pb.ts#L188-L194
However, in practice, I often serialise Any type using json instead of protojson, so the Any message will be serialised as { "type_url": "...", value: "..."}.
In addition, the Any class converts the deserialised form back into the binary form within fromJson: https://github.com/bufbuild/protobuf-es/blob/2966b9cba6713fada2fca5670cbe14ee4798f945/packages/protobuf/src/google/protobuf/any_pb.ts#L207 This is unnecessary if I already have the Any type in its "raw" form. Plus, I don't have to provide the type registry until I want to unpack it.
To sum it up:

Any.fromJson should deal with messages with { "type_url": "...", value: "..." }.
this saves the serialisation
user doesn't need to provide the type registry

Proposal
Add a case where @type is absent but type_url is present to construct the Any message
Work arounds considered

I considered using binary serialisation, but I lose readability
I provided type registry and used protojson to serialise it, but I had to provide the type registry which is not known at the top level. It's only available when the message is passed to the rendering (last step) where each component deals with it's type.

in practice, I often serialise Any type using json instead of protojson

The downside is that json does not serialize to the standard protobuf JSON format, so you end up with incompatibilities with other implementations. The documentation on protojson states:

encoding/json [...] does not operate correctly on protocol buffer messages.

I don't think it's practical to update all other implementations to support this format.  Any isn't perfect, but it's fantastic to have a reliable standard.
If you don't want the overhead of Any in JSON, can't you simply define your own message Any { string type = 1; bytes value = 2;}?

@timostamm thanks for responding, you're probably right that there is other things that makes json.Marshal incompatible with json. I'll close this one as I do have simple workarounds with using binary serialisation. In addition, I tried using patch-package to patch the @bufbuild/protobuf, which also works for now. I can report back anything else if I go down this route.
Thanks again.


[SuperClass] Load/Save objects method

Currently, we use qMRloadModel and qMRsaveModel.
These functions call save and load from Matlab.
Problem:

Octave cannot load an object... So we cannot test retrocompatibility today :(
If a class has been renamed (e.g. SPGR-->qMT_SPGR)... not compatible.

Solution:
Create a superclass for qMR models that includes methods loadobj and saveobj methods. saveobj should save a structure with all properties to ensure compatibility with Octave.
https://www.mathworks.com/help/matlab/matlab_oop/modifying-the-save-and-load-process.html

By superclass do you mean like an abstract base class ? I guess we don't want anyone to create any object from that.

Yes, an abstract base class that will be used to define the "common" lines.
Additionally, we should manage each methods' inputs in this superclass (e.g. if nargin ==0, qMRusage(obj,'MethodName'); end ).
https://www.mathworks.com/help/matlab/matlab_oop/calling-superclass-methods-on-subclass-objects.html

Currently, equation_test.m tries to load old models.

@tanguyduval

Additionally, we should manage each methods' inputs in this superclass (e.g. if nargin ==0, qMRusage(obj,'MethodName'); end).

This is not clear to me. The superclass is not aware of the methods of its child classes/input, so would not be able to handle them in the superclass. What did you mean by that comment?

cherry pick 5fcd4d54cc5db785b8c95ff8a44305970cdfb259 if you need


chore: add codecov action

Signed-off-by: feng-tao<EMAIL_ADDRESS>
Summary of Changes
Include a summary of changes then remove this line
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes make test

not yet, the fix should surface the codecov report in the pr.

not yet, the fix should surface the codecov report in the pr.

Yeah, but does anybody checks it?

not yet, the fix should surface the codecov report in the pr.

Yeah, but does anybody checks it?

yeah, I think lots of people checks it (at least I do when review the pr)


Pickle module

Add support for pickling of System and Atom objects and their arrays

Codecov Report

Merging #27 into master will increase coverage by 1.52%.
The diff coverage is 93.54%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   88.03%   89.56%   +1.52%
==========================================
  Files           3        4       +1
  Lines         585      709     +124
==========================================
+ Hits          515      635     +120
- Misses         70       74       +4

Impacted Files
Coverage Δ

src/pyscal/core.py
84.73% <83.87%> (+1.28%)
:arrow_up:

src/pyscal/pickle.py
96.77% <96.77%> (ø)

Continue to review full report at Codecov.

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


[Enhancement] Upgrade staros v3.2.1

update aws sdk to v1.11.267, fix potential memory leaks (backport #43887 partially)
fix star cache input stream buffer crash
starlet on-demand request shardinfo with work_group_id
starmgr grpc support customized executor

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

Fixes #45036


Polling and issuance!

This change is

Reviewed 10 of 10 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks broke.

Comments from the review on Reviewable.io

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Reviewed 6 of 6 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Current coverage is 98.95%

Merging #11 into master will decrease coverage by -1.05% as of c574078

@@            master     #11   diff @@
======================================
  Files           10      11     +1
  Stmts          724     959   +235
  Branches        64      89    +25
  Methods          0       0
======================================
+ Hit            724     949   +225
- Partial          0       1     +1
- Missed           0       9     +9

Review entire Coverage Diff as of c574078

Powered by Codecov. Updated on successful CI builds.

Reviewed 6 of 6 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


SVG: Implement "Q command"

I have an svg logo with text converted to splines that makes kivy loop.  Spits out:
WARNING Svg: unimplemented command Q

Looks like someone started some code on the subject but didn't get to finish.

https://github.com/kivy/kivent/blob/master/modules/core/kivent_core/rendering/svg_loader.pyx#L838

So I'm using PNG instead.

This is a KivEnt part of tools under the Kivy organisation. Please move this issue to kivy/kivent repository. :)
Anyway, @Kovak is it necessary to have two SVG loaders? I only scrolled a little bit, but the files seem to be the same(or almost), so why not import from kivy? I mean, the whole graphics part is imported anyway. Or is it about the runtime speed(nah, that can't be true)?

There are a few important differences between the 2 implementations:

Kivy's SVG loader loads as triangle strips, KivEnt's as indexed triangles

KivEnt's contains some 'graphical fixes' to the algorithm found in Kivy's loader. In some cases these are adjustments I did based on my intuition about how GL renders colored vertices in order to improve the rendering output, however these changes are a little experimental and perhaps not functional in all cases (I haven't run into a case where they make things worse yet, but it is possible)

Sorry, not sure how I got to the kivent repo, guess goolge brought me there.  I don't have kivent installed so the kivy implementation is probably what I'm using.

Nah, I meant that the file you linked is from kivent, therefore if it's about an issue with that file, it should be placed under kivy/kivent repo. However the "Q" command isn't implemented even in kivy/kivy repo, so I'll leave this one open for now (no need for a separate kivent issue).

Yes, I'm having the problem with kivy, I've never had kivent installed.  A search engine must have brought me there.  Can fix the link if you'd like.

Wow, can't plot graphs in kivy because graphs won't work with screenmanager, so I go to plot using matplotlib, then add as svg, and well, Svg's don't work in kivy either. I've run into the same issue as you folk. How else can I do plots? jpg's pixelate too much.

You can try garden.matplotlib.
On May 25, 2017 1:29 AM, "TTN"<EMAIL_ADDRESS>wrote:

Wow, can't plot graphs in kivy because graphs won't work with
screenmanager, so I go to plot using matplotlib, then add as svg, and well,
Svg's don't work in kivy either. I've run into the same issue as you folk.
How else can I do plots? jpg's pixelate too much.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/5131#issuecomment-303926350, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABkW_gBecR_w7kfSBrPFmdmk9olHNo3Tks5r9RGygaJpZM4NE526
.

I already did. It won't work with screenmanager. The plot will show up, but no data will get plotted, so I try to use kivy's SVG functionallity to import the graph I saved to disk to at least get a live plot working, that doesn't work either so now I'm importing jpgs to do live graphs. Not ideal? I should think so...

It seems support for 'Q' was started, but commented, so it's probably broken
https://github.com/kivy/kivy/blob/a4116a58d7c5448a4c6615021302375cbe3e129a/kivy/graphics/svg.pyx#L750-L785
could be interesting to see how and if it's possible to fix.


Dev

I tried to modify layout of code. But I'm not sure that if I can meet your requirements. If there are any questions. Pls let me know. THX :)

Thanks, but CI failed as "verifyGoogleJavaFormat FAILED", so no need change code format artificially.


feat(watch): support .* file extension for matching all files

This change fixes #5
Note: When running tests, I have noticed that watch extension's tests are skipped. Is there a reason for that?

Coverage remained the same at 93.443% when pulling 0302bfa85ccaa8226b506dcd65f1b009e56ff3af on lazlojuly:watch-all-files into 3fef5591b14df08692f61ba3391663688fa07c30 on codename-:master.

Tests are skipped because some issues I don't remember right now 😉  If you would like to return them and eventually fix that issue - I would be happy with that.


how to obtain clients online status？

hello，
first， thanks for you about your support。
In cluster environment，i want obtain all client online status， how should  i to do？

In this release is not possible to query the broker about client status.
That said, is an interesting feature, we can evaluate to implement it.
Have you a proposal ?


Respond to https://hypothes.is/a/1jlOYHUhEeq6wbPMXhZiMA

Respond to hypothes.is annotation 1jlOYHUhEeq6wbPMXhZiMA on https://jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html (user<EMAIL_ADDRESS>created: 2020-04-02T20:37:57.430171+00:00, updated: 2020-04-02T20:37:57.430171+00:00)

manufacturer missing (it is a categorical variable as well)

Link: https://hyp.is/1jlOYHUhEeq6wbPMXhZiMA/jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html

Fixed already.


Feature: configure logging wrapper

Description
Write a logging wrapper for Fastify that would help us to standardize logs between services as requested in the API Design document
Type

[ ] Dependency upgrade
[ ] Bug fix
[x] New feature
[ ] Dev change

Checklist:
A new PR with the test suite will follow really soon

@SamSalvatico I like the approach! Would be cool to see some usage examples as well. Can you please add just a basic usage example? Feel free to use the payments app :)

@GiuliaTeggi @Thurfjell I've merged previous PRs on this, splitting concerns between logging-wrapper and error-handler


Error 500 stats recording

Hello,
Just got this error each hour since this morning without reason:
[12:35:36 INFO]:  ERROR! Internal exception was thrown!
[12:35:36 WARN]: java.io.IOException: Server returned HTTP response code: 500 for URL: http://neo.mcmonkey.org/plugins/public_stats?plugin=Denizen&version=0.9.8-SNAPSHOT+%28build+582%29
[12:35:36 WARN]:        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
[12:35:36 WARN]:        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
[12:35:36 WARN]:        at net.aufdemrand.denizen.utilities.debugging.StatsRecord.run(StatsRecord.java:31)

Thank you :)

Woops. Website fixed.


Fix seg fault when saving

If a node edit window is open and save is clicked more than once with 2 invalid fields the program seg faults

Issues were caused by trying to load malformed yaml when invalid node info was saved
Issue fixed in commit 5e182814bcf106b1852547ddc832aaca70bff97c


Add changes.txt file to each active branches

Add changes.txt file to each active branches

This is now fixed in all active branches


Global styles get added as quoted strings.

Hi. After updating the module, we've started facing the problem with global styles. They get added as camel-cased quoted strings.
Have anyone the same problem?

I've face the same problem.

if I change the current App.res in dev-server-emotion to :
open CssJs
global(. "*", [
    margin(#zero), padding(#zero), backgroundColor(lavender), marginTop(10->px), fontFamily(#custom("Source Sans Pro"))
])

I get correct names:

what version are you using ?

Same here. Also, none of our global styles are working anymore - we think this might be related. @giraud 's fix works, but it's not ideal.
From:
Css.(
  global(
    "html",
    [
      boxSizing(`borderBox),
      selector("*, *:before, *:after", [boxSizing(`inherit_)]),
      selector("::-webkit-scrollbar", [background(`transparent)]),
    ],
  )
);

To:
CssJs.(
  global(.
    "html",
    [|
      boxSizing(`borderBox),
      selector("*, *:before, *:after", [|boxSizing(`inherit_)|]),
      selector("::-webkit-scrollbar", [|background(`transparent)|]),
    |],
  )
);

@giraud - For us, for just the global Css variants, switching to CssJs works (we only have two global css statements, so that's fine).

ah yes, there is a diff in impl:
js:

legacy:


Made a json tag for the commonly seen error JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I have seen a lot of people come for help to the python discord with the error JSONDecodeError: Expecting value: line 1 column 1 (char 0). Which really is a simple fix. To speed up the helping progress I thought having it as a tag would help.
Feel free to suggest any rewording/renaming and I will be happy to comply.

Coverage remained the same at 56.547% when pulling b649e998967402f620b9e58b9a51f432a24c33b1 on sebkuip:json-tag into a5f09a880ec7911f53ecb3b83f6d6290fa46e27b on python-discord:master.

@sebkuip are you planning on finishing this?

@sebkuip are you planning on finishing this?

@sebkuip are you planning on finishing this?

Ah I did forget a bit about it after a few school projects. Should have more time in the upcoming week so I’ll see if I can get back at it with a fresh mind

@sebkuip are you planning on finishing this?

Ah I did forget a bit about it after a few school projects. Should have more time in the upcoming week so I’ll see if I can get back at it with a fresh mind

Alright cool, thanks for the speedy reply.

Alright cool, thanks for the speedy reply.

Sorry for the history added, since I left the project for a bit I was about 190 commits on master behind and had to rebase.

Sorry for the history added, since I left the project for a bit I was about 190 commits on master behind and had to rebase.

Issues trying to resolve conflicts with master, going to close this. Make a new branch and new PR to hopefully fix this.

Issues trying to resolve conflicts with master, going to close this. Make a new branch and new PR to hopefully fix this.


Location of model file

Hi,
I am new to the use of docker for training/inference. When you train/inference a model using odtk, where should I locate model file (.pth), localhost or inside docker? Also after training finished, where the model is located?
Thanks.

During training, you provide the location of the model, please check the examples. We have pretrained models that can be downloaded for inference/finetuning here: https://github.com/NVIDIA/retinanet-examples#performance


Remove mstdn.io from list

Hey there, mstdn.io admin here. I would like to request the removal of the instance from this list, if possible. Let me know if I can do anything. 🙂

Officially removed. Thank you for opening an issue and forgiving our mistake.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3590

Questions ?
Please refer to the Backport tool documentation


AI / deduction to parse if rules text are positive effects

With the suggestions database growing, it would be practical to start analyzing rules texts of better-worse cards for beneficial effects to find more such cards.
Analyzing should only be performed on suggestions with relatively high upvote count.
A simple comparison would be to find if worse cards complete rules text (or possible similar text?) is found in the better card. If so, by removing the identical part from the better card we can deduce the rest of the rules text in better card is a beneficial effect. We can then use that rules excerpt to find other cards that have it in addition to another cards text and deduce that it is better.
We could also do the opposite to find if the worse card has negative rules excerpts in it. Ie. "@@@ enters the battlefield tapped" is a likely finding when comparing Tundra and Azorious Guildgate.
We can also mix-match positive effect excerpts to find more better cards or negative effects to find worse cards.
It might also be possible to determine a regex patterns for the excerpts, that takes in to account any numeric information for example. Ie. "+1/+1" could be interpreted as \+\d+/\+\d+ to indicate any positive number.

Tests are working fine so far. By using described methods, using relations with > 5 upvotes and downvote / upvotes < 0.3, we can currently find 565 excerpts to do rule comparisons with. This yielded some 1400 suggestions, of which roughly 1/3 are new to current database.
We can probably improve this we we also start comparing the variable data, like digits, +1/+1 and manacosts that appear in rules and identifying if bigger number is better/worse for each particular case. Might need a second db table for this.
There's also the case when both cards have rules, but neither is part of the other, but one is still better than the other by clear margin. If we want to compare those completely different rules like Scry 1 vs Draw 1 (Draw is ususally better), we should avoid giving Scry 1 negative score. We would instead need to start giving the excerpts some context, ie. that scry "captured digit" < draw "captured digit".
The search is also a very slow process. It takes some 40 minutes currently on development virtual machine, since we can't utilize the cards table index: substituted_rules, like we do normally with artisan command: create-obsoletes. Fetching all cards and comparing them against each other in foreach loop via card_collcetion->filter() yielded still slightly slower result than retrieving fresh candidate card list from DB. Need to see if we could add any indexes to help this case, or otherwise improve performance. Excerpts are also prefetched and compared against in a foreach loop. Need to test if fetching fresh excerpts for each comparison is faster.

Implemented line based parsing (\n and . delimeted, no commas) and sql query rules for excerpt matching/filtering as mentioned previously. Current version is still taking some 40 minutes to run through the database. This yielded 858  new records for the database (3409 suggestions found, but 858 new).
Current version still doesn't compare numerical information or manacosts in rules text, but this is planned to be added,
Merged current version to master. The script is run only manually for now, due to heavy load it causes for the site.

Added
WIP commit to rule-analysis branch.
Summary:

Excerpt parsing improved. Splits non-dot ending lines by commas (lists of keywords abilities), and keeps dotted lines intact
Added support for excerpt better/worse comparison, excerpt value comparisons for digits, numberwords and manacosts.
Reworked manacosts comparison to return value from -1 to 1 instead of true/false, so equalness/costing less can be found

WIP

query performance
manacost comparison for lands adding mana is returning things like "island" > "mountain" and vice versa, since both give "more mana" than the other.

Fixed manacost comparisons. compareCost() can also return 2, to indicate both cost more than the other (ie. {U} vs {R})
Some cleanup
WIP

query performance

Issues

Excerpt being superior/inferior to another doesn't consider the variables in the excerpts
Level up -mechanic is not recognized. Claims the creature has all the abilities of all levels for the initial mana value
Suspend cards are marked as 0.0 cmc now in oracle.json. Need a way to resolve them to null or suspend cost (+other considerations).
Plague Belcher,  2x -1/-1 counters to self ability is considered a positive effect, since inferior cards are 3/2 or less, while Belcher is 5/4
Bounty of Might has many instances of same excerpt, but only one is matched

Plan for variable value consideration between superior<->inferior excerpts:

Gather all the example cases along with associated variable values for the superior<->inferior relation.
Use the cases to determine if there is (one of these, which ever seems more appropriate)
a) correlation (linear or otherwise) between the variable values. Each value mapped to each other value of the other excerpt.
b) similar "more is better" true/false/null relation between the values. Each value mapped to each other value of the other excerpt. (The cross-mapping is required here, since we can't quarantee relevant variables are at same positions in excerpt)
If such connection is found, store the function (which might just be > or <) for the relation and use it to validate any future additions
If no such correlation is found (lack of examples, homogenuity of the examples, whatever...) store this uncertainty to relation. In future, validate additions only by equalness to the existing examples (exact value matches only)


mention npm install in article

unmentioned in article, "% npm install" must be run once.

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

ID: 3a5e15a6-3890-28e0-543d-d6691718e535
Version Independent ID: da9d32dc-2af4-5950-1b09-d0470d1977e5
Content: Use web app - Personalizer - Azure Cognitive Services
Content Source: articles/cognitive-services/personalizer/tutorial-use-personalizer-web-app.md
Service: cognitive-services
Sub-service: personalizer
GitHub Login: @edjez
Microsoft Alias: edjez

@tacowan Thanks for the feedback! We will review and update accordingly.

Thanks, @edjez Could you please help with the doc update for this.

Hi @ram-msft  - We have reviewed the doc.
Tacowan was right - thanks a lot for bringing it up!!-  it is also a bit of a tangled mess as docs about dependencies also say to run the npm install command.
Closing the issue for now, thankful you took the time to send the ticket in!

#please-close


Add gun bolts back in

Seems like people want it or something idk.
I need to fix the chamber magazine cycling first though.

Fixed by Idontknowwhich PR


Song was privated and later unprivated, now song video page is empty

Nabi broke her songs in Musicdex.  Example:
https://holodex.net/watch/Ae39xRZ0tpA works and plays the song video and still shows the song in the songs section below, and the video is listed on Nabi's channel.
https://music.holodex.net/video/Ae39xRZ0tpA (or click on music note) shows "Stream is not yet tagged with any songs."
This video along with 3 other song videos on her channel were privated a couple months ago and unprivated a week or two ago, so I assume that's what has caused the problem.  FWIW just getting rid of the pruning feature altogether would be a fine solution (hopefully retroactive) as I've seen Musicdex gracefully jump past privated videos on a playlist before.  I didn't tag these originally and haven't tried adding duplicate songs to see if that would clear the problem.

This problem is caused by the database in Holodex not being updated after the video was unprivated. The issue seems to be resolved when the administrator uses the recrawl command (the example video's song list has been restored). If you find a video in a similar state again, it would be appreciated if you could let us know on the Discord server or in an Issue.


No styling in production mode

Hi!
I'm running with wsgi/apache. After switching to production (Debug = False) there is no more styling. Neither for admin area nor for the main site.

When running in production mode, you need to configure your web server to serve static files itself, as this is no longer handled by Django: https://docs.djangoproject.com/en/1.8/howto/static-files/deployment/


"onChanged" is fired when the elemet is initialized.

Hi, I'm using the last version and i'm trying to use onChange, but is fired when the plugin is initialized.
I tried to move the if statement in the durationPickerChanged function and it seems work.
function updateUI() {
      var total = seconds + minutes * 60 + hours * 60 * 60 + days * 24 * 60 * 60;
      mainInput.val(total);
      mainInput.change();

      updateWordLabel(days, 'days');
      updateWordLabel(hours, 'hours');
      updateWordLabel(minutes, 'minutes');
      updateWordLabel(seconds, 'seconds');

      inputs.days.val(days);
      inputs.hours.val(hours);
      inputs.minutes.val(minutes);
      inputs.seconds.val(seconds);

    }

    function durationPickerChanged() {
      days = parseInt(inputs.days.val(), 10) || 0;
      hours = parseInt(inputs.hours.val(), 10) || 0;
      minutes = parseInt(inputs.minutes.val(), 10) || 0;
      seconds = parseInt(inputs.seconds.val(), 10) || 0;
      if (typeof plugin.settings.onChanged === 'function') {
        plugin.settings.onChanged(mainInput.val());
      }
      updateUI();
    }

Hi @Nittarab, thanks for reporting this issue.
In many cases that behavior is actually expected, so to avoid breaking functionality for other users, I added a second boolean flag to onChanged callback, which indicates if the value was changed because of (re)initialization or because user actually changed it.
So if you want, you can upgrade to 2.1.2 version and use something like this:
$('#your-selector').durationPicker({
  onChanged: function (newVal, isInitializing) {
    if (isInitializing) { return; }
    // ... you logic here
  }
});


cloud sql public ip authorized networks

@kurtisvg i noticed you advocated for using public cloud sql instances with cloudsql-proxy in some other issues https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/342, https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/365.
We have been running cloud sql with only private ip addresses, peered to our vpc. We were then using cloudsql proxy to connect to our db, but I have noticed that's not even needed, so maybe we have been doing things wrong.
We are about to setup a bastion so cloudbuild can deploy migrations to our db, but after reading your comments, I feel like it would be simpler to just give our dbs public ips and connect over cloudsql-proxy.
So I have two quick questions:
1.) Is there any google cloud documentation that supports your suggestion as a recommended way of doing things? This would definitely help with getting buy in.
2.) What enforces authorized networks? Will traffic from unauthorized networks hit our db instance, or does google cloud have something in front of the database? Would our db be vulnerable to getting ddosed for example?

Apologies for being slow to respond, I wanted to reach out to confirm a couple of things before following up:

We have been running cloud sql with only private ip addresses, peered to our vpc. We were then using cloudsql proxy to connect to our db, but I have noticed that's not even needed, so maybe we have been doing things wrong.
We are about to setup a bastion so cloudbuild can deploy migrations to our db, but after reading your comments, I feel like it would be simpler to just give our dbs public ips and connect over cloudsql-proxy.
So I have two quick questions:
1.) Is there any google cloud documentation that supports your suggestion as a recommended way of doing things? This would definitely help with getting buy in.

Our Connecting Overview does a good job hilighting both the connection path options (public, private) and the authorization options (proxy, Authorized networks, and self-managed SSL). A quick TL;DR is that public requires at least one authentication option (proxy or authorized networks), and while private IP doesn't require use of the proxy it can add an extra layer of security.

2.) What enforces authorized networks? Will traffic from unauthorized networks hit our db instance, or does google cloud have something in front of the database? Would our db be vulnerable to getting ddosed for example?

While I can't provide specifics on implementation, connections from unauthorized networks are rejected at the instance. This means the traffic does reach the instance, but unauthorized clients will not receive a response.


Drift physics ?

Hi Sergey,
Is possible to make drift physics with your car physics ?
Thanks

Should be possible. Friction model for tires computes the perfect friction force for each tire and then modulates this force by the slippery coefficient. There is handbrakes implemented in the demo you can use it by pressing 'SPACE'. Handbrakes is increases slippery coefficient for a tires to emulate a drift behaviour.


Check pre-existing content for changes due to Duty Support

This is a continuation of quisquous/cactbot#5117
Any triggers/timelines that existed prior to Duty Support coverage being added should be checked for changes.  Zones that have had Duty Support added:
Added in 6.1:

[x] Sastasha (no prior coverage)
[x] The Tam-Tara Deepcroft (no prior coverage)
[x] Copperbell Mines (no prior coverage)
[ ] The Bowl of Embers
[x] The Thousand Maws of Toto-Rak (no prior coverage)
[x] Haukke Manor
[ ] Brayflox's Longstop
[ ] The Navel
[x] The Stone Vigil
[x] The Howling Eye (no prior coverage)
[x] Castrum Meridianum (no prior coverage)
[x] The Praetorium (no prior coverage)
[x] The Porta Decumana (new zone)

Added in 6.2:

[ ] Snowcloak
[x] The Keeper of the Lake (no prior coverage)
[ ] Sohm Al
[x] The Aery (no prior coverage)
[x] The Vault

Added in 6.3:

[x] The Great Gubal Library (no prior coverage)
[ ] The Aetherochemical Research Facility
[x] The Antitower (no prior coverage)
[x] Sohr Khai (no prior coverage)
[ ] Xelphatol
[ ] Baelsar's Wall

Added in 6.4:

[x] The Sirensong Sea
[x] Bardam's Mettle https://github.com/quisquous/cactbot/pull/5603
[x] Doma Castle https://github.com/quisquous/cactbot/pull/5608
[x] Castrum Abania https://github.com/quisquous/cactbot/pull/5611
[x] Ala Mhigo https://github.com/quisquous/cactbot/pull/5612

Added in 6.5:

[ ] The Drowned City of Skalla
[ ] The Burn
[ ] The Ghimlyt Dark

In addition, the dummy zones/triggers/timelines added for the above content to support KO and CN until they caught up with global release should be removed.

(I think that going forward it may be a good idea to open an issue when the duty support patch releases, so it's a bit easier to be on top of these? e.g. when 7.0 drops, if duty support is added to older content, an issue should be opened specifically for that patch so that it's not lost/forgotten about like these ones seem to have been?)

(I think that going forward it may be a good idea to open an issue when the duty support patch releases, so it's a bit easier to be on top of these? e.g. when 7.0 drops, if duty support is added to older content, an issue should be opened specifically for that patch so that it's not lost/forgotten about like these ones seem to have been?)

There shouldn't be any more of these, all MSQ dungeons have Duty Support as of 6.5.
These weren't really forgotten about, so much as I was the only one updating them, and I just didn't have time to go through all of them on my own.  It's an issue that we now have timelines/triggers that, in some cases, don't work anymore.


Call llvm-lit the right way

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)

Fixes #200.

The logs show that the tests run correctly for win-64.

Thanks @sumit0190! :)


group member relation

hi. :)
i'm trying to implement the member relation for a Group model based on schema:Organization. the members of a Group are a set of Persons and Groups. in reverse, each Person or Group is a memberOf a set of Groups.
here's what i was thinking:
Bookshelf.model('Person', {
  tableName: 'people',
  memberOf: function () {
    return this.morphMany('Group', 'memberOf');
  },
});

Bookshelf.model('Group', {
  tableName: 'groups',
  memberOf: function () {
    return this.morphMany('Group', 'memberOf');
  },
  members: function () {
    return this.morphToMany('memberOf', 'Person', 'Group')
  },
});

but, i must be thinking about this wrong as morphToMany doesn't exist. any pointers on how to model this relation?
cheers!

Not sure about OP, but I'd like to see many-to-many polymorphic support in the way Laravel's Eloquent has: https://laravel.com/docs/5.1/eloquent-relationships#many-to-many-polymorphic-relations
I`ve just requested the feature also here: https://github.com/tgriesser/bookshelf/issues/719

@bendrucker - Not sure about OP, but I'd like to see many-to-many polymorphic support in the way Laravel's Eloquent has: https://laravel.com/docs/5.1/eloquent-relationships#many-to-many-polymorphic-relations
I`ve just requested the feature also here: https://github.com/tgriesser/bookshelf/issues/719


Expose the default derivation path to downstream crates

Currently downstream creates, which need to use the prefix of the default derivation path (like forc-wallet) are duplicating it. But we could expose the default derivation path from SDK (currently it is located here) so that it can be reused. Additionally, we may want to change the prefix to something like m/44'/1179993420'/ so that it is a little more reusable.
Related to https://github.com/FuelLabs/forc-wallet/issues/28#issuecomment-1231181032

Was just thinking about this while working on the wallet as well!


rewrite config initial phase in python

Purpose

Generate config for non-standard networks in python (initial phase)
How does the solution address the problem

Changed from bash into python part of config generation.
Changes made

Changed config generation for:

initial validators

prnet cleaned-up successfully


It doesn't work well for the first time for each pages.

When each page is rendered for the first time,
codes are never syntax-highlighted.
Only after refreshing, codes are syntax-highlighted.
Test environment:

ruby 2.1.5
rails 4.1.4
highlight_js-rails 7.1.0

Sorry, I'm no going to maintain this gem.
This problem maybe caused by turbolink, try mvoe hljs.initHighlightingOnLoad(); out from application.js, append to page body with <script> tag, witch you want to use syntax highlight.

http://stackoverflow.com/questions/28574032/how-to-use-highlight-js-with-rails


Fix bad indentation

According #7 related to def parse(text):
Make correction from line 62 to line 80

Thanks @XavCC
Just publish a commit fixing this: https://github.com/davidtavarez/pwndb/commit/988f3e3157eeca4a9126b0e99223623ce90ca185


XCode 13 missing "cfBundleVersion"

Troubleshooting

[x] I've searched discuss.bitrise.io for possible solutions.
Which version of the step is effected? 1.3.1
Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every time? EVERY TIME
Is the issue reproducible locally by following our local debug guide? NOT APPLICABLE

Useful information

FAQ
devcenter.bitrise.io

Issue description
The build step doesn't work with the latest XCode stack option. After xcrun upload command the step fails because of missing cfBundleVersion in plist (it has CFBundleVersion).
The issue is reproducible with and without  set-ios-version  which I regularly use.
Bitrise info

Build URL: Please share the build URL with us.
Bitrise Support enabled: NO
Log:

+------------------------------------------------------------------------------+
| (8) deploy-to-itunesconnect-application-loader@1                             |
+------------------------------------------------------------------------------+
| id: deploy-to-itunesconnect-application-loader                               |
| version: 1.3.1                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2021-09-27T07:29:38Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Config:

BitriseConnection: automatic
AppleID: {REDACTED}
Password: {REDACTED}
AppSpecificPassword:
APIKeyPath:
APIIssuer:
IpaPath: /Users/vagrant/deploy/{REDACTED}.ipa
PkgPath:
Platform: auto
ItunesConnectUser: {REDACTED}
AdditionalParams:
BuildURL: https://app.bitrise.io/build/{REDACTED}
BuildAPIToken: {REDACTED}
Inputs with Apple ID authentication found.
If 2FA enabled, Application-specific password is required when using Apple ID authentication.
Uploading - {REDACTED}.ipa ...
$ xcrun "altool" "--upload-app" "-f" "/Users/vagrant/deploy/{REDACTED}.ipa" "--type" "ios" "--username" "[REDACTED]" "--password" "[REDACTED]"
*** Error: Exception caught. Exception caught: *** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: cfBundleVersion) (-1010)
Uploading IPA failed: exit status 1
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | deploy-to-itunesconnect-application-loader@1 (exit code: 1)   | 10.46 sec|
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...ib/steps-deploy-to-itunesconnect-application-loader/issues |
| Source: .../bitrise-steplib/steps-deploy-to-itunesconnect-application-loader |
+---+---------------------------------------------------------------+----------+

Steps to reproduce

Use the new "Xcode 13.0.x, on macOS 11.4 (Big Sur)" stack
Start a build
Look at output

Hello @spasbilyarski, can you please check that you are using the latest Step version? (That is 2.0.0)

Thank you for the reply but I just saw that I posted the issue in the bitrise deploy and not the appstore connect deploy. Sorry for the trouble!


addressbook, commissions & edit reward address

There seems to be several problems with forbole X :

clicking on an address in the address results in
Application error: a client-side exception has occurred (see the browser console for more information).
from the js console
framework-f265d9953146294e838d.js:1 TypeError: Cannot read property 'address' of undefined

commissions aren't displaying at all when the validator key is imported (looks correct on big dipper)

changing the reward address doesn't work, on the confirm screen (after flipping on "view data")

"ERROR":{
"message":"src property must be a valid json object"
}

I suspect it's failing to get gas cost, as it stays zero.

cannot reproduce on the latest version v0.10.2


Deployment migration

What?
This is a giant transition of benchmarking from the legacy AWS cluster deployment machinery, to the new infrastructure that devops develop as part of the cardano-world initiative in https://github.com/input-output-hk/cardano-world.
There are two phases:

implementation of the local backend, targeting Docker
implementation of the remote backend, targeting the cloud

Why?

Lots of new abilities for benchmarking:  on-demand deployments, larger scale deployments, better CI integration
This is the only way to benchmark P2P

Closing this. Please reopen if this is still relevant.