You should remove "repos" in .gitignore or fix the code accordingly for test to pass.

In order for your 3 lines of code in Read.me to run:
book = Book.create(:title => "Markdown Book Test", :path => 'radar/markdown_book_test') book.enqueue User.create(:email =><EMAIL_ADDRESS>:password => "password")
either,
You must remove "repos" in the .gitignore considering you already have markdown_book_test folder there, because this code snippet looks for folder Pathname.new(Rails.root + "repos") , which doesn't exist.
or
you must instruct reader in Read.Me to copy paste folder from "spec/fixtures/repos/radar/markdown_book_test" to "repos/radar/markdown_book_test", and also remove the preceding  "../../" in markdown_book_test/.git file
otherwise sidekiq will raise an error of "file/folder not found error", and the tests will fail.

The sidekiq job which runs after book.enqueue is called (you are running sidekiq, aren't you?) should create this directory.
Please confirm you're running sidekiq. If you are, then I will need to take a deeper look at why this is happening.

On 15 Jun 2016, at 03:20, idoan<EMAIL_ADDRESS>wrote:
In order for your 3 lines of code in Read.me to run:
book = Book.create(:title => "Markdown Book Test", :path => 'radar/markdown_book_test')
book.enqueue
User.create(:email =><EMAIL_ADDRESS>:password => "password")
either,
You must remove "repos" in the .gitignore considering you already have markdown_book_test folder there, because this code snippet looks for folder Pathname.new(Rails.root + "repos") , which doesn't exist.
or
you must instruct reader in Read.Me to copy paste folder from "spec/fixtures/repos/radar/markdown_book_test" to "repos/radar/markdown_book_test"
otherwise sidekiq will raise an error of "file/folder not found error", and the tests will fail.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

yes, of course sidekiq is working. in fact, sidekiq itself is throwing that error. clone the repo and give it a try . here is the exact error :
2016-06-16T07:56:44.494Z 1105 TID-oxhkx5x2s WARN: {"class"=>"BookWorker", "args"=>["1"], "retry"=>true, "queue"=>"default", "jid"=>"1abcdc69a0dd3650fa39a0e3", "created_at"=>1466063722.312774, "enqueued_at"=>1466063804.490088, "error_message"=>"No such file or directory @ dir_chdir - /Users/XXXX/Development/Rails/twist-my-saas-stripe/repos/radar/markdown_book_test", "error_class"=>"Errno::ENOENT", "failed_at"=>1466063722.336255, "retry_count"=>2, "retried_at"=>1466063804.49359}

ok, I think I have found the problem, you commented out the line in BookWorker.rb where this repository is cloned, #git.update!, when you uncomment this, as you tell the markdown_book_test repository is cloned to the correct path.

I think you wrongfully commented out git.update instead of the above line     book.current_commit = git.current_commit rescue nil , since you don't use current_commit anywhere . am I right?

Both lines should be uncommented. Thanks for lettign me know about that :)


km_kpca return values

Documentation suggests it should also return the projections Xep. Only two return values though. Could this be implemented? Thanks!

I checked this, The projections are actually the principal components (columns of E) which are already returned. I cleaned up the file.
You can find more details in section 2.2.2 of https://gtas.unican.es/pub/255

OK thanks. But "projections" to me means: the data, projected on to the new space - i.e .one row for each row of the original data, and a column for each of the new projected dimensions. Or is that different for nonlinear PCA?

Yes, "projections" means the data, projected onto the new space. You can check the dimensions of E: it's the number of data points times the dimension of new space.
Here's an example: in km_demo_kpca_u.m, the data X is 120x2: the data are transformed into feature space and then projected onto a space of dimension 4. The projected data E are therefore of size 120x4.


feat: enlarge default page cache size

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
https://github.com/GreptimeTeam/greptimedb/issues/4488
What's changed and what's your intention?
Enlarge default page cache size to 1/8 of host memory.
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

@evenyag You forgot to update the sample config.


ModuleNotFoundError: No module named 'sbi.samplers.score'

Describe the bug
Hello, I just updated sbi to try out FMPE and NPSE. However, when I try to import FMPE or NPSE I get an error.
To Reproduce

Python 3.12.5, SBI 0.23.0 (I double checked this ).
Minimal code example:
pip install sbi
from sbi.inference import FMPE
Error message:
Traceback (most recent call last):
File "/bottleneck_inference_fmpe.py", line 10, in
from sbi.inference import FMPE
File "/.conda/envs/sbi_2/lib/python3.12/site-packages/sbi/inference/init.py", line 2, in
from sbi.inference.trainers.base import (
File "/.conda/envs/sbi_2/lib/python3.12/site-packages/sbi/inference/trainers/base.py", line 22, in
from sbi.inference.posteriors.base_posterior import NeuralPosterior
File "/.conda/envs/sbi_2/lib/python3.12/site-packages/sbi/inference/posteriors/init.py", line 6, in
from sbi.inference.posteriors.score_posterior import ScorePosterior
File "/.conda/envs/sbi_2/lib/python3.12/site-packages/sbi/inference/posteriors/score_posterior.py", line 19, in
from sbi.samplers.score.correctors import Corrector
ModuleNotFoundError: No module named 'sbi.samplers.score'

Expected behavior
I attempted a fresh install of sbi which produced the same error. I would appreciate any help getting FMPE to work!

Thanks for reporting this, it seems the new release does not contain the score folder. I will provide a fix in a moment.

The new release is out. If you uninstall sbi and then install again to make sure to get the new version 23.1, does it work then?

Yes, thanks!


Context menu options cut off at bottom of menu

Context menu options are cut off on the bottom of the menu, as you can see by my screenshot.

thanks for reporting, fixed in a4f09491b570da01afa2de4cf827b719c89c3af6


Extend Readme: Finding Your Server

I was trying to set up a private Valheim server using this docker image. I tried to add it in Steam using the Steam Server Favorites method, but was unable to do so. I found out that it was because the server has to be public in oder to be shown when adding it as a favorite. I extended the README with a NOTE hinting at this behavior. I also added a new subsection to the In-game section, which describes how to connect to a server directly using IP/URL and port, which works very well for private servers.

@Rohrschacht thank you for your PR! Please commit the suggestions and we'll merge it.
@TheCatLady thank you for your grammar corrections! If you're super bored at some point would you mind going over the README and correcting my English? I'm always happy to learn from a native speaker!

@TheCatLady thank you for your grammar corrections! If you're super bored at some point would you mind going over the README and correcting my English? I'm always happy to learn from a native speaker!

Haha yeah sure, I'd be more than happy to do that when I have some spare time! I'm kinda the spelling/grammar person in another project I contribute to. 😸

Thank you very much for the grammar improvement suggestions! I accepted all of them, updatet the toc with the new subsection title, and updatet the branch by merging :)


Support Linux core dump "module metadata mapping fix"

@mikem8361 said:
Core dumps are missing all or some of the metadata in the assemblies.  On Windows, dbgeng “maps” the modules into the address space automatically when SOS or CLRMD reads the metadata blob in the module.  I added something similar to SOS on Linux because lldb doesn’t do this. I also had to adding this module mapping to dotnet-dump on Windows too. I don’t think CLRMD supplies a ICLRMetadataLocator interface on the data target it passes to the DAC which is one way for debuggers, etc. to supply the DAC with the missing metadata. SOS for Linux under lldb and dotnet-dump do this at a lower level by detected that a failed memory read is in an assembly’s metadata blob and then downloads the assembly and “maps” it into the address space.
mikem
Mike is adding a fix for this into dotnet-dump. It feels like we need support at the ClrMD level. See https://github.com/mikem8361/diagnostics/commit/78c88d11effa7ef5237e28b6ec26f4fb784aa209
/cc @leculver @mikem8361

I don’t think CLRMD supplies a ICLRMetadataLocator interface on the data target it passes to the DAC which is one way for debuggers, etc. to supply the DAC with the missing metadata.
We do actually, here's the code in ClrMD:

https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime/src/DacInterface/DacDataTargetWrapper.cs#L265-L276
In the repro we discussed offline, I can see that `GetMetadata) is being called and we do return S_OK, but there's still something wrong with the result.  I will get back to debugging the issue on Tuesday.

Ah the underlying issue here is that we don't properly set FileSize and TimeStamp on Linux modules here:  https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime/src/DataReaders/Core/CoreDumpReader.cs#L106
Which means when we attempt to locate the module during ReadVirtual, we fail here:  https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime/src/DacInterface/DacDataTargetWrapper.cs#L166
The fix should be just to properly fill in the FileSize/TimeStamp module information for PEImages in the module list.

Fixed by https://github.com/microsoft/clrmd/pull/310.


Fix the logic of the previous PR and return the correct preimage output

One validator can enrollment using multiples UTXOs.
These results can be multiple enrolments in one address.
It can set sorting rules, sort them, and output them as a list.
It also outputs the correct distance.
Fix https://github.com/bpfkorea/stoa/pull/32

@Geod24 Ready for review

@Geod24 ping Ready for review


Partial success with nginx as SSL terminating proxy in front of selenoid.

Our environment requires that we put all traffic over SSL, so we need to put an SSL proxy in front of selenoid.
Selenoid is installed on the server using the cf binary. I can see:
docker proxy listening on <IP_ADDRESS>:4444
selenoid-ui listening on       *:8080
nginx is listening on port 8443.
If we use the IP address and port 8080 to access selenoid-ui then everything works fine.
Once we block that port at the firewall and use https://domain.com:8443 to access the ui, the initial pages are OK. However when we create a new session, VNC tries to connect, and then fails with
Initialize...
Connecting to wss://domain.com:8443/ws/logs/ca36d535c973eb8478d1200e4a62e0e6...
Disconnected

in the right hand pane. In nginx logs we can see:
<IP_ADDRESS> - - [08/Feb/2024:04:46:00 +0000] "GET /static/js/2.4a078c2e.chunk.js HTTP/2.0"<PHONE_NUMBER> "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:04:46:01 +0000] "GET /status HTTP/2.0" 401 17 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:04:46:01 +0000] "GET /manifest.json HTTP/2.0" 401 17 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:04:46:01 +0000] "GET /events HTTP/2.0" 401 17 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:04:46:01 +0000] "GET /status HTTP/2.0" 200 1464 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:05:54:14 +0000] "POST /wd/hub/session HTTP/2.0" 401 17 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:05:54:15 +0000] "POST /wd/hub/session HTTP/2.0" 200 903 "https://domain.com:8443/" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:05:54:18 +0000] "GET /ws/logs/b28a909639c2c6e7f0810e2830609919 HTTP/1.1" 403 10 "-" "Mozilla"
<IP_ADDRESS> - - [08/Feb/2024:05:54:19 +0000] "GET /ws/vnc/b28a909639c2c6e7f0810e2830609919 HTTP/1.1" 403 10 "-" "Mozilla"

I've searched for previous nginx issues and have found those mentioning the upgrade connection items to be added to the config. However those don't seem to solve the problem. The relevant stanza in nginx is currently:
# at the top
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

# later on
        location / {
            proxy_pass http://<IP_ADDRESS>:8080;
            proxy_http_version  1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }

Do I need to specify to selenoid its full domain.com name somehow?
Do I need a separate stanza for /ws/vnc/ telling it to connect differently, perhaps to port 4444? (have tried this, but not exhaustively). Any suggestions to get full functionality behind a proxy? Would also consider switching to traefik, caddy or any other proxy that has a working config

@plutocrat you should configure this for port 4444 and not port 8080. Selenoid UI connects to Selenoid via web-sockets, so connection upgrade should be configure when accessing Selenoid.

OK, well I need to see the UI too, so I did previously try something like this:
        location / {
            proxy_pass http://<IP_ADDRESS>:8080;
            proxy_http_version  1.1;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
        location /ws/ {
            proxy_pass http://<IP_ADDRESS>:4444;
            proxy_http_version  1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }

But that doesn't seem to work.
I have also tried removing the X-Forwarded-Proto headers, as initial connection is SSL and subsequent connections over localhost are not. Again no success.

@plutocrat e.g. this is how we reverse proxy devtools web-socket API:
  location ~ ^/devtools/ {
    proxy_pass http://<your-upstream-host-or-name>;
    proxy_http_version 1.1;
    proxy_read_timeout 3600s;
    proxy_send_timeout 3600s;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
  }

Should do the same with /vnc/ and /logs/ for Selenoid.

After trying a million different things, this is what's working for me currently. I can connect to port 8443, use the selenoid-ui interface, and its connecting to selenoid and VNC correctly.
I think what actually did it in the end was using proxy_set_header Host $http_host;  instead of proxy_set_header Host $host; but I was making so many edits I lost track!
`upstream selenoid-ui {
server <IP_ADDRESS>:8080;
}
server {
general config, ssl, ports, logs, root, indexes, removed.
Relevent config
location / {
    proxy_pass http://selenoid-ui;

    proxy_http_version 1.1;
    proxy_pass_header X-XSRF-TOKEN;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;

    chunked_transfer_encoding off;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_buffering off;
    proxy_cache off;

    proxy_connect_timeout 600;
    proxy_send_timeout 300;
    proxy_read_timeout 300;
}

 location /ws {
    proxy_pass http://selenoid-ui;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;
 }

}`


How to log to wandb in mmdetection 3.x?

I'm using mmyolo, but afaik from reading the docs, wandb logging seemed to be done through mmdetection. So how should I configure wandb logging for mmdetection 3.x? I don't seem to find any relevant documentations.
This is what I currently have. But this configuration doesn't log anything to wandb. What I wanted to achieve is simply logging validation/training loss or any other scalar metrics to wandb.
default_hooks = dict(
    # Save weights every 10 epochs and a maximum of two weights can be saved.
    # The best model is saved automatically during model evaluation
    checkpoint=dict(interval=10, max_keep_ckpts=2, save_best="auto"),
    # The warmup_mim_iter parameter is critical.
    # The default value is 1000 which is not suitable for cat datasets.
    param_scheduler=dict(max_epochs=max_epochs, warmup_mim_iter=10),
    # The log printing interval is 5
    logger=dict(type="LoggerHook", interval=5),
)
# The evaluation interval is 10
train_cfg = dict(
    max_epochs=max_epochs,
    val_interval=10,
)

vis_backends = [
    dict(type="LocalVisBackend"),
    dict(type="TensorboardVisBackend"),
    dict(
        type="mmdet.WandbVisBackend",
        init_kwargs={"project": "testing", 'entity': "ENTITY"},
        interval=1,
    ),
]

visualizer = dict(
    type='mmdet.DetLocalVisualizer',
    vis_backends=vis_backends,
    name='visualizer')

I used the wrong configuration.

Can you point to an example config like RTMDet!
How was this configuration done?


Board: Support for ESP32-S3

Hi,
Any plans to support this board?

https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html
https://www.espressif.com/en/products/socs/esp32-s3

I am planning on buying one of the boards mentioned on https://esp32s3.com; either the FeatherS3 or ProS3 as these seem to the only ones that have a JST connector.
Thanks,
- Bana

Yes, I do have plans to support esp32 series microcontrollers. I want to know a little more about your usage. Do you use esp32s3 with USB or only BLE?

I'd like to use both. Is there something that would limit me from doing so?

Nothing, that's definitely possible. The only thing that could be limitation is my time. I'm writing this project in my spare time :D

Hi! I just added esp32s3 support at https://github.com/HaoboGu/rmk/pull/35, but with BLE only for now. Would you like to have a simple test on it? I ordered a board but it takes some time.


WIP Bumping up to React 17

Fixes JIRA ticket xxx
This PR does the following:

How has this been tested?

Accessibility concerns or updates

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr967-dbckappnwpb45svjhewle0cs96jzegxs.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6262b8cf8a3b7b49de08a4f4

Tugboat has finished building the preview for this pull request!
Link:

https://pr967-dbckappnwpb45svjhewle0cs96jzegxs.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6262b8cf8a3b7b49de08a4f4


reportMessages duplicate

I use stanard-loader with vue.js and webpack.
webpack config

report messages

debug

I believe this is more of a webpack or webpack config issue, the loader is not responsible for deciding which files it processes, it just does what it's told by webpack. Are you using symlinks? How are you requiring the files?


Need some help to fully re-implement the FaceNet paper.

Hey David,
Thanks for your code that combines with the openface code to let me investigate.
I've forked your facenet and been working on my own for about 2-3 weeks. I've followed the torch code from openface and seems re-implemented their strategy of training. Especially the one in the image below.

I see your code have some bugs and weird strategy for me.

the batch norm code you borrow from the stackoverflow is wrong, refer to @jrocks' answer on the question for detail. link
I see you want to use 45*40 images to generate triplets, but limited by GPU memory, you doesn't follow openface triplets selection strategy but use every first image of certain people to be the anchor, this seems not very reasonable right? I mean anchor doesn't mean not changed.
This is the most serious problem I'm facing. You split selecting triplets by mini-batch (say 90), and then backward one mini-batch a time. What I have done in my code is that expanded triplets and then accumulate gradient coefficients input just like the openface and then calculate the gradients for all variables by feeding 20 mini-batches (2090=4540), then accumulate these gradients, then apply them once. This procedure is extended from openface since they use 15*20 images, and their torch SDK seems have no API to get gradients. But for now my code isn't working, means the training doesn't seems to achieve at least 80% accuracy on LFW, I don't know why is that, could you please help me out?

You may check the code from my fork optimize branch. Sorry that I've heavily modified the file structure and python coding style.
Please contact me if you have any idea. I think we could work together to use both 45*40 batch size and non-compact triplets.

Hi myme5261314, all the questions you asked are really relevant. Did you get any insights or improvements?

@RomainSabathe Because of some personal reason, I had stopped doing about facenet stuff since a few months ago. Before I quit, I can get no more accuracy than openface had achieved that time which is around 97% on LFW. Seems no significant improvement by re-implement the openface approach through facenet and use 1800 batch size. Hope this can give you the info you want.

@myme5261314 that's helpful, thank you very much. :)


[template ]create issue template for PAI

Some essential information should be:

Customer name
Deployment version
Initial deployment or upgrading?
Brief what deployment process they are following
Other information need to filled up possibly.

With this information we could save some time from this junior errors and ask customers to follow the right deployment process.

https://github.com/Microsoft/pai/pull/1908


[doc/formal] remove local run script from README

This PR removes the local script to run FPV and CONN. Right now we only
support the dvsim method.
This PR also cleans up the code that did not follow one sentence per line rule.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Thanks Cindy!


Separate storage metadata from actual document

Currently, both metadata and the actual document is stored inside a single wrapped document. Separating the two would allow for better performance scanning of the storage for specific metadata attributes.

Drawback: It requires actually storing two records per document, including two record sizes that need to be parsed.
Alternatively, the record could just contain the metadata object size, then the metadata object could contain the actual document size. This would allow fast scanning through metadata only while not decreasing document loading performance too much. It would however increase costs for scanning the partition for the n-th record.

If sizes would be stored in binary, the additional cost of reading/parsing those would be alleviated. A binary format for document header would make sense in the long run, see also #72

The document header will be changed to binary as of #80. However, separating the event metadata from the actual event on a storage level, adds too much complexity in the storage layer that is not really compensated with features. Fast scanning for a specific document content should be handled by specialized indexes. Therefore closing this issue as "wontfix"


Pin windows with a title bar button

Description of the new feature / enhancement
Being able to pin a window by pressing a button in the title bar would be waaaay more conveninent then using a keyboard shortcult. If it's possible, this feature would be greatly appreciated!
Scenario when this would be used?
When pinning a window using the Always on Top feature :)
Supporting information
No response

Good idea. Might be more difficult then it sounds, specifically if apps draw a custom UI. Most of the same requests are closed as /dup #15387

We've identified this issue as a duplicate of another one that already exists on this Issue Tracker.

Which another one specifically?

15387

Honestly, I don't see how 15387 is a duplicate of this one.

I understand. The menu is a part of the window's title bar. Not *exactly the same, but so related, we're swiping them together :)

OK, I understand. Thanks!

... put alwaysontop in then windows menu please


[FALSE-POSITIVE] Urgent: Request to Unblock Domain Flagged as Phishing

Domains or links
Please list any domains and links listed here which you believe are a false positive.
https://msgsndr.com/
More Information
How did you discover your web site or domain was listed here?

Website was hacked
Incorrectly marked as Phishing on Phishtank or OpenPhish?

From virustotal
https://www.virustotal.com/gui/url/a676544a38b6fdc3a04d4602da8b69f39bb8e35d69fbddbe248a1445c0cc8371

Have you requested removal from other sources?
Please include all relevant links to your existing removals / whitelistings.
We have this marked under Phishing with only Phishing Database
Additional context
Add any other context about the problem here.
Use case:
We use this domain for calendar booking, invoice generation, and appointments and is a critical component of our product.

We believe this to be a false positive and kindly request your assistance in unblocking our domain as soon as possible.

We understand the importance of maintaining security protocols to protect users from genuine threats; however, the current blockage is impacting our business operations significantly. It is crucial for us to rectify this situation promptly to ensure uninterrupted service to our customers and partners.

Please take the necessary steps to remove the block on our domains and subdomains at your earliest convenience. Should you require any further clarification or assistance from our end, please do not hesitate to contact us.

About HighLevel:
HighLevel was established in 2018 and has its headquarters in Dallas, Texas. It is an all-in-one digital marketing and sales platform designed for digital marketing agencies and marketers alike.
Some of the features include a sales funnel builder, customer relation manager (CRM), website builder, Email/SMS marketing automation, voice drops and call tracking, appointment booking, course hosting and membership sites, and analytics, Blogs, social media management and analytics, generative content AI, Wordpress, etc.

HighLevel has over 50000 agencies and about 600000 SMB clients from multiple geographies.

--
Thanks,
Gunavardhan
Email<EMAIL_ADDRESS>

Cannot find my domain under below git url
https://github.com/mitchellkrogza/phishing/blob/main/falsepositive.list
:exclamation:
We understand being listed on a Phishing Database like this can be frustrating and embarrassing for many web site owners. The first step is to remain calm. The second step is to rest assured one of our maintainers will address your issue as soon as possible. Please make sure you have provided as much information as possible to help speed up the process.
Send a Pull Request for faster removal
Users who understand github and creating Pull Requests can assist us with faster removals by sending a PR to mitchellkrogza/phishing repository, on the falsepositive.list file

https://github.com/mitchellkrogza/phishing/blob/main/falsepositive.list
Please include the same above information to help speed up the whitelisting process.

@funilrys @mitchellkrogza
We still see our domain marked as Phishing.
Can you please check this?
https://www.virustotal.com/gui/url/a676544a38b6fdc3a04d4602da8b69f39bb8e35d69fbddbe248a1445c0cc8371

for a couple of reasons

The datasets are not updated instantly.
VT are only importing through cron jobs, so first PH needs to update own sources, then VT can import the changes.


Creating and Updating the File from scratch

More over this update has Random ,Clock ,Geo etc. modules(i.e. Classes).

Looks good to me. Welcome aboard 🥸 @proboi-i


Make the library cards customizable like the sidebar

Is your feature request related to a problem? Please describe.
No, this feature request is not related to a problem.
Describe the solution you'd like
I want a Desktop tile on the Home tab (look at additional context to see what I mean)
Describe alternatives you've considered
None
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Actually, we should make it more customizable and more colourful and add more options.

I agree with @Jaiganeshkumaran, there should be much more customization like in Windows Explorer

This issue should be resolved with #2802.


Add Matlab snipper

It's a copy of the existing Coffescript one, since the function syntax and tags are equivalent in Matlab.
It's my first GitHub pull request ever, so any pointers are welcome.
Also notice that I practically don't know any Coffescript at all (!).
There is a small issue, but I don't know if it's caused by this snipper of by the snipping system itself: if the opened files already have a reference to a function (that exists in the ctags file) it will be shown twice on the autocomplete list: once with the parameters (generated by the snipper) and another time without them (what the autocomplete-plus package generates when autocomplete-ctags isn't present).

When the snipping system is disabled in options, there are no duplicate symbols.

If this is an independent error, I'll gladly open a separate GitHub issue for this. But since I never used the Coffescript snipper, I don't know if this is the case.

Thank you for a pull request!
Please try the latest version.

There is a small issue, but I don't know if it's caused by this snipper of by the snipping system itself: if the opened files already have a reference to a function (that exists in the ctags file) it will be shown twice on the autocomplete list: once with the parameters (generated by the snipper) and another time without them (what the autocomplete-plus package generates when autocomplete-ctags isn't present).

Please open issue.

I see you rather included a "default" snipper for these generic/simple languages, quite clever. Thanks for responding so quickly!

:smiley:


False conflicts in 1.16.1

We're updating a Rails app from version 4.2.9 to version 5+ and get such conflicts:
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    rails (~> 5.0) was resolved to 5.0.0, which depends on
      actionpack (= 5.0.0)

    redis-session-store was resolved to 0.9.2, which depends on
      actionpack (< 5.2, >= 3)

    responders was resolved to 2.4.0, which depends on
      actionpack (< 5.3, >= 4.2.0)

    rspec-rails was resolved to 3.7.2, which depends on
      actionpack (>= 3.0)

    simple_form was resolved to 4.0.0, which depends on
      actionpack (> 4)

But 'actionpack' 5.0 fits just right to all the dependencies. There are also similar reports related to 'activerecord' and other Rails components.
Bundler 1.15.4 produces no such conflicts.

Can you please attach the output of bundle env

ping @Jeiwan

Sorry for the delay, I had a busy week.
I saw this bug in a Docker container as well as on my local machine, and it appeared multiple times. I'll try to post all the details tomorrow, I need to recreate the same environment.

Strange, this is not reproducible anymore. Probably it was caused by some weird gems combination.


Memory leak: clip_tokenize and clip_image_preprocess

It looks like clip_tokenize and clip_image_preprocess both allocate arrays:
https://github.com/monatis/clip.cpp/blob/8f348725271db67517de871dea4a4e8a159e664f/clip.cpp#L721
https://github.com/monatis/clip.cpp/blob/8f348725271db67517de871dea4a4e8a159e664f/clip.cpp#675
however there is no way to free these arrays. I'm not sure if I'm missing something here with C++, but these methods should either provide a free or the ability to pass your own buffer.

clip_image_u8_clean and clip_image_f32_clean frees these arrays.

Looks like those functions were added a bit after I opened this issue.


ISPN-7153 AbstractClusteredWriteSkewTest can fail randomly still

Just do simple evict

https://issues.jboss.org/browse/ISPN-7153

@wburns the title say "add documentation" but I didn't see any documentation modified :)

Lol, darn copy paste :)

Updated

@wburns can you clean the unused imports?

sure

Fixed imports.

thanks @wburns

I guess I managed to push the commit without the imports fix before you @pruivo :)

lol

@pruivo @danberindei more commits for me yay! :)


[BUG] - Listbox Item href causes full reload (regression)

NextUI Version
2.4.8
Describe the bug
When navigating via Listbox it causes full page reload.
This seemed to be an issue in v2.4.0, but supposedly was fixed in "@nextui-org/link": "0.0.0-canary-20240529193819".
Initial issue: #3105
Your Example Website or App
https://codesandbox.io/p/devbox/nextjs-ui-46j3v2
Steps to Reproduce the Bug or Issue
You can clearly see that the links on the left (using listbox) reload the whole page, while the links on left (using Link) only do it clientside
Expected behavior
As a user I want the ListboxItem links to properly use client side navigation if NextUIProvider is properly defined
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

suggest to revisit after RA version bump. I think there's something changed internally on their side.

suggest to revisit after RA version bump. I think there's something changed internally on their side.

@wingkwong pardon my ignorance, but which lib is RA?

React Aria. NextUI is built on top of it.

Updating @react-aria/utils to 3.25.2 fixed it for me.
My package.json:
{
...
  "resolutions": {
    "@react-aria/utils": "^3.25.2"
  },
}

Updating @react-aria/utils to 3.25.2 fixed it for me.
My package.json:
{
...
  "resolutions": {
    "@react-aria/utils": "^3.25.2"
  },
}

NB: This might be a yarn-specific feature, check how to override transitive dependencies in your favourite package manager (e.g. overrides in npm)

Seems not work for me

Seems not work for me

Same thing here, an href on a ListboxItem keeps reloading the page.
I'm on the latest react-aria version

"resolutions": {
"@react-aria/utils": "^3.25.2"
},

This worked for me. I used 3.26.0 since that is the newest version.


update docs/volumes.md to v1beta3

update docs/volumes.md to v1beta3； also update some details in the doc
@erictune @thockin @nikhiljindal
ref #8087

Thanks @thockin. I've addressed your comments. Please take a look.
We can add a section for persistent volumes in the future.

LGTM

Merging to shrink the backlog.


Support for more deserialization controls via ITypeSerializers

Motivation
The current ITypeSerializer implementation works under the assumption that
all serialization/deserialization requests should have the same behavior.
Any client library which implements a custom ITypeSerializer overrides
this behavior for all requests to Couchbase.
However, there are instances where a specific request may require custom
options.  The particular example addressed here is change tracking in the
Linq2Couchbase library.  It needs to control the object creation process
for some deserialization requests in order to create change tracking
proxies.
Additionally, we need a method for custom ITypeSerializer implementations
to provide member name resolution information to consumers.  This will
allow Linq2Couchbase to determine the correct attribute names to use when
building N1QL queries.  Currently, it is forced to assume that the
Newtonsoft.Json behavior is in use.
Finally, there is currently no method to override the deserialization
process for N1QL queries on a per-request basis.
Modifications
Created a new interface which extends ITypeSerializer named
IExtendedTypeSerializer.
Added GetMemberName method to IExtendedTypeSerializer, which provides
member name resolution information to consumers.
Added DeserializationOptions to IExtendedTypeSerializer, which allows
consumers to set the options they'd like.  Currently, this object supports
only one option, CustomTypeCreator, which allows the consumer to override
the type creation process on a type-by-type basis.
Also provided a SupportedDeserializationOptions object.  This allows the
IExtendedTypeSerializer to define which options it does or does not
support.
Updated the DefaultSerializer to support all of the new interfaces,
methods, and options provided.
Additionally, created a new interface IQueryRequestWithMapper, inherited
form IQueryRequest, which adds a DataMapper to IQueryRequest.  Added this
interface to the default QueryRequest implentation.  This allows the data
mapper used for N1QL queries can be customized on a per-request basis.
Results
For users using the DefaultSerializer based on Newtonsoft.Json, they will
immediately have access to the new features on IExtendedTypeSerializer.
This includes a method to resolve member names, and the ability to
override the type creation process.  This will allow Linq2Couchbase to
transparently implement change tracking proxies.
For projects using a custom ITypeSerializer implementation, consumers such
as Linq2Couchbase can detect support for advanced features by testing for
the IExtendedTypeSerializer interface.  If present, they can then test for
specific features via the SupportedDeserializationOptions property.
Backwards compatibility is fully maintained by these changes.
Additionally, the use of SupportedDeserializationOptions will allow the
addition of more deserialization options in the future without creating
backwards compatibility issues.

Thanks for the pull request!!  To ensure quality review, Couchbase employs a code review system based on Gerrit to manage the workflow of changes in addition to tracking our contributor agreements.
Transferred commit (6189851f03f9865dc091a76312bcb574a1f097b3) to Couchbase Review site:
http://review.couchbase.org/#/c/56960
::SDKBOT/PR:created

@brantburnett -
Thanks Brant, this has been merged! Can you close the PR?
-Jeff


GFM alerts

Hello,
I recently came across GFM alerts. Apparently it's a recent feature:
https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
Are there any plans to incorporate this through a new extension? Or are admonitions the way to go?
Thank you for your feedback

If you have a desire for GitHub style alerts, this might be the closest thing: https://github.com/oprypin/markdown-callouts.
Generally, Python Markdown supports addon behavior through 3rd party extensions. Python Markdown is not meant to be the single repo that implements all the various Markdown variants out there. It supports a few extensions in the base, and the community provides the rest via 3rd party extensions.

If you have a desire for GitHub style alerts, this might be the closest thing: https://github.com/oprypin/markdown-callouts.
Generally, Python Markdown supports addon behavior through 3rd party extensions. Python Markdown is not meant to be the single repo that implements all the various Markdown variants out there. It supports a few extensions in the base, and the community provides the rest via 3rd party extensions.

Ok thank you for your explanation


[release-2.38.0] Ensure the removed option prebuild_sdk_container_base_image not used on its own.

Cherry-picks https://github.com/apache/beam/pull/17204

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @youngoli

Python precommits will likely fail due to missing containers. looks like unit tests passed in several environments.


Avoid Jurisdiction?

Feedback from D. Koerner - jurisdiction is open for different interpretations. Maybe instead refer to the country where the registration authority is located?

The determination of the jurisdiction for a company is highly controversial. See for example: Tensions between European Union Law and Private International Law – impact on cross-border mobility of companies – Official Blog of UNIO Some adhere to the business address. Others use instead the registered address to determine the seat/jurisdiction of a company. As STIRData provides both information on where a company is doing business (business address) and information on where a company is registered I do not see a spesific need to inform about the jurisdiction for the company. ISA2 core vocabulary uses jurisdiction only for persons. Therefore I suggest to drop "jurisdiction" as data element in STIRData.


MVP of how to add custom scripts to the amnesia terminal on TailsOS

Document (or maybe do some shell scripting) of an minimum viable product (MVP) of how do deploy scripts that are acessible by the user on TailsOS.
As reference, the /home/amnesia/.profile alredy seems to load to the path the /home/amnesia/bin if already was created when starting a new shell
amnesia@amnesia:~$ cat .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
umask 077

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

Edit: missed last line of code on sample code. Added.

We're already doing this. Maybe we could just document better (than people look at the dotfiles, in special the dotfiles/example/rocha/.bash_profile if they want know about startup scripts) or we assume it's done.

Oh f**k me. Did not work as expected.
I think instead of do the rigth way (read the documentation and undestand how it is suposed to work) I will just reinvent the wheel!
Anyway, either for my future self (or anyone trying to do the less wrong way) this was the current version of .bash_profile.
The main error I found was, when restarting the Tails, neither /home/amnesia/Persistent/software/bin or /home/amnesia/Persistent/bin was added to the path (maybe .bash_profile is ignored.. for every new terminal).
https://github.com/fititnt/TailsOS-for-non-whistleblowers/blob/ef1777ee53e65f108c8b4b42059a3f865441cf14/dotfiles/example/rocha/.bash_profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
umask 077

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

#### Custom additions from original ~/.profile, START __________________________

#### /home/amnesia/Persistent/software/bin .....................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/software/bin" ] ; then
    PATH="/home/amnesia/Persistent/software/bin:$PATH"
fi

#### /home/amnesia/Persistent/bin ..............................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/Persistent/software/bin and /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/bin" ] ; then
    PATH="/home/amnesia/Persistent/bin:$PATH"
fi

#### Startup scripts ...........................................................
# TODO: this feature was not fully tested yet. (fititnt, 2020-10-24 18:42 UTC)
#
# Note: this code exists both on the my-git-repo/bin/startup-scripts.sh and
#       my-git-repo/dotfiles/example/rocha/.bash_profile

# If ~/bin/startup-scripts/ (or ~/bin/startup-scripts-examples/) exists, we
# execute every .sh file there
if [ -d "$HOME/bin/startup-scripts" ];
then
    run-parts --regex '.*sh$' "$HOME/bin/startup-scripts/"
elif [ -d "$HOME/bin/startup-scripts-examples" ];
then
    run-parts --regex '.*sh$' "$HOME/bin/startup-scripts-examples/"
fi

#### Custom additions from original ~/.profile, END ____________________________

On the docs/zzz-undocumented.sh I was using just
rm -r ~/bin
ln -s /home/amnesia/Persistent/git/fititnt/TailsOS-for-non-whistleblowers/bin ~/bin

So maybe lets call this a feature.

Ok, I just created a release here https://github.com/fititnt/TailsOS-for-non-whistleblowers/releases/tag/v1.0. So I will do some refactoring.
I may not do new releases on future, but this release is just to I care less of more severe refactoring.

Things are improving

tails-do-it : add our custom place to store files
tails-ui-options-import: import terminal colors, gedit themes, etc
tails-code: load one portable vscode on disk to the ram and executes


Add extensible handlers to DeveloperExceptionPage

Add extensibility point to sub-systems to add handlers via DI that get inspected when an exception occurs. The handler can choose to render a response (e.g. the current EF diagnostic middleware page would change to this) or pass-through (do nothing). The middleware would fallback to rendering an HTML error page if no handler matched and the client sent an Accept header that included text/html, otherwise it would just return the error as plain text. For API responses, MVC would register a handler that formats a ProblemDetails with the relevant information according to the configured formatters.
There's 2 work items here:

[x] - Allowing components to take over the rendering of the error page depending on the exception type (like how EF has the database error page)
[ ] - Rendering a plaintext response if the client isn't a browser (if the Accept header does not contain text/html)

As a strawman design for the first part of this issue, we could introduce a simple interface like this:
public interface IDeveloperPageExceptionFilter
{
    Task HandleExceptionAsync(HttpContext context, Exception exception, Func<HttpContext, Exception, Task> next);
}

This follows the filter pattern we have elsewhere in the product (middleware, startup filters etc)

Short circuiting the default logic means you don't call next
With access to the Exception and next you can change the exception type in a filter and call next with a more specific exception (it would allow for doing things like exception unwrapping)

We could provide an ExceptionContext in case we wanted to expand it further in the future with more data (it clashes with the ExceptionContext type in MVC though so maybe a different name).
cc @rynowak

This pattern seems OK, how do we decide on the order? Are these in DI or options? What's the lifetime? Those are some of the rough edges in MVC's filters. If it's based on options then the answers are pretty straightforward IMO.
+1 for the idea of chain of responsibility here. Is the idea that we register the current behaviour as the last filter?
I'm not sure the idea of transforming the exception is valuable. I think it's fine if the contract allows it, but I don't see why its necessary.
I don't think we need a context here. If we get that far, we might want to consider using features or enhancing existing contracts on http context.
note: since nothing clears the endpoint on throw - you could use endpoint metadata in one of these filters.

This pattern seems OK, how do we decide on the order?

DI order, like IStartupFilters. I don't think the order will matter that much in practice as I'm hoping the majority use case is to filter on exception type if you're not wholesale changing exception formatting (then you just need to be the first).

Are these in DI or options?

DI.

What's the lifetime?

Singleton

I'm not sure the idea of transforming the exception is valuable. I think it's fine if the contract allows it, but I don't see why its necessary.

Turning an Aggregate into something else or a TargetInvocationException into something. It might be contrived but we'll see what people do.

note: since nothing clears the endpoint on throw - you could use endpoint metadata in one of these filters.

👍 That's pretty useful.

DI order, like IStartupFilters. I don't think the order will matter that much in practice as I'm hoping the majority use case is to filter on exception type if you're not wholesale changing exception formatting (then you just need to be the first).

I think there's another important dimension here - what is the client? We've wanted for a while to have a JSON version for APIs.
If the framework registers handlers for you then it won't be straightforward to resolve ordering problems.

Turning an Aggregate into something else or a TargetInvocationException into something. It might be contrived but we'll see what people do.

If that's the case though, then I wouldn't do it that way as a user. It's a little too clever.
If there are places the framework always throws a TIE or an AggyBoy we should treat those as bugs should being unwrapping for you.

Imagine registering a handler that does problemdetails for an API based on IApiBehaviourMetadata ([ApiController])

I think there's another important dimension here - what is the client? We've wanted for a while to have a JSON version for APIs.
If the framework registers handlers for you then it won't be straightforward to resolve ordering problems.

That's a good question. If you look at the original issue, we also want to change the output to the plain text exception if text/html isn't in the accept header (or if there's no accept header). That's the lowest common denominator and wouldn't be expressed as a filter (it'll just be built in).
So that was the intent. If a filter ends up being greedy it'll never run but I don't know that we want to do any more complicated matching (content type/metadata/exception type). I think in a typical application with MVC and EF, we'll have 2 of these filters:

The one you mention that uses IApiBehaviourMetadata on the Endpoint to determine if to show JSON (or use conneg etc)
The EF database error page filter (that would replace the database error page)

The EF one will show up only if the exception is of a specific type so it won't be greedy. Can you think of other things that might cause issues in practice?

If there are places the framework always throws a TIE or an AggyBoy we should treat those as bugs should being unwrapping for you.

Maybe, it means you lose the ability to do your own formatting of those types of exceptions. I wouldn't want to hide that type of information. I just threw that out as a possible example of a thing that would change the exception type. I don't know if anyone would ever need to do it though.

FYI here are previous bugs tracking related (similar/same) stuff:

Very related:

https://github.com/aspnet/AspNetCore/issues/2590 - DeveloperExceptionPageMiddleware always returns HTML, sometimes JSON would be better
https://github.com/aspnet/AspNetCore/issues/2573 - Provide in-the-box handling for page vs. API errors

Not quite related, but related contepts:

https://github.com/aspnet/AspNetCore/issues/2591 - Passing more than Status Code to the Error action
https://github.com/aspnet/AspNetCore/issues/2589 - Define handlers for status codes with UseStatusCodePages

If the 'very related' bugs are entirely covered by this, should close those.

Maybe, it means you lose the ability to do your own formatting of those types of exceptions. I wouldn't want to hide that type of information.

I'm referring to cases where the TIE or AggyBoy doesn't have any information. If you use reflection to invoke a method, there's no real downside to unwrapping the TIE you get back. Likewise for a Task.Result.
I realise this is just banter at this point 😆

Moving this to preview5, here's what I think we should do:

Support the plaintext option. I think it'll break a bunch of tests since lots of them use TestServer and assume HTML will come back (this should be easy to verify)
Try to implement
MVC JSON formatting
The EF page - This will return into code in ConfigureServices vs Configure since something will need to add the EF middleware (assuming it'll be application code for now).

So in the con-neg you want plaintext to be the fallback? Or should the real fallback still be text/html if no Accept-Type is sent?

If you were doing real content negotiation you'd be honoring the client's Accept ordering preference. That doesn't match up with this pipeline model as well.
text/plain is the safest fallback, and the easiest to understand in the common dev/debug scenario. I always hate having to dig through HTML in the debugger, test logs, etc..

Con-neg doesn't require honoring anything! 😄 And it says nothing about the ultimate fallback in case no desired content types are supported. I agree that plaintext is simplest to see, but I wanted to understand if there's any consideration to "compatibility" or "doing what most people would expect."

With https://github.com/aspnet/AspNetCore/pull/9342 merged, is this done? We now have a plain-text exception page.

Yes I'll file another IIS for the other work items (MVC and EF)

As far as I can see, this item should not be marked as done, as it only addresses the second point in the OP, not the first.

Not sure what you mean.


if getattr -> hasattr

Python has a function hasattr which does exactly what was intended in those situations. Also more english-like.

Coverage remained the same at 83.955% when pulling 236a7b83d05801ebc9621d2941a8d6871e975f81 on gabrieldemarmiesse:use_hasattr_ into 59b6dee67bcb92e82e6e8ea63a8d8d8b6105d67d on IDSIA:master.

After a bit of search on google, it seems this error also happen with Cython. So it seems related to python extensions. It would be weird that it would happen only with pybind11.


Move GPP's conflicting recommends to suggests

GPP currently recommends a number of mods that conflict with one another.
Cloud packs:

GPPCloudsHighRes
GPPCloudsLowRes

Rescales:

Rescale-25
Rescale-32
Rescale-64
Rescale-10
Rescale-10625

Currently if you install GPP from the command line, it installs Rescale x2.5, which should probably be something the user chooses rather than the default. And GUI defaults to installing them all:

This pull request moves these mods from recommends to suggests, so the user can choose which ones they want, if any.
Pinging @Galileo88 for FYI/feedback.

@Sigma88, should some of your recently indexed mods be added as dependencies here?

not necessarily dependancies, but I think probably "Recommends" would be the best choice for:

SigmaReplacements-Heads
SigmaReplacements-Suits
SigmaReplacements-SkyBox
SigmaReplacements-Navigation

idk if Sigma Binary would be better as recommended or suggested
anyways, I know @Galileo88 was waiting for KerbalDescriptions to be merged into CKAN so he could make a PR for GPP so I assume he will fix all those in his PR

Cool, I've added those. I was initially just going to fix the conflicting recommendations, but with this other stuff going on, we might as well tee up the changes we know about, and when he's ready @Galileo88 can stop by and look them over rather than starting his own metadata from scratch.

We're already indexing the new version of some of the other GPP related mods. I think it'll be better to merge now rather than waiting further, since more changes can always be made...


OrderDict concurrency - WeakRefTracker class is not thread safe

Hi All,
We have experienced a concurrency issue with OrderDicts which causes various errors including: "Index out of range", "weakref has gone away" and "array copy" exceptions.
This can be reproduced by creating lots of OrderDict instances in different threads at the same time. OrderDict uses the abc module, which in turn uses WeakSet to track metadata, which in turn uses weakrefs which seem to be the root cause.
Attached is a script which reproduces the issue (perhaps 1 in every 5 runs will fail). eg, in our local release version:
Exception in thread Thread-8:
Traceback (most recent call last):
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\threading.py", line 801, in _Thread__bo
otstrap_inner
    self.run()
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "ironpython_weakref.py", line 37, in create_stuff
    [make_list() for _ in range(10)]
  File "ironpython_weakref.py", line 29, in make_list
    return collections.OrderedDict(
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\collections.py", line 69, in __init__
    self.__update(*args, **kwds)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\_abcoll.py", line 571, in update
    for key, value in other:
  File "ironpython_weakref.py", line 31, in <genexpr>
    for __ in range(8)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\collections.py", line 69, in __init__
    self.__update(*args, **kwds)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\abc.py", line 151, in __subclasscheck__

    if subclass in cls._abc_cache:
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\_weakrefset.py", line 72, in __contains
__
    wr = ref(item)
IndexError: Index was outside the bounds of the array.

and
Exception in thread Thread-15:
Traceback (most recent call last):
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\threading.py", line 801, in _Thread__bo
otstrap_inner
    self.run()
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "ironpython_weakref.py", line 37, in create_stuff
    [make_list() for _ in range(10)]
  File "ironpython_weakref.py", line 29, in make_list
    return collections.OrderedDict(
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\collections.py", line 69, in __init__
    self.__update(*args, **kwds)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\_abcoll.py", line 571, in update
    for key, value in other:
  File "ironpython_weakref.py", line 31, in <genexpr>
    for __ in range(8)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\collections.py", line 69, in __init__
    self.__update(*args, **kwds)
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\_abcoll.py", line 564, in update
    if isinstance(other, Mapping):
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\abc.py", line 132, in __instancecheck__

    if subclass is not None and subclass in cls._abc_cache:
  File "C:\TFS\SDKS\ironpython\2.7.7\Lib\_weakrefset.py", line 75, in __contains
__
    return wr in self.data
TypeError: weak object has gone away

Looking at the code in WeakRef.cs, I can see that the _callbacks list is not thread safe which lines up with the stack traces in VisualStudio when debugging these issues.
I have made a tentative patch in my local fork to wrap access to the _callback list with a ReaderWriterLockSlim which seems to fix the issue (ie 20 runs without any errors). But I'm not certain if that is the correct fix as I'm really just patching the symptom - perhapss this would have some vast performance penalty?
Happy to provide any further info or submit a PR with my change if that helps.
Cheers
Chris
ironpython_weakref.zip

BTW, I also see a comment in Languages\IronPython\Tests\test_weakref.py saying:
* Issues of the current implementation of _weakref.cs:

- weakref finalization callbacks are run in the CLR finalizer thread.
This is likely to cause data races in user code.
- WeakRefTracker.cs code and internal state handling most likely is not
implemented in a thread-safe way.
Which seems to agree with the spirit of the suggested fix.

Pull request added with my suggested fix.


feat: update to Uno 4.9

GitHub Issue: #

Proposed Changes

What is the current behavior?

The version used in the package is not updated for the support that Uno added for WebView2.
What is the new behavior?

Update to latest 4.9 version of Uno.UI.
Checklist
Please check if your PR fulfills the following requirements:

[ ] Documentation has been added/updated
[ ] Automated Unit / Integration tests for the changes have been added/updated
[ ] Contains NO breaking changes
[ ] Updated the Changelog
[ ] Associated with an issue

Other information

The target MonoAndroid11.0 was removed because of this error thrown if the package kept it
error : This version of the Android SDK (11.0) is not supported by Uno Platform. You must change the "Compile using Android version:" field in the android project property with at least version 12.0.


Consider migrating to Maplibre

We'd migrate from Leaflet to https://maplibre.org.
MapLibre is vector-based, which should be faster to load than Leaflet's raster-based approach. It also reduces our data usage from Stamen Tiles.
However, this might be a big rewrite, especially wtih CSS. So I'm not sure it's worth it.

I'm voting no. We're only using half of our data allotment for map tiles, and it's not very expensive if we have to upgrade more.
Regarding performance, https://blog.locationiq.com/vector-or-raster-maps-which-one-is-best-for-you/ doesn't make it sound like it's that dramatic of an improvement for user experience. It can actually be worse for low compute devices. Either way, the biggest issue with our map is the size of the lots data set, not the map tile itself.
Our engineering time would be better spent on other projects.


Use a fixed-length array instead of a Vec to represent answers

Arrays include their length as part of their type ([u32; 4] in this case) which provides some compile-time safety checks like preventing answer[5]. You can still get a runtime panic by using a variable to index into it past the end, but it's a start. Since this data isn't mutable you don't need a dynamic data structure like Vec.
Incidental to this PR, I also made the exclusion check in gen O(1) by using a HashSet.
Rust Playground demo

Ahh sorry! I meant to take some time to read and understand this and promptly forgot. These all make sense. Thanks for the detailed commit messages and this PR, Zac!


Travis CI Integration - fix dependencies

Allow for nlytx-commons dependency for travis CI build.

This issue was moved to uts-cic/tap#3


Two fields must be equal

I want to use SimpleSchema for checking if the email and emailCheck fields in my React form are indeed identical. But for some reason I can't seem to find this option in the docs, even though this seems like a logical thing to exist.
This is what I got right now:
export default UserSchema = new SimpleSchema({
    firstName: {
        type: String,
        label: 'First Name',
        max: 100
    },
    lastName: {
        type: String,
        label: 'Last Name',
        max: 100
    },
    email: {
        type: String,
        regEx: SimpleSchema.RegEx.Email,
    },
    verifyEmail: {
        type: String,
        regEx: SimpleSchema.RegEx.Email,
    }
});

what I'd like to have is something like:
export default UserSchema = new SimpleSchema({
    firstName: {
        type: String,
        label: 'First Name',
        max: 100
    },
    lastName: {
        type: String,
        label: 'Last Name',
        max: 100
    },
    email: {
        type: String,
        regEx: SimpleSchema.RegEx.Email,
    },
    verifyEmail: {
        type: String,
        regEx: SimpleSchema.RegEx.Email,
        equals: email  // <<<<-------
    }
});

Am I missing something?

There is not a specific property for it but there are instructions here: https://github.com/aldeed/node-simple-schema#validate-one-key-against-another


mode configs can also be provided as part of the executor config

The config of a step could also be provided at the global executor level in the mode_configs section of the config of the executor.
mode:
type:
config:
mode_configs:
The step names should be dot pathed.
Parallel branches are easy as they are pre-known.
For map state, the mode config is at the level of the node.

Cancelling it for now as we have a concept of placeholders which can help here significantly.


As a Service Provider, I Want to Manage My Service Listings and Profile Information

As a public service provider,
I want to update my profile and manage my public service listings,
so that I can ensure the accuracy of the services I offer.
Acceptance Criteria:
Service providers can access their profile page to view and edit personal and organizational information.
Providers can add, update, or remove public service listings.
Changes are saved and a confirmation message is displayed.
Definition of Done:
Service providers can update their profile and manage service listings with changes confirmed via on-screen messages.


Input Images that are fed into the model during prediction aren't normalized?

The model sees z-score standardized images during training, but not during evaluation. I think this should be fixed.

Fixed


Do not build for python 3.8 in Github CI

Python 3.8 is no longer officially supported.

versioneer.py, docker.yml, _nrt_python_helper.c, and all other occurs in conda-package.yml should be updated as well.
P.S.: we can update conda-package.yml, so it takes python versions just from one place, not setting it 3 or 4 times.

Done. I left versioneer.py alone as it is a vendored copy of versioneer.


minor: tweaks to presets in Tags.lua

Incursions got "loops" added to it
Halls of Origination got "halls" added.

requires future disambiguation with wotlk's "halls" dungeons

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#55  👈
#54
working-trunk

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @juemrami and the rest of your teammates on  Graphite

Merge activity

May 22, 5:46 PM EDT: @juemrami started a stack merge that includes this pull request via Graphite.


During ./configure specify --with-webapi

I followed the docs on a Ubuntu 14.04 system and everything looked like it worked fine, but pmwebd did not get installed.  ./configure will fail silently if certain libraries are missing.  If you specify --with-webapi it will exit if the libraries are not installed during ./configure.
Change
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
to
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi
in documentation

Thanks @sstarcher ! Just updated the wiki page to reflect this.


[FLINK-16455][hive] Introduce flink-sql-connector-hive modules to provide hive uber jars

What is the purpose of the change
Provide uber jars to improve hive dependencies out-of-box experience.
Brief change log

Introduce flink-sql-connector-hive-1.2.2
Introduce flink-sql-connector-hive-2.2.0
Introduce flink-sql-connector-hive-2.3.6
Introduce flink-sql-connector-hive-3.1.2

Verifying this change
Manual testing
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run travis

Thanks @bowenli86 and @lirui-apache for your review. Merging...

I believe

Dependencies (does it add or upgrade a dependency): (yes / ** -> no <-**)

is not correct


create-platformatic should ignore *.sqlite files by default

As titled

I guess in .gitignore, correct?

yes!


Remove the if statement

Not sure if should just remove legend_cols and implement legend_orientation since I don't think bokeh supports legend cols yet?

Personally I'm -1 on this, it's a major change in behavior. I'd vote for putting in the effort and adding proper support for legend_cols in bokeh.

I'll close, maybe just bump https://github.com/bokeh/bokeh/issues/3880.


Missing repo description + bad link for homepage

:wave:
We're still linking to the old docs page for our description homepage, and we're missing a description. It might be time for someone with admin repo access to update these :)

#177?

Ah, thought that was referencing the link in lib.rs (which I've updated). Will add the missing description to that issue.


Adds table name to the field proto

https://dev.mysql.com/doc/refman/5.7/en/c-api-data-structures.html
The table and table_length fields are available in the C api but are not passed through to clients for use. One of our core java client libraries depends on http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSetMetaData.html#getTableName(int), which in the existing Vitess Driver was hardcoded to return null.
This PR adds table to the Field proto, populates it in the mysql.Fields() function, and allows access in the Java client.  All tests updated to account for the new field, and succeeding.
I've also tested this in our deployment.  However, I've not been able to get the full make test to work in my local dev yet, this was tested with make site_test.
This is my first foray into both go and vitess, so feedback welcome.

We wanted to make this extra field optional, to not add too much network overhead for the apps that don't need it. So we want to add a boolean to 'ExecuteOptions' to include that info or not. ExecuteOptions already has exclude_field_names to not add field names, it could also have an 'include_table_names' to include the fields. What do you think?

Alright, I'll add that

FTR, Jiten is working on supporting this (and other necessary extras) as part of the MySQL protocol work.

Have been away for a few days but am getting back to this. I spoke to @jvaidya and we agreed that I can take over adding the extra fields in this PR instead of his, as it was orthogonal to his work.
I'm wrapping up the inclusion of an exclude_field_metadata in Query.ExecuteOptions, following the convention of exclude_field_names. The goal would be for my new option to supercede the now-deprecated old one, as I don't think it makes sense to have a separate exclude_ field for every field metadata type.
Once I've got that working and tested in my environment, I'll add the other mysql protocol fields to the response as well, similarly excluded when exclude_field_metadata is set.
Aside: There was a problem with our corporate CLA and we're hoping to have that resolved next week.

I think this is ready for a review. Here's a couple notes:

This PR only adds the new fields to the response, and the exclude_field_metadata option
I will add a separate PR for JDBC support of these fields (code is almost ready, adding tests)
All tests have been updated to account for the new fields. Tests were added to ensure exclude_field_metadata and exclude_field_names have basically the same effect (for backwards compatibility)
Flags were added to the proto to support additional features in the JDBC, however...
Flags add a bit of complexity to the tests -- in local testing (which was using MySQL5.7), results would include an additional NO_DEFAULT_VALUE_FLAG. But in travis CI (which uses mariadb), it did not include that flag. This caused mismatches in the endtoend tests. This is why I added explicit default values to all fields in main_test.go. I'm open to other suggestions here.

Sorry for the late review, I wanted to check with the team on this, and it took me forever. :(
The main comment we have is we think we should keep the query options as follow:

exclude_field_names bool: do not deprecate it, keep it.
change your exclude_field_metadata into an include_field_metadata.

By default, we return both Name and Type. To be efficient, and if a client wants to at high QPS, they can remove the Name (but if nobody uses that, we'll just remove that flag). To be complete, and if a client wants to, they can add the extra metadata. The Java client may always do that.
No extra query option does what we do now, which we think most users want.
What do you think?

@alainjobart -- this sounds good to me, however i feel like it's weird to have both an exclude and an include like field. It would probably be clearer to use exclude for both, but maybe default exclude_field_metadata to true.  Thoughts?

With proto3 you can't have a boolean default to true... it is false by default.
I agree having both exclude and include flags is not ideal. But they somewhat match the fact that what most people want is one included and the other one excluded...
Let me check if anyone is using the exclude_field_name one, and if not we could just remove that one.

@alainjobart I pushed a commit which changes to an Enum. It compiles, but the tests will not succeed currently.
Let me know what you think of this, and I can either revert or get the tests working and clean it up

FYI @jvaidya you'll want to rebase your mysql proxy on top of this once it gets merged

Yep, I have been following this thread with interest, and will do so when
your code lands. Thanks.
On Thu, Jan 5, 2017 at 11:53 AM, Bryan Beaudreault<EMAIL_ADDRESS>
wrote:

FYI @jvaidya https://github.com/jvaidya you'll want to rebase your
mysql proxy on top of this once it gets merged
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/youtube/vitess/pull/2381#issuecomment-270740413, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEXuGdJsnU-x52gNah6HqCCWtUl3N7OFks5rPUoogaJpZM4LPpRk
.

@bbeaudreault this looks great, both Sugu and I like it!
I don't think anyone is using the exclude_field_name flag. I'd be OK with you just deprecating it (by reserving the filed id in the proto and commenting it, like:
// This uses to be exclude_field_name, deprecated and replaced by the enum below...
reserved 1;
Then all you need to do is pass the enum value instead of the exclude_field_name in the APIs, and you're good. That should make the change simpler too.
Does that work for you?

Works for me, thanks @alainjobart! I'll go ahead and reserve that id, then remove up the compatibility code and fix/cleanup tests. Will ping again today or tomorrow for a re-review

@alainjobart this is all set. I still kept a function to handle converting a nil ExecuteOptions to the default value. I could move that in to StripMetadata directly if that would be cleaner.
I added an endtoend test to ensure that we properly handle that fallback case when various values of ExecuteOptions are passed into Execute/StreamExecute.  And I modified the result_test.go to handle the various possible ExecuteOption values.
I also tried updating the docs. I updated VitessApi.md, but could not figure out how to get make build_web to work

Just a comment on the web site, you just need to run:
./publish-site.sh --docker
it will use the right docker images to build the site, no need to download any software.

@alainjobart done.
Thanks for the review, and also for the note about publishing the site.  I looked into doing that just now, and it a ton of site files. To avoid merge conflicts (i noticed you recently published the site too), I excluded the publish commit from this PR.  Once it's merged, someone (or I) can do a separate PR for the site

Sounds good, I'll do the publish later.
I'll merge this as soon as travis passes.

@bbeaudreault Did you get pre-commit warnings when you created commits for the Go code?
For example, go lint should have complained about this in sqltypes/result.go:
// Normalizes the passed Execution Options, returning our default value if options happens to be nil func IncludeFieldsOrDefault(options *querypb.ExecuteOptions) querypb.ExecuteOptions_IncludedFields {
The lint error is that the comment must start with // IncludeFieldsOrDefault ....
I'm asking because I want to understand if external contributors explicitly ignore the warnings or there's a general problem with the way we install the pre-commit check in bootstrap.sh.
Ideally, nobody should ignore any precommit warning and always address them :)
Regarding the lint errors itself. I'll create a PR shortly to fix them.
(I'm bringing this up now because our internal tooling runs go lint on the changed code when we import it from GitHub.)

Sorry for that @michael-berlin  -- I have not gotten any precommit warnings. I didn't know they existed, in fact.
I just checked my git config, and I'm using a global git hooksPath config to point at my company's git hooks.  I can try to symlink the vitess githooks into it

No worries :)
Did you run bootstrap.sh?
Do you know if the global hooksPath will result into ignoring the per-Git hooks?
We're enabling the hooks for the Vitess Git repo here by copying it to .git/hooks (relative to the local Vitess Git repository): https://github.com/youtube/vitess/blob/master/bootstrap.sh#L246

@michael-berlin yes, I did run bootstrap.sh, and it did symlink the pre-commit into .git/hooks. The problem is I guess if you have global commit hooks (not per-repo), those take precedence.  I'm still looking into it, but I at least got the pre-commit hooks running now by symlinking them to make them get picked up by the global hooks we have configured outside.
Also, would it make sense to add running of the hooks to the travis build? That also would ensure that no one accidentally misses the hooks

Also, would it make sense to add running of the hooks to the travis build? That also would ensure that no one accidentally misses the hooks

Yeah, I agree ;(
I already looked into it once and thought a custom solution wouldn't be ideal. Instead, I was considering more generic solutions which you can add as service to GitHub e.g. https://codeclimate.com/
Maybe I should re-consider to run our hooks. There are only two problems:

I need to find out against what we should diff e.g. should we calculate the diff of a PR against master?
sometimes there are false positives and we don't want to block the tests on that :)

Running
git config core.hooksPath .git/hooks

Within the cloned vitess git repository adds the proper section to the .git/config to ensure that the hooks are run. I've verified that it overrides my company's global git hookPath, which makes sense those commit hooks don't make sense in vitess.
Maybe we can add that call to the bootstrap.sh? Or is that too heavy handed?

I don't see a downside: After setting it on my workstation, the hooks still work for me.
Do you want to send a PR for the change? (Otherwise, I can also do it.)

Submitted https://github.com/youtube/vitess/pull/2452


add formalization of Paxos using VLSMs under Examples

Merging this PR will mean that we only support Coq-std++ 1.9.0 or later.
Unfortunately, there is no Coq Platform release with this version of Coq-std++ yet. We can add back the Platform-related building documentation when the Platform release appears.

Would it be hard to alter the Paxos definition to maintain compatibility with std++ 1.8.0?
Would it make sense to have a compatibility module with missing functions from std++ 1.9.0?

@traiansf the changes in stdpp 1.9.0 in the definitions used by Paxos were such that I consider it unfeasible to be compatible with both stdpp 1.8.0 and 1.9.0. It's not just a question of missing definitions, but also fundamental changes in how typeclasses are defined and in typeclass resolution.
Since stdpp 1.9.0 is the version used in the next Coq Platform that will be released soon for Coq 8.18, it doesn't make much sense to me to only support stdpp 1.8.0. Recall that stdpp 1.9.0 supports older Coq (back to Coq 8.16).


A task was cancelled

When I try to use your library on a Windows project, I get this error message "A task was cancelled" when it try to reach the Apple APNS (Development) servers.
I do not know how to proceed from here ....

@tonyfonager would you be able to post more of your code as it's hard to see what's wrong from what we have now.

I am just calling it just as in your example code, but with my own parameters.

@tonyfonager I need some details, unfortunately I can't guess why it's failing for you.

I can understand, but only thing that differs from you example, is my parameters (TeamId, Bundle, private key etc), and you cannot use them for anything.
I just wanted to hear if the error made sense to you, if not - I guess I will move on ;-)
Thanks!

@tonyfonager all I can suggest, triple-check all parameters, make sure cert string has no -----BEGIN CER..-----  and what not, make sure all calls are awaited in your code, check the payload, know which server to send your message to e.g. Development/Production.

@tonyfonager seems like some parts of the library require .NET Core 3.1. So depending on your project it may or may not work. Thanks


example fixes, couple added '.' and 'b'

example chia lisp now runs and returns expected value

These changes have been resolved here: eb45ab8ce7ffa2376bc1d10251acb2ff14a5172a (Except one which will be merged soon enough)


try letting mergify add bors r+

Will a bot obey another bot?
TO CONTRIBUTORS:
Make sure you have:

[ ] reviewed and applied the coding style: coding, naming
[ ] reviewed and applied the documentation requirements
[ ] for tactics:

[ ] added or adapted documentation in the tactic doc entries
[ ] write an example of use of the new feature in test/tactics.lean or another test file

[ ] make sure definitions and lemmas are put in the right files
[ ] make sure definitions and lemmas are not redundant

If this PR is related to a discussion on Zulip, please include a link in the discussion.
For reviewers: code review check list

bors r+


md_rand.c: don't stop polling until properly initialized [1.0.2]

Previously, the RNG sets initialized=1 after the first call to
RAND_poll(), although its criterion for being initialized actually
is whether condition entropy >= ENTROPY_NEEDED is true.
This commit now assigns initialized=(entropy >= ENTROPY_NEEDED),
which has the effect that on the next call, RAND_poll() will be
called again, if it previously failed to obtain enough entropy.
Noticed while working on #7437

@paulidale does your approval for #7438 extend to 1.0.2 too?

Merged, thanks!


how to save ,  when runned python demo.py , edited face picture

how to save ,  when runned python demo.py , edited face picture

Hi, you can add a button to the UI to trigger saving the edited image.

Close due to inactivity.


[tsp-client] unexpected error when running tsp-client update

@azure-tools/typespec-client-generator-cli: 0.13.0
@azure-tools/typespec-python version: 0.35.0

When regenerate SDK for azure-mgmt-trustedsigning with cmd:
PS C:\dev\azure-sdk-for-python\sdk\trustedsigning\azure-mgmt-trustedsigning> tsp-client update

, the following error happens and no SDK code refreshed:

However, if run command with additional configuration --save-inputs, no error happens and SDK code is generated successfully:
C:\dev\azure-sdk-for-python\sdk\trustedsigning\azure-mgmt-trustedsigning> tsp-client update --save-inputs

This issue blocks upgrade on<EMAIL_ADDRESS>https://github.com/Azure/azure-sdk-for-python/pull/37633 and you can reproduce the error with that PR.

I saw a similar issue with someone from the powershell emitter team. It ended up happening because they were missing an await somewhere in their code. Could you take a look and see if you're missing an await somewhere? If it's fixed with the save-inputs flag, this makes me think that we're having an async problem somewhere


networkmanager: remove restart after suspend from resume

Motivation for this change
In commit ec9dc73 restarting NetworkManager after resume from
suspend/hibernate was introduced.
When I initially switch to NixOS I started noticing a high delay between
wakeup and re-connecting to WiFi & wired networks. The delay increased
from a few seconds (on my previous distro, same software stack) to
almost half a minute with NixOS.
I (locally) applied the change in this commit a few weeks ago and tested
since then. The notebook/mobile device experience has improved a lot.
Reconnects are as before switching to NixOS.
Issue #24401 could be related to this. Since I am not using KDE/plasma5
I can only guess…
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

This is similar to #30124.

@domenkozar
curious why the original change was done

@danbst upon resuming suspend, although connection as supposed to be established according to nm, packets were getting through.

I have experienced such issues with NetworkManager before this PR was merged, but they were expected: I was resuming in a totally different place that has the synonymous WiFi network. (And I did not experience the delays @andir has described, so I was not even aware that NetworkManager was restarting.)


How can I use GPU to speed up the process?

When I train the model the lines below would show up:
2017-10-25 21:03:30.854048: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 21:03:30.854067: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 21:03:30.854071: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 21:03:30.854074: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 21:03:30.854077: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
But I don't want to use CPU to do the computations how could I change this situation?

Check out this issue https://github.com/tensorflow/tensorflow/issues/7778.
Simply just ignore those warnings.
If you set up your GPU correctly, TensorFlow will use it by default.
Check https://stackoverflow.com/questions/38009682/how-to-tell-if-tensorflow-is-using-gpu-acceleration-from-inside-python-shell to make sure.

When I train I could use 1 GPU, can you please explain the process of using multiple GPU's


feat(client/create): add SetOptional methods

The SetOptional method is the same as the Set method but
takes a pointer instead to be able to specify nullable
values using pointers.
fix #106
fix #107

LGTM 👍


Add PIO config to master

https://github.com/littlevgl/lvgl/tree/platformio_test
This is tested and works good enougth. The only thing i suggest - consider change package name if possible. My personal preferences are:

lvgl (as this repo name)
littlevgl - (as original, but lower case)

If you don't like to change name - ok, merge as is please.

https://github.com/littlevgl/lvgl/commit/1f4f333a01d25eb35571b878140bdb1bc2b0656c

@kisvegabor can i drop this branch now https://github.com/littlevgl/pc_simulator_sdl_platformio/tree/library ? That should drop package from registry on next robot scan.

Let's find a new name for the library first and push it to the registry.
But something is strange here.
LittlevGL in the registry now is the Arduino version and the "normal" version seems to be overwritten.
Probably the Ardunio version should be called lv_arduino and the "normal" version is lvgl.
cc @Pablo2048

Ok, I'll change the library name to lv_arduino and do a new release...

Thank you, Pablo!

Arduino library name change done, release done...


fix/129-admin-families

Fixed the admin families and admin families requests with the new backend and totally responsive.
On admin families, you can see:

the family name and number of kids accepted on the left
kids info on the right (pending what info does the ong manager want to see of the kids)

On admin families requests, you can see:

the avatar of the student (not yet properly displayed because backend does not have photos)
buttons for downloading the enrollment document of the student, acepting the student and rejecting the student (there is currently a window alert because these implementations are not made yet in the backend)

Great work, it's basically working perfect as I can tell. I have a small suggestion, maybe we could put the family name in bold so it can be seen better.
Also i noticed Evaluacion is missing an accent on the cards, and finally I noticed that the first card has more spaces in Nombre de Niño than the others:

Added the accent and the bold style, about the spaces between one Nombre niño it's because the p has a justify style and looks better for the rest of the kid info. As soon as I get the information the admin wants to see, I will make the styles better.
Thanks for pointing it out!

very nice María, thanks


How can I write gjs / gts?

I'd like to provide live demos of strict-mode templates in my docs.
Can I write gjs / gts?

Currently, we don't have support for it, but a PR adding would be welcome.

How would this work (as someone who only knows a bit about gjs/gts?)
Would it be something like:

install glint as dev dependencies
modify lines like this one: https://github.com/josemarluedke/docfy/blob/367f4946c144db8c5ef4e03fe44ba7450c89849e/packages/ember/src/index.ts#L38
add a glint component to packages/ember/addon
publish a glint demo

So I tried copying over the code from above, and then adding this to the README in the dummy-docs:
{imagine backticks here}gjs live
<template>
Hello!
</template>
{/end imagine backticks here}

But I got the following error:
Error occurred:

- While rendering:
  -top-level
    application
      docs
        docs.index

There was an error running your app in fastboot. More info about the error:
 Error: Attempted to resolve `ember-repl8a6aa7086c6a5dfb-b99e0fc2d0433e37`, which was expected to be a component, but nothing was found.
    at resolveComponent (/var/folders/jc/81dkjn9s2sg5cpt_66jd8l640000gn/T/broccoli-19053Mj6xWKP11waW/out-206-broccoli_merge_trees/assets/@glimmer/opcode-compiler.js:234:1)
    at encodeOp (/var/folders/jc/81dkjn9s2sg5cpt_66jd8l640000gn/T/broccoli-19053Mj6xWKP11waW/out-206-broccoli_merge_trees/assets/@glimmer/opcode-compiler.js:2521:1)
    at pushOp (/var/folders/jc/81dkjn9s2sg5cpt_66jd8l640000gn/T/broccoli-19053Mj6xWKP11waW/out-206-broccoli_merge_trees/assets/@glimmer/opcode-compiler.js:2445:1)
    ```

Note ^^ I tried updating fastboot, thinking it was maybe an earlier version, but this didn't seem to change that error message.

ember-repl8a6aa7086c6a5dfb-b99e0fc2d0433e37,

was a component named this emitted on the broccoli tmp dir?

It looks like it...I will try to get a screenshot of the folder.


Backports 0.19 pr4

I'm assuming it probably isn't a timeout issue since the linux 64 test failed after 2 minutes, right?


R Error ... R language backend failed.

Hi there,
system:
os: ubuntu gnome 15.10
beaker:  version: 1.5.1-0-g6e6bdd3
thanks for your help
stderr:
Jan 28, 2016 10:53:25 AM com.twosigma.beaker.r.utils.RServerEvaluator$workerThread startRserve
SEVERE: exception starting RServe
org.rosuda.REngine.Rserve.RserveException: Cannot connect: Connection refused
at org.rosuda.REngine.Rserve.RConnection.(RConnection.java:88)
at org.rosuda.REngine.Rserve.RConnection.(RConnection.java:60)
at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.startRserve(RServerEvaluator.java:431)
at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.run(RServerEvaluator.java:469)
Jan 28, 2016 10:53:25 AM com.twosigma.beaker.r.utils.RServerEvaluator$workerThread startRserve
SEVERE: exception starting RServe
org.rosuda.REngine.Rserve.RserveException: Cannot connect: Connection refused
at org.rosuda.REngine.Rserve.RConnection.(RConnection.java:88)
at org.rosuda.REngine.Rserve.RConnection.(RConnection.java:60)
at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.startRserve(RServerEvaluator.java:431)
at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.run(RServerEvaluator.java:482)
running installed.packages() in terminal:
https://gist.github.com/amannj/1868e02b4d0d8360b7c2

Wow! All that info would be best put in a gist and linked.
Still, I am seeing a similar failure to start the R server on Win7. Hard to do a differential diagnosis because, no matter what I do, keep getting the message that it cannot start IPython, even though I followed the instructions to the letter, in both python 27 and python 34.

@KnowledgeGarden thanks, just fixed it. still open for suggestions.

May I ask how you fixed it? We can all learn from your experience!

I think he meant he fixed the long issue by using a gist.
i haven't seen this yet but will try to reproduce.
thanks both of you for the report.

dup https://github.com/twosigma/beaker-notebook/issues/3422


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_8d8f7900-8caf-4fe9-b214-a9fdc2d221e9/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_8d8f7900-8caf-4fe9-b214-a9fdc2d221e9.git

Docs Build status updates of commit 5b166e6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_main_2021-10-11-02-47-16 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Confusing Internal Error and crash when I did something dumb

Hello! I realize that this is a user error — the snippet below should refine x, not its type foo — but the failure is a crash with an internal error reported, which is not as helpful as most of the ways Flow tells you that you messed up. I'm wondering why this wouldn't get reported to the user similarly to "referencing a type from a value position".
The original snippet:
type foo = string | number | boolean;

function takeFoo(x: foo) {
  if (typeof foo === 'number') {
    // Internal Error ^^
  }
}

And the error when running typecheck:
Internal error: uncaught exception: Failure("attempt to refine type foo")
Raised at file "map.ml", line 130, characters
10-25
Called from file "hack/utils/collections/myMap.ml", line 15, characters 13-23

Thanks for Flow! (I'm happy to help, but I wouldn't even know where to begin. If someone needs help on this from an Ocaml-newbie, I would be glad to have a chance to poke around.)

Thanks for reporting this issue! This is odd, could you confirm you're running the latest version of flow? If not I'd suggest updating and see if the error is still there.

Sure, I confirmed I'm running v0.70 release, and have the same stack trace. (Did you mean to build v0.71?)

Nah, was just wondering about v0.70, thanks for confirming! 👍

This was fixed a long time ago


feat(semantic): expose Stats

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5758
#5757
#5756
#5755  👈
#5754
#5753
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Release to OperatorHUB and RedHat Marketplace automation

It would be nice to have a GitHub Workflow that streamline the process to publish the Kaoto Operator to Openshift Community Operators and Kubernetes Community Operators
Ideally the action should take two parameters:

bundle version
operator version
replaceVersion

Then it should:

checkout the kaoto operator that matches the operator version input value
generate the bundle files
amend the bundle files to be compatible with the requirements of the community operator repos
automatically open a PR to the mentioned repos

With #176 we are able to automatic tag and release the operator, and attach the bundle to the release. The next step will be to download the bundle and modify it to prepare for opening the PR

We are now able to prepare all the required branches to release the operator. We need to automatically open the PRs now.