Fix memory leak issue in observability with payload content

Purpose
This is to fix the issue in adding message payload as observability metrics.
Fixes #22233
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #22267 into ballerina-1.2.x will not change coverage by %.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #22267   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 8f8e1f9...4f99c83. Read the comment docs.


Update Dependencies

Update duktape to 0.12.0 See changelog.
Update coffee-script-source to 1.12.6.

Hmm, weird. GitHub isn't seeing the Travis status. But the build did successfully complete: https://travis-ci.org/jessedoyle/coffee-script.


SteamVR does not work

Describe the bug
On recent builds of NixOS unstable, SteamVR fails with the error "A key component of SteamVR isn't working properly." and the error code 307. Reverting back to an old build with Kernel 5.10 works, so it may be related to the kernel version. I tried updating to the latest kernel, both zen and vanilla based on https://gitlab.freedesktop.org/drm/amd/-/issues/1856, but this did not resolve the issue. I use an amd 5700xt for my GPU.
Steps To Reproduce
Steps to reproduce the behavior:

Install Steam from latest unstable
Launch SteamVR with valve index

Expected behavior
SteamVR works without issue.
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.17.2, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.0pre20220411_f7276bc`
 - channels(wyatt): `"nixos-21.05pre281538.9e377a6ce42"`
 - channels(root): `"nixos-21.05pre290427.673aea9f84c"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@wizardwatch are you still unable to run SteamVR? It's working for me.

Played Beat Saber just yesterday.


Panic/Warn, don't silently truncate, copy() when destination buffer is too small

copy() silently ignores the case where destination is too small to contain the values from the source buffer. Can we extend the API to report an error for this, or at least panic()?

This is well documented: https://golang.org/pkg/builtin/#copy
In particular, it returns an int to report the number of bytes copied. You could easily write your checks with that.
We can't change its signature now, as that would be a breaking change. See https://golang.org/doc/go1compat. Feel free to write a Go2 proposal, but I imagine this change is far too small and unimportant to warrant changing the builtin package.

Checking integers is not something the Go ecosystem easily enforces on behalf of the unsuspecting programmer. Checking errors (errcheck) is.


kotlin-scale-codec

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below 30k at the time of submission.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Sorry for the late reply.I just adjusted the period and estimated period, and the repo.
We decided to use kotlin and swift (of course, we can also start the swift version). It is just that emerging apps and developers use them more. And we did find many kotlin advantages in some aspects (Security and other comparisons are not mentioned here): Less code, Multi-Platform Development, Easy to Learn. It enables us to carry out the same tasks with less time and effort. When the code is simple and easier to understand, errors are harder to make and much easier to find and thus their chances are reduced significantly.
I think this is more important in polkadot. Now polkadot is more difficult for developers to learn than other projects. Many blockchain developers expect to use polkadot. When they do n’t know how to develop, or they lack a simple and easy-to-understand tool library, This can reduce ecological access requirements.

It seems to propose only a codec implementation, and not a complete API and client library for sending extrinsics and receiving a response (listening to events). Without a full client-side library, it would be an incomplete solution for others to use.
Moreover, Kotlin does not seem to be a super high-priority language to target, at this time, imo.

thank you for the application. from a legal / an accounting point of view we would require you to disclose more information about your company such as official name, address, etc. is that an option for you?

It seems to propose only a codec implementation, and not a complete API and client library for sending extrinsics and receiving a response (listening to events). Without a full client-side library, it would be an incomplete solution for others to use.
Moreover, Kotlin does not seem to be a super high-priority language to target, at this time, imo.

we'll make these functions into an rpc client

thank you for the application. from a legal / an accounting point of view we would require you to disclose more information about your company such as official name, address, etc. is that an option for you?

we are a team of individuals, so we set Personal liability in Legal Structure
If individual teams are not allowed, maybe I will close this pr and look for a suitable company to submit later, but we will continue the project.

It seems to propose only a codec implementation, and not a complete API and client library for sending extrinsics and receiving a response (listening to events). Without a full client-side library, it would be an incomplete solution for others to use.
Moreover, Kotlin does not seem to be a super high-priority language to target, at this time, imo.

update in Milestone 3

thank you for the application. from a legal / an accounting point of view we would require you to disclose more information about your company such as official name, address, etc. is that an option for you?

we are a team of individuals, so we set Personal liability in Legal Structure
If individual teams are not allowed, maybe I will close this pr and look for a suitable company to submit later, but we will continue the project.

We are fine with a team of individuals but would require at least name and address of one person. Is that possible?

thank you for the application. from a legal / an accounting point of view we would require you to disclose more information about your company such as official name, address, etc. is that an option for you?

we are a team of individuals, so we set Personal liability in Legal Structure
If individual teams are not allowed, maybe I will close this pr and look for a suitable company to submit later, but we will continue the project.

We are fine with a team of individuals but would require at least name and address of one person. Is that possible?

Of course, the information about the individual has been updated.

Sorry, for the late reply here and thanks again for the application. As you might be aware, we recently signed the Java client lib, since at this stage this sounded overall more interesting to us and we are generally not so interested in kotlin at the moment. However, this might change in the future and maybe you are able to reuse parts of the Java implementation. Therefore, it might make sense to reapply in a few months from now, once the Java implementation is done and we have generally a bigger interest in kotlin in our ecosystem.


Next 13 App Dir migration

Do you have any est. when you're planning to support App Router(NextJS 13.4)

We have a plan to start that soon.

this is done now.


How to Ensure Room Isolation for Each Course/Activity in PlugNMeet Integrated with Moodle?

I have integrated PlugNMeet with Moodle using the API Key, and I successfully created rooms with different names for each course. However, the problem is that all students, regardless of their course or activity, can access rooms belonging to other courses.
How can I ensure that rooms are completely isolated for each activity or course?
Are there specific settings or parameters (such as Room IDs or Access Tokens) that can be activated to guarantee room isolation based on the activity or course ID in Moodle?"

Additional Details to Include:
"I am using the settings Enable Simulcast = No and Enable Dynacast = No. Could these settings affect the issue?"
"How can access to rooms be managed to ensure that a room is restricted only to students enrolled in the specific activity/course within Moodle?"

Sorry, but the case was closed without a solution.

Thank you for your response @jebon57. Could you please provide further clarification on why this issue is not planned for resolution at the moment? Is there a workaround or any temporary solutions to ensure room isolation for each course/activity? Additionally, are there any upcoming updates that might address this issue?


[bug] cannot open OBS executable

Reported by: eujeffz
Expected Behavior
Open OBS correctly without any issues
Current Behavior
While trying to open OBS, an error is show. The error is coming from OBS failing to start properly. Tried with some other executables and works fine, just OBS that is having issues.
Steps to Reproduce

Add a key to open an executable

Select obs.exe inside obs folder obs-studio\bin\64bit\obs64.exe

Hit save

Press the key to open OBS in your deck

You should see the error below now

Possible Solution (Not obligatory)
Maybe we need to open OBS not as a child process? Just guessing
Context
Your Environment

ODeck version or branch : 0.0.4
Operating System and version : Windows

Maybe we need to open the process changing the cwd option to the executable path (see node child process documentation):
https://nodejs.org/api/child_process.html#child_processexecfilefile-args-options-callback
I can try to work on this bug

@EduardoJM I didn't take the time to investigate but doing this should probably fix the issue. You can take this one if you want. Just confirm your interest and I'll assign you

Assign it to me, i will work on it today


404 Page Not Found : Invalid / Non-existant token id

Hey - I'm following your blog and can't seem to get a a successful query using your provider.
I'm using a self hosted Auth Proxy and have authenticated;
 % docker run --rm -it -p 27228:27228 --env-file ./.env ghcr.io/conradludgate/spotify-auth-proxy
APIKey:   qoYoZ-_ouqBGi7cFslJw8Ilpe9xRPHn7qe3ytPQIxxK4tTrnGrai7VGWL7mdjvlb
Auth URL: http://localhost:27228/authorize?token=QQQDuc8UIw-5Og6DmWhzdQJKbzhOxtbTEPQsN89KcjejJ4ctEInpiJ78q8fO0tl_
Authorization successful

However, when I run the Terraform Apply command I'm met with;
│ Error: could not perform search [[artist:"Dolly Parton"]]: Get "https://api.spotify.com/v1/search?limit=10&q=artist%3A%22Dolly+Parton%22&type=track": 404 page not found
│
│
│   with data.spotify_search_track.by_artist,
│   on main.tf line 36, in data "spotify_search_track" "by_artist":
│   36: data "spotify_search_track" "by_artist" {

Taking the URL that was spat out above results in;
{
    "error": {
        "status": 401,
        "message": "No token provided"
    }
}

By adding in a Bearer token (Generated through the Dev Console of Spotify) I finally get results to print to POSTMAN, but I don't see anything in your doc that would suggest I could use my bearer token...
Any thoughts?

Can I see your terraform files? You should be setting the api_key field in the provider configuration to the one the docker container gave you
provider "spotify" {
  api_key = "qoYoZ-_ouqBGi7cFslJw8Ilpe9xRPHn7qe3ytPQIxxK4tTrnGrai7VGWL7mdjvlb"
}

(or you can omit that section, and terraform should prompt you for the api key)

main.tf
# Configuration for Terraform
terraform {
  required_providers {
    spotify = {
      version = "~> 0.1.5"
      source  = "conradludgate/spotify"
    }
  }
}

# Configure "Spotify" community provider
provider "spotify" {
  api_key = var.spotify_api_key
}

# Defined in the terraform.tfvars files
variable "spotify_api_key" {
  type = string
}

resource "spotify_playlist" "playlist" {
  name        = "Terraform Summer Playlist"
  description = "This playlist was created by Terraform"
  public      = true

  tracks = [
    data.spotify_search_track.by_artist.tracks[0].id,
    data.spotify_search_track.by_artist.tracks[1].id,
    data.spotify_search_track.by_artist.tracks[2].id,
  ]
}

data "spotify_search_track" "by_artist" {
  artists = ["Dolly Parton"]

  #  album = "Jolene"
  #  name  = "Early Morning Breeze"
}

output "spotify_api_key"{
  value = var.spotify_api_key
}

output "playlist_url" {
  value       = "https://open.spotify.com/playlist/${spotify_playlist.playlist.id}"
  description = "Visit this URL in your browser to listen to the playlist"
}

terraform.tfvars
spotify_api_key     = "Super Secret.. Shhh"

I had my AWS credentials in my ENV prior, but I also ran the aws configure just to be safe to no results.

Probably worth updating the version to 0.2.2, a few bugs have been fixed since then

You'll want to update your blog as well if that's the case!

It's not my blog! It's from Hashicorp (I am unaffiliated with them)

Alright - Changing to use 0.2.2 did solve the first issue (or at least made it more verbose) but I'm still seeing a similar issue;
I've made sure to Authenticate using the spotify-auth-proxy;
% docker run --rm -it -p 27228:27228 --env-file ./.env ghcr.io/conradludgate/spotify-auth-proxy
APIKey:   ...
Auth URL: http://localhost:27228/authorize?token=...
Authorization successful

However, when I run Terraform Apply;
│ Error: could not perform search [[artist:Dolly Parton]]: Get "https://api.spotify.com/v1/search?limit=10&q=artist%3ADolly+Parton&type=track": APIToken: invalid authorization
│
│
│   with data.spotify_search_track.by_artist,
│   on main.tf line 33, in data "spotify_search_track" "by_artist":
│   33: data "spotify_search_track" "by_artist" {

It's not my blog! It's from Hashicorp (I am unaffiliated with them)

Dang those guys sending all the traffic at you like this ;)

Hmm. That error occurs when the API Key is wrong. Maybe double check it (it changes every time you run the docker container) or you can add SPOTIFY_PROXY_API_KEY=MY_FIXED_API_KEY to your env file

That did the trick!
Thanks Conrad :)


Erro ao executar uvicorn.run(...)

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import List, Optional

from fastapi import Depends, FastAPI, HTTPException, Query
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine, select

class TeamBase(SQLModel):
    name: str = Field(index=True)
    headquarters: str

class Team(TeamBase, table=True):
    __table_args__ = {'extend_existing': True} # includes this line
    id: Optional[int] = Field(default=None, primary_key=True)

    heroes: List["Hero"] = Relationship(back_populates="team")

class TeamCreate(TeamBase):
    pass

class TeamRead(TeamBase):
    id: int

class TeamUpdate(SQLModel):
    id: Optional[int] = None
    name: Optional[str] = None
    headquarters: Optional[str] = None

class HeroBase(SQLModel):
    name: str = Field(index=True)
    secret_name: str
    age: Optional[int] = Field(default=None, index=True)

    team_id: Optional[int] = Field(default=None, foreign_key="team.id")

class Hero(HeroBase, table=True):
    __table_args__ = {'extend_existing': True} # includes this line
    id: Optional[int] = Field(default=None, primary_key=True)

    team: Optional[Team] = Relationship(back_populates="heroes")

class HeroRead(HeroBase):
    id: int

class HeroCreate(HeroBase):
    pass

class HeroUpdate(SQLModel):
    name: Optional[str] = None
    secret_name: Optional[str] = None
    age: Optional[int] = None
    team_id: Optional[int] = None

class HeroReadWithTeam(HeroRead):
    team: Optional[TeamRead] = None

class TeamReadWithHeroes(TeamRead):
    heroes: List[HeroRead] = []

sqlite_file_name = "database.db"
sqlite_url = f"sqlite:///{sqlite_file_name}"

connect_args = {"check_same_thread": False}
engine = create_engine(sqlite_url, echo=True, connect_args=connect_args)

def create_db_and_tables():
    SQLModel.metadata.create_all(engine)

def get_session():
    with Session(engine) as session:
        yield session

app = FastAPI()

@app.on_event("startup")
def on_startup():
    create_db_and_tables()

@app.post("/heroes/", response_model=HeroRead)
def create_hero(*, session: Session = Depends(get_session), hero: HeroCreate):
    db_hero = Hero.from_orm(hero)
    session.add(db_hero)
    session.commit()
    session.refresh(db_hero)
    return db_hero

@app.get("/heroes/", response_model=List[HeroRead])
def read_heroes(
    *,
    session: Session = Depends(get_session),
    offset: int = 0,
    limit: int = Query(default=100, lte=100),
):
    heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
    return heroes

@app.get("/heroes/{hero_id}", response_model=HeroReadWithTeam)
def read_hero(*, session: Session = Depends(get_session), hero_id: int):
    hero = session.get(Hero, hero_id)
    if not hero:
        raise HTTPException(status_code=404, detail="Hero not found")
    return hero

@app.patch("/heroes/{hero_id}", response_model=HeroRead)
def update_hero(
    *, session: Session = Depends(get_session), hero_id: int, hero: HeroUpdate
):
    db_hero = session.get(Hero, hero_id)
    if not db_hero:
        raise HTTPException(status_code=404, detail="Hero not found")
    hero_data = hero.dict(exclude_unset=True)
    for key, value in hero_data.items():
        setattr(db_hero, key, value)
    session.add(db_hero)
    session.commit()
    session.refresh(db_hero)
    return db_hero

@app.delete("/heroes/{hero_id}")
def delete_hero(*, session: Session = Depends(get_session), hero_id: int):

    hero = session.get(Hero, hero_id)
    if not hero:
        raise HTTPException(status_code=404, detail="Hero not found")
    session.delete(hero)
    session.commit()
    return {"ok": True}

@app.post("/teams/", response_model=TeamRead)
def create_team(*, session: Session = Depends(get_session), team: TeamCreate):
    db_team = Team.from_orm(team)
    session.add(db_team)
    session.commit()
    session.refresh(db_team)
    return db_team

@app.get("/teams/", response_model=List[TeamRead])
def read_teams(
    *,
    session: Session = Depends(get_session),
    offset: int = 0,
    limit: int = Query(default=100, lte=100),
):
    teams = session.exec(select(Team).offset(offset).limit(limit)).all()
    return teams

@app.get("/teams/{team_id}", response_model=TeamReadWithHeroes)
def read_team(*, team_id: int, session: Session = Depends(get_session)):
    team = session.get(Team, team_id)
    if not team:
        raise HTTPException(status_code=404, detail="Team not found")
    return team

@app.patch("/teams/{team_id}", response_model=TeamRead)
def update_team(
    *,
    session: Session = Depends(get_session),
    team_id: int,
    team: TeamUpdate,
):
    db_team = session.get(Team, team_id)
    if not db_team:
        raise HTTPException(status_code=404, detail="Team not found")
    team_data = team.dict(exclude_unset=True)
    for key, value in team_data.items():
        setattr(db_team, key, value)
    session.add(db_team)
    session.commit()
    session.refresh(db_team)
    return db_team

@app.delete("/teams/{team_id}")
def delete_team(*, session: Session = Depends(get_session), team_id: int):
    team = session.get(Team, team_id)
    if not team:
        raise HTTPException(status_code=404, detail="Team not found")
    session.delete(team)
    session.commit()
    return {"ok": True}

if __name__ == "__main__":
    import uvicorn
    uvicorn.run("main:app", host="<IP_ADDRESS>", port=5000, log_level="info")

Description
By running the above code via command line "uvicorn main:app --reload" you can insert and fetch data as normal.
But when I add uvicorn and run it using the uvicorn.run() function, I can't insert and query data.
Erro: ...\venv\Lib\site-packages\fastapi\concurrency.py", line 36, in contextmanager_in_threadpool
raise e
sqlalchemy.exc.InvalidRequestError: Multiple classes found for path "Hero" in the registry of this declarative base. Please use a fully module-qualified path.
Operating System
Windows
Operating System Details
windows 11
SQLModel Version
0.0.8
Python Version
Python 3.11.0
Additional Context
I'm having this difficulty to be able to implement the other information, because I need to follow the uvicorn.run(...) to run it on the server.
FastAPI Version: 0.89.1

Change this:
uvicorn.run("main:app", host="<IP_ADDRESS>", port=5000, log_level="info")

to this:
uvicorn.run(app, host="<IP_ADDRESS>", port=5000, log_level="info")

See my comment here: https://github.com/tiangolo/sqlmodel/issues/350#issuecomment-1328243239


C# 8.0: new index and range operators

New index-from-end (^) and range (..) operators should be added to the language reference. Short descriptions and examples and then reference already existing tutorials.
@BillWagner this is for the C# 8 docs project.
Could you please assign this issue to me?
Is the Member access operators a proper article to mention new operators? If not, they get their own pages.

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

ID: 0a25abe4-2b4e-119e-85e9-af19ed06e8c0
Version Independent ID: 682b8c86-e49a-1d6d-8562-c9f919082bdc
Content: Member access operators - C# reference
Content Source: docs/csharp/language-reference/operators/member-access-operators.md
Product: dotnet-csharp
GitHub Login: @pkulikov
Microsoft Alias: wiwagn

Thanks @pkulikov
Assigned and labeled.


FPP player and Falcon controllers

Hi, does this work with FPP and Falcon controllers? Or would I have swap out Lumos for something else?

It works with FPP, you just need to enable E1.31 Inputs and map your FPP channels to E1.31 Universes, keeping in mind that the max number of channels per Universe is 512.  3 channels per pixel => 510 usable channels per Universe.  Make sure FPP isn't trying to play anything when you're sending commands via E1.31/Lumos.

Thanks so much, really helpful!


consider renaming Reader/Writer to IonReader/IonWriter

Today, the common pattern is to import {Reader as IonReader} from 'ion-js', and similarly for Writer.  Or to import * as ion from 'ion-js' (which then requires prefixing all Ion references with "ion.").
In a world where customers don't want to import * as ion, and where renaming imported types is a bore, seems like it would be nice to rename Reader to IonReader, and Writer to IonWriter.
I suppose doing so would result in ion.IonReader references for those who do want to import * as ion.  Hmm....

We're not fully convinced we should make this change;  what's the right pattern to follow here?

After discussion, leaving as-is; closing


support cuda

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@jakirkham, @kkraus14, @jaimergp have you seen the following error before?

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -Isrc -c src/vkfft_cuda.cu -o build\temp.win-amd64-cpython-310\Release\src/vkfft_cuda.o -O3 --ptxas-options=-v -Xcompiler /MD -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64"
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

@jakirkham, @kkraus14, @jaimergp have you seen the following error before?

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -Isrc -c src/vkfft_cuda.cu -o build\temp.win-amd64-cpython-310\Release\src/vkfft_cuda.o -O3 --ptxas-options=-v -Xcompiler /MD -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64"
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

I unfortunately have not, but I've done close to 0 Windows development 😅

Sorry I haven't either. Would defer to Jaime who has done a fair bit of work with CUDA on Windows.

Hm, I haven't seen this, but my experience with Windows/CUDA involved CMake primarily.
 Maybe everything after -Xcompiler gets treated as host compiler options? What if you move the ccbin part to earlier in the command? Our wrapper puts it right after nvcc.exe.

@conda-forge-admin, rerender


Add elixir 1.2.3 to version list.

Thank you @NobbZ ~! Since the version ordering changes caused conflicts I added it manually. So closing this PR.


fix: handle scaled parent elements

fixes #376

@FezVrasta https://github.com/twbs/bootstrap/compare/main-xmr-test-popper (ignore the lint failure)
Not sure how to test this since including your branch seems to break building.

Sorry, nevermind, there are some of our own E2E tests that are failing, we'll need to fix them first.

Hi. Just checking to see if there are plans to merge this in once tests pass?

I don't have time to fix the code so that tests pass. Contributions are welcome

I've written up some logic to only apply the scale in getBoundingClientRect when called in getCompositeRect and the offsetParent is scaled.
I added a few more test cases for some combinations of reference, popper, and parent elements being scaled. I'm not convinced that this isn't going to break anything else or work for all scales scenarios, but all the tests pass (except one functional test in scrolling-fixed.test.js that's also failing for me on master?).
If you want to give me access, I can create a branch off of this branch and make a PR if you want.

Feel free to branch this out, it'd be great to get this fixed

PR here: https://github.com/popperjs/popper-core/pull/1322 with the above-mentioned changes.

As far as I can tell, our popper's ancestor elements have no scaling applied, but upgrading from 2.9.2 to 2.9.3 caused our popper locations to change (shifted upwards maybe 16px if I had to guess.)

As far as I can tell, our popper's ancestor elements have no scaling applied, but upgrading from 2.9.2 to 2.9.3 caused our popper locations to change (shifted upwards maybe 16px if I had to guess.)

Please open a new issue

The scaleX and scaleY values will be set to Infinity when element.offsetWidth is 0, which results in the popper location change. I'll open a new issue for this.


User info popover does not hide when clicking on menu

Steps to reproduce:

Go to https://chat.zulip.org/
Hover over a user at the right pane of the screen
Click on the down-chevron to open user-information about the user
Without closing this popover, click on the menu gear icon at the top right corner, to open
the dropdown menu.

Expected Behaviour: The user popover should close and only the dropdown menu should be visible
Observed Behaviour: The user popover does not close.
Image:

This causes problems in mobile view(tested for Iphone X using Developer Tools) because the popover causes the dropdown to be behind it. Attaching an image:

Working on this issue. Will submit a PR in 1-2 hours.


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (C:\Users\Stive\AppData\Local\atom\app-0.187.0\resources\app\src\atom.js:54:11)
Object.setFileClasses (C:\Users\Stive\.atom\packages\jslint\node_modules\atom-keymap-plus\index.js:9:13)

Thx fir reporting. I will look into it on Monday

looks like you're using a old version of jslint. the error is coming from atom-keymap-plus which jslint is not using anymore.
try uninstalling and reinstalling jslint


method does not override or implement a method from a supertype

Hello team,
I need to use google sign in my react native app but faced problem in RNGoogleSigninModule.java
file in onNewIntent method, If remove @override then unable to redirect in google logi. plz suggest me

Also running into this issue, on react-native 0.31.0 and react-native-google-signing 0.8.0.

Solved it by launching react-native upgrade command.
Some paths in build.gradleand app/build.gradle needed to be updated.

In an effort to clean the issues up, this is being closed. Please open a new issue with a reproduction if you're still experiencing a problem.


Unsupported repository version 0.

Not sure how I was able to produce this, but I was mixing between starting devstack and normal hybrid node
failed to reconcile repo:
Unsupported repository version 0.
Bacalhau does not know how to read this configuration format and
you will need to upgrade to a newer version to upgrade this repository.

I suspect this will be addressed by: https://github.com/bacalhau-project/bacalhau/pull/4520 | https://github.com/bacalhau-project/bacalhau/pull/4521


feat: draco server (#394)

Goals
Adds a FastAPI submodule inside the draco module to expose the main features of Draco through REST endpoints. I implemented a basic layered architecture (model - service - controller) to provide reasonable testability and extensibility.
Notes

The server can be started by executing make serve. OpenAPI docs are accessible through http://localhost:8000/docs.
This PR still misses some key features, I would implement them after a brief discussion of the progress so far, to make sure that I am heading in the right direction

closes #394

Points to discuss
Endpoints
Currently, all public methods of draco.Draco are exposed through endpoints as well as draco.run.run_clingo is supported to allow solving arbitrary ASPs. Should we expose utility methods too from draco.fact_utils? Can you think of further endpoints to be implemented?
Deployment
I was thinking about creating a simple Dockerfile to facilitate the deployment. Should we push the created image to an image registry, or do we just focus on having a server instance up and running on some infrastructure and we can skip DevOps overengineering?
API Docs and Custom Errors
As soon as we fix the endpoints we support for now, I would invest some more time into extending the OpenAPI docs as well as creating some more custom errors to indicate common
API Testing
For now, I just used fastapi.testclient to test the actual endpoints of draco.server.controller. Should I create a Postman / Insomnia /  collection of example requests in addition to it?  Such a collection might be also useful as a kind of documentation of the server for devs exploring the API. (OpenAPI also makes it possible to send example requests, but the payload is always statically set to the wrapped python methods' default values, making it inflexible for exploration)
Serializing Clingo Symbols
For now, I added a very primitive serialization logic for clingo.Symbol just to have a default JSON representation to it that we can return to the client when they POST to /run-clingo or /complete-spec. All I did in draco.server.utils for now is:
def clingo_symbol_to_jsonable_symbol(symbol: clingo.Symbol) -> ClingoSymbol:
    return {"type": symbol.type.name, "value": str(symbol)}

What do you think, what other attributes of clingo.Symbol should be added here? In general, how detailed should a clingo result be described? Maybe a structure similar to that discussed in domoritz/clingo-wasm#229?

Hey @domoritz!
As soon as we finalize the endpoints and their signatures (that is, what is the JSON input we expect from users) I'll create detailed docs about the server in jupyter-book.
You can explore the current state of the server through the OpenAPI UI by executing
python -m draco.server then opening http://localhost:8000/docs.

This is great. I love how I can try this online at http://<IP_ADDRESS>:8000/docs/. I will merge this but it would be good to add some docs to the website as well to tell people how to use the server.

Thanks for the review, I opened #422 for docs.


pass the file to python

Dear Mr. Romulo,
good day
Please i need your support to know how to give the path to the file used for the Python language after the attachedscreen appears,

or please i need your support to know how to give the input file and get the output file
Best Regards
Mohamed

Hi, @12345Mohamed, it appears that you're opening your Python shell without passing the command. The script accepts commands in the form python run.py <input_path> <vehicles_number>
If that's the situation, try to open a terminal command line, then go to repository base directory and run the following command to test:
python run.py input/Augerat/A-n32-k5.vrp 5

If it works, you can replace the input and vehicles number with your desired inputs.
Note that when this project was made, it was using Python 2.7 and it may not work with Python 3.

Dear Mr. Romulo
First of all, I would like to thank you for your prompt response and support.
Please note that I downloaded version 2.7 of the Python program and ran the program through the command line and still there is an issue, the attached result appeared in the email and I also added a copy of the program in the attachments because I modified the print command from print”” to print(“”) in all files because it was not working properly.
Please advise
Best Regards
Mohamed

من: Rômulo Oliveira<EMAIL_ADDRESS>تم الإرسال: 22/شوال/1441 10:37 م
إلى: RomuloOliveira/monte-carlo-cvrp<EMAIL_ADDRESS>نسخة: 12345Mohamed<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>الموضوع: Re: [RomuloOliveira/monte-carlo-cvrp] pass the file to python (#13)
Hi, @12345Mohamedhttps://github.com/12345Mohamed, it appears that you're opening your Python shell without passing the command. The script accepts commands in the form python run.py <input_path> <vehicles_number>
If that's the situation, try to open a terminal command line, then go to repository base directory and run the following command to test:
python run.py input/Augerat/A-n32-k5.vrp 5
If it works, you can replace the input and vehicles number with your desired inputs.
Note that when this project was made, it was using Python 2.7 and it may not work with Python 3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RomuloOliveira/monte-carlo-cvrp/issues/13#issuecomment-643831455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUSTZOBI6WSW2CJ46TXLS3RWVGLXANCNFSM4N472IRQ.

I've seen in #14 that you were able to call the example file. I'll resolve this issue, let's keep #14 open to fix your other problem.


test: add invoke scenario to test_tx_executor

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.00%. Comparing base (0f07548) to head (dfe4c68).

Additional details and impacted files
@@                      Coverage Diff                       @@
##           arni/tx_executor/test/declare    #1629   +/-   ##
==============================================================
  Coverage                          73.00%   73.00%
==============================================================
  Files                                 59       59
  Lines                               8331     8331
  Branches                            8331     8331
==============================================================
  Hits                                6082     6082
  Misses                              1768     1768
  Partials                             481      481

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

crates/blockifier/src/blockifier/transaction_executor_test.rs line 96 at r3 (raw file):
Previously, barak-b-starkware wrote…
Why did you choose those two entry points?

assert_eq - arbitrarily, I wanted something very simple.
test_emit_events - I chose the most straightforward entry point that has a code that uses emit_event.

crates/blockifier/src/blockifier/transaction_executor_test.rs line 96 at r3 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
assert_eq - arbitrarily, I wanted something very simple.
test_emit_events - I chose the most straightforward entry point that has a code that uses emit_event.

test_emit_event - the only* entry point that uses the emit_event.


npm i --save-dev

Why do we need to save for dev? I would be needing this on runtime.
Note: Other plugins documented the same way too.

Because maintainers so wanted.

@dimensi It is not about wanting. Thanks for your useful comment.

I brought up the same topic with the maintainers and they said that after long discussions, they decided that it would be so.
They consider if the package does not fall as a separate package to the front, and as part of something, this means you need to use --save-dev

@dimensi It must be bundled to core then.

Looks like they will fix it for the editorjs docs: https://github.com/codex-team/editor.js/issues/730


feat/partial-autofill-schedule-fare

Please review before merging.

:tada: This PR is included in version 1.54.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PR's link in notification is not working.

If you click this #2307, the following message will be displayed.
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/pulls#get-a-pull-request"
}

Thanks.

Likely fixed by https://github.com/Gamesight/slack-workflow-status/pull/16 or possibly https://github.com/Gamesight/slack-workflow-status/pull/13


Implement main encoding types

Here's a list of the encoding types that I eventually wish to implement for Fasters:

tag-value
FAST
JSON (with serde-json)
Simple Binary Encoding, both LE and BE variants
Google protobufs (possibly prost)
FIXML (xml-rs or quick-xml)

The ASN.1 is very low on the priority list and it needs further evaluation before any work is done.

v0.2 adds JSON support and improves tag-value support. FAST is next on the TODO list.

v0.2 adds JSON support and improves tag-value support. FAST is next on the TODO list.

@neysofu Could you please explain why you are not using tokio_util::codec (https://docs.rs/tokio-util/0.6.3/tokio_util/codec/index.html) or futures_codec traits for your codecs? IMHO it would add more flexibility in terms how your library might be used

Hi @Alexei-Kornienko, several reasons why I've chosen not to:

For many (most) FIX encoding types, tokio_util::codec::Decoder::decode is actually useless and only tokio_util::codec::Decoder::decode_eof would be used. Take the JSON encoding, for example. The FIX specification doesn't even consider the need for frameless (aka "streaming") decoding. The same goes for high-performance encoding types, which almost always use SOFH as a custom framing mechanism. Using the Tokio trait requires FerrumFIX to implement streaming decoding even where it is completely unnecessary because you'd already have a framing mechanism in place. This complicates things. I also suspect that it might impact performance severely, but I don't have the numbers to back this up.
(This is huge.) To avoid allocations. tokio_util::codec::{Decoder, Encoder} respectively give and require ownership of items. You can get around this restriction with devices like Arc and Rc, but IMHO it makes more sense to directly use references.
I don't want FerrumFIX users to be trapped in the Tokio ecosystem. BytesMut is an opinionated choice which makes sense most of the time, but I'd rather use simple traits like fefix::buffering::Buffer which allows for custom implementations with few lines of code without pulling dependencies. Also, dealing with raw byte buffers is much easier and it allows for simpler zero-copy operations in some cases. The current implementation of the tag-value decoder is a great example of this.

I'll think some more about this, but I'm inclined to keep things as they are right now.

Hey @neysofu ,
I'm still relatively new, I had a question if bincode is a viable option for simple binary encoding

Hi @felixfaisal, no it's not supported. Maybe one day in the future but it's not even on the roadmap as of now

Hello - I'd love to jump into contributing to this project.  This issue is still open but over three years old - still needed?


multiple option not working

I've been trying to set a multiple input, but it doesn't seem to work anymore.
I created a meteor pad to show you the error, and in the pad it doesn't display the labels. I'm not sure why this is happening, but it doesn't happen to me. My problem is not being able to select more than one option.
http://meteorpad.com/pad/rqWMK6D6hfJiyxFX6/Leaderboard
My version of Meteor is 1.0.5, and the Meteor Pad is <IP_ADDRESS>.

Thanks. Merged PR which should fix this in 2.0.2.


Why I got the error  Could not find method maven() for arguments

here is my environment
$ flutter doctor -v
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.16299.78                                                                                5], locale zh-CN)
    • Flutter version 1.0.0 at D:\flutter\flutter
    • Framework revision 5391447fae (2 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: D:\as\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at D:\as
    • Flutter plugin version 31.2.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Ultimate Edition (version 2018.2)
    • IntelliJ at F:\idejava\IntelliJ IDEA 2018.2.5
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.`

and next is my gradle.build file
buildscript {
    repositories {
        google()
        jcenter()
        mavenCentral()
       maven { url 'https://maven.google.com' }
        //mavenCentral()
     //   maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/' }
    //    maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
    }
}

allprojects {
    repositories {
      //  maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
       // maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
        mavenCentral()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

when I run the flutter run I got the error as follow
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "D:\flutterproject\tk\android\gradlew.bat" exited abnormally:
Starting a Gradle Daemon (subsequent builds will be faster)

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

* Where:
Script 'D:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 27

* What went wrong:
A problem occurred evaluating script.
> Could not find method maven() for arguments [flutter_70fv7lssvws82r3weljr8tpe1$_run_closure1$_closure4@1cee875f] on object of type org.gradle.api.internal.initialization.DefaultScriptHandler.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 55s
  Command: D:\flutterproject\tk\android\gradlew.bat app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


Text cursor misplaced

Hello,
I'm having an issue with the text cursor. It seems to be misplaced, look at the screen :

When nothing in the textarea :

I'm using Bulma as front-end.
Font-awesome is loaded.
This is my textarea :
<textarea id="text" name="text" required></textarea>

JS load order :
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

And the script to enable Simplemde :
<script type="text/javascript">
    new SimpleMDE({
      element: document.getElementById("text"),
      spellChecker: false,
      hideIcons: ["guide"],
      placeholder: "Text in markdown...",
      autosave: {
            enabled: true,
            uniqueId: "1",
            delay: 15000,
        },
      renderingConfig: {
            singleLineBreaks: true,
            codeSyntaxHighlighting: true,
        },
    });
  </script>

Thanks for you help !

I'm also having this issue. I assume there's something about Bulma that is conflicting, since I also have Bulma installed.

I try to edit some CSS in Bulma but no way. There is always the misplaced cursor :thinking:

I've narrowed down the issue to the pre CodeMirror-line.
It is inheriting from Bulma:
margin-bottom: 1em;
As a temporary fix for bulma, I've inserted this slot of code and the cursor behaves how it should.
	<style type="text/css">
		.content p:not(:last-child), .content dl:not(:last-child), .content ol:not(:last-child), .content ul:not(:last-child), .content blockquote:not(:last-child), .content pre:not(:last-child), .content table:not(:last-child){
			margin-bottom: 0em;
		}
	</style>

You apply this rules on simpleMde textarea ?

This is where i got the selector from:
https://i.gyazo.com/3848bac2c7aabd696b10fef42ff03c82.png
The Bulma selector seems to have a higher precedence than any rule I try to apply to .CodeMirror pre

There may be another solution: to make the original input hidden
 <input id="body" type="hidden" name="body">

for me it solved the problem of cursor

I used the previewRender function 🎉.
From docs
previewRender: function(plainText) {
	return customMarkdownParser(plainText); // Returns HTML from a custom parser
}

My example:
data () {
    return {
      configs: {
        spellChecker: false,
        previewRender: (plainText) => {
          return `<div class="content">${ marked(plainText) }</div>`
        }
      }
    }
  }

I used marked to convert the markdown in HTML.


JSQMessage Hash Function Crash (Swift)

Hi! Again.
I implemented successfully JSQMessages days ago. But I have noticed that sometimes (I don't know
why) , when generating a JSQMessage the hash function example provided in #680 causes crashes
Nil values is not the problem. My code is the Swift version from the thread. It seems that sometimes the hash value is less than 0 (?) according to the console prints
SenderID & Text (The NSString Variables) seems to be the problem

Someone else having this trouble?

hey @frankgumeta - it looks like you aren't adding anything extra to your messages. i would suggest simply:

just use JSQMessage directly, or
Inherit directly from JSQMessage:

@objc class Message: JSQMessage {
       // add extra functionality that you need
}

Sorry but I did'nt understand your answer =S ...

Hey @frankgumeta - based on that screenshot, it looks like you can just use JSQMessage. There's no need for you to make your own class.
Or, if you need to add functionality, you could simply subclass JSQMessage.
The JSQMessage class provides hash as well as all other basic functionality.

for people who need to implement messageHash yourself, here is a sample:
func messageHash() -> UInt {
    let contentHash = self.isMediaMessage() ? self.image_?.hash : self.text_?.hash
    return UInt(self.senderId_.hash ^ self.date_.hash ^ contentHash!)
}

I'm having trouble subclassing JSQMessage. I need to add a few things to each message, so I subclass it and in init(), I call super.init(senderId, displayName, text), but it keeps telling me I must call a designated initializer of JSQMessage. I don't exactly understand as I am calling a specific constructor...?

@brianhu I couldn't get your example to work either :-(

This issue is not to be closed for those who wants to subsclass JSQMessage. thx

After some debugging, I relalize the to hash sometimes return negative value which UInt does not accept. Thus:
    func messageHash() -> UInt {
        let contentHash = self.isMediaMessage() ? self.messageHash().hashValue : self.text_.hash
        print("*************************************")
        print(self.senderId_.hash)
        print(self.date_.hash)
        print(self.text_.hash)
        print("*************************************")
        return UInt(abs(self.senderId_.hash) ^ abs(self.date_.hash) ^ abs(contentHash))
    }

That's gonna infinitely recourse for media messages.

Yeah sorry. it was a typo, I reedited my comment


Fix one docs typo

This typo was fixed in https://github.com/facebook/react-native/pull/7553 but the submitter (understandably) did not want to bother signing a CLA to fix a typo. This PR fixes that typo ;-)

@facebook-github-bot shipit


如何实现 Provide 响应式数据提供

@Provide 所装饰的类属性，在发生改变后并没有引起子组件中对应注入数据的变化，目前不知道如何实现 Provide 的响应式数据提供。
@Provide 与 @Component 中 provide 选项的区别是什么？我以为是响应式数据和常量数据的区别。
-- 我是这几天刚学习这个框架。

@alecgibson He asked that why a provided field is not reactive in the children injections when it changed.

Can we get a failing test case? Have they made sure to follow the upstream Vue docs:

In order to make injections reactively linked to the provider, we need to provide a computed property using the computed() function

I opened a draft PR: https://github.com/facing-dev/vue-facing-decorator/pull/81
I'm not super happy with it.
In the meantime, you can work around this by using @Component({}):
@Component({
  provide() {
    return {
      providedValue: computed(() => this.dataValue)
    }
  }
})

See the docs:

The above usage requires setting app.config.unwrapInjectedRef = true to make injections automatically unwrap computed refs. This will become the default behavior in Vue 3.3 and this config is introduced temporarily to avoid breakage. It will no longer be required after 3.3.


Set graphql-core-next as v3 of graphql-core

This repository will build and distribute the graphql-core package starting at version 3.

Before making the jump from "Core-Next 1.0.5" to "Core 3.0.0", we should have a working prototype of Graphene 3 in order to be sure we have all necessary functionality (like #41 and #42). I also want to release one last version Core-Next 1.0.6 which prints a deprecation warning and points to Core 3.0.0.

Unfortunately, uploading with these deploy credentials failed. Can verify that "travis encrypt" was been executed in the right directory?


nixos-rebuild switch fails

I'm on nixos-unstable-small. I've updated channel and run nixos-rebuild switch:
[root@nixos-master:~]# nixos-rebuild switch
building Nix...
error: getting status of вЂ/nix/store/x65bfds89675b1sgy6zn7k9msjbh19zc-modules/virtualisation/amazon-config.nixвЂ™: No such file or directory
(use вЂ--show-traceвЂ™ to show detailed location information)
error: getting status of вЂ/nix/store/x65bfds89675b1sgy6zn7k9msjbh19zc-modules/virtualisation/amazon-config.nixвЂ™: No such file or directory
(use вЂ--show-traceвЂ™ to show detailed location information)
error: evaluation aborted with the following error message: вЂThis version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_NixpkgsвЂ™
/nix/store/pv978avci7km39zb4hi1p9gin3ys03r4-nixos-16.03pre75763.bf605c1/nixos/nixpkgs/nixos/modules/installer/tools/nixos-rebuild.sh: line 259: return: /nix/store/xryr9g56h8yjddp89d6dw12anyb4ch7c-nix-1.10: numeric argument required

Seems like it cannot build nix.
The help message is wrong: nixos-rebuild doesn't use nix from environment, so installing it won't help in this case (nixos-rebuild uses hardcoded nix-1.9)
Any way to upgrade the system?

Have you followed the advice in the error message and looked at https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs ?

Yes.

Evaluating curl -L https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.nix.x86_64-linux/latest-finished/nix/pkg/nix-1.10-x86_64-linux.nixpkg \ | nix-install-package --non-interactive - installed nix-1.10 into root environment, but nixos-rebuild doesn't use nix from environment, it uses hardcoded nix-1.9.
It halts during building newer nix, but shouldn't. I think, this is a backward-incompatible regression
As for _NIXOS_REBUILD_REEXEC , I do not quite understand what does it do (has no manual)

what does
system.stateVersion

in configuration.nix equal?
Thanks

what does
system.stateVersion
in configuration.nix equal?

It is not set in configuration.nix:
{ config, pkgs, ...}:
{
  imports = [
    ./amazon-base-config.nix
  ];
  ec2.hvm = true;
}

/etc/nixos/amazon-base-config.nix contains:
{ modulesPath, ...}:
{
  imports = [ "${modulesPath}/virtualisation/amazon-config.nix" ];
  services.journald.rateLimitBurst = 0;
}

When I remove the import of disappeared amazon-config.nix, I have the following output:
[root@nixos-master:~]# nixos-rebuild switch
building Nix...
error: evaluation aborted with the following error message: вЂThis version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_NixpkgsвЂ™
(use вЂ--show-traceвЂ™ to show detailed location information)
error: evaluation aborted with the following error message: вЂThis version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_NixpkgsвЂ™
(use вЂ--show-traceвЂ™ to show detailed location information)
error: evaluation aborted with the following error message: вЂThis version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_NixpkgsвЂ™
/nix/store/pv978avci7km39zb4hi1p9gin3ys03r4-nixos-16.03pre75763.bf605c1/nixos/nixpkgs/nixos/modules/installer/tools/nixos-rebuild.sh: line 259: return: /nix/store/xryr9g56h8yjddp89d6dw12anyb4ch7c-nix-1.10: numeric argument required

My $NIX_PATH is /nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
and channels are
[root@nixos-master:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-unstable-small

I've used nix-collect-garbage -d often before that and several times hit https://github.com/NixOS/nix/issues/575

I've found a way to rebuild the system. Added
/nix/store/aibd0vvcjmi1mvvccnibpaccxkf5ls63-nixos-15.07pre67133.23257cb/nixos/nixos/modules/virtualisation/amazon-config.nix

to import list and run
_NIXOS_REBUILD_REEXEC=1 nixos-rebuild switch

Note, that my ${modulesPath} refers to /etc/nixos/x65bfds89675b1sgy6zn7k9msjbh19zc-modules
Should I close this github issue, or this is definitely a bug?

closing this, as nobody seem to be interested and I have no time to reproduce this again


Scale/Position ingnored for PxrDomeLight

Hello,
we had an issue with the PxrDomeLight on the forum.
It looks like the scale and position settings of PxrDomeLight are ignored when exporting the RIB file (rotation works). By doing so, it's not possible to flip the map by negatively scaling the light in the X direction.
Cheers,
Andreas

Good day.
Are you referring to the world settings Environment setting or the Lamp object?
I was unable to reproduce the mentioned behavior with the latest version of the addon using the Environment lamp. Understandably the position setting does nothing to a PxrDomeLight but the scale options work on my end and allows me to flip the map.

Hello,
where are the "Environment Settings" for the PxrDomeLight (or HEMI type) object? Can't find them.
I've just tried it and it doesn't work for me. I've created a PxrDomeLight (which should be called Dome LIght in Blender to avoid confusion) with a scale of [-30, 30, 30] and a position of [0.05, 0.10, 0.15] and this is what's written to the RIB file for the transformation of the light ...
Transform [ 1 0 -1.50996e-007 0  -1.32005e-014 -1 -8.74228e-008 0  1.50996e-007 -8.74228e-008 1 0  0 0 0 1 ]
As you can see, all the scale and position information is stripped from the maxtrix. You have an euler conversion in line 668 of export.py which removes all of the needed values. That conversion needs to be removed. The input matrix "m" looks fine - just convert it to the version that Renderman uses and we are good to go.
Cheers,
Andreas

So more of the issue, I think we have the correct rotation on hemi lights.  I used the "Luxo Jr" env map that comes with renderman, and the name on the "Steve Jobs Building" (one of the buildings on Pixar campus is legible and the correct orientation.

Well,
and yet here are (at least) two guys where the HDRI is flipped. Fact is that Maya scales the Dome Light negatively in the X direction on creation and Blender doesn't. I guess there is a reason why Maya does this scaling.
Can you provide a scene file for us to check and compare?
Cheers,
Andreas

Fixed


unsupport multi gpus training?

unsupport multi gpus training?
I set the gpu_number as 8 and its iteration times is as the same as the gpu_number is 1.

I also have the same question. It would be greatly appreciated If I can hear something on that.


Custom types broken after upgrading to ember-cli 2.3.0-beta.2

I have a configuration like so:
flashMessageDefaults: {
  timeout: 4000,
  types: ['positive', 'negative']
},

After upgrading ember-cli, several acceptance tests fail since flashMessage service has undefined for the positive or negative methods. Is like the configuration is not being used.
I saw this in the ember-cli release notes
#5321 Ensure EmberAddon.env() works the same as EmberApp.env() @jasonmit

which seems related.
It is probably a regression in ember-cli as it was working fine at with 2.3.0-beta.1
but wanted to confirm before opening an issue over there.

Is not as initially thought that my custom config is not being loaded, as I see that the timeout value I set is being used. The problem appears to be with the types value and the way they are merged with the deafaults.
I added some debug messages to console in the addon to see what config I get.
With the value for types ['positive', 'negative']. I get
...
 [ 'success',
     'info',
     'warning',
     'danger',
     'alert',
     'secondary',
     'e',
     'f' ],
...

This is an issue in 2.3.0 beta version of ember-cli caused by lodash. Issue is tracked there  https://github.com/ember-cli/ember-cli/issues/5439


Only update trace when trace is given

Make sure trace attribute does not gets overriden when params[:trace] is not given
Fixes #295
/cc @DouweM

We can only accept a merge request if all the tests are green. I've just
restarted the build. When the tests are still not passing after this restart and
you're sure that is does not have anything to do with your code changes, please
rebase with master to see if that solves the issue.

@DouweM If you merge https://github.com/gitlabhq/gitlab-ci/pull/550 the tests on master will pass ;)

@dblessing Can you also review this one?

cc @vsizov

Thank you


Performance issues with 3000+ files

Faxes started to fail due to timeouts. I have about 3000 sent faxes at a total of ~700mb
> db.faxFile.stats()
{
	"ns" : "vapor.faxFile-backup1",
	"size" : 745257940,
	"count" : 3050,
	"avgObjSize" : 244346,
	"storageSize" : 728104960,

Removing all old files by running
> db.faxFile.renameCollection("faxFile_backup1")

Got rid of the issue. In my opinion, 3000 files totalling 700mb isn't that much data and it feels like there is some kind of inefficiency in the code. Unfortunately, I haven't had the time to look closer to try to see what the problem could be or how it could be improved but I post this here in the meanwhile as a start for further investigation.

What's missing is an index on the faxFile collection, for example, in the Mongo console, running:
db.faxFile.createIndex({"faxObjectId":1 }, {"unique": true})
completely solves the performance issue.
I don't know much about MongoKitten but reading their docs would suggest that the following code:
try FaxFile.collection.createIndex(named:"faxObjectId", withParameters: .unique)
somewhere would create the relevant index. I know too little about the codebase however to know where to put this.


Fix Partition-Capable Tests

Closed via https://github.com/spring-cloud/spring-cloud-stream/commit/c9e83bb62ce42ce35515cb71904979fd7c412e8a


adding ability to have multiple downStreamCalls per route

What is the current behavior?

Currently we cannot have multiple downstreamCalls for a Service's route.
What is the new behavior?

created new Call struct that will allow there to be multiple downStreamCalls per service.
Updated hipster-shop.yml to accomodate this.

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests(make test) for the changes have been added (for bug fixes / features) and pass
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Lint (make lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ x] Bugfix
[x ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Oh can you also fix the PR description (under What is the new behavior?) since I think the formatting got a little wonky 🙂


close #7 | review text

This PR adds 3 commits:

text review: the most important commit, actually I did my best to fix typos and to reorganise sentences. Please have a read (open index.html in a browser) and tell me if any sentence sounds weird, thanks.
document header and footer are out of scope: I removed header and footer from the document, from the documentation and the stylesheet. This happened because I needed to clarify what Rapido is and what it is not. Rapido is meant for essays, like blog posts and technical or scientific articles. As a rule of thumb, Rapido should cover only what is necessary for an article. Rapido is not meant to create websites, so anything that is outside the <article> element is out of scope. The idea behind the documentation is to show what Rapido offers, so header and footer have been removed.
organise CSS code: this commit only reorganizes the CSS code, now it should be a bit more maintainable.

Cool, many thanks!


Remove http_server start logic

Http_server should be started in SM, otherwise sm will crash due to setup twice.

@xiaoxichen @hkadayam

The start of HTTP server in HO is redundant/unnecessary as SM already did that.

Please update the conanfile.py version on every PR.

Sure, updated.

I am not sure about why the  regression in HomeObjectFixture.BasicPutGetDelBlobWRestart  get on and off, but as far as it has nothing to do with this pr, lets merge it


Let NetVariant::fromQJSValue consume all QObject derived types.

A QObject wrapped in a QJSValue can not be passed from C++ to QmlNet even though QObject interaction is now supported for QObject types not derived from NetValueInterface. This PR updates the NetVariant::fromQJSValue function to create a valid NetVariant from any QObject, not just QObject types derived from NetValueInterface.

Danke!


:bug: Adding flex-direction to tab-content

This prevents long elements such as pre and code blocks that have a long string of text in them from overflowing off the container of the tab-content
Example
See example code block was set to width 100%

This should be restricted to the container width. To fix this I added the flex-direction column rule to the .tabs-content class.
Fix
This makes the code block the proper width and is constrained to the size of the tab-content container rather than overflowing

Thanks a lot!


SSH Tunnel fail when running VPN

System information:

Debian 5.9.15-1~bpo10+1 (2020-12-31) x86_64 GNU/Linux
DBeaver version <IP_ADDRESS>101311042

Connection specification:

Postgresql 11
SSH tunneling

Describe the problem you're observing:
When running NordVPN I am unable to connect to the Postgresql with DBeaver.
Steps to reproduce, if exist:
Note the following when connecting directly to the database from the terminal.

Start NordVPN: nordvpn c
Connect SSH tunnel: ssh -L 2222::5432 @
Connection is successful.
Connect to database via SSH tunnel: psql -h localhost -d  -p 6666 -U

when using DBeaver there is an issue with connection when running NordVPN.
The connection is successful when the VPN is not running.
However,
when running the VPN DBeaver reports the following.
Can't initialize tunnel
Cannot establish tunnel
Cannot establish tunnel
java.net.UnknownHostException: canberramjg.ddns.net
java.net.UnknownHostException: canberramjg.ddns.net
canberramjg.ddns.net
canberramjg.ddns.net
Attached is the DBeaver logs
DBeaver with VPN.log

@I33Buckler Are you using SSHJ? There was some other I had in the past where using that instead of "JSch" worked for me. See https://github.com/dbeaver/dbeaver/issues/5845#issuecomment-541593022


[Feat]: Deploy joplin-util at https://open-vsx.org/

app
joplin-vscode-plugin
Is your feature request related to a problem? Please describe.
Allow Codium users to participate in Joplin-Util without manual installation.
Describe the solution you'd like
Release of Joblin-Util on https://open-vsx.org/
Describe alternatives you've considered
...
Additional context
Thank you for Joblin-Util. Rarely has a plugin inspired me so much! Keep it up.

Hi @trixam, I had the same idea at https://github.com/rxliuli/joplin-utils/issues/38. The current state is that one would have to self-publish on https://open-vsx.org.

Hi @marph91. That doesn't make sense for me. There is a  github action that will do the job automatically for open-vsx also vscode marketplace.

Hi @marph91. That doesn't make sense for me. There is a github action that will do the job automatically for open-vsx also vscode marketplace.

I'd more like to know if there is some easy way to sync from vscode extension store to openvsx like github actions or cloudflare worker + cron task

Merged, ref: https://github.com/open-vsx/publish-extensions/pull/640#event-7445746637

Thanks! Works with VSCodium 1.71.2.


Fill should be reverted too in Area chart when using reversed option.

Codepen
https://codesandbox.io/s/vue-basic-example-q96vn
Explanation
When using reversed property in area chart as sparkline and with fill option, fill should be reversed too. With current situation fill makes it look like values are negative in sparkline chart even when values are positive. Think about showing ranks.

What is the behavior you expect?
IMHO, fill should be reversed too. Or there should be a config to change this behavior.

What is happening instead?
Right now, fill makes values look like negatives.

What error message are you getting?
None.

Right now I'm using a mathematical hacky method to do what i want. If anyone needs this, I could get the wanted result by finding the max value in the chart data and mapping it like that:
isReversed
      ? this.chartData.map(x => (x * -1) + (this.computedMaxChartData)) // hacky
      : this.chartData


Update enabling-ebpf.mdx

Capitalize "the" to "The"

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM, thanks!


Azure Disk Encryption is also available for VMs with premium storage??

Can you please elaborate on the statement in the first paragraph:
"Azure Disk Encryption is also available for VMs with premium storage."
Does this mean it is not available for VMS with standard storage? Does having a priemium disk allow it on a VM that would not otherwise allow Encryption? This statement does not clarify the requirement, and gives me more questions.

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

ID: b5c7e44e-899c-56d9-b35d-420df677527c
Version Independent ID: 7a6fd590-99a6-9fb8-3bfb-76d27752def5
Content: Enable Azure Disk Encryption for Windows VMs - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/disk-encryption-overview.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@mikesierra2
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@msmbaldwin
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Export Control Classification Number

Hi,
Our team would like to use/include your software in our products, and reexport them from Japan.
So, could you provide us the Export Classification Control Number(ECCN) information of following your software?

PInvoke.BCrypt
PInvoke.Kernel32
PInvoke.NCrypt
PInvoke.Windows.Core

If you do not have your software classified with an ECCN, please kindly answer the following questions so that we may self-classify:
Q1. Does the software perform any encryption or utilize any encryption processes? Yes/No
Q2. In case that the answer to Q1 is Yes, please indicate whether you notified BIS and ENC Encryption Request Coordinator via email of the Internet location (e.g., URL or Internet address) of your publicly available encryption source code.
Or please indicate whether you provided each of them a copy of your publicly available encryption source code or not.
Thank you in advance for your cooperation.
Regards,

This library does not have an ECCN, so please self-classify.
These libraries contain no cryptography implementation. PInvoke.BCrypt and PInvoke.NCrypt do, however, invoke crypto libraries within Windows when you call those APIs.


vulns reported on build

107 vulnerabilities (94 moderate, 11 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 7.7.6 -> 8.5.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.5.0
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
ip-192-168-0-57 :: Code/swarm/bee-dashboard » npmv
ip-192-168-0-57 :: Code/swarm/bee-dashboard 130 » git remote -v
origin	git@github.com:ethersphere/bee-dashboard.git (fetch)
origin	git@github.com:ethersphere/bee-dashboard.git (push)
ip-192-168-0-57 :: Code/swarm/bee-dashboard » npm -v
7.7.6
ip-192-168-0-57 :: Code/swarm/bee-dashboard » node -v
v15.14.0

blocked by #311 (need to merge it first to avoid conflicts)

So sadly this is actually not really trivial and the true solution is to replace the nodejs dependencies that do not have browser implementation with a browser one. This way we don't have to use polyfills and switch to react-app-rewired. See #313


get rid of the Scope and analyze file by file instead

@rultor release, tag is 0.0.2

@rultor release, tag is 0.0.2

@yegor256 OK, I will release it now. Please check the progress here.

@rultor release, tag is 0.0.2

@yegor256 Oops, I failed. You can see the full log here (spent 5min).
Progress (1): 33/47 kB
Progress (1): 47 kB

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2.jar (47 kB at 1.5 MB/s)
Uploading to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2.pom
Progress (1): 4.7 kB

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2.pom (4.7 kB at 123 kB/s)
Uploading to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2.pom.asc
Progress (1): 833 B

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2.pom.asc (833 B at 69 kB/s)
Uploading to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-javadoc.jar
Progress (1): 33/96 kB
Progress (1): 66/96 kB
Progress (1): 96 kB

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-javadoc.jar (96 kB at 2.6 MB/s)
Uploading to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-sources.jar
Progress (1): 33/48 kB
Progress (1): 48 kB

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-sources.jar (48 kB at 1.5 MB/s)
Uploading to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-javadoc.jar.asc
Progress (1): 833 B

Uploaded to oss.sonatype.org: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeolang-1363/org/eolang/lints/0.0.2/lints-0.0.2-javadoc.jar.asc (833 B at 76 kB/s)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "orgeolang-1363".

Waiting for operation to complete...
..............

[INFO] Remote staged 1 repositories, finished with success.
[INFO]
[INFO] --- nexus-staging:1.7.0:release (jcabi-deploy-to-sonatype) @ lints ---
[INFO]  + Using server credentials "oss.sonatype.org" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.15.2-02 and edition "Professional"
[INFO] Releasing staging repository with IDs=[orgeolang-1363]

Waiting for operation to complete...
........

[INFO] Released
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:53 min
[INFO] Finished at: 2024-11-19T04:14:13Z
[INFO] ------------------------------------------------------------------------
\u001b[0m\u001b[0m+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.0.2 -m '0.0.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at a605169 0.0.2
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was a605169).
+ git push --all origin
ERROR: Permission to objectionary/lints.git denied to rultor.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
container e9184dca1d6270b5fd789e5586600679b0b4c78f310df60310850aa15e9ee8ea is dead
Tue Nov 19 04:14:30 UTC 2024

@rultor release, tag is 0.0.3

@rultor release, tag is 0.0.3

@yegor256 OK, I will release it now. Please check the progress here.

@rultor release, tag is 0.0.3

@yegor256 Done! FYI, the full log is here (took me 6min).


Windows app?

When will you offer a Windows version of the app?

Yes please!

I haven't seen any recent activity on the project. I have created a linux version and could look at the requirements and issues running on Win32.

Ok! I would love a windows version. @anchepiece would Lionshare be ok with you making one?

Added a PR for Windows Support #99.
Should let you npm run dev or yarn run dev, however yarn seems to have trouble installing Electron.
Error: Generated checksum for "electron-v1.4.15-win32-x64.zip" did not match expected checksum.
That being the case, use npm install, npm run dev and npm run dist. They appear to work.


Pre-0.6.4

Codecov Report

Merging #98 (87a302c) into master (7cc8844) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   92.03%   92.03%
=======================================
  Files          17       17
  Lines        3478     3478
=======================================
  Hits         3201     3201
  Misses        277      277

Files Changed
Coverage Δ

ssqueezepy/_cwt.py
93.42% <ø> (ø)

ssqueezepy/_ssq_cwt.py
92.50% <ø> (ø)

ssqueezepy/_ssq_stft.py
87.17% <ø> (ø)

ssqueezepy/_stft.py
94.23% <ø> (ø)

ssqueezepy/__init__.py
85.71% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Edit pool of suggestion strings that are being referred to

Summary
Resolves #116
Fixes suggestions displaying outdated suggestions due to modification of command words
Detail
Suggestions are currently being implemented by making the assumption that there are two parts to erroneous input. If input only has one word we assume user doesn't know which command type to use. If input has two or more words, assume user doesn't know the target of command or it is just garbage input.
We don't have any expected outputs for users so I don't know what kind of bugs can be caught from this coz its hard to define a definite set of suggestions for each erroneous output.
Pictures / Gif
assuming user is getting the first part wrong

assuming user is getting the second and/or first part wrong

Checks

[x] Link PR to issue
[x] Add Reviewer
[x] Pass CI

the function is still very buggy i have not changed the test cases yet. i forsee a lot of bugs from this feature because we do not have a well-defined function i.e. for each erroneous input we want outputs [1...5]. any comments? sample output

I am not sure what do you mean by well-defined functions, but my take is
let's say our typo-ed command is ade t/doktor

first of all, we can take try to rank and match the first part of the command, ade in this case against all possible commands
e.g. add, edit, delete, list, find, etc and try to put all matching commands into a list (in this case add t/patient, add t/activity, add t/doctor into a list)
If the second part exists, in this case, t/doktor, you try to filter and rank the second part of the command (if doesn't exist, then just filter them out from the list)
The total score of each command can be the first part + second part difference (if both part exists), or only the first part (if the second part doesn't exist), for e.g. , if the command is ade, then just rank them again add, find, etc and since add is the closest, put add t/activity, add t/patient and add t/doctor into the list with three of them of score 1
Then just output the 5 top items from the sorted list by score


Grails 4 Error adding system properties to dbmUpdate

Task List

[x] Steps to reproduce provided
[x] Stacktrace (if present) provided
[x] Example that reproduces the problem uploaded to Github
[x] Full description of the issue provided (see below)

Steps to Reproduce

in build.gradle add the following:

bootRun, test, integrationTest, dbmUpdate, runScript, console].each { runTask ->
	configure(runTask) {
		systemProperties System.properties
	}
}

This adds access to the system properties to each of those tasks.
Expected Behaviour
There should be no errors when refreshing gradle, and I should be able to run dbmUpdate, with it having access to the system properties(used in bootStrap for licencing check).
Actual Behaviour
I get the following error
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/tpelletier/git/tdstm/build.gradle' line: 243

* What went wrong:
A problem occurred evaluating root project 'tdstm'.
> Could not get unknown property 'dbmUpdate' for root project 'tdstm' of type org.gradle.api.Project.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

CONFIGURE FAILED in 0s

I can run fine if I remove dbmUpdate, but then that task won't get the system properties needed to run.
I think this is probably related to Gradle 5, which comes with Grails 4.
Environment Information

Operating System: Mac OS
Grails Version: 4.0.0(worked fine in version 3.3.10 using Gradle 3.5)
Plugin Version: 3.1.0.RC1
Database: MySQL 5.7
JDK Version: "1.8.0_171

Example Application
I'll try to get a sample app later today and add the link in the comments.

So trying to get this running on staging and I realized why I need the system properties available for dbmUpdate, it has to do with how we deal with the external config. We are using the external config plugin and we set one of the candidates to a system property.

Hey @virtualdogbert I found a work around (not sure if it's thje best solution) but I just removed the by task configuration in the build.gradle and changed to:
/*
// getting rid of the by task pass system properties configuration
[bootRun, test, integrationTest, dbmUpdate, runScript, console].each { runTask ->
...
}
*/

// The run task added by the application plugin
// is also of type JavaExec.
tasks.withType(JavaExec) {
	// Assign all Java system properties from
	// the command line to the JavaExec task.
	systemProperties System.properties
}

I didn't realize we worked around it that way. I think we found that we didn't actually need the properties as they were only used for really old migrations, which we had culled from the list anyway.
In either case thanks for posting, just in case anyone else runs into this issue this would be a valid workaround.


Process cleanup issues

@arpj-rebola and myself are having trouble with Z3 processes not being cleanup up after F* is done. It looks like at this point in the code:
https://github.com/FStarLang/FStar/blob/cdf0d858765c9ade3f09d75809ae0e0748a85ffb/src/fstar/FStar.Main.fs#L167
delta_env is set up, but it is never used. As per
https://github.com/FStarLang/FStar/blob/cdf0d858765c9ade3f09d75809ae0e0748a85ffb/src/fstar/FStar.Universal.fs#L654
this should invoke tcenv.solver.finished after the batch mode TC is done, but we never get that call.
Is this a bug, or is delta_env a remnant of a mode of operation that's not in use anymore?

delta_env was used to delay extending the environment with the contents of checked modules until the first unchecked module was encountered (which may never actually happen, in case all modules are already checked)
@aseemr worked on this code most recently. Did this behavior change, Aseem?

@wintersteiger, Adrian, FStar.Main should be calling the cleanup routine in master now. Please reopen if you still see some issue.

(CC @arpj-rebola)


Fix duplicate key signature & Release Cuppa 1.5.0

Fixes issue when trying to build and sign and updates version to 1.5.0

Coverage remained the same at 90.33% when pulling a9618e64e47e513c019532ed0dd4e4c029352228 on phillcunnington:fix_duplicate_key_signature into 2403410a83c3357c76293a0080b1c7d0f50675d4 on cuppa-framework:master.


Insert more entry points into render

See #680. There is surely more work along those lines in the future, but this is a good start.
This also makes dynamic tick rendering optional, since this is the slowest part of guide-rendering and non-javascript renderers don't need it.

Much cleaner this way, thanks for the suggestion!

Looks good, thank you!


Wma/rerewrite

clean up rewriting system syntax a bit.

Codecov Report
Patch coverage: 78.37% and project coverage change: +0.03 :tada:

Comparison is base (766ed7b) 78.49% compared to head (34ab6e3) 78.53%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
+ Coverage   78.49%   78.53%   +0.03%
==========================================
  Files          49       49
  Lines        4586     4585       -1
==========================================
+ Hits         3600     3601       +1
+ Misses        986      984       -2

Impacted Files
Coverage Δ

src/FinchNotation/FinchNotation.jl
100.00% <ø> (ø)

src/FinchNotation/instances.jl
46.66% <ø> (-2.12%)
:arrow_down:

src/looplets/nulls.jl
0.00% <0.00%> (ø)

src/semantics.jl
0.00% <ø> (-50.00%)
:arrow_down:

src/dimensionalize.jl
65.38% <16.66%> (ø)

src/base/broadcast.jl
76.76% <33.33%> (ø)

src/fibers.jl
67.14% <33.33%> (ø)

src/traits.jl
72.22% <66.66%> (ø)

src/FinchNotation/nodes.jl
55.21% <80.00%> (+1.14%)
:arrow_up:

ext/SparseArraysExt.jl
76.63% <100.00%> (ø)

... and 17 more

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Removing duplicate selectors

When using SCSS source files to compile, the duplicated selectors are not being merged. By removing the duplicated selectors in the source files the compiling will always result in non-duplicated selectors.
Issue: #201

Cheers dude! 👍  I noticed this in the develop branch but cheers for sorting it.

👍


Installer doesn't launch admin panel of framework.

Framework Version: 0.1.4-BETA4
Test Steps:
1.Install through Installer.
2. After installation click on finish to launch admin panel
Result:It will redirect to storefront with 404 error

Framework Version: 0.1.4
Fixed. Now after finishing the process user need to login in admin panel


Run plop from Node

I'm on a team that uses a somewhat complex plopfile and I'd like to have a quick way to verify that it is working the way we want. I would love to be able to require('plop') and automatically generate some components with defaults.
The interface for my script might look something like this:
var plop = require('plop');
var path = require('path');

var exampleDir = path.resolve(__dirname, 'example');

plop.runGenerator('widget', {
  // Use the same variables as the prompts require
  path: path.resolve(exampleDir, 'widgets'),
  name: 'my-widget',
  animal: 'dog'
});

plop.runGenerator('complexWidget', {
  path: path.resolve(exampleDir, 'complex', 'widgets'),
  name: 'my-complex-widget',
  animal: 'hippo'
});

@kentcdodds this might be a good way to verify your plopfile settings, as an alternative to #7.

I'll look into this, if it could be coded to return the output you could then run asserts against the generated output. That could be really sweet. good idea! :+1:

come to think of it, this could work for add actions, but in order to do this for an entire generator we would need to implement a virtual file system. this is possible, but would not be a trivial change. :frowning: Maybe something like this could be done at the individual action level? Not sure, but I'm open to ideas.

To be honest, I'm actually more interested in just using the normal filesystem but through a Node API rather than a command line interface. It looks like if we could decouple the template generating logic from the inquirer prompts, it would come relatively easily.

true, I think that much is doable, but it wouldn't function all that well for unit testing if it's actually mucking with your source code. Do you have something in mind for how you're planning to handle this? I'm more curious than anything :smile:

I think you're right - adding a Node API probably wouldn't be useful for unit testing. For my current needs, I basically need a way to call plop in a script for quick-and-dirty verification that the generators look right.
A little background about my use case: my team works on small Angular apps and uses a common plopfile packaged into a node module so we can maintain a consistent structure on each app. We're in the middle of changing a lot about our tooling and app architecture, so the plopfile is changing a lot at the moment. My plan is to write a script that calls a bunch of generators inside of a sandbox/ directory that is ignored by git, so when I review a pull request for an improvement to the plopfile, I can quickly explore the generated output without the template variables getting in the way.

I've been giving this some thought, and my plan is to break the core of plop out into a new npm package that plop would require. That would enable much of what I think you're trying to achieve, and also make it possible to work with plopfiles and generators in other ways. Just FYI, I'm currently working on a website for plop so this will have to wait for a bit. Hopefully I'll be able to get to it in the coming month.

just pushed up the first pre-release version of node-plop, please have a look and let me know if you run into any issues 😄
https://github.com/amwmedia/node-plop
it's also up on npm
https://www.npmjs.com/package/node-plop

That's a good news that we can use node-plop


Debugging issues in the reverse pass

I'm getting underflow during the computation of the reverse pass of an RNN gradient. I have numpy raise an exception when underflow is detected. However, it's very difficult (or maybe impossible) to tell from this exception's traceback whereabouts (in the forward pass) the nodes which caused the error were created.
Ideally, I'd like to be able to start my debugger (or any interpreter) from the forward pass frame in which the node was created which caused the issue. That way I could look around and find out, for example, in which iteration of the RNN the node was created.
I've come up with a crude partial solution, which is to have nodes cache the frame in which they were created:
import inspect

class VJPDebugNode(VJPNode):
    __slots__ = ['frame']
    def __init__(*args):
        self.frame = inspect.currentframe()
        super().__init__(*args)

Now when the exception is raised during the reverse pass, I can go into my post-mortem debugger, find the node where the error occured and look at the frame in which it was created. I can get a traceback from that frame using traceback.print_stack and look at the frame's local variables. I thought that I might be able to use the frame argument of IPython.core.debugger.set_trace or pdb.Pdb.set_trace to get the kind of debugging/interpreter functionality that I really want, but the frame argument doesn't seem to work, and may not have been intended for this kind of use case.
This isn't the first time I've had an exception on the reverse pass and wanted to locate the corresponding place in the forward pass where it originated. Have others had this issue? Any thoughts on a solution?

Hey @j-towns is there any development in this matter? I'm facing a similar problem and looking for solution. In my case forward pass works great, but I get NaN gradients (divide by zero) during backward pass.

I can send a PR if you think this will be a good addition

Yes, that would be a good addition. If you’re willing to submit a pr I’ll merge it. It seems we discussed this and agreed it was a good idea 5 years ago but never got round to implementing it.


OnSendAddins for on-premise

Regarding this statement below, CU6 in 2017 introduced this for on-premise, but it still says unsupported.  Is this now supported?
-OnSendAddinsEnabled
This parameter is available or functional only in the cloud-based service.

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

ID: 43ca7906-9f33-2991-9da9-a626e5e45c46
Version Independent ID: 5f388b3c-fb47-f7a0-e648-07cb3e59cf72
Content: Set-OwaMailboxPolicy (exchange)
Content Source: exchange/exchange-ps/exchange/client-access/Set-OwaMailboxPolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@dcegress I confirmed that OnSendAddinsEnabled is available in Exchange 2016 CU12 and Exchange 2019 CU1, so I changed the parameter description accordingly.
Be advised the following other parameters that are also marked as cloud only are available in E16CU12 and E19CU1. Whether or not they work as intended is another story:

FreCardsEnabled

GroupCreationEnabled

ThirdPartyAttachmentsEnabled

Thanks for the feedback.

Thank you.  When will this be updated as it is still showing the below today
This parameter is available or functional only in the cloud-based service.