Monitor and optimise our usage of Google Cloud Platform

Now that we've built out the essentials of the digital platform our focus needs to cover monitoring and optimising our usage of Google Cloud Platform, in particular Firebase services.
Optimising how we read, write and store data can have a big effect on how much we are billed.

Assigned to Halcyon in the March WO.

Backups of the production database have been kept since Dec 2019.

Cloud storage use has been increasing steadily because backup history is not being truncated at present.

Current costs are minimal. Main cost is Cloud Firestore but that is based on the bandwidth usage of the platform. Unless the system has a big increase in end-users or inbound connections or something, I would not expect that to change much.
Current costs for cloud storage (where database backups are kept) are minimal, however backups are only being taken once a day at present, at 23:00. Increasing this to hourly backups is an option but will increase the cloud storage costs (x24). If that option is to be taken, to make that sustainable, perhaps the JAC could truncate some of the backup history (i.e. to 30 days). Note: This is not just a cost issue but a Disaster Recovery / Business Continuity question.

Hi guys
I'm not sure if there's actual code changes that should be made as part of this task or not but perhaps someone could take a look at the above findings.
@warrensearle I think this issue could be linked to the changes you are going to make to the databsae backup routine. Perhaps it would be worth merging it into an Epic ?

@HalcyonJAC agreed there is a larger epic of work around backup, restore and disaster recovery. Am sure we already have an epic for this so will post link here we can add to [ TBC - link to disaster recovery epic ]
This task around monitoring and optimising our usage of GCP is really an ongoing open-ended one. We should:

[x] check how things are now
[x] make recommendations for things to fix now
[ ] make suggestions for things to watch out for (e.g. in firestore are we doing too many reads vs writes or vice versa? be good to know where the current charge is coming from)
[ ] set up any available alerts so we are aware of spikes in usage & charges
[ ] repeat regularly (e.g. on a monthly basis)

Hello @warrensearle and @HalcyonJAC, am I right in thinking that this ticket has now been completed and can be closed?
I can see that some ongoing work has dropped out of it. I'm happy for that to be ticketed.

Hello @HalcyonJAC does this work provide a level of virus/malware scanning through Google Cloud? I'm trying to establish whether a seperate ticket is needed to specifically address the risk of malicious files being uploaded onto the platform.

Hello @warrensearle and @HalcyonJAC  am I right in thinking that this ticket has now been completed and can be closed?
I can see that some ongoing work has dropped out of it. I'm happy for that to be ticketed.


Body of project's doesn't center.

When you make the description for a project too short, it will align left in the parent and looks somewhat strange.
Example:

Synful

            A versatile PHP framework for you to create your own API with ease.

        View Project

Good catch! I'll get this fixed in the upcoming release. Thanks for pointing it out.


Configuration number of lines per subtitle

The user can define how many lines every subtitle should maximal include. The default value is 2 lines.

The requested functionality is implemented. UI will be implemented at a later stage, therefore the issue is kept open.

The UI part of this issue has moved to https://github.com/IRT-Open-Source/imsced/issues/109. Otherwise, the core requirement of this issue has been met and it can be closed.


Improve lexical analyser and parser error handling

The lexer and parser have to provide better error messages. On top of providing the cause of error, they have to provide the location of the error. We might have to rewrite the tree traversal logic to accommodate for this change.

Migrated over to ohmjs because Shunting yard algorithm is not powerful enough to detect invalid syntax and it cannot provide a useful enough error message. JISON has been abandoned for so long that it simply does not work with typescript and es6 in general. Ohm js uses  PEG but that is not a problem


internal: drop latest requests tracking

bors r+
🤖

Sanity check: am I right that no one actually is using this? :-)

I've used it a couple of times.


4.x: Inject: new modules

This PR introduces

helidon-inject - to replace helidon-inject-api and helidon-inject-runtime
helidon-inject-configdriven-services - to replace helidon-inject-configdriven-api - to align with helidon-inject-services
helidon-inject-configdriven - to replace helidon-inject-configdriven-runtime - to align with helidon-inject

Description
There are no removed modules, that will be done in a follow up PR.
This is to enable comparison of the types as they are.
Similar to #8149 the modules are not yet used anywhwere, all changes in usage will be done as a follow up PR
This change drastically simplifies the API and SPI, removes a couple of features (debug flag, activation log) to make it as simple as possible, without extensibility (except for what we need in Helidon).
As we now have a single implementation, we can use a configuration objec to initialize the service registry (and the list of options on that object was reduced).
One of the bigger changes is refactoring of lookup methods to something we already use in Helidon (first, find and all)

Usage (simple configuration and registry usage):
InjectionServices.configure(InjectionConfig.builder()
                                            .permitsDynamic(true)
                                            .serviceLookupCaching(true)
                                            .build());

// use the registry
Config config = InjectionServices.instance()
    .services()
    .first(Config.class)
    .get();

Usage (simple configuration and registry usage):
InjectionServices.configure(InjectionConfig.builder()
                                            .permitsDynamic(true)
                                            .serviceLookupCaching(true)
                                            .build());

// use the registry
Config config = InjectionServices.instance()
    .services()
    .get(Config.class)
    .get();

Will this be for "any" Helidon singleton service, or just special for Config (or some pre-defined subset)? Contract based?

Will this be for "any" Helidon singleton service, or just special for Config (or some pre-defined subset)? Contract based?

Config in this example is "just" a singleton service with a Contract


CSRF middleware backport

Here's a tentative implementation of the backport from TSec.
I had to port apache commons Hex.encodeHex to avoid bringing in another dependency to be able to get a
performant Hex encoder, and handwrote find on NonEmptyList only because I'm not too familiar with scalaz. I figured there maybe a find function already I just can't find it.
It's syntactically Equivalent to the version I currently am PRing fixes onto tsec for, and adapted similarly from the play framework implementation. The gist of the vulnerability mitigation is to use the middleware to set the token cookie, and send such a token along with a custom header value. Given that an attacker forging a request cannot access the values of a cookie due to same-origin policy, this will guard against CSRF.
To defend against BREACH, we effectively randomize the token on each request,  but to avoid recomputing both the signature and the tokenId, we can reuse the raw value from the incoming request.
After some review and seeing what you guys think (if anyone can improve some of the code in there, awesome, I don't use scalaz much), I can port this onto 0.17.x as well.

Regarding the compilation errors, the ways to construct a Scalaz Task are:

Task.now (strict)
Task.delay (lazy)
Task.apply (shifts to provided ExecutorService; rare)

Ah, my bad. point wasn't throwing errors on local.
I will fix

I think it may have been added in a later Scalaz.
If you run into any differences on run vs. unsafePerformSync, there is an org.http4s.compatibility._ trait for that.  That should not be used past 0.16.

@rossabaker I'm a bit stumped on this error...
Any ideas?

5th time's the charm :tada:

Actually, one last suggestion: Can we name this Csrf instead of CSRFMiddleware?  We don't call anything else Middleware in the type name, just the package.

I went ahead and pushed my own suggestion.  If people don't like it, we can revert and merge as is.  This will affect #1538.


Cleanup container layout

Proposal
The current Dockerfile configuration is such that if you override the default command args, the paths to various files are incorrect compared to the default config flags.
It should be possible to pass flags like --storage.tsdb.retention.time to the container command without having to also specify the TSDB path or the config path.
This is a breaking change and would have to happen in Prometheus 3.0.

@SuperQ, @jan--f, I'm happy to have a look at this, did you have any ideas of how it should be done?

I think this is no longer necessary.


feat: improve function templates; consolidate console.log, add jsdoc, add lambda types

Description of changes

consolidates provided console.log structure
add JSDoc annotations
add Lambda Types package for JSDoc

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #9649 (7757b49) into master (63c09ad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9649   +/-   ##
=======================================
  Coverage   52.93%   52.93%
=======================================
  Files         829      829
  Lines       45865    45865
  Branches     9789     9789
=======================================
  Hits        24279    24279
  Misses      19581    19581
  Partials     2005     2005

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 63c09ad...7757b49. Read the comment docs.


airwave 1.3.2 crashes on ubuntu 16 + wine 1.9.3 staging

hello ! when i open airwave, i click link, then "browse" VSTplugins, it opens my "~/home/user/.wine/drive_c"... then i click on my vstplugins folder, it opens then the program closes/crashes.
can you help me ? edit: wine 1.9.19 staging.

Are you dl7813 from KVR forums? I know about this issue and I'm trying to figure out what's going wrong there. Do you have something unusual in your vst folder? Symbolic links, mounted file systems, filenames with Cyrillic letters, etc? What permissions does this folder have?

yes, but i thinked u has forgot me, so i reinstalled (winehq-devel 1.9.19 so not staging), and it still crash, i looked the folder & it is ~/.wine/drive_c/vstplugins/ so nothing specials, it has normal permissions read/write (other : read).
I dunno why it crashes because i'm new to linux, i hope you will find the solution, i'm stuck atm.

This issue is not with wine, it is definitely a bug in airwave. Could you temporary move all files from your vstplugins folder to any other folder and try to open vstplugins from airwave one more time?

(did not had to move files/hidden files as the folder "vstplugins" & "vstplugins 64" are both empty)
so i opened airwave again, then navigated trough folders... in/out... and same crash issue.
if that can help you, i have a 4.7 low latency kernel (from kernel.ubuntu.. website), and i use the nvidia-370 graphics drivers.
btw ! where the log files are stored ? i could send you the crash log.

Well, this is a bug somewhere in the GUI code. It doesn't related to audio at all, thus there is no log messages.

you gonna work on it ? hey, phantom, it's not vital ;) take your time and make it right. i gonna wait for it, you will tell me if you fix it please ?

Can you navigate to any other folder in that file dialog? Does it crash only when you go to your "vstplugins" directory?

no, it crashes in every folders i try to navigate.

This is a good sign! What is your Linux distribution? How did you install ariwave (building it by yourself or using my pre-built package)?
Also, could you please run the following in the terminal and show me the output:
ldd -d /opt/airwave/bin/airwave-manager
Here I assume that you have installed airwave at /opt/airwave/. In general you need to use a path to the airwave-manager binary in that command.

$ ldd -d /opt/airwave/bin/airwave-manager
ldd: /opt/airwave/bin/airwave-manager: Aucun fichier ou dossier de ce type

(no file or directory of that type)
i use ubuntu studio 16-04 kernel 4.7 lowlatency nvidia-370, and download airwave 1.3.2 deb from your pre-built package, i dunno how to compile. i dunno where is installed airwave, i cliked install airwave in "software" installer.

Sorry, my mistake. It should be:
ldd -d /usr/bin/airwave-manager

np, here it is ->
$ ldd -d /usr/bin/airwave-manager 	linux-vdso.so.1 =>  (0x00007ffce03a3000) 	libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f1d6bd96000) 	libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f1d6bc3c000) 	libmagic.so.1 => /usr/lib/x86_64-linux-gnu/libmagic.so.1 (0x00007f1d6ba1b000) 	libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f1d6b4d3000) 	libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f1d6affd000) 	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1d6ac7a000) 	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1d6a971000) 	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1d6a75b000) 	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1d6a391000) 	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1d6a174000) 	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f1d69f21000) 	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1d69c0f000) 	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1d698d5000) 	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1d696bb000) 	libproxy.so.1 => /usr/lib/x86_64-linux-gnu/libproxy.so.1 (0x00007f1d69499000) 	libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f1d69274000) 	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f1d69016000) 	libGL.so.1 => /usr/lib/nvidia-370/libGL.so.1 (0x00007f1d68d86000) 	libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007f1d68924000) 	libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007f1d68590000) 	libpcre16.so.3 => /usr/lib/x86_64-linux-gnu/libpcre16.so.3 (0x00007f1d68329000) 	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1d68125000) 	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1d67f1d000) 	/lib64/ld-linux-x86-64.so.2 (0x000055653b4e4000) 	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f1d67d14000) 	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f1d67aa4000) 	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1d67881000) 	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f1d675d7000) 	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f1d673b2000) 	libGLX.so.0 => /usr/lib/nvidia-370/libGLX.so.0 (0x00007f1d67181000) 	libGLdispatch.so.0 => /usr/lib/nvidia-370/libGLdispatch.so.0 (0x00007f1d66e98000) 	libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007f1d653e1000) 	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1d651dc000) 	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1d64fd6000) 	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f1d64dc3000)

Hmm.. your output looks good to me. If you doesn't tired yet, please, run /usr/bin/airwave-manager from the terminal, then open the link creation dialog and let it crash by choosing your vstplugins folder. I want to see messages in terminal after the crash.

$ airwave-manager
Erreur de segmentation (core dumped)

segment error.

Erreur de segmentation (core dumped)
Can you find this "core" file somewhere? It is usually looks like "core.1234" - 1234 is just an example. Any number can be there.

Right now it looks like you have incompatible version of some system library. I built my package for Ubuntu 14.04, possibly Ubuntu Studio 16.04 has some incompatible library. Anyway, thank you for information, I will continue searching and let you know when I fix it.

using "catfish file searcher" it did not found any "core." nor "core.*" file.

It is just my guess and I could be wrong. Sometimes libraries change their ABI (Application Binary Interface). When this happens, there can be weird crashes like you have. But don't get me wrong, I'm still considering a bug in airwave. You're the first person who has such issue and I think there should be at least a few Ubuntu 16.xx and Ubuntu Studio 16.xx users.

Meanwhile, you can create link for Serum manually.

Create/edit airwave configuration file /home/user/.config/airwave/airwave.conf:

{
   "binaries_path" : "/usr/bin",
   "default_log_level" : 2,
   "links" : [
      {
         "loader" : "default",
         "log_level" : -1,
         "path" : "/home/user/vst/Serum.so",
         "prefix" : "default",
         "target" : "drive_c/vstplugins/Serum.dll"
      },
   ],
   "loaders" : [],
   "log_socket_path" : "/tmp/airwave.sock",
   "prefixes" : []
}

Set VST folder in your DAW to /home/user/vst (if you prefer another path, you have to change the "path" line in airwave.conf respectively)
Copy /usr/bin/airwave-plugin.so to /home/user/vst/Serum.so (yes, you need to rename it)
Install Serum with help of wine to your vstplugins folder (drive_c/vstplugins)

And that's it. Now you can open your DAW and scan for plugins.

i'm sorry phantom, done it & it won't detect it.

I did a fresh install of Ubuntu Studio 16.04 in VirtualBox and still can't reproduce this issue. Try to completely remove your wine prefix (/home/user/.wine) and then recreate it using this command:
WINEARCH=win32 winecfg

i delete ".wine" folder ?

If there is no important information inside, of course.

done, tested airwave gui & still crash,

hey phantom, why dont u take hand on my system to check ? you download teamviewer and u check... if u ok, send me a private message on kvr ("dl1378" i think~~~), i 'll give you my teamviewer id/password.
if it works at your VM, there may be corrupts stuffs on my system, maybe a software or another... i think the best is to you take hand on it and check..

alphawave1378, deal! I will contact you tomorrow and we'll try to catch this issue.

ok... i think i'll be waken around 2-3 pm, after i must do some fast shopping (food) then i'll be there i think end afternoon (5-6 pm..), seeya !

ah ! its dl7813 on kvr , (DL7813...)

What is your timezone?

ah ! ye its GMT+1 i think (france)

Good, mine is UTC+3, pretty close to you.

ok, at tomorrow so !
THX again ...

hi phantom,  sent you pm on kvr,

hi again, u can connect, same ID/pass i given to you on pm...
(me too have not received the 'dinging' mail from KVR, so i write here..)

Please, try the fresh release: https://github.com/phantom-code/airwave/releases/tag/1.3.3

damn, same issue, crash again here, i'm doomed :-s

must be my side :-s

Could you please repeat my steps to generate a new core dump file and send it to me?

Open a terminal and go to some directory
execute ulimit -c unlimited
execute /usr/bin/airwave-manager and make it crash

done.

https://1fichier.com/?151atflm4q
click on "acceder au telechargement" (it means access to download)

then "cliquer ici pour telecharger" (means click here to download)

sry could not respond before, i'm closed to bed i have a problem at back i'm blocked :-s i must see doctor tomorrow...

wait.. i make a new upload..

https://www.sendspace.com/file/nz2x1p
(in english)

Please, try to install this build: https://dl.dropboxusercontent.com/u/33529975/airwave_1.3.3-2_amd64.deb

bah... let.... it's on my side, i must have a problem...... it is still closing here :-s
do you use libs for 16-04 or 14-04 ? maybe is the problem ?
(even i think it's my side...)
i dunno im really newbie on this.

According to your coredump, it crashes inside of the QFileInfo::isDir() function. So it can be really related to different libraries. But as far as I know, Ubuntu Studio is based on Ubuntu. It should have the same libraries.


Added missing CURLOPT_KEYPASSWD

http://php.net/manual/en/function.curl-setopt.php
https://youtrack.jetbrains.com/issue/WI-27882

Have you submitted a contributor license agreement? If not, please download the PDF from http://www.jetbrains.org/display/IJOS/Contributor+Agreement and then print it out, sign (mention you github account name there), scan and email to<EMAIL_ADDRESS>


docs: add itemgetter in how_to/dynamic_chain

Hello! I am honored to be able to contribute to the LangChain project for the first time.

Description: Using RunnablePassthrough logic without providing chat_history key will result in nested keys in question, so I submit a pull request to resolve this issue.

I am attaching a LangSmith screenshot below.
This is the result of the current version of the document.

without chat_history:

Lint and test:

Thanks!


GitHub Actions: Trigger new benchmark run every time a commit is pushed to the main branch

The benchmark is managed in a separate repository:
https://github.com/rabbitmq/khepri-benchmark
Results should be publicly visible on the associated GitHub Page:
https://rabbitmq.github.io/khepri-benchmark/

Pull Request Test Coverage Report for Build 394

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 84.852%

Totals

Change from base Build 390:
-0.5%

Covered Lines:
1574

Relevant Lines:
1855

💛  - Coveralls

Pull Request Test Coverage Report for Build 394

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 84.852%

Totals

Change from base Build 390:
-0.5%

Covered Lines:
1574

Relevant Lines:
1855

💛  - Coveralls


Add WH urn split to util

Coverage increased (+0.3%) to 19.842% when pulling 5ec5a861188569911c5b1a0ebbc1f619be5f97cf on alyiwang:master into 6aa12ac5210935a68334835aeedcdf0c3bba71a4 on linkedin:master.


feat: add 'format' and 'type' fields in list apis

Instead of returning name of tables and streams, we can return xsql.StreamInfo directly.

I've been following your project with great interest recently. I hope this PR can address issue #2726 .
I'm not sure this is the best way to do it. Since I'm still getting familiar with this project. I hope some one will help me to merge this pr.
The major change is that instead of returning stream names we returning unmarshaled StreamInfo directly in this pr. Since the Unmarshal need to be done anyway, we won't introduce any additional cpu overhead. Though we need to change the stream format we store in db.

And if there are more issues you think can help me to get familiar with this project. Please let me know, I'd like to contribute.

It seems there are some unit test failures, I will check it some day next week.

@wfnuser I tended to add param to separte the returning value for GET /streams and GET /tables in order not to break the REST API. I think you can take an example in https://github.com/lf-edge/ekuiper/pull/2756

@wfnuser I tended to add param to separte the returning value for GET /streams and GET /tables in order not to break the REST API. I think you can take an example in #2756

How about we simply add a new api for detail and keep the original api behavior? like GET /streamInfos GET /tableInfos

seems a little bit wierd to me to add a param control if we return detailed

That's ok to me.

@wfnuser I tended to add param to separte the returning value for GET /streams and GET /tables in order not to break the REST API. I think you can take an example in #2756

@Yisaer How about we simply add a new api for detail and keep the original api behavior unchanged? Considering path like GET /streamInfos GET /tableInfos It seems a little bit wierd to me to add a param control if we return detailed info.

That's ok to me.

@Yisaer Updated. I add new apis for detailed info. But instead of parse the stream again in a for loop. I prefer to use the result unmarshaled from db. Though, I'm not sure if there are some other concerns.

@ngjaying There is a flaky tests failure again. Can you retrigger the tests for me, thanks a lot.
BTW, shall we fix this flaky failure in CI? Is it unavoidable?

@ngjaying  Add the docs.

Thans you @wfnuser


Feature Request - Drag and drop Wallet Tabs rather than moving Left or Right one by one through right click

Drag and drop Wallet Tabs rather than moving them through right click and select Love Left or Move Right.

Duplicate of #476


gradio conflict  with aiofiles version

-r requirements.txt (line 24)) (0.4.6)
INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 53) and aiofiles==24.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested aiofiles==24.1.0
gradio 4.38.1 depends on aiofiles<24.0 and >=22.0
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict

Refer to this and install manually   https://github.com/Ikaros-521/GraphRAG-Ollama-UI/issues/10


[feat] splitting config

What is the issue
Currently no matter where the config is used it includes a lot of rules specific to web development.
How did I solve this
To allow for the most optimal way of extensibillity I think we should create a base config with rules applying for both web- and node-development.
So I created just that.
This slightly adjusts how the package is used; were we had to extend ams previously (you still can if you want only the base) the syntax for the new packages will be 'ams-node' | 'ams-web' .

Unrelated;
If someone is going to test on a clean project;
Can you check if npx install-peerdeps storyofams/eslint-config-ams --dev works ? :)

Having implemented both node and web eslintrc's I don't think it makes any sense to have a base config.
Can we think of a scenario where we would only use the base config (where it isn't easier to just add a .eslintrc file)?

Decided to split everything up after all.
We now have ams, ams/web, ams/node.

Yeah I think its helpful to have the base just so that some rules (like prettier) are consistent on web and node and are defined in 1 spot.

Yeah I think its helpful to have the base just so that some rules (like prettier) are consistent on web and node and are defined in 1 spot.

I think BE disagrees on the prettier config tho, right @leeuwis ?

bump

Let's just merge this as is guys.


Firebase/TypeScript project: 'Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser'

Related to #1115
When a TypeScript Firebase Cloud Functions workspace is open in VS Code, opening functions/.eslintrc.js causes the following error to be presented:

In the workspace's .vscode/settings.json file, I've set "eslint.workingDirectories" to ["./functions"].
I've created a repository that should be able to reproduce the issue - see https://github.com/hithomasmorelli/vscode-eslint-parseroptions-project-repro (README contains instructions on how to reproduce)

Same happens to me when executing eslint in the terminal.

Since the extension requires a correctly setup eslint there is nothing I can do except showing the error as well.
I am closing the issue. Please ping if you think there is something that should be addressed in the ESLint extension itself.

Apologies, this appears to be an issue with (or with my setup of) typescript-eslint. Sorry for raising it here!

@dbaeumer is there a way to tell vscode-eslint to only lint files that match a specified pattern within the ./functions working directory?
i.e. npm run lint on the dummy repo calls eslint "src/**/*" - it'd be good if I could set up the VSCode ESLint extension so that it would only lint the files that match that same pattern.
Changing .vscode/settings.json to
{
    "eslint.workingDirectories": [{
        "pattern": "./functions/src/**/*"
    }],
}

doesn't work, as the extension now can't read the tsconfig.json file in the functions directory—

—but keeping it as
{
    "eslint.workingDirectories": ["./functions"]
}

means that it picks up on files I don't want it attempting to lint, such as .eslintrc.js.

ESLint itself has support for this. Check for .eslintignore files.


Add Persistence for Images and Logs

the current setup prevents the use of docker volumes to store images and logs which will allow data to be transferred between containers if required.  The usage of volumes also facilitates backup best practices

Persistant images and log volumes: 338b0f3

Resolved.


allow specifying the content length for resumable uploads

Is your feature request related to a problem? Please describe.
The resumable upload API allows specifying a final length of the object if known in a HTTP header. There is no way to pass this value into the Java GCS API for resumable uploads, though.
Describe the solution you'd like
A Storage.writer method overload that takes the final content length.

In general we recommend folks use checksums for validation of all intended bytes reaching gcs rather than relying on the number of bytes. Using a checksum like crc32c will ensure the bytes are received in the correct sequence and match with what GCS receives.
For an example of how the crc32c precondition is provided to an upload, you can take a look at one of our integration tests that verify correct checksum plumbing and handling https://github.com/googleapis/java-storage/blob/50ac93b6b61806911737e389253739436dfb515c/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITObjectChecksumSupportTest.java#L203-L204
To compute a crc32c checksum you can use Guava's crc32c HashFunction https://guava.dev/releases/33.1.0-jre/api/docs/com/google/common/hash/Hashing.html#crc32c()

I agree that a checksum of the content is preferable when available. However, sometimes you are proxying a file from a client that gives you the size upfront but not a checksum in which case GCS verifying the size is better than nothing.


Have a way to trigger conversation intent in Rasa X and in development mode

Description of Problem: I've setup a Rasa bot for SMS-style conversations. So essentially, the bot does not start the conversation. I use the trigger_intent method to pre-populate the necessary metadata as slots for the upcoming conversation (which number the customer texted, what has the customer bought already, where they are in the buying process etc.), so the bot could proceed accordingly. Trouble is that I'm looking to replicate this pre-filling of slots in Rasa X and it does not have this feature. Here's a link to the relevant forum thread.
Overview of the Solution: What would a possible solution look like? It could be something simple as having a way to pre-fill defined slots for the bot. Maybe even fill it in JSON to get the bot started.
Examples (if relevant):
{"customerName": "Bruce Wayne", "lastInteraction":"bookAppointment", "lastInterationDate":"2020-07-29T00:00:00.000-07:00", "previousPurchases":["Black armored tank", "Spelunking gear"]}
Blockers (if relevant): Yes, I cannot test this flow of the bot in Rasa X. This will be a HUGE help to my QA team to test out scripts with details happening outside/before the conversation.
Definition of Done: Anything that let's us simulate the trigger_content in its current form. A lot of our conversations in production happen with us knowing details that are never mentioned in the conversation. So we're unable to use Rasa X to its fullest potential because conversations happening inside Rasa X are never like how they happen in production.

Thanks for submitting this feature request 🚀 @chkoss will get back to you about it soon! ✨

Hi @ganeshviyer. I am not sure I fully understand what you are describing. I think it would help if you could answer a few questions:

How does the conversation start? Does a user sends a message to the assistant first or does the assistant pre-populate the necessary metadata and then send a message first?
Why can't the QA team use the same channel (SMS?) with Rasa X that your users use?

Hello @TyDunn, thanks for replying!

The conversation starts by the user sending a message to the assistant.  Because the user sends it from a specific number to a specific number, we know this metadata beforehand (is this an existing customer, what did she last buy, which department is she reaching out to - sales or customer service etc.).  After calling the trigger_intent method, we pass the first message to the assistant.

Couple of reasons for why the QA team would rather do it inside Rasa X.  We have a de-dupe logic inside our core system where a new lead is matched against any existing lead.  So this means that to test a new flow, they would either need to change the number they're testing from or clear the test lead in the core system each time.  This significantly increases the length of the feedback loop for a single test.  The other reason is that the test conversations are all in one place inside Rasa X which makes it convenient to flag and retrieve.  Our core system is a multi-tenant system and while testing through SMS, the conversation could go into any of the designated tenants, so we wouldn't have all of our tested conversations in one place.  We do test for the integrated SMS flow, but to speed things up significantly it makes sense for us to test the NLU/core in isolation.

Does this help?

@ganeshviyer This does help. Thanks for taking the time to share your thinking with me. This is not an immediate product priority at the moment, but I have been seeing more issues around making Rasa X work better for test users lately, so I am starting to think we should prioritise it soon

@TyDunn how do you see the priority for this now?

@chdorner It's an important aspect for us to improve, but I don't think the priority has changed yet

Thank you for raising this issue about Rasa X. We decided to stop supporting the Community Edition (free version) of ‘Rasa X’ (see more info here: https://rasa.com/blog/rasa-x-community-edition-changes/). That’s why we’ve closed your issue. We suggest that Rasa Enterprise customers raise the issue with our customer support team if they haven’t done so already.


Add fast track to container settings

Ironic 12.1.0 released an awesome feature that allows us
to radically reduce the deployment time by starting the agent
up upon a baremetal node early on and allowing
it to record heartbeat operations.

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/417/

Fixed the merge conflict and tested this locally, works fine and hopefully will allow for some optimizations when we start including introspection in the deploy workflow, thanks!

Build SUCCESS, see build http://<IP_ADDRESS>:8080/job/dev-tools/483/


[BUG] PartitionedUploader default transfer settings are pulled from constants instead of injected clients

Describe the bug
As discussed in https://github.com/Azure/azure-sdk-for-net/issues/14480, PartitionedUploader relies directly on constants for default transfer settings, including for max Put Blob and max Put Block size. If a user tries to upload from a client configured to a service version pre 2019-12-12, these values will be incorrect, and the uploader may push data too large for the service version to handle. This results in the service rejecting the request and the SDK surfacing a 4XX error code. Additionally, these constants are specifically block blob limits, and may not always be applicable for Data Lake and File Share code that goes through this class.
Expected behavior
PartitionedUploader should use limits defined by the client that is injected.
To Reproduce
Upload data larger than 256 MB against a service version earlier than 2019-12-12
Potential Solution
Expand injected Behaviors struct to contain the limits for one-shot and chunked uploads, letting clients pass their own values in as determined by their versioned properties rather than constants. PartitionedUploader should obey these injected values instead of constants.

Hi @jaschrep-msft, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


Allow the setting of candy threshold

Short Description:
Allow setting ignore threshold based on the amount of candy
Default is set to 400 for Magikarp
Fixes/Resolves/Closes (please use correct syntax):
Closes #4256

What I was originally seeking is a default upper bound for number of candies , maybe float("inf") will work as a better default value than False ?

Seems 0 should be good in  your code. or -1. @bbiiggppiigg

@bbiiggppiigg I think -1 should be default value, since new players start with 0 candies for all pokemon.

Looks good to me 👍

candy threshold should return True, or ignore to next condition,
just like
"any": {"candy_threshold" : 400 ,"catch_above_cp": 2000, "catch_above_iv": 0.95, "logic": "or"},

the logic is "or" mean when encountered a rare beast, I want to catch it
        if pokemon_config.get('never_catch', False):
            return False

        if pokemon_config.get('always_catch', False):
            return True

        if pokemon.candy_quantity < pokemon_config.get('candy_threshold', -1):  # here
            return True

        catch_ncp = pokemon_config.get('catch_above_ncp', 0.8)
        if pokemon.cp_percent > catch_ncp:
            catch_results['ncp'] = True

@helloj
I think this depends on the what we set the threshold for.
For me, its like that I don't want to catch Magikarp anymore since I already 400 candies , while for you it means that you want some pokemon cause the threshold is not reached yet.  I think the definition can be discussed.
Note :
Current implementation will not allow pokemon with high iv or high cp to be caught if there's already too many candies for it, and it doesn't fit the logic of the config file.
Since I don't want to modify the lambda function doing the logic operations, may be I should set a flag and do the logic myself before the function returns ?

In fact, I did the same feature called catch_below_cancy.
It is hoped to limit the number to catch through candy quantity, but do not want to miss the high iv pokemon by or logic
this is my setting
    "catch": {
      "any": {"catch_above_cp": 1000, "catch_above_iv": 0.9, "logic": "or"},

      "// Evolve": {},
      "Charmander": { "catch_below_candy":200, "catch_above_iv": 0.95, "logic": "or" },
      "Dratini": { "catch_below_candy":400, "catch_above_iv": 0.95, "logic": "or" },
      "Magikarp": { "catch_below_candy":400, "catch_above_iv": 0.95, "logic": "or" },

@bbiiggppiigg @helloj I agree, that's a good mix of the candy_threshold feature and our catching right now. I think I'd still like to attempt to catch that Gyarados even though I already have 400 Magikarp candies. This is more human-like.
helloj, Have not submitted a PR? If not, please do so :)


Running newly installed docker on remote fails

I tried to spin up a Linode with both Debian 11 and Ubuntu 22.04, and do mrsk deploy.
It installs docker, but doesn't find the binary on the subsequent invocation:
mrsk deploy
Ensure curl and Docker are installed...
  INFO [c319563f] Running which curl on XXX.XXX.XXX.XXX
  INFO [c319563f] Finished in 0.607 seconds with exit status 0 (successful).
  INFO [a737bb1d] Running which docker on XXX.XXX.XXX.XXX
  INFO [a737bb1d] Finished in 0.216 seconds with exit status 1 (failed).
  INFO [5961af5b] Running apt-get update -y && apt-get install docker.io -y on XXX.XXX.XXX.XXX
  INFO [5961af5b] Finished in 20.454 seconds with exit status 0 (successful).
Log into image registry...
  INFO [ebec287c] Running docker login -u [REDACTED] -p [REDACTED] as kasperholbekjensen@localhost
  Finished all in 21.3 seconds
  ERROR (Errno::ENOENT): No such file or directory - docker

@kholbekj: Is it installed locally?

Ah, no - I have podman aliased to docker in the shell I'm running mrsk from, but I don't have the real docker binary. Is that a requirement?

mrsk is running docker login, docker push and some other commands, so you need it locally, too.

I see. if i symlink podman to docker it gets further, but since no registry url is specified (for podman it seems you have to specify the docker.io registry) the login fails. I guess I'l fork and see if I can wire it together :)

Would close this issue, and open a feature-request in favor of a proper feature request for podman support :)

Continuing that in #132, thanks!


FORMAT_VERSION 10 is now avalaible

If we wait a bit longer, version 11 will become available: https://github.com/rust-lang/rust/pull/93529

I'll probably publish both, unless 11 lands quickly

Closed by c5fce5405d8dd6d6835ed848e4bc32abcb26bc13


Update to latest pool contracts - alpha 33

@robsecord Was this merged already?  It's in the version-3 branch

No, we are dropping this one in favor of alpha.34


rename to global-hub

ref: https://github.com/stolostron/backlog/issues/25025
Signed-off-by: clyang82<EMAIL_ADDRESS>

/lgtm


Publish transport-netty4 module to Central Repository

Signed-off-by: Daniel Widdis<EMAIL_ADDRESS>Description
The extension framework opensearch-sdk requires the transport-netty4 module as a dependency.
Issues Resolved
Fixes #3118
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #4054 (c81bb49) into main (740f75d) will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #4054      +/-   ##
============================================
+ Coverage     70.50%   70.60%   +0.09%
- Complexity    56848    56924      +76
============================================
  Files          4583     4583
  Lines        273931   273931
  Branches      40158    40158
============================================
+ Hits         193146   193404     +258
+ Misses        64561    64323     -238
+ Partials      16224    16204      -20

Impacted Files
Coverage Δ

...luster/routing/allocation/RoutingExplanations.java
41.37% <0.00%> (-58.63%)
:arrow_down:

...ava/org/opensearch/action/NoSuchNodeException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

.../admin/cluster/reroute/ClusterRerouteResponse.java
55.00% <0.00%> (-45.00%)
:arrow_down:

...adcast/BroadcastShardOperationFailedException.java
55.55% <0.00%> (-44.45%)
:arrow_down:

...nsearch/rest/action/cat/RestCatRecoveryAction.java
43.61% <0.00%> (-42.56%)
:arrow_down:

...cluster/routing/allocation/RerouteExplanation.java
65.00% <0.00%> (-35.00%)
:arrow_down:

...arch/search/aggregations/pipeline/LinearModel.java
23.07% <0.00%> (-34.62%)
:arrow_down:

...min/cluster/snapshots/get/GetSnapshotsRequest.java
52.63% <0.00%> (-31.58%)
:arrow_down:

...rc/main/java/org/opensearch/ingest/IngestInfo.java
51.72% <0.00%> (-27.59%)
:arrow_down:

...org/opensearch/test/engine/MockInternalEngine.java
56.52% <0.00%> (-26.09%)
:arrow_down:

... and 438 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


feat(kubernetes): Deleting

Signed-off-by: Xiang Dai<EMAIL_ADDRESS>

@sh0rez done.

@sh0rez any update?


Fixes https warning on private modules page

This PR changes the gifs to use the https URL to fix the security warning on the private modules page.
If you’d like, you can also force Surge to redirect http to https—full disclosure, we’ll probably be making redirects a paid feature in the future.
Anyway—thanks so much for using Surge :heart_eyes: and keep up the awesome work.

Hey, I was just wondering last night why there was a warning on that page, and was too wrapped up to do even minimal checking :-P Thanks!


File reorganization

I introduce:
A better file organization and modularization.
An implementation of recursive make
Loader and Map are now directly part of Server

this PR got also the changes of the branch thing-work, which only introduced a Wall-Tile as first working entity


Nightly build with serialization is broken

Spotted in #4: https://travis-ci.org/Bastacyclop/rust_box2d/builds/196365785.
I'll wait a bit to see if things fix themselves.

Dependencies have been updated.


Support hash lookup by path string for Remove action

Description
By implementing Borrow trait for Remove, we can support lookup by path string for Remove action.
Related Issue(s)

closes #460
Documentation

Sorry @viirya I thought I merged this PR, turns out I didn't :( Could you resolve the conflict so I can merge it?

@houqp No problem! Resolved it.

@viirya looks like the map optimization in merge function got lost during the merge.

:tada: for more performance boost.

Thanks @houqp @dispanser @Dandandan !


API "Source" to "Endpoint"

Correcting README file:
Source to Endpoint as mentioned in #682
Still working through other docs.

@RoniRos This PR changes the name of the API parameter called source to be endpoint as described in #321.
We now define an "endpoint" as an API query that accepts a distinct set of parameters, keyed by the value of the endpoint or source parameter (the old name is also accepted, for backwards-compatibility). Since each Epidata dataset is stored in its own database table, and has its own dedicated PHP subroutine for handling it, its query signature may be changed independently of the others. This means that we now have one endpoint for each individual Epidata dataset.
Perhaps you were not be aware of the full extent of this change -- the full intended list of all such endpoints is below.

endpoint=covidcast
endpoint=fb-survey
endpoint=covidcast_meta
endpoint=covid_hosp_facility_lookup
endpoint=covid_hosp_facility
endpoint=covid_hosp
endpoint=delphi
endpoint=flusurv
endpoint=fluview_clinical
endpoint=fluview
endpoint=fluview_meta
endpoint=gft
endpoint=meta
endpoint=nidss_dengue
endpoint=nidss_flu
endpoint=nowcast
endpoint=fluview
endpoint=wiki
endpoint=sensors
endpoint=twitter
endpoint=wiki
endpoint=fluview
endpoint=fluview_meta

@RoniRos This PR changes the name of the API parameter called source to be endpoint as described in #321.
We now define an "endpoint" as an API query that accepts a distinct set of parameters, keyed by the value of the endpoint or source parameter (the old name is also accepted, for backwards-compatibility). Since each Epidata dataset is stored in its own database table, and has its own dedicated PHP subroutine for handling it, its query signature may be changed independently of the others. This means that we now have one endpoint for each individual Epidata dataset.
Perhaps you were not be aware of the full extent of this change -- the full intended list of all such endpoints is below.

endpoint=covidcast
endpoint=fb-survey
endpoint=covidcast_meta
endpoint=covid_hosp_facility_lookup
endpoint=covid_hosp_facility
endpoint=covid_hosp
endpoint=delphi
endpoint=flusurv
endpoint=fluview_clinical
endpoint=fluview
endpoint=fluview_meta
endpoint=gft
endpoint=meta
endpoint=nidss_dengue
endpoint=nidss_flu
endpoint=nowcast
endpoint=fluview
endpoint=wiki
endpoint=sensors
endpoint=twitter
endpoint=wiki
endpoint=fluview
endpoint=fluview_meta

@RoniRos please confirm -- your comment

This is garbled and overly wordy. I suspect it should be something like:

refers to this page: https://cmu-delphi.github.io/delphi-epidata/api/sensors.html
?
"Delphi's Epidata -- epidemiological sensors and indicators database. " seems awfully general for that.

@RoniRos please confirm -- your comment

This is garbled and overly wordy. I suspect it should be something like:

refers to this page: https://cmu-delphi.github.io/delphi-epidata/api/sensors.html
?
"Delphi's Epidata -- epidemiological sensors and indicators database. " seems awfully general for that.

Perhaps you were not be aware of the full extent of this change -- the full intended list of all such endpoints is below.

I was indeed unaware, and still don't understand why this is necessary.  Can the two of us has in out "in person"?

Perhaps you were not be aware of the full extent of this change -- the full intended list of all such endpoints is below.

I was indeed unaware, and still don't understand why this is necessary.  Can the two of us has in out "in person"?


Demo and Tutorial links broken

https://github.com/probml/pmtk3/wiki/Tutorial
https://github.com/probml/pmtk3/wiki/Demos
Please fix ty

One month later, still broken.
I switched to bnt for now but being able to use and compare pmtk3 would be great.
Does anyone have a backup?

The matlab code is deprecated, I never plan to document it.
Please switch to python and scikit-learn!
On Mon, Aug 29, 2016 at 3:49 AM, feider<EMAIL_ADDRESS>wrote:

One month later, still broken.
I switched to bnt for now but being able to use and compare pmtk3 would be
great.
Does anyone have a backup?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/probml/pmtk3/issues/123#issuecomment-243092570, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEavEDNSgRxuzw9qRnCr2iLsRf4ompVcks5qkrksgaJpZM4JThTc
.


Issue with Ultrasonic Sensors

The ultrasonic sensors help in measuring the distance, which will be used in this project to measure and water level and send the warning if it goes beyond the safe level. But the problem with ultrasonic sensors is that it gives very high or low readings sometimes,i.e. the readings are not always accurate.
To solve this issue,a time factor can be added, that is if the water level is in the particular range for a given time, then only the warning should be sent. This in itself has some shortcomings but will solve the problem of false warnings.

@nandikajain are you working on this issue?

Yes, I am. I also had a few ideas for the project which I have listed in the project features in the application for RGSoC'20.

Hi, I would like to work on this issue. Can you please assign me on this issue?

@PragatiVerma18 Hi, I would like to work on this issue. Can you please assign me on this issue?

This issue is for RGSoC and not GSSoC and @nandikajain is already working for this issue. You may find another issue for contribution.


Debug session reuse

tl;dr; Conscrypt works well and is clear about results.  JSSE is confusing, and depends on server.
Might need a table and record which combinations work.
Relates to https://github.com/square/okhttp/issues/5342

cc @swankjesse any advice?


net: dsa: Several DSA (Distributed Switch Architecture) related fixes for ip_k66f board

This pull request provides several fixes for ip_k66f board related to proper DSA operation.
This fixes arose after the driver for ksz8794 IC has been extended to support other ksz devices.
For having the ./zephyr/samples/net/dsa/ sample working again (built with
west build --pristine -b ip_k66f ./zephyr/samples/net/dsa/ -- -DCONF_FILE=prj.conf) one needs to also apply
fix from https://github.com/zephyrproject-rtos/zephyr/pull/40340

@pfalcon  @tbursztyka  @mengxianglinx Do you have any more comments regarding those patches?


Fix code Coverage Badge

This Issue has been fixed. Code-coverage is now linked to the repo Auction-Sphere-2.


Build fig array using frombuffer

fig.canvas.tostring_argb() returns bytes, not a str.
np.fromstring() has been deprecated on bytes inputs since
numpy v1.14.
DeprecationWarning: The binary mode of fromstring is deprecated, as it
behaves surprisingly on unicode inputs. Use frombuffer instead
https://github.com/numpy/numpy/blob/82428bb72589c6fd781689feb1f501a6a29c6fdc/numpy/core/src/multiarray/multiarraymodule.c#L2036
Resolves #9.

A very good point. Merged, thanks!


Some help clarifications

Ubuntu MATE 17.10
Instead of /dev/input
find the device in
/dev/input/by-id/
usb-3Dconnexion_SpaceMouse_Pro-event-mouse
so can be called from that location with:
sudo ./relabsd /dev/input/by-id/usb-3Dconnexion_SpaceMouse_Pro-event-mouse ../conf/space_navigator.conf
In this distro the device will also control the mouse pointer, which may not be desirable.
So I usually disable the device like so:
xinput # to get the
xinput --disable
then start relabsd
then disable the relabsd one through xinput.
Now the device works as desired. Works great in NeonXSZ.

Thanks.
I've added a link from the wiki to this page so that people get an alternative way to set things up.


changes_in_registration

Thank you for your contribution to Bloody-Buddy 🤩🤩

Please mention the following in order to get PR merged  🙌🏻🙌🏻

Kind of change this PR introduce :  changes in registration page
Issue it resolves : #97
GitHub Page Link : https://github.com/keshav2508/Blood-Buddy

@keshav2508  Provide me GitHub page link, not the link of forked repo.

https://keshav2508.github.io/Blood-Buddy/
i dont know why it still shows the previous registration page but i have made changes

https://keshav2508.github.io/Blood-Buddy/

do you want me to do any more changes??

please reply


Add page for each widget

This is more of an idea issue for feedback from the other maintainers.
I think it might be nice to move the widget showcase over into /concepts/widgets and have a page per widget for any notes / details that don't end up being right for the API docs. I'd envisage this looking somewhat like:

how it looks
sample code
links to related items
relevant design decisions
links to related PRs / issues / discussions
?

I would like to keep most of the stuff in the code. The website can link / reuse the example code but it shouldn't create another place to keep up to date when the examples change for whatever reason. That will be forgotten and ends up outdated sooner or later.
Especially code examples should be available in rustdoc to be automatically checked and adapted when the code changes.
Also, it's neat to clone the repo and have everything to look at locally. docs.rs / cargo doc --open is really neat. I would prefer that over a custom website unless there really is a reason for a custom website that significantly improves the developer experience. (which I dont see currently)
Only stuff that doesnt work in the code should be in a different place. wasm, screenshots / videos of them running would be the only thing that comes to mind which really benefits on a dedicated website. But as soon as the person is interested in creating it, they should end up in the docs.

I would like to keep most of the stuff in the code.

I share your concern on this one. We had a bunch of discussion before on discord and in issues when we first started creating the website, and I gave pretty much the same argument that you mentioned about splitting the effort, duplicating, etc. The primary argument against it that sways me to documenting things on the website is that the website has a much more rapid release cycle than the library (measured in minutes vs weeks).
The website is good for longer code samples than work well in API docs as well as tutorial style information. All (new) example code on the website should be sourced from actual source files that are checked in and run in CI, and there's a subtle difference that these run against the released version of Ratatui rather than the main branch. The website code component is a bit more powerful than the API docs code as it allows the code to be expanded for context.
WASM stuff will likely happen soon as there's a user that has a working version of this running well. https://gold-silver-copper.github.io/ https://github.com/gold-silver-copper/ratatui_egui_wasm. I could see it being eventually possible to do in browser editing of examples. That won't be available in the API docs.

unless there really is a reason for a custom website that significantly improves the developer experience

The dev experience is not just about seasoned rust devs, but also about guiding newer rustaceans. We often see (on discord, reddit, etc.) that devs are using Ratatui to build their first Rust app, so we look for ways to make the progression from website to API docs as easy as possible. Part of this is having good jumping off points from elsewhere in the website to get to the API docs. E.g. in the tutorials, when we mention a particular widget, it would be nice to link to https://ratatui.rs/concepts/widgets/block instead of the API docs directly.
TL;DR - this won't replace anything that should be in the API docs. It only augments it with things that don't belong or can't be in them as well as providing a gentle progression from website to docs.


Vue cli to Vite migration (#556)

Vue cli to Vite migration (incomplete)

Migrated Vue CLI to Vite + all necessary changes

fix AddressComplete not initialized due to missing script and/or key

another try to fix addresscomplete

another try to fix addresscomplete

testing addresscomplete

another test for addresscomplete

revert addresscomplete change

removed useless dependency

added blob to content security policy

changed CSP

Another attempt to fix CSP

Fixed pdfjs library + unit tests + removed pdfjs script

small removals of useless stuff

updated pdfjs library

attempting with jsdom

going back to happy-dom after fixing tests with threads

Fixed icon + small cleanup in response to comments

Trying out VITE_ prefix

Reverting VITE_ to VUE_APP_

restoring regenerator-runtime dependency

Removed services package and returned core-js package

fixed environment prefix issue

updated business lookup

added missing keys

Fixed typo

Fixed occasional issue arising from baseaddress after changing the import to shared components

Fixed App and CompleteResolution unit tests

Fixed some comments after moving from Jest to Vitest

More jest to vitest fixes

Fixed Actions unit test + little cleanup

Changed VITEST_WORKER_ID to VITEST

Issue #: /bcgov/entity#17118
Description of changes:

Merging into main after testing environment variables in DEV.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun


Feature/710 dangeling exits

:tada: This PR is included in version 2.19.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


huggingface dataset load OIG failed due to data column issue

Hello, I tried to load OIG dataset via:
oig_data = load_dataset("laion/OIG")
however, the code shows error while loading the data:
ValueError: Couldn't cast
text: string
to
{'text': Value(dtype='string', id=None), 'meta': {'source': Value(dtype='string', id=None)}}
because column names don't match

I guess maybe some columns does not match among other datasets. Does anyone encounter this error? and do you know how to overcome this error? Thank you

I found I incorrectly use the huggingface dataset command. Following is worked version, that first download the data into local and then
oig_data = load_dataset("json", data_files="your/data/dir")

I would like re-open the issue since I found even the above way would eventually got the error:
ValueError: Couldn't cast
text: string
metadata: struct<source: string>
  child 0, source: string
to
{'text': Value(dtype='string', id=None)}
because column names don't match

This works:
ds = datasets.load_dataset("laion/OIG", use_auth_token=True, streaming=True)
for x in ds:
  print(x)
  break

Hi all - I am pushing new versions of the datasets with the metadata field. Also files should have both a text and metadata field. If there are still problems please let me know, and in particular which files.
As an aside, if you load using HF datasets, it might try to load all of the jsonl files, which you may not want. Instead, you may wish to download individual files and load via the json method.

The issue still persists.
I tried to download unified_flan.jsonl.gz:
It seems the data is not in .gz format.
datasets.load_dataset("json", data_files=["unified_flan.jsonl.gz"]) fails DatasetGenerationError: An error occurred while generating the dataset
guzip unified_flan.jsonl.gz compains data is not in .gz format.
file unified_flan.jsonl.gz outputs
unified_flan.jsonl.gz HTML document, UTF-8 Unicode text, with very long lines
how to extract?

I still have similar error, but after I use new HF datasets, the error changed to be:
Generating train split: 4046401 examples [03:53, 4568.92 examples/s]Failed to read file '/scratch1/jiajinn/cache/huggingface/datasets/downloads/93711c64efd043b64d8ef390c31794f36218c1678bb107e8c7e6057b123d2ef9' with error <class 'pyarrow.lib.ArrowInvalid'>: JSON parse error: Missing a closing quotation mark in string. in row 37

ArrowInvalid: JSON parse error: Missing a closing quotation mark in string. in row 37

The above exception was the direct cause of the following exception:

DatasetGenerationError                    Traceback (most recent call last)

my guess is something might be wrong in some data column?

I am also using the latest HF. I downloaded only the unified_flan.jsonl.gz with wget and was loading that.
ds = datasets.load_dataset("json", data_files=["unified_flan.jsonl.gz"], cache_dir="/mnt/huggingface_cache/")
The complete error I got was

Failed to read file 'unified_flan.jsonl.gz' with error <class 'pyarrow.lib.ArrowInvalid'>: JSON parse error: Invalid value. in row 0
JSONDecodeError                           Traceback (most recent call last)
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/packaged_modules/json/json.py in _generate_tables(self, files)
151                                 with open(file, encoding="utf-8") as f:
--> 152                                     dataset = json.load(f)
153                             except json.JSONDecodeError:
/anaconda/envs/nlp/lib/python3.7/json/init.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
295         parse_float=parse_float, parse_int=parse_int,
--> 296         parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
297
/anaconda/envs/nlp/lib/python3.7/json/init.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
347             parse_constant is None and object_pairs_hook is None and not kw):
--> 348         return _default_decoder.decode(s)
349     if cls is None:
/anaconda/envs/nlp/lib/python3.7/json/decoder.py in decode(self, s, _w)
336         """
--> 337         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338         end = _w(s, end).end()
/anaconda/envs/nlp/lib/python3.7/json/decoder.py in raw_decode(self, s, idx)
354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
356         return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
ArrowInvalid                              Traceback (most recent call last)
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1859                 _time = time.time()
-> 1860                 for _, table in generator:
1861                     if max_shard_size is not None and writer._num_bytes > max_shard_size:
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/packaged_modules/json/json.py in _generate_tables(self, files)
154                                 logger.error(f"Failed to read file '{file}' with error {type(e)}: {e}")
--> 155                                 raise e
156                             # If possible, parse the file as a list of json objects and exit the loop
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/packaged_modules/json/json.py in _generate_tables(self, files)
131                                     pa_table = paj.read_json(
--> 132                                         io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
133                                     )
/anaconda/envs/nlp/lib/python3.7/site-packages/pyarrow/_json.pyx in pyarrow._json.read_json()
/anaconda/envs/nlp/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.pyarrow_internal_check_status()
/anaconda/envs/nlp/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowInvalid: JSON parse error: Invalid value. in row 0
The above exception was the direct cause of the following exception:
DatasetGenerationError                    Traceback (most recent call last)
/tmp/ipykernel_47840/842076803.py in
----> 1 ds = datasets.load_dataset("json", data_files=["unified_flan.jsonl.gz"], cache_dir="/mnt/huggingface_cache/")
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, num_proc, **config_kwargs)
1785         verification_mode=verification_mode,
1786         try_from_hf_gcs=try_from_hf_gcs,
-> 1787         num_proc=num_proc,
1788     )
1789
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/builder.py in download_and_prepare(self, output_dir, download_config, download_mode, verification_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs)
874                             verification_mode=verification_mode,
875                             **prepare_split_kwargs,
--> 876                             **download_and_prepare_kwargs,
877                         )
878                     # Sync info
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verification_mode, **prepare_split_kwargs)
965             try:
966                 # Prepare split will record examples associated to the split
--> 967                 self._prepare_split(split_generator, **prepare_split_kwargs)
968             except OSError as e:
969                 raise OSError(
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/builder.py in _prepare_split(self, split_generator, file_format, num_proc, max_shard_size)
1748             with pbar:
1749                 for job_id, done, content in self._prepare_split_single(
-> 1750                     gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
1751                 ):
1752                     if done:
/anaconda/envs/nlp/lib/python3.7/site-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1890             if isinstance(e, SchemaInferenceError) and e.context is not None:
1891                 e = e.context
-> 1892             raise DatasetGenerationError("An error occurred while generating the dataset") from e
1893
1894         yield job_id, True, (total_num_examples, total_num_bytes, writer._features, num_shards, shard_lengths)
DatasetGenerationError: An error occurred while generating the dataset


Option for number of results per page in Browse Images/Patches

The option should be displayed on the Browse page. Have a dropdown with choices like 20, 30, 50, 100, 200. Something like that.
The option for results per page (and thumbnail display size, if we want that) can either be:

A. Strictly part of the search form, meaning it's not saved between sessions
B. Saved to the database on a per user basis, like the annotation tool settings
C. Saved via browser cookie, so on a per browser/device basis

I'd say B makes the most sense overall, although it's also the worst option for site visitors (users who aren't logged in). Perhaps the option would be hidden for visitors, and they would just have the default of 20 per page. Alternatively, if we wanted to get fancy, C could be implemented and apply for visitors only, but IMO it doesn't seem worth the effort for now.
The higher numbers of items per page (e.g. 100) might make more sense if we allowed more images per row. That would either mean making the Browse page have variable width, or allowing the user to additionally specify Normal or Small thumbnail display size.

I don't remember if there's a separate issue for this, but: Also consider making it possible to jump multiple pages at a time. One idea is changing the search form to GET instead of POST (this is good HTTP-form practice anyway). Another idea is showing a few clickable page numbers at the bottom, and/or a 'jump to page X' option.


Storage accounts are being retired as well

Storage accounts are also going to be retired. This doc needs to be updated to reflect that.
This paragraph is incorrect:
"This retirement does not affect the following Azure services and functionality:
Storage accounts not used by VMs (classic)
Virtual networks not used by VMs (classic)
Other classic resources"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e76e6fc5-89f6-b1d8-feb1-44b5a1aefcf4
Version Independent ID: 402e320f-771f-96ad-5a7c-f6eb8384eb6a
Content: We're retiring Azure VMs (classic) on March 1, 2023 - Azure Virtual Machines
Content Source: articles/virtual-machines/classic-vm-deprecation.md
Service: virtual-machines
Sub-service: classic-to-arm-migration
GitHub Login: @tanmaygore
Microsoft Alias: tagore

assigning to author

@DerekHerman-MSFT
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@tanmaygore
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Update LICENSE to BSD 3-Clause

Fixes #74.
In preparation for the move to the jupyterlab organization, we should consider updating the LICENSE to the one commonly used for all Jupyter projects (see #74 for more info).
Here is the list of people who have contributed to the project as of today:

[ ] @MMesch
[x] @echarles
[x] @fcollonval
[x] @jtpio

@echarles @fcollonval please tick the box if you agree with the license change.
@MMesch sorry again for pinging you, but since you initiated the project and created the license we prefer to make sure that you're fine with that choice too :)
Will keep this PR as a draft until everyone has voted.

LGTM

Thanks @jtpio
It's good for me too.

@jtpio , all good for me as well!

Wonderful, thanks @MMesch!

All ticks checked, merging.


Fix cut-off in text visualisations

Pull Request Description
Closes #6196.
Three things were going wrong:

Not directly contributing, but adding confusion was the fact that padding of 5px was added in two different places. Since the 10px we've had up until now looked better, especially given the size of the rounded corners, I've kept it at 10px, but only applied in one place.
The main issue was that the length the scrollbars scroll over didn't take padding into account. At the same time, I changed the max and thumb_size variables to the coordinate system of the content. This is also how they're being used in ScrollArea, which is the only other place where Scrollbars are being used.
The line height of text grid entries was set to the default of 1.2. That's the default line height in browsers, which is great for multi-line text and elements whose height is greater than the line height. In this case, however, where the height and the font size are set to the same value, the default setting of 1.2 pushes the text below the allotted space.

https://user-images.githubusercontent.com/607786/234297411-8c0b3851-5977-4ca5-b3b4-5b0782510e14.mp4
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the Scala, Java, and Rust style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[ ] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

QA passed 🟢

@wdanilo this PR does not worsen the state we have already on develop, so I think we should merge it and make an issue for line spacing in text visualization. The new issue can be added as a fixme in the line you commented. Please unblock the PR.


documentation update

Additional information about how to run code on Mac in XCode based on https://github.com/exercism/cpp/issues/479#issuecomment-915826027.

Thanks!


Improve test suite

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (7d795b8) compared to base (8c04e9f).
Patch coverage: 100.00% of modified lines in pull request are covered.

: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
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #425   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          124       124
  Lines        11902     11902
=========================================
  Hits         11902     11902

Impacted Files
Coverage Δ

fugue_test/builtin_suite.py
100.00% <100.00%> (ø)

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

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


Document that std write_all is incompatible with non-blocking IO

std::io::Write::write_all is incompatible with non-blocking IO, because it can do partial writes then fail, and the caller cannot find out how many bytes were actually written. This also applies to libraries that might call write_all internally -- they cannot be used with non-blocking IO.
It would be good to document this restriction somewhere. It might also be worth making AsyncWrite panic on write_all?
I've filed https://github.com/alexcrichton/flate2-rs/issues/92 and https://github.com/alexcrichton/bzip2-rs/issues/17 for known users in a couple of crates.

This seems like an unfortunate flaw with the stdlib traits and should probably be documented.

The tokio-io crate has been moved into the tokio git repo.
I created a new issue over there. See link above.


Upgrade wind download macro to get data from RE Data explorer

The RE data explorer has wind SRW files for international locations:
https://www.re-explorer.org/about.html

right now the wind download macro on the resource page can only download for the contiguous US. Add the API required to access this data to the macro.

WIND Toolkit APIs on NREL Developer: https://developer.nrel.gov/docs/wind/wind-toolkit/

See also https://github.com/NREL/SAM/issues/962

Also consider using wtk-download instead of wtk-srw-download: https://developer.nrel.gov/docs/wind/wind-toolkit/
SAM now allows wind resource files with either .srw or .csv extension.


[BUG]: Stop button does not stop Ollama backend

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
So when I use a stop button the inference is not reflected in the chatbox, but in the backend the Ollama is still working on the inference. Now when I ask a new question the Ollama is stil working on the old question.
The STOP button thus not implemented correctly in case of ollama. The system should send abort to the Ollama too.

Are there known steps to reproduce?
No response

This should help : https://github.com/ollama/ollama/issues/1695

We do call abort on the response, which does exactly as that thread perscribes, so i think the issue is related to CPU inferencing (comment)

Closing as it seems that the ollama thread (and other fixes like this) do not stop CPU inferencing and that seems to be tied to how llamacpp sends abort requests, which seems to only take effect with GPU inferencing

Also encountering this kind of problem, there is a situation where this must be done: when the LLM is in error and keeps returning the wrong content, this is when the stop button should be necessary, in the case of Ollama's api calls, if this kind of problem is encountered, it is possible to locally terminate the process or thread of the api call to turn off the output of the big model on the server, and then Anythingllm doesn't seem to support.


Add user guide for using a remote node in the GUI wallet

A fix in the image path needs to be made, i will close and re-submit a similar PR


working rap name generator

@nicolasmccurdy , @jaybobo,
"At the top and I'll never come down
always stay focused super star focused
always was the dopest never got weak
head to the sky but my ear towards the streets
foot on the gas, hands on the wheel" - Ludicrous

:+1: Nice use of underscore. My only suggestion would be to extract the logic out of the document.ready callback into a function for Generator. Think readability and adherence to the SRP...
http://blog.8thlight.com/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html


How I can disable focusing on an app when I hover it with the mouse?

Float mode is really hard to use when the focus is following the mouse, can this be disabled?

In your .chunkwmrc, remove the line that loads the focus follows mouse plugin (ffm.so):
chunkc core::load ffm.so

It worked :)

How I can disable it only for float mode?

There is no such functionality. The closest thing you can use currently is to temporarily load and unload ffm.so or to hold down the mouse modifier key (default: fn) to temporarily disable focus follows mouse.
The focus follows mouse plugin is very simple and consists only of a single source file, which you can find here: https://github.com/koekeishiya/chunkwm/blob/master/src/plugins/ffm/plugin.cpp

If I want to enable it only when fn is pressed how it can be?

https://github.com/koekeishiya/chunkwm/blob/719d31bc27905904055645e83b58360a05d35fe1/src/plugins/ffm/plugin.cpp#L122-L130
Negating the condition in that if statement checking the modifier should do it.

so I should recompile the plugin?

Yes, and then copy the new ffm.so file into your plugin directory.

okay thanks!
do you think that this feature can be added in a more elegant way in the settings?
maybe it's useful for someone more?
I can try to add it but I don't know objetive-c
thanks a lot for your help

Honestly, I don't really see the use case for having ffm only while a modifier key is held down. It's not any faster than clicking, and ffm is all about being faster and not having to click or press a key.
Maybe @koekeishiya thinks differently about this and makes it an option, I don't know. After all this is a really simple addition.

Yes, but maybe adding more options makes the config more confusing.
An option to just enable it in some modes would be better I think

Okay, I fixed it with bettertouchtool

when I switch to bsp it loads ffm.so and when I change to monocle or float it's unloaded.


Fix TrianglePathway

TrianglePathway implementation is doing some extremely weird stuff! continue investigation...

Modify TrianglePathway to basically be a polyline pathway (implicitly defined by the polyline along the triangle centers)


Integrate home-manager

I'd like to see this as well - I've aimed to keep my base system as bare as possible, with everything the user (me) wants installed local to my account.


Store key using SubtleCrypto API in browser

We should use the importKey function with extractable set to false to provide more security.
Support for ed25519 is not great, mostly behind flags.

I took a look at the api's and it works a bit different from what I thought. The API gives you a CryptoKey object that can be stored in IndexDB. This means you're not limited to just one stored key. Still I don't think actually storing the key should be the concern of @tomic/lib but we could export some helper functions to make it simple.
However
I ran into another issue when experimenting. I can't seem to make importKey() work with our private keys.
The following code gives me an error saying it can't create the key with the specified usages.
const toArrayBuf = (str: string) => {
  const buf = new ArrayBuffer(str.length);
  const bufView = new Uint8Array(buf);

  for (let i = 0, strLen = str.length; i < strLen; i++) {
    bufView[i] = str.charCodeAt(i);
  }

  return buf;
};

const key = await crypto.subtle.importKey(
  'raw',
  toArrayBuf(atob(agent.privateKey)),
  {  name: 'Ed25519' },
   false,
   ['sign'],
);

When generating an ed25519 keypair with crypto.subtle.generateKey() it works just fine so it's likely something to do with the format the private key is stored in.


Allow two addresses for tenants?

Should tenant’s address be only allowed to enter in MA?
Two kinds of addresses: (1) address where they live now and (2) address where the problem is. The “problem” address should be used for locating the court and must be in MA. We should let them supply a second address where they currently live and want to appear on court forms

#326

Started working on this in c6ab46c


The Bitmovin Go Client is just a library you have to have on your GOPATH in order to import it into your own projects.
go get downloaded the code to /Users/tomorier/go/src/github.com/bitmovin/bitmovin-go from where you can now use it inside your code.
You can now create your own project and import the client like this:
import (
  "github.com/bitmovin/bitmovin-go/bitmovin"
  "github.com/bitmovin/bitmovin-go/bitmovintypes"
  "github.com/bitmovin/bitmovin-go/models"
  "github.com/bitmovin/bitmovin-go/services"
)

For more usage examples see the examples folder in the repository.


Automated cherry pick of #3374: lb: 创建时校验不通过返回httperrors

Cherry pick of #3374 on release/2.11.
#3374: lb: 创建时校验不通过返回httperrors

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@f9ede8b). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #3376   +/-   ##
==============================================
  Coverage                ?   7.13%
==============================================
  Files                   ?     476
  Lines                   ?   77272
  Branches                ?       0
==============================================
  Hits                    ?    5516
  Misses                  ?   71293
  Partials                ?     463

Flag
Coverage Δ

#aFlag
7.13% <0%> (?)

Impacted Files
Coverage Δ

pkg/cloudcommon/db/virtualresource.go
0% <ø> (ø)

pkg/compute/models/loadbalancers.go
1.74% <0%> (ø)

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 f9ede8b...6daad65. Read the comment docs.

/lgtm

/approve

/approve


Enable the Keyboard Shortcut Menu

Set the "showKeyboardShortcutsButton" flag to default to true.

@mariano-formidable So this already did go through QA?

@mariano-formidable So this already did go through QA?

@swissspidy Nope, I mistakenly hit merge instead of moving to QA.  So I put it in UAT so it can get checked on that end.  I didn't think it was worth reverting since it's a flag flip and Omar did QA the entire menu in my other ticket (the QA environment must have had the flag enabled already because he tested and approved it).


FAComboBox with IsTextSearchEnabled doesn't search through the whole collection but only the visible items

Describe the bug
When I fill the combobox with lots of items (let's say a list of world states (around 219 items) the IsTextSearchEnabled feature doesn't work correctly - it always offers only results from the part of the list which is currently visible when combobox is open - i.e. the first items from the list; if I open the combobox and scroll down, then the search will only match with items that I have scrolled-to but never the rest of the combo
(i.e. if I scroll all the way down to "Zambia", the search will not position me on Albania if I start typing "Al...")
Desktop/Platform (please complete the following information):

OS: [Windows 11]
FluentAvalonia Version [latest]
Avalonia Version [e.g. latest]

(am I missing some configuration maybe?)

currently known issue in upstream Avalonia https://github.com/AvaloniaUI/Avalonia/issues/12490

I see... OK let's wait if this gets some fix


Feature request: zerotier support

Hi, would it be possible to add zerotier support for the cam(s)? I would like to use an external placed (other network and location) yi home camera in my synology surveillance station.

I don't know zerotier but if you want to try i compiled it.
zerotier.tar.gz

Thank you, I've tried the package you provided.  I've got the following error message when running:
 ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory
I think that tun isn't enabled/intergrated on the Yi home cam's, am I right? Would it be posssible to add tun?

If I'm not wrong, tun/tap device is a kernel feature and it's not available in yi cam.
Unfortunately we cannot build a new kernel.

Yeah, I believe it is a kernel module. It isn't possible to compile the kernel module and just enabling it?

I could try to build it but without a .config probably it doesn't work.

No luck, I build it but when I insmod the module the cam goes in kernel panic.

Alright, tnx for trying!

Alright, tnx for trying!


Ashanti/connect state transition

Summary of changes
Changes introduced in this pull request:

Looks like the channel was being used for concurrency, didn't implement due to rust safety guarantees
-a bit of a translation of tipset_state in lotus
-missing a few functions that call tipset_state
-Changes statemanager in sync to an arc readlock due to the need of shared reference in asynchronous context

Reference issue to close (if applicable)

Closes #405
Other information and links

Was there a reason why you removed the concurrent validation of block headers?

Was there a reason why you removed the concurrent validation of block headers?

I was going to come back to this in a bit but might as well now, before it was spawning a blocking task which is just synconous (I didn't look too much in detail at the last PR just assumed you guys had verified it) Think it just needs to be changed to task::spawn from what it was

tually don't know how the FuturesUnordered handles these boxed async functions being passed in or when they are executed but I can look into it)

Yeah they have to be boxed because each future has a different type even though in essence it looks the same. So adding different types is according to the future trait rather than a concrete future type.
It looked like it was returning join handles with futures inside of them and using spawn_blocking so in essence didn't see much of a difference between handling them where they are vs handling them at the end where the errors are being collected


Rely on cache-control headers

Currently, the WebID issuer cache is a LRU cache with a fixed 60s maximum age. This breaks scenarios like the following: using a token from my first issuer, I add a second issuer to my profile, and immediately (<60s) request some resource using a token from that second issuer.
A first step would be to make the maximum age more easily configurable, e.g. using constructor parameters. However, I believe this would (1) only solve the problems when we then set the maximum age to zero, which obviously (2) would be bad for performance.
I would therefore propose to let go of the fixed cache in favor of a caching mechanism based on the cache-control headers sent by the servers hosting the WebID profiles. Would this be possible?

a caching mechanism based on the cache-control headers sent by the servers hosting the WebID profiles.

That's not necessarily better though.
Caching is a hard problem. I think what we'd need is an option to be passed to the validator cache: false that is propagated all the way down, for scenarios that are especially time-sensitive.

a caching mechanism based on the cache-control headers sent by the servers hosting the WebID profiles.

That's not necessarily better though.

Could you explain why you don't think so, @RubenVerborgh?
Of course, an option to switch of the cache is a good first step. It just would be requesting a lot of unchanged profiles.

Because the caching headers will be set to 1 day or so, or at least a couple of hours, making the problem worse.

But that is totally up to the server, which could then use a no-cache header or work with E-Tags, maybe only for a subset of resources, in order to achieve the optimal behavior.


componentDidMount not called when menu bar highlighted

From what I can see componentDidMount does not get triggered when the menu bar is up for non highlighted items.
I assume this is what is happening based upon my breakpoints not being hit until I switch.
I could be wrong though.

Interesting. I'll check it in a few hours, thanks ;)

No worries. Im not being impacted by it right now, so no rush on my side.

I've checked basic behaviour and everything seems to work fine, componentDidMount fires when it should be.
I'm not sure that I correctly understand when the menu bar is up for non highlighted items phrase. Can you give more explanation or maybe code example if it's possible?

@spunkedy do you have any additional information about this problem or I can close this issue?

Closing this issue without having any additional information.


fixed the select domain button for light theme

Issue that this pull request solves
Closes: #879
Proposed changes
Brief description of what is fixed or changed

fixed the look of select domain input control in light mode.
fixed the transparent background of the select panel in light mode.

Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Video of the fix
https://github.com/HITK-TECH-Community/Community-Website/assets/32983571/84de4ffa-9409-44bc-b426-039c2356cb3f

@Kajol-Kumari  requesting a review from you.

Hi @Stiffpixels We have similar issue under the addTeam form of admin panel, can you fix there as well? Feel free to open a new issue for the same.

Hi @Stiffpixels We have similar issue under the addTeam form of admin panel, can you fix there as well? Feel free to open a new issue for the same.

For sure will get back to you with the issue tomorrow.


Misspellings in README.md

Hi @mapron,
This PR fixes some misspellings in the English README.
PS: Do you plan to handle VCMI mods without any conversion?

PS: Do you plan to handle VCMI mods without any conversion?

yeah I have wish for some degree of compatibility, at least to use it for map editor/random map generator. Probably could not provide 100% compat without copying half of VCMI code (which also impossible due to license)

I suggest you to develop your project starting with the automatic map generator because:

You can add more options like selecting the factions or not, selecting the terrains or not, artifacts, starting heroes...
It would be the only place in the world where we can quickly create the map we want
It would be useful even if the rest of the game is not finished
You can start from the VCMI generator engine if it's too hard

It can be a source of motivation as the repository has not changed since 7 monthes.

"It would be useful even if the rest of the game is not finished"
@Fabrice-TIERCELIN , yeah, I completely agree. That was my intention, to have MVP while the rest was developing.
Unfortunately, I lost my inspiration after releasing 1.1.0 of map generator.
I tried to make a showmatch last week (Gomunguls vs HellLight), still did not feel good enough to return to this project.
Also lack of interest to map generation topic. If I had people who can support this direction, proactively playing/testing it, not like me spending money on testing, I could consider resurrection