Fixed grpc_unsecure CMake build failures due to non-standard ssl path.

grpc_unsecure doesn't use openssl, but one of its source file accidently
includes openssl/rand.h. Since CMakeLists.txt doesn't specify that
grpc_unsecure requires openssl, the build would fail. This can be fixed
by simply removing this header inclusion.
Fixed #11600.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Jenkins, this is ok to test

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Test failures: #10686 #11654

Requesting 2ndary review from @y-zeng

@vjpai Test results look good. Should we merge this PR?


support write to master and  read from slave

support write to master and  read from slave
It is common to use the mode, but it is not support yet

This feature will require some deep rewrite of the routing capability and i can't say when i can spend time on doing this ammount of work for this.

Currently the way i would reccommend that you try yourself for now is to have 2 client instances in your application. One that runs the normal ConnectionPool class and one instance that runs ClusterReadOnlyConnectionPool. Then you can route your traffic on your end to the correct instance and get something like the desired write/read capability you are looking for.

Related: #271

This has been resolved in #291


docs: update indivious homepage

It seems like the page in the README is broken. I'm not sure if this is the server, but the current link points to a broken domain

Good catch! That certainly is the wrong link... https://github.com/iv-org/invidious links to the fixed invidious.io.
Thanks for your PR!


PCB

Hey, this looks awesome! I was just wondering, did you make the PCB yourself or did you create/build/assemble is somewhere?
simplebus2-repeater.kicad_pcb seems to be empty so jlcpcb.com seems to be a no-go

I built the PCB using a soldering breadboard, didn't printed a proper PCB.

Can you show the pcb? It's not seen in the pictures

If someone is interested, I made an Eval-Board for easy measurement of power and some key signals with an additional connection possibility to a D1 mini. If needed I could upload the Gerber data. If someone has a software solution for a D1 mini or ESP32, I would be grateful to participate and could adapt to the pub design.

Hi VideoScape,
please be aware, that this PCB is work in progress and is no plug-and-play solution. If you like to participate in developing, this could be a good starting point. I could send you a unit with schematics for self-cost, please give me an e-mail to handle this. In return I would like to participate in your findings and an ESP-based firmware if you plan to do so.
As plusvif already stated, the linear power supply is not sufficient for the ESP. Not the S2 bus voltage is dropping, but the thermal protection of the linear power regulator. Would be better to use a step-down-converter. The PCB gives you all possibilities for that.

Hi @Elektroarzt!
Looks like you've already made some progress on the hardware-side, I'm currently looking into building an ESP8266/ESP32-based bridge as well but I just got started (had a look at the signals with my scope today).
My initial plan for drawing power from the bus was to use one of these cheap LM2596 boards I have lying around but connecting one killed the bus (even without drawing any current, maybe it's the capacitor across the input). What do you use for power on your board?

Using the linear regulator with the ESP results in brownouts, so I also used a LM2596 but had no issues with the bus at first sight. Did you connect behind the low pass filter like in plusvic's schematic?
I think Gurkenflieger is miles ahead with his ESP development approach: https://github.com/plusvic/simplebus2-intercom/issues/5. Maybe this will be the better path.

@Elektroarzt would you mind to share your pcb/software? My idea is to connect an ESP32 or even a RPIZero to manage the video/audio and not start from zero if possible.

I had some really productive and funny hours of teamwork with Gurkenflieger on this project. Outcome was a V2.0 of the PCB and a newly coded software for Comelit systems based on plusvics work. We had the plan of publishing to a GitHub, but had not the time until today. I talked to Gurkenflieger concerning the video option. From what we see, this function could be solved in best case with a Piggy-Back on the V2.0 PCBA (see picture J2 and J3). It is populated with a Seeedstu
dio XIAO ESP32C3 wich should be potential enough for this task. Please be patient until we have the time to publish.

It looks great.
The problem to read the video is not the power of a ESP32 (that I think is capable) but to implement CVBS capture, that's why I was thinking on using a rpi zero and usb capturer.
 Outcome was a V2.0 of the PCB and a newly coded software for Comelit systems based on plusvics work. We had the plan of publishing to a GitHub, but had not the time until today. I talked to Gurkenflieger concerning the video option. From what we see, this function could be solved in best case with a Piggy-Back on the V2.0 PCBA (see pin headers J2 and J3 in the following pictures). It is populated with a Seeedstudio XIAO ESP32C3 wich should be potential enough for this task. Please be patient until we have the time to publish.

Incredible @Elektroarzt  @Gurkenflieger, do you plan to release the code/pcb files or kit ? I’m very interested for my appartement

Incredible @Elektroarzt @Gurkenflieger, do you plan to release the code/pcb files or kit ? I’m very interested for my appartement

I'm uploading hardware and mechanics right now to an own GitHub page. What do you need for the start? It's a bit more stuff. In V2.0 of the PCB there was a pinout bug that had to be routed by hand. I made a V2.1 PCB, that I have to test the next days. Therefor I will make a small batch of V2.1 if you are interested in a kit.
Software was coded by @Gurkenflieger, who will upload shortly.

Therefor I will make a small batch of V2.1 if you are interested in a kit.

If you end up doing this, definitely let me know :)

Same here, I’d love to buy a kit!

I don't want to spam this issue. So if you are interested in the above spinoff project, go to this project page. I will open up an issue there for the PCBA to keep you in the loop.
A lot of thanks for the great work so far go to @plusvic!


File cleanups

The connect API needs to be cleaned up and modularised: https://github.com/codefori/vscode-ibmi/blob/master/src/api/IBMi.ts
The commands defined in loadAllOfExtension need to be moved into unique files to clean it up because they're so big: https://github.com/codefori/vscode-ibmi/blob/master/src/instantiate.ts (done in #1724)
CompileTools#runAction has like 3 different variable for the workspace folder... defo doesn't need that much (done in #1723)

@worksofliam I am working on cleaning up the connect API and modularising. Can the rest of this one be assigned to me?


admin/elfinder get 404 error.

i have successfully install the system but while i am clicking the elfinder menu then i get 404 error.

Hi @shankhadevpadam ,
I can't seem to get the same results. Could you please give me a few details about your setup?

Operating System
Server software (xamp, wamp, mamp, homestead, etc)
PHP version
?

Thanks!

ubuntu 16.04 with lamp environment (php 7.0.8)

@tabacitu I confirm the presence of this bug.
windows, built-in web server, php 5.6, php 7. works
debian, php 5.6.24 - bug.
config('backpack.base.route_prefix')  return null instead real config value in service providers

I'm running on PHP 7.0.8-0ubuntu<IP_ADDRESS>, and I have the exact same problem as the OP. I followed the install instructions for base and crud to the T, I added the menu item to the sidebar, clicked on it, and as a result get to see a 404.

Config elfinder:
'prefix' => config('backpack.base.route_prefix').'/elfinder',
I can confirm, adding a default value of admin returns the correct path:
'prefix' => config('backpack.base.route_prefix').'/elfinder', => returns '/elfinder'
'prefix' => config('backpack.base.route_prefix', 'admin').'/elfinder', => returns '/admin/elfinder'

but it will not work for "other" route_prefix.

 So Debian and Ubuntu seem not to allow cross-use configs... I was hoping this would solve it but apparently no. Please use this temporary fix in your projects until we find a more permanent solution:
Manually set your route.prefix in your config/elfinder.php file:
    'route' => [
        'prefix'     => 'admin/elfinder',
        'middleware' => ['web', 'auth'], //Set to null to disable middleware filter
    ],

I'll install an Ubuntu and see what the problem is. Thanks a lot for reporting this, everyone. Cheers!

@seandowney well this will make it even more interesting to debug :-))

I think it might have been an issue with opcache rather than anything in Backpack.
So you can ignore my part in this thread :-)
Thanks
On 8 Jan 2017 8:41 AM, at 8:41 AM, Cristian Tabacitu<EMAIL_ADDRESS>wrote:

@seandowney well this will make it even more interesting to debug :-))
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Laravel-Backpack/CRUD/issues/311#issuecomment-271138353

@tabacitu Manually set your route.prefix in your config/elfinder.php file:
This fixed it for me.
Thank you!

Looks like that the issue has been reproduced for now...
It helped for me:
// app/Providers/AppServiceProvider.php

public function register()
    {
        // Other code...

        $this->backpackDuctTape();
    }

    /**
     * Set some config options for Backpack
     * that can't be setted in the configuration files.
     *
     * @return void
     */
    protected function backpackDuctTape()
    {
        \Config::set('backpack.base.user_model_fqn', \App\Models\Auth\BackpackUser::class);
        \Config::set('elfinder.route.prefix', 'admin/elfinder');
    }

I tried to place this code in my service provider, and also put the provider first in the list of service providers (before AppServiceProvider in config/app.php). It did not help me anyway.

Still haven't been able to replicate this myself - and I have no idea why some systems behave so, others don't. Thank you for the solution @NewEXE - I'm sure someone will find it useful. I don't think it's something we could implement in the package itself, though, since it's hard-coding the config values. But it should work fine for individuals who encounter this issue.


Use image from last NFT as og:image for user's profile

Now it looks quite fugly and we can do better.
I would propose to show user's last mint from user profile.

https://twitter.com/yangWao/status/1381107901989855232?s=19

I am interested in contributing to this issue. Specifically how would you like this implemented?

Bump on this issue. Currently have the og:image for a user's profile working, still need to get video functionality working. However, would including the user's profile username or address as the og:title also be a good idea as well?

Added this feature in #306

Bump on this issue. Currently have the og:image for a user's profile working, still need to get video functionality working. However, would including the user's profile username or address as the og:title also be a good idea as well?

Yes, search in Google shows item like this

@miguel-quezada63 I mean love to merge it with #243 if you are up to it!

You can use https://cards-dev.twitter.com/validator to check if it works

Sounds good regarding the merge. I will also take a look at #243, looks pretty doable for me.

However, would including the user's profile username or address as the og:title also be a good idea as well?
Oh somehow I've missed this, yes, showing users name would be perfect I guess, but I'm afraid there might be issues with resolving identity on-chain, but at least showing address will motivate an artist to set their identity on-chain :)

Maybe we could set to og:title name of nft token?

Seems done


jax.lax.while_loop with no attribute error GSPMDSharding

Description
Hi,
I'm trying to implement a finding root algorithm bisect in the following function.
def bisect(fn: callable, target, lower, upper, precision=1e-6, max_iter=100_000):

    if lower >= upper:
        raise ValueError("`lower` should be smaller than `upper`")

    if fn(lower) > fn(upper):
        fn = lambda x: -fn(x)
        return bisect(fn, -target, lower, upper, precision, max_iter)

    def cond_fn(val):
        lower, upper, n_iter = val
        return jnp.logical_and(upper -lower > precision, n_iter <= max_iter)

    def body_fn(val):
        lower, upper, n_iter = val

        n_iter = n_iter + 1
        m = 0.5 * (lower + upper)
        output = fn(m)
        lower = jnp.where(output >= target, lower, m)
        upper = jnp.where(output < target, upper, m)

        return lower, upper, n_iter

    _, upper, _ = jax.lax.while_loop(cond_fun=cond_fn,
                       body_fun=body_fn,
                       init_val=(lower, upper, 0))

    return upper

When trying to test the implementation with
fn = lambda x: 2 * x
bisect(fn, target=4, lower=0, upper=10, max_iter=20)

it throws an error like
[~/anaconda3/lib/python3.8/site-packages/jax/experimental/shard_map.py) in
     39 from jax._src import pjit
     40 from jax._src import prng
---> 41 from jax._src import sharding_impls
     42 from jax._src import source_info_util
     43 from jax._src import traceback_util

[~/anaconda3/lib/python3.8/site-packages/jax/_src/sharding_impls.py) in
    654
    655
--> 656 @use_cpp_class(xc.GSPMDSharding)
    657 class GSPMDSharding(XLACompatibleSharding):
    658   _devices: Tuple[Device, ...]

AttributeError: module 'jaxlib.xla_client' has no attribute 'GSPMDSharding'

A similar error occurs when I've tried to use jaxopt.Bisection.
What jax/jaxlib version are you using?
jax v0.4.13 jaxlib v0.4.13+cuda11.cudnn86
Which accelerator(s) are you using?
GPU
Additional system info
Python 3.8.5, Ubuntu
NVIDIA GPU info
NVIDIA-SMI 510.108.03   Driver Version: 510.108.03   CUDA Version: 11.6

I'm sorry for mistaking this with a bug. It seems there is problem with my Jupyter notebook. Upon restart the notebook, the error is solved. I don't know why it is so though.


fix 30s hang on priming connections to serverlists of over size 100

ribbon-pull-requests #216 SUCCESS
This pull request looks good

ribbon-pull-requests #217 SUCCESS
This pull request looks good


objective-c can use this library?

My project with oc,is it can use this library? if it can,how do
Thanks very much

@zhunye
BitcoinKit cannot be used in Object-C projects.
The main limitation is that most classes and types in the library are Swift-only.
This library is alternative for ObjC, although the maintenance has been stopped for 3 years.
https://github.com/oleganza/CoreBitcoin/tree/master/CoreBitcoin

@akifuj
the CoreBitcoin how to use, eg:how to create a new wallet ?
if you have demo, please give me one.

@zhunye
Umm... I don't know sample code with CoreBitcoin.
I just searched and found this project, which might help you.
https://github.com/BitStore/BitStore-iOS

@akifuj
thanks very much, I am a green hand
I have 2 questions about BitcoinKit
1,let privateKey = PrivateKey （ network ： .testnet
let wallet = Wallet （ privateKey ：privateKey）
then this wallet is btc or bch,and how to create them respectively
2,how to converter bch old address to new address bitcoincash:q.....
becouse the README.md there:let cashaddrMain = try AddressFactory. create （ “ bitcoincash：qpjdpjrm5zvp2al5u4uzmp36t9m0ll7gd525rss978 ” ）,I don't find this function in BitcoinKit,and I don't
understand why input  a bch new address“ bitcoincash：qpjdpjrm5zvp2al5u4uzmp36t9m0ll7gd525rss978 ”  get a bch new address still


[ISSUE] Integration issues.

What happened?
as indicated in many of the open issues, this integration is not working correctly. Possible issues:

custom card is not working as expected
integration is spamming locks
integration clears and sets lock at start

Overall a lot of things are happening super inefficiently. I need to do a redesign of this to make it work, but it will take time due to life priorities

just want you to know that I really appreciate all the work that you've put into this


remove csp column from review page

since the service reviews are already CSP specific, we do not need the CSP column. This can be removed.

I’ll fix this.


fastapi.security.APIKeyHeader auth class doesn't validate authentication scheme_name argument

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI, Security, Depends
from fastapi.security.api_key import APIKeyHeader, APIKey

"""
We want the APIKeyHeader class to return the value of the provided header.
Along with that, we will also need the class to validate if the header's auth scheme matches the provided scheme.
"""

scheme="Token"

auth_header = APIKeyHeader(name="Authorization", scheme_name=scheme, auto_error=False)

async def get_auth(auth_header: str = Security(auth_header)):
    print(f'Original scheme is {scheme}')
    print(f'User provided scheme was {auth_header.split(" ")[0]}')
    if auth_header:
        return auth_header
    else:
        return None

app = FastAPI()

@app.get("/")
async def hello(api_key: APIKey = Depends(get_auth)):
    return "Hello"

if __name__ == "__main__":
    import uvicorn
    uvicorn.run(app, host="<IP_ADDRESS>", port=8000)

Description

Run the curl command,curl --location --request GET 'http://localhost:8000/' \
--header 'Authorization: Token asd'

If you check the console you will see,Original scheme is Token
User provided scheme was Token

Now change the Auth scheme to Basic or something else and run the same commandcurl --location --request GET 'http://localhost:8000/' \
--header 'Authorization: Basic asd'

If you check the console you will see,Original scheme is Token
User provided scheme was Basic

I expect fastapi.security.APIKeyHeader class to validate the provided auth scheme. Since it takes the arg. scheme_name I safely assume its best to validate it within the class rather than me writing the validation.
Since this is already implemented in fastapi.security.HTTPBasic in line 71

Operating System
macOS
Operating System Details
No response
FastAPI Version
0.70.0
Python Version
3.9.4
Additional Context
I see that in line 53 of fastapi.security.APIKeyHeader class, the usage of self.__class__.__name__ when scheme_name is not provided, might cause confusion when implementing the validation of scheme. It is safe to either return the value and skip the scheme validation or simply raise Exception to the user.

I also have another suggestion for usage of scheme_name in APIKeyQuery and in APIKeyCookie. This argument won't be necessary as auth schemes are usually not part of query params or cookies according to my knowledge.

I'd be happy to send a PR if necessary. Let me know ;)


vendor: bump docker2aci to v0.17.0

It looks like we have github.com/docker/distribution pinned in rkt glide.yaml as well, so I guess you should bump it here as well.


Response code 500 when calling /api/v2/firewall/nat/one_to_one/mappings

Describe the bug
When tried to call /api/v2/firewall/nat/one_to_one/mappings endpoint , i faced the below 500  response code
{   "code": 500,   "status": "internal server error",   "response_id": "ENDPOINT_RECEIVED_UNEXPECTED_ERROR",   "message": "Named parameter $parent_id overwrites previous argument\n#0 /usr/local/pkg/RESTAPI/Core/Model.inc(1554): RESTAPI\\Models\\OneToOneNATMapping->__construct(parent_id: NULL)\n#1 /usr/local/pkg/RESTAPI/Core/Model.inc(1737): RESTAPI\\Core\\Model::read_all(NULL, 0, 0)\n#2 /usr/local/pkg/RESTAPI/Core/Endpoint.inc(742): RESTAPI\\Core\\Model::query(Array, Array, NULL, 0, 0)\n#3 /usr/local/pkg/RESTAPI/Core/Endpoint.inc(688): RESTAPI\\Core\\Endpoint->get()\n#4 /usr/local/www/api/v2/firewall/nat/one_to_one/mappings/index.php(3): RESTAPI\\Core\\Endpoint->process_request()\n#5 {main}",   "data": [] }
To Reproduce
Steps to reproduce the behavior:

Call API /api/v2/firewall/nat/one_to_one/mappings
See error

Expected behavior
Return list of one_to_one mapping list
Screenshots or Response

pfSense Version & Package Version:

pfSense Version: 2.7.2-RELEASE (amd64) built on Thu Dec 7 3:10:00 +07 2023 FreeBSD 14.0-CURRENT
Package Version: v2.0.0-rc-30b2715

Affected Endpoints:

URL: /api/v2/firewall/nat/one_to_one/mappings

Additional context

Thanks for reporting this, I'll push out a fix today.

The latest release candidate build contains a fix for this as well as new tests to ensure it doesn't pop up again:
https://github.com/jaredhendrickson13/pfsense-api/releases/tag/v2.0.0-rc-217e88f


Simple, and highly useful feature request

Hello, i already use Geofire With Firebase Realtime database on android and i don't know why on android there is the "data event" feature ( https://github.com/imperiumlabs/GeoFirestore-Android#data-events )
and not present on iOS. I really need the data in the whole document not only the Location.
In fact i have many other parameter in the document where i set the geofire location., and when i execute a query to find who is in a certain geoCircle, i still need to check if those "returned results" comply with the other criterias
My question is:
are you planning on adding "data events" support for iOS ? other wise i will have to retrieve all document ID and do a firestore query with every single id to check if those documents comply with the other criterias than location. And according to firstore pricing scheme, u know this way of doing this is a deal breaker.
I am waiting for response.
Keep up the good work
Cheers

@swafsarl I would also be interested in this feature.  If there is some way I can contribute I would love to help! 👍

Hello, in fact, i have found a workaround based on GeoFirestore code, here what i did:
`    let geoFirestoreRef = db.collection("users")
let queries=GFGeoHashQuery.queries(forLocation: center, radius: (radius * 1000.0))
queries?.forEach{ item in
if let query = item as? GFGeoHashQuery{
let fsQuery=geoFirestoreRef.order(by: "g")
.whereField("g", isGreaterThanOrEqualTo: query.startValue)
.whereField("g", isLessThanOrEqualTo: query.endValue)
            self.geoListener=fsQuery.addSnapshotListener{ (documentSnapshot, error) in
                if let error = error { print(error)  } else {

                    guard let documents = documentSnapshot?.documents else { print("Error fetching documents: \(error!)")
                        return }
                    print("Voici les documents \(documents.count)")
                    self.mapView.clear()
                    documents.forEach { doc in
                        let user=B2winUser.init(dict: doc.data())
                        self.addMarker(user: user)
                    }
                }
            }

        }

    }`

Hello,
The iOS library’s GeoQuery is optimized so that the geo query itself does not make a call. Either way, the call to firebase to fetch a document is still made, so no matter what, you’re going to fetch each document, whether it’s our code or yours. We recommend using a batch read operation after getting the document IDs and using a local cache to store documents.
Thankfully, due to Firestore’s NoSQL document structure, you’ll save much more money by using Geofirestore with Firestore than with Geofire & Realtime DB. Keep in mind that the pricing is based on the actual call to fetch an item; it doesn’t matter whether it’s your code that makes the call, or our code, or Firebase’s. If you want the contents of that document, regardless of what method you use, you’ll spend the same amount of money per call, unless you use the less efficient Realtime DB.
Thanks,
Dhruv

On Aug 8, 2018, at 10:50 PM, swafsarl<EMAIL_ADDRESS>wrote:
Hello, i already use Geofire With Firebase Realtime database on android and i don't know why on android there is the "data event" feature ( https://github.com/imperiumlabs/GeoFirestore-Android#data-events )
and not present on iOS. I really need the data in the whole document not only the Location.
In fact i have many other parameter in the document where i set the geofire location., and when i execute a query to find who is in a certain geoCircle, i still need to check if those "returned results" comply with the other criterias
My question is:
are you planning on adding "data events" support for iOS ? other wise i will have to retrieve all document ID and do a firestore query with every single id to check if those documents comply with the other criterias than location. And according to firstore pricing scheme, u know this way of doing this is a deal breaker.
I am waiting for response.
Keep up the good work
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If you have a clean solution, we humbly request that you fork the repo and submit a pull request to help out the community.

I have done some changes in geofirestore.swift file.
internal func fireStoreQueryForGeoHashQuery(query: GFGeoHashQuery) -> Query {
var queryFireStore : Query?
queryFireStore = self.myGeofirestore.query
            queryFireStore = queryFireStore?.order(by: "g")
queryFireStore = queryFireStore?.order(by: PUBLISHED_DATE_TIME, descending: true)

            queryFireStore = queryFireStore?.whereField("g", isGreaterThanOrEqualTo: query.startValue).whereField("g", isLessThanOrEqualTo: query.endValue)
return queryFireStore!
}

I have also change public typealias GFSQueryResultBlock = (String?, CLLocation?, DocumentSnapshot?) -> Void to get whole document and these changes working fine.
I am facing issue in result data, like i am passing radius of 10 Km, in a result it displays the data greater than that radius.
If anyone can help me it will be great help.
Thanks in advance.

#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;}  The Link between degrees and km dépends on where you are located on earth. When u say "greater", how greater It is? Like thé error is about 1% ? 5% ? 10% ? In other words, when u say 10km radius It is merely aproximative distance.                                                                                Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé                                                                                De<EMAIL_ADDRESS>17 septembre 2018 14:54À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5)  I have done some changes in geofirestore.swift file.
internal func fireStoreQueryForGeoHashQuery(query: GFGeoHashQuery) -> Query {
var queryFireStore : Query?
queryFireStore = self.myGeofirestore.query
            queryFireStore = queryFireStore?.order(by: "g")
queryFireStore = queryFireStore?.order(by: PUBLISHED_DATE_TIME, descending: true)

            queryFireStore = queryFireStore?.whereField("g", isGreaterThanOrEqualTo: query.startValue).whereField("g", isLessThanOrEqualTo: query.endValue)
return queryFireStore!
}
I have also change public typealias GFSQueryResultBlock = (String?, CLLocation?, DocumentSnapshot?) -> Void to get whole document and these changes working fine.
I am facing issue in result data, like i am passing radius of 10 Km, in a result it displays the data greater than that radius.
If anyone can help me it will be great help.
Thanks in advance.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} The Link between degrees and km dépends on where you are located on earth. When u say "greater", how greater It is? Like thé error is about 1% ? 5% ? 10% ? In other words, when u say 10km radius It is merely aproximative distance.  Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé De<EMAIL_ADDRESS>17 septembre 2018 14:54À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5) I have done some changes in geofirestore.swift file. internal func fireStoreQueryForGeoHashQuery(query: GFGeoHashQuery) -> Query { var queryFireStore : Query? queryFireStore = self.myGeofirestore.query             queryFireStore = queryFireStore?.order(by: "g") queryFireStore = queryFireStore?.order(by: PUBLISHED_DATE_TIME, descending: true)                         queryFireStore = queryFireStore?.whereField("g", isGreaterThanOrEqualTo: query.startValue).whereField("g", isLessThanOrEqualTo: query.endValue) return queryFireStore! } I have also change public typealias GFSQueryResultBlock = (String?, CLLocation?, DocumentSnapshot?) -> Void to get whole document and these changes working fine. I am facing issue in result data, like i am passing radius of 10 Km, in a result it displays the data greater than that radius. If anyone can help me it will be great help. Thanks in advance. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for the quick reply.
The location is 25Km far than the current location, and if I set radius 10Km on my current location and fire a query that 25Km location is also displaying.

#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;}  Seems It is displaying all thé locations available ignoring thé location. Am i wrong ?                                                                                Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé                                                                                De<EMAIL_ADDRESS>17 septembre 2018 15:31À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5)
#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} The Link between degrees and km dépends on where you are located on earth. When u say "greater", how greater It is? Like thé error is about 1% ? 5% ? 10% ? In other words, when u say 10km radius It is merely aproximative distance.  Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé De<EMAIL_ADDRESS>17 septembre 2018 14:54À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5) I have done some changes in geofirestore.swift file. internal func fireStoreQueryForGeoHashQuery(query: GFGeoHashQuery) -> Query { var queryFireStore : Query? queryFireStore = self.myGeofirestore.query             queryFireStore = queryFireStore?.order(by: "g") queryFireStore = queryFireStore?.order(by: PUBLISHED_DATE_TIME, descending: true)                         queryFireStore = queryFireStore?.whereField("g", isGreaterThanOrEqualTo: query.startValue).whereField("g", isLessThanOrEqualTo: query.endValue) return queryFireStore! } I have also change public typealias GFSQueryResultBlock = (String?, CLLocation?, DocumentSnapshot?) -> Void to get whole document and these changes working fine. I am facing issue in result data, like i am passing radius of 10 Km, in a result it displays the data greater than that radius. If anyone can help me it will be great help. Thanks in advance. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
Thank you for the quick reply.
The location is 25Km far than the current location, and if I set radius 10Km on my current location and fire a query that 25Km location is also displaying.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;}  Than maybe It is really thé ratio between km and degrees thé problem.  Try to trigger a query for 1km and see "till when" It will show results. So u can see thé ratio between km and degrees.                                                                                Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé                                                                                De<EMAIL_ADDRESS>17 septembre 2018 4:25 PMÀ<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5)
#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} Seems It is displaying all thé locations available ignoring thé location. Am i wrong ? Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé De<EMAIL_ADDRESS>17 septembre 2018 15:31À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5) #response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} The Link between degrees and km dépends on where you are located on earth. When u say "greater", how greater It is? Like thé error is about 1% ? 5% ? 10% ? In other words, when u say 10km radius It is merely aproximative distance.  Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé De<EMAIL_ADDRESS>17 septembre 2018 14:54À<EMAIL_ADDRESS>à<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [imperiumlabs/GeoFirestore-iOS] Simple, and highly useful feature request (#5) I have done some changes in geofirestore.swift file. internal func fireStoreQueryForGeoHashQuery(query: GFGeoHashQuery) -> Query { var queryFireStore : Query? queryFireStore = self.myGeofirestore.query             queryFireStore = queryFireStore?.order(by: "g") queryFireStore = queryFireStore?.order(by: PUBLISHED_DATE_TIME, descending: true)                         queryFireStore = queryFireStore?.whereField("g", isGreaterThanOrEqualTo: query.startValue).whereField("g", isLessThanOrEqualTo: query.endValue) return queryFireStore! } I have also change public typealias GFSQueryResultBlock = (String?, CLLocation?, DocumentSnapshot?) -> Void to get whole document and these changes working fine. I am facing issue in result data, like i am passing radius of 10 Km, in a result it displays the data greater than that radius. If anyone can help me it will be great help. Thanks in advance. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread. Thank you for the quick reply. The location is 25Km far than the current location, and if I set radius 10Km on my current location and fire a query that 25Km location is also displaying. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
No actually if set radius to 8Km and fire a query then that location is not coming in result.. so query is working but not perfectly.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

Regarding the query radius issue posted above, I had a similar problem of getting all the location ignoring the search radius. I modified the updateLocationInfo function as follows, and it is working fine now.  info?.isInQuery != nil --> info?.isInQuery == true

Hi @RvAgrawal
Sorry did you work it out? Have you tried @Gokugokuman's suggestion?

OK so I just tried based on what you guys discussed, changed the type of GFSQueryResultBlock from String(DocumentID) to DocumentSnapshot, and fixed the "isInQuery" check:
https://github.com/scm573/GeoFirestore-iOS/pull/1/files
Pretty enough for our team now but I cannot say it would fit everyone's requirements...

@scm573 Yes issue resolved now.. Thanks.


test: add integration test with minio

Description
Adds integration tests with s3-compatible MinIO.

docker/docker-compose.yaml spins up the minio container
docker/copy_tables.sh creates the bucket; unzips, copies and creates the tables in the minio store
The environment variables for the integration test are supplied via integration_test/env.toml
Adds running integration tests on pull requests via ci.yml

Notes:

We can extract the logic to run the integration tests in the Makefile or as a separate script
The integration test takes around ~3 minutes to complete
The integration test is only for the hudi-rs rust support via datafusion

This closes #81 .
How are the changes test-covered

[ ] N/A
[x] Automated tests (unit and/or integration tests)
[ ] Manual tests

[ ] Details are described below

@abyssnlp don't think the ci job is triggered. probably format issue.

@xushiyan  The CI is failing due to this error:
<EMAIL_ADDRESS>is not allowed to be used in apache/hudi-rs. I used this action to setup the rust toolchain. Is there a way to whitelist this action or should I use an alternative?

I've removed the external action since GHA runner has rustup already.

@xushiyan All tests (including integration) are green. The labeler is failing due to permissions.

@xushiyan Addressed all comments in a28debc.
I've reused the TestTable enum but I had to add an extra method to get the s3 path as we unzip and load the tables into minio for the integration tests so we don't need to extract them.

@abyssnlp are you planning to resume this work?

Hi @xushiyan,
I've been busier than usual so couldn't get around to this earlier. I've addressed your comments in https://github.com/apache/hudi-rs/pull/112/commits/5a747fd1dc45fccf85cfdcad6fd8ae5068fc8993.

The integration tests now run in a container
I'll add a test for python as well later

Let me know what you think.

Ok, due to time constraint, I'll push this to the next release.

re-worked in https://github.com/apache/hudi-rs/pull/226


Add interfaces to allow unit testing in .NET app using the FlagsmithClient

Most of .NET mocking framework like Moq only allow to mock interfaces.

Thanks! Will check it out

Are we able to get the tests green @JFCote ?

@dabeeeenster Will check this today! I don't really understand why adding interfaces would break the test but will have a look :)

@dabeeeenster Do you have any documentation on how to run the unit tests on a local environment? I have cloned the code and I'm trying dotnet test in the root folder but I receive this weird error which is not even the same error I can see in the PR:
PS C:\dev\flagsmith-dotnet-client> dotnet test
  Determining projects to restore...
  All projects are up-to-date for restore.
  Flagsmith.Engine -> C:\dev\flagsmith-dotnet-client\Flagsmith.Engine\bin\Debug\netstandard2.0\Flagsmith.Engine.dll
  Flagsmith.FlagsmithClient -> C:\dev\flagsmith-dotnet-client\Flagsmith.FlagsmithClient\bin\Debug\netstandard2.0\Flagsmith.FlagsmithClient.dll
  EngineTest -> C:\dev\flagsmith-dotnet-client\Flagsmith.EngineTest\bin\Debug\net6.0\EngineTest.dll
Test run for C:\dev\flagsmith-dotnet-client\Flagsmith.EngineTest\bin\Debug\net6.0\EngineTest.dll (.NETCoreApp,Version=v6.0)
  ClientTest -> C:\dev\flagsmith-dotnet-client\Flagsmith.Client.Test\bin\Debug\net6.0\ClientTest.dll
Test run for C:\dev\flagsmith-dotnet-client\Flagsmith.Client.Test\bin\Debug\net6.0\ClientTest.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.79]     EngineTest.EngineTest.Test_Engine [FAIL]
  Failed EngineTest.EngineTest.Test_Engine [1 ms]
  Error Message:
   System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\dev\flagsmith-dotnet-client\Flagsmith.EngineTest\EngineTestData\data\environment_n9fbf9h3v4fFgH3U3ngWhb.json'.
  Stack Trace:
     at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path)
   at EngineTest.EngineTest.LoadData(String path) in C:\dev\flagsmith-dotnet-client\Flagsmith.EngineTest\EngineTest.cs:line 52
   at EngineTest.EngineTest.ExtractTestCases(String path) in C:\dev\flagsmith-dotnet-client\Flagsmith.EngineTest\EngineTest.cs:line 60

Failed!  - Failed:     1, Passed:   174, Skipped:     0, Total:   175, Duration: 649 ms - EngineTest.dll (net6.0)

Passed!  - Failed:     0, Passed:    24, Skipped:     0, Total:    24, Duration: 12 s - ClientTest.dll (net6.0)

Can you try running the tests a few times? We think there may be a thread/race condition with the testing harness?

@dabeeeenster I can run it as much time as I want on my local machine, and I always receive the same error (see my previous comment). I tried both in bash and in powershell.
Also, I have the same error on the main branch that I receive on my branch, so I don't think I broke anything.
Any other things you want me to try?

Hi @JFCote, I'll take a look into this further and get back to you.

@matthewelwell Thanks! We can hop on Gitter or something like that if you want and work it out. Let me know.

@JFCote we have a discord https://discord.gg/hFhxNtXzgm


Test docker vuln scan cryptsetup

don't merge this, it's a test.

It seems like installing and upgrading cryptsetup in Ubuntu Focal (20.04) does not lift the version number high enough to fix this vulnerability: https://ubuntu.com/security/CVE-2021-4122.
When running this command:
RUN apt update && \     apt-get -y clean all && \     apt-get -y update && \     apt-get -y upgrade && \     apt-get -y dist-upgrade && \     apt-get -y install --upgrade cryptsetup
cryptsetup version 2.2 is installed.
cryptsetup's newer versions (2.3, 2.4) that contain the fix for this issue are probably not compatible with Ubuntu Focal.


Document endpoints for managing IP whitelisting, TLS certificates  and domains

The Cloud Manager UI now provides access to the management capabilities for IP whitelists, domains and certificates.
According to https://github.com/AdobeDocs/cloudmanager-api-docs/blob/master/README.md

The Cloud Manager API enables Cloud Manager customers to interact with the same underlying capabilities exposed through the web UI in a fully programmatic fashion.

I don't yet see a documentation for this functionality in https://github.com/AdobeDocs/cloudmanager-api-docs/blob/master/swagger-specs/api.yaml yet.

This is partially solved by https://github.com/AdobeDocs/cloudmanager-api-docs/commit/237e8ab239b9182aeff0ab56d0c4022260b1e58d. The only thing missing is how to add new certificates.

The missing element was added in fe787b371768014874bc2352a5a3fbac8d0caae9

The missing element was added in fe787b371768014874bc2352a5a3fbac8d0caae9


investigate why users can't make the plugin work

Roni
9:57 PM
out of 39 that succeeded in install
21 didn’t get Digma to work
it can be related to the kind of project or run config
or something else
here is the list:
https://us.posthog.com/project/22368/cohorts/81563

duplicate
https://github.com/digma-ai/digma-intellij-plugin/issues/2385


Google.Cloud.BigQuery.V2 only show 5 errors

I have a CreateLoadJobOptions that has MaxBadRecords set to a high number.  As long as I don't hit this number, the job complete, but I only see a maximum of 5 errors.  Since, I'm trying to have BigQuery load ~18k CSV files (DeltaDNA dump into an S3 bucket, which was then transfered and extracted into a directory), I would like to instead have a way to ask BigQuery to transfer everything it can, and nothing from files that have errors, and report which files have failed instead.

Yeah, for the 3rd point, I am already starting to work in batches (but the main issue that I face is most files contains at least 1 of those errors.  DeltaDNA seems to output stuff in a non-standard way for some specific metrics, I might need to think of another strategy).
The 2nd point is exactly as you stated : MaxBadRecords is set to say 10.  Once it detects 10 errors, the whole job fails, but I still only get 5 errors.  If it detects 9 errors, the whole job is completed, but I'm still only shown 5 errors within the job's result.

I'll ask about the 5 errors part - that may well just be a limitation of BigQuery's error reporting (e.g. to avoid job resources becoming huge).
If most of your files have at least one error, that suggests that even if you could say "0 errors per file, but try each file separately" then you'd still lose most of the data.
Will leave this open until I've resolved the "only 5 errors" part, but I doubt that there's any change to make for the rest.

For the lost data/errors in files : Yes.  I'm still trying to figure out a way to quickly parse those, but that's still an issue for me.  It seems that DeltaDNA can't output JSon strings in a parse-able format.

@AlexandreOuellet: Right, I've a) reproduced the problem and b) been in touch with the BigQuery folks. It looks like that "only reporting 5 errors" is by design and currently not configurable. Is this something you'd like me to pursue further, or have your own investigations into the causes of breakage meant that it's not a problem for you anyway?

Lots of stuff going on on my end, so it was put on hold for the moment.
If possible, I would like to have a way to identify which files have failed during a transfer from GCS to BigQuery.  Since I have ~18k files, it would take a long time to essentially ask BQ to transfer each single file, 1 by 1, then identifying which one fails (Essentially 18k).  If there is a way to do it with all of the 18k, then get a list of files that fails, that would be great.  I could then keep a list of which files have failed, still continue with the rest of the transfer for the files that did not fail, and then work my way through those that did fail.

Thanks for the extra information.
I've found there's already an internal feature request for more information - both in terms of showing more errors, and giving more detail about all of them. I'll add a link to this issue there, so the team knows about more customer demand.
For the moment I'll close this issue if that's okay, as I don't believe there's anything more that can be done in this repo.


The inqury about test target video embedding vector

Hi!  I'm Cheol-Ho Cho.
I have a question about your work, especially on the test target video embedding vector
I read in your paper that the test target video embedding vector is computed by weighted mean and it is helpful to boost performance.
However, your implemented code does not seem to be computed weighted mean.
Could you explain it more specifically?
Best regard, Cheol-Ho

It's computed on dataset class :)


svcs: Preferences service

@Mohitty your PR contains your previous PRs, please only include the changes related to the work you are doing, you need update your master branch to the github.com/cs3org/reva master branch and rebase your work on top of that. Please read this guide https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request so I'll help you understand the steps to achieve it.
I'd also recommend you if you are not familiar with Git to read this webpage:
http://johnmathews.eu/rys-git-tutorial.html
It's the best git tutorial I've read in my career.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #100   +/-   ##
=====================================
  Coverage      75%    75%
=====================================
  Files           2      2
  Lines          40     40
=====================================
  Hits           30     30
  Misses          5      5
  Partials        5      5

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 57913d6...b6262c9. Read the comment docs.

Last modification, in Go concurrent access to a map is not thread/goroutine safe, you can protect the access to the map with a mutex.
See this example:
https://gobyexample.com/mutexes
You need to call Lock() every time you read/write a value from the map
and call defer Unlock() just after you call Lock().


Why can't I click the box corresponding to a single ftrace event?

hello~
Why can't I click the box corresponding to a single ftrace event to view specific information?
And select a range to view all ftrace event information within the range.
thanks very much.

Hi! These features are simply not implemented yet. They're on our roadmap, but I'm afraid I don't have a time scale I can share with you just yet.


fist commit

Sir i have just added my name in index.html but then there is a error
command comming
Sir i have just added my name in index.html but then there is a error
command comming
On Sun 7 Oct, 2018, 10:43 PM Shubhank Saxena<EMAIL_ADDRESS>wrote:

@shubhank-saxena requested changes on this pull request.
Dont edit the entire code. Just add your part to the last part of the code
according to the website
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/creative-computing-society/creative-computing-society.github.io/pull/165#pullrequestreview-162297530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Apv6CMhhWwuD3UsVIZIYVxJnNKorf8Voks5uijYTgaJpZM4XLwrB
.


Is it possible to use SearchBox Alone to implement autocomplete

The sample works fine when I remove GoogleMap Tag and using search box alone, this is not workin, I know I am doing wrong , Still I need to put my questions here to get an understanding . From Google API service we have AutoComplete Search Box without loading a MAP . Does this could be achieved here.

    {props.markers.map((marker, index) =>
     )}

Please post your sample code

Release v8.2.0
StandaloneSearchBox: https://tomchentw.github.io/react-google-maps/#standalonesearchbox


navigation works or doesn't work randomly

I'm using the ctrl+j and ctrl+k shortcuts as recommended by the howto, but these only work randomly. For the same file, without any change, with the same warnings/errors, sometimes the navigation works and sometimes not.
Example:
If I open a C file and immediately write it (:w), then it works.
If I close vim, reopen the same file and wait a while, the gutter pops up, but the navigation doesn't work.
I see in the status line that there is an existing issue and if I scroll to the issue, the gutter mark is there and I see the description of the error. But I can't navigate unless I turn it off and on again.
Enabled linters are cppcheck, gcc and clang.

Could you copy and paste your keybinds, as you have defined them?
I can't see any problems myself, so maybe the problem is specific to a particular linter.

200 nmap   (ale_previous)
201 nmap   (ale_next)

I don't think this is an issue with a particular linter as I noticed that using
200 nmap <silent> <C-k> :cp<CR>
201 nmap <silent> <C-j> :cn<CR>
202 " ale - customize status line
203 let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok']
204 let g:ale_set_loclist = 0
205 let g:ale_set_quickfix = 1

instead of the above config gives the required behaviour ...

Ah, are you not using the loclist at all? That could be the problem. The commands were written before quickfix support was added. I'll see if I can get it to read quickfix when that option is on.

I pushed a commit now so the commands for jumping between errors will use the quickfix list to retrieve errors instead of the loclist, if ALE is using the quickfix list instead of a loclist. I don't know if that will fix your problems, but that would have been an issue for someone else eventually.

I originally only had the first 2 lines in config. Then I turned off the loclist as an experiment as I thought it might've been colliding with YouCompleteMe. But even turning YCM off completely did not help, so that was not the culprit. Since I wasn't using it, I left it turned off. But the original bug report leaves the ale_set_loclist/quickfix on default values.

Could you get it so it's not behaving properly, and then copy and paste the output of :echo getloclist(0), and also :echo getcurpos()? If I can get those two values, then I think I should be able to repeat the bug and cover it with Vader tests.

ALE misbehaves with quickfix list.
Mappings
nmap <silent> [e <Plug>(ale_previous_wrap)
nmap <silent> ]e <Plug>(ale_next_wrap)

do not work.

For me, the issue is somehow resolved and the original config works fine -
I wasn't able to replicate it once since. Not sure what changed. I did a
plugin update (have a lot of plugins) and rebuilt vim too (newest version
from git). So maybe it was caused by some interaction which doesn't occur
for me anymore...
On Fri, Feb 17, 2017, 18:36 yevhen-m<EMAIL_ADDRESS>wrote:

ALE misbehaves with quickfix list.
Mappings
nmap  [e (ale_previous_wrap)
nmap  ]e (ale_next_wrap)
do not work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/w0rp/ale/issues/314#issuecomment-280715848, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABn33UXQ3-6ZfvVLp2WkVlV2uy2mWh3Tks5rddqegaJpZM4L6mXg
.

These are my settings
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 0
let g:ale_lint_on_enter = 0
let g:ale_sign_warning = 'W>'
let g:ale_sign_error = 'E>'
" Use quickfix list
let g:ale_set_quickfix = 1
nmap <silent> [e <Plug>(ale_previous_wrap)
nmap <silent> ]e <Plug>(ale_next_wrap)

ale_previous_wrap & ale_next_wrap work fine with location list, but they do not work with quickfix list.

Could you provide the output of :echo getqflist() and :echo getcurpos() when your cursor rests on a position where jumping to an error doesn't work? If I have both, I can see if there's some problem with the function which calculates the next cursor position, and then write a test to handle that.

I've noticed that <Plug>(ale_previous/next_wrap) use location list instead of quickfix list. If I have any items in location list, then lnum and col after using your mappings match those values for items in location list.
:echo getqflist()
[{'lnum': 9, 'bufnr': 4, 'col': 1, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': 'E', 'pattern': '', 'text': 'E303: too many blank lines (4)'}]

:echo getcurpos()
[0, 5, 1, 0, 1]

Do you have more items in the location list than in the quickfix list. See :help g:ale_set_loclist and :help g:ale_setquickfix for turning loclist or quickfix on or off. You can use either. By default, ALE uses the loclist, and doesn't use quickfix. You might need to use let g:ale_set_loclist = 0.
I'll apply the buffer number filtering to the loclist items too. That could be an issue.

When I set let g:ale_set_loclist = 0, mappings start to work. You should fix this, cause this is counterintuitive. Setting let g:ale_set_quickfix = 1 should be enough, don't you think?

Hmm, I'll change the precedence. People can have problems the other way around, but I imagine that people who turn quickfix on mostly want to use quickfix.

@w0rp Thanks a lot for you help. I enjoy ale a lot!


Create and update Edge Deployment entries in the ConfigDB

Instead of deploying to k8s directly, the manager needs to create ConfigDB entries.
Some of this work has already been started, but the schema for the edge deployment entries has changed.

https://github.com/AMRC-FactoryPlus/acs-edge-sync/issues/6

TODO:

[ ] Set up dev environment pointing to v3 dev cluster
[ ] Replace node provisioning with configDB entry
[ ] Remove EA management page


CIS-4.2

I didn't go through the whole PR, since I saw some repeating issues. Please fix them first

I still don't get it. Why do you use so many deny blocks, and not just use functions? It duplicates a lot of code and reduces performance. Anyway, let it be... Another thing is the strong ciphers. It will be really better if you could declare them only once.

with ciphers I agree that it would be better to declare them once, but i don't think that is blocker but as far as I will have more time I can try to make it.
Regarding deny blocks, I don't think having multiple instances is wrong design.. for me it is like regular unit tests.
You want to make them short and simple and test a small piece of the overall logic.  So usually you don't have one test for some unit, but rather multiple.
So, reading multiple deny blocks with a small section of overall rule conditions is at least for me easier than having some extra function doing everything(i know its is exaggerated).
Of course, i am really open for seeing different approaches. If there will be rule, written differently but covering all of the requirements I will be happy to replace mine.
In order to talk about the performance, some tests should be made.


Implement restriction tubes

Restriction tube are tube which act like regular tubes except object routing considers them as an infinite length.
Restriction tubes can be colored as regular tubes.

Note: In RP2, they act as if they're 5000 blocks long, not infinite.

Note: In RP2, they act as if they're 5000 blocks long, not infinite.
I consider that an implementation detail. For the player it appeared to work as if it was infinite.


feature(docker): configure Ngnix to work with client side routing

thanks!

Btw, docker compose supports YAML anchors for avoiding duplication: https://medium.com/@kinghuang/docker-compose-anchors-aliases-extensions-a1e4105d70bd The whole nginx command could be deduplicated that way.

Btw, docker compose supports YAML anchors for avoiding duplication: https://medium.com/@kinghuang/docker-compose-anchors-aliases-extensions-a1e4105d70bd The whole nginx command could be deduplicated that way.

Thanks. Didn't know that. I will have look into it and apply it later.


Use a self-hosted runner

This allows for more rapid iteration times and assurance against timeouts in release pipelines (which has been a big problem!)

use windows-quick (self-hosted only) for release tags on this repo
use windows-2022 (self-hosted or GitHub-hosted depending on what's available) for development in this repo
use windows-latest (GitHub-hosted only) in all other cases (i.e. community contributions)

Note: the reason we use windows-2022 instead of windows-latest is so that both the self-hosted runner
(which has the windows-2022 label but NOT the windows-latest label) and the GitHub hosted runner are
treated as candidates. We will never have a windows-latest self-hosted runner even if it is the latest.
There is currently only one self-hosted runner (useaz1-githubrunner1v aka US East Azure 1 GitHub Runner 1 Virtual Machine)

This is now ready for review


Add libhc submodule

I'm a bit worried a submodule here might break how in-container compilation. Our dockerfile downloads source from URLs like https://github.com/rehosting/libnvram/archive/refs/tags/v0.0.XX.zip - I'm not sure if that source archive would contain submodules - if not we'll need to do something else (maybe here, maybe in our dockerfile)

Can confirm the that submodule doesn't show up via https://github.com/rehosting/libnvram/releases/tag/libhc-prerelease

We could just manually fetch it (i.e., downloading panda-re/libhc/hypercall.h into the right place) in our other container. Or we could update CI here to produce a source archive + submodule?

we do already download hypercall.h for send_hypercall.


Create one json file to store the number that narrator have to spell

number-to-spell.json
example default value  {"lastNumber":1}

Thank you @4s9h4r


WhereDynamic with DateTime

Hello there,
I know you are pretty fast at answering these so here goes.
How do we do a ``WhereDynamic` with dates?
I have forked one of your examples, what I am trying to do is:
			.WhereDynamic(x => "x.Date > \"" + DateTime.Today.Date.ToString() +"\"")

But I am getting the error:
Unhandled exception. Z.Expressions.Compiler.Shared.EvalException: Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 3 near ".Where(x => x.Date > \"06/".

What am I doing wrong?
In your Where examples you do not have any dealing with dates and in your online examples I cannot find any with dates either.
Maybe you can add some examples with dates?
Thanks

Hello @LukeTOBrien ,
You currently mix 2 libraries.
The link you provided is for the https://github.com/zzzprojects/System.Linq.Dynamic.Core libraries.
There are 2 ways to solves your issue:
You can pass the date in parameter (recommended):
.WhereDynamic(x => "x.Date > theDate", new { theDate = DateTime.Today.Date})

(be careful to don't use the same date are the property name)
Or you can use a special syntax to specifies the string is a date
.WhereDynamic(x => "x.Date > #" + DateTime.Today.Date.ToString("yyyy-MM-dd") +"#")

There is 2 supported syntax:

#date#
##datetime##

Let me know if that helped you to solve your issue.
Best Regards,
Jon

Sponsorship
Help us improve this library
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hi @JonathanMagnan
Thanks for the quick response.
Yes I'm sorry about the mixup with the projects... I Googled and was reading another issue, I didn't check the repo name.
The first solution works perfect, Thanks.


method to validate dictionary format

Is there a method to validate dictionary format? The format is defined here, is there a way to validate that a dictionary (passed in byte[]) is legal?

I don't think zstd provides any functions to explicitly validate the dict format. One option is to create ZstdDictCompress or ZstdDictDecompress from the byte array and the constructors will throw an exception if the dictionary is corrupted.


Data type error reported during vllm inference

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
CUDA_VISIBLE_DEVICES=0 API_PORT=8000 python src/api_demo.py
--model_name_or_path /home/Baichuan2/Baichuan2-7B-Chat
--template baichuan2
--finetuning_type lora
--infer_backend vllm
When running on the v100 machine, an error occurs that BFfloat is not supported. Solution: Add parameter dtype='float16' in line 36 of src/src/llmtuner/chat/vllm_engine.py
Expected behavior
No response
System Info
No response
Others
No response

fixed


Fix the conditional inclusion of ViewComponent::SlotableV2

For some ViewComponent::VERSION::STRING values, the comparison is unexpectedly true:
"2.31.0".to_f >= 2.28 # true
"2.29.0".to_f >= 2.28 # true
"2.28.0".to_f >= 2.28 # true
"2.27.0".to_f >= 2.28 # false
"2.19.0".to_f >= 2.28 # false

But what's this? 🙈
"2.3.0".to_f >= 2.28 # true

Because we're currently locked to ViewComponent major version 2 by the primer_view_components.gemspec, we can use ViewComponent::VERSION::MINOR for the comparison (which exists for all ViewComponent 2.X versions).

Closing in favor of https://github.com/primer/view_components/pull/598


Adding Jeff Zukowski to bcgov-registries

Hello, I am trying to use this link
https://just-ask-web-bdec76-prod.apps.silver.devops.gov.bc.ca/requests
to add Jeff Zukowski (github:  jeff.zukowski)  to our DEVOPS organization so he can use our Zenhub boards, it always gives me an error.
are you able to add him, or fix the bug.


Add ns related funcs

Problem:
Move ns related functions locally instead of extra packages
Solution:
Implement our own ns related ns functions
Related Issue:
Test plan:
Make sure everything will be fine after that.

Did we see any issue with importing github.com/longhorn/go-iscsi-helper before?

Because of various improvements in Longhorn Common Library (after v1.6.0), some related functions have been removed.
We only need a few parts, so I prefer to maintain ourselves.
That will also give us more flexibility.


Searching a large DB

Context
I have a large DB (~140 million proteins) and I want to search against it many times.
Current Behavior
If I try to create an index it results in a very large file (~300G) which is impossible to use.
I tried creating the index with --split but I get the error:
Creating a split index is not supported anymore.
What would be the right way to conduct this search? Should I split the DB manually?
Your Environment
MMseqs Version:         9f344f3d6765a1131f22794d9a6fd9fcd8ca2cdf
Thanks,
Adi

Do not index the database so it splits it on the fly.
  mmseqs createdb LARGE.fasta LARGE
  mmseqs search LARGE LARGE aln /tmp/

This issue is related to https://github.com/soedinglab/MMseqs2/issues/49. We will work on a split able index solution.

Duplicate/Related #49


How to make a new environment in Myosuite

I hope to create one of my own env, how can I register new envs.

you can register a new environment by adding it to the init of myobase


Blue Marble Icon in logo owned by Broad

The blue marble or icon in the logo is owned by the Broad. For the preview website, their legal team requested a note call this out. The note is: "The mosaic circle is a trademark of the Human Cell Atlas consortium, registered by Broad Institute and used with permission."
We need to figure out what we'll be doing about this moving forward, as it is not ideal to put this on the Data Portal website.
The issue is that there is no HCA entity that can own any assets so the Broad has taken that on. Jonah has been working on this issue to create an HCA entity. Tim will have info about the Broad legal team's requirements.
@theathorn Can you work with Jonah and Tim on this?

The consensus seems to be to add the above note wherever the logo is shown. Possibly in the box on the top left side of each page or more likely in the black bar at the bottom of the page.

Timothy Tickle:
I do not think hiding legal text in a mouseover is going to be an option but we can check with legal. More likely putting it at the bottom of the page may be a solution (as something I believe done as a standard).
Thoughts? We should check with legal either way when they have something to look at.
Jonas Cool:
Like both of Tim's options - if we are worried about things getting cramped, bottom of the page should work fine.

Add marble logo to description in Attributions page


[language] Add basic Move VM tracing, coverage map, and code coverage display

Adds a basic tracing functionality to the Move VM, and adds a basic utility for building an in-memory coverage map from a trace file. There is more work left here to make the tracing efficient, but that is something that can be worked on over time.
A couple things

Tracing code in the interpreter loop is completely elided in release builds (so should add zero "real-world" overhead).
In debug builds with tracing turned off, tracing overhead should be fairly minimal (an function call and an if).
Tracing can be turned on by setting the MOVE_VM_TRACE variable to the filename where you wish the trace to be stored.
A tracing file can optionally be supplied to the dissembler to provide code coverage reporting (see attached screenshot).

An example of the raw trace that is output:
0x00000000000000000000000000000000::Genesis::initialize_association,0,Call(5)
0x00000000000000000000000000000000::Association::initialize,0,GetTxnSenderAddress
0x00000000000000000000000000000000::Association::initialize,1,Call(11)
0x00000000000000000000000000000000::Association::root_address,0,LdConst(0)
0x00000000000000000000000000000000::Association::root_address,1,Ret
0x00000000000000000000000000000000::Association::initialize,2,Eq
0x00000000000000000000000000000000::Association::initialize,3,StLoc(1)
0x00000000000000000000000000000000::Association::initialize,4,MoveLoc(1)
0x00000000000000000000000000000000::Association::initialize,5,BrTrue(7)
0x00000000000000000000000000000000::Association::initialize,7,Branch(10)
0x00000000000000000000000000000000::Association::initialize,10,LdFalse
0x00000000000000000000000000000000::Association::initialize,11,Pack(1)
0x00000000000000000000000000000000::Association::initialize,12,MoveToSender(StructDefinitionIndex(1))
0x00000000000000000000000000000000::Association::initialize,13,LdTrue
0x00000000000000000000000000000000::Association::initialize,14,PackGeneric(0)
0x00000000000000000000000000000000::Association::initialize,15,MoveToSenderGeneric(StructDefInstantiationIndex(0))
0x00000000000000000000000000000000::Association::initialize,16,Ret
0x00000000000000000000000000000000::Genesis::initialize_association,1,CallGeneric(7)
0x00000000000000000000000000000000::Association::apply_for_privilege,0,GetTxnSenderAddress
0x00000000000000000000000000000000::Association::apply_for_privilege,1,ExistsGeneric(StructDefInstantiationIndex(1))
0x00000000000000000000000000000000::Association::apply_for_privilege,2,BrTrue(4)
0x00000000000000000000000000000000::Association::apply_for_privilege,3,Branch(5)
0x00000000000000000000000000000000::Association::apply_for_privilege,5,LdFalse
0x00000000000000000000000000000000::Association::apply_for_privilege,6,PackGeneric(1)
0x00000000000000000000000000000000::Association::apply_for_privilege,7,MoveToSenderGeneric(StructDefInstantiationIndex(1))
0x00000000000000000000000000000000::Association::apply_for_privilege,8,Ret
0x00000000000000000000000000000000::Genesis::initialize_association,2,CopyLoc(0)
0x00000000000000000000000000000000::Genesis::initialize_association,3,CallGeneric(8)
0x00000000000000000000000000000000::Association::grant_privilege,0,Call(5)

And an example of the CoverageMap that is built from this in move-coverage:
CoverageMap {
    module_maps: {
        (
            "0x00000000000000000000000000000000",
            "AccountLimits",
        ): ModuleMap {
            module_addr: "0x00000000000000000000000000000000",
            module_name: "AccountLimits",
            function_maps: {
                "certify_limits_definition": {
                    0: 1,
                    1: 1,
                    2: 1,
                    3: 1,
                    4: 1,
                    5: 1,
                    6: 1,
                },
                "grant_account_tracking": {
                    0: 1,
                    1: 1,
                    2: 1,
                    3: 1,
                    5: 1,
                    8: 1,
                    9: 1,
                    10: 1,
                },
                "publish_limits_definition": {
                    0: 1,
                    1: 1,
                    2: 1,
                    3: 1,
                    4: 1,
                    5: 1,
                    6: 1,
                    7: 1,
                    8: 1,
                    9: 1,
                    10: 1,
                    11: 1,
                    12: 1,
                    13: 1,
                    14: 1,
                    15: 1,
                },
                "publish_unrestricted_limits": {
                    0: 1,
                    1: 1,
                    2: 1,
                    3: 1,
                    4: 1,
                    5: 1,
                    6: 1,
                    7: 1,
                },
            },
        },

Calling the dissembler, and passing a trace file in:
cargo run -p disassembler -- -b ../../move-lang/move_build_output/modules/0_Association.mv -c my_trace

Will result in output like this:

:umbrella: The latest upstream changes (presumably 78e1796b1f0effb096c122b835144a42eae47a6f) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably 26c030b0059566ed2d2f051a259bfd14113f3849) made this pull request unmergeable. Please resolve the merge conflicts.

Nice! This looks great

@bors-libra drussi

@bors-libra r=dariorussi

:pushpin: Commit 9effc74 has been approved by dariorussi

:hourglass: Testing commit 9effc7401867fde5f9e30ba9aba81c456306de63 with merge abe4ace5a6757067da04dae598984cf05df87dd8...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: dariorussi
Pushing abe4ace5a6757067da04dae598984cf05df87dd8 to master...


chore(logs): update log messages for better clarity

Fixes: #https://github.com/helm/helm/issues/13101
Updated logs for better clarity

Hi @mattfarina    ,
I noticed that this pull request has been pending for a while. Is there anything more needed from my side? Please let me know if there are any updates or additional changes required.
Thanks!


ValidationProvider - Immed

Versions

vee-validate: 2.1.7
vue: 2.6.6

Describe the bug
The immediate property is not immediately validating when used on a ValidationProvider.
To reproduce
https://codesandbox.io/s/yjzzj0rr5z
Expected behavior
The form to be evaluated immediately and shows all errors.

My fault - silly mistake!


Upgrade Microsoft.Data.Sqlite to prevent System.InvalidOperationException

This should hopefully resolve #273
The failure is pretty infrequent so I've never been able to repro but we see instances in Kusto.

Closing this for now since it's not under active development


[tracking] TorchToLinalg Op Support

Tracking op support for TorchToLinalg lowering. The ops are ordered based on priority (highest -> lowest) in each section.
IMPORTANT: Mark ops you are working on by hovering over it in the list, then clicking the bullseye symbol to its right. This creates an issue for the op and marks them on the list, avoiding duplicate effort.
Contact:

@vivekkhandelwal1 (Indian time zone)
@AmosLewis (in the US Pacific time zone)

If you have questions, please check and ask in the discord LLVM/torch-mlir channel.
Instructions on adding new ONNX or torch OP:
https://github.com/llvm/torch-mlir/blob/main/docs/add_ops.md
Please add e2e operator level test(s) to e2eshark test suite for your newly added ops using instructions at:
https://github.com/nod-ai/SHARK-TestSuite/blob/main/e2eshark/README.md
For ONNX Op Support, see #215

[ ] In-Progress (Count: 6):

[ ] #568 @Shukla-Gaurav
[ ] #305
[ ] #355
[ ] #663
[ ] #667

[ ] Unimplemented (Count: 25):

[ ] #764
[ ] https://github.com/nod-ai/SHARK-Turbine/issues/317
[ ] https://github.com/llvm/torch-mlir/issues/3293
[ ] https://github.com/nod-ai/SHARK-Turbine/issues/593
[ ] torch.aten.max_pool3d_with_indices
[ ] torch.aten.as_strided
[ ] torch.aten._trilinear
[ ] torch.aten._linalg_slogdet
[ ] torch.aten._fft_r2c
[ ] torch.aten._fft_c2c
[ ] torch.aten.unfold
[ ] torch.aten.normal.Tensor_Tensor
[ ] torch.aten._sparse_coo_tensor_with_dims_and_tensors
[ ] torch.aten.rrelu_with_noise
[ ] torch.aten.pixel_unshuffle
[ ] torch.aten.upsample_trilinear3d
[ ] torch.aten._sparse_addmm
[ ] torch.aten._sample_dirichlet
[ ] torch.aten._cdist_forward
[ ] torch.aten.linalg_cholesky_ex
[ ] torch.aten._pdist_forward
[ ] torch.aten.poisson
[ ] torch.aten.histc
[ ] torch.aten.affine_grid_generator

[ ] Completed (Count: 46):

[x] torch.aten.norm.Scalar
[x] torch.aten.hann_window.periodic
[x] torch.aten.renorm
[x] torch.aten.all.dim
[x] torch.aten.triu_indices
[x] torch.aten.kthvalue
[x] #643 @AmosLewis
[x] torch.aten.tril_indices
[x] #765
[x] https://github.com/nod-ai/SHARK-Turbine/issues/356
[x] https://github.com/nod-ai/SHARK-Turbine/issues/290
[x] #337
[x] #757
[x] torch.aten.pixel_shuffle (completed in #2590)
[x] #326
[x] #159
[x] #286
[x] #772
[x] #300
[x] #288
[x] #338
[x] #339
[x] #340
[x] #341
[x] #293
[x] torch.aten.prod.dim_int
[x] #345
[x] torch.aten.isinf
[x] #545
[x] #343
[x] #333
[x] torch.aten.adaptive_max_pool3d
[x] torch.aten.linalg_cross https://github.com/llvm/torch-mlir/pull/2986
[x] #297
[x] #342
[x] #661
[x] torch.aten.prod
[x] https://github.com/nod-ai/SHARK-Turbine/issues/351
[x] https://github.com/nod-ai/SHARK-Turbine/issues/618
[x] #571
[x] #569
[x] #572
[x] #573
[x] #642
[x] #300 @AmosLewis
[x] #665

@vivekkhandelwal1 According to the triage of iree onnx tests failures, these ops are missing TorchToLinalg lowering. Please add them to the above list.
To reproduce issue:
build venv following https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests#common-venv-setup-with-deps
run iree-compile iree_tests/onnx/node/generated/TEST_NAME/model.mlir -o test.vmfb --iree-hal-target-backends=llvm-cpu --mlir-print-ir-after-all

[ ] torch.aten.cumsum

test_cumsum_1d
test_cumsum_2d_axis_0
test_cumsum_2d_axis_1
test_cumsum_2d_negative_axis

[ ] torch.aten.nonzero

test_nonzero_example

Hi, can I take torch.aten.max_pool3d_with_indices op task?

Attach this PR https://github.com/llvm/torch-mlir/pull/3652 to mark max_pool3d_with_indices as in progress. I can not change the status of task list.

Attach this PR llvm/torch-mlir#3652 to mark max_pool3d_with_indices as in progress. I can not change the status of task list.

Done


Fixed issue with multiple FIX messages received simultaneously

If several FIX messages are received by the client in one chunk, "no writecb in Transform class" will be thrown by through2.
This is due to misuse of the transform function: https://github.com/rvagg/through2/issues/44
The suggested changes fix it.

Nice. Can you make a test please?


Issue starting the example docker-compose setup in kubernetes (supertoken crashing with error)

I am currently trying to migrate the docker-compose.yaml example (https://github.com/kamilkisiela/graphql-hive/blob/main/docker/docker-compose.community.yml) to helm charts.
I've used kompose, plus I went through all the generated templates and cleaned them up (a few services were missing, and migrations and s3_revision_buckets had to be changed to Job types.
The resulting helm charts can be found here: https://github.com/platzhersh/graphql-hive-helm
When trying to install the chart, I always end up with the supertokens Pod not being able to stabilize. It is always crashing with the following error:

What caused the crash: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type int from String "tcp://<IP_ADDRESS>:3567": not a valid int value                                                                                │││
│  at [Source: (File); line: 201, column: 7] (through reference chain: io.supertokens.config.CoreConfig["port"])                                                                                │││
│ Stream closed EOF for hive/supertokens-69794bb4d7-x67tx (supertokens)

I've spent quite some time trying to figure out where it is coming from, but couldn't find out. Hoping maybe someone that knows all the separate components a bit better can help me out.

I guess somehow the CliOptions received by supertoken core are not in the right format.
https://github.com/supertokens/supertokens-core/blob/4.6/src/main/java/io/supertokens/config/CoreConfig.java#L331

Fixed it by providing the SUPERTOKENS_PORT Env Variable to the Deployment. 🙏


Bump to latest api-generator-sifive, wit, and wake

In addition to bumping the versions of the repos mentioned in the title, this also changes the CI setup away from Travis CI to GitHub Actions so that we can make use of the handy Actions that we defined for wit and wake.
My real intent behind this is to get it up to date enough so that I can tear out the scribble/documentation generation workflow from api-generator-sifive.
BTW, it looks like we haven't tagged a release of this repo in a while. I'm not sure if we're still interested in doing that, even retroactively, but I saw unpublished changes in the CHANGELOG related to bumping the environment-blockci-sifive version. I just overwrote it with the current latest version (0.3.0 -> 0.8.0).
This was tested locally by running the runSim and makeOnboardingDocument targets, but I don't have an easy way of testing the GH Actions changes other than submitting this PR, so I'll see if there are any issues after hitting the submit button here.

CI failed on the RISC-V software compilation, which is probably because I bumped to too new of an environment-blockci-sifive for the existing wake rules. We probably can't use environment-blockci-sifive v0.8.0, which uses the 2020.08.2 version of the GNU toolchain, until https://github.com/sifive/freedom-e-sdk/pull/528 merges in and api-generator-sifive is updated.
Let me try bumping it back to 0.7.1 to see if it passes.

Looks like I have to close and reopen this PR or something since I can't swap the branch protections rules to require the new GitHub Actions check, since it was over a week ago and GitHub only lists status checks that ran within the last week in the list of checks you can require.


Something went wrong during completion. Reason:

I get this error whenever the GTP answer is long, especially when generating code for me.

In the docker logs I can see these errors:
Traceback (most recent call last):   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_application.py", line 1104, in process_update     await coroutine   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_handler.py", line 141, in handle_update     return await self.callback(update, context)   File "bot/bot.py", line 307, in message_handle     await task   File "bot/bot.py", line 212, in message_handle_fn     await update.message.reply_text(f"Starting new dialog due to timeout (<b>{config.chat_modes[chat_mode]['name']}</b> mode) ✅", parse_mode=ParseMode.HTML)   File "/usr/local/lib/python3.8/site-packages/telegram/_message.py", line 1041, in reply_text     return await self.get_bot().send_message(   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_extbot.py", line 2598, in send_message     return await super().send_message(   File "/usr/local/lib/python3.8/site-packages/telegram/_bot.py", line 331, in decorator     result = await func(*args, **kwargs)  # skipcq: PYL-E1102   File "/usr/local/lib/python3.8/site-packages/telegram/_bot.py", line 760, in send_message     return await self._send_message(   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_extbot.py", line 488, in _send_message     result = await super()._send_message(   File "/usr/local/lib/python3.8/site-packages/telegram/_bot.py", line 512, in _send_message     result = await self._post(   File "/usr/local/lib/python3.8/site-packages/telegram/_bot.py", line 419, in _post     return await self._do_post(   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_extbot.py", line 326, in _do_post     return await self.rate_limiter.process_request(   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_aioratelimiter.py", line 247, in process_request     return await self._run_request(   File "/usr/local/lib/python3.8/site-packages/telegram/ext/_aioratelimiter.py", line 203, in _run_request     return await callback(*args, **kwargs)   File "/usr/local/lib/python3.8/site-packages/telegram/_bot.py", line 450, in _do_post     return await request.post(   File "/usr/local/lib/python3.8/site-packages/telegram/request/_baserequest.py", line 165, in post     result = await self._request_wrapper(   File "/usr/local/lib/python3.8/site-packages/telegram/request/_baserequest.py", line 288, in _request_wrapper     raise exc   File "/usr/local/lib/python3.8/site-packages/telegram/request/_baserequest.py", line 274, in _request_wrapper     code, payload = await self.do_request(   File "/usr/local/lib/python3.8/site-packages/telegram/request/_httpxrequest.py", line 216, in do_request     raise TimedOut from err telegram.error.TimedOut: Timed out Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Response payload is not completed Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f03a4c7dc70> Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason: Something went wrong during completion. Reason:

I get this error whenever the GTP answer is long, especially when generating code for me.

Yeah me too I hope this can get resolved


feat: session.Execute without TxControl (default - serializableRW)

Fix Issue : https://github.com/ydb-platform/ydb-go-sdk/issues/694
@asmyasnikov  I hope I understood you correctly
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Now session.Execute has following interface
Execute(
  ctx context.Context,
  tx *TransactionControl,
  query string,
  params *QueryParameters,
  opts ...options.ExecuteDataQueryOption,
) (txr Transaction, r result.Result, err error)

Issue Number: https://github.com/ydb-platform/ydb-go-sdk/issues/694
What is the new behavior?

session.Execute interface will look like
Execute(
  ctx context.Context,
  query string,
  params *QueryParameters,
  opts ...options.ExecuteDataQueryOption,
) (txr Transaction, r result.Result, err error)

by default TransactionControl will be set to serializableRW
If a different TransactionControl value needs to be set,
it can be set using the WithTxControl function through the context
example:
_, res, err := s.Execute(table.WithTxControl(ctx, readTx), query, nil)

Other information

It seems this might break backwards compatibility and I'm not sure about the next version in the CHANGELOG.md.

It is breaking change =(
I think this PR I will not merge into master on v3
But I will use your idea for next service (Query) and in Table v4

It is breaking change =(
I think this PR I will not merge into master on v3
But I will use your idea for next service (Query) and in Table v4

I have no idea how to remove TxControl from the Execute interface and maintain compatibility.
Was this change intended in some other way or is the issue not relevant yet?