A way to backup and restore the list

I want do like this:
$ gogh list > ghqlist.txt
$ cat ghqlist.txt | gogh get

I should that gogh can solve it.
introduce: https://github.com/motemen/ghq/issues/92

$ gogh list | grep gogh
github.com/kyoh86/vim-gogh
github.com/kyoh86/gogh
$ gogh list | grep gogh > list.txt
$ cat list.txt | GOGH_ROOT=~/hoge gogh pipe
[ error ] 2019/03/17 16:11:00 fork/exec : no such file or directory
$ cat list.txt | GOGH_ROOT=~/hoge gogh bulk
[ error ] 2019/03/17 16:11:04 repository remote has too many slashes
$ gogh list -f full | grep gogh
/Users/yamada/Projects/github.com/kyoh86/vim-gogh
/Users/yamada/Projects/github.com/kyoh86/gogh
$ cat list.txt | sed -e 's/^/https:\/\//g' | GOGH_ROOT=~/hoge gogh bulk
[  warn ] 2019/03/17 16:14:22 root dir /Users/yamada/hoge is not exist
Cloning into '/Users/yamada/hoge/github.com/kyoh86/vim-gogh'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 16 (delta 2), reused 16 (delta 2), pack-reused 0
Unpacking objects: 100% (16/16), done.
Cloning into '/Users/yamada/hoge/github.com/kyoh86/gogh'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 875 (delta 42), reused 53 (delta 24), pack-reused 792
Receiving objects: 100% (875/875), 6.95 MiB | 561.00 KiB/s, done.
Resolving deltas: 100% (571/571), done.
$

hmm..
It maybe resolved that gogh become can put URL list.
I think that I should create a new formatter "url" for gogh list.
gogh list -f url

And I can create an alias for gogh list -f url as gogh dump.


After facebook login FirebaseAuthState flag stays undefined

I've just enabled facebook login, seems to be working but the FirebaseAuthState facebook flag is undefined.
Console:
ng.probe($0).componentInstance.af.auth.getAuth()

auth: V
facebook: undefined
provider: 2
uid: "r9fMHsrI1Rb47vcNXFBi9rmFHXP2"

Can you create a plnkr so I can understand more clearly what your situation is?

Same here, after the login using Facebook I try to get facebook token, but have only the values:
Object {
    auth: V,
    uid: "JlYX1qcJLwdmTV0HhJRHzWUX7gC3",
    provider: 2,
    facebook: undefined
}

Same here, after the login using Facebook I try to get facebook token, but have only the values:
import { AngularFire } from 'angularfire2';
constructor(
    public af: AngularFire
  ) {
    af.auth.subscribe(response => {
        console.log(response);
    });

and got the following response:
Object {
    auth: V,
    uid: "JlYX1qcJLwdmTV0HhJRHzWUX7gC3",
    provider: 2,
    facebook: undefined
}

I figured out that the subscribe event is triggered twice after the facebook login redirect, in the first call facebook variable is undefined, but in second has data inside variable.
This works to me:
import { AngularFire } from 'angularfire2';

constructor( public af: AngularFire ) {
    af.auth.subscribe(response => {
        if(response.facebook) {
            //store my session
        }
        console.log(response);
    });

I think this is related to #413. Closing to consolidate to that issue.


Abusing of the kernel ringbuffer for applications is frowned upon ;-)

Although we can enlarge the kernel ringbuffer for these things, I woud refrain from using it as a log mechanism.
the moment that the kernel is yelling about something, most probably our apps will also start spewing errors, and flush the messages that lie at the origin of all that babbling.
We need to discuss that.

A dump as what as already been said on internal chat:

Muhamad Azmy, [29.07.19 15:20]
these logs are not from zinit actually, they are just the services writing their output to the ring buffer

Muhamad Azmy, [29.07.19 15:20]
not going through zinit

Muhamad Azmy, [29.07.19 15:20]
but all outputs in general are buffered

Jan Delantre, [29.07.19 15:20]
speaking of which

Muhamad Azmy, [29.07.19 15:20]
so logs can printed sometime before they are actually written

Jan Delantre, [29.07.19 15:20]
we shouldn't abuse of the kernel ringbuffer

Muhamad Azmy, [29.07.19 15:21]
probably the start logs thingy are flushed once the service is stopped before it exits

Muhamad Azmy, [29.07.19 15:21]
hence they appear after the stop is called

Jan Delantre, [29.07.19 15:22]
we actually need it to be as kernel-y as possible, because if something goes wrong in the kernel, we'll enever know, as because of problems reported by the kernel will immediately flushed away by failing stuff just because of the kernel problems

Jan Delantre, [29.07.19 15:23]
imagine a disk breaking, storaged flushing the kernel RB because of it's own problems, then we have no visibility any more

Muhamad Azmy, [29.07.19 15:24]
in that case we will need to run our own log buffer

Jan Delantre, [29.07.19 15:24]
THIS!

Jan Delantre, [29.07.19 15:25]
https://github.com/andylokandy/arraydeque smt like this

Jan Delantre, [29.07.19 15:25]
love the smiley.. it's applicable 😃

Muhamad Azmy, [29.07.19 15:29]
actually no, we need to expose a "device" on the system where process can open and write to same as we do with kmsg

Muhamad Azmy, [29.07.19 15:29]
may be this can be used as a library to handle the actual buffer in memory

Jan Delantre, [29.07.19 15:30]
with this  ash while read line? I think it's ugly

Muhamad Azmy, [29.07.19 15:31]
i would like to remove this, but this was just a hack to prefix the log line with the service name

Muhamad Azmy, [29.07.19 15:31]
if we implement our log ring buffer, this can be prefixed by the log daemon itself

Muhamad Azmy, [29.07.19 15:31]
depends on how we going to implement it

Jan Delantre, [29.07.19 15:32]
we'd better have stdout and stderr redirected to indeed some device (but separate) to have a distinction beteween errors and logging

Muhamad Azmy, [29.07.19 15:32]
yeah, nice

Muhamad Azmy, [29.07.19 15:32]
i will see if we can use buse in rust

Jan Delantre, [29.07.19 15:38]
not found 😉

Muhamad Azmy, [29.07.19 15:38]
C bindings :D

Muhamad Azmy, [29.07.19 15:39]
also pipes can be used

Muhamad Azmy, [29.07.19 15:39]
will work nicely with tokyo

Muhamad Azmy, [29.07.19 15:39]
a named pipe

Jan Delantre, [29.07.19 15:40]
aye

Delantre... pfff

I started a POC to create our own user space ring buffer log daemon. The logs will still be available only in memory (size configurable).
I am still not sure how the logs should be read from memory though. Kernel ringbuffer provides a device (kmsg) for this. It's not easy to implement this in user space without using fuse, but there is no tokio fuse implementation for rust atm.
Another idea is using mmap (no idea about the support of this in rust), or finally named pipes.

custom ring buffer has been merged into zinit: https://github.com/threefoldtech/zinit/pull/13


Fix typo in lid for vector tiles layer

Minor typo correction within the lid of the vector tiles layer in the app-starter package and update of the corresponding docs. No functional change.

Thanks for the review @JakobMiksch


Update README.md

Given the length of time with no activity I will close. Feel free to raise a new Pull Request.


SOMAGroup should return SOMAMetadataMapping where underlying data structure is an arrow::Table

Split-off from https://github.com/single-cell-data/TileDB-SOMA/issues/1240
In the first pass we return the metadata value as a void const *. This can only be retrieved if the group is opened in read mode. In this second pass, the metadata values should be returned as an Arrow Table and be access in both read and write mode.

Not implemented. We use std::map<std::string, MetadataValue>.


Develop

Codecov Report

Merging #18 into master will increase coverage by 2.39%.
The diff coverage is 93.54%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
+ Coverage   92.32%   94.71%   +2.39%
==========================================
  Files           9        9
  Lines         521      511      -10
==========================================
+ Hits          481      484       +3
+ Misses         40       27      -13

Flag
Coverage Δ

#unittests
94.71% <93.54%> (+2.39%)
:arrow_up:

Impacted Files
Coverage Δ

pepfrag/cpepfrag.cpp
85.18% <ø> (ø)

pepfrag/iongenerator.cpp
95.23% <90.90%> (+6.20%)
:arrow_up:

pepfrag/iongenerator.h
100.00% <100.00%> (+8.57%)
:arrow_up:

Continue to review full report at Codecov.

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


intelephense.diagnostics.typeErrors does not appear to work

intelephense.diagnostics.typeErrors: Enables diagnostics on type compatibility of arguments, property assignments, and return statements where types have been declared, default: true
In the following sample code no diagnostic error is generated:
    public function test(string $arg): int
    {
        return 'test';
    }

Hi, I have confirmed it. it will be reproduced. It seems to be a problem on the language server side.
Related issue: https://github.com/bmewburn/vscode-intelephense/issues/2389


Consents: Consent Display Cleanup

Currently consents are shown with the default radio button, giving very little room for the text.
From https://github.com/carpentries/amy/pull/1841

From https://github.com/carpentries/amy/pull/1860

Applied dropdown changes on the Actions required page


Crash

After updating libundirect to 1.1, springboard crashed and crashlog says it's because of EmojiPort i think.
CrashLog: https://controlc.com/00f61191
https://cdn.discordapp.com/attachments/570634688813858820/820301565209608233/image0.png
iPhone 5S, iOS 12.5.1, Chimera

EmojiAttributes needs to be updated support libundirect 1.1


Fix indexing in updated CMS implementation

The new implementation used tf.shape[0], which led to truncated TRCs if there were three independent TRCs since tf.shape[0] == 3 in that case
Use tf.shape[tf.ndims-1] instead.  tf.shape[-1] does not appear to function correctly, likely due to cython having somewhat different indexing than python?
Also, the indexing into tf.data remains in bytes, so the size of the data items must be taken into account, and each TRC starts at j*sizeof(dataitem)*tf.shape[tf.ndims-1] - not sure if there's a cython equivalent for sizeof()?

Thank you! I totally missed the point of your patch yesterday while the release was already building... I'll do another release in the next days and also add a function to validate profiles.

Please try v2022.12.24.

Yup, working well for float32.  Haven't tested int16 but the code looks good for that at least.


MIUI System Apps Updater blocked

On a MIUI (pocophone by Xiaomi MIUI 10.2 Android 9)
The updater for system apps does work if these sites are blocked (using Blokada).
But at least I get the notification that there are pending updates.
Could not identify which site is blocking. :(
Temporarily switched off Blokada to get the updates.

  The next update of Energized will probably fix the issue

Thank you ... I did not actually check the data transmitted.
Currently I switch the blocker off, update and change my AD ID. ;-)

Please unlock controller.intl.xiaomi.com or we can't update sources for Mi Remote Controller. Thanks a


fix(linter): allow replacing rule when none are enabled yet

fixes https://github.com/oxc-project/oxc/issues/7009
allows rules to be replaced properly when the rules_for_override array is empty (e.g., if you initially disable all rules, then configure them) by checking the all_rules array if the first find call fails

#7014  👈
main

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

Join @camchenry and the rest of your teammates on  Graphite

Merge activity

Oct 29, 11:28 PM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


point cinvar to iobio backend when launched from mosaic

Changing the clinvar URLs to point to the iobio backend when launched from Mosaic.  This branch was branched directly from gene_4.3.2, which I believe is what production is currently pointing to.

quarantest build successful. Demo link at
http://fb051601.quarantest.iobio.io


Reduce the size of chrome extension, currently 10MB

Ideas

Minimize and bundle JavaScript and CSS files:
Optimize image assets
Optimize the extension's architecture:

I removed the node_modules & hidden git files from the folder before zipping. I got the size down from 12MB to 500KB. Pretty good. 2f94e453a5e5c2d7c88ae2a8ce08531714a91b4c


Changed standard Colors and ColorsFX; Externalized FeatureStatus

Seems like some weird temp files got merged in this PR :)
(.temp-TestFXTable-classpath-arg-1574724964213.txt  etc.)

Oh must have slipped through I tried to create a clean patch to remove these changes from the PR #8


feat: add sequence-flow-condition rule

Conditions now checked for both exclusive and inclusive gateways.

separate inclusive-gateway into 2 parts
inclusive-gateway rule checks number of incoming sequence flows of inclusive gateway
sequence-flow-condition rule checks condition of outgoing sequence flows of exclusive and inclusive gateway

Awesome contribution. Makes loads of sense to separate these two concerns.


docs: update timestreams p1 blog

Don't think there's anything else required for p1 and p2 to publish them, unless we want to discuss any changes to the examples/graphics.

Don't think there's anything else required for p1 and p2 to publish them, unless we want to discuss any changes to the examples/graphics.

In p2 we should update the examples which currently used Fenl syntax to using Python syntax.


How to use fastpoornet params and json file from WhatIsThis?

Environment info
Operating System:Ubuntu desktop 14.04 64bit
Compiler: g++
MXNet version:  v0.7
Python version and distribution: python2.7
Error Message:
I took the params and symbol.json files of fastpoornet from WhatIsThis project and loaded them for a simple image classification ,but the result is incorrect.
I'm sure that the code works since I tried other network files. Should I modify something in the code or the files?
(BTW I set allow_missing=True to avoid "RuntimeError: softmax0_label is not presented")
Minimum reproducible example
import os
import mxnet as mx
f = open('synset.txt', 'r')
synsets = [l.rstrip() for l in f]
sym, arg_params, aux_params = mx.model.load_checkpoint(os.path.join(os.getcwd(), 'model', 'fastpoornet'), 0)
mod = mx.mod.Module(symbol=sym, context=mx.cpu())
mod.bind(for_training=False, data_shapes=[('data', (1,3,224,224))])
mod.set_params(arg_params, aux_params, allow_missing=True)
import matplotlib
matplotlib.rc("savefig", dpi=100)
import matplotlib.pyplot as plt
import cv2
import numpy as np
from collections import namedtuple
from tools.image_processing import transform
Batch = namedtuple('Batch', ['data'])
def predict(filename, mod, synsets):
img = cv2.cvtColor(cv2.imread(filename), cv2.COLOR_BGR2RGB)
if img is None:
return None
img = cv2.resize(img, (224, 224))
data = transform(img, (117.0,117.0,117.0))
img = np.swapaxes(img, 0, 2)
img = np.swapaxes(img, 1, 2)
img = img[np.newaxis, :]
mod.forward(Batch([mx.nd.array(img)]))
prob = mod.get_outputs()[0].asnumpy()
prob = np.squeeze(prob)

a = np.argsort(prob)[::-1]
for i in a[0:5]:
    print(i)
    print('probability=%f, class=%s' %(prob[i], synsets[i]))

print("ready")
predict("cat.jpg", mod, synsets)
What have you tried to solve it?
I import transform from tools.image_processing to apply mean_pixels (117,117,117) but it doesn't work.

My suggestion is to use the latest inception model

@thirdwing Thanks very much! Could you tell me where to download the model you mentioned?

You can get the latest Inception model from http://data.mxnet.io/models/imagenet/inception-bn/

@thirdwing Thank you! I will try it.


{"error":"No API keys found"} Rate limited! Please try again later.

I get that the GPT-4 is cutting back on the queries you're allowed to send per minute, only, I've been waiting since yesterday and I'm still getting this popup warning so I'm feeling a bit anxious. Is every thing all right?

I get that the GPT-4 is cutting back on the queries you're allowed to send per minute, only, I've been waiting since yesterday and I'm still getting this popup warning so I'm feeling a bit anxious. Is every thing all right?

Because you should get the API for GPT-4 and the free API may not work. However, you can try gpt-3.5-turbo by you own API.

I switched to the gpt-3.5-turbo model and https://sharegpt.churchless.tech/share/v1/chat endpoint, but now I get this instead:
OpenAI API responded:

{
    "error": {
        "message": "Your access was terminated due to violation of our policies, please check your email for more information. If you believe this is in error and would like to appeal, please contact<EMAIL_ADDRESS>        "type": "access_terminated",
        "param": null,
        "code": null
    }
}

Rate limited! Please try again later.

getting the same error in  gpt-3.5-turbo model with personal API key

getting the same error in gpt-3.5-turbo model with personal API key

It can work on my own web : https://axyzdong.github.io/FreeChatGPT/
You can try it !


Added sample of ads only player with disabled controls and short video

Notes
In this test case, we've totally turned off controls for the content player. And the video id, that we use is very very short with a dark background, so it ends right after the ad is finished.
The player itself can be shown, for example, whenever the isAdPlaying value in props is true.
This is an easy example of how it can be done, without doing any changes in our SDK.
Demo

Of course it is. I've added that example to show how it can be done without making specific changes in SDK.

I don't think it is acceptable solution to be placed in tutorials.


How to open NASDAQ_ITCH50.gz

Hey,
I have successfully downloaded the huge NASDAQ_ITCH50.gz, but I have no idea about how to open this file after decompressing it, there is no extension of the decompressed file. Can anyone give me some suggestions or any reference? Many thanks!

It is a binary file corresponding to the following protocol specifications:

NASDAQ BinaryFILE
NASDAQ TotalView-ITCH 5.0

You'll need a tool that can read these files. As Libtrading contains the NASDAQ TotalView-ITCH 5.0 message definitions, you could write such a tool using Libtrading. I have also written a simple tool in Java that extracts just the Best Bids and Offers (BBOs) and trades from such a file.
I hope this helps!

Hi jvirtanen,
Thank you so much for your help! Could you please tell me a little bit about which part of your Java tool is used to extract the BBOs? I am sorry that I am not familiar with Java, so I am not sure how to customize the code to extract other features like price and volume. Thank you in advance!

This is getting a bit off topic for Libtrading, but take a look at the ITCH50Source class. Each message invokes a callback for the corresponding message type. The message types themselves are declared in the ITCH50 class in another project that is one of the tool's dependencies. If you have more questions about these projects, I suggest you to join the Gitter chat.

Thank you so much for your help!


How to use programmatically?

Let's say I have a simple form with an input field where I would insert an Amazon product URL https://www.amazon.com/dp/B01MRZFBBH
On form submit, I would like this Amazon product URL to turn into https://www.amazon.com/dp/B01MRZFBBH?tag=us-tag and display below the form to the end user to copy.
How can I accomplish that with this library?

Hi Elvis! The way affiliate is currently configured, it cannot be used to directly update the link on form submit. Instead, it would update an anchor link (i.e. ...). See the documentation for an example of this.
There should be a text-based link affiliation method such as instance.convertLink('...'), and I will add that in version 5.0.0 when released.

@russellsteadman That'd be great! An instance.convertLink('...') method would be a great addition to this library.
In the meanwhile I'll see what I can do playing with the current implementation. Maybe I can print the  tag and then right after update or manipulate the DOM.

@elvismdev This will be implemented as aff.convert('https://www.example.com/') in the next major release. I plan to push out a major release within the next week.

@russellsteadman This looks great! I'll look forward to the next release, thank you!


Fixes bug where loaded certs are stored in the certs dict as str

Overview
Certs provided through the --cert argument or config yaml get stored in the certs dictionary as a str. This causes issues because the keys created by get_certs method are byte strings. So any provided certs wind up being ignored and the generated certs still get stored as byte strings.
Steps to Reproduce

Start the proxy and provide a cert through the command line or config.yaml options:

mitmproxy --cert [domain=path to pem]

Attach to the process using the debugger and set a breakpoint in certs.py at the get_cert method.
Step through the method until you get to if name:

This was found when trying to modify requests while keeping certificate pinning enabled using a second cert I have pinned and have the private key to. Once I converted the spec to bytes the domain and certificate were correctly identified.
Additional Info:
Mid 2014 MacBook Pro with 15" Retina Display
macOS Sierra 10.12.5
Python 3.6.1
mitmproxy installed through Homebrew 1.2.4.

Thanks for the PR - I am right to assume that this only affects 2.0.x and is already fixed on master? 😃

I haven't checked master yet and won't be able to get to it today.

This turned out to be the same issue as https://github.com/mitmproxy/mitmproxy/issues/2563, for which we just committed a fix on master. I'll merge this here, even though the next release will probably be 3.x right away.
Thanks again, and sorry that it took us that long! 😃 🍰


Reduce allocations when looking up proc macro decl

libserde_derive has about 21K symbols on Linux. It's not much, but let's not be wasteful avoid the allocations anyway.
r? @edwin0cheng

LGTM, thanks.
bors r+


chore: Brings in the current rendering tools to the react package

This brings our custom renderers to the ui-extensions-react package rather than having them in yet another package. This will allow us to keep all our react components together as well as making it easier to upgrade dependencies (like reactist).

or once you mark as Ready for review?

Once it's ready. There are still a couple of issues I'm having with consuming the amalgamated package.


Support dynamic thread initialization

For the C++ bindings, it would be nice to avoid the overhead of repeatedly invoking WTF_THREAD_ENABLE in situations where the identity of individual threads is not directly exposed to the code being instrumented, or where client code otherwise has no practical way to ensure that WTF_THREAD_ENABLE is called only once per thread in some thread pool.

it's not exactly what you requested but it might fit your needs https://github.com/google/tracing-framework/pull/579


⚠ SceneTime has degraded performance

In 3fe4849, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1125 ms

Resolved: SceneTime performance has improved in 57b4944 after 6 minutes.


While working with storage policies, I noticed hardcoding the UUID in the policy worked but matching the auth.uid() with the user ID always fails.

Bug report
I'm working on creating storage policies that allow users to insert, update, and delete items if their user ID is the same as the folder name. Most of this was given from the storage policy templates. The issue is this doesn't work. If I hard-code the UUID, it will work. Example:
Insert, update, and delete policy. This fails.
((bucket_id = 'avatars'::text) AND ((auth.uid())::text = (storage.foldername(name))[1]))

Returns:
StorageError(statusCode: "403", message: "new row violates row-level security policy", error: "Unauthorized")

Now if I update the policy to a hardcoded UUID like so, it works:
(bucket_id = 'avatars'::text) AND ( '5714F7D7-108B-4D9C-8945-8707075845B0'::text) = ((storage.foldername(name))[1])

This is the function that I'm using to handle my avatar uploads:
    func uploadUserAvatar(image: PhotosPickerItem) async throws -> () {
        guard let imageData = try await image.loadTransferable(type: Data.self) else { return }

        let userId = try await supabaseClient.auth.session.user.id

        print(userId.uuidString)

        let filePath = "\(userId.uuidString)/avatar.jpeg"

        try await supabaseClient.storage
            .from("avatars")
            .upload(
                path: filePath,
                file: imageData,
                options: FileOptions(contentType: "image/jpeg", upsert: false)
            )
    }

To summarize, even though I've verified that the UUID is the matching UUID on the auth table. When working with storage policies it seems like there is something wrong when auth.uid() is being checked on the database storage side or what is being sent back from the session.
Edit: I must also point out this is the case with upsert being false. If upsert is true, this will fail regardless of the two policies I shared up there. Separate issue but hopefully identifying the issue here will help solve the upsert issue as well.

I did some testing by creating a React Native application with the JavaScript Client and the same storage policies. Everything works as expected.

Hi @mypalvikram thanks for opening this issue, I'll investigate.

Hey @mypalvikram I did a few tests and I think I found the issue, I hope it is the same for your case.
Try using the following RLS policy:
create policy "Give users access to own folder" on storage.objects
  for select to authenticated
    using (bucket_id = 'avatars'
      and lower(auth.uid()::text) = lower((storage.foldername(name))[1]));

Notice it is applying the lower function to the user id, which is needed because Swift UUID is uppercased, and Postgres is lowercased, so you need to standardize it.
Or, you should lowercase the user id when creating the file path, as:
let filePath = "\(userId.uuidString.lowercased())/avatar.jpeg"

Can you try one of those and let me know if it fixes your issue?


How to get the same results presented in Table 3?

Thanks for releasing the code and data. This work is really amazing.
I'm trying to get identical results with Table 3 in the paper (https://arxiv.org/pdf/2102.01017.pdf). I run run_lm_consistent.py with --baseline or Roberta-base models, then average the "lama_acc", "consistency", "lama_group_acc" metrics over relations, the results are:
reproduce with roberta-base

reproduce
average over 38 relations
average over  31 N-1 relations

in paper
roberta-base

lama_acc
0.356008
0.387121

accuracy
39

lama_group_acc
0.152222
0.164011

accuracy&consistency
16.4

consistency
0.506783
0.520455

consistency
52.1

reproduce with --baseline

reproduce
average over  38 relations
average over  31 N-1 relations

in paper
majority

lama_acc
0.24693
0.227869

accuracy
23.1

lama_group_acc
0.24693
0.227869

accuracy&consistency
23.1

consistency
1
1

consistency
100

I place the reproduction results on the left side and the result from the paper on the right side.
I got almost the same "consistency" with Table 3 by averaging over 31 relations. But the "accuracy" metrics are slightly different.
How can I get the same probing results with the paper for the baseline models? Do I miss something in the procedure? Thanks for your help.

HI @woqucc!
Thanks for your interest. I'm so sorry I missed this question, I'm not sure what happened.
How exactly did you average the relation results?
Also, did you use the 31 relations that are reported here?


put wasm behind a flag, default to js only worker

not actually sure we want this for 0.1.0

Why should it be behind a flag? With #69 we can detect if the project is using a wasm binary and handle it accordingly.


Add app store badges

fixed in https://github.com/inttter/md-badges/commit/db5ceb5764806e5409644a42a90c8499864161a6


cannot run bmp as a service

I'm trying to setup BMP for a client that will run as a service but it appears that the default ConsoleHandler is blocking the startup (or something) as when I start it by hand it will still spew out onto the console at the default of INFO or if I bump it to WARNING it just sits there. Managed installs [in this case via Chef] just hang or timeout as a result.
Here is the init script I am using.
#!/bin/sh

### BEGIN INIT INFO
# Provides:          browsermob-proxy
# Required-Start:    $local_fs $remote_fs $network $time $named
# Should-Start:      $time
# Required-Stop:     $local_fs $remote_fs $network $time $named
# Should-Stop:       $time
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: Browsermob Proxy
# Description:       Browsermob Proxy
### END INIT INFO

BROWSERMOB_PID_FILE="/var/run/browsermob.pid"

BROWSERMOB_USER="browsermob"

# Source function library.
. /etc/init.d/functions

# Search usable Java. We do this because various reports indicated
# that /usr/bin/java may not always point to Java >= 1.6
# see http://www.nabble.com/guinea-pigs-wanted-----Hudson-RPM-for-RedHat-Linux-td25673707.html
candidates="
/etc/alternatives/java
/usr/lib/jvm/java-1.6.0/bin/java
/usr/lib/jvm/jre-1.6.0/bin/java
/usr/lib/jvm/java-1.7.0/bin/java
/usr/lib/jvm/jre-1.7.0/bin/java
/usr/lib/jvm/java-1.8.0/bin/java
/usr/lib/jvm/jre-1.8.0/bin/java
/usr/bin/java
"
for candidate in $candidates
do
  [ -x "$BROWSERMOB_JAVA_CMD" ] && break
  BROWSERMOB_JAVA_CMD="$candidate"
done

CLASSPATH="/usr/local/browsermob-proxy/*"

JVM_OPTS=""

JAVA_CMD="$BROWSERMOB_JAVA_CMD $JVM_OPTS -cp \"$CLASSPATH\" -Dapp.name=browsermob-proxy net.lightbody.bmp.proxy.Main"

PARAMS="-port 9090"

RETVAL=0

case "$1" in
    start)
        cd /usr/local/browsermob-proxy
        echo -n "Starting the Browsermob Proxy "
        daemon --user "$BROWSERMOB_USER" --pidfile "$BROWSERMOB_PID_FILE" $JAVA_CMD $PARAMS > /dev/null
        RETVAL=$?
        if [ $RETVAL = 0 ]; then
            success
            echo > "$BROWSERMOB_PID_FILE"  # just in case we fail to find it
            MY_SESSION_ID=`/bin/ps h -o sess -p $$`
            # get PID
            /bin/ps hww -u "$BROWSERMOB_USER" -o sess,ppid,pid,cmd | \
            while read sess ppid pid cmd; do
                [ "$ppid" = 1 ] || continue
                # this test doesn't work because Jenkins sets a new Session ID
                # [ "$sess" = "$MY_SESSION_ID" ] || continue
                echo "$cmd" | grep $BROWSERMOB_JAR > /dev/null
                [ $? = 0 ] || continue
                # found a PID
                echo $pid > "$BROWSERMOB_PID_FILE"
            done
        else
            failure
        fi
        echo
        ;;
    stop)
        echo -n "Shutting down the Browsermob Proxy "
        killproc browsermob-proxy
        RETVAL=$?
        echo
        ;;
    try-restart|condrestart)
        if test "$1" = "condrestart"; then
                echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
                $0 restart
        else
                : # Not running is not a failure.
        fi
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    force-reload)
        echo -n "Reload service Browsermob-proxy "
        $0 try-restart
        ;;
    reload)
        $0 restart
        ;;
    status)
        status browsermob-proxy
        RETVAL=$?
        ;;
    *)
        echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
        exit 1
        ;;
esac
exit $RETVAL

I don't know much about Windows shell scripts or running as a service, so I'm afraid I won't be of much help here. If logging to the console is the problem, you can adjust the logging settings in the bmp-logging.yaml file to write to a file, or to discard output if you prefer.
Can you paste the console output up to the point where it hangs? Or perhaps attach to the BMP service with a Java debugger and take a stack dump?

I'll close this for now, but feel free to reopen if you still have questions.


Allow changing the default screen mode

Is your feature request related to a problem? Please describe.
Most of the time i do not use the images and volumes panel and is unneeded information for me, So It would be great if i could set the default screen mode.
Describe the solution you'd like
a configuration option such as
gui:
   screenMode: half
# options should also include normal,half,full

Describe alternatives you've considered
An alternative improvement could be being able to toggle panels

Works for me. This should be easy to implement: just needs a new config key here and then we need to make use of that when the gui is first opened here and then we gotta update the config doc with the default value here
Would you be up to raise a PR for this @Rdkang ?

Yes, thank you for the helpful links.
I will try to implement it this weekend

Works for me. This should be easy to implement: just needs a new config key here and then we need to make use of that when the gui is first opened here and then we gotta update the config doc with the default value here
Would you be up to raise a PR for this @Rdkang ?

Yes, thank you for the helpful links.
I will try to implement it this weekend

Awesome, let me know if you run into any issues.
Also I'll re-open this until the issue is complete

gui:
screenMode: half
options should also include normal,half,full
what is going to be the behaviour for Normal, Half and Full
Let me try to get this fixed :)

Let me try to get this fixed :)

Thank you @c0dehu1k so much for your interest in helping! I wanted to let you know that I've already implemented the code in #421 :).
I've been using this code for the past six months and it's been working flawlessly.
Right now, I'm just waiting for @jesseduffield to review and accept the pull request #421.

Super, Thank you @Rdkang for informing me!!
Let me look for another one ;)


refactor ConsumerMetadataReq/Resp -> FindCoordinatorReq/Resp

As part of KIP-98 and for the impl of the transactional producer the GroupCoordinatorRequest/ConsumerMetadataRequest has been renamed FindCoordinatorRequest and now serves the dual purpose of both looking up consumer group and transaction coordinator.
This PR moves the logic to FindCoordinatorRequest, transitions getConsumerMetadata to use FindCoordinatorRequest, and provides transparent backwards compatibility for the ConsumerMetadataRequest.

Thanks! Sorry I kind of forgot about this PR for a while.


Add sampled traces metrics

A feature request to add sampled traces counter metric.
The sampled counter for traces determines the number of sampled traces send to tracing backend.
With the QPS metrics number, it helps the operator to appropriately set the sampling rate (in case of probability head sampling).
The metric should be exposed per rate configuration e.g. one metric per global rate or multiple if service/route rate is being used https://github.com/istio/istio/issues/12818#issuecomment-535946023.

@objectiser could you elaborate what changes do we need to add to answer this feature request? Thanks!

I have realized that envoy might not be able to tell how many traces were actually sampled - unless it has access to the sampling decision. Some information might be exposed as metrics directly from traces, however I see the value of exposing this metric regardless of tracing vendor.

@dio As @pavolloffay mentions, this knowledge is tracing client specific - however it may be possible to expose this information for some of the providers. So we could just report these metrics where the information is available?


Moving gender identification files from GitLab

Moving id_gender from GL:alexdesiqueira/mothra_models here.

Auto-merging.


feat(TFD-838) add icons for missing components icons

What is the current behavior? (You can also link to an open issue here)
No icons provided for DataPrepDBInput, Replicate and Window components
What is the new behavior?
Icons available for DataPrepDBInput, Replicate and Window components
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[x] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

LGTM.

Pull request test result: success :star:


[docs] add minor branding guidelines to CONTRIBUTING.md

Checklist

[ ] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)

Motivation and Context
This is already enforced by our CI checks:
https://github.com/fastlane/fastlane/blob/ab9fb3249adaddf6c05655891b4d280415dfc84e/fastlane/Fastfile#L585-L607
But it's not documented anywhere (and I also I believe that CI check is not very thorough). This PR just formalizes those guidelines, and it's a starting point for us to improve/shape it better in the future (should there be any other additions).
I wasn't sure where to place this section. Idk if we'd rather have yet another markdown file, like BRANDING.md or something similar? 🤷♂
Testing Steps
Looks like this formatted:

You can preview it here: https://github.com/fastlane/fastlane/blob/rogerluan-branding/CONTRIBUTING.md

Heh, CI checks are working!

Looks like we're gonna need to add an exception to the CI checks, or force merge this PR 👀 any preference? If implementing the exception, it'd probably be an exception on the entire file... Should we move these guidelines to a BRANDING.md or something? 🤷

I like that it's in CONTRIBUTING.md because:

CONTRIBUTING.md is a standard in the OSS community, but I don't think BRANDING.md is (at least I haven't seen any OSS repo with such a file)?
Which also means that it's less likely that people are gonna miss it, because people are more likely to read CONTRIBUTING.md but less likely to think about reading BRANDING.md which is not a common one
Finally, I think nowadays GitHub has some integration with CONTRIBUTING.md, like have the UI automatically suggest new contributors to read the file before creating their first pull request, or detect if an already existing contributor returns back to the project and open a PR after the last time the CONTRIBUTING.md file was changed (i.e. if that's their first PR since the guidelines changes)

So for all those reasons, I'd suggest to keep it in CONTRIBUTING.md like you did there.

I wonder if we might be able to be clever about the CI check to exclude just that section from the markdown when checking, instead of having to disable that the check of the whole CONTRIBUTING.md file. Or maybe detect if the file is CONTRIBUTING.md AND the line being checked starts with - ❌ , then ignore it, something like that?

Fully agree with all your points @AliSoftware 😊
I just pushed some changes lmk if those are good enough 😃
Before and after enabling the "skip" for the branding guidelines:

@getaaron your copy suggestions were much better, thanks! Applied both 😊
@AliSoftware I applied your algo changes and also added some "real" unit tests. I wanted to use rspec and all but I couldn't find a practical way to do it? So I just added a fixture and a basic method in the Fastfile itself 🤷♂ this way we can ensure future iterations won't break the hard work we (you!) did in this PR 😂 lmk if you think there's a better place to place these tests :)

short of implementing the lane as a method in the fastlane gem's lib/ code itself in order to have a spec for it (and then have the lane in the Fastfile call that method)

I thought about this before but it's not ideal since it shouldn't be exposed publicly to fastlane users, it's just an internal tool 😞 do you know of any way to do it like this but not expose it to the lib? 🤔

I thought about this before but it's not ideal since it shouldn't be exposed publicly to fastlane users, it's just an internal tool 😞 do you know of any way to do it like this but not expose it to the lib? 🤔

What about extracting the find_tool_name_formatting_errors method into a dedicated .rb file under helper/, and then then write spec against that? A bit like how it's done for fastlane/helper/plugin_scores_helper.rb and fastlane/spec/helper/plugin_scores_helper_spec.rb?
And then require_relative that file from the Fastfile to call the find_tool_name_formatting_errors method from the lane?

Lemme know if what I implemented is what you had in mind @AliSoftware 😃 alternatively we could write lots of describe / it pairs, it'd provide more information about the test cases (why it should succeed, why it should fail, with more developer comments), but at the same time it sounds like over engineering haha and it would make adding more cases in the future somewhat cumbersome. lmk if you think this is ok as is :)

Interesting, AppVeyor is the only env where this is crashing:

All others, which run on linux and macOS, in diff Ruby versions, they're all passing 🤔
Not sure if I should add force_encoding("UTF-8") 🤔 weird issue to begin with

I think I you replace content = File.read(path) with content = File.read(path, mode: 'rb:BOM|UTF-8') that should solve the issue.
That being said, that made me realize that it would be better in terms of memory-footprint to use File.readlines, which reads the file one by one, rather that load the entire file in memory via File.read only to split("\n") and iterate on each line.
So I think it would be better to:

Only pass the path in your initialize but not the content anymore
Switch your loops between the one that loops on tools and the only looping on lines
Replace the loop on lines with File.read lines(path, mode: 'rb:BOM|UTF-8').each |line|

@rogerluan I took the liberty to push 2 commits to implement my suggestions above (using File.readlines + using mode: 'rb:BOM|UTF-8' to indicate the encoding + running scan on " #{line} " to be able to detect formatting errors at start of line). Let me know what you think.

I don't mind at all, thanks for applying these @AliSoftware ! Great catch with inverting the loops, it's definitely more efficient this way (specially wrt the readlines method). Also your 2nd idea (wrapping the line around spaces) was quite neat! 👏
I think we can move forward with this PR now! 🤩

Also thanks for pushing the boundaries here 😉 we're in a much better place now, now just with some formalized branding guidelines, but better tools, test coverage, and we even made our docs more consistent 🚀

Teamwork at its best 🙂
I'll let you the honour of merging the PR if you're all good with it now 😃


fix: catch more update errors

Description

Change to use a conditional (ternary) operator.
Catch more update errors.

Add catching errors in checking update information and notifying.

Related Issue

fix #618

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

どうせなら const doAutoUpdate = store.get('autoUpdate');ごとtry-catchしてみてはどうでしょうか？

I have changed it.


Credits page edit

@kazlauskis as agreed with the team, please can you add the following to the Credits page of the app, I suggest putting it under the Graphics: section after FIT Count logo and before Photos:
App design concepts: Francisco E. Fontúrbel (Pontificia Universidad Católica de Valparaíso)

@kazlauskis could you update us on this - has it been added yet? I think I have updated the app on my phone but this edit is not appearing in the Credits yet.

No, I haven't yet. Even for a trivial update like this, re-uploading the app has some overheads so I was hoping to bundle it up with the Cyprus update. Let me know if I shouldn't wait for it and update it instead.


[BUG] aad-b2c-starter should not use AAD's token endpoint.

In current implementation, aad-bec-starter is using AAD's token end point.
It does not make sense because AAD B2C has it's own token endpoint.
After discuss with @moarychan and @ZhuXiaoBing-cn ,
I got that using AAD's token endpoint is because AAD B2C does not support client credential flow.
But in my understanding, if AAD B2C does not support client credential flow,
aad-b2c-starter should not support client credential flow, instead of using AAD's token endpoint.
Refs:

AAD B2C has it's own endpoints: https://docs.microsoft.com/en-us/azure/active-directory-b2c/tokens-overview#endpoints
AAD B2C does not support client credential flow: https://docs.microsoft.com/en-us/azure/active-directory-b2c/application-types#current-limitations
Current aad-b2c-starter's code is using using AAD's endpoint: https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot-starter-active-directory_3.7.0/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/b2c/AADB2CURL.java#L28
Current aad-b2c-starter's diagram: https://github.com/Azure/azure-sdk-for-java/tree/azure-spring-boot-starter-active-directory_3.7.0/sdk/spring/azure-spring-boot-starter-active-directory-b2c#key-concepts

Close this issue because when GrantType is authorization_code, we do not use B2C endpoints. And B2C starter only supports client_credential and the default authorization_code. we will investigate whether we can deprecate azure-spring-boot-starter-active-directory-b2c.


Adding a label causes breaking changes

When GitHub selects runners, it needs all labels provided by the job to match the labels on the runner.
When this construct provisions runners, it needs all labels on the provider to match the labels on the job.
This 'inversion' can result in issues when making changes to the labels.
Example

A provider is configured with the following labels: ['codebuild']
A repository exists with a job that requests the following labels: ['self-hosted', 'codebuild']
So far, so good

Now, we want to start introducing ARM64 runners, so we create a new provider, and a new label-dimension.

We now have two providers, configured with ['codebuild', 'x86-64'] and ['codebuild', 'arm64']
The repository still exists requesting the following labels: ['self-hosted', 'codebuild']
The orchestrator no longer knows how to route requests for those labels, so it falls into 'Unknown label'.
No runners are provisioned, jobs start queuing up
The repository attempts to resolve this by adding the 'x86-64' label to their job.
PRs that add the label start correctly provisioning runners, but they get picked up by the previously queued jobs, and the PR jobs start queuing.

This feels related to #335, in that resolving that issue would cause different issues for the scenario above. In theory, after making the change to add the new label-dimension, the orchestrator would receive requests for ['self-hosted', 'codebuild'] and would provision runners at random between x86-64 and arm64 runners. This is not likely to be desired behaviour, but is arguably more correct from the perspective of the job saying "I don't care about architecture" than refusing to provision a runner at all.
Another potential resolution could be to document a procedure on how to safely add new labels to an existing suite of providers. Perhaps the Composite Provider mentioned in #335 would work here too

This behaviour was surprising for us too.


Minor: fix mispelling  in pull request template

My spellcheck OCD kicked in while proposing my first change

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide for more details.
Release Notes

/ok-to-test

/test pull-knative-build-pipeline-build-tests

/test pull-knative-build-pipeline-integration-tests

/test pull-knative-build-pipeline-build-tests

This was failed due of some markdownlint errors, i have fixed the one for the .github md files but there is plenty more all around the repos md which is probably better suited for another PR or as we go change,

hm I'm surprised the linting wanted those headings to all be top level :thinking:
Anyway thanks for the fixes @chmouel !! :heart: :D


Move package dependencies to the Godep directory

This helps building consistent packages. No need to run godep restore.
TODOs
[-] Fix build & packaging process
[-] Fix travis
[-] Fix jenkins script
[-] Fix Docker build
[-] Cleanup commits messages

LGTM

@xiaods :)
I need to find time run through some integration test...

being prompt to master branch soon.

Hopefully this should cover most of changes, if you see issues pls submit PR or issue.


Ignore legacy code for closing path

This fixed one of SAP's reported issues. My other pull request also seems to have solved the problem though.
This PR addressed the 'hotfix' strategy we discussed last week.

🥇


[Dynamic Regions] QPS drop form 28k to 1k with workload error code 9005 during one tikv down

Bug Report

What version of TiKV are you using?
./tikv-server -V
TiKV
Release Version:   6.7.0-alpha
Edition:           Community
Git Commit Hash:   192dff638d05724759e3dee642639a86b20e4565
Git Commit Branch: heads/refs/tags/v6.7.0-alpha
UTC Build Time:    2023-02-28 09:44:19
Rust Version:      rustc 1.67.0-nightly (96ddd32c4 2022-11-14)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release
What operating system and CPU are you using?
8c/16g
Steps to reproduce
1、run tpcc
go-tpc tpcc run -D tpcc --host tc-tidb.glh-master-2s274 -P4000 --warehouses 1000 -T 64 --ignore-error '2013,1213,1105,1205,8022,8028,9004,9007,1062' --password ''"
2、inject one tikv down for 10m
What did you expect?
qps can recover within 2min
What did happened?
logs：http://minio.pingcap.net:38888/buckets/test-infra-testground/browse/YXJjaGl2ZS9nbGgtbWFzdGVyLTJzMjc0
clinic：https://clinic.pingcap.com.cn/portal/#/orgs/31/clusters/7205420345768410023?from=1677663000&to=1677664550
QPS drop form 28k to 1k during inject one tikv down

/type bug
/severity critical
/assign tonyxuqqi

/assign SpadeA-Tang

cluster is unavailable after this issue occurrence even if the injected failure is recovered，report error [always

Should be fixed by #14275

The cause of this issue is that there was a race condition between registering mailbox and scheduling some ticks including raft tick (it has been fixed by #14275). The race condition means some peers may not schedule raft tick successfully as the mailbox has not been registered at that time. Some raft processes will not be proceeded without raft tick including election, so after they recognize a leader, they will be in lease status forever (self.leader != INVALID_ID && self.election_elapsed < self.election_timeout). Now, if the node of their leader restarts, their pre-leader will start to compaign after some while, but the votes will be rejected by them (in lease status). So two peers of the same region falling in this condition will lead the region unavailable forever just like this.


Exclude Header in the GameView, WaitingArea and EndGameView in order for the displaying to be better and to simplify the leaving procedure

e50e61e1208b3819260fb7852669a9c0ce41fb27


Button updates

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Button styles are outdated.
Fixes: N/A
What is the new behavior?
Update and clean up button styles. Enforce WCAG guidelines for buttons.
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@xelaint a27860eafb76682b4c760a13a99d9112d0a2afff covers way too many things, can you split it apart into smaller more consumable chunks?

@damienwebdev tried my best to split them into individual button types, ready for review.


Plugin started a full index even though it was configured not to

Updating the field values to index also re-triggered a full index on this function.

Thank you for bringing this to my attention.  I have fixed the issue and submitted the updated extension to the Firebase team.

The v1.1.2 has been released with the fix.


Minutor won't compile with gcc 10.1.0.

This is the returned error
usr/bin/ld: properties.o: in function `Properties::Properties(QWidget*)':
properties.cpp:(.text+0x37d): undefined reference to `PropertieTreeCreator::PropertieTreeCreator()'
collect2: error: ld returned 1 exit status

The first faulty commit is ac6ef8a4ce4eecae9de677d32b8946f9e931aec1
which indeed modifies properties.cpp and propertietreecreator.cpp.
If other information is required just ask me, I'll be happy to provide it.

@cre4ture any clue what is causing this?
With other compilers it is working...

I patiently compiled gcc 8.4.0 and I was able to compile Minutor with that.

Which OS do you use?
Or asked differently, which OS provides GCC 10.1.0 as default compiler?

My OS is Arch Linux. I think it can happen even with other rolling release distributions.

@EtlamGit considering that the mentioned functions are templated I guess it can be solved by moving the implemenation to the header and declare them as inline. I don't know why the behaviour of the gcc should have changed with version 10 in this regards but one could give a try.
Especially the hint from afontenot makes me confident that this might help. As he removed the calls to that functions (ParseIterable, ParseList) from properties.cpp to make it work. Even though there are also calls to them in the propertietreecreator.cpp. Maybe the reason is that the template implementations are withing this propertietreecreator.cpp.
I just created a pull request (#232) because even when it will not help its a cleaner way of dealing with this template implementations


npm still shows a latest version of 0.2.0 for jquery-csv

Please run npm publish and update the version number.  npm is showing 0.2.0 for jquery-csv when it should be 0.8.2.

That was bizarre, 'npm publish' stated that 0.8.1 was published but the npm website only displayed 0.2.
Anyway. 0.8.2 is published now.


Browse results contain withdrawn/private Items for admin users

Describe the bug
Withdrawn/private Items are shown in browse when logged in as a (comm/coll) admin.
To Reproduce
Steps to reproduce the behavior:

Log in as an admin user
Find or set up a Collection with at least one withdrawn/private Item
Browse the Collection

The withdrawn/private Item will be visible

Expected behavior
Withdrawn/private Items should only be shown in administrative search, even for admin users.
Proposed approach
The same issue was recently reported for search, and it was fixed by adjusting the discovery configurations.
We should adjust BrowseEngine & related classes to include the filter queries from the Community/Collection's configuration so that browse results match up with search results again.
Related work
#8479
#8488

@tdonohue Atmire would like to claim this issue; it should take about 8h to fix

@ybnd : Sounds good, thanks!  I'll pull this over to the 7.5 board and add the estimate.  Feel free to work on it for 7.5


HDDS-10367. Fix possible NullPointerException in listKeysLight method

What changes were proposed in this pull request?
Fix possible NullPointerException which can occur in some cases while invoking listKeysLight from OzoneManagerProtocolClientSideTranslatorPB.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10367
How was this patch tested?
This patch is test manually.
Separate epic created to cover testing of hdfs client with S3A protocol: https://issues.apache.org/jira/browse/HDDS-10381

cc @tanvipenumudy

Thanks @ivanzlenko for the patch, @myskov, @sumitagrawl for the review.


Removed 'dockershim' section from link  https://kubernetes.io/docs/co…

A replacement for PR Removed 'dockershim' section from link https://github.com/kubernetes/website/pull/31503 #31503

/hold

This PR is dup with #31520. 😊

This PR should target the dev-1.24 branch.
@shoukathmd please change the target branch
Like @jihoon-seo mentioned, the changes in this PR are also in PR https://github.com/kubernetes/website/pull/31520

This PR is okay to close, since the PR #31520 has been merged.
/close


ide-python features not showing up

I downloaded and enabled every package for ide-python as specified in the doc (atom-ide-ui, atom-ide-debugger-python,ide-python)  and made sure my pyls path is correct.
However, none of the IDE feature shows up when I edit. I quit and start Atom multiple times.
I enabled every function in the atom-ide-ui.

Here's my Developer Tools output:
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>
util.js:1050 Uncaught (in promise) Error: spawn EACCES
    at exports._errnoException (util.js:1050:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:390:9)
    at PythonLanguageClient.startServerProcess (/Users/domore/.atom/packages/ide-python/lib/main.js:48:29)
    at <anonymous>

My pyls path is incorrect.
which pyls gives me the right path.


Remove return type restriction on Tuple.from and Class#cast

Fixes #8842

Invalid, #8842 is not a bug.


Release 2.1.71

On the docket:

[ ] ...

Maybe:

[ ] Decouple PEX runtime interpreter selection from buildtime interpreter selection. #1020

Unlikely / backlog:

[ ] PEX_INHERIT_PATH+default shebangs don't interact well with virtualenvs #1344
[ ] Pex interpreter cache is not upgrade / downgrade safe. #1176
[ ] Provide a better resolve error message for a Platform DistributionTarget when --resolve-local-platforms. #1070
[ ] Remove PEX_PYTHON_PATH from build time interpreter selection. #1075

Split off from "Release 2.1.70 #1638" to make way for a fix for --venv installation of distributions that use *.data/* packaging (#1641).


ESP8266Wifi

Library name: ESP8266Wifi.h
Library description:
Source repository URL: https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

?

Source repository URL:

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFi.h

WiFi module firmware for ESP8266 ?

most recent

I asked if it was a separate library... or WiFi module \ driver
And it seems he is going a separate tool chain, platform ESP8266

it seems to me that your request is simply inappropriate here

Hi @moschmdt,  thanks for posting this request.
Could you please help make it more clear about this request?

I asked if it was a separate library... or WiFi module \ driver
And it seems he is going a separate tool chain, platform ESP8266
it seems to me that your request is simply inappropriate here

As @Voskrese  said above, we don't know what you want us to add now.
Only ESP8266Wifi.h file?

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


[Feature]: Support for migrations rollback

What version of drizzle-orm are you using?
latest
Describe the Bug
Right now, drizzle-kit generates only "up" migrations. Often there is a need for migrations rollback and this. could be useful.

hey, @krzkaczor
we never intended to auto generate down migrations in first place, we believe that you can live a healthy database life with blue green migrations with multiple stages and never have necessity for down migrations. And even if you do - you'll write them on your own.
It would immensely slow down our velocity of development and delivery, game is not worth the candle

It is true that blue green deployments will handle a healthy database but this is a real blocker for development scenarios, this feature will massively enhance DX .

@yuthikasagarage that's quite an illusive perspective, not a single time over the coarse of 7 years of production grade development on dozens of projects we have ever had a benefit of having a down migration and generating and supporting those is an outstanding effort. You can always rollback ts schema and generate migration which would be your down migration btw

Assume you've pushed a new version to production and completed the migrations, and then you discover an issue that can't be fixed right away. Because you need to keep the production server functioning, you revert to a prior commit. However, this would not undo the modifications done to the database, which would result in lemons. So you'd need a mechanism to undo the modifications made to the database and then revert to the previous version. This circumstance may not occur very frequently, but it is really easier to have a plan in place for when it does.
 You don't need to build them if you can undo them.
Having a down migration is helpful, maybe you see otherwise. 👍

Coming from Rails up/down in development allows developers to model the perfect migration going back and forward until all the changes are there.
Without down you need to do the reset manually if I'm not missing something in the docs. Surprised this is the standard here


extendTheme Button _text does not accept fontSize prop

Describe the bug
I'm unable to get fontSize to apply to the Text within a button from baseStyle in the extendTheme functionality.  fontSize does work when passing it through the _text prop on the Button itself in JSX. I tried applying fontWeight and that seems to work.
To Reproduce
Steps to reproduce the behaviour:
Use extendTheme in your project and try to modify the baseStyle of the native base Button element to include the prop _text and within that prop include fontSize: '200px (or whatever value) and see that the fontSize is not applied.
Expected behaviour
fontSize when supplied to a variant or base style of a Button _text property should apply to the text within the Button
CodeSandBox/Snack link
It would be easier for us to debug if you can reproduce the error in a codesandbox link or a snack link. You can use the codesandbox template/snack template.
Screenshots
Example of code that does not work:

Platform

NativeBase version [e.g. 3.0.6]
React Native version 0.64
Expo sdk version 42
node 14.16.1
yarn or npm  6.1

Additional information
I'm using Expo

Having a similar issue both with access text and and with extending the theme on different components.  I also can't seem to extend Toast at all.
  components: {     Button: {       // baseStyle on buttons doesn't seem to work!       baseStyle: {         rounded: "md",         bg: "base.water",         // Doesn't work!         // _text: {         //   color: 'base.primary',         // },         marginLeft: 2,         marginRight: 2,         _disabled: {           opacity: 1,           backgroundColor: "primary.600",           // Doesn't work!           // _text: {           //   color : 'fire.500'           // }         },Toast: {         baseStyle: {           width: "100%",           flex: 1,           margin: 0,         },         variants: {           test: {             backgroundColor: "black",             _text: {               color: "base.white",             },           },         },       },       },

Thanks, @dlombardi for reporting the issue. We'll the current way to update the fontSize of Button using extendTheme will this. As fontSIze declared in size. So it should be overwritten from there.
And we're planning to update the docs to better explain the whole customization and theming of components.

In the meantime, if you're still wondering how the customization works, check out the blog I have written.

Still happening on 3.4.9

This is still happening

Still happening dec 22..

Can confirm still an issue March 2023. I am on version 3.4.28.
The _text {} styling values I set in the theme for the Button component don't get applied

I am still getting the same issue

"native-base": "^3.4.28" .
There are also such problems in this version.


It really should be "setup.sh".

So, here's a README fix.

If you look at the ChatExchange repository, you'll see that the file is really called setp.sh. So this is not a typo, and changing it would make the info inaccurate.

Also see #29.


Updated regular expression

Regular expression needed termination information to only match the correct domains.

Hey @lfrodrigues I've included this in my rewrite branch 6ce0ca0f41a9a6446cf0b51111ed9fec33d4798e I'll update the contributors as well before I merge into master. Thanks again!


Basic Sphinx Documentation

This adds basic Sphinx documentation to the docs path.

uses restructured text for documentation
no Doxygen support yet: this is straightforward to integrate with the Sphinx docs, once we have some Doxygen in our source code

Building the docs is as simple as make html in the docs path.
The output can be viewed in docs/_build/html/index.html.
This PR is designed to get some feedback. How should this be built? Does this look like a decent template for building the documentation on?

Not super happy about the inclusion of the theme boilerplate and binary fonts, to be honest. Is there a way to avoid this? Perhaps using an approach similar to how we pull in gbench?

I agree completely about the boilerplate and fonts.
To generate the documentation locally I think something along the lines of ubench, whereby we check out the style and font information when make docs is run, will work.
How this will work with ReadTheDocs is unclear to me. I was planning to set up the hooks on ReadTheDocs so that our online documentation is automatically rebuilt whenever master is updated. ReadTheDocs will look in the docs path and run conf.py. We have to look at how to get it to access style and font information that isn't in the repository.

Shouldn't @w-klijn have a look at this, since he has some experience with Sphinx?

It would be very good to get feedback from @w-klijn!


Feature request: sub-blocks as question and response, mimic a chat interface

(Maybe this is already possible)
It would be useful if one could use something like the way CMD-J works but have each of the previous sub-blocks get sent to the API as context, so that you could be using Logseq as your chat interface, and this keeping all history of requests and responses in Logseq.
Currently I'm solving this by selecting the multiple blocks, doing CMD-G, selecting "Continue," and then selecting "Insert'.

(and @briansunter if you aren't interested or able to do this, maybe you'd want to hint at how it should be done and I might take a crack at it)


Question:  token is not valid yet

I have problem when login to system with error  (token is not valid yet)  in parsejwttoken function.
how to resolve this problem???
all config in organization and application define is  Casdoor Default

@HRNasr what SDK do you use? Did you try the example code at: https://casdoor.org/docs/how-to-connect/sdk/ ?
Can you provide your code to reproduce the issue? and the demo video?

@HRNasr use latest version Casdoor and casdoor-go-sdk

@HRNasr I don't know how you write your code. But I confirmed these following two examples work:

https://github.com/casbin/casvisor
https://github.com/casdoor/casdoor-go-react-sdk-example

You need to refer your code to these above two projects


[qtbase] fix installed qt.conf

closes #21936

Ouch, the absolute paths, the horror....
Thanks for the fix :)


Packing with Multi-Dimensions and Multi-Bins

Hello,
Do you have reference/demo code for or-tools to solve this?
I have seen some correspondence but not a solution that would save deep diving into this ...
Happy Holidays!

There's an example of multiple knapsacks here:
https://developers.devsite.corp.google.com/optimization/bin/multiple_knapsack
This just has one dimension (weight), but you can add as many as you want.
On Sat, Dec 28, 2019 at 12:02 PM Guy<EMAIL_ADDRESS>wrote:

Hello,
Do you have reference/demo code for or-tools to solve this?
I have seen some correspondence but not a solution that would save deep
diving into this ...
Happy Holidays!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1810?email_source=notifications&email_token=AEC63UMWKNTKNWB5LFYQUTTQ26BDRA5CNFSM4KAPO5W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBICGQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEC63UOE3WMMUFRAFT7BORDQ26BDRANCNFSM4KAPO5WQ
.

That URL should be
https://developers.google.com/optimization/bin/multiple_knapsack.
Jon
On Sat, Dec 28, 2019 at 12:17 PM Paul<EMAIL_ADDRESS>wrote:

There's an example of multiple knapsacks here:
https://developers.devsite.corp.google.com/optimization/bin/multiple_knapsack
This just has one dimension (weight), but you can add as many as you want.
On Sat, Dec 28, 2019 at 12:02 PM Guy<EMAIL_ADDRESS>wrote:

Hello,
Do you have reference/demo code for or-tools to solve this?
I have seen some correspondence but not a solution that would save deep
diving into this ...
Happy Holidays!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/google/or-tools/issues/1810?email_source=notifications&email_token=AEC63UMWKNTKNWB5LFYQUTTQ26BDRA5CNFSM4KAPO5W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBICGQ
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AEC63UOE3WMMUFRAFT7BORDQ26BDRANCNFSM4KAPO5WQ
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1810?email_source=notifications&email_token=ACFCEW5MRZFHKL2246ZFQ43Q26CZJA5CNFSM4KAPO5W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYODFQ#issuecomment-569434518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFCEWZDPO2WKDG3J3Y5SEDQ26CZJANCNFSM4KAPO5WQ
.

Thx.
I earlier looked at the developers site, but I will check if adding dimensions is easy.

So, I should add another dimension/s by duplicating this existing contraint:
solver.MakeRowConstraint(Weight <= data.BinCapacities[j]);

exactly
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 30 déc. 2019 à 15:58, Guy<EMAIL_ADDRESS>a écrit :

So, I should add another dimension/s by duplicating this existing
contraint:
solver.MakeRowConstraint(Weight <= data.BinCapacities[j]);
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1810?email_source=notifications&email_token=ACUPL3M7AMX75K2ZWDMRL5DQ3ID73A5CNFSM4KAPO5W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH2PJ3I#issuecomment-569701613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3LUVXV2VZ7CQUNDMG3Q3ID73ANCNFSM4KAPO5WQ
.


Updated readme to include missing CMAKE param

Added OPENCV_ENABLE_NONFREE for the Cmake config step for OpenCV. If this is not set, OpenCV won't include kinfu as it's patented and therefore this sample would not work at all.

@reneschulte thank you, I assumed the user will read the opencv contrib rgbd module readme  which includes this step. But yes, agree that it will definately make things more clear to add it here too. :) Approved

/azp run


unix: match kqueue and epoll code

Made this PR more for discussion about the kqueue and epoll implementations. They're very similar, but the addition changed location of a check in 42cc412c has caused a is crashing as reported in  https://github.com/nodejs/node/issues/48490. It's unknown why this is happening, and the assert() has been moved to be directly after kevent() to make reasoning easier while debugging the crash. Instead of making the assert() conditional on the state of reset_timeout.
I'm currently trying to replicate the crash in the linked node issue. So far have been unsuccessful. Also, by removing the early return we enforce updating the timestamp. Not sure if that would have been considered a bug.
Then main question is, should timeout never be -1 if nfds == 0?

FWIW, this assert is not new, in the slightest. It was added 11 years ago in
https://github.com/libuv/libuv/commit/1282d64868b9c560c074b9c9630391f3b18ef633#diff-ffb6344253cc173df2da124aba34d6628b0ce9624da423ab89fcbf859a30efc1R144-R147

@vtjnash I'm sorry, you're correct. What I meant was the placement of the test. Before it was located directly after the call to kevent(), which is where I placed it again for a sanity check while I figure out why that node test was crashing.

Yeah, that does not sound possible to me either, unless I misunderstand something about kqueue and sometimes they spuriously return no events?

Also, by removing the early return we enforce updating the timestamp. Not sure if that would have been considered a bug.

Since nfds==0 && timeout==-1 should be an unreachable combo, I don't think that would be considered a bug, just dead code that does make sense to delete as done here.

I meant specifically that the return call there was removed in that case. In any case, it makes sense to me for it to be made an unconditional check again, as it was until fairly recently.

Oh see what you're saying. Added the return back. But that does make me wonder if linux.c should also break early?
@bnoordhuis as of 1c935a34454167b23f8eef7f0f63d7119f0de747 is it necessary anymore to unconditionally run update_timeout, or can it break early like libuv does in kqueue.c?
On the side, been working for a few days now trying to replicate that crash reported in node and haven't been able to. Unfortunately don't have more time to investigate, but if the failure is reported again in the future I'll take another look.

@bnoordhuis You alright with the changes to linux.c?


Description
Can't get App Info when using new Version, it's works when using version 1.0.0
Minimal Reproduction
Steps to reproduce the behaviour:

Use the following code:String path = "/storage/emulated/0/error-log.json";
Catcher2Options debugOptions =
Catcher2Options(SilentReportMode(), [ConsoleHandler()]);

Catcher2Options releaseOptions = Catcher2Options(
SilentReportMode(),
[
  FileHandler(File(path)),
  HttpHandler(
    requestTimeout: const Duration(minutes: 1),
    responseTimeout: const Duration(minutes: 1),
    HttpRequestType.post,
    Uri.parse(
        "https://my-link-to-report.com"),
    enableCustomParameters: true,
  )
],
customParameters: {"myCustomParams": "MyCustomParamsValue"},
);

Catcher2(
  rootWidget: MyApp(),
  debugConfig: debugOptions,
  releaseConfig: releaseOptions);

Exception or Error
Couldn't load application info due to error: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
Expected Behaviour

Screenshots
No response
Additional context
No response
Device
Emulator
OS
Android
Flutter version
3.13.9
catcher_2 version
1.0.4
Checklist

[X] I have read and followed the entire README and it has not provided the solution I need.
[X] I have provided all the information I can.

This is definitely an issue with package_info_plus and not this package. Please report this to them instead.

my bad, i fix that by running flutter clean and then flutter pub get


[Quit Applications] Add restart function

Extension
https://www.raycast.com/mackopes/quit-applications
Description
Would be awesome if the extension can also restart selected process.
An example of Applescript that works:
on run
tell application "[name of application]"
	if its running then
		quit
		delay 0.5
	end if
	activate
end tell
end run

Who will benefit from this feature?
No response
Anything else?
No response

Interesting! Thanks for the snippet, too! I always struggle with the Applescript.
I think this could work. I'd rather check if the app is running in a loop as not all apps will quit in 0.5s, but that's a small modification. I will take a look at this

@mackopes Great! Thanks! 😃


the method web3_clientVersion does not exist/is not available

Going through the Ethereum staking checklist I'm encountering the following error when trying to assert connectivity between the Prysm beacon node and the geth instance.
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://eth1:8545
{"jsonrpc":"2.0","id":67,"error":{"code":-32601,"message":"the method web3_clientVersion does not exist/is not available"}}

any ideas?

Thank you for this report. I've enabled that more broadly across all eth1 client options. This should be in a release MoreSoonerish.


Swagger Spec Validation, swaggerUI serving

Implementing swagger-tools for swaggerUI and swaggerDoc serving.
Swagger spec validation implemented.
closes #2

Closing this pull request to look at a later one with more commits.


mixins not working?

No idea what I'm doing wrong, but none of the plugins I'm using seem to work. Password isn't being hashed and I can create multiple records with the same email.
// The model

const { mixin, Model } = require('objection')

const Password = require('objection-password')()
const Unique = require('objection-unique')({
  fields: [ 'email' ],
  identifiers: [ 'id' ]
})

module.exports = class User extends mixin(Model, [
  Password, Unique
]) {
  static get tableName () {
    return 'users'
  }

  static get jsonSchema () {
    return {
      type: 'object',
      required: [ 'name', 'email', 'password' ],

      properties: {
        id: { type: 'integer' },
        name: { type: 'string', minLength: 1 },
        email: { type: 'string', minLength: 1 },
        password: { type: 'string', minLength: 1 }
      }
    }
  }

  $beforeInsert () {
    this.created_at = new Date().toISOString()
  }

  $beforeUpdate () {
    this.updated_at = new Date().toISOString()
  }
}

// Using it like

const user = await User.query().insert({
  name: 'Dingus',
  email<EMAIL_ADDRESS>  password: 'unodostres'
}).returning('*')

I see nothing wrong with the way you use mixin function which is the only part of this issue that concerns objection. The plugins you use are provided by the community and are not maintained by us. You need to open issues in the plugins' repositories.

Do the plugins work if you use them like this class User extends Password(Unique(Model))?

One thing that may be causing this is that you don't call super in $beforeInsert and $beforeUpdate. You are probably overriding some plugin code.

@koskimas  suggested code works amazing. Internal function calls are been overwrite. Same problem, same solution.


Add boost.podspec speed up download time & reduce size of the package

Motivation
Speed up download time & reduce size of the boost dependency. This closes https://github.com/facebook/react-native/issues/16381
Test Plan

Install react-native via Cocoapods (or move a helloWorld react-native application over to use Cocoapods for dependency management)
Add CxxBridge instead of BatchedBridge to your Podfile
run pod install
run react-native run-ios

Release Notes
[IOS] [FEATURE] [third-party-podspecs] - added boost.podspec

this should be ready to go, I'm not sure whom to ping regarding the review.

Ok, got a comment from @mhorowitz, he is super busy with an important project.
I'll just paste here:
"... looks like they're trying to make the cocoapods integration use the same subset of boost that the standard android and ios OSS builds use.  If it's the same version, and it actually works, I don't see why not."
So let's land and if anything gets broken we'll revert

The failed CI seems unrelated, ci/circleci: test-objc-ios passes

hi! are there any news on this? are you referring to the public react - native 's project master?


Advice for adding 2023 Escape (CAN-FD/Q4)?

The 2023 Escape is still considered MK4 but had a complete electronics revamp to CAN-FD. Therefore, I think (with my limited knowledge) the only way to add support for it is to treat it as a new model (ex: 23_ESCAPE_MK4_23REFRESH)
Originally using sunnypilot, I'm able to select the Mach-E model (as that's CAN-FD) and it works about 96% of the time. The other 4% of the time I get Controls Lagging & Controls Mismatch errors.
I've added my car model to my fork but I still get errors so I'm running currently as a Mach-E. Any advice would be much appreciated.
I will install this fork and report back info in this issue.
My fingerprints file:
  CAR.FORD_ESCAPE_MK4_23REFRESH: {
    (Ecu.eps, 0x730, None): [
      b'PZ11-14D003-EA\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
    ],
    (Ecu.abs, 0x760, None): [
      b'PZ1C-2D053-EJ\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
    ],
    (Ecu.fwdRadar, 0x764, None): [
      b'ML3T-14D049-AL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
    ],
    (Ecu.fwdCamera, 0x706, None): [
      b'PJ6T-14H102-ABL\x00\x00\x00\x00\x00\x00\x00\x00\x00',
    ],
  },

My values file:
  FORD_ESCAPE_MK4_23REFRESH = FordCANFDPlatformConfig(
    [
      FordCarDocs("Ford Escape 2023-24", hybrid=True, plug_in_hybrid=True),
      FordCarDocs("Ford Kuga 2023-24", "Adaptive Cruise Control with Lane Centering", hybrid=True, plug_in_hybrid=True),
    ],
    CarSpecs(mass=1750, wheelbase=2.71, steerRatio=16.7), #TODO check if steering ratio changed between refreshes
  )

My Window Sticker (REDACTED)

Ford for now can't make turns with a radius smaller 50m.
I took the thing that happened around seconds 45, in this screenshot you can see the 1st graph that there are 2 spots where the graph shows  0 or 1, with very small variation, the in the 2nd graph how linear goes down and up. This is the CAN message sent over to the car. You intervened close to the end of this interval because you were about to hit the mailbox.

Another view of the same section:
1st graph the orange line is what curvature OP is asking and red is what OP is sending to the car. This tells me that OP knows that it needs more curvature, but because the safety limits imposed by OP for Fords, the speed at which the curvature is changing, curvature change rate, is reaching the OP allowed limit. There are multiple places that add this type of limitation so I can't really pinpoint this code does this, but even if I could, I would not recommend changing those limits.

At a high level review, I think you are hitting the limit, curvature range is -0.02 to 0.02, in the graph below you can see that you are switching from one extreme to another one withing 20 seconds. OP is trying to keep up with the turns, but it can't keep up with the required curvature change rate.

Your car is not the only one that has this issue, it's all Fords. With only this single signal it should work fine at higher speeds and less curvy area.
I took a look at to see what is actually the "Controls Lagging" error, and based on what I see is that the OP can't run at the the desired speed, in this case 100Hz. When it drops under 90% of desired rate, you see that message - this is more of a warning, and clears itself. I looked at the PJ logs and it seems like something got stuck for a split 26.942 and 27.093, but I can't say what the device was doing.

I think you noticed that I used the "Integral", which is actually the "Derivative" to detect the change rate of a signal - I expect it to be close to 0 if the change rate is similar, like counting the seconds, if I see a jump/outlier the issue pops-up - like missing log messages -> probably process hung, or when the curvature send to the car over CAN was capped.
The issues I looked at, are not porting issues, the steer limit are normal messages in the neighborhoods at low speed, and the controls lagging is a cause of concern, but because it recovers, it's not too big, but I don't have the required knowledge to debug it further.


Inabily to refer to other jsonschema

Hello,
I am trying to convert jsonschema to pojo via maven plugin.
I've encountered a problem. My generated jsonschema has references to some other module to other json schema. When I try to generate from json schema to POJO, this references are included in the class file and they are not refered to. For example, I have my own type (enum) 'Boolean', this type is generated into POJO in other module, but when I generate my class, this enum is included at the back of the file. I'd like to refer to the Boolean.java in the other module and not include it in the same file. Is it possible? Also, this file needs to be in the same directory for some reason. I've tried
 external.json this.json .
Thank u for help
Thomasator

"Boolean" is not a valid type, use "boolean" instead."Boolean" will be treated as a customized type, and lead to creating a new type.

For example in the jsonschema the reference looks like this "person" : { "$ref" : "external_jsongen.json#/definitions/Person" }, the custum Boolean is needed for my app to work, there are more complex types too.

I tried some solutions manually, and all it needs is to add include of the java classes for Example 'include com.example.external_module.Person'.

Are you able to edit the schema like this:
{ "existingJavaType" : "com.example.external_module.Person" }

?

Thanks for the response. It works, that is true, but its not the best solution.
I also still need to have the external.json in the same directory. Is there a work around that?

@joelittlejohn
I've encountred another problem. The solution u mentioned above works for non basic types (enums ...), but if I have "$ref" : "external.json#/definitions/myString" reference to string or int for example, it does not work, because the basic types aren't generated into java classes. Is there some solution for that?


Different evaluation result

I used the raw result data and following the evaluation step to evaluate it on VOT2019, but I only got result: Accuracy=0.596, Robustness=0.396, EAO=0.322, which is a little worse than the result in the paper. Maybe I missed something?

It may be caused by different evaluation environment, you can try to use VOT2019 benchmark to evaluate.

It may be caused by different evaluation environment, you can try to use VOT2019 benchmark to evaluate.

It may be caused by different evaluation environment, you can try to use VOT2019 benchmark to evaluate.

OK. Are the results presented in paper evaluated by the VOT2019 benchmark tool?

Yes.


SW-5264 Backfill map history for existing sites

Insert planting site, zone, and subzone history records for existing sites created
before we started tracking map edit history.

#1931  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite


Enable SSL termination at collector

It would be sweet to auto-rotate letsencrypt or something, so SSL termination at the collector is possible.

idkkkkkkk about this. it's pretty easy to use an ingress controller or an nginx or something.....

yeah, I'm closing for now.


TCP discovery server

After PR #93, Router's TCP Discovery Server was failing.
FastDDS currently does not support discovery server's server to have a metatraffic locator with null logical port.
With this PR, logical port will get physical port value. This is only applied to DiscoveryServerParticipant.

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 34.18%. Comparing base (708b48b) to head (602d9f9).

Files
Patch %
Lines

...pp/participant/rtps/DiscoveryServerParticipant.cpp
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
- Coverage   34.20%   34.18%   -0.03%
==========================================
  Files         154      154
  Lines        7782     7781       -1
  Branches     3466     3465       -1
==========================================
- Hits         2662     2660       -2
  Misses       3230     3230
- Partials     1890     1891       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Version bump to 3.5.2

This includes fixes for CDAP-7232 and CDAP-7233

👍 lgtm

Merging this since it's just a version bump, rather than waiting for Travis.


Correct usage of param type in implicit not found msg for Twiddler

The Twiddler type represents a mapping from an HList to an associated case class type with the same structure, and thus in the inductive implicit resolutions the 'A' type parameter and 'Out' type of Twiddler both represent HLists at given points, in the the evidence implicit parameter referenced in the gmap/gcontramap/gimap functions, the Twiddler.Aux is used of the form Twitter.Aux[Target, Source] (e.g., ev: Twiddler.Aux[B, A]) and thus the 'A' type parameter in Twiddler represents the Target from the point of view of the user of this API, so the implicit not found message should probably reflect this.  I noticed this when I had my source twiddler list structure wrong and first saw the message.   Of course this may not always be the case depending on when the resolution bails on a failure?  In which case the message could be made more ambiguous in terms of the role of 'A'?

Codecov Report

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

@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   83.85%   83.85%
=======================================
  Files         107      107
  Lines        1251     1251
  Branches       22       22
=======================================
  Hits         1049     1049
  Misses        202      202

Impacted Files
Coverage Δ

modules/core/src/main/scala/util/Twiddler.scala
100.00% <ø> (ø)

Continue to review full report at Codecov.

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

Great catch, thanks!

thanks!  and thanks much for the lib - it's great!


ARROW-3469: [Gandiva] Add gandiva travis OSX entry

@pravindra @pitrou @kszucs @xhochy we don't have to do it in this PR, but I would like to propose the following:

Split the current C++ build into 2 builds: one for C++ and another for Python
Test all C++ including Gandiva in a single CI entry
Ensure that code coverage data is uploaded consistently

Does this sound good? If so, let's create JIRA issues to capture the work

On Oct 16, 2018, at 12:27 AM, Wes McKinney<EMAIL_ADDRESS>wrote:
@pravindra https://github.com/pravindra @pitrou https://github.com/pitrou @kszucs https://github.com/kszucs @xhochy https://github.com/xhochy we don't have to do it in this PR, but I would like to propose the following:
Split the current C++ build into 2 builds: one for C++ and another for Python
Test all C++ including Gandiva in a single CI entry
Ensure that code coverage data is uploaded consistently
Does this sound good? If so, let's create JIRA issues to capture the work

Sounds good. Couple of things :

Till we fix ARROW-3501, gandiva can build only with gcc 4.9. Is that ok ?
What should we do for java ? Single CI entry for arrow and gandiva, or different ones ?

The gandiva build for java requires cpp library to be built

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/arrow/pull/2765#issuecomment-429973402, or mute the thread https://github.com/notifications/unsubscribe-auth/AD9_lkOM7qWoVFxznExpJtLdaujhUqQ2ks5ulNqmgaJpZM4Xcytl.

@wesm There are several C++ / Python jobs already. Should they all be split? We might want to cut down on the number of jobs at some point (or perhaps move independent implementations to separate repos).

That sounds reasonable to me. It's a more straightforward way to separate builds - at first I was surprised that there is no python entry in the travis matrix.

perhaps move independent implementations to separate repos

We should discuss this on the mailing list. I am against breaking up the monorepo -- I think that we should scale our process using tools that we develop rather than conforming to the objectively crude affordances of Travis CI and Appveyor. Implementations that are independent now may not be so in the future by the nature of the project -- any implementation could integrate with Gandiva, for example, and that would become much more difficult to develop if the code is fragmented in multiple repositories.

abandoning this request - building a fresh one on top of the changes for ARROW-3472

Closing this PR. will open a fresh one on top of the changes for ARROW-3472.