Empty query results from ODBC query on SQLite database

Hi,
I have got ODBC connecting to a SQLite database (using SQLiteODBC). Connecting to the DB works fine:
julia> using DataFrames
julia> using ODBC
julia> db = ODBC.connect("passwd")
ODBC Connection Object
----------------------
Connection Data Source: passwd
passwd Connection Number: 1
Contains resultset(s)? No

But when I execute a query I get back an empty result set:
julia> query("select * from passwd;")
0x0 DataFrame
julia> query("select * from passwd;", db)
0x0 DataFrame

The metadata for the query appears to be fine though:
julia> querymeta("select * from passwd;")
Resultset metadata for executed query
-------------------------------------
Query:   select * from passwd;
Columns: 7
Rows:    0
7x5 DataFrame
| Row | Names      | Types                  | Sizes | Digits | Nullable |
|-----|------------|------------------------|-------|--------|----------|
| 1   | "username" | ("SQL_LONGVARCHAR",-1) | 65536 | 0      | 1        |
| 2   | "password" | ("SQL_LONGVARCHAR",-1) | 65536 | 0      | 1        |
| 3   | "UID"      | ("SQL_DOUBLE",8)       | 54    | 0      | 1        |
| 4   | "GID"      | ("SQL_DOUBLE",8)       | 54    | 0      | 1        |
| 5   | "comment"  | ("SQL_LONGVARCHAR",-1) | 65536 | 0      | 1        |
| 6   | "homedir"  | ("SQL_LONGVARCHAR",-1) | 65536 | 0      | 1        |
| 7   | "shell"    | ("SQL_LONGVARCHAR",-1) | 65536 | 0      | 1        |

And when I execute the same query using isql (for the ODBC interface) or sqlite3 then I get a ream of results.
Any idea why this might not be working?
Thanks,
Andrew.

Hi @DataWookie, really sorry for never responding on this. I'm currently working on an overhaul of the ODBC package, so I'm going back through issues. If you'd like to still troubleshoot/fix this, just let me know and I'm happy to try and tackle what's going on (I'm actively working on things going forward).

Hi. Thanks for getting back to me. Yes, that would be great. Please just let me know what you need from me. Thanks, Andrew.

Great! First, let's go straight to the latest code; you can get the package overhaul code by doing the following with any Julia 0.4 release
Pkg.add("ODBC")
Pkg.checkout("ODBC","jq/remodel")
Pkg.checkout("DataStreams")
Pkg.checkout("CSV")
Pkg.checkout("SQLite")

then usage is like:
using DataStreams, ODBC
# connect to a preconfigured ODBC DSN
conn = ODBC.DSN("[preconfigured_dsn]")
# execute a query until ready to fetch results
source = ODBC.Source(conn, "select * from [some_table]")
# examine the schema of a query; will show the mapped Julia column names/types
source.schema
# show the number of rows/columns the DB is reporting as the result of the query
(source.schema.rows, source.schema.cols)
# show the ODBC types that the DB is reporting for the query
source.schema.metadata
dt = Data.stream!(source, Data.Table)

Let me know if you run into any issues here and I'm happy to help debug.

Hey @DataWookie, any update on this? did the new code work for you?

Thanks, yes, just checked and it seems to have sorted the issue.

I am having this issue but that solution did not work for me. I'll open a new issue.


mysql: change aws testdata from eu-west-3 to us-east-1

Should we switch from eu-west-3 to us-east-1
Most of the services are available on us-east-1 first and few services might not be on eu-west-3 yet.
If yes we will have to re-generate the testdata SQL and fix the unittest

I suppose you're referring only to the testdata? If so why not so we have a bigger coverage.


Buy (B) icon is not looking right.

The B icon when we click on it is not looking right.

Tested on Dev app v1.79(307)

verified this issue on dev app v1.7.9(312)


Only one header field with same name is returned

According to some RFC, it is possible to have multiple header fields with the same name, that the client should treat like a single header field with that name, and with an array of values.
Suppose you have headers
$ curl -i -u rhqadmin:rhqadmin http://localhost:7080/rest/resource/platforms.json
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: max-age=300, private
Link: <http://localhost:7080/rest/resource/platforms.json?page=-1>; rel="last"
Link: <http://localhost:7080/rest/resource/platforms.json>; rel="current"
X-collection-size: 2
Content-Type: application/json
Transfer-Encoding: chunked
Date: Fri, 28 Nov 2014 07:53:51 GMT

then `response.headers['link'] should return an array with 2 entries. But in fact when I have that above case
print response.headers[:link].to_s + "\n"
print response.raw_headers['link'].to_s + "\n"

yields
<http://localhost:7080/rest/resource/platforms.json?page=-1>; rel="last"
["<http://localhost:7080/rest/resource/platforms.json?page=-1>; rel=\"last\"", "<http://localhost:7080/rest/resource/platforms.json>; rel=\"current\""]

So clearly there are  2 links that are  raw_headers but only 1 of them shows up in headers

Fixed on 2.0.x branch.
Per RFC 7230, multiple headers in an HTTP response must be able to be combined by a comma on clients. (There is an exception for Set-Cookie, which violates this.)
You can still use raw_headers to get at the original arrays.

Cool, thanks.


wrong logic in squeeze validator

We have a special squeeze validator which does not squeeze if dimension if 1 so that [1] is not squeezed to 1which would not satisfy our dimension constraints.
The problem then is that [[2]] is squeezed to 2.
What I think we should be doing is have the squeeze not check for dimension and have a version of the dimension check elevate the dimension in a prescribed if things has too low dimension.

@dmadeka @ssunkara1 what do you think about the following proposal.

allow the squeeze validator to squeeze when it can (all the way to dimension 0)
make the dimension bounds validator which runs after to raise the dimension by "prepending ones" in the shape until the minimal dimension is reached.


Do not work with Python 3.9

Hello,
I've tried to run python-binexport (through the command line tool) with a Python 3.9 installation and it does not work.
$ binexporter
Traceback (most recent call last):
  File "/usr/local/bin/binexporter", line 5, in <module>
    from binexport.__main__ import main
  File "/usr/local/lib/python3.9/site-packages/binexport/__init__.py", line 1, in <module>
    from .program import ProgramBinExport
  File "/usr/local/lib/python3.9/site-packages/binexport/program.py", line 9, in <module>
    from binexport.function import FunctionBinExport
  File "/usr/local/lib/python3.9/site-packages/binexport/function.py", line 7, in <module>
    from binexport.utils import get_basic_block_addr
  File "/usr/local/lib/python3.9/site-packages/binexport/utils.py", line 2, in <module>
    from binexport.types import Addr
  File "/usr/local/lib/python3.9/site-packages/binexport/types.py", line 3, in <module>
    from typing import TypeAlias
ImportError: cannot import name 'TypeAlias' from 'typing' (/usr/local/lib/python3.9/typing.py)

Looking at the documentation of the typing module, TypeAlias was introduced with Python 3.10 (https://docs.python.org/3.10/library/typing.html#typing.TypeAlias).
I suppose that either you could find a workaround or either you should just modify the pyproject.toml to announce that you do not support Python 3.9 and only above versions.
Thanks in advance !

Even though python 3.9 will reach EOL at the end of 2025 I would still prefer keeping the usage of TypeAlias as it's better for type checkers suhc as mypy.
IMHO we can update the requirement to python >= 3.10.
What do you think about this @RobinDavid ?


[agent] agents crash no more than once per day

Duplicate of https://github.com/dxos/dxos/issues/3366


Crash using Mosquitto, local, passwordless

Awesome work on this app.
Severity: minor (easy workaround)
Environment:

Local network
Raspberry Pi
mosquitto (no username and password required), sharing data with your app and HomeAssistant.

Current behavior:
Using no username/password causes Android app to crash when clicking on the classic's name in the swipe-out list on the left.
Expected behavior:
Using no username/password doesn't cause a crash when clicking on classic's name in the swipe-out list on the left.
Workaround:
Use a junk username/password.

Version 3.0.4 ready for testing in preRelease

Might need version bump, if that matters.  I had to uninstall before installing.
This release fixes the issue, though.  Can confirm.


build: reduce config macro conflicts, improve documentation, set valid version number

Why?
relic_conf.h generates preprocessor definitions that conflict with bitcoin-config.h and certain global variables within Dash Core. Some of these definitions can be removed by eliminating some definitions (source) and the rest can be eliminated by substitution. We are using in-place substitution with a .old to accommodate for BSD sed (used on macOS, FreeBSD and other BSDs)

@PastaPastaPasta


Add deprecation notice

Do not merge this. I am looking at making this work.

https://linear.app/deepsource/issue/LAE-8992/fix-test-coverage-github-action
The current PR is going to be the last resort. I'll close it if the issue mentioned above is taken care of. 🤞🏽

Closing this in favor of #29.


Broken nuget link

The "Extensions" link of the documentation (README.md) leads to a nuget page that does not exist.

Thx, solved :)


Files in base category directory don't link properly

There is a double preceeding slash in the index list of files in the base category.

fixed https://github.com/fungku/postmark/commit/1bcec67ba84093a23d4915b99e6af6a9b31a5e57


llvm: stop running strip-preserve-atime.test

This test fails in the presence of anti-virus software or other intrusion-detection software that modifies the atime when run.
See nixos/nixpkgs#284056 and llvm/llvm-project#82372.
(cherry picked from commit<PHONE_NUMBER>e8a4f3716153c1603ae3e884c79edc)
Description of changes
This is a backport of a change that is on nixpkgs-unstable. That I need on 23.11 to build llvm on mac os.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Confirmed the build worked on aarch darwin.

Looks like the unexpected error was a timeout:
error: building of '/nix/store/yfcqwv66nzmqg3fpy35lnr1q7cnp94c0-llvm-16.0.6.drv^out' from .drv file timed out after 3600 seconds

As NixOS 23.11 reaches end-of-life today, this PR is closed as part of the EOL cleanup.


Icons do not follow the angle after recent updates

Hi!
After fixing some other issues, I came back to this project to realize the recent update doesn't allow the icons to rotate.
here is my code
 child: (OSMFlutter(
                      key: _mapKey,
                      controller: osmController!,
                      initZoom: 18,
                      minZoomLevel: 8,
                      maxZoomLevel: 18,
                      stepZoom: 1.0,
                      roadConfiguration: RoadConfiguration(
                        startIcon: MarkerIcon(
                          icon: Icon(
                            Icons.pin_drop,
                            size: 64,
                            color: Colors.green,
                          ),
                        ),
                        roadColor: Colors.yellowAccent,
                      ),
                      markerOption: MarkerOption(
                          defaultMarker: MarkerIcon(
                        icon: Icon(null),
                      )),
                    )),

// somewhere in the code updatedAvailableDriversOnMap() is called.

void updateAvailableDriversOnMap() async {
    for (NearByAvailableDrivers driver
        in GeoFireAssistant.nearByAvailableDriversList) {
      if (rideReqAcceptDriver != null) {
        driverKey = driver.key;
      } else {
        driverKey = driver.key;
      }

      driverLat = driver.latitude;
      driverLon = driver.longitude;

     //bearing takes the first lat & long received from the server and then compares it with the second set of data
   // then calculates a heading between them, this is then stored as 'x'  (heading)
      double x = bearing(
        GeoPoint(latitude: bearingLat!, longitude: bearingLon!),
        GeoPoint(latitude: driverLat!, longitude: driverLon!),
      );

      bearingLat = driverLat;
      bearingLon = driverLon;

      print("heading  $x");
      if (x.isNegative) {
        x = (twoPi + x);
        print("heading neg $x");
      }

      StaticPositionGeoPoint(
          driver.key!,
          MarkerIcon(
            icon: Icon(
              Icons.access_alarm,
              size: 15,
            ),
            //image: AssetImage("images/images/car-ios.png"),
            assetMarker:
                AssetMarker(image: AssetImage("images/images/car-ios.png")),
          ),
          [
            GeoPointWithOrientation(
                latitude: driver.latitude!,
                longitude: driver.longitude!,
                angle: x)
          ]);
      await osmController!.setMarkerOfStaticPoint(
          id: driverKey!,
          markerIcon: MarkerIcon(
            // rotation: currentLocation.heading
            assetMarker:
                AssetMarker(image: AssetImage("images/images/car-ios.png")),
            // image: AssetImage(
            //   "images/images/car-ios.png",
            // ),
          ));
      await osmController!.setStaticPosition([
        GeoPointWithOrientation(
            latitude: driver.latitude!, longitude: driver.longitude!, angle: x)
      ], driver.key!);

      print("yyy $driverKey+ $rideReqAcceptDriver");
      //await osmController!.rotateMapCamera(x);
    }
  }

i will check it

I removed the code below from StaticPositionGeoPoint , seems to work now.
MarkerIcon(
            icon: Icon(
              Icons.access_alarm,
              size: 15,
            ),

i don't see that you put StaticPositionGeoPoint in  OSMFlutter
i think that you don't need to put StaticPositionGeoPoint before setMarkerOfStaticPoint and setStaticPosition

removed staticPoint as it's already below and causes an error while loading.


Add Document for String Length Program #55

Did the exact same layout as the examples.  #Hacktoberfest

Linking with #55


Enable setting of the column visibility

Relates #723
What solves this issue almost solves mine, except that I need rather than a onColumnToggle function, a function that sets the visibility, i.e. onColumnChange(dataField, hidden), the scenario is I have got another table with preferences to the first table where I can set the visibility of columns from there, and once I'm done I need to show that change.

onColumnChange(dataField, hidden)

I will implement it


Create JiraReader for loading Jira issues

This is a new dataloader for everyone's favourite bug tracking software. It uses basic auth to access a custom Jira server and you provide a JQL query to fetch the issues you wish to load.

sweet! taking a look soon

@jerryjliu feedback addressed!

@jerryjliu .. seems like the loader is limited to the server edition... I was expecting cloud instance support similar to that of Confluence...


[Request]Public AnimationConfiguration

Hi @kzaher , you may know that I'm porting RxDataSources to support AsyncDisplayKit here.
And I need your help to make all AnimationConfiguration's properties as public. So I don't need to create another AnimationConfiguration in my repo.

Expected:

public struct AnimationConfiguration {
  public let insertAnimation: UITableViewRowAnimation
  public let reloadAnimation: UITableViewRowAnimation
  public let deleteAnimation: UITableViewRowAnimation

Thanks

Hi @dangthaison91 ,
maybe you can synchronize your efforts with @muukii . It looks like he is doing the same thing.
Please take a look at this issue.
https://github.com/RxSwiftCommunity/RxDataSources/issues/149

May be @muukii in WIP and not push his code yet. At the moment, I just want to create a simple port of RxDataSources: https://github.com/dangthaison91/RxTextureDataSources
I also interest with IGListKit and tending to create a Rx extension for it. But it is a different story.

@dangthaison91
Sorry! I've pushed my WIP branch. #153
But, I don't determine the direction about detaching.
I think good that AnimationConfiguration's properties make public ahead.
Then, that changes will be included my PR (#153)
What do you think?

@kzaher @muukii I was on vacation last week. Glad to know #154 was merged. Looking to version 2.0.

@dangthaison91 how's the progress on the IGListKit rx extension? Is it really worth using IGListKit's diffable algorithm compared to RxDatasources?

@zboralski I never ever trying to use IGListDiff to replace RxDataSource's diff algorithm. I just ported RxDataSource to support AsyncDisplayKit/Texture. You can find it here https://github.com/RxSwiftCommunity/RxASDataSources


ci.jenkins.io is offline for 2.346.1 upgrade

ci.jenkins.io is offline for 2.346.1 upgrade

Sorry @MarkEWaite I didn't noticed your PR, I've created and merged this one instead.
I didn't put any reason in mine, should I update it like yours?

Sorry @MarkEWaite I didn't noticed your PR, I've created and merged this one instead.
I didn't put any reason in mine, should I update it like yours?

Thanks for asking.  No need to change the content.  Thanks also for updating the status


Candidate view to EMZ Test

As a candidate l want to see EMZ test appear underneath Qualifying Test tab when l log into my account so that l view the status, title and start date/time for my online test
Note: Candidate should be able to view the test when they log into their account.
Once allocated to the test candidates will need to be able to see the ‘title’, ‘status’ and ‘start date’/time of the test in the ‘Online tests’ section of their profile.

@Darrel as mentioned l can confirm the requirement is a small  change, can you rename the qualifying Tab to online Tests

@KateMJAC
I am putting this on here so I don't forget...
@joy-ade has indicated (in the screenshot above) that there should be an extra menu item for tie-breakers in the Apply portal. During our meeting yesterday (Kate) you mentioned that perhaps it would be better to rename the Qualifying Tests menu item to Online Tests and have QTs and TBs appear on the same Online Tests page, but you said you wanted to run that by the JAC team first.
Darrel

@HalcyonJAC Darrel having spoken warren I am  content with @KateMJAC suggestion rename the qualifying test to Online Tests. Kate will give confirmation once she has ran it by JAC team. @KateMJAC do you want me to take this requirement to the design group?

@HalcyonJAC the ticket has been updated.

@joy-ade thank you :)


add unit test for getTokenReviewResult

Please provide a description for what this PR is for.
add unit test for function getTokenReviewResult, remove TODO flag
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@gy95: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
9e2e04cc5290cecae4343384ea61847184b675d1
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


feat(macos): add ApplicationShouldHandleReopen event, closes #218

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary

Other information
in macOS the app usually doesn't exit when all window closed, and will use click on dock icon for reopen window.

this is a recreate of pr #515, due to it's not signed because misconfiguration in git

Are there any plans on merging this?

We plan to switch to winit as #470 described. So winit also needs to implement this one.
@amrbashir Do you think we should merge this?

last time I checked, the winit team has not decided on how they want to introduce this so I think we should keep this open until we make the switch.

@wusyong By switching you mean that winit will be used in tauri as a window management library instead of tao?

@wusyong By switching you mean that winit will be used in tauri as a window management library instead of tao?

We plan to do so in v2.0. If it's not that urgent, I suppose open a PR on winit is a good start.

@wusyong Ok got it. Makes sense. But is there a way currently in tauri to handle this issue https://github.com/tauri-apps/tauri/issues/3084 (opening a window on dock icon click)?

I don't think so until this PR is merged in winit.

Use minimized windows instead of hide.
tauri::Builder::default()
    .on_window_event(|event| {
        // https://github.com/tauri-apps/tauri/discussions/2684
        if let tauri::WindowEvent::CloseRequested { api, .. } = event.event() {
            // event.window().hide().unwrap();
            event.window().minimize().unwrap();
            api.prevent_close();
        }
    })

Any news with this? I would love to be able to hide the window and show it rather than minimize it.

Would love to see this in the next version of Tauri. Missing this functionality. Great work.

do you plan to work on adding this event to tauri?

yes

Really looking forward that!

@BillGoldenWater @amrbashir

Why don't I have a Reopen event?

@BillGoldenWater @amrbashir How does it work in tauri 1?

@FabianLars How does it work in tauri v1?


Release v0.8.20

This PR prepares Embulk 0.8.20 release.

CI 3/4 passed. I'm merging this cc: @dmikurube


node-neigh: Query once netlink for neigh discovery device

This commit calls netlink.LinkByName() only once to retrieve a netdev used for arpinging neighbors. We can optimize this, because the configuration of cilium does not change during runtime.

test-me-please

test-net-next

Removing the 1.7 backport label, as we don't do the periodic ARP refresh in 1.7.


APPS-1364 Add support of default azure credentials for auth

replaced no creds auth with default azure creds auth

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 29.49%. Comparing base (e3484a6) to head (7a7bdb8).

Files with missing lines
Patch %
Lines

pkg/service/storage/azure.go
0.00%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##               v2     #276      +/-   ##
==========================================
+ Coverage   28.87%   29.49%   +0.62%
==========================================
  Files          41       41
  Lines        2376     2380       +4
==========================================
+ Hits          686      702      +16
+ Misses       1593     1578      -15
- Partials       97      100       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use C++17 string_view instead of Boost string_ref

Can you guess the reason why we needed boost::string_ref instead of const char* char?

Because while being a pointer like char* it still has the benefits of std::string?

These benefits are not so important.
Clang-Tidy treats a pointer as a possible hole for trivial copy constructor — here we should simply copy pointer, but in some cases we must allocate new memory. Using std::string_view expresses intended copy behavior explicitly.


VSCode Task or .csproj PostBuild event using the "reg" command does not work

VS Code Version: 1.70.2
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

Create a file that contains registry keys
Create a shell task in VSCode that imports the file:

{
    "label": "Import Registry Entries",
    "type": "shell",
    "command": "reg import fullfilepath",
    "group": "build"
}

Alternatively I have this as a build event in a .csproj:

powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(ProjectDir)RegisterDll.ps1 -targetPath $(TargetDir) -targetName $(TargetName)

The RegisterDll script:
Param(
     [Parameter()]
     [string]$targetPath
     [Parameter()]
     [string]$targetName
)
$regToCreate = $targetPath + $targetName + ".dll"
$regToLoad = $targetPath + $targetName + ".reg"

$regStringToReplace = "HKEY_CLASSES_ROOT"
$newRegString = "HKEY_CURRENT_USER\Software\Classes"

Get-Command reg | Out-Null

Write-Output "Creating new registry keys from dll: $($regToCreate)"

# This creates the registry file as expected both in VSCode and VS2022
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /codebase /regfile $regToCreate

# This modifies the keys that were created
(Get-Content $regToLoad).Replace($regStringToReplace, $newRegString) | Set-Content $regToLoad

# From VSCode, this fails to import the keys from the file created above, I can import it manually just fine
# From VS2022, the entire script works fine
reg import $regToLoad

I'm not able to verify my log in at work so I made an alt account. I forgot to point out that the VSCode terminal window reports "The operation completed successfully." for the reg import. Opening up the registry however makes it pretty clear that that is not the case. I get the same print out when it actually is successful in VS2022.

are you seeing an error associated with running that task - in the console or otherwise? any task errors in the output channel for tasks?

@meganrogge - There is nothing to indicate there's an error with the task - in fact the build makes it to the Post-Build step, and displays the default "The operation completed successfully." text. The reg command also returns "0" which is supposed to indicate success.
I see no log in the "Tasks" output channel - errors or otherwise.

Is this a new issue or have you seen it in the past too?

Is this a new issue or have you seen it in the past too?

This is a new way of registering our COM interop DLL, so unfortunately I can't say. Previously we relied on RegAsm and/or the .csproj setting "Register for COM interop". Unfortunately both of those methods require admin privileges, and we needed something that would work without that requirement. That led me down this path of creating a .reg file, and replacing the ROOT keys, then importing it. This method works great with VS2022, but most of our developers use VSCode.

@meganrogge - I'd like to follow up on this, is there any additional information I could provide?

@BBoldenow I notice you use Get-Command reg in the script. Does it work if you pass Get-Command into the task "command" too?

@BBoldenow I notice you use Get-Command reg in the script. Does it work if you pass Get-Command into the task "command" too?

@meganrogge I'm not sure I'm doing this as you expected, but I made two tasks to test what you're asking. One that does:
{     "label": "Import Registry Entries",     "type": "shell",     "command": "reg import fullfilepath",     "group": "build",     "dependsOn": [ "firstTask" ] }
And another that does:
{     "label": "Import Registry Entries",     "type": "shell",     "command": "reg import fullfilepath",     "group": "build" }
This still doesn't work, but it's definitely "getting" the reg command (you can see it print out in the console).

Just saw this part

From VSCode, this fails to import the keys from the file created above, I can import it manually just fine
From VS2022, the entire script works fine
reg import $regToLoad

seems like probably a permissions issue
could you log/ print after the line in your script where the file gets created to check if that file gets produced/exists?

Just saw this part

From VSCode, this fails to import the keys from the file created above, I can import it manually just fine
From VS2022, the entire script works fine
reg import $regToLoad

seems like probably a permissions issue
could you log/ print after the line in your script where the file gets created to check if that file gets produced/exists?

@meganrogge - Yes, I put comments in the powershell script, but probably should have called it out more explicitly:
The file gets created, and the keys get modified to be HKEY_CURRENT_USER keys instead of HKEY_CLASSES_ROOT keys - this all works fine. The key import even appears to "work" as the reg import command prints out "The operation completed successfully." However in VSCode these keys fail to make it into the registry despite the successful print. I also thought it was a permissions issue, and have tried running VSCode as admin, but this doesn't seem to have any effect.

@meganrogge - Do you need any additional information? I'm pretty stumped as to how to get this working in VS Code.

@meganrogge - For what it's worth I did get this working as a task instead of a PostBuild event. I still think the PostBuild event should be resolved, but it let's me work around the issue in the meantime:
{     "label": "Register COM Interop (Options Prompted)",         "type": "process",     "command": "PowerShell.exe",      "args": [         "${workspaceFolder}/Source/COM_UI/RegisterCOMInterop.ps1 -targetPath ${workspaceFolder}/.output/${input:debugOrRelease}/ -targetName COM_UI"     ],     "group": "build" }


How to change the opacity transition?

In its current state when I add the autoHide props, the scrollbar disappears and reappears only when hovering/scrolling, which is what I want. But when reappearing, it doesn't reappear with an opacity of 1 and I don't know how to change this behaviour.

.my-class.simplebar-scrollbar.simplebar-visible:before {     opacity: 1;   }
I have added 'my-class' to increase the specificity to override the default style

.my-class.simplebar-scrollbar.simplebar-visible:before {     opacity: 1;   }
I have added 'my-class' to increase the specificity to override the default style

In its current state when I add the autoHide props, the scrollbar disappears and reappears only when hovering/scrolling, which is what I want. But when reappearing, it doesn't reappear with an opacity of 1 and I don't know how to change this behaviour.

.my-class.simplebar-scrollbar.simplebar-visible:before {     opacity: 1;   }
I have added 'my-class' to increase the specificity to override the default style

In its current state when I add the autoHide props, the scrollbar disappears and reappears only when hovering/scrolling, which is what I want. But when reappearing, it doesn't reappear with an opacity of 1 and I don't know how to change this behaviour.

.my-class.simplebar-scrollbar.simplebar-visible:before {     opacity: 1;   }
I have added 'my-class' to increase the specificity to override the default style


Disable TS auto imports until they really work

VSCode Version: 1.18

Until Microsoft/TypeScript#19694 is fixed, the new TS auto imports feature should not be enabled by default. It produces wrong code, causing compilation failures.
I taught an Angular course this week, and that was a real mess because of this. People naturally select suggestions from the editor, and as the imports are on top of the file, it's often not visible directly, so people don't even notice the error, resulting in compilation errors.

These can be disabled by setting: "typescript.autoImportSuggestions.enabled": true,

It is not a question about how to disable them, it is an issue about a feature enabled but currently broken and producing failing code, and with the corresponding PR to fix it (and I would argue it should be part of a 1.18.1 release).
In all case, even if the PR is not accepted, the issue should not be closed until it's really fixed.

I'm sorry you are hitting this bug but we are not going to rollback the feature because of this. Once the PR is merged upstream, you can pick up it up by installing typescript@next in your workspace: https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions

If we're waiting for upstream, how will it be fixed in 1.19 ? The upstream issue as been labeled "TypeScript 2.7" which is only planned in January 2018.

Agreed, this feature is majorly broken, even in non-TS projects. I have a React project that isn't using TS, and it kept inserting completely wrong import statements to the top of my files, without me realizing it, causing build errors.

Agreed, this feature is just messing with my imports, I missed many imports of foreach from angular and others, probably this should be disable by default.

@mjbvz Is this still planned for December edition ? Because we're close to release and it's still not working in Insiders, and the fix in TypeScript wasn't included in TS 2.6.2.
If it's not, it would seem really incomprehensible to me to let a feature that produces broken code for another several months (as TS 2.7 will only be available in January, meaning it could have to wait for the VS Code February release). Just look at the number of issues opened about this in TS repo and this one...


Add count rewrite rule

For #3297

If emtpy table, count(1) = 0, which will results?

I made a mistake in my thinking，I temporarily shut down the PR


Ipython console could not connecting to kernel

Spyder Internal Console
This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
spy.app, spy.window, dir(spy)
Please don't use it to run your code

C:\Anaconda2\lib\site-packages\nbformat\current.py:19: UserWarning: nbformat.current is deprecated.

use nbformat for read/write/validate public API

use nbformat.vX directly to composing notebooks of a particular version
""")
Traceback (most recent call last):
File "C:\Anaconda2\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line 656, in toggle_view
self.create_new_client(give_focus=False)
File "C:\Anaconda2\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line 832, in create_new_client
self.main.extconsole.start_ipykernel(client, give_focus=give_focus)
File "C:\Anaconda2\lib\site-packages\spyderlib\plugins\externalconsole.py", line 1273, in start_ipykernel
ipyclient=client, give_ipyclient_focus=give_focus)
File "C:\Anaconda2\lib\site-packages\spyderlib\plugins\externalconsole.py", line 832, in start
show_elapsed_time=show_elapsed_time)
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\pythonshell.py", line 207, in init
show_elapsed_time=show_elapsed_time)
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\baseshell.py", line 73, in init
self.shell = self.SHELL_CLASS(parent, get_conf_path(history_filename))
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\pythonshell.py", line 39, in init
PythonShellWidget.init(self, parent, history_filename, profile)
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\shell.py", line 673, in init
ShellBaseWidget.init(self, parent, history_filename, profile)
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\shell.py", line 63, in init
self.history = self.load_history()
File "C:\Anaconda2\lib\site-packages\spyderlib\widgets\shell.py", line 508, in load_history
encoding.writelines(rawhistory, self.history_filename)
File "C:\Anaconda2\lib\site-packages\spyderlib\utils\encoding.py", line 206, in writelines
return write(os.linesep.join(lines), filename, encoding, mode)
File "C:\Anaconda2\lib\site-packages\spyderlib\utils\encoding.py", line 196, in write
text, encoding = encode(text, encoding)
File "C:\Anaconda2\lib\site-packages\spyderlib\utils\encoding.py", line 157, in encode
raise RuntimeError("Incorrect encoding (%s)" % coding)
RuntimeError: Incorrect encoding (None)
Traceback (most recent call last):
File "C:\Anaconda2\lib\site-packages\spyderlib\spyder.py", line 1875, in execute_in_external_console
console.execute_python_code(lines)
File "C:\Anaconda2\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line 816, in execute_python_code
client.shellwidget.execute(to_text_string(lines))
File "C:\Anaconda2\lib\site-packages\qtconsole\history_console_widget.py", line 47, in execute
source, hidden, interactive)
File "C:\Anaconda2\lib\site-packages\qtconsole\console_widget.py", line 630, in execute
self._execute(source, hidden)
File "C:\Anaconda2\lib\site-packages\qtconsole\frontend_widget.py", line 294, in _execute
msg_id = self.kernel_client.execute(source, hidden)
AttributeError: 'NoneType' object has no attribute 'execute'

the following are the dependencies:
IPython >=1.0      :  4.0.1 (OK)
jedi >=0.8.1;<0.9.0:  0.9.0 (NOK)
matplotlib >=1.0   :  1.5.0 (OK)
pandas >=0.13.1    :  0.17.1 (OK)
pep8 >=0.6         :  1.6.2 (OK)
pyflakes >=0.5.0   :  1.0.0 (OK)
pygments >=1.6     :  2.0.2 (OK)
pylint >=0.25      :  None (NOK)
qtconsole >=4.0    :  4.1.1 (OK)
rope >=0.9.2       :  0.9.4 (OK)
sphinx >=0.6.6     :  1.3.1 (OK)
sympy >=0.7.3      :  <IP_ADDRESS> (OK)
zmq >=2.1.11       :  14.7.0 (OK)

What is your Spyder version?

spyder 2.3.8  . Can you provide any solution...??
IT WOULD BE VERY HELPFULL...Please

I have a similar issue: when launching spyder the "Ipython console" can not connect to the kernel (spinning wheel...)
However, using the pulldown menu: "Consoles/Connect to an existing kernel" and then loading the json file (e.g. kernel-57726.json")  shown within the "Console" tab, succesfully creates a functioning ipython console.
PS: I am running spyder==2.3.9, python==2.7.11 and ipython==4.2.0.

Having a similar issue with spyder == 2.3.8, python == 2.7.11 and ipython 4.1.2

What platform are you guys working on?

I am working on Windows 7 64 bit

How would I know my json connecting file...If any one can tell me... please.

Thanks a lot stackoverflow....its very simple just resetting the spyder solved the problem....Finally....the rock has come back.

I was getting this error when I changed Python path to anaconda on Ubuntu 16.04. I thought may be it is anaconda path cause the problem. I changed python path to default  (, i.e. same path as a spyder) path and I still get the same error.

Sorry, I was right actually, I am getting error when I change path to Anaconda path, with default path it is working fine (after restarting spyder two times).

This should be fixed now in Spyder 3.0.2. Please update :-)


Slicer Tutorial Maker : Robustness issue

I tried to run the Four Minute tutorial twice. The first time the Annotator tool enabled me to annotate the screenshots. However, I was unable to save the tutorial as a pdf or Markdown file.
I clicked on Run and Annotate again. The Tutorial Maker tool repeated the Slicer 4 Minute workflow, but stopped at the Red Slice Clipping step and did not proceed further.
I restarted Slicer: the tutorial Maker tool stopped again at the Red Slice Clipping step.
Traceback (most recent call last):
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 161, in annotateButton
self.logic.Annotate(self.__selectedTutorial)
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 221, in Annotate
TutorialMakerTest().test_TutorialMaker1(tutorialName)
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 309, in test_TutorialMaker1
tutorial.runTest()
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/Testing/fourMin_tutorial.py", line 25, in runTest
self.test_Slicer4Minute1()
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/Testing/fourMin_tutorial.py", line 120, in test_Slicer4Minute1
clip.SetRedSliceClipState(0)
AttributeError: 'MRMLCorePython.vtkMRMLClipNode' object has no attribute 'SetRedSliceClipState'
Slicer 5.7 on Mac OSX 14.6.1

I removed the Tutorial Maker module from the list of modules and restarted Slicer.
I reinstalled the module and re-ran the Four Minute tutorial. The bug remains the same.
witch to module:  "TutorialMaker"
Starting the test
Switch to module:  "Welcome"
goodbye, world!
Screenshot #1: In the Welcome screen.
Verifying checksum
File already exists and checksum is OK - reusing it.
Requesting load /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/slicer4minute.mrb
Warning: In vtkMRMLCameraNode.cxx, line 414
vtkMRMLCameraNode (0x7fbcf7d1bdd0): vtkMRMLCameraNode::SetActiveTag() is deprecated. Use vtkMRMLCameraNode::SetLayoutName() instead.
Warning: In vtkMRMLCameraNode.cxx, line 414
vtkMRMLCameraNode (0x7fbcf7d920a0): vtkMRMLCameraNode::SetActiveTag() is deprecated. Use vtkMRMLCameraNode::SetLayoutName() instead.
Warning: In vtkMRMLCameraNode.cxx, line 414
vtkMRMLCameraNode (0x7fbcf7e0c8c0): vtkMRMLCameraNode::SetActiveTag() is deprecated. Use vtkMRMLCameraNode::SetLayoutName() instead.
/Applications/Slicer 3.app/Contents/bin/Python/slicer/util.py:2811: UserWarning: already has observer
warn("already has observer")
ReadDataInternal (vtkMRMLModelStorageNode1): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/hemispheric_white_matter.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode2): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/left_eyeball.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode3): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/optic_chiasm.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode4): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/optic_nerve_L.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode5): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/optic_nerve_R.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode6): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/optic_tract_L.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode7): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/optic_tract_R.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode8): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/right_eyeball.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode9): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/Skin.vtk does not contain coordinate system information. Assuming RAS.
ReadDataInternal (vtkMRMLModelStorageNode10): File /Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/_tmp20241207wQj99/slicer4minute/Data/skull_bone.vtk does not contain coordinate system information. Assuming RAS.
ID: vtkMRMLClipNodevtkMRMLClipModelsNode
ClassName: vtkMRMLClipNode
Name: ClipModelsParameters1
Debug: false
MTime: 332682
Description: (none)
SingletonTag: vtkMRMLClipModelsNode
HideFromEditors: true
Selectable: true
Selected: false
UndoEnabled: false
Node references:
clipping [clippingRef]: vtkMRMLSliceNodeRed: {clipingState: ClipOff} vtkMRMLSliceNodeYellow: {clipingState: ClipOff} vtkMRMLSliceNodeGreen: {clipingState: ClipOff}
ClipType: ClipIntersection
ClippingMethod: Straight
"MRB Slicer Data Bundle" Reader has successfully read the file "/Users/smp36/Library/Caches/slicer.org/Slicer/SlicerIO/slicer4minute.mrb" "[0.21s]"
Load finished
Finished with download and loading
Switch to module:  "Models"
Screenshot #2: In the Models screen with the sample data loaded.
Screenshot #3: With the red view panel opened.
Screenshot #4: With the red view slided to -57.
Screenshot #5: With the skin node selected and opacity lowered to 0,5.
Screenshot #6: Change the visibility of skin to 0 and rotate de camera to show the top of the head.
Screenshot #7: Set the visibility of the green view, showing the two view panel.
Screenshot #8: Change the visibility of skull_bone, also click in the skull_bone in the node list.
Traceback (most recent call last):
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 161, in annotateButton
self.logic.Annotate(self.__selectedTutorial)
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 221, in Annotate
TutorialMakerTest().test_TutorialMaker1(tutorialName)
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/TutorialMaker.py", line 309, in test_TutorialMaker1
tutorial.runTest()
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/Testing/fourMin_tutorial.py", line 25, in runTest
self.test_Slicer4Minute1()
File "/Users/smp36/spujol/software/SlicerTutorialMaker-main/TutorialMaker/Testing/fourMin_tutorial.py", line 120, in test_Slicer4Minute1
clip.SetRedSliceClipState(0)
AttributeError: 'MRMLCorePython.vtkMRMLClipNode' object has no attribute 'SetRedSliceClipState'

This is due to an API change in Slicer (the entire clipping infrastructure was redesigned recently in Slicer-5.7). I'll try to fix this now.

@lassoan that brings me a doubt. When Slice updates, do they don't keep the functions as deprecated? They just remove the functions?
So here we will have to create two versions of the 4minute test, 1 for 5.7 and above and another for below?

We could keep the different versions as branches on their repos. When we pull the tutorials using the TutorialMaker git lib  we could check for version compatibility no? @DouSam

In general, backward compatibility is maintained, but if needed then we can make the script work slightly differently depending on the Slicer version (see the current fix - https://github.com/SlicerLatinAmerica/SlicerTutorialMaker/pull/53).


add eval readme

@dakinggg where else would you like me to put this info? the main README or the train README?

@bmosaicml It'd be great to include running the gauntlet as a step in the quickstart (maybe with settings to make it run on a small subset of the data so its still "quick")


[crash] SIGSEGV/Panic due to nil pointer dereference when calling Write of Prefixer type

Summary:
During the decoding of some specific bytes, the function Write of the Prefixer type will trigger a segmentation fault/panic and make the complete program/process to crash.
Description:
This panic bug occurs when calling append(out, []byte(p.f())...) line 56 because out is not large enough. Size of out is determined based on len(data) line 41 but later the length of out is not checked before append operation to it.
link: https://github.com/buildkite/agent/blob/a9c89bd9bcc303ba504c47d201e6a104fd5ec765/process/prefixer.go#L56
Steps To Reproduce:
STEP 1: create a go project: mkdir testing; touch main.go; touch go.mod
STEP 2: go.mod content
module main

go 1.15

replace github.com/buildkite/agent => ../

require (
    github.com/buildkite/agent v0.0.0-00010101000000-000000000000
    github.com/buildkite/agent/v3 v3.25.0 // indirect
)

STEP 3: main.go content
package main

import (
    process "github.com/buildkite/agent/process"
)

func repro_PrefixerWrite(){
    data := []byte("\x0a")
    var out process.Prefixer
    _, _ = out.Write(data)
    // panic: runtime error: invalid memory address or nil pointer dereference
}

func main() {
    repro_PrefixerWrite()
}

// Run with:
// go run main.go

STEP 4: Execute the program with: go run main.go
Supporting Material/References:
This testing program will crash with the following error message:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4aa078]

goroutine 1 [running]:
github.com/buildkite/agent/process.(*Prefixer).Write(0xc000104f58, 0xc00001a118, 0x1, 0x1, 0x405e65, 0xc000016118, 0x0)
    /XXX/agent/process/prefixer.go:56 +0x238
main.repro_PrefixerWrite(...)
    /XXX/agent/crashPrefixerWrite/main.go:10
main.main()
    /XXX/agent/crashPrefixerWrite/main.go:15 +0x70
exit status 2

Thanks for the clear and well written report @pventuzelo  :heart:

This panic bug occurs when calling append(out, []byte(p.f())...) line 56 because out is not large enough. Size of out is determined based on len(data) line 41 but later the length of out is not checked before append operation to it.

Is a missing size check really the root cause, or is it because in the reproduction code the process.Prefixer is initialized with default values and not via process.NewPrefixer()?

Oh my bad, you're right I completely missed that f was actually a function. 🙏


⚠ Api Test A0K has degraded performance

In 36d80d3, Api Test A0K ($API_ENDPOINT_BASE/userInformation?$TOKEN_A0K) experienced degraded performance:

HTTP code: 502
Response time: 3763 ms

Resolved: Api Test A0K performance has improved in a682751.


Official Rust FlatBuffers is now available

IIRC this project wanted to use FlatBuffers in Rust. It was just merged, please give it a go and let us know if it serves your needs: https://github.com/google/flatbuffers/pull/4898

Indeed, and thank you. @andygrove is taking the lead on this, we will be in touch I'm sure


EditText's text disappearing on changing the screen orinentation in Login Activity

Actual Behaviour

Expected Behaviour
The EditText should retain its text on changing the screen orientation.
@Sam1301 @timabbott @kunall17 Hi, I would like to work on this. Can I send the PR for the same?

@harshitagupta30 go for it :+1:


Support cluster name prefix

Add option to send --name-prefix for cluster instead of --name.
If name-prefix pass, a unique name will be generated up to 15 characters for the cluster.

Report bugs in Issues
The following are automatically added:

Add reviewers from OWNER file (in the root of the repository) under reviewers section.
Set PR size label.
New issue is created for the PR. (Closed when PR is merged/closed)
Run pre-commit if .pre-commit-config.yaml exists in the repo.

Available user actions:

To mark PR as WIP comment /wip to the PR, To remove it from the PR comment /wip cancel to the PR.
To block merging of PR comment /hold, To un-block merging of PR comment /hold cancel.
To mark PR as verified comment /verified to the PR, to un-verify comment /verified cancel to the PR.
verified label removed on each new commit push.
To cherry pick a merged PR comment /cherry-pick <target branch to cherry-pick to> in the PR.

Multiple target branches can be cherry-picked, separated by spaces. (/cherry-pick branch1 branch2)
Cherry-pick will be started when PR is merged

To build and push container image command /build-and-push-container in the PR (tag will be the PR number).
To add a label by comment use /<label name>, to remove, use /<label name> cancel

Supported /retest check runs

/retest tox: Retest tox
/retest build-container: Retest build-container
/retest python-module-install: Retest python-module-install

Supported labels

hold
verified
wip
lgtm

/verified

New container for quay.io/redhat_msi/openshift-cli-installer:latest published


Cleaned up the code and adjusted the directory file

Q
A

Branch?
2.0

Bug fix?
No

New feature?
No

Deprecations?
No

Internal Changed?
No

Removed
No

Tests pass?
Yes

The commit cleaned up the code and adjusted the directory file structure.

Codecov Report

Merging #275 into 2.0 will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##              2.0     #275   +/-   ##
=======================================
  Coverage   89.14%   89.14%
=======================================
  Files          36       34    -2
  Lines        2367     2367
=======================================
  Hits         2110     2110
  Misses        257      257

Impacted Files
Coverage Δ

src/CatLib.Core/Util/Guard.cs
83.72% <ø> (ø)

src/CatLib.Core/Util/InternalHelper.cs
100% <ø> (ø)

src/CatLib.Core/Container/BindData.cs
94.11% <ø> (ø)
:arrow_up:

src/CatLib.Core/Util/SortSet.cs
90.85% <ø> (ø)

src/CatLib.Core/Container/Container.cs
96.07% <ø> (ø)
:arrow_up:

src/CatLib.Core/IO/SegmentStream.cs
97.14% <ø> (ø)

src/CatLib.Core/Container/BindDataExtension.cs
26.58% <ø> (ø)

src/CatLib.Core/CatLib/Application.cs
96% <ø> (ø)
:arrow_up:

src/CatLib.Core/IO/CombineStream.cs
92.1% <ø> (ø)

src/CatLib.Core/EventDispatcher/EventDispatcher.cs
94.11% <ø> (ø)
:arrow_up:

... and 8 more

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 b6a7a55...2248608. Read the comment docs.


Add an image folder to project.

Add a folder to store images on this project, titled images.

Thanks z3n70, enjoy.


Master/PGD Application->Need new tab named "Details Service Study". Please see below for the mock-up image of this form.

Finished


fix: lints

Codecov Report
Attention: 747 lines in your changes are missing coverage. Please review.

Comparison is base (e16c502) 67.5% compared to head (869c71f) 55.0%.
Report is 11 commits behind head on main.

Additional details and impacted files

Files
Coverage Δ

mini-lsm-starter/src/lsm_storage.rs
0.0% <ø> (ø)

mini-lsm-week-1/src/lsm_storage.rs
93.3% <ø> (ø)

mini-lsm-week-1/src/table.rs
97.7% <ø> (ø)

mini-lsm/src/table/builder.rs
95.6% <100.0%> (+0.8%)
:arrow_up:

mini-lsm/src/compact/simple_leveled.rs
0.0% <0.0%> (ø)

mini-lsm/src/compact/tiered.rs
0.0% <0.0%> (ø)

mini-lsm/src/table.rs
83.0% <55.5%> (-14.7%)
:arrow_down:

mini-lsm/src/bin/minilsm_cli.rs
0.0% <0.0%> (ø)

mini-lsm/src/lsm_storage.rs
68.3% <38.4%> (-25.1%)
:arrow_down:

mini-lsm/src/compact.rs
1.5% <1.9%> (+1.5%)
:arrow_up:

... and 2 more


⚠ Bofrost.at has degraded performance

In 0024338, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1034 ms

Resolved: Bofrost.at performance has improved in 0924eb4 after 13 minutes.


Add unittest for utils_func

Add some unittests and fix errors for utils

changed answer to be declaritive
fix tolerence is calculated one way (should be wrapped with fabs)
add prime test unit tests

Self evaluation:
Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #70. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.


[Quest/eCBIS] Update the Family register to display a Group resource

Name of feature to enhance

Family representation

Description of feature

We currently use the Head of family patient resource to represent a family
We are moving this to use the Group resource.

Describe the enhancement

[ ] Query all the Groups with the following attributes.

[ ] type -- Find all Groups with type person
[ ]  code -- Find all Groups with the following code
json      {        "system": "https://www.snomed.org",        "code": "35359004",        "display": "Family"      }

[ ] Display the name attribute on the name UI position.

[ ]  Always Append the name text Family at the end of every name.

Depends on  -- https://github.com/opensrp/fhircore/issues/1199

Can be done concurrently

@ellykits How far are you with the Quest Configurability pieces? Can we use your branch for this?

@ellykits @dubdabasoduba
Which branch should I pull from?

https://github.com/opensrp/fhircore/issues/1183 The sample group.

Blocked by #1207

Closed by https://github.com/opensrp/fhircore/pull/1216


Consolidate getChild() and getChild(String)

Change some coding format issues: Make static method has indentation; and instance fields no indentation.
Consolidate getChild() and getChild(String)

Signed-off-by: Hongyin Huo<EMAIL_ADDRESS>

Issue: https://github.com/IBM/iTestCloud/issues/43
Test: Regular sanity test
Result:
Selenium and Browser information:
	- Selenium Build info: version: '4.7.2', revision: '4d4020c3b7'
	- Google Chrome version: 108.0.5359.124

Starting execution of test case 'StepA02_SanityTests' at 15:43:38
=========================================================
	- 15:43:38: start test case 'test01_CreateProject'...

================================================================================
	  -> OK (in 56.49s)
	- 15:44:35: start test case 'test02_AddAssetToProject'...
	  -> Reset button element was unavailable. Therefore, no attempt was made to reset filter.
	  -> OK (in 16.436s)
	- 15:44:51: start test case 'test99_DeleteProject'...
	  -> Jobs did not exist in project 'sanity-test-project' and therefore, no attempt was made to delete any.
	  -> Active environment runtimes did not exist in project 'sanity-test-project' and therefore, no attempt was made to delete any.

================================================================================
	  -> OK (in 16.215s)

WARNING: No debug information written due argument debug=false
**********  SUMMARY OF FAILURES **********
Unknown failures : 0	Known failures : 0


codec_time_base can be 1/0 which causes Gson deserialization to error when decoding as a Fraction.

I receive this error:
Exception in thread "main" java.lang.ArithmeticException: The denominator must not be zero
	at org.apache.commons.lang3.math.Fraction.getFraction(Fraction.java:143)
	at org.apache.commons.lang3.math.Fraction.getFraction(Fraction.java:348)
	at net.bramp.commons.lang3.math.gson.FractionAdapter.read(FractionAdapter.java:37)
	at net.bramp.commons.lang3.math.gson.FractionAdapter.read(FractionAdapter.java:17)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
	at com.google.gson.Gson.fromJson(Gson.java:879)
	at com.google.gson.Gson.fromJson(Gson.java:817)
	at net.bramp.ffmpeg.FFprobe.probe(FFprobe.java:101)

When I try to probe an mpegts file. For reference, here is the FFProbe output as JSON:
{
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/26",
            "codec_tag_string": "[27][0][0][0]",
            "codec_tag": "0x001b",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1088,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 41,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "0",
            "nal_length_size": "0",
            "id": "0x100",
            "r_frame_rate": "167/12",
            "avg_frame_rate": "13/1",
            "time_base": "1/90000",
            "start_pts": 5477657,
            "start_time": "60.862856",
            "duration_ts": 378588,
            "duration": "4.206533",
            "bits_per_raw_sample": "8",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            }
        },
        {
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "codec_type": "audio",
            "codec_time_base": "1/0",
            "codec_tag_string": "[15][0][0][0]",
            "codec_tag": "0x000f",
            "sample_fmt": "fltp",
            "sample_rate": "0",
            "channels": 0,
            "bits_per_sample": 0,
            "id": "0x101",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 5477657,
            "start_time": "60.862856",
            "duration_ts": 378588,
            "duration": "4.206533",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            }
        }
    ],
    "format": {
        "filename": "1.ts",
        "nb_streams": 2,
        "nb_programs": 1,
        "format_name": "mpegts",
        "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
        "start_time": "60.862856",
        "duration": "4.206533",
        "size": "574528",
        "bit_rate": "1092639",
        "probe_score": 100
    }
}

Notice the codec_time_base is 1/0?

Do you know what it means to have a "1/0" timebase?

Absolutely no idea :P But, given ffprobe can emit it, I guess we need a
more flexible type then Fraction. Thoughts on just returning a String?
On Wed, Mar 16, 2016 at 5:07 PM, Andrew Brampton<EMAIL_ADDRESS>wrote:

Do you know what it means to have a "1/0" timebase?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/bramp/ffmpeg-cli-wrapper/issues/10#issuecomment-197167421

I suspect this is a quirk of ffprobe, when the time base is zero, as the
docs say the number is always 1/n when n is the time base.
I think parsing 1/0 as 0 would make the most sense, but I want to dig into
the ffprobe source first to confirm my suspicion.

Looked at the ffmpeg source, and codec_time_base is always 1/N (https://github.com/FFmpeg/FFmpeg/blob/v0.6.1/libavcodec/avcodec.h#L1099), so when the file contains invalid input, then N is zero, and it is printed as "1/0".
I'm going to allow the parsing to assume this means zero.


2.0.x

2.0.x
This is a complete rewrite from the ground up
tl;dr

Written in ES6

babel

es2015
stage-0

Simple API for 3d scenes
Functional
Declarative
Built on regl (and compatible)
Multiple input interfaces

Features

[x] Functional API
[x] First class media support (audio/video/image)
[x] Built on and compatible with regl
[x] Ambisonic audio (Omnitone)
[ ] WebVR input
[ ] Device orientation input
[ ] Data input
[x] Keyboard input
[x] Mouse input
[ ] Pointer lock input
[ ] Gamepad input
[ ] Fullscreen support
[x] Custom shaders
[x] Custom geometry that implements a Abstract simplicial complex
[ ] HLS hls.js
[x] gl-matrix compatible

Usage
TBD
...

cc @agrathwohl @Ttante @stephenmathieson


A couple of performance optimizations: HyperLogLog and BloomFilter

Added possibility of HLL creation from pre-computed hashes to HyperLogLogMonoid.
This makes it possible to re-use pre-computed hashes and increase performance.

Possibility of HLL creation from pre-computed hashes to HyperLogLogMonoid.
Performance optimization for BloomFilter checkAndAdd operation.

Basically, current changes try to save time by re-using hashed values, in two useful situations. BloomFilter checkAndAdd will allow for a little error during partition merges (reduce): when the same item appears in two different partitions once. Worst case is when all partitions contain exactly same sets of items and items appears at most once in each partition.

Thanks. This will be of help!


Experiment recover

@LeanderK We need a way to delete populations for recovery, everything else should be fine.

I think a few methods can be refactored to increase readability. Nested try´s arent really nice to read. Do we need to rush here ?

It's a bug, but no critical bug. Will just result in a incomplete experiment, which is actually fine for DRAFT state.

Still misses platform recovery by @LeanderK.

what do you need?

We need to restore platforms from before the change. Currently we just add platforms in storePopulations. But in case something failed, I don't think we want it to appear in the database at all.

well this is more complicated then one would think

Yes, that's why it's not done yet. We could make it the last thing we change.

there are still some bugs left ;)

Hm?

the multiple-calibrations bug, simon mentioned that he received an invalid reservation error at the demo and when submitting only one rating was not possible. I'll create some tickets

i may try to do this later tomorrow, but i am currently not sure how to solve it

obviously this feature was not fully realised, but the work done must not be thrown away. I would create a issue with a short description and a reference to this pull request, so that future work can start here.


Can I deploy the local-path-provisioner pod to multiple nodes?

It's a feature question. I want to set up a local volume only on specific nodes(ex. node1, node2, node3)
Can I simply deploy the local-path-provisioner pods on the nodes that will use the local volume using toleration and nodeselector?

+1

You can do it in your service via tolerations and nodeSelection.
pod local-path-provisioner deploying via deployment so it can be run as single replica

Do you have an example to give us ?

sure
my storageClass has name openebs-lvm-vghdd
tolerations
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: vghdd-pvc
spec:
  storageClassName: openebs-lvm-vghdd
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mtkpi-pod
  labels:
    app: mtkpi
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mtkpi
  template:
    metadata:
      labels:
        app: mtkpi
    spec:
      containers:
        - resources:
          name: mtkpi-pod
          image: r0binak/mtkpi:v1
          ports:
          - containerPort: 7681
          securityContext:
            readOnlyRootFilesystem: true
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - mountPath: /data_hdd
              name: pvc-data-hdd
      tolerations:
        - effect: NoSchedule
          key: node-role.kubernetes.io/lvmhdd
          operator: Exists
      volumes:
        - name: pvc-data-hdd
          persistentVolumeClaim:
            claimName: vghdd-pvc

nodeselector
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: vghdd-pvc
spec:
  storageClassName: openebs-lvm-vghdd
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mtkpi-pod
  labels:
    app: mtkpi
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mtkpi
  template:
    metadata:
      labels:
        app: mtkpi
    spec:
      containers:
        - resources:
          name: mtkpi-pod
          image: r0binak/mtkpi:v1
          ports:
          - containerPort: 7681
          securityContext:
            readOnlyRootFilesystem: true
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - mountPath: /data_hdd
              name: pvc-data-hdd
      nodeSelector:
        disktype: hdd
      volumes:
        - name: pvc-data-hdd
          persistentVolumeClaim:
            claimName: vghdd-pvc

Thx!


Publish live version on GH pages

Like in Vidya's app, we should always have the latest version of the app live on GH pages.

Publishing works now, but the build for production breaks something and the published version does not work. Running locally works, so there is something wrong with the build process/tooling. I am investigating how to fix it.

The live version should now work, and I have added the link to the readme.


apps/dbs that are unprovisioned should say so on the deprovision tab

As of https://github.com/aptible/sweetness/pull/264 an app's status will be 'pending' when it has never been deployed.

@sandersonet Just wanted to run this by you.
The "deprovision" tab shows this, even for a never-been-deployed app:

I've changed it so a never-deployed app's deprovision tab would show this:

Does that make sense? I'm thinking that even though you couldn't technically deprovision an app if it's never been provisioned a user may still want to delete it.

@bantic I thought never-deployed apps will show the deploy steps without any navigation?
On that note, I do agree we should allow a non-deployed app to be deprovisioned, but rather than still including the deprovision nav button, we could just add a small link to the deploy steps UI.

@sandersonet Cool, that makes sense. @mixonic and I had talked it over before and thought it might be confusing for a user if the UI nav changes depending on app state (tabs become visible after an app has been deployed) — we thought it would be more natural for the content of the tab to change rather than the tab itself to appear/disappear. I'm not sure if we ran this by you beforehand.
I think we had all decided to include the "deploy" and "activity" tabs.
Let's sync on this at some point today.

I think there are at least a couple of different scenarios to address here:

An app has been newly created and never deployed
An app has been created and deployed, but a subsequent deployment has removed all of the services

For scenario 1, the user should have a clear goal: deploy this app.   I think the existing deploy steps UI (without nav tabs) works great for this scenario.  We should also expose the ability to destroy the un-provisioned app with a single click.  I think just a small 'Destroy ${app.handle}' link at the bottom would work fine.
For scenario 2, I think you're right in that we should show all tabs (though maybe not domains?)  The app will still have relevant activity and should require verification in order to deprovision.  The services tab can show the deploy steps.

I've got the:

small 'Destroy ${app.handle}' link at the bottom would work fine.

part of this in https://github.com/aptible/diesel.aptible.com/pull/144

Pending apps don't show the deprovision tab, I think we can close this.


Error while running setup.py

got this error at the bottom:  (ive changed the serial number of my charger to xxx and also the email, i get the same error when i try with a hostname! using python 3.8. hope it is an easy fix.. thanks
affer@raspberrypi:~/easee/easee2mqtt $ python setup.py
/home/affer/easee/easee2mqtt/easeelog.log
/home/affer/easee/easee2mqtt/easeelog.log
Running setup of Easee2MQTT.
Please input e-mail of Easee account<EMAIL_ADDRESS>Please input password of Easee account:
Successfully connected to Easee!
The following chargers has been found on this account. Note that the charger ID shown here will make up the MQTT-topic.
If you get a new charger, please re-run settings.
XXXXXXXX
Please input IP or adress of MQTT-broker: <IP_ADDRESS>
Input MQTT-port, default=1883:
Input MQTT-username, leave blank if no authentication is required:
Please wait, testing connection...
Successfully connected to MQTT-broker
Available QOS-levels of MQTT:
0 - At most once
1 - At least once
2 - Exactly once
Input QOS-level, recommended 1:
Traceback (most recent call last):
File "setup.py", line 134, in
settings['mqtt_adress'] = int(mqtt_adress)
ValueError: invalid literal for int() with base 10: '<IP_ADDRESS>'

Strange. I don't know why I would convert the IP to an int, makes no sense. I also don't understand why it's worked up until I just tested.
Anyway fixed it now, thanks :)


Search: replace the URL to match current location

The algolia items are stored using the production documentation. For
development, this is quite a pain because we can't use the search
otherwise it will redirect us to the production documentation.
Instead, we replace the suggestion href domain / port / protocol with
our current location domain / port / protocol. And if we are on
localhost (naive detection), then we strip the /doc part.
This may also be useful for previews if we ever have preview applications?
Let me know what you think about this.

Something interesting to note is that anything under the assets folder can use Hugo templating features. See for instance the app id and the indexName on search.js. So we may be able to access Hugo's config to only enable this when not using the production profile. Or to find out which host and prefix are used.

Oh, that's nice, I overlooked it. It seems it's possible to detect if hugo is running in dev mode or production mode: https://code.luasoftware.com/tutorials/hugo/hugo-template-detect-production-or-development-server/

fixed with https://github.com/CleverCloud/hugo-cc-doc-theme/commit/f087b35b6d126aa2eb6430277783dc9769a54601


Add support for listing issues for a given project / repository

In https://docs.gitlab.com/ee/api/issues.html#list-project-issues it's noted that there's the ability to list a given project's issues, which would be helpful to expose.
Maybe we could extend the IssuesService' ListIssuesOptions to take a Project ID?

ListProjectIssues does what you need, yes? The first parameter, pid, is for the project ID.

Closing due to no response and the assumption this isn't a problem...

Apologies for the super late reply, but yes, you're absolutely right! I think I didn't see it at first as I was looking for not[username] but I can do a search with not[author_id] and that works :clap:


Add unsaved data warning to all edit pages

If the user attempts to leave a page with unsaved edits, produce an alert warning the user.
First iteration:

javascript alert on first try, record that they were warned.
if they try again, let them
clear warned flag on further edits

Better iteration:

dialog with options of No, I'll stay here, and Yes, I really do want to leave.

this is all done as well


Alarm Reminder for Events

Describe the feature you'd like
Many user tends to forget the event time , so they might want to set alarm for event time.
It would be an optional feature(similar to liked events).
Would you like to work on the issue?

[x] Yes

@iamareebjamal @nikit19 give your opinions.

There's an option to add it in the calendar

@iamareebjamal you are right.
Calender does the job.

Calender does the job

@somenath1435  if this issue is solved , then may you should close this issue :)


[core] Validate a RP being sent a deal has enough funds to pay for the txs for the process

During matchmaking, let's add a check to validate the RP has eth to pay for the fees associated with resolving the job - if we don't do this, we may end up sending jobs to nodes that will never return the results.

We can use the cron-server check faucet job as a reference https://github.com/Lilypad-Tech/cron-server/blob/main/internal/jobs/check_faucet.go

Closed via https://github.com/Lilypad-Tech/lilypad/pull/298


Feature: Automatically resolve CSS files via package.json metadata

Feature Request
@require "~bootstrap"

Should properly load the (bootstrap) package's CSS.
Implementation
There is a growing trend among npm package authors to include additional metadata for style assets in their package.json files. Most commonly, they provide a style attribute that points distribution CSS files.
I propose extending the resolver to pick up the following attributes from a module's package.json:

stylus - Could be used to specifically point to a package's .styl manifest file.
style - Commonly used to point to the CSS file(s) exported by the package

Related
https://github.com/webpack/css-loader/issues/51

I'm cool with this proposal. I won't be looking to implement myself at the moment. I'm focusing on #139 and https://github.com/mzgoddard/hard-source-webpack-plugin. But would be happy to review and accept PRs.
I'd figure a way to do this would be to add to path-cache's resolvers. Add a resolver before the webpack normal resolver. This new resolver could se webpack normal resolver to resolve request + '/package.json' and then resolve your proposed keys.
(I first wondered about using a custom webpack resolver for this that could streamline the resolution between this and the other resolver using webpack. I'm worried such an approach would be tricky to maintain though and also gets complicated concerning webpack 2's resolver api changes (not to how we use it, but how one sets one up).)


drupal 0.3.1

Updates Drupal image version to 8.1.9-r1 and MariaDB dependency
including fixes for the OpenSSL security update
(https://www.openssl.org/news/secadv/20160922.txt)

LGTM


How can i use lucaprot on paired rna seq data?

We want to identify novel viruses in our lab and discussing the usage of lucaprot as well. Do you have any guidance how to improve the output by converting the rna seq (short read illumina files) into protein sequences so it best works with luca?
Thanks alot.

We want to identify novel viruses in our lab and discussing the usage of lucaprot as well. Do you have any guidance how to improve the output by converting the rna seq (short read illumina files) into protein sequences so it best works with luca?
Thanks alot.

Hi，@sirrgang
We typically use ORFfinde to translate RNA viral genomes. It is recommended that reads be assembled into contigs before ORFfinder is used to translate contigs into proteins. Direct use of reads for protein translation is not recommended.
Good Luck.


about the process of data production

Thank you for your great work
In the process of data production, how to use colmap? Does colmap use the original code? Is every frame of the video used?

I apologize for the delay in responding; I was on vacation for the past few days.
In our data production process, we utilized the colmap2nerf.py script from the Instant-NGP repository, which can be found at the following link. This script allowed us to estimate poses for our scenes effectively.
Regarding the usage of frames, we indeed employed all frames acquired during the scene capture for training our model.


Error in monokai.lua

Any idea what the issue is? I can't understand what is wrong.
Error
NeoVim throws this error at startup.
Error detected while processing C:\Users\adiwa\.vim\plugged\nvim-monokai\colors\monokai.vim:
line    1:
E5105: Error while calling lua chunk: C:\Users\adiwa\.vim\plugged\nvim-monokai\lua\monokai.lua:521: attempt to index field 'fn' (a nil value)

The exact line that is showing up in the error:
https://github.com/tanvirtin/monokai.nvim/blob/3b690bdc19ae0cf84bd62965202f898c3dc00f8e/lua/monokai.lua#L521
My init.vim file
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'itchyny/lightline.vim'
Plug 'tanvirtin/nvim-monokai'
call plug#end()

" let g:gruvbox_contrast_dark = 'hard'
" let g:lightline = {
" \ 'colorscheme': 'gruvbox',
" \ 'separator': { 'left': '', 'right': '' },
" \ 'subseparator': { 'left': '', 'right': '' }
" \ }

syntax on
set number
colorscheme monokai
set termguicolors
set noshowmode

Hey there, what version of Neovim are you running the plugin on?

I'm using v0.4.4 on Windows 10.
Installed it using scoop.

The plugin references code written for Neovim 0.5, such as vim.fn.exists, I have updated the docs with Neovim 0.5 as prerequisites for the project upgrading to the nightly build should solve the issue.

Great! That fixed my issue. However, I am having issues with the background of the Monokai.
Have a look.

Any idea why I am getting a different background?

Found the issue.  I didn't configure neovim-nightly! Also, I had enabled OneDark theme for CMD, which is the reason I am getting that background. Sorry!


Action Research for OpenGov

Request for Proposals
Abstract
OpenGov was introduced as a new governance system for the Polkadot ecosystem in November 2022 on Kusama, before being deployed on Polkadot in June 2023. It pioneered the transition from a centralised decision-making model to a more decentralised executive system.
However, after 14 months of operations, there is still no comprehensive research, analysis, or review of OpenGov's model and mechanisms. This RFP submission proposes some avenues for Action Research on OpenGov to help establish a feedback mechanism and prioritise future developments for OpenGov.
Background
The idea behind this RFP is to gather the insights of a range of academics, analysts, and governance experts from within and outside the blockchain industry to summarise the current discourse on OpenGov, formalise a theoretical framework around OpenGov, and propose practical initiatives to optimise the impact of OpenGov.
Checklist

[X ] I have checked the RFPs to make sure this is not a duplicate.
[ X] I have read and followed the RFP Suggestion instructions.

I have read and hereby sign the Contributor License Agreement.

Hello team,
I see that this PR is still pending after 4+ weeks.
Is there anything that needs to be done from my end to move the review process forward?
Thanks for your help.

Hello Semuelle,
Thank you very much for your feedback on this proposed RFP.
I am aware that this suggested Action Research on OpenGov does not fall into the traditional topics covered by previous RFPs, which makes it difficult to evaluate its value proposition. That said, your suggestion for "Research on OpenGov" is perfectly aligned with what I had in mind when writing this RFP.
The main use-case for this RFP is to invite and fund people to do some research on OpenGov and share insights/recommendations that can be picked up by Polkadot stakeholders (voters, devs, fellows, etc.) to propose changes to existing procedures/mechanisms.
How this would work in practice? Interested teams choose any of the 4 topic areas mentioned (i.e the "Milestones", although there is no linearity for the delivery) and work on it from their chosen angle and with their own methodology. However, the bottomline is to have a research that is actionable (i.e Action research); beyond a compilation of thoughts/theories or a comparison with other governance technologies. Over time, teams with proven track records of contributing to OpenGov's improvements could form a core of researchers for R&D on OpenGov, but that is out of the scope of this RFP.
Ideally, anybody (whether familiar with Polkadot or not) should be able to contribute to this RFP, this is why a (non-exhaustive!) list of questions has been included. The list provide some starting points for teams/individuals who don't know anything about OpenGov (yet). Experienced teams will likely overlook this list, but it is better to have something than rather than nothing.
I have been in touch with Rae (Parity Asia) who has some contacts in Academia who have expressed interest in working on this project as part of their research on Governance and Blockchain technologies.
I am happy to make any change you recommend to get things moving, so let me know what the next steps are.
Thanks!

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/decentralized-futures-a-research-for-security-governance-framework/7615/1

Hi again @semuelle,
I have implemented your suggestions and rephrased relevant portions of the document.
Thanks. 🙏


Added crosslinking to the Secrets management page

Just adding in some crosslinking to different pages to boost potential SEO.

Not an actual code review, but very nice! 🎉


move NR-only assets into NR directory

The assets newrelic.jar and newrelic.yml.sample are currently only used in the New Relic demo, so don't need to be considered "shared-assets".
The two assets are located in the directory ./shared-assets/
The better pattern (also in use in the other stacks in this repo) is to use the assets directory under the stack (i.e. ./newrelic/assets/`)
I have moved the assets to the suggested self-contained New Relic assets/ directory.

@adamvialpando I pushed the commit for fixing the docker volume mapping  onto this branch directly (so it's part of this PR) From now on I'll work on feature branches


Power Platform Deploy Package tool - Failing since 0.0.82

Failing to use the Power Platform Deploy Package tool which used to work in previous 0.0.41 release and the package successfully deploys using the package deployer tool manually.
Error is: Failed to Load the Import Configuration : Config File Missing
2022-07-01T16:32:57.5087581Z ==============================================================================
2022-07-01T16:32:57.5088023Z Task         : Power Platform Deploy Package
2022-07-01T16:32:57.5088320Z Description  : Power Platform Deploy Package
2022-07-01T16:32:57.5088574Z Version      : 0.0.82
2022-07-01T16:32:57.5088782Z Author       : Microsoft
2022-07-01T16:32:57.5089066Z Help         : More Info
2022-07-01T16:32:57.5089442Z ==============================================================================
2022-07-01T16:32:57.7749980Z Discovered environment url from explicit input parameter 'Environment': $(BuildTools.EnvironmentUrl)
2022-07-01T16:32:57.7760957Z Discovered Azure DevOps variable expression that needs resolving: $(BuildTools.EnvironmentUrl) -> BuildTools.EnvironmentUrl
2022-07-01T16:32:57.7772941Z Falling back to url from service connection, using: **********************************
2022-07-01T16:32:59.7911277Z [ 'Authentication successfully created.' ]
2022-07-01T16:32:59.7912649Z [ 'Validating connection...' ]
2022-07-01T16:33:00.4516079Z [ 'Connected to...a365-rel-fieldservice' ]
2022-07-01T16:33:00.5661548Z [ '    * DATAVERSE                                ********************************** : ***     Public' ]
2022-07-01T16:33:00.5662187Z [ '' ]
2022-07-01T16:33:00.7467811Z [ 'The Authentication Result: Authentication successfully created.,Validating connection...,Connected to..**********************************,    * DATAVERSE                                ********************************** : ***     Public,' ]
2022-07-01T16:33:00.7496909Z [ 'Deploying package: C:\agent\_work\r20\a\extracted\A365forDeviceServicePackage.dll' ]
2022-07-01T16:33:00.7514144Z [ 'Calling pac cli inputs: package deploy --package C:\agent\_work\r20\a\extracted\A365forDeviceServicePackage.dll --logFile C:\agent\_work\r20\a\out\DeployPackage\deploy-package\A365forDeviceServicePackage-2022-07-01T16-33-00.735Z.log' ]
2022-07-01T16:33:02.8053484Z [ 'Reading the import configuration. Please wait.' ]
2022-07-01T16:33:02.8054911Z [ 'Failed to Load the Import Configuration : Config File Missing' ]
2022-07-01T16:33:02.8082593Z [ 'Failed to Load the Import Configuration : Config File Missing' ]
2022-07-01T16:33:02.8497684Z [ 'Microsoft PowerPlatform CLI' ]
2022-07-01T16:33:02.8499104Z [ 'Version: 1.15.9+gf60807f' ]
2022-07-01T16:33:02.8500183Z [ '' ]
2022-07-01T16:33:02.8512553Z [ 'Error: Failed to Load the Import Configuration : Config File Missing' ]
2022-07-01T16:33:02.8512956Z [ '' ]
2022-07-01T16:33:02.8517181Z [ 'Usage: pac package deploy [--logFile] [--logConsole] --package' ]
2022-07-01T16:33:02.8517930Z [ '' ]
2022-07-01T16:33:02.8518534Z [ '  --logFile                   Log file path (alias: -lf)' ]
2022-07-01T16:33:02.8519265Z [ '  --logConsole                Output log to console (alias: -c)' ]
2022-07-01T16:33:02.8520305Z [ '  --package                   path to a package dll or zip file with a package (alias: -p)' ]
2022-07-01T16:33:02.8521136Z [ '' ]
2022-07-01T16:33:03.0408626Z ##[error]error: 1
2022-07-01T16:33:03.0423353Z ##[error]failed: Reading the import configuration. Please wait.
Failed to Load the Import Configuration : Config File Missing
Failed to Load the Import Configuration : Config File Missing
Microsoft PowerPlatform CLI
Version: 1.15.9+gf60807f
Error: Failed to Load the Import Configuration : Config File Missing
Usage: pac package deploy [--logFile] [--logConsole] --package
--logFile                   Log file path (alias: -lf)
--logConsole                Output log to console (alias: -c)
--package                   path to a package dll or zip file with a package (alias: -p)
2022-07-01T16:33:04.0077024Z [ 'Authentication profiles and token cache removed' ]
2022-07-01T16:33:04.1815274Z [ 'The Clear Authentication Result: Authentication profiles and token cache removed' ]
2022-07-01T16:33:04.1823701Z ##[error]Error: Reading the import configuration. Please wait.
Failed to Load the Import Configuration : Config File Missing
Failed to Load the Import Configuration : Config File Missing
Microsoft PowerPlatform CLI
Version: 1.15.9+gf60807f
Error: Failed to Load the Import Configuration : Config File Missing
Usage: pac package deploy [--logFile] [--logConsole] --package
--logFile                   Log file path (alias: -lf)
--logConsole                Output log to console (alias: -c)
--package                   path to a package dll or zip file with a package (alias: -p)

@pj68811 thanks for reporting. This is a partially known issue, see the discussion in #125
What would help us understand WHY your package is not loaded, please check the deploy details log, which should be attached to your AzDO run as artifact, see this post:
https://github.com/microsoft/powerplatform-build-tools/issues/125#issuecomment-1171847169

Could not load file or assembly 'Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified
A365forDeviceServicePackage-2022-07-01T16-33-00.735Z.log
.

@pj68811 thank you for the log, that was helpful. This is a dupe to the earlier issue #125 and also tracked by our internal bug AB#2776373
Dupe to #125


Exercise _† not doable

The statement in question is not (quite) provable.
Firstly, we are asked to formalise the translation _†. As a total function, _† must have a case for each constructor of the source language, for example, it would map S.zerotoT.zero.
But now we have that S.zero † ≡ T.zero but we don't have S.zero † ~ T.zero because the irrelevant constructors are omitted from the _~_ relation on purpose.
What would work is the following:
†≡→~ : ∀ {Γ A}
    → (M : Γ S.⊢ A)
    → {N : Γ T.⊢ A}
    → SimulationRelevant M
    → M † ≡ N
      ------------
    → M ~ N

where SimulationRelevant is a predicate on source terms which excludes the irrelevant constructors.
Let me know if this makes sense, and if so, I am happy to make a pull request.

#551 may be relevant.

#551 may be relevant.


Local CCM activation via config file

As a rpc-go user, I want to activate AMT to CCM using config file.
Acceptance Criteria:

[x] Activate AMT to CCM locally using config file

Resolved in https://github.com/open-amt-cloud-toolkit/rpc-go/pull/626/files


LG Washer doesn't display

Hi,
Have been trying to use Homebridge with your plugin for LG washing machine but get the following error in terminal.
(node:16165) UnhandledPromiseRejectionWarning: TokenError: An authentication token was rejected.
at Function. (/usr/local/lib/node_modules/homebridge-wideq/node_modules/wideq/lib/core/auth.ts:89:13)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-wideq/node_modules/wideq/dist/core/auth.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:16165) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:16165) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
and below config done on home bridge
{
"refresh_token": "0cc7631c1e0a984eeed95d44ff248lab4d27dfbaf2ff8cb33d9db0b9401ec9c0867e7991ce14ad912397552fcefee571",
"country": "IN",
"language": "en-US",
"interval": 10,
"debug": false,
"platform": "WideQ"
}
Pls help to resolve this issue.
Regards
Shailesh K.

Can you help to address the issue.


fix(profile): update user profile

update the user profile for responsive use and guidelines

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1594-fabric8-ui.int.rdu2c.fabric8.io

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1594-fabric8-ui.int.rdu2c.fabric8.io


Update date picker code

Fixes the script to work on the current versions of Google Photos.
The two problems were:

When a new timezone is selected, the dropdown field was not updated
The script failed to verify the current timezone

@pawitp thanks for the fix!