build: move to GitHub actions

:tada: This PR is included in version 1.4.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: markupsafe bug by updating chisme in all charms

This should fix the markupsafe problem https://github.com/canonical/bundle-kubeflow/issues/883
I have updated chisme in all requirements
for pattern in "requirements.in" "requirements-fmt.in" "requirements*.in"; do find . -type f -name "$pattern" -exec bash -c "cd \$(dirname "{}") && pip-compile \$(basename "{}") -P charmed-kubeflow-chisme --upgrade" \;; done

Closing because we merged this one https://github.com/canonical/notebook-operators/pulls?q=is%3Apr+is%3Aclosed


Rest Time Picker initial Value

I am using this libray for custom time picker as shown below
Currently it shows with nearest current time. How can we reset it to 00:00 initally rather than picking nearest time?
Picker(
        adapter: DateTimePickerAdapter(
          type: PickerDateTimeType.kHM,
          minuteInterval: 15,
        ),
        hideHeader: true,
        title: Text("Selecteer Tijd"),
        confirmText: "Selecteren",
        cancelText: "Annuleren",
        onConfirm: (Picker picker, List value) {
          // todo
        });

@yangyxd : Can you help me here

@thapli9A
When initializing, use the value parameter of DateTimePickerAdapter to specify the desired time.


Volumes stuck in purging

Rancher Version:
v1.0.1
Docker Version:
1.10.3
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 14.04 / cloud
Setup Details: (single node vs. single node, internal DB vs. external DB)
external DB, single node
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Create a storage volume, then try to delete via either API or GUI
Results:
I know there are issues with deleting storage pool volumes from the GUI, in my case I have attempted to delete via the API, but I'm still seeing multiple volumes in a purging state.  These seems to be slowing down the main rancher server due to the sheer amount.  Is there a way I can either kill the tasks inside rancher or properly get the volume our of the purging state via the API?
Here is a screenshot of my process list.
https://www.evernote.com/l/AQ9vWU-_ZjdFALPTT-xv2QhacH7rn0oOybI

The deleting from storage pools API is still not completed yet. That is what this issue is for: https://github.com/rancher/rancher/issues/2918
There are some notes inside that issue from @cjellick on how to clean it up manually. Hope that will help.

@jensendw Let me know if you have further questions, but the issue I referenced should help with your questions.


Linkat not able to pass NULL as second argument to persist tempfiles in NIX?

In open(2) it mentions that a tempfile created with O_TMPFILE can be persisted by calling:
linkat(fd, NULL, AT_FDCWD, "/path/for/file", AT_EMPTY_PATH);

This would be useful for me to save temp files without copying them but the second argument to nix's linkat appears to be a non-nullable NixPath:
pub fn linkat<P: ?Sized + NixPath>(
    olddirfd: Option<RawFd>,
    oldpath: &P,
    // /\/\/\/\ Should this be Option<&P>?
    newdirfd: Option<RawFd>,
    newpath: &P,
    flag: LinkatFlags
) -> Result<()>

Intuitively I'd expected an Option for that second parameter.
I don't see anything obvious in the source for how to pass a NULL value. Is there something I'm missing? Is an empty NixPath equivalent to NULL in C in this case or is this simply not yet implemented?

Related: Is AT_FDCWD not yet implemented as well?


Add unit tests for two backend files

Files:
SocketCtrl
StatusCtrl

Elegantt data. What's this?

➤ Matt commented:
@rowansavage1 I propose we change this story bench this story in favour of this https://trello.com/c/W6XeAYNF/352-fix-broken-api-unit-tests as we have undoubtedly screwed some up with our api changes.


Feature/wos 219 initial content for default values in bulma

Description

Motivation and Context

Screenshots (if appropriate)
Upgrade notes (if appropriate)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue) labeled with bug
[ ] New feature (non-breaking change which adds functionality) labeled with enhancement
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code standards of this project.
[ ] My change requires updating the documentation. I have updated the documentation accordingly.

Testing results:
Components which still has following error when editing in side panel:

progress bar - field "progress bar value"
navbar item in "navbar" component - all fields
button in "buttons" component - field "action"

Testing results: Components which still has following error when editing in side panel:

progress bar - field "progress bar value"
navbar item in "navbar" component - all fields
button in "buttons" component - field "action",  "icon left", "icon left size" (same for icon right)

I fixed those in my newest commit


Supports Japanese / Korean input

Feature description
When I try to input Japanese on the keyboard, English characters are input as they are and I cannot input Japanese.
I want WebSSH to be able to input Japanese.

Hello @tasuren 👋
Could you make a video or snapshot about your issue please?

If you try to type Japanese characters, English characters will be typed as they are.
However, if I use copy-paste, I can type Japanese characters.
I would like WebSSH to be able to type Japanese characters like normal.
In this video, after typing Japanese using the a and i keys in the normal input of other applications, I try to type the same way in WebSSH.
You can see that WebSSH does not input Japanese.
It also shows that Japanese is input by copy-paste at the end.
https://user-images.githubusercontent.com/45121209/171609166-c2f3fc42-e8f2-44e9-b0d2-a52ed34294e3.MOV

I now understand thank you!
I was thinking that keys was pressed on a "full" Japanese keyboard like this :

I need to understand how to implement Japanese input (I think I have removed something).

KOREAN input problem. ★★★★☆
Nice tool for terminal. But there is some problems. I'm Korean so sometimes I need to input Korean. But this program can't input Korean. When I want to input '가' then this program input 'ㄱ ㅏ'. another exmaple, '안녕' then 'ㅇ ㅏ ㄴ ㄴ ㅕ ㅇ'. This is serious problem. Could you fix it?
by 야후우~ - Edited Sep 13, 2023

Hello @tasuren 👋
Are you still using WebSSH?
If so, could you confirm me that you are using Romaji keyboard for Japanese input?

Yes, I could.
I think almost all people who use the keyboard use the Romaji Keyboard method.

Thank you so much for your feedback @tasuren 🙏
I will try to improve WebSSH so using the Romaji Keyboard method.

Hello @tasuren 👋
Have you some time to check WebSSH 25.3.1278 on TestFlight?
https://testflight.apple.com/join/QSrBK59z
Have a nice day ☀


Removing Progress reporting sending weird characters

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

Rebase and CI


Completion should ignore items (parseInt, etc) for object expression

With ES6 this is actually valid syntax thanks to object literal enhancements:
var x = {parseInt};

You can try it in a modern browser (ie: Firefox) and it will work.

I think we landed a rather solid property-in-literal completion solution at some point since this was opened.


Is it possible to remove the default source zip and tar.gz files from the release?

If a repo is using git submodules as a means to fetch other parts of the project (not deps) but real modules, so projects that aren't using a monorepo approach have parts of the code missing, because GitHub only zips the repo contents together and not the source tree after recursive cloning.
I created separate CI steps which properly pack up the source ZIP files, but can I remove the default assets automatically created by GitHub? FWIW it's not possible to remove those assets manually either. Even if the release is a draft so manual touch up of the package could be done, it doesn't work.

I, too, would like to know the answer to this ☕

I think it impossible because I also can't create release without source manually.

Yeah the closest you can do (ish) is ignore everything and I guess it creates an empty archive? https://stackoverflow.com/a/58443948

I think it is safe to assume that unfortunately this isn't going to resolved anytime soon: https://github.com/orgs/community/discussions/6003

I need this too...just an option in GitHub to suppress the source zip and tarball...


FLAUI Click/Mouse Click operation does not open the expected window/panel from 'Data Item' control type present in the table.

Unable to open a window/pane by click operation from 'data item' present in grid table.
Also FLAUI does not throw any exception on performing click/mouse click on that data item. Event is performed but still the window is not opened.
Below is the simple code we tried :
" var DataItem = MainWindow.FindFirstDescendant(cf => cf.ByName("Row 1, Column 13").And(cf.ByControlType(ControlType.DataItem));
DataItem.Click(); "
Screenshot of the FLAUI inspect:

Whenever you "click" on the DataItem, does an  "Editing Control" show up as a child of Table when you refresh the inspect? As far as I can tell, the click on the DataItem gives focus to the cell, but you need to then do the action on the "Editing control" (pane)/ "Editing control" (edit or whatever type your editor is) that is "activated".

@kuskitkd Thanks for your response. Yes 'Editing Control' still show up as a child after we refresh the inspect (but we need to expand the inspect tree to fetch the particular node, as it is getting collapsed when doing refresh) . We also tried to open the pane from the cell using 'DataItem' as control type but that doesn't help. From our POV, FLAUI finds the element as guided by inspector and we don't see any issue with the click as the cursor clicking at the right point. Only concern is, it is not opening the desired pane/panel once the click is performed.
Also we found this behavior to be working with our previous tool 'WinAppDriver' where we dont specify any control type and element finding mechanism is same as selenium. We got struck with this while migrating to FLAUI.


Error，Could not find a package configuration file provided by "Kuku"

CMake Error at CMakeLists.txt:131 (find_package):
By not providing "FindKuku.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Kuku", but
CMake did not find one.
Could not find a package configuration file provided by "Kuku" (requested
version 2.1.0) with any of the following names:
KukuConfig.cmake
kuku-config.cmake

Add the installation prefix of "Kuku" to CMAKE_PREFIX_PATH or set
"Kuku_DIR" to a directory containing one of the above files.  If "Kuku"
provides a separate development package or SDK, be sure it has been
installed.

Did you install it with vcpkg as described in the README?

Have you resolved this issue? I am encountering the same error.


"proc.reg" is not initialised

proc.reg is log-file which should be updated every time when a new process is added, modified or removed in an application. This file is missing and no information about added, modified or removed processes are logged.

This issue will be addressed during implementation of enhancement #3


nixos: replaced "userns" with "user namespaces" for clarity

Motivation for this change
"userns" wasn't introduces as an abbreviation elsewhere as far as I can see, and I wasn't sure what was meant at first.
Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

The "ns" suffix is quite commonly used, as in "pidns" & "userns" but this is fine by me. Thank you.


[Apple Silicon] Fix error if Xcode.app is out of /Applications

Broaden the include validation predicate which was previously set to
/Applications. When using this toolchain, the validation will otherwise fail
/var/tmp/_bazel_x/53998339ce49dbe95d8d2305f25af2f8/external/build_bazel_rules_ios/rules/hmap/BUILD.bazel:11:11: Compiling rules/hmap/lines.c [for host] failed: undeclared inclusion(s) in rule '@build_bazel_rules_ios//rules/hmap:lines':

Testing this fix locally. thanks!

This fixes the problem I was experiencing locally, thanks!


"system network services are not compatible with this version"

print out:
name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20160627183059~master:e3c0a690
release: trusty
architecture: amd64
xmethod: xorg
targets: unity
host: version 8172.62.0 (Official Build) stable-channel gnawty
kernel: Linux localhost 3.10.18 #1 SMP Wed Jul 6 18:07:54 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/...

issue:
I'm not very familiar with linux, chromeOS, or crouton. My issue is the network manager and internet connection. I cannot get the system network to work at all. On my first crouton install, I first thought that linux itself was the issue leading me to uninstall, reinstall, and alter multiple files. After hours of struggling no result was produced, so I began thinking that it was a crouton issue. My initial crouton install was the ubuntu precise(12.04 LTS ubuntu, I believe) distribution. I later uninstalled the precise distro and installed the trusty(14.04 ubuntu) and the issue still endures. I greatly appreciate any kind of help.

Network is shared with chromeos. You shouldn't use the networkmanager in the chroot. After you installed the chroot and start it up then you should have internet connection automatically. At least if you are connected to internet on the chromeos side. If you need or want to change wifi networks, then you have to do it in chromeos not the chroot.

@divx118 Thank you for the response. I understand the issue now

@TerryMinal Please close this issue then. Thanks.


How to set connector in ASP.Net MVC?

I want to use it in ASP.net MVC C# but I don't know how connector.minimal.php work. Please advice me.
const mceElf = new tinymceElfinder({
    // connector URL (Set your connector)
    url: 'php/connector.minimal.php',
    // upload target folder hash for this tinyMCE
    uploadTargetHash: 'l1_lw', // Hash value on elFinder of writable folder
    // elFinder dialog node id
    nodeId: 'elfinder' // Any ID you decide
});

OK. I mistake. Elfinder use PHP language.


Consider making an install script

Hi,
I like your setup and colors, especially nord colors :) Very nice job.
I would like to use it but it still requires quite a bit of manual work to install all the packages, etc. Would you consider making a shell script to bootstrap everything?
Thanks!

hey, thanx for the suggestion.
as detailed in the readme, i use stow to symlink the files into place. each machine i bootstrap has a different use case, so i don't always need every tool or their configs on every box i clone them onto. the manual process is more aligned w/ my personal workflow.
as for installing required tools; sadly not all the distros i use are on the same page w/ package nomenclature. and i dont really want to maintain a bunch of dependency lists. i use so many tools as well, i'd have to filter our all the stuff that's not related to my dotfiles. sorry.


Add setting minion_id_remove_domain

Same logic as https://github.com/markuskramerIgitt/salt-windows-msi/issues/67

The PR is https://github.com/saltstack/salt/pull/49378

Use MINION_CONFIG


Unrecognized import path on install

When I attempt to install using go get github.com/denisenkom/go-mssqldb, I see the following message:

package cloud.google.com/go/civil: unrecognized import path "cloud.google.com/go/civil" (parsing cloud.google.com/go/civil: XML syntax error on line 67: expected element name after <)

I think this might be a duplicate of #409, although the message is different.

This will be resolved with #380 .


Fix ci build with esp32s2 boards

esp32s2 boards have been taking ages to build, this is fixed by enable shell=True in popen.  ci built with this PR https://github.com/adafruit/Adafruit_TinyUSB_Arduino/runs/3744226543?check_suite_focus=true#step:6:33
also print the installed core version for troubleshooting purpose

SWITCHING TO esp32:esp32:adafruit_metro_esp32s2
Installing esp32:esp32 ✓
esp32:esp32 2.0.0     2.0.0  esp32

change the input compile input to folderpath i.e example directory instead of path to .ino file. Since it is the preferred input of arduino-cli

$ arduino-cli compile --help
Compiles Arduino sketches.

Usage:
  arduino-cli compile [flags]

Examples:
  arduino-cli compile -b arduino:avr:uno /home/user/Arduino/MySketch
  arduino-cli compile -b arduino:avr:uno --build-property "build.extra_flags=\"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch
  arduino-cli compile -b arduino:avr:uno --build-property "build.extra_flags=-DPIN=2 \"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch
  arduino-cli compile -b arduino:avr:uno --build-property build.extra_flags=-DPIN=2 --build-property "compiler.cpp.extra_flags=\"-DSSID=\"hello world\"\"" /home/user/Arduino/MySketch

@ladyada def test_examples_in_learningrepo(folderpath): isn't got updated, since it seems not to be used anymore. Should we remove it ?

@hathach Enabling shell=True when running a workflow that exports a UF2 seems to cause arduino-cli compile to produce a false positive where it "passes" a build, but produces no build artifacts.

@brentru im workin on this right now - i was getting false positives!

	colorview.ino ['arduino-cli', 'compile', '--warnings', 'all', '--fqbn', 'arduino:avr:uno', '/home/runner/work/Adafruit_TCS34725/Adafruit_TCS34725/examples/colorview']
0
Arduino Command Line Interface (arduino-cli).

Usage:
-cli [command]

Examples:
  arduino-cli <command> [flags...]

Available Commands:
  board           Arduino board commands.
  burn-bootloader Upload the bootloader.
  cache           Arduino cache commands.
  compile         Compiles Arduino sketches.
  completion      Generates completion scripts
  config          Arduino configuration commands.
  core            Arduino core operations.
  daemon          Run as a daemon on port 50051
  debug           Debug Arduino sketches.
  help            Help about any command
  lib             Arduino commands about libraries.
  outdated        Lists cores and libraries that can be upgraded
  sketch          Arduino CLI sketch commands.
  update          Updates the index of cores and libraries
  upgrade         Upgrades installed cores and libraries.
  upload          Upload Arduino sketches.
  version         Shows version number of Arduino CLI.

Flags:
      --additional-urls strings   Comma-separated list of additional URLs for the Boards Manager.
      --config-file string        The custom config file (if not specified the default will be used).
      --format string             The output format, can be {text|json}. (default "text")
  -h, --help                      help for arduino-cli
      --log-file string           Path to the file where logs will be written.
      --log-format string         The output format for the logs, can be {text|json}.
      --log-level string          Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic
  -v, --verbose                   Print the logs on the standard output.

ino-cli [command] --help" for more information about a command.

@brentru ok try now, took me a few tries to figure it out

@brentru @ladyada seem like shell=True mess up with the command input and I am fooled to think false positive getting the esp32s2 passed. Sorry for the issue, was so desperate trying to get esp32s2 to build. I will other way to get esp32s2 build later on.   Thanks Limor for fixing it.

haha its ok - you can uncomment the print-outs when you work on it next, i think it can be made to work

@hathach  Were S2 builds just taking a long time, or never completing?

@hathach Were S2 builds just taking a long time, or never completing?

It never complete before, now it got time out (60 seconds), I tried with 600 seconds, still time out. So I guess it won't ever complete. Will do more in-depth test later on.

@hathach Ok - I had the same behavior. The script does compile and generate a Uf2 for s2 with arduino-cli when invoked from my computer, not sure why it's running indefinitely on the CI. Ping me when you've tested it in-depth and I'll see if it passes with WipperSnapper.
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/runs/3769470738?check_suite_focus=true#step:8:38

@brentru sure, I will tag you to the PR, if I could mange to fix it :)


Fix runtime error in Shoppy production deployments in Vercel

There are some issues after merging latest release of Shoppy. I've rolled back the release now.

React runtime errors in the production build. Will see if I can debug this locally.
Out-of-memory errors in Vercel build steps (happened 6 out of 7 times)

Runtime errors

Out-of-memory errors

Fixed the runtime errors, OOM issues will look into this later.


83 Add block usage statistics

We added this:

and this:

Backend:

replaced GetPageUrls() with GetUsagePages() that now additionally provides page types.
returned additional data from content types and content usages endpoints
added server side pagination and filtering to content types endpoint

Frontend:

added the new features in the tables
added server side pagination and filtering  to content types view

Clicking on the statistics cell prevent going to a usages view

After clicking "Many usages" it opens edit content tab.
https://github.com/fortedigital/Optimizely.ContentUsage/assets/31856712/48aa79df-f08a-4863-9b90-de1dec59de46

The link list inside "Many usages" should be vertically positioned like it was before.

@mgorzanski

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#issuecomment-1842870737
usually there are less max number of items in this list than in the links list, so I would keep it as is. it is more like opinion based so let's get back to this in another ticket.

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#issuecomment-1842909793

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#discussion_r1417300635
fixed

@Fifok

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#issuecomment-1842941960
not fixed. it was like this before this PR

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#issuecomment-1842947866

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#discussion_r1417418283

https://github.com/fortedigital/Optimizely.ContentUsage/pull/84#discussion_r1417421308
fixed

performance issues - fixed


Register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/50135
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 1fbbfc4daf6bbdd4029e0abd15bc3e50c565aba6
git push origin v0.1.0


Files crashes when opening file location of shortcuts

Describe the bug
Files crashes when opening the file location of shortcuts.
To Reproduce

Make a shortcut.
Open file location of it.
See an error

Expected behavior
I would like you to change the files' behavior not crash.
Screenshots
N/A
Desktop (please complete the following information):

OS Version: [Windows 10 20H2 19042.789]
App version: [v<IP_ADDRESS>]

Additional context
This problem occurs again after restarting the app.
Log file
debug.txt
debug_fulltrust.txt

@pklion This issue should be resolved with #3469.


pull request for e2e test at 11/08/2016 21:15:03

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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.


Upstream todoist suggestion: ability to enter text for multi-item reschedule

If you select multiple items and press "Schedule", a calendar pops up for rescheduling.  However, since there is no text entry, it does not seem to be possible to set event recurrence for multiple items at a time.  For todoist-shortcuts, it also means I'm considering implementing a complicated system to let you type the numbers of days from the calendar view :O

We are redoing the scheduler, so I would not recommend changing anything right now :)

Yep, looks like this is now on https://beta.todoist.com - great stuff!


Gateway fallback doc rewrite

updated the content structure
added code snippets where appropriate.

This branch contains file that wasn't supposed to be in the PR. Created a new branch / PR.


BugFix for ScenePlugin.launch, data now passed to queued scenes

This PR changes

Nothing, it's a bug fix

Fixed the scene plugin launch function so that data is passed to scenes queued for processing when they are not yet running.

Lovely, thanks.


Prefix reference comments with ECMA-262 specification

Added prefixes to make it more clear what the comments were referencing. The README mentions ECMA-262, but I only saw that recently.
Did i ref the issue correctly?

:+1:


[per_device_train_batch_size] argument cause misunderstanding

As we know, per_device_train_batch_size = micro_batch_size * gradient_accumulation_steps，
but in the code: https://github.com/HPDL-Group/Merak/blob/main/Merak/merak_trainer.py#L316
you set micro_batch_size = per_device_batch_size，which could cause misunderstanding
Could u mind revise the parameter name?

Got it!
adding some related information to doc could be better.
Issue closed


Licenses

The README indicates two types of licences: MIT license (code) and Creative Commons Attribution 4.0 International license (for documentation), however only the MIT is visible in the repository.
You can make both licenses visible in your repo by creating the following two files:

LICENSE-code: should contain the MIT license.
LICENSE: replace the MIT license with the CC-BY-4.0 license.

license updated


Support mode()

Per https://docs.python.org/3/library/turtle.html#turtle.mode, there are two modes supported by turtle lib:

Mode
Initial turtle heading
positive angles

“standard”
to the right (east)
counterclockwise

“logo”
upward (north)
clockwise

This also has impact on heading() function as well.

done


unexpected MethodNotAllowedException in some PATCH/POST routes

Seems that disabling the routes cache solves this, both by //comment and by TTL=0.
output of php artisan routes is identical.
It would be nice to know:

if this code was copied from L5 or written for L4.1
if this code is meant to work with $router->controller and $router->resource

Hey Michael,
That sounds odd. Have you got a repro case for me to look at, or some more information pointing to where the issue may be?

I'll try to get back with you on that, I have a pretty tight schedule and my routes file is large, complicated, and NDA'd.

I just noticed the edit of your first comment.

This code was written originally for Laravel 4.0, and later changed to support 4.1 and 4.2. The code predates Laravel 5.
Using $router->resource is expected to work fully. I just added an integration test that verifies that.
Using $router->controller works partially. The code should succeed in caching these without problems, but since it relies on the file modified time, changing a controller will not invalidate the cache, unless you also modify/touch the routes file.

Closing due to lack of response.


I found a bug in the source code, I don't know how to define it, but I commented out that the code will run better.

I found a bug in the source code, I don't know how to define it, but I commented out that the code will run better.
When I used C++ to call Python's model, a bug about cuda appeared in the c++ forward reasoning process. This bug is similar to:

`[11:25:55] src/nnvm/legacy_json_util.cc:209: Loading symbol saved by previous version v0.8.0. Attempting to upgrade...
[11:25:55] src/nnvm/legacy_json_util.cc:217: Symbol successfully upgraded!
Best Result: pomegranate (id=957, accuracy=0.45423976)
terminate called after throwing an instance of 'dmlc::Error'
what():  [11:26:02] src/common/../common/cuda_utils.h:296: Check failed: e == cudaSuccess || e == cudaErrorCudartUnloading CUDA: invalid device                ordinal

This is just the case with gpu。
I commented out /common/cuda_utils.h: 296 lines and 295 lines. Because I think the author used cudaSetDevice in the destructor, I don't understand it very much and it caused the error I encountered. After commenting out, the program works fine.
  ~DeviceStore() {    // if (restore_)    //   CUDA_CALL(cudaSetDevice(restore_device_));   }

@mxnet-label-bot  add [Bug, CUDA]
@l1uw3n Thank you for reporting the issue.

I guess what happened was cudaGetDevice was called after the driver started unloading and so it did not populate the restore_device_ properly. I have a PR #13764 that changes the DeviceGuard already, I can fix this problem there.

@l1uw3n Can you please confirm if PR #13764 fixes this issue?
If not, can you please provide reproducible steps to this issue so we can help resolve it.
Thanks!

@l1uw3n looks like folks are trying to help, but without a follow up from your end, and/or a reproduction scenario, it would be hard to help out.
Please let us know whether this still happens, or is it fixed with @ptrendx code change.
Feel free to close if not reproducing. Thanks!

I think this bug can be closed due to #13764 and the lack of repro scenario and response from the submitter of the issue (@l1uw3n). If closed in error this can be re-opened.
@anirudh2290 can you please review and unless I am missing anything close?

Fixed by #13764


Don't flatten a block containing a single macro call

We no longer flatten a block that looks like this:
match val {
    pat => { macro_call!() }
}

Currently, rust ignores trailing semicolons in macro expansion in
expression position (see https://github.com/rust-lang/rust/issues/33953)
If this is changed, flattening a block with a macro call may break the
user's code - the trailing semicolon will no longer parse if the macro
call occurs immediately on the right-hand side of the match arm
(e.g. pat => macro_call!())

I started tracing through the issues to https://github.com/rust-lang/rust/pull/78449 and the trailing semi on the return and may have gotten myself confused. I assume there's no expected relation between that and flattening of the blocks?

@calebcartwright: That's correct. PR https://github.com/rust-lang/rust/pull/78449 is due to a different macro-related issue in rustfmt - I'll be opening a separate PR for that.

@calebcartwright: That's correct. PR rust-lang/rust#78449 is due to a different macro-related issue in rustfmt - I'll be opening a separate PR for that.

Thanks for the clarification. Happy to discuss on that PR but my initial reaction is that's the correct formatting as the return expression should have a trailing semi https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/statements.md#expressions-in-statement-position

If this is changed, flattening a block with a macro call may break the
user's code - the trailing semicolon will no longer parse if the macro
call occurs immediately on the right-hand side of the match arm
(e.g. pat => macro_call!())

I understand the motivation for this change, though the fact that the semis are currently ignored along with the rustfmt stability guarantee that bans formatting changes is going to make this tough to release. Are there planned changes upstream around how those semis will be handled?
Maybe one way around this, and to avoid having to wait until this becomes an explicit breaking bug, would be to update the style guide with an additional clause around when the bodies can be flattened
https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/expressions.md#match

From that document:

All expressions in statement position should be terminated with a semi-colon, unless they end with a block or are used as the value for a block.

The macro expansion determines what get used as the value for a block. However, there's no explicit mention of macro expressions, which is kind of unfortunate.

Maybe one way around this, and to avoid having to wait until this becomes an explicit breaking bug, would be to update the style guide with an additional clause around when the bodies can be flattened

We have a sort of cyclic dependency here. At some point, we will probably want to start warning about code using a trailing-semi macro expansion in expression position. However, I think it will be extremely frustating to users if rustfmt is actively undoing their attempts to fix the warning.
cc @petrochenkov

However, I think it will be extremely frustating to users if rustfmt is actively undoing their attempts to fix the warning.

Agreed, and I think that's where updating the Style Guide will give us the CYA we need to be able to justify making breaking formatting changes on the rustfmt side. The Style Guide is rustfmt's proverbial north star, so if we augment the Style Guide with these clarifications then that makes this more of a bug fix/style guide re-alignment change that won't impact our stability guarantee.

We've updated the style guide with some guidance on when block-wrapping the body is require with mac call expressions. Given all of the discussion and context, this change makes sense as we don't want rustfmt to forcibly flatten the arm bodies in these cases and instead defer to the programmer.
We will still need to backport this for the next 1.x release (1.4.24 since 1.4.23 is already out the door) so we can revisit if you have any concerns @topecongiro but going to go ahead merge :+1:


Documentation links are broken

The links to MDN documentation in the RustWasm documentation are (all?) dead.
Steps to Reproduce

Go to https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.WebGpu.html
Click on "MDN Documentation"
See error

Thanks for pointing this out! It seems to me that this is expected, since WebGPU is a new API which isn't standardized yet, so I'm not surprised that MDN doesn't have a link to it.
What surprises me is that we're generating bindings for a non-standard API. @alexcrichton Any idea why that's happening?

Not surprising to me either, seeing as it isn't yet ratified. Still, I'm chomping at the bit to make use of it...

Still, I'm chomping at the bit to make use of it...

You can make your own bindings for it, so that way you don't need to wait for it to be standardized.

Yes, I'm tinkering with it via Rust & Vulkan.

Yeah unfortunately we simply manufacture links to MDN without actually validating them. All existing links (or those we've found) follow the same pattern so the links are expected to get filled in over time as APIs are documented.
We could perhaps though have a blacklist in web-sys of APIs that don't have working documentation links and route them elsewhere or say-so inline?

@alexcrichton In this particular case, I don't think the issue is with the documentation, the issue is that we're generating API bindings at all. The WebGPU API is super unstable, and we've always had the policy of only shipping stable APIs. So there's something deeper wrong going on, maybe with the WebIDL itself.

Ah I see, we didn't vet the WebIDL too closely when we ingested all of it, so existing unstable APIs we pulled in is largely by accident. I'll tag this as a breaking change as well because we'd want to remove support for these APIs

As a sidenote, what's a realistic timeline for WebGPU to go live?

I've found an incorrect doc link at web_sys::Location::href. Mentioning it here so I keep track of it.

@alexcrichton I just wanted to open an issue because I see broken MDN links on HtmlInputElement for example. E.g. check out https://docs.rs/web-sys/0.3.45/web_sys/struct.HtmlInputElement.html#method.report_validity. But I am sure there are more.

If there were a standard way of dealing with them, then people could submit PRs without needing so much input from the maintainers, which would be welcome I'm sure.

Documentation links are generated here, unfortunately at this time infrastructure isn't in place to pattern-match special cases, we just assume that the mdn links always work.

webgpu is defult option in chrome 113, which will release in Apr 26, 2023 according chromestatus


Re-check EKF tuning gains

We should re-check if we need to make these changes:

PE_GYRO_PNOISE 0.0015 -> 0.015
PE_ACC_PNOISE 0.5 -> 0.05

From:
https://groups.google.com/d/msg/px4users/mvpR2wYUlNU/RKX_bN1rCgAJ

Current proposed values from bench-testing: PE_GYRO_PNOISE: 0.015, PE_ACC_PNOISE: 0.125

Fixed in c658463.


Unresolved dependency for scala 2.11 and play 2.6

I can see here that : https://jcenter.bintray.com/com/iheart/play-swagger_2.11/
Nothing exists for Play 2.6, but it exists for 2.12, can you please check?

Yes, I have the same issue.
I add to disable swagger when migrating to play 2.6...

Same here, I had to remove the swagger plugin when migrating to play 2.6

Right now the play 2.6 branch doesn't cross build between 2.11 and 2.12. I myself doesn't have time to address this issue (cross building is a bit complicated because we have a sbt-plugin as a sub-module). Anyone interested in adding crossbuild on the 2.6 branch will be really appreciated. In the meantime,  there is an ongoing effort to cross build the sbt plugin between sbt 1.0 and sbt 0.13.x by @wlk see https://github.com/iheartradio/play-swagger/issues/177

Okay, working on it!

@samupra do you have any update on this issue ?

@pocman not at the moment sorry !

Anyone can take this up if they wish so.

Putting the path in ~/.sbt/repositories that had a version for Scala 2.10 that worked with my sbt 0.13 worked for me:
[repositories]
local
iheart-sbt-plugin-releases: https://dl.bintray.com/iheartradio/sbt-plugins, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier] ).[ext]
iheart-play-swagger_2.11-releases: https://jcenter.bintray.com

and the jcenter version for sbt publishLocal


Equation block and inline math support

Discuss in #public-issue-22--equation-block-and-inline-math-support
Thanks for the great package!
Martian seems not support math equations in markdown. For example:
Lift($L$) can be determined by Lift Coefficient ($C_L$) like the following
equation.

$$
L = \frac{1}{2} \rho v^2 S C_L
$$

would be converted into plain text paragraph, keeping all $ and $$ symbols.
I found unified plugin remark-math may be useful. It would be amazing if Martian add support for math equations.

thanks for contributing! can you expand on what you mean by not supporting math equations? here’s a screenshot from something that uses this package and it looks like it matches how github renders the markdown

oh sorry about that, I was switching from our repo that converts markdown into slack, and got confused. ok this makes sense, we can look into it


Remove useUndertowUserCipherSuitesOrder property

linked to https://github.com/jhipster/generator-jhipster/pull/9300

@PierreBesson We created same PR
Do you want I closed mine?

Let's keep yours.


Add line shape info from Ito et al. 2020

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).

The paper https://doi.org/10.1103/PhysRevA.102.052820 in Phys Rev A by Ito et al. 2020 gives K line shapes of Se, Y, and Zr. Add these shapes as line models in Mass.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Add Ka/Kb lines of Se, Y, Zr
Fixes #205. Have to fix a typo in the paper's Table IV.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Removing milestone: v0.7 (automated comment)


Fix crash in attempting to canonicalize paths longer than _MAX_PATH

To fix #972.

Thanks, looks fine. I personally prefer if random code wouldn't call exit (or Fatal) and I'd thread the error return through two more layers (to MSVCHelperMain / Builder::ExtractDeps) where there's existing exit hatches, but since this'll likely ~never happen in practice I suppose this is ok too.

Thanks!

Wait, did I just close this and not merge?

…yeah, looks like it :-(

Doh! I didn't notice in the barrage of spam that github sends.


[DYN-2476] First graph run does not show execution time in TuneUp +

Small PR that aims to address https://jira.autodesk.com/browse/DYN-2476 , as well as (partially) https://jira.autodesk.com/browse/DYN-4340 🤞

TuneUp tracks changes in workspaces but only subscribes to these changes when it is enabled.
When enabled, TuneUp forces the workspace to use the Manual run type to improve performance.
Removed unnecessary updates to the UI to enhance responsiveness.
Node execution time is now measured using Stopwatch for better accuracy.
DataGrid headers retain their sorting order when the graph is re-executed. The sorting order reverts to the default when TuneUp is disabled, preparing for further improvements in https://jira.autodesk.com/browse/DYN-2475

Thanks @ivaylo-matov Would you resolve the merge conficts?

All done @QilongTang 👍
There'll probably be more conflicts on the other PRs. I'll check them out later


Identify how to support additional/supporting organizations

Identify the best name for what we can an "Organization". Organization has been picked because its a standard name on multiple platform (GitHub, DockerHub, etc.).
This information could be captured with a list of Orgs, e.g. Challenge.organizations or Challenge.supprotingOrganizations.
This information could be captured with different lists of Orgs, e.g. Challenge.dataOrganizations, Challenge.fundingOrganizations. A more flexible implementation would be one list of a new type of object that include information about the Org and its "role" ("role" could be an enum that we can extend/update in the future).

Adopting the name challenge sponsor instead of supporting organization.


Add AWS Lambda template

Addresses #21
With thanks of course to @lukemerrett
When .NET Core F# tooling settles, it would be good to get this over to using paket. And a fake build script that produces the zip would be nice too.

It will require also some changes to core Forge functionality - right now we add Paket and FAKE for every project which is not perfect solution for .Net Core based projects (at least right now).
So... sorry for delay, but it will take a while.

Templates moved to https://github.com/fsharp-editing/forge-templates


Providing bosh link with only CA when certificate comes from credhub

I have a job in my release in which I want expose the credentials and the CA certificate. Usually the CA certificate comes from Credhub. My job spec looks like this:
properties:
    tls-cert:
       description: tls certificate, private_key and ca
provides:
- name: conn
   type: conn
   properties:
   - tls-cert.ca

When I try to deploy, I get this error:
Task 6 | 19:23:34 | Preparing deployment: Preparing deployment (00:00:00)
                   L Error: undefined method `has_key?' for "((tls-cert))":String
Task 6 | 19:23:34 | Error: undefined method `has_key?' for "((tls-cert))":String

Looking into debug logs shows me there is a problem at this line
I think the director is trying to resolve the links before it knows values of the variables.
As a workaround we had to split tls-cert into tls-cert.ca, tls-cert.private_key and tls-cert.certificate and the deployment manifest had to change accordingly.
As a BOSH release author, it would be much more convenient if I didn't have to do that.

@freddesbiens @pivotal-jamil-shamy this seems again very related to the work that you all are currently focused on around links and certs. Marking as triaged, but feel free to respond.


New icons

Click on the template that fits your PR

Icon addition
General or miscellaneous change
Blank (not recommended)

sorry, accidentally clicked


v0.0.6 — Ensure dist directory is published to npm and updates to index module.

Added

Added files property to package.json so that only the neccessary files are published to npm.

Changed

Updated browserslist
Replaced babel es2015 preset with env
Using export keyword in index.js module
Moved JavaScript files into root of src directory.

Fixed

Fixed error due to extra parenthesis in index.js module

Looks good – happy to approve once package version is updated 👍
Thanks for looking at this 🎉


Add musl's lib folder to library search path

Prior to this change, libc.a was being found in rustc's self-contained
musl target folder instead of the libc.a that we've built or
downloaded. This doesn't seem to have caused any noticeable issues as the
versions of musl we built/installed and the version shipped in rustc's
target matched exactly.
To resolve this, we pass the path to our version of musl's lib folder
directly as a RUSTFLAG which causes it to be found first.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

I found this while working on #2088 as libc-test was failing in bors with errors like
error: linking with `musl-gcc` failed: exit status: 1
...
  = note: /usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /checkout/target/arm-unknown-linux-musleabihf/debug/deps/main-c15914ff48b4bfd8.3ktu7j0zei2358zy.rcgu.o: in function `main::fn_fstat':
          /checkout/target/arm-unknown-linux-musleabihf/debug/build/libc-test-db8b07dfa915a081/out/main.rs:(.text._ZN4main8fn_fstat17hd33ed8048ecb6f41E+0x38): undefined reference to `__fstat_time64'
          /usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /checkout/target/arm-unknown-linux-musleabihf/debug/deps/main-c15914ff48b4bfd8.3ktu7j0zei2358zy.rcgu.o: in function `main::fn_stat':
          /checkout/target/arm-unknown-linux-musleabihf/debug/build/libc-test-db8b07dfa915a081/out/main.rs:(.text._ZN4main7fn_stat17h0ceed805fc807102E+0x38): undefined reference to `__stat_time64'
...

because it was trying to link musl 1.1 from the rustc target instead of musl 1.2.3 which we were compiling.

You can use RUSTFLAGS=-Clink-self-contained=off -L/path/to/musl/lib
https://doc.rust-lang.org/rustc/codegen-options/index.html#link-self-contained

I gave that a try but it results in linker errors trying to resolve libunwind on i686/x86_64:
error: could not compile `libc-test` due to previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
...
  = note: /usr/bin/ld: cannot find -lunwind
          collect2: error: ld returned 1 exit status

Which it's currently getting from the self-contained location.

@bors r+

:pushpin: Commit ea73035eb80bb2df01e003cd5b9a67f3d5fc5366 has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit ea73035eb80bb2df01e003cd5b9a67f3d5fc5366 with merge f1c3cfea63344a508764001d7cfd48f39217439e...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing f1c3cfea63344a508764001d7cfd48f39217439e to master...


Feature request: Show what didn't match

While having the result of a failing fact show what matched is useful, I often find that it's much more helpful to know what didn't.
For example:
(fact {:id 100 :name "midje"} => (just {:id number? :name string? :code string?}))
Would report with:
"matched: {:id number? :name string?}"
AND:
"did not match {:code string?}"

I think you're right too.  I spent some time delving into collection.clj and the spike brought some frustrations with it, but I'll get back to it when I'm fresher sometime.
As far as I can tell it looks like it should just be a prettified printout of (apply dissoc (:expected comparison) (:actual-found comparison)) similar to the best-expected-match methods...

This is supported, somewhat crudely, in 1.7+


Mink session started right at PageFactory creation time

Wait for https://github.com/minkphp/phpunit-mink/issues/58 to be fixed.

Should work now if using @dev-master version.


warning STL4010: Various members of std::allocator are deprecated in C++17

I am leaving it here for the record as I have been facing it in both VS 2017 and VS 2019 Community versions recently. When building a simple test code:
//#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING

#include <xtensor/xarray.hpp>

int main(int argc, char* argv[])
{
    xt::xarray<double> test = { 1.0, 0.5, 0.1, 0.001, 0.0001 };
    return 0;
}

with /std:c++17 the compiler produces a heap of warnings of the type:

warning STL4010: Various members of std::allocator are deprecated in C++17

This is related to the deprecated allocator implementation in C++17 (as detailed here https://devblogs.microsoft.com/cppblog/c17-feature-removals-and-deprecations/).
The warnings can be masked by the #define, but it seems to be only temporary solution.
Incidentally, I have noticed that some other projects already addressed this problem (e.g. https://github.com/nlohmann/json/issues/872) and the fix seems to be rather light, but I am not that familiar with the STL to propose the fix myself.
The test code build log for the reference (from ninja) is here:
xtest.build.log

Thanks for reporting this issue!
Indeed the fix seems quite simple, some calls must be replaced with indirect calls through allcator_traits


fix crates.io repo link

jinx! already fixed in 9841495cdc70b8a8feb2ae9144309bb9f9d46172 (re-published as 0.1.1)


Add band,treble,deemph,riaa to functional.py

Hi ,
Regarding the issue #260 ( Reducing dependency in Sox)
Implemented below functions  in functional.py

band_biquad
treble_biquad
deemph_biquad
riaa_biquad

Added test cases for all four in to test_functional_filtering.py
All tests in test_functional_filtering.py passed on CPU.
............skipping GPU test for lfilter_basic because device not available
.skipping GPU test for lfilter because device not available
.....
----------------------------------------------------------------------
Ran 18 tests in 2250.942s

OK

@vincentqb could you please review changes and run tests on GPU

audio-built ❯ python test/test_functional_filtering.py
..................
----------------------------------------------------------------------
Ran 18 tests in 388.376s

OK


Regression in v0.2.0 - Missing UMD build

Describe the bug
Regression in v0.2.0 - Missing UMD build in the files published to NPM
https://github.com/millionjs/million/blob/6fb1bae08120b4f84f06f170b22a79c79511c654/package.json#L7
To Reproduce
Steps to reproduce the behavior:
See<EMAIL_ADDRESS>

Thanks for the quick report - on this issue

Fixed in v0.2.1


The noop setting isn't wired in yet, but is documented.

Hi, I've just attempted to use the noop config setting and see it's not working because it's not been completed:
if ($config->getSetting('noop', $transform)) {
    // todo : just return source image unmodified
}

For now I've added this to the transform function in the CraftTransformer class as a workaround but would like to see it in the core please.
if (ImagerService::getConfig()->getSetting('noop')) {
    $msg = Craft::t('imager', 'Noop activated, returning “{path}”.', ['path' => $sourceModel->url]);
    Craft::info($msg, __METHOD__);
    $transformedImages[] = $sourceModel;
    return $transformedImages;
}

Thanks!

This has been fixed for the next release.


Virtual cluster and node mapping

Organization Name: Advantech

Short summary about the issue/question:
Do we have virtual cluster and node mapping APIs?
Ref: https://github.com/microsoft/openpaisdk/blob/master/docs/rest-api.md
OpenPAI Environment:

OpenPAI version:
v1.0.1

OS (e.g. from /etc/os-release):
ubuntu 16.04

You can call the http://{master-node-address}:30096/v1/inspect/clusterstatus/physicalcluster, which is the hived API.
See:
https://github.com/microsoft/pai/blob/master/src/hivedscheduler/deploy/hivedscheduler-service.yaml.template
https://github.com/microsoft/hivedscheduler/blob/df185eecde3b23a0cb780e6ce5b4828acc98db0f/pkg/api/constants.go#L91

please note that this is an internal API and may subject to change in the future. We are working on a more complete support to HiveD.


ERROR: " IMAP authorization error. Make sure login and password are set correctly"

ERROR: " IMAP authorization error. Make sure login and password are set correctly"
Have used this app for years and love it. I just got a new phone (Galaxy 20+). Set it up two days ago and it worked then (last backup), but it has not backed up since that initial run and cannot get it to work again. And yes, IMAP is enabled. Two step auth is set. Generated password (5 times now) Typed it in with no spaces. Tried my email address/ user name both with and without<EMAIL_ADDRESS>Made sure Security is TLS. Like I said, it worked a few days ago on initial run.
Also tried clearing cache and data of app. Uninstalled, reinstalled numerous times.  Reset the app numerous times.  Tried with phone plugged in and not.
Do I need to uninstall it from my old phone (no longer has a SIM card)? Could that be the issue?
Tried this too:
Still having trouble signing in?
If you still can’t sign in to your account on the app, try the following:
On your device’s browser, go to https://accounts.google.com/DisplayUnlockCaptcha.
Enter your username and password, then enter the letters on the screen.
Go back to the app and try signing in again.
Tried the Microsoft Edge method that I read elsewhere. (I get a different error then: "Could not get token from the system -> try browser method..." That leads to "This app is blocked".)
What, for heaven's sake, am missing? Thanks in advance.
Please specify the following:

Android version: 10
Phone model / brand: Samsung Galaxy 20+ 5G
SMS Backup+ version installed" 1.5.11
Messaging app: Textra

Update: I uninstalled the app for my previous phone, that seemed to do the trick. I thought I had read it earlier that you could have it on two phones, so I left it on (since it worked on that phone, in case I had to use it as a backup). But since uninstalling, the app on the new phone is working correctly! Hope this helps others.

Update: I uninstalled the app for my previous phone, that seemed to do the trick. I thought I had read it earlier that you could have it on two phones, so I left it on (since it worked on that phone, in case I had to use it as a backup). But since uninstalling, the app on the new phone is working correctly! Hope this helps others.

Thanks for the update.
I'm guessing that concurrent IMAP sessions are a problem, unlike concurrent XOAUTH Gmail sessions, so this will be useful for future users.


[egs] Finalize DeMask recipe

This PR adds the bash part of the recipe.
Additionally :

Fix model saving
Add noise support to DeMask for less domain mismatch
Better license notice generation

just in time ;-)


SourceMap not working

Do you want to request a feature or report a bug?

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
I am not able to get correct error stack traces i.e traces that points to the actual filename in sourcecode with web pack. Ironically, The issue I am seeing is, even when enabling the source maps, I see stack traces that points to minified lines. But in some cases, I see the actual component in brackets
Below stack trace with source-map and uglifyjs with sourcemap enabled.
react-dom.production.min.js:180 TypeError: Cannot read property '0' of undefined
    at t.value (app.bundle.faed44d….js:221553)
    at Object.I [as allowStateChanges] (mobx.module.js:921)
    at index.js:645
    at ct (mobx.module.js:2812)
    at e.track (mobx.module.js:2980)
    at p (index.js:640)
    at t.l (index.js:633)
    at s (react-dom.production.min.js:140)
    at beginWork (react-dom.production.min.js:143)
    at a (react-dom.production.min.js:175)

I tried to get a minimum reproducible repo and thus deleted majority of the source code and only had some main component left. But i see a different kind of stack trace. See below: Here the stacktrace does have the actual ComponentName in brackets.

react-dom.production.min.js:180 TypeError: Cannot read property '0' of undefined
    at n.value (ActualAppInSourceCode.tsx:9)
    at s (react-dom.production.min.js:140)
    at beginWork (react-dom.production.min.js:143)
    at a (react-dom.production.min.js:175)
    at s (react-dom.production.min.js:176)
    at l (react-dom.production.min.js:177)
    at m (react-dom.production.min.js:181)
    at h (react-dom.production.min.js:180)
    at Object.updateContainer (react-dom.production.min.js:240)
    at react-dom.production.min.js:246

Below is the config used:
module.exports = {
    entry: {
        common1: ["react", "react-dom", "react-router-dom"],
        common2: ["mobx", "mobx-react"],
        common3: ["semantic-ui-react"],
        ospapp: "./src/index.tsx",
    },
    output: {
        path: path.resolve(__dirname, "../dist"),
        filename: "[name].bundle.[chunkhash].js",
        chunkFilename: "[name].[chunkhash].chunk.js",
        publicPath: "/dist/"
    },
    devtool: "source-map",
    module: {
        rules: [
            {
                test: /\.ts(x?)$/,
                exclude: /(node_modules|tests|src\/Stores\/__mocks__)/,
                use: [
                    { loader: "babel-loader" },
                    {
                        loader: "ts-loader",
                        options: {
                            // disable type checker
                            transpileOnly: true
                        }
                    },

                ]
            },
            {
                test: /\.js$/,
                exclude: /(node_modules|tests|src\/Stores\/__mocks__)/,
                use: [{ loader: "babel-loader" }]
            },
            {
                test: /\.(less|css)$/,
                exclude: /\.module.(less|css)$/,
                use: extractLess.extract({
                    fallback: "style-loader",
                    use: [
                        { loader: "css-loader" },
                        { loader: "less-loader" }
                    ]
                })
            },
            {
                test: /\.module.(less|css)$/,
                use: extractLess.extract({
                    fallback: "style-loader",
                    use: [
                        {
                            loader: "css-loader",
                            options: { modules: true, localIdentName: "[hash:base64:8]" }
                        },
                        { loader: "less-loader" }
                    ]
                })
            }
        ],
    },
    plugins: [
        new ForkTsCheckerWebpackPlugin({
            tslint: false,
            workers: 2
        }),
        new webpack.optimize.CommonsChunkPlugin({
            names: ["common1", "common2", "common3", "manifest"],
        }),
        new webpack.DefinePlugin(settings[appSetting]),
        extractLess,
        new webpack.optimize.UglifyJsPlugin({
            sourceMap: true
        }),
        // turn this on if you want to analyze the bundle
        // new BundleAnalyzerPlugin(),
        new HtmlWebpackPlugin({
            filename: "../index.html",
            template: "./config/template.html"
        }),
    ],
    resolve: {
        extensions: ["*", ".ts", ".tsx", ".js", ".jsx", ".less", ".css"]
    }
}

My questions are:

The same configuration is producing 2 different kind of stack traces?
How to enable source maps with actual lines? I am hoping to see something like the below:

  at ActualApp.render (ActualApp.tsx:9)
    at k (react-dom.production.min.js:140)
    at beginWork (react-dom.production.min.js:143)
    at e (react-dom.production.min.js:175)
    at k (react-dom.production.min.js:176)
    at q (react-dom.production.min.js:177)
    at w (react-dom.production.min.js:181)
    at D (react-dom.production.min.js:180)
    at Object.updateContainer (react-dom.production.min.js:240)
    at react-dom.production.min.js:246

You won't see SourceMaps in stacktraces. SourceMaps only affect browser dev tools. Toggle break on expection in dev tools. Alternatively use a tools to map stacktraces with SourceMaps.

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


Bug : can-value helper [2.1.3]

I had some trouble using the can-value helper with multiselect.
The Model retrieved the data, and the values for each retrieved attribute for a multiselect are in an array.
I found :
bindings.js  333
if (option.value) {
	option.selected = !! isSelected[option.value];
}

Very odd to check like this, what if the value is an empty string or 0 ?!?!
Suggestion
if (typeof option.value != 'undefined') {
						option.selected = !! isSelected[option.value];
					}

Then the second weard thing...
The template uses the each helper to render the options of the select box, it turns out that these options are not rendered in the dom yet when the above code is trying to set the selected values.
See the Fiddle:
updated 22-10-2014 (stache.can.js added and simplified code )
http://jsfiddle.net/reno1979/02aq58nh/

The template uses the each helper to render the options of the select box, it turns out that these options are not rendered in the dom yet when the above code is trying to set the selected values.

Is there a workaround to this? I'm having the same issue with the can-value not working for multi-selects the same way as it does for other input types.

I'm being lazy, but what is the specific problem in the fiddle?  How can I see it breaking?  Thanks!

I don't think an option's value can be undefined, but it could be "".

Closing for issue in can-stache

Hello Justin,
I posted this a while back, to be honest I'm a bit unsure.
Too long ago :/

no worries.  I think it might be working now except for the empty problem.


[Extension] Support for Account Extension

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Please include a docs update, too - https://docs.meshery.io/extensibility/providers#remote-provider-extension-points

Codecov Report

Merging #5615 (e9f1f51) into master (91c4991) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #5615      +/-   ##
=========================================
- Coverage    6.03%   6.01%   -0.03%
=========================================
  Files         107     107
  Lines        9822    9822
=========================================
- Hits          593     591       -2
- Misses       9072    9074       +2
  Partials      157     157

Flag
Coverage Δ

gointegrationtests
6.01% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

handlers/error.go
0.00% <ø> (ø)

helpers/error.go
0.00% <ø> (ø)

mesheryctl/internal/cli/root/system/start.go
56.13% <0.00%> (-0.95%)
:arrow_down:

Continue to review full report at Codecov.

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

🚀 Preview for commit c308f5b95a3c48688bc5457ddae519909414b77e at: https://62b0e423b9dd5012a833b642--meshery-docs-preview.netlify.app


added ap-south-1 to lambda and apigateway

fixes #892

Coverage remained the same at 72.615% when pulling b6b951a4df7cbb8dcd13d9a724bf98c839b807c9 on ronalddas:master into 9ff3e1816a662cc33a1168463e9f52777bd776b0 on Miserlou:master.

Takk


Allow pip>=20.2.4

I was actively using pipdeptree to revive a legacy project stuck on 20.2.4 (https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020). Requiring a more modern pip version breaks this use case. Furthermore could cause issues debugging docker images with pinned pip versions etc.
Is there any reason to make the pip dependency range so tight? This would allow people on pinned pip versions to install pipdeptree without it upsetting their environment.

There's a very simple reason for this. Inside the continuous integration system we only test for the latest version. Support for older versions are not guaranteed to work, and my break without us knowing about it without having a separate test environment specifically aimed at that. Given that if we going to relax this version you will need to add separate builds testing the new lower version, this is something that can be achieved by using tox-uv nowadays.

you will need to add separate builds testing the new lower version, this is something that can be achieved by using tox-uv nowadays.

Yep happy to do this!

Closing as seems to have stalled.


fix LDAP group look up

Issue: 5436
Before:

After:

@miq-bot add_label ui, bug

@dclarizio please review

looks good.

Hi,
As I found out I was blocked by this bug, I backed up the  manageiq/app/views/ops/_rbac_group_details.html.haml
file and replaced it by the one fixed here :
https://github.com/epwinchell/manageiq/commit/fefa12cb1fc0523169a36da850f5c7d3e585e15b#diff-dbe0fddf5aa74616c8f3f2f52c376aba
Now, the three fields are appearing correctly, but when launching a user search, I get an error page with lots of unrelevant blahblah and the error msg below :
"\xC3" from ASCII-8BIT to UTF-8 [ops/rbac_group_user_lookup]


1.11.0/1.11.1 rails generate controller fails

reproduction:
ruby: 2.2.3p173
bundler: 1.11.1
mkdir testapp
cd test
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'rails'" >> Gemfile
bundle install --path vendor/bundle
bundle exec rails new .

Overwrite Gemfile? -> Yes
bundle exec rails g controller con view

leads to:
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler/setup (LoadError)
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/commands.rb:33:in `<module:Spring>'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/commands.rb:4:in `<top (required)>'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application.rb:77:in `preload'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application.rb:143:in `serve'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application.rb:131:in `block in run'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application.rb:125:in `loop'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application.rb:125:in `run'
	from /home/user/testapp/vendor/bundle/ruby/2.2.0/gems/spring-1.6.0/lib/spring/application/boot.rb:18:in `<top (required)>'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from -e:1:in `<main>'

Fix:
Downgrade to 1.10.6

What's the output of bundle env? This might be due to a bug in RubyGems itself that was fixed in 2.5.1.

Here we go
Environment

    Bundler   1.11.1
    Rubygems  <IP_ADDRESS>
    Ruby      2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
    Git       2.6.4

Bundler settings

    path
      Set for your local app (/home/user/testapp/.bundle/config): "vendor/bundle"
    disable_shared_gems
      Set for your local app (/home/user/testapp/.bundle/config): "1"

Gemfile

    source 'https://rubygems.org'

    # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
    gem 'rails', '4.2.5'
    # Use sqlite3 as the database for Active Record
    gem 'sqlite3'
    # Use SCSS for stylesheets
    gem 'sass-rails', '~> 5.0'
    # Use Uglifier as compressor for JavaScript assets
    gem 'uglifier', '>= 1.3.0'
    # Use CoffeeScript for .coffee assets and views
    gem 'coffee-rails', '~> 4.1.0'
    # See https://github.com/rails/execjs#readme for more supported runtimes
    # gem 'therubyracer', platforms: :ruby

    # Use jquery as the JavaScript library
    gem 'jquery-rails'
    # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
    gem 'turbolinks'
    # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
    gem 'jbuilder', '~> 2.0'
    # bundle exec rake doc:rails generates the API under doc/api.
    gem 'sdoc', '~> 0.4.0', group: :doc

    # Use ActiveModel has_secure_password
    # gem 'bcrypt', '~> 3.1.7'

    # Use Unicorn as the app server
    # gem 'unicorn'

    # Use Capistrano for deployment
    # gem 'capistrano-rails', group: :development

    group :development, :test do
      # Call 'byebug' anywhere in the code to stop execution and get a debugger console
      gem 'byebug'
    end

    group :development do
      # Access an IRB console on exception pages or by using <%= console %> in views
      gem 'web-console', '~> 2.0'

      # Spring speeds up development by keeping your application running in the background.
Actually spring loading fails, so all bundle exec rails commands will fail by default, disabling spring (via export DISABLE_SPRING=y for example) can be used as another one workaround.

git bisect told me that
42b507218fd910feb2a9756bc08dc41181a9d1c4 is the first bad commit
commit 42b507218fd910feb2a9756bc08dc41181a9d1c4
Author: Andre Arko<EMAIL_ADDRESS>Date:   Tue Sep 8 13:57:26 2015 -0700

    Clean RUBYLIB as well in `with_clean_env`

    refs #3982

:040000 040000 e0807ae79f042ee797b79720bb915444d94302a3 459454213a55425b985ecba3d61a2744dc747460 M	lib
:040000 040000 f8ec7853faecfc76ee244e667f1f3ed51ffc5e61 cb3e71a89babc4df8250d3b3a5e1f8fca8df1d37 M	spec
bisect run success

Looks like spring bug for me, issue filled https://github.com/rails/spring/issues/456 and PR is already exists https://github.com/rails/spring/pull/453.

This is still an issue in 1.6.2. Any suggestions to solve this?

I too am still getting errors with Spring 1.6.2.

This was a bug in Bundler, and the documentation has always said that all environment variables would be cleared. Spring depending on this bug to works is a problem I would like to fix, but I don't want to fix it by re-breaking Bundler.

Ok, so let us close this and concentrate on the spring bug. Thank you for taking the time.


New Layout JSON max width limit to 75-80%?

Description
I am a big fan and often use this beautifier online and see the new layout which is a great improvement. I would like to opt for a small modification for the layout and that is to maximize the left full JSON pane to max around 75%to80% so in all cases the interface on the right remains visible.
Thanks for your time and effort.
Environment
OS: Chrome, Windows 11x64

PR welcome. You might limit it, but also keep full width on mobile. Please include pictures in your PR.

Possibly related to #2071


Choose from select options

Select first element from a select option tag.

@husainshabbir anyway this exists ? or will ?

I second this. I'm trying to select uk on a country dropdown and it still seems to pick a random country.

Ok I used the option value which sorted it out

I used Randomized List > with the selection on the List Items. Here is an example
This will select Limited Liability Co. (LLC) from the dropdown list all the time.


Regression test and OpenFAST updates

Regression Test

New failure criteria

if channelRange < 1 {
	norm = InfinityNorm
} else {
	norm = InfinityNorm / channelRange
}

Optional error plotting and results summary provided with matplotlib generated files embedded into html
Improved results output when running the regression test manually
Improved control when running the regression test manually - single case execution, generate plots without running the case (great for debugging)
Added abstraction and improved the API's to the custom python infrastructure

OpenFAST

Export unpacked binary output file
Git commit is embedded in the binary when built with CMake; VS integration is on the way
-- Including the git info in the module specific outputs is more involved since each module handles its own I/O and the I/O code is tucked into larger subroutines - saving for future work
Fix BeamDyn, BeamDyn driver, and OrcaFlex driver precision-type bugs
Replace unicode with ascii characters in output
Additional meta data is printed in the OpenFAST log:

**************************************************************************************************
 OpenFAST

 Copyright (C) 2017 National Renewable Energy Laboratory

 This program comes with ABSOLUTELY NO WARRANTY. See the "license.txt" file distributed with this
 software for details.
 **************************************************************************************************

 OpenFAST v8.17.01c-dev-dc586c7*
 Compile Info:
  - Architecture: 64 bit
  - Precision: double
 Execution Info:
  - Date: 08/28/2017
  - Time: 19:55:51-0600

 OpenFAST input file heading:
     FAST Certification Test #06: AOC 15/50 with many DOFs with gen start, loss of grid, and
     tip-brake shutdown. Many parameters are pure fiction.

 Running ElastoDyn.
 Running AeroDyn14.
 Running InflowWind.
 Running ServoDyn.
  Timestep: 0 of 35 seconds.

TO DO BEFORE MERGE

Verify on peregrine & windows
Update r-test baseline solutions for all machine/compiler combinations
Include OpenFAST 0.1.0 - OpenFAST 1.0.0 comparison

closed due to incorrect branches used in merge request.


yt 10.14.56

new version
without haste, just to warn...tnx

Using 1.4.2 and it doesn't work with this version.

new yt 10.15.54 ...will never end :D

Pulled the source code commit to the dev already.
Guess he will compile and update the module in the nearest future ;)

Will merge soon.
But, after this summer, I doubt I will be able to maintain it as I should. So in the summer I hope I can move project to esgie or someone who can maintain it quite well.

Guess i can handle it. We'll get back to the subject when needed.

Seems like it works! You can close this.

new yt 10.16.53...

@esgie , what is your nick on XDA? to add you as another dev in repo.

It's... esgie ;)


[New API] :  Amplify-Fullstack_Api

Brief Description 🤓
This project is a robust fullstack web application developed with React for the frontend and integrated with AWS services for authentication, GraphQL API, and infrastructure management. The application leverages AWS capabilities to deliver a scalable, secure, and efficient solution.
I would like to work on this under GSSOC'24, kindly, Assign me!
How will you develop it?🤩

Set up a React project and configure AWS Amplify for authentication, GraphQL API, and infrastructure management.
Integrate Amplify libraries into React for authentication and API interactions, implementing CRUD operations.
Manage state with React hooks or Redux and style components using SCSS.
Deploy the application using AWS Amplify Hosting and monitor performance with AWS CloudWatch.

Deployment
No
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @Anushkajoshii🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

@dinxsh @dishamodi0910 Could you please merge it.


Fix incorrect page designation

Changes
Navigation button resulting incorrect page designation #1502

We can know that if the forcePage number still the same, the page will re-render, but won't change. So when you do your search function, you should reset the forcePage number.
https://github.com/AdeleD/react-paginate/issues/198#issuecomment-381465298

Also added the cursor not being correct in some cases. Nice work 👍


Some of the subsystems, if failed, should abort the runtime - but it does not

Bad routing, bad plugin, bad data source, bad auth - all should abort the system.
It does not, and leave the system into a state of semi functioning limbo.
One thing was noted:
In any auth aware project, remove the casbin files.
This raise error, and with that error - filters, and file watchers stop working cause the error happened and those code were not executed.

The right way to fix it is to have a spec on what are acceptable degradation.
An extreme way to fix it is to simply claim - "No error in init is the right start".

This code can be used to fix any exception which may make the system "hang" while still serving the web server.
// in ModelRunner.run()

initExceptionHandler((e) -> {
            logger.error("Ignition failed!", e);
            System.exit(-5);
        });

@nmondal didnt get that. This is a built in provided by spark?

Yeah this is provided by spark. So try this and we should just test if the stuff just stops the app in limbo :-)

Sure


ANDC Bit Encoding

So I was looking at the encoding a lot are not fully described, but this one seems obvious too me.
| ??????? | rs2 | rs1 | ??? | rd | 0110011 | ANDC
Here is the current AND:
| 0000000 | rs2 | rs1 | 111 | rd | 0110011 | AND
Why not define ANDC much like Shift Right and Arithmetic shift right. Also ADD
to SUB is very similar. So using this bit to denote negation seems pretty intuitive.
| 0100000 | rs2 | rs1 | 111 | rd | 0110011 | ANDC
While probably not as useful ANDC it's also logical easy to extend the complemented
inputs for the other bitwise instructions like this.
| 0100000 | rs2 | rs1 | 100 | rd | 0110011 | XORC
| 0100000 | rs2 | rs1 | 110 | rd | 0110011 | ORC

Also when it comes to hardware implementation negation is used when converting a positive number to a negative number (2's complement). Therefore, it would be easy to use the same negation hardware if the same bit was used to denote negation.  Also keeping func3 the same means an ALU only has worry about choosing to negate an input.

Sadly, there is no spare space for an ANDCI in the ANDI instruction. However, you usually are using bit masks that occupy a large portion of machine word. So not sure that is really much benefit.

Are you looking at an old version of the document? Because in the current version ANDC is defined exactly like you suggest:

it's also logical easy to extend the complemented inputs for the other bitwise instructions like this

we did and early evaluation on this over a year ago and it looks like there is very little to gain by doing this.

Woops, I should have looked a little more closely. The copy I have saved local has the same version number, but obviously there are differences. Should have looked at the date.

Also the only time I have found the other complements would be useful is when bit slicing for constant time crypto. ANDC is handy also for muxing though.

[..] has the same version number [..]

"0.37-draft" just means somewhere between 0.36 and 0.37.  :)

I will keep that in mind.


[FLINK-14800][hive] Introduce parallelism inference for HiveSource

What is the purpose of the change
In batch processing scenarios, unlike streams, batches have many dimension tables (sources that need to be scanned), which are often very small. If we still use the current unified parallelism method, a large number of shuffle files will be generated, and too much parallelism will seriously affect performance, which will directly lead that we can not set high parallelism.
Because new source api is not ready, we can not finish FLINK-14676
Let's introduce parallelism inference for HiveSource first.
Brief change log

Use splits number to infer parallelism.
Introduce config to limit max parallelism.
Introduce config to close inference. Maybe some scenarios are not suitable for accessing h on the client.

Verifying this change
HiveTableSourceTest.testParallelismSetting
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? JavaDocs

Simple test: createInputSplits will take 1.1 s when the source table has 3 TB data in HDFS.


New package: LibDLF v0.1.0

Registering package: LibDLF
Repository: https://github.com/emsig/libdlf
Created by: @github-actions[bot]
Version: v0.1.0
Commit: 92cb9b482b6c7f500e7486ae5c3fd37266746889
Reviewed by: @github-actions[bot]
Reference: https://github.com/emsig/libdlf/commit/92cb9b482b6c7f500e7486ae5c3fd37266746889#commitcomment-55220869

@kerrykey sorry, I believe all these pull requests can be closed now?

yes, thanks


Update sbt-ci-release to 1.5.10

Updates com.github.sbt:sbt-ci-release from 1.5.9 to 1.5.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-ci-release" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #124 (1404261) into main (96ce3ad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #124   +/-   ##
=======================================
  Coverage   99.95%   99.95%
=======================================
  Files          49       49
  Lines        2281     2281
  Branches      113      113
=======================================
  Hits         2280     2280
  Misses          1        1

Continue to review full report at Codecov.

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


handle 'in' operator as custom (tensor) map operation

free arrays no longer allowed
restrict set members to be numbers or strings
auto-unbox negative numbers in AST
@arnej27959 please review
@bratseth @lesters FYI

looks good to me


Understanding systemd

Article Checklist
NOTE: (1st time contributors - submit ONLY one article to get familiar with the process, quality, and style-once published, you can then submit any number of articles.)
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar Checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical Checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution Guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #1386

@hectorkambow, this article has been fixed! Ready for final review!

Hi @jumamiller @Bashorun97
If this is a duplicate PR, please close the old PR. :)

Hi @jumamiller @Bashorun97
If this is a duplicate PR, please close the old PR. :)
I believe #1465 is the old PR.

Alright, it's closed now.

plagiarism check done


thank you for your work.a small question about api

can you explain where the crop_x, crop_y, crop_width, crop_height are specifically located QAQ

i know


View team button for teams we're not in

cc @keybase/y2ksquad

I split longer comments into arrays in all the action files and moved the json comments in chat2 to use _description.


Zod + nestjs + prisma (all optional fields)

why do all types become optional inside me? I can't use it normally because the prism requires its own types and I have a conflict
I have some types just turn into optional and that's it

https://github.com/risen228/nestjs-zod/issues/66  I came across this problem, but it didn't help me

in nest.js by default, this parameter is disabled in tsconfig. I should have turned it on


Update config proto for destination policy

Needs a follow-up to validate destination policy name against the destination field value.
As-is sufficient to pass the tests with no functional change.

@sebastienvas we need to do bazel clean to cleanup genfiles. don't know why bazel doesn't do that automatically.

jenkins rebuild manager/presubmit

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed

Feel free to merge if you think these need to be handled elsewhere.

I found only single use of policy in this repo. The semantics is that there should be only one dest-policy object per destination. I'll have to deal with naming YAMLs appropriate in a next PR.
For example:
destination: a.default.svc.cluster.local
policy:...

should a dest-policy named "a" in "default" namespace.

jenkins rebuild manager/presubmit

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed


Can you show how to invoke gRPC service with http invoke?

Ask your question here
Following the helpful go quickstart service_invocation works like a charm. When I'm converting it to use gRPC with protobuf that works as well.
However, invoking the gRPC using the dapr http API doesn't work and results into 503 Service Unavailable.
Would it be possible to include this cross-protocol as an example in the quickstart?
Update: link to issue that suggests this should work: https://github.com/dapr/dapr/issues/2342
Although what is not clear if this requires the gRPC service to implement an onInvoke method as per (https://github.com/dapr/java-sdk/issues/535)

I'm currently stuck on this as well.

@safari137  got it working by implementing the UnimplementedAppCallbackServer which defines an OnInvoke method. This is described in the integrations example here: https://docs.dapr.io/developing-applications/integrations/grpc-integration/. This allows a call into your service via HTTP. The onInvoke method should check the 'in.Method' property and pass the request to your service handler.
My current understanding after this early bit of experimentation with implementing a dapr gRPC service:

The gRPC service can be invoked via dapr's gRPC port as shown in the docs (gRPC->gRPC). There is no dependency on dapr to get this to work.

To invoke the service via dapr's HTTP API, the service must implement dapr's callback API, check the in.Method property to determine which service method to invoke, map the provided parameters to your service method parameters and do the type checking and validation. Now the service has become dependent on dapr.  The service gRPC API is not used. You implement support for cross protocol yourself but at least you get the benefit of using dapr's HTTP middleware chain.

When the service wants to use dapr's pub/sub feature it also needs to implement the same callback API, but I haven't tested this yet.

I'm going to work on a more elaborate sample service to test this out including pub/sub and http middleware. It would be nice if the documentation would explain this a bit better or if there is example code that does this.  Hope this helps.

@hspaay thanks for the explanation!  This is very helpful.

In case anyone else wonders how to do this. This simple echo service demonstrates grpc->grpc and http->grpc invocation.
Repo can be found here: https://github.com/wostzone/echo-service

Thank you much for the contribution.
The recommendation we have for Invoke is to use "gPRC" proxy, which is essentially setting the "dapr-app-id" header, and then just making the gRPC call as normal and/or using your proto.  We believe this is better than using Dapr SDK's invoke API believe it or not.
I believe you nail this here: https://github.com/wostzone/echo-dapr/blob/main/pkg/plain-grpc/client/main.go#L70
Maybe it's worth just calling this out?
Note we have docs and how-to's for this approach here:
https://docs.dapr.io/developing-applications/building-blocks/service-invocation/howto-invoke-services-grpc/#step-2-invoke-the-service

@paulyuk - how would you like to resolve this issue?

@yaron2 what do you recommend here? I feel it's cool there is an integration in the doc above.  I wonder how much we feel this should be our guidance?  For now I recommend we keep pointing to the doc, and not alter quickstarts.

gRPC proxying is for gRPC to gRPC communication. The detailed reply by @hspaay above covers how you would achieve HTTP to gRPC, however since then we have deprecated the OnInvoke method and HTTP to gRPC isn't a recommended scenario, so shouldn't be in either docs nor quickstarts.

Ok thank you for clarifying.  We will not doc or have samples for things we do not support.  Thank you both.

Using service invocation you can call from HTTP to HTTP, HTTP to gRPC, gRPC to HTTP, and gRPC to gRPC. Dapr does not use HTTP for the communication between sidecars, always using gRPC, while carrying over the semantics of the protocol used when called from the app. Service invocation is the underlying mechanism of communicating with Dapr Actors.

these docs are still in latest version from docs.
as of docs v1.14


Mixin make-col() adds float: left when this is not included in make-grid-columns()

Semantic mixins should yield the same results as the Bootstrap generated grid classes. The float should probably be added in make-col-span().

Overhaul coming in #19099.


Using forEach on router instead of for.

I realized that this is the only place using for() and not .forEach ion the source code.
This small update is to keep the consistency.

Looks like for-of loops are the cool new thing and I didn't know =]
Closing this PR.


Always report DBMap reads/writes

Most of DBMap metrics are gated by sampling configs and are disabled by default.
This PR changes so that two metrics such as number of bytes read/written are always reported. They are cheap (essentially incrementing atomic counter with the values we already have) and useful for perf diagnostics.

@andll your change looks mostly good, a couple small comments. If we haven't observed any regression from reporting these metrics always, it make sense to remove them from under the sampler. We can keep sampling just for perf context metrics which is expensive (and bring all operation metrics i.e. bytes, latencies, etc) out


How to zoom in Android device's❓

Question
How to zoom in android onPress Screen move in or out zoom ?
What I tried
No response
VisionCamera Version
react-native-vision-camera": "2.13.0"
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Pass a different value to the zoom prop. Please read the documentation.


Improve error pop-ups

Redesign the style of the error message popups generated by the plugin.

Hey, if you give me a little more of context i can check it out and do a pr

@lausuarez02 thank you for your interest in this. Please bear with us, as we are doing a full UX review of the plugin, and we expect to have consistent rules and approach as a result. Once we have that, if you're interested, we would be happy to share and ask you to help in implementing them.

@mimisavage go for it!


Fixing add vm from vpc networks

Fixes https://github.com/apache/cloudstack-primate/issues/675

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/691 (JID-3457)

@utchoang can you review and test this? Thanks


SAMOA-43: Add TextReader

Implement an artificial text generator that simulates sentiment analysis on tweets.

Hi Albert, this commit was lost in the history restore.
Please merge it back in.


Add black-box script for local build

The script handles build, copy of dist directory, and setting up different query modules directory.

Can you write a high level overview in the pull request description of what exactly the script is supposed to do?
Why isn't this a bash script? This is definitely an example of a bad use-case for python.
Should this be compatible with all operating systems?

Can you write a high level overview in the pull request description of what exactly the script is supposed to do? (step-by-step process)
Why isn't this a bash script? This is definitely an example of a bad use-case for python.
Should this be compatible with all operating systems?

The decision to use Python previously was based on a fact that we want to support as many operating systems as possible. However, since there is no local Windows and Mac installation, there is no need to put focus on that till we have working Win and Mac instances.


doc(Dynamics/Flow): document missing entry

This is the only nolint entry in the Dynamics/ directory. While at this, slightly clean up the formatting of the file.

Thanks!
bors merge


Use IO instead of Vector{UInt8}

... and integrate the ideas from #9

this is ready to go from my point of view...Lots of breaking changes, but since this package was pretty much abandoned, this is probably fine without any deprecation period?
@chakravala you want to try it out and see if it all works for you?

currently I don't use CBOR, but I do have some ideas and plans for using it in the future
therefore, whether there are deprecating changes is no concern for me at the moment
thanks for working on these improvements!


Static link dependency libraries for C++ client lib and Python wrapper

Motivation
We should try to link statically the dependencies of the C++ client library to allow an
easier distribution of binaries.
In particular, having a self-contained python wrapper, enables user to just fetch a package from PyPI without compiling anything.
Modifications
Changed CMake config to statically link all the dependencies.

@saandrews

With this change, are we going to generate only static library? Having the ability to generate both might be useful.

With this change, are we going to generate only static library? Having the ability to generate both might be useful.

The build always generates both libpulsar.so and libpulsar.a as before. The only difference is that libpulsar.so is statically linking the dependencies to have a self-contained library.
I can make the static linking configurable at the CMake level. Unfortunately it's not easy to have both builds since it needs to search for different dependencies.

I can make the static linking configurable at the CMake level. Unfortunately it's not easy to have both builds since it needs to search for different dependencies.

If it easy to get these using different targets, let us try to get that as an option. Else, we can address it later.

On Thu, Jul 6, 2017 at 10:05 AM, Andrews<EMAIL_ADDRESS>wrote:

If it easy to get these using different targets, let us try to get that as
an option. Else, we can address it later.

No, it won't work, because CMake either looks (and links with) for
libbboost_thread.so or for libboost.a. That's independent from the targets.
--
Matteo Merli
<EMAIL_ADDRESS>

We can only have a flag that decides whether to either link statically or
dynamically with the dependencies.
--
Matteo Merli
<EMAIL_ADDRESS>On Thu, Jul 6, 2017 at 10:45 AM, Matteo Merli<EMAIL_ADDRESS>wrote:

On Thu, Jul 6, 2017 at 10:05 AM, Andrews<EMAIL_ADDRESS>wrote:

If it easy to get these using different targets, let us try to get that
as an option. Else, we can address it later.

No, it won't work, because CMake either looks (and links with) for
libbboost_thread.so or for libboost.a. That's independent from the targets.
--
Matteo Merli
<EMAIL_ADDRESS>

We can only have a flag that decides whether to either link statically or
dynamically with the dependencies.

This is what I was referring to.

@saandrews @jai1 @rdhabalia Updated. Added flag to enable static linking. default is off.


Component: Square

Please describe the feature you want this project to offer
9 Block for the game of tic-tac-toe
Describe the solution you'd like
Make a UI for a block that will show in the board of the game

I would like to work on this. It just need to create the component and its styles?

@juanbelieni Yes, please go ahead!