Can't Install because of Django-Select 2

I can't install this app because Django-Select2 is not compatible with Python3 .  I found a specific branch of Django-Select2 with Python 3 support.  I installed it, but aldryn-blog still wants to install the non Python3 version.
(env2)jeremy@AtlasShrugged ~/Dropbox/Programming/webdevelopment/newtest $ pip install aldryn-blog
Downloading/unpacking aldryn-blog
  Downloading aldryn-blog-0.3.12.tar.gz
  Running setup.py (path:/home/jeremy/Dropbox/Programming/webdevelopment/newtest/env2/build/aldryn-blog/setup.py) egg_info for package aldryn-blog

    warning: no previously-included files matching '*.pyc' found under directory '*'
Downloading/unpacking django-taggit<0.12 (from aldryn-blog)
  Downloading django_taggit-0.11.2-py2.py3-none-any.whl
Downloading/unpacking django-filer (from aldryn-blog)
  Downloading django-filer-0.9.5.tar.gz (739kB): 739kB downloaded
  Running setup.py (path:/home/jeremy/Dropbox/Programming/webdevelopment/newtest/env2/build/django-filer/setup.py) egg_info for package django-filer

Downloading/unpacking django-select2 (from aldryn-blog)
  Downloading Django-Select2-4.2.2.tar.gz (91kB): 91kB downloaded
  Running setup.py (path:/home/jeremy/Dropbox/Programming/webdevelopment/newtest/env2/build/django-select2/setup.py) egg_info for package django-select2
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/jeremy/Dropbox/Programming/webdevelopment/newtest/env2/build/django-select2/setup.py", line 154
        print data['error_code']
                 ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/jeremy/Dropbox/Programming/webdevelopment/newtest/env2/build/django-select2/setup.py", line 154

Also as a side note I tried this with just a Python2.7 Environment and it worked.  However I used sqlite3 as the database which is supposedly not supported.  It seemed to work just fine.  Whats not supposed to work with sqlite3?
Thank you!
: (

So, how can I use python3 toghether with aldryn-blog?


 :(

[ ] Make responsive
[ ] Turn into setting
[ ] Clean up all code

:+1:

@celsomiranda Don't get your hopes up too high, I can't seem to get this... I'm probably going to have to revisit this in the future.

Backburnering this for 3.0.0 (no idea when that will be).
It's a cool feature, but pretty complicated when so many variables are involved.

@celsomiranda Get your hopes up again, I just figured this out.

@celsomiranda :tada: https://github.com/corysimmons/typographic/commit/7b4b66964fdbff07f30c076fc5b368660112eb55

Thanks. Will use ASAP!
Em 25/03/2015 06:28, "Cory Simmons"<EMAIL_ADDRESS>escreveu:

@celsomiranda https://github.com/celsomiranda [image: :tada:] 7b4b669
https://github.com/corysimmons/typographic/commit/7b4b66964fdbff07f30c076fc5b368660112eb55
—
Reply to this email directly or view it on GitHub
https://github.com/corysimmons/typographic/issues/19#issuecomment-85871740
.

Awesome, let me know how it works for you and if you like it. Always glad to get real world feedback! :)


[$500] [SCAN] Dot indicator doesn't display in IOU chat (in LHN) when scanning receipt failure

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to any chat
Request Money > Scan
Upload an file (not a receipt)
Wait until scanning ends

Expected Result:
Dot indicator should display in IOU chat (in LHN) when scanning receipt failure
Actual Result:
Dot indicator doesn't display in IOU chat (in LHN) when scanning receipt failure
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.71-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/0af9e646-e84a-459e-a8d1-abffb4b5fa8d

Expensify/Expensify Issue URL:
Issue reported by: @DylanDylann
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694593816318179
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01961d1d18426714ce
Upwork Job ID:<PHONE_NUMBER>511924224
Last Price Increase: 2023-09-18

Proposal
Please re-state the problem that we are trying to solve in this issue.
Dot indicator doesn't display in IOU chat (in LHN) when scanning receipt failure
What is the root cause of that problem?
https://github.com/Expensify/App/blob/6be8fcac69aa11ff84baaae94d3ef1d495fe5123/src/libs/OptionsListUtils.js#L358-L365
Currently, we only apply error to reportAction that has IOU type (isReportPreviewAction is true). We don't do that to reportAction that has REPORTPREVIEW type (isReportPreviewAction is true)
What changes do you think we should make in order to solve the problem?
In getAllReportErrors function, add condition to check if isReportPreviewAction is true, we also apply error
else if (ReportActionUtils.isMoneyRequestAction(action)) {
       if (ReportUtils.hasMissingSmartscanFields(report.reportID)) {
               _.extend(reportActionErrors, {smartscan: ErrorUtils.getMicroSecondOnyxError('report.genericSmartscanFailureMessage')});
            }
  }

We've got a fix for this currently in review: https://github.com/Expensify/App/pull/27494
And this was already part of a polish issues being tracked here: https://github.com/Expensify/App/issues/26832


some nilearn functions expect  "a pandas Dataframe or string or list of pandas DataFrames"

https://nistats.github.io/modules/generated/nistats.first_level_model.FirstLevelModel.html

so.... I don't have the link to the thread handy, but there is debate in the nilearn team about how to harmonize the input of csv in nilearn. I hope they will simply support both csv, numpy arrays and pandas dataframe. In this case, we should switch back load_confounds to output a pandas dataframe, as this is the most sensical structure in our case. But I would wait for those changes to be implemented in nilearn first.

sounds good


Forcing HTTP/1.0 behaviour

We have client devices making HTTP/1.1 requests to us that don't actually support chunked responses.  I was hoping to be able to force a HTTP/1.0 response by patching the version in the request as part of a middleware, but unfortunately that is too late in the chain.
The decision is made in cowboy_http:commands (line 979) and (as far as I can tell) is before there is any ability to patch the incoming request.
Needless to say, it's the client device at fault, but I'm not even sure how to patch this.  I'm in a position where I could have dedicated URLs for the misbehaving clients, but again I'm not sure that gives me any options to force a streamed (rather than chunked) response.
Any suggestions?  Happy to make a pull request if you can see a clean way forward.

Yes I remember the problem.
Most recent Cowboy will stream responses without using chunked transfer-encoding if the content-length is set in the response. I do not remember if that was enough for your case though, or if you want a stream + close connection for all responses.

Note that the spec requires us to respond with HTTP/1.1 regardless of what the client is and how we send the response, that's why it's no longer possible to override it.
Just let me know if the content-length workaround is good enough. If it's not, then I'll add an option to force disable chunked. I recently added a way to override options on a per request basis so I could let you enable it per request as well if that would work better for you (for example you could do that for the badly behaving clients and leave chunked for others, if you can detect them).

Unfortunately the content-length workaround isn’t an option for us (we don’t know how much data we’ll send). Some sort of mechanism to enable / disable it on a per request basis would be perfect!
Thanks
Adrian
Sent from my iPhone

On 16 Nov 2018, at 21:35, Loïc Hoguin<EMAIL_ADDRESS>wrote:
Note that the spec requires us to respond with HTTP/1.1 regardless of what the client is and how we send the response, that's why it's no longer possible to override it.
Just let me know if the content-length workaround is good enough. If it's not, then I'll add an option to force disable chunked. I recently added a way to override options on a per request basis so I could let you enable it per request as well if that would work better for you (for example you could do that for the badly behaving clients and leave chunked for others, if you can detect them).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

OK. I'll see if I can squeeze it into 2.6 which is supposed to be released Monday. No promises though.

Something like this probably. Still need to write tests though:
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 17c19ed..15a08db 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -25,6 +25,7 @@
 -export([system_code_change/4]).

 -type opts() :: #{
+	chunked => boolean(),
 	compress_buffering => boolean(),
 	compress_threshold => non_neg_integer(),
 	connection_type => worker | supervisor,
@@ -963,21 +964,28 @@ commands(State0=#state{socket=Socket, transport=Transport, out_state=wait, strea
 	end,
 	commands(State, StreamID, Tail);
 %% Send response headers and initiate chunked encoding or streaming.
-commands(State0=#state{socket=Socket, transport=Transport, streams=Streams0, out_state=OutState},
+commands(State0=#state{socket=Socket, transport=Transport,
+		opts=Opts, overriden_opts=Override, streams=Streams0, out_state=OutState},
 		StreamID, [{headers, StatusCode, Headers0}|Tail]) ->
 	%% @todo Same as above (about the last stream in the list).
 	Stream = #stream{version=Version} = lists:keyfind(StreamID, #stream.id, Streams0),
 	Status = cow_http:status_to_integer(StatusCode),
 	ContentLength = maps:get(<<"content-length">>, Headers0, undefined),
+	%% Chunked transfer-encoding can be disabled on a per-request basis.
+	Chunked = case Override of
+		#{chunked := Chunked0} -> Chunked0;
+		_ -> maps:get(chunked, Opts, true)
+	end,
 	{State1, Headers1} = case {Status, ContentLength, Version} of
 		{204, _, 'HTTP/1.1'} ->
 			{State0#state{out_state=done}, Headers0};
 		{304, _, 'HTTP/1.1'} ->
 			{State0#state{out_state=done}, Headers0};
-		{_, undefined, 'HTTP/1.1'} ->
+		{_, undefined, 'HTTP/1.1'} when Chunked ->
 			{State0#state{out_state=chunked}, Headers0#{<<"transfer-encoding">> => <<"chunked">>}};
-		%% Close the connection after streaming without content-length to HTTP/1.0 client.
-		{_, undefined, 'HTTP/1.0'} ->
+		%% Close the connection after streaming without content-length
+		%% to all HTTP/1.0 clients and to HTTP/1.1 clients when chunked is disabled.
+		{_, undefined, _} ->
 			{State0#state{out_state=streaming, last_streamid=StreamID}, Headers0};
 		%% Stream the response body without chunked transfer-encoding.
 		_ ->
@@ -1099,12 +1107,18 @@ commands(State0=#state{ref=Ref, parent=Parent, socket=Socket, transport=Transpor
 %% Set options dynamically.
 commands(State0=#state{overriden_opts=Opts},
 		StreamID, [{set_options, SetOpts}|Tail]) ->
-	State = case SetOpts of
+	State1 = case SetOpts of
 		#{idle_timeout := IdleTimeout} ->
 			set_timeout(State0#state{overriden_opts=Opts#{idle_timeout => IdleTimeout}});
 		_ ->
 			State0
 	end,
+	State = case SetOpts of
+		#{chunked := Chunked} ->
+			State1#state{overriden_opts=Opts#{chunked => Chunked}};
+		_ ->
+			State1
+	end,
 	commands(State, StreamID, Tail);
 %% Stream shutdown.
 commands(State, StreamID, [stop|Tail]) ->

Done in most recent commit. Please try it!

Perfect!  Very much appreciated.

2.6 is out!


Improved Sections

Currently (since https://github.com/clojurelog/clojurelog.github.io/commit/dabebc331269d19eac9ef8a0cc78a91be0852dee) the sections are:

Storage
Transactions
Query
Developer Experience
Administration

However, there are a few categorization anomalies, like including the clj/s runtimes under "Developer Experience", or having the consoles not under "Administration".
I propose:

Runtime & Storage
Query & Data Model
APIs
Operations & Maintenance

If those don't seem obviously problematic (looking for feedback @deobald :slightly_smiling_face:), I will draft a PR with the full set of changes.
Also, given the section headings, the column headings should probably be repeated each time to avoid forcing people to keep track of which column is which.

1. Avoid "&"
I'll push back on adding "&" to categories, wherever possible. As with user stories, systems thinking, and knowledge management, lumping classes of information with "and" leads to sloppy categories:

Operations & Maintenance can just be Operations (Maintenance is implied) -- this is just renaming "Administration"
Runtime & Storage ... I'm not sure why we'd relate these two things? As a user, whether the databases I'm interested in support Byte Array storage and whether they run on Graal are two unrelated features.
Query & Data Model -- I buy this lumping, but it would be better if we could find one word that captures both. I'm also worried that with @quoll's input (once she's back online; she's snowed in without electricity at the moment) the "Query" section will get much larger, though I suppose that has the nice benefit of allowing us to break "Query" apart from "Data Model" at that point.

2. APIs
I'm not sure this is enough to justify its own category (the only rows I see are Java, HTTP, and remote client). It also doesn't feel like a category that would grow over time as people add features to their Datalog dbs. Unless perhaps we included client libs and drivers in here and people started building up non-Clojure front ends to APIs? Then I buy it.
3. Where did "Transactions" go?
This is the second-largest category, behind Query. The category was intentional and I wouldn't roll its contents into any of the proposed 4 above. As a db user, I would want to know how I insert data into the database and how transactions are handled, separate from all these other topics. There are also a lot of weird transaction semantics to Datalog dbs that users coming from an RDBMS background will appreciate having collocated in one place, I think.
4. Consoles
I don't think the consoles go under "Administration," (or the proposed "Operations ~and Maintenance~") since they don't pertain to administrating an environment (one hopes). They're a developer experience almost by definition. I'm not sure where they'd go under the proposed categories.
5. Repeated section headings

Also, given the section headings, the column headings should probably be repeated each time to avoid forcing people to keep track of which column is which.

Makes sense.
Summary
Maybe it would be better to make these changes piecemeal, rather than sweeping changes through a new PR? It would also be nice if they were driven by the community, rather than by us, since that was the entire goal of reorganizing the rows into collocated categories.


Action does not properly get triggered upon being integrated with different actions

Background
I have succeeded in integrating this via github actions with the basic, recommended commands.
I wanted to take a step further, and make this be triggered only when I have added a specific label to the PR itself.
https://github.com/mattverse/osmosis/pull/12
This is the sample integration I have been working on.
Notice that this is almost identical to the original example provided in this repository, the only difference is that it has an if statement for the job to run.
Also notice how the action itself has been properly started, as we can know from run https://github.com/mattverse/osmosis/actions/runs/4604642813/jobs/8135769907?pr=12.
Would there be specific reason why adding on new logic on top of this gh action might be causing this flakiness?

@mattverse Please note that label events do not trigger the review process, but if you attempt to push a new submission after adding a label, it should work as expected and only be reviewed on the specific label tag.

@anc95 Thanks for getting back. Sorry did not quite understand your answer, is there a specific logic in this code base that makes it review only after push of a new commit? Or are you suggesting that there might be something wrong with my github action configuration file?

@mattverse Yes, currently the code only responds to the opened and synchronized events and triggers code review.

@anc95 Can you point me to the line of code that has this logic? I can try to pull up a PR to work with any other types as well

@mattverse https://github.com/anc95/ChatGPT-CodeReview/blob/main/src/bot.ts#L42. Thank you.


python310Packages.txtorcon: 22.0.0 -> 23.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.txtorcon is: Twisted-based Tor controller client, with state-tracking and configuration abstractions
meta.homepage for python310Packages.txtorcon is: https://github.com/meejah/txtorcon
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.0.0 with grep in /nix/store/s8ppqaacld0v76ndc12ld3z0vaghh9js-python3.10-txtorcon-23.0.0
found 23.0.0 in filename of file in /nix/store/s8ppqaacld0v76ndc12ld3z0vaghh9js-python3.10-txtorcon-23.0.0

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
gnome-keysign
magic-wormhole
python310Packages.magic-wormhole
python310Packages.txtorcon
python311Packages.magic-wormhole
python311Packages.txtorcon
tahoe-lafs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s8ppqaacld0v76ndc12ld3z0vaghh9js-python3.10-txtorcon-23.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.txtorcon https://github.com/r-ryantm/nixpkgs/archive/c1cce191c6e8a630624d2ccfd0a9479897569206.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s8ppqaacld0v76ndc12ld3z0vaghh9js-python3.10-txtorcon-23.0.0
ls -la /nix/store/s8ppqaacld0v76ndc12ld3z0vaghh9js-python3.10-txtorcon-23.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

6 packages built:

gnome-keysign
magic-wormhole (python310Packages.magic-wormhole)
python310Packages.txtorcon
python311Packages.magic-wormhole
python311Packages.txtorcon
tahoe-lafs

Maintainer pings
cc @jluttine @exarkun for testing.

Result of nixpkgs-review pr 216772 run on x86_64-linux 1

6 packages built:

gnome-keysign
magic-wormhole (python310Packages.magic-wormhole)
python310Packages.txtorcon
python311Packages.magic-wormhole
python311Packages.txtorcon
tahoe-lafs


Non-JS text assets not being gzipped

CSS and other text files aren't being gzipped by Express. Only the JS is. Odd!

The CSS and text assets are now being compressed, but the JSON from the API is not.

Ahh..so only resources larger than 1kb are compressed by the middleware. That's likely the issue. Gonna close.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.11 to before v5.15",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c0eb596baa51f2b43949c698c644727ef17805c",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7fb223d0ad801f633c78cbe42b1d1b55f5d163ad"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "8c0eb596baa51f2b43949c698c644727ef17805c",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "7fb223d0ad801f633c78cbe42b1d1b55f5d163ad",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15 by commit 7fb223d0ad801f633c78cbe42b1d1b55f5d163ad, it was introduced in version v3.11 by commit 8c0eb596baa51f2b43949c698c644727ef17805c. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002186


Support issues for 'clickhouse'

ClickHouse in hue loads 1000 directly by default, it cannot be loaded by scroll like hive.
ClickHouse downloads up to 1000 pieces by default when downloading in hue. Even if "limit" is used, it still cannot download more than 1000 pieces of data.
ClickHouse cannot use "create temporary table" in hue.
There is a problem of timing failure in ClickHouse in hue

version is 4.8.0

Are you using the SqlAlchemy dialect? https://docs.gethue.com/administrator/configuration/connectors/#clickhouse

Are you using the SqlAlchemy dialect? https://docs.gethue.com/administrator/configuration/connectors/#clickhouse

Yes, I using the SqlAlchemy dialect

I use SqlAlchemy  not well, can you tell me your SqlAlchemy  version !!
Thanks !!!

I use SqlAlchemy not well, can you tell me your SqlAlchemy version !!
Thanks !!!

SqlAlchemy version: 1.3.8

What I use on hue is sqlalchemy-clickhouse and have some questions about version ，

I have used several versions ，and now I wang to use jdbc .BUT I dont no have to docker build .

Is SqlAlchemy OK?

and 2. feels like the JDBC connector is used and not SqlAlchmey interface (https://docs.gethue.com/administrator/configuration/connectors/#clickhouse), but would need to check why. It might be related to SqlAlchemy.
What is the error? It might be related to https://github.com/xzkostyan/clickhouse-sqlalchemy
What is the error message?

Thank you very much.！ I got it through the Sqlalchemy Clickhouse. But there are requirements for the version
infi.clickhouse-orm==1.0.3  sqlalchemy-clickhouse==0.1.4.post0 and There is one more area that needs to be modified
in /usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py lines 230
`self.options['url'].startswith('phoenix://') or self.options['url'].startswith('presto://') or
self.interpreter.get('dialect_properties') and self.interpreter['dialect_properties']['trim_statement_semicolon']:
statement = statement.strip().rstrip(';')
#if self.interpreter.get('dialect_properties', {}).get('has_use_statement') and snippet.get('database'):
connection.execute('USE ' + snippet['database'])
result = connection.execute(statement)`

This is my DockerFile
`FROM gethue/hue:latest
RUN  /usr/share/hue/build/env/bin/python2.7 -m pip install --upgrade pip -i https://pypi.douban.com/simple &&
./build/env/bin/pip install infi.clickhouse-orm==1.0.3  sqlalchemy-clickhouse==0.1.4.post0  -i https://pypi.douban.com/simple
COPY sql_alchemy.py /usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py
`

latest image should just work as is from right now

Have you recompiled the packaged image。 Cool，thanks


Rename css folder to js.

This fixes the folder name and file reference to better reflect what we’re importing.

Oops, thanks for catching that!


request for removing is_user align right

There is some issue for user prompt like above image (very hard to read because text-align is right)
        return css`
          flex-direction: row-reverse;
          & > div {
            text-align: right;
          }
        `

but below fix this problem
        return css`
          flex-direction: row-reverse;
        `

done, now there's no text-align: right;


keyd re-enable disabled keyboard in wayland (sway)

I disable my built-in laptop keyboard using swaymsg input <identifier> events disabled, so i can put my external keyboard over it.
When keyd is running and i disable it, it get disabled for one press and then it's enabled again.

But i use both keyboard with keyd, so what i'd like is for keyd to keep the keyboard disabled, or an option in keyd itself for disabling and enabling keyboards at runtime.

Thank you, after adapting your script, now i can disable and enable the built-in keyboard.
Another simpler solution that worked (i don't know why) is disabling the keyd virtual keyboard instead of disabling the built-in keyboard directly. The external keyboard kept working?? my assumption when testing this solution is disabling the virtual keyboard would disable all keyboards managed by keyd, is this a bug?


missing dependencies for example page

I had to add all these dependencies to get the examples on https://davenverse.github.io/mules-http4s/ to work.
(I am not absolutely sure if all 4 are needed, but I am sure only one alone did not)
  object mules {
    val core = Def.setting("io.chrisdavenport" %% "mules" % "0.7.0")
    val caffeine = Def.setting("io.chrisdavenport" %% "mules-caffeine" % "0.7.0")
    val http4s = Def.setting("io.chrisdavenport" %% "mules-http4s" % "0.4.0")
    // ember uses 0.23.18
    val ember_client =  Def.setting("org.http4s" %%% "http4s-ember-client" % "0.23.18")
  }

Two months without a response. Is mules an active project?

I didn't notice this issue, I have a lot of repos and sometimes things slide through.
The baseline for the examples of this site are plus the base "mules-http4s", where mules-http4s pulls in mules transitively.
        "io.chrisdavenport" %%% "mules-caffeine" % mulesV,
        "org.http4s" %%% "http4s-ember-client" % http4sV,
       "mules-http4s"


Duplicate GoLLM within this repository

This is done. The demo GoLLM code has been ported over from my private repo.


Position Utilities Docs: Fix the marker SVG color to match the button

The bottom marker icon is a different color to the button color.

This looked like a mistake, so this PR updates the color to match the btn-dark color - but if it was intentional to show how this is positioned of course feel free to decline the PR. :-)

It's a missed case of bumping $dark from $gray-800 to $gray-900 in #30550.
Thanks for spotting this!


Build version uses jspm_packages folder

Production build with npm run build:app loads modules from jsmp_packages folder.
I run npm run init and npm run build:app.

This is the jspm.config.js i am using.

I see that browser cannot find vendor.prod.bundle.
This is a bundle that contain all your dependencies, this is why it is looking for jspm_packages as a resolving algorithm
I think if you build with npm run build as opposed to only building app source code, it should resolve your problem.
Please take a look at docs: https://github.com/piotrwitek/react-redux-typescript-starter-kit#production-bundling-dist-folder

@maxali should be closed?

@piotrwitek you are right. I had to run npm run build.
Sorry for the late reply.


ci/cd: build docker image

Motivation: PoC is implemented and tested, and the time to automate routine has come.

fixed https://github.com/octomation/stub/actions/runs/5822869078


the output channals of FeatureAlign_V2

self.dcpack_L2 = dcn_v2(out_nc, out_nc, 3, stride=1, padding=1, dilation=1, deformable_groups=8, extra_offset_mask=True)
why out_nc is 256, not 216(3 x kernel_size x kernal_size x deformable_groups) ?

I also have the same question

216 is the dimension of the offset tensor (which is the one of inputs of this DC block), and the dimension of the whole deformable convolution block will be 256


Implement Unified Flag Configuration in the SDK

Overview
Upgrades Experimental Assignment computation to use the Unified Flag Configuration format. Overall, the impact on developers is transparent; the callable API of the SDK is essentially unchanged with only added optional fields (existing code should continue to work)
Additional Changes

Adds support for IS_NULL Operator
Adds support for INTEGER variation type (was previously lumped in with NUMERIC)
Adds support for a defaultValue to be passed to getTypeAssignment methods.
Removes JSONString  type as it is redundant and inconsistent with other SDKs

Breaking Changes

getAssignment method signatures reordered to match other SKDs
Requires php 8.1

Thanks for the great review, @aarsilv. Please take another look. Open questions still remain around background polling and default values.

One other thing, we're moving to put back getJSONStringAssignment() (in addition to getJSONAssignment()) to let users use their own JSON parsers if they want. This matters more for languages without any native JSON, like Java, but we want SDK public interfaces to be consistent.


Safe transasction signing/submission flows switches back and forth 🤯

Title/Description
Safe transasction signing/submission flows switches back and forth 🤯
For the same Safe, I'm sometimes asked to

first sign a message and the separately execute or
asked to submit a tx right away without message signing

Environment

Browser: Firefox
Safe: https://rinkeby.gnosis-safe.io/app/#/safes/0xaE3c91c89153DEaC332Ab7BBd167164978638c30/
Wallet: MM
App Version: 1.9.4
Environment:
https://rinkeby.gnosis-safe.io/app/#/safes/0xaE3c91c89153DEaC332Ab7BBd167164978638c30/

Steps to reproduce
(See screencast below)

Open Safe
Send 1 LOVE
MM pops up asking to submit the tx to the chain.
While tx is being executed, send 1 more LOVE
Now MM popups up with a signing request
I need to separately execute with a tx

Expected result
(1) The behavior should be consistent
(2) I expect to have the option to either execute right away to to just confirm the tx
Obtained result
I got different flows which confused me
Screencast
https://drive.google.com/open?id=1pI8rnhSNmwIoBWyOh45KC_NyU2eMmzto

Are you sending the second transaction while the first one is still being executed?

Are you sending the second transaction while the first one is still being executed?

Yes that's indeed what I'm doing:

While tx is being executed, send 1 more LOVE

Okay, then that makes sense. Confused my quite a bit though.

Yes agree. We should improve on the UX of the transaction "queue" in general as it's not obvious that transactions can only be executed one after the other. But also I think this will get less of a problem as soon as we offer transaction relaying.


Acrolinx test

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

azure-go-sdk-conceptual/azure-sdk-go-auth-aad-samples.md
92
1
link

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azure-go-sdk-conceptual/azure-sdk-go-auth-aad-samples.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


attempt to fix sentry

📝 Changed routes:

/_error

(view full size)

Commit db2b2af9318c103f087b19fe05df71804c04f359 (https://thirdweb-ntscgv3pt.thirdweb-preview.com).


Driver().ProtectProcess can't use sockets

when Driver().ProtectProcess set to true, my programm can't use sockets

It's one of many negative side effects. Don't use protection if it breaks features you need.


Fixes #2706 $appcmdargs miscalculated in default web role template

Fixes #2706 $appcmdargs miscalculated in default web role template
Uses correct syntax to concatenate lists in Powershell.
Avoids joining absolute paths together.

👍


PqDescendants stuck on MacOS

Good morning,
I've tried to use some old (working!) code of mine on my new MacOS installation, when I realised that PqDescendants got stuck. I had the same issue on GAP 4.11.0 of 29-Feb-2020; below I used the github version of GAP. I am doing computations on a Mac.
On my old work computer (linux) and the latest GAP installation, it worked fine. Is this issue somehow related to IO?
Best wishes,
Heiko
heiko@office:~/GIT/gap/bin$ ./gap.sh
 ┌───────┐   GAP 4.12dev-873-g1dd9023 built on 2021-05-12 14:16:34+1000
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin20.3.0-default64-kv8
 Configuration:  gmp 6.2.1, GASMAN
 Loading the library and packages ...
LoadP Packages:   AClib 1.3.2, Alnuth 3.1.2, AtlasRep 2.1.0, AutoDoc 2020.08.11, AutPGrp 1.10.2, CRISP 1.4.5, Cryst 4.1.23, CrystCat 1.1.9, CTblLib 1.3.1, FactInt 1.6.3,
             FGA 1.4.0, GAPDoc 1.6.4, IRREDSOL 1.4.1, LAGUNA 3.9.3, Polenta 1.3.9, Polycyclic 2.15.1, PrimGrp 3.4.1, RadiRoot 2.8, ResClasses 4.7.2, SmallGrp 1.4.2,
             Sophus 1.24, SpinSym 1.5.2, TomLib 1.2.9, TransGrp 3.0, utils 0.69
 Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("anupq");
---------------------------------------------------------------------------
Loading    ANUPQ (ANU p-Quotient) 3.2.1
GAP code by  Greg Gamble<EMAIL_ADDRESS>(address for correspondence)
           Werner Nickel (http://www.mathematik.tu-darmstadt.de/~nickel/)
           [uses ANU pq binary (C code program) version: 1.9]
C code by  Eamonn O'Brien (https://www.math.auckland.ac.nz/~obrien)
Co-maintained by Max Horn<EMAIL_ADDRESS>
            For help, type: ?ANUPQ
---------------------------------------------------------------------------
true
gap>  G := PcpGroupToFpGroup(PcGroupToPcpGroup(DihedralGroup(16)));;
gap>  G := Pq(G: Prime:=2);
<pc group of size 16 with 4 generators>
gap> PqDescendants(G:StepSize:=1);

^CError, user interrupt in
  moreOfline := ReadLine( iostream ); at /Users/heikod/GIT/gap/lib/streams.gi:170 called from
ReadAllLine( iostream, true, IS_ALL_PQ_LINE ) at /Users/heikod/GIT/gap/pkg/anupq-3.2.1/lib/anupqios.gi:389 called from
PQ_READ_NEXT_LINE( datarec.stream ) at /Users/heikod/GIT/gap/pkg/anupq-3.2.1/lib/anupqios.gi:469 called from
FILTER_PQ_STREAM_UNTIL_PROMPT( datarec ); at /Users/heikod/GIT/gap/pkg/anupq-3.2.1/lib/anupqios.gi:630 called from
ToPQ( datarec, "rels", [  ] ); at /Users/heikod/GIT/gap/pkg/anupq-3.2.1/lib/anupqi.gi:328 called from
PQ_PC_PRESENTATION( datarec, "pQ" ); at /Users/heikod/GIT/gap/pkg/anupq-3.2.1/lib/anupga.gi:380 called from
...  at *stdin*:4
you can 'return;'

On my Mac running 10.14, this works just fine.
 It'd be perfectly on par for Apple and Big Sur to screw things up 🙄 . I'll investigate.

CC @ChrisJefferson in case he has an idea

Nothing immediate -- we have an M1 mac in the house, I will try to look at well what is going on. The main question is, is this a pipe issue, or is anupq breaking on big sur?

I can reproduce this on an Intel-based Mac, under Catalina 10.15.7
 ┌───────┐   GAP 4.11.1 of 2021-03-02
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin19.6.0-default64-kv7
 Configuration:  gmp 6.2.1, GASMAN, readline
 Loading the library and packages ...
  See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("anupq");
---------------------------------------------------------------------------
Loading    ANUPQ (ANU p-Quotient) 3.2.1
GAP code by  Greg Gamble<EMAIL_ADDRESS>(address for correspondence)
           Werner Nickel (http://www.mathematik.tu-darmstadt.de/~nickel/)
           [uses ANU pq binary (C code program) version: 1.9]
C code by  Eamonn O'Brien (https://www.math.auckland.ac.nz/~obrien)
Co-maintained by Max Horn<EMAIL_ADDRESS>
            For help, type: ?ANUPQ
---------------------------------------------------------------------------
true
gap> G := PcpGroupToFpGroup(PcGroupToPcpGroup(DihedralGroup(16)));;
gap> G := Pq(G: Prime:=2);
<pc group of size 16 with 4 generators>
gap> PqDescendants(G:StepSize:=1);
^CError, user interrupt in
  moreOfline := ReadLine( iostream )
 ; at /Users/alexk/gap/gap-4.11.1/lib/streams.gi:170 called from
ReadAllLine( iostream, true, IS_ALL_PQ_LINE
 ) at /Users/alexk/gap/gap-4.11.1/pkg/anupq-3.2.1/lib/anupqios.gi:389 called from
PQ_READ_NEXT_LINE( datarec.stream
 ) at /Users/alexk/gap/gap-4.11.1/pkg/anupq-3.2.1/lib/anupqios.gi:469 called from
FILTER_PQ_STREAM_UNTIL_PROMPT( datarec
 ); at /Users/alexk/gap/gap-4.11.1/pkg/anupq-3.2.1/lib/anupqios.gi:630 called from
ToPQ( datarec, "rels", [  ]
 ); at /Users/alexk/gap/gap-4.11.1/pkg/anupq-3.2.1/lib/anupqi.gi:328 called from
PQ_PC_PRESENTATION( datarec, "pQ"
 ); at /Users/alexk/gap/gap-4.11.1/pkg/anupq-3.2.1/lib/anupga.gi:380 called from
...  at *stdin*:4
you can 'return;'
brk>

Issue also occurs in the latest version (3.2.2)

I run the computation with SetInfoLevel(InfoANUPQ, 6) to see what happens. Skipping to the relevant part, I see this:
...
gap> PqDescendants(G:StepSize:=1);
#I  ANU p-Quotient Program Version 1.9 running with workspace 10000000 on vpn-ipv4-0354.triple-a.uni-kl.de
#I  Tue Jun 01 16:16:07 CEST 2021
#I
#I  Standard Presentation Menu
#I  -----------------------------
#I  1. Supply start information
#I  2. Compute standard presentation to supplied class
#I  3. Save presentation to file
#I  4. Display presentation
#I  5. Set print level for construction
#I  6. Compare two presentations stored in files
#I  7. Call basic menu for p-Quotient program
#I  8. Compute the isomorphism
#I  9. Exit from program
#I
#I  Select option:
#I  ToPQ> 7  #to (Main) p-Quotient Menu
#I
#I  Basic Menu for p-Quotient Program
#I  ----------------------------------
#I  1. Compute pc presentation
#I  2. Save presentation to file
#I  3. Restore presentation from file
#I  4. Display presentation of group
#I  5. Set print level
#I  6. Calculate next class
#I  7. Compute p-covering group
#I  8. Advanced p-quotient menu
#I  9. (Main) menu for p-group generation
#I  10. Exit from p-quotient program
#I
#I  Select option:
#I  ToPQ> 1  #define group
#I  ToPQ> name [grp]
#I  ToPQ> prime 2
#I  ToPQ> class 3
#I  ToPQ> exponent 0
#I  ToPQ> output 0
#I  ToPQ> generators { g1, g2, g3, g4 }
#I  ToPQ> relators   { g1^2, g2^2=g3^1*g4^1, g3^2=g4^1, g4^2, [g2,g1]=g3^1,
#I  ToPQ>   [g3,g1]=g4^1, [g3,g2], [g4,g1], [g4,g2], [g4,g3] };

HERE THE BIG SUR MAC STOPS! while it continues on other machines:

#I  Computation of presentation took 0.00 seconds
#I
#I  Select option:
#I  ToPQ> 5  #set output level
#I  Input print level (0-3):
#I  ToPQ> 0  #output level
#I
...

With this it is relatively easy to reproduce the steps manually, in a terminal.
On the M1 mac running Big Sur, I also get a hang -- meaning the issue is in the pq binary, not in the interface with GAP.
$ ./pq
ANU p-Quotient Program Version 1.9 running with workspace 10000000 on munk.mathematik.uni-kl.de
Tue Jun 01 16:19:15 CEST 2021

Basic Menu for p-Quotient Program
----------------------------------
1. Compute pc presentation
2. Save presentation to file
3. Restore presentation from file
4. Display presentation of group
5. Set print level
6. Calculate next class
7. Compute p-covering group
8. Advanced p-quotient menu
9. (Main) menu for p-group generation
10. Exit from p-quotient program

Select option: 7

Select option: 1
Input group identifier: grp
Input prime: 2
Input maximum class: 3
Input print level (0-3): 0
Input generating set (in { }): { g1, g2, g3, g4 }
Input defining set of relations (in { }): { g1^2, g2^2=g3^1*g4^1, g3^2=g4^1, g4^2, [g2,g1]=g3^1, [g3,g1]=g4^1, [g3,g2], [g4,g1], [g4,g2], [g4,g3] }
# HERE IT HANGS ON BIG SUR / M1; while on other machines, it goes on:
Input exponent law (0 if none): 0
Computation of presentation took 0.00 seconds
....

Using lldb, I determined that it hangs waiting for user input (I pressed plenty keys, nothing happened):
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x000000019cd62c84 libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x000000019ccaada8 libsystem_c.dylib`__sread + 24
    frame #2: 0x000000019ccaae00 libsystem_c.dylib`_sread + 32
    frame #3: 0x000000019ccaa740 libsystem_c.dylib`__srefill1 + 36
    frame #4: 0x000000019ccaa8d0 libsystem_c.dylib`__srget + 24
    frame #5: 0x000000019cca6e88 libsystem_c.dylib`getc + 72
    frame #6: 0x000000010001ae64 pq`read_next_word [inlined] read_char(rfile=0x00000002076a3240) at pretty_filterfns.c:1259:8 [opt]
    frame #7: 0x000000010001ae5c pq`read_next_word(wp=0x000000016fdfed60, file=0x00000002076a3240) at pretty_filterfns.c:469 [opt]
    frame #8: 0x0000000100019bcc pq`pretty_read_relations(output=0, max_class=0x000000016fdfedfc, pcp=0x000000016fdfeec0) at pretty_filter.c:353:13 [opt]
    frame #9: 0x0000000100018f70 pq`pquotient(max_class=3, output=0, file=0x00000002076a3240, format=<unavailable>, pcp=0x000000016fdfeec0) at pquotient.c:30:7 [opt]
    frame #10: 0x0000000100016cd8 pq`options(call=<unavailable>, format=2, pcp=0x000000016fdfeec0) at options.c:54:23 [opt]
    frame #11: 0x000000010002a2c0 pq`main(argc=<unavailable>, argv=<unavailable>) at main.c:85:7 [opt]
    frame #12: 0x000000019cdb5f34 libdyld.dylib`start + 4

Weird. Did perhaps stdlib buffering defaults change? Did Apple break ungetc? Huh

This is getting weirder by the minute. I've added a simple stupid hack to get an idea what kind of getc / ungetc calls are being made:
diff --git a/src/hack.h b/src/hack.h
new file mode 100644
index 0000000..48b4f34
--- /dev/null
+++ b/src/hack.h
@@ -0,0 +1,7 @@
+#if 1
+extern int HACK_getc(FILE *stream, const char * filename, int line);
+extern int HACK_ungetc(int c, FILE *stream, const char * filename, int line);
+
+#define getc(stream) HACK_getc(stream, __FILE__, __LINE__)
+#define ungetc(c,stream) HACK_ungetc(c, stream, __FILE__, __LINE__)
+#endif
diff --git a/src/pretty_filter.c b/src/pretty_filter.c
index 227b1f4..1f42c9c 100644
--- a/src/pretty_filter.c
+++ b/src/pretty_filter.c
@@ -32,6 +32,8 @@ extern int paired_gens;
 char gpname[MAXIDENT];
 char filename[MAXIDENT];

+#include "hack.h"
+
 /* process "pretty" presentation input from file using key words;
    this is a modified version of code written by Sarah Rees */

diff --git a/src/pretty_filterfns.c b/src/pretty_filterfns.c
index 638db3c..13eb444 100644
--- a/src/pretty_filterfns.c
+++ b/src/pretty_filterfns.c
@@ -24,6 +24,22 @@ int gen_array_size = 53;
 int *pairnumber = 0;
 int paired_gens;

+int HACK_getc(FILE *stream, const char * filename, int line)
+{
+    int c = getc(stream);
+    fprintf(stderr, "getc() -> %d / %c at %s:%d\n", c, (char)c, filename, line);
+    return c;
+}
+
+int HACK_ungetc(int c, FILE *stream, const char * filename, int line)
+{
+    fprintf(stderr, "ungetc(%d / %c) at %s:%d\n", c, (char)c, filename, line);
+    return ungetc(c, stream);
+}
+
+#include "hack.h"
+
+
 void pc_word_init(word *wp)
 {
    wp->g = anu_valloc(gen_type, 16);

and this works fine on my regular machine. But on the M1 mac with big sur... it produces an executable that can't even launch. In fact, I can't even lldb it.... WTF?!?
munk:~/Projekte/.../gap/pkg/anupq (git:master+*)$ make
  CC       src/pq-pretty_filter.o
  CC       src/pq-pretty_filterfns.o
  CCLD     pq
/opt/homebrew/bin/gmkdir -p ./bin/aarch64-apple-darwin20.3.0-default64-kv8
cp pq /Users/horn/Projekte/GAP/gap/pkg/anupq/bin/aarch64-apple-darwin20.3.0-default64-kv8
SUCCESS!
munk:~/Projekte/.../gap/pkg/anupq (git:master+*)$ bin/aarch64-apple-darwin20.3.0-default64-kv8/pq
Killed: 9
munk:~/Projekte/.../gap/pkg/anupq (git:master+*)$ lldb bin/aarch64-apple-darwin20.3.0-default64-kv8/pq
(lldb) target create "bin/aarch64-apple-darwin20.3.0-default64-kv8/pq"
Killed: 9

Note that there are no calls to ungetc or getc at the start; if you start pq and then immediately exit it (e.g. by entering "10"), there are ZERO calls to those. So how can their addition create an instantly killed binary!?
Apparently even if I removed the #defines (so I just add two functions which then are never called) I get this. Perhaps macOS doesn't like functions with the word HACK in them?
(Side note: Apple's man pages claim

The getc() function acts essentially identically to fgetc(), but is a macro that expands in-line.

but this is incorrect, getc isn't a macro, at least in those versions of the macOS SDK that I have access to.

Just as an update (I posted this already on Slack a few days ago but forgot to about here): I learned the solution to the strange segfault I was seeing on the Julia Slack, thanks to Elliot "staticfloat" Saba. He told me:

If you copy the executable to a new file, does it work?
If it does, this is due to new (10.15/11.0+) macOS’s linkage of codesign hashes to inode numbers; once an executable has been loaded, the inode<->codesign hash cache gets filled, and it cannot be emptied until the inode is deleted or the system is restarted.  This means that if you have a build script that overwrites a binary (instead of deleting and then recreating the file) any operation to execute it will fail like this.
I’ve complained about this to Apple, trying to get them to see that this is really annoying, but their response is basically “it’s quite difficult to invalidate this cache upon potentially-partial writes at the kernel level.”

This is really bonkers. But at least it's also easy to work around, and I was able to reproduce the hang with my debug statements in there. Unfortunately, this did not reveal any new clue (that I could see, at least).
Perhaps I should try and get DTrace working and see if that reveals something. Hrm :-(

Good evening,
I get the same problem on an MacBookPro from 2017 with a Dual-Core Intel i5 CPU and GAP 4.10.2.
Best wishes,
Jonas
 ┌───────┐   GAP 4.10.2 of 19-Jun-2019
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin20.6.0-default64-kv3
 Configuration:  gmp 6.2.0
 Loading the library and packages ...
  See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("anupq");
---------------------------------------------------------------------------
Loading    ANUPQ (ANU p-Quotient) 3.1.2
GAP code by  Greg Gamble<EMAIL_ADDRESS>(address for correspondence)
           Werner Nickel (http://www.mathematik.tu-darmstadt.de/~nickel/)
           [uses ANU pq binary (C code program) version: 1.9]
C code by  Eamonn O'Brien (http://www.math.auckland.ac.nz/~obrien)
Co-maintained by Max Horn<EMAIL_ADDRESS>
            For help, type: ?ANUPQ
---------------------------------------------------------------------------
true
gap> F := FreeGroup( "a", "b" );; a := F.1;; b := F.2;;
gap> GG := PcGroupFpGroup( F / [a^2, b^2, Comm(b,a)]);
<pc group of size 4 with 2 generators>
gap> PqDescendants(GG : ClassBound := 2, AllDescendants := true);
[ <pc group of size 8 with 3 generators>, <pc group of size 8 with 3 generators>, <pc group of size 8 with 3 generators>, <pc group of size 16 with 4 generators>, <pc group of size 16 with 4 generators>
    , <pc group of size 16 with 4 generators>, <pc group of size 32 with 5 generators> ]
gap> Filtered(last, x -> IsCyclic(FrattiniSubgroup(x)));;
gap> PqDescendants(last[1] : ClassBound := 3, AllDescendants := true);
^CError, user interrupt in
  moreOfline := ReadLine( iostream ); at /Applications/gap-4.10.2/lib/streams.gi:169 called from
ReadAllLine( iostream, true, IS_ALL_PQ_LINE ) at /Applications/gap-4.10.2/pkg/anupq-3.1.2/lib/anupqios.gi:389 called from
PQ_READ_NEXT_LINE( datarec.stream ) at /Applications/gap-4.10.2/pkg/anupq-3.1.2/lib/anupqios.gi:469 called from
FILTER_PQ_STREAM_UNTIL_PROMPT( datarec ); at /Applications/gap-4.10.2/pkg/anupq-3.1.2/lib/anupqios.gi:630 called from
ToPQ( datarec, "rels", [  ] ); at /Applications/gap-4.10.2/pkg/anupq-3.1.2/lib/anupqi.gi:327 called from
PQ_PC_PRESENTATION( datarec, "pQ" ); at /Applications/gap-4.10.2/pkg/anupq-3.1.2/lib/anupga.gi:387 called from
...  at *stdin*:6
you can 'return;'

@ChrisJefferson figured out a fix, see PR #53. It'll be in the next anupq release

Fixed in anupq 3.2.5


Transparent header stopped working

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version
"react": "16.9.0",
"expo": "^37.0.0",
"react-navigation": "^4.0.10",
"native-base": "2.13.8",
Expected behaviour
When using <Header transparent/> the  android status bar should have the color of the header with a bit of opacity.
Actual behaviour
The Header is transparent but the android status bar takes the default color theme. Now when going to a screen without the <Header/> component the android status bar has a black color and a margin bottom (which wasn't there before).
Steps to reproduce
I created a repo with expo, react navigation and native base to demonstrate the issue.
https://github.com/Agilulfo1820/mvce-header-bug

Is the bug present in both iOS and Android or in any one of them?
The bug is present in both iOS and Android.
Any other additional info which would help us debug the issue quicker.
This bug wasn't present since 3 weeks ago (after 5 months of developing). Don't know if it's related to expo or react navigation.
Here are a few screenshots:
How broken header presents:

Before entering screen with the broken header:

Returning to this screen after been to the screen with broken header:

Hi Guys any update on this, i am also facing similar issue

At the end I changed all headers with react native paper and solved it. It's a bit of a pain but the good thing is that Paper lets you load only the component you use do I don't have to load the entire library to only use the header.

facing the same issue


Update broken link to Ansible inventory in kubespray.md

Based on #27473.

Direct link to the preview: https://deploy-preview-28441--kubernetes-io-master-staging.netlify.app/ko/docs/setup/production-environment/tools/kubespray/#2-5-인벤토리-파일-구성하기
/lgtm

@marekhanus @jihoon-seo Thanks !
/approve


Handle incoming requests with OPTIONS method for MP

The POST or GET methods in most instances are preceeded by a pre-flight OPTIONS request to the server. The aRMT app was thus not able to access the token end-point of Management Portal because the OPTIONS method is forbidden with the following error message -
polyfills.js:3 OPTIONS https://radar-cns-platform.rosalind.kcl.ac.uk//managementportal/oauth/token 403 (Forbidden)
(index):1 Failed to load https://radar-cns-platform.rosalind.kcl.ac.uk//managementportal/oauth/token: Response for preflight has invalid HTTP status code 403

This could probably be implemented as a conditional block in the nginx.conf file

Apparently the default jHipster configuration enables CORS in the dev profile, but not in the prod profile, which i hadn't noticed. I will fix it on the MP side so that CORS works as it should without needing additional configuration of external components like a proxy. See this PR.

Yes that would be best. The PR looks good. For now I will keep the nginx conf on the server till the new version of MP is released

MP will only be accessible via nginx, so indeed CORS needs to be enabled there. Changing the settings in MP shouldn’t have an effect on clients.

@dennyverbeeck you already implemented this. Should we close this?

I think we can, we should make sure though that the response headers from MP are being properly passed through to the client by nginx.

@dennyverbeeck Okay adding this to my to do list and closing the issue


Dagster end to end testing no longer working

Dagster end to end testing no longer working.
Schema of pr not getting set correctly

fixed this a while back


Added wrangler login changes

Same changes as this PR.

Looks good to me! I’d love to get @EverlastingBugstopper and/or @rita3ko’s eyes on just to confirm though. Thanks for this!

@jspspike do you mind reverting the commit on the workers docs that are currently deployed? we havent released a new version yet with these changes and it looks like it has been merged and deployed - dont wanna confuse folks with info they cant quite use yet


I am getting this error while running the node app, previously everything work fine, i thinks some changes occur in koa module due to which this error arrises.

src/server.ts(66,11): error TS2345: Argument of type 'Middleware<ParameterizedContext<DefaultState, DefaultContext>>' is not assignable to parameter of type 'Middleware'.
Type 'ParameterizedContext<DefaultState, DefaultContext>' is not assignable to type 'Context'.
Types of property 'app' are incompatible.
Type 'import("/app/node_modules/@types/koa-compose/node_modules/@types/koa/index.d.ts")<DefaultState, DefaultContext>' is not assignable to type 'Application'.
Types of property 'response' are incompatible.
Type 'import("/app/node_modules/@types/koa-compose/node_modules/@types/koa/index.d.ts").BaseResponse' is not assignable to type 'import("/app/node_modules/@types/koa/index").BaseResponse'.
Types of property 'is' are incompatible.
Type '{ (...types: string[]): string | false; (types: string[]): string | false; }' is not assignable to type '{ (...types: string[]): string; (types: string[]): string; }'.
Type 'string | false' is not assignable to type 'string'.
Type 'false' is not assignable to type 'string'.
src/server.ts(67,11): error TS2345: Argument of type 'Middleware<ParameterizedContext<DefaultState, DefaultContext>>' is not assignable to parameter of type 'Middleware'.
src/server.ts(69,11): error TS2345: Argument of type 'Middleware<ParameterizedContext<DefaultState, DefaultContext>>' is not assignable to parameter of type 'Middleware'.
src/server.ts(90,11): error TS2345: Argument of type 'Middleware<ParameterizedContext<any, IRouterParamContext<any, {}>>>' is not assignable to parameter of type 'Middleware'.
Type 'ParameterizedContext<any, IRouterParamContext<any, {}>>' is not assignable to type 'Context'.
Types of property 'app' are incompatible.
Type 'import("/app/node_modules/@types/koa-compose/node_modules/@types/koa/index.d.ts")<DefaultState, DefaultContext>' is not assignable to type 'Application'.
npm ERR! code ELIFECYCLE

@niteshtripathi1234, can you provide more details like some code , modules versions .. !!

This question has been stale for 12 days now. I'm going to close this as I assume you've resolved your issue. If this is incorrect and you still need help/feedback please provide more details as @3imed-jaberi suggested and re-open this ticket.


Pages Documentation Help ??

Laravel Version: 5.3.30
Voyager Version: 0.10.12
PHP Version: 5.6.24
Database Driver & Version:
mysql

Description:
This is not necessarily an issue but I am trying to figure out the pages system. I have watched the videos and the documentation and cannot figure out how to see any pages on the front end. So right now there is the Demo scurvy-page.   So I here is my base URL:
http://localhost/voyager/public/
I have tried many different combos and cannot get to the page. In the admin section I can see the Edit/View mode of the page but cannot get to the page from a straight URL.
http://localhost/voyager/public/admin/scurvy-page
http://localhost/voyager/public/scurvy-page
http://localhost/voyager/public/pages/scurvy-page
I am running under admin which has permissions to see everything.
My assumption is since this was created under the Voyager system, it will use the Voyager routes.
So I am looking for documentation on setting up pages and seeing them from the front-end.
Do we need to setup our own Routes for each page we create under Voyager? Or does the pages use the current Voyager routes?
Thanks in advanced for all the help!
Steps To Reproduce:

Here is a small gist with a sample of how to do this.
https://gist.github.com/marktopper/ad3f8048a1a7bf55a5fcc747745d92ec


Support for Checking Self-Defined Statistics Between Generations

Hi,
I have a question regarding the ability to check some self-defined statistics between generations during the optimization run. Specifically, I would like to know if there is a way to compute and track custom statistics as the generations evolve.
Is there a built-in feature that allows me to calculate and compare some statistics between generations?
If not, could you suggest how I might modify the source code to enable this functionality?
Any guidance or example implementations would be greatly appreciated!
Thank you for your help!

Hi, @SiqiKe:
You can access the fitting history by setting save_history=True in the minimize function. This flag would save every generation in the fitting progress. And then you can extract what you need for a statistical analyzation.
Here is the example:

Run a NSGA-II fitting:

problem = get_problem("zdt1")

algorithm = NSGA2(pop_size=100)

res = minimize(problem,
               algorithm,
               ('n_gen', 200),
               seed=42,
               save_history=True,  # setting save_history=True
               verbose=False)

After fitting, get the fitting history:

his = res.history  # a list contains this status of every generation

Get the data you need:

first_gen_pop = his[0].pop  # the first generation's whole population
first_gen_opt = his[0].opt  # pareto front in first generation

first_gen_pop.get('X')  # the solutions
first_gen_pop.get('F')  # the objective spaces values

first_gen_opt.get('X')
first_gen_opt.get('F')

Let's draw the objective space of the first generation:

plot = Scatter()
plot.add(first_gen_pop.get('F'), facecolor="blue", edgecolor="blue")
plot.add(first_gen_opt.get('F'), facecolor="red", edgecolor="red")
plot.show()

As for your self-defined statistics, you can define your own functions and run the function after fitting for all generations!


2.x integ test cleanup

NetflixOSS » eureka » eureka-pull-requests #47 SUCCESS
This pull request looks good

NetflixOSS » eureka » eureka-pull-requests #48 SUCCESS
This pull request looks good


Survey generation: Generation widget config from csv

For a simple survey, with minimal validations (required or not, regex match), it should be possible to generate the survey from a csv file that would contain all required information to generate the configuration.
This issue only concerns the WidgetConfig generation from csv file and not necessarily its use in an actual survey. There should be a function that generates the config, with sufficient unit tests to test its proper functioning.

cc @Wanadian

Here's an example csv data that can be used for the unit tests:
section,name,type,inputType,path,label,datatype,containsHtml,twoColumns,required,regex,choices,icon,align,action,conditional
home,address,question,string,home.address,home:HomeAddress,string,TRUE,TRUE,TRUE,,,,,,
home,carParkingPrivate,question,radio,home.carParkingsPrivate,home:CarParkingPrivate,boolean,FALSE,TRUE,TRUE,,yesNo,,,,home.address exists
home,,button,,buttonSaveHomeWithCompleteSection,home:SaveAndContinue,,,,,,,circle,center,goToNextSection,
,yesNo,choice,,yes,main:Yes,,,,,,,,,,
,yesNo,choice,,no,main:No,,,,,,,,,,

The labels are expected to be defined in the locales directory, so it will use the t function (see the accessCode widget in home.tsx of the example survey for an example).
These should produce 2 questions (one string, one radio with a yes/no choice) and a button. The radio should be visible only if the address is not blank (conditional).
This is just an example and in no way complete. It should be possible to produce any other type of widget (the unit tests should make sure of that). Feel free to add any columns that may be required. It is ok to have more columns, with empty values if they do not apply.


CodeQL action is failing

Feature Request
CodeQL action is failing on nightly:
https://github.com/eclipse-edc/Technology-HuaweiCloud/actions/runs/11887995581/workflow

Error calling workflow 'eclipse-edc/.github/.github/workflows/codeql-analysis.yml@main'. The nested job 'analyze' is requesting 'security-events: write', but is only allowed 'security-events: none'.

Which Areas Would Be Affected?
e.g., DPF, CI, build, transfer, etc.
Why Is the Feature Desired?
Are there any requirements?
Solution Proposal
Set the required permission on the CodeQL job call

@ndr-brt this is again related to the permissions (like eclipse-edc/.eclipsefdn#26). We will change the workflow accordingly.


[gRPC][Stub Generator] Passing --output path not working in Stub generator.

Description:
In gRPC stub generator tool, we cannot pass output directory path using (--output).
Steps to reproduce:
Try ballerina sample [1] with below command.
ballerina grpc --input proto_to_ballerina.proto --output grpc-client

https://github.com/ballerina-platform/ballerina-examples/tree/master/examples/proto-to-ballerina

Affected Versions:
0.970.1
OS, DB, other environment details and versions:
This is not environment specific issue. Tested in Mac
Related Issues (optional):
No
Suggested Labels (optional):
Bug
Suggested Assignees (optional):
@daneshk

@daneshk  - I tried without passing --output argument and it is still failing with same

@daneshk  - I am using stable version - 0.970.1
I downloaded nightly snapshot and still facing issue.I will try on different machine and update you.
When the stable 0.973 will be released?
...../grpc-service-master/guide >>../ballerina-platform-0.973.1-SNAPSHOT/bin/ballerina grpc --input target/grpc/orderMgt.proto
Continue with existing protoc executor.
ballerina: Oh no, something really went wrong. Bad. Sad.
There should be a file named "ballerina-internal.log" in the current directory.
If you are able to share with us the code that broke Ballerina then
we would REALLY appreciate if you would report this to us:
go to https://github.com/ballerina-platform/ballerina-lang/issues and
create a bug report with both this log file and the sample code.
We thank you for helping make us better dancers.

[2018-06-07 14:51:50,080] ERROR {org.ballerinalang.launcher.Main} - Error occurred at generating proto descriptor.
org.ballerinalang.net.grpc.exception.BalGenerationException: Error occurred at generating proto descriptor.
at org.ballerinalang.protobuf.cmd.GrpcCmd.execute(GrpcCmd.java:141)
at java.util.Optional.ifPresent(Optional.java:159)
at org.ballerinalang.launcher.Main.main(Main.java:66)

@gocoolp sorry for delay in updating the issue. We have fixed similar issue #9533 which is in windows env. Could you please verify your issue in latest RC pack[1].

https://product-dist.ballerina.io/dev/0.980.0/ballerina-platform-0.980.0.zip

@daneshk  - I tried on Windows machine with RC.Getting below error (snippet from ballerina log)
[2018-07-11 23:05:27,881] ERROR {org.ballerinalang.launcher.Main} -
\gprc-service\guide\desc_gen\target\grpc\orderMgt-descriptor.desc: No such file or directory
org.ballerinalang.protobuf.exception.BalGenToolException:
C:\Gokul\Learning\VSCodeWorkspace\gprc-service\guide\desc_gen\target\grpc\orderMgt-descriptor.desc: No such file or directory
at org.ballerinalang.protobuf.utils.BalFileGenerationUtils.generateDescriptor(BalFileGenerationUtils.java:103)
at org.ballerinalang.protobuf.utils.BalFileGenerationUtils.getProtoByteArray(BalFileGenerationUtils.java:150)
at org.ballerinalang.protobuf.cmd.GrpcCmd.execute(GrpcCmd.java:152)
at java.util.Optional.ifPresent(Optional.java:159)
at org.ballerinalang.launcher.Main.main(Main.java:66)

@gocoolp Thanks for testing in RC pack. I created new issue #9607 for this. since this issue is already closed. I will update my finding there.


Remove unnecessary semicolons from Go example

These semicolons in the Go example are ineffectual and should be removed.

We're onboarding some new folks to the docs merge / build / deploy process and will use this for training. Should be resolved by this time next week.


Adds more content.

Coverage remained the same at 100.0% when pulling fb6cfa9fc2d2112f118655bacaa60502ddd3f762 on himedlooff:form-explainer into fcfa78c402d2c98e950774459aaceb72ef48fe47 on cfpb:master.

thx!


Please make sure you have the correct access rights and the repository exists. Error: exit status 128

elc clone catalog-pim orders-oms
Error: yaml: line 3: did not find expected key
root@2247487-altawest75:~/work/ensi/workspace# nano
root@2247487-altawest75:~/work/ensi/workspace# nano env.yaml
root@2247487-altawest75:~/work/ensi/workspace# nano env.yaml
root@2247487-altawest75:~/work/ensi/workspace# elc clone catalog-pim orders-oms
# component: catalog-pim
Cloning into '/root/work/ensi/workspace/../apps/catalog/pim'...
The authenticity of host 'gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9)' can't be established.
ED25519 key fingerprint is SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? ^C
root@2247487-altawest75:~/work/ensi/workspace# elc clone --tag=code
# component: crm-client-php
Cloning into '/root/work/ensi/workspace/../packages/crm-client-php'...
The authenticity of host 'gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9)' can't be established.
ED25519 key fingerprint is SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'gitlab.com' (ED25519) to the list of known hosts.
<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.
Error: exit status 128
# component: logistic-logistic
Cloning into '/root/work/ensi/workspace/../apps/logistic/logistic'...
<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.
Error: exit status 128
# component: admin-gui-frontend
Cloning into '/root/work/ensi/workspace/../apps/admin-gui/admin-gui-frontend'...
<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.
Error: exit status 128
# component: cms-client-php
Cloning into '/root/work/ensi/workspace/../packages/cms-client-php'...
<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.
Error: exit status 128
# component: seller-gui-backend
Cloning into '/root/work/ensi/workspace/../apps/seller-gui/seller-gui-backend'...
<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.
Error: exit status 128

@vyual Добрый день.


@storybook/api v. 5.1.0-alpha.18/19 hiccup

Describe the bug
In updating other @storybook depencendencies to next (i.e. 5.1.0-alpha.19), several of them are themselves dependendent on @storybook/api and trying to upgrade it to 5.1.0-alpha.19 but apparently<EMAIL_ADDRESS>doesn't exist, even though it does https://www.npmjs.com/package/@storybook/api. 😕
To Reproduce
Steps to reproduce the behavior:
From a pre 5.1.0-alpha.19 Storybook repo:

run yarn add @storybook/<PACKAGE-NAME>@next -D (e.g. yarn add @storybook/addon-storysource@next -D)

OR

run yarn add @storybook/api@next -D

Note that this happens even if I subsequently delete both node_modules and yarn.lock and run a fresh yarn off of the updated package.json (which I did twice before submitting this issue).
Expected behavior
No prompts to choose a specific version of @storybook/api
Screenshots

System:

OS: MacOS
Device: iPhoneX, Macbook Pro 2018
Browser: n/a
Framework: vue
Addons: [a11y, actions, knobs, links, storysource]
Version: 5.1.0-alpha.19

Also
It almost looks like an automated upgrade script didn't quite finish...
running:

the about page shows

Note that the changelog is for 5.1.0-alpha.19, but the header and upgrade notice both reference 5.1.0-alpha.18.

It looks like this may have been a nexus issue.
Regardless, it seems to have resolved itself, so 🤷♂


🔎 Looking for Contributors / Maintainers

Hello out there!
According to npm-stats this package is not very popular with only a few hundert downloads per month. I was writing this, as I was working with shopware and custom made shopware services.
However I am no longer working with shopware and the development of this package is pretty much freezed. Which means, I am still merging PRs but not developing any new features by myself.
So if anyone is interested in maintaining this package feel free to to join and I will add you as a collaborator.

@apertureless Hey!
I am currently working with shopware and really like this package. Since there are a few features that are very important, I would like to add them.

Cool!
I've added you as a Collaborator

I might also be interested to collaborate, I recently started working w/ SW and I would like to use this package for all the functionalities

Hi @bncc
you are added, too!


feat (chore): run phpstan with 1 gb memory

It is possible because the recent improvement of tests.

Time: 00:25.091, Memory: 1.14 GB

In the future this reduced memory limit will allow us to notice when tests consume more memory.

Makes sense. Thank you!


[TASK] Rendermethod for SelectOption

Estimated story points: 1
Description

SelectOptions should have a render method so that is possible to add different kinds of options later.

Acceptance criteria

Select options are rendered within a render method.

time: 1h


HCLOUD-2842_Add-the-option-to-set-the-wave-engine-to-latest_Jorge-Brown

Task linked: HCLOUD-2842 Add the option to set the wave engine to latest


chore: add resourcemanager to typos

This change is

Should we be adding word exceptions rather than excluding whole files?

If we could we would, but last time I checked the fancy "typos" thing could not do that.


dict-like access doesn't work anymore

Describe the bug
After upgrading to 2.0.12 or newer, accessing objects using dict notation does not work anymore.
Env info

python version: 3.11.2
fattureincloud-python-sdk in {'2.0.12', '2.0.13', '2.0.14', '2.0.15'} (it was working fine until '2.0.11')

To Reproduce
from fattureincloud_python_sdk import ApiClient, ApiException, Configuration
from fattureincloud_python_sdk.api.issued_documents_api import IssuedDocumentsApi

company_id = 111222
access_token = "my-secret-token"
invoice_number = 666
invoice_numeration = "-NUMERATION"

config = Configuration()
config.access_token = access_token
api_client = ApiClient(configuration=config)
issued_documents_api = IssuedDocumentsApi(api_client)

request_kwargs = {
    "fieldset": "detailed",
    "q": f"number='{invoice_number}' AND numeration='{invoice_numeration}'",
}

response = issued_documents_api.list_issued_documents(company_id, "invoice", **request_kwargs)
doc_list = response["data"]

This results in:
TypeError: 'ListIssuedDocumentsResponse' object is not subscriptable

Expected behavior
2.0.12, 2.0.13, 2.0.14, 2.0.15 are patch releases. The expectation with patch releases is that changes are backwards compatible.

Hi @jpaniagualaconich, the 2.0.12 release was a particular release, it's true that it's not completely backwards compatible, but that is because we fixed some wrong behaviour that never had to be there in the first place, for example the objects were never inteded to be used with the dict notation and as you said in the other issue you were able to access a field that was not mapped in the class (the locked field), so we are sorry that the code needs to be modified but we made modifications that needed to be made to have the SDK working as we intended.
We hope you understand,
Emanuele.

Thanks for the prompt response @emajo
I understand that releasing breaking changes is often the only way. I will modify my code accordingly.
Please consider making a major (e.g., 3.0.0) release when more breaking changes are needed in the future. In this way "compatible release" operators in dependency rules will keep working as expected.
Feel free to close this issue at your discretion.

Hi @jpaniagualaconich
I'm sorry but we decided to not follow semver, but to bind the major version of all our SDKs to the API version (in this case, the API version is v2).
Of course, we could have used at least a new minor release to make it more clear that a breaking change was introduced, we'll try to improve our release process in the future.
I'm going to close this issue now.
Thanks
Mauro


feat: runtime logs

Working towards #134 as tailing support is still missing

Task linked: CU-2pqbnp4 Remove RocketService


Add Bedrock Cohere Support

The BedrockPromptDriver is missing support for Cohere.

@vasinov so this is an interesting one. The Bedrock APIs don't return a token count, and Cohere's tokenizer requires an API key 😕

Related to https://github.com/griptape-ai/griptape/issues/337. Can we skip this parameter entirely?

@collindutter according to the Cohere SDK, it looks like max_tokens is an optional API parameter. Would it make sense to send a value if explicitly set by the caller and fall back to the default otherwise?

@andrewfrench I think that's our best option, especially if it's not a required parameter.


Localization issues

Seems the script only works well on English Windows versions. The output of "ReAgentC.exe /disable" on a German Windows is "REAGENTC.EXE: Vorgang erfolgreich" so "success" does not match and it fails. Would recommend to use the exitcode of the exe ($LASTEXITCODE -eq 0" instead.

Hey @tobiasabele
thanks for pointing this out! Check out Version 2.2 from today, this should fix your issue. Please also pay close attention to the changes regarding usage syntax. If anything else comes up let me know.
Regards
Martin

@tobiasabele  I'll close this for now - I assume the issues have been fixed with the major update.
Regards
Martin


unaligned buttons in nav in mobile view

Description
In mobile mode the login and sign up buttons are of different sizes
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I have read the Contributing Guidelines
[X] I have read the Code Of Conduct
[X] The changes don't break the code

Go ahead!


Changing Size of PDF View to fit on Userview with other components

At this moment a PDF is loaded as an image and can handle multiple pages, however it takes up the entire body of the page. So far the PDF cannot be put inside an object or Iframe, as that will make it lose its ability to be annotated on
Possible idea: moving critique box that's originally placed below the PDF to somewhere else
using fabric.js and pdf.js still

https://www.youtube.com/watch?v=Fjv3nbOYptI
used this as a reference


Option to enable/disable context menu on  text selection

Hi. Is it possible to implement an option to disable context menu on text selection?
I'm using this plugin but I only need the core feature, the / autocomple in notion style.
The context menu is really annoying in some edit situations using mobile obsidian.
Thank you.

Text selection on the mobile is indeed unnecessary，it has been removed now. Give it a try 0.2.6


can not watch new file

Can  watch the change for add a new file for node-supervisor ?

Can confirm with 0.12.0 running inside a docker container and watching a mounted volume.
I'm not sure, but it feels like this worked in older versions ...


[SelectListItem] Missing hidden

I want to have a select with the first option hidden, like this one:

I can generate it with this code:
<select name="mySelect" id="mySelect" class="form-control">
    <option value="" disabled selected hidden>Choose</option>
    <option value="0">My Option 1</option>
    <option value="1">My Option 2</option>
    <option value="2">My Option 3</option>
</select>

But how can I get it to work using @Html.DropDownList?
@{
    var myOptions= SelectListHelper.myOptions().ToList();
    myOptions.Insert(0 , (new SelectListItem { Text = "Choose", Value = "", Disabled = true, Selected = true, Hidden = true }));
}
@Html.DropDownList("mySelect", myOptions, new { @class = "form-control" })

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden

Thanks for contacting us, @eduardogoncalves.
@NTaylorMullen isn't this possible today?

It's not possible with Html.DropDownList. However @eduardogoncalves you could make this work with the select TagHelper:
@{
    var myOptions = new[]
    {
        new SelectListItem { Text = "Choose 1", Value = "", },
        new SelectListItem { Text = "Choose 2", Value = "", },
        new SelectListItem { Text = "Choose 3", Value = "", }
    };
}

<select asp-items="@myOptions">
    <option value="" disabled selected hidden>Choose</option>
</select>

Thanks @NTaylorMullen!


blank

2024-05-15 19:44:07 DATA:  stream: connect: reowhite
2024-05-15 19:44:47 DATA:  stream: error: no video
2024-05-15 19:44:57 DATA:  stream: connect: reowhite

I can view the steam with ffplay -i

i'm moving this repo to archived state as i don't have time to actively maintain it.


Update Markdown File Detection in .gitattributes

Pull Request
TL;DR
Updated .gitattributes to ensure Markdown files are not classified as documentation.
What changed?

Modified .gitattributes file:

Added a new line to prevent Markdown files from being classified as documentation
Retained existing configuration for Markdown files to be detectable

Merge activity

Oct 28, 4:31 PM EDT: A user merged this pull request with Graphite.


Elements with attributes is not deleted

Description of the bug
When using attributes in the XSD is it not possible to delete the element after a user inserts a value in an input field. Behaviour is present when the element is set as nillable.
1. No value (initial, valid)

<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

2. User written value (valid)

<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <aarets orid="30320">123</aarets>
</model>

BUG: 3. Trying to delete value (invalid, should be the same as no value)

<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <aarets orid="30320">0</aarets>
</model>

Expected and desired behaviour:
The value for this needs to be the same as 1. No value. 0 is a valid user inputted value, but not a valid value for deletion.
Steps To Reproduce
Repro from repo

Clone minimal reproduction repo: https://altinn.studio/repos/kentare/xmltext-decimal-repro
Start the app
Insert a value
Inspect XML
Delete value
Inspect XML

Additional Information
The model is uploaded to altinn.studio to generate the schema and classes.
The XSD can be found here: https://altinn.studio/repos/kentare/xmltext-decimal-repro/src/branch/master/App/models/model.xsd
The issue has been discussed here: https://altinn.slack.com/archives/C02EJ9HKQA3/p1710493123111109
Might be related to: #517
Discovered in this repo: https://altinn.studio/repos/brg/aarsregnskap-ideelle-202402
This affects a minimum of 10 apps that is in the process to migrate from Altinn 2 to Altinn 3. These can not be released in production with this bug present

@mirkoSekulic (@olemartinorg)The sample app works fine with a class that actually uses a nullable decimal type for value.
Should we update Altinn Studio to generate something like this?
diff --git a/App/models/model.cs b/App/models/model.cs
index 697996d..a9b9296 100644
--- a/App/models/model.cs
+++ b/App/models/model.cs
@@ -22,9 +22,20 @@ namespace Altinn.App.Models.YttersteObjekt
   {
     [RegularExpression(@"^-?[0-9]{0,15}$")]
     [Range(Double.MinValue,Double.MaxValue)]
-    [XmlText()]
+    [XmlIgnore]
     [Required]
-    public decimal value { get; set; }
+    public decimal? value { get; set; }
+
+    [XmlText]
+    [System.Text.Json.Serialization.JsonIgnore]
+    public string valueAsString
+    {
+      get => value?.ToString();
+      set
+      {
+        this.value = value == null ? null : (decimal?)decimal.Parse(value);
+      }
+    }

     [XmlAttribute("orid")]
     [BindNever]

Oh, this is the issue that's in many ways duplicate to:

#517

I think it's worth investigating more here, including figuring out what happens and why this seemingly works with the PUT endpoint in frontend v3.
There's also some other considerations (beyond making the app work and not crash):

How to handle existing apps, including those that aren't using Studio to regenerate models any longer (upgrade script?)

If we go this route of fixing this in the model generation, how do we alert app developers that they haven't run the upgrade yet?

What's the content of the generated XML and/or JSON? I'm under the impression that the expected behaviour (from the app developers side, at least) is that we remove aarets as soon as you delete the content in aarets.value.

I think I have a pretty good understanding now. #517 is very similar, but a different issue with how [XmlText] works in C# xml.
First: Studio generates C# classes with [XmlText] annotations in order to have attributes on a value. This is required in order to generate xml that validates with the old xsd files that was typically used in Altinn 2 <tag orid="122">value<tag/>. Without the attribute we use [XmlElement] which we have solved these issues for.
#552 (This issue): [XmlText] in C# serialisation library does not support nullable value types, thus Altinn Studio generates models with plain value types that gets set to 0 when the parent object is initialised. This can be solved if Altinn Studio uses the trickery I suggested earlier. We could potentially assume that the attributes are always fixed, and can be ignored so that the whole tag can be removed to support nullable that way, but it seems somewhat brittle.
#517: [XmlText] It looks like C# serialisation does not want to preserve values with only spaces in [XmlText] properties. This means that when you try to store " " to backend, you get " " back immediately, but null back later. The obvious solution is for frontend to stop sending json patch "TEST" operations when just updating a single leaf value. Crashing here is a frontend problem, because it sends a test operation and does not handle its failure.
Last: Both issues existed in v7/v3 also, but the bug was not caught, because backend only reported the changes it made, not the full current state in storage. If you write spaces to an [XmlText] string or revert to empty string after having had a number in an [XmlText] decimal, you will see these two bugs in v3 after reloading the page.

I'm under the impression that the expected behaviour (from the app developers side, at least) is that we remove aarets as soon as you delete the content in aarets.value.

That is correct.

#552 (This issue): [XmlText] in C# serialisation library does not support nullable value types, thus Altinn Studio generates models with plain value types that gets set to 0 when the parent object is initialised.

Can add to this that we same problem for nullable boolean values that initializes to false.

I think the proper resolution of this issue would be the fixes proposed in https://github.com/Altinn/altinn-studio/issues/12674

@ivarne is this fixed already?

Yes, I believe that https://github.com/Altinn/altinn-studio/pull/12734 in combination with the latest version of app lib will fix this issue when new c# code is generated in studio for the app

Just tested this with the repro app after updating to the latest v8 libs and regenerating model in Studio
After inputting 123:

After backspacing and removing the input - it becomes empty, and XML:

Diff after regen:

Verifisert at dette løser problemet vårt. Takk!


Increase frequency of exposure recording

Summary | Résumé
The threshold to record an exposure is exceptionally high. Even though I have had the app since launch, I have no way of knowing if my phone has ever recorded an exposure and doubt I have ever been in contact with someone for 15 minutes or longer within 2 metres. I suspect this is the case for many of those who have downloaded the app, as the type of person to have downloaded the app is probably the same one who practices the distancing and safety measures when out in public.

Design detail | Précisions au sujet de la conception
If someone has the app active and has had 0 (or near-zero) contacts, increase the sensitivity for recording contacts. Whether it's increasing to a 5 metre radius, decreasing the time period 5-10 minutes... anything to make the app of some use to them. It would also be useful to have a information that noted the amount of contacts that were recorded in the past 14 days.

I have no idea why the first paragraph is header text. if someone can edit that to fix that feel free.

I have no idea why the first paragraph is header text. if someone can edit that to fix that feel free.

Thanks for the issue, at the moment we have set app thresholds based on guidance from Public Health Authorities.
I'm going to close this as we currently have no plans to change our thresholds, however we will re-open or reference this issue if that changes.

Thanks for the issue, at the moment we have set app thresholds based on guidance from Public Health Authorities.
I'm going to close this as we currently have no plans to change our thresholds, however we will re-open or reference this issue if that changes.

Fine, I strongly disagree as other countries such as Germany have implemented similar solutions but I guess our tech/public health guidance will always lag behind that of leaders in the EU.
With that said, that only addresses a part of the request. A box indicating the number of exposures you have recorded in the past 14 days would be useful. Is there any other way of knowing that this app is useful for people who practice physical distancing and the like without telling them "Hey, the app is working - we've recorded 6 contacts in the past 2 weeks". As I have previously said, the threshold for recording an exposure is extremely high so I doubt that those who actually follow physical distancing measures would record one.
This app may only be useful for those who have to use public transit/trains/airplanes as I cannot imagine many of the type of people who download this app to otherwise be in situations where they aren't physically distancing for 15 minutes (let alone two of them in the same place!)

Fine, I strongly disagree as other countries such as Germany have implemented similar solutions but I guess our tech/public health guidance will always lag behind that of leaders in the EU.
With that said, that only addresses a part of the request. A box indicating the number of exposures you have recorded in the past 14 days would be useful. Is there any other way of knowing that this app is useful for people who practice physical distancing and the like without telling them "Hey, the app is working - we've recorded 6 contacts in the past 2 weeks". As I have previously said, the threshold for recording an exposure is extremely high so I doubt that those who actually follow physical distancing measures would record one.
This app may only be useful for those who have to use public transit/trains/airplanes as I cannot imagine many of the type of people who download this app to otherwise be in situations where they aren't physically distancing for 15 minutes (let alone two of them in the same place!)

Sorry about that, for the issue of number of exposures please open a separate issue so we can track them both separately
As for influencing public health guidelines I recommend you reach out to your local MP or public health authorities for that.

Sorry about that, for the issue of number of exposures please open a separate issue so we can track them both separately
As for influencing public health guidelines I recommend you reach out to your local MP or public health authorities for that.

Note that this has also been entered over three weeks ago under #1304 (and subsequently closed/deferred for internal team review). No problem reports updates have been made via this GIThub server tool. Better communications and more transparency remain sought, including active participation of the canadians council advisory board on several enhancement requests out of current "scope" schedule/budget.

Note that this has also been entered over three weeks ago under #1304 (and subsequently closed/deferred for internal team review). No problem reports updates have been made via this GIThub server tool. Better communications and more transparency remain sought, including active participation of the canadians council advisory board on several enhancement requests out of current "scope" schedule/budget.

Actually, @csavard-sudo raises an interesting point. Health Canada requires a maximum distance of 2m. But the app has no concept of distance. All it has is the attenuation of the received signal, i.e., how much weaker is the received signal than the transmitted signal. Determining an attenuation threshold that (reliably) satifies the 2m requirement is hard since attenuation is not only caused by distance; the environment and the device placement also affect it. The app seems to use a threshold of 63 dB (src/services/ExposureNotificationService/ExposureConfigurationDefault.json). Where is this threshold coming from? Health Canada?

Actually, @csavard-sudo raises an interesting point. Health Canada requires a maximum distance of 2m. But the app has no concept of distance. All it has is the attenuation of the received signal, i.e., how much weaker is the received signal than the transmitted signal. Determining an attenuation threshold that (reliably) satifies the 2m requirement is hard since attenuation is not only caused by distance; the environment and the device placement also affect it. The app seems to use a threshold of 63 dB (src/services/ExposureNotificationService/ExposureConfigurationDefault.json). Where is this threshold coming from? Health Canada?

Actually, @csavard-sudo raises an interesting point. Health Canada requires a maximum distance of 2m. But the app has no concept of distance. All it has is the attenuation of the received signal, i.e., how much weaker is the received signal than the transmitted signal. Determining an attenuation threshold that (reliably) satifies the 2m requirement is hard since attenuation is not only caused by distance; the environment and the device placement also affect it. The app seems to use a threshold of 63 dB (src/services/ExposureNotificationService/ExposureConfigurationDefault.json). Where is this threshold coming from? Health Canada?

Bluetooth was never designed to be used on a tight 2 meters spec. I believe that the ENS framework does provide for a 5 minutes proximity contact timer. Other countries using the ENS platform for their app have integrated support for QR code (and tokens) such as Singapore. Public indoor locations are more problematic for tracking proximity contacts and droplets transmission issues. So the existing app would need some repurposing and deal with diagnosed sites types of notifications and related tracking. See ER ...

Actually, @csavard-sudo raises an interesting point. Health Canada requires a maximum distance of 2m. But the app has no concept of distance. All it has is the attenuation of the received signal, i.e., how much weaker is the received signal than the transmitted signal. Determining an attenuation threshold that (reliably) satifies the 2m requirement is hard since attenuation is not only caused by distance; the environment and the device placement also affect it. The app seems to use a threshold of 63 dB (src/services/ExposureNotificationService/ExposureConfigurationDefault.json). Where is this threshold coming from? Health Canada?

Bluetooth was never designed to be used on a tight 2 meters spec. I believe that the ENS framework does provide for a 5 minutes proximity contact timer. Other countries using the ENS platform for their app have integrated support for QR code (and tokens) such as Singapore. Public indoor locations are more problematic for tracking proximity contacts and droplets transmission issues. So the existing app would need some repurposing and deal with diagnosed sites types of notifications and related tracking. See ER ...

These parameters have been set in collaboration with Health Canada, Public Health Agency of Canada, as well as Apple and Google. We have also conducted research and collaborated with other countries on the implementation of this. We work with the Linux Foundation Public Health, and you can find some of their resources on Risk Scoring here: https://github.com/lfph/gaen-risk-scoring/blob/main/risk-scoring.md

These parameters have been set in collaboration with Health Canada, Public Health Agency of Canada, as well as Apple and Google. We have also conducted research and collaborated with other countries on the implementation of this. We work with the Linux Foundation Public Health, and you can find some of their resources on Risk Scoring here: https://github.com/lfph/gaen-risk-scoring/blob/main/risk-scoring.md

These parameters have been set in collaboration with Health Canada, Public Health Agency of Canada, as well as Apple and Google. We have also conducted research and collaborated with other countries on the implementation of this. We work with the Linux Foundation Public Health, and you can find some of their resources on Risk Scoring here: https://github.com/lfph/gaen-risk-scoring/blob/main/risk-scoring.md

Note that the Google/Apple frameworks provides for shorter timers setting like 5 minutes. And the Risk Scoring initiative did not advise on the timer setting prior to the emergence of a more virulent strain: "The weights for the configurations above assume health authorities will prefer to use a threshold of 15 minutes (for ease of communication and consistency in messaging). While this parameter can also be adjusted, the group did not evaluate the impact of changing it." Is the ease of "Messaging" constraining the requirements???

These parameters have been set in collaboration with Health Canada, Public Health Agency of Canada, as well as Apple and Google. We have also conducted research and collaborated with other countries on the implementation of this. We work with the Linux Foundation Public Health, and you can find some of their resources on Risk Scoring here: https://github.com/lfph/gaen-risk-scoring/blob/main/risk-scoring.md

Note that the Google/Apple frameworks provides for shorter timers setting like 5 minutes. And the Risk Scoring initiative did not advise on the timer setting prior to the emergence of a more virulent strain: "The weights for the configurations above assume health authorities will prefer to use a threshold of 15 minutes (for ease of communication and consistency in messaging). While this parameter can also be adjusted, the group did not evaluate the impact of changing it." Is the ease of "Messaging" constraining the requirements???


Add 'dependencies' parameter and index argument to the filter method (closes #1025)

\cc @AlexanderMoskovkin @helen-dikareva

Please, rebase to upstream to fix tests on appveyor

I guess it's OK to merger, since fail is related to the well-known unstable test. @AlexanderMoskovkin can you publish alpha once it will be merged?


[$250] [Search v2.2] Chat search shows messages in rooms that you have viewed, but not joined

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.31-20
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1726001109540449
Action Performed:

With account A create a workspace-visibility room (e.g. #test-room)
With account B, that is also a workspace member, view the room but don't join it
With account B, navigate somewhere else in the app
With account A post in #test-room
With account B, go to the chats/unreads page in Search

Expected Result:
No unread message displayed in LHN
Actual Result:
The unread message displayed there, even though you aren't a member of the room
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/864e2b49-feb4-4d2d-89f7-eb0d4920527c
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021833656418639037038
Upwork Job ID:<PHONE_NUMBER>639037038
Last Price Increase: 2024-09-10

Issue OwnerCurrent Issue Owner: @paultsimura

Yep, can repro:

CC: @luacmartins for vis!

This is backend work.

Ah cool, thanks!

PR in review

This is done. All internal work, so we're good to close


Add tox to github actions

We presently have a make command to run tox in a docker container on python 3.6, 3.7, 3.8, and 3.9 to test our code. Not sure if having this run in github actions is overkill?

This is already implemented