Custom callback to generate search results

Hi, this is a suggestion for an improvement to add even more flexibility:
It would be useful to be able to pass a custom callback function that receives the search-term and returns search results. This would enable custom searches over anything and not just a specific model. In my/our case a search function already exists and is used elsewhere and being able to reuse it would be very useful.
Please let me know what you think, I would probably also be able to assist in implementing and/or reviewing!
Thanks!

Hi! I have add new param: model-app-scope for now, check it out!


[WIP] Use the spinlock-free surro-gate gem for websocket proxying

As you know (or don't know) there's a chance to hit a spinlock in the websocket proxy that is being used for remote consoles. If you're really interested in the topic, I will give a talk next month on a meetup about it, you should come. Seriously, this is just a reminder for me to put the relevant slides here when they're ready. I haven't done benchmarks with an appliance yet, but I think there are some quotas for workers and that's the reason why we had no serious issues because of this bug.
Before:

After:

So we had some meetings with @kbrock about how not to solve this:

This cannot be solved by just using a fancy selector
Because of PG async, libraries like Celluloid, EventMachine and async are not usable
I had a round with Fiber but until we don't have the auto-Fiber, it's useless
Having 2 threads per connection just sounds like a bad idea
Rewriting it in Go sounds nice, but too easy

So as a solution I created a selector library that implements a thing I call bouncing-select. If a socket was ready for read or write after a select, it will be removed from the relevant array(s) that is being passed to the select call. This prevents from the select to wake up multiple times for the same socket being ready. The each_ready method can iterate through the socket pairs that are ready for transmission and after each iteration the sockets are re-registered in the relevant arrays. This way we can wait until at least one socket pair is ready for transmission.
The library is written in C (because I'm still a C programmer in my heart) and uses epoll, more specifically the EPOLLONESHOT flag. This flag does most of the heavy lifting I described above, i.e. it removes the socket from the internal array(s) of epoll after it gets ready for read and/or write. As this isn't available in OSX, there's a pure ruby implementation. It has a significantly lower performance, but it does the job for development and I don't think anyone will run MiQ on OSX in production.
While working on this, I realized that the remote console code got a little hard to read since I wrote it 2 years ago. The WebsocketProxy class got too complex and did too many things at once so I deleted it and created a new WebsocketAdapter module instead with a Standard and Legacy subclasses. I also reorganized the WebsocketRight and the classes inherited from it under the RemoteConsole module. As the RemoteConsole subclasses and the WebsocketAdapter use the same interface, the transmission between them could be moved straight into the @transmitter thread.
@miq-bot add_reviewer @kbrock
@miq-bot add_reviewer @Fryguy
@miq-bot add_reviewer @jrafanie
@miq-bot add_reviewer @martinpovolny
@miq-bot add_label performance, gaprindashvili/no, hammer/no, providers/console

Do not try this at home, because it's broken :rofl:

kicking build

@kbrock you're too optimistic, it will probably won't work...most of the stuff is still missing

So there's some update around this, thanks to @miha-plesko now all the consoles types are now tested and working well. I'm still a little concerned about closing a connection while calling select on it, but I will try to experiment with it.
I am still working on the specs ...

@kbrock actually there aren't that many changes in the logic, the behavior is very similar to the current WebsocketRight implementation, I just broke it to smaller pieces.

@miha-plesko, the documentation is a great idea, I will take a look at it.

@simaishi built an appliance with this PR, I tested the following:

VMware VNC
VMware WebMKS
RHV VNC
RHV SPICE
All proxied connections work as expected...

Tested also vCloud legacy WebMKS console on @simaishi 's appliance and it works 👍

@skateman I can't speak to the mechanics of the socket logic but it looks good from my perspective.  With that said, though, the tests are very mock heavy (for good reason)... Are there areas that can be tested without so many mocks?  I know this type of feature is hard to test but spinning up appliances and virtual infrastructures to test a change is hard.  Can we leverage camcorder to record what we do on these infrastructures?

@jrafanie interesting idea, but the external dependencies (surro-gate, websocket-driver) are covered by tests and all the high-level stuff I did around them is covered by our specs. All the mocs are just around these two libraries. I don't think this could be tested better, our QE is testing this just manually. Also most of the stuff that can break goes through SSL and if not necessary, I don't want to suffer that much :confused:

:shipit:

I know @simaishi was already mentioned a few times here, but now that it's merged, just wanted to make her aware that this compiled gem is ready.

Since I was just building upstream appliance for testing, I actually wasn't aware that's a compiled gem! Will make a note to follow up later. Thanks!


Enabled some modes for SVTTestRepo/XML tests

Some of the modes where disabled in ottawa.csv which caused some XML test to get skipped. To execute the required tests, below modes where enabled in respective platform:

aix_ppc-32
linux_ppc-32
linux_x86-32
linux_ppcle-64_ncr
linux_ppc-64_le
linux_390-31
zos_390-31

500
500
500
500
500
503
503

501
501
501

505
505

503
503
503

506
551

505
505
505

551
555

506
506
551

555
556

551
551
554

556

554
555
556

557

555
554
615

610

556
556
506

557
557
555

610
610
557

615
615
610

Is anyone still actively working on this PR? If not, please close it. It's been inactive for ~5 months.

According to https://github.com/adoptium/TKG/pull/459#issuecomment-2536841194, close the issue.


PhysicalDeviceMemoryProperties does not match specs

Reading the specs I found that PhysicalDeviceMemoryProperties should have:
VkMemoryType    memoryTypes[VK_MAX_MEMORY_TYPES];
VkMemoryHeap    memoryHeaps[VK_MAX_MEMORY_HEAPS];
In the generator I found that fixed array of structs is not implemented yet. Furthermore non numeric sizes like VK_MAX_MEMORY_TYPES are not parsed yet. This is quite a show stopper because querying vkGetPhysicalDeviceMemoryProperties is not possible yet.

Thanks a lot!


Generic Type at runTime

Describe the bug
the variable with type of generic Type doesn't work
The code causing the problem

interface IFoo<T> {}
class Foo<T> implements IFoo<T> {}

const foo = new Foo<number>();
console.log(getType(foo).name);//doesn't work and print "unknown" but should print "Foo" or something similar with c#

To Reproduce
Steps to reproduce the behavior:

Build,
run,
see error...

Expected behavior
getType should return Type  of variable with isGenericType==true and generic args [number]

Hello,
tst-reflect version 0.x is deprecated; it has quite a lot of issues.
I did a huge refactor, 1.0-alpha which is a lot better, but for some reason your example does not work with the runtime getType(var) call. It works with the static getType<Foo<number>>() call.
Here is an example with the alpha version: https://stackblitz.com/edit/rttist-playground-2ee7rk?file=src%2Findex.ts
It should be possible to fix it.
Here is an example with the latest version (WIP) based on completely new system. (This example is using esbuild!)
https://stackblitz.com/edit/rttist-playground-esbuild-with-plugin-sxzz4s?file=src%2Findex.ts
In this example it is working but the part working with generic types is WIP. It will log the base generic type definition, not the generic types "inherited" from the definition.


Uncaught TypeError : Cannot read property 'call' of EventDispatcher.js undefined

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Retail Inspection from Select in Menu
Go to Mobile Restriction Setup from Setups in Menu
File : com/dbz/modules/RI/dbzMobileRestrictionSetup

@aharui Please look into this issue . Thanks in Advance

I am unable to reproduce this on the VDI.  I keep getting malformed XML errors and then if I ignore those, I got errors that dbzMobileRestriction.css is missing.

After compiling setups with New SDK on VDI
Every Setup is blank with
"Uncaught TypeError : Cannot read property 'call' of EventDispatcher.js undefined"
Check this issue on VDI
setups->Companies

dbzMobileRestrictionSetup is Compiled on VDI

Seems to be fixed by 4d4a9d0376253f056297d587f38dc2cfa7a10a82


replace single bracket by double breackets

this fixes problem when one use zsh instead of bash and double brackets
are also bash complied.

LGTM


compare.py

David
Can compare.py still work with inception_resnet_v1 model?
Thanks,

The compare module has now been fixed to work with inception_resnet_v1, and also to use MTCNN for alignment.

Thanks for the updated compare.py. It works, but results are not very good. I use  your pre-trained model 20161030-023650 and did the following tests:
1)
Anthony_Hopkins_0001.jpg vs Anthony_Hopkins_0002.jpg : Distance between the embeddings: 0.003904
2)
clapton-1.jpg vs carell.jpg (images from openface): Distance between the embeddings: 0.005763
3)
clapton-1.jpg vs lennon-1.jpg (images from openface): Distance between the embeddings: 0.004337
4)
clapton-1.jpg vs clapton-2.jpg (images from openface): Distance between the embeddings: 0.004697 :
I will expect distance for different people should be much bigger than the same people. But I don't see much difference of the distance for different people vs same people. Is this what we expect?
How can compare.py be used for people identification?
Thanks

I am also testing compare.py and I guess i could post my question here too. I encounter some issues with it when i run with this command
python compare.py ~/models/facenet/20161030-023650 model-20161030-023650.meta model-20161030-023650.ckpt-80000 ../data/images/Anthony_Hopkins_0001.jpg ../data/images/Anthony_Hopkins_0002.jpg.
Return:
Creating networks and loading parameters
Loading model "model-20161030-023650.meta"
Traceback (most recent call last):
File "compare.py", line 112, in
main(parse_arguments(sys.argv[1:]))
File "compare.py", line 47, in main
facenet.load_model(args.model_dir, args.meta_file, args.ckpt_file)
File "/home/x/Desktop/facenet/src/facenet.py", line 469, in load_model
saver = tf.train.import_meta_graph(os.path.join(model_dir_exp, meta_file))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1693, in import_meta_graph
read_meta_graph_file(meta_graph_or_file), clear_devices)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1580, in _import_meta_graph_def
input_graph_def, name="", producer_op_list=producer_op_list)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 252, in import_graph_def
op_def = op_dict[node.op]
KeyError: u'RsqrtGrad'
Able to get help? Thanks!

@kaishijeng I fixed one problem with compare.py. The caluclation of the distance should be
dist = np.sqrt(np.sum(np.square(np.subtract(emb[0,:], emb[1,:]))))

instead of
dist = np.sqrt(np.mean(np.square(np.subtract(emb[0,:], emb[1,:]))))

With this fix the distance values becomes similar to the distances when running validate_on_lfw.py, but not exactly the same. The reason for the difference is probably that batch normalization is working in training mode also during evaluation, so #56 needs to be solved to get results that are consistent with validate_on_lfw.
@xl94 This problem has to do with the restoring the model, and is hence not so much related to the compare tool. It has previously been reported in #58, but I'm not sure if it was ever solved. Looks like something related to tensorflow version or similar.

David
After syncing up with the latest code from Github, now compare.py doesn't work anymore.
System has the following error:
Traceback (most recent call last):
File "./compare.py", line 112, in
main(parse_arguments(sys.argv[1:]))
File "./compare.py", line 51, in main
phase_train_placeholder = tf.get_default_graph().get_tensor_by_name("phase_train:0")
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2607, in get_tensor_by_name
return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2458, in as_graph_element
return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2500, in _as_graph_element_locked
"graph." % (repr(name), repr(op_name)))
KeyError: "The name 'phase_train:0' refers to a Tensor which does not exist. The operation, 'phase_train', does not exist in the graph."
Any idea how to fix?
Thanks

@kaishijeng The way training and evaluation is done has been changed, so there is a new model to accommodate for this. The new model (20161116-234200) can be downloaded from the wiki.

I have downloaded the new model and the problem was still there (The name 'phase_train:0' refers to a Tensor which does not exist), so I have commented the following line:
#phase_train_placeholder = tf.get_default_graph().get_tensor_by_name("phase_train:0")
and changed this line:
feed_dict = { images_placeholder: images, phase_train_placeholder: False }
as:
feed_dict = { images_placeholder: images}
And it works

Hi David,
Squared L2 distance for comparing two image embeddings is used in OpenFace and mentioned in FaceNet. I think removing np.sqrt might be equal to squred L2 distance.
dist = np.sum(np.square(np.subtract(emb[0,:], emb[1,:])))
Thank you.

Able to load the model before running the session? Because compare.py takes really long to compute as a whole. Will computing the 2nd, 3rd, 4th pair of images be faster?

@xl94 compare.py takes a long time due to loading the pretrained FaceNet model (one time thing). After the model is loaded, computing many different images at once or interactively isn't bad at all.
Here is my sample code for doing both MTCNN alignment and FaceNet embedding from live webcam streams. (1) one-time loading both the models (2) find all BBs/landmarks per frame (3) draw each bb and associated 5-pts landmarks  (4) compute embeddings of all BBs and calculate the distance between BBs.
with tf.Graph().as_default():

    with tf.Session() as sess:

        # Load MTCNN alignment model
        minsize = 20 # minimum size of face
        threshold = [ 0.6, 0.7, 0.7 ]  # three steps's threshold
        factor = 0.709 # scale factor
        pnet, rnet, onet = align.detect_face.create_mtcnn(sess, '../data/')

        # Load the FaceNet model
        print('Loading FaceNet model')
        model_dir = '../models/20161116-234200'
        meta_file = 'model-20161116-234200.meta'
        ckpt_file = 'model-20161116-234200.ckpt-80000'
        facenet.load_model(model_dir, meta_file, ckpt_file)

        # Get input and output tensors
        images_placeholder = tf.get_default_graph().get_tensor_by_name("input:0")
        embeddings = tf.get_default_graph().get_tensor_by_name("embeddings:0")

        while(True):
            ret, frame = video_capture.read()
            bbs, landmarks = align.detect_face.detect_face(frame, minsize, pnet, rnet, onet, threshold, factor)

            img_list = [None] * len(bbs)
            for i, bbox in enumerate(bbs):
                det = bbox[0:4]
                bb = np.zeros(4, dtype=np.int32)
                bb[0] = np.maximum(det[0]-margin/2, 0)
                bb[1] = np.maximum(det[1]-margin/2, 0)
                bb[2] = np.minimum(det[2]+margin/2, img_width)
                bb[3] = np.minimum(det[3]+margin/2, img_height)
                cropped = frame[bb[1]:bb[3],bb[0]:bb[2],:]
                aligned = misc.imresize(cropped, (image_size, image_size), interp='bilinear')
                prewhitened = facenet.prewhiten(aligned)
                in_image = np.expand_dims(prewhitened, axis=0)
                img_list[i] = prewhitened

                # draw bbx and landmarks
                #color_cv = (0,255,0)
                color_cv = set_color(i)
                lt = (int(bbox[0]), int(bbox[1])) # (x1, y1)
                br = (int(bbox[2]), int(bbox[3])) # (x2, y2)
                cv2.rectangle(frame, lt, br, color=color_cv, thickness=3)

                marks = landmarks[:, i]
                numLandmarks = len(marks)/2
                for idx in range(numLandmarks):
                    pos = (marks[idx], marks[idx+numLandmarks])
                    cv2.circle(frame, pos, 2, color=color_cv)

            # get embeddings
            images = np.stack(img_list)
            feed_dict = {images_placeholder: images}
            emb = sess.run(embeddings, feed_dict=feed_dict)

            for i in range(len(bbs)):
                for j in range(len(bbs)):
                    if not (i == j):
                        dist = np.sum(np.square(np.subtract(emb[i,:], emb[j,:])))
                        print ('(%d,%d): %1.4f ' % (i, j, dist))

@simplysimleprob wow. Great, that is what I been trying to work on. Thanks! Ill try it out now.

Dave
i have 2 questions of my own trained model with inception_resnet_v1  using tensorflow 0.11.0rc2.

The saved ckpt has 2 files, data and index  instead of one of your pretrained model
model-20161118-182010.ckpt-632000.data-00000-of-00001
model-20161118-182010.ckpt-632000.index
Size of model-20161118-182010.ckpt-632000.data-00000-of-00001 is 2.5GB which is much bigger than your trained model, model-20161116-234200.ckpt-80000 which 600MB.

Do you know why there are such differences?
Thanks,

@kaishijeng I guess you are seeing the new checkpoint format.
This is from the release notes for r0.12:
New checkpoint format becomes the default in tf.train.Saver. Old V1 checkpoints continue to be readable; controlled by the write_version argument, tf.train.Saver now by default writes out in the new V2 format. It significantly reduces the peak memory required and latency incurred during restore.
Sounds like it's possible to save using the old format as well, so that is something you can try to see if the files gets smaller.

David
Old V1 solves the format issue, but datasize of the saved weight is still bigger than 2GB which is much bigger than your pretrained weight

Thanks

@simplysimleprob can u provide whole source code related to webcam version?

@simplysimleprob how do i use the protobuf file instead of the checkpoint file?

David
When I run the compare.py it spents too much time at this step：
Model directory: 20180402-114759
Metagraph file: model-20180402-114759.meta
Checkpoint file: model-20180402-114759.ckpt-275
...
The result will come out in a minute,it is too long
Is this time correct? What is the general running time?
Or is there a way to optimize it? my tensorflow is the CPU version.
thanks!

@JiaoPaner That part is about loading the model which normally takes more time, even on a GPU. Also, since you're running on the CPU, it takes even more time and it's ok.


Deleting option missing

I've inserting option to allow inserting rows. I've editing option to allow editing rows. But I miss a deleting option to allow or not deleting rows. I need it for an "only-edit" grid, how can I disable/hide the trash icon?
I just noticed that setting editing to false doesn't hide the edit icon as I expected.

We have 2 problems which looks similar @maurorulli . I can't find a  function similar to insertTemplate and editTemplate for deleting rows.

@maurorulli, edit and delete icons defined by control field. They has nothing to do with the grid itself. And control field has editButton and deleteButton (http://js-grid.com/docs/#control) which allow to hide buttons if needed.
@Theriodis, do you mean deleteTemplate? Not sure I can imagine how it would look like.

@tabalinas  exactly! I mean deleteTemplate. Does is exist?  For example when I delete a row I want to keep the previous value of this field (like in my already implemented insertTemplate and editTemplate) and perform some checks(Please check my issue #650 ). How will I do it inside my main.js file? With which function or event or anything?
Thanks


Pip Installation Error (CMake/PyArrow?)

I'm having a problem installing edgartools via pip and PyPI. This may be a problem with CMake, PyArrow, or my Homebrew configuration, but I am not sure. The log is quite long, so I am attaching it. Any help is appreciated.
log.txt

Follow up:
I resolved this by simply installing Apache Arrow:
brew install apache-arrow
Not required for me, but you may need to export your Arrow path to CMake:
export CMAKE_PREFIX_PATH=/path/to/arrow


create one instance of the tests with NUMBA_DISABLE_JIT=1 for the coverage report?

Side point: numba jitted functions do not contribute to coverage, we might want to create one instance of the tests with NUMBA_DISABLE_JIT=1 for the coverage report.
Originally posted by @MaxNoe in https://github.com/cta-observatory/ctapipe/pull/1398#issuecomment-662900445

Unfortunately, as e.g. guvectorize functions don't work in pure python mode.
How to handle coverage with numba is an open issue with them, and I fear we just need to wait until something is implemented in numba itself.


Profile - Magic code 000000 doesn't work to validate the login

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/15204
Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account that only has an email login OR only has a phone number login as Contact methods
Go to Settings -> Profile -> Contact methods
Add a new contact method (phone number for me)
Enter 000000 magic code for successfully validate the login

Expected Result:
User can successfully validate the login by entering 000000 magic code
Actual Result:
Magic code 000000 doesn't work to validate the login
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/223599822-0c0d46b8-7e82-48b9-8fb8-9d5c0040ee91.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @CortneyOfstad (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

self-assigning b/c I messed up test steps a bit :D
@kbecciv I just updated the test steps on that PR (https://github.com/Expensify/App/pull/15204) to mention that you should actually see an email with a magic code, and use the magic code in that email to validate the secondary login - 000000 will only work in dev environments, sorry for the confusion

@Beamanator is there anything you need me to do from a Bug-Zero perspective? I was able to recreate this on my mobile device 👍

@CortneyOfstad nahhhh i think you're good! If you can successfully verify a new contact method / secondary login, I think we're good to close this out 👍


Add @run_in_venv decorator, allow to run functions in separate virtual environments

Essentially this decorator allows to execute functions in their own virtual environments that
are created for them on the fly. Those venvs are cached under /tmp/flojoy_node_venv/.... All venvs will have flojoy and cloudpickle installed by default as mandatory requirements for this to function.
The decorator can be coupled with flojoy nodes as follows
from flojoy import flojoy, run_in_venv

@flojoy
@run_in_venv(pip_dependencies=["torch==2.0.1", "torchvision==0.15.2"])
def TORCH_NODE(default: Matrix) -> Matrix:
    import torch
    import torchvision
    # Do stuff with torch
    ...
    return Matrix(...)

~TODO @roulbac:~
~Add automated github action tests for this decorator~

lgtm!
Comment from slack: looks amazing honestly, I don't think we need to implement reusable venvs due to the system wide cache you pointed out in my opinion. For now, a venv per node that requires it will do.

@izi-on Cheers. I added some modifications in regards to caching location for venvs, can you please take another look before I go ahead and merge?


Cannot use it in electron applications

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

sorry for late reply bro
it's cloud flare error i think, maybe this website that i use to scrape is block on your server/country

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

hi, i'm just update this module,  i'm adding
downloads2,
downloadTrack2,
downloadAlbum2

please use this one instead the first one, i hope this website not get block in your country

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

hi, i'm just update this module, i'm adding
downloads2,
downloadTrack2,
downloadAlbum2

please use this one instead the first one, i hope this website not get block in your country

Thank you very much for this change! :)

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

sorry for late reply bro it's cloud flare error i think, maybe this website that i use to scrape is block on your server/country

Whenever I try to use this package in my electron applications I get the following errors:
{
    "message": "Request failed with status code 403",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 403\n    at settle (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:1967:12)\n    at XMLHttpRequest.onloadend (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3358:7)\n    at Axios.request (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\axios\\dist\\node\\axios.cjs:3877:41)\n    at async downloads (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:42:22)\n    at async downloadTrack (C:\\Users\\email\\OneDrive\\Desktop\\Spotify Offline\\node_modules\\@nechlophomeriaa\\spotifydl\\src\\index.js:135:28)\n    at async <anonymous>:1:1",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Origin": "https://spotifydown.com",
            "Referer": "https://spotifydown.com/"
        },
        "method": "get",
        "url": "https://api.spotifydown.com/download/6GpyfvNqCPGdwWNgmSLp3D"
    },
    "code": "ERR_BAD_REQUEST",
    "status": 403
}

and
{
    "status": false,
    "message": "Unknown error occurred!\n\nAxiosError: Request failed with status code 403"
}

I tried it on my web server and it works perfectly fine. I don't know what the issue is, but I hope you can fix it. (I'm using the latest version of electron (v28.2.0) and spotify-dl (v1.0.11))

hi, i'm just update this module, i'm adding
downloads2,
downloadTrack2,
downloadAlbum2

please use this one instead the first one, i hope this website not get block in your country

Thank you very much for the change! :)
Seems to work now


Document ways to avoid users submitting workloads without any requests

What would you like to be added:
We should add a doc to explain how to use ValidationAdmissionPolicy to optionally forbid users from submitting workloads without any requests.
This page should be updated to mention how one can use VAP to enforce workloads having requests.
Why is this needed:
Kueue tracks resource requests by the requests field in the PodTemplate. If one submits a workload without any requests specified, kueue will not report any resources used by this workload.
It would be worth mentioning this in the docs and provide an example to forbid this.
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[ ] API change
[x] Docs update

The artifacts should be linked in subsequent comments.

/kind documentation

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

/assign @amitmaurya07


Using an active logger (not NullLogger) with TestHost results in a null ref

From https://github.com/aspnet/Mvc/pull/3796#discussion_r48160786. Here's the stack trace:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
   at Microsoft.AspNet.Http.Internal.DefaultHttpRequest.get_Protocol()
   at Microsoft.AspNet.Hosting.Internal.HostingLoggerExtensions.HostingRequestStarting.ToString()
   at Microsoft.AspNet.Hosting.Internal.HostingLoggerExtensions.HostingRequestStarting.<>c.<.cctor>b__7_0(Object state, Exception exception)
   at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log(LogLevel logLevel, Int32 eventId, Object state, Exception exception, Func`3 formatter)
   at Microsoft.Extensions.Logging.Logger.Log(LogLevel logLevel, Int32 eventId, Object state, Exception exception, Func`3 formatter)

Merged to dev


Add common component DashboardNewDeploy for handling refresh of page

What does this PR do and why?
Closes https://github.com/jbx-protocol/juice-interface/issues/877
I've also removed the FeedbackPromptModal on V1 Project screen as it doesn't appear like it was used anywhere. Can look to refactor further if we want this
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the
changes.
Acceptance checklist

[x] I have evaluated the Approval Guidelines for this PR.
[x] I have tested this PR in all supported browsers.

Hey @johnnyd-eth - just had a thought; in NewDeployNotAvailable, I am taking in a name and projectId and making the choice in the component of what to show. I am now thinking that maybe I should just have a name argument that is string | BigNumber and leave it up to the consumer to pass it in, i.e
<NewDeployNotAvailable
  name={projectMetadata?.name ?? projectId}
/>

I might just go ahead and make it. If you disagree, can easily revert the commit

Nice one @wraeth-eth merging this


The overlapping geometry show mix color if two geometries intersect

Two intersected geometries show on map,  set color to 'YELLOW' and 'BLUE'. The overlapping part showing color neither YELLOW nor BLUE. But I hope the overlapping part show the top YELLOW color.   similar geometries can be shown normally by Openlayers.

Hi @heavis, thanks for the bug report. Could you maybe put together an example using Sandcastle to show when this occurs?

@heavis Cesium uses order independent translucency by default, so colors that are translucent will be blended.  You can try disabling this to see if it gives you the effect you want.  Here is an example:
var viewer = new Cesium.Viewer('cesiumContainer', {
    orderIndependentTranslucency: false
});
var entities = viewer.entities;

entities.add({
    polygon: {
		hierarchy: new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromDegreesArray([
                -58.0, 10.0,
                -50.0, 27.0,
                -50.0, 32.0,
                -58.0, 30.0
            ])),
		material : Cesium.Color.fromRandom({alpha : 0.8}),
		height: 0
    }
});

entities.add({
    polygon: {
		hierarchy: new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromDegreesArray([
                -59.0, 10.0,
                -51.0, 18.0,
                -51.0, 40.0,
                -59.0, 41.0
            ])),
		material : Cesium.Color.fromRandom({alpha : 0.8}),
		height: 0
    }
});

viewer.zoomTo(viewer.entities);

Cesium unfortunately does not have support for z-ordering so there isn't a way to specify which geometry renders on top of the other.  We have an issue written up here to add that feature: #4108
In the future, please report things like this on our forum and someone will be able to help: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
Thanks!

@hpinkos is only half right.  The Entity API does not support z-ordering, but GroundPrimitive does.  Disabling IOT will have no affect here if the goal is to have one opaque geoemtry render completely on top of another opaque geometry.
This probably is much harder in 3D than 2D (where you can literally just draw on top of the lower one).  If you are not using terrain, you can set a small height offset to achieve the desired effect in some cases as well (but this won't work with terrain).


libdefs: expo-web-browser; @sentry/react-native

After this and #5317, except for anything unexpected that I haven't accounted for yet, there's just one react-native-webview thread that's a Flow-related thing that I'm aware needs investigation before Flow v0.149 and React Native 65 (#5230)

Thanks for the review! Revision pushed.

Thanks! Merging.


[feat]: file record batch reader

related: https://github.com/milvus-io/milvus-storage/issues/158

/lgtm


Show the result in a web graph and keep the history result

I think the ideal load test tool should have the following features.

Support many different kind of databases,  MongoDB, Cassandra, Couchbase at least.
User don’t need to any code,  but user can configure different JDBC options,  like maxPoolSize,  socketTimeOut and so on.
It should have a WEB Ui,  then people don’t need to login some server to run command line.
The final result should be showed in a graph way.
Both test case and final result should be keep automatically and can be review in future easily
We can write some comments for a test case,  it should be also kept for future review.

YCSB  can be used for purpose 1, 2 perfectly,  but 3,4,5,6 are not supported.
Do we have such roadmap?    thanks

What do you mean by "in a graph way"? If you mean charting the results, currently folks use post-processing tools to chart what they're interested in. In particular, if you use the feature to export HDRHistogram log files, then you can use that projects web-based plotting tool to make charts.
A service that can launch jobs and store results would be a nice addition. Is that something you'd be interested in working on?

Yes, I mean charting the result.  I will learn how to do that currently.
I absolutely like to contribute to YSCB,  that's a really cool stuff!   But due to my current workload,  my schedule has be used up in the next 5 months.   If everything goes well,  I will spend time on this if this tasks is not assign to others.  and I will make the load test for new user case as a service.

It‘s cool！it is wonderful to show the result in a web graph or draw up the graphs by those testing-results in mongoDB.


Merge dev to master

Please merge development to master branch. Ensure the branches are even.

@mariobehling @aayusharora @geekyd @sumedh123 Currently, the master branch is 66 commits behind and 10 commits ahead of development. The reason why it is 10 commits ahead is due to the extra commits which have been introduced to the master previously when merging and reverting. If we merge the development branch to master now, the master branch will not be behind development but will become 12 commits ahead of it(2 extra commits due to merging).
To ensure, that the two branches are even, we have to remove the extra commits from the master by resetting it to the development branch and force pushing it. This will make the two branches even. I tried this on my fork and it worked with master and development branches being even with one another.
https://github.com/Princu7/open-event-webapp/branches
But, I am not really sure this is the most efficient and correct approach and would like some suggestions and opinions before doing it. Please guide. Thanks!!

@Princu7 Was the previous merge of development to master reverted?

Yes. It was reverted one time before. Also, whenever we merge a branch into another, there is an extraneous merge commit unless you are rebasing a branch on top of another. If you are interested in seeing the extra commits, then
git rev-list  master --not development
Will show the list of hashes of extra commits which are in master but not in development
git rev-list  --count master --not development
Will tell the number of extraneous commits

@the-dagger @mananwason @aayusharora @championswimmer Could you provide guidance on this issue, please?

@Princu7 I hope @niranjan94 can guide in this better. He has maintained the same for open-event orga.

@Princu7 ..
In the orga-server, what we do is, we keep master in line with dev or behind dev. (never ahead). And fast-forward master to the required commit on dev whenever needed.
looks like your master is 10 commits ahead, 75 commits behind development. Your first step would be to make is behind development.

@niranjan94 Thanks. The reason why it is 10 commits ahead is due to the extra commits which have been introduced to the master previously when merging and reverting.
To ensure, that the two branches are even, we have to remove the extra commits from the master by resetting it to the development branch and force pushing it. This will make the two branches even. I tried this on my fork and it worked with master and development branches being even with one another.
But, I am not really sure this is the most efficient and correct approach and would like some suggestions and opinions before doing it. Please guide. Thanks!!

@Princu7 we can do what you suggested now. But the branch is protected and you will have to turn of branch protection temporarily before you do a force push to master.

@niranjan94 Ok. Any other way around? Turning protection off would require admin access and would be slightly risky to do.

This is probably the cleanest way. So, it's alright. We can do this.
I can force push it if you like.

Oh. Thank you so much. Would be great if you could do so. Although doing it on my fork was easy and went successful, I would lie if I said I don't have fear and anxiety doing it on the official repo. If I could see and learn from you one time, I would probably have more confidence in dealing with this issue in future. Thanks for being so helping :)

@Princu7 done 😄  ...
No issue. Happy to help.

Force pushes are risky. So, we should avoid it much as possible. But some cases, especially when it comes to cleaning a repo, they're mostly unavoidable.
Just ensure you double-triple check which branch you're on and which branch you're pushing to before you do a force push. Always, have a separate copy of that branch (checkout as a different name) you're pushing to so that even if your force push messes something up, you can always revert back.

Thanks for the suggestions. I really like the one about keeping a backup branch to ensure we have something to revert to in case something went bad. Awesome tips. Thanks!!


[GSSOC21] Adding a side scroll bar which allows scrolling to a specific section of the home page

I plan to add a simple side scroll bar, one with clickable icons/circles that will take you to the different sections of the home page. It can be used to quickly navigate to the important information.

I am a participant at GSSoC'21 , please can you assign this issue to me?

@Fangston0 we have a navbar for that.


Draft meta.yaml

Modifying the meta file with this as example. Probably more iterations are needed.

Thanks @dhruvbalwada this is awesome. I think we should clarify how to encode the nested provenance in pangeo-forge in general. Ill raise an issue for this, but lets merge this for now.


Fix/9910 tabbar becomes transparent contact diary day view

Description
On some research, I found out that the tabbar in iOS 15 is a bit buggy, so the easiest way to fix the issue is to set the background view for both states in contact diary day view
Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-9910
Screenshots

ithubusercontent.com/77438487/140124474-1ea2ac4f-1ad3-45a6-9c5b-db6f139247a8.png)

FYI: This PR did not fix the issue completely: https://github.com/corona-warn-app/cwa-app-ios/issues/3161#issuecomment-1032963516


MouseButtonLeft triggers KeyLeft true and keeps KeyLeft true when application looses focus

I have a bare bones cocos2d-x 3.9 project. I just noticed that once the running application loses focus, the GetBool() function starts to always return true. This doesn't stop when the application window comes back into focus.
Edit: Okay so heres what I see now. Left mouse actually causes the key left for keyboard input to register. So when I press left mouse button down, I actually get true for GetBool(KeyLeft). And then once the window looses focus, the GetBool(KeyLeft) stays registered as true until the application is closed.
Im using the latest version of gainput. Built on mac OS X 10.11.2.
Heres some snippets of how I'm using gainput.
enum Key
{
    KeyLeft
};

enum Mouse
{
    MouseLeft
};

gainput::InputManager manager;
const gainput::DeviceId keyboardId = manager.CreateDevice<gainput::InputDeviceKeyboard>();
const gainput::DeviceId mouseId = manager.CreateDevice<gainput::InputDeviceMouse>();

manager.SetDisplaySize(visibleSize.width, visibleSize.height);
map.MapBool(KeyLeft, keyboardId, gainput::KeyLeft);
map.MapBool(MouseLeft, mouseId, gainput::MouseButtonLeft);

void HelloWorld::update(float delta)
{
    manager.Update();]

// This returns true when the mouse left key is down. And then always returns true with the application looses focus
    if (map.GetBool(KeyLeft)) {
        log("LEFT");
    }

}

@jkuhlmann just wondering if you were able to reproduce the problems I was seeing?
Thanks!

Hey @ismyhc!
Looks like this might be a problem with your usage of gainput::InputMap. The map does not make a difference between user buttons for different devices. The idea being that you can map different buttons from different devices to the same "virtual" user buttons in order to reduce the work on your side.
So when you define two enums, one for keyboard keys and one mouse buttons, you basically end with only one user button (KeyLeft == MouseLeft == 0). You should put all your mapped buttons into one enum or make sure that the enum values are different in some other way.
Does that help?

@jkuhlmann Thanks for the explanation! That clears up a lot. I still see the issue that if a mapped input was used to unfocus the window, then that input bool always returns true until the window is focused again.
So if I have left mouse button mapped and I left click on another window (unfocusing my current window) then getbool for the left mouse button will always return true until I return focus to the window. Not sure if this is something that gainput could or should handle for that matter. This is something I can handle on my side, but just thought I would mention it.
Thanks again for your help. Great library! :)
-Jacob

I think Gainput should handle that problem. I'm going to look into it. This is on OS X, right?

@jkuhlmann Yes, latest version of OS X.

So I've just checked in a workaround/fix to master. Does it fix the issue for you?


[Bug]: Issue with Proguard Rules

Version
1.3.0
Environment that reproduces the issue
Android
Is it reproducible in the example application?
Yes
Reproduction steps
In the example app you include proguard rules. Without them a release build fails. However these proguard rules cause my builds to run much slower and cause them to fail in my deployment pipeline (Codemagic). Is there any work around for this where I could remove those rules? Or some other solution?
Expected result
N/A
Actual result
N/A
Additional context
No response
Relevant logs output
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/calebschantz/Desktop/test_app/build/app/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class com.google.android.play.core.splitcompat.SplitCompatApplication (referenced from: io.flutter.app.FlutterPlayStoreSplitApplication and 1 other context)
Missing class com.google.android.play.core.splitinstall.SplitInstallManager (referenced from: com.google.android.play.core.splitinstall.SplitInstallManager io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.splitInstallManager and 4 other contexts)
Missing class com.google.android.play.core.splitinstall.SplitInstallRequest$Builder (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.installDeferredComponent(int, java.lang.String))
Missing class com.google.android.play.core.splitinstall.SplitInstallRequest (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.installDeferredComponent(int, java.lang.String))
Missing class com.google.android.play.core.splitinstall.SplitInstallStateUpdatedListener (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.destroy() and 1 other context)
Missing class com.google.android.play.core.tasks.OnFailureListener (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.installDeferredComponent(int, java.lang.String))
Missing class com.google.android.play.core.tasks.OnSuccessListener (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.installDeferredComponent(int, java.lang.String))
Missing class com.google.android.play.core.tasks.Task (referenced from: void io.flutter.embedding.engine.deferredcomponents.PlayStoreDeferredComponentManager.installDeferredComponent(int, java.lang.String) and 1 other context)

Hi,
I included this rules because I fell on the same issue. It is referenced on stackoverflow (for example: https://stackoverflow.com/questions/76800185/how-to-keep-some-com-google-android-play-core-classes-reported-missing-by-r8-d). I am not sure it is related to the api.video uploader package.
Yes, R8 takes a long time.
The only workaround I see are:

build in debug
increase the pipeline timeout

On last workaround:

settings the release minifyEnabled flag to false. See https://github.com/apivideo/api.video-flutter-uploader/blob/c6c198e40b77df86e9f4761e7a4ae3c59385b1e5/example/android/app/build.gradle#L45 (instead you set it to false). It will prevent R8 to minify.

On last workaround:

settings the release minifyEnabled flag to false. See https://github.com/apivideo/api.video-flutter-uploader/blob/c6c198e40b77df86e9f4761e7a4ae3c59385b1e5/example/android/app/build.gradle#L45 (instead you set it to false). It will prevent R8 to minify.

I'm pretty sure it is caused by the package. I tested in an example project with all my dependencies and as soon as I add video_uploader I get the issue.


Is It possible use tesseractOCR in CLI/C++ project?

Hello,
Environment

Tesseract Version:
tesseract 4.00.00dev
leptonica-1.75.3 (Feb 20 2018, 16:23:57) [MSC v.1911 LIB Debug x64]
libgif 5.1.4 : libjpeg 9b : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0

Platform:
Platform: Windows 7  64-bit
Visual Studia 2017

Current Behavior:
I tried to use tesseract in CLI/C++ project.
When I include tesseract I got the following error:
1>MSVCRT.lib(throw_bad_alloc.obj) : error LNK2005: "public: virtual char const * __cdecl std::exception::what(void)const " (?what@exception@std@@UEBAPEBDXZ) already defined in tesseract400d.lib(tesseract400d.dll)
1>C:\Projects\BaseCRT_OCR\x64\Release\BaseCRT_OCR.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Done building project "BaseCRT_OCR.vcxproj" -- FAILED.
For console project tesseract  is work fine.
Is It possible use tesseractOCR in CLI/C++ project?
Note: tesseract has been buildet via cppan accordingto wiki.
Thanks,
Regards,
Valentin

Yes, that should be possible. As your question is not a Tesseract issue, it is better to continue the discussion in the user forum.

ок, thanks, but why I can not build Tesseract  with key ''


[Achievement] Update the OC DB daily for 5 consecutive days

@tschaffter should we aim to start this quest after Sage Week?


Add Yves Brissaud to AUTHORS

Necessary after commit 5e681fe82d57942003056786cfb797822ff66502. Yves has signed the individual CLA.
@eunomie, can you verify that this is correct?

Yes, this is correct.


Default config file location customization

Is your feature request related to a problem? Please describe.
Using Neovim on Windows, when running :LazyGitConfig, the path that it looks for the config file is incorrect (it should be ~/AppData/Roaming/lazygit, assuming that the ~ translates to the USERPROFILE variable)
Describe the solution you'd like
Firstly, the default path on windows could be corrected to look in the right place for a Windows install of lazygit, but a more robust solution would be to provide a configurable setting for the path variable (forgive me if I missed something and this is already possible, but I couldn't tell from the README)
Additional context
If this is already configurable, that's great!

I don’t have a windows machine to test this. Would you be able to submit a PR?

Thanks for opening an issue btw!

No worries. Sure, I'll stick it on the todo list :)


Add joinMission action

The following requests were completed in this pull request:

When a user clicks the "Join Mission" button, action needs to be dispatched to update the store. You need to get the ID of the selected mission and update the state. Remember you mustn't mutate the state. Instead, you need to return a new state object with all missions, but the selected mission will have an extra key reserved with its value set to true. You could use a JS filter() or map() to set the value of the new state - i.e.:
const newState = state.map(rocket => {
if(mission.id !== id)
return mission;
return { ...mission, reserved: true };
});
Regardless of which method you choose, make sure you place all your logic in the reducer. In the React view file, you should only dispatch the action with the correct rocket ID as an argument.

Hi @dennis-every,
STATUS: APPROVED 😄

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉


Struct in event gets flattened

Hi,
I use a struct in my solidity contract both as argument of a function and as argument in an event.
The function part works fine: ethers creates the equivalent Rust struct and I can give this into the contract method params.
The event part though works by flattening somehow the struct,i.e. ethers produces another struct representing the same data, flattened, and this is the one that is given when retrieving events:
Ideally, both would use the same struct.
You can see a very minimal repro here:

Here is the simple solidity code: code
The params for the function works fine here: code

See the struct in Rust

 pub struct Point {
        pub x: ethers::core::types::U256,
        pub y: ethers::core::types::U256,
    }

The struct for the event  although is different : code

    pub struct NewPointFilter {
        pub x: (ethers::core::types::U256, ethers::core::types::U256),
    }

Thank you !

Code is correct, but what we#re not doing rn is resolving user-defined types in events.
But I believe we can do that.


Fix rest trigger outputs in trigger.json.

Fix typo in rest's trigger.json

I believe that both output and outputs are supported now. @fm-tibco ?


Containerd support (placeholder)

Really looking forward to this. I asked myself already how difficult this would be for flatcar instances and kubeOne.
If you need anyone for testing, ping me.

Really looking forward to this. I asked myself already how difficult this would be for flatcar instances and kubeOne.
If you need anyone for testing, ping me.

@shibumi technically containerd support is already merged, we only want to add some more checks in the light of upcoming dockershim removal.

@shibumi technically containerd support is already merged, we only want to add some more checks in the light of upcoming dockershim removal.

@shibumi re flatcar: https://github.com/kinvolk/lokomotive/issues/1058

@shibumi re flatcar: https://github.com/kinvolk/lokomotive/issues/1058

@kron4eg  I understand. Thanks for the hint to the lokomotive issue.

@kron4eg  I understand. Thanks for the hint to the lokomotive issue.


[WIP] Kubectl subresource

This PR still has a bunch of debug statements. Will clean up later.
I will clean up the PR and also make the changes that we discussed:

Show the same list of columns for subresoruce status for built-in types
Show Desired Replicas and Actual Replicas for subresoruce scale for built-in types

PR is cleaned up.


kotlin: 2.0.0 -> 2.0.20

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/JetBrains/kotlin/releases.
meta.description for kotlin is: General purpose programming language
meta.homepage for kotlin is: https://kotlinlang.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.10 with grep in /nix/store/srsh7c5pwv2dn45frbvfajar9hjyyckk-kotlin-2.0.10
found 2.0.10 in filename of file in /nix/store/srsh7c5pwv2dn45frbvfajar9hjyyckk-kotlin-2.0.10

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

jetbrains.idea-community
jetbrains.idea-community-src
jetbrains.pycharm-community
jetbrains.pycharm-community-src
kotlin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/srsh7c5pwv2dn45frbvfajar9hjyyckk-kotlin-2.0.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kotlin https://github.com/r-ryantm/nixpkgs/archive/7c8b27e9865f10a1a9288dee02374f352a9b2d67.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7c8b27e9865f10a1a9288dee02374f352a9b2d67#kotlin

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/srsh7c5pwv2dn45frbvfajar9hjyyckk-kotlin-2.0.10
ls -la /nix/store/srsh7c5pwv2dn45frbvfajar9hjyyckk-kotlin-2.0.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.pycharm-community (jetbrains.pycharm-community-src)
kotlin

Maintainer pings
cc @SubhrajyotiSen for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/JetBrains/kotlin/releases.
meta.description for kotlin is: General purpose programming language
meta.homepage for kotlin is: https://kotlinlang.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.20 with grep in /nix/store/j1qrnssjz60m6lirb3aacz7b0llq0j2f-kotlin-2.0.20
found 2.0.20 in filename of file in /nix/store/j1qrnssjz60m6lirb3aacz7b0llq0j2f-kotlin-2.0.20

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

jetbrains.idea-community
jetbrains.idea-community-src
jetbrains.pycharm-community
jetbrains.pycharm-community-src
kotlin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j1qrnssjz60m6lirb3aacz7b0llq0j2f-kotlin-2.0.20 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kotlin https://github.com/r-ryantm/nixpkgs/archive/cee9df9b5680e7eb08cbc949010c9b7ed3f45c18.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/cee9df9b5680e7eb08cbc949010c9b7ed3f45c18#kotlin

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j1qrnssjz60m6lirb3aacz7b0llq0j2f-kotlin-2.0.20
ls -la /nix/store/j1qrnssjz60m6lirb3aacz7b0llq0j2f-kotlin-2.0.20/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.pycharm-community (jetbrains.pycharm-community-src)

1 package built:

kotlin

Maintainer pings
cc @SubhrajyotiSen for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@SubhrajyotiSen but intellij now fails to build.

Result of nixpkgs-review pr 332817 at cee9df9b run on x86_64-linux 1

2 packages failed to build:

jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.pycharm-community (jetbrains.pycharm-community-src)

1 package built successfully:

kotlin

@SubhrajyotiSen but intellij now fails to build.

Thanks for pointing that out. I will take a look possibly this weekend

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/JetBrains/kotlin/releases.
meta.description for kotlin is: General purpose programming language
meta.homepage for kotlin is: https://kotlinlang.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.21 with grep in /nix/store/ark39gv4g90niqinh80z3kd6xn5ymba3-kotlin-2.0.21
found 2.0.21 in filename of file in /nix/store/ark39gv4g90niqinh80z3kd6xn5ymba3-kotlin-2.0.21

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

jetbrains.idea-community
jetbrains.idea-community-src
jetbrains.pycharm-community
jetbrains.pycharm-community-src
kotlin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ark39gv4g90niqinh80z3kd6xn5ymba3-kotlin-2.0.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kotlin https://github.com/r-ryantm/nixpkgs/archive/15b8211f7da997c9af2c9c5490b61918c4a43974.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/15b8211f7da997c9af2c9c5490b61918c4a43974#kotlin

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ark39gv4g90niqinh80z3kd6xn5ymba3-kotlin-2.0.21
ls -la /nix/store/ark39gv4g90niqinh80z3kd6xn5ymba3-kotlin-2.0.21/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:x: 2 packages failed to build:

jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.pycharm-community (jetbrains.pycharm-community-src)

:white_check_mark: 1 package built:

kotlin

Maintainer pings
cc @SubhrajyotiSen for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/JetBrains/kotlin/releases.
meta.description for kotlin is: General purpose programming language
meta.homepage for kotlin is: https://kotlinlang.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.1.0 with grep in /nix/store/42c425fqhsvk22zg1z0rf9amp3vmkq9f-kotlin-2.1.0
found 2.1.0 in filename of file in /nix/store/42c425fqhsvk22zg1z0rf9amp3vmkq9f-kotlin-2.1.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

jetbrains.idea-community
jetbrains.idea-community-src
jetbrains.pycharm-community
jetbrains.pycharm-community-src
kotlin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/42c425fqhsvk22zg1z0rf9amp3vmkq9f-kotlin-2.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kotlin https://github.com/r-ryantm/nixpkgs/archive/571052e7edcc785e2858af124e63c09c5947a608.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/571052e7edcc785e2858af124e63c09c5947a608#kotlin

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/42c425fqhsvk22zg1z0rf9amp3vmkq9f-kotlin-2.1.0
ls -la /nix/store/42c425fqhsvk22zg1z0rf9amp3vmkq9f-kotlin-2.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:x: 2 packages failed to build:

jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.pycharm-community (jetbrains.pycharm-community-src)

:white_check_mark: 1 package built:

kotlin

Maintainer pings
cc @SubhrajyotiSen for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.


feat: run tailcall in the browser

Thanks to @ssddOnTop we are able to compile Tailcall in WASM format. One of the next steps for us is the ability to run Tailcall in the browser. This will allow us to create a playground like that of Typescript and Rust where developers can write the config and the query, run everything within the same browser window, and share a link with other people! We will also be able to leverage the awesome dev tools provided by chrome to debug API calls from within the browser.
Technical Requirements

Publish an npm package @tailcallhq/tailcall-wasm with the contents of the wasm solution with a JS shim.
A user should be able to install tailcall via npm and load it up in the browser window to play around with it.

/bounty 300

@tusharmath can you assign this to me?

Can I be assigned this?

Please assign me ✋.

I think it is closely related to #1038, I'll attempt both

closing in favour of #1038


Clarify development path compared to self-hosted version

We now have 2 versions of the portal code base with some slight differences:

https://github.com/Azure/api-management-developer-portal
https://github.com/Azure/API-Portal

This brings some questions:

Will this API-Portal replace the other one eventually? This is important to know, because if you've setup the self-hosted one with the https://github.com/Azure/api-management-developer-portal and some devops pipelines, there doesn't seem to be much reason to move away.
Will the 2 versions have separate development and features eventually? Apart from the way you can release it, there doesn't seem to be much difference yet.

Hi @erwinkramer,
No, it won't replace the developer portal, but surely they will share a lot of common parts.
The idea of this project (@mikebudzynski can correct me) is to have a portal, disconnected from specific API management providers (like Azure API Management or Apigee). At the same time, the consumers could enable support for those providers (if they want to) as simple as installing another "connector" npm package. By default (basically, as it is now), it would have the "file system connector" which reads/writes API specs and content from/to the file system.
Of course, we're not there yet, so I'll take some time to unify flows and make the functionality pluggable. Then, when it's all done, we may think of merging these two projects.

@erwinkramer, as @azaslonov mentioned, the API Portal is disconnected from any API management solution. The API Management's developer portal is built into Azure API Management and uses it for additional functionality, like user and identity management. They do share most of the underlying codebase, but serve different purposes.


Document format of filters passed to upgrade_import_system()

I'm just looking at the function and the only documentation is
list of filters, for examples see: tests/test_import_system.py

There are examples like these:
HANDLE_MODULE_LIST = [
    (
        "^tempfile$",
        {"who_name": SELECTOR},
        {"": [ReplaceType.REPLACE_MODULE, TempFile]},
    )
]

I can guess what some arguments mean, but without proper documentation it's just a guessing game: please provide complete, precise documentation for each of the fields.

Documentatio done. Filter format described.

A link to the documentation would be nice.


DBZ-3277 Add commons-logging explicitly to the Server

https://issues.redhat.com/browse/DBZ-3277

Will be rebased after https://github.com/debezium/debezium/pull/2223 is merged


Fixed set_control for Windows Build 1607

Fixed #243
KSProperty does not accept nullpointer in Windows Build 1607 (anniversary build)

Please agree to the terms of the Intel® RealSense™ Cross Platform API  CLA

I do agree to the terms of the Intel® RealSense™ Cross Platform API CLA


Bump major versions

Good news, i updated all the node packages to the latest versions and the storybook demo/build works perfectly.
Bad news, i might of broken jest :(. something to do with clsx maybe? im stumped here.
i still have my fork, any assistance with the mild jest issue would be appreciated. otherwise everything else works.
 Badge › should render link with href

    TypeError: clsx is not a function

      10 |
      11 |
    > 12 |   $: classes = clsx(
         |              ^
      13 |     className,

      at Object.$$self.$$.update (src/Badge.svelte:12:14)
      at init (node_modules/svelte/internal/index.js:1446:8)
      at render (node_modules/@testing-library/svelte/dist/pure.js:71:21)
      at Object.<anonymous> (src/__test__/Badge.spec.js:33:27)

<script>
  import clsx from 'clsx';

  let className = '';
  export { className as class };
  export let children = undefined;
  export let color = 'secondary';
  export let href = undefined;
  export let pill = false;

  $: classes = clsx(
    className,
    'badge',
    `badge-${color}`,
    pill ? 'badge-pill' : false
  );
</script>

{#if href}
  <a {...$$restProps} {href} class={classes}>
    {#if children}
      {children}
    {:else}
      <slot />
    {/if}
  </a>
{:else}
  <span {...$$restProps} class={classes}>
    {#if children}
      {children}
    {:else}
      <slot />
    {/if}
  </span>
{/if}

Sweet!  I'll take a look at jest

Hey @BlackFenix2 , not sure what's up with babel or jest here, but found that this works if I inline clsx instead of import.  Let me fix up master with this and maybe you can rebase, it seems to work fine with your changes

Hi @BlackFenix2 , after a real mess sorting through the jest, node 12, ci issues, I made and merged  https://github.com/bestguy/sveltestrap/pull/163 with seems to fix issues.
It's a bunch of interrelated changes afaik, but apologies for causing conflicting files with my merge,  if you wouldn't mind merging or rebasing from master.

@bestguy i merged the changes from your current master branch, my PR should be up to date now.
Jest doesnt yell at me anymore, everything is in working order! once we can get this merged ill work on typescript support.

ok, ill rebase the changes from your master branch and start working on a PR for Typescript support.

Awesome, thanks!  I'm happy to help convert after config updates.
One question/concern that occurs to me now is we were encouraged to include Svelte src as part of npm package to work with SSR/Sapper.  Moving to TS might mess that up?   Am unsure of the current level of Typescript support in Svelte/Sapper

Uncle BlackFenix2 did not forsee that complication, ill try to brainstorm a way to use typescript and support es/umd bundles. Sapper can support typescript with the correct preprocessor but i am trying to compile the typescript down to regular js, the .svelte files can be imported as-is without issue. i have to test this out extensively, ill make a skeleton PR so we can continue the conversation.
if i cannot get the typescript conversion to work, ill prob just add *.d.ts files from reactstrap.

It's mostly sapper afaik, if that supports TS out of the box or at least "easily", that's not a big problem and we can document


Color regex fix

It was not valid for #d5d5d5. This now works for this array.
[
    "#d5d5d5",
    "#616e79",
    "#ffffff",
]

New:

Old:

Looks good to me! I'm no regex wizard, so thanks for the fix here!


CModal component disregards className prop

CModal component disregards className prop passed to it. According to the documentation it should use that prop and add it to its other classes. In the code I also do not see this prop being used.
https://github.com/coreui/coreui-react/blob/903003fc046e2046b18d76117fc074fa44c2a99b/src/modal/CModal.js#L66-L69
Also https://github.com/coreui/coreui-react/blob/master/CONTRIBUTING.md is 404.

Issue has been fixed in v3.3.3


Allow URI to be specified without attributes

Spent a little time this afternoon tinkering with Passenger after watching your Youtube video, first impressions are good :)
Seems like it would be useful to be able to use a single model to test against various addresses... how about allowing a Uri to be passed to StartTestAt, which can be used either instead of an attribute on the class, or to override it when it does exist?
I'd be happy to send a pull request if you think it is a reasonable idea.

Sounds like a good idea - happy to take a PR :)


allow to run multiple plugins

This PR allows to labeller to run multiple plugins

Do we need to generalize the label removal?

Good catch, i will update it.


Change build to amber when in progress

@ailiite as requested :)

merging this.    spoken with camille and she has explained the css tags


doc: tutorial: getting started: update import string section

This section was a bit confusing, because import strings are only really relevant in Lona projects. Since the tutorial only uses scripts in its examples, it needed a bit of clarification, what import strings are meant for.

Codecov Report
Patch coverage has no change and project coverage change: -0.06 :warning:

Comparison is base (d9bd073) 68.58% compared to head (fad33f9) 68.52%.

: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     #353      +/-   ##
==========================================
- Coverage   68.58%   68.52%   -0.06%
==========================================
  Files          68       68
  Lines        5163     5163
  Branches     1163     1163
==========================================
- Hits         3541     3538       -3
- Misses       1347     1349       +2
- Partials      275      276       +1

Impacted Files
Coverage Δ

lona/server.py
68.80% <0.00%> (-0.88%)
:arrow_down:

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.

I think the intention behind this section is clear now.

@markusgritsch: Thanks for reviewing!


auto scan fix

makes it work for people only using score calc
don't see any reason for the original code since auto scan is already a specific setting

Fixing this in the next version, thanks for letting me know (:


Fix middleware for non-processed requests.

LGTM, though it would be nice for the log to say "unknown time" instead of -1s.

Done.


Improve core Controller & Exceptions libraries

Changes include:

Method/property visibility declarations.
Replaced hard-coded use of / with DIRECTORY_SEPARATOR.
Cleaned up some comments & spaces.

If I am not mistaken I remember reading somewhere that the slash is recommended over directory separator and it will still work across different servers.

I've been given recommendations in previous pull requests to use DIRECTORY_SEPARATOR. / might be recommended over \ in general, because it does indeed work on all platforms, but I'm not sure if that isn't only for hard-coded use. Can somebody give some more input?

Actually, now that I think of it - it would probably be better if forward slashes are replaced in all places altogether anyway.
I'll revert those changes and open an issue to discuss it.


Spring test generation. Manual testing of build#2023.8.5073

Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed

[x] IU plugin build 2023.8.5073 was taken
[x] Download plugin
[x] Check downloaded zip-file size < 180 MB
[x] Open IntelliJ IDEA Ultimate 2023.2
[x] Check Spring plugins are bundled
[x] Remove previously installed UTBot plugin
[x] Install the downloaded plugin

Gradle project with JDK 17
Check No Configuration mode + Unit tests

[x] @Entity + No Configuration + Unit tests + Generate tests
[ ] PetTypeFormatter + No Configuration + Unit tests + Generate and Run
[ ] @Controller + No Configuration + Unit tests
[ ] Java class without annotation + No Configuration + Unit tests

Check Spring configuration + Unit tests

[ ] @Entity + @SpringBootApplication + Unit tests + Generate tests
[ ] @Controller + @SpringBootApplication + Unit tests + Generate and Run

Check Unit tests + test runners

[ ] @SpringBootApplication + Unit tests + JUnit4 + Generate and Run
[ ] XML configuration + Unit tests + JUnit5 + Generate and Run
[ ] Java class @Configuration + Unit tests + TestNG + Generate and Run
[ ] Java class @TestConfiguration + Unit tests + JUnit5 + Generate and Run

Check  No Configuration mode + Mocking strategy
Copy-paste sample classes into Spring project

[ ] No Configuration + Unit tests + No mocks
[ ] No Configuration + Unit tests + Mock everything outside class
[ ] No Configuration + Unit tests + Mock everything outside package

Check Spring configuration + Integration tests

[ ] @SpringBootApplication + Integration tests + JUnit5 + Generate and Run
[ ] XML configuration + Integration tests + JUnit4
[ ] Java class @Configuration + Integration tests + JUnit4
[ ] Java class @TestConfiguration + Integration tests + TestNG

Maven project with JDK 11
to continue..

Regression bugs:

#2525


setup for localhost missing at least 1 step

https://openfoodfacts.github.io/OpenFoodFacts-APIRestPython/  setup for localhost
is missing the requirement to install mongo database tools to get mongorestore

@traisen I've started a draft PR for this


incompatible-version-error with embedding-api

I'm getting an error using the @tableau/embedding-api library to embed a dashboard.
I managed to also find a public one with the same issue and I'm sharing a codesandbox link so you can see it happening.
https://codesandbox.io/p/devbox/tablo-dash-nty92j?file=%2Fapp%2Fdashboard%2FTableauMatching.tsx
Click the "Tablo dash" button to load it.
You may see a hydration error which you can ignore.
It's using Next.js which handles the error and displays a red box in the corner which you can click to see it.
Error: incompatible-version-error: The version of the Embedding library is not compatible with the version of Tableau. The visualization will load, but the Embedding API methods and events are not available.

@brianshano have you validated that the location where you pull the embedding library from is the same as the location of the dashboard? And did you get the latest version of the library, or a specific one?

Hi @ewaldhofman-sf
The dashboard is in Tableau cloud and the embedding-api comes from npm.
I did discover when trying different versions of the embedding-api, a certain version that matches our Tableau Cloud version was needed and worked without error.
It worked when I set the package.json dependency to
"@tableau/embedding-api": "~3.8.0",

Great to hear that your issue is resolved.
For future reference, you can find more information in the readme of the NPM package (first bullet): https://www.npmjs.com/package/@tableau/embedding-api


Git: Make the patchset more granular.

Motivation for this change
Splitting up the patch set for more granularity.
Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

This doesn't apply anymore. @spacekitteh, are you still interested in getting this in?


Cherry-pick documentation fix into doxyfix branch

https://github.com/raspberrypi/pico-sdk/pull/2104

As this isn't touching master or develop, I'll merge this :slightly_smiling_face:


Publish Build Artifacts - Not uploading all artifacts.

Recently, I've been seeing a lot of failures in this task along these lines.
2015-09-06T23:03:53.5283109Z Max Concurrent Uploads 8, Max Creators 2
2015-09-06T23:03:53.9345634Z Found 60 files to upload.
2015-09-06T23:03:53.9345634Z Files found locally 60,
2015-09-06T23:03:53.9345634Z Files evaluated 12,
2015-09-06T23:03:53.9345634Z Files left to evaluate 48.,
2015-09-06T23:03:53.9345634Z Files created without upload 0,
2015-09-06T23:03:53.9345634Z Files uploaded 0
2015-09-06T23:03:53.9345634Z Files left to process 60
2015-09-06T23:03:53.9501895Z ---------------------------
2015-09-06T23:03:55.9658359Z Files found locally 60,
2015-09-06T23:03:55.9658359Z Files evaluated 33,
2015-09-06T23:03:55.9658359Z Files left to evaluate 27.,
2015-09-06T23:03:55.9658359Z Files created without upload 0,
2015-09-06T23:03:55.9658359Z Files uploaded 25
2015-09-06T23:03:55.9658359Z Files left to process 35
2015-09-06T23:03:55.9658359Z ---------------------------
2015-09-06T23:03:57.9814979Z Files found locally 60,
2015-09-06T23:03:57.9814979Z Files evaluated 59,
2015-09-06T23:03:57.9814979Z Files left to evaluate 1.,
2015-09-06T23:03:57.9814979Z Files created without upload 0,
2015-09-06T23:03:57.9814979Z Files uploaded 53
2015-09-06T23:03:57.9814979Z Files left to process 7
2015-09-06T23:03:57.9814979Z ---------------------------
2015-09-06T23:03:59.9971451Z Files found locally 60,
2015-09-06T23:03:59.9971451Z Files evaluated 60,
2015-09-06T23:03:59.9971451Z Files left to evaluate 0.,
2015-09-06T23:03:59.9971451Z Files created without upload 0,
2015-09-06T23:03:59.9971451Z Files uploaded 58
2015-09-06T23:03:59.9971451Z Files left to process 2
2015-09-06T23:03:59.9971451Z ---------------------------
2015-09-06T23:04:02.0127970Z Files found locally 60,
2015-09-06T23:04:02.0127970Z Files evaluated 60,
2015-09-06T23:04:02.0127970Z Files left to evaluate 0.,
2015-09-06T23:04:02.0127970Z Files created without upload 0,
2015-09-06T23:04:02.0127970Z Files uploaded 58
2015-09-06T23:04:02.0127970Z Files left to process 2
2015-09-06T23:04:02.0127970Z ---------------------------
2015-09-06T23:04:02.3565557Z File:xxx has not been uploaded to server.
Can anyone shed some light as to why this can occur?  The artifacts are being uploaded to VSO.
Secondly, it would be great if this caused the task to be marked as partial success or failed, since at present it reports success even when something has gone wrong.
I have confirmed that the files that fail to upload are present on the build agent in the correct artifact directory.

I assume this is hosted agent, I think the fix should be rolled out by the end of this week.

Hi yaananth,
it's an on-premises agent, but could it possibly be the same issue?

Hi Yaananth,
I am still facing the above issue and I am using a hosted agent itself.
Has the fix released yet ? Any pointer related to this issue is really appreciated.
Thanks.

Hi all .. Still running into this issue.
Any input on how to fix, or when it will be fixed ?
Usage : Hosted Agent, VNext build does not upload 100+ files in a 1700+ files solution.
Regards,
Gerwin

@DaveSullivanAtWork  your account name please?
@GerwinNL @AkhileshKJ  looks the image is still rolling out, hopefully it should be done by the end of this week, i will update here when it's done.

This morning stil the same issues, within the script 1.0.4 ..
C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\PublishBuildArtifacts\1.0.4\PublishBuildArtifacts.ps1
sample from log:
2015-09-29T06:39:23.4577144Z Files found locally 572,
2015-09-29T06:39:23.4577144Z Files evaluated 572,
2015-09-29T06:39:23.4577144Z Files left to evaluate 0.,
2015-09-29T06:39:23.4577144Z Files created without upload 0,
2015-09-29T06:39:23.4577144Z Files uploaded 541
2015-09-29T06:39:23.4577144Z Files left to process 31
2015-09-29T06:39:23.4577144Z ---------------------------
2015-09-29T06:39:24.0419180Z File:C:\a\38816859\artifacts\frontend\Content\Images\loading1.gif has not been uploaded to server.
2015-09-29T06:39:24.0419180Z File:C:\a\38816859\artifacts\frontend\Content\Images\loading2.gif has not been uploaded to server.
Any news @yaananth  ?

Pretty sure it does, but wanted to confirm if this issue impacts ##vso[artifact.upload] as well?

Today it should be updated, could you please verify? @GerwinNL
@pkuma-msft that's correct.

@yaananth
Just checked, and i didnt see any remarks about files not being uploaded ..
'll do another check shortly but it look promising.
Thank you for your response.


Beta: Last 5 challenges in the ES6 section aren't working properly.

All those challenges are showing an error of "exports/require not defined". These challenges include
http://beta.freecodecamp.com/challenges/es6/understand-the-differences-between-import-and-require
http://beta.freecodecamp.com/challenges/es6/use-export-to-reuse-a-code-block
http://beta.freecodecamp.com/challenges/es6/use--to-import-everything-from-a-file
http://beta.freecodecamp.com/challenges/es6/create-an-export-fallback-with-export-default
http://beta.freecodecamp.com/challenges/es6/import-a-default-export
Here's the screenshot of what that error is -

This is related to #14372.

Thanks for reporting and looking into this issue!
I'm closing this as a duplicate of #14372. If you think I'm wrong in closing this issue, please reopen it and add further clarification.
Happy coding!