Include signing key in batch processor identifier

Messages from the same identity but different signing keys must be processed into different batches. If the signing key of the message does not match the signing key of the batch, the message will be rejected.

Codecov Report

Merging #1175 (a3c7255) into main (a41e815) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1175      +/-   ##
==========================================
- Coverage   99.98%   99.97%   -0.02%
==========================================
  Files         305      305
  Lines       19964    19964
==========================================
- Hits        19962    19960       -2
- Misses          2        3       +1
- Partials        0        1       +1

Impacted Files
Coverage Δ

internal/batch/batch_manager.go
100.00% <100.00%> (ø)

internal/apiserver/server.go
99.08% <0.00%> (-0.92%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Assets don't automatically reload

Describe the bug
In version 1.1, assets were picked up automatically as they changed. For example, if you drew onto your background image, you'd see that update immediately in the program. In 1.2 the program must be restarted for it to pick up new assets, or reloaded with CTRL+SHIFT+R to pick up changes to existing assets.
To Reproduce
Steps to reproduce the behavior:

Open a new project
Make a new background image in the /background folder
Check assets for a scene
See assets are still default

Expected behavior
Assets should update automatically as they did in version 1.1
Platform (please complete the following information):

OS: Win 8
App version 1.2

Hi @Polyducks. That's really weird, one of the updates in 1.2.0 was a fix to enable automatic asset reload in Windows which wasn't working for some people in 1.1.0. When I get access to a Windows machine again I'll check this out.

Applies to issue #339 and #340.
Update: In spite of my installed version not changing, this is no longer an issue on my machine, suggesting it may be something which only happens under specific circumstances. I regret that I can't be more specific.
Timeline of events (as best as I can remember them):

Installed and used 1.1 version.
Installed 1.2 version on day of release, discovered bug, reported it.
Restarted machine some days later (usually keep it on hibernate).
Installed test build 1.2 version for colour branch authored by Chrismaltby
Later discovered bug no longer occurred in 1.2

I've noticed this 'fix' as of 05/12/2019.

Correction: just found an unsaved notepad draft of a tweet released before 1.2 was released. Machine hasn't been restarted.


do no longer build jdk11 and jdk17 in parallel. keep jdk11 for now as jdk17 seems to make problems

Codecov Report
Patch and project coverage have no change.

Comparison is base (89dfad8) 50.40% compared to head (cda67e1) 50.40%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #225   +/-   ##
=========================================
  Coverage     50.40%   50.40%
  Complexity       82       82
=========================================
  Files            18       18
  Lines           750      750
  Branches        103      103
=========================================
  Hits            378      378
  Misses          331      331
  Partials         41       41

Flag
Coverage Δ

current
50.40% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Bug] doris be process exit

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
1.2.3
What's Wrong?
*** Query id: 0-0 ***
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1692668681" if you are using GNU date ***
*** Current BE git commitID: Unknown ***
*** SIGSEGV address not mapped to object (@0x278) received by PID 79500 (TID 0x7f92bc7f9700) from PID 632; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:420
1# os::Linux::chained_handler(int, siginfo*, void*) in /usr/local/java8/jre/lib/amd64/server/libjvm.so
2# JVM_handle_linux_signal in /usr/local/java8/jre/lib/amd64/server/libjvm.so
3# signalHandler(int, siginfo*, void*) in /usr/local/java8/jre/lib/amd64/server/libjvm.so
4# 0x00007F92E9AA2400 in /lib64/libc.so.6
5# doris::Daemon::calculate_metrics_thread() at /root/doris/be/src/common/daemon.cpp:376
6# doris::Thread::supervise_thread(void*) at /root/doris/be/src/util/thread.cpp:455
7# start_thread in /lib64/libpthread.so.0
8# clone in /lib64/libc.so.6
What You Expected?
Be process not exit
How to Reproduce?
no
Anything Else?
no.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

be的jdk版本换成1.8


Fix typo in French translation.

Thanks, but it would be great if you could make the change on Weblate: https://hosted.weblate.org/projects/godot-engine/godot/
Otherwise it will be overwritten next time I sync the git repo with the Weblate translations.

Understood, I made the change on Weblate. I'm closing this PR.

Thanks!


LAN_Discovery not working on Linux

$ avahi-browse _tessel._tcp -t
+ wlp3s0 IPv4 mars                                          _tessel._tcp         local
+ wlp3s0 IPv4 venus                                         _tessel._tcp         local

$ t2 list
node-pre-gyp INFO Searching for nearby Tessels...
node-pre-gyp    USB     mars

mars is connected via USB in this instance.
 $ t2 wifi --usb
node-pre-gyp INFO Looking for your Tessel...
node-pre-gyp INFO Connected to mars.
node-pre-gyp INFO Connected to "tessel"
node-pre-gyp INFO IP Address: <IP_ADDRESS>
node-pre-gyp INFO Signal Strength: (55/70)
node-pre-gyp INFO Bitrate: 72mbps

tessel is an AP set up on mars:
$ t2 ap
node-pre-gyp INFO Looking for your Tessel...
node-pre-gyp INFO Connected to mars.
node-pre-gyp INFO SSID: tessel
node-pre-gyp INFO Password: X
node-pre-gyp INFO Security: psk2
node-pre-gyp INFO IP Address: <IP_ADDRESS>
node-pre-gyp INFO State: Enabled

Both Tessels are reachable via a ping.

Is venus on the same network?

Yes it is.


Share data with web worker

I wonder if I can share data with worker process.
Option 1: Use raw json serialized string, too frequent postmessage
Option2: Use browser storage, avaliable, but not for big object
Option3: Use indexDB, with nutget, and JSRuntime injection support
Option4: Use distribute cache service, like redis, ncache, but I prefer build-in memory distribute cache, but in that case, worker need an access to  registered service in app instance, or just the instance can be pass to worker(not sure how distribure memory cache instance be managed).Mainly I'm working on WASM. The server does not need to access the processing data.
It's faster if I can use memory cache to buffer the file stream in bucks queque, the worker read the stream bucks and  upload asynchronously
Any way, the final goal is to use web worker asynchronously upload large file to outside web api.I can do that within the app process use async hronous function without blocking the UI, until the the fetch function invkoed. I inspected the browser performance profile, the fetch function blocked ui, and I can do nothing about it.Httpclient async function use fetch internally, not really async in WASM.

Hello
Option 1 and 4 are the only options that work out of the box. I'm not sure what api you are referring to in option 2, but iirc not available for web workers.
I might give a shot at getting indexDb working, as some other people have requested it. However creating an implementation of IJSRuntime compatible with the Blazor implementation is not trivial.
That said, i have been working a lot with big file upload in Blazor, and I've never had any issues with the ui freezing up. Did you implement the upload yourself or did you use a component? Did you try the Tewr.Blazor.FileReader project ?(https://github.com/Tewr/BlazorFileReader)

Hello
Option 1 and 4 are the only options that work out of the box. I'm not sure what api you are referring to in option 2, but iirc not available for web workers.
I might give a shot at getting indexDb working, as some other people have requested it. However creating an implementation of IJSRuntime compatible with the Blazor implementation is not trivial.
That said, i have been working a lot with big file upload in Blazor, and I've never had any issues with the ui freezing up. Did you implement the upload yourself or did you use a component? Did you try the Tewr.Blazor.FileReader project ?(https://github.com/Tewr/BlazorFileReader)

Thank you for replying. I will try your filereader. BlazorWorker is a great project, and update very quick. I'm new to Web App, and Choosing the WASM for a low server managment reason, sometimes need to work offline . I used to use the native InputFile Component.Then use HttpClient putasync the stream. Whether cached the file in the wasm virtural file system or not, it stuck after the customized SerializeToStreamAsync function return. Yes, I used the HttpProgress nutget to get the upload progress. Usually it blocked the UI when approaching 99%. The performance profile shows that the fetch function blocked the thread for senconds if file is larger than 50M.

Thank you for replying. I will try your filereader. BlazorWorker is a great project, and update very quick. I'm new to Web App, and Choosing the WASM for a low server managment reason, sometimes need to work offline . I used to use the native InputFile Component.Then use HttpClient putasync the stream. Whether cached the file in the wasm virtural file system or not, it stuck after the customized SerializeToStreamAsync function return. Yes, I used the HttpProgress nutget to get the upload progress. Usually it blocked the UI when approaching 99%. The performance profile shows that the fetch function blocked the thread for senconds if file is larger than 50M.

Hello
Option 1 and 4 are the only options that work out of the box. I'm not sure what api you are referring to in option 2, but iirc not available for web workers.
I might give a shot at getting indexDb working, as some other people have requested it. However creating an implementation of IJSRuntime compatible with the Blazor implementation is not trivial.
That said, i have been working a lot with big file upload in Blazor, and I've never had any issues with the ui freezing up. Did you implement the upload yourself or did you use a component? Did you try the Tewr.Blazor.FileReader project ?(https://github.com/Tewr/BlazorFileReader)
Edit: after reading again, your option 4 contains a lot of different thoughts, I'm not sure any of it is trivial. As this component is built today, all communication is done with strings in postmessage.

Indexed db support would honestly be great! I tried a main thread controller pattern and got it working to store to the dB but unfortunately due to the amount of db calls I need between the border the overall process is much slower than having it all on the main thread making the web worker redundant in my use case.

Hello
Option 1 and 4 are the only options that work out of the box. I'm not sure what api you are referring to in option 2, but iirc not available for web workers.
I might give a shot at getting indexDb working, as some other people have requested it. However creating an implementation of IJSRuntime compatible with the Blazor implementation is not trivial.
That said, i have been working a lot with big file upload in Blazor, and I've never had any issues with the ui freezing up. Did you implement the upload yourself or did you use a component? Did you try the Tewr.Blazor.FileReader project ?(https://github.com/Tewr/BlazorFileReader)
Edit: after reading again, your option 4 contains a lot of different thoughts, I'm not sure any of it is trivial. As this component is built today, all communication is done with strings in postmessage.

Indexed db support would honestly be great! I tried a main thread controller pattern and got it working to store to the dB but unfortunately due to the amount of db calls I need between the border the overall process is much slower than having it all on the main thread making the web worker redundant in my use case.

I saw your filereader demo. I think my problem is the httpclient.putasync method. I never cache the file in memory，which I can do without any problem. I think I need a real putasync method, or leave the blocking task in web worker.

I saw your filereader demo. I think my problem is the httpclient.putasync method. I never cache the file in memory，which I can do without any problem. I think I need a real putasync method, or leave the blocking task in web worker.

Hei, Great news! I succeed in caching the file the file in memory of web worker process. I passed the IbrowserFile object.I never expect that simple.

Hei, Great news! I succeed in caching the file the file in memory of web worker process. I passed the IbrowserFile object.I never expect that simple.

I'm closing this due to lack of activity


Cards not updated after changing .md file and Send To Own Deck

Issue
If  I create a deck as shown below and  Send to Own Deck
# Multiply

## 2 X 2 = 3

and then update the contents and  Send To Own Deck
# Multiply

## 2 X 2 = 4

The card in the deck does not get corrected, but instead, a new card is created.

Expected
After the Markdown is corrected, the Deck and Cards get updated.
Note: It becomes tedious to delete a deck from Anki every time a mistake is found, it would be more helpful to be able to update existing card with updated .md file.

Please see my PR


[zh] replace "(/docs)" to "(/zh/docs)"

This is a Bug Report
The doc link in zh content should be replaced from /docs to /zh/docs

Proposed Solution:
To find the file ,run the following  step:
cd website/content/zh
find ./ -type f -name "*.md" | xargs grep "(/docs"

/language zh

/help

we have scripts/linkchecker.py, e.g.
./scripts/linkchecker.py -l zh -f /docs/concepts/overview/*.md

@tengqm no matches found ,something wrong？

Weird ...  not sure how wildcards work on zsh. Can you try:
$ ./scripts/linkchecker.py -l zh -f /docs/concepts/**/*.md

Weird ... not sure how wildcards work on zsh. Can you try:
$ ./scripts/linkchecker.py -l zh -f /docs/concepts/**/*.md

@tengqm not work either for zsh, but it works when i swtich zsh to bash

/close
Links are all localized for zh translation. Anything left should be treated as bugs.


Broker znode sometimes remains disappeared

In our Pulsar cluster, a broker znode /loadbalance/brokers/<host>:<port> is sometimes removed from ZooKeeper and remains disappeared until the broker is restarted.
Steps to reproduce are unknown.

Pulsar version is 1.19.0-incubating.
It may occur at the time of rotating a log file of the broker.
The size of the log file is very large (100MB ~ 1GB).
A large *.tmp file (such as pulsar_broker.log463886727832637.tmp if the log file name is pulsar_broker.log) is created and remains in the log directory.

@massakam it sounds like zookeeper session was gone, but the broker didn't get session expired, so the broker process remained up. did you see similar behaviors recently?

close due to no activities.


Change user to roaming profile

So we can get rid of the AMI snapshotting and use the detachable drive.

Nope.


Task.Delay exception

    static void Main(string[] args)
    {
        Test();

        new BrowserRenderer().AddComponent<Home>("app");
    }

    static async void Test()
    {
        await Task.Delay(1000);
    }

@rlmartins76 Could you please provide details on the exception that you are seeing? Also, what are the exact steps needed to reproduce the issue? I assume you are just modifying the sample StandAlone app?
@kumpera I believe you said there might be a known issue with Task.Delay() in our current Mono drop, correct?

It is a known issue in Mono (yes, the one @danroth27, @kumpera and I discussed previously).
It's also related to the problem with using HttpClient, i.e., tasks based on timers currently just throw.

@kumpera is there a GitHub issue tracking this on the Mono side?

Thanks for the information. I did changed the sample with the code I supplied in my initial issue post. It will be great to know if there is a bug created on mono side, so I can track it. Async/awaits are becoming more and more the norm this days.

Note that async/await itself does work. You can use them with TaskCompletionSource, for example. What doesn't yet work on Mono for WASM is any task whose implementation involves a timer (which is most of the useful ones).

@stevesandersonMS noted.

This was fixed on a recent version of mono

Looking forward to see the new version of mono as part of blazor.

In the original post, the Test() function was not awaited.  Would that matter?


Battery consumption S3

How is your battery consumption during S3 state? Mine was ~ 15%/5hours, so around 3%/hour. It's not too much in absolute energy if you look at the numbers (~0.8W), but relatively it still seems quite high.

That would line up with my expectations.  I can run the experiment with the battery-graph utility and give you the direct graphs for the full numbers, but I have an original F5 with its standard battery 26 Wh and then one where I soldered in an extra 40 Wh battery in parallel.   When I put them into S3, I'm getting 3%/hour on the standard configuration, and 1%/hour on HW-hacked configuration.   There are many power settings in the BIOS, but didn't find a combination that seemed to consistently change these numbers -- (and then were subsequently lost due to battery wipes).  The original is okay, but battery life is acceptable in S3, but the HW modified one makes my requirements happy.   Powering off shows near zero leakage.   So, although it's pretty good (c'mon 0.8W -- what am I expecting), I really solved that problem via HW and a larger battery, and just powering down when necessary.   If you were to run the Windoze OS, the power during sleep is much better, but I have a feeling it's because of some run-time modifications that Windoze is doing because it's NOT captured in the DSDT.  I'm not a Windows person, so I can't know what exactly it's doing, but I feel if I could know what it was doing, there's no reason that Linux couldn't do it.  But that would require a level of Windows instrumentation that I do have time for.   So, I solve this problem with HW.   Except for the size of the battery, this laptop is perfect for me, so I soldered in new battery in parallel, modified the casing with 3-D printing, and added 230 grams of weight to triple its effective battery life.
To help you out, I can do the power-graphs and/or show into greater depth in the HW configurations.   Add either one as a new issue and I can put some side time on it, if it'll help you.

Note also you can expand the battery with an external battery supply (70Wh, and add 406 grams) and get the battery life to close what you design, but really the HW-hacked one is much more convenient and lighter -- it charges normally, but just has 3x capacity.  However, the external battery supply looks TSA travel-ready, unlike the HW modified one.

ok, good to know. Then I'm at least not totally off with something, no need to do extra meassurements, thanks! My "solution" for the battery capacity was an additional 20000mAh powerbank which is PD capable.
I'm also just running Linux. I have to take a look at the WiFi, seems like it is really eating battery with my configuration.
I added enabled TPM to my DSDT to tinker with it a bit, but don't know if there will be a good use for it, perhaps signing kernel images for secure boot.

Here's the snapshots of all the bios screens that give me all functionality (including touchscreen).
https://photos.app.goo.gl/5NCNMQrbH3AhAviYA
If you believe the wifi is the issue, I suspect it has to do with Wifi driver shutdown sequence and/or the required power messages on the PCIE.   There are some settings under the PCIE menu that related to ACPI.  And I can do driver-mucking about, but the simple experiment that we both should do is to put the laptop in Airplane mode first, put it to sleep, and then see whether the drain is any less.  If it is, then it's back to Linuxy, C code domain, which I can help with.  If it doesn't, then it's the weird run-time Windoze magic and/or BIOS configuration.  It's definitely working with this hardware -- the power when you're sleeping in Windows is much, much less, I don't know whether it's driver magic, BIOS settings and/or OS magic, or a potpourri combination of all of them.

ah, I didn't mean Wifi with suspend, I did my test with airplane mode ;). The wifi is quite power hungry during run time, but I will tinker a bit with the module parameters. I already did, but perhaps I screwed something up.

For BIOS:
sudo dmidecode
dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Table at 0x79C11000.

SMBIOS 3.1.1 present.
Table at 0x79C0F000.

But there were the same ones available :)
cat /etc/modprobe.d/powersave.conf options iwlwifi power_save=1 uapsd_disable=0 led_mode=3 options iwlmvm power_scheme=3 options iwldvm force_cam=0
btw did you find a solution for the sound crackling when the sound chip comes back from powersave?

There's another person over in Germany, who noted the same issue:
From another developer in Germany:

Once issue remaining for me is that the Realtek audio driver does not
know how to deal with this board and its amplifier implementation, i.e.
if does not switch off the speaker amp before going to sleep which then
causes a very audible "klack" several times - I am scared about my
speakers :) Once I have some time I need to just trial and error find
the GPIO but the Realtek codec driver is huge and this will take some
time to figure out.

That's the only hint I got.   From back in my circuit design days, I feel like it's
power signal spike on a quick power shutdown that's being translated into a signal spike.
Once again, I don't hear this issue in Windoze, so it could be combination or a timing issue related to a combination of driver/BIOS/Kernel.  I feel like if the ramp down on the voltage to the
audio was slow enough, this issue wouldn't happen, so that's MY hint.  There are some weird voltage control settings in the BIOS, so it might be possible to do something there.  IMHO, I wish it were just an driver issue, but I feel like it's a deeper issue because your significant upgrade of kernel hasn't solved the problem yet.

If you want create a different issue w.r.t. the audio click, feel free to create one and I can add the information that I've put together so far.

Finally, as a last comment, for full disclosure, although I've enjoyed this engineering conversations, a lot of these issue can be avoided completely by buying one of the OTHER offbrand laptops under the totally trustworthy names BMAX (which seems to have borrowed its trademark from the transformers).   Linux and S3 work out of the box on these equivalent machines.  However, it has the problem that it doesn't do click and hold -- it only supports double tap and hold, which drives me bonkers.  That said, I've already paid for the crime and I'm happy with the physical click and hold on Teclast F5 and I'll consider moving off it in 3-4 years.

ah yes, I read this article/blog too. I remember I had a similar problem with another laptop like 10 years ago and it got solved by some driver quirks, but I can't really remember.
For me it's also not my main device, so it's main purpose is mobility which I luckily don't need too often. The current state is already fine for it's purpose :), but good to know there is another option.


Fix cross appdomain exception

Related: https://github.com/aspnet/Caching/issues/203

@Tratcher @troydai

:shipit:

:shipit:


refactor: one more rename

[!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

#492  👈
#491
#486
#483
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite


rubocop prints  '=====..' before the formatted code

rubocop -x -o /dev/null -s 'filename.rb' prints unwanted stuff above the formatted file. rubocop -x -o...  should only print the formatted file.

Expected behavior
After running rubocop -x -o /dev/null -s 'filename.rb' I would expect rubocop to return my file formatted and nothing else.
Actual behavior
Rubocop prints ==================== before the formatted file.
Steps to reproduce the problem
rubocop -x -o /dev/null -s 'filename.rb'
RuboCop version
$ [bundle exec] ~ rubocop -V
0.79.0 (using Parser <IP_ADDRESS>, running on ruby 2.6.0 x86_64-darwin18)

This ==================== line is the delimiter for auto-corrected source code and other stdout information.
% cat example.rb
foo do
    bar
  end

% cat example.rb | rubocop -x -o /dev/null -s example.rb
The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file:
 - Layout/SpaceAroundMethodCallOperator (0.82)
 - Lint/RaiseException (0.81)
 - Lint/StructNewOverride (0.81)
 - Style/ExponentialNotation (0.82)
 - Style/HashEachMethods (0.80)
 - Style/HashTransformKeys (0.80)
 - Style/HashTransformValues (0.80)
For more information: https://docs.rubocop.org/en/latest/versioning/
====================
foo do
  bar
end

The intent remained in the source code comment.
# If we are asked to autocorrect source code read from stdin, the only
# reasonable place to write it is to stdout
# Unfortunately, we also write other information to stdout
# So a delimiter is needed for tools to easily identify where the
# autocorrected source begins

https://github.com/rubocop-hq/rubocop/blob/v0.82.0/lib/rubocop/cli/command/execute_runner.rb#L63-L67
So, I think that this is an expected behaviour.

Oh I see. Thanks

Two ways:

print warnings on stderr, if any, so that scripts can just ignore that stream and rely on the return code for actual errors
detect that no additional messages need to be printed (which is what's happening in the reproducer), and so don't print any delimiters


Proposed - Lesson 1 - What is Open Source / GitHub

Develop a "zero-entry" lesson that helps community members de-mystify jargon and terminology such as open source, Git, GitHub, Kanban, Trello Board, Jira, etc.
Additionally prepare them to make the first-steps toward being a contributor using GitHub.
Key Outcomes:

Learners understand tools used within the Catalyst Community to organize effort and information (focusing quite a bit on GitHub)
Learners have signed up for a GitHub account so they are able to contribute
Learners are invited to make a simple contribution, (ie comment on an issue)

In order to improve this lesson, I have a few open questinons to Catalyst School community members:

What are some other key outcomes you'd like to see from this lesson?
What confused you about tooling when you entered the Catalyst community?
What do you wish you had known about Git/GitHub that you had to figure out on your own?

(please enter your thoughts below in response to this issue)

Develop a "zero-entry" lesson that helps community members de-mystify jargon and terminology such as open source, Git, GitHub, Kanban, Trello Board, Jira, etc.

Terms like Kanban (Agile project management), Trello (software implementing kanban board), and Jira (closed source project management tool), have very little to do with open-source.
Other important topics such as licensing scheme (copyright vs. copyleft) should probably be explained. I also think it is much more important to explain people how to write a good bug report, as opposed to teaching them how make forks and branches in lesson one, as @cauechianca is suggesting.
Most people with some programming experince will already know how to do branches and forks, and those who lack that experince will have very little if any benefit from learning branching and forking, and would be better off spending a little time learning some basic coding, so then they can learn how to work with code in lesson 2 of the training.

In order to improve this lesson, I have a few open questinons to Catalyst School community members:
What are some other key outcomes you'd like to see from this lesson?

basic markdown syntax (and where to find more); understanding what a versioning control system is

What confused you about tooling when you entered the Catalyst community?

The huge amount of different communication channels

What do you wish you had known about Git/GitHub that you had to figure out on your own?

That I should never write texts, code or anything longer than 2 sentences directly into the web forms of GitHub, but use Git via console or GitHub Desktop or simply a text edit tool.


Initial support for thumbnails for existing files.

Closes #58.
This changes requires to run OpenRefine from the wetneb:5154-extension-point-for-cell-rendering branch (which corresponds to the PR https://github.com/OpenRefine/OpenRefine/pull/5312).
The aim is that this PR is merged before 3.7, so that the extension can rely on it to implement the thumbnails.
Changes to the thumbnails themselves can then be made independently of OpenRefine's release cycle.
Since this PR is only about existing files, I did not add an explicit toggle to turn thumbnails on and off - they are just enabled by default for all cells that are reconciled to a media file on a Wikibase instance.
Thumbnails are only generated for file types which have thumbnailing enabled in MediaWiki (roughly, images and videos).
One thing I would probably still add is a waiting spinner when the full screen image is being loaded. It would also be worth checking the thumbnails are requested in a way that maximizes the chances of cache hits (which I am not sure I got right so far).
Screenshot

I tested it on a variety of files, and it works excellently. It indeed has that wow factor! I get thumbnails for images, videos and PDFs. In some cases (I saw it with a PDF and a video) the pop-up loads slowly indeed (is that due to file size?) and a spinner would indeed make sense to indicate that something is happening.
The size of the thumbnails is great IMO. Maybe other users will have different opinions but I think it's a good size to be able to discern files well without overwhelming.
I can imagine that a toggle function will be useful to add later, but this is absolutely great for now.

@wetneb I noticed that this PR hasn't been merged "back in the days" (I can't recall why?) - but thumbnails do work in the Commons extension, except for this little annoying bug here: #89
Can you recall why this would still be open?
Thanks for digging into your memory :-)

@wetneb I noticed that this PR hasn't been merged "back in the days" (I can't recall why?) - but thumbnails do work in the Commons extension, except for this little annoying bug here: #89
Can you recall why this would still be open?
Thanks for digging into your memory :-)

If you prefer not to dig into this anymore (which is fine), I'll take the freedom to close this PR as not done, to reduce confusion.

I think you do need to merge this PR - I do not think thumbnail support works without it. Could it be that the version of the Commons extension you are using is generated from this PR?
So I would recommend merging this and releasing a new version of the extension.

I think you do need to merge this PR - I do not think thumbnail support works without it. Could it be that the version of the Commons extension you are using is generated from this PR?
So I would recommend merging this and releasing a new version of the extension.

Thanks, you're entirely correct!
I notice we released 0.1.0 without thumbnail support (it was also not included in the release notes). I prefer for someone to continue adjusting this existing PR to fix the #89 bug, and also someone else to release the new version. I did the previous release myself but found it very difficult, I had absolutely no idea what I was doing except for following instructions blindly. IMO it's a job for someone with stronger technical skills and familiarity with Git/GitHub processes.
I'll see how I can adjust the bounty to include these requirements.

But I have previews only on mouse hover:


Feature offer: cf dev deploy-service docker-redis, docker-postgresql, etc

Currently cf dev deploy-service offers mysql.
If you'd like I could investigate adding support for a range of dev/test services based on https://github.com/cloudfoundry-community/docker-broker-deployment
I would upgrade the docker images etc as part of the work (I've not worked on this project for couple years).
This would allow cf dev users to install redis, postgresql, kafka, etc as single-node dedicated services via BOSH/Docker

We appreciate the feature offer, but there's no need to invest the time into it.
CF Dev is quite "full" already and additional services are only considered if there is overwhelming demand for it. Moreover, we're trying to mimic a production environment as closely as we can. If you were initially looking for more services than mysql, you can following the instructions in the FAQ to do so. Finally, if you were looking for a way to access services on the host from within an application container, CF Dev allows you do so with the host.cfdev.sh hostname.


Diff Icons aren't visible

First off, thanks for creating this theme. I LOVE it.
There's an issue where the diff icons aren't showing up:

Those are the add and revert buttons. This is when using the light variation.

Glad you're enjoying the theme! ☺ Thanks so much for reporting this. I just pushed an update that should fix the icons -- feel free to let us know if you notice any further issues with it.


#579 Add Slack rate-limit handling

Extended fix for #579 that covers all places where we could encounter Slack's rate-limiting.

Thanks! Looks good!
Too bad of the repeated code with the handleRateLimit, but I can't come up with something to fix this besides using interface{} and reflect. (and that's something to avoid as much as possible :)

I don't know if the slack API has changed but i'm getting these errors in the console:

[2019-11-07T11:52:16Z] ERROR slack:        Connection failed "slack rate limit exceeded, retry after 59s" &slack.RateLimitedError{RetryAfter:59000000000}
[2019-11-07T11:52:16Z] ERROR slack:        Connection failed "slack rate limit exceeded, retry after 59s" &slack.RateLimitedError{RetryAfter:59000000000}
[2019-11-07T12:07:17Z] ERROR slack:        Connection failed "slack rate limit exceeded, retry after 59s" &slack.RateLimitedError{RetryAfter:59000000000}
[2019-11-07T12:07:17Z] ERROR slack:        Connection failed "slack rate limit exceeded, retry after 59s" &slack.RateLimitedError{RetryAfter:59000000000}
@Helcaraxan

Also getting the exact error @TheHolyRoger reported on 1.16.2. Slack bridge just dies after a day or two, and have to restart to fix.

I'm getting rate limit messages too

Related issue: https://github.com/nlopes/slack/issues/613

In master now, would be nice if someone could test it.

Running in production. I'll let you know if I run into any issues.

Running on f43faf15f847ba8c68027f8de4456f9c5092b02d
Debug output
[0093] DEBUG discord:      == Receiving event &discordgo.Message{ID:"653195438391820288", ChannelID:"590172620440469505", GuildID:"278474088903606273", Content:"test", Timestamp:"2019-12-08T11:25:28.297000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc00062b300), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"", Member:(*discordgo.Member)(0xc000567ab0), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0093] DEBUG discord:      <= Sending message from qaisjp on discord.mta to gateway
[0093] DEBUG discord:      <= Message is config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"653195438391820288", Extra:map[string][]interface {}(nil)}
[0093] DEBUG gateway:      => Sending config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73554a15877254, ext:93167846295, loc:(*time.Location)(0x1ce7500)}, ID:"653195438391820288", Extra:map[string][]interface {}(nil)} from discord.mta (test) to slack.mta (test)
[0093] DEBUG slack:        => Receiving config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73554a15877254, ext:93167846295, loc:(*time.Location)(0x1ce7500)}, ID:"", Extra:map[string][]interface {}(nil)}
[0093] DEBUG slack:        == Receiving event &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"C4Z7JEUC8", User:"", Text:"test", Timestamp:"1575804328.002500", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment(nil), Edited:(*slack.Edited)(nil), LastRead:"", Subscribed:false, UnreadCount:0, SubType:"bot_message", Hidden:false, DeletedTimestamp:"", EventTimestamp:"1575804328.002500", BotID:"BF5S2HSTG", Username:"qaisjp", Icons:(*slack.Icon)(0xc00059aa20), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", Files:[]slack.File(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"T216B1U03", Reactions:[]slack.ItemReaction(nil), ResponseType:"", ReplaceOriginal:false, DeleteOriginal:false, Blocks:slack.Blocks{BlockSet:[]slack.Block(nil)}}, SubMessage:(*slack.Msg)(nil), PreviousMessage:(*slack.Msg)(nil)}
[0093] DEBUG gateway:      mID slack.mta:<PHONE_NUMBER>.002500
[0093] DEBUG slack:        Found bot &slack.Bot{ID:"BF5S2HSTG", Name:"Chat Bridge", Deleted:false, UserID:"UF3N0SGJU", AppID:"AF3RWLXBK", Updated:1546356234, Icons:slack.Icons{Image36:"https://a.slack-edge.com/80588/img/plugins/app/bot_36.png", Image48:"https://a.slack-edge.com/80588/img/plugins/app/bot_48.png", Image72:"https://a.slack-edge.com/80588/img/plugins/app/service_72.png"}}
[0093] DEBUG slack:        <= Sending message from qaisjp on slack.mta to gateway
[0093] DEBUG slack:        GetUserInfo failed for BF5S2HSTG: user_not_found
[0093] DEBUG slack:        <= Message is &config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"BF5S2HSTG", Avatar:"", Account:"slack.mta", Event:"", Protocol:"slack", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"1575804328.002500", Extra:map[string][]interface {}{}}
[0093] DEBUG gateway:      => Sending config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"BF5S2HSTG", Avatar:"", Account:"slack.mta", Event:"", Protocol:"slack", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73554a286d2fa3, ext:93484892412, loc:(*time.Location)(0x1ce7500)}, ID:"1575804328.002500", Extra:map[string][]interface {}{}} from slack.mta (test) to discord.mta (test)
[0093] DEBUG discord:      => Receiving config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"BF5S2HSTG", Avatar:"", Account:"slack.mta", Event:"", Protocol:"slack", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73554a286d2fa3, ext:93484892412, loc:(*time.Location)(0x1ce7500)}, ID:"", Extra:map[string][]interface {}{}}
[0093] DEBUG discord:      Broadcasting using Webhook
[0093] DEBUG discord:      Setting webhook channel to "test"
[0093] DEBUG discord:      Processing webhook sending for message config.Message{Text:"test", Channel:"test", Username:"qaisjp", UserID:"BF5S2HSTG", Avatar:"", Account:"slack.mta", Event:"", Protocol:"slack", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73554a286d2fa3, ext:93484892412, loc:(*time.Location)(0x1ce7500)}, ID:"", Extra:map[string][]interface {}{}}
[0093] DEBUG gateway:      mID discord.mta:<PHONE_NUMBER>21648965

it should look like this
[0056] DEBUG discord:      == Receiving event &discordgo.Message{ID:"653196539988279296", ChannelID:"590172620440469505", GuildID:"278474088903606273", Content:"hello1234", Timestamp:"2019-12-08T11:29:50.938000+00:00", EditedTimestamp:"", MentionRoles:[]string{}, Tts:false, MentionEveryone:false, Author:(*discordgo.User)(0xc000331000), Attachments:[]*discordgo.MessageAttachment{}, Embeds:[]*discordgo.MessageEmbed{}, Mentions:[]*discordgo.User{}, Reactions:[]*discordgo.MessageReactions(nil), Pinned:false, Type:0, WebhookID:"", Member:(*discordgo.Member)(0xc000b5e700), MentionChannels:[]*discordgo.Channel(nil), Activity:(*discordgo.MessageActivity)(nil), Application:(*discordgo.MessageApplication)(nil), MessageReference:(*discordgo.MessageReference)(nil), Flags:0}
[0056] DEBUG discord:      <= Sending message from qaisjp on discord.mta to gateway
[0056] DEBUG discord:      <= Message is config.Message{Text:"hello1234", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"653196539988279296", Extra:map[string][]interface {}(nil)}
[0056] DEBUG gateway:      => Sending config.Message{Text:"hello1234", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73558bbb63132c, ext:56046693989, loc:(*time.Location)(0x1ce2500)}, ID:"653196539988279296", Extra:map[string][]interface {}(nil)} from discord.mta (test) to slack.mta (test)
[0056] DEBUG slack:        => Receiving config.Message{Text:"hello1234", Channel:"test", Username:"qaisjp", UserID:"83386293446246400", Avatar:"https://cdn.discordapp.com/avatars/83386293446246400/6c4342d5d3556d4d6993232272eb9699.jpg", Account:"discord.mta", Event:"", Protocol:"", Gateway:"mta.test", ParentID:"", Timestamp:time.Time{wall:0xbf73558bbb63132c, ext:56046693989, loc:(*time.Location)(0x1ce2500)}, ID:"", Extra:map[string][]interface {}(nil)}
[0056] DEBUG slack:        == Receiving event &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"C4Z7JEUC8", User:"", Text:"hello1234", Timestamp:"1575804591.002900", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment{slack.Attachment{Color:"", Fallback:"", CallbackID:"matterbridge_bnmdstnrrg6f6to9vtp0", ID:1, AuthorID:"", AuthorName:"", AuthorSubname:"", AuthorLink:"", AuthorIcon:"", Title:"", TitleLink:"", Pretext:"", Text:"", ImageURL:"", ThumbURL:"", Fields:[]slack.AttachmentField(nil), Actions:[]slack.AttachmentAction(nil), MarkdownIn:[]string(nil), Footer:"", FooterIcon:"", Ts:""}}, Edited:(*slack.Edited)(nil), LastRead:"", Subscribed:false, UnreadCount:0, SubType:"bot_message", Hidden:false, DeletedTimestamp:"", EventTimestamp:"1575804591.002900", BotID:"BF5S2HSTG", Username:"qaisjp", Icons:(*slack.Icon)(0xc0005bc8c0), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", Files:[]slack.File(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"T216B1U03", Reactions:[]slack.ItemReaction(nil), ResponseType:"", ReplaceOriginal:false, DeleteOriginal:false, Blocks:slack.Blocks{BlockSet:[]slack.Block(nil)}}, SubMessage:(*slack.Msg)(nil), PreviousMessage:(*slack.Msg)(nil)}
[0056] DEBUG slack:        Skipped message: &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"C4Z7JEUC8", User:"", Text:"hello1234", Timestamp:"1575804591.002900", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment{slack.Attachment{Color:"", Fallback:"", CallbackID:"matterbridge_bnmdstnrrg6f6to9vtp0", ID:1, AuthorID:"", AuthorName:"", AuthorSubname:"", AuthorLink:"", AuthorIcon:"", Title:"", TitleLink:"", Pretext:"", Text:"", ImageURL:"", ThumbURL:"", Fields:[]slack.AttachmentField(nil), Actions:[]slack.AttachmentAction(nil), MarkdownIn:[]string(nil), Footer:"", FooterIcon:"", Ts:""}}, Edited:(*slack.Edited)(nil), LastRead:"", Subscribed:false, UnreadCount:0, SubType:"bot_message", Hidden:false, DeletedTimestamp:"", EventTimestamp:"1575804591.002900", BotID:"BF5S2HSTG", Username:"qaisjp", Icons:(*slack.Icon)(0xc0005bc8c0), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", Files:[]slack.File(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"T216B1U03", Reactions:[]slack.ItemReaction(nil), ResponseType:"", ReplaceOriginal:false, DeleteOriginal:false, Blocks:slack.Blocks{BlockSet:[]slack.Block(nil)}}, SubMessage:(*slack.Msg)(nil), PreviousMessage:(*slack.Msg)(nil)}
[0056] DEBUG gateway:      mID slack.mta:<PHONE_NUMBER>.002900

it is caused exactly by f43faf15f847ba8c68027f8de4456f9c5092b02d, because if i remove that commit, the issue goes away

I'm running 1.19.0 2bb21262 and having this issue:
[614125] ERROR slack:        Connection failed "slack rate limit exceeded, retry after 1m0s" &slack.RateLimitedError{RetryAfter:60000000000}

Multiple like these, and messages don't show up on Discord when people are talking a lot in Slack. And it's not that much even.

Thanks for sharing this. Please could you create a specific issue for that problem? :)


Issue with running basic @nx/rspack app in monorepo

Run nx g @nx/rspack:app my-app --style=css
See
 NX   Report complete - copy this into the issue template

Node           : 16.20.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 8.19.4

nx (global)        : 19.5.6
nx                 : 19.5.7
@nx/js             : 19.5.7
@nx/jest           : 19.5.7
@nx/linter         : 19.5.7
@nx/eslint         : 19.5.7
@nx/workspace      : 19.5.7
@nx/cypress        : 19.5.7
@nx/devkit         : 19.5.7
@nx/eslint-plugin  : 19.5.7
@nx/react          : 19.5.7
@nrwl/tao          : 19.5.7
@nx/web            : 19.5.7
@nx/webpack        : 19.5.7
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/rspack/plugin
---------------------------------------
Community plugins:
@nx/rspack : 19.5.0
---------------------------------------
⚠ Unable to construct project graph.
Failed to process project graph. Run "nx reset" to fix this. Please report the issue if you keep seeing it.
Failed to process project graph. Run "nx reset" to fix this. Please report the issue if you keep seeing it.
  An error occurred while processing files for the @nx/rspack/plugin plugin.
    - rspack.config.js: Cannot read properties of undefined (reading 'nodes')
      TypeError: Cannot read properties of undefined (reading 'nodes')
          at makeConfig (/Users/satsai/Code/rusty/node_modules/@nx/rspack/src/utils/with-nx.js:15:46)
          at /Users/satsai/Code/rusty/node_modules/@nx/rspack/src/utils/config.js:16:32
          at Generator.next (<anonymous>)
          at fulfilled (/Users/satsai/Code/rusty/node_modules/tslib/tslib.js:166:62)
          at processTicksAndRejections (node:internal/process/task_queues:96:5)

Seems similar to: https://github.com/nrwl/nx/issues/26303

Actually looks like #408 is the issue


fix(input): fixed the value prop error to pass string on type number

Closes #3448
📝 Description
Updated the value prop to type of string  or number
and
onValueChange to accept both string and number values
⛳ Current behavior (updates)

🚀 New behavior - No Error on paasing number values

💣 Is this a breaking change (Yes/No): No

📝 Additional Information

Summary by CodeRabbit

New Features

Enhanced input component to accept numerical values for the number type.

Improvements

Updated onValueChange to handle both string and number values, providing more flexibility in input handling.

@wingkwong  should I continue working on it?

will be handled by the team member


Calculate tendencies on boundaries

This PR modifies the time-stepping algorithm so that the tendencies for wall-normal velocity components are calculated on boundaries in Bounded directions.
In other words, when x is Bounded, the algorithm now calculates Gu on east boundaries, where i=Nx+1. Previously Gu was only calculated on west boundaries where i=1. The same applies to y and z.
This change is necessary because, in general, the values of Gu, Gv, and Gw on x, y, or z boundaries are needed to impose predictor velocity and pressure boundary conditions when x, y, or z are Bounded --- respectively.
The changes in this PR also motivated a slight refactoring of the way "equations" are specified. There is now a file dedicated to equation / tendency specification, called velocity_and_tracer_tendencies.jl in src/TimeStepping.
Resolves #259 (since it implements a simple / minimal abstraction for equations).

Should probably release v0.25.1 once this is merged as this PR fixes a bug.

@ali-ramadhan I propose we merge now and edit the docstring when we address #682, since we'll have to do it then anyways.

Sounds good to me! Will release v0.25.2.


Change emotiBit_Example to stock_firmware

Description

The new firmware package in Arduino has the stock example moved from EmotiBit_Example to EmotiBit_stock_firmware

Type of correction

[ ] Missing Content
[ ] Broken Link
[ ] Inaccurate content
[x] Outdated/Deprecated content
[ ] Inappropriate content
[ ] Document structure needs updating

Link
https://github.com/EmotiBit/EmotiBit_Docs/blob/master/Keep_emotibit_up_to_date.md#programming-the-feather
Screenshots

Needs to change when we make a new release


How to redirect to login page when not logged in?

Hello everyone,
I have set this in environment.js
ENV['ember-simple-auth'] = {
	authenticationRoute: '/login',
};

however, when i go to localhost:4200/, it won't redirect to login page.
How to make it?
Thanks

It only redirects when accessing an authenticated route without the session being authenticated. The root route of an app should almost never be authenticated.


role_arn credentials are not cached

Unlike the CLI, credentials are not cached on disk under ~/.aws/cli/cache and as such I have to type in my MFA every time I run a python script using boto.  This is even more annoying with codes only usable once because I now have to wait 30 seconds between script executions.
Please have the credentials cached on disk like the awscli does.

Marking this as a feature request.

@jamesls , I see back in 2014 you added the persistently cached credentials to awscli and not botocore intentionally ( https://github.com/aws/aws-cli/commit/22932e53c7085bd8e53b22904b326c426e2e60fc ).
Have you had any further thought on adding this to botocore? I currently use a patched version of botocore and boto3 to introduce your persistent cached credentials from awscli into botocore so that awscli and boto3 share the cached credentials store. If you'd like I can make a PR that introduces this functionality into botocore.

I cannot understand why we wouldn't want cached MFA credentials when using boto3 (or any of the SDKs for that matter).  MFA = human interaction = I want SOME level of caching.

I created a PR to fix this bug ( #1157 ) a couple weeks back. I've been using it locally since then and it works great. Any guidance on what would be needed to get this merged? Any additions or changes?

Here is the final disposition of PR #1157 and how it relates to #1338 including how to use the botocore cache.


Custom paths

This is a rough fix for #3 . It takes a list of module dirs relative to the project root and searches any of the listed paths. Potentially this could be extended to support scanning for webpack or bower config files and pulling the vendor paths out of there. I'm currently working on that option for webpack but this gets the basic needs met here. Using the Project Manager package allows you to create a custom list of vendor directories per project.

Thank you so much. I need some time to test this...

I fixed my typo and added the early return back. The only difference is that I wrapped it in a resolved Promise to keep the return value consistent.


[R] Error using copy_files(): "cannot use file ... as a directory"

Describe the bug, including details regarding any error messages, version, and platform.
library(arrow)
uri <-<EMAIL_ADDRESS># reading from the URI works
df <- read_parquet(uri)
df
#>      carat color clarity depth table price    x    y    z
#> 1     0.23     E     VS1  56.9  65.0   327 4.05 4.07 2.31
#> 2     0.31     J     SI2  63.3  58.0   335 4.34 4.35 2.75
#> 3     0.30     J     SI1  64.0  55.0   339 4.25 4.28 2.73
#> 4     0.30     J     SI1  63.4  54.0   351 4.23 4.29 2.70
#> 5     0.30     J     SI1  63.8  56.0   351 4.23 4.26 2.71

# copying to a file doesn't work
tf <- tempfile(pattern = ".parquet")
copy_files(uri, tf)
#> Error: IOError: Cannot use file 'voltrondata-labs-datasets/diamonds/cut=Good/part-0.parquet' as a directory

# copying into a directory doesn't work either
tf <- tempfile()
dir.create(tf)
copy_files(uri, tf)
#> Error: IOError: Cannot use file 'voltrondata-labs-datasets/diamonds/cut=Good/part-0.parquet' as a directory

This works if I change everything to be directories, e.g.
uri <- "gs://anonymous@voltrondata-labs-datasets/diamonds/cut=Good/"
copy_files(uri, ".")

But, the docs for from and to state that this parameter is "A string path to a local directory or file, a URI, or a SubTreeFileSystem. Files will be copied recursively from this path."
Is this an API change or regression whereby it only now works with directories and not files, or has this only ever worked with directories and our docs are incorrect and need updating?
Component(s)
R

There are two different functions in the C++ codebase for copying files like this; see below
https://github.com/apache/arrow/blob/1ae243628611a43812747f3bc1505072a139b1c8/cpp/src/arrow/filesystem/filesystem.h#L522-L542
We currently provide bindings to the second one, but not the first.
https://github.com/apache/arrow/blob/1ae243628611a43812747f3bc1505072a139b1c8/r/src/filesystem.cpp#L276-L284
I think what we probably want to do here is create R bindings to the other CopyFiles() function, and then when someone uses the R copy_files() function, we check whether the input arguments are directories or not, and use that logic to decide which of the CopyFiles function bindings to call.

Hi, I was wondering if there were any updates on this issue? I've encountered this issue too and would like to copy a single file at a time instead of a whole directory.

I don't think anyone is working on this at the moment; would you be interested in submitting a PR?


Flex 3466 Fixes get configuration behavior (and tests)

Requires new version of OSGP platform to be installed on testserver for the tests to pass.

All is well.

I ran GetConfigurationFeature:
33 Scenarios (33 passed)
194 Steps (194 passed)
0m45.919s

And SetConfigurationFeature:
75 Scenarios (75 passed)
386 Steps (386 passed)
0m58.332s

All is well.


Try this out on the Cosmic Unicorn

As I now have a Cosmic Unicorn production version with the speaker and Stemma connectors, make sure this code works on that too and make any modifications needed so that it can run on the Cosmic and the Galactic without the user having to do anything.

Code changes to support this were done in 64e44b6.
Tested on a production Cosmic Unicorn, works!


Colors

Hi, this is not an issue, love the package, I can't seem to find where you're setting the colors (if you are), I'd love to port them to SEcureCRT and iterm2 so I have a consistent experience.

Woah, I would like to see how you do that.
I am not setting any colors, I'm using built in scopes.
I used the Syntax Highlighting Scopes Showroom to dump all the scopes and check their colors:

Then picked scope names that look somewhat correct from the list:

...the only way I can think of grabbing the colors is using something like Paint.net's color picker tool to grab the color codes:

...a bit tedious.

Yeah, I ended up doing the color picker, here's iterm2 on the left and sublime on the right:

nice... this project is nothing without the regex mess :)
Your iterm setup looks great. I'm a Windows user so I'll cross my fingers that something similar comes to Windows Terminal.


Prevent OpenRPC-generated pages from using the @theme/ApiItem component

As pointed out in #709 (here is the exact comment), the @theme/ApiItem component from the docusaurus-theme-openapi-docs package (as well as our swizzled /src/theme/ApiItem/Layout component) adds some styling/layout that we don't really want to see in the pages generated using the open-rpc-docs-react component. Namely, as pointed out in #709, any <CodeBlock> components are floated to the right-hand side of the screen (wrapping the code block component in a <div> seems to do the trick to workaround it, btw).
This PR aims to ensure that the URL of a page rendered with @theme/ApiItem doesn't include rpc, and will use the default @theme/DocItem component, instead.

Preview is available here:http://developers-pr720.previews.kube001.services.stellar-ops.com

Relevant preview pages: The getTransaction and sendTransaction pages are the only two pages which should be affected by this PR (at the moment). I've also remove the <div> workarounds on both of those pages.


Placeholder for new release version

Issue #, if available:
Description of changes:
Placeholder PR for new SDK version release notes. Once approved, the release will be tagged.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #436 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #436   +/-   ##
=======================================
  Coverage   63.24%   63.24%
=======================================
  Files          32       32
  Lines        1276     1276
=======================================
  Hits          807      807
  Misses        469      469

Continue to review full report at Codecov.

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

I vote wait until Windows is done! It was slow going at first, but I have made decent progress!
Our 'build in tree' system now builds OpenSSL, curl and libjsmn properly.

We wait for it then :) I forgot about the Windows build.

I vote wait until Windows is done! It was slow going at first, but I have made decent progress!
Our 'build in tree' system now builds OpenSSL, curl and libjsmn properly.

+1. We should also push the metrics and rebase on latest PIC


The edges are not fully displayed

Describe the Bug
The edges are only partially shown! pls help! think!
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
1.Click the edge and choose the node through the pop-up box，Refer to the below

2.Add a node and an edge
Expected behavior
I want the edges to show up completely
Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

You are probably using some css framework that hides the overflow for svgs.
Try to add:
.react-flow .react-flow__edges {
  overflow: visible !important;
}

It works! Thanks for the help!


[iOS RN, UiKit] Change Info.plist file for the location to explain why your app needs location access

Case:

Define user's location
Build a route

Text:
Eng.:
Rus.:

The results of fix:


Added Yii2 recipes

Ok, i'll merge this :)

@oanhnn may be it's time for new release? :eyes:

:+1:


ASAP-Alchemy: Catch radicals in CDD downloading

Description
This PR adds a check to remove radical molecules from the cdd downloader in asap-alchemy to make sure such molecules are not used as experimental references in FEC networks. We also make sure ligands created from smiles have explicit hydrogens.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] Remove radicals from CDD download
[ ] make sure molecules from smiles have explicit hydrogens.

Questions

[ ] Question 1 ..

Status

[ ] Ready to go

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #999 (9995926) into main (37e6d36) will decrease coverage by 1.21%.
Report is 10 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

Important to get this in now as alchemy prep doesn't seem to work without it CC slackbot

@hmacdope @apayne97 is a hero and has fixed the tests, this should be ready to go now!


Try to appease travis

This now passes: https://travis-ci.org/arlolra/ores/builds/101945348
But the logs say,

nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module

Yeah.. Will need to find a better solution for these optional dependencies long-term.  this is pretty good for now.


Added info in Security basics

added detail about IAM objects
added detail and link to IAM policy simulator tool

I agree with @jlevy's feedback so far but otherwise LGTM - thanks @lynnlangit!

updated per requests

Thanks @lynnlangit!


improve LLaMA for visual understanding like GPT-4

Thanks for the good works!
We have tried to improve LLaMa model to understand visual information and support multi-modal chatting.
We are inspired that a good vit, e.g., CLIP vision encoder, and a well-trained large language model, e.g., LLaMA, with connection network, e.g., MLP or Transformer, can cover visual applications, like PALM-E.
The results in image captioning, VQA, and more multi-modal tasks, are promising in 7B and we call on more people to support testing of larger models.
Github: https://github.com/feizc/Visual-LLaMA

[X]  fine-tuning scripts and hyper-parameters setting
[X] datasets for fine-grained alignment and instruct tuning
[x] interactive gradio and visual chatbot

Hi feizc,
Thanks for your kindly reaching out the solid visual impact. We have understood your motivation and tried your code today, it's a good insight on improving the visual undersanding of LLaMA model, which is one of the most important capacity of SOTA and next generation LLMs.
Thus, we formally invite you to participate in the research and development of the visual part of Llama-X and look forward to further cooperation in the future.
If you are also interested in Llama-X and want to become a core contributor, please check the welcome email from<EMAIL_ADDRESS>and reply to us with your convenient contact information, so that we can have in-depth communication.
Thanks,
Llama-X


Question: What's the best way to extract a list of entities from an HTML page

I've started using Huginn recently and it's awesome!
I'm scrapping some websites that contain list of items, for instance, products.
I would like to extract each item with some of it's properties in a JSON format like this:
{
	"items": [
		{
			"title": "This is the title 1",
			"description": "This is the description 1"
		},
		{
			"title": "This is the title 2",
			"description": "This is the description 2"
		}
	]
}

The HTML could look like:

This is the title 1

This is the description 1

Some other non relevant text

This is the title 2

This is the description 2

Some other non relevant text

I've been playing with the Website Agent and can't find a convenient away. I could do something like (using array: true and multiple extractors):
{
	"titles": [
		"This is the title 1",
		"This is the title 2"
	],
	"descriptions": [
		"This is the description 1",
		"This is the description 2"
	]
}

But it's not ideal to consume. I could potentially use the JS Agent (or even the Jq Agent) to receive these events and consolidate them in my ideal format, but wondering if there is a better way?
Thanks!

Nested extractors in the WebsiteAgent would probably be a good idea, but doesn't seem it's supported right?


fix: Rename applicationinsights/data-plane/Microsoft.Insights

Folders in the repo use uppercase for the namespace

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

Automation for azure-sdk-for-java

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go


Zoom feature with pinch gestures

can you add pinch to zoom because double tap to zoom is not efficient.

+1
The behaviour is pretty much default for basic PDF viewers. It would be great if you'd add it to the lib.


CompileShaders gxdk requires the Microsoft Gaming SDK

I got this prompt when trying to compile Xbox-GDK-Samples/Samples/System/Gamepad but I already have GDK installed, I'm using visual studio 2019 and the debug platform is Gaming.Xbox.Xbox (x64), am I missing something?

This is likely related to an environment variable it's trying to find. Does this issue still repro for you?

If you only have the "Microsoft GDK" installed and not the "Microsoft GDK with Xbox extensions", then the CompileShaders gxdk command is going to fail. It is designed specifically for Gaming.Xbox.*.x64 platforms. You can build the Gaming.Desktop.x64 platform with the "Microsoft GDK".


feat: Eth wallet support

What kind of change does this PR introduce?

Support for eth authentication

Adds new endpoints:

POST /nonce
GET /nonce/{id}
POST /eth

What is the current behavior?

No support for eth login

What is the new behavior?

Adds eth login support

Additional context

100s of reply from the community 😅
fixes #242
~~https://goethereumbook.org/signatures/~~
https://gist.github.com/dcb9/385631846097e1f59e3cba3b1d42f3ed#file-eth_sign_verify-go

Looking great so far!
A couple things to keep in mind:
Nonce should regenerate on every auth request
For the user in this case we should look at saving either the wallet address or ens address if it is available. That info will come from the client side implementation but I think is something we should keep in mind

I've now done as much as I can for the API without starting to make changes to https://github.com/Supabase/gotrue-js, I know @Rahat-ch said they wanted to try this. However, I think it could be done faster and with less friction If I was to start the PR and @Rahat-ch can take over and optimise it later on as its inevitable I'll make a few mistakes

Looking great so far!
A couple things to keep in mind:
Nonce should regenerate on every auth request For the user in this case we should look at saving either the wallet address or ens address if it is available. That info will come from the client side implementation but I think is something we should keep in mind

That is how everything is working! It should be even more clear now

The initial JS lib changes are being worked on https://github.com/supabase/gotrue-js/pull/185, afaik @Rahat-ch was going to take over so here was the start of a testing file I made. Also that PR will needs tons of changed reach out if you need perms to my branch!
import { GoTrueClient } from ".";

const client = new GoTrueClient({
    url: "http://localhost:9999"
});

(async () => {
    const nonce = await client.getNonce();
    // TODO: Sign Nonce
    const {session, error} = await client.signIn({
        web3: {
            wallet_address: "",
            nonce: nonce.data!.nonce,
            signature: ""
        }
    });
    console.log(JSON.stringify(nonce))
})()

Unsure as to why tests are failing currently, will review this in more detail when it's time to think about moving the PR out of the draft stage

Ready for review now 🎉. There is a demo in this tweet: https://twitter.com/i/status/1464678182372655110

Awesome job! Do you think we could also customize the message to sign there?

Awesome job! Do you think we could also customize the message to sign there?

No, as the nonce conforms to standards and it would be hard to track if you allowed custom "nonces"

Yup, the server has to know this message too. Would be awesome if it could be somehow integrated in the supabase UI somewhere - ie if we could define the message we want on the app with a placeholder for the nonce like "hey, please sign this message. Nonce: {nonce}".

Yup, the server has to know this message too. Would be awesome if it could be somehow integrated in the supabase UI somewhere - ie if we could define the message we want on the app with a placeholder for the nonce like "hey, please sign this message. Nonce: {nonce}".

Can you elaborate on what you mean? The client dose receive the nonce btw!
Also this was made with help from the wallet connect team. Originally the nonce was just a random value but after recommendation from them it was moved to how it is now and it follows this: https://github.com/ethereum/EIPs/blob/75e2bd7f6afc6b6ed3f5a064e3ddf8c60a562e00/EIPS/eip-4361.md
You can see the reference implementation here: https://github.com/HarryET/walletconnect-supabase-example

Hey @HarryET, thanks for your contribution once again! Since this PR aims to bring a new feature to gotrue, it would be great if you can document the new APIs you've created, as well as the overall design of your feature. Diagrams would help alot with checking the high-level implementation and I suggest to take a look at this PR as an example.

Thanks very much @kangmingtay  for the feedback! I have now go a Sequence Diagram which should help explain the flow and the .sql issues have been addresse

Thanks very much @kangmingtay for having a chat with me today, I am going to summarise out call here so that others know the status of this PR as well as the 2 others (GoTrue-Js & Studio) attached to it. We discussed what is working with the PR, what could be changed and what needs to be made clearer. I am trying to find all resources I had used to learn about this and anything that helped me implement this - it may take some time and I'll make sure to add all future resources to this PR.
On the topic of @kiwicopple's comment in the studio pull request - https://github.com/supabase/supabase/pull/4199 - about knowledge on Web3, the meeting this morning was recoded and I believe @kangmingtay was going to send it out to the team for everyone. This PR is being done with support for the WalletConnect team; I will reach out to them and get a review on this PR with any additional comments from them. They have also said there happy to have a joint call between Supabase, Myself and @walletconnect.
Some notes from WalletConnet (@pedrouid) about what is needed at a minimum:

Construct a nonce that is compliant with the EIP-4361 specification
Validate the signature send back matches the target address from the nonce

Some general notes that need to be picked up by me:

Making some areas of code clearer. This could be achieved by adding comments and making sure functions have correct names.
Clear up naming of fields/methods. For example, in some places the address is referred to as WalletAddress in others its EthAdddress. All names should try to be generic so that in the future there are no deprecated fields needed.
This PR is going to be scoped to Ethereum only, there was some discussion about having support for more Web3 providers in the future so the database layer will be designed to support multiple while the actual implementation will only support Ethereum for now. The was this could be achieved in the future could be similar to the way OAuth providers are done?
The tests are currently failing because nonce.build() uses a method on time.Time that is only added in Go 1.17, I will address this by using a method that is in both 1.16 and 1.17

Some issues with the current implementation are:

Areas of the code are a mess and hard to understand, this could be solved with comments and making sure all logic is needed removing dead code and commenting in hard to read areas.
The email rate limiter is being used for the /nonce and /eth endpoints. This was due to confusion on my end with the rate limiter's variable name. This is going to be solved with a new nonce rate limiter and remove all rate limiting from the Ethereum login endpoint
If the user was to spam /nonce they could flood the database with rows, this could be solved with a tighter rate limiter or by having checks so that if there is a nonce that already exists for that wallet address and IP its returned instead of creating a new nonce. We also need to look at how expired nonces are going to be deleted and removed from the tables. This could be done with a pg_cron job - requiring pg_cron to be installed on all databases. or could be done in go with a cron job?
The way addresses are stored is only for Ethereum so this can be solved with storing an array of addresses. We discussed some solutions for this and couldn't think of the best way. Any ideas would be awesome. The 3 we though of are below:

Just store one address, this is not favourable as it doesn't work well with the idea of multiple cryptocurrencies for auth or the idea of being able to "merge" accounts together
Storing an array of JSONB with the following data shown below.  This would then allow for multiple crypto providers and could work well when account "joining" is released.

[
    {
        "crypto_provider": "eth",
        "wallet_address": "0x......"
    },
    {
        "crypto_provider": "eth",
        "wallet_address": "0x......"
    }
]

Storing an array of addresses in text as shown below; This does have its downside though as it doesn't support explicitly defining the crypto provider. However if all addresses are different or can be figured out in code this could be better. If it was checked in code the clients would also have to-do this which would add additional compute time?

[
    "0x......",
    "0x......"
]

Ideas for the future:

There are services like ENS which could provide lookup for addresses to get usernames & profile pictures. However, this is not going to be implemented in this PR and could be included in a future PR when this code is refactored into a multiple crypto login method.

Addressing previous comments on this PR:

Awesome job! Do you think we could also customize the message to sign there?

@gwendall, this has now been added in the form of customising the statement within the  EIP-4361 message, if the statement isn't set it defaults to the SiteURL. However, this will be changed to not include the statement line if not set in the env

Nonce should regenerate on every auth request

@Rahat-ch, That is how it works now. Hopefully the sequence diagram included above makes that easier to understand the implementation?
Closing comments:
If there is anything I missed in this feel free to let me know, same applies for any further questions.

Thanks @HarryET for posting this comprehensive breakdown of the call with @kangmingtay 🙌
If we want to make this provider more generalized for other blockchains then we should definitely use CAIPs which are a set of chain-agnostic standards that allow applications to be more generalized but still highly interoperable
Instead of having fields like crypto_provider, wallet_address and chainId we can actually provide a more generalized interface that includes all fields in a single identifier which we describe as CAIP-10 Account Identifier
eg. Ethereum Mainnet account address
// without CAIPs
{
    "crypto_provider": "eth",
    "wallet_address": "0x58315c689b483a66b951EDEfAbf8847c75e44B45"
    "chain_id": 1
}

// with CAIPs
{
    "account": "eip155:1:0x58315c689b483a66b951EDEfAbf8847c75e44B45"
}

Regarding Authentication specifically there is already a proposal to generalize EIP-4361 with a more chain-agnostic interface which is called Chain Agnostic CApability Object aka CACAO
https://github.com/ChainAgnostic/CAIPs/pull/74
This would essentially meet all the requirements described above and be more expandable in the future
Additionally this has the advantage to differentiate between "eip4361-eip191" and "eip4361-eip1271" which the latter is used for Smart Contract Wallets and I mentioned to @HarryET that should be out of scope of this first PR because the former covers 95% of all use-cases already
I still believe the current PR provides a lot of value and should not be dismissed because of it not being as generalized and agnostic as CACAO specifies it
Ethereum (aka EVM) chains have the majority of users thus an implementation of EIP-4361 authentication that supports EIP-191 signing would be already a huge game changer for Supabase-based applications like WalletConnect Cloud

Hey @HarryET - Rocco from Spruce here helping lead efforts on Sign-In with Ethereum.
If there's anything we can help with, definitely let us know. We may also begin work on a siwe-go library soon!

Hey @obstropolos, We have a plan worked out for how to finish this off and I think we close. Currently waiting for feedback from supabase though :/

@HarryET and @obstropolos thanks for your patience! We've tabled this in the agenda of our team catch up tomorrow and we will get back to you shortly!

Reviewing comments from the Supabase team after a join call between: Myself, Supabase, WalletConnect & SpruceID there are required changes which are being made.

I'm not familiar with Ethereum or the ecosystem, but a quick glance at the code shows that you're creating a table called nonces, which doesn't actually store any generated nonces. The "nonce" model seems to be storing information related to the message as defined in https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4361.md, but a new nonce is being generated everytime the "nonce" model is being cast to a string message to be signed. Doesn't that mean that you'll never be able to get a matching nonce in the message which is signed by the client?

I'm not familiar with Ethereum or the ecosystem, but a quick glance at the code shows that you're creating a table called nonces, which doesn't actually store any generated nonces. The "nonce" model seems to be storing information related to the message as defined in https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4361.md, but a new nonce is being generated everytime the "nonce" model is being cast to a string message to be signed. Doesn't that mean that you'll never be able to get a matching nonce in the message which is signed by the client?

Hey, thanks for the comments. This has all been cleared up with the Supabase team and there are plans in place to fix all of the mentioned issues.

This can now be tested on the demo, the only thing missing in this PR are tests. Any other comments are appreciated in regards to parts of the PR that are done incorrectly or are missing.

Should this be marked as ready for review? Thanks for your work btw!

Should this be marked as ready for review? Thanks for your work btw!

No @Xanewok, this will stay as draft till the Supabase team are happy with the security side. There open internal channels of communication to keep this PR moving. Refer too @kiwicopple's reason for closing this issue here for an explanation from the Supabase team: https://github.com/supabase/supabase/issues/6474#issuecomment-1102488857

Really need this. What can we do to merge this? @kiwicopple

Hello @byterose, I see you have also commented on the demo repo. This PR changes the core of GoTrue by adding a brand new method of auth that could have added vulnerabilities to GoTrue; as such this PR may take some time. Having people keep replying here with some version of "I need this" will not help. Also pinging the Supabase team will not help speed this up. As I have previously started, there are internal communication tracks between myself, Supabase and other parties. And updates will be posted here as it is applicable for people to know.


"Scale from 0" and "MultipleFuncInvoke" tests often fail in vHive CRI CI

Describe the bug
vHive CRI tests exhibit a sporadic (but quite frequent) failure when scaling microVMs from 0:

=== RUN   TestAutoscaler/Scale_from_0
=== CONT  TestAutoscaler
    cri_test.go:166:
        	Error Trace:	/root/_work/vHive/vHive/cri/cri_test.go:166
        	            				/root/_work/vHive/vHive/cri/cri_test.go:99
        	            				/root/_work/vHive/vHive/cri/cri_test.go:109
        	Error:      	Received unexpected error:
        	            	rpc error: code = DeadlineExceeded desc = context deadline exceeded
        	Test:       	TestAutoscaler
        	Messages:   	Failed to get response from function
=== CONT  TestAutoscaler/Scale_from_0
    testing.go:1336: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
--- FAIL: TestAutoscaler (268.62s)
    --- PASS: TestAutoscaler/Scale_fn_with_concurrency_1 (8.58s)
    --- FAIL: TestAutoscaler/Scale_from_0 (260.04s)

=== RUN   TestMultipleFuncInvoke
    cri_test.go:167:
        	Error Trace:	/root/_work/vHive/vHive/cri/cri_test.go:167
        	            				/root/_work/vHive/vHive/cri/cri_test.go:132
        	            				/root/_work/vHive/vHive/cri/asm_amd64.s:1571
        	Error:      	Received unexpected error:
        	            	rpc error: code = DeadlineExceeded desc = context deadline exceeded
        	Test:       	TestMultipleFuncInvoke
        	Messages:   	Failed to get response from function
--- FAIL: TestMultipleFuncInvoke (60.04s)

Hence, we exclude these tests from the CI until a fix is found.

@lrq619 Was this fixed in your last CI update?

@lrq619 Was this fixed in your last CI update?

No, it is not fixed, there will still be sporadic failures


Add hash parameter to UrlGenerator methods for generate URL

What is a hash? Query parameters?

What is a hash? Query parameters?

No. String after #. For example:
https://example.com/action?param=value#hello

"hello" is hash

I think we should name it #

In RFC 3896 this part of URL is called "fragment identifier" or just "fragment". But "hash" is a popular term for call it. For example, property window.location.hash in JS.

I'd leave it as "hash". It's a common name.


feat: support realtime update

Codecov Report

Merging #14 (a019fae) into main (bb2882f) will decrease coverage by 0.77%.
The diff coverage is 79.31%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   99.73%   98.96%   -0.77%
==========================================
  Files           5        5
  Lines         747      772      +25
==========================================
+ Hits          745      764      +19
- Misses          2        6       +4
- Partials        0        2       +2

Impacted Files
Coverage Δ

featureprobe.go
96.58% <77.77%> (-2.47%)
:arrow_down:

sync.go
100.00% <100.00%> (ø)


[FEATURE] Rotation methods

Is your feature request related to a problem? Please describe.
Gives the user the option to rotate by incremental or random method
Describe the solution you'd like
Something like --method=1/2.
Describe alternatives you've considered
If -r/--rotate is set to 0, then randomize.
Additional context
TBD

I think it is better to leave the behavior of the -r/--rotate  option as it is now, namely to control the frequency of proxy changes. Use the -m/--method option to set the rotation method, sequential or random (with balancing). Example -m/--method=successively|random.


Submitted URL Undefined

Any idea why this would be happening? Or has anyone had this issue and it's been solved. Can't seem to find an existing issue anywhere.

It says you submitted undefined. Are you pasting a URL where you're supposed to paste a URL?

Turns out DriveAPI had somehow disabled itself. Problem was solved by just re-enabling it...


Troubleshoot 32-bit errors

Summary
Outstanding questions:

Which version of Visual Studio 2022 is required?
Is it still the <UseWinFormsOutOfProcDesigner>True</UseWinFormsOutOfProcDesigner> setting still valid?
Do you need to turn on the auto detection feature in Visual Studio's settings?

Fixes #1750

Internal previews

📄 File
🔗 Preview link

dotnet-desktop-guide/net/winforms/visualstudio/troubleshoot-32bit.md
dotnet-desktop-guide/net/winforms/visualstudio/troubleshoot-32bit

@tdykstra

My general issue with it is this:
I think the problem is not so much if your WinForms App is 32-Bit or 64-Bit, it is rather if it relies of a 32-Bit component which can only run in a 32-Bit process. BTW: the same applies for the other way around with 64-Bit and VS 2019. It would not have been possible to run an app in the VS 2019 32-Bit bound designer, which was definitely not the case. So, we compile the assembly relevant for showing design-time-functionality in VS 2022 in 64-Bit and in VS 2019 in 32-Bit, no matter what your project's actual bitness is. Only if there is a component, which doesn't work in 32-Bit in VS 2019, or in 64-Bit in VS 2022, we run into problems. The first case almost never happens, but now, with VS 2022, the reversed case does.
@Shyam-Gupta is a better candidate to confirm and do a detailed review of this - he also wrote the respective blog post.

Which version of Visual Studio 2022 is required?
17.9 Preview 2 or newer
Is it still the True setting still valid?
Yes
Do you need to turn on the auto detection feature in Visual Studio's settings?
This feature is ON by default. It is controlled by following option in VS -> Tools -> Options -> Preview Features:


Change list reference bases from GET to POST

This PR changes the functionality of the list reference bases endpoint to a style more consistent with the remainder of the API. https://github.com/ga4gh/schemas/pull/647 https://github.com/ga4gh/server/pull/1309

Reference ID's are now included directly in the request.
The path for listing reference bases is simpler.

If the schemas are accepted the POM's need to be changed before this PR is merged.

+1

@david4096 if you re-sync this I will merge :-)


Lighter big button color change on hover

Up to preference, but this may look a bit nicer compared to the old hover effect for the big buttons in the hero section.

@hramos thoughts?


D3D11 Deferred Context

D3D11 has the concept of a Deferred Context in addition to the Immediate one:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476880(v=vs.85).aspx#Deferred
It's supposed to work similar to Vulkan/Meta/DX12 command buffers, although not used much for some reason. We could have separate Device and CommandBuffer implementations in our dx11 backend to work with deferred contexts: each command buffer will just wrap one instead of carrying a list of commands. If we are smart enough, we should be able to share the processing logic between these device implementations.
As an option, we could move the command buffer out from the associated type to the generic parameter of the device, and implement Device<ImmediateCommandBuffer> and Device<DeferredCommandBuffer> for the same structure, which seems convenient.
When this works, we'll be able to profile both immediate and deferred contexts, tell if there is any performance difference. Pinging @sectopod, in case you want to give it a try within #861.

There is a D3D11_CREATE_DEVICE_SINGLETHREADED flag:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476107(v=vs.85).aspx
Theoretically, using it allows the runtime/driver to avoid any thread checks and synchronization, thus increasing the performance. We should have it enabled for the immediate-context version of the device, and disabled for the deferred context one.

I'll definitely try that! If I'm able to share the code with the immediate context, there shouldn't be too much to add here.

D3D11_CREATE_DEVICE_SINGLETHREADED may be useful, but it appears to have nothing to do with deferred contexts. It would make sense with factories that don't implement Send.

I gave it a try, and unfortunately there is one obstacle from re-using the same processing code - DataBuffer. Commands are supposed to be clonable and sendable, thus we copy the data, such as texture update texels, into the special data buffer and pass along the command buffer.
Problem is - for the true deferred context there should be no external data buffer, and we should operate directly on pointers. Thus, we can't have the same function for processing commands in the device and a deferred context... Needs to be a little more complex to work.


[WFLY-6784] Add possibility to enable websocket compression via management model

Issue: https://issues.jboss.org/browse/WFLY-6784

This needs transformers

This will conflict with https://github.com/wildfly/wildfly/pull/8586

yes, this should be closed until we get master open and with model/parser bumped to 4.0, aka #8586
at that point it will need transformers.

So let me close this for now. I will revisit this once master opens.


Chrome store link 404?

It's showing 404 when accessing https://chrome.google.com/webstore/detail/acid-tabs/hgceopemmcmigbmhphbcgkeffommpjfc.
I'm pretty sure it worked previously, but when I try to install the extension on a computer today I can't find it.

Yes, it looks like it was removed from the Chrome web store. Does anyone know why and if it's going to be added back?

Hey all. Chrome removed the extension about 5 days ago because it requested the tabs permissions and supposedly the tabGroups permission already gives you access to the chrome.tabs API.
I made the changes as soon as it was removed (https://github.com/jdhayford/acid-tabs-extension/commit/d01b5ea0e8dc93e24710c83384758dce51eee8c4) but unfortunately, it is still pending review on the Chrome store. I have sent an additional message to try to expedite the process.
Sorry to anyone for the inconvenience, I hope we can get it back up soon and will drop a comment in here when they finally approve it.

Chrome responded to the support ticket and has re-approved the extension. It should be back up on the Chrome store and (hopefully) we never have this issue again.
Let me know if anyone has any other questions, if not I will close this issue.

I am a first time user. I installed 6.5.2 and am on Chrome 91.0.4472.164. None of my groupings seem to be working. I am also not seeing anything in the extension options page except for the text "SETTINGS PAGE".

@ryanbuening Good catch. It turns out the extension really does need "tabs" permissions after all 🙄 . Not sure why the chrome team told me it didn't. I'm pushing an update to add it back in now.

The above update is now live, will advise if the Chrome team continues to believe that this extension should not request the "tabs" permission.


Consider relaxing "SQL statements other than SELECT are recognized automatically as non-composable" for CTE

CTEs are not recognized as composable by default because they can be followed by something other than SELECT. Would it be possible to recognize when a CTE is followed by SELECT and allow the query to be composable?

Duplicate of #4976

Would it be possible to recognize when a CTE is followed by SELECT

As for this, we explicitly decided not to do any SQL parsing to recognize features as it is prone to errors and not so provider agnostic. Hence we would have a different API, where this can specified and made it work.


added try-catch block to handle runtime exceptions

Added try-catch section to handle runtime exceptions: System.IO.FileNotFoundException and System.InvalidCastException

The Issue: https://github.com/FlaUI/FlaUInspect/issues/13#issue-753510888

Thank you. I merged your changes.


feat request: ability to add icons in auto generated breadcrumb

What problem does this feature solve?
Ability to add icons or even any HTML tags in auto generated breadcrumb. Currently nz-breadcrumb displays any HTML tags as text.
Demo: https://ng-zorro-breadcrumb-auto-with-icon.stackblitz.io
What does the proposed API look like?
Check stackblitz link: https://ng-zorro-breadcrumb-auto-with-icon.stackblitz.io

This is a brilliant idea! The only problem is how to design the API for it. Any idea?

I think the main problem with rendering is related to DomSaniteizer.
For example, we may have an additional option, like bypassSecurityTrustHtml, and if it set to true, then any HTML tags in nzRouteLabel will be displayed as HTML.


Remote Read for 2.0

This is the issue to track for 2.x:

[ ] Remote reading from external sources
[ ] Remote read endpoint in Prometheus to allow it to act as an LTS

Remote read endpoint in Prometheus to allow it to act as an LTS

With my proposal for transition, this needs to happen in 1.x.

See also #2811

I have "Remote read endpoint in Prometheus to allow it to act as an LTS" almost working in a branch here, will push preliminary PR tomorrow morn.


Strange raw_input problems

From<EMAIL_ADDRESS>on 2010-11-12T11:58:21Z
What steps will reproduce the problem?

Define this class in a file:
class test:
def Pause(self,s):
raw_input(s)
def Test(self):
print 'this is a test'
self.Pause('press enter to continue')
print '2nd part'
self.Pause('press enter to continue')
print '3rd part'
self.Pause('press enter to continue')

Write the following in another file:
from test2Class import * #test2Class is the name of the file where the test class is defined

t=test()
t.Test()

Run (F9) the 2nd file What is the expected output? What do you see instead? Expected output (my comments between []'s):
this is a test
press enter to continue [pause here, until I press enter]
2nd part
press enter to continue [pause here, until I press enter]
3rd part
press enter to continue [pause here, until I press enter]

Actual output:
this is a test [pause here, until I press enter]
press enter to continueTraceback (most recent call last):
File "<executed_script>", line 11, in <module>
File "test2Class.py", line 13, in Test
self.Pause('press enter to continue')
File "test2Class.py", line 10, in Pause
raw_input(s)
EOFError: EOF when reading a line What version of the product are you using? On what operating system? spyderlib 1.1.8 in Ubuntu 10.10 x64.
Please provide any additional information below
. If I define the class and use it in one file instead of two (joining the two aforementioned files), I get the expected output.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=449

From pierre.raybaut on 2011-05-16T01:17:20Z
Please update to Spyder v2.x as the v1.x branch is no longer maintained.
Here is the official Debian package: http://packages.debian.org/fr/sid/spyder
Status: WontFix
Labels: Cat-Console


Minimum Python version to 3.10 TODO

type annotations

[x] Use of Optional and Union can now be migrated to using the | operator in the following circumstances:

[x] parameter annotations of functions decorated with @valimp.parse (get_type_hints did not support the | operator prior to py 3.10). For example, Optional[Union[str, float, int]] can now be annotated as str | float | int | None.
[x] creating type aliases, for example Symbols = Union[list[str], str] can now be defined as Symbols = list[str] | str
[x] Indeed, search across the library for any references to Optional and Union, including with the docs, and remove / revise.

[x] Should also be able to lose the from __future__ import annoations lines from the top of modules.
[x] Can probably by now revert the fix implemented to accommodate bug in pandas 2.1.0 concerning treatment of origin. Intention in https://github.com/pandas-dev/pandas/issues/55064 was to revert in 2.1.1. Required changes to revert fix are noted in comments on the commit.

Would be closed by #353


Sed timeout

Got this error:
[in.c-keboola-ex-db-mssql-61167227.raw-50001]: The BCP export failed: The process "sed -e 's/^\x00,/,/g;s/,\x00,/,,/g;s/,\x00$/,/g' -i /data/out/tables/in.c-keboola-ex-db-mssql-61167227.raw-50001.csv" exceeded the timeout of 300 seconds.. Attempting export using pdo_sqlsrv.
Executing "SELECT [UID], char (34) + COALESCE(REPLACE ([SRC_IP], char (34), char (34) + char (34)), '') + char (34) AS [SRC_IP], char (34) + COALESCE(REPLACE ([DST_IP], char (34), char (34) + char (34)), '') + char (34) AS [DST_IP], [SRC_IF], [DST_IF], [APP_ID], [PROT_ID], [PORT], [DST_PORT], [OCTETS], CONVERT(DATETIME2(0), [FLOW_START_TIME]) AS [FLOW_START_TIME], CONVERT(DATETIME2(0), [FLOW_END_TIME]) AS [FLOW_END_TIME], CONVERT(DATETIME2(0), [COLLECTION_TIME]) AS [COLLECTION_TIME], [PACKETS] FROM [dbo].[Raw_50001] WHERE 1=1 AND [COLLECTION_TIME] BETWEEN DATEADD(DD, -30, GETDATE()) AND GETDATE();" via PDO

I'm not sure if it means that there is something wrong, or if the sed can really take this long and it's worth increasing the timeout.
https://connection.eu-central-1.keboola.com/admin/projects/399/jobs/64336607?q=
https://keboola.zendesk.com/agent/tickets/11306

hmmm, that's a new one.  what is the size of the output?  Increasing the timeout seems like a reasonable thing to do.

hm, Sam says 200M, so I can imagine it's quite large


Set webURLs to nil when resource is nil (NSButton and UIButton)

As in https://github.com/onevcat/Kingfisher/pull/598

Codecov Report

Merging #601 into master will decrease coverage by -0.05%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #601      +/-   ##
==========================================
- Coverage   74.66%   74.62%   -0.05%
==========================================
  Files          21       21
  Lines        2262     2266       +4
==========================================
+ Hits         1689     1691       +2
- Misses        573      575       +2

Continue to review full report at Codecov.

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


Provider Azure stack

Provider azure stack is missing. Is there a plan to add it?
Thank you.

@Anakinn - can you provide more info? provider missing where?

In terraform task provider azure_stack is missing. There is provider azurerm, aws and gpc. Azure stack is supported by terraform.
https://imge.to/i/vZoe4Z