Model corresponding to Ours-S-TT

Hi,
First thanks for this very well written paper and an innovative approach.
Your readme mentions that one can reproduce the results from Table 2 of the paper (page 11). In the table, there are 2 models mentioned - Ours-S-TT and PECNet. However, in your repo, you have 3 models.
Would appreciate if you could suggest which model corresponds to Ours-S-TT
Regards & thanks
Kapil

Hello,
Thank you — hope the code and paper are helpful. We provide results for final models in the repo, but if helpful we can put up models from ablation studies as well. For now, loading the dataset (SDD/UTH+ECY — which are be publicly available) directly and training without the social pooling layers should give results on this.
Regarding the truncation trick (TT), sampling from a truncated normal instead of N(0,1) will do the trick — although as shown in the paper this is helpful for few shot predictions and our provided code is for the standard K=20 where N(0,1) gives the best results. Happy to help with any followup questions.

Thanks @karttikeya for this quick response. Much appreciated.
A few questions -
a) I managed to run your test_pretrained_model.py with PECNET_social_model1.pt and it shows ADE/FDE of 9.96/15.88 which did not match any row in Table 2 and then I looked at Table 1 which is for SDD and I find these numbers in that table.
I think there is a typo in your README where it says that we can reproduce results in Table 2. Maybe you meant Table 1. Please check/verify.
b) What is the difference between the 3 models that are archived in your repository?
c) I have not paid much attention yet to your formulation of social pooling and would prefer to first try your experiment without it (baby steps :) ) and on ETH. When you say train without social pooling layers is it as simple as commenting the loop that invokes non_local_social_pooling?  This line to be precise
https://github.com/HarshayuGirase/PECNet/blob/9b649a942229b60d94c8bef766365c5745ac0091/utils/models.py#L155
Thanks for the guidance.
Regards
Kapil

Of course,

Indeed, it looks like a small typo — our main dataset of interest was SDD so provided models are pre-trained on this dataset.

All 3 models are trained on SDD — I believe there may be a few changes in hyperparameters (# of pooling layers etc.), but all 3 models are our social models for SDD.

The pickle files we have provided in the repo are social pickle files based on thresholds for the SDD dataset. If you want to run on ETH/UCY you’d just have to pass in that data into the data loader instead (either raw or using the social utils preprocessing to group neighbors etc.). Yes — just commenting the line out will ensure no pooling layers are used.

Scaled initial pos is used to allow the network to learn relative positions between pedestrians while matching element magnitudes.

Hope this answers your questions. I'm closing this issue for now. Please feel free to open another issue for other questions, star the repo if you found it helpful and thanks for interest in our code.


LND Backup using Windows could use some more information

Hi, I think the info on how to grab the LND-RESCUE file could use abit more information.
Right now it is:
ON YOUR MAC & LINUX LAPTOP - RUN IN NEW TERMINAL:
scp -r 'admin@xxx.xxx.xxx.xxx:/home/admin/lnd-rescue-*.tar.gz' ./
ON WINDOWS USE:
scp -r admin@xxx.xxx.xxx.xxx:/home/admin/lnd-rescue-*.tar.gz ./

I tried it using the 'Run' tool in Windows 10. It keeps returning 'Permission Denied' while using the correct password. I found out it it because the default destination path './' is not working.
Got it working by changing the command to enter into windows 'Run':
scp -r admin@xxx.xxx.xxx.xxx:/home/admin/lnd-rescue-*.tar.gz /path/to/destination
Note that the first dot of the destination needs to be removed.

Thanks for testing on Win10 (I dont have such a machine here). The ./ part not working is a bit sad ... replacing it with  /path/to/destination would need further explanation. Marking this to be improved for next release.
If anybody can find how to tell scp unter Win10 to place file into current working directory without manual replacement that would be great.

Thanks for testing on Win10 (I dont have such a machine here). The ./ part not working is a bit sad ... replacing it with  /path/to/destination would need further explanation. Marking this to be improved for next release.
If anybody can find how to tell scp unter Win10 to place file into current working directory without manual replacement that would be great.

https://www.pugetsystems.com/labs/hpc/How-To-Use-SSH-Client-and-Server-on-Windows-10-1470/
scp -r admin@<IP_ADDRESS>:/home/admin/lnd-rescue-*.tar.gz .
@Kapot Try this, inside the folder you want to save the backup, Mouse right click > Command Prompt > PlaceTheCodeAbove
Yeah, I have to use windows programs for work... sadly cant use linux full time.

https://www.pugetsystems.com/labs/hpc/How-To-Use-SSH-Client-and-Server-on-Windows-10-1470/
scp -r admin@<IP_ADDRESS>:/home/admin/lnd-rescue-*.tar.gz .
@Kapot Try this, inside the folder you want to save the backup, Mouse right click > Command Prompt > PlaceTheCodeAbove
Yeah, I have to use windows programs for work... sadly cant use linux full time.

https://www.pugetsystems.com/labs/hpc/How-To-Use-SSH-Client-and-Server-on-Windows-10-1470/
scp -r admin@<IP_ADDRESS>:/home/admin/lnd-rescue-*.tar.gz .
@Kapot Try this, inside the folder you want to save the backup, Mouse right click > Command Prompt > PlaceTheCodeAbove
Yeah, I have to use windows programs for work... sadly cant use linux full time.

Trying after the weekend, will let you know. Thanks.

https://www.pugetsystems.com/labs/hpc/How-To-Use-SSH-Client-and-Server-on-Windows-10-1470/
scp -r admin@<IP_ADDRESS>:/home/admin/lnd-rescue-*.tar.gz .
@Kapot Try this, inside the folder you want to save the backup, Mouse right click > Command Prompt > PlaceTheCodeAbove
Yeah, I have to use windows programs for work... sadly cant use linux full time.

Trying after the weekend, will let you know. Thanks.

OK I changed the SCP instruction for Windows (removed the final slash).
Will be part of v1.7RC1 ... to be tested for final release.

@Kapot How was the test? Worked fine? If yes, pls close this issue.

Should be fine .. but still was not able to get my hands on a windows machine to test myself. So keeping open for testing until v1.7.1 or anybody reports testing from windows machine.

Hey, sorry for the late comment. The rightmouse trick isnt the best, because on default the 'Command Prompt' does not show in the menu showing up. You'll need to activate it somewhere.
This still seems to be the best:
scp -r admin@xxx.xxx.xxx.xxx:/home/admin/lnd-rescue-*.tar.gz path\to\destination
The user only needs to add the destination, which for example should look like:
scp -r admin@xxx.xxx.xxx.xxx:/home/admin/lnd-rescue-*.tar.gz C:\Users\Username\Downloads\

https://www.pugetsystems.com/labs/hpc/How-To-Use-SSH-Client-and-Server-on-Windows-10-1470/
scp -r admin@<IP_ADDRESS>:/home/admin/lnd-rescue-*.tar.gz .
@Kapot Try this, inside the folder you want to save the backup, Mouse right click > Command Prompt > PlaceTheCodeAbove
Yeah, I have to use windows programs for work... sadly cant use linux full time.


Create logout button

A button was added to the 'userInfoSidebar' component within the user's profile to logout.


Interface proposal for MPS/MPO Index related functions

Here is an interface proposal for functions related to MPS/MPO. Currently there are some complicated function names, like:
unique_siteinds(H, psi)
prime_common_siteinds(H, psi)
sim_unique_siteinds(H, psi)
addtags_linkinds(psi)

To simplify these names, we could use the following type of notation:
siteinds(uniqueinds, H, psi)  # Return a vector with the site indices unique to H
prime(commoninds, siteinds, H, psi)  # Prime the site indices common between H and psi
sim(uniqueinds, siteinds, H, psi)  # Transform the indices unique to H to similar indices
addtags(linkinds, psi, "x") # Add the "x" tag to the link indices of psi

which will make use of dispatch, where in Julia each function has a unique type (i.e. the type of the function f is typeof(f)). The functions that are passed can be interpreted as "filters" that indicate that the function will act on the specified subset of indices.
Another idea is to use functions like only, all, and first as flags when filtering indices:
siteinds(all, H) # Return a Vector of IndexSets of all site indices on MPO H
siteinds(first, H) # Return a Vector of the first Index found on MPO H
siteinds(only, H; plev = 0) # Return a Vector of the only Index found on MPO H with prime level of 0

as an alternative to having functions named allsiteinds, firstsiteinds, etc.

Glad to see this went in. A key step will be to make sure there is documentation for these cases, meaning examples of some of the things that can be plugged in.


Check for the existence of Paloma in the hook Javascript

The changes in #57 reopened an old bug #5 where you get a Javascript error in Rails engines like Rails Admin.
The hook gets included in views rendered by engines but not the init.js so Paloma is not defined. This causes a Javascript error on all engine pages.
My proposed fix is to silently ignore when Paloma is missing in the hook in order to avoid a warning on every page in an engine.
By the way #57 moved the warning "Paloma not found. Require it in your application.js" into a file that gets included in application.js. So if you don't include paloma.js in you application, you won't see the message. If you do include it, the Paloma will be defined. So you would never actually see the warning, right?

@monkbroc Thanks for the fix. About the warning, yeah, I just realized that now that you've mentioned it. I'll review and see what I can do about it.

Thanks. Keep up the good work with Paloma :+1:


[Bug]: Chroma server does not free up the memory

What happened?
I have been using the Httpclient of chroma, and if I send 500 requests in parallel, the chroma server uses the memory during these call but does not free up the memory, after the results are returned? I want to know the possible problems and solutions?
Here is the code:
import chromadb
import gc
import os
from langchain_community.vectorstores import Chroma
import requests
from concurrent.futures import ThreadPoolExecutor, as_completed
import time
from langchain_openai import OpenAIEmbeddings
import psutil
from chromadb.types import SegmentScope
model_name = "text-embedding-ada-002"
openai_api_key = my_api_key
EMBEDDINGS = OpenAIEmbeddings(model=model_name, openai_api_key=openai_api_key, request_timeout=30000)
organization_id = my_organization_id
customer_id = customer_id
VECTOR_DB_HOST = "<IP_ADDRESS>"
VECTOR_DB_PORT = "5000"
collection_name = "657c87c28f04e8decca92969_66a8f9f5284fdd5763f671a2"
Initialize the shared client outside of the parallel loop
client = chromadb.HttpClient(host=VECTOR_DB_HOST, port=VECTOR_DB_PORT)
Initialize the shared Chroma vector database object
VECTORDB = Chroma(collection_name=collection_name, embedding_function=EMBEDDINGS,
client=client, collection_metadata={"hnsw:space": "cosine"})
PROMPT = "write job description of a software engineer"
total_calls = 500
parallel_requests = 100
Function to make the API request
def make_request(i):
print(f"Starting call {i}...")
try:
    # Use the shared VECTORDB instance for the request
    results = VECTORDB.similarity_search_with_score(PROMPT, k=10)
    if results:
        print(results)

except requests.exceptions.RequestException as e:
    print(f"An error occurred: {e}")

print(f"Finished call {i}.")

Using ThreadPoolExecutor to handle parallel requests
with ThreadPoolExecutor(max_workers=parallel_requests) as executor:
futures = [executor.submit(make_request, i) for i in range(total_calls)]
for future in as_completed(futures):
pass
print("All results extracted")
Versions
Name: chromadb
Version: 0.5.5
Relevant log output
No response

@saqlainumer-181, thanks for reporting this. Chroma had a SQLite connection pool leak, which caused many open file handles to linger and increase in number over time, especially under heavy (aka concurrent) load. The issue was addressed in this PR #2014, but it has not yet been released.  You can pull the Chroma docker image chromadb/chroma:0.5.6.dev39 or later to get the fix.

Contributor
I have used this image of  chromadb/chroma:0.5.6.dev39, However, when I make concurrent calls to the chromaDB, after all the processings(search in this case) are completed, it still does not free up the memory.


[Bug]: Array in claims taken as duplicate claims with "Duplicate claims are not allowed within a request."

What happened?
The claim type is "scope", stored as "array" value
Data api builder simply crash because we have array in our access token

Version
Microsoft.DataApiBuilder 0.9.7+e560142426d1c080b9fd7b7fabff51a276f6bf61
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thank you for reporting, @abratv. I agree this is an issue and I'm looking into it. Few questions:

What identity provider are you using, EntraID/Azure AD?
Out of curiosity, do you use the scope claims (scp) in any DAB Database authorization policy rules?

It's our internal open id provider
Like what I said in another issue, I'm aware officially its Az AD but there is no "technical" limitation other than "business decision" here, Msft promote this as open source and can run it on premise so... (does not mean i want to fork it :P)
No, normally scope claim is used to authorize the api endpoint, say "api:person:read", then this indicate the access token can only be used to reach GET /person, it does not even hit the database yet
Having saying that, because DAB simply throw all claims to sp_sessions_context? (there was discussion to configure this instead of using all claims but it does not made it?), it should be up to us to decide which claims to be used in session context
DAB should simply give us "example/best practice" and not limit the possibility of using DAB

@seantleonard i saw your PR, seems that means we can't use any stored claims with JSON array, why not simply using "scope_0", "scope_1",... but again this should be configurable


Manim written in different language produces an error

If this is a support request:
Please attempt to solve the problem on your own before opening an issue.
Between old issues, StackOverflow, and Google, you should be able to find
solutions to most of the common problems.
Include at least:

Steps to reproduce the issue (e.g. the command you ran)
The unexpected behavior that occurred (e.g. error messages or screenshots)
The environment (e.g. operating system and version of manim)

If this is a feature request:
Include the motivation for making this change.

I had been trying to create a scene using #525 but had been getting a error "Latex error converting to dvi" to which i tried following #36 but still kept getting the error. Also, i would like to try the assamese language in manim. Can you guide me the steps?

i would like to try the assamese language in manim
manim uses Latex at its core, which only supports english by default ..... but there are numerous Latex packages which for other languages, try searching them.

"Latex error converting to dvi"
share the full error and log files ..

This is the error
Traceback (most recent call last):
File "C:\Manim\manim_3_feb\manimlib\extract_scene.py", line 153, in main
scene = SceneClass(**scene_kwargs)
File "C:\Manim\manim_3_feb\manimlib\scene\scene.py", line 54, in init
self.construct()
File "tutorial\1_text_format.py", line 222, in construct
tex=TextMobject("\jap{これはmanimのあるアニメーションです}").scale(1.5)
File "C:\Manim\manim_3_feb\manimlib\mobject\svg\tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "C:\Manim\manim_3_feb\manimlib\mobject\svg\tex_mobject.py", line 45, in init
self.template_tex_file_body
File "C:\Manim\manim_3_feb\manimlib\utils\tex_file_writing.py", line 20, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "C:\Manim\manim_3_feb\manimlib\utils\tex_file_writing.py", line 67, in tex_to_dvi
"See log output above or the log file: %s" % log_file)
Exception: Latex error converting to dvi. See log output above or the log file: C:\Manim\manim_3_feb\manimlib\files\Tex\e89320de1c1ff07e.log

And this is the log file
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7400 64-bit) (preloaded format=latex 2020.4.29)  29 APR 2020 21:22
entering extended mode
**C:/Manim/manim_3_feb/manimlib/files/Tex/e89320de1c1ff07e.tex
(C:/Manim/manim_3_feb/manimlib/files/Tex/e89320de1c1ff07e.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-04-06>)
! Emergency stop.
<*> ...feb/manimlib/files/Tex/e89320de1c1ff07e.tex
Here is how much of TeX's memory you used:
20 strings out of 480931
627 string characters out of 2909553
239226 words of memory out of 3000000
15990 multiletter control sequences out of 15000+200000
532338 words of font info for 24 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
12i,0n,15p,92b,8s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.

do you have tlmgr installed on your windows system? (test it by typing on cmd)

It is not installed

i have miktex, havent tried tex live

install the bangtex package, and edit this file to include it manimlib/utils/tex_template.tex

I have the bangtex package installed. But what exactly do i edit?

When i tried checking  #525, and followed its edit for the japanese language, it did not work as intended and i got the "Latex error converting to dvi" error.

@tshrpl  Can you provide me with the edits that i need to do in the tex_template.tex file?

instead of configuring your latex system, I suggest using custom fonts ....
the result will be pretty good

steps

download Akaash font (bangla and assamese)
follow this video to setup Text MObject to use pc fonts

@tshrpl It is working. But there are inconsistencies. For instance, you have written বাংলা লেখা but if you look closely at the output, it is বাংলা লখো. Most of the times it spits out absolutely meaningless words.

meaningless words

(well, I'm not a native speaker so sorry for the nonsense you had to read I used google translate) ...
this is an encoding problem, not a problem in manim ..... there are some char like "..." which are treated like single char instead of multiple in unicode, but there is also a "..." (multiple char version)
try this in python
print('লে')
and see the output in terminal, it's two chars right ... but you just pasted one char in you text editor !?!
try searching for the single char version ...

@tshrpl  This one did help in solving some issues but not all. Like i tried এনেদৰে, but just couldn't come up with anything.

class bangla_3(Scene):
	def construct(self):
		text1 = Text('এেনদেৰ', font='Akaash')
		self.play(Write(text1))
		self.wait()

# untested, broken function
def format_assamese_text(s):
	s = list(s)
	for i in range(1, len(s)):
		if s[i] == 'ে':
			s[i-1], s[i] = s[i], s[i-1]
	return ''.join(s)


[iOS][Android] [Harvesting] Shows different statuses on Harvesting page

version: 4(3)
WTR:

Go to the web version and activate harvesting
Then Stop Harvesting
Open mobile app with the same account and go to Harvesting page

Result: on the web page the status changed to Inactive but on the mobile page it shows Keys Linked and Stop Harvesting button. (The page was refreshed and the app was restarted)

I was able to reproduce in mobile app itself. I stopped harvesting, transaction was confirmed and I had still "Keys linked". I had to restart app to make it refreshed.

Harvesting needs to be redone.
#77

Harvesting needs to be redone.
#77


Struct/Map support roadmap

Backgroud
At present, starrocks already supports static Struct/Map types in the external table, and can query external tables (hive/parquet/....) through related expressions. Some user will load the external data into starrocks, but starrocks has not supported the storage and import process of Struct/Map in the OLAP table.
Target

Internal tables support DDL operations on static Struct/Map type columns
Support importing Struct/Map types from external data sources to starrocks
Support querying Struct/Map and related expressions
Optimize Struct/Map query performance as much as appearance

Currently supported

Struct/Map storage of internal tables (the code is ready, but needs to be test & review)
Memory column structure of Struct/Map
Some simple expressions

Phase 1.

Internal tables support DDL operations on static Struct/Map type columns

[x] Table schema create
[x] Stuct/Map type syntax

Support load Struct/Map types

[x] Data source format (Parquet, ORC)
[x] Import ways (Insert Into, Broker Load)
[x] Test & review Struct/Map storage of internal tables

Optimize Struct/Map query performance

[x] Struct/Map column access performance optimization
[x] Structure internal column prune design & implement

Phase 2.

Internal tables support DDL operations on static Struct/Map type columns

[ ] Table schema change

Support load Struct/Map types

[ ] Data source format (CSV)
[ ] Import ways (Stream Load, Rotinue Load)

Support querying Struct/Map and related expressions

[x] Struct/Map data type conversion

Optimize Struct/Map query performance

[ ] Expression performance optimization

other

We would very much like struct support for views on top of Iceberg tables.

Also looking forward for these along with Views support

We would very much like struct support for views on top of Iceberg tables.

look at the requirement, @zombee0

Also looking forward for these along with Views support

View support now

Hey guys,
When we can expect supporting struct/map types in stream load? Is there an estimate for that?

Hi guys, any update on the "Support load Struct/Map types: Data source format (CSV)"?

Any tips if I would love to work on  "Support load Struct/Map types: Data source format (CSV)"? Could you guys shed some light on the entry class？

@ever4Kenny Currently, we want to support loading Struct data thourgh JSON format first. (Its' similar for CSV)
The rough idea is that:

Users convert Struct data into a string (structed-formatted string, or json-formatted string), or a JSON object.
The corresponding target column is defined as a Struct data type column.
Stream Load or Routine Load can convert such a string or JSON object into the target Struct data column.


Authorization with CanCan and GraphQL Guard

For CanCan
Maybe you don't need to include here functionality in this gem. Maybe a short Wiki might help:
Using in resolvers:
Add a base resolver class or somewhere a method where you access the current_ability. In this method you initialize the ability with the current_user in the context object.
module Resolvers
  # Base resolver class
  class BaseResolver < GraphQL::Schema::Resolver
    def current_ability
      Ability.new(context[:current_user])
    end
  end
end

Or directly in your query_type.rb:
# query_type.rb
module Types
  class QueryType < BaseObject

    field :users, Types::UserType.connection_type, null: false
    def users(**_args)
      ::User.accessible_by(current_ability).includes(:account)
    end
    field :user, resolver: Resolvers::User

    def current_ability
      Ability.new(context[:current_user])
    end
  end
end


[New Port Request] OSQP

Library name
OSQP: Operator Splitting Quadratic Program
Library description
A quadratic program solver that uses the ADMM algorithm
Source repository URL
https://github.com/osqp/osqp
Project homepage (if different from the source repository)
https://osqp.org/docs/index.html
Anything else that is useful to know when adding (such as optional features the library may have that should be included)
No response

Please keep open


Trouble building/running the caching service with nix

Hey guys, I'm new to nix and thus unsure how to proceed here. I've installed nix on Ubuntu 22.04.2 LTS and cloned the repo. Then from the repo directory I'm running nix --extra-experimental-features 'nix-command flakes' develop -c sh -c '$start_primal_caching_service'
On the first run, it installed most of the dependencies but errored on installing HTTP. Following runs of the same command return the following:
gcc -shared -g -fPIC -O2 -o libbech32.so -Ibech32/ref/c bech32.c
bech32.c:5:10: fatal error: segwit_addr.c: No such file or directory
    5 | #include "segwit_addr.c"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: libbech32.so] Error 1
  0 dependencies successfully precompiled in 0 seconds. 83 already precompiled.
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
  0 dependencies successfully precompiled in 0 seconds. 83 already precompiled.

ERROR: LoadError: The following 1 direct dependency failed to precompile:

HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3]

Error: Missing source file for HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1435
 [3] precompile
   @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1072 [inlined]
 [4] #precompile#225
   @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined]
 [5] precompile (repeats 2 times)
   @ /nix/store/i92h4wy9ay6iays1dsg99qsjsjybyli1-julia-bin-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:1071 [inlined]
 [6] top-level scope
   @ ~/primal-caching-service/pkg.jl:1
in expression starting at /home/jg/primal-caching-service/pkg.jl:1

hi! don't forget to init git submodules after git clone:
git submodule update --init

or you can clone with --recursive flag in the first place:
git clone --recursive https://github.com/PrimalHQ/primal-caching-service

does it work after that?

Thanks @pritk – I had this comment written and forgot to submit...
I missed that there was a submodule in the repo so I tried to clone again with submodules and got the following permissions error...
git clone --recurse-submodules https://github.com/PrimalHQ/primal-caching-service.git
Cloning into 'primal-caching-service'...
remote: Enumerating objects: 139, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 139 (delta 16), reused 15 (delta 15), pack-reused 112
Receiving objects: 100% (139/139), 91.94 KiB | 1.96 MiB/s, done.
Resolving deltas: 100% (70/70), done.
Submodule 'bech32' (https://github.com/sipa/bech32) registered for path 'bech32'
Submodule 'dev/HTTP.jl' (git@github.com:PrimalHQ/HTTP.jl.git) registered for path 'dev/HTTP.jl'
Cloning into '/home/jg/primal-caching-service/bech32'...
remote: Enumerating objects: 340, done.
remote: Counting objects: 100% (72/72), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 340 (delta 25), reused 51 (delta 20), pack-reused 268
Receiving objects: 100% (340/340), 184.50 KiB | 2.75 MiB/s, done.
Resolving deltas: 100% (158/158), done.
Cloning into '/home/jg/primal-caching-service/dev/HTTP.jl'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:PrimalHQ/HTTP.jl.git' into submodule path '/home/jg/primal-caching-service/dev/HTTP.jl' failed
Failed to clone 'dev/HTTP.jl'. Retry scheduled
Cloning into '/home/jg/primal-caching-service/dev/HTTP.jl'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:PrimalHQ/HTTP.jl.git' into submodule path '/home/jg/primal-caching-service/dev/HTTP.jl' failed
Failed to clone 'dev/HTTP.jl' a second time, aborting

hi! git submodule url is fixed. can you try to run it again?

🎉 I was able to clone – going to try and build and see where we get. :)


upgrade error from 2.7 to 3.0 or 2.8

I have 2.7 project site and replaced gitbucket.war of 3.0 or 2.8, and then access the site, so I got the following error.
org.h2.jdbc.JdbcSQLException: Table "ACTIVITY" not found; SQL statement:
select x2.x3, x2.x4, x2.x5, x2.x6, x2.x7, x2.x8, x2.x9, x2.x10 from (select x11.x12 as x9, x11.x13 as x6, x11.x14 as x5, x11.x15 as x4, x11.x16 as x8, x11.x17 as x10, x11.x18 as x3, x11.x19 as x7 from (select x20."ACTIVITY_DATE" as x12, x20."ACTIVITY_TYPE" as x13, x20."ACTIVITY_USER_NAME" as x14, x20."REPOSITORY_NAME" as x15, x20."ADDITIONAL_INFO" as x16, x20."ACTIVITY_ID" as x17, x20."USER_NAME" as x18, x20."MESSAGE" as x19 from "ACTIVITY" x20) x11 inner join (select x21."UPDATED_DATE" as x22, x21."PARENT_REPOSITORY_NAME" as x23, x21."DEFAULT_BRANCH" as x24, x21."DESCRIPTION" as x25, x21."ORIGIN_REPOSITORY_NAME" as x26, x21."ORIGIN_USER_NAME" as x27, x21."PARENT_USER_NAME" as x28, x21."PRIVATE" as x29, x21."REPOSITORY_NAME" as x30, x21."USER_NAME" as x31, x21."REGISTERED_DATE" as x32, x21."LAST_ACTIVITY_DATE" as x33 from "REPOSITORY" x21) x34 on (x11.x18 = x34.x31) and (x11.x15 = x34.x30) where x34.x29 = ? order by x11.x17 desc limit 30) x2 [42102-180]
If I setup a site from scratch using 2.8 or 3.0, there is no issue.

I think that your GitBucket failed to automatic migration by abnormal reason like accessing during migration. In such a case, you have to replay diffs between the succeeded point and the failed point manually for the broken instance.
Could you show your table list of H2 and the content of GITBUCKET_HOME/version?

How can I get table list of H2?

Currently the version is 2.7 (Now I'm using 2.7 package)
After I upgraded to 3.0, the version file was changed to 3.0, but the GitBucket site showed 0.0.
Then I replaced to 2.8, at that time I didn't check the version file, but the GitBucket still showed 0.0.
Even I replaced to 2.7, the version file was 3.0, so I modified it to 2.7 manually.

BTW, I'm not sure but I have installed 2.3 at first, and then upgraded to 2.7 (or 2.6).

You can use H2 web console from the system administration console of GitBucket. Fill sign-in form like below and click Connect button, then you can access H2.

INFORMATION_SCHEMA is system tables of H2. What's top level tables? Correct table list is here:

There are no tables at top level. What is JDBC URL?

See the first screenshot.

Even if I specify ~/.gitbucket/data, there is no table.

Hmm... H2 data is broken? But I've never seen such broken state.
At first, If H2 data is broken, you can't sign-in to GitBucket. So I think H2 data is living.
Do you set GITBUCKET_HOME?

I'm running Gitbucket on Windows at D:\GitBucket folder.
The following is the batch file to start gitbucket process.
java -jar D:\GitBucket\gitbucket.war --port=9080 --gitbucket.home=D:\GitBucket\
I found C:\users\kimitake.gitbucket\data.mv.db, so just renamed it, then the file was created automatically when I clicked "Test connection" button on H2 console.
There is same file at D:\GitBucket folder, so just copied it to ~/.gitbucket/ and clicked "Test connection" button (username is sa, password is blank), but in this case, the console shows "Wrong username or password" error.
Does 2.7's data.mv.db use different username/password?
I guess 2.8 or 3.0 migration process cannot access the file (D:\GitBucket's one) and failed to upgrade.

Is it possible to migrate the repository manually?
I'm thinking to prepare new Gitbucket and I will be able to push all repository to new one, but how can I export user info?

If you are still trying to use H2 Console, what about ./data, which is a relative path from your gitbucket.war?
Or maybe another relative path from java.exe's current working directory?
If you get  "Wrong username or password" error then, your src/main/resources/database.conf will help you.

Close all questions. If you have any questions about GitBucket, please send them to the gitter room instead of issue according to the Guideline for Issues.


Implement completions with placeholders

Implement the new completions API to support placeholders  in completed code. Initial support is included in the latest release of Kite, make sure that you're running an up-do-date version.

Spec: https://kite.quip.com/hzoBAWErjW28/Completions-API-v2019

Done in #182.


Update erlang to R17.5

Update to Erlang R17.5, and update omnibus software.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.


inspection of compilation namespace for IF/ELIF/ELSE/DEF

I tried to post this to cython-dev twice and got one awaiting
moderator approval and one silent no-op.  So, I'll try it here.
It would be nice to have conditional compilation
directives that make multiple inclusion idempotent.
The usual guards in the C/C++ world would be:
#ifndef FOO_H
#define FOO_H
...
#endif

In Cython, I have been doing
DEF FOO_1 = 1
DEF FOO_2 = 1
IF FOO_1 == FOO_2:
DEF FOO_2 = 2
...
That seems kind of ugly, though.  Beyond aesthetics,
it is probably nice in other contexts besides include
idempotency to test for a name before using it.
So, I propose a tiny addition to add a new compile-
time builtin called DEFINED() that just evaluates
to a boolean based on whether its string argument
exists in the compile-time environment.
This allows the above construct to be written both
more simply and more clearly:
IF not DEFINED("FOO"):
    DEF FOO = 1
    ...

Name choice follows the principle of least surprise
since the lowercase cpp name has similar functionality,
just like the other conditional compilation features.
Here is a very simple patch that implements this,
attached as well.
diff -ruw Cython-0.9.8.orig/Cython/Compiler/Scanning.py Cython-0.9.8/Cython/Compiler/Scanning.py
--- Cython-0.9.8.orig/Cython/Compiler/Scanning.py       2008-06-11 14:25:34.000000000 -0400
+++ Cython-0.9.8/Cython/Compiler/Scanning.py    2008-07-17 16:39:27.691882798 -0400
@@ -186,6 +186,9 @@
else:
raise

def defined(self, name):

   return name in self.entries

def initial_compile_time_env():
benv = CompileTimeScope()
names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
@@ -201,6 +204,7 @@
for name in names:
benv.declare(name, getattr(builtin, name))
denv = CompileTimeScope(benv)
denv.declare('DEFINED', denv.defined)
return denv

------------------------------------------------------------------
At 2008-07-19T15:44:09Z<EMAIL_ADDRESS>added attachment defined.patch
Migrated from http://trac.cython.org/ticket/27

@scoder given #4310 this can probably be closed


C API Support

This PR adds the initial support of the C API implementation for interoperating with other programming languages, such as Fortran, Python, and Julia. The language linkage with key word extern "c" is used to enable the interfacing.
C API Design:

Conveys an uniform naming convention as specified here
Usage of macros and std::dynamic_pointer_cast to avoid code duplication

Changes:

Added header file include/ginkgo/c_api.h (define macros, declares function/structs) and source file core/c_api.cpp (concretize definitions of declared functions that internally calls ginkgo)
Necessary changes in CMake files cmake/install_helpers.cmake and core/CMakeLists.txt to include the C API

Example Usage:

Calling ginkgo from C through the C API can be seen here
The Julia package Ginkgo.jl calls ginkgo routines with ccall through the from Clang generated Julia side api.jl, which internally executes compiled dynamic libraries of ginkgo. It supports both locally compiled dynamic libraries or ones that are hosted under an artifact package ginkgo_jll.jl.

I also have a general question: Should we add some form of CI to check if the API is still working?


Prevent checkout popup from being blocked

Hello!
I was looking at the stripe docs and I noticed that way you open the Checkout popup might be blocked in certain browsers.
As per the Stripe docs, this line
https://github.com/azmenak/react-stripe-checkout/blob/63fc5555f7f6500925b9e299919ec29c63e04c61/StripeCheckout.js#L348
Should probably be replaced by
fetch("/").then(() => {
   ReactStripeCheckout.stripeHandler.open(this.getConfig());
});

Thanks for this package! 👍

Hey Marion,
Looks like you misread the docs and it's the inverse, calling fetch will not work where as binding it to the onclick will work 😄
Cheers,


[BUG] Loading big dataset with 2 million examples is causing an error

🐛 Bug
ARNING]  using untested triton version (2.3.1), only 1.0.0 is known to be compatible
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.3
[WARNING]  using untested triton version (2.3.1), only 1.0.0 is known to be compatible
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.3
[WARNING]  using untested triton version (2.3.1), only 1.0.0 is known to be compatible
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.3
[WARNING]  using untested triton version (2.3.1), only 1.0.0 is known to be compatible
[2024-08-29 08:24:57,540] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:57,912] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:57,938] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,081] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,189] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,378] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,477] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,481] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,481] [INFO] [comm.py:668:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
[2024-08-29 08:24:58,694] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 08:24:58,695] [INFO] [comm.py:637:init_distributed] cdb=None
2024-08-29 08:24:59,389 - INFO: Training in distributed mode with multiple processes, 1 GPU per process. Process 0, total: 10 local rank: 0.
2024-08-29 08:25:02,431 - INFO: Problem Type: text_causal_classification_modeling
2024-08-29 08:25:02,431 - INFO: Global random seed: 309881
2024-08-29 08:25:02,431 - INFO: Preparing the data...
2024-08-29 08:25:02,431 - INFO: Setting up automatic validation split...
2024-08-29 08:25:05,211 - INFO: Preparing train and validation data
2024-08-29 08:25:05,211 - INFO: Loading train dataset...
ERROR:root:Exception occurred during H2O LLM Studio run:
Traceback (most recent call last):
File "/workspace/train_wave.py", line 104, in
run(cfg=cfg)
File "/workspace/train.py", line 557, in run
train_dataset = get_train_dataset(train_df=train_df, cfg=cfg)
File "/workspace/llm_studio/src/utils/data_utils.py", line 388, in get_train_dataset
train_dataset: Dataset = cfg.dataset.dataset_class(
File "/workspace/llm_studio/src/datasets/text_causal_classification_ds.py", line 18, in init
super().init(df=df, cfg=cfg, mode=mode)
File "/workspace/llm_studio/src/datasets/text_causal_language_modeling_ds.py", line 30, in init
self.tokenizer = get_tokenizer(self.cfg)
File "/workspace/llm_studio/src/datasets/text_utils.py", line 44, in get_tokenizer
tokenizer_class = AutoTokenizer.from_pretrained(
File "/workspace/.venv/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 896, in from_pretrained
return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
File "/workspace/.venv/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2291, in from_pretrained
return cls._from_pretrained(
File "/workspace/.venv/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2525, in _from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "/workspace/.venv/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 134, in init
raise ValueError(
ValueError: Couldn't instantiate the backend tokenizer from one of:
(1) a tokenizers library serialization file,
(2) a slow tokenizer instance to convert or
(3) an equivalent slow tokenizer class to instantiate and convert.
You need to have sentencepiece installed to convert a slow tokenizer to a fast one.
[2024-08-29 08:25:16,678] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1192
[2024-08-29 08:25:16,852] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1193
[2024-08-29 08:25:17,025] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1194
[2024-08-29 08:25:17,198] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1195
[2024-08-29 08:25:17,371] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1196
[2024-08-29 08:25:17,544] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1197
[2024-08-29 08:25:17,717] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1198
[2024-08-29 08:25:17,890] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1199
[2024-08-29 08:25:17,890] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1200
[2024-08-29 08:25:18,063] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 1201
[2024-08-29 08:25:18,236] [ERROR] [launch.py:325:sigkill_handler] ['/workspace/.venv/bin/python', '-u', 'train_wave.py', '--local_rank=9', '-Y', '/home/llmstudio/mount/output/user/classifier-cudo-llama31-lower-900k.1.1/cfg.yaml'] exits with return code = -9
INFO:     <IP_ADDRESS>:58570 - "POST / HTTP/1.1" 200 OK
2024-08-29 08:31:22,777 - INFO: {'settings/content', 'home/compute_stats', 'home/disk_usage', 'experiment/list', 'init_app', 'home/experiments_stats', 'dataset/list', 'home/gpu_stats', 'dataset/display/footer', 'experiment/start', 'settings/footer', 'dataset/import/footer', 'dataset/import', 'experiment/start/footer'}
2024-08-29 08:31:22,795 - INFO: Experiment path /home/llmstudio/mount/output/user/classifier-cudo-llama31-lower-900k.1.1/charts.db not found.
2024-08-29 08:31:22,807 - INFO: Experiment path /home/llmstudio/mount/output/user/classifier-cudo-llama31-lower-900k.1/charts.db not found.
2024-08-29 08:31:22,818 - INFO: Experiment path /home/llmstudio/mount/output/user/classifier-cudo-llama31-lower-900k/charts.db not found.
To Reproduce
try to train llama 3.1 8b on a dataset of 2 million examples for text classification, the dataset is 300mb +
LLM Studio version

using nightly build docker

Thank you for reporting @Stealthwriter
From the first look it doesn't look that the error is related to the size of the dataset but rather to what model and which settings were used in the training. To further investigate what caused this, would you be able to share the cfg.yaml that was used for your experiment? Is this an issue only happening with deepspeed and what is the specific reason to use deepspeed for a 8B model?

I just trained a model with 2 million samples without any errors. Could you please attach a config or add more information for what settings this was failing for you, so we can pinpoint the issue?

Closing this as "can't repro" and stale
Please re-open if the issue persists.


AppVeyor failures on master

It would be nice to see all CI tests pass on the master branch, the remaining blocker is with AppVeyor. It was more-or-less working until https://github.com/Toblerity/Fiona/commit/a6ed5b2e6972e4dad438b85e6f4b4ac8db1154c6#diff-92ab9a36df5d8e9f7076f2fdec59492d1ac2d9cf27ea046767a7fc4d542ef3dc
The error is the same for all version combinations in the job matrix, and are similar, e.g.:
_________________________ test_env_gdal_data_environ __________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000000E473CD67C8>
    def test_env_gdal_data_environ(monkeypatch):
        monkeypatch.setenv('GDAL_DATA', '/foo/bar')
        runner = CliRunner()
        result = runner.invoke(main_group, ['env', '--gdal-data'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2)>.exit_code
tests\test_data_paths.py:45: AssertionError

that is fio env --gdal-data does not work, returning error code 2. These kinds of issues are usually PATH-related and/or bad DLL combinations. I'm unable to reproduce this error locally, so any help would be kindly received.

In the past AppVeyor was the option for Windows runners. GitHub Actions are good enough now, we'll go with that.


Maixduino demo_send_pic  OSError: [WinError 10049] Invalid address requested in your context

When trying to use this send pic demo with the pic_server.py (the code that I need to run on the PC side to get the image, you can find it here: tools_on_PC/network/pic_server.py) I get the following error on the CMD:

Please help me, I have no idea of what to do next

https://stackoverflow.com/questions/46042476/oserror-winerror-10049-how-do-i-tackle-this-error

replace the IP with your IP


Fixes for troubleshooting guide re. Hubble/Hubble Relay

Don't mark Hubble Relay as beta in the troubleshooting guide
Fix spelling.
Fix ..code:: sections to match common style, namely:

Use ..code:: shell-session for sections including commands and their output.
Don't use $ shell prompt in ..code:: bash sections without output.
Fix indentation in ..code:: and ..note:: sections to align.

For #13627

Sorry about the force pushes. I noticed after creating the PR that the changes were improperly split across the individual commits.

Thanks for the review @Rolinh. I've addressed your comments in a separate commit: df7d5a1.


Warn user when calling to_sdfg on a function that shouldn't be reparsed

When using reparse_sdfg or recompile keyword arguments:

sometimes recompile shows up as a constant expression
if calling to_sdfg() the user should be warned that these arguments will be ignored.

To start with this, I would go to the dace/frontend/python folder and the relevant documentation page.

I am new here, can you please elaborate on what has to be done and proceeding steps, thanks


[WIP] fix: added padding to MiniCart, only when mini

Resolves #288
Impact: minor
Type: style
Changes
Fixes padding style issue that crept in.
Testing

Look at MiniCart in its various situations.

🚀 Preview deployed
Built with commit 17bd97332f46da1b4fb2c64640d1fa6c34f467fc
https://deploy-preview-298--stoic-hodgkin-c0179e.netlify.com


Unable to run poetry under Python 2.7 (missing importlib_metadata)

[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:  macOS Catalina
Poetry version: 0.12.17
Link of a Gist with the contents of your pyproject.toml file: N/A

Issue
I am in the process of transitioning to Python 3. As such, I am moving from Pipenv to Poetry.
I have poetry installed using pipx, which is being used to run things like poetry lock, and that all works great.
However, in my tox environment, I use poetry as a "dep", and the poetry install before running my tests.
In Python 2.7, this throws an exception:
[ImportError]
No module named importlib_metadata

When I run it using -vv, I can see that the problem is not to do with installing the dependencies as such, but actually when poetry tries to parse the lock file:
Exception trace:
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/cleo/commands/base_command.py in run() at line 136
   self.initialize(input_, output_)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/console/commands/env_command.py in initialize() at line 18
   current_env = Env.get(self.poetry.file.parent)
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/console/commands/command.py in poetry() at line 62
   return self.get_application().poetry
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/console/application.py in poetry() at line 55
   from poetry.poetry import Poetry
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/poetry.py in <module>() at line 11
   from .json import validate_object
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/poetry/json/__init__.py in <module>() at line 4
   import jsonschema
 /Users/matt/Development/ROSS/datamine/.tox/py27/lib/python2.7/site-packages/jsonschema/__init__.py in <module>() at line 33
   import importlib_metadata as metadata

It seems that poetry does not install importlib_metadata when being installed under Python 2.7: adding it as a secondary dependency to my tox environment fixes this.

To be clear: I have a resolution - after some time I was able to see that I needed to have tox also install importlib_metadata, but this was non-obvious until running with poetry -vv, and I wonder if there is a way to have this install automatically as a dependency under Python 2.7?

Hello @schinckel,
this (or something similar?) was reported before in #1487 and should be fixed by #1586
So please try it out with the latest preview release.
I will close this issue for now. But please leave a comment, if you still have any problems. I can reopen it any time.
fin swimmer

I’ll check it at work in a couple of hours, but I thought it was different because that was to do with 3.8: the change in that PR shouldn’t have any different behaviour on 2.7

I think maybe something else (prior to this change) fixed the issue: it appears to be working (but I've come across other issues related to running poetry from within tox that I am partway through documenting).
I've started a clean run without the extra requirement in my tox.ini on my CI server: I should know shortly if it has worked.


lib/cmsis_rtos_v1: Use k_is_in_isr instead of _is_in_isr

Use the kernel API k_is_in_isr() instead of the internal
_is_in_isr() function.
Signed-off-by: Rajavardhan Gundi<EMAIL_ADDRESS>

Codecov Report

Merging #11400 into master will not change coverage.
The diff coverage is 4%.

@@           Coverage Diff           @@
##           master   #11400   +/-   ##
=======================================
  Coverage   48.37%   48.37%
=======================================
  Files         265      265
  Lines       42188    42188
  Branches    10137    10137
=======================================
  Hits        20408    20408
  Misses      17703    17703
  Partials     4077     4077

Impacted Files
Coverage Δ

lib/cmsis_rtos_v1/cmsis_wait.c
60% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_timer.c
63.46% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_semaphore.c
60% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_signal.c
71.64% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_msgq.c
75.6% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_mutex.c
68.18% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_mempool.c
84.21% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_mailq.c
80.76% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_thread.c
71.01% <0%> (ø)
:arrow_up:

lib/cmsis_rtos_v1/cmsis_kernel.c
80% <33.33%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


WIP: segcache: use mutex and jemalloc

Draft PR, needs performance evaluation
Changes threading model to use shared storage, protected
by a mutex. This removes the overhead of cross-thread
signaling and communication on the request path in favor of
using coarse-locking.
Sets the global allocator to jemalloc for pelikan_segcache_rs

For a 9 core configuration on a Intel(R) Xeon(R) Platinum 8352V CPU @ 2.10GHz w/ 100GbE NIC (E810-C) (dual-socket machine, NIC queues reduced to one per physical core, SMT enabled, threads pinned to socket 0 (with NIC) but avoid the HW threads that handle NIC IRQs) this change brings the redline from 728kqps -> 830kqps for a 80:20 Read:Write workload


[DIRMINA-1169] Fix unbinding a serverSocketChannel

Since Java 11, closing a ServerSocketChannel may release the socket
only on the next select() call. If we try to register a new binding for
an unbound socket before the next select, a BindException may be thrown.
Ensure that there is a select() call between unbinding some sockets and
binding new sockets. Mark the unbind futures as "done" only after that
intervening select().
Test plan:

check out this PR
replace NioSocketAcceptor by the 2.0.23 version
run the SocketAcceptorTest on a JVM 11 (or newer). It should fail with a BindException.
git reset --hard
run the SocketAcceptorTest on a JVM 11 (or newer) again. It should pass.

Note that if SocketAcceptorTest is run on a JVM 8, it will succeed in either case.

Would be good if this could also be merged to 2.2.x then. It causes intermittent failures in our test suite (QuickFIX/J)

@elecharny could you please take look and merge this if you think it's OK? And then merge or cherry-pick it to the 2.1.X and 2.2.X branches? I'm a bit confused by the git history of this repo, and it's not clear to me how you manage back-ports or fixes in old versions, otherwise I might be able to do so myself. The three 2.* branches seem to be completely separate. That's not what I'm used to from EGit or JGit, where after a fix on an old maintenance branch we merge the change up to the current master/main branch.
Having a 2.0.24 including the fix would also be useful. Currently we have disabled one test in Apache MINA sshd because of this problem.

Hi Thomas,
one slight problem with the AbstractPollingIoAcceptor.handleUnbound() method in 2.0.X: it won't compile because teh code is expected to be 1.7 compatible. The method is:
    protected void handleUnbound(Collection<AcceptorOperationFuture> unboundFutures) throws Exception {
        unboundFutures.forEach(AcceptorOperationFuture::setDone);
    }

The :: operator is unknown in Java 7. We need to go back to a standard lambda. That will not be an issue in 2.2.X, but still is in 2.1.X.

Ok I unfolded the '::' and replaced it with a classic 'for' loop.
Patch applied in 2.0.X branch.
I'll see if it can be ported to 2.1 and 2.2 branch.
Thanks !

Why Java 7?? The pom sets maven.source.version and maven.target.versionto 8, and when I imported mina-core into Eclipse, the projects got of course set up with Java 8.
And that's on the 2.0.X branch.

Because of line 802 and following:
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${version.compiler.plugin}</version>
        <configuration>
          <encoding>UTF-8</encoding>
          <source>1.7</source>
          <target>1.7</target>
          <debug>true</debug>
          <optimize>true</optimize>
          <showDeprecations>true</showDeprecations>
        </configuration>
      </plugin>

It's fixed, btw.

Missed that. And anyway maven.source.version"8" is likely wrong, shouldn't that be "1.8" if at all? Now I wonder why I got a Java 8 setup in Eclipse...
BTW, I just noticed commit 2331425ae979c in 2.1.X. Don't know what the problems there were, but that test repeatedly unbinds and binds the same port, too. Perhaps it also ran into this race condition.

@elecharny Any chance that this could be integrated into 2.1.x (and later 2.2.x) and released? It causes spurious failures in our test suite.
Thank you in advance

Will check that for 2.1 and 2.2 this week. Sorry for the delay...

Merged in 2.2.X

Merged in 2.2.X

But not correctly. See my comment.

Also merged in 2.1.X


Android system often warns of high battery usage of Riot

reported by Mikaela
https://github.com/matrix-org/riot-android-rageshakes/issues/472
https://github.com/matrix-org/riot-android-rageshakes/issues/463
https://github.com/matrix-org/riot-android-rageshakes/issues/441

This user's device receives a lot of notifications while the application is background.

https://github.com/matrix-org/riot-android-rageshakes/issues/477

There are two cases in theses issues
1- the users received a lot of notifications (several hundreds per hour) : the application  starts a caught up for each notifications so it might drain battery
2- Google play versions only
on versions <= 0.6.12, if the events thread service is killed while the application is backgrounded, it is automatically restarted but it used the fallback mode to trigger the sync requests : a new one is triggered each 10s. It was happened because the GCM registration was not checked. So, it used to drain battery until the application was opened.
On version 0.6.13, if a GCM registration token has been retrieved,  we assume that the GCM registration has been done (might be true in most of the cases) so the sync/ requests will be triggered when a notification will wake up the app.

I have this problem even with 0.6.13


Refactor ModalAutoUpdateConfirm into ModalAutoUpdateDownloaded

PR Checklist

Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[x] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes 2188
Issue Number: 2188
What is the current behavior?
Currently there are two different modals being used for essentially the same function, ModalAutoUpdateConfirm and ModalAutoUpdateDownloaded. The only difference between them is ModalAutoUpdateDownloaded would set a boolean to decline auto updates, and then if that is the case ModalAutoUpdateConfirm would be shown instead, that had the same functionality but declining the update didn't change the boolean like UpdateDownloaded did.
What is the new behavior?
I refactored the two together, and got rid of ModalAutoUpdateConfirm. This was possible by removing the part where UpdateDownloaded set the boolean which was responsible for UpdateConfirm being displayed.
Other information

@JakeVdub,  thanks for the PR, we'll get it reviewed soon! Can we show you some appreciation?
Make sure to check out https://lbry.tech/contribute and sign up for the dev mailing list at the bottom!
Also, see https://lbry.com/news/hacktoberfest-2019 for the latest Hacktoberfest details.

Thanks for the PR! I will give this a closer look once 0.36.0 is relased.

This looks good! Can you please add a changelog entry to this file? Then it's ready to merge.
https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md

@JakeVdub, thanks for the PR! Can we show you some appreciation for the contribution?
Also, we're giving away some Hacktoberfest bonuses and goodies for this month. We'll get it all figured out after you shoot us an email after this is reviewed/merged.


Error: Cannot find module '../middlewares/authMiddleware'

i have done everything as you described in README.md, but authMiddleware.js file does not exisit. Did i missed something?

The files have been updated. Please give it another try now.


Moving window into spaces stopped working in MacOS Sequoia 15.1.1

Earlier I used to be able to move current focussed application to desired space and switch focus. Right now, only the focus moves , but the application stays in the current space.
shift + cmd - 1 : yabai -m window --space  1; yabai -m space --focus 1
shift + cmd - 2 : yabai -m window --space  2; yabai -m space --focus 2
shift + alt - 3 : yabai -m window --space  3; yabai -m space --focus 3
shift + alt - 4 : yabai -m window --space  4; yabai -m space --focus 4

Sonoma?

I stand corrected. Thanks

Same issue. (>﹏<)

shift + alt - 1 : yabai -m window --space 1;
shift + alt - 2 : yabai -m window --space 2;
shift + alt - 3 : yabai -m window --space 3;
shift + alt - 4 : yabai -m window --space 4;
shift + alt - 5 : yabai -m window --space 5;
shift + alt - 6 : yabai -m window --space 6;
shift + alt - 7 : yabai -m window --space 7;

Same commands doesn't work in the Sequoia 15.2 with SIP Disabled following the wikis

Facing the same using in Sequoia 15.2. In my case I don't have SIP disabled, but it did work without SIP disabled on 14.7.1.

Wish i saw this before i upgraded 😢 same issue here. SIP enabled, worked before with it enabled.

https://github.com/koekeishiya/yabai/issues/2484#issuecomment-2523222213

SIP will now prevent this from working.

I'm personally moving to aerospace. It doesn't require disabling SIP, but you can still move application to a different workspace.

I'm personally moving to aerospace. It doesn't require disabling SIP, but you can still move application to a different workspace (can verify it works on macOS 15.2).

Based on a quick read, I like the philosophy. I will check it out - thanks for the recommendation. Must be the separate workspace implementation that allows it to get around SIP.

I believe in koekeishiya. I think yabai has the right implementation.

I believe in koekeishiya. I think yabai has the right implementation.

i wasn't saying that there is anything wrong with this approach or library, i have been a user of it for years and been happy. Unfortunately due to circumstances out of the developer or my control, its no longer viable for me so i have to move on sadly. Options are never a bad thing.


I can't manage to make the plugin work correctly, it install the plugin fine but controls are empty

I have a good PC with 4090
I have an original Photoshop license and I tried methods 2 and 3, (I can't install with one click as it tells me I don't have rights.)
I have enabled developer mode in Photoshop settings
I have started Automatic 1111 and tried with Comfyui too.
But this window is always like the screenshot.
How can I fix this issue? Am I missing anything?

What version of photoshop are you using?

I tried with the latest Photoshop and I even tried with the 2023 version but no luck, do you mean is not my setup? is the plugin not working anymore?
Which one you recommend me to works with my local comfyUI and photoshop? I love the one from Krita, that is perfect, but I am used to photoshop workflows.

Sorry if I wasn't clear. It still works for me, however recently it has started to slow the web UI browser interface down quite a lot. But others are having trouble getting it to work in different ways. That is because webui platforms, mainly Automatic and Forge, are changing a lot and this plugin isn't getting updated to keep up as well, but it should still work in theory, I just can't assure that for every system or setup. More so with the knowledge that others are having trouble as well.
I would try putting the plugin into the photoshop plugins folder manually again after deleting it. Then with a fresh plugin copied into the plugins folder make sure photoshop is closed. Then restart your Automatic server first and make sure it's all the way booted and the Photoshop Extention for Automatic shows in the console that it's loaded with no errors. Then open Photoshop. When you see only what your picture shows and no other buttons, I think it means that the plugin does see the index.html that the plugin uses to connect to the other javascript in it's plugin, which establishes the connection to your Automatic server. Unfortunately in your case it is not making the connection to your Stable Diffusion server or even getting to the point where it tells you if the server is reachable or not. Do you get anything in the Settings tab in that window? Do any other tabs show anything? Let me know if anything changes after you do a fresh copy over of the plugin. You may need to flush your Automatic servers venv folder too sometimes if you get errors in your servers console. That's done by simply deleting the venv folder and letting the server re download and install a fresh environment for Automatic to use. That's all I can think of right now. Good luck!

Do you fix the problem? I have the same issues like you!


Exercise 8.4-3

not both 1, the first one is (1 / 4) * 1^2 * 2 + (1 / 4) * 2^2 = 1.5

Hi I have updated, please check
https://github.com/gzc/CLRS/blob/master/C08-Sorting-in-Linear-Time/8.4.md#answer-2


Misleading documentation note for NC_FORMATX_NCZARR

the version of the software with which you are encountering an issue
Current main

a description of the issue with the steps needed to reproduce it

The documentation for the NC_FORMATX_NCZARR states that it was "Added in version 4.3.1", however that is not accurate.
Instead, NC_FORMATX_ZARR was added in 4.3.1, and then the NC_FORMATX_ZARR symbol was renamed to NC_FORMAT_NCZARR released as part of 4.8.0 (renamed in 59e04a).
This issue surfaced since version 1.7.1post2 of the python module uses this symbol, and version 4.7.0 of the C library was on the system, but we got:
external/nc_complex/src/nc_complex.c:637:21: error: ‘NC_FORMATX_NCZARR’ undeclared (first use in this function)
Looking up the symbol suggested it was introduced in 4.3.1, and given that 4.7.0 was on the system led to some confusion.

Thanks! I will update the documentation to reflect this!


Update README with information about grunt

Just wasted a bunch of time trying to get grunt 0.4 working, not realizing the project needs 0.3.
If there's interest, I wouldn't mind migrating the build system to grunt 0.4, although it's more complex.

I would definitely accept that PR :+1:


Adding dsa signatures (backport to v0.6.1)

Porting #130 to v0.6.1
cc: @jethrogb

bors r+

bors r+


Add dark and light mode option to UI

Add a button (at top right of UI) where user can choose dark or light mode.
User settings will be saved and set upon next application run.

Preview of implementation:
Light mode:

Dark mode:

Additional changes:

[x] Update UG

Codecov Report
Base: 74.70% // Head: 73.61% // Decreases project coverage by -1.09% :warning:

Coverage data is based on head (481892b) compared to base (02e6e4a).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #81      +/-   ##
============================================
- Coverage     74.70%   73.61%   -1.10%
- Complexity      488      500      +12
============================================
  Files            76       78       +2
  Lines          1522     1584      +62
  Branches        185      190       +5
============================================
+ Hits           1137     1166      +29
- Misses          326      359      +33
  Partials         59       59

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...c/main/java/seedu/address/storage/StringToTag.java
100.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
100.00% <0.00%> (ø)

...eedu/address/logic/parser/ExportCommandParser.java
100.00% <0.00%> (ø)

...va/seedu/address/logic/commands/ExportCommand.java
100.00% <0.00%> (ø)

...n/java/seedu/address/storage/CsvAdaptedPerson.java
91.04% <0.00%> (+0.13%)
:arrow_up:

...va/seedu/address/logic/commands/ImportCommand.java
91.66% <0.00%> (+0.75%)
:arrow_up:

...in/java/seedu/address/logic/parser/ParserUtil.java
85.05% <0.00%> (+0.91%)
:arrow_up:

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.

I think it would be better to resolve the merge conflicts locally first. Then, you can also add light and dark mode to the password dialog (LockWindow).

Codecov Report
Base: 74.03% // Head: 72.25% // Decreases project coverage by -1.78% :warning:

Coverage data is based on head (ad81e61) compared to base (d7b2b5e).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #81      +/-   ##
============================================
- Coverage     74.03%   72.25%   -1.79%
  Complexity      505      505
============================================
  Files            80       80
  Lines          1583     1622      +39
  Branches        189      192       +3
============================================
  Hits           1172     1172
- Misses          352      391      +39
  Partials         59       59

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.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.

Looks good to merge.


build!: drop support for Python 3.8

I've dropped support for Python 3.8, as it reached its EOL on October 7, 2024.
The cleanup to reduce technical debt involves two breaking changes because we're now using features only available on Python 3.9+:

pathlib.Path.readlink while removing a custom compatibility function
typing.Annotated instead of typing_extensions.Annotated while removing the runtime dependency on typing-extensions

Should we make another patch release prior to merging this PR, @copier-org/maintainers?

@yajo We also need an update of the repo settings to remove the Python 3.8 CI jobs (same as https://github.com/copier-org/copier/pull/1252#issuecomment-1640504776).

This PR is now ready for a review, @copier-org/maintainers.


Crashes when changing directory

Hi - good job on the FUD on win defender
I'm having an issue where I'm not able to cd to any dir

The same issue occurs when opening calc.exe -

Stack trace shows
hoaxshell > calc.exe----------------------------------------Exception occurred during processing of request from ('<IP_ADDRESS>', 50237)Traceback (most recent call last):  File "/usr/lib/python3.10/socketserver.py", line 316, in _handle_request_noblock    self.process_request(request, client_address)  File "/usr/lib/python3.10/socketserver.py", line 347, in process_request    self.finish_request(request, client_address)  File "/usr/lib/python3.10/socketserver.py", line 360, in finish_request    self.RequestHandlerClass(request, client_address, self)  File "/usr/lib/python3.10/socketserver.py", line 747, in init    self.handle()  File "/usr/lib/python3.10/http/server.py", line 425, in handle    self.handle_one_request()  File "/usr/lib/python3.10/http/server.py", line 413, in handle_one_request    method()  File "/opt/hoaxshell/hoaxshell.py", line 306, in do_POST    to_b_numbers = [ int(n) for n in bin_output ]  File "/opt/hoaxshell/hoaxshell.py", line 306, in     to_b_numbers = [ int(n) for n in bin_output ]ValueError: invalid literal for int() with base 10: ''
doesn't seem to me it is the syntax either -

This issue was fixed thanks to this PR https://github.com/t3l3machus/hoaxshell/pull/2 - pending approval from @t3l3machus  to merge to main

Hi, PR merged. It's weird that this issue came up, i thought i dealt with it at an earlier stage of development. Anyway, @brightio quick-fixed it. Thanks guys

Been there done that 🤣


LearnedPositionalEmbedding: precompute positions and use a padding_idx

Hi,
I want to feed precomputed positions into my learned positional embedding, but if I want to do that this code prohibits me from having a padding_idx. I know my padding index and I want to be able to use it in my precomputed positions.
https://github.com/pytorch/fairseq/blob/0e2e5f1fc475c2b87f19c183f65351e13e38ffde/fairseq/modules/learned_positional_embedding.py#L28-L35
Can you explain the intuition why you prohibit having a pad_idx in that case?
Thanks in advance!

We don't usually pass in positions, this was added by @kartikayk for another use case.
Note that when positions is not None, this module is equivalent to nn.Embedding, so just use that.


Error messages at startup

Abstract
When I try to start the latest version of GToolkit (GToolkitLinux64-v0.7.881.zip) on my machine several error messages is shown (see linked video).
Problem Description
Video on YouTube showing the problem
Logs
Console Output.txt
Host System

System
Version

Operating System
Fedora 31

KDE Plasma Version
5.17.5

KDE Frameworks Version
5.67.0

Qt Version
5.13.2

Kernel Version
5.5.15-200.fc31.x86_64

OS Type
64-bit

Processors
4 × Intel® Core™ i5-3320M CPU @ 2.60GHz

Memory
15.5 GiB of RAM

Thoughts
There's several references to libgit2 in the error messages. Could it be related to pharo-project/pharo#4463?

Same problem as #940?

I noticed that the text was barely legible in the video. I'll replace it ASAP with one with higher quality.

Can confirm same error on startup in Windows. Latest download.
UndefinedObject(Object)>>doesNotUnderstand: #asExampleWithResult

The debugger shows example is nil.

Thanks for the details! We addressed the UndefinedObject(Object)>>doesNotUnderstand: #asExampleWithResult problem, but we seem to have a problem with the build now and there was no deployment. We will announce when it's ready.

@mtnygard in the meantime, please try: https://dl.feenk.com/gt/GToolkitWin64-v0.7.880.zip

@inquisitiv3 would you like to try: https://dl.feenk.com/gt/GToolkitLinux64-v0.7.880.zip?

Ok, we fixed the problem. Please download v.0.7.882 or later from: https://gtoolkit.com/install/

@girba Thanks! It seems that it solved one of the error messages, but there's still one showing up at startup.
Could it be related to pharo-project/pharo#4463?
New video on YouTube showing the problem
Console Output.txt

@inquisitiv3 ok, thanks a lot for the detailed feedback! So, you originally had two problems. One was an error related to GT. The second is an error working with libgit on your specific Fedora system. We fixed the first one in your case, and now we still have the libgit problem.
Like @bjorn3 mentioned, this is the same as #940. Could we try moving this part of the issue  conversation there?

That works for me :)

Thanks @inquisitiv3!

@mtnygard do you confirm that v.0.7.882 or later works for you? (it our tests it works on Windows now)

@girba Confirmed!

Thanks @mtnygard!
Please keep the questions flowing.


buildbot: Tolerate bad job JSON files

Raise an appropriate error when requesting a specific job, and do not include corrupted job in the list of "all" jobs. This should let the buildbot keep on truckin' without a mysterious 500 error when something bad happens.

Testing this with a rebase of #157 on buildbot.

Works correctly when a job is malformed.


workaround insights-client issue with /usr/bin/python

insights-client does not work properly when it is spawned from
/usr/bin/python, but it does work when spawned from /usr/bin/python3,
even if they are symlinks to each other i.e. the same binary.
Not sure why this is, but the workaround is to start
insights-client in the background and wait for it.

@ahitacat fyi

[citest]

This looks good to me, I have checked it with the tox-lsr for ansible-2.9 and the workaround seems to work.
  qemu-ansible-2.9: commands succeeded
  congratulations :)


Suggest widget gets orphaned in editor

I don't have exact steps but I believe the gist was:

be typing something that triggers the suggest widget
ctrl+shift+k to delete whole line
:bug: suggest widget gets misplaced

If I select one of the suggested items here it even tries to update where my cursor currently is, where the suggestion was never valid in the first place

@joyceerhl any errors on the console when this happens? I can't reproduce and the code doesn't have any obvious signs why this would happen

I can trivially repro, here's a recording. In the following scenario when I press ctrl+shift+k I would expect the suggest widget to be dismissed:
https://github.com/microsoft/vscode/assets/30305945/a33bcdfe-9aa4-4ef9-bbc2-5d93d62abf4a
Here are my settings FWIW
{
    "editor.inlineSuggest.enabled": true,
    "github.copilot.advanced": {
        "slashCommands": {
            "*": true
        }
    },
    "typescript.inlayHints.propertyDeclarationTypes.enabled": true,
    "typescript.inlayHints.enumMemberValues.enabled": true,
    "typescript.inlayHints.functionLikeReturnTypes.enabled": true,
    "typescript.inlayHints.parameterNames.enabled": "all",
    "typescript.inlayHints.parameterTypes.enabled": true
}

And this is what dev tools says
[perf] Renderer reported VERY LONG TASK (3084ms), starting profiling session '86cbdfcd-d384-46f6-b5d0-96d210e8293f'
log.ts:441   ERR [PerfSampleError]: [PerfSampleError] by <<renderer>> in _deliver#event.js:822:17
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js:135:71)
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at _deliverQueue (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:839:22)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/widget/codeEditorWidget.js:1194:54)
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at _emitOutgoingEvents (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/common/viewModelEventDispatcher.js:36:28)
	 at endEmitViewEvents (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/common/viewModelEventDispatcher.js:72:26)
	 at _withViewEventsCollector (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/common/viewModel/viewModelImpl.js:850:33)
	 at _executeCursorEdit (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/common/viewModel/viewModelImpl.js:789:27)
	 at executeEdits (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/common/viewModel/viewModelImpl.js:797:21)
	 at executeEdits (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/widget/codeEditorWidget.js:833:21)
	 at insert (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/snippet/browser/snippetSession.js:498:15)
	 at _doInsert (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/snippet/browser/snippetController2.js:80:18)
	 at insert (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/snippet/browser/snippetController2.js:65:15)
	 at _insertSuggestion (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/suggest/browser/suggestController.js:219:26)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/suggest/browser/suggestController.js:96:56)
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:979:13)
	 at _select (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/suggest/browser/suggestWidget.js:251:16)
	 at _onListMouseDownOrTap (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/suggest/browser/suggestWidget.js:237:30)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/contrib/suggest/browser/suggestWidget.js:187:58)
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:98:79)
	 at _deliver (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:822:17)
	 at fire (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/common/event.js:851:13)
	 at fn (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/browser/event.js:14:24)
log.ts:441   ERR [PerfSampleError]: [PerfSampleError] by <<renderer>> in getBoundingClientRect
	 at getBoundingClientRect
	 at getDomNodePagePosition (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/base/browser/dom.js:370:36)
	 at createEditorPagePosition (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/editorDom.js:68:38)
	 at EditorMouseEvent (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/editorDom.js:92:20)
	 at _create (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/editorDom.js:106:16)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/editorDom.js:135:67)
log.ts:441   ERR [PerfSampleError]: [PerfSampleError] by <<renderer>> in collect#viewPart.js:44:23
	 at collect (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/view/viewPart.js:44:23)
	 at mouseTargetIsWidget (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/controller/mouseTarget.js:365:28)
	 at _onMouseMove (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/controller/mouseHandler.js:168:21)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/controller/mouseHandler.js:22:81)
	 at (anonymous) (vscode-file://vscode-app/c:/Users/huer/Source/vscode/out/vs/editor/browser/editorDom.js:135:67)

Thanks, I can now reproduce. This important part is the the cursor doesn't change, e.g the line below must be of equal or greater length so that the cursor stays put. We then do receive a model change event but positioning is again so that we don't cancel or update the current session.
This is a fun bug and I believe something that have since multiple years

This isn't fixed, I only pushed a failing/skipped test.


Circleci setup & copyright notice check

Description

The script can be invoked from the project root using the command:
.scripts/copyright_notice_check.sh

It checks if the copyright header in each go file (excluding the generated mocks in "internal/mocks") match the template in the
"copyright_notice_template.txt" in the scripts dir. When there is a mismatch, it prints the diff.
~When a build tag is used in the go file, it detects it and looks for the copyright notice from line 3.~ Not required, as the copyright header can precede the build tag definition.
Category

Implementation Task
Relevant issue

Resolves #49
Testing

Steps to run the tests

Correctness of copyright notice check can be tested by adding and file with wrong header and running the script.
Correctness of circle ci config can be validated using the circle ci local setup tool. Steps can be found here.

Checklist

[x ] Name is added to the NOTICE file, if it is not present already.
[x ] Changes are rebased onto the target branch.

Hi @manoranjith, there's some conflict with this PR after #52 got merged. Could you rebase, please?

Hi @choeppler, I have now rebased the branch to latest develop.


game crash:

Issue Description:
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If this is a feature request, this template does not apply to you. Just delete everything.
Steps to reproduce (important):

place shredder in the world
trying to open gui, input feathers

...
What happens:
i right click with empty hand or with feathers and game crashes
What you expected to happen:
i expect to be able to put in feathers to make pulp

Affected Versions (Do not use "latest"):

Chickens:  5.0.1
Minecraft: 1.11.2
Forge: <IP_ADDRESS>79

Wrong Mod This is a Hatchery, Also it needs a crash log...


Split out reusable _map helper methods from bulk_to_python

A bit of refactoring done as foundational work for the Telepath streamfield rewrite, although it may turn out not to be needed... putting it here so it doesn't get lost.
This allows the logic behind the StructBlock / ListBlock / StreamBlock implementations of bulk_to_python (where the values to be converted are distributed to the appropriate child blocks and recombined) to be re-used for other kinds of value conversion. Possibly also relevant to #6563.

Do we still need this PR @gasman ?

@lb- Nah, we can close this. It's hard to say how much benefit we'll get from pulling out the recursive block methods into a common pattern, and this code will still be around if we decide we do need it.


Add back dirsize reporter for nasa-veda, nasa-ghg, gridsst, ubc-eoas

They are disabled to mitigate upgrade failures stemming from helm upgrade's --wait flag that makes the upgrades error since the pods are in a craashloop. Disabling them shouldn't have changed much since they weren't running reliably.
Action point

Await a resolution to https://github.com/yuvipanda/prometheus-dirsize-exporter/pull/7
Revert #3459

@consideRatio I believe this was done, right?

Nice catch @yuvipanda yes!


Project needs a LICENSE

I want project to be open source code. Need to check with Prof. @saraharcos to make sure they don't have any preferences for what license to use

Use the MIT license

That's what I thought you'd say, thanks!


The azapi workaround fails

Expected Behavior
When applying the Terraform, containers should be created with version immutability enabled.
Current Behavior
After upgrading to v2.0.0 of the AZAPI provider the following error occurs:
╷
│ Error: Invalid body
│
│   with azapi_resource.cces_container,
│   on cloud-cluster-vm.tf line 190, in resource "azapi_resource" "cces_container":
│  190: resource "azapi_resource" "cces_container" {
│
│ The argument "body" is invalid: unmarshaling failed: value: "{\"properties\":{\"immutableStorageWithVersioning\":{\"enabled\":true},\"publicAccess\":\"None\"}}", err: json: cannot unmarshal string into Go value of type
│ map[string]interface {}
╵
╷
│ Error: Invalid Type
│
│   with azapi_resource.cces_container,
│   on cloud-cluster-vm.tf line 198, in resource "azapi_resource" "cces_container":
│  198:   body = jsonencode({
│  199:     properties = {
│  200:       immutableStorageWithVersioning = {
│  201:         enabled = "${var.enableImmutability}"
│  202:       }
│  203:       publicAccess = "None"
│  204:     }
│  205:   })
│
│ The value must not be a string

Failure Information (for bugs)
See above.

Use verbose outputs to capture any debug information.

See above
Steps to Reproduce
Use v2.0.0 or higher of the AZAPI module.

Fixed by Upgraded to v2.0.0 of the Azure AZAPI provider b2249394e658c5537805434480d820894355dcc0


Migration Plan for Split of Lectures

The migration plan for the split into 3 lectures (#950) will be:

[x] setup aws infrastructure (@DrDrij)
[x] setup github repositories for three new lectures series (@mmcky)
[x] use #956 to filter lectures in each repository and adjust index files (@mmcky)
[x] add each repository to the build server and QuantEcon.aws.admin (@mmcky)
[x] review deployments for python-programming, python-intro and python-advanced (@mmcky)
[ ] review lecture text in new arrangement and resolve sphinx issues (@mmcky)
[ ] merge changes to QuantEcon org site to adopt new structure (@DrDrij and @mmcky)
[ ] redirect python.quantecon.org to a python project landing page (@DrDrij)

Tidy Up:

[ ] archive lecture-source-py infrastructure for python.quantecon.org and preview and backup and remove from QuantEcon.aws.admin (@mmcky and @DrDrij)
[ ] sanitize build server

Deployment Check List

[ ] merge PR for QuantEcon.aws.admin
[ ] populate build instance with python repos including theme and notebooks support repos
[ ] deploy lecture-python-programming
[ ] deploy lecture-python-intro
[ ] deploy lecture-python-advanced
[ ] switch lecture-python-website to existing bucket to switch to 3 project structure

@DrDrij

[ ] The new python button should direct to the landing page in #961


chore(popover): refactor & fix RTL act() errors

Extract all logic in a hook
Extract constants in separate file
Skip logic on jsdom env

Test OK
Non regression testing on lumapps-web ✔


[WIP] Topic/debug log for event indexer

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 63.832%

Files with Coverage Reduction
New Missed Lines
%

../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.114/src/de.rs
1
34.71%

../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.197/src/private/de.rs
2
54.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4564

Relevant Lines:
7150

💛  - Coveralls


US incoming numbers add '1', contacts ignored

Hello. First thank you for a great application. This is amazing. On my phone (Pixel/GrapheneOS) in the US (AT&T), incoming calls have a leading '1'. My contacts do not have that '1', so the Contacts filter does not allow them. I added a '1' to one of my contacts and it worked after doing so. Is there a way to allow for the leading '1' (so I do not have to add '1' to every one of my contacts)? Or, am I looking at this the wrong way?
Again, thank you for providing this.

Mine show up as +12223334444. The '+' appears to be ignored as expected, but an example number in my contacts is<PHONE_NUMBER>. If I change the contact number to 1<PHONE_NUMBER> it works. I have Contacts/inclusive on with a rule '.*' with priority 1. I would think other people would have this problem so maybe I am doing something wrong.

The number +12223334444 should have been allowed, I just tested this number with contact<PHONE_NUMBER> and it worked. Which version are you using?

I installed v1.7 from the release page - that version works as expected. Thank you!

Thank you very much! The 1.7 update has also fixed a similar issue with Russia/Kazakhstan +7 prefix. The thing is it's also possible to use an 8 instead of +7 (just an 8 without a '+') and both these versions are accepted by phones and carriers interchangeably, so we save numbers with 8 too.
But if we used to set the SpamBlocker filter rules to block calls not from the contacts list, the numbers in the contacts that start with 8 instead of +7 have actually been getting blocked because they didn't coincide with the number that appeared to be calling, which is always an identical number that starts with +7.
Now it's resolved, thanks again!


Set Golang compiler version (it is go1.8)

Do we know if there are any breaking changes ?
On Wed, Mar 8, 2017 at 5:51 PM Jason Young<EMAIL_ADDRESS>wrote:

@ayj approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/manager/pull/276#pullrequestreview-25907018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH0qd2EhY9sZo19MD6lERbp69kAy102sks5rjzDagaJpZM4MXaK-
.

--
~shriram

Can we make sure that the bookinfo demo works before doing another pr.
On Wed, Mar 8, 2017 at 5:51 PM Shriram Rajagopalan<EMAIL_ADDRESS>wrote:

Do we know if there are any breaking changes ?
On Wed, Mar 8, 2017 at 5:51 PM Jason Young<EMAIL_ADDRESS>wrote:
@ayj approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/manager/pull/276#pullrequestreview-25907018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH0qd2EhY9sZo19MD6lERbp69kAy102sks5rjzDagaJpZM4MXaK-
.
--
~shriram

--
~shriram

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed


chore: Update esbuild

What this PR solves / how to test
Update esbuild
Fixes #5222
Author has addressed the following

Tests

[ ] TODO (before merge)
[ ] Tests included
[x] Tests not necessary because: No functional. changes

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[x] Required
[ ] Not required because:

Changeset (Changeset guidelines)

[ ] TODO (before merge)
[x] Changeset included
[ ] Changeset not necessary because:

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Documentation not necessary because: No functional change

closed in favour of https://github.com/cloudflare/workers-sdk/pull/6884


Add a toggle to show user's top repositories (most starred)

Adds a toggle to replace Pinned repositories with Top repositories (most starred).
Also adds the GraphQL implementation from #1399
Example:

--

This seems a bit too much trouble for a feature that can be replaced by a link to: https://github.com/search?o=desc&q=user%3Asindresorhus&s=stars&type=Repositories
Not as pretty, but also not limited to 6 repos and with 200 lines of code.
For future reference, the graph API should be merged into the the same file, as originally suggested here

While it does look nice, I agree with @bfred-it, it's not worth the maintenance burden when a link achieves the same thing and also lets the user see more than 6 repos.

Can you turn this feature into a link with that URL?
It should be something not far from:
select('pinned repos title').after(' / ', Top repositories)

Can this be picked up or can it be closed? :)

@bfred-it you blow my mind! Wow, I can't get over how you took a about 100 lines of code and put it into about 10!

haha it's not exactly the same feature though :D


docs: clarify xcode reqs for macOS build

Commit Message: Clarify the version of Xcode required to build envoy on macOS
Additional Description: I incorrectly assumed that the Xcode Command Line Tools would be sufficient here, but that was not the case.
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Updated the mac CI instructions too!

https://github.com/envoyproxy/envoy/pull/12018 is merged. Please sync your branch with head to fix the CI (Linux-x64 asan) issue. Thanks!

I've rerun that test several times and it keeps hitting #9784.
Can someone in @envoyproxy/admins by-pass the checks and merge this docs only change?


Import a zip file (that we already exported)

Sometimes we need to share the particle that we created and exported to others,
Then they can import and work on it.
So we need to have a feature in Particular to allow us to import a zip file (which contains the JSON file and also the textures)
Or maybe we can have our own file type to write the JSON content + textures inside it (as a base64 or raw bytes)

For holding away unnecessary texture bytes from plugin (memory usage)


when multiple cases have the same city and state, only one pin shows.

Not sure if there is a solution to this.

@campgurus I believe that you've resolved this issue; there are now number counts on cases, isn't that correct?

I believe that this fix is now in place. We can close this ticket.

Evidence:


[COD-133] feat: add fingerprintings for Sarif output

COD-133
This change introduces the new fingerprinting functionality (https://github.com/snyk/octopus/pull/706) as part of the Code-Client library as well.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to prepareKeyboard in fragment class

EmojiEditText userMessageInput = (EmojiEditText)v.findViewById(R.id.input_message_fragment);
EmojiKeyboardLayout emojiKeyboardLayout=(EmojiKeyboardLayout) v.findViewById(R.id.keyboard_emoj);
emojiKeyboardLayout.prepareKeyboard(mActivity,userMessageInput);
EmojiKeyboardLayout emojiKeyboardLayout=(EmojiKeyboardLayout) v.findViewById(R.id.keyboard_emoj);
emojiKeyboardLayout.prepareKeyboard(mActivity,userMessageInput);

This should be no different than in a regular activity TTBOMK.


bring dash config error messages into frontend as TS enums

Is it possible to get enums for these in TS? I can do this manually but it seems more robust to have these generated.
https://github.com/rilldata/rill-developer/blob/81663f3081060312eeadae4abd38f565058be2cf/runtime/services/catalog/migrator/metricsviews/metrics_views.go#L19-L26

I can't think of an easy way right now to generate these in TypeScript. The only Go-to-TS codegen we have are the protobufs, and these error messages are buried in a pretty different package.
As a short term fix, I suggest just manually copying them. But I'll think some more about how we can facilitate this with the new reconcile.

No worries, that's what I did! Thanks.