Don't reset to normal bank, and copy BASIC from ROM to RAM if already swapped out

example: Durexforth reported by Whammo, BASIC

An explicit method to set the memory bounds of the log.

A function to return the length of the log.

Durexforth takes care of it's own banking- on QUIT or run/stop restore it goes bank 6

Good ideas, and thanks for the info on own banking -- sounds like it has its own NMI handler so control doesn't got back to BASIC.  Makes sense.

I upgraded the NMI handler to deal with rs232, and run/stop restore in this manner. :-)

SYS is in the Kernal ROM so we hi-jacked it for Durexforth, and preserved the zero page for the register load/read.
( Calls Basic/Kernal routines.
  Uses ar/xr/yr/sr for register I/O. )
$30c value ar $30d value xr
$30e value yr $30f value sr

.C:2440  B5 3B       LDA $3B,X ; lsb from top of stack
.C:2442  85 14       STA $14      ; sys pointer
.C:2444  B5 73       LDA $73,X ; msb
.C:2446  85 15       STA $15   ; sys pointer
.C:2448  8A          TXA
.C:2449  48          PHA ; save forth stack pointer
.C:244a  20 30 E1    JSR $E130  ; sys call
.C:244d  68          PLA ; restore forth stack pointer
.C:244e  AA          TAX
.C:244f  E8          INX ; drop address from stack
.C:2450  60          RTS


fixed readme

Hi @Tocknicsu, thanks for the PR, I'm going to move this to separate repo, I'll notify you and you cant PR there :)

I see.


Add placeholder text for dropdowns when editing visibility or eligibility conditions

Describe the bug
When an Admin is editing visibility or eligibility conditions for a program, the dropdown menus show as blank until the user clicks on the caret.  The UX could be enhanced by adding placeholder text with wording such as "Select an option" or, for the 2nd dropdown, "Select an operator".  By leaving it blank, it’s easy to accidentally skip that dropdown, which causes a validation error.
Note, that for the first dropdown, if there is only one option, such as “email”, we currently show the default, but if there are two options, such as first, middle, and last name, we show blank.
To Reproduce
Steps to reproduce the behavior:

As a CF Admin, select a draft program from the program dashboard and click "Edit".
Click "Edit visibility condition".
Select the checkbox for one of the questions and click "Add condition".
Note that 1 or 2 of the dropdown menus are blank (they don't have a placeholder or default value)

Expected behavior
Both dropdown menus always show either a default value or some placeholder text.
Screenshots

@sijiayam This is one of the UX enhancements we discussed.


For every html top level node in the result, Is there any way to get a reference to the corresponding section in markdown source?

While doing markdown to html conversion, is there any way to attach reference to the corresponding section of original markdown source in every node of generated html?

I would welcome this feature as well. In ReText, there is synchronized scrolling for source and HTML pages, and we currently implement that using a hack. Having that implemented properly in Python-Markdown would be awesome.
From my previous experiments, it would be quite easy for the parser to add line information to the tree, but the preprocessors (especially third-party ones) are the tricky part.

@waylan
In my case, I don't need the mapping to be as granular as possible. So If there is a  in the generated html, then I only want the ul to be mapped to the entire block in the corresponding markdown. I mean, I don't have to map each  to their source.
So, just mapping top level elements to sections in markdown can work.
I tried splitting the source markdown on "\n\n" and feed each of the items to markdown, and thus obtaining a mapping. But I met with cases like double newlines that may be present in embdedded html etc,


Http clients cause hot spots

Describe this problem
Http client io.holoinsight.server.home.alert.common.http.HttpProxy may cause all requests to go to the same server.
Steps to reproduce
Add ai alert rule, then in each computation cycle, the request traffic to the algorithm visits the same server.
Expected behavior
No response
Additional Information
No response

"Http client io.holoinsight.server.home.alert.common.http.HttpProxy may cause all requests to go to the same server."
Can you explain why HttpProxy causes all requests to be sent to the same server?


Don't panic on a single node

This is because the default ring has a replication of two. If there are less-than-replication hosts, use them all.

Will the system also be updated to reject impossible configuration like this?


Add low basket scoring

Resolves #17

uh this is basically implemented in #24 right? @batmanual9595 i think this can be closed but correct me if im wrong


2.x Improvements in transport + performance/verification tool.

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

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

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

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


Competitive_Programming : Kadanes_algorithm

Labels: Competitive Programming
Format: Documentation
Language: C/C++/Python/Java
Topic: Array/Searching & Sorting

/assign

/assign

/assign

/assign


last attempt to stabilize enhance-net

This is the last attempt on my side to stabilized the training.

Did the following in https://gist.github.com/ppwwyyxx/6da15f2d9087373635254d4e6fbe4891:
Used the paper's normalization
Fixed VGG scale
Used same learning rate for G and D
Used SeparateGANTrainer
And now I can always obtain a model better than baseline (in all the 3 times I've tried).

closed in favor of 81d5fbd84da905e1a3aa0d168465079da35980dd


Issue/1960 initial loading flow (#2351)

Pull request opened by the merge tool on behalf of #2351

Merged in e5fd38239992acb91b8a76da91130637872a990d


Increments with opacity is not working optimally.

I think that the code would be improved if you were able to change the value of the opacity for colors in increments of 0.01 instead of changing it by values of 1, like for the other values. This is because opacity only has a range of 0 to 1, and would mean that decreasing opacity with the down button would only work if opacity was set to 1, and vice versa.

This probably belongs in LeaVerou/incrementable.

Moved to LeaVerou/incrementable


UI updates

Adjustments to UI in response to PT stories plus new map tile providers to replace the MapQuest tiles

Looks good. 👍 The style is a bit different from mock UI, but it fine with me - it looks good and the main idea is there. I've left some inline comments, but they're not significant issues (but probably easy to fix).

👍


Cant retrieve connection from the pool: Timed out in bb8

Hi all. Just started on this mapping tools quest :)
I'm not being able to solve what seems to be a simple issue with martin.
I have my postgres bd running (OSM is the bd name), it is already fed with data coming from osm2pgsql with flex output. No issues there. It has a points, lines, polygons table with geometries.
Now i want to serve my vector tiles with martin :)
I'm on windows 10, my postegres is running on a local server on ubuntu.
Running on terminal:
PS C:\Users\[user]\Desktop\martin> .\martin.exe -c .\config.yaml
On yaml file I have:
connection_string: "postgres://postgres:[pass]@[local_ip_for_ubuntu]:5432/OSM"
default_srid: 4326
listen_addresses: "<IP_ADDRESS>:4000"

I've tried without the config file, using connection string on the terminal. Same output:
[2022-11-29T16:13:46Z INFO  martin] Starting Martin v0.6.1
[2022-11-29T16:13:46Z INFO  martin] Using .\config.yaml
[2022-11-29T16:13:46Z INFO  martin::pg::db] Connecting to database
[2022-11-29T16:14:16Z ERROR martin] Can't retrieve connection from the pool: Timed out in bb8

I can connect just fine with pgadmin to the bd, and I ran the osm2pgsql process on this windows machine with output going to this same bd.
I can´t seem to make this work. What am I missing?
Thanks in advance.

@IceMan1910 are you able to run psql "postgres://postgres:[pass]@[local_ip_for_ubuntu]:5432/OSM" ?  (assuming you have psql installed on your windows box)

@nyurik I don't have it instaled locally. Does it make sense to install it, just to test?
With psql on the pgAdmin4 on this machine, I can connect fine.
I also have the another ubuntu server on my local network. Should I install martin on ubuntu instead of windows 10?

I think it would be helpful - it seems to be happening on your machine, plus having psql when working with PG is highly useful for any kind of simple querying

P.S. To be honest, I would never use Windows for any kind of server-related activities :)

@nyurik OK so... I'm really stuck here.
Steps done:

On my other linux box, same config file as I had on windows.

./martin --config config.yaml
Same old, same old :\
[2022-12-02T04:01:24Z INFO  martin] Starting Martin v0.6.1
[2022-12-02T04:01:24Z INFO  martin] Using config.yaml
[2022-12-02T04:01:24Z INFO  martin::pg::db] Connecting to database
[2022-12-02T04:01:54Z ERROR martin] Can't retrieve connection from the pool: Timed out in bb8

Now, with psql client installed, and copying the connection string from the config file to make sure it is exactly the same:
[user]@[server]:~/martin$ psql "postgres://postgres:[pass]@[ip]:5432/OSM"
psql (14.5 (Ubuntu 14.5-0ubuntu<IP_ADDRESS>), server 15.1 (Ubuntu 15.1-1.pgdg22.04+1))
WARNING: psql major version 14, server major version 15.
         Some psql features might not work.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
Type "help" for help.

OSM=# select version();
                                                              version
-----------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 15.1 (Ubuntu 15.1-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit
(1 row)

OSM=#

It connects fine.
Only with martin it does not.
What can it be?
Could it be something with Rust? I have nothing related to Rust installed on this machine.

Thanks for testing, this is indeed weird.  Could you try this:

try running martin without config, i.e. ./martin "postgres://postgres:[pass]@[ip]:5432/OSM"
try using an old, pre-.6 version and also run ./martin "postgres://postgres:[pass]@[ip]:5432/OSM"

@nyurik

try running martin without config, i.e. ./martin "postgres://postgres:[pass]@[ip]:5432/OSM"

same output

try using an old, pre-.6 version and also run ./martin "postgres://postgres:[pass]@[ip]:5432/OSM"

sucessfull with 0.5 version
[2022-12-02T16:05:41Z INFO  martin] Starting martin v0.5.0
[2022-12-02T16:05:41Z INFO  martin] Config is not set, scanning database
[2022-12-02T16:05:42Z INFO  martin] Connected to ..://..@...:5432/OSM
[2022-12-02T16:05:42Z INFO  martin::table_source] Found public.boundaries table source
[2022-12-02T16:05:42Z INFO  martin::table_source] Found public.lines table source
[2022-12-02T16:05:42Z INFO  martin::table_source] Found public.points table source
[2022-12-02T16:05:42Z INFO  martin::table_source] Found public.polygons table source
[2022-12-02T16:05:42Z INFO  martin::table_source] Found public.routes table source
[2022-12-02T16:05:44Z INFO  martin] Martin has been started on <IP_ADDRESS>:3000.

Is it a bug on 0.6 ?

Hm, this is not good. In 0.6 we switched to a newer postgres accesss lib, async in nature. This (in theory) should not have any consequences. Also, in 0.6 we added tons of itnegration testing on all platforms, including external hosted DBs like digital ocean. All was seemed to be working fine until your report :)  So now we need to figure out how your DB setup or networking is different from all the test setups we have.
So a few things we could try next:

Try to run another database, perhaps locally using docker (I remapped the port just in case you have another DB running):

# in shell 1
docker run --rm -it -p 5000:5432 -e POSTGRES_PASSWORD=abc123 postgis/postgis:15-3.3-alpine
# in shell 2
./martin postgres://postgres:abc123@localhost:5000

You can try it with both martin versions to see if there are any differences.  I expect it to show a bunch of junk tiger tables discovered as found sources

See what custom configurations you have done to the database, i.e. any restrictions on who can connect and how? Authentication protocols? SSL? Some other interesting methods?

@IceMan1910 thx, i wonder if it would be possible to build a docker using those steps?  Basically try to create a Dockerfile file that is based on ubuntu base image, and the steps would install Postgres and do any needed configuration, plus download martin as last step using curl?  This way we can have a reproducible test.

@IceMan1910 any luck creating a reproducible docker image?  I'm really concerned about this bug. Could it be some old (or new?) authentication method?

@IceMan1910 please confirm you are still having this issue. We need a way to reproduce this bug as it may have a lot of consequences for other users if confirmed.

yes, i'm getting the same result -- seems like everything is working as expected

I have the same error right now if try to connect to an external DB ( Google Cloud ). PGAdmin works fine with the same string connection.

@carlosrziegler thanks for the feedback. We need a clear way to replicate the issue in order to diagnose it. How do you set up the postgres? What configuration settings do you set on it? What PG version do you use? Ideally, if you can give an exact reproducible steps, especially in a docker container, it would help us immensely. Thanks!

@dwweb0309 I suspect in your case this is due to the martin docker image not having access to the port 5432 from your database's localhost.  Try to run --net host instead of -p 3000:3000?

@dwweb0309 I suspect in your case this is due to the martin docker image not having access to the port 5432 from your database's localhost. Try to run --net host instead of -p 3000:3000?

The same result
docker run --net host -e DATABASE_URL='postgres://postgres:postgres@localhost:5432/propedia' maplibre/martin

@dwweb0309 are you able to run psql postgres://postgres:postgres@localhost:5432/propedia  ?

P.S. one more thing - try to remove the quote symbols around the db url - just in case they get passed incorrectly.  And please describe how your db is set up on the localhost, and what configurations you used. What do postgresql.conf and pg_hba.conf look like? etc

psql postgres://postgres:postgres@localhost:5432/propedia works.
My postgresql.conf and pg_hba.conf are initial state. And I was advised to update listen_addresses='*' in postgresql.conf and  host all all <IP_ADDRESS>/32 md5 to host all all <IP_ADDRESS>/0 md5 in pg_hba.conf, but all failed.

@dwweb0309 do you think you could help me debug this issue further? I am currently installing virtualbox and will install ubuntu-server in it, plus install postgres and copy/paste martin binary into it for simplest case.  If that still works ok, will try to set up docker inside the virtualbox.  This way we can have exact reproducible steps to get to the error.

P.S. see if you can get Martin to run without docker (just get the binary for your platform from the releases and run it directly), and if you could do similar steps to get to an error, would be great

@dwweb0309 do you think you could help me debug this issue further? I am currently installing virtualbox and will install ubuntu-server in it, plus install postgres and copy/paste martin binary into it for simplest case. If that still works ok, will try to set up docker inside the virtualbox. This way we can have exact reproducible steps to get to the error.

Thanks!. That is what I did exactly. I am using windows, and have ubuntu 20 in wmware. I have installed postgres 15 in it, and tried to run martin using docker command.

 I know its tricky, but it would greatly help us pin down this nasty issue

I might have been able to reproduce it using a downloaded image, but I need to know how you configured postgres.  I used this method:

install postgres using these steps
install postgis with apt install postgis
add a new user + database: sudo -u postgres createuser -s -P mypg
ensure that postgres db has a postgis extension psql postgres://mypg:mypg@localhost:5432/postgres
ensure that it works from a docker: sudo docker run --rm -it --net host postgres psql postgres://mypg:mypg@localhost:5432/postgres

Thank you for your effort.
Yes, I installed postgres and postgis using these steps
But I didn't add a new user, I am just using postgres user with password reset. No more changes in postgres configuration.
Can you try docker run with some postgres config changes?

Hello, literally just found Martin 2 hours ago, got similar issues with connecting to the db. Here are my steps:
I've created a new postgres database in Azure with the PostGIS extension. (filled with some test spatial data)
pgAdmin and psql work fine with my connection string/details.
I tried to test martin from my host machine (Mac). Using Homebrew, it installed v0.5.0 (is that expected?).
I Ran martin with the same connection string and got this: Can't setup connection pool: timed out waiting for connection.
Found this issue, and tried to run with docker got the error message you have here Can't retrieve connection from the pool: Timed out in bb8 (Docker installed v0.6.2).
I'm not sure how helpful this information is, can provide more details if needed. Really excited to try out the software though!

@ItsCoolOnMars v0.5.0 is extremely old, back from 2019 from even before being part of MapLibre (cc @stepankuzmin) - could you try the latest release please?  We should upload to homebrew.  The more important aspect of your report is that https://github.com/maplibre/martin/issues/496#issuecomment-1335479043 notes that 0.5.0 did work -- which was using different lib to connect to postgres - which makes me think that this might be a different issue.

I might have been able to reproduce it using a downloaded image, but I need to know how you configured postgres. I used this method:

install postgres using these steps
install postgis with apt install postgis
add a new user + database: sudo -u postgres createuser -s -P mypg
ensure that postgres db has a postgis extension psql postgres://mypg:mypg@localhost:5432/postgres
ensure that it works from a docker: sudo docker run --rm -it --net host postgres psql postgres://mypg:mypg@localhost:5432/postgres

Does above step work? I did the same step, but it doesn't work.
sudo docker run --rm -it --net host postgresql psql command sends message like Unable to find image 'postgres:latest' locally

@dwweb0309 docker run downloads the postgres:latest image automatically - i just tried it on my machine, works fine. If you want, you can first do docker pull postgres and then run it.

@nyurik
I have tried to use postgres database in AWS RDS
sudo docker run --rm -it --net host postgres psql postgres://mypg:mypg@localhost:5432/postgres works. But docker run --rm -it -p 3000:3000 -e DATABASE_URL='postgres://rds-user:rds-password@rds-host-url:5432/propedia' maplibre/martin doesn't work.

@dwweb0309 did you mistype your reply?  The postgres://... url should be the same in both docker calls

@dwweb0309 did you mistype your reply? The postgres://... url should be the same in both docker calls

rds-user, rds-password, and rds-host-url are just placeholders

thanks, that helps!  I am beginning to suspect that it is the ssl connection part that's not working correctly.  When I use psql locally, I do not see that line

does anyone know how to have a simple docker that has a postgresql with ssl, it would be so helpful! esp if it is based on the https://github.com/postgis/docker-postgis -- this way i could try to test it reliably

I think I finally was able to reliably reproduce it.  The issue (suprise!) is related to SSL -- I need to disable hostname verification during SSL handshake.  Secondary issue was upstream -- https://github.com/djc/bb8/issues/151 -- that's why no errors were being reported, instead giving a silly "timeout".
I will fix this in the next few days, and republish, possibly backporting it to 0.6.0 too.

@dwweb0309 in your case it may just be missing a root cert from Amazon. Try making it visible to your container and set the CA_ROOT_CERT env variable.

I just merged the fix to main, could someone with this issue try it?  Note that you would need to either use the maplibre/martin:latest docker image or use cargo run --features ssl --release -- postgres://... to build it locally.  Thanks!
CC: @IceMan1910 @CarlosZiegler @carlosrziegler @ItsCoolOnMars @dwweb0309

@nyurik I believe you meant maplibre/martin:main because "latest" is 2 months old in the docker hub. It didn't work for me with the same error as before. (v0-7-0-alpha)

@ItsCoolOnMars you are absolutely right, thank you, I fixed my comment above.

@ItsCoolOnMars when you said it didn't work -- you meant the latest or the main tag?

well, technically both :). but yeah the "main" one didn't work.

I just merged the fix to main, could someone with this issue try it? Note that you would need to either use the maplibre/martin:main docker image or use cargo run --features ssl --release -- postgres://... to build it locally. Thanks!
CC: @IceMan1910 @CarlosZiegler @carlosrziegler @ItsCoolOnMars @dwweb0309

I tried to use -c option, but I always get No such file or directory message

I just migrated to dead-pool, so we should never see the timeout error again.  Instead, it will now actually say what the error is.  The docker's main image should be published in a few min.  @ItsCoolOnMars could you take a look again and see what error you get now?
@dwweb0309 can you write the whole command please? I'm not certain what you mean.  Also, you linked to the v0.6, and a lot has been changed in the main branch. Thx!

@nyurik With dead-pool it finally works for me: serves the tiles, and everything seems good. Thank you!

I just migrated to dead-pool, so we should never see the timeout error again. Instead, it will now actually say what the error is. The docker's main image should be published in a few min. @ItsCoolOnMars could you take a look again and see what error you get now?
@dwweb0309 can you write the whole command please? I'm not certain what you mean. Also, you linked to the v0.6, and a lot has been changed in the main branch. Thx!

docker run --rm -it --net=host -p 3009:3000 -e DATABASE_URL=postgres://postgres:password@localhost/propedia maplibre/martin:main -c config.yaml
-c 'config.yaml', -c './config.yaml' all doesn't work

@nyurik
Do you know tileserver-gl? Which is similar to martin but it feeds vector tiles from sqlite database. By default, tileserver-gl uses config file in the folder where the command runs. I think that is good practice.

@dwweb0309 ah, you forgot to share the file with the docker container itself, and doing the same thing as tileserve-gl wouldn't help here.
try this:
docker run --rm -it --net=host -v $PWD:/martin-config -p 3009:3000 -e DATABASE_URL=postgres://postgres:password@localhost/propedia maplibre/martin:main -c /martin-config/config.yaml

from the dir that contains your config file (or specify the full path in -v param. This way you share the file with the docker container, and it can read it.

@dwweb0309 ah, you forgot to share the file with the docker container itself, and doing the same thing as tileserve-gl wouldn't help here.
try this:
docker run --rm -it --net=host -v $PWD:/martin-config -p 3009:3000 \
   -e DATABASE_URL=postgres://postgres:password@localhost/propedia \
   maplibre/martin:main -c /martin-config/config.yaml

from the dir that contains your config file (or specify the full path in -v param. This way you share the file with the docker container, and it can read it.

I think above comment should be in documentation

Sure! Want to do a pr?

this will be released as part of 0.7.0


I'd like to give an [.active] class to the chosen item.

environment : vuecli 3 + typescript
I'd like to add a class to give a different style just the item I clicked on.
What should I do?
Help me~

This feature is out-of-scope of this project. If you are running in the server, you could observer the URL hash property to highlight it in the server before dispatching the results to the client (by patching the response). If you are working on client, just manage the current item state in javascript.


gps issue (maybe) and 978 issue (maybe)

Stratux version: 0.8r2

Stratux config:
SDR
[ ] single
[x ] dual
GPS
[x ] yes
[ ] no
type:  MTK3339 and USB Sirf III
AHRS
[x ] yes
[ ] no
power source: wallwart
usb cable: unk

EFB app and version: (e.g., WingX Pro7 8.6.2)
EFB platform: (e.g., iOS 9.2)
EFB hardware: (e.g., iPad Mini 2)

Description of your issue(s):

First, the 978 potential problem.  I used all combinations of RPi2, RPi3, R802T, R802T2, original antennas, latest dmurray high-gain antennas, nano2, original DVBT, and a couple others.  All config tests were run for multiple days at a time.  With 0.4r4 I would get 978 hits every day.  After 0.4r4, I get no 978 hits at all, zero, for several weeks now.  It is possible that the traffic has changed but to get them daily before and none now?  Something might be wrong.  I admit I've not been able to drive up to the ADS-B (cell) tower to perform the ultimate check but I'm still concerned.
Power issues are all good.
Secondly, not being able to upgrade to AvSquirrel's MTK3339 branch and keeping 0.8r2, after 3 days of running with no GPS results (it has eventually worked,) I simply plugged in the USB Sirf GPS without unplugging the serial-based MTK unit.  Stratux found the Sirf within minutes and was seeing GPS  sats.  Now, on the webui, the GPS/AHRS page shows the proper GPS info, but on the "status" page, it shows "gps disconnected."  More importantly, iFly is not getting GPS info from the stratux.  I don't know how to fix this.
If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

I get zero 978 traffic on the ground 30 miles from KATL where there are three ADSB ground stations. Drive up I-75 next to KATL and from the top of hills, Stratux starts seeing 978 FIS & TIS about 4 miles out.
Over the top of my airport, I get three ADSB stations starting at about 800 AGL, range 25 - 30mi.
There's no way around it, if you want a real test of your rig, go vertical, or go for a drive. Hoping for random overflights is just unreliable.

See update to 978 traffic in Reddit.  GPS problems persist.

Which amp meter were you using.

Sienoc Charger Doctor, 3.5-7V, 0-3A,  USB in and out.


Add Serrata

Add Serrata
Project URL
https://github.com/horitaku46/Serrata
Category
UI/Image
Description
Slide image viewer library similar to Twitter and LINE.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Thanks.


Prevent users to be locked out from datasets

I changed dataset 31450 to private, and now I cant access it.
The backend should ensure that at least one user has access to a dataset after it is made private.
I guess that if a user is allowed to update (PUT) on the dataset, then the user should also be able to see it after the update, even if it has been made private.

;) yes, also the creator of the dataset should probably not be allowed to be removed from the editors list. How did you change it to private without having rights though is sth I dont understand. Need to test this further

@thomasstjerne should the dataset creator be removable? And do we need to make sure we always have one editor left? Admins can always change a dataset and add back editors

I dont think the dataset creator should be removable (this would probably be done by mistake in 99% of the cases)
I think there should be at least one editor left, otherwise it should give some kind of error. But the latter could never happen if the creator was not removable

Yes, that was my thinking. If the creator remains there's always one left.
Ill do it that way for now at least


civetweb: remove obsolete code

Retrying https://github.com/zephyrproject-rtos/zephyr/pull/45988 now that we have released v3.1 and nobody has stepped up to maintain civetweb. (I can't reopen the old PR due to GitHub restrictions.)
This code has gone unmaintained and bugs continue to be reported
against it. We do not have the resources as a project to maintain this
in "odd fixes" mode, and nobody has stepped up to maintain it [1], so
sadly this must be removed for now.
If anyone would like to see civetweb supported in upstream Zephyr
again, they are welcome to add it back, as long as they promise to
maintain it going forward.
Many thanks to everyone who has contributed to civetweb support in
Zephyr while it was here. So long and thanks for all the fish.
Fixes: #45807
Fixes: #43910
Fixes: #34226
Fixes: #46743
[1] https://lists.zephyrproject.org/g/devel/message/8466
Signed-off-by: Martí Bolívar<EMAIL_ADDRESS>

Merging since this given the approval from @rlubos, especially since this approach was already discussed and approved at the TSC during the v3.1 development phase.
If anyone would like to see this restored for v3.2, we can resurrect the module in a PR that also fixes the above four bugs :).


Ability to just search a string?

Description
 A clear and concise description of the problem or missing capability...
Currently it appears that fusejs is designed to search lists of objects matching specified interior keys for the pattern. However, this limits its use and integration with other options.
Describe the solution you'd like
 If you have a solution in mind, please describe it.
Add an option to just test a string for a pattern
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?

You can already do this, by providing simply an array of strings (though I realized the docs lack an example):
const list = [“one”, “two”]
const fuse = new Fuse(list, { includeScore: true, includeMatches: true })
fuse.search(“on”)

So I’d just pass a list with one element?

On May 22, 2020, at 15:55, Kiro Risk<EMAIL_ADDRESS>wrote:

You can already do this, by providing simply an array of strings (though I realized the docs lack an example):
const list = [“one”, “two”]
const fuse = new Fuse(list, { includeScore: true, includeMatches: true })
fuse.search(“on”)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


foundry hud weblate

hi, is it possible to add your mods to foundry hud weblate for us to translate or update the translation faster? https://weblate.foundryvtt-hub.com/

Trigger happy is abbandoned in favor of MATT


Getting Error Testing Locally

Hi There!
This is a nice project you're working on. I got curious and tried it but I got an error on the last part of the installer when creating a user.
(1/1) BadMethodCallExceptionMethod [syncRoles] does not exist in Controller.php (line 82)
... an a long list of errors.
Here's my step on installing AdaptCMS:

git clone https://github.com/adaptcms/AdaptCMS.git adaptcms
cd adaptcms/public
valet link adaptcms
composer update
went to my browser: adaptcms.dev
I went ahead with the installer form until I got to last step of the install form, create a user.

Hey,
Thanks a lot for reporting this error. I'm in the middle of working on the CMS right now actually, so once I get at a stopping point I'll check that out and hopefully will have a fix for this tonight, if not, then tomorrow.
Thanks again.

I realize that you are still working on this but wanted to let you know that the installer is crashing on line 93 of the InstallController.
$this->syncRoles(['admin', 'demo', 'member', 'editor']);
looks like spatie isn't fully implemented ...

sorry for the delay, been dealing with internet issues since we got hit by a tropical storm. It was a simple mistake of the wrong variable name, the $this context has no relevance to roles since it's a controller object. updated correctly to $user, which does have access to roles.
I'll be doing more debugging tonight to see if any other installation issues exist before releasing the beta pubicly.

Sorry to hear about that. I hope that you and yours are all well. I didn't think that the storms would have gotten to you. I live pretty close to Taylor and see him every so often while shopping or eating out. He likes Moes. I'm a northern by birth though.
I thought I was being dumb because I tried that. But just in case I reran the installer (deleted all tables) and got this error instead.
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'model_id' cannot be null (SQL: insert into `model_has_roles` (`model_id`, `model_type`, `role_id`) values (, App\Modules\Users\Models\User, 3))

Would you mind posting a dump of a demo database? I'd love to dig in and see what is going on and provide issues or what ever.

Ok .. here is what I did ...
migration: 2020_..._Roles.php
added:
            $table->string('guard_name');

I didn't bother setting a column length because I was just trying to get in.
InstallController.php
            $user->status = 1;
            $user->save();
            $user->syncRoles(['admin', 'demo', 'member', 'editor']);
            // $user->save();

Notice that I moved the save before the sync.
I still haven't looked around but I was able to create a user with the installer wizard and logged in.

Thanks a lot for looking into this - is the installation working completely for you now?
I saw the problem with the save needing to occur before syncing the roles, but not the migration adjustment - I'll commit that to the repo shortly.

Installation seems to be working. I was able to go through all steps.
adaptBB seems to be broken ... but I did upgrade it first.
I am still looking around at other things.

Since the installation is good, I'm going to close this and create a new issue containing the currently known issues that need to be fixed before releasing the Beta. Feel free to list any problems you find there.
If the list is small, then I should be able to knock it out tomorrow and release.


Added DockerFile and Docker-compose

Description
Added Dockerfile for containerizing the project.
Added docker-compose.yaml for easy setup and development.
Added .dockerignore to exclude unnecessary files during build.

Closes #868

Screenshots / videos (if applicable)

@mdazfar2 Please review it.

Hey @ShobhitPatra, it's been over 15 minutes, and it still hasn't created an image. Can you tell me how long it usually takes to create an image and a Docker container?

@mdazfar2 it will take time,specially the steps npm i and copy . .
I think the reason it is taking a lot of time on your machine is beacause you might not have node image locally.
Should I change the base node version to alpine as it is much lighter and will be quicker ?

@mdazfar2 it will take time,specially the steps npm i and copy . . I think the reason it is taking a lot of time on your machine is beacause you might not have node image locally. Should I change the base node version to alpine as it is much lighter and will be quicker ?

Hey, Node has been installed on my PC for a long time, and I use it regularly. We don't use Node for the backend; it is built on Next.js, which is serverless and makes it easy to manage both the frontend and backend.

i'm talking about the docker image of node from dockerhub

@mdazfar2 ,please review it

Hey @ShobhitPatra, this time the image was created successfully, but when I created the container to run it locally, it didn't show anything. It would be great if you could help me out step by step.

The container will not be created.

Can you please tell me the purpose of build.yml and how we can use it for CI/CD with a step-by-step guide?

@mdazfar2 What  are the logs after running docker run -p 3000:3000 ezyshop ?.If the image is built successfully ,what I would suggest you doing is

run docker run -d -p 3000:3000 ezyshop.
then visit http://localhost:3000/

whenever you merge a pull request in the main branch build.yml would allow github to automatically do these for you:
Checkout Code: Pull code from the repository.
Install Tools: Sets  Node.js for the app.
Run Tests: Ensures your code works correctly.
Build the App: basically would make sure that npm run build runs successfully  before merging the pr


[AST] Treat actors inheriting from NSObject as SwiftNativeNSObjects.

Previously, omitting @objc meant that ObjC-refcounting was used, which led to UAF
since the multi-step deinitialization was bypassed and the actor was eagerly deallocated.
Fixes rdar://80863853.
(cherry picked from commit 4311a03fbe9e24cc44b9bb9b3bdfa610566d0108)

@swift-ci test

Cherry-picked from https://github.com/apple/swift/pull/38803


fix: VoiceGateway connection is closed with code 4020

Pull Request Type

[ ] Feature addition
[x] Bugfix
[ ] Documentation update
[ ] Code refactor
[ ] Tests improvement
[ ] CI/CD pipeline enhancement
[ ] Other: [Replace with a description]

Description
The heartbeat sent to the VoiceGateway used random.uniform(0.0, 1.0)  to generate a nonce. A recent change in the Discord backend causes it to reject a float value and close the connection with code 4020.  The backend now expects an uint64.
Changes

changed random.uniform(0.0, 1.0) to random.getrandbits(64) in send_heartbeat to generate an uint64 instead of a float.

Related Issues
Fixes #1726
Test Scenarios
None.
Python Compatibility

[x] I've ensured my code works on Python 3.10.x
[x] I've ensured my code works on Python 3.11.x
[x] I've ensured my code works on Python 3.12.x

Checklist

[x] I've run the pre-commit code linter over all edited files (ran manually)
[x] I've tested my changes on supported Python versions
[ ] I've added tests for my code, if applicable
[ ] I've updated / added  documentation, where applicable

Discord has since acknowledged the issue and reverted the change so this is now kinda redundant, but it may be a bit more future-proof this way and better matches the example in the documentation.

Note that I am getting this error repeatedly even though its reportedly 'reverted' on the discord API.
Task exception was never retrieved
future: <Task finished name='Task-458' coro=<ActiveVoiceState._ws_connect() done, defined at /usr/local/lib/python3.12/site-packages/interactions/models/internal/active_voice_state.py:105> exception=VoiceWebSocketClosed('The Websocket closed with code: 4020 - Unknown Error')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/interactions/models/internal/active_voice_state.py", line 109, in _ws_connect
    await self.ws.run()
  File "/usr/local/lib/python3.12/site-packages/interactions/api/voice/voice_gateway.py", line 85, in run
    msg = await receiving
          ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/interactions/api/voice/voice_gateway.py", line 121, in receive
    raise VoiceWebSocketClosed(resp.data)
interactions.client.errors.VoiceWebSocketClosed: The Websocket closed with code: 4020 - Unknown Error

I may have been a bit hasty when I said it was redundant. I double checked just right now and the exact words from the Discord staff guy was:

or JS 64-bit integer reasons we're now rolling out a change that'll let you send the strings again

So, I'm guessing this fix is not at all redundant, because the lib is sending a float. :/


Suggest to avoid confuse Filename on Unicode normalization (NFD/NFC)

I'm Japanese User.
In Japanese , "Hiragana" and "Katakana" include unicode's  Combining Character Sequence.
「 ﾞ (Dakuten: u3099 )」「 ﾟ (Han Dakuten: u309A )」
Ordinary, Windows Filename Use NFD.  (example:「パピプペポ」=\u30D1\u30D4\u30D7\u30DA\u30DD)
But MacOSX Use NFC. (exaple:「パピプペポ」= \u30CF\u309A\u30D2\u309A\u30D5\u309A\u30D8\u309A\u30DB\u309A )
Windows Explorer and Winfile 10.0 binary confuse Filename NFD and NFC.
I suggest to  Winfile add "Separating Combining Character Option".
Windows Explorer:

Winfile v10.0:

I suggestion:

Cause:
On MacOSX ,copying file to windows fileshare folder, auto convert filename "NFC to NFD".
But Some MacOSX software (example: Adobe InDesign CC) pass through  that's convert.
Unicode Normalization:
https://en.wikipedia.org/wiki/Unicode_equivalence#Normalization
Dakuten:
http://glyphwiki.org/wiki/u3099
HanDakuten
http://glyphwiki.org/wiki/u309a
Dencode (NFC/NFD converter):
https://dencode.com/ja/string/unicode-normalization

Hi @okdk, can you describe what WinFile would do differently?  I can't tell from your description above.

Windows Filename Use NFD.
MacOSX Use NFC

Really!? AFAIK, Windows use NFC, and Mac use NFD.
@craigwi Windows use NFC. So if we draw as NFD in Windows controls, we must use owner-draw.


Require StaticString argument + fix string literal issues

We probably don't want something like this to succeed:
let worldString = "world"
let hello = #ObfuscatedString("Hello, \(worldString)!")
print(hello) // prints "Hello, \(worldString)!"

With the change in this PR, you'll now get an error: "The provided string must be static."
In the future, we could probably do some magic to actually make string interpolation work. But in the meantime, let's at least make the expansion error out.

Thank you.
Certainly, if a non-static string was given, an error occurred when the macro was expanded.
Failed to receive result from plugin (from macro 'ObfuscatedString')

In the fifth line below, I thought it would be possible to prevent this by using StaticString instead of String.
https://github.com/p-x9/ObfuscateMacro/blob/e4d48e8217fac8fcd57dd0f4b776475c3e84db0a/Sources/ObfuscateMacro/ObfuscateMacro.swift#L4-L8
However, it is good to have handling both on the ObfuscateMacroPlugin side and on the ObfuscateMacro side.

I'm not super familiar with Swift Macros yet (this is the first one I've really looked at).
In the Swift guide they don't seem to use StaticString as the argument type in their example "FourCharacterCode" macro. In the Implementing a Macro section search for "Need a static string" - I took inspiration from that.

Now that I think about it more, it's probably useful to keep the argument as a String because we might in the future want to support string interpolation using "magic".

I've decided to incorporate the string literal handling of swift-macro-toolkit to make the string literal interpretation more robust. Escape characters like "\u{2020}" were being incorrectly interpreted as literals on main.

OK I believe I am actually done with this PR now, if you want to take a look.

@p-x9 let me know what you think. Just to be clear, the current behavior of the macro is that it will interpret string interpolation as a literal and not fail.
let someVar = "you won't see this"
let result = #ObfuscatedString("Take a look: \(someVar)")
print(result)

With the current version of the macro, compilation will succeed and you'll get as print output: Take a look: \(someVar).

The behaviour in the main branch is as you say and this should fail at compile time.

the current behavior of the macro is that it will interpret string interpolation as a literal and not fail.
let someVar = "you won't see this"
let result = #ObfuscatedString("Take a look: (someVar)")
print(result)

I was not aware of the issue of escaping charactors not being handled correctly.
Thank you for finding it.

Additionally,
print(#ObfuscatedString("\u{2021}"))
On main, will output: \u{2021} instead of the correct ‡

Since the equality "\u{2021}" == "‡" holds in Swift, the following equality should also hold.
#ObfuscatedString("\u{2021}") == #ObfuscatedString("‡")

Therefore I agree with your fixes.

Any chance you'll pull this in anytime soon? @p-x9

turns out there was a way in SwiftParser to handle the string literals correctly, so I've removed the swift-macro-toolkit dependency. Hopefully that makes things a lot cleaner!

Thank you.
I did not know such a feature had been added to swift-syntax.
If there are no additional changes, I will Merge and Release as is, is that ok?

Yes this PR is finished! Yes, please tag a new release too.

I appreciate your many fixes.


Failed update, username lacks coordinates

Hi Mape, really cool app.  I'm playing around with it to learn node and ec2-webapp.  I've got it up and running on an AWS instance, but it seems it can't get any coordinates from any of the users in #node.js on irc.freenode.net, so nothing is getting displayed on the map, just the chat log in the top right corner.
My google-fu is failing me at the moment.  Is there something else I need to do to get those coordinates, or is that something that each irc user has to enable for their account?  If the latter, is there a better irc server/room I should try, where users might be more likely to have coordinates enabled?
Thanks!

diff --git a/lib/wargames.js b/lib/wargames.js
index e2d453b..d5146b4 100644
--- a/lib/wargames.js
+++ b/lib/wargames.js
@@ -95,7 +95,7 @@ Wargames.prototype.fetchPositions = function () {

                                console.log('Fetching position for ' + user.name + '@' + user.ip);
                                var lat,lng;
-                               request({'uri': 'http://geoip.stagas.com/?ip='+user.ip}, function(err, res, body) {
+                               request({'uri': 'http://freegeoip.net/json/'+user.ip}, function(err, res, body) {
                                        try {
                                                var geoInfo = JSON.parse(body);
                                                lat = geoInfo.latitude;


Add a unit test project

This adds a set of unit tests to WinUIGallery.
The initial set of tests are mostly just to serve as a demonstration of how to write tests in MSTest for WinUI. But as new features are added to WinUI we can optionally write them in a more unit-testable way and add new tests here. Unit tests have the advantage of being quicker and more reliable that UI Interaction tests which is where we are getting most of the coverage now.
I've also updated the Azure Pipeline job to execute the unit tests as part of the build.
This PR updates the version of WinAppSDK from 1.4 to 1.5 Preview1. Once 1.5.0 stable is released we should update to that.

I'm wondering if having unit tests also warrants having a tests and src folder where the projects are located similar to a lot of other .Net projects. What do you folks think?


[Cognitive Services] Update SDK to use latest API version

Related command
az cognitiveservices usage list
az cognitiveservices model list
Description
Regular SDK/API update which came with new APIs
Testing Guide
az cognitiveservices usage list
az cognitiveservices model list
az cognitiveservices account deployment create will accept sku and capacity parameters
History Notes

[CognitiveServices] az cognitiveservices account deployment create now accept sku and capacity parameters
[CognitiveServices] New command az cognitiveservices usage list
[CognitiveServices] New command az cognitiveservices model list

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Cognitive Services

Hi @yangyuan, It's not breaking change window. there's a breaking change in your PR.

@kairu-ms breaking change was not necessary, fixed.

@kairu-ms breaking change was not intended/necessary, fixed.
One test failed but its unrelated to our service. (Its KV's tests)

Glad our tool detected this unexpected problem. Good job @AllyW @wangzelin007


Re-use previous Azure CLI task login session in subsequent CLI tasks

Question
We are trying to optimize the execution speed of our DevOps pipeline as much as possible and are using multiple instances of the Azure CLI task (rather than multiple azure cli scripts in one task), as we want granular observability on the tasks (e.g. at a quick glance of a pipeline, they can see specifically which task has failed).
From an inspection of the Azure CLI Azure DevOps task log output, it looks as though the Azure CLI task logs into Azure (using az login) on each invocation of anAzure CLI task, rather than re-using an existing login from a previous Azure CLI Task. Is there anyway to login once in a Job and propagate/share that information with each subsequent Azure CLI task to speed things up?
Environment
Azure Pipelines

Agent - Hosted or Private:
Hosted

We do not have any plans for this enhancement.
You could try to use bash/PowerShell task run az cli commands directly to see if that works.


fix: Early return identifier fields if view matches.

Before this when we passed in view: :identifier, we were incorrectly adding sorted fields to the identifier fields. Sorted fields would include all fields and associations not scoped to a specific view.
The expected behavior is that if view == :identifier, then only the identifier fields will be returned.
Thus,
# Setup
class MyBlueprint < Blueprinter::Base
  identifier :id
  field :first_name

  view :normal do
    field  :last_name
  end
end

# Old behavior
MyBlueprint.render(obj, view: identifier) #=> { "id": 1, "first_name": "Rock" }

vs
# New behavior
MyBlueprint.render(obj, view: identifier) #=> { "id": 1 }

1.0.0 Release Candidate Feature
This is a breaking change and will be grouped together with other breaking changes in the 1.0.0-rc release candidate branch so that users will only have to upgrade/work through breaking changes once when we release Blueprinter 1.0.0.

Would this be a bugfix rather than a breaking change?
It seems to me that if I specify :identifier but I get in return fields outside of :identifier then it is a bug, right?

@philipqnguyen It's certainly a bug fix, but we were thinking this may be a breaking bug fix as we cannot guarantee that any users are not referencing identifier view fields exposed as part of the bug.

Then would every bugfix be breaking? Since we cannot guarantee that people weren't using a bugged feature?

I agree with @philipqnguyen that this is a bug fix, and not a breaking change. I can't imagine anyone rightfully running into this bug and relying on it.

Discussed more offline, we determined that this is a bugfix, and not a 1.0.0 release candidate. In 1.0.0, we will determine whether or not we even want to keep the Blueprinter defined identifier view around.

Changed the branch, I will resolve conflicts.


Login Page breaks on Safari web browser

As mentioned in the title, the Login page breaks on Safari browser
Additionally, Nav Bar is not visible on the Login page in Chrome/Firefox

@sn2606 so you wanna fix it?

Yes, I will work on fixing it.

@sn2606  go ahead!

@sn2606 any updates?


Bug - cummax function - overwrite original value

When using cummax, the result overwrites the original values as well as creating a new column. I think either we should not overwrite the original value, or not create a new column.
vdf = vp.vDataFrame(
    {
        "sale": [100, 120, 120, 110, 100, 90, 80],
    }
)
vdf.cummax("sale", name = "cummax_sales")

Please make use of the order_by parameter to sort your data. Otherwise, you might encounter unexpected results, as Vertica does not work with indexes, and the data may be randomly shuffled.


Web Component Support Broken?

Angular CLI generates es5 and es2015 production files and chooses which to load.  I seems like this change broke the generation of Web Components.
Wrote the issue up with Github repositories for testing here:
https://stackoverflow.com/questions/61168457/fs-gist-js1-error-typeerror-i-createshadowroot-is-not-a-function-on-angular-we
I've tried testing the webcomponent created in a minimal enviornent:
https://github.com/fireflysemantics/fs-gist-minimal
When loaded it produces this error:

ERROR TypeError: n.createShadowRoot is not a function
at new si (fs-gist-2015.js:1)
at e.createRenderer (fs-gist-2015.js:1)
at fs-gist-2015.js:1

Hi, sounds like you are using native shadow DOM which is only available in Chrome createShawdowRoot is deprecated, replaced by attachShadow https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot
Looking at the encapsulation of the components in your project, the component is  using ViewEncapsulation.Native, which is also deprecated. The recommended replacement is  ViewEncapsulation.ShadowDom. More info: https://angular.io/api/core/Component#encapsulation
Can you check if changing this solves the issue?
Thanks.

AWESOME - Changing to ViewEncapsulation.ShadowDom fixes it!  Thanks!  I updated both repositories for reference in case anyone else wants to play with this.

Any thoughts on this:
https://stackoverflow.com/questions/61177477/polyfill-support-for-angular-9-custom-elements

Hi @fireflysemantics, I'll answer on SO.

@alan-agius4  Thanks for elaborating on the SO question.  I ran into a new problem.  This @Input property is not being set.  This is the SO post.  Any ideas?
https://stackoverflow.com/questions/61225191/angular-custom-element-input-property-not-initializing


Prove that Close contract never produces warnings

The Close contract should only refund the money that is available in the accounts, so it should be unable to issue any warnings. If this is indeed the case, we would not need to symbolically analyse the refund procedure (#47).

Already applied this optimisation


Bug 1746155: WIP - Allow upgrades without trusted CA bundle

Report the operator at level if the trusted CA bundle has not been injected yet.
This will allow upgrades to proceed while the networking operator rolls out.

/assign @dmage
/cc @ricardomaraschini @coreydaley
This is another late requirement in light of https://bugzilla.redhat.com/show_bug.cgi?id=1743699.
I could use some help figuring out how to test this - perhaps we need to use CVO overrides to wipe out the trusted-ca ConfigMap.

/retest

/retitle Report HasTrustedCA Status
We should discuss if any bits of this PR are still relevant in light of #379 merging.
The code delaying degraded status needs to go, as adding a timeout on reporting degraded does not give us anything in this particular case. There may be other use cases where going degraded makes sense after a delay, but not here.
I think there is still value in reporting HasTrustedCA as a status condition. We could use this to report degraded if the trusted CA bundle disappears on us, as such.

4.1 -> 4.2 upgrade or new 4.2, registry creates the new status condition and comes up with HasTrustedCA=False.
Some time later we get HasTrustedCA=True once the network operator controllers are running.
If for any reason we lose the trusted CA, we'll have HasTrustedCA=False again, in which case we should report Degraded=True. With the current logic, we are reverting back to using the default trust bundle.

@dmage @danehans @bparees @ricardomaraschini thoughts?

If we don't support 4.1->4.3 upgrades, we can remove fallback to the default trust bundle in 4.3.

@dmage I'm pretty certain that we will never have an update path directly through a minor release. 4.1 clusters will always need to hit 4.2 before they are ready to upgrade to 4.3.
@bparees @smarterclayton can you please confirm?

@dmage I'm pretty certain that we will never have an update path directly through a minor release. 4.1 clusters will always need to hit 4.2 before they are ready to upgrade to 4.3.
@bparees @smarterclayton can you please confirm?

that is correct.

Correct
On Thu, Sep 26, 2019 at 10:19 AM Ben Parees<EMAIL_ADDRESS>wrote:

@dmage https://github.com/dmage I'm pretty certain that we will never
have an update path directly through a minor release. 4.1 clusters will
always need to hit 4.2 before they are ready to upgrade to 4.3.
@bparees https://github.com/bparees @smarterclayton
https://github.com/smarterclayton can you please confirm?
that is correct.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/cluster-image-registry-operator/pull/373?email_source=notifications&email_token=AAI37J52M2IBHEF3NJCMOSDQLTAF3A5CNFSM4IOWZYDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VXNXQ#issuecomment-535525086,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI37J2QDKHMB7RHSMBVKBDQLTAF3ANCNFSM4IOWZYDA
.

And we will likely start restricting old upgrades (we won't let you go from
new 4.1 to very old 4.2 because of potential for regressing CVE fixes)
On Thu, Sep 26, 2019 at 1:20 PM Clayton Coleman<EMAIL_ADDRESS>wrote:

Correct
On Thu, Sep 26, 2019 at 10:19 AM Ben Parees<EMAIL_ADDRESS>wrote:

@dmage https://github.com/dmage I'm pretty certain that we will never
have an update path directly through a minor release. 4.1 clusters will
always need to hit 4.2 before they are ready to upgrade to 4.3.
@bparees https://github.com/bparees @smarterclayton
https://github.com/smarterclayton can you please confirm?
that is correct.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/cluster-image-registry-operator/pull/373?email_source=notifications&email_token=AAI37J52M2IBHEF3NJCMOSDQLTAF3A5CNFSM4IOWZYDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VXNXQ#issuecomment-535525086,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI37J2QDKHMB7RHSMBVKBDQLTAF3ANCNFSM4IOWZYDA
.


raise NotImplementedError

环境：Python 3.10.6
报错描述：导入插件后显示如下错误，尝试换成python3.8版本，发现python3.8版本无法成功导入nonebot_plugin_htmlrender，请问该如何解决呢？
02-02 01:26:40 [INFO] uvicorn | Waiting for application startup.
Task exception was never retrieved
future: <Task finished name='Task-3' coro=<Connection.run() done, defined at D:\Python\Python310\lib\site-packages\playwright_impl_connection.py:217> exception=NotImplementedError()>
Traceback (most recent call last):
File "D:\Python\Python310\lib\site-packages\playwright_impl_connection.py", line 224, in run
await self._transport.connect()
File "D:\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 139, in connect
raise exc
File "D:\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 127, in connect
self._proc = await asyncio.create_subprocess_exec(
File "D:\Python\Python310\lib\asyncio\subprocess.py", line 218, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
File "D:\Python\Python310\lib\asyncio\base_events.py", line 1667, in subprocess_exec
transport = await self._make_subprocess_transport(
File "D:\Python\Python310\lib\asyncio\base_events.py", line 498, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
02-02 01:26:40 [ERROR] uvicorn | Traceback (most recent call last):
File "D:\Python\Python310\lib\site-packages\starlette\routing.py", line 635, in lifespan
async with self.lifespan_context(app):
File "D:\Python\Python310\lib\site-packages\starlette\routing.py", line 530, in aenter
await self.router.startup()
File "D:\Python\Python310\lib\site-packages\starlette\routing.py", line 612, in startup
await handler()
File "D:\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender_init.py", line 25, in init
browser = await get_browser(**kwargs)
File "D:\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 60, in get_browser
return _browser if _browser and _browser.is_connected() else await init(**kwargs)
File "D:\Python\Python310\lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 36, in init
_playwright = await async_playwright().start()
File "D:\Python\Python310\lib\site-packages\playwright\async_api_context_manager.py", line 51, in start
return await self.aenter()
File "D:\Python\Python310\lib\site-packages\playwright\async_api_context_manager.py", line 46, in aenter
playwright = AsyncPlaywright(next(iter(done)).result())
File "D:\Python\Python310\lib\site-packages\playwright_impl_transport.py", line 127, in connect
self._proc = await asyncio.create_subprocess_exec(
File "D:\Python\Python310\lib\asyncio\subprocess.py", line 218, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
File "D:\Python\Python310\lib\asyncio\base_events.py", line 1667, in subprocess_exec
transport = await self._make_subprocess_transport(
File "D:\Python\Python310\lib\asyncio\base_events.py", line 498, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError

#15 #18


GeoLimits filter is not correctly updated

It seems that the geolimits are not correctly updated. To replicate this issue are needed two users. In this image there is the admin on the right that set the geolimits while on the lef the user with the restriction on geolimits:

Request client side seems correct:

MULTIPOLYGON(((-81.69433593750001 12.983147716796553,-82.68310546875 12.189703804004074,-81.30981445312499 11.60919340793894,-80.74951171875 12.661777510388525,-81.69433593750001 12.983147716796553))):

Note: It seems to work only on the first geolimits request of a new dataset then it's not possible to update

@allyoucanmap whenever a new geometry is added/deleted as a user or group GeoLimit, we need to call again the "resources//permissions" endpoint.
It can be also a simple PATCH using the same perms of the actual user or group with updated geolimits.
Notice also than it is not necessary to call "permissions" every time you change a geometry. You can change all the geometries first and then call just once the "permissions" endpoint.


pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'driver' : file not found (0) (SQLDriverConnect)")

Hi all,
I am trying to use a docker image built from https://github.com/Microsoft/mssql-docker/blob/master/oss-drivers/pyodbc/Dockerfile (and added python3) to connect to Azure SQL database.
import pyodbc
driver = 'ODBC Driver 17 for SQL Server'
server = 'sql_srv'
database = 'mydb'
uid = 'myadmin'
pwd = 'mypass'
con_string = r'DRIVER={driver};SERVER={server};DATABASE={database};UID={uid};PWD={pwd}'
cnxn = pyodbc.connect(con_string)

cursor = cnxn.cursor()

print ('Using the following SQL Server version:')
tsql = "SELECT @@version;"
with cursor.execute(tsql):
    row = cursor.fetchone()
    print (str(row[0]))

but I get the following error:
Traceback (most recent call last):
  File "/sample.py", line 22, in <module>
    cnxn = pyodbc.connect(con_string)
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'driver' : file not found (0) (SQLDriverConnect)")

Can anyone hint me please what is missing ?

Hi,

[unixODBC][Driver Manager]Can't open lib 'driver' : file not found (0) (SQLDriverConnect)")

The error indicates that the configuration file of the ODBC driver is not configured well. Please check it out with odbcinst -j

root@49299e8d95f7:/sample# odbcinst -j
unixODBC 2.3.7
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /root/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8

root@49299e8d95f7:/sample# cat /etc/odbcinst.ini
[ODBC Driver 13 for SQL Server]
Description=Microsoft ODBC Driver 13 for SQL Server
Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.1.so.9.2
UsageCount=1

[ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.3.so.1.1
UsageCount=1

root@49299e8d95f7:/sample# cat /etc/odbc.ini
root@49299e8d95f7:/sample# ls -al /etc/ODBCDataSources/
total 8
drwxrwxr-x 2 root root 4096 Dec  5 23:17 .
drwxr-xr-x 1 root root 4096 Apr 23 21:18 ..

What is missing/wrong ?

Any hint what is missing ?

@przemolb having same issue here, did you solve it?

@behconsci yes, I did:
drivers = [item for item in pyodbc.drivers()]
driver = drivers[-1]
print("driver:{}".format(driver))
server = 'myserver'
database = 'mydb'
uid = 'myuser'
pwd = 'mypass'
con_string = f'DRIVER={driver};SERVER={server};DATABASE={database};UID={uid};PWD={pwd}'
print(con_string)
cnxn = pyodbc.connect(con_string)
...

How to connect SQL Using pyodbc Linux OS? I got error below when i use above code?
raise Exception('This function is available for use in Windows only.')

Exception: This function is available for use in Windows only.

can you give an example of what you mean by "drivers = [item for item in pyodbc.drivers()]"

can you give an example of what you mean by "drivers = [item for item in pyodbc.drivers()]"

It looks like @przemolb is simply making a list of the returned drivers from the pyodbc.drivers() function and using the last one in the list with [-1].
In my case, here is what that looks like:
In [34]: pyodbc.drivers()
Out[34]: ['ODBC Driver 13 for SQL Server']

In [35]: [item for item in pyodbc.drivers()][-1]
Out[35]: 'ODBC Driver 13 for SQL Server'

In [36]: driver = [item for item in pyodbc.drivers()][-1]

In [37]: driver
Out[37]: 'ODBC Driver 13 for SQL Server'

This driver string should now be passed as the parameter in the connection string like so:
con = pyodbc.connect('DRIVER={driver};SERVER='+server+';DATABASE='+database+';UID='+username+';PWD='+ password)
assuming that you've set the server, database, username, password variables before this.
For reference, I'm using this guide.

The connection string i'm attempting to connect with is as follows:
conn_string = "
driver=/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so;
host=server.example.com;
port=21050;
database=default;
AuthMech=1;
KrbFQDN=server.example.com;
KrbRealm=EXAMPLE.COM;
KrbServiceName=impala;
UseSASL=1;
SSL=1;
CAIssuedCertNamesMismatch=0;
TrustedCerts=/opt/cloudera/impalaodbc/lib/64/cacerts.pem;
Trusted_Connection=yes"
conn = pyodbc.connect(conn_string, autocommit=True)
Traceback (most recent call last):
File "", line 1, in
pyodbc.OperationalError: ('08S01', '[08S01] [Cloudera][ImpalaODBC] (100) Error from the Impala Thrift API: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No Kerberos credentials available (default cache: KEYRING:persistent:123456789)) (100) (SQLDriverConnect)')
Is it possible to use a krb service name instead of a uid?

Hi, This error indicates the missing ODBC driver while building the docker images. I have got the same issue and resolved the same by explicitly providing instruction to install Linux ODBC driver.
Write below instruction in your docker file to make it work:
-======================================
RUN apt-get install curl
RUN apt-get install apt-transport-https
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
RUN apt-get update
ENV ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive
RUN apt-get install mssql-tools unixodbc-dev -y

Im facing this issue

Thanks in advance for the help .
Ubuntu system.
Python 3.7
Installed pyodbc.
Installed Microsoft ODBC Driver for SQL Server (Linux Ubunti)
I am trying to connect using pyodbc. The connection string I am using is:
DRIVER={ODBC Driver 17 for SQL Server}; Server=XX; Database=XX; UID=XX; PWD=XX;
The error I get back is:
Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.7.so.2.1' : file not found (0) (SQLDriverConnect)")
I have tried uninstalling and reinstalling the driver several times but no luck. Everything remains the same.
odbcinst -j
unixODBC 2.3.9
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES...: /etc/ODBCDataSources
USER DATA SOURCES...: /home/emilio/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8
cat /etc/odbcinst.ini
ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.7.so.2.1
UsageCount=1

I'm having the same issue on June 17, 2021.

I started having the same issue when changing from Intel to Apple Silicon and run it over Docker.
The output for "odbcinst -j" and "cat /etc/odbcinst.ini" commands inside my container was the same @emilio-carrasco's output.
The solution was to add the parameter "--platform linux/amd64" on the docker build command.
The final command became:
docker buildx build --platform linux/amd64 . -t <image_nam>

import pyodbc
print(pyodbc.drivers())

>>> ['ODBC Driver\xa017\xa0for\xa0SQL Server']

If I replace 'ODBC Driver 17 for SQL Server' with 'ODBC Driver\xa017\xa0for\xa0SQL Server', it will work.
I don't know why Unicode '\xa0' is in the driver name.

Hi, This error indicates the missing ODBC driver while building the docker images. I have got the same issue and resolved the same by explicitly providing instruction to install Linux ODBC driver.
Write below instruction in your docker file to make it work: -====================================== RUN apt-get install curl RUN apt-get install apt-transport-https RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
RUN apt-get update ENV ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive RUN apt-get install mssql-tools unixodbc-dev -y

apt-key add - seems to throw an error now "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))". Is there any easy fix to this line of code?

I got this issue and fixed it this way :
My code had "SQL Driver" changed it to " ODBC Driver 17 for SQL Server".
I also used @ERasheed21 and @anjanwahwar commands for my docker file :
Write below instruction in your docker file to make it work:
-======================================
RUN apt-get install curl
RUN apt-get install apt-transport-https
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
RUN apt-get update
ENV ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive
RUN apt-get install mssql-tools unixodbc-dev -y
=======================================
But I changed it to my version "20.04", so here it is :
Write below instruction in your docker file to make it work:
-======================================
RUN apt-get install curl
RUN apt-get install apt-transport-https
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
RUN apt-get update
ENV ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive
RUN apt-get install mssql-tools unixodbc-dev -y

Hello everybody,
The connection string was also showing as driver 18. I was getting error due to this.
I performed these steps in order and found that there is odbc driver 17 on the back. It got better when he made 17 instead of 18.
1)odbcinst -j

configure!
2) cat /etc/unixODBC/odbcinst.ini
It's done!

hi,
i think is a syntax problem (python)
import pyodbc
driver = 'ODBC Driver 17 for SQL Server'
server = 'sql_srv'
database = 'mydb'
uid = 'myadmin'
pwd = 'mypass'
instead of
con_string = r'DRIVER={driver};SERVER={server};DATABASE={database};UID={uid};PWD={pwd}'
try:
con_string = r'DRIVER={driver};SERVER={server};DATABASE={database};UID={uid};PWD={pwd}' .format(driver=driver,server=server, database=database, uid=uid, pwd=pwd)
hope not too late :), was fighting on same issue


小澤

位置情報ゲーム

Imagine a Splatoon-inspired image featuring three 20-year-old Japanese university students enjoying a location-based game. The students, portrayed with vibrant colors and dynamic styles characteristic of Splatoon, are engaged in playful and energetic interactions. They are depicted outdoors, possibly in a park or an urban setting, with their smartphones in hand, actively participating in the game. The environment is colorful and lively, mirroring the vivid, playful aesthetics of Splatoon, with imaginative elements like colorful ink splashes and whimsical urban landscapes. The image should capture the excitement and fun of playing a location-based game, with a youthful and energetic vibe typical of the Splatoon universe.

Imagine a Splatoon-inspired image featuring three 20-year-old Japanese university students enjoying a location-based game. The students, portrayed with vibrant colors and dynamic styles characteristic of Splatoon, are engaged in playful and energetic interactions. They are depicted outdoors, possibly in a park or an urban setting, with their smartphones in hand, actively participating in the game. The environment is colorful and lively, mirroring the vivid, playful aesthetics of Splatoon, with imaginative elements like colorful ink splashes and whimsical urban landscapes. The image should capture the excitement and fun of playing a location-based game, with a youthful and energetic vibe typical of the Splatoon universe.

グラレコ

Picture a charming scene in the distinctive style of Studio Ghibli, where a 20-year-old Japanese university student is intently drawing small, intricate pictures in a cozy research lab. This lab, brimming with the magical and detailed aesthetic of Ghibli, is a small space shared with several other students, each absorbed in their own creative or academic pursuits. The room is adorned with whimsical decorations, shelves filled with books, plants, and other fascinating gadgets that spark curiosity. A Mac computer is placed within this enchanting setting, seamlessly integrating modern technology into the whimsical Ghibli environment. The focus is on the student's precise and delicate artistry, while the presence of their peers adds a sense of collaboration and lively academic interaction. This image should capture the spirit of artistic creativity and teamwork, all set in a quaint, technology-enhanced, Ghibli-inspired lab.

国際会議

Create an American comic book style image of a 20-year-old Japanese university student presenting about maps at a large academic conference.  They are confidently illustrating points about maps on a large screen, with bold colors and dramatic designs. The audience is captivated, depicted with various expressions of intrigue and admiration, characteristic of comic book art. The setting is a grand conference hall, rendered with vibrant colors and dramatic lighting, emphasizing the importance and excitement of the academic presentation

3Dモデリング

マッピング

Create a vibrant, animated-style image of a 20-year-old Japanese university student, engaged in researching map-related information on a Mac. The student, depicted with exaggerated anime features such as large expressive eyes and a youthful demeanor, is sitting at a colorful and creatively organized desk. The Mac screen should display a stylized, cartoonish map with bright colors and simplified geographical details. The environment around the student is lively and whimsical, with elements like exaggerated-sized books, colorful notes, and a whimsically designed cup of coffee, all contributing to a playful and energetic academic setting. The overall image should capture the charm and enthusiasm of a young student immersed in their studies, in a lively anime-inspired world

BBQ

Create a Ghibli style image of a 40-year-old Japanese male professor and seven university students having a barbecue inside a tent. The image should have a more illustrated, less photorealistic style, akin to a painting or a vibrant drawing. The professor and students, diverse in appearance, are engaged in a lively barbecue scene, with exaggerated expressions of joy and camaraderie. The tent is depicted in a colorful and whimsical manner, with an open view to a stylized natural landscape in the background. The overall scene should be warm, inviting, and full of character, capturing the essence of a joyful group activity in a creative, illustrative style.

登山

Create an artistic, illustrative image of a congenial Japanese male professor with a round face, very short hair, and no beard, wearing light blue scarf, 40 years olds, and three university students in a stylized mountain forest in Japan is teaching woodcutting. The forest is rendered in a whimsical, colorful style, with exaggerated shapes and vibrant colors, giving it a fantastical, illustration-like quality. The scene should look like it's from a storybook, capturing the whimsy and charm of an educational adventure in nature

ドローン

Imagine a scene inspired by style of 1980's Japan amime. In a bright blue sky dotted with fluffy white clouds, a congenial Japanese male professor with a round face, very short hair, and no beard, wearing light blue scarf, 40 years olds, teach to 5 university students about the way of drone that has white body with four rotors evenly spaced on each corner to 5 university students, Miyazaki Hayao style.

ドローンの説明

Painting, some tents and tree houses is in forest , and a congenial Japanese male professor with a round face, very short hair, and no beard, wearing light blue scarf, 40 years olds, teach to 5 university students about the way of drone that has white body with four rotors evenly spaced on each corner to 5 university students, Miyazaki Hayao style

Here is the generated image, styled like a magazine cover, featuring three 20-year-old Japanese university students enjoying gachapon machines. The scene is lively and vibrant, capturing the excitement and joy of the students in this playful activity, in a design that's reminiscent of an eye-catching magazine cover.

Here is the generated image, created in a pixel art style, depicting three 20-year-old Japanese university students eating at Ramen Jiro. The scene is lively and captures the bustling atmosphere of the restaurant, with the students enjoying their meal in a colorful and charming 8-bit pixel art setting.


[IMPROVE] DOT max send logic

Currently the DOT max send logic is not very user friendly.
Please:

[ ] When sending max amount deduct the correct gas to send the max amount, draining the whole address without the user manually subtracting the gas fee.

[ ] When sending that account would fall below 1 DOT threshold, send pop up message "Keep account balance above 1 DOT. The remaining funds will be lost if balance is below 1 DOT" and prevent user to send funds.

So essentially only allow sends where remaining balance is above 1 DOT or a complete MAX send of the balance

@yvebe Please implement logic that user can't accidently lose DOT.
So if user has 2 DOT and sends 1.1 or more DOT, please promt the message "Remaining balance is below 1 DOT leading to loss of funds. Please make sure you leave at least 1 DOT in the vault" .
BUT allow max send to completely purge address

QA done.


[JS] Update minHeight implementation to only apply to Container types (Columns/ColumnSets/Cards)

Platform
What platform is your issue or question related to? (Delete other platforms).

JavaScript

Author or host
Neither. Feature dev.
If you're an author, who are you sending cards to?
Version of SDK
master
Issue
Per discussion, minHeight should only apply to container types and not all elements.

Containers
Columns
ColumnSets
AdaptiveCards

Fixed: https://github.com/Microsoft/AdaptiveCards/pull/2677


[PT Run] Not working at startup

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
At Startup, the PowerToys Run does not work ( Pressing Alt + Space does nothing ).
✔ Expected Behavior
PowerToys Run opens.
❌ Actual Behavior
PowerToys Run does not open.
After startup, if i open PowerToys by double-clicking the task on system tray it starts working as intended.
Other Software
No response

Related to #6136

Here is my most current log file:
2022-07-02.txt

Related to #18888

The program plugin is taking quite a bit to startup:
[2022-07-02 16:15:37.0691] [INFO] [C:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::55]
Total initialize cost for <Program> is <33983ms>

Actually related to https://github.com/microsoft/PowerToys/issues/18597#issuecomment-1184301444
Does the info in that comment help? /needinfo


Translation update to 1.3.66

I'm not sure for
"FSC.DateFormat.YearOptions": "Options Année"
I hesitate with "Mise en forme Année" and "Options Année".
And also the word padding, I am not convinced of my text.

Codecov Report

Merging #229 (dcfc617) into main (9657602) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #229   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           39        39
  Lines         5265      5265
  Branches      1205      1205
=========================================
  Hits          5265      5265

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

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

Continue to review full report at Codecov.

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

I just commited changes.


Support for ArrayTransform

This adds in full support for array transform.  The same code can probably be mostly reused to be able to support TransformValue, which transforms map values.  It also begins to setup a basic framework to be able to support lambda functions in the plugin.  There is probably more work and generalization that needs to happen, but it provides a starting point.

build

build


[LEAK] Memory leak with multi-line input

Reproduce:
1. Start minishell with:
valgrind -s --leak-check=full --show-leak-kinds=all --suppressions=./minishell.supp ./minishell

2. Copy (Ctrl-C) a string with multiple newlines:
1
2
3

3. Paste (Ctrl-Shift-V) into minishell.

For every \n that is not followed by a \0 there will already be one leak.

4. Every additional input will result in one more leak. Even normal single-line inputs.

The amount of characters or tokens does not matter, it will always be one additional leak of the same size.

@LeaYeh Do you know why this could be?


Upgrading programs installed on a different disk installs to the wrong disk.

Brief description of your issue

When upgrading a program that is installed on a different hard drive than default, winget runs a clean install to the default hard disk instead.
Steps to reproduce

I have had this happen with multiple programs. I am using HandBrake in this example since I know it does it with this program.
This example assumes that in addition to having a C: drive, you also have a second HDD/SSD mounted as D:

Install handbrake 1.3.3 to D:\Program Files\Handbrake
Run winget upgrade handbrake to upgrade program.

Expected behavior

New version of handbrake installed to D;\Program Files\Handbrake
Actual behavior

New version of handbrake installed to C:\Program Files\Handbrake, and old version still present in D:\Program Files\Handbrake
Environment
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19043.1266
Package: Microsoft.DesktopAppInstaller v1.16.12653.0

I've got the same with Powershell update

[Policy] Command-Upgrade

WinGet is essentially just calling the package installer for an upgrade. If the installer doesn't know how to find when the package is in an alternate location, WinGet isn't able to update it in the alternate location.
We're seeing lots of interest in:

#2298

I'm hoping we're able to find a reasonable solution to incorporate that feature, and if we are, that should help with this problem.


Pass Roslyn diagnostic id as VSCode diagnostic code

Hi,
A bit of context: SonarSource is providing a C# analyzer based on Roslyn. We already have a VSCode extension (SonarLint) with our own language server, that is providing analysis for other languages.
For C#, we plan to rely on you :) we will ensure our analyzer is used as part of the build (similar to what Roslynator is doing). Still we would like to provide some extra features, like some code actions. The problem we see is that currently, diagnostics created by omnisharp-vscode have no source nor code attribute set. This is a problem for us to differentiate diagnostics that are coming from our analyzer, from other one (compiler, or other third party analyzer).
I noticed that the diagnostic id is in fact appended to the message very early: https://github.com/OmniSharp/omnisharp-roslyn/blob/57e8052bc905a77a74c5f7623f6715df4aac4e47/src/OmniSharp.Roslyn.CSharp/Helpers/DiagnosticExtensions.cs#L25
Is there any reason for that? Would you be open to a pullrequest where the diagnostic id is instead passed through the VSCode diagnostic code?
Regarding the VSCode diagnostic source, it seems Roslyn itself is not exposing the information to know from which analyzer a diagnostic is coming (it would have been great to have the analyzerId). So maybe we could hardcode "csharp", "roslyn", or "omnisharp", just to avoid mixing diagnostics you create with something else. I can also provide a PR if you like.

thanks for the issue. I am not sure I understand what you are trying to do.
Diagnostic IDs should be globally unique so you should always be able to understand which diagnostics come from where i.e. there are IDExxx ones (which, I guess, are the "roslyn" diagnostics you mentioned), CSxxx ones (which, I guess are the "csharp" diagnostics you mentioned).OmniSharp uses no other built-in analyzers. Now, if you have Roslynator installed, that uses RCSxxx and so on.
wouldn't your diagnostics simply have different prefix?
Also, I am not sure I follow how you want to integrate - I moved this to omnisharp-roslyn, since it appears to me you want to integrated the analyzers into the server side, since I guess you'd want to it to invoke your code fixes too, but I don't know if that is the correct assumption.

However, I am not sure I understand what you are trying to do.

We want to provide code actions for our diagnostics, using our existing language server. In the current state, here is an example of what our language server receive as code action request, when triggered on a .cs file having an issue reported by omnisharp-vscode + our analyzer:
[Trace - 11:33:21] Sending request 'textDocument/codeAction - (10)'.
Params: {
    "textDocument": {
        "uri": "file:///home/julien/tmp/sample-dotnetcore/MyConsoleApp/Program.cs"
    },
    "range": {
        "start": {
            "line": 11,
            "character": 21
        },
        "end": {
            "line": 11,
            "character": 21
        }
    },
    "context": {
        "diagnostics": [
            {
                "range": {
                    "start": {
                        "line": 11,
                        "character": 19
                    },
                    "end": {
                        "line": 11,
                        "character": 23
                    }
                },
                "message": "Complete the task associated to this 'TODO' comment. (S1135) [MyConsoleApp]",
                "severity": 2
            }
        ]
    }
}

As you can see, in this (VSCode) diagnostic, the code and source attributes are missing, making it hard for our language server to return the appropriate code actions.
I noticed that you are appending the diagnostic id to the message, and I was proposing to change that, in order to have:
[Trace - 11:33:21] Sending request 'textDocument/codeAction - (10)'.
Params: {
    "textDocument": {
        "uri": "file:///home/julien/tmp/sample-dotnetcore/MyConsoleApp/Program.cs"
    },
    "range": {
        "start": {
            "line": 11,
            "character": 21
        },
        "end": {
            "line": 11,
            "character": 21
        }
    },
    "context": {
        "diagnostics": [
            {
                "range": {
                    "start": {
                        "line": 11,
                        "character": 19
                    },
                    "end": {
                        "line": 11,
                        "character": 23
                    }
                },
                "message": "Complete the task associated to this 'TODO' comment. [MyConsoleApp]",
                "code": "S1135",
                "severity": 2
            }
        ]
    }
}

That would already be a nice improvement for us. Else we would have to parse the diagnostic message, assuming you will never change the format...
Regarding the source attribute, I know that Roslyn diagnostic IDs are supposed to be globally unique, but that's not necessarily true for the entire VSCode ecosystem. You could imagine another VSCode extension providing some diagnostics for .cs files (spellchecker, ...), and there is a (quite small I admit) chance of conflict. That's why IMO there is this source attribute, used to identify the tool at the origin of the diagnostic. My understanding of the VSCode API is that it is safe to consider diagnostic code to be unique for a given source. That's why I'm suggesting to simply hardcode it to "omnisharp", or "roslyn", depending on what you consider to be the source of those diagnostics.
In the end, I would like to have my language server receiving:
[Trace - 11:33:21] Sending request 'textDocument/codeAction - (10)'.
Params: {
    "textDocument": {
        "uri": "file:///home/julien/tmp/sample-dotnetcore/MyConsoleApp/Program.cs"
    },
    "range": {
        "start": {
            "line": 11,
            "character": 21
        },
        "end": {
            "line": 11,
            "character": 21
        }
    },
    "context": {
        "diagnostics": [
            {
                "range": {
                    "start": {
                        "line": 11,
                        "character": 19
                    },
                    "end": {
                        "line": 11,
                        "character": 23
                    }
                },
                "message": "Complete the task associated to this 'TODO' comment. [MyConsoleApp]",
                "code": "S1135",
                "source": "omnisharp",
                "severity": 2
            }
        ]
    }
}

Does it make sense?

wouldn't your diagnostics simply have different prefix?
yes, Sxxxx, but here the point is to have a reliable way to get the id

it appears to me you want to integrated the analyzers into the server side
what we want is to run our analyzer as a third party analyzer, like mentioned in this blog, ideally without too much end user manual configuration (but that's a different story, keep it for another topic ;))

To make my request (hopefully) clearer, I submitted 2 pull requests with the changes related to the diagnostic code proper support.

implemented in #1623


WIP: Support for standalone containers

Added iterating over standalone containers in metadata
Added the FQDNGenerator with default generator using the current format of svc.stack.env.rootdomain
Also added a new FQDNGenerator  using the format svc.stack_uuid.rootdomain

https://github.com/rancher/rancher/issues/8790

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches. Closing as the corresponding issue got closed.


Modify docs URLs to use new domain ranchermanager.docs.rancher.com

Docs are working on updating there versioned links (up to /v2.7 right now, but will add /v2.8 this week).
They would like to see if the UI can use the current domain (https://ranchermanager.docs.rancher.com/) instead of the old one (https://rancher.com/docs/rancher/) so they don't need to add redirects
NEW: https://ranchermanager.docs.rancher.com/ replaces
OLD: https://rancher.com/docs/rancher/

For versioning, https://github.com/rancher/dashboard/issues/9855 is the appropriate ticket.


[REQUEST] Custom puppeteer command

As there is many commands for puppeteer but not a block in ob2 for each one, there must be a block to add custom puppeteer command

Yeah that would be really helpful

You can use C# directly, if you want I can write a guide on the forum


perf: Only checking netIdentityCache == null once

We only need to check netIdentityCache == null a 2nd time after we call GetComponent

nice find, not obvious


Use default dtype in L.NegativeSampling

This PR follows #4582, making `L.NegativeSampling' support the default dtype.

Jenkins, test this please.

Jenkins CI test (for commit 9fe915d638929fc5e7042cd5539fd7ff00bc5061, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 6dc47c1ee8bca27c325dd73a86915a091e57747f, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 6dc47c1ee8bca27c325dd73a86915a091e57747f, target branch master) succeeded!

Jenkins, test this please.

Jenkins CI test (for commit 0f6ff6ba8db93ddb09c8b7e3a6fcaa2a1981f6f4, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins CI test (for commit 8d009cbfd45d0b1c3e0d660f153a85dae43ed34f, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 8d009cbfd45d0b1c3e0d660f153a85dae43ed34f, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

I've rebased on the current master to follow #5787 to pass CI on Jenkins.

Jenkins, test this please.

Jenkins CI test (for commit<PHONE_NUMBER>6da58e82266b26d1ec1ee0785e2c92, target branch master) succeeded!


Added article link for making Security key Microsoft compatible.

I have made a PR to address this issue, the  issue can be closed now. Alongwith this I have added an index point in contents for Specification which was not existing.

thanks @harhitosw


Conquest Reforged resulting in startup crash

Mod Name
Conquest Reforged
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/conquest-reforged
Minecraft version
1.20.1
Describe the bug
Crash on startup "Timed out waiting for jar remap"
Steps to reproduce
I tried using conquest reforged on 1.20.1 (fabric). I have the following mods installed:

Connector-1.0.0-beta.37+1.20.1
fabric-api-0.92.0+1.11.3+1.20.1
lazurite-1.0.3+mc1.20.1
cloth-config-11.1.118-forge
Axiom-2.6.0-for-MC1.20.1
fabricskyboxes-0.7.3+mc1.20.1
continuity-3.0.0-beta.4+1.20.1
embeddium-0.3.7+mc1.20.1
ConquestRefabricated-1.1.0

The game starts perfectly fine without conquest refabricated - and crashes when enabled.
The conquest mod includes the following mods: (meta-inf/jars):

Core-3.6.3
entity-2.1.1175+1.20.1
forge-config-api-port-fabric.. -- I guess that one might cause the issue.
obj_loader-2.1.1175+1.20.1
toml-3.6.3

Logs
https://pastebin.com/1Ly9sWAz
Additional context
No response

Please tell me how to solve this problem.

No way, at least you can't solve it on your own.

Any updates on this issue? Now that iris + DH is confirmed for a neoforge port, this is the last piece of the puzzle that I’m waiting on

Okay, with #1114 it fixed the issue partly, now porting_lib_entity is causing the crash this time

please could somebody fix this? my life would be complete if i had conquest on forge


Add a validation to at least include 1 stylesheet

https://github.com/vkeusebio/ug/pull/4/files#diff-bdb5b6e67b7674ba6d7fdccd4e5e9069R87

@srph is client-side validation good enough?

Server-side will be plenty.


[Support] Update "What will Cloudflare compress"

Clarify supported compression:

From Cloudflare network to website visitors.
From origin servers to the Cloudflare network.

Preview of updated page:
https://pedro-2023-06-02-support-upd.cloudflare-docs-7ou.pages.dev/support/speed/optimization-file-size/what-will-cloudflare-compress/

@jedecf This proposal tries to clarify the content already in the page, without any major changes to the content.


Checkbox can end up with multiple aria-describedby attributes when used without a fieldset but with a hint

The checkbox component has some logic to move the association with the error message (aria-describedby) to the input if there is no fieldset (e.g. for a single input).
It also has logic to associate the hint for the individual checkbox if a hint is provided.
We don't handle the (admittedly fairly unlikely) case where both of these things are true, so the checkbox will end up with two aria-describedby attributes (aria-describedby="id-of-error-message" aria-describedby="id-of-hint")
https://github.com/alphagov/govuk-frontend/blob/abb0c36f9900afc2093361acd3ac5363a0ac219b/src/components/checkboxes/template.njk#L63-L65
You can reproduce this with the following macro call:
{% from "checkboxes/macro.njk" import govukCheckboxes %}

{{ govukCheckboxes({
  "name": "t-and-c",
  "errorMessage": {
    "text": "Please accept the terms and conditions"
  },
  "items": [
    {
      "value": "yes",
      "text": "I agree to the terms and conditions",
      "hint": {
        "text": "Go on, you know you want to!"
      }
    }
  ]
}) }}

which produces this HTML:

    Please accept the terms and conditions

      <input class="govuk-checkboxes__input" id="t-and-c-1" name="t-and-c" type="checkbox" value="yes" aria-describedby="t-and-c-error" aria-describedby="t-and-c-1-item-hint">

        I agree to the terms and conditions

        Go on, you know you want to!

instead of:

    Please accept the terms and conditions

      <input class="govuk-checkboxes__input" id="t-and-c-1" name="t-and-c" type="checkbox" value="yes" aria-describedby="t-and-c-error t-and-c-1-item-hint">

        I agree to the terms and conditions

        Go on, you know you want to!

@36degrees I might end up looking at this as part of https://github.com/alphagov/govuk-frontend/issues/1079
I need a way for nested fieldset radio buttons to be described by the hint shown on a parent fieldset.


Enable login with Google

Put back Google - while Github is mainly used by coders, almost everyone has a google account.
Acceptance criteria

[ ] /auth/check responses with option for google

Tasks

[ ] TODO

INVALID/FIXED this is already working we just need to set appropriate variables for google keys


Beautify data.json

Now data.json is one line file for machines only.
Of course, it is generated by your scripts and mostly used by another scripts. But unreadable format make script developemtn harder.
Maybe we should to add some JSON beautifier to data.json generator?

You can beautify any json with something simple like:
var obj = JSON.parse(data);
var beauty = JSON.stringify(obj, null, 2);

@Fyrd can I send a PR with beautifylized data.json or you generate it by some internal scripts?

Yeah, it's generated. I could easily beautify it too but I worry that if I did that people would think they could just submit PRs to that file which I can't do anything with. So best to leave it compressed so it's only used for people who need the whole thing and won't mind parsing/expanding it themselves if they need to.