remove num_choices

https://github.com/OpenSourceEconomics/soepy/blob/1c0b0d640a35b9027cbaca821fa7224e370ae75c/doc/tutorial/toy_model_init_file_1000.yml#L4
This is specific to the model, so why is it included in the specification file? What happens if we specify a different value?

It is very true that this is model specific and the simulation will not run without error for any other number.
I introduced the variable num_choices because I did not like having "the magic" number 3 everywhere in the code where I am referring to num_choices. And I would very much prefer to keep the variable name for reasons of readability. However, I see your point that the ini file might not be the best place to specify  num_choices = 3. Maybe I can add it to the dictionary in the  init_dict_to_attr_dict step, what do you think?

How about simply moving it here
https://github.com/OpenSourceEconomics/soepy/blob/create_covariates_refactor/soepy/python/shared/shared_constants.py
and importing it to them modules where needed?
On Thu, Mar 7, 2019 at 10:08 AM Boryana<EMAIL_ADDRESS>wrote:

It is very true that this is model specific and the simulation will not
run without error for any other number.
I introduced the variable num_choices because I did not like having "the
magic" number 3 everywhere in the code where I am referring to num_choices.
And I would very much prefer to keep the variable name for reasons of
readability. However, I see your point that the ini file might not be the
best place to specify num_choices = 3. Maybe I can add it to the dictionary
in the init_dict_to_attr_dict step, what do you think?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenSourceEconomics/soepy/issues/21#issuecomment-470444605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADcMJwAvBV5gegvHZLYO11WiCeC-ohEDks5vUNcogaJpZM4bh88S
.

--
Philipp Eisenhauer
Economist
Mail<EMAIL_ADDRESS>Web www.eisenhauer.io
Repository https://github.com/peisenha

Resolved by #35


How to remove styling from link

Hello,
I would like to know if it's possible to remove styling from a word in the editor as the user types. The best example of this would be Microsoft Word. I have a video example of what I'm looking for here
Thanks!

Hm this must be a combination of things. A decorator only it cannot be because you must determinate if the link exists or not so it must be a entity.
I'm interested in this too, but it has no has priority. Maybe someone will create a package or know one. But it were really interesting to get a same behaviour like in word. Because decorators only work in the editor itself, it's useless for other type of rendering output.
Some quick brainstorming (same behaviour than in word):

the entity must be editable
on input:
if the input any whitespace (enter, space, tab etc. / by regex)

check if the string from the cursor until the last whitespace kind item (again regex) is matches as a valid url.

when yes: apply a LINK entity on this range.

if the input is a backspace

if yes: check if the character metadata before contains a link entity

if yes: then remove the whole entity from the entity range

prevent the default behaviour (don't remove any character now)

Questions:

it's another good question to put then the url in the entity itself, because you must update it too when the user modify the entity range.

Hint:

It makes sense to implement this as a plugin (draft-js-plugin project) - because it's then reusable and your component which contains the draft.js editor stays more clean.
In this package you can look how to detect a link - however it contains just the decorator - but look at the packages it uses: https://www.draft-js-plugins.com/plugin/linkify

i just found this issue, this is the exact same result im looking for. Is there any updates on this?


[WFLY-9946] The JSON-B implementation should export services and expo…

…rted to deployments.
https://issues.jboss.org/browse/WFLY-9946

Shouldn't the eclipse module just be added to the deployment via a DUP, rather than the API having an explicit dependency on it?

Either way would really work. I thought we generally tried to only add the API module in the DUP, but I can change it in either place.

In general we try and avoid exports, as it gives more flexibility. With exports in use like this we are tied to our implementation. If a dependency is added via a DUP you should be able to exclude our implementation and include a different one.

That actually makes a lot of sense. I'll update the PR to explicitly add the implementation.


The model 'RWGPTQForCausalLM' is not supported for

Describe the bug
For some reason, the pipeline is not supported with the tokenized and the AutoGPTQForCausalLM model
Hardware details
On a Google Colab free version (with a tesla t4)
Software version
transformers==4.30.1
torch==2.0.1+cu118
auto-gpt==0.2.2
einops==0.6.1
To Reproduce
Steps to reproduce the behavior:
Install dependencies
!pip install auto-gptq
!pip install einops

import torch
from transformers import AutoTokenizer, TextGenerationPipeline
from auto_gptq import AutoGPTQForCausalLM

repo_id = "TheBloke/falcon-7b-instruct-GPTQ"
# This model is a 4bit quantized version of Falcon-7B
# This model is much faster to load than the regular Falcon-7B, eveni if you set the load_in_4bit=True option
# because in that case it would load the whole model and quantize it on the notebook, which would take more memory

tokenizer = AutoTokenizer.from_pretrained(repo_id, use_fast=False)

# download quantized model from Hugging Face Hub and load to the first GPU
model = AutoGPTQForCausalLM.from_quantized(repo_id, device="cuda:0", use_safetensors=True, use_triton=False, torch_dtype=torch.float32, trust_remote_code=True)

pipeline = TextGenerationPipeline(model=model, tokenizer=tokenizer)

Expected behavior
The pipeline should work
Error
The model 'RWGPTQForCausalLM' is not supported for . Supported models are ['BartForCausalLM', 'BertLMHeadModel', 'BertGenerationDecoder', 'BigBirdForCausalLM', 'BigBirdPegasusForCausalLM', 'BioGptForCausalLM', 'BlenderbotForCausalLM', 'BlenderbotSmallForCausalLM', 'BloomForCausalLM', 'CamembertForCausalLM', 'CodeGenForCausalLM', 'CpmAntForCausalLM', 'CTRLLMHeadModel', 'Data2VecTextForCausalLM', 'ElectraForCausalLM', 'ErnieForCausalLM', 'GitForCausalLM', 'GPT2LMHeadModel', 'GPT2LMHeadModel', 'GPTBigCodeForCausalLM', 'GPTNeoForCausalLM', 'GPTNeoXForCausalLM', 'GPTNeoXJapaneseForCausalLM', 'GPTJForCausalLM', 'LlamaForCausalLM', 'MarianForCausalLM', 'MBartForCausalLM', 'MegaForCausalLM', 'MegatronBertForCausalLM', 'MvpForCausalLM', 'OpenLlamaForCausalLM', 'OpenAIGPTLMHeadModel', 'OPTForCausalLM', 'PegasusForCausalLM', 'PLBartForCausalLM', 'ProphetNetForCausalLM', 'QDQBertLMHeadModel', 'ReformerModelWithLMHead', 'RemBertForCausalLM', 'RobertaForCausalLM', 'RobertaPreLayerNormForCausalLM', 'RoCBertForCausalLM', 'RoFormerForCausalLM', 'RwkvForCausalLM', 'Speech2Text2ForCausalLM', 'TransfoXLLMHeadModel', 'TrOCRForCausalLM', 'XGLMForCausalLM', 'XLMWithLMHeadModel', 'XLMProphetNetForCausalLM', 'XLMRobertaForCausalLM', 'XLMRobertaXLForCausalLM', 'XLNetLMHeadModel', 'XmodForCausalLM'].[BUG]

This is a known visual issue and not actually a problem.  That error message is spurious and can be ignored.
The pipeline does work, it just prints this message that makes you think it didn't.
The following code shows how you can hide that 'not supported' message:
from transformers import logging
# Prevent printing spurious transformers error when using pipeline with AutoGPTQ
logging.set_verbosity(logging.CRITICAL)

print("*** Pipeline:")
pipe = pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    max_new_tokens=512,
    temperature=0.7,
    top_p=0.95,
    repetition_penalty=1.15
)

print(pipe(prompt_template)[0]['generated_text'])

To clarify, this is actually part of the transformers library's Pipeline type implementation, and has the flawed behaviour of checking from a static list of "supported" type names, instead of using interface inheritance, mixins, or any similar pattern in order to express this capability. As this type inherits behaviours from the CausalLM mixin, this is an upstream bug that should be filed on transformers itself.


CommandSpec is null in constructor

In a command class (abstract class) I have a @Spec field. I have observed, however, that the spec is not injected before the constructor of that command class is run. Therefore, the spec field is null and can not be accessed from the constructor.
All the actual command classes, which inherit from the abstract command class, as well as some non-command classes require information obtained from the command spec. So I want to extract that information in one place.
Is it possible to have the spec injected before the constructor is called or as a constructor parameter? Example:
public MyCommand(@Spec CommandSpec spec) { ... }

I am not sure I understand:
if the constructor is not called yet, the object does not exist yet, so there is no object (yet) to inject the spec into...
Am I missing something?

You are correct. I took a wrong turn here.
What I actually need is a way to run some code after the spec has been injected and before a command is executed. That code requires the spec.
A solution may be something similar to @PostConstruct, so we could annotate a method of a command class with @AfterSpecInjection and Picocli would run it as described above.
Motivation:
For my app I wrote a class (CliPrinter) that prints data nice and pretty on stdout and is used by all my commands.
Options defined in my root command influence the way the printer works and I don't want to provide these options to printer every time it is used. The printer (not a command) should read this information from some place. An after-injection-method would then come in handy to read the global options and store the data at said place for the printer to read.

Thank you for the clarification.
Two ideas:

run your custom code after creating the CommandLine object for the top-level command, but before parsing the arguments. For example:

MyClass myObject = new MyClass(); // spec is not injected yet
CommandLine cmd = new CommandLine(myObject); // spec is now injected

myObject.doStuffWithInjectedSpec(); // do custom stuff

cmd.execute(args); // finally execute the command

set up an execution strategy to do initialization before execution. This method will be invoked after the arguments were successfully parsed:

CommandLine cmd = new CommandLine(new MyClass());
cmd.setExecutionStrategy(new IExecutionStrategy() {
    public int execute(ParseResult parseResult) {
        MyClass myObject = (MyClass) parseResult.commandSpec().userObject();
        // ... do your custom stuff

        return new RunLast().execute(parseResult); // finally, delegate to the default execution strategy
    }
});
cmd.execute(args);

@antimatter84 Did this resolve the issue?

Yes, sorry for the delay.
I went with suggestions number 2 and I am very happy with that.


catch exceptions in handler function and wait until handler completes

This PR adds a try...catch to the template so that any unhandled exceptions are caught and returned as an error instead of the generic error along the lines of event loop error - both task and job queues are empty, but expected operations did not resolveInternal error.
This PR also modifies the template so that there is an event.waitUntill on the handler function so that applications can do some work even after the response is sent.

@tschneidereit I have made the change as discussed.


Make travis start faster

@tomaka should remove also the sudo apt-get, we don't need it right now since we aren't building examples anyway.


Multiple variable contraint

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
2.4.1
Custom Code
No
OS Platform and Distribution
Linux Ubuntu
Mobile device
No response
Python version
3.8.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Based on this [Stackoverflow question](https://stackoverflow.com/questions/68353001/keras-weight-contraints-including-both-bias-and-kernel-matrix-at-the-same-time).

It would be nice to have the possiblilty to apply contraints to multiple variables at the same time. For example, one could apply a maxnorm contraint to a Dense layer that takes into account weigths and biases all together.

Standalone code to reproduce the issue
There are many UX options here. One possibility (but less scalable for other use cases) is to add the parameter `kernel_bias_contraint` to the Dense layer.
A better one would be to let `tf.keras.constraints.Constraint` to receive multiple variables.
Both options are non exclusive.

Relevant log output
No response

@NEGU93  Could you elaborate about your feature and please specify the use cases for this feature. Thank you!

Sure.
Example 1:
The example of StackOverflow, and, what I meant in the phrase:

For example, one could apply a maxnorm contraint to a Dense layer that takes into account weigths and biases all together.

Is that maybe a constraint on the norm for weights and biases separately are not enough. Maybe the bias max norm should be lower if the norm of the weigths is already big.
Example 2
My use case (so, another example), is that I do a Complex-Valued layer by using real and imaginary parts separately and simulating a complex operation. I want to impose contraint on the norm of the absolute value, which is not possible if I don't know both values at the same time when computing the norm.
Basically, the constraint is applied by knowing or using another variable's value. I would therefore like for the constraint to receive and change two variables at the same time. in the weight/bias example the constraint will receive both self.w and self.b and perform maxnorm on the concatenation of both values. In the complex-valued case, it will compute the absolute value, perform maxnorm and change real and imag parts to achieve the needed normalized absolute values.
I hope this is clearer.
Regards,
J Agustin BARRACHINA.

Hello @NEGU93 , thanks for the request. Would you mind providing usage code snippets of the apis you're proposing so it's clearer what the request is here, for the following two options?

There are many UX options here. One possibility (but less scalable for other use cases) is to add the parameter kernel_bias_contraint to the Dense layer.

A better one would be to let tf.keras.constraints.Constraint to receive multiple variables.
Both options are non exclusive.

Giving it some thoughts, does it appear that you'd need both 1) the Dense layer to take kernel_bias_contraint and 2) tf.keras.constraints.Constraint to receive multiple (2 in this case) variables to achieve what you're looking for?
Also, assuming this gets an okay from Keras team to proceed, would you be interested in contributing?

Also, is this possible to achieve this with a custom layer?

@NEGU93 Could you elaborate about your feature and please specify the use cases for this feature. Thank you!

Hi. I stumbled upon this feature request after finding the stack overflow page referenced above.
I am trying to fit a (one neuron) simpleRNN layer, and wanted to constrain the absolute sum of the recurrent and kernel weights to be less than 1. If my understanding is correct, this would ensure stationary (i.e. decaying) predictions/projections for a linear activation function.
I can do this by including a regularization parameter, but it would be good to do this with a constraint. As far as I am aware, this is currently impossible/difficult as mentioned above since constraints work on recurrent and kernels separately.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


 We are still figuring out the root cause and temporarily have to back out the change. We will recommit the change along with the fix after we figure it out. I will keep you in the loop .

I find it very odd to revert this PR. You could pin torcharrow to an older velox version until the issue is fixed.
CC: @mbasmanova @pedroerp

@majetideepak  Apologies for late reply Deepak
1 - Unfortunately we cant pin this to an older version right now . (
2 - I am working with TA team to get better visibility into their systems so that we dont have these problems after things land, so hopefully it shouldnt happen in future.
3. FYI, The problem is caused  by an intermittent segfault in certain machines (we arent sure what the exact root cause is yet, but I am working on it ).
4. I will post all communication regarding this in this Issue going forward : https://github.com/facebookincubator/velox/issues/1753 .
5. Again as posted I hope to have this resolved at the very latest by eow.
Thanks.

@kgpai thanks for the clarification.


OreDictList wgAction

Use of "wgAction" is deprecated. Use mw.config instead.

$wgAction is not actually referenced in that class, so I'm not sure why this would be happening.

Occurs on pages with nothing to do with OreDict. Therefore, it's not us.


tflint: 0.24.0 -> 0.24.1

Motivation for this change
https://github.com/terraform-linters/tflint/releases/tag/v0.24.1
Things done

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

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 111702 run on x86_64-linux 1

1 package built:

tflint


Lookup would require extrapolation at time. When trying 2D Cartographer ROS with a YD Lidar

Hi,
I am trying to Run 2D Cartographer ROS with a YD Lidar. One error is ruining the performance of the move_base node, i.e. improper Robot navigation.
It was working fine before in Ubuntu 14.04. When I upgraded the version to Ubuntu 16.04, I had to recompile my workspaces.
Now when I run the 2D Cartographer ROS with a YD Lidar, I get the following error.
[ WARN] [1554547766.837016521]: W0406 11:49:26.000000 19226 tf_bridge.cc:52] Lookup would require extrapolation at time<PHONE_NUMBER>.814867700, but only time<PHONE_NUMBER>.842371812 is in the buffer, when looking up transform from frame [laser_frame] to frame [base_link]
Thanks in advance !

Hi, I ran into the same issue. Any updates on this?

Hi, i have the same issue. It 's very anoying and there is nothing else about this problem on internet :(

Hi,
I have solved the issue. It is to do with adjusting the pose update frequency, map update frequency, controller frequency parameters in both the move_base node configuration files and cartographer configuration files.

@mahendranicl i understand what you would say but i don't want to find the correct value :( can you give me your lua file please with the value you have change it will really help me i think

and your lidar file if you have change any value i am working on a lidar 7hz

There are more than 3-4 files involved from various nodes. Will try to send

@mahendranicl  thk you a lot i'm on it since 2 days ^^

Hi @mahendranicl
Did I get you right, that solution is to increase a frequency of several topics published?


IPipeReader,IPipeWriter,IPipe version error

i build this project use myget
but  IPipeReader,IPipeWriter,IPipe version error
“IPipe”lost“Reading”
“IPipeWriter”lost“Writing”
“IPipeReader”lost“Reading”
Which version should I use， thanks

you're absolutely right, and that API change has also been a blocker for me
moving this code forward. Maybe @davidfowl knows the status of that?
On 27 Nov 2017 5:51 p.m., "cathy33"<EMAIL_ADDRESS>wrote:

i build this project use myget
but IPipeReader,IPipeWriter,IPipe version error
“IPipe”lost“Reading”
“IPipeWriter”lost“Writing”
“IPipeReader”lost“Reading”
Which version should I use， thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mgravell/Pipelines.WebSockets/issues/6, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AABDsFledeso7QqoOgkQoEhO5cIMdV9dks5s6va-gaJpZM4QsCQ_
.

got it.  Thanks.
By the netgain as game gate.but it don't support net core
So I find this repo.

@cathy33  indeed - this is the moral successor to netgain, but is based on experimental in-flight technologies; it has not yet been updated to the current API surface, because when I tried it couldn't complete due to missing APIs. I'm sure it will get there in time - but at the moment this should be considered an incomplete experiment.

Right, the timeline for pipelines is the 2.1 .NET Core release. There are still quite a few API changes coming so we can decide if we want to use this library to help give feedback, or we could wait it out.

Oh, another huge thing that would help this is that we decoupled the http parser from kestrel so that could be used here instead of writing anything custom. It's also already pipelines based.

@davidfowl  so: if I try to ringfence some time to pick this back up and have another stab - should I be playing with the kestrel code, or the separate lib code? which is going to be most useful?

I think you want to use pieces of kestrel (transport and http parser in particular) without using ASP.NET itself. That will prove that what we have is good. See an example here for using the raw APIs in kestrel (these are subject to change of course):
https://github.com/davidfowl/PlatformLevelTechempower
I would start there and then migrate to the 2.1 APIs from myget.

Thank you for answering my questions.


Deployment

Notes.md
Show a notepad with an HTML thingy in it

MacOS: https://developer.apple.com/account/resources/certificates/list

Done!


Search doesn't work: website errors

When the homepage loads console gets:

Cannot read property 'addEventListener' of null

When I enter anything into search bar console gets:

Cannot read property 'set' of undefined

Both errors come from this JS file: http://caniuse.com/js.php?1500355497
Chrome 59 on Windows 10

Thanks, sorry about that. Should be fixed now.


add registerOptionsRoute param for preflight requests

Problem
finatra doesn't have ability to add options route for preflight requests for CORS.
Those options routes should be added manually, or add all options routes like https://stackoverflow.com/a/40427342
Solution
Add a parameter to automatically create a options route when a route is added.
Result
No need to manually add options routes for preflight requests!

Codecov Report

Merging #477 into develop will decrease coverage by 0.21%.
The diff coverage is 64%.

@@             Coverage Diff             @@
##           develop     #477      +/-   ##
===========================================
- Coverage    93.38%   93.16%   -0.22%
===========================================
  Files          242      242
  Lines         3672     3689      +17
  Branches       299      312      +13
===========================================
+ Hits          3429     3437       +8
- Misses         243      252       +9

Impacted Files
Coverage Δ

.../scala/com/twitter/finatra/http/RouteBuilder.scala
100% <ø> (ø)
:arrow_up:

...main/scala/com/twitter/finatra/http/RouteDSL.scala
87.32% <64%> (-12.68%)
:arrow_down:

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 20bd33a...9d7a217. Read the comment docs.

I think flag would be very useful to improve this, but I don't know how to inject flag in RouteDSL. Can anyone help?

This can cause non-unique route assertion failure.
I want to check if same options route exists in routeBuilders, but it seems member variables in RouteBuilder class are not visible in RouteDSL.
Is there an way to check?

I think flag would be very useful to improve this, but I don't know how to inject flag in RouteDSL. Can anyone help?

It's not possible to use a flag inside of the RouteDSL, as such I don't think this is necessarily the right approach. CORS support is meant to be added via a Filter (and specifically it should be added with beforeRouting=true, see: here).
As such you could also solve this with a filter that catches with beforeRouting=true, no?
Thanks.

Oh, I didn't know about com.twitter.finagle.http.filter.Cors.HttpFilter and beforeRouting=true.
They works fine.
Thanks.


Error for brie-count

Hi
Thank you for the good tool.
I try to run the brie-count. But it returned with some error.
The code is :
brie-count -a /data/BRIE2/AnnoSE/SE.gff3 -s /data/outs/possorted_genome_bam.bam -b /data/outs/filtered_feature_bc_matrix/barcodes.tsv.gz -o out_dir -p 15
the report is:
example head cells:
['AAACAGCCAACTAGGG-1' 'AAACAGCCACCTGCTC-1' 'AAACAGCCAGGCTTCG-1'] ...
^M[BRIE2] loading gene annotations ... ^M[BRIE2] loading gene annotations ... Done.
This is not exon-skipping event: chr4:1003549:1003629:+@chr4:1004012:1003625:+@chr4:1004012:1004112:+!

So, what is the reason for it?
Thank you!

I found I used the wrong gtf file. But I met a new error when I used the SE.gold.gtf.
brie-count -a /data/BRIE2/AnnoSE/SE.gold.gtf -s /data/outs/possorted_genome_bam.bam -b /data/outs/filtered_feature_bc_matrix/barcodes.tsv.gz -o out_dir -p 20
[BRIE2] example head cells:
['AAACAGCCAACTAGGG-1' 'AAACAGCCACCTGCTC-1' 'AAACAGCCAGGCTTCG-1'] ...
^M[BRIE2] loading gene annotations ... ^M[BRIE2] loading gene annotations ... Done.
[BRIE2] counting reads for 12586 genes in 9045 cells with 20 cores...
Can't find references 20 in samFile
Cannot fetch reads in region: None:38902668-38907054
Can't find references 10 in samFile
Cannot fetch reads in region: None:109873367-109877867

I tested both encode.v25 and encode.v27 files.  The results are the same.
Thank you!


App Central - Chronicle integration, change log updated

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[x] Yes, I've run yarn install
[ ] No, does not apply to me

Purpose of this pull request
This pull request...

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions, .clabot
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

@jpipkin1 when you have time, please review this, thank you so much for your help


feature/unify-quantity-types

Resolves #69

Thanks for the contribution :)
Does the rest look ok? Will you have time to finalize the review of the PR?


fix: the compressed package contains multiple duplicate files

duplicate files in the plugin package

tagged 0.4.1, thank you @jostar-y for the fix.


switch between postgis and multitenant engine

in my application I use PostGIS extension with django.contrib.gis.db.backends.postgis engine , that's ok to use django_multitenant.backends.postgresql  just when I want to migrate?

I'm not sure, we haven't tried this library with postgis. There's one open PR that supposedly adds postgis support: https://github.com/citusdata/django-multitenant/pull/68/files
However, since that PR does not contain any tests it was not merged. It might still be helpful to you if you run into any issues though. Feel free to open a new PR (possibly based on the old PR) to solve any issues you run into.

062385

I'm not sure, we haven't tried this library with postgis. There's one open PR that supposedly adds postgis support: https://github.com/citusdata/django-multitenant/pull/68/files
However, since that PR does not contain any tests it was not merged. It might still be helpful to you if you run into any issues though. Feel free to open a new PR (possibly based on the old PR) to solve any issues you run into.

It's working right now

Can someone confirm if there is a need for #68 ?


[SCB-693] registry microservice failed if failed to  get host address

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.02%) to 87.106% when pulling 8c7ac58b70cb8a6e86d5e03ef37d5a1f599946b2 on laijianbin:net into 403af0d71937f44ec8cc6b95ab1a64bd4941e473 on apache:master.

1.amend commit
2.code no problem, but better to :
1)add comment to explain why we need to do like this
2)ut for it.

mt-monster has been committed another PR, so I close this


Governance proposal templates are outdated

Description
There's been some significant changes to the proposal forms on Token but the example templates that are linked to the documents are still using outdated templates.
E.g.
https://docs.vega.xyz/testnet/tutorials/proposals/new-market-proposal
The example template for Token dApp (JSON) still contains title and description as well as timestamps which are now separate fields in the proposal forms as seen in:
https://token.fairground.wtf/governance/propose/new-market
Some fields for the proposals might have also changed since the document was last updated.

Closing as this is not valid. What I think is the issue is that the JSON is not the right structure for the form in Governance, rather than the structure has changed. We'll catch up on what we need to generate for the form, and create a new ticket if it seems like the right way to go.


[jax2tf] jax.random.randint bug

The following code:
import jax
import jax.numpy as jnp
from jax.experimental import jax2tf

@jax.jit
def get_rand(rng):
  return jax.random.randint(rng, (1,), 0, 2)

rng = jax.random.PRNGKey(2)
jax2tf.convert(get_rand)(rng)

results in
InvalidArgumentError: Value for attr 'T' of uint32 is not in the list of allowed values: bfloat16, half, float, double, int32, int64, complex64, complex128
	; NodeDef: {{node Sign}}; Op<name=Sign; signature=x:T -> y:T; attr=T:type,allowed=[DT_BFLOAT16, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_COMPLEX64, DT_COMPLEX128]> [Op:Sign]

It seems that we do not have tests for sign.

The failure is actually happening in rem_p, and which is tested appropriately since #4963.
I think we can close this, WDYT?

Reopening because we have not actually fixed this. We need more support for unsigned arithmetic from TF to make this work.

This has been fixed already


Solidus 3

This project appears abandoned as it has not been updated in some time.  I wanted to open an issue to see if there was anyone left that had any interest in upgrading it to work with current solidus version.  @acreilly

@ViciousMagician I'm using this gem too, it's critical to what I'm working on.

@jeremygpeterson  feel free to send along PR's with any updates

@dhonig Appreciate the opportunity to contribute! Just checking if the project is still active before I dive in. Also, could you shed some light on the process for reviewing and merging pull requests, such as https://github.com/boomerdigital/solidus_flexi_variants/pull/22? Thanks!

@jeremygpeterson You can check out the fork i just pushed up.  I had a local version that works with 3.0.8. never tested beyond that.

Is this linked fork still the latest version? I'm looking into upgrading this extension for use with Solidus 4.

@thijszijlstra This is probably the latest version, what is your use case?  There might be other extensions that are better suited....Otherwise I think there would be others interested in seeing this extension updated.

@dhonig Thanks for your response!
The store sells roofing materials with a variety of customization options.
Insulation Customization:

Values ranging from 3.5 to 10.0. These values in between are fixed, but not every value can be selected for each product.

Length Customization:

Fixed lengths: Some materials are available in fixed lengths ranging from 100 cm to 160 cm in steps of 10 cm.
Variable lengths: Other materials can be cut to any length between 200 cm and 800 cm, accurate to the nearest centimeter. For example, customers can order a piece that is exactly 351 cm long.

Angle Customization:

Cut angles: The angle can be customized from 25 degrees to 60 degrees in steps of 5 degrees. There is also an option to keep the edge uncut at an angle.

Not sure if this extension is the best fit in its current form, maybe I should rewrite this in a more reusable and global solution for Solidus 4. Any tips and/or help is greatly appreciated!

Hi @dhonig, has been a while. I just got back from holidays, do you think that this would fit my use case? If so, I'll start working on the solidus 4 upgrade.


KeyStore does not contain a PrivateKey

Hi!
I'm using your library to generate the pkpass file.
In the creation of the object "signer" PassSigner signer = PassSignerImpl I get the following error:
KeyStore does not contain a PrivateKey with aliases 'ALIAS'
I have declared the object like this:
PassSigner signer = PassSignerImpl
.builder()
.keystore(new FileInputStream("certificates/com.passbook.p12"),"Password")
.alias("ALIAS")
.intermediateCertificate(new FileInputStream("certificates/AppleWWDRCA.cer"))
.build();
Does anyone know that I may be missing?
Thank you.

Hi! I'm using your library to generate the pkpass file. In the creation of the object "signer" PassSigner signer = PassSignerImpl I get the following error: KeyStore does not contain a PrivateKey with aliases 'ALIAS'
I have declared the object like this: PassSigner signer = PassSignerImpl .builder() .keystore(new FileInputStream("certificates/com.passbook.p12"),"Password") .alias("ALIAS") .intermediateCertificate(new FileInputStream("certificates/AppleWWDRCA.cer")) .build();
Does anyone know that I may be missing?
Thank you.


bluez: 5.48 -> 5.49

Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/bluez/versions.
These checks were done:

built on NixOS
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl -V and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl -h and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluetoothctl --help and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btmon -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btmon --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btmon -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btmon --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bccmd -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bccmd --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bccmd -V and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bccmd -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bccmd --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluemoon -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluemoon --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluemoon -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/bluemoon --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/hex2hcd -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/hex2hcd --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/hex2hcd help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/hex2hcd -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/hex2hcd --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/mpris-proxy -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/mpris-proxy --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/mpris-proxy -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/mpris-proxy --version and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btattach -h got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btattach --help got 0 exit code
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btattach -v and found version 5.49
ran /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49/bin/btattach --version and found version 5.49
found 5.49 with grep in /nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49
directory tree listing: https://gist.github.com/29a23518ac04729281c02f4a2e81e310

Success on x86_64-linux (full log)
Attempted: bluez
Partial log (click to expand)
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.test-network-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.example-advertisement-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.monitor-bluetooth-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.simple-player-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.test-adapter-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.test-nap-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.opp-client-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test/test/.test-discovery-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
checking for references to /tmp/nix-build-bluez-5.49.drv-0 in /nix/store/01qwk3dcnx7pfsjnjrsdq92iigisqmvc-bluez-5.49-test...
/nix/store/il6jjsm4s96wn87y7jalbsasnh70f2gx-bluez-5.49

Success on aarch64-linux (full log)
Attempted: bluez
Partial log (click to expand)
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.list-devices-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.test-sap-server-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.simple-agent-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.simple-endpoint-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.test-hfp-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.test-network-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.opp-client-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
/nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test/test/.simple-player-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/14z9xiiwdnks1pivrv2hml9cflwq2iw3-python-2.7.14/bin/python"
checking for references to /build in /nix/store/fp5l8jmvra9xqz13lk3gvzz3548x3xsl-bluez-5.49-test...
/nix/store/ri5aqhsrrd9v0h1kg1x2ip9sjswc7l3k-bluez-5.49

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: bluez
Partial log (click to expand)
Cannot nix-instantiate `bluez' because:
error: while evaluating 'callPackageWith' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13016:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/bluez/default.nix:1:1, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/bluez/default.nix:5:1

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: bluez
Partial log (click to expand)
Cannot nix-instantiate `bluez' because:
error: while evaluating 'callPackageWith' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:12951:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/bluez/default.nix:1:1, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/bluez/default.nix:5:1

Success on aarch64-linux (full log)
Attempted: bluez
Partial log (click to expand)
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.list-devices-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.test-sap-server-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.simple-agent-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.simple-endpoint-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.test-hfp-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.test-network-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.opp-client-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
/nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test/test/.simple-player-wrapped: interpreter directive changed from "/usr/bin/python" to "/nix/store/ycr22pph2f6dyvczcyh8v0x0bd7zqgjb-python-2.7.14/bin/python"
checking for references to /build in /nix/store/1pvdr5j24bb3swaxkv67c00g56fi2vvn-bluez-5.49-test...
/nix/store/iv1889dazj088m8fvamszd1582vcmcbj-bluez-5.49

Failure on x86_64-linux (full log)
Attempted: bluez
Partial log (click to expand)
cannot build derivation '/nix/store/rmzlh17imp6p2zk3hljka67bjybiq6ci-mesa-noglu-17.3.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yz7nmvrsr556v9bdq804xb3iq6fszw5r-libGL-1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/093nabmmara51n1z9k7haa4hynm49vav-cairo-1.14.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8i72f0a77p867mpbz5c6bl33jxdw4822-absolute_gir_path.patch.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/96h4hh54pmn2cp2ywa66b0mzr6zircff-python2.7-pycairo-1.15.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xfpmn9xkg0niw7gbdqjrzbq4blp1nmca-gobject-introspection-1.56.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/j7lmz4knsmm1z5dgq4bqqqmfqjrq3w0c-python2.7-pygobject-3.26.1.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/bxi7s3b6c4q0kbxq4xb4m4hpms061x39-python2.7-dbus-python-1.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/rbs1ykxbb0vgfq9yhbvqax65cinqbmbp-bluez-5.49.drv': 2 dependencies couldn't be built
error: build of '/nix/store/rbs1ykxbb0vgfq9yhbvqax65cinqbmbp-bluez-5.49.drv' failed


cilium, builder: test

took me a moment to realize it was just a draft but LGTM if it passes.

Coverage decreased (-0.02%) to 44.426% when pulling fa1f062988102141e9a4c232924952978b9a828a on pr/builder-shrink into 864990a6017a7c00ae51953f2f6d72d9d000e6f4 on master.

test-me-please

test-me-please


Tracers

Checklist prior to review

[ ] Link to docs PR or issue --
[ ] Link to UI issue or PR --
[ ] Is the issue worked on linked? --
[ ] The PR does not hardcode values that might break projects that depend on kuma (e.g. "kumahq" as a image registry) --
[ ] The PR will work for both Linux and Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
[ ] Unit Tests --
[ ] E2E Tests --
[ ] Manual Universal Tests --
[ ] Manual Kubernetes Tests --
[ ] Do you need to update UPGRADE.md? --
[ ] Does it need to be backported according to the backporting policy? --
[ ] Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

/golden_files

/golden_files


Update quarkus version checks to adapt to new SNAPSHOT versions

See
https://github.com/quarkusio/quarkus/blob/3c8c772dda9ed99674c9d8a6cd9cb4635d1ce5a2/build-parent/pom.xml#L8
and
https://github.com/quarkusio/quarkus/blob/bc0ca288d32ba2df212d8c4a2783c0bb21ca99a1/build-parent/pom.xml#L8
Relates to https://github.com/graalvm/mandrel/issues/501

Consider adding some tests for QuarkusVersion comparisons so that this keeps working. Looks fine to me, though.

I extracted constant versions in constant fields in QuarkusVersion and also introduced tests for the class.
Thanks for the review @jerboaa

I extracted constant versions in constant fields in QuarkusVersion and also introduced tests for the class.

Very nice, thank you!


Fix transformation to string for BOOLEAN and TIMESTAMP

For BOOLEAN and TIMESTAMP (logical types), when reading them as string, we should use the logical type to return true, 2022-02-02 00:00:00.000 instead of the int/long value.
With the fix in BaseTransformFunction, the CAST transform function can be greatly simplified.

Codecov Report

Merging #9287 (0583e84) into master (70ecda4) will decrease coverage by 42.38%.
The diff coverage is 13.88%.

@@              Coverage Diff              @@
##             master    #9287       +/-   ##
=============================================
- Coverage     68.60%   26.22%   -42.39%
+ Complexity     5007       44     -4963
=============================================
  Files          1867     1855       -12
  Lines         99631    99177      -454
  Branches      15150    15104       -46
=============================================
- Hits          68351    26007    -42344
- Misses        26362    70602    +44240
+ Partials       4918     2568     -2350

Flag
Coverage Δ

integration1
26.22% <13.88%> (+0.05%)
:arrow_up:

unittests1
?

unittests2
?

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

 Learn more


Low level I²C access

This is not currently possible using the embedded_hal I²C traits, right?

As a workaround, I tried to provide a buffer to I2C::write_read that's large enough to hold the longest expected response, but then for the slowest conversion mode according to my experiments I'd need to provide at least 512 bytes of buffer size, which is way too much. Also, in faster I²C modes the buffer might need to be much larger. Is this out of scope in the blocking API, @japaric? Might it become possible with the non-blocking API in the future?
For now, I resorted to guestimating a delay and polling, that way I just need a reusable buffer of 3 bytes. But of course it's not as elegant as using the I²C NACK based protocol.

Comment by @japaric (https://github.com/rust-lang-nursery/embedded-wg/issues/39#issuecomment-372102461):

That sounds like something that https://github.com/japaric/embedded-hal/issues/50 might be able to handle.


Implement end-to-end tests

It should be able to launch a few sample applications as well as Frontman itself using Docker Compose, and then run some simple tests to verify that everything works as expected.

Are u thinking sample applications like
https://hub.docker.com/r/tobilg/mini-webserver ?


RnD: 'Farm' Testing - Disconnected Sessions Seem To Be Giving Trouble

Getting occasional errors in the tests and long list of disconnected sessions on server - I think the new approach of Connect/Disconnect is not working - need to explore another option

Done, in next release


Search in primary language only?

What happened?
My site is bilingual, but only primary language pages appear in search results.
Theme version
2.2.3
Hugo version
0.101.0
What browsers are you seeing the problem on?
No response
Relevant Hugo log output
No response

Thanks for the report. I've been able to reproduce this bug. The search is meant to search any articles in the active language but there's a minor URL issue where it's missing the language prefix and so it falls back to only using the primary language. This will be fixed in the next release.


Broken Link To Next Step In src/content/tutorials/en/variables-and-change.mdx

Most appropriate sections of the p5.js website?
Tutorials
What is your operating system?
Windows
Web browser and version
Firefox 129.0.2, Chrome 128.0.6613.114
Actual Behavior
Opening the "Next Step" link within the Variables and Change tutorial opens this webpage and reports a 404.

Expected Behavior
(I think) the link should direct to the Conditionals and Interactivity portion of the tutorial.
Steps to reproduce

Visit https://p5js.org/tutorials/variables-and-change/
Attempt to open the "Next Step" link at the end of the tutorial

Would you like to work on the issue?
Yes

try this
https://bit.ly/4e4zLlq
select the desired compiler in the installer

Thanks @valkyriedimension. This issue is now fixed in #503


Add integration tests for email domain based organization discovery during self-registration feature.

Purpose
$subject
This pr should be merged after all the sub-tasks mentioned in the below related issue are completed
Related issue

https://github.com/wso2/product-is/issues/21195

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12228607971

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12228607971
Status: cancelled

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12228648205

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12228648205
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12249243958

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12249243958
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12251649679

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12251649679
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12366235056

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12366235056
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12367609121
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12370520223

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12370520223
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12385496864

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12385496864
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12386712551

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12386712551
Status: success


Added Android Auto support to Confetti 🏎 🎉

Hello John! 👋
I'm going to speak at Android Makers about Android Auto and I always like to create a sample so attendees can have a codebase to explore and follow along. Well, why not contribute to an already excellent project like Confetti 🙂.
I tried to use the same code conventions that are already in the project, and created the Android Auto project inside androidApp/auto.  I've also added a function to return the venue just so I can have an option to well, navigate directly to The Belfry of Montrouge.
To test the app you just need to install the DHU (Desktop Head Unit). You can find the tutorial here:

https://developer.android.com/training/cars/testing

Ah! In case the app doesn't show up in the emulator, you need to go to the Android Auto app and select:

Developer Settings > Unknown sources

Looking forward to your feedback! And of course, see you in one week 🚀

"I've also added a function to return the venue just so I can have an option to well, navigate directly to The Belfry of Montrouge."
@martinbonnin I think you added location info for venue to backend....not sure if it's exposed to client though...

ah, see that venues info is being retrieved from backend here...

Very very cool! Now we "just" need podcasting functionality to be able to listen to the talks in ~the traffic jams~ road trips :)

@cmota looks like we're getting following error after merging this (it's for release build which I guess we're not doing for PRs)
> Task :androidApp:minifyReleaseWithR8 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':androidApp:minifyReleaseWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
   > Compilation failed to complete

@cmota somewhat related to the above....we publish apps to play store....I'm not sure if it will see anything different with this  now that it supports Android Auto but we can add that as a form factor as well.

@joreilly forgot to mention that you'll need to add Android Auto support on the Google Play Console, it's in the same place where you've added for Android Wear. Since I'm using templates it should be almost direct. Let me check if I can replicate in release to fix this.

It seems I needed to update the proguard file. I've created a new PR to address this:

https://github.com/joreilly/Confetti/pull/636


Dataset and supported files are missing

Hi,
Can you please provide the dataset and supported files, it looks interesting I want to run and check.
Thanks in advance

Hi Sarthak,
It will be very helpful if you provide a dataset for this example. I am unable to test/run this script.

I added the data set file and some supporting files in the following commit: a931196
Closing this issue.


Change AiClient required  argument

Atm it is required to add an API key when creating an Apiclient instance. This will prevent users form making an installation with the bunq api without and api key. I would suggest to change the required argument from api_key to privkey. Ive changed your code to this and tested it. Installation seems to work fine now.
__variables = ['installation_id', 'installation_token', 'api_key',
                   'server_token', 'server_pubkey', 'session_token']

    def __init__(self, privkey, use_sandbox=True, **kwargs):
        self.privkey = privkey

instead of
    __variables = ['installation_id', 'installation_token', 'privkey',
                   'server_token', 'server_pubkey', 'session_token']

    def __init__(self, api_key, use_sandbox=True, **kwargs):
        self.api_key = api_key

Thanks for the input! I will put it on my wishlist and update you as soon as it is implemented :)


I love this!!!

Pandas-profiling is soo nice! Thanks guys!!!!

This should be deleted, as the "Issues" functionality is for reporting problems with the package.


[Paddle] Replace paddle.fluid imports with paddle.base

Paddle 2.6.0 renamed paddle.fluid to paddle.base (see https://github.com/PaddlePaddle/Paddle/pull/56576).

/te-ci paddle

/te-ci paddle

@Wong4j ,
Please review this PR and ensure that it can run with both Paddle 2.5.2 and Paddle 2.6.0.

@Wong4j , Please review this PR and ensure that it can run with both Paddle 2.5.2 and Paddle 2.6.0.

LGTM.
I have checked this PR with both Paddle 2.5.2 and Paddle 2.6.0. All the UTs passed.

/te-ci paddle


Revise actions test

Initial state in database is set in beforeEach for each test.
The the test data used in the test is retrieved or created in the test itself.

Do we have a convention to commit messages? From what I saw in the repo, we are used to start with a verb in the imperative form as suggested in https://chris.beams.io/posts/git-commit/ 👍

/azp run

Regarding commit messages, not sure if there are any guidelines - but I fixed the commit message so it is a bit clearer.

The organisation seems cleaner.
I am wondering when we add more and more tests, wouldn't it be easier to read and find tests if we had the contexts Create, Edit and View as subsections? Maybe you changed based on a previous discussion with the team that I am not aware about 👍

@hnformentin  to your comment above, I organized the tests in different contexts

I like the newest organization better too :)

Regarding commit messages, not sure if there are any guidelines - but I fixed the commit message so it is a bit clearer.

https://chris.beams.io/posts/git-commit/

All my comments have been addressed and the overall structure change seems good to me. The failing tests should be fixed before merge.

/azp run

@hnformentin to your comment above, I organized the tests in different contexts:

Looks good! It seems easier to me to read now :-)

/azp run


Change order of popups on pull

Current order:

Overwrite objects
Overwrite packages
Repo requirements
APACK dependencies

New order:

Repo requirements
APACK dependencies
Overwrite objects
Overwrite packages

This avoids going through the object checklist and then finding out that requirements or dependencies have not been met.
Also renames popup_overwrite to popup_objects_overwrite

this is a central change, so small is good


Is pages using the same document when switch route by next/link ?

Hi, I try to use next/link by running the example with-loading, I both add a scroll event on pages/about.js and pages/forever.js like this:
pages/about.js:
componentDidMount () {
    document.addEventListener('scroll', this.onScroll.bind(this))
}
componentWillUnmount () {
    document.removeEventListener('scroll', this.onScroll.bind(this))
}
onScroll () {
    console.log('scroll in about page')
}

pages/forever.js:
componentDidMount () {
    document.addEventListener('scroll', this.onScroll.bind(this))
}
componentWillUnmount () {
    document.removeEventListener('scroll', this.onScroll.bind(this))
}
onScroll () {
    console.log('scroll in forever page')
}

When I switching page from about to forever or from forever to about, their scroll event are both effect：
scroll in about page
scroll in forever page
scroll in about page
scroll in forever page
scroll in about page
scroll in forever page
......

This is not happen if not use next/link. I wonder that if use next/link route there is using the same document between switching two pages? How can I sperate two pages scroll event both add on document?
Thank!
My Environment

Tech
Version

next
latest

node
7.7.0

OS
Mac

browser
Chrome

Being a single-page app, the document stays the same and only the contents are updated / swapped.
I assume that there's rather a problem with unbinding the event listeners. It looks like removing the event listener doesn't work properly as .bind(…) creates a new function reference. So, removeEventListener is basically trying to remove a listener that wasn't ever bound.
Try creating a single bound function reference in your constructor:
constructor(props) {
  super(props);
  // … Other code goes here

  // Bind your handler in the constructor to create
  // a single bound function
  this.onScroll = this.onScroll.bind(this);
}
componentDidMount () {
  // Now, you can use the function without calling .bind at this point
  document.addEventListener('scroll', this.onScroll)
}
componentWillUnmount () {
  // Thus, the same function is referenced to properly unbind it
  document.removeEventListener('scroll', this.onScroll)
}
onScroll () {
    console.log('scroll in about page')
}

The same thing for pages/forever.js.
I think that should fix your problem. Due to being a single page app you have to be more conscious about properly unbinding your event listeners.

@osartun Thank you! I got it.


Deep Fuzzing on Newly Modified Solidity Files

Random thought I had but since I wrote that action that will:

read the bounty-bot repo and
build if any source code changes occur, and then
commit the built file to the repo

It inspired me to think of what other compute we can delegate to the cloud to make the dev experience better.
What if we do something similar with deep fuzzing, but only on modified Solidity files? I understand that deep fuzzing takes a lot of time, so we could run it for the entire codebase one time, and then only run it on modified Solidity files moving forward? I vaguely recall a discussion related to how deep fuzzing is super slow.
transmissions11 has a Foundry template that does a deep fuzz on everything when merged to main, which served as another point of inspiration for me.
      - name: Run tests
        run: forge test
        env:
          # Only fuzz intensely if we're running this action on a push to main or for a PR going into main:
          FOUNDRY_PROFILE: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'intense' }}

https://github.com/transmissions11/foundry-template/blob/0bf8e53589f2e8f72e41baf672c25aa35ba57295/.github/workflows/tests.yml#L28-L32

/start

Hi! I found a way to achieve this, my QA is available at https://github.com/gitcoindev/ubiquity-dollar/issues/2
I will submit a PR today.

The solution requires an explanation. I did numerous experiments on my local workspace and figured out that in order to find tests related to modified contract files forge tree command can be used. This command provides project dependency tree from which the test case that uses a certain Solidity contract can be found.
An example: modified Diamond.sol, CreditClock.sol and StakingShare.sol:
$ forge tree | grep -E "^test|^src|Diamond.sol" | grep -B1 Diamond.sol | grep ^test
test/diamond/DiamondTest.t.sol ^0.8.19

$ forge tree | grep -E "^test|^src|CreditClock.sol" | grep -B1 CreditClock.sol | grep ^test
test/dollar/core/CreditClock.t.sol ^0.8.19

$ forge tree | grep -E "^test|^src|StakingShare.sol" | grep -B1 StakingShare.sol | grep ^test
test/diamond/DiamondTest.t.sol ^0.8.19
test/diamond/facets/ChefFacet.t.sol ^0.8.19
test/diamond/facets/StakingFacet.t.sol ^0.8.19
test/diamond/facets/StakingFormulasFacet.t.sol ^0.8.19
test/diamond/facets/UbiquityPoolFacet.t.sol ^0.8.19
test/dollar/core/StakingShare.t.sol ^0.8.19

As it can be seen above, some tests are duplicated, therefore I used sort | uniq commands to get only unique tests and executed forge test with FOUNDRY_PROFILE: intense  only on this subset of tests.
I tried to implement the workflow to be intelligent and exit fuzzing if no Solidity contracts were modified.
FOUNDRY_PROFILE is set to 10000 runs, should be more than enough.
For pull request deep fuzzing is executed on all tests to avoid missing any scenarios.

Also, deep fuzzing was already triggered on my pull request related to this issue and logs are available at https://github.com/ubiquity/ubiquity-dollar/actions/runs/5927880413/job/16072306637

Adding a comment for the bot: waiting for PR approval from @rndquu and merge.


[MINOR][DOC] Fix the CalendarIntervalType description

What changes were proposed in this pull request?
fix the overdue and incorrect description about CalendarIntervalType
Why are the changes needed?
api doc correctness
Does this PR introduce any user-facing change?

no
How was this patch tested?

no

cc @cloud-fan, please take a look at this, I believe this is trivial but important.

Test build #114383 has started for PR 26659 at commit 5c2f5e3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19222/
Test PASSed.

Test build #114383 has finished for PR 26659 at commit 5c2f5e3.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114383/
Test FAILed.

Test build #114397 has started for PR 26659 at commit ac613bb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19236/
Test PASSed.

Test build #114397 has finished for PR 26659 at commit ac613bb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114397/
Test PASSed.

ColumnVector.getInterval has already been updated when we add the days field. I think this is the only one left.

Test build #114413 has started for PR 26659 at commit 6a95931.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19250/
Test PASSed.

Test build #114413 has finished for PR 26659 at commit 6a95931.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114413/
Test PASSed.

thanks, merging to master!


CLIP-T, CLIP-I implementation

Dear author,
Thanks so much for the great contribution to the community, in recent SD benchmark models, they often mention the subject fidelity using CLIP-I and DINO, for prompt fidelity they used either CLIP-T or COCA. Do you have any plans to implement these metrics? or just give some insights are also valuable. Once again, thank you!

Hi,
Thank you for your appreciation of this repository!
Recently, I've received several requests from the community. Unfortunately, I'm quite busy at the moment, but I hope to make these improvements within the next month.
If you'd like to implement this on your own, please check this line. You can replace the model with your desired encoder and pay attention to the function call at this line.
Also, pull requests are always welcome!


Northern Ireland addresses support

Is there any progress on supporting Northern Ireland addresses? When could we expect that to be added?

Yes please update us on NI

Any update on Northern Ireland support? At HMCTS we've been told to use this API, but our service needs to support Northern Irish addresses. Obviously we can implement a fallback, but lookup support would be much better.

+1 - we would also be very interested to know if/when support for NI addresses is likely to be incorporated.


Platform for Discussion

Enable the discussion area for this repository, idk how exactly to refer it.. thus attaching an image to clarify..
This will provide a good platform for ordered discussion regarding multiple topics right here on github.

Done


Error: No coverage reports found. Please make sure you're generating the reports successfully.

I am following the instructions in https://docs.codecov.com/docs/the-codecov-cli to do a dry run, but I am unsuccessful on upload.
Here are the logs per step:
codecovcli create-commit
info - 2024-04-24 09:59:46,168 -- ci service found: local
warning - 2024-04-24 09:59:46,207 -- No config file could be found. Ignoring config.
info - 2024-04-24 09:59:46,519 -- Process Commit creating complete

codecovcli create-report
info - 2024-04-24 10:00:15,928 -- ci service found: local
warning - 2024-04-24 10:00:15,966 -- No config file could be found. Ignoring config.
info - 2024-04-24 10:00:16,196 -- Process Report creating complete
info - 2024-04-24 10:00:16,196 -- Finished creating report successfully --- {"response": "{\"external_id\":\"e2ced806-5b5e-4c77-a0ad-2fa9e070bb21\",\"created_at\":\"2024-04-24T16:57:41.850705Z\",\"commit_sha\":\"a2408ac491d67e05265a17be0d050119ace1850e\",\"code\":null}"}

codecovcli do-upload
info - 2024-04-24 10:00:46,031 -- ci service found: local
warning - 2024-04-24 10:00:46,067 -- No config file could be found. Ignoring config.
warning - 2024-04-24 10:00:46,157 -- No swift data found.
warning - 2024-04-24 10:00:46,158 -- No gcov data found.
warning - 2024-04-24 10:00:46,158 -- No coverage data found to transform
info - 2024-04-24 10:00:46,175 -- Found 0 coverage files to report
Error: No coverage reports found. Please make sure you're generating reports successfully.

The 'create-report' logs ensure that I finished creating the report successfully. I also ensured that this commit was pushed to origin, as noted at the bottom of the link I provided.
Environment
MacOS

@DrJessop the create-report does not create a coverage report, it creates a report object on the Codecov side. You still need to ensure you have a coverage file to upload.


the brackets-git extension doesn't open at all even though it was installed

what does your error console say? (f12)

i don't know. now it opens up on the bottom of the page but when i press
init, it doesn't work and now i can't put anything onto github
On Wed, Nov 9, 2016 at 9:38 AM, Martin Zagora<EMAIL_ADDRESS>wrote:

what does your error console say? (f12)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zaggino/brackets-git/issues/1322#issuecomment-259351207,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWKIhHJz-x3aj4_I8NsRXy03ZRv002VVks5q8Xh5gaJpZM4KtPr4
.


Transcript based verification test vectors

This PR makes the test vector file format self contained.

The public keys needed to verify a transcript are included in the same file.
Each request / response pair is independently verifiable.
Implicit client verifier state has been replaced with an explicit "LastVerifiedLogRoot" object.

Making client verifier state explicit is the first step toward refactoring it
into its own object to support a variety of behaviors described in #1311.

Superseded by a smaller #1315


Build completes with FAILED message, despite no visible Errors, but Detailed logging shows Task "EnableExtension" FAILED

This is documentation of how I solved this:
I had a horrible time verifying whether the code in a fork by @lremedi (https://github.com/lremedi/VersionOne.Client.VisualStudio) could compile on my machine. The VSPackage project build said FAILED, but there were NO ERRORS, only a few warnings.
Here's how we resolved that:

In Visual Studio 2012, I turned on Detailed MSBuild verbosity under TOOLS > Options > Projects and Solutions > Build and Run
This showed the following output:

3>Task "EnableExtension"
3>Done executing task "EnableExtension" -- FAILED.
3>Done building target "DeployVsixExtensionFiles" in project "VersionOne.VisualStudio.VSPackage.csproj" -- > FAILED.

With some googling, I found http://stackoverflow.com/questions/15747387/vsix-package-build-failed-without-showing-the-reason-visual-studio-bug,
Sure enough under the Registry key HKEY_USERS\S-1-5-21-791890058-2983722243-1626712966-4341\Software\Microsoft\VisualStudio\11.0Exp\ExtensionManager\PendingDeletions I had entries for VersionOne Tracker.
Deleted them!
Rebuilt, then rebuilt and got this happy message:

========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Thanks for sharing this info, I was able to resolve one such issue by enabling detailed build log and output!!


Allow mechanical belts to be places diagonally sideways

Describe the Suggestion
As the title states it would be really helpful if instead of having to place cogs facing up side by side to transfer force, we could place mechanical belts diagonally to save on shafts and cogs.
Screenshots and Videos
No response
Additional Context
No response

Suggestions that are not Fabric exclusive should be submitted to the Forge repo.
But this is an extremely common one, so don't bother.


Submission to the Sketch Plugin Directory

It’d be great to have this in there :)

It IS in there, isn't it?

Apologies. I was searching from within Sketch Toolbox and I think it had cached the directory.

Alright. 😎


Release notes for 0.4.0

We need to have good release notes for 0.4.0
I think main goals should be:

Explain the terraform changes and how they will break compatablitly with pre 0.4 releases. Why we did that now and not thing we will do that later
Mention the built in terraform vs. running in a container
Terraform provider tarmak for ensuring the dependencies are working out
Taints/Labels
Logging
Cluster Autoscaler

The following sections detail changes of most note; they are not exhaustive list.
Added

Add Tarmak Terraform provider for ordering infrastructure creation (#12, @simonswine)
Add support for automatically adding taints and labels to instance pools (#369, @charlieegan3)
Support log forwarding (#197, @dippynark)
Add Jenkins module to Terraform stack (#240, @MattiasGees)
Support autoscaling arbitrary worker instance pools (#325, @dippynark)

Changed

Merged Terraform stacks (state, bastion, vault, network, kubernetes) into a single stack. This allows a plan to be run against all infrastructure at the same time and also benefit from Terraform's parallelisation  capabilities (#148, @dippynark)
Vendored Terraform instead of shelling out to binary inside the Tarmak Docker container. This gives us more control over how terraform is run and the version used. Care must be take when running terraform commands within the Tarmak debug shell as using a version of Tarmak higher than the version vendored by Tarmak will prevent Tarmak from running further Terraform commands
Change cgroup driver from systemd to cgroupfs as cgroupfs has better support in the kubelet for enforcing node allocatable (#300, @dippynark)

Fixes

Add security group to allow cluster autoscaler scaping (#338, @dippynark)
Remove unneeded infrastructure (#329 #336 #321 @dippynark @MattiasGees)
Pass through etcd instance pool min count to puppet (#322, @dippynark)
Fix etcd mount race condition (#313, @dippynark)
Add RBAC support to Dashboard (#343, @dippynark)
Use correct versions for cluster autoscaler (#346, @dippynark)
Return informative error when failing to parse tarmak configuration (#326, @dippynark)

@simonswine ^

@dippynark thanks!


[Bug] Config option for embodies not attacking skeletons doesn't work

As the title says, it just doesn't do anything. The other AI config options seem to work fine. No matter what it's set at, embodies will still attack skeletons. Luckily, this will probably be a nonissue if there's an embody rework in the future.

Thank you for pointing this out! This was a slight error on my part. The config will disable Skeletons targeting the Embodies first, but the Embodies will still target skeletons, initiating a fight between them. Since we're trying to move on from Release 1, I'll get a fix for this and all other custom mob configs into Release 2 for you!

Thank you for pointing this out! This was a slight error on my part. The config will disable Skeletons targeting the Embodies first, but the Embodies will still target skeletons, initiating a fight between them. Since we're trying to move on from Release 1, I'll get a fix for this and all other custom mob configs into Release 2 for you!

Fixed as of commit a8615a7

Fixed as of commit a8615a7


Investigate Prometheus

... As an alternative to InfluxDB.

Now that we've ditched Influx, and are considering Kafka in #92, this is worth a look

Redis streams is good enough for time series data


Init Video Textadder project

Video Textadder
Brief about script
The python script to add a customized text as watermark on the top center of the video.
Issue no.(#280 )
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder (Name of folder should be in lowercase with no space in between)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt with my script

Perfect @happyeric77


[ML] Clean up for Custom Applications on Compute Instances (#28621)

Description
Cherry-pick for #28621.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Functions from @SlimeQ and more

Add all Stuff from @SlimeQ because I forked from him.
Plus add the requested edit for this pr.
My adding to this is :

Add SetRoomName
Add SetRoomTopic
Add SetRoomAvatar

Home this is compatible with the original. ;-)

@k-karuna could you have a look here ?

@DevTown @SlimeQ thanks a lot for contribution!
Resolves #10 #11


GoogleFDW not working (?)

I'm using PostgreSQL 9.6.5 on FreeBSD 11-Release, Python 2.7.
I've installed multicorn succesfully, and Im able to run other FDW.
Now I try to define a google server as follows:
CREATE SERVER google_server
  FOREIGN DATA WRAPPER multicorn
  OPTIONS( wrapper 'multicorn.googlefdw.GoogleFdw' );`

and then define the foreign data table:
CREATE FOREIGN TABLE google_search(
url text,
title text,
search text )
SERVER google_server;

and try to execute a query:

SELECT * FROM google_search WHERE search = 'postgresql';
ERROR:  Error in python: TypeError
DETAIL:  'NoneType' object has no attribute '__getitem__'

and in the logs I've got:

 [29-2] DETAIL:  Traceback (most recent call last):
 [29-3]
 [29-4]     File "/usr/local/lib/python2.7/site-packages/multicorn-1.3.3.dev0-py2.7-freebsd-11.1-RELEASE-amd64.egg/multicorn/googlefdw.py", line 21, in google
 [29-5]       hits = data['results']
 [29-6]
 [29-7]   TypeError: 'NoneType' object has no attribute '__getitem__'
 [29-8]
 [29-9] STATEMENT:  FETCH FORWARD 20 FROM _psql_cursor
 [30-1] ERROR:  current transaction is aborted, commands ignored until end of transaction block
 [30-2] STATEMENT:  CLOSE _psql_cursor

Sounds to me like it is issuing a wrong query and not getting the result. Am I doing something wtong?
Should the code protect against null results?

Work in progress: I've tried to get the result via command line:
wget 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=postgresql'
that provides:
{"responseData": null, "responseDetails": "The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)", "responseStatus": 403}

I suspect the only way is either to abandon the FDW or get an api key https://developers.google.com/api-client-library/python/guide/aaa_apikeys


Importing styles creates unnecessary subfolders

Describe the bug
A clear and concise description of what the bug is.
When importing styles from figma, each value is inserted inside a subfolder with the same name as the token category
Example in the screenshot
Instead of importing letterSpacing-0 inside the 'Letter Spacing' folder, it creates a letterSpacing folder with a token named '0' inside the Letter Spacing folder, so we have an extra unnecessary nested folder as well as conflicting token names
To Reproduce
Open plugin
Click Styles at the bottom
Click Import styles
Expected behavior
Should insert key/value pairs inside the proper 'type' folder, without creating a subfolder named 'type'
Screenshots or Screencasts

Figma file (optional)
Send us the link to a Figma file containing a reproducible example
JSON (optional)
"letterSpacing": {
"0": {
"value": "0%",
"type": "letterSpacing"
}
},
"paragraphSpacing": {
"0": {
"value": "0",
"type": "paragraphSpacing"
}
},
etc...

Basically it is wrapped inside an unnecessary subfolder while the key: {value, type} is sufficient to position it inside the proper category folder

This isn't really a problem related to how things are imported, but how things are displayed.
The type folder you mentioned isn't a folder, it's a grouping by type of token, so fontFamily shows all tokens that are of type: fontFamily. Token names are unique across all types, which is why that second nesting is required (and I agree it doesn't make a lot of sense in the current grouping!)
We'll address this with a different way to group things in a coming release. We'll use this issue to track work: https://github.com/tokens-studio/figma-plugin/issues/1024
If I misunderstood let me know and we'll reopen! 🙏 But I feel that issue would solve it for you.


v0.8.0 - service_bhvr.erl and service_client.erl files are not generated

In existing project using grpcbox and grpcbox_plugin noticed that recently when applying rebar3 grpc gen command, the following error message appeared:
Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
Also, the following error was produced:
===> Error building
/_build/default/lib//ebin/_pb.bea#
none: error writing file: no such file or directory
And service_bhvr.erl and service_client.erl files are NOT generated at all.
After reverting back to version v0.7.0 of grpcbox_plugin - everything is Ok.
Erlang OTP 22. rebar3 version is 3.13.2 - compiling under Windows 10 Pro from powershell.

@craftgoldman Hello! I wonder if you tried different options?
{grpc, [{protos, "apps/your_app_name/src/protos"},    %% path to protofiles         {out_dir, "apps/voice_assistant/src"},                    %% path to outputdir for clients and behaviours         {type, "all"},                                                           %% type of generated (all|client)         {gpb_opts, [{module_name_suffix, "_pb"}]} ]}.
For me version v0.8.0 of plugin and v0.11.0 of grpcbox works. Please let me know if it helps.

@maksimryndin grpcbox_plugin 0.8.0 did not work me either. But, 0.7.0 works for me. I even tried your grpc options, still no luck. So, going back to 0.7.0

@vasu-dasari I've ended up with the following
{plugins, [{grpcbox_plugin,             {git, "git://github.com/maksimryndin/grpcbox_plugin.git",             {branch, "bugfix-pb_module_name"}}}            ]}.
So I use master branch with minor bugfix for the case when  pb module name has to be surrounded by single quotes to  become proper atom.

Thanks @maksimryndin. Will try this out over the weekend.

@vasu-dasari I've ended up with the following
{plugins, [{grpcbox_plugin, {git, "git://github.com/maksimryndin/grpcbox_plugin.git", {branch, "bugfix-pb_module_name"}}} ]}.
So I use master branch with minor bugfix for the case when pb module name has to be surrounded by single quotes to become proper atom.
pr #11

This fix helped me, thanks

I can reproduce this (although for me no error is produced).
I tried all grpcbox_plugin versions mentioned so far, on OTP 22 and 23, with latest rebar3 (3.15.1).
Excerpt from my rebar.config:
{grpc, [{protos, "../copain/proto/"}
        %% https://hexdocs.pm/gpb/gpb_compile.html
       ,{gpb_opts, [{module_name_suffix, "_pb"}
                   ,strings_as_binaries
                   ,type_specs
                   ,{verify, always}
                   ]}
       ]}.

{plugins, [rebar3_fmt
          ,grpcbox_plugin
          ]}.

{deps, [grpcbox
       ,...
       ]}.

I invoke with rebar3 do grpc gen -t all --force, fmt.
Note: deleting src/<package>_<service>_client.erl and running the command does not even re-create the file.

Turns out in here https://github.com/tsloughter/grpcbox_plugin/blob/v0.8.0/src/grpcbox_plugin_prv.erl#L161-L164
paths point to non-existing files e.g.:
ProtoBeam = "/home/pete/Documents/_cake/jungle.git/cake/src/tst_pb.beam"
ModulePath = "/home/pete/Documents/_cake/jungle.git/cake/src/fm_u_client.erl"

and fun filelib:last_modified/1 on that returns 0 which filters out these per https://github.com/tsloughter/grpcbox_plugin/blob/v0.8.0/src/grpcbox_plugin_prv.erl#L204-L205

Yes that PR was a quick fix for this issue.
Hmm note that I do not have any beam file in my src but it is looking for some beam files in that dir.


Chat completely broken

The new <IP_ADDRESS>9 version has completely broken my chat. I could not see my own or other peoples messages and I have no idea what part of the program is causing it.

Can you please provide us with your debug report? You will likely also receive faster support in the discord since more people are active there.

debug_report.zip
This is the debug report, hope it helps's. The bug also seems to only happen in casual. Everything seemed to be normal in community servers.

Do you have a premium account?

I do have a premium account. I also thought for a while that I might still be free to play, but in Steam it says I have the "premium dlc".

In TF2 Steam properties under the language tab is it set to your preferred language?

Well I just went on the discord and downloaded <IP_ADDRESS>4 and it fixed the issue. I'm sorry for wasting your time.

That's my bad. Didn't even comprehend that 639 < 674. I can recommend the installed version with auto updating btw. I'm glad it's working for you now


Minor build script & GitHub Actions improvements

Uses Gradle toolchains to find a Java 8 JDK when building
Improves build reproducibility by configuring Gradle to produce reproducible archives & not using cached files when building release artifacts
Changes the release action to upload all files in the build/libs folder, removing the need for a hardcoded name
Minor formatting changes

maybe target rewrite so we don't have to backport?


Update Stretch-Cluster-Replication-Using-Shared-Storage.md

Updating my previous note to reflect that Premium SSD is no longer required to enable disk sharing

@robinharwood, @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Adding code for training your own WaveNet that is ready to work with NV-WaveNet inference

This worked without apparent issue for me (using defaults). Thanks!


Add historic currencies to Money\Currencies\ISOCurrencies

Hello there!
This is a next step of this feature and pr: https://github.com/moneyphp/iso-currencies/issues/8
My idea is to implement it in Money would be this: lets create static constructors ISOCurrencies::current(), ISOCurrencies::historic() and ISOCurrencies::all(). Also I would change default behaviour of ISOCurrencies::__construct() to use all() instead of current(), maybe we can do this in new major version as strictly speaking this would be a (however very light) BC break. Another idea would be to deprecate ISOCurrencies::__construct() and make it private in some future major version, so you are forced to use new static constructor everywhere and it is explicit what list you are using here.
What do you think about it? I will gladly provide PR for this, I just wanted to discuss it before with you.

After https://github.com/moneyphp/iso-currencies/pull/9#discussion_r237204506 is fixed, instead of static constructors which break BC, I'd prefer to have different classes depending on what's the set about. We can also create a new class which is an aggregate of historical + isoCurrencies.
Something like this:
final class AllISOCurrencies implements Currencies
{
    private $aggregate;

    public function __construct()
    {
        $this->aggregate = new Currencies\AggregateCurrencies([
           new Currencies\ISOCurrencies(),
           new HistoricalCurrencies(),
        ]);
    }
    ....

@marcosdsanchez makes sense. Thanks for noticing the minor units issue!

I will postpone fixing this is issue until a solution is found for moneyphp/iso-currencies#9 (comment).

This will not be implemented. People can add their own Currencies implementation, using the array of historic currencies provided by moneyphp/iso-currencies. We do not want to maintain history!


fuzz tests: Remove ext_authz specific code in general filter_fuzz_test in favor of special ext_auth_fuzz_test

Title: fuzz tests: Remove ext_authz specific code in general filter_fuzz_test in favor of special ext_auth_fuzz_test
Description:
The filter_fuzz_test, or more precisely the UberFilterFuzzer::perFilterSetup(), has specific code for the ext_authz filter. Issues in the general filter_fuzz_test mandated to filter ext_authz uses cases in the general filter in #21140. Because the ext_authz_fuzz_test specializes in fuzzing the specific filter, the code in the more general filter_fuzz_test could be removed.
Relevant Links:
uber_per_filter.cc relevant lines

CC @adisuissa @KBaichoo @pradeepcrao


Validators format pattern does not respect Look Ahead (?=)

The following block does not work when validating against lower case letters such as 'a'.
{
name: 'containsUppercaseAndLowercase',
attribute: 'password',
enabled: true,
validation: {
format: {
pattern: /(?=.*[a-z])/,
message: VALIDATION_PASSWORD_REQUIREMENTS_MESSAGES.containsUppercaseAndLowercase
}
}
},

enforcing password patterns might be not the best idea


IOS crash when request expired

As @eds101 mentioned in #115 .

Hey, thanks for attending to this. I actually solved this the other day, I will do a PR soon.

Will discuss this issue in thread #301


Provide an option to accept .mp3 files

It would be great to provide an option to accept .mp3 files if .wav files are not available and instead of converting .wav files to .mp3.

Adding .mp3 would be useful. I've requested a change on your PR. Closing this issue until it's resolved.