Multiple CTE Update

Version
1.15.0
What happened?
Hi
i Have This issue with the following query, i tested the query itself, and it works fine, but sqlc is giving me the below error.
Relevant log output
# package db
db/query/user_address.sql:88:5: column "default_address" does not exist

Database schema
CREATE TABLE "user" (
  "id" bigserial PRIMARY KEY NOT NULL,
  "username" varchar NOT NULL,
  "email" varchar UNIQUE NOT NULL,
  "password" varchar NOT NULL,
  "telephone" int NOT NULL DEFAULT 0,
  "default_payment" bigint,
  "created_at" timestamptz NOT NULL DEFAULT (now()),
  "updated_at" timestamptz NOT NULL DEFAULT '0001-01-01 00:00:00Z'
);

CREATE TABLE "address" (
  "id" bigserial PRIMARY KEY NOT NULL,
  "address_line" varchar NOT NULL,
  "region" varchar NOT NULL,
  "city" varchar NOT NULL,
  "created_at" timestamptz NOT NULL DEFAULT (now()),
  "updated_at" timestamptz NOT NULL DEFAULT '0001-01-01 00:00:00Z'
);

CREATE TABLE "user_address" (
  "user_id" bigint NOT NULL,
  "address_id" bigint UNIQUE NOT NULL,
  "default_address" bigint,
  "created_at" timestamptz NOT NULL DEFAULT (now()),
  "updated_at" timestamptz NOT NULL DEFAULT '0001-01-01 00:00:00Z'
);

SQL queries
-- name: UpdateUserAddressWithAddress :one
WITH t1 AS (
    UPDATE "address" as a
    SET
    address_line = COALESCE(sqlc.narg(address_line),address_line),
    region = COALESCE(sqlc.narg(region),region),
    city= COALESCE(sqlc.narg(city),city)
    WHERE id = COALESCE(sqlc.arg(id),id)
    RETURNING a.id, a.address_line, a.region, a.city
   ),

    t2 AS (
    UPDATE "user_address"
    SET
    default_address = COALESCE(sqlc.narg(default_address),default_address)
    WHERE
    user_id = COALESCE(sqlc.arg(user_id),user_id)
    AND address_id = COALESCE(sqlc.arg(address_id),address_id)
    RETURNING user_id, address_id, default_address
	)

SELECT
user_id,
address_id,
default_address,
address_line,
region,
city From t1,t2;

Configuration
version: 1
packages:
  - name: "db"
    path: "./db/sqlc"
    queries: "./db/query/"
    schema: "./db/migration/"
    engine: "postgresql"
    emit_json_tags: true
    emit_prepared_queries: false
    emit_interface: true
    emit_exact_table_names: false
    emit_empty_slices: true

Playground URL
https://play.sqlc.dev/p/17faf82c923406a0c8272595305c3262ea1e0e74c744a0d3744e3ebb23554cc9
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

The error message looks similar to the one I reported in #1912

I believe this is also true for #1515

Any update on this issue?

This is fixed in v1.23.0 by enabling the database-backed query analyzer. We added a test case for this issue so it won’t break in the future.
You can play around with the working example on the playground

This is fixed in v1.23.0 by enabling the database-backed query analyzer. We added a test case for this issue so it won’t break in the future.
You can play around with the working example on the playground

Great work, Thank you.


[BUG] Program fails when using BowTie2 SAM input and analysis type "rel_ab_w_read_stats"

Hi,
I have the following problem that I would like to change the parameters of BowTie2 that are used for aligning the data. Since metaphlan currently only allows to use the BowTie2 presets but not to individually alter any of the underlying values, I went ahead and manually aligned the sequencing data to the marker-gene catalogue with the tweaked BowTie2 input parameters.
When I now use the SAM file of BowTie2 as the input and specify the analysis type as "rel_ab_w_read_stats", metaphlan fails because it cannot correctly calculate the number of unmapped reads.
Traceback (most recent call last):
  File "/home/alexhbnr/miniconda3/envs/MetaPhlAn3_HUMAnN3/bin/metaphlan", line 10, in <module>
    sys.exit(main())
  File "/home/alexhbnr/miniconda3/envs/MetaPhlAn3_HUMAnN3/lib/python3.8/site-packages/metaphlan/metaphlan.py", line 1130, in main
    unmapped_reads = max(n_metagenome_reads - tot_nreads, 0)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

I provided manually the number of input reads into BowTie2 using --nreads, however, the part of the code that copies the information from the commandline parameter --nreads (pars['nreads']) to n_metagenomic_reads is put behind an if-clause that requires the commandline parameter --unknown_estimationto be set toTrue` (l. 1017) .
I personally don't want to estimate the proportion of unknown, so I removed this part of the if-clause and it now works fine. But I am not sure if this is a design decision or a bug?

Hi Alex,
Yes, this was a bug, you are right, thank you for spotting this, I've pushed a fix for this.


Release GIL in pipeline::wait_for_frames()

This will prevent stalling all other threads executing python code while blocking in pipeline::wait_for_frames().
As long as pipeline::wait_for_frames() doesn't call any python callbacks or otherwise interacts with the python interpreter, I guess this should be possible to merge?

Hi @landersson
Thanks for the patch. This makes sense to me, @lramati please take a look as well

Great, thanks!


add help command

fixes #11

i'm not so happy with this code. r? @jefflembeck

@ashleygwilliams what in particular do you not like about it? It seems pretty sensible.

the /slack endpoint handlers are side-effecty and each call slack.chat individually when i think i'd rather have them return a message but the async shit got tricky and i decided to not mess around too much

r? @jefflembeck

LGTM.
I think everything is nice and readable. We can refactor code later if necessary. Let's make it green now :)

🐑 ↪ ⚓


PDO Adapter

Coverage decreased (-6.0%) to 94.002% when pulling f36851dcd1456bca0559f54700f7de2480a5589f on feature/pdo into e29c473ed0ee26feefddfd23ae37eb5b1bb185cc on master.


Error in python library?

Trying to use the sensor but when I try and run read-heartbeat.py, I gt the following error:
Traceback (most recent call last):
File "/home/pi/max30105-python/examples/read-heartbeat.py", line 10, in
max30105.setup()
File "/usr/local/lib/python3.5/dist-packages/max30105/init.py", line 319, in setup
self.soft_reset(timeout=timeout)
File "/usr/local/lib/python3.5/dist-packages/max30105/init.py", line 353, in soft_reset
while self._max30105.get('MODE_CONFIG').reset and time.time() - t_start < timeout:
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/init.py", line 232, in get
result[field] = self.get_field(register, field)
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/init.py", line 247, in get_field
value = field.adapter._decode(value)
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/adapter.py", line 26, in _decode
raise ValueError("{} not in lookup table".format(value))
ValueError: 0 not in lookup table
Please help!

Thanks Phil, I tried that but no joy I’m afraid. If you manage to fix it could you let me know? Many thanks, Sarah
Sent from my iPhone

On 29 Oct 2019, at 15:46, Philip Howard<EMAIL_ADDRESS>wrote:

This is also reported on the forums here, where I've posted what might work as a temporary fix - https://forums.pimoroni.com/t/problem-with-max30105/11673
It looks like the sensor can initialise with an invalid MODE_CONFIG value that the library doesn't (yet) understand.
Will aim to test/fix this week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

It looks like it's reset back to 0 when the library initialises and resets the sensor. In retrospect that makes sense, but I don't know why it's suddenly become an issue. I had the same problem with a new sensor I pulled from stock, but my old test sensor has grown legs and walked off so I've no basis for comparison yet.
Either way, the fix is simple enough that I'm happy to roll it out, and I'll worry about the why elsewhere.

Should be fixed as of v0.0.3 - https://github.com/pimoroni/max30105-python/releases/tag/v0.0.3

Thank you! Will try again as soon as home!
Sent from my iPhone

On 1 Nov 2019, at 09:38, Philip Howard<EMAIL_ADDRESS>wrote:

Closed #5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


No preview

Describe the bug
I have tried everything but bolt don't show anymore the preview of the project on which i have worked during multiple hours, i have tried many differents browser but it don't works
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-hhvqqe
Steps to reproduce
a
Expected behavior
I wan't to see preview
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 61880628,
  "usedJSHeapSize": 56095980,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Paulbrtl
Chat ID = a196cb19292b

Additional context
No response

i have no extension and no VPN and when i type npm run dev, this appear :
error when starting dev server:
Error: Port 4000 is already in use
at Server.onError (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:45644:18)
at Server.emit (node:events:30:10899)
at emitErrorNT (node:net:285:11727)
at processTicksAndRejections (node:internal/process/task_queues:192:1067)
at  (https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3.w-credentialless-staticblitz.com/blitz.88b6dd69.js:40:198652)

We are aware of this issue and are tracking it here


Results evaluate

[x] Checked on staging

This probably needs a banner for successful evals

This probably needs a banner for successful evals

Done!


feat: object storage add filter field

Description

Object storage add filter field.
GetObjectMetadata return isExist.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1412 (486954c) into main (c2fdbf7) will decrease coverage by 0.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1412      +/-   ##
==========================================
- Coverage   45.04%   44.65%   -0.40%
==========================================
  Files         110      110
  Lines       10040    10040
==========================================
- Hits         4523     4483      -40
- Misses       5052     5092      +40
  Partials      465      465

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
44.65% <ø> (-0.40%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/config/peerhost.go
32.72% <ø> (ø)

client/daemon/peer/peertask_piecetask_poller.go
30.43% <0.00%> (-16.67%)
:arrow_down:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
45.45% <0.00%> (-2.17%)
:arrow_down:

client/daemon/peer/peertask_conductor.go
57.14% <0.00%> (-1.51%)
:arrow_down:

client/daemon/rpcserver/subscriber.go
51.14% <0.00%> (+2.29%)
:arrow_up:


Promiscuous versions fixes

Small steps towards https://github.com/KSP-CKAN/CKAN-meta/issues/623
Companion PR to: https://github.com/KSP-CKAN/CKAN-meta/pull/735

Going to re-submit this for Jenkins.


permutations are not created if the list is passed as a parameter

Describe the Problem
the test_create_permutations_mv_list() is  failing because of a refactor in the create_permutations_mv() in the utils.py module.  The create_permutations_mv() function returns an empty list with a non-empty list as a parameter.
Expected Behavior
create_permutations_mv should return a list of permutations
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Organization level Project for support of the current coordinated release
[ ] Select Repository level Project for development toward the next official release or add alert: NEED PROJECT ASSIGNMENT label
[ ] Select Milestone as the next bugfix version

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdatadb, METviewer, METexpress, METcalcpy, METplotpy

Bugfix Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of main_<Version>.
Branch name: bugfix_<Issue Number>_main_<Version>_<Description>
[ ] Fix the bug and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into main_<Version>.
Pull request: bugfix <Issue Number> main_<Version> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Linked issues
Select: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Complete the steps above to fix the bug on the develop branch.
Branch name:  bugfix_<Issue Number>_develop_<Description>
Pull request: bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Close this issue.

The bug in create_permutations_mv is fixed and a test was cratered to test this method with a dictionary that has empty values


Radiotherapy Machine for Carcinoma

A large machine that works like one of the other vitals machines. Treats carcinoma but has some severe side effects. Also has a large power draw and costly build cost.

Rimworld allows for carcinoma's to be exercised (I think this is the right word) via surgery. Would it be necessary to add this?

We're going to need to add "Tumours" or other types of cancer for this to make sense. Unless, of course, we change Carcinoma's to only be treated by Radiotherapy?

I don't have too much experience with cancer treatments.  It seems that, since Rimworld already allows for surgical treatment and medical treatment (it seems like medical treatment can reverse the cancer), there are already a couple of good ways to address the ailment.  To be honest, I've never had carcinoma affect any of my pawns, so I don't know have any gameplay experience with it.
I'm sure it's possible to rework cancer treatments and make them more diverse if you're interested.  Surgery IRL works best on localized cancer that hasn't spread, but often radiation or chemotherapy is done afterwards as well just to make sure all of it has been removed.  Radiation therapy also is usually used to target a specific area.
Chemotherapy is unique because, as a systemic treatment, it can target cancer cells throughout the body.  This is useful if the cancer has spread (metastasized).  Of course, chemotherapy can also have uncomfortable side effects like nausea.
If you're interested, I think the best way to expand upon the cancer ailment would be to introduce metastasis.  After some time, the cancer would have a risk of spreading to another body part.  This would make chemotherapy viable as, unless you have a great surgeon, you might not want to risk doing many surgical procedures to remove all of the tumo(u)rs.  Chemotherapy can also incorporate the IV system since chemotherapy treatments can be given intravenously.

I definitely like the idea of making cancers have a greater effect on gameplay by allowing them to spread. Currently Rimworld offers a simple "Carcinoma" of a single body part that can be excised regardless of where it is. I briefly tested this by giving a pawn a carcinoma in their torso and a surgeon (who wasn't even that great at Medicine IIRC) simply removed it without issue. In reality, the word "cancer" or even "carcinoma" is quite scary so maybe we should portray this better?
I can think of going down one of two routes:
A) Remove carcinoma's and replace it with 'cancer'. This starts as something simple which can spread to adjacent body parts over time if left untreated. Metastasis would be announced to the player via an in-game message (a yellow warning box like the "infection" warning).
B) Leave carcinoma's and their treatments but also add cancer too. Same as the above but, obviously, carcinoma is kept within the game. Could be better for compatibility and would require less patching and mucking around with game code. Might be a good idea to make carcinoma more common (as you said, it seems to be a rare thing) and possible to "catch" or rather develop over time.
Of course expanding on cancer would, as you said, allow us to also add chemotherapy in the form of IV treatment. Not sure how we'd make it refuelable though. What chemical would be used for IV chemotherapy? Would it be possible to manufacture in Rimworld?

Cancer has been added along with the ability to spread to other vital organs. Now need to work on Chemo/Radiotherapy.

Going to make a patch that renames "Carcinoma" as "Tumour". Will also remove the ability to excise it so that the player must instead use Radiotherapy. Might add additional hediff to tumours that cause more damage to the pawn whilst it exists.

Radiotherapy:
Radiotherapy will be done in the form of a 'usable bed'. The same way you right-click on a hospital bed to make the pawn use it is the same way that this'll work. A pawn with a tumour will need to be directed to use the bed and, from there, they will go under treatment by the radiological laser present above it. The longer the pawn is in the bed, the lower the severity of the tumour and lower the damage done by the hediff stages. There will be many hediff stages to visibly show improvements on the pawn's health after treatment for even a small amount of time. After the severity reaches 0 the hediff will be removed.
Chemotherapy:
Chemotherapy will be available through an IV. The IV will only function when a Pawn with Cancer is adjacent AND inside of a bed. Here they'll be made unconscious (not how it works in real life but better for gameplay) and a message will pop-up on the right where "Minor Break Risk", etc... appears saying "X pawn(s) receiving chemotherapy". In order to stop the pawn from receiving treatment and to wake them back up the IV drip itself must be "flicked off" by right-clicking manually and designating for disabling.
What this does is make the player more aware and in control of the treatment used to help pawn's with cancer. In real life, cancer treatment is specific, requires time and effort to setup and needs overseeing regularly to ensure it is beneficial and still viable as a treatment option for the patient. I think it's best we convey this through the mod by adding a tiny bit of micromanagement. Fortunately, only 1-2 pawn's will ever have cancer at once and so the tedium and annoyance of that micromanagement is extremely slim It'll merely be focusing attention on ill colonist's and up to the player to decide how well they're treated for their cancer(s).

I think these are cool implementations that will further encourage people to create late game hospitals with tons of fancy machines.
Regarding the removal of surgically removing tumors (pun not intended), I think it may be interesting to keep the option of surgical removal.  This allows early game/low tech colonies to still have a way to treat cancer.  However, to keep chemo/radiotherapy viable, perhaps the surgical removal option can be made more risky (i.e. requires a really great doctor).  This way, people will use chemotherapy and radiotherapy if they are able to afford it since those higher tech options are less risky and less skill-involved.

Added "Chemotherapy - Negative Symptoms". Chemo is now dangerous and should only be used on the strongest pawns (those who's vitals are all at 100%) as each stage of Chemo's hediff adds -10% to Breathing/BloodPumping/BloodFiltration/Metabolism/Moving and increases fatigue and hunger by 200%.
If left alone for too long then each of the above capacities will reach 0% and the pawn in question will die. Adds that level of micromanagement I mentioned above earlier. Chemo isn't a nice treatment, unfortunately, and this should display that well. In Rimworld it is, however, very effective reducing the Cancer hediff by 0.000025 every second the Pawn is under its influence (this is like reversing 0.5 days worth of cancer growth).
Players will be warned when the Pawn is severely ill after having taken Chemo for too long.


CUDA error

I downloaded the latest version of the notebook this morning, but I have this error which appears every time I perform a task:
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Exactly the same problem happened to me. The problem does not occur especially when the GPU is set to T4, but the problem occurs when it is set to V100.

Exactly the same problem happened to me. The problem does not occur especially when the GPU is set to T4, but the problem occurs when it is set to V100.

I only tried with V100... it's the GPU I usually use. I'll try A100 later.

Same with me. Not working on V100.

Getting same error. Tried with latest notebook as well. @TheLastBen please help!

I also tried it on the latest notebook, but the same error occurs on anything other than T4.
I wanted to try it with A100, but for some reason I couldn't connect.

xformers was compiled for T4 and A100, I'll add support for V100 later

thank you for your reply.
I tried it on A100 earlier and was able to create it successfully.
V100 still didn't work, so I'm looking forward to your support.

xformers was compiled for T4 and A100, I'll add support for V100 later

Thank you. I greatly appreciate it.

xformers was compiled for T4 and A100, I'll add support for V100 later

Will eagerly wait for that. V100 is the best in terms of speed to cost ratio. T4 too slow and A100 hardly gets available.

it should work for V100 now

When I tried it on V100 now, no error occurred.
Thank you for your response.

Thank you so much!

Avantaggiato Terenzio [TRAGIX]
Il giorno mar 24 ott 2023 alle ore 20:02 Ben @.***> ha
scritto:

it should work for V100 now
—
Reply to this email directly, view it on GitHub
https://github.com/TheLastBen/fast-stable-diffusion/issues/2628#issuecomment-1777753602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOGJDIM3WP5UJBS67WNPHTYA77EHAVCNFSM6AAAAAA6L6LQNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXG42TGNRQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

it should work for V100 now

Works like a charm - thanks a ton!!


Aes256 encryption support

version 5, revision 5 encryption support (as defined in PDF 1.7 extension level 3)
spec and sample files
also fixes a bug in doc_strings_to_utf8

info hash for new sample files will return a reference, not the actual string as values without this fix

Thanks! I'm curious to learn how this works in detail, so might hold off merging until I can poke at it properly when my primary laptop is fixed mid-week.
In the meantime, are you able to address the complex method that's causing the build to fail?

Ah, the final spec failure is easy to resolve. The new sample PDFs need to be recorded in spec/integrity.yml - running rake integrity_yaml should add them.

This is great, and pending answers to a couple of questions I'll be happy to merge it.

thanks!


Don't ignore unrecognized options

Note: Previous code seems to be pre-Ruby 2...

Thanks!
I’ve fixed the Rubocop issues separately and merged it.

@marcandre No worries.

This is now released in Cri 2.15.1!


fix button background on mobile

Description
This PR fixes the background color of the language menu button on mobile.

Related Ticket

Resolves #1767

Checklist

[x] I have run npm run build-all without errors
[x] I have formatted JS and TS files with npm run format-all

Looks good on both Chromium browsers and Firefox!


SDK not detected but it's installed

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I've installed everything, but follwing the commands provided, I get this:
PS C:\Windows\system32> dotnet
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help         Display help.
--info            Display .NET information.
--list-sdks       Display the installed SDKs.
--list-runtimes   Display the installed runtimes.
path-to-application:
The path to an application .dll file to execute.
PS C:\Windows\system32> dotnet new console -o MyApp -f net7.0
The command could not be loaded, possibly because:

You intended to execute a .NET application:
The application 'new' does not exist.
You intended to execute a .NET SDK command:
No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet-download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
PS C:\Windows\system32> Get-WmiObject -Class Win32_product | Where-Object {$_.name -like "net.sdk"} | Select-Object -Property Vendor, Name, Caption, Version | Sort-Object -Property Name | Format-Table -AutoSize
Vendor                Name                                                Caption                                             Version

Microsoft Corporation Microsoft.NET.Sdk.Android.Manifest-6.0.300          Microsoft.NET.Sdk.Android.Manifest-6.0.300          128.75.16384
Microsoft Corporation Microsoft.NET.Sdk.Android.Manifest-7.0.100-rc.1     Microsoft.NET.Sdk.Android.Manifest-7.0.100-rc.1     8.3.47128
Microsoft Corporation Microsoft.NET.Sdk.iOS.Manifest-6.0.300              Microsoft.NET.Sdk.iOS.Manifest-6.0.300<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.iOS.Manifest-7.0.100-rc.1         Microsoft.NET.Sdk.iOS.Manifest-7.0.100-rc.1<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.300      Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.300<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.MacCatalyst.Manifest-7.0.100-rc.1 Microsoft.NET.Sdk.MacCatalyst.Manifest-7.0.100-rc.1<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.macOS.Manifest-6.0.300            Microsoft.NET.Sdk.macOS.Manifest-6.0.300<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.macOS.Manifest-7.0.100-rc.1       Microsoft.NET.Sdk.macOS.Manifest-7.0.100-rc.1<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.Maui.Manifest-6.0.300             Microsoft.NET.Sdk.Maui.Manifest-6.0.300             24.78.0
Microsoft Corporation Microsoft.NET.Sdk.Maui.Manifest-7.0.100-rc.1        Microsoft.NET.Sdk.Maui.Manifest-7.0.100-rc.1        28.0.6430
Microsoft Corporation Microsoft.NET.Sdk.tvOS.Manifest-6.0.300             Microsoft.NET.Sdk.tvOS.Manifest-6.0.300<PHONE_NUMBER>8
Microsoft Corporation Microsoft.NET.Sdk.tvOS.Manifest-7.0.100-rc.1        Microsoft.NET.Sdk.tvOS.Manifest-7.0.100-rc.1<PHONE_NUMBER>8
As you can see by the output of "dotnet new console -o MyApp -f net7.0" command and the next command, it seems that the sdk is not detected even though it is installed.

The dotnet new console -o MyApp -f net7.0 command would create a new MyApp folder with sample app within the current folder.  @Septercore I see you run the command from C:\Windows\system32 which is special system folder you should not touch, and you could not add the new MyApp folder within it. Please change to the desired folder that you could create a folder and try again.
For example, you could switch to your user folder with cd ../../Users/USER-NAME command where you need to change the USER-NAME part with your username. Please let us know if that solves your issue


Release 0.4.1 (hotfix)

Release 0.4.1
:Date: Aug 30, 2024
Hotfix to packaging in setup.py:

Added the embedders module, which was accidentally omitted in v0.4.0
Updated the release process to ensure this doesn't get missed again

@wildsm unfortunately I cannot update the files in the release archives.  Even when I delete the release and re-tag it, it finds the same archives from when it was originally tagged.
Since I think conda uses these to generate its release, the only way I could think to fix the conda package is to publish a new release.


[INTEL_HPU] enhance unittests for test_cast

INTEL_HPU enhance unittests for test_cast by using test cases paramentes from npu and Intel_GPU

To run all the unit test cases in test_cast.py, the TestCast12 will be failed, but to run the TestCast12 case seperately, it will be passed. there should be a bug.
root@3FG16:/workspace/dpdp_habana/PaddleCustomDevice/backends/intel_hpu/tests/unittests# python test_cast.py
/usr/local/lib/python3.10/dist-packages/paddle/utils/cpp_extension/extension_utils.py:686: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
warnings.warn(warning_message)
I1224 16:24:43.060763 15055 init.cc:235] ENV [CUSTOM_DEVICE_ROOT]=/usr/local/lib/python3.10/dist-packages/paddle_custom_device
I1224 16:24:43.060786 15055 init.cc:144] Try loading custom device libs from: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1224 16:24:43.152319 15055 custom_device.cc:1099] Succeed in loading custom runtime in lib: /usr/local/lib/python3.10/dist-packages/paddle_custom_device/libpaddle-intel-hpu.so
I1224 16:24:43.153618 15055 custom_kernel.cc:63] Succeed in loading 107 custom kernel(s) from loaded lib(s), will be used like native ones.
I1224 16:24:43.153707 15055 init.cc:156] Finished in LoadCustomDevice with libs_path: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1224 16:24:43.153721 15055 init.cc:241] CustomDevice: intel_hpu, visible devices count: 8
I1224 16:25:33.004395 15055 program_interpreter.cc:243] New Executor is Running.
..F..................I1224 16:39:08.336874 15055 interpreter_util.cc:651] Standalone Executor is Used.
.
FAIL: test_check_output (main.TestCast12)
Traceback (most recent call last):
File "/workspace/dpdp_habana/PaddleCustomDevice/backends/intel_hpu/tests/unittests/test_cast.py", line 65, in test_check_output
self.check_output_with_place(self.place)
File "/workspace/dpdp_habana/PaddleCustomDevice/python/tests/op_test.py", line 2727, in check_output_with_place
static_checker.check()
File "/workspace/dpdp_habana/PaddleCustomDevice/python/tests/op_test.py", line 2329, in check
self.compare_outputs_with_expects()
File "/workspace/dpdp_habana/PaddleCustomDevice/python/tests/op_test.py", line 2319, in compare_outputs_with_expects
self.compare_single_output_with_expect(out_name, expect)
File "/workspace/dpdp_habana/PaddleCustomDevice/python/tests/op_test.py", line 2299, in compare_single_output_with_expect
self._compare_numpy(name, actual_np, expect_np)
File "/workspace/dpdp_habana/PaddleCustomDevice/python/tests/op_test.py", line 2266, in _compare_numpy
np.testing.assert_allclose(
File "/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py", line 1678, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py", line 884, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.01, atol=0.03
Operator (cast) Output (Out) has diff at Place(intel_hpu:0) in static checker
Mismatched elements: 32768000 / 32768000 (100%)
Max absolute difference among violations: 2.
Max relative difference among violations: inf
ACTUAL: array([[1.695312, 1.28125 , 1.226562, ..., 1.789062, 1.84375 , 1.054688],
[1.539062, 1.695312, 1.625   , ..., 1.546875, 1.679688, 1.132812],
[1.265625, 1.484375, 1.765625, ..., 1.351562, 1.0625  , 1.835938],...
DESIRED: array([[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],...

Ran 22 tests in 864.985s
FAILED (failures=1)
root@3FG16:/workspace/dpdp_habana/PaddleCustomDevice/backends/intel_hpu/tests/unittests# python test_cast.py TestCast12 -v
/usr/local/lib/python3.10/dist-packages/paddle/utils/cpp_extension/extension_utils.py:686: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
warnings.warn(warning_message)
I1224 16:41:13.106348 15332 init.cc:235] ENV [CUSTOM_DEVICE_ROOT]=/usr/local/lib/python3.10/dist-packages/paddle_custom_device
I1224 16:41:13.106367 15332 init.cc:144] Try loading custom device libs from: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1224 16:41:13.195590 15332 custom_device.cc:1099] Succeed in loading custom runtime in lib: /usr/local/lib/python3.10/dist-packages/paddle_custom_device/libpaddle-intel-hpu.so
I1224 16:41:13.196866 15332 custom_kernel.cc:63] Succeed in loading 107 custom kernel(s) from loaded lib(s), will be used like native ones.
I1224 16:41:13.196951 15332 init.cc:156] Finished in LoadCustomDevice with libs_path: [/usr/local/lib/python3.10/dist-packages/paddle_custom_device]
I1224 16:41:13.196966 15332 init.cc:241] CustomDevice: intel_hpu, visible devices count: 8
test_check_output (main.TestCast12) ... I1224 16:42:03.336819 15332 program_interpreter.cc:243] New Executor is Running.
ok

Ran 1 test in 124.973s


Add commitlint for project

Describe the feature you'd like to request
Style the commit msg
Describe the solution you'd like
yarn add -D husky @commitlint/{config-conventional,cli}

yarn husky add .husky/commit-msg 'yarn commitlint --edit $1'

check
https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional
Describe alternatives you've considered
pre-commit hook

Hey! I think this is a bit too opinionated so let's add it to https://turborepo.org/docs/guides/complimentary-tools. Can you make a PR? Going to close this in the interim.
Side note: husky is quite large library and there are slimmer alternatives FWIW.


BIGTOP-3465. Fix website publishing Jenkins pipeline.

Trying to merge to check if the website is successfully generated.

Confirmed that the Jenkins job succeeded and "Version" and "Last Published" in the website are updated.


SongPlayer.js#L10

https://github.com/bwann52/bloc-jams-angular/blob/cp8/app/scripts/Services/SongPlayer.js#L10
Issue:
If I include () at the end of
var currentAlbum = Fixtures.getAlbum;
vs
var currentAlbum = Fixtures.getAlbum();

If without (), then the album page works but the error "Cannot read property 'songs' of undefined
at getSongIndex (SongPlayer.js:15)" when I try to click previous on player bar.
I believe this is because without the (), technically the function isn't called and an album is not stored, thus properly of songs is undefined. This is proven with console.log(currentAlbum), which gives undefined.
However, if I were to include the (), the entire http://localhost:3000/album breaks, but I have no idea why might that be.

console.log(Fixtures) on line 13 of SongPlaye.js. You are not working with the Fixtures


Restriction to juju 2.9.0 version added

closes: https://github.com/canonical/bundle-kubeflow/issues/425

Duplicate of https://github.com/canonical/notebook-operators/pull/27


[zh] sync concepts\architecture\leases

The file concepts\architecture\leases.md has been updated in this PR (https://github.com/kubernetes/website/pull/42086) ,so we will synchronize the localization.
EN upstream: content\en\docs\concepts\architecture\leases.md
Sync to: content\zh-cn\docs\concepts\architecture\leases.md

/lgtm
/approve


This page crashed - URI malformed - When inserting win10 keyboard emoji on api field

This was first detected in badges/shields#9519, Read more there
I can reproduce this on docusaurus-openapi.netlify.app

Go to https://docusaurus-openapi.netlify.app/petstore/get-user-by-user-name/
Select the username text input field
Open win10 on screen keyboard (the one that pop-ups from bellow, not the old win7 version)
Select an emoji
Get page crash with URI malformed

More findings:
I see a diff with events data when using windows on-screen keyboard and emoji shortcut (winkey+.)
With on-screen keyboard when the issue appears:

With the emoji picker (win+.) when there is no issue:

Found the bug!

We are using  encodeURIComponent to convert to a URI in the api call, but encodeURIComponent does not work with the unicode format '\uD83C' that the keyboard outputs insted of the emoji itself.
This can be found in https://github.com/cloud-annotations/docusaurus-openapi/blob/main/packages/docusaurus-theme-openapi/src/theme/ApiDemoPanel/buildPostmanRequest.ts
I can make a pull request fixing this

Was too quick, this is not a valid unicode, i need to keep debugging

Ok new insight, this is probebly related to onInput event.
It appears that when i type using onInput the emoji start as non-exitsting unicode like \uD83C then the input continues and completes it into the pizza emoji.
But our code tries to use encodeURIComponent in this middle state where only partial emoji was registered by onInput

Confirmed using this textbox on github. I asked it to print to console the onInput event and from 1 emoji input using the keyboard i get 2 onInput events

Good find! Thanks for looking into this :)


Unable to use on samsung tablet

When I try to enable the plugin on my tablet i get "Failed to load Ink"
Works perfectly on my laptop

Reinstalling the extension on other devices solves issue


Error mezzanine with modeltranslation

Hi,
I have a error when i try the new mezzanine version with modeltranslation, i have an existing project
and i want translating existing page, but i have this error message:
modeltranslation.translator.DescendantRegistered: Model "Page" cannot be registered after its subclass "Form"

Thank you, for you're help

Any idea @Kniyl ?

I try with two diffrent project and i have the same error

Presuming no one's able to help you, you might want to try creating a new project, and step by step introducing the components of your existing project, to try and isolate the error.

You'll also need to provide some form of traceback - the above error really isn't enough to go by.

@stephenmcd  thank you , It's strange :)
Ok, if @Kniyl has no idea either, I'll trying to do any tests
Thx

It´s because of the order of your INSTALLED_APPS in the settings file.
Make sure  mezzanine.pages it´s the first one.
MEZZANINE_APPS = (
"mezzanine.boot",
"mezzanine.conf",
"mezzanine.core",
"mezzanine.pages",
"mezzanine.generic",
"mezzanine.blog",
"mezzanine.forms",
"mezzanine.galleries",
)

That's great to know, thanks!
We might be able to make Mezzanine ensures that happens.

I've just pushed a fix which ensures the pages app is first - it would be great if you could test this against your existing project to see if it resolves the issue.
Thanks again @miguelgr for the resolution.

Big thx @miguelgr and @stephenmcd, now it's work nice !
now just missing modeltranslation for cartridge :)

Sorry for comming late in the discussion. The solution is indeed to have mezzanine.page before any of its subclasses in INSTALLED_APPS. I made sure it is the case for new projects but didn't thought of a way to handle old ones.
That said, I was wondering if the modification of mezzanine.utils.conf wouldn't have some side effects. What happens when an app is placed before all of mezzanine ones in INSTALLED_APPS in order to provide alternate templates or static files. Won't this modification make mezzanine.page's static files and templates appear instead of the one of the custom app? Thus breaking the look and feel of the project?

What about : Kniyl/mezzanine@d2cbed6c39ed4bb4e00fbc1ec65eeaa01af5b7bd ?

Thanks @Kniyl, you're right of course, this would break template overriding.
Even with your improved approach, wouldn't it mean mezzanine.pages gets moved above apps that might contain both Page subclasses, and templates intended to override templates in the pages app?
It seems like there's no real way around this other than moving all of the templates out of mezzanine.pages and into possibly mezzanine.core, even though they don't belong there.

I've reverted the change from yesterday, and I'm honestly reluctant to move all of the templates from pages to core just to deal with this.
Perhaps we just need to document the app ordering requirements here in the new docs for multilingual content.

Since none of the the mezzanine apps that use models derived from Pages are overriding templates, I don't think it is up to mezzanine to handle that.
We can use my code to add a more explicit warning message instead of moving mezzanine.pages and let the users make their own design choices. This will help handle the transition for old projects.
As for theming apps that also define models with translation fields. I added a note in the documentation I proposed explaining that it might be splitted. Hope that is enough to make everything clear.


Added the ability to use tlsStore in helm chart to set default certificate in traefik

This change allows creating an object of type tlsStore from the values.yaml, this is useful to configure default certificates in Traefik
This change it also solves the issue https://github.com/traefik/traefik-helm-chart/issues/187

Any chance this getting merged soon, @Montero1992 can you maybe rebase to appease CI?

@Montero1992 Any chance that this could be finished up soon? It would be very useful to have inside the Helm chart.

Opened up https://github.com/traefik/traefik-helm-chart/pull/601 to finish the work here. rebase on top of it to perserve @Montero1992 commits

Hello @Montero1992,
PR #601 has been merged. You can now deploy a TLS Store with this Helm Chart.
I'll close this PR, as it's somehow a duplicate of #601.


About the max pages

Is 10 the max pages?
Can I get more data?
Thank you.

Hi @terryehj
Thanks for your comment.
See the following issue: https://github.com/matheusfm/futbin/issues/1#issuecomment-1177633554

Currently, the futbin API that we call to get and filter players only supports up to the 10th page.


Bootstrap v4.0.0 Heading Margin Inconsistency Between Images

I started a new project with Bootstrap v4.0.0 and noticed that when an h1 precedes an image that is 20px tall, there is a bottom margin of 11px, yet when it precedes an image that is 50px tall the bottom margin is just 7px. I then prepared a reduced test case (see link below) to find out what was going on to no avail and can only put it down to being a Bootstrap issue. I also noticed the same applies to the bottom margin of all h tags with the slight exception that the h4 bottom margin is always 1px less.
Reduced Test Case: https://codepen.io/chrisbowyer/pen/goqeNX
Operating System: Windows 7 Professional - Service Pack 1
Browser: Chrome 64.0.3282 (Official Build) beta (64-bit)

@mdo it would be very nice to have an option to allow users to "turn on" margin-top capabilities.
I can get such great vertical spacing control when I implement the following;
// Staggered margin-top
// For staggered margin-top values, use the following method

$h1-margin-top:               ($font-size-base * 2.5 * 2.75)!important;
$h2-margin-top:               ($font-size-base * 2 * 2.75)!important;
$h3-margin-top:               ($font-size-base * 1.75 * 2.75)!important;
$h4-margin-top:               ($font-size-base * 1.5 * 2.75)!important;
$h5-margin-top:               ($font-size-base * 1.25 * 2.75)!important;
$h6-margin-top:               ($font-size-base * 2.75)!important;

h1, .h1 {
  margin-top: $h1-margin-top;
}

h2, .h2 {
  margin-top: $h2-margin-top;
}

h3, .h3 {
  margin-top: $h3-margin-top;
}

h4, .h4 {
  margin-top: $h4-margin-top;
}

h5, .h5 {
  margin-top: $h5-margin-top;
}

h6, .h6 {
  margin-top: $h6-margin-top;
}

Results are amazing, even when Images are thrown in. I can simply "set it, and forget it" which is something we need. I get a super consistent vertical spacing with only a few lines.
But I would really like to remove those !important rule as it is super bad practice.

The above comment results in the following...

Adding those styles, as you've done here, would be the way to "turn on" that approach though. Doesn't make sense to bake that into the core project as an option to flip on or off.

@mdo I can see that but it was not exactly a quick process. If I am a Bootstrap beginner to intermediate, this would not be so obvious to execute. I also feel that a lot of folks that use Bootstrap may not have a design eye to understand the importance of spacing. Food for thought.


Remove try/except blocks which were suppressing all exceptions--they …

…make it harder to find bugs in the code.

I pointed this to dev, it is up to date with main.


[SPARK-11334][Core] Handle maximum task failure situation in dynamic allocation

Currently there're two problems in dynamic allocation when maximum task failure is met:

Number of running tasks will possibly be negative, which will affect the calculation of needed executors.
Executors may never be idle. Currently we use the executor to tasks mapping relation to identify the status of executors, in maximum task failure situation, some TaskEnd events may never be delivered, which makes the related executor always be busy.

This patch tries to fix these two issues, please review, thanks a lot.
CC @andrewor14 and @tgravescs .

Test build #51298 has started for PR 11205 at commit 966eb89.

Test build #51298 has finished for PR 11205 at commit 966eb89.

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

Merged build finished. Test PASSed.

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

Just to add a link here to the previous PR #9288

@jerryshao I took a look at this and it looks overly complicated. It seems that the problem is sometimes we have negative totalRunningTasks and that leads to undesirable behavior. Can't we fix this by expressing that in terms of stageIdToTaskIndices.map(_.values.size).sum?

Hi @andrewor14 , thanks a lot for your comments.
The reason why I introduce another data structure to track each executor's stage and task numbers is mentioned before and I pasted here again:

Executors may never be idle. Currently we use the executor to tasks mapping relation to identify the status of executors, in maximum task failure situation, some TaskEnd events may never be delivered, which makes the related executor always be busy.

According to my test, TaskEnd event may not be delivered as the expected number, which will make executor never be released. So compared to the old implementation, I changed to clean the related task number when stage is completed. That's why I introduce a complicated data structure.

Also cc @vanzin @srowen

sorry somehow I missed this go by, I haven't looked at the code chanes in detail yet.  The  TaskEnd event should be being sent all the time now, we fixed this bug a while back.  Or is it because its out of order?
Can you describe in more detail the exact issue and how this change fixes it?

I am seeing this issue quite frequently. Not sure what is causing it but frequently we will get a onTaskEnd event after a stage has ended. This will cause the numRunningTasks to become negative. If executor number is updated then number of required executors(maxNumExecutorsNeeded) becomes negative & have issues in new executor allocation and deallocation. Best case you get executors that are unable to deallocate & over time spark does not allocate new executors even if there are tasks pending.
There is a simple hacky patch here: https://github.com/apache/spark/pull/9288 & this one is an attempt to correct it with more accountability.
I am seeing this issue so frequently that I am not sure its possible to run Spark with dynamic allocation successfully for long duration without fixing it. I'll try the hacky patch & confirm.

I can confirm that removing speculation & setting maxtaskfailure to 1 eliminates this problem. Will try the patch & confirm

gentle ping @rustgi, have you maybe had some time to confirm this patch maybe? It sounds the only thing we need here is the confirmation.

gentle ping @rustagi

What's the status of this PR? @jerryshao

I guess the issue still exists, let me verify the issue again, if it still exists I will bring the PR to latest. Thanks!

Sorry haven't been able to confirm this patch becaus have not seen issue in production for quite some time.
It was much more persistent with 2.0 than 2.1
Not sure of cause.

This PR is pretty old and a lot has changed since, but it looks like this can be fixed now by just fixing code to look at stageIdToTaskIndices instead of keeping numRunningTasks around? (Or maybe use numRunningTasks as a cache for stageIdToTaskIndices.values.sum.)
Also, doesn't isExecutorIdle take care of the second bullet in your description?

Test build #83067 has started for PR 11205 at commit 59f9c15.

@vanzin ,  in the current code stageIdToTaskIndices cannot be used to track number of running tasks, because this structure doesn't remove task index from itself when task is finished successfully.
Yes isExecutorIdle is used to take care of executor idle, but the way to identify whether executor is idle is not robust enough. In this scenario, when stage is aborted because of max task failures, some task end event will be missing, so using number of tasks per executor will lead to residual data, and makes executor always be busy.

Verified again, looks like the 2nd bullet is not valid anymore, I cannot reproduce it in latest master branch, this might have already been fixed in SPARK-13054.
So only first issue still exists, I think @sitalkedia 's PR is enough to handle this 1st issue. I'm going to close this one. @sitalkedia would you please reopen your PR, sorry to bring in noise.

Test build #83067 has finished for PR 11205 at commit 59f9c15.

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

Merged build finished. Test PASSed.

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

@jerryshao I think the 2nd bullet has not been fixed in SPARK-13054.
I use spark 2.1.1, and I still find that finished tasks remain in     private val executorIdToTaskIds = new mutable.HashMap[String, mutable.HashSet[Long]]
But the numRunningTasks equals 0 since:
          if (numRunningTasks != 0) {
            logWarning("No stages are running, but numRunningTasks != 0")
            numRunningTasks = 0
          }


iOS 16 upgrade -> No longer validates or uploads to Testflight

Description
Upgrade of XCode and iOS 16 has broken our RN app.
Reproducable with clean app.
Version
0.69.5
Output of npx react-native info
System:
OS: macOS 12.5.1
CPU: (8) arm64 Apple M1 Pro
Memory: 249.69 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 11.0.14 - /Users/mike/.sdkman/candidates/java/current/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
expo init test

cd test
expo eject
cd ios; pod install; cd ../
open ios/test.xcworkspace
Select release profile
Archive project
Try Validate it
Snack, code example, screenshot, or link to a repository
https://github.com/mvniekerk/ios16-rn-fail

Same error after updating Xcode 14.
Apple Store connect operation error
The app references non-public selectors in Payload/: isPassthrough, onSuccess:, removeValuesForKeys:completion:, viewManager

+1

Same one here (no pod updates or package addition since the last release), guessing the issue comes from Apple backend validation from what I read so far
The app references non-public selectors in Payload/nameoftheapp.app/nameoftheapp: isPassthrough, onSuccess:, removeValuesForKeys:completion:, setHighlightsToday:

Any updates?

Can these still be submited, reviewed and released on the App Store?
I managed to upload to Testflight and download and install on a device. Need to release to store so will check.

App was still uploaded however.
Waiting to see if it can be installed.

Confirmed. The uploaded build worked well.

Does not upload for us.

Weird! Just minutes later I get a notification that it has uploaded and it is ready to be tested.

I have validated the app's success after having downgraded Xcode to 13.4.1.

+1 Getting Same issue with Xcode + iOS 16 and React Native 69

Can these still be submitted, reviewed and released on the App Store?
I managed to upload to Testflight and download and install on a device. Need to release to store so will check.

Want to update and confirm if you are on a tight schedule @auhonganh has best answer here, stay on 13.4.1 for now.

I'm happy to say I've built two apps using RN 0.70 + Xcode 14, pushed them to TestFlight, got the warning this thread is all about, and they passed Review process with no issues whatsoever.

Can these still be submitted, reviewed and released on the App Store?
I managed to upload to Testflight and download and install on a device. Need to release to store so will check.

Want to update and confirm if you are on a tight schedule @auhonganh has best answer here, stay on 13.4.1 for now.

@karltaylor: Yes, I submitted and passed the review process by Apple Store.

@wojtekmaj To clarify, despite the warning messages, your app did appear in App Store Connect eventually as normal after some time?

Update: I just noticed despite the app store connect message saying it is an "error", the title of the window does say "Distribution completed with warnings".

same issue, using :
Xcode 14
React Native 0.70.4

same issue, using :
Xcode 14
React Native 0.70.4

same here

+1

same issue, using : Xcode 14 React Native 0.70.4

same

same issue, using :
Xcode 14
React Native 0.69.7

same issue, using:
Xcode 14.1
React Native 0.70.6

RN: 0.70.6
Xcode: 14.1
The Minimum Deployment was 12.4, but when I changed it to 11.0, it was uploaded correctly.

I was solved this problem by downgrade Minimum Deployment.
The Minimum Deployment was 12.4, but when I changed it to 12.0, it was uploaded correctly.

Hey my minimum deployment was 10.0 i changed to 11.0, but i still have the warning, did anyone know how to get rid of this warning without downgrading xcode or upgrading RN ?
React Native 0.63.5
xCode : 14.2 (14C18)
macOS : 13.2 (22D49)

mine is exactly the same. I am using RN0.64.4....it was so weird some builds were successfuly uploaded, but after half an hour they all gone. disappeared from the testflight tab without any warning from apple

mine is exactly the same. I am using RN0.64.4....it was so weird some builds were successfuly uploaded, but after half an hour they all gone. disappeared from the testflight tab without any warning from apple

I have the same problem. Did you find a solution?

finally I solve the problem  =>
1: Minimum Deployments IOS version change from 12.4 to 12.0.
2: rebuild the app

How to solve this problem without downgrade Minimum Deployment?

+1, RN dictating our min deployment is unacceptable.  What else can be done?

The minimum iOS version change to 11.0 did not do the trick for me. So I left it at 12.0.
I submitted and got my app approved with the errors twice now. I think we can ignore the errors for now.


Need file opening, but what library has it?!

For e.g. Mac Mail signature processing

Added to Pharo-Enhancements, which was already a dependency


types: Add type helpers for DOM event handling

Adding type helpers to easy the transition from React to Vue.
Motivation
People coming from React are used to have this type helpers to type DOM events, which in Vue we don't have anything similar out-of-the box and expect users to understand how to type it with typescript is not ideal.
Implementation
I just copied the current types from React, only the SyntheticEvent is not copied because itself already extends the Event from dom.
Usage
import { InputEvent } from 'vue'

function onInput(ev: InputEvent<HTMLInputElement>) {
  const text = ev.target.value; // string
}

Possible problems
Because is using the same name as the native Events, it might confuse some users (because it requires to input from 'vue').

Vue has only a few pain points IMO, but typing events (or casting event.target) is one of them. These helpers would make things easier!


Controller shorthand and namespaces

Controllers are modified to use namespaces
Bramus router allows you to use Class@method calls in the router (https://github.com/bramus/router#classmethod-calls), since the controllers are using namespaces it can be used.

Damn, looks like i still missed that one even after a double check.

All good! Thanks for contributing as well :)


Fix the manually implemented "flatMap" ;-)

[obj] was wrongly transformed to obj and caused error on line 907

Reference Issue

Fixes #4923

Ping @dkokic to add a regression test for this pull request.

I would like to add the required regression test, but would need some guidance where to place the test file for legacy-element-mixin.html file.
The error (in my case) is being produced within iron-ajax error handler (iron-ajax.html:526):
if (this.verbose) {
  Polymer.Base._error(error);
}

This invokes the method in legacy-element-mixin.html:934
_error(...args) {
  this._logger('error', args);
}

which packs all the arguments into an array args and invokes the _logger method:
/**
 * Facades `console.log`/`warn`/`error` as override point.
 *
 * @param {string} level One of 'log', 'warn', 'error'
 * @param {Array} args Array of strings or objects to log
 */
 _logger(level, args) {
  // accept ['foo', 'bar'] and [['foo', 'bar']]
  if (Array.isArray(args) && args.length === 1) {
    args = args[0];
  }
  switch(level) {
    case 'log':
    case 'warn':
    case 'error':
      console[level](...args);
  }
}

The problem is clearly in the method implementation as it fails when args is an array with the single element.

@dkokic https://github.com/Polymer/polymer/blob/master/test/unit/logging.html is probably the best spot.


[Feature] Integrate FP8 GEMM into sgl-kernel

Checklist

[ ] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 2. Please use English, otherwise it will be closed.

Motivation
ref
https://github.com/NVIDIA/cutlass/pull/1932/files
Related resources
No response

note: If the official merge does not occur by the end of the month, we will compile and use based on the sgl-project/cutlass f8_blockwise_scaling_pr_branch branch.
ref https://github.com/sgl-project/cutlass/tree/f8_blockwise_scaling_pr_branch

@zhyncs this suppose to be NV specific.

@HaiShaw Yeah we will use it for some model on NVIDIA H100 and H200


Chip can not be used as a standalone component, due to visibility

We want to use the Chip component outside of the ChipField component, all it would it take is changing the visibility of Chip to public.

I see it was intentionally made package-private at some point (https://github.com/FlowingCode/ChipFieldAddon/commit/7c9c909506121d5f0364b4bea15d83ba258def25#diff-c053ac6056a1c6514826b0e882562a8f) but it's a good idea.

Thanks for the pull request. Changes were released in version 2.1.0


Pricing API Policy prevents GovCloud Deployment

The line https://github.com/aws/aws-parallelcluster-ui/blob/92d175b5fb47e9f19b9f00b83ccfd8c419d03c89/infrastructure/parallelcluster-ui.yaml#LL763C27-L763C30
Results in the error:
Partition "aws" is not valid for resource "arn:aws:ce:us-east-1::/*". (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID: 3ef760f7-3467-487a-8eb3-130712e1791c; Proxy: null)

Whoops duplicate of #213


Feature: Add Portuguese (Brazilian) content

The title says it all.
A good source I would recommend is:
https://redecanais.zip/
https://redecanaistv.zip/

In v3.6.7, i have added the torrentio stream support. it has more torrent streams.
BTW, the above links are not working when i just open it in my browser.

is this site having regional block?

Hi @mhdzumair, actually Rede Canais is a https stream provider, it is not a torrent site, I believe it is better as there is no depency on seeders to be able to watch the movies or series. Regarding the access, they have a warning message in their site saying to use a VPN if you are having trouble to access it, but in my case, I was having trouble and I simply changed my network config to use google DNS instead of the default, and now I am able to access it, maybe it can work for you as well

ohh if it's https stream then this future need to be delay further. Currently, not implemented any sources to scrap HTTPS streams since we have integrated the pikpak and seedr which is free to use within the storage limitation.

got it, I just find out that they provide this alternative link: bit.ly/redecanais10 that does not require a VPN or change your network settings apparently, in case you want to take a look on it in the future

Closing as it can be added via prowlarr or jackett indexers


SSE doesn't work on ANDROID RN 0.74 withouth Flipper

My application does not receive events in android but it does in ios.
We don't have the Flipper java plugign and still in DEBUG mode it is only in [EventSource] Will open new connection in 500 ms.
After that nothing else arrives.
In IOS it works correctly and events continue to arrive.

I'm using this library on React Native 0.74 without issues. There must be some problem with your code.
Have you checked if the problem also occurs in RELEASE mode?

i'm getting the same problem in "react-native": "0.71.8" and "react-native-sse": "^1.1.0".
I have tried using version 1.2.1 but it still doesn't work.
i tried creating a new project "react-native": "0.74.3" and used "react-native-sse": "^1.2.1" for this one worked fine.
are there any changes that need to be adjusted for previous versions of react native?

@EmilJunker I've tried it, and it works.
Thanks.

@amit13091992 You need to disable Flipper, see https://stackoverflow.com/questions/69235694/react-native-cant-connect-to-sse-in-android/69235695#answer-69235695
As long as Flipper is enabled, SSE won't work in debug builds on Android.

this file is not available in my project, as I am using the new version of react-native.

Just search your project for the word "Flipper". I assure you that you will find it somewhere.

Hello everyone,
I checked the case yesterday and in the latest version of React Native (0.74.3), the issue does not occur. I also checked version React Native (0.73.6) and I have to confirm that the problem occurs. In Expo 51, event-stream is blocked by the dev tools interceptor. Theoretically, the problem has been resolved, but for some reason, events are not dispatched until the stream ends.
Ref:
https://github.com/expo/expo/issues/27526

In Expo 51, event-stream is blocked by the dev tools interceptor.

There is supposedly a fix for the Expo dev tools interceptor, available here: https://github.com/MartinHarkins/expo-sse-patch
Did you try it?

Hi, @EmilJunker – Have you guys considered adding a note to the README telling people to disable Flipper for RN < 0.74, specifically for Android in debug? I ran into this problem myself and fortunately found this thread relatively quickly. Others might not be so lucky if they're working purely from the install instructions in the README. Just a suggestion :)


Get Label when clicking on Bar chart

Hi everybody.
I have a question about tooltips.
Can I get a label when clicking on bar chart ? (multiple labels on each segment but i would like to get only one that mouse on hover it )
Thanks,
:")

@Galleria this is possible. The bars have _datasetIndex and _index properties which uniquely identify which item was clicked. You can then look up the label in the data object

It's sure if there is one segment instance as below,
array[1]
[Element]
_datasetIndex:0
_index: 0
_view: Object
datasetLabel: "AAA"
But I couldn't get it if there is more than one segment because it returned all label instance as below,
array[3]
[Element]
_datasetIndex:0
_index: 0
_view: Object
datasetLabel: "AAA"
[Element]
_datasetIndex:1
_index: 0
_view: Object
datasetLabel: "BBB"
[Element]
_datasetIndex:2
_index: 0
_view: Object
datasetLabel: "CCC"
Thanks,

ah, I see what you're running into.
You have a few options though this will be best fixed in the next release due to #3400
With #3400 the new 'nearest' mode works much better and is guaranteed to only return a single element.
Before that happens, you could hit test the elements yourself to see which is the one you want. This snippet can get you started.
// helper function that translates an event to a position in canvas coordinates
var pos = helpers.getRelativePosition(e, chart);

// inRange is the function on the chart element that is used for hit testing
var intersect = elements.filter(function(element) {
  return element.inRange(pos.x, pos.y);
});

Thanks, :")
:+1:

Hi @etimberg
Can you help me on getting the accurate label and value when clicking on stacked bar chart, tried with activepoints but couldn't suceed and above pos I'm not getting in 2.5 version
Thank you


How to best customize a theme color?

I'm wondering about customization at an earlier level than individual faces. Is it possible to make overrides of a theme with specific customizations, like changing the comments color (beyond the use of the <theme>-brighter-comments that exists in many themes)? Change what green means for a theme? Or does one have to customize each face where that color is used with doom-themes-set-faces?

At the moment, there is no way to do this, no. I'm working on a rewrite of our API that will introduce inheritance, that should allow you to, but until then the easiest option is to copy the doom theme you want locally and modify it.

Thanks! Looking forward to that.

Personally I'm using the :custom-face attribute in the use-package macro. Here is one example that I'm currently using, hope it helps!
(use-package doom-themes
  :custom-face ; for solarized dark
  (font-lock-constant-face      ((t (:foreground "#2aa198"))))                       ; solarized cyan
  (highlight-numbers-number     ((t (:foreground "#2aa198"))))                       ; solarized cyan
  (diff-hl-change               ((t (:background "#2aa198" :foreground "#2aa198")))) ; solarized cyan
  (show-paren-match             ((t (:foreground "white" :background "#174652"))))
  (highlight-symbol-face        ((t (:background "#073642")))) ; region (base0)
  :config
  (setq doom-themes-enable-bold nil)
  (load-theme 'doom-solarized-dark t))


Perms directive test

You also included the changes from https://github.com/OpenSlides/openslides-client/pull/3404, probably by mistake

probably

I rebased this on main, the extra commit is gone now


Java9+ AccessibleObject (Method/Field) are leaking without setting setAccessible()

The following code is not leaking in java8, and complains that "ClassLoader has been garbage collected, while test is expected to leak"
but in Java9 this is leaking
I'm not sure yet what is the correct cleanup to fix this bug, but this is happening both in Java9 & Java10
This of course happens with any method or field, I've just randomly used Thread in this example
@RunWith(JUnitClassloaderRunner.class)
@LeakPreventor(LeakTest.Preventor.class)
public class LeakTest {

  @Test
  @Leaks(dumpHeapOnError = true)
  public void triggerLeak()
      throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
    Method m = Thread.class.getMethod("currentThread");
    m.invoke(null);
  }

  public static class Preventor implements Runnable {
    public void run() {
      // Not sure
    }
  }
}

I'm able to "fix" this by adding code in triggerLeak by adding m.setAccessible(true),
but thats cheating, since there are many libraries using this pattern, and I can't/won't change them.

I found a fix which sounds right, but I still have not fully traced the code in Java source code of why is it happening.
But, if I'm doing that class.getMethod("...").invoke() 15 times in the Preventor Runnable, then the class loader is being cleaned.

Hi @amir-shalem and thanks for the report! I have been able to recreate this using Java 10.0.1. However I have yet to understand the difference compared to Java 8. I'm afraid it might even be something internal to the JVM.

I figured out the bug, its because java no longer do bypassing of security checks. And security checks are caching the caller class in AccessibleObject::securityCheckCache.
the bug is also possible in Java8, but much harder to reproduce - only happens with protected method/fields.
The bug is that when creating method/accessor/constructor accessors, java pass the current method instead of the root method. thus causing that leak (http://hg.openjdk.java.net/jdk/jdk/file/56923ee4f07e/src/java.base/share/classes/java/lang/reflect/Method.java#l635)
I opened a bug report for it https://bugs.openjdk.java.net/browse/JDK-8202113
From what I'm seeing there's no general way to mitigate that, so i don't think there's anything you can do in your project for solving this issue systematically
Because mitigating that without knowing which methods are "spammed" will require you to traverse all the classes, and all their methods/fields/constructors, and look whether any of them have accessors which are pointing, and fixing the accessor pointer to the root
The reason invoking the method 15 times "solves" the problem is because the accessor is being converted from JNI to bytecode, and no longer points to the method (inflationThreshold)
You can argue that disabling inflationThreshold is one way to solve this, but this will only mitigate the bug method & constructor, and doesn't solve it for fields.
As for mitigating that if you know the methods ahead, you can just call them in PreInitiator stage - and make sure each method is invoked and has its accessor ready (and linked to the appclassloader), but this is project specific, you can't really predict the reflection which will happen in the future

Thanks for the info @amir-shalem !
Yes, since I haven't found a workaround either I will close this issue.

@mjiderhamn For completeness, I want to report that we've missed one portion of this bug, and that calling Class::newInstance() is leaking as well.
This means that if the classloader is calling stuff like: java.lang.String.class.newInstance() it will leak the caller.
Bug report: https://bugs.openjdk.java.net/browse/JDK-8206240
the newInstance() method is deprecated and shouldn't be used, but many external projects are using that, and if they are calling classes which are from parent classloader, then they will leak themselves because of the Class cache.
What even worst about this leak, that its not visible at all via MAT, see discussion in http://dev.eclipse.org/mhonarc/lists/mat-dev/msg00515.html
Currently most chances are that this bug won't be fixed for JDK11 release, I'm hoping for JDK12 they will fix it.
I'm going to mitigate it by invalidating those classes cache which are required, by calling their newInstance() as cleanup step, which will "work" - but its hard to find, since MAT can't verify me.


Improve feedback to users during sync process

This patch fixes some issues with the sync process. The parsing of lnd log entries where we calculate the current sync progress has been moved from the renderer back to the main process and updated to improve it's accuracy.
We now call dispatch a call to fetchInfo as soon as the gRPC connection has been established so that we get the node info as early as possible, and we defer showing the syncing screen until we are sure that a grpc connection has been established and syncing is in progress.
These enable us to provide better feedback to the user and prevent further race conditions that I have observed.
As a bonus, we show the user some more information about the current sync progress.

Tested ACK ce0bc3d

Haven't tested it yet, though I would suggest to change
"... syncing block 1,060,000 of 1,349,469"
to an actual time users can refer to:
"5 years 26 Weeks behind" or "2,010 days behind"
I have the feeling showing the block height is to technical for ordinary people. I think If they see, ah, I have to catch up what happended during the last 20 days it gives them more useful feedback than I am at "1,323,212 of 1,349,469"

@michaelWuensch I've just pushed several updates for this which I think improves the end user experience a little

@mrfelton wanna make the change to a new blockexplorer in the PR? testnet-api.smartbit.com.au is down again, which destroys the UX here. We shouldn't be so reliant on an API endpoint we don't control but a short term fix is switching to a more stable one. Maybe blockcypher?

Yeah, thats annoying @jackmallers . I've added a second commit to this which adds some redundancy there. We now check 3 different block explorers

I've pulled the changes for the block explorer fallback into a separate PR https://github.com/LN-Zap/zap-desktop/pull/535.
Additionally, I have fine tuned the lnd log parsing somewhat in order to improve efficiency. We can actually find out the current block height directly from the lnd logs so there is no need to call out to external block explorers at all if we have already determined the current block height from the logs.

Wow @mrfelton neutrino.js and this entire refactor is a massive improvement to the codebase, this is wonderful.
Tested ACK 1c8a2e9

Tested ACK 1c8a2e9


add the funtion plot_neural_behacior which is used to plot the linear…

… regression plot of behavior loss aversion against neural loss aversion of a single voxel

added script to plot beta and t heatmaps for standardized data. please check @BenjaminHsieh @boyinggong @changsiyao @brianqiu
this should be the last script that we are adding.

@BenjaminHsieh  I have correct the mistakes you pointed out and made pull requestes. Please check them.Thanks.

Ok I think this is good, can someone double check
@boyinggong @changsiyao  @brianqiu

looks ok, let's merge.


Appstudio update test-component-pac-yfrs

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-yfrs-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
40 seconds
build-container

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
21 seconds
clair-scan

✅ Succeeded
17 seconds
sbom-json-check

✅ Succeeded
21 seconds
label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
9 seconds
show-summary


Engineering discovery for Msg ID search API

Problem statement
We need to create an API to service a message ID search feature (#6670). This ticket is to flesh out an approach and identify any blind spots.
What you need to know
Info needed:

Incoming report id
Msg Date and Time stamp
URL to blob store
Incoming file name
Sender Org and facility name
Errors and/or warnings
Output report ID
Output file name
Field name of the tracking element would be useful. Most of the time it's messageID but not always.

Will likely need to return all reports by message ID and filter downstream of the API or send up sender information in the request and filter reports by sender before sending down.
Can reference metabase to see how things are looked up now. Can also look at routines: ex – report_ancestors, delivery_statistics, etc. Might be useful to get a walkthrough from Brick on what procedures they use now (and document).
Consideration: sync vs async send differences
Need to define MVP vs later features.
Acceptance criteria

[ ] ...

To do

[ ] ...

a couple notes:
• since message ids are unique per org, but not unique globally, we can require a selected org and filter message ids returned by selected org in order to target responses
• in order to limit complexity and get most important information out, return latest message data as first iteration, displaying a full history for a message id is a good second iteration

another consideration: should we connect to the readonly database?

Set up meeting for today (9/28) for this team to discuss: @brick-green @ahay-agile6 @a-chappelear and @fmccaf1


Fix assetid reference issue

Fix asset id reference issue
Summary

For the valid comment id, updated to xref link
For the invalid comment id, updated to a comment with "TODO".

This PR has now been replaced by PR #1943

closing as this work is incorporated in PR #1943


Add QGIS first tutorial in Ecology topic

Thank you for contributing to the GTN! :yellow_heart:
Please check that:

[ ] Your pull request has a good title, e.g.

"Fix typo in ansible-galaxy tutorial"
"Add new transcriptomics tutorial covering a new sequencing technology"

[ ] Please replace this entire pull request message with a description of your changes, it will help us review your pull request faster
[ ] Check that your images are allowed to be re-hosted by the GTN

Once these are done, you're ready to go!

Consider sustainable computing with Draft Mode :green_heart:
Is your pull request finished? 100% ready to be merged? Or do you want some time to work on it first (which we encourage! It's great to have visibility)
If not, then please consider creating this pull request as a draft.
Regular pull requests will trigger automated test runs when they are created
and every time you update them.
As a small contribution to sustainable computing, we skip the most energy intensive of these tests for pull requests marked as drafts. Once your pull request is ready to go, then you can click a button saying "Ready for Review" and the tests will be run!

Hi @shiltemann @bgruening  @erasche , A new tuto to illustrrate a first use of QGIS GxIT and to associate to a dedicated blog post we are written with wonder @Marie59 ! https://github.com/Marie59/galaxy-hub/blob/qgis/content/news/2023-10-06-qgis/index.md

:tada:

Hi @hexylena thank you for the review ! Just made the changes for the images description hope it' better !

Thanks a lot @yvanlebras @Marie59


chore: default to main branch for docs

Summary by CodeRabbit

Documentation

Improved documentation generation process with updated URL references in Markdown files.
Added cleanup step to remove backup files created during the URL replacement process.

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

Project coverage is 84.95%. Comparing base (f7f6d9f) to head (ee2fdaf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #392   +/-   ##
=======================================
  Coverage   84.95%   84.95%
=======================================
  Files           8        8
  Lines         412      412
  Branches      138      138
=======================================
  Hits          350      350
  Misses         62       62

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


Credit the creators

Hey @all-contributors please add @joshuagwatts for design

Hey @all-contributors please add @DavinciDreams for research

Hey @all-contributors please add @DavinciDreams for research, business and ideas

Hey @all-contributors please add @bluej21 for design


Sometimes there is no highlight

https://github.com/tzachar/highlight-undo.nvim/assets/24765272/9017d8d2-32c3-4721-a3de-9588d36870da

This is due to the behavior of your autocompletion plugin (I assume you are using cmp).
I am still not sure how solve for it.


Unable to install distutils packages from git: "error: invalid command 'egg_info'"

[x] I am on the latest Poetry version.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Windows 10 64bit

Poetry version: Poetry 0.12.4, Poetry 0.12.3 / Python 3.7

Link of a Gist with the contents of your pyproject.toml file: pyproject.toml

Issue
Attempting to install a package using distutils rather than setuptools in setup.py from git fails because egg_info is not a valid distutils command.
The specific package I am trying to install is typedload, which has no dependencies and uses
from distutils.core import setup

in its setup.py.
The full log and exception trace is here
The log for 0.12.3 output is here
Notes
I also encountered errors with installing from git regarding the directory deletion issues on windows as per #177 so my version of poetry has been patched to not clean up after itself
-shutil.rmtree(tmp_dir)
+pass

as a temporary fix, although this does not effect this issue itself.
Edits

Retested and updated issue for poetry 0.12.4

Retested and edited OP for poetry 0.12.4

As a side note, you can fork and change to from setuptools import setup which'll allow you to continue on (and you can PR back in).
I've had to do the same, but agreed distutils needs to be supported better

I checked and the typedload author isn't interested in adding setuptools as a dependency.
I don't specifically need this fixed for my use case atm as I can just grab that package from PyPy, this was just something I noticed that could cause issues in some other use cases 😄

This should be fixed in the latest 0.12.6 version.


Back button unresponsive for event screen in favorites section

Describe the bug
The back button and the on screen back arrow turn unresponsive for any event opened up from the favorites section .
To Reproduce

Go to the Likes tab
Click on any event that you have Favorited
Try to press the back button or the back arrow in the top left corner.
Both seem to do nothing

Expected behavior
Back button should lead to the previous activity.
Smartphone Info:

Device
OnePlus5

Android Version
Oreo 8.1

Would you like to work on the issue?
YES

This is most likely a duplicate of existing issue. The navigation is pretty much broken in the app

@iamareebjamal
as stated by @trancenoid  the bug does not persist as per the latest merge to development branch. I was facing the issue because my local machine was behind the master. But now i have updated my local code and same Issue persists in Tickets section and i dont see a related issue open to it ? So what should be done?

There are some PRs which have workarounds but no definitive fixes. You can see if you can fix the root bug because we don't want it to be fixed in one place and pop in another, which is happening currently


#142 Added test for removing commands with named variable

I added a test for removing a command with named variables - as mentioned in the issue, the test is very similar to an existing test for removing a command with optional words.

This turned out to be way more fun than I expected - if no one takes up the remaining first-timer issues in the next couple of hours, can I go ahead and tackle them?
And thank you so much for creating opportunities like this for people like us. I've been coding for a while now but I just could never find a way to fit myself into a OSS community. The prospect of it just seems incredibly daunting... I suspect I may have a strong and persistent bout of imposter syndrome.

Thanks for the contribution @siawyoung. Looks great! :+1:
I'm really glad you had fun with it, and really hope it will encourage you to contribute more!
As for the other first-timers-only issues, I would prefer to leave the opportunity for people who haven't contributed yet to open source. There's plenty of other open issues you can tackle, and I'll be glad to provide any help you need.
As for the imposter syndrome... I'm afraid that never goes away :blush:

Hey @siawyoung, I've got a bigger one for you, if you'd like.
I've just created #147. Hope it's interesting for you :+1:

I'm all over it 🙌

Thanks @siawyoung
How about we tackle some recursion next?
The test you added makes sure the callback is fired when there is a match... but we need to also make sure it doesn't get called when there is no match (this isn't a given, as the match callback gets called in both cases).
Would you create a new issue for first-timers-only to add this test, so that someone new can build on your contribution and get their first pull request in open source?
You see? Recursion! :smile:
(#152 is for testing something similar but for resultNoMatch)

:sunglasses: Issue 154 looks awesome!


37 add book rating route

Codecov Report
Base: 89.07% // Head: 89.67% // Increases project coverage by +0.60% :tada:

Coverage data is based on head (568fa03) compared to base (9ac61e1).
Patch coverage: 95.77% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   89.07%   89.67%   +0.60%
==========================================
  Files          39       40       +1
  Lines         613      678      +65
  Branches       75       85      +10
==========================================
+ Hits          546      608      +62
- Misses         65       68       +3
  Partials        2        2

Impacted Files
Coverage Δ

src/controllers/user.ts
90.62% <ø> (-0.15%)
:arrow_down:

src/schemas/book.ts
100.00% <ø> (ø)

src/schemas/user.ts
100.00% <ø> (ø)

src/controllers/bookRating.ts
95.16% <95.16%> (ø)

src/controllers/book.ts
91.42% <100.00%> (+0.12%)
:arrow_up:

src/controllers/borrow.ts
93.05% <100.00%> (+0.09%)
:arrow_up:

src/controllers/message.ts
94.11% <100.00%> (ø)

src/exceptions/Http.ts
100.00% <100.00%> (ø)

src/validators/book.ts
100.00% <100.00%> (ø)

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


V4 popover: Uncaught TypeError: f is not a function

I think I've got everything in place: Tether before bootstrap.js, etc. Here is the element, not trying to do anything fancy...
<button class="btn btn-secondary" data-content="This is the text of the popover." data-title="Hello World" data-toggle="popover" data-container="body" data-placement="right" title="Hello World">Click Me</button>
I've tried with and without data-title, data-container, etc. Result is always the same.

Looks like I had some JS that was out of order. Closing.

The problem is with the bundling and minification of MVC. Feel free to close if this is not the place for this.

We are unable to provide assistance with backend frameworks, such as ASP MVC.
You can take such questions to StackOverflow, IRC, or Slack. See our README for links.


fix: pass chat_template as a dict to ChatHistory

Hi @dusty-nv, just a sad undefined variable fixed 🙌
P.S. Did you had time to experiment a bit with llama-3.1 tool calling already? :)
Cheers

🙏

Sorry that I missed this before @ms1design - just merged it!


fix: traverseNodes unexpected behaviour

If there's no update in the latest version of the tree, we set the root node's value to be the previous root node's key instead of its marshalled bytes. When we call traverseNodes, we iterate through every nodes (including root nodes) and unmarshal the marshalled node's value via MakeNode. MakeNode is made only for unmarshaling a marshalled node's value, so if a marshalled node's value is actually a node's key like described above, it'll handle incorrectly.
Suggest that in traverseNodes we check if the marshalled node's value is indeed a root node's key so that we can ignore it

@catShaark , thanks for catching it, it seems like we need to refactor the traverseNode function using prefixIterate
FYI, it is a test utility function (not critical part).

should I close this now

should I close this now

or you can modify it

ohh, I'll modify this

@catShaark can we get a changelog here then we can merge

Yess

@tac0turtle, changelog added


travis: Enable Go 1.7 builds.

This commit will spawn an additional build for each PR and commit to
ensure that ciao can be built with Go 1.7 and that the resulting binaries
pass their unit tests.
Signed-off-by: Mark Ryan<EMAIL_ADDRESS>

Coverage decreased (-0.04%) to 65.599% when pulling 2329a3ca17e8f1442fc976e9eee639e2268fb938 on markdryan:master into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage increased (+0.007%) to 65.64% when pulling 42e285791bd520ce11a6e88caa92e1b66157fdd8 on markdryan:master into fef38726c017ae37efe629fd814f5ba15877dd82 on 01org:master.


refactor: update blas/ext/base/dnannsum to follow current project conventions

Resolves #1478 .
Description

What is the purpose of this pull request?

This pull request:

refactored @stdlib/blas/ext/base/dnannsum to follow current project conventions

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #1478

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@Pranavchiku applied all suggestion and fixed addon.c file which causing test case to fail.

@kgryte can u review the PR?


Decryption fails to refresh list

Under normal usage, decryption will refresh the contacts list immediately.
Using "find" command with any argument in an encrypted address book will prevent the list from refreshing.
Interestingly, using "find" command without any argument will work as normal.

Prevented user from hitting find when the addressbook is locked


[MOBILE] zesty explorer on mobile

The Zesty explorer button is a bit intrusive on mobile and also overlaps the chat button. Can we make smaller and move to the bottom left corner?

@Katiemoser Zesty explorer is only for development purposes, this will not display in production.


add siteController, add SiteResource, change SiteJson

add siteController, add SiteResource, change SiteJson
https://github.com/remsfal/remsfal-backend/issues/151

Issue #151 is already implemented with #194


fix leak

@trentmwillis  / @rwjblue I can't release, mind adding me as an npm owner?

Done!

@trentmwillis looks like there is a lag time. Mind releasing before i forget?

@trentmwillis nvm, released.


cmd/go: LANG environment variable affect go build under a cgo package

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version go1.6.2 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/pirate/go_path:/home/pirate/code/arpgserver"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

execute go build under a cgo package

What did you expect to see?
with LANG=zh_CN.UTF-8 compiler complains "-no-pie" not supported by gcc/g++
with LANG=en_US.UTF-8 ok

What did you see instead?

Please show us the output of go build -x with two different settings of LANG.  Thanks.

 Oh my. I guess the fix is to force LANG=C for the trial compilations.

Can you try the change in https://go-review.googlesource.com/#/c/23536/ ?


picam-streamer starts at boot, even if there is no wifi

Hi iizukanao, is it possible to start audio/video recording at boot, even if there is no wifi signal, I tried to run a cron job for that but the picam does not start, so no recording happens
Thanks and regards
Rajesh kumar

picam does not depend on WiFi availability. Is it possible to collect some logs of why picam does not start?

Hi iizukanao, Thanks, I used picam instead of picam-streamer and the issue got resolved


Typo in errors

Typo in https://github.com/ballerinalang/ballerina/search?utf8=✓&q=extraneous&type=
should be erroneous.

@manuranga. I think word extraneous is correct in this context.
(extraneous means "irrelevant or unrelated to the subject being dealt with. " ) thoughts ?

Do we ship a dictionary with the product :-p

As someone who does spelling mistakes often, my guess is, it's a spell auto corrector fix. Hard to believe someone intentionally wrote obscure English word to explain a simple error.

@manuranga, 'extraneous' is not actually a typo or an auto-corrected word, but is intentional. This term is coming from the lexer context. It hints that there's an additional token than what is expected (the opposite of the missing token error). ANTLR also use the same term in their default/in-built error strategies. :)


bug: When running litellm in docker it won't connect because it doesn't run on localhost directly

When running litellm in docker it won't connect because my base url is not localhost
Setting LITELLM_PROXY_HOST doesnt work,
Culprit:
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L224
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L332
Possible solution:
f"{LITELLM_PROXY_HOST}:{LITELLM_PROXY_PORT}/v1"

This is for setting the host of the internal LiteLLM running inside WebUI, not for connecting to an external LiteLLM. Just add it as an "OpenAI" connection.


Formatter request: sort methods

Hi @daixiang0,
Can you build a project to sort methods of a struct or interface?
type a struct{}

func (*a) C(){}
func (*a) D(){}
func (*a) A(){}
func (*a) B(){}
func (*a) Y(){}

this code should be
type a struct{}

func (*a) A(){}
func (*a) B(){}
func (*a) C(){}
func (*a) D(){}
func (*a) Y(){}

Thank you!

Thanks for your input, it is not in my plan but if anyone interested in it and post a PR, I am happy to review it.


[Feature Request] Allow edge line instead of dotted overlay with Toggle Delimiters

I find the dotted overlay with Toggle Delimiters option to be obscuring the objects/scene below them. Possible add the option to have a thin white line at the edges of each range of vision?

The overlay is supposed to help figure out the brightness that each point. There are of course different ways to visualize this. Bordered regions is a possibility, but those have some disadvantages as well and harder to implement. But do you want to see all edges of all light and vision polygons and not just the borders where the brightness changes? The bordered version would show the second picture, not the first, because there's no change of brightness in the overlap.

I believe the bordered version would be nice, as long as it appears at the edge of both bright and dim vision.


npm WARN deprecated<EMAIL_ADDRESS>

Type of issue

My environment

OS version/details: Windows 10 64-bit
Node version: 7.7.2
npm version: 4.4.1
Version of yo : 1.8.5

Expected behavior

clean installation
Current behavior

installed with WARN
Steps to reproduce the behavior
npm install -g yo (with admin rights after node & npm fresh install)
Command line output
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm

Thanks for creating the issue.
There is nothing we can change about this since npmconf is a subdependency deep down in our dependency tree.
But, you don’t have to worry. Its just a warning and won’t break anything.
Most people (including me) don’t even care about npm warnings during installation of packages ☺

The dependant module has been rewritten to not use npmconf months ago:
https://github.com/sindresorhus/fullname/commit/53420ef8e5ab91585f94a5afbf02b21c6511f5f2

Yes, we did not update at the time because with this rewrite, the module dropped Node < 4 support - which was not an option for Yeoman at the time.

@SBoudrias Thanks!
I assume that's OK to make PR now after Yo was ES2015-ied:
https://github.com/yeoman/yo/blob/master/package.json#L15

@ivostoykov
It appears the Yo already contains a version of fullname module that dos not show that warning when installed - but the version containing updated dependency is not yet released:
https://github.com/sindresorhus/fullname/commit/53420ef8e5ab91585f94a5afbf02b21c6511f5f2
https://github.com/yeoman/yo/blob/master/package.json#L50
Thanks!