How to use PR in shell.nix ?

Thought pytorch-bin giving a try.
With shell.nix defined as:
let
  jupyter = import (builtins.fetchGit {
    url = https://github.com/tweag/jupyterWith;
    rev = "";
  }) {};

  iPython = jupyter.kernels.iPythonWith {
    name = "python";
    packages = p: with p; [
            # https://discourse.nixos.org/t/improving-nixos-data-science-infrastructure-ci-for-mkl-cuda/5074/43
            # curl -sL https://github.com/NixOS/nixpkgs/pull/96669.patch | head -n 1 | grep -o -E -e "[0-9a-f]{40}"
            (import (fetchTarball
                    "https://github.com/NixOS/nixpkgs/archive/6cce9c30786442f1fb2b6bd7c2c7c9a089e8648b.tar.gz")
                    {}).python3Packages.pytorch-bin
                  ];
  };

  jupyterEnvironment =
    jupyter.jupyterlabWith {
      kernels = [ iPython ];
    };
in
  jupyterEnvironment.env

I still can't import torch though neither in python nor jupyter lab.
Can't spot the error.

Checking from the beginning: are you able to produce a shell.nix just with a python3.withPackages containing your imported package? This is the mechanism JupyterWith uses, so if you are able to do this, JupyterWith works.
I don't know the package, but the -bin would make me thing this is not a library, but I may be wrong.

@guaraqe you're probably right, IDK if the -bin just refers to the CUDA-binaries bundled in pytorch-bin, maybe I should add pytorch (w/o -bin) as well.
With the python3.withPackages you mentioned, is that related to #95, meaning I had to follow the steps suggested in that ticket's solution right ?

For python3.withPackages, I am just talking about Nixpkgs system of giving a Python interpreter with extra libraries, which is independent of JupyterWith. If you are able to do make it work independently of JupyterWith, you should be good.
The PR you mentioned is about JUPYTER_PATH, which is completely independent of the Python kernel, it is about the Jupyter executable being able to see certain executables. What you want is to make it visible to the Python kernel.

I am out of luck here. The following doesn't seem to work either:
  jupyterWithPath = builtins.fetchGit {
    url = https://github.com/tweag/jupyterWith;
    rev = "";
  };

  # Importing overlays from that path.
  overlays = [
    # Necessary for Jupyter
    (import "${jupyterWithPath}/nix/python-overlay.nix")
    (import "${jupyterWithPath}/nix/overlay.nix")
  ];

  # Your Nixpkgs snapshot, with JupyterWith packages.
  pkgs = import (fetchTarball
                    "https://github.com/NixOS/nixpkgs/archive/6cce9c30786442f1fb2b6bd7c2c7c9a089e8648b.tar.gz") { inherit overlays; };

  # From here, everything happens as in other examples.
  jupyter = pkgs.jupyterWith;

  iPython = jupyter.kernels.iPythonWith {
    name = "python";
    packages = p: with p; [
            pillow
            numpy
            requests
            pandas
            seaborn
            scipy
            matplotlib
            scikitlearn
          ];

          # https://discourse.nixos.org/t/development-with-nix-python/7356/2
          python3 = pkgs.python3.withPackages (ps: [ ps.pytorch ]);
        };

  jupyterEnvironment =
    jupyter.jupyterlabWith {
      kernels = [ iPython ];
    };
in
  jupyterEnvironment.env

gives

ModuleNotFoundError: No module named 'torch'

test commit

https://github.com/GTrunSec/Jupyter-data-science-environment/blob/master/overlay/python-overlay.nix#L6
https://github.com/GTrunSec/Jupyter-data-science-environment/blob/0194e5c71daa74e40b4cdaa8f8724989d372d6fb/my-default.nix#L92

@GTrunSec great, I tried with
# shell.nix
let
  jupyterLib = builtins.fetchGit {
    url = https://github.com/GTrunSec/jupyterWith;
    rev = "d9fe46bce29dcdb026807335f46cb2b8655dbf6b";
    ref = "current";
  };

  dscience = builtins.fetchGit {
    url = https://github.com/GTrunSec/Jupyter-data-science-environment;
    rev = "0194e5c71daa74e40b4cdaa8f8724989d372d6fb";
    ref = "master";
  };

  # Importing overlays from that path.
  overlays = [
    (import "${dscience}/overlay/python-overlay.nix")
    (import "${dscience}/overlay/package-overlay.nix")
  ];

  env = (import (jupyterLib + "/lib/directory.nix")){ inherit pkgs;};

  pkgs = (import "${dscience}/nix/nixpkgs.nix") { inherit overlays; config={ allowUnfree=true; allowBroken=true; };};

  jupyter = import jupyterLib {pkgs=pkgs;};

  iPython = jupyter.kernels.iPythonWith {
    python3 = pkgs.callPackage "${dscience}/overlay/python-self-packages.nix" { inherit pkgs; };
    name = "Python-data-env";
    packages = import "${dscience}/overlay/python-packages-list.nix" {inherit pkgs;};
    ignoreCollisions = true;
  };

  jupyterEnvironment =
    jupyter.jupyterlabWith {
      kernels = [ iPython ];
      extraPackages = p: with p;[ python3Packages.torchBin ];
      extraJupyterPath = p: "${p.python3Packages.torchBin}/lib/python3.7/site-packages";
    };
in
  jupyterEnvironment.env

but stuck here (link to log file)

The following tests FAILED:
2 - plasma-client-tests (Failed)
20 - arrow-io-file-test (Failed)
Errors while running CTest
builder for '/nix/store/g2r3ql5nh9ryf08lsw64l1pfm5dvdmyj-arrow-cpp-0.17.1.drv' failed with exit code 8
copying path '/nix/store/13520lflkakzr457l3c7nl4xp6vsrf2y-python3.7-PyQt5-5.14.2' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/yg2p2hj0j0ik7rnw1f9fw9sjk4vpxayw-python3.7-pyarrow-0.17.1.drv': 1 dependencies couldn't be built
building '/nix/store/vi2y8ka4wbmczf6qx4zizj2aq965xda0-generate-lockfile.drv'...
cannot build derivation '/nix/store/8h079k0mqkkzihdm2k3h4882fwsm5pln-python3-3.7.7-env.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jc5ggg3p8h0m47sfxii2vy7ppx0rfg72-ipython-Python-data-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7238ci01nrjaghigfmb357wb225is458-python-Python-data-env.drv', '/nix/store/jc5ggg3p8h0m47sfxii2vy7ppx0rfg72-ipython-Python-data-env.drv', '/nix/store/nyi31gsa98c3f80r84gwm73bf627p25v-python3.7-jupyterlab-2.1.2.drv', '/nix/store/vi2y8ka4wbmczf6qx4zizj2aq965xda0-generate-lockfile.drv' failed

@573
first, this issue from my python package which name of zat(pyarrow bug would  not pass with this nixpkgs channel).
two way to solve it:
create the python-packages-list.nix by yourself. (Do not using my python-pkgs-list packages such as zat(this is for security data science) )

{pkgs}:
(with pkgs.python3.withPackages; (p: with p;  [  put your package name here ]

or using my binary cache to speed up

@GTrunSec Using the cachix option (cachix use nsm-data-analysis)
and this modified shell.nix
# shell.nix
let
  jupyterLib = builtins.fetchGit {
    url = https://github.com/GTrunSec/jupyterWith;
    rev = "d9fe46bce29dcdb026807335f46cb2b8655dbf6b";
    ref = "current";
  };

  dscience = builtins.fetchGit {
    url = https://github.com/GTrunSec/Jupyter-data-science-environment;
    rev = "0194e5c71daa74e40b4cdaa8f8724989d372d6fb";
    ref = "master";
  };

  # Importing overlays from that path.
  overlays = [
    (import "${dscience}/overlay/python-overlay.nix")
    (import "${dscience}/overlay/package-overlay.nix")
  ];

  env = (import (jupyterLib + "/lib/directory.nix")) { inherit pkgs; };

  pkgs = (import "${dscience}/nix/nixpkgs.nix") { inherit overlays; config = { allowUnfree = true; allowBroken = true; }; };

  jupyter = import jupyterLib { pkgs = pkgs; };

  iPython = jupyter.kernels.iPythonWith {
    python3 = pkgs.callPackage "${dscience}/overlay/python-self-packages.nix" { inherit pkgs; };
    name = "Python-data-env";
    packages =
      import
        (pkgs.runCommand "shrinkpkgs"
          { } ''
          sed \
          -e "s!jsondiff\|geoip2\|qtconsole\|ipywidgets\|elasticsearch!!g" \
          -e "s!sympy\|nbdev\|fastai2\|fastai\|zat\|mlfinlab\|tqdm!!g" \
          -e "s!tensorflow\|patsy\|Keras\|dask\|pyfolio!!g" \
          "${dscience}/overlay/python-packages-list.nix" > "$out"
        ''
        ) { inherit pkgs; };
    ignoreCollisions = true;
  };

  jupyterEnvironment =
    jupyter.jupyterlabWith {
      kernels = [ iPython ];
      extraPackages = p: with p;[ python3Packages.torchBin ];
      extraJupyterPath = p: "${p.python3Packages.torchBin}/lib/python3.7/site-packages";
    };
in
jupyterEnvironment.env

I can nix-shell shell.nix --option sandbox false now and

import torch
torch.__version__
'1.6.0'

work.
Concerning jupyter lab running from the nix-shell still got some warnings though

[W 14:22:16.861 LabApp] Error loading server extension pytorch
Traceback (most recent call last):
File "/nix/store/yymb37m7bx1p8gzx332hhigx1aam3p6k-python3.7-notebook-6.0.3/lib/python3.7/site-packages/notebook/notebookapp.py", line 1670, in init_server_extensions
mod = importlib.import_module(modulename)
File "/nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pytorch'
[W 14:22:16.872 LabApp] Error loading server extension pytorch-bin
Traceback (most recent call last):
File "/nix/store/yymb37m7bx1p8gzx332hhigx1aam3p6k-python3.7-notebook-6.0.3/lib/python3.7/site-packages/notebook/notebookapp.py", line 1670, in init_server_extensions
mod = importlib.import_module(modulename)
File "/nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pytorch-bin'
[W 14:22:16.880 LabApp] JupyterLab server extension not enabled, manually loading...
[I 14:22:17.411 LabApp] JupyterLab extension loaded from /nix/store/p3ci42w5iw64zwm4lggg4mvyyfnb75ch-python3.7-jupyterlab-2.1.2/lib/python3.7/site-packages/jupyterlab
[I 14:22:17.413 LabApp] JupyterLab application directory is /nix/store/6q0dza9cq2vhb0makd7j8gd7dr6ff3kr-python3.7-jupyterlab-2.1.2/share/jupyter/lab

sorry， I did not get any error from my test machine(virt-box nix-debian).

make sure you loading with the correct kernels name which in your nix file.
also, I have pushed the binary cache to cachix.  Now, you can use the cachix to download binary instead of by yourself.

Sorry for the delay @573 . As I mentioned above, JupyterWith delegates the Python kernel work to python3.withPackages, which creates a Python interpreter with suitable libraries. The problem is that Python needs all dependencies to be coherent between packages, and therefore, packages from two different Nixpkgs checkouts will not work together. This is made confusing by the fact that this error is completely silent.
However, there is a solution to the problem, which is to change instead the checkout of Nixpkgs that is being used. A way of doing this is using the method described here: https://github.com/tweag/jupyterWith#using-as-an-overlay and replace  by the Nixpkgs checkout you are using. Besides some rebuilding, this should work.

@guaraqe never mind!
With your tip and @GTrunSec 's help I was able to come up with this minimal shell.nix.
let
  jupyterWithPath =
    builtins.fetchGit {
      url = https://github.com/GTrunSec/jupyterWith;
      rev = "d9fe46bce29dcdb026807335f46cb2b8655dbf6b";
      ref = "current";
    };

  # Importing overlays from that path.
  overlays = [
    # Necessary for Jupyter
    (import "${jupyterWithPath}/nix/python-overlay.nix")
    (import "${jupyterWithPath}/nix/overlay.nix")
  ];

  # Your Nixpkgs snapshot, with JupyterWith packages.
  # https://discourse.nixos.org/t/improving-nixos-data-science-infrastructure-ci-for-mkl-cuda/5074/43
  # https://github.com/tweag/jupyterWith/issues/124#issuecomment-692554738
  # curl -sL https://github.com/NixOS/nixpkgs/pull/96669.patch | head -n 1 | grep -o -E -e "[0-9a-f]{40}"
  pkgs = (
    import
      (
        fetchTarball
          "https://github.com/NixOS/nixpkgs/archive/6cce9c30786442f1fb2b6bd7c2c7c9a089e8648b.tar.gz"
      ) { inherit overlays; config = { allowUnfree = true; allowBroken = true; }; }
  );

  # From here, everything happens as in other examples.
  jupyter = pkgs.jupyterWith;

  iPython = jupyter.kernels.iPythonWith {
    # https://github.com/tweag/jupyterWith/issues/124#issuecomment-692554738
    # according to https://github.com/tweag/jupyterWith/issues/124#issuecomment-694109986 doesn't work
    # https://github.com/NixOS/nixpkgs/issues/65351
    #python3 = pkgs.python3.withPackages (_: [ ]);

    name = "github.com_tweag_jupyterWith_issues_124";

    packages = pkgs: with pkgs; [
      pytorch
      pytorch-bin
    ];

    ignoreCollisions = true;
  };

  jupyterEnvironment =
    jupyter.jupyterlabWith {
      kernels = [ iPython ];
    };
in
jupyterEnvironment.env

(notebook attached)
The (minor as the notebook seems to work for me) issue with ModuleNotFoundError: No module named 'pytorch' thus remains for IDK reasons.

You working example is essentially the same as the one using overlays, so I am glad it worked! Since this seems solved, I am closing the issue. Feel free to ask if you have further problems.

Glad it worked!
@guaraqe is there some way to get rid of the [W * LabApp] Error loading server extension pytorch[-bin] messages ?

The solution would probably to install the corresponding server extensions, even if I am not sure of what they are. If you want to try to do this, there are some hints here: https://github.com/tweag/jupyterWith#adding-packages-to-the-jupyter-path

Thanks @guaraqe !

@573 @guaraqe
Notice Jupyter extension  loading version with recent nixpkgs:
https://github.com/tweag/jupyterWith/blob/6021b5d6005e75b0718f1dee52b1ecdb0e9f14d2/lib/directory.nix#L21

Recent nixpkgs (has been changed  python3Packages (python37) to python3Package (python38) as default python  version's interpreter)
So,   the directory = jupyter.mkDirectoryWith does not work for recent nixpkgs anymore.
`

cp: cannot stat '/nix/store/wl3mzxkjplaw4cg21nj45mfrii4db31h-python3.8-jupyterlab-2.2.4/lib/python3.7/site-packages/jupyterlab/staging/yarn.lock': No such file or directory


feat(runtime): support publicPlugins throught options

Description
Adds support for passing globalPlugins to the constructor, which registers them as global plugins.
Related Issue
Implements #3290
Types of Changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change that adds functionality)

Checklist

[x] I have added tests to cover my changes.
[x] All new and existing tests have passed.
[ ] I have updated the documentation.

Additional Notes
I followed a similar approach to how regular plugins are handled, so I hope everything aligns correctly.
Regarding documentation, I can update it once the implementation gets approved. Additionally, should this MR include coverage for the framework's implementation? If needed, I’m happy to add that as well.

@yuvalkarif please run changeset add


Instructor field autocomplete changes suddenly upon selection

Summary
The instructor autocompletes changes suddenly upon selection. It changes from the default instructors to instructors starting in alphabetical order
Video
https://user-images.githubusercontent.com/41417417/148733233-c7adf0d1-565e-4df7-8664-47f790d0626d.mp4

This issue should be addressed with the new input library. #29


0.42.0 -  Error: CacheParameterGroupNotFound:

Hi there thanks for this great set of tooling. I appear to have run into a small issue with the cacheparamgroup
Found a bug? Maybe our Slack Community can help.

Describe the Bug
On use of latest 0.42.0 simple implementation can be provided on apply errors out

│ Error: CacheParameterGroupNotFound: CacheParameterGroup ps-prod-redis-cache not found.
│ 	status code: 404, request id: ccbf450d-4b2d-410e-95a9-2797c6d184d2
│

Expected Behavior
create a redis service

yup same issue here.


{tor,mullvad}-browser: 13.0.14 -> 13.0.15

Description of changes
https://blog.torproject.org/new-release-tor-browser-13015/
https://github.com/mullvad/mullvad-browser/releases/tag/13.0.15

This version includes important security updates to Firefox.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 311706 run on x86_64-linux 1

2 packages built:

mullvad-browser
tor-browser


no such file or directory

exo me, I got an error like this for hours.
$ node start.js
Started local static server at port: 23234
Project {
  uid: 'UVFgZwFL-',
  state: 'queued',
  template: 'project.aepx',
  composition: 'main',
  type: 'default',
  assets:
   [ { type: 'project',
       name: 'project.aepx',
       src: 'http://localhost:23234/assets/nm05ae12.aepx' },
     { type: 'image',
       name: 'background.jpg',
       src: 'http://localhost:23234/assets/2016-aug-deep.jpg',
       filters: [Array] },
     { type: 'image',
       name: 'nm.png',
       src: 'http://localhost:23234/assets/nm.png' },
     { type: 'audio',
       name: 'audio.mp3',
       src: 'http://localhost:23234/assets/deep_60s.mp3' },
     { type: 'script',
       name: 'data.js',
       src: 'http://localhost:23234/assets/2016-aug-deep.js' } ],
  actions: [],
  settings:
   { outputModule: 'test',
     startFrame: 0,
     endFrame: 3600,
     outputExt: 'mov' },
  errorMessage: null,
  callbacks: {},
  ticker: null,
  api: null,
  error: null }
[UVFgZwFL-] setting up project...
[UVFgZwFL-] downloading assets...
[UVFgZwFL-] renaming assets...
[UVFgZwFL-] filtering image assets...
[UVFgZwFL-] patching project...
[UVFgZwFL-] rendering project...
[UVFgZwFL-] verifying project...
--------------------------
[UVFgZwFL-] project failed
--------------------------

Error message: ENOENT: no such file or directory, stat 'temp/UVFgZwFL-/result.mov'
{ Error: ENOENT: no such file or directory, stat 'temp/UVFgZwFL-/result.mov'
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'temp/UVFgZwFL-/result.mov' }

what I did:

clone the project
change the aerender path
create a new outputModule in AE named 'test'
start

PS: my workmate works as I do. Orz.
my env: MacOS 10.14.1, AE2018/2014.
I'm new for AE, thanks for any help.  Orz

this is output result:

that is interestingly weird
for some reason AE isnt outputting any file, maybe some file read/write permission issues?

that is interestingly weird
for some reason AE isnt outputting any file, maybe some file read/write permission issues?

thanks for reply.
Two of my workmates work well. It should be my own problem.
I try sudo just now, failed still. /(ㄒoㄒ)/

try to render manually, via AE, maybe you will see some errors or something like that

Thanks. I'll try it.

i try to run aerender in command line,  got error.

i actually cannot google it.
but render via AE APP works well.
im really at a loss. (￣o￣) .

seems like something is wrong with your particular AE installation somehow

seems to me that it might be related to the scripts folder, have you ever edited/added some scripts to AE ?

seems to me that it might be related to the scripts folder, have you ever edited/added some scripts to AE ?

im not familiar with AE, maybe i did something wrong while installing.
ill try to reinstall it later.
thank u so much. :)

Hello inlife,
I am also getting the same error.
The output file is not generating.
Thanks.

@akashtsitestrokes can you check what errors does your AE report when you attempt to render ?


[feat] Add tiller-host and -port options to apply

This allows the use of a standalone tiller service.

What is the purpose of this pull request?: This allows users to specify where tiller is.
What issue does this pull request address?: Fixes #
Notes for reviewers to consider:
Specific reviewers for pull request:

LGTM


[minor] get medication request by number #2047

https://github.com/edenlabllc/ehealth.api/issues/2047

Coverage increased (+0.004%) to 91.596% when pulling 656bb698ba87fdb2c26a58bf809939199fc37ad4 on get_medication_request_by_number#2047 into 71da0a3b5b73a1d716d29d65dc4d6211dec62879 on master.


CI fails due to cmake failure

I recently updated my fork of this and now my CI fails with this error:
  running: "cmake" "/home/runner/.cargo/git/checkouts/prost-0f318a28dfb453a6/2c9d9c1/prost-build/third-party/protobuf/cmake" "-DCMAKE_INSTALL_PREFIX=/home/runner/work/xx/xx/server/target/debug/build/prost-build-744ea9bdfe2d1c67/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  CMake Error: The source directory "/home/runner/.cargo/git/checkouts/prost-0f318a28dfb453a6/2c9d9c1/prost-build/third-party/protobuf/cmake" does not exist.

How can I fix this?
The CI: https://github.com/Jasperav/prost/runs/6422877406?check_suite_focus=true

@Jasperav can you post the version of prost-build you are using?

The fork is missing the git submodule of the protobuf repo. https://github.com/Jasperav/prost/tree/master/prost-build/third-party check this folder on the master branch of this repo.

@LucioFranco Thanks for the reply, I got it working now!


Deterministic package files break lldb

Problem
#8864 introduced deterministic packaging.  One of the key aspects is that the mtime of every file is set to 0. Unfortunately, this seems to prevent lldb from reading the file.  This means that stepping into dependencies from crates.io won't show any source information.
Arguably this is a bug in lldb. This does not seem to affect gdb.  Unfortunately I feel like the likelyhood of fixing this in lldb is low (and even if it does get fixed, I imagine it would take years to trickle into Apple's release).
Steps
cargo new foo
cd foo
cargo package --allow-dirty
tar -xzvf target/package/foo-0.1.0.crate
cd foo-0.1.0
ls -al src   # verify that timestamp is Dec 31  1969 main.rs
cargo build
lldb target/debug/foo
b main.rs:2
run
######
# You should see output like this, notice there is no source information.
# Process 176294 launched: '/home/eric/Temp/foo/foo-0.1.0/target/debug/foo' (x86_64)
# Process 176294 stopped
# * thread #1, name = 'foo', stop reason = breakpoint 1.1
#     frame #0: 0x000055555555b9d4 foo`foo::main::h2ffdc3ce2a8b2165 at main.rs:2:5
quit

touch src/main.rs
cargo build
lldb target/debug/foo
b main.rs:2
run
######
# You should see output like this, notice we now have source!
# Process 176406 launched: '/home/eric/Temp/foo/foo-0.1.0/target/debug/foo' (x86_64)
# Process 176406 stopped
# * thread #1, name = 'foo', stop reason = breakpoint 1.1
#     frame #0: 0x000055555555b9d4 foo`foo::main::h2ffdc3ce2a8b2165 at main.rs:2:5
#    1    fn main() {
# -> 2        println!("Hello, world!");
#    3    }

Possible Solution(s)
I'm not sure. Cargo could set the timestamp of files when they are extracted. Would just need to be careful with #7590. I think setting all files to the same timestamp should be sufficient?
Notes
Output of cargo version: cargo 1.54.0-nightly (070e459c2 2021-05-11)
Seems to affect lldb on both macOS and Linux.
Linux: lldb version 10.0.0 and lldb version 11.0.0 and lldb version 12.0.1
macOS: lldb-1<IP_ADDRESS> (Xcode 12.4 (12D4e))

Wow nice find! This comparison in particular looks pretty suspcious.
I forgot that we preserved mtimes... In any case I think we should do two things to fix this:

For all tarballs going foward, let's set the mtime to like Jan 1, 2000. Just something that's nonzero (even 1 would probably be fine)
I'll update the tar crate to skip setting the mtime if the mtime is zero.

Thinking more about this, I don't think that we can skip the zero mtime case. If we skip the zero mtime case then we run afoul of #7590 where we'd basically just ignore mtimes altogether. I've opened https://github.com/alexcrichton/tar-rs/pull/250 to handle both points above which I think should fix this issue. New archives created by Cargo will have nonzero mtimes and older archives will start being extracted with an mtime of 1 instead of 0.
@ehuss mind reviewing that PR and the strategy here?


MySQL Snapshot fails at 50m rows and keeps starting over and over again

Hello there,
The lightweight version is a true magic, one container and you have near real time replication from MySQL to Clickhouse with all the columns moved right for you, a piece of art!
For a while now I'm debugging the issue java.lang.InterruptedException: null happens at ~50 million rows crashes and keep on happening.
java.lang.InterruptedException: null

	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1638) ~[?:?]

	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) ~[?:?]

	at java.util.concurrent.ExecutorCompletionService.take(ExecutorCompletionService.java:200) ~[?:?]

	at io.debezium.relational.RelationalSnapshotChangeEventSource.createDataEvents(RelationalSnapshotChangeEventSource.java:515) ~[app.jar:?]

	at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:171) ~[app.jar:?]

	at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:96) ~[app.jar:?]

	at io.debezium.pipeline.ChangeEventSourceCoordinator.doSnapshot(ChangeEventSourceCoordinator.java:285) ~[app.jar:?]

	at io.debezium.pipeline.ChangeEventSourceCoordinator.doSnapshot(ChangeEventSourceCoordinator.java:269) ~[app.jar:?]

	at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:192) ~[app.jar:?]

	at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:143) ~[app.jar:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]

	at java.lang.Thread.run(Thread.java:831) [?:?]

What I have tired so far:

Increased all the timeout in MySQL to the max:

SELECT
    variable_name, variable_value
FROM
    performance_schema.global_variables
WHERE
    variable_name IN ('interactive_timeout' , 'wait_timeout',
        'connect_timeout',
        'net_read_timeout',
        'net_write_timeout',
        'lock_wait_timeout',
        'innodb_lock_wait_timeout',
        'max_execution_time')
ORDER BY variable_name;

Increased memory and watched the used memory using jcmd 1 GC.heap_info inside the container:

So, it's not memory usage problem

Used different versions (branches) complied them and deployed to k8s but still same error.
Tried on different big tables, and it do the same but it breaks at different row size, the other table were smaller.

I'm using no locks snapshot.locking.mode: "none"
Related issue https://github.com/Altinity/clickhouse-sink-connector/issues/722
What I'm trying now is attach local Intellij remote debugger, but I'm having hard time stopping on the right exception.

@poweroftrue for MySQL, you can take a snapshot via MySQLshell (see python utilities in this project).
It takes a consistent snapshot, then you can just start replicating from the snapshot position and even before.
You can dump and TB of data this way.

Thanks @aadant!
Yes I checked the tool, it's amazing it dumps TBs of data very fast, I will use it after I try couple of weeks on this issue because it fit my use case better.
Having Debezium snapshot working open the door for simpler automation running this as a sidecar container for large number of MySQL services.

Hello @aadant, I finally found what causes this issue!
I was debugging if certain rows causes the interruption but it wasn't, I enabled all logs (DEBUG) from log4j.xml and I found that Debezium  was asked to stop.
It turned out to be restart.event.loop kicking in and restarting Debezium for not having events (normal during this kind of snapshot)
2024-09-12 03:03:11.146 INFO  - Stopping the embedded engine

2024-09-12 03:03:11.146 INFO  - Waiting for PT5M for connector to stop

2024-09-12 03:03:11.162 INFO  - Stopping the task and engine

2024-09-12 03:03:11.162 INFO  - Stopping down connector

2024-09-12 03:04:41.162 WARN  - Coordinator didn't stop in the expected time, shutting down executor now

I set it to false and now it's snapshotting rows beyond 100 million.
Should I add to docs that you need this disabled during the snapshot?

Good catch !  I think it is a bug. We should fix this as it is very misleading. The connector should only restart if it is idle (this is a workaround against a Debezium bug that should be fixed in the latest releases).

See https://github.com/Altinity/clickhouse-sink-connector/issues/380
It is recommended to replicate with a heartbeat table to know if the connector is lagging.
If they are no updates, the connector will not update the replica_source_info table.
@subkanthi let us fix this even if there is a workaround.


feat(#9): Scan bytecode classes

Scan bytecode classes inside ./target/classes folder
History:

feat(#9): Add several small methods to log bytecode classes
feat(#9): Add ugly working implementation and integration test check
feat(#9): remove the puzzle for #9 issue
feat(#9): add a puzzle for the future implementation of the jeo-maven-lugin

Closes: #9

PR-Codex overview
Detailed summary

Added Application class in org.eolang.jeo package with a main method that prints "Hello, World!"
Added optimize goal to JeoMojo class in org.eolang.jeo package
Added bytecode method to find all bytecode files in the project
Added logging statements in JeoMojo class
Added classes parameter to specify the project compiled classes directory

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 1min)


🐛 Bug ➾ TextMate grammar for Michelson Syntax Highlighting has incorrect regex for bytes literals

🚥 Status (Internal Taqueria Team Use Only)

[ ] 🔬 Investigated and Verified
[ ] ⚗ Solution Identified and Designed
[ ] 🧫 Dev Implementation of Fix
[ ] 🧪 Fix Tested and Validated
[ ] 🏆 PR Merged

🆘 What happened?
The bytes matcher defined here will falsely match 0x and fail to match any bytes-literals using the hexadecimal digit [Ff].
🆘 Steps to Reproduce?
Inspection of the .tmLanguage file demonstrates the existence of the bug.
🪵 Relevant log output
No response
🐘 How impactful is this bug?
🤔 Notable but managable
⏱ Prevalance
No response
💻 Operating System
None
🕸 System Architecture
None
🌮 Taqueria Version
No response
🌿 Node.js Version
No response
☎ Contact Details
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed


GEODE-6660: Remove non-Linux OS statistics classes

This is basically the same as the previous fix except for two things:

PureJavaMode.osStatsAreAvailable has been restored to satisfy external dependencies.
It is now deprecated and it uses the new OsStatisticsProvider for its implementation.
OsStatisticsProvider.build() will no longer throw an IllegalStateException if the operating system is not  a well known one. We want Geode to work on any OS that java supports. The OS stats are currently only on Linux, but on any other OS everything else should function.

@alb3rtobr could you take a look at this revised PR and let me know what you think?


Publish 11/16/2021, 3:30 PM

Docs Build status updates of commit b78f256:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-QuarantinePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-QuarantinePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

skype/skype-ps/skype/export-csonlineaudiofile.md
:white_check_mark:Succeeded
View (skype-ps)

teams/teams-ps/teams/New-CsGroupPolicyAssignment.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Medium Blog post thumbnail

As you see, the blog post is not showing the medium featured image. At the moment I am using the "Featured Image" system in Medium to show as a thumbnail on the portfolio, am I doing something wrong?

I believe this issue is related to cache on Medium end. Let's wait for some time if the cache is refreshed.

Is your medium username correct?
blog: {
    source: 'medium', // medium | dev
    username: 'uiopler.dev',
    limit: '10',  // How many posts to display. Max is 10.
  },

Shouldn't it be uiopler?

Yes it is, I have is as uiopler.dev on there

speaking of blogs, dev doesnt even load

<EMAIL_ADDRESS>redirects to 404 page. Change it to uiopler.
Check the issues #69 for dev.

Oh I must of changed it, Sorry for the trouble I have caused, thanks for helping!

Hi, in my case I have same error.
My username is @fahedhermoza and I also have subdomain fahedhermoza.medium.com. I don't understand which is my wrong.

Hi, in my case I have same error.
My username is https://medium.com/@fahedhermoza and I also have subdomain fahedhermoza.medium.com. I don't understand which is my wrong, please could you help me?

A third-party tool is being used to extract the content of the medium. I tried with my username and it still returns an empty thumbnail, It's probably a temporary issue on the third-party platform. Let's wait a bit for them to fix them or I will move to another platform to extract the data.

@FahedHermoza, the issue with the medium's thumbnail has been fixed. Running npm i -D @arifszn/blog-js@latest should fix it or let me know if you need any help.

Thanks for the response @arifszn,
Where can I run this command: npm i -D @arifszn/blog-js@latest ?

In your local copy's terminal. If you do not have a local copy, it's best to clone it.

Thanks @arifszn:

I had the same issue, and just realized if I start my medium name with @ it works fine, without it will not show a thumbnail, but does show articles.

Ah, now the hyperlink for medium in the left panel has a double @ in it... :-(

I will take a look.

I had the same issue, and just realized if I start my medium name with @ it works fine, without it will not show a thumbnail, but does show articles.

For me, it's showing the thumbnail without the @ sign. Also, the social's medium property has no effect on displaying the articles as blog property controls it.


⚠ Slack has degraded performance

In 8e17b90, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 337 ms

Resolved: Slack performance has improved in 0e04479 after 4 hours, 2 minutes.


Fix language prop being ignored

Fixes a logic error which causes the language prop to be ignored unless autodetection is explicit disabled.
For example, in 2.1.2, the following is highlighted as cpp rather than shell, even though we have asked for shell:
<highlightjs language="shell" code="#include <iostream>"></highlightjs>

I've tested the fix over a wide range of cases. The example code I used is
#include <iostream>; import os

because it is autodetected as stan but renders differently for stan, cpp and shell, which means you can visually tell how it has been highlighted.
I believe the fix provides reasonable results in all cases.

Fixes #41.

Good point, thanks. ChangeLog updated. I've assumed the change will go into 2.1.3.

Good point, thanks. ChangeLog updated. I've assumed the change will go into 2.1.3.

This bug has been around for a long time, why hasn't version 2.1.3 been released yet?


Good first issues

hey, would like to work on this, could you please assign?

Hi, Its my first issue...

Hi
Welcome to your first issue! I'm so glad you're interested in contributing to the project.
I know it can be intimidating to work on your first issue, but don't worry. I'm here to help!
Here are some tips to get you started:

Read the issue description carefully. Make sure you understand what the problem is and what the expected solution is.
If you have any questions, don't hesitate to ask. I'm happy to help in any way that I can.
Start small. Don't try to solve the entire problem at once. Break it down into smaller, more manageable tasks.
Test your code thoroughly. Before you submit a pull request, make sure to test your code thoroughly to make sure that it works as expected.
I'm confident that you can do this! Just take your time and ask for help when you need it.

Best,
ShadBalti

Hello I would like to work on this issue as well. Can you please assign?

Okay 👍👍

Everyone feel free to contribute

Hi can I also be assigned please?

hi @ShadBalti  where is the issue description, can you please share the issue description, i seem to be missing the description?

Hi I would like to contribute . But missing the issue description . Can u please provide that ?

hy, i want to contribute to this issue.

https://github.com/ShadBalti/Age-Calculator-App/issues/24

Hi, I too want to contribute to solve the issue, but I'm unable to view the issue description.


Update tekton cli to v0.27.0

The latest version of tekton cli is available here https://github.com/tektoncd/cli/releases/tag/v0.27.0
We need to also support the macOS M1 release.

Fixed by #698


Get Gaia prism spectra for all the stars!

Gaia has observed low-resolution spectra of basically all the stars and high resolution radial velocity + stellar characterization spectra for bright stars. It would be super neat to be able to plot spectra and/or label with stellar spectral types next to many of the bright stars in a field.
Starting from the existing get_gaia, this would involve downloading spectra and/or additional table columns. A few starting steps would be:

[ ] find and plot a Gaia prism spectrum of a star
[ ] figure out how to programatically download one prism spectrum, and plot it
[ ] figure out how to use ADQL to download lots of spectra at once, which might be faster than one at a time

I think https://www.cosmos.esa.int/web/gaia/gaiaxpy is probably essential here! The prism spectra are stored in (probably very clever but also deeply non-intuitive) weird orthonormal bases, and this tool helps with the math to get to actual spectra.

@Autumn10677 , I think starting with the light curves before this might be wise?


don't fail on schema json fetch

I can't use xcaddy to build with this version - can this please be merged?
2022/05/22 15:16:40 [INFO] exec (timeout=0s): /usr/bin/go get -d -v github.com/fedorg/caddy-json-schema@c337bcc4a3ba9c1a34dd606f7e1656a9c01124c4 <EMAIL_ADDRESS>go: downloading github.com/fedorg/caddy-json-schema v1.0.2
go<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/abiosoft/caddy-json-schema
                but was required as: github.com/fedorg/caddy-json-schema
2022/05/22 15:16:49 [FATAL] exit status 1

@abiosoft this would be an amazing QoL improvement!


[CH] Only test for arm CI

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #ISSUE-ID)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Run Gluten Clickhouse CI on ARM

Run Gluten Clickhouse CI on ARM


MessageTracing document still referring to DAS

Description:
In the message tracing documentation[1] is still referring to DAS, but it should now be updated to reflect the new APIM Analytics.
[1] https://apim.docs.wso2.com/en/latest/learn/api-gateway/message-tracing/#message-tracing
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

This Git issue has been duplicated by https://github.com/wso2/docs-apim/issues/1609


Legal Privacy Policy Research

A privacy policy is required to have a compliant webpage and let users know how their data is being tracked

Updated privacy policy and added a playwright test!

Obtained a privacy policy:
Privacy Policy
Last updated: [19MAR2023]
We at MyWebClass are committed to protecting your privacy. This privacy policy explains how we collect, use, and protect your personal information when you use our website.
Information We Collect
We may collect personal information from you when you visit our website, such as your name, email address, and browsing activity. We may also collect information about your device, such as your IP address and browser type.
Cookies
We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our social media, advertising, and analytics partners, such as Google Analytics, who may combine it with other information that you've provided to them or that they've collected from your use of their services. You consent to our cookies if you continue to use our website.
How We Use Your Information
We may use your personal information for the following purposes:
To provide you with the services and products you have requested To communicate with you about our services and products To improve our website and services To comply with legal obligations We may also use your information to send you marketing communications, such as newsletters or promotional offers, if you have provided your consent. Sharing of Information
We do not sell, rent, or trade your personal information to third parties. However, we may share your personal information with third-party service providers who assist us in providing our services and products to you.
Security Measures
We take reasonable measures to protect your personal information from unauthorized access, use, or disclosure. However, we cannot guarantee the security of your information, as no method of transmission over the internet is completely secure.
Accessibility Policy
We are committed to ensuring that our website is accessible to everyone, including individuals with disabilities. We strive to comply with the Web Content Accessibility Guidelines (WCAG) 2.1 Level AA.
Google Analytics
We use Google Analytics to help analyze how users use our website. The tool uses cookies to collect standard Internet log information and visitor behavior information in an anonymous form. The information generated by the cookie about your use of the website (including IP address) is transmitted to Google. This information is then used to evaluate visitors' use of the website and to compile statistical reports on website activity for us.
Your Rights
You have the right to access, modify, or delete your personal information. You may also withdraw your consent to receive marketing communications from us at any time. To exercise these rights, please contact us using the contact information provided below.
Changes to This Policy
We may update this privacy policy from time to time. Any changes will be posted on this page, and the date at the top of the page will indicate when the policy was last updated.
Contact Us
If you have any questions or concerns about our privacy policy or the handling of your personal information, please contact us at NJIT.edu.

Created a playwright test to check for privacy policy
`/* global localStorage */
import { test, expect } from '@playwright/test'
test('test', async ({ page }) => {
await page.goto('http://localhost:3000/privacy.html')
await page.getByRole('button', { name: 'Agree', exact: true }).click()
// Retrieve the privacyPolicyAgreed item from local storage
const privacyPolicyAgreed = await page.evaluate(() => {
return localStorage.getItem('privacyPolicyAgreed')
})
// Check if privacyPolicyAgreed is set in local storage
expect(privacyPolicyAgreed).toBeTruthy()
})`

Added code to a privacy file created in the tests folder, standardized it, ran it and committed to git hub


fix(ngOptions): do not unset the selected property unless necessary

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix.
What is the current behavior? (You can also link to an open issue here)
When updating the value of a select[multiple] element, all options are first set to selected = false and then the selected ones are set to true. By setting an already selected option to selected = false and then true again - essentially unselecting and reselecting it - causes some browsers (including Firefox, IE and under some circumstances Chrome) to unexpectedly scroll to the last selected option.
What is the new behavior (if this is a feature change)?
The selected property of the <option> elements is only set if its current value is different than the new one and even then it is set to its final value at once (i.e. without first setting it to false), thus avoiding the undesirable behavior.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Fixes #15477

LGTM

I restarted the unit test job, there were some mobile safari tests for animateCss, they looked unrelated


Fixed TestRollingCharBuffer::Test() to prevent OOM when running with Verbose enabled

That's a nice simple solution. Very pragmatic.


[NEW ICON] UnoCSS

Skill Name
UnoCSS
Why?
It's a powerful CSS engine built on top of well-known CSS frameworks such as TailwindCSS and WindiCSS.
Reference Image

<svg xmlns="http://www.w3.org/2000/svg" width="220" height="220" viewBox="0 0 220 220" fill="none">
   <path d="M117.444 167.888C117.444 140.273 139.83 117.888 167.444 117.888V117.888C195.058 117.888 217.444 140.273 217.444 167.888V167.888C217.444 195.502 195.058 217.888 167.444 217.888V217.888C139.83 217.888 117.444 195.502 117.444 167.888V167.888Z" fill="#858585"/>
   <path d="M117.444 53C117.444 25.3858 139.83 3 167.444 3V3C195.058 3 217.444 25.3858 217.444 53V98C217.444 100.761 215.205 103 212.444 103H122.444C119.683 103 117.444 100.761 117.444 98V53Z" fill="#CCCCCC"/>
   <path d="M102 167.888C102 195.502 79.6142 217.888 52 217.888V217.888C24.3858 217.888 2 195.502 2 167.888L2.00001 122.888C2.00001 120.126 4.23859 117.888 7.00001 117.888L97 117.888C99.7614 117.888 102 120.126 102 122.888L102 167.888Z" fill="#4D4D4D"/>
</svg>

I created a new project since this project is no longer updating & the author left it, unocss is available skills-icons
https://skills-icons.vercel.app/api/icons?i=unocss

I created a new project since this project is no longer updating & the author left it, unocss is available skills-icons
skills-icons.vercel.app/api/icons?i=unocss

Thanks. I actually use https://github.com/LelouchFR/skill-icons.


RFC: SPI Flash Mode

Request For Comments: SPI Device Flash / Mailbox Mode
This RFC suggests two features in SPI Device HWIP, which are the SPI Flash mode (EEPROM) and the Mailbox mode. SPI Flash mode is to enable the host to access internal eFlash storage with standardized SPI Flash command set and protocol. It leads to the eventual goal, SPI passthrough mode later. The second feature, Mailbox mode is to communicate between the host and the core inside OpenTitan SoC with write only commands and address.
https://docs.google.com/document/d/13_7_BB68dziCwpukN9TS6i7zIcT7kA6s16pTb6iDeUE/edit?usp=sharing

sorry @eunchan i didn't provide input sooner. I'm going to have a look today.

sorry again! i finally read through it and left some comments.
Thanks for the write-up @eunchan ! looks pretty good to me overall.

@weicaiyang to review as well

Adding the comments from @mwbranstad
On Tue, Jan 07, 2020 at 05:21:05PM +0000, Mark Branstad wrote:

Hi Eunchan,
I reviewed the document, but my questions were mostly at a high level. Also, I was unable to comment in this doc - is that a permission issue, or do I not have the doc in the correct mode?
Anyway, my comments where along the lines of:
What problem are we really solving with these new modes? (how does the software differ?)

This SPI Flash mode is to support SPI interface. It eventually leads to the SPI
Passthrough combining this SPI Flash mode. So that, the host can access the OT
eFlash and the external Flash (BIOS) with same protocol.

What is driving the speeds, buffer sizes, etc. - can this be a very simple interface change, or does the extra hw really help the overall performance?

It doesn't increase the speed of the SPI interface but the throughput as it can
support Dual IO, Quad IO eventually. Current Firmware Download mode doesn't
support it as its assumption is to send/receive through the SPI interface at the
same time.

It is not clear how a mailbox mode was better than a direct command/address mode - there appears to be assumptions on this not explained.
Again, more high-level in nature. I have modified an I2C/SPI type controller in the past, but too long along to remember fine details.

Based on RFC Process , it is supposed to be tagged with TC Review but I cannot see the tag in the list.

Once the author is happy that the RFC is complete, they submit it to the Technical Committee for review by adding the label For TC Review.

@aytong Could you add the tag to the system? I think it is good to go for TC Review.

@eunchan @sjgitty, I don't have privilege to create labels in opentitan repo.  Not sure if it is because I don't have commit rights.  Can either of you create labels?

I can try, I have before. What labels are you looking to create? Or do you
mean applying labels?
Scott
On Mon, Jan 13, 2020 at 7:55 PM Andy Tong<EMAIL_ADDRESS>wrote:

@eunchan https://github.com/eunchan @sjgitty
https://github.com/sjgitty, I don't have privilege to create labels in
opentitan repo. Not sure if it is because I don't have commit rights. Can
either of you create labels?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1121?email_source=notifications&email_token=AJZQKVILNU4T7NMPLYUK32TQ5UZULA5CNFSM4JUNNBXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI3F3CA#issuecomment-573988232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZQKVNM7OPRP2WJ6DAPA5DQ5UZULANCNFSM4JUNNBXA
.

the RFC process doc mentioned that "TC Review" label need to be added to
proceed.
On Mon, Jan 13, 2020 at 10:23:47PM -0800, Scott Johnson wrote:

I can try, I have before. What labels are you looking to create? Or do you
mean applying labels?
Scott
On Mon, Jan 13, 2020 at 7:55 PM Andy Tong<EMAIL_ADDRESS>wrote:

@eunchan https://github.com/eunchan @sjgitty
https://github.com/sjgitty, I don't have privilege to create labels in
opentitan repo. Not sure if it is because I don't have commit rights. Can
either of you create labels?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1121?email_source=notifications&email_token=AJZQKVILNU4T7NMPLYUK32TQ5UZULA5CNFSM4JUNNBXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI3F3CA#issuecomment-573988232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZQKVNM7OPRP2WJ6DAPA5DQ5UZULANCNFSM4JUNNBXA
.

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/lowRISC/opentitan/issues/1121#issuecomment-574022901

@eunchan

How is the review of two new features (Flash mode, Mailbox mode) for SPI device coming along?
When do you expect this RFC to be ready for TC review? Afaik, these two features can affect timing of the SPI device. Therefore we want a decision and then implementation for the upcoming netlist drop.

Hi @eunchan - ping on the above.

Hi @eunchan - ping on the above.

@eunchan @tjaychen I think both features proposed in this RFC have been implemented since. Can we close this issue?

yes that's right, let's close this.


sortedmerge

Related Issue #356
Write a SortedMerge() function that takes two lists, each of which is sorted in increasing order, and merges the two together into one list which is in increasing order. SortedMerge() should return the new list. The new list should be made by splicing together the nodes of the first two lists.
Proposed Changes
-Created SortedMerge() function to solve this issue
Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[ ] ✨ I have added tests to cover my changes.
[ ] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

Wrote a SortedMerge function that takes two lists and merges them together in sequential order

I was able to successfully write a program function that would merge two lists in sequential order using recursion

To resolve the issue of writing a function of SortedMerge

https://github.com/Lakhankumawat/LearnCPP/issues/356

Compiled and tested on my own computer using Replit.

Used the online compiler of Replit to run tests.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots
| Screenshot #1  |

//-----------------CheckList-------------------------///
Make sure your Pull Request is descriptive and complete the checklist .
I would recommend you to go through this tutorial video of the project here ,thanks.
///------------------Description -----------------------///
Let me show you how to check the check list , there should be no space inside brackets like [x]
[x]

[x] Checklist
[ ] Or you can just check them from outside without doing any of these
[x] âœ¨ I have added tests to cover my changes.
[x] ðŸš© All new and existing tests passed.
[ ] ðŸŒŸ ed the repo

Starr the repo if you haven't !
Have you watched this video ?

///----------------------PR README --------------------///
You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here


[SPARK-12164] [SQL] Decode the encoded values and then display

Based on the suggestions from @marmbrus @cloud-fan in https://github.com/apache/spark/pull/10165 , this PR is to print the decoded values(user objects) in Dataset.show
    implicit val kryoEncoder = Encoders.kryo[KryoClassData]
    val ds = Seq(KryoClassData("a", 1), KryoClassData("b", 2), KryoClassData("c", 3)).toDS()
    ds.show(20, false);

The current output is like
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|value                                                                                |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|[1, 0, 111, 114, 103, 46, 97, 112, 97, 99, 104, 101, 46, 115, 112, 97, 114, 107, 46, 115, 113, 108, 46, 75, 114, 121, 111, 67, 108, 97, 115, 115, 68, 97, 116, -31, 1, 1, -126, 97, 2]|
|[1, 0, 111, 114, 103, 46, 97, 112, 97, 99, 104, 101, 46, 115, 112, 97, 114, 107, 46, 115, 113, 108, 46, 75, 114, 121, 111, 67, 108, 97, 115, 115, 68, 97, 116, -31, 1, 1, -126, 98, 4]|
|[1, 0, 111, 114, 103, 46, 97, 112, 97, 99, 104, 101, 46, 115, 112, 97, 114, 107, 46, 115, 113, 108, 46, 75, 114, 121, 111, 67, 108, 97, 115, 115, 68, 97, 116, -31, 1, 1, -126, 99, 6]|
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

After the fix, it will be like the below if and only if the users override the toString function in the class KryoClassData
override def toString: String = s"KryoClassData($a, $b)"

+-------------------+
|value              |
+-------------------+
|KryoClassData(a, 1)|
|KryoClassData(b, 2)|
|KryoClassData(c, 3)|
+-------------------+

If users do not override the toString function, the results will be like
+---------------------------------------+
|value                                  |
+---------------------------------------+
|org.apache.spark.sql.KryoClassData@68ef|
|org.apache.spark.sql.KryoClassData@6915|
|org.apache.spark.sql.KryoClassData@693b|
+---------------------------------------+

Question: Should we add another optional parameter in the function show? It will decide if the function show will display the hex values or the object values?

Test build #47405 has started for PR 10215 at commit 1e1ad19.

Test build #47405 has finished for PR 10215 at commit 1e1ad19.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47405/
Test PASSed.

Test build #47597 has started for PR 10215 at commit 48e049b.

Test build #47597 has finished for PR 10215 at commit 48e049b.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47597/
Test PASSed.

Can you add tests too?  Probably in DataFrameSuite.

Sure, will do. Thanks!

To simplify the possible code merge, I combined the code changes in another related PR: https://github.com/apache/spark/pull/10165. Thank you!

Test build #47717 has started for PR 10215 at commit 1c33441.

Test build #47717 has finished for PR 10215 at commit 1c33441.

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

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <Re: [spark] [SPARK-12164] [SQL] Decode the encoded values and then display (#10215)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47717/
Test PASSed.

Merged build finished. Test PASSed.

Test build #47745 has started for PR 10215 at commit 5553b0b.

Test build #47745 has finished for PR 10215 at commit 5553b0b.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47745/
Test PASSed.

Thanks, merging to master.


KAFKA-2645: Document potentially breaking changes in the release note…

…s for 0.9.0

This should address the documentation needed for #310 too.

I'm not sure if this is considered a breaking change, but the "auto.offset.reset" config options changed from the old and new consumer.
old values: "smallest" or "largest"
new values: "earliest", "latest", or "none"

@onurkaraman We need to include this in the new consumer client docs, while the breaking changes here are related to brokers only.


Feature request : Modify Button size

A way to modify the button size would be great, since making the text bigger just makes it overflow.

@dupiesdupreez this new feature has been deployed with the latest bottom_picker version

@dupiesdupreez feel free to close the issue if the latest version fix the problem you had in your app


Severely degraded performance while profiling a Linux app

Enabling the Application Insights profiler for an ASP.NET Core app on Azure App Service results in response times slowing down to over 30 seconds (during profiling) where they would normally be in the milliseconds. This is reproducable by following the guide at https://docs.microsoft.com/en-us/azure/application-insights/app-insights-profiler-aspnetcore-linux to set up a ASP.NET app and placing it on a B1 app service plan.
Idle memory use increases by 300-400MB after adding the profiler, and every time the profiler activates memory use spikes up by about 600MB and response times slow down significantly. Since the response times become so slow it's not feasible to actually use the profiler at all.
Here's a chart from application insights displaying the memory use of an example app. The profiler was added at the very beginning of the chart, where memory use jumps up from ~50MB to nearly 700MB. It then keeps spiking for each profiling session it starts. If you try to load the web apps pages during a profiling session you'll encounter response times of over 30 seconds.

Is this kind of resource use expected?

@xiaomi7732 have we tested on the Basic plans?
I think we should recommend S1 minimum.
@ihalila was this just a test app or do you have a real production app on a B1 plan? Are you able to scale up to S1 -- at least long enough to see what the corresponding chart looks like?

This was a test app, I didn't make any modifications to the template created by dotnet new mvc -n LinuxProfilerTest other than adding the profiler. I'll scale up to S1 and report back what it looks like once it's ran for a while.

@ihalila / @pharring Thanks for opening this issue.
@ihalila Please help me understand more about the issue:

What is the app's runtime? Is it CLR 2.0 or CLR 2.1?
What is the base image that is used to build the image?
When you see 30+ seconds slowness, is that for the cooling start or is that for every request even after warm up?

It will be great if you can fill me in with those details that we can have a close enough environment to reproduce the issue. Anyway, I will spend some time to see if I can repro the issue on my end and see if there's anything going on.

It's running on the ".NET Core 2.1" stack that App Service provides.
It's whatever is default on App Service, I've deployed the app using the "Local Git" method of just pushing the project files directly to App Service to make this as simple as possible.
The slowdown seems to happen when profiling starts but doesn't persist during it, though it's a bit hard to tell for sure. When testing manually what I see is one request taking a long time and then further ones taking a normal amount.

I've had an availability test running from 5 locations on the example project, it pretty clearly shows how requests slow down every hour. Doesn't go above 30 seconds too often but it's steadily above 20 seconds. Also shows how it's a fairly narrow window where the requests slow down since depending on when the availability test ping is sent it might return in "just" a few seconds, and outside of profiling the response times are < 1 second as expected.
This is the last four hours:

And this is the last 48 hours:

@ihalila Thanks for the reporting. By setting up a local environment, I can repro the same issue now. We need some more time to look into the cause and see what will be the next step.

@ihalila Just so that you know we are still looking into this. We found some interesting activities alone with each profiling that drains all the resources from the web app that causes the slow responsiveness. More time is needed for the root cause.

@ihalila Here's what we found so far:

We have a circular buffer of 1G set to hold the traces; When profiling finishes, we have a run-down process to dump the buffer from memory to disk.
Since the S1 plan has a memory of 1.75G in totally, the run-down is struggling between memory paging and thus slows down the service's responses.

To address the issue, we will release a new package that requires a much smaller in-memory buffer to make it work with the S1 plan. At the same time, if you want to work-around to make end-to-end work with the existing package, you could try temporary scale up the plan to S3 or P2V2 - just please to remeber scale it down after you trying it out :-)
I'll keep this conversation open until we have the new version released.

@ihalila Please try the new release:
1.1.3-beta2. It contains the fix for this issue.
Thanks again for the report. Feel free to file new issue or reactivate this if there's more problem.

@xiaomi7732 thank you for the fix. @ihalila has moved on to new challenges, so I will check this on our side and report if issues still remain.

@sv-citrus 👍


Has the tutorial changed in the last few days?

Hello!
Nice tutorial.
Just a question. I followed that until the Service chapter and everything was working properly.
I stop for 4-5 days and restart today with the chapter about Routing.
And something seems pretty different.
Now there is an app.module that before there wasn't..
Before my main.ts was looking like this:
import { bootstrap }    from '@angular/platform-browser-dynamic';
import { AppComponent } from './app.component';

bootstrap(AppComponent);

But in the tutorial now it looks like this:
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';

platformBrowserDynamic().bootstrapModule(AppModule);

I am not going crazy right? There has been some recent changes?
As a matter of fact there is no app.module.ts file here..
Just the tutorial changed or also Angular 2?
Are we good to go with the new version or there will be more changes?

Definitely @francesco RC5 is out: https://github.com/angular/angular/blob/master/CHANGELOG.md#200-rc5-2016-08-09

Ok thanks..
Can I ask you one thing?
I know is not the proper place.
But how is the situation with Angular2?
Is still in beta?
Can we use it for production project?
Thanks!

As i mentioned it is already release candidate version 5,so close to final release, estimated this year. For new project it was suggested to be safe enough as the core of the framework is not going to change further. Please follow http://angular.io for more details.

Ok thanks!


Newsletter signup form to website

Add a newsletter signup form to the front page: right side bar, underneath the 'Purpose' section and spacecat logo.
Mailchimp embeddable code:

Subscribe to our mailing list

hi can i take this?

Yes, all yours. Thank you!

Hi, I created a pull request: https://github.com/shescoding/shescoding-dot-org/pull/144
Could you review? I actually had some questions:

Do you already have a mailchimp account? I created a new one, but maybe you have one already?
Wasn't sure what other fields you wanted, so just added email for now.

Thanks!


High level architecture diagram in DG seems wrong

Someone seems to have saved the wrong file into the PNG file that's meant for high level I think.

fixed


Build up provider-consumer model for widgets

mentioned here #23 .
Used to stored app state.

add a screen for creating new topic


Rename Buildpack?

Because ASP.NET 5 !== what this is anymore...
Potential name options:

dotnet-buildpack (:+1: for my vote)
dotnet-core-buildpack
aspnet-core-buildpack
aspnet-buildpack

As this buildpack only applies to ASP.NET Core applications and not generically .NET core (it's not like this is designed for console apps), I suggest aspnet-core-buildpack.  By not supplying core you run the risk of someone thinking this might apply to legacy .NET, or some kind of legacy mono app.

Why couldn't this also run console apps?

By not supplying core you run the risk of someone thinking this might apply to legacy .NET, or some kind of legacy mono app.

Using that line of reasoning we should have a java-8-buildpack to avoid confusion that it does not run 1.4 apps.

Because console apps don't listen on an HTTP port, and console apps in the traditional sense (e.g. without ASP.NET self-starting Kestrel) will fail a CF health check.

Apps can be started with --no-route and work against a message broker (e.g. RabbitMQ).

Using that line of reasoning we should have a java-8-buildpack to avoid confusion that it does not run 1.4 apps.

The difference between Core and 4.6 is not the same as the difference between Java 7 and 8.

I vote for dotnet-core-buildpack

I vote for dotnet-core-buildpack

OK, 👍  on that.

I vote for dotnet-core-buildpack

Technically the buildpack does pass a parameter to kestrel through the command-line right now giving it a server-urls parameter, this is something specific to a web app.  Even with that parameter being passed, console apps could still run but they would receive those parameters from the command-line.

@degrim noted. I suppose the question isn't so much the current state, but what the buildpack aspires to be? I think it should allow apps to start with or without a (HTTP/S) route, particularly given future TCP routing capabilities.

@joefitzgerald I think before the changes in RC2 to use the .Net CLI, it didn't make sense for this buildpack to also try to support console apps.  But now that ASP.Net runs on top of the same CLI as .Net console apps, it makes a little more sense to accommodate this scenario as well.

Using that line of reasoning we should have a java-8-buildpack to avoid confusion that it does not run 1.4 apps.
That's not entirely true, this buildpack supports ASP.Net Core (and now .Net Core console apps?) which is a different product than ASP.Net and Classic ASP.  ASP.Net 1.0 released in 2002, ASP.Net Core 1.0 releases later this year.

@degrim yes, @autodidaddict hashed it out via Slack and I agree - core should be part of the name.

Console apps do indeed work with --no-route, so my vote would be for dotnet-core-buildpack.

buildpack renamed

🎉


--[BUGFIX] Single channel texture support

Motivation and Context
We were not handling single channel textures, causing them to display red.  This PR addresses this - any single channel textures get their swizzle modified to pull RGB from the R channel.  This currently is not supported in magnum for WebGL builds, so a warning is displayed instead.

How Has This Been Tested
C++ and python Tests pass locally

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Odd we are getting a physics flake, does the tolerances need to be adjusted?

Odd we are getting a physics flake, does the tolerances need to be adjusted?

Yeah, i was wondering if that's just one of the borky things going on with ci this morning of if its actually something else.


[PR] [#25] Included lectures in calendar view

Description of change

Summary: Included lectures list in Calendar ('Today' tab).
Issues resolved

Fixes #25

Platforms affected

All platforms (iOS, Android)

Kind of changes

Behavioral (Logic)

Codecov Report

Merging #26 into develop will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop     #26   +/-   ##
=======================================
  Coverage     3.14%   3.14%
=======================================
  Files           73      73
  Lines         1144    1144
  Branches        79      79
=======================================
  Hits            36      36
  Misses        1106    1106
  Partials         2       2

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 ee76216...ebf1277. Read the comment docs.


ObjectMetadata error EasyPerform()

Hello,
Does this issue affect the google-cloud-cpp project?
No, i have a problem with a functionality.
I create a project with QtCreator.
What component of google-cloud-cpp is this related to?

Cloud Firestore (commnunity supported).

What version of google-cloud-cpp are you using?
I used the latest version.
What compiler and version are you using?
I used gcc version 7.5.0.
What operating system and version are you using?
I worked with ubuntu ~18.04 and Qt-creator 4.11.1
What were you trying to do?
I try to read my bucket. I can create a client with my json.
What did you expect to see?
I will to see the same result like this command: gsutil cp gs://bucket *.pdf
What did you see instead?
But when i  used StatusOr<gcs::ObjectMetadata> object_metadata = client->GetObjectMetadata(bucket_name,object_name ); i received this error what():

Permanent error in GetObjectMetadata: EasyPerform() - CURL error [60]=SSL peer certificate or SSH remote key was not OK [UNKNOWN]

Anything else you would like us to know?
I have follow your readme for install this package.
I move on the file for used function in my project.
Before i have used my project and all functionality works.
But i have a problems with my computer and i reinitialized it.
Thanks you.

Permanent error in GetObjectMetadata: EasyPerform() - CURL error [60]=SSL peer certificate or SSH remote key was not OK [UNKNOWN]

The most likely cause for that (as you point out below) is that you are missing the certificates needed by libcurl.

Is the the ca-certificates package installed on your machine?
Are you using a super build (cmake -Hsuper -B...)?

Thanks for helping.
ca-certificates is al-ready install.
Yes i used cmake -Hsuper for super build.

Okay, your ${BINARY_DIR} (whatever you passed the -B flag) should have a external/bin/curl-config program installed.  In my case I used .build, and I was able to run it using:
.build/external/bin/curl-config --ca

That will output the name of the Certificate Authority file picked by libcurl (the version of libcurl actually compiled as part of the super build).
Does that file exist?
Has it been updated recently?
If the answer to either is "no", then that is likely the problem.  You should consider rebuilding that file with something like update-ca-certificates though the program name to perform the update may be different in your system.

Thank you for your help.
But now i work with other function.
I come back later on this error.

I have the same issue:
W0502 09:53:07.994941 330692 ... Permanent error in GetObjectMetadata: EasyPerform() - CURL error [16]=Error in the HTTP2 framing layer [UNKNOWN]

I am using google-cloud-cpp built from sources. What is strange, is that the error is intermittent. In the app I am uploading a bunch of files (~2GiB) to Google Cloud storage, and 3 uploads are successful, then 4 failures for 4 different files, then 2 successful uploads and so on...

Closing for now, feel free to reopen when you get back to this and/or you have more information.


Added links to plugins

#163

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!

Hi @hydai , please have a look at this. Thank you

@Mash707 Could you please update the links here as well?
https://github.com/WasmEdge/docs/tree/main/i18n/zh/docusaurus-plugin-content-docs/current

Sure I'll update it


feat: update golang-github-huandu-xstrings to 1.3.3

Package xstrings: A collection of useful string functions in Go.
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/552
Log: update repo

/lgtm
/approve


Some UI validation when performing staking operations

Describe the bug

[x] Wrong list of accounts displayed when selecting account to claim reward
Actual: Show all account
Expect: Show only accounts that are staked

[x] Still enable button Unstake on the Staking details in case "Active staked" = 0

Actual: Still enable button Unstake, when user click it to open the Unstake screen then do not unstake because Active Bonded = 0
Expect: Disable button Unstake when "Active staked" = 0

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1601-build-1.0.12-2023-07-04T12-05-02UTC.zip
Validation passed


Improve dependency management

See how NullAway does it.
It's more concise than our ext.gradle approach.

Our config repo does this already.


Search tweets based on their Latitude and Longitude

Is there a way to search the tweets based on their LAT and LONG values, just like Tweepy let's you do?

Sadly no, the search made by this library is like twitter search on browser. There is an option there to search near locations, but I never get good results so I didn't put on my code. If you have ideas and other suggestions please reply me.


YouTube Adblock Violation/Premium Purchase Pop Up happening with every video now upon opening; won't go away unless refresh screen

Script version
What version is the script on eg 2.9 , 3.1 ect
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Script version: 4.0
Describe the bug: YouTube Adblock Violation/Premium Purchase Pop Up happening with every video now upon opening; won't go away unless refresh screen
Expected behavior: Expecting to skip the pop up as it should be.
OS: [Windows]
Browser [chrome]
Version [124.0.6367.61 (Official Build) (64-bit)

]


Sign and Sign UP PageDone

Completed Login and Signup page layout and functionality
Implemented Sign In and Sign Up Pages in the Landing Page.
Features Added:
Implemented the login and signup functionality with email.
Designed the layout to be responsive and user-friendly according to your Figma Design
I have call Sign In and Sign Up Page in Landing Page
Please Review it  and provide feedback for further improvements.
Here Image:-

@thecuriousteam

Please add the image

@thecuriousteam  Error Fixed! Now You can review


Why does the SBA "add new object" have a second "title" field?

We do want to be able to add other SBAs -- let's discuss this. See "+ New Societal Benefit Area"

There are two "SBA" things in the DB. There's the SBA "framework", which exists as static data that nobody is allowed to change. Then, if you want to add an SBA from the framework to the object library, you have the option to then make changes you might want, e.g. override the title. Right now title is a field we consider to be "common" for all types of things in the object library, including SBAs, but it doesn't have to be that way if know for sure you always want to re-use the static title in the framework.
If that answers all your questions, do you want to close this or re-title the issue to address the "add other SBAs" need?

I need to better understand the implications of having a static framework in the database & what does that make possible & what would be different about adding other SBAs more dynamically. But broadly, yes, there are probably two issues in this one: (1) adding other SBAs and (2) updating the way the existing SBAs display so there are not two title fields

Moving this to response object registry/library since it impacts how the SBA portion of the library works

TODO: @hazelshapiro @rmarow bring over notes from Slack: https://nsidc.slack.com/archives/C044NJR3W4B/p1727812992701029?thread_ts=1727811154.191939&cid=C044NJR3W4B

This is really "we need to polish the SBA design and support multiple frameworks".

Copied the information over in a new issue #327. Suggest we close this question as answered and work from that issue.


Support endpoint for refreshing auth token

The token will be regenerated and a new expiration date will be set, so it is necessary to rebuild the client with the new token afterwards.
The endpoint only exists in version 2 of the API though.

I'll add some docs to README, hold your horses


Swift 5

Next weekend I have time to make a pull request. If someone has time before that don't hesitate to make a pull request before me.

Released 0.7.0:
$ pod trunk push

[!] Found podspec `SwiftBase32.podspec`
Updating spec repo `master`

CocoaPods 1.7.0.beta.3 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.7.0.beta.3

Validating podspec
 -> SwiftBase32 (0.7.0)
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | xcodebuild:  note: Planning build
    - NOTE  | xcodebuild:  note: Constructing build description

Updating spec repo `master`

CocoaPods 1.7.0.beta.3 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.7.0.beta.3

--------------------------------------------------------------------------------
 🎉  Congrats

 🚀  SwiftBase32 (0.7.0) successfully published
 📅  April 12th, 11:51
 🌎  https://cocoapods.org/pods/SwiftBase32
 👍  Tell your friends!
--------------------------------------------------------------------------------
pod trunk push  35.19s user 53.86s system 49% cpu 3:00.45 total


Reduce number of calls to DB pass plus some maintenance in db_handler

Reduce the number of database calls.
What we do is that we store any parameters retrieved in a dictionary as a class variable. I should say that I am not firm enough in python to know if using class variables is a good solution for problem. Maybe one of you knows better. I have been looking also into the cache-functionality from functools, but this is not working the way we have integrated the  model parameter classes.
Tests are passing. Locally, this reduces the type required for unit tests by almost 40%.
From the discussion below, we want to make sure that we notice when parameters are locally changed:

in general, the parameter dicts in db_handler should not be changed in any other way than reading from DB

Additional maintenance:

removed db_handler.add_parameter. This is nowhere used, we generally use add_new_parameter
removed db_handeler.update_parameter. This is nowhere used, we use update_parameter_field.

Potential issues raised by Tobias:

Memory issues when the parameters include lots of data.

Don't think this will be an issue. We have roughly 200 parameters per telescope, most of them are dicts with single values (the typical DB dict for a parameter), a few (<10%) are tables (e.g., reflectivity). A single telescope right now is roughly 500kb, so 100 Telescopes x 500 kB is still not a lot to keep in memory (one could imaging that we will have at some point reflectivity tables per mirror panel or quantum efficiencies per channel - but this is many years away).

Maybe potential outdated values in the cache/making sure the cache is read only.

This is more important. Does one of you know how to protect a variable from being written over in python?
db_handler by itself is already a bit protected, as it it called directly only by model_parameters. There are three functions in db_handler we need to look at:

update_parameter
update_parameter_field
add_parameter
add_new parameter (hmm, this is an interesting naming...what is the difference to add_parameter?)

Let's discuss this in person to see if it is worth continuing.

Hi @GernotMaier,
I will look into this solution. Regarding your question, I think a good way to protect the variable is to use it as a @property and set the variable only in the first use with something like:
def __init__(self):
    self._variable = None
# code
# code ....

@property
def variable(self):
    if self._variable is None:
        # calculate or retrieve variable
    return self._variable

But I am not sure about the amount of variables you are talking about. Defining trillions of properties doesnt sound like a good idea either.

@VictorBarbosaMartins - thanks again for the quick feedback. I've updated the code now (plus removed some unnecessary code) and added tests. Could you have another look?

@VictorBarbosaMartins - thank you!


Connection error - clicking on Do not reload doesn't work

My developer tools is not opened but when an error appears I want to see it in the console but Palindrom reload the page despite clicking on don't reload button.

Related (but not the same?): https://github.com/Palindrom/palindrom-client/issues/62
cc @alshakero

True. Related, these issues both are fixed already and will be released in the next release of palindrom-client.

Released 6.0.0 and it fixes this. It will be in StarcounterClientFiles soon (2-3) days.


[help wanted] exposing assets of shoelace-style via ember-shoelace

In this new v2 addon format I was not successful in unlocking the provides assets from shoelace-style via the addon. I've tried several approaches. The two provided styles are unlocked by this addon, but the icon set is not.
I think (I'm don't fully understand webpack) what happening is this;
.css file can simply be included even if they are from a different packages by using the namespace. I was told .svg should also be possible but I can't get that to work. I think the assets in the providing package need to have been 'packed' them into chunks and I don't believe shoelace does that (hence I can't import them?).
I've tried copying so they can be exposed via http under an addon path but that didn't work when the addon was released. I guess due to package hoisting (the file location of the a package is not reliably predictable).
I was also told that I started out with an outdated version of the v2 addon starter, so that could be it too.
My question is I therefore what would be the recommended way to include assets from a different package and expose the via an addon to your application. Either via some webpack magic or simply the addon url it has to its benefit.

@simonihmig thx!
I think I need a 'push-based approach' as the assets that I intend to expose are not consumed by my addon directly, but only bu code that lives in a dependency (shoelace-style).
However, because the v2 addons have no startup but are compiled on compilation this might be problematic.
shoelace-style will be installed as a peer dependency, but because the assets of it aren't webpacked I can't use a pull-based  approach. However I also don't know the exact location of the asset files so copying those for a push based approach isn't reliable...
I say all of this as if I know what I am doing whcih is barely the case... Therefore I will lay it out once more.
I have a package that I want to integrate into an ember app. shoelace-style. I create an addon that has a service to handle some niceties such as including its components into a users app. The shoelace-style package only partially webpacks its assets. I just need shoelace-style icons to be exposed in an url exposed by my addon.
What is the best way to expose it's provided icons to the host application without actually including them into source. My addon never actually calls its web components?
Sorry if this does not make sense. It's hard to explain... :-)


refactor: Landing Page builder component background improvements

Overview

Removes all of the modes, variants, and props related to dark mode created for the landing page builder components. Instead we are utilizing the Background component and the existing Color Modes.

PR Checklist

[x] Related to designs:
[x] Related to JIRA ticket: [REACH-1328]
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.5.97-alpha.8ece02.0@codecademy/gamut-labs@24.1.1-alpha.8ece02.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6156592111b54a269b0788fa--gamut-preview.netlify.appDeploy Logs

ya ok this is rad
We're not planning on letting users show dark mode components on light mode pages right? My understanding was that was the original intent here, ie it wasn't so much that mode="dark" indicated that the page was in dark mode, just that "oh here's a dark version of this component in case you need some contrast".
If we're abandoning that in favor a global light/dark mode I'm very in favor of doing so, just want to make sure we're aware that that's what we seem to be doing.

@christian-dinh i think the idea is still that specific sections can have contrast/be highlighted and not light/dark mode. that is done in static sites where this component is used by throwing a Background around it with the color they chose in contentful (see https://github.com/codecademy-engineering/static-sites/pull/951), but since we're using all gamut components we get it all for free with Background and don't have to do any extra work to swap colors accordingly

🚀 Styleguide deploy preview ready!https://615b76fb7424f9166b8d138a--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.5.103-alpha.abb95c.0@codecademy/gamut-labs@24.4.1-alpha.abb95c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://615b80f21f5f4a1f1b3d4be6--gamut-preview.netlify.appDeploy Logs


Set-SPOsite -DenyAddAndCustomizePages issue  on team sites

Since in need to upload an old doc  template. I always used the set-sposite -DenyCustomizePages 0  command, but a few weeks ago i always receive an error. I even donwloaded and installed the new sharepoint online management shell, still same issue. Wierd enough, is that in the documentation of Microsoft docs it still is a valid command.

@officedocsbot assign @yogkumgit

Hello @Bart2s4 How are you?
Tried to use that parameter to see if we need to change documentation and received no errors. Are you still facing errors?
Thanks

No the problem has been solved at the backend, all  customers can use the function again, even in team sites

No the problem has been solved at the backend, all customers can use the function again, even in team sites

Thanks for returning and sharing your feedback.
@yogkumgit You can close this now.

@get-itips  Thank you very much for the contribution and sharing this explanation. @Bart2s4
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


VueFinalModel did not open

Version
vue-final-modal: 4.5.4
vue: v3.2.5
simple setup in app.vue

....

 <VueFinalModal v-if="showModal" class="confirm-modal" content-class="confirm-modal-content" overlay-transition="vfm-fade" content-transition="vfm-fade" >

{{ title }}

      <button @click="console.log('hallo')">
        Confirm
      </button>
    </VueFinalModal>

    <ModalsContainer />

ok, in chrome I can toggle the teleport comments, the VueFinalModal didn't toggle, it remains permanently commented out
any ideas?

Same issue. I have Nuxt 3 project and for some reason modal doesn't open from layout on error page. Debugged it whole day in devtools, open method simply doesn't trigger.


Add exergy analysis to dashboard

Description of task
The HeatPumpBase class implements the method perform_exergy_analysis for all child classes. This should work already to perform a component-wise exergy analysis. This task concerns the depiction of results gathered from the analysis. That includes key parameters, such as the exergetic efficiency, as well as meaningful plots (e.g. waterfall or Grashoff diagrams).
Necessary steps
The implemented analysis method already calculates the epsilon value. In addition, other key parameters have to be calculated and plots created. The corresponding methods have to be implemented -- ideally in the base class, if possible. Finally, the user should be able to set the ambient state (temperature and pressure), with default values analog to other parameters.
Additional information
Inspiration for key parameters and exergy analysis plots can be found in the Teaching Exergy using TESPy Jupyter Book and its corresponding GitHub Repository.

This issue was solved with PR #8.

I have a doubt regarding the environmental temperature and pressure used for exergy analysis in the model. Currently, T_env is set to 25°C and p_env to 1.013 bar, regardless of the model's operational conditions. Does this approach make sense? Alternatively, should we adjust the environmental conditions based on the temperature of the heat source feed flow? Or perhaps it would be beneficial to implement a slider for environmental conditions in the streamlit dashboard, with default values matching those of the heat source feed flow, so that users can define the environmental conditions if needed.

Hey @bilwint, thanks for bringing that up. I think I referred in a different PR to a commit of yours, which containt this slider, which did not end up in the final code base that was merged. I agree with you that the ambient state should be a user specified option.
As we model water sourced heat pumps, I am not sure if the ambient state should be equivalent to the heat source. If sources like lakes, river etc. are used as a heat source, their respective temperatures often can be below ambient air temperature and therefore have some exergy and gain even more with subcooling. If you are still unsure, I think Mr. Hofmann would be the best person to contact about that.

Great, thank you.


Make welcome module compatible with older versions

Questions
Answers

Description?
Following a discussion with @florine2623 , this module is no longer working with PrestaShop 1.7.8.x and 1.7.7.x. So to make it work again, I revert the change about strings indexes into integer. I also add a key  name to help people choice and add things if needed inside steps..

Type?
bug fix

BC breaks?
no

Deprecations?
no

How to test?
Must work with 1.7.7.x, 1.7.8.x and develop branch.

Hi @PierreRambaud,
I checked this PR with 177x & develop branch => NOK
Before we have 6 steps.
With this PR, we have only 5 steps.

In step5 "Carriers page" => if you click next

The pop up is not displayed anymore
If you click continue => blocked

It should be

Thanks!

There is no more 6 steps in this version.
Some pages will be deleted in the BO :thinking:

But I reproduce the issue with the last step

Should be better right now :p
It redirects to the dashboard now

Hi @PierreRambaud,
It is ok :heavy_check_mark:
I checked with:

PS1769
177x branch
178x branch
develop branch

https://drive.google.com/file/d/1bVw5t3628i1yiNNVOVWL0NWVifrwj7_M/view?usp=sharing
Thanks!


Create a new pull request

Pull Request Test Coverage Report for Build 473685057

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 94.358%

Totals

Change from base Build 471063517:
0.06%

Covered Lines:
1888

Relevant Lines:
1955

💛  - Coveralls

Pull Request Test Coverage Report for Build 473685057

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 94.358%

Totals

Change from base Build 471063517:
0.06%

Covered Lines:
1888

Relevant Lines:
1955

💛  - Coveralls


feat: List, Get, and Clear functions

This PR adds 3 new features to extend the Queue package:
Clear
Runs queue.obliterate() on a queue or the 'default' queue if no queue is given.
Additionally, there's an Ace command for this too.
List
Returns the Queues Map in src/Queue.ts
Get
Returns a single Queue from the Map in src/Queue.ts
List and Get were added to allow package users to access BullMQ Queue functions such as getMetrics()

Hey! 👋🏻
Thanks for your work! 💜


Add missing fix to changelog

Towards https://github.com/giantswarm/giantswarm/issues/21161 and discovered while testing https://github.com/giantswarm/test-infra/pull/164
A bug in kubectl-gs v2.3.1 was fixed with https://github.com/giantswarm/kubectl-gs/pull/676 and released as v2.4.0, but it wasn't mentioned in the changelog. I found the change using git diff and thought it was worth mentioning in the changelog even though it's already released.

Going with a ping as this is purely informational.


Update to use bookworm base image

Adjusts libssl version as the other is no longer available, also adds the f(ail) flag to curl while fetching php sources to avoid downloading a 404 page because the resulting error message is not helpful and we want to know about a failure to download anyways.

Tested locally using the Beach Control Panel.


Bug 1855640: Rebase to kube-0.19.0-rc.3

/assign @adambkaplan
fyi @gabemontero @otaviof

/retest

/retest

/retest

/retest

/retest

This needs deeper investigation - most builds are failing with:
Timed out waiting for Openshift Controller Manager to be rolled out with updated internal registry hostname
occurred

This implies that the operator is reporting Progressing: True when either a) it shouldn't, or b) the controller manager is crashlooping.

/retest

@adambkaplan tests are green and comments have been responded to

/retest

/retest

/retest

/retest

/retest

/refresh

/retest

/retest


Restrict coverage to just the include/ directory.

Before:

After:

/cc @GretaCB  - please merge into your branch if this looks good to you.

Going to merge so I can get all the fixes into the expensive branch to use that for vtzero (https://github.com/mapbox/vtzero) shortly.


Login error

K-9 Mail version:5.203
Android version:7.1 CyanogenMod 14.1
Account type (IMAP, POP3, WebDAV/Exchange): can't login through gmail and ymail

Please use the mailing list for support requests.

thank you