python38Packages.pdoc3: 0.9.2 -> 0.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pdoc3 is: "Auto-generate API documentation for Python projects."
meta.homepage for python38Packages.pdoc3 is: "https://pdoc3.github.io/pdoc/"
meta.changelog for python38Packages.pdoc3 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0/bin/pdoc passed the binary check.

/nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0/bin/pdoc3 passed the binary check.

/nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0/bin/.pdoc-wrapped passed the binary check.

/nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0/bin/.pdoc3-wrapped passed the binary check.

4 of 4 passed binary check by having a zero exit code.

4 of 4 passed binary check by having the new version present in output.

found 0.10.0 with grep in /nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0

found 0.10.0 in filename of file in /nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0

directory tree listing: https://gist.github.com/1053ab3a08578a41de128dd7d3365d9c

du listing: https://gist.github.com/1cf751b219f1e1417e142f629925d3ae

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

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.pdoc3
python39Packages.pdoc3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0
ls -la /nix/store/mvz6yc85kvd4ghnz6m33y4h0nv7y2lic-python3.8-pdoc3-0.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @catern for testing.

Fails to build for me on python 3.9, both macos 10.15 and nixos x86_64.
======================================================================
FAIL: test_Class_params (pdoc.test.ApiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/pdoc3-0.10.0/pdoc/test/__init__.py", line 100, in wrapper
    func(*args, **kwargs)
  File "/build/pdoc3-0.10.0/pdoc/test/__init__.py", line 1055, in test_Class_params
    self.assertEqual(pdoc.Class('G2', mod, G2).params(), ['*args', '**kwds'])
AssertionError: Lists differ: [] != ['*args', '**kwds']

Second list contains 2 additional elements.
First extra element 0:
'*args'

- []
+ ['*args', '**kwds']

Result of nixpkgs-review pr 135261 at 50c9c673 run on aarch64-linux 1

1 package failed to build:

python39Packages.pdoc3

1 package built successfully:

python38Packages.pdoc3

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

@risicle I'm not to familiar with how python versions are treated. Is building on 3.9 a requirement for merging?

Well.. if it can be fixed easily one of us should fix it or explicitly disable it for 3.9. I'm guessing this is just oversight from the test author and imagine upstream have run into this issue too, so they may have a solution. Haven't looked too deep.

The test failure is fixed (see https://github.com/pdoc3/pdoc/issues/355) but I don't particularly need this upgrade so I can just wait until the next release. If someone else needs this version, you can extract the patch in that issue to fix the test failure and include that in the upgrade.

@catern FYI, 0.10.0 is already in master (see here).


Answer an FAQ: Can I use custom fonts?

I have added a FAQ section to the user guide. Your assistance with this is greatly appreciated.

https://www.overleaf.com/learn/latex/Questions/I_have_a_custom_font_I'd_like_to_load_to_my_document._How_can_I_do_this%3F


Doesn't work with decimal shares value

With decimal shares I got wrong Actual Portfolio Value.
PR: https://github.com/viventriglia/personal-finance-for-newbies/pull/32

Fractional shares don't trade on the open market, and while they have value to investors, they are also difficult to sell. That's the main reason why shares are considered to be integers


Only close modal if directly clicking on backdrop

Fixes #1894 #3834
This seemed to work for checking where the click/press initially started from, we don't want any clicks that initially started from the modal to be handled by the backdrop (which closes the modal)

Only deals with the old modals at the moment, which is fine, since the issue is with the profile edit modal. Let me see if there's a good way of doing this with the new modals, I think the right path might just be to expose a private API over the modal context


Add support for SQL projections into nested types

Currently it is not possible to select attributes within structs from SQL. We need to add the ability to do this e.g. SELECT customer.address.state FROM ...

Hey @andygrove, I'd be interested in contributing to the project. Would this be a good starting issue? Quite new to Rust but resonably familiar with Spark.

Thanks for the reply @andygrove! Started working on this, gotten to the point where I can reproduce the error

Hi @andygrove sorry about the lack of communication, still interested in this issue.
So far I have done two things to nail down the issue.

Firstly I've added a failing test for the something like the ST_Point(lat, lng).lat case.

    #[test]
    fn parse_pojection_function() {
        let sql = String::from("SELECT bar(a, b).c FROM foo");
        let _ast = parse_sql(&sql);
        //TODO: add assertions
    }

Secondly the schema of the df in csv_sql.rs to contain a struct field e.g.

    let schema = Schema::new(vec![
        Field::new("city", DataType::Utf8, false),
        Field::new(
            "bar",
            DataType::Struct(vec![
                Field::new("a", DataType::Utf8, false),
                Field::new("b", DataType::Utf8, false),
            ]),
            false,
        ),
        Field::new("lat", DataType::Float64, false),
        Field::new("lng", DataType::Float64, false),
    ]);

Then modified the query to look like ``SELECT bar.b...`
Both of these test cases fail, however the first case fails with a parsing error, and the second in sql_to_rex  with an unsupported node type.
I quickly hacked together something for the second case, just adding a section for ASTNode::SQLCompoundFields.
For the first case I wasn't quite sure how  function().field should be represented in the AST, what would you suggest?


ng new app not working, angular-cli overall seems to fail

Versions
node --version
v8.9.3

npm --version
5.6.0

Repro steps

Install latest node.
Install latest npm.
npm install -g @angular/cli
or
npm install @angular/cli
or
npm install @angular/cli@latest

Observed behavior
C:\temp\Projekt>ng --version
module.js:327
    throw err;
    ^

Error: Cannot find module 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Web\External\node_modules\@angular\cli\bin\ng'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Function.Module.runMain (module.js:429:10)
    at startup (node.js:139:18)
    at node.js:999:3

Desired behavior
That it creates a new app for me when I do ng new <appname>

This seems to be related to Visual Studio installation that is interfering with the environmental variables/npm settings. Because once I ran the nodevars.bat in nodejs installation directory, there was no longer any issues.

I ma also getting the same error have any one find any solution to this.


Add ixx module extension in source patterns

As things get better with C++ modules, it may now be useful to add support for the ixx module extension. Unlike a typical translation unit, there is no header separation for writing the documentation. This means that we must either A: write the documentation inline in the module, or B: write the documentation off-source in .dox files. Whichever choice we make, the module extension, just like the headers previously used, must be parsed by doxygen.

Modules, nice, thanks!


436 Implement Repair Backend Support

436 Implement Repair Backend Support
#436 Work on Creating Backend Functionality For Lab 9
As a User, I want my lab data can be persisted, so that I can record my progress through the exercise.
Associated Epic: https://github.com/all-rit/ALL/issues/409

I basically have marks approval so moving forward with merge.


Add support for logging to file using -lf option and moved arguments parser into individual function

Description
This pull request adds a new feature to the CLI tool that allows users to redirect all logs to a file using the -lf flag. When the -lf flag is specified, all logs will be written to a file named "logs.log" in the root directory of the tool.
If the "logs.log" file already exists, new logs will be appended to the end of the file. If the file doesn't exist, it will be created automatically.
This change is helpful for several reasons:

It gives users more control over how they want to manage and analyze the logs generated by the tool.
It makes it easier to troubleshoot issues that arise during runtime since all the logs are stored in a single file that can be easily accessed and analyzed.
It allows users to run the tool in the background without worrying about console output.
It can help reduce the amount of clutter in the console output, especially when running the tool for long periods of time.
It enables the tool to be used in environments where console output is not desirable or possible, such as when running the tool in a Docker container.

This pull request also moves the argument parser for the cli tool from scanner.py into a new module named argument.py. The argument parser has also been refactored into a separate function named arg_parser().
By separating the argument parser into its own module and function, the code is now more modular and easier to maintain. This change also enables easy modification and extension of the command-line argument parser, making it easier to add or modify command-line arguments in the future.
The arg_parser() function takes no arguments and returns an instance of argparse.Namespace containing the parsed arguments. It has been designed to be simple and easy to use, with clear documentation and helpful error messages.
Type of Change

[x] Feature addition
[x] Refactoring

Checklist

[x] Added support for logging to file using -lf flag.
[x] Created logs.log file in the root directory if it doesn't exist.
[x] Appended new logs to the end of the file if it already exists.
[x] Updated documentation to reflect the new feature.
[x] Tested the feature on multiple platforms.
[x] Moved the argument parser into a separate module.
[x] Created a new module named argument.py to handle argument parsing.
[x] Refactored the argument parsing logic into a separate function named parser().
[x] Documented the parser() function and its usage.
[x] Tested the feature

Overall
This change improves the maintainability and flexibility of the codebase by separating the argument parsing logic into its own module and function. It also makes the code more modular and easier to understand, which can help with future development and debugging.

Description
This pull request also moves the argument parser for the cli tool from scanner.py into a new module named argument.py. The argument parser has also been refactored into a separate function named parser().
By separating the argument parser into its own module and function, the code is now more modular and easier to maintain. This change also enables easy modification and extension of the command-line argument parser, making it easier to add or modify command-line arguments in the future.
The parser() function takes no arguments and returns an instance of argparse.Namespace containing the parsed arguments. It has been designed to be simple and easy to use, with clear documentation and helpful error messages.
Type of Change

[x] Refactoring

Checklist

[x] Moved the argument parser into a separate module.
[x] Created a new module named argument.py to handle argument parsing.
[x] Refactored the argument parsing logic into a separate function named parser().
[x] Updated the scanner.py module to import and use the parser() function.
[x] Documented the parser() function and its usage.
[x] Tested the feature on multiple platforms.

Overall
This change improves the maintainability and flexibility of the codebase by separating the argument parsing logic into its own module and function. It also makes the code more modular and easier to understand, which can help with future development and debugging.

@mshudrak all requested changes are done, thanks for the guidance.

@mshudrak I made all the changes requested along with adding support for if the user-specified file or directory doesn't exist we create it, also I cleaned the code a bit and updated the docs and finally I left the removal of "/" to handle errors
now you can:
-lf logs.log
-lf logFile/logs.log
-lf logsFile/test/logs.log
and soo on after that if the file exit it will append to it else it will create it and wright the logs to it

I don't think the tool should be creating the directories. This will probably cause more problems than it solves. It is better if it tries to use the path at startup and then error if it doesn't work.

@ZetaTwo @mshudrak, Thank you for taking the time to review my pull request and provide feedback. I have made the requested change regarding directory creation and also addressed the other changes you suggested. Your feedback was valuable in helping me improve the quality of my code. I appreciate your input and thank you again for your time!


k.toLowerCase is not a function

import React, { useState, useEffect, useRef, FC } from 'react'
import { x6, Graph } from '@antv/x6'
import dagre from 'dagre'

const NodeData = [
  {
    id: 'node-1',
    width: 100,
    height: 150,
    name: '推流节点'
  },  {
    id: 'node-2',
    width: 100,
    height: 150,
    name: '拉流节点'
  },  {
    id: 'node-3',
    width: 100,
    height: 150,
    name: '推流节点'
  },  {
    id: 'node-4',
    width: 100,
    height: 150,
    name: '拉流节点'
  },  {
    id: 'third-1',
    width: 100,
    height: 100,
    name: '第三方'
  },  {
    id: 'third-2',
    width: 100,
    height: 100,
    name: '第三方'
  },
  {
    id: 'tos-1',
    width: 100,
    height: 100,
    name: 'Tos',
    parent: 'region-1'
  },
  {
    id: 'source-1',
    width: 120,
    height: 120,
    name: '源站',
    parent: 'region-1'
  }, {
    id: 'tos-2',
    width: 100,
    height: 100,
    name: 'Tos',
    parent: 'region-2'
  }, {
    id: 'source-2',
    width: 120,
    height: 120,
    name: '源站',
    parent: 'region-2'
  }
]

const EdgeData = [
  {
    from: 'node-1',
    to: 'source-1'
  },  {
    from: 'source-1',
    to: 'node-2'
  },  {
    from: 'source-1',
    to: 'source-1'
  },  {
    from: 'source-1',
    to: 'third-1'
  },  {
    from: 'third-1',
    to: 'tos-1'
  }, {
    from: 'source-1',
    to: 'tos-1'
  },  {
    from: 'node-3',
    to: 'source-2'
  }, {
    from: 'source-2',
    to: 'node-4'
  },  {
    from: 'source-2',
    to: 'source-2'
  },  {
    from: 'source-2',
    to: 'source-1'
  },  {
    from: 'source-1',
    to: 'source-2'
  },  {
    from: 'source-2',
    to: 'tos-2'
  },  {
    from: 'source-2',
    to: 'third-2'
  }

]

const X6Component: FC = () => {
  const editor = useRef<Graph>();
  const container = useRef<HTMLDivElement>();
  const gagre = useRef<dagre.graphlib.Graph>();

  useEffect(() => {
    console.log(container.current)
    editor.current = x6.render({
      container: container.current
    });
    const gagreInstance = gagre.current = new dagre.graphlib.Graph().setGraph({}).setDefaultEdgeLabel(() => 'no label');
    NodeData.forEach(item => {
      gagreInstance.setNode(item.id, { label: item.name, width: item.width, height: item.height })
    })
    EdgeData.forEach(item => {
      gagreInstance.setEdge(item.from, item.to)
    })
    dagre.layout(gagreInstance);
    console.log(gagreInstance);
  }, [])

  return <div ref={container} />
}

export default X6Component

Hello, here is my code.But it cant work, but i dont know why.
It is code sandbox to reproduce it.
It is a bug or what?🤣

https://codesandbox.io/s/hardcore-meninsky-2sppr?file=/src/App.js

i want to mock data for this picture.

A quick search of the repo shows that your error message is coming from here:
https://github.com/dagrejs/dagre/blob/5532d13fc608cff7dda54096ccc4efad4d57581c/lib/layout.js#L389
Have you tried putting a print/log statement there to see what value it's failing on?

I'm having pretty much the same set up (just without X6 lib) and ran into the same issue.
k.toLowerCase is not a function
that comes from dagre/lib/layout.js
function canonicalize(attrs) {
  var newAttrs = {};
  _.forEach(attrs, function(v, k) {
    newAttrs[k.toLowerCase()] = v;
  });
  return newAttrs;
}

Can't figure out what attributes are missing or having a wrong type (not a string)

I also ran into this issue. Luckily I had one graph that worked and another that hit this so I was able to compare and see what was different. It seems it has to do with the default edge label. For some reason passing an empty string or constant string does not work, but an empty object does 😕
Try changing:
setDefaultEdgeLabel(() => 'no label');
to:
setDefaultEdgeLabel(() => ({}));
I would have to do more debugging to see why this matters but for now it should unblock you.  The option of not setting edges has the effect of not needing to get a default label for the edges which don't have one which is why removing edges works, but that isn't feasible since graphs need edges.
Hope it helps someone!

I'm finding this issue when trying to pass a name to the edge as the documentation show. directed.setEdge("a", "b", "my-label");


Puppeteer crashed by malformed HTML attributes

View details in Rollbar: https://rollbar.com/mrorz/url-resolver/items/15/

Error: Evaluation failed: DOMException: Failed to execute 'setAttribute' on 'Element': '0' is not a valid attribute name.
    at Readability._setNodeTag (__puppeteer_evaluation_script__:539:19)
    at Readability._grabArticle (__puppeteer_evaluation_script__:1080:28)
    at Readability.parse (__puppeteer_evaluation_script__:1793:31)
    at executor (__puppeteer_evaluation_script__:1829:36)
    at __puppeteer_evaluation_script__:1831:16
    at __puppeteer_evaluation_script__:1832:8
  File "__puppeteer_evaluation_script__", line 539, in Readability._setNodeTag
  File "__puppeteer_evaluation_script__", line 1080, in Readability._grabArticle
  File "__puppeteer_evaluation_script__", line 1793, in Readability.parse
  File "__puppeteer_evaluation_script__", line 1829, in executor
  File "__puppeteer_evaluation_script__", line 1831, in <unknown>
  File "__puppeteer_evaluation_script__", line 1832, in <unknown>
  File "/node_modules/puppeteer/lib/ExecutionContext.js", line 90, in ExecutionContext.evaluateHandle
            throw new Error('Evaluation failed: ' + helper.getExceptionMessage(exceptionDetails));
  File "internal/process/next_tick.js", line 68, in process._tickCallback

Reported occurrences in readability. https://github.com/mozilla/readability/issues/392


Prevent auto-play with HTML5 not working

But working fine with Flash.
Chrome 39.0.2171.99.

Always say what version of YTC you are using when reporting something!

v2.1.4, sorry.

The latest stable version is 2.1.7. Don't get the one in the Mozilla add-ons page as that is a old version.
If 2.1.7 fails, try the latest developer version.

2.1.7 works for me, but now I have another broken thing: aligning to center not working, if dark player background enabled or if lights off enabled.

Yeah that is a new bug even with the latest DEV version. YT probably changed something! Just gotta live with it for now!

Yeah, just disabled both of those and it's fine x)


Chapter 2 Path changes in call_cf.sh and setup_cron.sh

Hi,
I think an issue emerges from the code in call_cf.sh  setup_cron.sh where the PATH variable is rewritten and then bash commands won't work.

fixed


Remember last opening/saving folder

A simple feature request to always open the last selected folder when opening/saving.
For now it always opens the Desktop folder no matter what.

AFAIK that's OS-specific behavior, or at most browser-specific. For me (Windows 7) it opens last location. Definitely nothing we can on our end, as web pages do not have access to user's file system directly.

AFAIK that's OS-specific behavior, or at most browser-specific. For me (Windows 7) it opens last location. Definitely nothing we can on our end, as web pages do not have access to user's file system directly.


Extract static_string from Beast

static_string is not strictly connected with network nor http. It could be very general-purpose class and might be very useful. Please consider extracting it from Beast:
https://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast/ref/boost__beast__static_string.html

Extract it and put it where?

Extract it and put it where?

Hello Vinnie,
thanks for a great job with Boost.Beast at first!
Under the hoods static_string is very similar with static_vector from Boost.Container. I think it suits better there. I understand that moving it to that module would somehow "transfer ownership" of this code and make a mess. So making very new module would also be a better idea than keep it inside Beast. There are already modules containing more-or-less one class, like Boost.Optional. What do you think?

What do you think?

What would be the benefit of extracting it, other than how it is spelled or included? You have to ask @igaztanaga, if he wants to add it to Boost.Container. Or do you mean that you want to write Boost.StaticString yourself and propose it?
In principle I would prefer if someone else maintained static_string, as they can probably do a much better job than me especially by supporting C++03 or earlier, and having better compliance and testing, so if such a component were to appear elsewhere in Boost I would be happy to change Beast to simply reflect a type-alias to that component.

What would be the benefit of extracting it, other than how it is spelled or included?

Boost is modularized for a good reason. Sometimes people don't want to have dependency of Beast, Asio, System, etc. just to be able to use static_string. Including #include <boost/beast/core/static_string.hpp> in project that does not even use beast is a bit ugly in my feeling.
I see you don't want to maintanance such module, it would be additional work for you. I will ask Ion if he want to :)

Beast is header-only so if you have Boost, then including static_string.hpp doesn't really include any of that other stuff, just little things like the header for Boost.Config. And as far as I know, there is no "modular Boost" - you either have the whole thing, or you have nothing. For practical purposes, there is no meaningful disadvantage. But I understand your point.

I raised this question on the Boost mailing list

I think going into its own library, e.g. Boost.FixedString, makes a lot of sense and would be beneficial to Beast and Boost.

See: https://github.com/vinniefalco/FixedString


What to do if you fail to install requirements in python from a text file?

Try these commands:
pip install -r requirements.txt
pip3 install -r requirements.txt
pip install -r requirements.txt --user
pip3 install -r requirements.txt --user
If none of these work, try to reinstall python. (I am currently using 3.8.x)
If that fails as well, open a github issue with error code as well a screenshot of the output of the following commands:
python
python3
python --version
python3 --version
pip
pip3

Since the sofrtware pygetpapers has now been packaged and can be installed with the instructions given under wikipages instructions, the issue is now closed.


Only check for CHANGES.md update when master is the target branch

This is what we will want in most cases.  Otherwise, the reviewer can explicitly ask for an update to CHANGES.md

This should be trivial since the target branch is part of the JSON response we get from GitHub: https://developer.github.com/v3/pulls/#get-a-single-pull-request


Add cbs raw files to the bucket

Add cbs raw files to cloud storage bucket
Create a code that inserts data from email to storage bucket, schedule it so no email from the CBS is missed

make sure to perform preprocessing of the files names - see update_cbs_files_names function here: https://github.com/hasadna/anyway/blob/c8de80005213a5e0be3cfcd3e9191023f68759d6/anyway/parsers/preprocessing_cbs_files.py

Create a scheduler that is triggered by an insertion to the cloud storage bucket (or that checks if there were updates), deletes the relevant data and load new one.
you can use the current cbs parser file
, and perhaps the main function here from current production can help https://github.com/hasadna/anyway/blob/dev/anyway/parsers/cbs.py


Change delete logic

Closes #188.
This PR:

Changes the delete logic so that when a student is deleted, it is also removed from all consultations and lessons that contain the student.

lgtm


hneemann digital logic sim white screen

Describe the bug
The splash renders correctly. The window itself is just white-gray. When I click into it, I see a star pop up in the window title bar, meaning I can control the state of the program, but only the graphics are broken
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p digital
Expected behavior
Visible GUI
Screenshots

Additional context
WM: sway (wayland)
Notify maintainers
@Dettorer
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.23, NixOS, 24.05 (Uakari), 24.05pre604424.d8fe5e6c92d0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(emil): `""`
 - channels(root): `"nixos, unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Not a nixpkgs issue, see https://github.com/hneemann/Digital/issues/1026 and https://wiki.archlinux.org/title/sway


Deprecation Warning when using IvyArtifactRepository.layout says "This is scheduled to be removed in Gradle 5.0" when building with gradle 5.1-milestone-1

When using gradle 5.1-milestone-1 with a gradle build that uses the IvyArtifactRepository.layout(..) method a Deprecation Warning is issued with the text "This is scheduled to be removed in Gradle 5.0".
Since the new method patternLayout is new in gradle 5.0 I assume that the Warning should read "..be removed in Gradle 6.0"
Expected Behavior

The build should issue a Warning "This is scheduled to be removed in Gradle 6.0" (or some othe future version)
Current Behavior

The build issues a Warning "This is scheduled to be removed in Gradle 5.0" which seems to be a bit strange in a post-5.0 version.
Context

Steps to Reproduce (for bugs)

Define an IvyArtifactRepository using the IvyArtifactRepository.layout(..)  method and build with gradle gradle 5.1-milestone-1.
Your Environment

gradle 5.1-milestone-1, latest Oracle JDK 8, Windows 10

Build scan URL:

Hello,
Thanks for the report.
The version that appears in the message is computed and there was a bug, see #7908. 5.1 RC1 will report this deprecation and removal for Gradle 6.0


[HA-Integration]: August Smartlock

Description
Add August locks to the doors
Integration URL
https://www.home-assistant.io/integrations/august/
Automation Idea
No response
New Hardware?
Yes

[x] Purchased (Prime deal day for $160/each)
[x] Back door installed
[x] Front door installed - blocked until delivery
[x] Integrated

Add Amazon / store URL for referencing if new hardware is required
https://amzn.to/3rciRyj

Cloud integration works great


Permision denied to foldx

Hello - sorry if this is late, but I encountered this issue as well. The run.py script expects there to be an executable named foldx present directly in the GeoPPI folder; I originally created a folder called foldx within GeoPPI, but when run.py is called, it will attempt to "run" the folder, which causes this error.
To fix this issue, I copied the compressed .tar.gz foldx file directly into the GeoPPI directory before extracting it. In my case, I also had to rename the foldx executable (which had a date of last stable release appended to it) to just "foldx", but that fixed this issue for me.
I hope you have already figured out this issue, but if not, I hope this helps!

Hi, thanks for this solution, I have renamed my foldx executable file.
However, I am getting another error now - basically I do not produce the mutant pdb file
mv: cannot stat ‘temp/1PPF_1.pdb’: No such file or directory
And when I open the foldx log I get
Error, can't open rotabase.txt
However, the rotabase.txt file is in the same ./foldx directory as the foldx executable file.
Did you encounter this too?


TurtleAgent movement is inconsistent between Windows and Linux

Describe the bug
test_turtleagent_movement is broken on Linux since the turtle agent moves differently. @daniekpo has made a valiant effort to identify the issue.
It appears to be related somehow to the handling of floating point numbers and rounding between Linux and Windows.
The test has been marked as broken.
To Reproduce
Run test_turtleagent_movement. On Windows (the platform it was written on) the test passes; Linux fails.

@daniekpo could you describe what you found so we can have it written down before we all forget?
We've decided this isn't worth fixing.

I collected the agent's location and rotation data from both Windows and Linux. I compared the data when the agent had not moved yet and they seemed pretty equal. I compared the data after moving the agent in a straight line and noticed very minor differences (maybe around e-6) but the differences increased over time.
I suspect it had something to do with floating-point rounding errors that kept accumulating. It makes sense since we kept reusing the location and rotation to calculate the next location and rotation so the cumulative differences eventually amounted to the agent not reaching its target destination on Linux. That's my theory for now at least.

With #441, we finally have consistency: this test is failing on both Linux and Windows now. We will need to revisit this once it becomes a priority.


use 10.8 MACOSX_DEPLOYMENT_TARGET for future_error

trying to run make on my macOS Sierra would fail with the attached error.
i have updated the OSX deployment target so that this should compile now (but will still give out ForceSet deprecation warnings)
future_error error
```/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1447:23: error:
      'future_error' is unavailable: introduced in macOS 10.8
                      future_error(make_error_code(future_errc::broken_promise))
                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:502:63: note:
      'future_error' has been explicitly marked unavailable here
class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_FUTURE_ERROR future_error
                                                              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1621:23: error:
      'future_error' is unavailable: introduced in macOS 10.8
                      future_error(make_error_code(future_errc::broken_promise))
                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:502:63: note:
      'future_error' has been explicitly marked unavailable here
class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_FUTURE_ERROR future_error
                                                              ^
../src/mmap-io.cc:246:29: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                   exports->ForceSet(Nan::New(key).ToLocalChecked(), Nan::New(val), property_attrs);
                            ^
/Users/arrayjam/.node-gyp/7.7.1/include/node/v8.h:2956:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local key, Local value,
                     ^
../src/mmap-io.cc:282:22: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
            exports->ForceSet(Nan::New("map").ToLocalChecked(), Nan::New(mmap_map)->GetFunction(), property_attrs);
                     ^
/Users/arrayjam/.node-gyp/7.7.1/include/node/v8.h:2956:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local key, Local value,
                     ^
../src/mmap-io.cc:283:22: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
            exports->ForceSet(Nan::New("advise").ToLocalChecked(), Nan::New(mmap_advise)->GetFunction(), prope...
                     ^
/Users/arrayjam/.node-gyp/7.7.1/include/node/v8.h:2956:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local key, Local value,
                     ^
../src/mmap-io.cc:284:22: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
            exports->ForceSet(Nan::New("incore").ToLocalChecked(), Nan::New(mmap_incore)->GetFunction(), prope...
                     ^
/Users/arrayjam/.node-gyp/7.7.1/include/node/v8.h:2956:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local key, Local value,
                     ^
../src/mmap-io.cc:288:22: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
            exports->ForceSet(Nan::New("sync_lib_private__").ToLocalChecked(), Nan::New(mmap_sync_lib_private_...
                     ^
/Users/arrayjam/.node-gyp/7.7.1/include/node/v8.h:2956:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local key, Local value,
                     ^
5 warnings and 2 errors generated.
make[1]: *** [Release/obj.target/mmap-io/src/mmap-io.o] Error 1```

Alright. Thanks!

cheers!


ERROR- Initial opening of Stream failed

I don't get it, basic firebase operation causes both errors #44 and #45
 late final Reference storageRef;
  late final Reference imageRef;
  Uint8List? photo;
  @override
  void initState() {
    storageRef = FirebaseStorage.instance.ref();
    imageRef = storageRef.child(widget.user.profilePhotoPath);
    getImage();
    super.initState();
  }

  Future<void> getImage() async {
    photo = await imageRef.getData();
    setState(() {});
  }

when I delete getImage(), it is fixed


Use dep

Change vendoring tool to use dep.

I should fix testcase that uses own repository directory structure for gb related test.


Provide system for saving credentials

Gitea version (or commit ref): 1.5.0-dev (#1b2aff0)
Git version: git version 2.11.0
Operating system: Debian 9
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I was recently migration a lot of projects from git server to gitea instance. On each migration I had to type Clone Authorization credentials. It would be cool, if these could be saved somewhere in settings, and when migration repository, user could just choose credentials that would be used for cloning the repository.

You can do migration via Gitea API


Excluding a nested object field causes subsequent fields to be null

When a field of a nested object is excluded, all values of the (subsequent) fields of the nested object are ignored resulting in null values.
Steps to reproduce
Create index and insert data:
curl -XPUT 'localhost:9200/companies/?pretty=1' -d '{
  "mappings": {
    "company": {
      "properties": {
        "name": { "type": "string"},
        "description": {"type": "string"},
        "employees": {
          "type": "nested",
          "properties": {
            "name": {"type": "string"},
            "age": {"type": "integer"},
            "salary": {"type": "long"}
          }
        }
      }
    }
  }
}'

curl -XPUT 'localhost:9200/companies/company/1' -d '{
  "name": "mycompany",
  "employees": [
    { "name": "anne",
      "age": 30,
      "salary": 6},
    { "name": "bob",
      "age": 55,
      "salary": 100},
    { "name": "charlie",
      "age": 22,
      "salary": 15
    }],
  "description": "a cool tech startup"
}'

This shows correct results:
scala> val options = Map("pushdown" -> "true", "es.field.read.as.array.include" -> "employees")
scala> val esDf = sqlContext.read.format("org.elasticsearch.spark.sql").options(options).load("companies/company")
scala> esDf.show

This however shows incorrect results: it gives employees fields with null values, when only the field name should be excluded:
scala> val options = Map("pushdown" -> "true", "es.field.read.as.array.include" -> "employees", "es.read.field.exclude" -> "employees.name")
scala> val esDf = sqlContext.read.format("org.elasticsearch.spark.sql").options(options).load("companies/company")
scala> esDf.show

The problem seems to be caused by org.elasticsearch.hadoop.serialization.ScrollReader that skips (the remainders of) an entire block instead when it shouldSkip just the excluded field.
To demonstrate: if I replace skipCurrentBlock with the following statements
parser.nextToken();
parser.skipChildren();
parser.nextToken();

... at least for this case I get the expected results
Version Info
OS: Mac OSX 10.11.5
JVM : Scala version 2.10.5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_20-ea)
Hadoop/Spark : Spark-1.6.2
ES-Hadoop : org.elasticsearch:elasticsearch-spark_2.10:2.3.3
ES : elasticsearch-2.3.3

Maybe you can written this: val options = Map("pushdown" -> "true", "es.field.read.as.array.include" -> "employees")

This seems to be fixed in 5.0.0. I'm going to close this out.


Proof-of-concept: Hand-crafted optimizations to pave the way forward for code-gen

What
Demonstrating that with the right generated deserializer optimizations the new code-gen can out-perform the legacy queries.
There's a couple of performance improvements all rolled in here to really push the envelope:

Avoid dealing with Option on non-nullible components
Iterate over direct slices from arrow buffers where possible
Optimization for matched-length joining iterator (this implementation is incorrect but close enough for this profiling)
Fix silly allocations of annotationInfo in the noop case.

Using the photogrammetry example as a stress-test:
Previous Baseline (0.8)

Before (main):

After:

Checklist

[ ] I have read and agree to Contributor Guide and the Code of Conduct
[ ] I've included a screenshot or gif (if applicable)
[ ] I have tested [demo.rerun.io](https://demo.rerun.io/pr/{{ pr.number }}) (if applicable)

[PR Build Summary](https://build.rerun.io/pr/{{ pr.number }})
[Docs preview](https://rerun.io/preview/{{ "pr:%s"|format(pr.branch)|encode_uri_component }}/docs)
[Examples preview](https://rerun.io/preview/{{ "pr:%s"|format(pr.branch)|encode_uri_component }}/examples)

These have all now been addressed properly. Closing.


kron cannot handle 1D arrays

It seems that autograd.numpy.kron cannot handle 1-dimensional input arrays. This following example works where the inputs are made 2-dimensional
import autograd.numpy as np
from autograd import grad
x_test = np.array([1., 2., 3., 4.])
obj_fun = lambda x: np.sum(np.kron(np.atleast_2d(x[:2]),np.atleast_2d(x[2:])))
g = grad(obj_fun)
print g(x_test)

however if the inputs are 1D then an error is raised
obj_fun = lambda x: np.sum(np.kron(x[:2],x[2:]))
g = grad(obj_fun)
print g(x_test)

Output:
autograd/numpy/numpy_grads.pyc in <lambda>(blockrow)
    169 def grad_kron(argnum, G, ans, vs, gvs, A, B):
    170     def blocks(G):
--> 171         return map(lambda blockrow: anp.split(blockrow, A.shape[1], 1),
    172                                     anp.split(G,        A.shape[0], 0))
    173     flat = lambda lst: [item for sublist in lst for item in sublist]

IndexError: tuple index out of range

Thanks for opening this! It made me take another look at our tensordot vjp definition, and it was unnecessarily complicated and really slow. With @slinderman's help, we have a much better implementation now, which handles the 1D (and 0D) cases. Plus it's much faster!


[cross] Add cross gcc meta package

Add package which merges all the bootstrapped compiler components together into one package.
Note: Waiting on full bootstrap PR before merging.

Added signatures to those packages which were missing them
Disabled the ldconfig sections of the spec files, they generate incompatible arch warnings when installing many other packages (ldconfig tries to check aarch64 libraries)


somevalue/novalue times work for adding qualifiers, but not updating

It looks like the somevalue/novalue functions only work with some of the command types.
wd aq 'Q26722044$EF142B3D-0FE3-4A8F-97B8-2722A6F33BD9' P582 '{"snaktype":"somevalue"}'
This works as expected and adds an "unknown value" P582 qualifier.
wd uq 'Q26722044$EF142B3D-0FE3-4A8F-97B8-2722A6F33BD9' P582 '1848-12-31' '{"snaktype":"somevalue"}'
This throws an error "TypeError: Cannot read property 'replace' of undefined".
I'm not sure from the documentation if this is intended or not (it mentions somevalue/novalue next to add-qualifier, so perhaps it is?)
And thanks as always, it's a great tool :-)

yes, special snaktypes haven't been implemented everywhere yet: here it's the findSnak that isn't aware of special snaktypes. working on it :)

Awesome - glad to know you have it in hand :-)

+1 for this.  It would be a particularly useful feature to be able to change  to a Qid using wd uq, with the qualifiers and references just carrying over.

done! published in v7.5.0


Add field mapping for Patient - contact:name

Added the contact name field to the patient model class, hibernate and script files.


Differences in T1w/fsaverage_LR32k surfaces between ciftify and HCP download

Greetings Dr. Dickie, our lab is working on a project that involves generating surfaces in 32k space. I downloaded HCP raw data, ran fmriprep on it (incl. freesurfer), and ran ciftify on the outputs, including the --resample-to-T1w32k option. I was hoping that the outputs of ciftify_recon_all (namely the T1w/fsaverage_LR32k surfaces) would be identical to the HCP minimally preprocessed (1200 subj. release) download. I am using this comparison as a sort of validation for this ciftify step in our pipeline.
Below is a visualization of the white surfaces for subject 105923 in Paraview. On the left is the HCP download, and on the right is the ciftify version. Both surfaces come from the T1w/fsaverage_LR32k directories.

Since I don't have a great understanding of what's going on under the hood, please forgive me if I shouldn't expect these surfaces to be identical. Is there some other option I should be using to generate a surface identical to the HCP download? Or  the only way to get such a surface is to run the HCP minimal preprocessing pipeline itself?
Thanks very much,
Brian Winston

I realized the difference is that the HCP surfaces is based on a T1w that has undergone gradient distortion correction.

Thanks for figuring that out!
Yes, gradient distortion is something pretty specific to HCP (as it
requires the gradient information that many datasets don't have available -
so it was removed in ciftify.
Another difference is that HCP incorporates both the T1w and the T2w data
together to refine surface placement. fmriprep should do a little of this -
if a T2w file is available in the BIDS directory - but I don't know if it
does all the steps HCP does.
ciftify was really intended for the use case when gradient distortion and
T2w data in not available.
Thanks,
Erin
On Fri, Jul 9, 2021 at 1:04 PM Brian Winston @.***>
wrote:

Closed #161 https://github.com/edickie/ciftify/issues/161.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/edickie/ciftify/issues/161#event-5001417611, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEXT5X2XE4CPRXGY5GXPBLTW4T3PANCNFSM47MT7JKA
.

Note that gradient nonlinearity correction is not a mandatory part of the HCPpipelines.  It is an optional correction.  And the current version of the HCPpipelines does support the situation in which no T2w scan is available.

That's true. In my case I had downloaded minimally preprocessed data from connnectomedb. Those data have all undergone GDC it seems.


change references to tdvt_runner to py -3 -m tdvt.tdvt

Resolves #230

Hi, @lukewrites! Thanks for opening this PR!

In the file tdvt/tdvt/tdvt.py:

Line 405:121: E501 line too long (134 > 120 characters)
Line 388:121: E501 line too long (130 > 120 characters)

For reference: Error Code Reference, PEP8, Python code style


PYIC-7571: Enabled parsing of RSA signatures

Proposed changes
What changed
Enabled parsing of RSA signatures
Why did it change
Looks like we have some vcs signed with RSA rather than EC, so lets enable it.
Issue tracking

PYIC-7571

I think we could also just confirm that we're not going to verify signatures and rip all this out...

I'd be delighted for this to happen!


Update New-CsCallQueue.md

@jambirk

Docs Build status updates of commit 7e53a8c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Rebar3 Auto Cant find app file

hello
i have problem my erlang application fails to boot when i use rebar3 auto plugin
i get the error below:
===> Failed to boot limko for reason {"no such file or directory",
"limko.app"}
Yet the limko.app file is in the ebin folder, is there any way to fix this?
mead a recording of  the build process
https://asciinema.org/a/27317

Are you using the version from hex? I hadn't published the fix for this to hex yet. If you update your plugin now to 0.3.0 it should work.

using 0.3.0
λ VIDIA limko → rebar3 auto
===> Fetching rebar3_auto ({pkg,<<"rebar3_auto">>,<<"0.3.0">>})
But still same error
https://gist.github.com/byaruhaf/bcb8b361528a0f7bd4b5

Well damn... It resolved the issue for me. Hm, actually, it doesn't seem to be using 0.3.0 for some reason. There should now always be ===> Compiling limko before it tries to start the shell, the fix was to making compile a dep of auto.

Just an update
when the plugin is in the global rebar3 configuration file
~/.config/rebar3/rebar.config:

rebar3 auto fails to find the app file.
When the plugin is in the project rebar.config file
/home/byaruhaf/projects/erlang/limko/rebar.config

rebar3 auto works perfectly
i had added it to the global rebar3 configuration file to be able to use it on any projects.

Ah, are you sure the global one is upgraded to 0.3.0 and not just the local one? To upgrade a global plugin you have to do: rebar3 as global plugins upgrade rebar3_auto

Thanks that fixed it, global one was not updated to 0.3.0 all is now okay
λ VIDIA otto → λ git master* → rebar3 as global plugins upgrade rebar3_auto
===> No entry for profile global in config.
===> Upgrading rebar3_auto ({pkg,<<"rebar3_auto">>,<<"0.3.0">>})
===> Version cached at /home/byaruhaf/.cache/rebar3/hex/default/packages/rebar3_auto-0.3.0.tar is up to date, reusing it
===> No upgrade needed for enotify

Woo, great! Sorry for the confusion with global. I might need to figure out a better way to handle that.

No problem, was looking to replace sync so this now works for me. Thanks for your assistance and time on this issue.


Some project url related issue

When I enter any random url on the freecodecamp solution of :-- 1) Scientific Computing with Python Certificate, 2) Data Analysis with Python Certificate, 3) Machine learning with Python certificate, then without checking my project it redirect me to next project(challenge).

Hello there,
The tests have not been written yet, for them on the client side. This is a known issue, and you are welcome to open a PR adding tests.
Duplicate of #37185


AddressAssignments

The AddressAssignments element is not documented.

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

ID: 9afca8a5-2a72-2370-6520-42c519fb8def
Version Independent ID: d7aef2ab-55ed-bdf6-428b-d6afe1ba47d1
Content: Azure Cloud Services NetworkConfiguration Schema
Content Source: articles/cloud-services/schema-cscfg-networkconfiguration.md
Service: cloud-services
GitHub Login: @jpconnock
Microsoft Alias: jeconnoc

Thanks for the feedback! We are currently investigating and will update you shortly.

I have assigned the issue to the content author to investigate further and update the document as appropriate.

Working now to address this and #14032
Will close one and work off a single issue.


expanded documentation for the scenarios

resolves #55

Pull Request Test Coverage Report for Build 3063

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 89.384%

Totals

Change from base Build 3056:
-0.002%

Covered Lines:
7746

Relevant Lines:
8666

💛  - Coveralls


FEATURE Kong configuration via ENV on container instances

It is very usefull the ability to configure all kong.conf parameter via env var in docker kong instance.
Like a defacto standard for example KONG_DNS_VALID_TTL, ecc.
this avoid to create a custom image or a mount point for konf.conf file to configure a couple of parameter
Think this will usefull for lot of people

I think the main issue is with platform speciifc limitations on env variable sizes, see https://stackoverflow.com/questions/53842574/max-size-of-environment-variables-in-kubernetes

@gszr I think the request is to not specify a file-name containing the Kong declarative config, but actually pass the contents of that file in the environment variable.

@gszr ,  @Tieske is right, what I ask is the ability to configure parameter i need via env var. This avoid me to build a custom docker image to customize few configs

@msartor92,
Just to ensure I understood the request, let's clarify: do you want to pass configuration properties (like the dns_valid_ttl you mentioned) or Kong entities - see declarative configuration - as environment variables? Configuring properties - those that you specify in kong.conf- is already possible through env vars. The latter, which is what @Tieske mentioned, is currently not possible.


Translations update from Weblate

Translations update from Weblate for Haroohie Site/String Constants.
It also includes following components:

Haroohie Site/content/chokuretsu/serial-loops/docs/5.sound/: 2.voice

Haroohie Site/content/blog/: 8.2023-09-11-september-2023-progress-update

Haroohie Site/content/author/: jonko

Haroohie Site/content/author/: william

Haroohie Site/content/chokuretsu/: guide

Haroohie Site/content/blog/: 7.2023-06-25-serial-loops-0-2-is-out-now

Haroohie Site/content/chokuretsu/serial-loops/docs/: 1.introduction

Haroohie Site/content/chokuretsu/serial-loops/docs/4.graphics/: 2.sprites

Haroohie Site/content/chokuretsu/serial-loops/docs/3.scenario/: 4.puzzles

Haroohie Site/content/chokuretsu/serial-loops/docs/: 4.graphics

Haroohie Site/content/chokuretsu/serial-loops/docs/3.scenario/: 3.maps

Haroohie Site/content/blog/: 5.2023-03-10-chokuretsu-compression-archive-followup

Haroohie Site/content/: index

Haroohie Site/content/blog/: 1.2022-10-17-welcome-why

Haroohie Site/content/chokuretsu/serial-loops/docs/1.introduction/: 1.installation

Haroohie Site/content/chokuretsu/serial-loops/docs/: 6.misc

Haroohie Site/content/chokuretsu/serial-loops/docs/: 2.scripts

Haroohie Site/content/chokuretsu/guide/: sidebar

Haroohie Site/content/chokuretsu/serial-loops/docs/: 5.sound

Haroohie Site/content/: chokuretsu

Haroohie Site/content/author/: xzonn

Haroohie Site/content/chokuretsu/patch/: sidebar

Haroohie Site/content/blog/: 11.2024-02-29-chokuretsu-rom-hacking-returns

Haroohie Site/content/chokuretsu/guide/: 1.buying-the-game

Haroohie Site/content/chokuretsu/serial-loops/docs/3.scenario/: 2.group-selections

Haroohie Site/content/blog/: 10.2024-01-24-rom-hacking-panel

Haroohie Site/content/author/: fuyuko-ayumu

Haroohie Site/content/chokuretsu/serial-loops/docs/6.misc/: 4.ui-text

Haroohie Site/content/chokuretsu/serial-loops/docs/6.misc/: 2.topics

Haroohie Site/content/chokuretsu/serial-loops/docs/4.graphics/: 5.system-textures

Haroohie Site/content/chokuretsu/serial-loops/docs/2.scripts/: 1.commands

Haroohie Site/content/chokuretsu/serial-loops/docs/2.scripts/: 2.chibis-and-choices

Haroohie Site/content/chokuretsu/serial-loops/: sidebar

Haroohie Site/content/chokuretsu/serial-loops/docs/3.scenario/: 1.game-flow

Haroohie Site/content/chokuretsu/: patch

Haroohie Site/content/blog/: 3.2022-11-02-chokuretsu-archives

Haroohie Site/content/blog/: 9.2023-10-31-episode-3-now-available

Haroohie Site/content/blog/: 2.2022-10-19-chokuretsu-compression

Haroohie Site/content/blog/: 4.2023-02-28-episode-2-now-available

Haroohie Site/content/chokuretsu/serial-loops/docs/4.graphics/: 1.backgrounds

Haroohie Site/content/chokuretsu/guide/: 2.dumping-the-rom

Haroohie Site/content/: blog

Haroohie Site/content/chokuretsu/serial-loops/docs/2.scripts/: 3.investigation-phase

Haroohie Site/content/chokuretsu/serial-loops/docs/1.introduction/: 3.project-workflow

Haroohie Site/content/chokuretsu/serial-loops/docs/1.introduction/: 2.getting-started

Haroohie Site/content/chokuretsu/serial-loops/docs/: 3.scenario

Haroohie Site/content/chokuretsu/serial-loops/: docs

Haroohie Site/content/chokuretsu/serial-loops/docs/4.graphics/: 4.places

Haroohie Site/content/chokuretsu/: credits

Haroohie Site/content/chokuretsu/: serial-loops

Haroohie Site/content/blog/: 12.2024-03-13-chokuretsu-event-files

Haroohie Site/content/chokuretsu/guide/: 4.playing-the-game

Haroohie Site/content/chokuretsu/guide/: 3.patching-the-rom

Haroohie Site/content/chokuretsu/serial-loops/docs/6.misc/: 3.applying-hacks

Haroohie Site/content/chokuretsu/serial-loops/docs/6.misc/: 1.characters

Haroohie Site/content/chokuretsu/serial-loops/docs/4.graphics/: 3.chibis

Haroohie Site/content/chokuretsu/serial-loops/docs/5.sound/: 1.bgm

Haroohie Site/content/blog/: 6.2023-04-15-serial-loops-0-1-now-available

Current translation status:

why are you doing this to me haroohie?


Clear the app's current droplet guid when droplet is deleted

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

This would put the app into a state where it could no longer be restarted, right? Would it be better to block deletion of droplets if they are the current droplet for an app?

I like the idea of blocking droplet deletion as long as it used as current droplet of an app. This should be backed by an FK constraint.

Closed in favor of #3960.


Prefer original placement if flipped placement doesn't have enough room either

CodePen demo
Default template has it
https://codepen.io/pen?template=wGqJEz
Steps to reproduce the problem

Resize the CodePen window down

What is the expected behavior?

The popper should not flip because the flipped placement doesn't have enough room either
What went wrong?

The popper flips
Any other comments?

Should this be default behavior?

yes that's something I'd like to change but it's gonna be a breaking change so we have to keep this for v2

any way to work around it atm?

You can set a custom flip.behavior, it could be something like ['top', 'bottom', 'top'] if you want it to come back to top if there's not space on bottom

Workaround for this (I'm unable to upgrade to popper.js v2 yet). This uses the v1 API of react-popper. A similar approach can be used for popper.js v1 directly
import { Manager, Reference, Popper } from 'react-popper';

const oppositePlacements = {
    top: 'bottom',
    bottom: 'top',
    left: 'right',
    right: 'left',
};

const Example = ({ placement }) => {
  const flipPlacement = placement.split('-')[0];
  return (
  <Manager>
    <Reference>...</Reference>
    <Popper
      placement={placement}
      modifiers={{
        ...
        flip: {
          behavior: [flipPlacement, oppositePlacements[flipPlacement], flipPlacement]
        }
      }}
    >
      ...
    </Popper>
  </Manager>
  );
};


Implement ODE Action for Tiler to Show the Source on ODE Occurrence

Going to start out simple and just show the source id as identified by the frame meta that contains the object meta that triggered the ODE occurrence,  it will be up to the user to reset the view back to all sources in a key or button handler.
DslReturnType dsl_ode_action_tiler_source_show_new(const wchar_t* name, const wchar_t* tiler);

but will most likely need to extend the behavior for more automated control.  One thought would be to specify a frame_count with the constructor... the number of frames before returning to all sources.  Or a mode parameter to specify if showing single or all sources.
Considering the current python example, that shows how a pair of occurrence and absence triggers can be used to toggle behavior...  the same could be used to show a single source on first occurrence and then go back to all sources on first absence.

Sounds good.
Regarding the frame-count, I would rather consider having a time based window (e.g. 5 seconds) to support different frame rates. This timer should probably reset when the action is called, basically a sliding window to return to all sources after the last call.
The occurence and absence trigger pair should work in some cases, but might be a problem if source-1 triggers show-source on occurence, then source-2 triggers on occurence, but source-1 then resets to show-all on absence therefore showing all while the source-2 should still be shown. This should not be the case with a sliding window reset to show-all.  I hope this makes sense.

@jlerasmus good point, the occurrence-absence only works for actions that don't affect other sources in the batch.  You've sold me on the timer. Is units of seconds sufficient?
RE: sliding window.
Considering that a trigger can filter on a single source or all sources, I'm thinking this would work best as

using one trigger for all sources, once an occurrence is detected on one source.

show the source, and start the timer.

for each subsequent frame in the batch, and each batch of frames following

as long as the timer is running, no other source can update the show source setting.
if a new occurrence is detected for the same source,

restart the timer.

once the timer expires, any source can trigger a new occurrence.

@rjhowell44 glad to hear my sales hat did the job ;-)
Timeout unit in seconds is perfect. I don't expect a user to specify anything more than 10 to 15 seconds, and also not less than 1 second.
What you proposed sounds rigt. This should prevent  unnecessary switches while a source is shown.
Another thing to keep in mind is that such action's timer should also be reset when explicitly showing all sources (e.g. pressing escape or right clicking)

@jlerasmus actually, I'm a little off with my purposeful above.
Each source will need it's own trigger with different criteria (Areas and such),  The Tiler will need to manage the timer and control over the show_source setting
So now that you sold me, you need to help answer some of the following :)
So  both the Tiler and Action APIs will change...
// a timeout of 0 will show the source indefinitely, or until show-source is called again.
DslReturnType dsl_tiler_source_show_get(const wchar_t* name,
    const wchar_t** source, uint* timeout);

// if dsl_tiler_source_show_set() is called with source == the current show-source then the timeout will
// be restarted, If called with a new source while the timer is runner, should the call be
//    - ignored?
//    - or is the new source id queued and set on timeout?
// if called with show-all-sources (source = NULL)  while the timeout is running, does show-all-sources
// take precedence? When calling to show-all-sources with a timeout, should the Tiller switch back to the
//  previous source value on timeout ? or is the timeout ignored?
DslReturnType dsl_tiler_source_show_set(const wchar_t* name,
    const wchar_t* source, uint timeout);

DslReturnType dsl_ode_action_tiler_source_show_new(const wchar_t* name,
    const wchar_t* tiler, uint timeout);

thanks

@rjhowell44 you are right.  We should always keep in mind that the same rules might apply to all sources, but also different rules will apply for each source (especially with areas)
Agreed that the best single place for timeout management would be the tiler instance being called on.
Here is what I think for an initial implementation:

show-all-sources

should take precedence, cancel the timer and show all sources
I don't believe one would want to switch back from show-all after a timeout.  The general use case would be to place focus on the source with the event, and switch back to showing all.
to make the intention clear, maybe have a dsl_tiler_source_show_all(name)

show-single-source should

if timeout == 0

show the single source

if timeout > 0

if timer is NOT running

show the source and start the timer

if timer is running

same source => ignore call and let timer runout to show all (depending on the triggers setup, this next trigger might show it again in any case
different source => switch to new source and (re)start timer

this might cause quick switching between sources, but should show the last source that triggered an action

@jlerasmus I read your mind.. that's exactly how I implemented it with dsl_tiler_source_show_all(name)
I've merged everything into the v0.07.alpha branch. I've updated the existing show source example script... but I have not tried the new action yet... there is no script for this.  I will get to that tomorrow..

@jlerasmus I just re-read your notes and there is one thing that I've done differently
re:

if timer is running

same source => ignore call and let timer runout to show all (depending on the triggers setup, this next trigger might show it again in any case

different source => switch to new source and (re)start timer

this might cause quick switching between sources, but should show the last source that triggered an action

I have

if timer is running

same source => extend the timer with new timeout and  runout to show all
different source ignore the call

If each source is using an occurrence trigger, the shared action will be calling dsl_tiler_show_source for each object which could lead to numerous switches per batch... could be a flickering image.
May still need to iterate on this... lots to think about.

@rjhowell44 I think let's keep it as you have it now for an initial implementation. I will try and setup a complete example with my 9 cameras to see how it behaves in the real world (although this is a low activity scenario, might behave different in a high activity scenario)
As a future improvement, one solution might be to have an option passed in to allow user customization, e.g.

SAME_SOURCE_COMPLETE
SAME_SOURCE_EXTEND
DIFFERENT_SOURCE_SWITCH
DIFFERENT_SOURCE_IGNORE


Improve kapp-controller standard error message

Describe the problem/challenge you have
When users encounter an error like below, a common question has been how to access the usefulErrorMessage, which will contain the most relevant error for users to focus on:

resource reconciliation failed: kapp: Error: waiting on reconcile packageinstall/grype (packaging.carvel.dev/v1alpha1) namespace: tap-install: Finished unsuccessfully (Reconcile failed: (message: Error (see .status.usefulErrorMessage for details))). Reconcile failed: Error (see .status.usefulErrorMessage for details) Error: exit status 1

The error above is the output of kapp after failing to install a PackageInstall.
The original error message was meant to replace a user simply seeing a error message of exit status 1 as shown here.
What are ways that we can make it easier for users to find the error? .status.usefulErrorMessage probably does not immediately resonate with a lot of users of kapp-controller to mean the status of the CRD.
Describe the solution you'd like
An error message that does not require a user to follow up with a question afterwards of how to access the error message. Users should be able to very clearly identify what actions to take next after running into problems with kapp-controller.
Anything else you would like to add:
We should more broadly consider how any change will affect how the error appears in a kubectl get pkgi. Also, how will this affect the tanzu cli and other clients.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

It's a shame that the logs subresource isn't implementable, or else kubectl logs packageinstall foo would seem like the natural choice.

This has been since implemented as part of kctrl. Closing this one out, thanks everyone!


fix: Validate EthAddress size in aztec-nr

Ensure the field element backing an EthAddress in aztec-nr is no larger than 20 bytes.

Benchmark results
Metrics with a significant change:

note_successful_decrypting_time_in_ms (32): 574 (+19%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit cfd673d6 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
66,328
239,032
468,884

l1_rollup_execution_gas
667,009
953,942
1,336,241

l2_block_processing_time_in_ms
1,277 (-2%)
4,746 (+1%)
8,925

note_successful_decrypting_time_in_ms
145 (-27%)
:warning: 574 (+19%)
934 (-1%)

note_trial_decrypting_time_in_ms
48.5 (-54%)
89.6 (-10%)
67.6 (-8%)

l2_block_building_time_in_ms
18,426 (-1%)
69,647
137,350 (-1%)

l2_block_rollup_simulation_time_in_ms
8,302
29,507 (+1%)
57,295

l2_block_public_tx_process_time_in_ms
10,100 (-1%)
40,078 (-2%)
79,952 (-2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
13,925
26,733 (-10%)

note_history_successful_decrypting_time_in_ms
1,200 (-3%)
2,398 (-5%)

note_history_trial_decrypting_time_in_ms
72.0 (-23%)
128 (-37%)

node_database_size_in_bytes
19,054,672
35,647,568

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
285 (-1%)
44,370
27,700

private-kernel-ordering
218 (-1%)
52,324
14,326

base-parity
1,885 (-2%)
128
311

base-rollup
728
177,083
925

root-parity
1,609 (+11%)
1,244
311

root-rollup
69.0 (+1%)
4,487
789

private-kernel-inner
638 (-1%)
73,229
27,700

public-kernel-app-logic
451 (-2%)
35,262
28,215

public-kernel-tail
177 (-3%)
40,926
28,215

merge-rollup
8.26 (-1%)
2,696
925

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.97
16.0
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.581
0.496
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.8
72.2
230
444
879 (+2%)
1,716
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.470
0.445
0.420
0.416
0.417 (+1%)
0.412
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
53.8 (+1%)
107 (+1%)
335
657 (-1%)
1,309
2,602
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.480 (+1%)
0.482 (+1%)
0.456
0.453
0.454
0.452
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.4 (+1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.538 (+1%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes

tx_size_in_bytes
22,014

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
4,013 (-1%)
1,749 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
12.5 (-16%)
1,261 (-2%)


Update publishing-java-packages-with-gradle.md

Why:
Closes #8048
What's being changed:

Merge a somewhat duplicate sentence about setting environment variables in the deploy step
Fix an error in a repository name (Maven Central instead of GitHub Packages) (may have happened because of a copy-paste)
Fix another paragraph that only referred to configuration of GitHub Packages while it was about configuring both Maven Central and GitHub Packages (may have happened because of a copy-paste)

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@mahozad Thanks so much for opening a PR! I'll get this triaged for review :zap:

Why:
Closes #8048
What's being changed:

Merge a somewhat duplicate sentence about setting environment variables in the deploy step
Fix an error in a repository name (Maven Central instead of GitHub Packages) (may have happened because of a copy-paste)
Fix another paragraph that only referred to configuration of GitHub Packages while it was about configuring both Maven Central and GitHub Packages (may have happened because of a copy-paste)

Check off the following:

[ ]  I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")


error: 'v1_retired'

when I used getMetadata method of node_dropbox dependencies to retrieves files and folder, getting error  " error: 'v1_retired'" in getMetadata response.
How to solve this error? Please give us solution asap.

Sorry about that! Seems they have done away with API Version 1.
I'm currently not maintaining this library. It's recommended that you use the official Dropbox JavaScript client 👍
https://www.dropbox.com/developers/documentation/javascript#overview

I have tried using that, but in all Api response, getting authorization
invalid bearer token error.
On Dec 7, 2017 5:39 PM, "Joshua Kidd"<EMAIL_ADDRESS>wrote:

Sorry about that! Seems they have done away with API Version 1.
I'm currently not maintaining this library. It's recommended that you use
the official Dropbox JavaScript client 👍
https://www.dropbox.com/developers/documentation/javascript#overview
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/g33kidd/node-dropbox/issues/20#issuecomment-349949305,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWmhs9Kj-DkvfsKjynwf2Kk91X3E4T1yks5s99WEgaJpZM4Q4-7w
.


Badges that would be given on successfully joining coders evoke : like bronze, silver, gold etc

probably adding a profile section and in that various section like if one completes certain amount of tenure with the community
bronze : 1 month
silver : 2 months
gold : 6 months
probably ?
thoughts?

badges i can make

badges i can make

wow !! sounds great @unnati914  would be great if u contribute here :)

cool I will start working :)

@Ayan-thecodeking please look into this

done please look at the PR


Error with DNTCaptcha on a page

When I use DNTCaptcha on my index page (routed as /) everyting works as expected. However when I use it on a page with a route such as /contact I am getting the error below.
[2022-11-15T08:47:57.354Z] Error: Microsoft.JSInterop.JSException: Failed to fetch dynamically imported module: https://localhost:7284/contact_content/DNTCaptcha.Blazor/scripts/dntCaptcha.js
TypeError: Failed to fetch dynamically imported module: https://localhost:7284/contact_content/DNTCaptcha.Blazor/scripts/dntCaptcha.js
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at DNTCaptcha.Blazor.DntInputCaptcha.LoadScriptsAsync() in F:\Prog\1400\DNTCaptcha.Blazor\src\DNTCaptcha.Blazor\Components\DntInputCaptcha.razor.cs:line 323
at DNTCaptcha.Blazor.DntInputCaptcha.OnAfterRenderAsync(Boolean firstRender) in F:\Prog\1400\DNTCaptcha.Blazor\src\DNTCaptcha.Blazor\Components\DntInputCaptcha.razor.cs:line 305
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

contact_content ? How did this happen? If there's a problem, you should get the .js file from the root of the domain, such as:
https://localhost:7284/_content/DNTCaptcha.Blazor/scripts/dntCaptcha.js

and not concatenation of the different parts, such as your posted URL:
https://localhost:7284/contact_content/DNTCaptcha.Blazor/scripts/dntCaptcha.js

Here is a sample to show it in a subdomain with a routed page:
https://vahidn.github.io/DNTCaptcha.Blazor/routed-login-page

So I have a Contact Form component that I use in both places. On the Index page it works, but not on the Contacts page.
I'm not constructing that URL _content/DNTCaptcha.Blazor/scripts/dntCaptcha.js That is what is being generated.

I can't reproduce your issue.

I moved the whole login fields to a new component.
I added a new routed page sample.
And it's still working without any issues (locally and also here in a subdomain)

Does it do the same in Blazor Server ?

Don't remove the base href from the _Host.cshtml file:
<base href="~/"/>

The  is a client side technology that specifies the base URL for all relative URLs in current document. Many SPA frameworks

You Sir, are amazing !


Support for Sveltekit

I've been using SST v2 with sveltekit , had a really great xp , Are you planning on supporting sveltekit in ion?

yep we were waiting for some streaming fixes in aws lambda which are being rolled out starting today so will fix soon

https://ion.sst.dev/docs/component/aws/svelte-kit/


LAN Control from different subnet.

I like to keep my IoT devices separated on a different VLAN than my main devices (PCs, phones, servers). For now it seems like the lan based api can't connect to the govee light strip if it is in a separated network (of course I've permitted every communication between the light strip and HA). Is it possible to solve this issue? (For example by pointing HomeAssistan to the IP of the light strip).

If the IP is from a different subnet than the issue is not from the hacs, but rather how PC networking works.
They are in different networks, they can't reach each other. Your must have some kind of lan peering or having all the stuff you need on the same subnet.

If the IP is from a different subnet than the issue is not from the integration, but rather how PC networking works.
They are in different networks, they can't reach each other. Your must have some kind of lan peering or having all the stuff you need on the same subnet.

Nevermind, I've probably figured it out. I'm gonna try it when I have some time.
Btw. Never tell a network engineer, that the issue is "how PC networking works", cause it's not. Multicast can be routed 🙃.  And maybe you just missunderstood me, but the sentence "they can't reach each other" is not true. As I said, the traffic between them is permitted and they totally CAN communicate. I just need to make multicast work properly on the router

You're right, I was just trying to simplify the reply

Btw. Never tell a network engineer, that the issue is "how PC networking works", cause it's not. Multicast can be routed 🙃. And maybe you just missunderstood me, but the sentence "they can't reach each other" is not true. As I said, the traffic between them is permitted and they totally CAN communicate. I just need to make multicast work properly on the router

And everyone is just supposed to know you're a network engineer 🙃


Support search repository name (from url)

Running the following command to use the worktree feature of Git

mkdir SuperSocket

cd SuperSocket

git clone url main (get a folder as main with default branch, the folder is under SuperSocket folder)

cd main

git worktree add -b v1.6 ../v1.6 origin/v1.6 (get a folder as v1.6 with branch v1.6, the folder is under SuperSocket folder)

git worktree add -b v1.5 ../v.15 origin/v1.5(get a folder as v1.5 with branch v1.5, the folder is under SuperSocket folder)

git worktree list

Currently when I try to search "SuperSocket" in repository list, I get nothing.  The search feature could be better, to search through the repository name from the url of remote SuperSocket](https://github.com/kerryjiang/SuperSocket.

1.It would be better, if you can show the remote url on repository list.
Currently it's not easy to distinct the repositories when I have multiple repositories share the same branch name.
Since a local repository might have multiple remotes, you can provide the max number of remote url to show. Make it configurable, default to 3.
2.add prefix branch name: and folder name: would be better when the branch name and the folder name is the same when use git worktree feature.

Thanks for the suggestion, but I won't add the remotes to the UI since this would add way too much clutter. Having multiple remotes uris would make that awful and adding a configuration for max. remotes is exactly what a good UI should not have.
The branch name and the folder name are the same in that given scenario. I never had this issue by myself and I think this is an edge case. I'd encourage you to fork this repo and add this feature for yourself.
Keeping this issue open because I'll think about adding the remotes as filter targets like the current branch or local path.

After some consideration, I decided to not implement this.

One feature that would be nice to have (somewhat related to this) is showing the file path if there are multiple repositories with the same name.
So if I have two repositories in the RepoZ list called Foo (one upstream and one fork), it would show the file path under the repository name. Right now I have to hover the repository with the mouse to make sure I choose the right one.

I usually clone these repos in speaking folder names by adding a local name at the end of the clone command, like git clone https://github.com/awaescher/guics awaescher-guics (or renaming the repository folder afterwards, which is supported by RepoZ, too).

I don't do that. I keep them separated in folders like github/owner/repo. Displaying folder path in case of two identical repos wouldn't change anything for people following a similar pattern as you.

@patriksvensson For your situation, one upstream and one fork, I always make them in same local repository by add another remote.
git remote add RemoteName url
then git fetch --all


Use the THANOS_COMPACTOR_REPLICAS variable

The actual bug is fixed in https://github.com/thanos-io/kube-thanos/pull/109. Once we merged that one we can simply update kube-thanos in this project and it will be correctly generated from there on.
Thanks for the report @rrati!


Dark mode issues

I have dark mode and there are two things I noticed:

the loading screen is bright white. Can't this be changed to darkness if the user selected 'dark'.
dark mode is grayish. Can there be (a little) more black? For the iPhone X oled screens.

• Unfortunately the loading screen can't be changed based on the theme, that's a restriction from Apple.
• We could add a 3rd theme ("pure black"), but the document browser from Apple only has a "gray" dark theme. So we couldn't make the whole app black.

Too bad! Apple should make work of the official dark mode on iOS. With and OLED screen they should have introduced it with the release of the iPhone X.
Thanks for the update.


Microsoft speech recognition PhraseLIst undefined,what is the issue?

currently developing an app with Microsoft speech Rec and its going well except when attempting to user the PhraseListGrammar object it keeps retruning undefined, what is the issue?
recognizer = new SpeechSDK.SpeechRecognizer(speechConfig, audioConfig);
recognizer.BabbleTimeout = 0.75;
var phraseListGrammar =
SpeechSDK.PhraseListGrammar.fromRecognizer(recognizer);
the last line give me the following error:
Cannot read property 'fromRecognizer' of undefined
Why can I not create the PhraseListGrammar object so i can give it a list of poossible words to recognize. this can dramatically increase the effectiveness of my app and decrease the error rate so someone please help. Thank you.

Detalji dokumenta
⚠ Ne uređujte ovu sekciju. Ona je neophodna za povezivanje problema slijedom docs.microsoft.com ➟ GitHub.

ID: 6c3e4d66-e6fd-3ed1-f505-875064467f00
Version Independent ID: 345501ca-4487-ff5a-b681-449508433cff
Content: Phrase Lists - Speech Services
Content Source: articles/cognitive-services/Speech-Service/how-to-phrase-lists.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @rhurey
Microsoft Alias: rhurey

Hi @TadewosBell Thank you for reaching out. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/speech-service/how-to-phrase-lists
here is the documentation

@TadewosBell Could you please check if the JS file microsoft.cognitiveservices.speech.sdk.bundle.js is extracted and placed in your directory?
Please refer to the steps mentioned here and try to load the index.html file again.
I ran the solution and did not find any issue while loading an audio file.

i have loaded the most current SDK and that seems to have fixed the problem, although when i upload a phrase grammer list. The service takes a significant performance hit,  failing to recognize the words correctly and also ending each recognition prematurely sometimes only recognizing a word if it does at all. Why is this? I am going to revert back to using no phrase list, but i would love if this feature could become available for my app as it can make a good deal of difference in performance and is very useful for my application.

@TadewosBell We are glad the current SDK worked for you. With regards to performance issues we would suggest to raise a support request through LUIS portal so the product team can receive feedback of the issues with current SDK. Please send in your query from the portal from the following links as shown in the screen shot.

You can also raise an issue in github with more details at this link.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply. We will gladly continue the discussion and we will reopen the issue.

I am trying to use the Speech to text azure api for a project I am working on, yet the line
speechConfig = SpeechSDK.SpeechConfig.fromSubscription(subscriptionKey.value, regionOptions.value);
is giving me an error saying speechConfig is undefined.  I included the bundle in my directory and am working on this project in JS react.  Anyone else run into this issue?

@nikhilr5  Hi, I trid it and I got that error too in React/Next.js.
But, I solved the problem in the following way.
// Normally, we should import a module like this, but
// import SpeechSDK from 'microsoft-cognitiveservices-speech-sdk';

const SpeechSDK = require('microsoft-cognitiveservices-speech-sdk');

const speechConfig = SpeechSDK.SpeechConfig.fromSubscription(keyText, regionText);

In other words, it is a React project, but when importing, it is done the nodejs way.


ui: fix dashboard retrievals based on permissions

Description
Fixes #9233
Retrieves and shows dashboard details if they are allowed
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9237 (QA-JID-375)


Add an Edit button on the learnt-item view page

at url like  https://tildeblog.onrender.com/til/show/
there should be an edit button, for authorized users.  Users should get a form where they can change the TLDR and body of the entry.
Nice to have: edit tags for post.  But tag editing does not have to be implemented at same time for this issue if it's not easy

merged in to dev 2024-03-11


hasn't the code been released yet?

Interesting  work, hasn't the code been released yet?

ZSL code is WIP.
for all other tasks (multi-label and single-label), full and comprehensive reproduction code has been released.

Thank you for your prompt reply


this apply-once config will fallback after 5m

Describe the bug

policy/apply-once/policy-apply-once-rules-selector-oamTypes.yaml
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: apply-once
spec:
  components:
    - name: nginx
      type: webservice
      properties:
        image: nginx
      traits:
        - type: scaler
          properties:
            replicas: 1
  policies:
    - name: apply-once
      type: apply-once
      properties:
        enable: true
        rules:
        - strategy:
            path: ["spec.replicas"]
          selector:
            oamTypes:
            - COMPONENT

kubectl set image -n prod deploy nginx nginx=nginx:1.14
[root@easzlab apply-once]# kubectl get deploy nginx -n prod -o yaml |grep "image: nginx:1.14"

To Reproduce

Expected behavior

Screenshots

KubeVela Version
1.6.5

Cluster information

Additional context

moved to #5608


Video-7/AppleColor RGB Mode support

The doc site is down (?) so I can't verify, but per Adrian's video there's a screenshot of https://a2desktop.com/ showing DHGR color fringing.
As an active developer on that, I wanted to pop by and comment that even going back to the original 1980s releases by VersionSoft, the MouseDesk a.k.a. Apple II DeskTop software supports the Video-7/AppleColor RGB/Le Chat Mauve Feline DHGR mode controls. The modes are activated by loading a bit into 80COL and then turning AN3 off/on to shift the bit into a 2-bit register.

Mode 1 - Monochrome 560 x 192

Write $C00C (80COL off) - loads 0
Write $C05E (AN3 off)
Write $C05F (AN3 on) - shifts 0 into register
Write $C05E (AN3 off)
Write $C05F (AN3 on) - shifts 0 into register
Write $C00D (80COL on)
Write $C05E (AN3 off) - re-enable DHGR

Mode 2 - Color 140 x 192

Write $C00D (80COL on) - loads 1
Write $C05E (AN3 off)
Write $C05F (AN3 on) - shifts 1 into register
Write $C05E (AN3 off)
Write $C05F (AN3 on) - shifts 1 into register
Write $C05E (AN3 off) - re-enable DHGR

There's also weird Mode 3 (shift in 0 then 1), where the otherwise unused high bits of each DHGR byte set the output to monochrome (0) or color (1).  This is detailed in the Video-7 RGB manual or Apple's "Extended 80-Column Text/AppleColor Adaptor Card" manual - they all follow the same protocol.
MouseDesk/Desktop and a few other software titles will automatically switch the system into monochrome mode using the above sequence. I've added support to ensure that A2Desktop restores color mode on exit, and the image preview capability lets you toggle modes by hitting the spacebar.
It would be awesome if the ∀2 Retro Computing Analog VGA Card could support at least the mono/color control switch. My apologies if this support is already present - again, the site appears down.

Peeking at the source, I see $C021 is hooked up to emulate the IIgs's MONOCOLOR switch, which is nice. (IIe software won't be using that, though. So Video-7-compatible support would be appreciated!)
Also the IIgs is quirky. MONOCOLOR only affects the machine's composite output. The RGB port's output of DHGR can be switched to B&W using bit 5 of NEWVIDEO ($C029). So good IIgs software should twiddle both because who know what kind of monitor the user has. For your project's VGA output, you'll probably have to decide how to handle the two switches being out of sync. (I don't know which was more common for developers to think about for the strange DHGR-on-IIgs case, but I suspect NEWVIDEO.)

Thanks, I'll look into adding this.

Cool! You may want to make it a config option though - there is the occasional piece of software that triggers a mode switch accidentally, since the hardware was not terribly common back in the day and so testing was limited.

Oh this sounds really cool. I was unaware the MouseDesk used that Video7 bit like that.

Working on implementing the Video 7 stuff, I have some of the features implemented, I'll probably hold off on most of the other DHGR modes.  One thing I want to do differently from them is 80 column F/B mode as well.  I might make this it's own config option as for enabling it or not.  The monochrome DHGR mode, F/B 40-column text, and F/B 80-column text (using page 2 & aux page 2 for the colors) are implemented now and will be pushed by this weekend.

This is a fun work-in-progress as I was implementing the 40-column F/B text mode before reading through the video-7 manual.

I was about to write an update about how F/B hires has been kicking my butt today. But I have gotten it down to all but the mixed B&W/RGB mode implemented.

https://github.com/V2RetroComputing/analog/releases/tag/20230502 has been released with the Video-7 feature.
Mixed B&W/RGB remains to be implemented.

Awesome! I just added myself to the waitlist on Tindie. I hope this proved to be a fun project.
The Video-7 demos should validate everything, but if you try out A2Desktop again it'd make a good test too:

It should automatically switch to DGHR mono on launch
If you go into Control Panels > Control Panel and check RGB Color it should immediately revert to color mode. This is if you really like your text blurry, or want to use a background pattern that's a DGHR solid color. (They look better on composite.)
If you preview an image, e.g. Monarch in the Sample Media folder, the space bar should toggle between color and mono.
DeskTop should reactivate DHGR color on exit, e.g. if you launch a game, or quit and then launch a game.


Change color of toolbar icons

How can I change the color of the toolbar icons? I want to have a white toolbar, but now the icons are invisible because they're also white.

just replace the icon in res ,but this just a provisional plan.

just like this: