Unable to grab data from global text field

We use a ton of PHP calls to a FileMaker script that does ExecuteSQL.  (This is a method that really speeds up finds with multiple records.)
We've been storing this information to a global text field and then grabbing the results from PHP.  We get an error about permissions.

You’re going to have to be a lot more specific about what your problem is. What kind of error message are you receiving? Is it being returned by an fmPDA method? Can you show a code example?

I'll get you more details and an example on Monday, but it's probably a FileMaker error message passed back by the ExecuteScript command.  It can be as simple as running a FileMaker command, setting a "1" in a global text field, and then trying to get that "1" back from PHP.

OK, scratch the part about the error - that was a user privileges thing.  We simply get back an empty string when doing a call to get the contents of the global text field.
Here's the idea:

$findCommand = $fm->newFindAllCommand($layout);
$findCommand->setScript('Custom_Script',$q);
$result = $findCommand->execute();
if ($fm->isError($result)) {
echo 'Error - ' . $result->getMessage();
} else {
$records = $result->getRecords();
echo $records[0]->getField('Global_Field');
}
This works using the PHP API.  The script executed ("Custom_Script") stores its value into a global field, and so the contents of it get passed back into the record data.
Using fmPDA, we get an empty string back.  I looked at Data API documents, and to set a global field you need to use a different REST string.  I suspect that because of this, maybe the Data API separates all global fields from record data returned?  Not sure...

Is there perhaps another way that I can get the script results from an executed script?  It looks like the Data API does return script results, but is there a way in this PHP library to do so?

Actually it looks like both the global field contents and the script result come back through the $result, so I just need to point to it differently than I do with the regular PHP API.

Ahh, I figured out what's going on.
Since the global field is actually a repetition field, getField() is requiring that I use Global_Field(1) rather than just Global_Field.  Perhaps getField() should be modified to look for the first repetition if not specified?

I'll close this and open a new ticket about repetitions...


Feature 264 - Metrics: Add advertising metrics to ExperienceEvent

PR to add AdCloud's advertising metrics to ExperienceEvent. This is related to open issue #264.
@kstreeter @cdegroot-adobe

One concern here is that “conversion metrics” in DC refers to the number of files that have been converted (from one format to another), how quickly, etc.
However, it looks like this is all inside an extension schema, so that should be OK

@kstreeter  @trieloff can you please review this as soon as possible. Thanks C.

@gabebarcelos-adobe please add a line to CONTRIBUTING.md explaining that https://ns.adobe.com/xdm/data/metrics/advertising/impressions has been renamed. Otherwise it looks good to me.

@trieloff - https://ns.adobe.com/xdm/data/metrics/advertising/impressions should not have been renamed, we just added additional metrics.

@gabebarcelos-adobe I removed "type": "object" from field "xdm:implementationDetails" to avoid validation warning.


Task/add document

Add documents

Coverage remained the same at 89.235% when pulling 4c4c5189ab83a33d2858a2be367d3b1901623c6d on task/add_document into 5884d86cabee080292eef0a8d1bebb5018f2b0af on master.


Improve the robustness of e2e test infrastructure

Filing this issue to track some efforts for improving the robustness of e2e test infrastructure:

Verify the required environment variables are properly initialized before running e2e test
Clean up the Config DB if it already exists before running each test group
Maybe more...

The goal is to make sure each test should fail gracefully to make troubleshooting easier.
Please share your comments/suggestions/concerns here.

this seems duplicate to #1398 ... Let's track improvement there.


[FLINK-34422][test] BatchTestBase uses MiniClusterExtension

The setup of the table environment in this class ran before the MiniClusterExtension was set up and beforeEach was called, causing jobs to spawn separate mini clusters. Certain tests cases try running ~200 test cases in parallel, which overloaded the system.

@flinkbot run azure


firebase_auth: How to create user with phone and credential?

Is your feature request related to a problem? Please describe.
Hi, I couldn't find a clear way to create a user with phoneNumber and credential, as I look at createUserWithEmailAndPassword() on line 57 of firebase_auth.dart
Describe the solution you'd like
I would like to use a createUserWithPhoneAndCredential()

Hi @andesappal
This platform is not meant for assistance on personal code. Please see https://firebase.google.com/support for resources for asking questions like this and check our guides; you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with FlutterFire itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Isn't this supposed to be a feature request?

Hi @andesappal
the feature already exist, this platform is not meant for personal assistance
without this being an endorsement you may want to look at this article
please follow the indication listed above for this type of issues
Thank you

@iapicca actually the tutorial you shared does not contain createUserWithPhoneAndCredential() or anything similar to it. Nor does firebase_auth.dart.
The tutorial you shared only verifies and signs in with phone number. How do I actually create a phone user (for Firebase) immediately after a phone is verified, and right before the phone is signed in? The purpose of this question is: If I don't create a phone user data structure for every phone signed in, how will I associate any additional information about the user wrt the phone number (e.g. user name, country, device, birthdate, preferences, etc.)?

Or does signInWithCredential method automatically imply that a user has just been created, before sign-in?

Apparently yes https://github.com/FirebaseExtended/flutterfire/blob/a36e83cf2ee93b253ea37cfc63cdd6537f315e1f/packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart#L190 but where could I explicitly manipulate this account?

Hi @andesappal
as mentioned above this platform is not meant for assistance on personal code,
please follow the indication above
Thank you


Pre-configuration steps

I am trying this out for my use case and able to use it when I install it from the running notebook like
!pip3 install sparksql-magic
%load_ext sparksql_magic

but when I am following the contributing guide to pre-configure I am getting errors like ipython_magic module not found. I changed it to python_magic as well but the kernel start up logs always complain about the errors.
# pre-load the sparksql magic
c.InteractiveShellApp.extensions = [
    'ipython_magic.trino', 'ipython_magic.sparksql' // unable to find this module in pypi.org
    'python-magic.trino', 'python-magic.sparksql' //changed it to python-magic still getting module not found
]

//error during kernel startup, kernel launches fine but magic won't work.
[IPKernelApp] Loading IPython extension: storemagic
[IPKernelApp] Loading IPython extension: python_magic.sparksql
[IPKernelApp] WARNING | Error in loading extension: python_magic.sparksql
Check your config files in /app/.ipython/profile_custom
Traceback (most recent call last):
  File "/app/.local/lib/python3.7/site-packages/IPython/core/shellapp.py", line 301, in init_extensions
    self.shell.extension_manager.load_extension(ext)
  File "/app/.local/lib/python3.7/site-packages/IPython/core/extensions.py", line 80, in load_extension
    mod = import_module(module_str)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'python_magic'

my bad; I missed the ipython_magic was being referred from the "jupyterlab-sql-editor" package itself. The name was bit confusing and I think the steps can also be updated. Using fully qualified path for the extension helped
c.InteractiveShellApp.extensions = [
    'jupyterlab_sql_editor.ipython_magic.trino'
]


using nrf52dk_nrf52832 with serial disabled

Describe the bug
When using the blink example on nrf52dk_nrf52832 with CONFIG_SERIAL=n in prj.conf, the board starts but hangs. Tried also with serial enabled and than at  runtime set uart in power off mode with device_set_power_state(dev, DEVICE_PM_OFF_STATE, NULL, NULL); but more or less the same result. Also tried on the nrf52840dk_nrf52840 but this device doenst have the same issues.
To Reproduce
Steps to reproduce the behavior:

cd zephyr/samples/basic/blinky
west build -p auto -b nrf52dk_nrf52832
west flash
flashing LED1
add CONFIG_SERIAL=n in prj.conf
west build -p auto -b nrf52dk_nrf52832
west flash
no flashing LED1 (also LED2 is lighting up for some reason)

Expected behavior
I would expect the device to run also without uart, because it is not used at all in the blink example. Also saves power if not used.
Impact
Unable to save power used by uart.
Logs and console output
NA
Environment (please complete the following information):

OS: Linux (Ubuntu 20.04 64bit)
Toolchain Zephyr SDK (zephyr-sdk-0.11.3), V2.3-branch
Commit c0d3c8004422b359fd2b6257a2c8e226eff54dd6

Additional context
NA

Have you tried setting the status to disabled in the .dts file or in an overlay of your own?

Yes I have tried that, also has same result.

Using the unmodified samples/basic/blinky in current Zephyr development master with nrf52dk_nrf52832:
I can't duplicate setting CONFIG_SERIAL=n causing LED1 to not flash and LED2 to light up.  LED1 behaves as expected.
As far as power differences: Measuring current on that board fed by a 3V3 battery directly to VDD/GND during the periods when the LED is off I get:
With uCurrent:

Standard config: 466 uA
Add CONFIG_SERIAL=n: 290 uA

With CurrentRanger:

Standard config: 475 uA
Add CONFIG_SERIAL=n: 295 uA

With nRF-PPK (which IIUC only measures the MCU current) connected to the nRF52-DK powered via USB  I get:

Standard config: 309 uA
Add CONFIG_SERIAL=n: 1.5 uA

Retesting with v2.3.0 release I don't see any difference.

mmm stange, thanks for checking out! btw im using the correct board, right? PCA10040 (if the version matters, V0.9.0, 2015.42)

Yes, pca10040 is what I call it too (now nrf52dk_nrf52832).  The hardware version might be part of the problem: I have and tested on v1.1.1 2017.1 and v2.0.0 2020.9.  Yours appears to be pretty old, and might even be a PDK which IIRC used experimental silicon with serious problems.

I have ordered a new dev board, I will retry tomorrow!

Tested with a new board, problem was indeed that board not zephyr, thanks for helping out. I will close this issue


refactoring + add getters and setters

I have made some modifications. I have added getters for a solution but I have also renamed getters for a model. It is clearer for me with the prefix get_. I have thus update the Project.toml.
I will take a look at https://github.com/control-toolbox/CTBase.jl/issues/144#issuecomment-2288393413.
I have also restructured the code to simplify in the future documentation, the organisation of the presentation the model, the solution and their setters and getters.
@PierreMartinon @jbcaillau Please comment.

@jbcaillau We should make the v0.12.5 release before merging this PR.

@jbcaillau We should make the v0.12.5 release before merging this PR.

👍🏽 go ahead!

@jbcaillau We should make the v0.12.5 release before merging this PR.

👍🏽 go ahead!

Done!

In the future documentation, if we use the getters, then, we will have something like:
sol = solve(ocp)
x = get_state(sol)

Do we prefer:
sol = solve(ocp)
x = state(sol)

Here is the list of getters:
# OptimalControlModel

get_dim_control_constraints
get_dim_state_constraints
get_dim_mixed_constraints
get_dim_path_constraints
get_dim_boundary_constraints
get_dim_variable_constraints
get_dim_control_range
get_dim_state_range,
get_dim_variable_range
get_model_expression
get_initial_time
get_initial_time_name
get_final_time
get_final_time_name
get_time_name
get_control_dimension
get_control_components_names
get_control_name
get_state_dimension
get_state_components_names
get_state_name
get_variable_dimension
get_variable_components_names
get_variable_name
get_lagrange
get_mayer
get_criterion
get_dynamics

# in the previous getters, some are common with OptimalControlSolution

# OptimalControlSolution

get_times
get_control
get_state, get_variable
get_costate
get_objective
get_iterations
get_stopping
get_message
get_success
get_infos

The most used by the user I guess are those on an OptimalControlSolution. Maybe, we can keep _get for those on an OptimalControlModel and for the others:
times    # or time_grid since times is very common
control # this will be used to define also some control law. Will be there any conflict?
state
variable
costate
objective
iterations
stopping
message
success
infos

If we have that, not clear to write something like: success = success(sol) or state = state(sol).
Usually we would write:
times = time_grid(sol)
u = control(sol)
x = state(sol)
v = variable(sol)
p = costate(sol)
obj = objective(sol)
Niter = iterations(sol)
stopping # ??
message # ??
success # ??
infos # ??

@PierreMartinon @jbcaillau Please make a comment.

@PierreMartinon @jbcaillau Please make a comment.

Thanks @ocots I like this best:
times = time_grid(sol)
u = control(sol)
x = state(sol)
v = variable(sol)
p = costate(sol)
obj = objective(sol)
Niter = iterations(sol)
...

actually, does it make sense (and is it a good / common practice in Julia) to use field(sol) for the getter, and field!(sol, val) for the setter?
in the end, if there are not clear choice, we can also keep the two with aliases (state = get_state, etc.)

If you have several types, getters are a good idea. We just have one but with getters we can make some checkings, some computations, etc.
Maybe we can have both as you said with aliases.
We can make the aliases inside OptimalControl.jl and let in CTBase.jl the functiins with get_.

@jbcaillau @PierreMartinon I will rename some getters to have something like
times = time_grid(sol)
u = control(sol)
x = state(sol)
v = variable(sol)
p = costate(sol)
obj = objective(sol)
Niter = iterations(sol)
...

I have removed all the prefixes get_.
I make a push soon.


Can’t see recordings

Hi, first thanks for such amazing plugin, congratulations, one of the best 👍
I have mi Yi can working, I can see notifications and small clips (not always) from camera and notifications sections, but if I click on recordings I get an error:

Also the notifications compared to recordings inside SD are different.
What am I missing? Any help is appreciated :)

I think I got it, error disappeared when I changed the path for recordings.
It was

/var/lib/homebridge/recordings

and I changed it to:

/homebridge/node_modules/homebridge-camera-ui/app/public/recordings

Hi again, sorry for asking in this closed topic if I shouldn’t but,
I unbridged the camera and it disappeared from UI. Is this the expected behaviour?

Hey @BertoTavira
Currently yes. I will look into this if i can add a another solution to accept also unbridged accessories

Thanks man! Again, awesome work 👏🏼👍🏼


Alert Routering

Add alert router, which is responsible for registering functions when alerts are recieved from server. Register to this router Datasources, Deployments, JVM and Web. Remove unnnecessary inject field from these files and remove unused variables.

LGTM!


add mock client for fast prototyping code

This PR added a mock client for user to fast prototyping code, save some time to wait for LLM response. especially in some complex scenarios.
code is tested
import ell

@ell.simple(model="mock")
def hello(name: str):
    """You are a helpful assistant."""
    return f"Say hello to {name}!"

greeting = hello("Sam Altman")
print(greeting)

with output like
mock_BH32NvWqNSmq9C3tRsuFnDzPXcz7eG

this is v cute, not totally sure if this should be in core atm
maybe thoughts from @alex-dixon & @emfastic
whats your main use case for this :)

thanks for replay, I am doing some work, need to split a big task, into many small steps, and then call llm to have some output.
When starting it, I will pay all attention first on how task is splited, not the llm output for each small task.  having a mock client can quickly for me to verify the whole flow.

Just found that LangChain also has fake model inside: https://github.com/search?q=repo%3Alangchain-ai%2Flangchain FakeListChatModel&type=code I guess this is a common need for people.

I see
Can you give me an example of a task that you'd want to develop like this. am just generally curious :)

Thanks for the interests, @MadcowD, I am doing some experiments with the llm to "translate" one program language to others, like c/c++ to rust.
for doing that, need to generally break a big c++ code, into many smaller pieces, and then using llm to convert each smaller one.
some demo code looks like this: https://github.com/allenanswerzq/llmcc/blob/master/a.rs
This is a fun project to work with, haha..

@MadcowD Might be useful for our tests…I’ve written a couple hackier versions. I’d vote we wait to see if more people are looking for a client like this before including it in the package itself

okays i am more open to the idea now :)

What about an @ell.mock decorator to seperate mocking from models.. I guess you'd like to mock both complex and simple outputs as well. hmm

good advice, will find some time to change it

tested like: please take a look
import ell

@ell.mock(model="gpt-4o")
def hello(name: str):
    """You are a helpful assistant."""
    return f"Say hello to {name}!"

greeting = hello("Sam Altman")
print(greeting)

with output: mock_2xufdLOgJDo
@ell.mock(model="gpt-4o", mock_func=lambda: "fn mock() {}")
def hello(name: str):
    """You are a helpful assistant."""
    return f"Say hello to {name}!"

greeting = hello("Sam Altman")
print(greeting)

with output: fn mock() {}

Great I'll take a look :)

@MadcowD if the aim is to avoid bloating the core lib, you could use a mock llm library like mockai as a dev dependency instead, which provides a fake server to the openai/anthropic clients.
It works with ell like this:
# hello.py
import ell
from openai import OpenAI

# Set the base url to the local server, runs on port 8100 by default
client = OpenAI(api_key=":)", base_url="http://localhost:8100/openai")

@ell.simple(model="gpt-4o", client=client)
def hello(world: str):
    """You are a helpful assistant that writes in lower case"""
    return f"Say hello to {world} with a poem."

print(hello("sama"))

Run the server:
$ pip install ai-mock
$ mockai
Starting MockAI server ...

# or use uv and don't even install it
$ uvx --from ai-mock mockai
Starting MockAI server ...

Run the LMP:
$ python hello.py
# By default it echoes the input, but predefined responses are supported
Say hello to sama with a poem.

Theres full supports for streaming/tools as well. Its used basically for testing the functionality of the code surrounding the llm.


width and height of xcb::xfixes::GetCursorImageReply are private

Also applies to xcb::xfixes::GetCursorImageAndNameReply

I've written a hacky fix that's referenced above, is there a better way or should I open a PR with that fix?

Hi, your hack looks good to me. There's often not much but to introduce hard-coded exceptions.


consumer & access token keys are exposed

The keys used to authenticate with Twitter API are exposed. I think you already know this but you might forgot to .gitignore the personal keys. Its not safe to expose these keys out as recommended by twitter.
Just a suggestion 🙃 🤗

@Defcon27 Thanks for reporting. Those access tokens are revoked before pushing 😅

Oh I didn't know that lol


Adding multiple lines for text in the config.

Add the ability for multiple lines of text in the config.

I'm not sure how to implement this properly but I'll definitely look into this in the next update

I'm not sure how to implement this properly but I'll definitely look into this in the next update

Thanks.


Text data is not properly writing to marklogic database using hadoop connector

I am reading a sample csv data then using hadoop connector to write into marklogic database as Text. Problem is, few data is writen to the databse random number of times. lets say, i am storing 10 records so there are 10 insertions to the marklogic database but few records are written multiple times randomly not sure why it is happening?
I have shared my code as well. Can anybody let me know why is this such randomness in behaviour to write with hadoop connector api with marklogic?
Here is the mapper code
`public static class CSVMapper extends Mapper<LongWritable, Text, DocumentURI, Text> {
static int i = 1;
public void map(LongWritable key, Text value, Context context)
throws IOException, InterruptedException {
// TODO Auto-generated method stub
ObjectMapper mapper = new ObjectMapper();
String line = value.toString();      //line contains one line of your csv file.
System.out.println("line value is - "+line);
       String[] singleData = line.split("\n");
        for(String lineData : singleData)
        {
            String[] fields = lineData.split(",");
            Sample sd = new Sample(fields[0], fields[1], fields[2].trim(), fields[3]);

            String jsonInString = mapper.writeValueAsString(sd);
            Text txt = new Text();
             txt.set(jsonInString);
            //do your processing here
            System.out.println("line Data is    - "+line);
            System.out.println("jsonInString is -  "+jsonInString);
            final DocumentURI outputURI1 = new DocumentURI("HadoopMarklogicNPPES-"+i+".json");
            i++;

            context.write(outputURI1,txt);
        }
}

}`
Here is the main method -
`Configuration conf = new Configuration();
String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs();
Job job = Job.getInstance(conf, "Hadoop Marklogic MarklogicHadoopCSVDataDump");
job.setJarByClass(MarklogicHadoopCSVDataDump.class);
// Map related configuration
job.setMapperClass(CSVMapper.class);

job.setMapOutputKeyClass(DocumentURI.class);
job.setMapOutputValueClass(Text.class);
job.setOutputFormatClass(ContentOutputFormat.class);
ContentInputFormatTest.setInputPaths(job, new Path("/marklogic/sampleData.csv"));
conf = job.getConfiguration();
conf.addResource("hadoopMarklogic.xml");

try {
    System.exit(job.waitForCompletion(true) ? 0 : 1);
} catch (ClassNotFoundException | InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
}`

Here is the sample csv data -
"Complaint ID "," Product "," Sub-product "," Issue  "1350210 "," Bank account or service "," Other bank product/service "," Account opening  closing  or management " "1348006 "," Debt collection "," Other (phone  health club  etc.) "," Improper contact or sharing of info " "1351347 "," Bank account or service "," Checking account "," Problems caused by my funds being low" "1347916 "," Debt collection "," Payday loan "," Communication tactics" "1348296 "," Credit card ","  "," Identity theft / Fraud / Embezzlement" "1348136 "," Money transfers "," International money transfer "," Money was not available when promised"

Which version are you using?

I am using marklogic 8

So is it 8.0.6? @shawramchandra

It's version 8.0-6.1

@shawramchandra I didn't see \n in the sample csv, so I assume this is a single line. With this line, how many documents do you expect in the database?

Please re-open when the requested information is provided.
Thanks.


Rapha nyc wrong supply displayed

I just recognized that on Raphas drop, the wrong supply on the art card gets displayed:

It should be 64 like in the minting view:

Thanks


a full stop should not be part of the filename

Besides, ceph_key.py takes care of adding a full stop since elsewhere
full stop is not made part of the filename.

@rishabh-d-dave why did you feel the need to write this commit ?

While working on PR #3547, I use this patch to circumvent the following error -
TASK [ceph-mon : create monitor initial keyring] ******************************************************************************************************************************************************************
task path: /home/rishabh/repos/ceph-ansible/add-mon/roles/ceph-mon/tasks/deploy_monitors.yml:12
Monday 18 March 2019  15:01:46 +0530 (0:00:02.190)       0:03:41.708 **********
fatal: [mon0]: FAILED! => changed=false
  msg: path /var/lib/ceph/tmp/ceph.mon..keyring does not exist
  path: /var/lib/ceph/tmp/ceph.mon..keyring
  state: absent

Besides this, from a general perspective, full stops are separators between filename and extension and not a part of filename. We can move them to ceph-key plugin instead.

The change breaks the mon deployment because there's other mon. occurence in the deploy_monitors.yml.
From a mon name convention, the logical id should always be mon.
At this step, because we are bootstraping the monitor, it makes sense to use mon.

Ok. I see that we have mon.keyring and mon..keyring. In that case, my interpretation of this error is not correct, I guess.


Powertoys modules do not recognize remapped keys.

Microsoft PowerToys version
v0.45.0
Running as admin

[ ] Yes

Area(s) with issue?
General, Keyboard Manager
Steps to reproduce

Remap a key to something else. For example Capslock to F24

Confirm that they key is indeed remapped. For example with https://w3c.github.io/uievents/tools/key-event-viewer.html

Now attempt to remap a shortcut by typing it in. Note the result

✔ Expected Behavior
I expect that when typing in the shortcut it would use the remapped key (F24 in this case).
❌ Actual Behavior
Instead of the remapped key it uses the original key Caps Lock. In addition to this sometimes this activates the original key which in the case of capslock means it gets stuck until I first undo the key remapping and then press it again.
In the keyboard manager this can be worked around as you can manually select keys. However I was earlier also playing around with the conference mute module in v0.46.0 and there this isn't possible.
Other Software
As mentioned above, at times I have had to undo my remappings as I accidentally pressed caps lock instead of choosing it manually causing everything I type to be in uppercase.

This is expected behavior.
When setting the shortcut we suspend the remappings in order to get the original keys for mapping.

Uh sorry but how does that make sense? I remapped that key so I very much don't expect to get the original key. It also leads to breaking behavior with caps lock as I first need to remove the remapped key in order to turn it off again.

It is expected that the remappings will not work inside the editors.

Alright, I still think it is counter intiuative but as it is "working as designed" I decided to make a feature request instead.  https://github.com/microsoft/PowerToys/issues/13376


check option

I try to use check option to set minimum percentage required. But no error raised in callback or promise...

That's a karma coverageReporter option. While this can be used to combine the output from multiple karma runs (I frequently use it to do just that), it really has nothing to do with karma.
It will pass options to any of the istanbul reporters you specify, but I don't see check as an available option for any of those (I only glanced at a couple just now).
You could probably use the json-summary reporter, and write your own code to check all the appropriate values and exit with an error if it doesn't meet the threshold.

You actually don't need this lib to do this, just do:
istanbul check-coverage --statements 90 **/*coverage.json

Thank's you!


Use pre-built ubuntu nsenter image in CI

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

NONE

/assign @wallrj

/assign @wallrj

@wallrj done - waiting for image to build, which might cause tests to fail first time https://github.com/jetstack/ubuntu-nsenter


Number of features in xgb.predict function

Trained a XGB Classifier model with 5178 features and saved it as a pickle file. But the issue is when loading the saved xgb model and if I am passing a feature vector of shape less than 5178 (let's suppose 5174) , it still gives list of probabilities for both the class.
Can anyone explain this ?

Saved the model as
import _pickle as cPickle
with open(filename,'wb') as f:
       cPickle.dump(xgb_clf, f)

with open(filename, 'rb') as fr:
    xgb_clf = cPickle.load(fr)

xgb_clf.predict_proba(feat_vec_all)

shape of feat_vect = (1,5174)
But xgb_clf was trained on 5178 features

Can you help ? @hcho3

Which XGBoost version are you using?

version 1.2.0

The last four features are treated as missing values.
XGBoost models have provisions for missing values in the input vector. See https://www.kdd.org/kdd2016/papers/files/rfp0697-chenAemb.pdf for details about how missing values are handled.

@hcho3 Thanks for the help. Will read the paper


Retries Failing with RequestRateTooLargeException

I am calling ReplaceDocumentAsync and getting RequestRateTooLargeExceptions. From what I read, the SDK should be retrying requests for me automatically. My guess is that I am getting this exception still because it retried too many times and still failed? Is this the case? If so, is this configurable?
  at Microsoft.Azure.Documents.RntbdTransportClient.ThrowIfFailed(String resourceAddress, StoreResponse storeResponse, Uri physicalAddress, Guid activityId)
   at Microsoft.Azure.Documents.RntbdTransportClient.<InvokeStoreAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<WriteAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<InvokeAsync>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass1.<<InvokeAsync>b__0>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<>c__DisplayClassd`1.<<ExecuteAsync>b__c>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetry>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteAsync>d__12`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<InvokeAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<UpdateAsync>d__2a9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<ReplaceDocumentPrivateAsync>d__f3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Azure.Documents.Client.DocumentClient.<ReplaceDocumentPrivateAsync>d__eb.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Core.Repositories.DocumentDB.Repository`1.<ReplaceAsync>d__3.MoveNext() in C:\\*********\\Repository.cs:line 33
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Core.Services.UserService.<ChangePasswordAsync>d__17.MoveNext() in C:\\*********\\UserService.cs:line 202
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Api.Controllers.AccountsController.<PutPassword>d__10.MoveNext() in C:\\*********\\AccountsController.cs:line 120
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.AspNet.Mvc.Controllers.ControllerActionExecutor.<CastToObject>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker.<InvokeActionAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.<InvokeActionFilterAsync>d__53.MoveNext()

The SDK does not implement retries except in one case (3 retries for queries since LINQ makes it harder to hook in retries).
We recommend adding retries like shown in the samples here: https://github.com/Azure/azure-documentdb-dotnet/blob/1713c5c1bf68c3ad7cdf2ff9d78f245bcd326273/samples/code-samples/Shared/Util/DocumentClientHelper.cs

Thanks. I've added them throughout my repositories here if anyone cares to reference them as additional examples.


Two children levels with different prop name

I have for example such structure:
var arr = [    {         name: 'name',         childOne: {                 nameChildOne: 'nameChildOne',                 childTwo: {                         nameChildTwo: 'nameChildTwo'                 }         }     }, .... ]
It is possible to present it on tree while in options i can only set one nodeChildren?

not at this time.
On Tue, Mar 8, 2016 at 2:08 PM, FilipPoreba<EMAIL_ADDRESS>wrote:

I have for example such structure:
var arr = [
{
name: 'name',
childOne: {
nameChildOne: 'nameChildOne',
childTwo: {
nameChildTwo: 'nameChildTwo'
}
}
},
....
]
It is possible to present it on tree while in options i can only set one
nodeChildren?
—
Reply to this email directly or view it on GitHub
https://github.com/wix/angular-tree-control/issues/197.


kube green VS Horisontal Pod Autoscaler

I want to see what kube-green can do that HPA can't or vice-versa
┆Card is synchronized with this Github issue by Unito

Sofus Albertsen commented in Trello:

https://kube-green.dev


2nd conn.Close causes process to exit.

I am testing latest 2.0.0 version - without connection Pool. Just connect and execute query.
My scenario:
(This issue looks like specific to Multiple DB Connections using 2 Promises. If I execute ONLY one query at a time, close connection is fine. No issues)
Two DB connections executing two queries at same times and Promise.All waits for both
Both queries complete and I am seeing results read from both.
First DB Connection close works without issues
Second DB conneciton.close command breaks the process - terminating and returning code:<PHONE_NUMBER>
FYI; I commented out connection.close and any number of times I am able to run queries.. (This is without using any Connection Pool).
But my concern is if I don't call Close, too many connection will be left open and soon that will be problem.
Below is sample code I am using.. please let me know if you see any issues:
Current code uses callback approach - so left it that way
odbc.connect(connString, function(err, conn) {
conn.query(queryText, [], function(err, data) {
// Check errors etsc
// Close connection
//  If I comment, I see no issues with 2 connection/query scenario
// When there is error, process exits and don't see any additional messages
conn.close((err) => {
if (err) {
console.log('executeODBCQuery: Connection closed. (ERROR)');
} else {
console.log('executeODBCQuery: Connection closed');
}
});
});
});

I'm not sure I follow. Could you post an example with both connections using Promise.All? Something like the minimum amount to get the package to break.
Thanks

markdirish,
Thanks for follow up.
Below is closet sample code I can share:
const workers = [];
workers.push(executeODBCQuery(hostName, dbName, query)) // This created new Connection and executes query - No reuse
Promise.all(workers)
.then(function(data) {
let resultData = {
count: 0,
select: []
};
data.map((_) => {
	resultData.count += _.count;
});

resolve(resultData);

})
.catch(function(err) {
console.log(err);
reject(err);
});
NOTE: Once Query is executed, if you close DB connection - first one will close fine.. on 2nd Close - even though its NEW 2nd connection - process breaks.
If I don't touch Close - all works great
Thanks for your help.

Issue is 3 years old, we have tests that test this very scenario, and I am 99% sure it is no longer an issue. Closing, but of course feel free to reopen if you still notice its an issue.


FEAT: Add QuantEcon Banner as Header in Notebooks

It would be great to add the QuantEcon banner at the top of every download notebook. @DrDrij can you advise on this.
I am thinking of building a download set of notebooks that would include a header cell with
<link rel="stylesheet" href="_static/css/qe-menubar.css">

 QuantEcon

Lectures

QuantEcon.py

QuantEcon.jl

Notebooks

Cheatsheets

Blog

Forum

Repository

Twitter

but it doesn't seem to work.
It looks like

perhaps I don't have all the assets in the right spot. Could you experiment and let me know what would be required?

@mmcky The notebook file is standalone right?
If a user downloads a lecture notebook file from the site how is the notebook to access images/css etc?
I'm thinking in your above example possibly putting the the whole of the css file inline inside a  element. However, will still need access to the icons image.

hey @DrDrij -- happy for the header to make internet calls for now. In the future (we can use the cell attachments to add assets for standalone notebooks)

this has been added as a PR so closing issue


Certification // Raspberry Pi 2 + BrickPi+ + ev3dev-jessie-2016-12-21 + ev3dev-lang-java v0.4.0

Build the case:
https://www.youtube.com/watch?v=NZEP7nQQJ2o

Connected by wifi
http://www.ev3dev.org/docs/tutorials/setting-up-wifi-using-the-command-line/

New articulo to install Java 8 on Raspi
https://www.linuxbabe.com/desktop-linux/install-oracle-java-8-debian-jessie-raspbian-jessie-via-ppa

Main-Class: examples.hardware.PlatformTest
java -jar /home/robot/ev3dev-lang-java-all-0.4.0-SNAPSHOT.jar
ev3dev#1|2017-01-10 21:40:01 [main] INFO  examples.hardware.PlatformTest - Using the platform: BRICKPI

Having some problem with Raspberry Pi 2 and BrickPi+
https://github.com/DexterInd/BrickPi/issues/33
https://github.com/ev3dev/ev3dev/issues/807

robot@ev3dev:~$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)

Restarting the test with a new RaspberryPi2 + BrickPi+ board in order to discard physical problems.

http://www.ev3dev.org/docs/getting-started/
http://www.ev3dev.org/docs/tutorials/setting-up-wifi-using-the-command-line/

Changes on configuration:
####################################
# Dexter Industries BrickPi config #
####################################

# uncomment both if you are using BrickPi
dtoverlay=brickpi
init_uart_clock=32000000

# uncomment only if you are using BrickPi+
dtparam=brickpi_battery=okay

Dmesg:
[    5.476335] Registered BrickPi line discipline. (28)
[    6.096684] smsc95xx 1-1.1:1.0 eth1: hardware isn't capable of remote wakeup
[    6.100703] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    7.612517] smsc95xx 1-1.1:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0xCDE1
[    7.616056] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    7.644072] 8021q: 802.1Q VLAN Support v1.8
[   15.473689] tty ttyAMA0: Failed to init while setting sensors. (-110)
[   15.555278] random: nonblocking pool is initialized

Another additional problem. Testing BrickPi+ on another Raspberry Pi 2 board, I notice that the board is not detected by my router with the img for EV3Dev. I thought that the board has some damage and tried with a RetroPie image and it run without any problem:

     .***.     Saturday, 14 January 2017, 10:08:56 PM
     *****     Linux 4.4.26-v7+ armv7l GNU/Linux
     `***'
      |*|      Filesystem      Size  Used Avail Use% Mounted on
      |*|      /dev/root       7.2G  1.8G  5.2G  26% /
    ..|*|..    Uptime.............: 0 days, 00h02m11s
  .*** * ***.  Memory.............: 409508kB (Free) / 752864kB (Total)
  *******@@**  Running Processes..: 117
  `*****@@**'  IP Address.........: <IP_ADDRESS>
   `*******'   Temperature........: CPU: 39°C/102°F GPU: 39°C/102°F
     `"""'     The RetroPie Project, https://retropie.org.uk

The board with "apparently" problems is Raspberry Pi 2 rev 1.2. With rev 1.1 the board is detected by the router but It is not able to configure Brick Pi+

Testing with the image from @DexterInd
https://www.dexterindustries.com/howto/install-raspbian-for-robots-image-on-an-sd-card/

Related issue:
https://github.com/ev3dev/ev3dev/issues/807

Current version to give support is RaspberryPi3


Add a Setup.py

With this PR, it is now possible to do:
pip install git+https://github.com/simpeg/tle-magnetotelluric_inversion

Thanks @thast! Are the links in the index notebook up to date?

@lheagy : I had to go a bit further than expected to get it up and running in a travis environment. I'm dealing with those type of things (links etc.) right now. Will keep you posted once done.

@lheagy : ready again ^^, thanks for your patience.


Setting external issue tracker in app.ini

It would be nice to be able to set those properties in app.ini to have inherited values for all projects in gitea:

That can't be done using app.ini as this is per repository setting

It sounds reasonable to me to specify Tracker URL and Tracker Format in a place (app.ini or through UI) to avoid me to insert the same 2 pieces of information for all projects.

Maybe an API to set repository's external issue.


Automatically add Profiles

Summary of the new feature/enhancement
 It would solve the hassle of going into the settings, finding the directory of the new console or linux terminal and figuring out how to add it to Windows Terminal
Proposed technical implementation details (optional)
I want the Windows Terminal to auto detect when a new Linux Terminal, Console, or powershell is installed on the system and for Windows Terminal to automatically add its profiles and dropdown.

This is a part of the spec in #754


failed to build evpp on linux platform

failed to build evpp on linux platform
platform = ubuntu 18.04

Duplicated to https://github.com/microsoft/vcpkg/issues/8037


Small water animation over map

Hi, my app is for marine users so that the sea looks plain and i cant see the boat icon moving over the sea while the user moves over the sea. how to place a small water animation if it cant be done how to draw some grid lines over the map so they can see the boat moving on the map.
Thanks
Binu

Hi. I would approach it as follows: create a number of half-transparent bitmap frames that can be cycled. Then create for each bitmap a MarkerStyle instance with that uses BILLBOARD_ORIENTATION_GROUND mode. Then add a marker to the position of your icon and update the style after each 5ms or so.
But it really depends what kind of visual you are trying to achieve.


Fix goToPos implementations

there are too many go to posses everywhere,
we should limit these to -> controlGoToPos-folder and (maybe) one single gotopos-skill for when you don't need an explicit skill for going to a position.

We should also think about the way we name things. There are too many "control", "gotopos", "skil"... keywords around.

fixed


UI/UX: Change title of the webpage from 'conference' to 'We are in IT together'

Closed in pull request #140


Link to uber/h3-py

Relates to #21

🎉 🎉 🎉

Coverage remained the same at 100.0% when pulling 6546b7f1c3cffc1c8a33458ac4a66f2a633d1450 on isaacbrodsky:link-to-python into 95ca113fbc0839714db8783ad98040040fc55b27 on uber:master.


QwikJS Error with ModularForms: Issue Using 'transform' Property and 'toCustom$' Function

Hello @fabian-hiller,
I'm using version v0.20.2 of ModularForms along with version v1.2.11 of QwikJS. I encounter an error from QwikJS when trying to use the "transform" property of a "field" in ModularForms, combined with the "toCustom$" function. The error message displayed in the browser by QwikJS is: "Optimizer should replace all usages of $() with some special syntax. If you need to create a QRL manually, use inlinedQrl() instead."

Thank you for the hint. I will have a look at this at the end of the week.

Hello, I apologize for the inconvenience. Is there an alternative while the error persists? Due to this issue, I can't use the "transform" function on fields. For instance, I need to transform an input field so it only contains numbers and another one so it doesn't have spaces.

Yes, a workaround could be to use useTask$ to track the change of a field to perform a transformation. However, you must avoid programming an infinite loop. Depending on the use case, Valibot's or Zod's transformation function could also be a workaround.

Sorry, I have a lot of work at the moment and therefore only come to Modular Forms from time to time. 😕

I understand that you might be busy and perhaps don't have enough time, which is completely understandable. Do you plan to continue developing ModularForms, or will the project be abandoned? If you decide to pursue the project in your spare time, would you be open to me creating a Pull Request to fix the "toCustom$" error?

I plan to continue working on Modular Forms. With the decisions of many frameworks to move to Signals, I can see Modular Forms becoming a relevant open source project in the future. I finished my undergraduate degree three weeks ago with the submission of my bachelor's thesis, and two days after that I moved to New York for my master's degree. These circumstances have meant that I have had less time for Modular Forms in the last three months. As soon as I get more familiar with my new environment, I should have more time for Modular Forms again.

If you are able to fix the problem, feel free to create a PR or provide me with information. I am interested in getting this fixed soon.

Congratulations on your academic achievements! Regarding ModularForms, I'm convinced it will gain a lot of traction in the coming months. It might not have had the initial momentum that Vailbot had, but I have a feeling it could surpass it in a few months, especially in terms of GitHub stars and downloads.
About the "tuCustom$" error, I've been attempting to resolve it today, but I haven't found the solution yet. However, I'll continue to look for a solution. As soon as I have more information on the error or manage to solve it, I'll let you know.
This weekend, I plan to become a small ModularForms sponsor via GitHub, although I'll do it from another Github account.
Greetings! 😄

I have looked at the problem and you are right. I am experiencing the same problem. Since it worked back when I implemented it, I suspect a bug on Qwik's side. The implementation of toCustom$ looks ok so far. Have you already created an issue at Qwik's repository?

I opened the problem on QwikJS Discord, but I got no response. Someone tagged you in the question haha.
Today I will open the problem in the QwikJS repository on Github.

Please link this issue. I noticed that the following does not work either:
transform={toCustomQrl(
  $((value) => value?.toUpperCase()),
  { on: 'change' }
)}

Have you already created a minimal reproduction on StackBlitz without Modular Forms?

I have created a reproduction in StackBlitz using ModularForms and another without using ModularForms.
Playback with ModularForms: https://stackblitz.com/edit/qwik-starter-hxqulw?file=src%2Froutes%2Findex.tsx
Playback without ModularForms: https://stackblitz.com/edit/qwik-starter-juwwvd?file=src%2Froutes%2Findex.tsx

@fabian-hiller not related, but why are zod and valibot externals but not peer deps? For the rest the vite.conf and package.json look correct :thinking:

@fabian-hiller not related, but why are zod and valibot externals but not peer deps? For the rest the vite.conf and package.json look correct 🤔

This is because Modular Forms currently only uses types from both packages, but not logic. This means that Modular Forms does not import JavaScript code from Zod and Valibot. However, your question is valid.
I haven't added it as a dependency yet, because Modular Forms is advertised as dependency-free and it would also increase the bundle size on tools like Bundlephobia extremely. But in the end this is just "marketing".
It also makes no sense as a peer dependency, since we would be forcing our users to install Zod even if they only use Valibot. An alternative would be to release custom npm packages for the adapters. Similar to what React Hook Form does with the resolvers.

So this still doesn't work?

This is a bug in the optimizer, when you have $() in an attribute not ending with $, it will be ignored.
The workaround is to do the $() outside of the JSX template, or to change the prop name to one ending in $.

The workaround is to do the $() outside of the JSX template, or to change the prop name to one ending in $.

Yup. Defining the transform function outside the template works. It's the inline example that doesn't work.

Oh, thanks haha


Use cc for ar/ranlib detection

Note that Command::get_program and Command::get_args both stabilized in Rust 1.57.0, and so implicitly bump this crate's MSRV.
Depends on rust-lang/cc-rs#763.
Replaces #164.

Marked this as a draft until the cc-rs PR lands.

cargo package fails because it doesn't respect the [patch.crates-io].

@alexcrichton The features we needed from cc have now landed, so I've marked the PR as ready for review. The biggest discussion point here I think is that this bumps MSRV for the crate since it uses CommandBuilder::get_args which requires 1.57.0. We could extend cc so that it also provided a mechanism for getting the command and arguments separately, but it feels unnecessary given that we now have the "right" way to do this via std.

Do you have a rough sense for when this may land in a release? I have a couple of builds in semi-weird environments that are currently failing and would be fixed by this :)

I believe an OpenSSL security release is happening next week, so next week.

Interesting — that makes me wonder if we might want to release this now to get a heads up in case it breaks anyone's builds. I worry about getting into a position where a security fix goes out at the same time as a change that may break people's builds, as it may mean some people end up not being able to take the security fix.

Ah, I just realized this only affects the 300 major version. I assume it'd also be okay to backport to 111? I'm happy to do that assuming it's acceptable.

Yes that's fine, I can make a release after a PR to the 111 branch

Back port to 111 in https://github.com/alexcrichton/openssl-src-rs/pull/180

Note this does appear to have broken rustup builds:
https://github.com/rust-lang/rustup/issues/3263
https://github.com/sfackler/rust-openssl/issues/1839

I don't know how best to fix this myself, unfortunately.


Use referenceFrame when Sensor API used

via @pozdnyakov https://github.com/immersive-web/cardboard-vr-display/issues/10#issuecomment-366722664

@cvan @jsantell FYI, screen coordinates synchronization for the Accelerometer, Gyroscope, LinearAcceleration, AbsoluteOrientationSensor and RelativeOrientationSensor
classes is available now in Chrome canaries (starting from 66.0.3350.0). In practice, it means that if you create a sensor object passing {referenceFrame:"screen"} to the constructor (e.g. new RelativeOrientationSensor({frequency: 60, referenceFrame:"screen"})) the screen coordinate system will be used to resolve the sensor readings. So, there will be no need to remap sensor readings on JS side when the screen orientation changes.

UA sniffing for m63-m65, now spec will throw if constructor options invalid


Edits to TFF Footer Menu

Who We Are --> Link should be www.threefold.me/whoweare (without the # to open in new tab)
What is ThreeFold? --> Link should be www.threefold.me/whatisthreefold
Blog --> Link should be blog.threefold.io
In the News --> Link should be https://threefold.io/news
Privacy Policy --> https://docs.google.com/document/d/1SHLKJBdZHtGrb0p8OnfHUYsMtHPOf4sZPawpPWY8FtU/edit
Contact --><EMAIL_ADDRESS>External Links --> REMOVE LINK ALL TOGETHER and make bold
ThreeFold Wiki (Knowledgebase) --> remove the word (Knowledgebase) so it just reads "ThreeFold Wiki" and LINK TO --> wiki.threefold.io

For point No 1 we can't remove '#' because it's svelte page.

For this task:
External Links --> REMOVE LINK ALL TOGETHER and make bold
I only meant to make the "External Links" title not a clickable link — make it text only. The other links below this should be added back in and should match the ones under the "Info" submenu of the header.

Blog and In the News links already existed in previous column

remove the main header links from the footer menu:

Who We Are
Our Philosophy (now should be Vision)
What is ThreeFold? (now should be Mission)
The Ecosystem

replace the links to Privacy Policy and Terms & Conditions on Google Docs with pages from the THREEFOLD WIKI according to story https://github.com/threefoldfoundation/www_tffoundation/issues/278

So the new footer menu should have 2 columns:

Knowledgebase (Wiki) ---> wiki.threefold.io
Blog ---> blog.threefold.io
In the News  ----> threefold.io/news
Forum ----> forum.threefold.io

ThreeFold.io ---> threefold.io
Privacy Policy --> LINK TO NEW WIKI PAGE
Terms & Conditions --> LINK TO NEW WIKI PAGE
Contact --><EMAIL_ADDRESS>

remove the main header links from the footer menu:
Who We Are
Our Philosophy (now should be Vision)
What is ThreeFold? (now should be Mission)
The Ecosystem

Remove "External Links" from the footer menu
Change "ThreeFold.io" link to "ThreeFold Grid"

Remove "External Links" from the footer menu
Change "ThreeFold.io" link to "ThreeFold Grid"

Done, will add links for T&C and Privacy Policy as soon as they are on wiki production


Cross cloud storage

Made typo and minor bug fixes to gcp storage particle and example as well

Not sure why it still shows commits from flask app but it just got merged by @anovis

Try changing the base to another branch and then back to develop. That should refresh it

i am now getting this error when running the example. it happens during the apply with desired state = running
botocore.exceptions.ClientError: An error occurred (OperationAborted) when calling the CreateBucket operation: A conflicting conditional operation is currently in progress against this resource. Please try again.

Yes if that is the case then they would just create a separate quasiparticle. I think tagging would be good but don't think we have any in gcp yet. Your welcome to add that and only tag AWS if you want.


HACKING: Minor typo fix

Small typo spotted in env variable
This pull request includes:

[x] adequate testing for the new functionality or fixed issue
[x] adequate documentation informing people about the change

CI failed but we don't test HACKING.md so this is fine.


update and modernize the platform extensions test

This PR fixes the platform extensions test to behave the way I expect it should behave.  See discussion: https://github.com/KhronosGroup/OpenCL-Docs/issues/1287

If an extension is reported in CL_PLATFORM_EXTENSIONS then it should also be reported in CL_DEVICE_EXTENSIONS.
If an extension is reported in CL_DEVICE_EXTENSIONS for all devices then it should also be reported in CL_PLATFORM_EXTENSIONS.

The first commit simply fixes the formatting in this file and can be ignored for easier review.

I'll keep this as a draft until the spec issue is resolved.


ApiVersion not getting latest versions

extension not getting the latest version from site

Thanks @cconrado. A schema has not yes been fully generated for Microsoft/Web/* for version 2019-08-01 (it would be here).
We currently have an initiate underway to create schemas for all resources + all api versions. Web is currently in progress. Status can be tracked here and the individual pull request is here. Once generated we will pull that into the VS Code extension.
I'm going to close this, status can be tracked at the link above.
Thanks again.


#1183 Feat: Modal for selecting the display-type of Product Option and configuring the Storefront view to integrate with the display-type

Model for customize Product Option in Backoffice and improve Storefront UI
The origin issue: #1183 [Storefront][Product] - Show Product Color Options as colored label instead text name label
Overview:

Add a model in Backoffice when create/update product -> user is able to change the display type of option: color/text; when select display with color, they are also able to pick a specific color.
The Generate Combine button will now generate combinations of multiple different option values together, rather than just a single one.
Configured display Product Combination in Storefront, show color/text based on the selected display type.

Backoffice:

Create product:

Update product:

Selected Display Type and value:

Select display type
Select display value

Storefront page:

The product option chips look great! I have a minor suggestion: could we add a separate remove button, instead of integrating it within the chip value? This would help prevent accidental removals by making the delete action more distinct.
Current:

Propose:

Hi @mochacr0, your suggestion to enhance the badges is great, but for now, let's focus solely on functionality. Our website is currently facing issues with product creation and updates. We can create a new ticket to address and improve badge upgrades later.
Thanks for your all comments, I will check it out and refactor code for more readable and consistent.


Add Halite to security list

Provides industry standard encryption using modern cryptography standards.

Needs rebase please :)

@josegonzalez done!


.get_score(importance_type='gain') gives very strange results

Environment info
Operating System: Ubuntu
Compiler: not sure
Package used (python/R/jvm/C++): python
xgboost version used: v0.60
If installing from source, please provide

The commit hash (git rev-parse HEAD) e79a803a3060bd4d75954e3a9dc2d893eb7a0a9b
Logs will be helpful (If logs are large, please upload as attachment). Don't have them.

If you are using python package, please provide

The python version and distribution. Python 2.7.12 :: Anaconda 2.4.1 (64-bit)
The command to install xgboost if you are not installing from source. Source

Steps to reproduce

Not sure
2.
3.

What have you tried?

Quite a thorough investigation
2.
3.

I am quite sure that .get_score(importance_type='gain') is broken. I am doing a regression problem and thought to use .get_score(importance_type='gain') because I am familiar with sklearn and I am pretty sure this is the methodology they use for feature importance.
The trouble is that one of the most important features according to 'gain' is this one feature. I was surprised and then tried to predict with different values of the feature. To my surprise, there was no change in the predicted outcome at all. It was as if the feature was not actually important. I then checked a different measure of importance - 'weight' - and this feature was only used to split one time. In contrast the most import feature by 'weight' was used 1180 times. It seems as if the 'gain' option is broken.

Old bug, no answer. Closing


How to pass in Api Token manually?

We have a custom environment variable flow, and we need to be able to pass in the required api tokens via a function call / as parameters.
Is that possible?

Hey @bahlo is there an update on this?

Hello @schehata?

Hey @bahlo, @schehata  is there an update on this?

hi @Tobjoern, sorry it has been a while, so far there is not a way to do that, but I will look into it.

hi @Tobjoern, sorry it has been a while, so far there is not a way to do that, but I will look into it.

Hey @schehata did you find a solution to this?
It should be very easy to implement

its easy to pass it to pass it a fresh instance of the logger, probably you can copy our logger and create your own constructor on it, the problem relies in the serverless api functions where we inject the logger to the request.


You need to resolve/close this issue

The only substantive issue I have found is that you have not closed this issue you are currently reading. Thank you for your hard work, Nicholas. This project would not be where it is today without you (:

Also stop eating my fruit from the community fridge

Thank you Michael. For your fruit


Add Kahn’s Topological Sort Algorithm in graph .

I want to add Kahn’s Topological Sort Algorithm in graph in java, python and C++.
Please assign me this issue.

@Aishjahan Could you make a proper issue description according to the template provided

Description :
Kahn’s topological sort algorithm works by finding vertices with no incoming edges and removing all outgoing edges from these vertices.
Topic : Graph

Kindly review the new description.

Assigned!
@Aishjahan : C, Python and Java


tide: consider skipped run conclusion as success

The GitHub API seems to have changed the conclusion to now return skipped. Tide should consider this status as success to be able to merge the PR.
Fixes https://github.com/kubernetes-sigs/prow/issues/130

/lgtm

/cc @droslean @petr-muller


Adding a test case for hipExtModuleLaunchKernel() api to test its fla…

Adding a test case for hipExtModuleLaunchKernel() api to test its flag functionality.

@amd-lthakur Could you change the test as discussed in SWDEV-190798?

Closing it in favor of #1582


Updating histogram metric causes performance issue when spilling as it is updated too frequently

Description
When testing Velox spilling functionality, we found that the velox spilling would have performance issue.
Although the spilling has a thread pool up to 8 threads, the actual CPU concurrency is only 1~2.

Then we use tools like pstack to find what's wrong, and it turns out that all the spilling threads are bottlenecked by prometheusCpp's updateHistogramMetric calling, and the stack is as follows:
Thread 2242 (Thread 0x7f8aee23d640 (LWP 10173)):
#0  0x00007fa72a2a6dc0 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007fa72a29f753 in pthread_mutex_lock () from /lib64/libpthread.so.0
#2  0x00007fa60f5c23e6 in std::__1::mutex::lock() () from /data/shared_libs/libnative_execution.so
#3  0x00007fa60fa31358 in prometheus::Summary::Observe(double) () from /data/shared_libs/libnative_execution.so
#4  0x00007fa60f9fc768 in facebook::presto::prometheus::PrometheusStatsReporter::addHistogramMetricValue(char const*, unsigned long) const () from /data/shared_libs/libnative_execution.so
#5  0x00007fa60f9fc91f in facebook::presto::prometheus::PrometheusStatsReporter::addHistogramMetricValue(folly::Range<char const*>, unsigned long) const () from /data/shared_libs/libnative_execution.so
#6  0x00007fa614234bca in facebook::velox::common::updateGlobalSpillAppendStats(unsigned long, unsigned long) () from /data/shared_libs/libnative_execution.so
#7  0x00007fa613c32177 in facebook::velox::exec::SpillWriter::updateAppendStats(unsigned long, unsigned long) () from /data/shared_libs/libnative_execution.so
#8  0x00007fa613c32083 in facebook::velox::exec::SpillWriter::write(std::__1::shared_ptr<facebook::velox::RowVector> const&, folly::Range<facebook::velox::IndexRange*> const&) () from /data/shared_libs/libnative_execution.so
#9  0x00007fa613c2c119 in facebook::velox::exec::SpillState::appendToPartition(unsigned int, std::__1::shared_ptr<facebook::velox::RowVector> const&) () from /data/shared_libs/libnative_execution.so
#10 0x00007fa613c3662e in facebook::velox::exec::Spiller::writeSpill(int) () from /data/shared_libs/libnative_execution.so
#11 0x00007fa613c3a494 in facebook::velox::AsyncSource<facebook::velox::exec::Spiller::SpillStatus>::runMake(std::__1::function<std::__1::unique_ptr<facebook::velox::exec::Spiller::SpillStatus, std::__1::default_delete<facebook::velox::exec::Spiller::SpillStatus> > ()>&) () from /data/shared_libs/libnative_execution.so
#12 0x00007fa613c39d66 in facebook::velox::AsyncSource<facebook::velox::exec::Spiller::SpillStatus>::move() () from /data/shared_libs/libnative_execution.so
#13 0x00007fa613c36bb2 in facebook::velox::exec::Spiller::runSpill(bool) () from /data/shared_libs/libnative_execution.so
#14 0x00007fa613c372eb in facebook::velox::exec::Spiller::spill(facebook::velox::exec::RowContainerIterator const*) () from /data/shared_libs/libnative_execution.so
#15 0x00007fa613d15a20 in facebook::velox::exec::GroupingSet::spill() () from /data/shared_libs/libnative_execution.so
#16 0x00007fa613d1e1a6 in facebook::velox::exec::HashAggregation::reclaim(unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&) () from /data/shared_libs/libnative_execution.so
#17 0x00007fa613c03534 in long std::__1::__function::__policy_invoker<long ()>::__call_impl[abi:ue170006]<std::__1::__function::__default_alloc_func<facebook::velox::exec::Operator::MemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::$_0, long ()> >(std::__1::__function::__policy_storage const*) () from /data/shared_libs/libnative_execution.so
#18 0x00007fa6142aa382 in facebook::velox::memory::MemoryReclaimer::run(std::__1::function<long ()> const&, facebook::velox::memory::MemoryReclaimer::Stats&) () from /data/shared_libs/libnative_execution.so
#19 0x00007fa613c03104 in facebook::velox::exec::Operator::MemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&) () from /data/shared_libs/libnative_execution.so
#20 0x00007fa613bfec58 in std::__1::unique_ptr<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult, std::__1::default_delete<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult> > std::__1::__function::__policy_invoker<std::__1::unique_ptr<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult, std::__1::default_delete<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult> > ()>::__call_impl[abi:ue170006]<std::__1::__function::__default_alloc_func<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::$_1, std::__1::unique_ptr<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult, std::__1::default_delete<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult> > ()> >(std::__1::__function::__policy_storage const*) () from /data/shared_libs/libnative_execution.so
#21 0x00007fa613bfea24 in facebook::velox::AsyncSource<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult>::runMake(std::__1::function<std::__1::unique_ptr<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult, std::__1::default_delete<facebook::velox::exec::ParallelMemoryReclaimer::reclaim(facebook::velox::memory::MemoryPool*, unsigned long, unsigned long, facebook::velox::memory::MemoryReclaimer::Stats&)::ReclaimResult> > ()>&) () from /data/shared_libs/libnative_execution.so

Turning off premetheusCpp metric collection would solve the problem for sure, but we want to see why this happens.
And after going through the code, we found that the Spiller's code is calling the updateHistogramMetric function too frequently.
In Spiller.nextBatch, the code would call appendPartition() every 64 rows or every 256KB:
https://github.com/facebookincubator/velox/blob/c13b8ed888aa785bff88d061f5b3bc00e9231961/velox/exec/Spiller.cpp#L459-L477
Function appendToPartition() would call finally try to update the histogramMetric as the stack above, which causes performance issue.
We also notice that the prestissimo also use prometheusCpp as the metricExporter, so we wonder if the prestissimo has encountered the same problem or not.
Besides, to solve the problem, we want to know if it's possible for velox to use larger batch size in Spiller code, or to reduce the usage of updateHistogramMetric, especially in critical session (frequent metric updating zone).
I could submit related code patches if the velox community agrees the modification.
Thanks a lot.

@xiaoxmeng @oerling Could you please take a look at the problem? Thanks a lot.

@Yuhta Thanks for your reply. So it would be more convenient to modify the prestoCpp layer rather than velox, am I getting it right?
Are there any changes for velox to carry out?
Any suggestion is welcome.

@HolyLow Yes it should be a pure optimization on PrometheusStatsReporter side.  Write heavy data structure usually has better performance with thread local.


chore(master): release 1.4.0

:robot: I have created a release beep boop
1.4.0 (2022-08-24)
Features

updated action colour (ac2e4a3)
updated description (4517d8d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SethCohen/github-release-to-discord/releases/tag/v1.4.0 :sunflower:


Update Composer dependencies (2021-12-30-00-11)

Visual regression test passed!
View the visual regression test report


Port material texture optimization to Vulkan

Ports the useful parts of https://github.com/godotengine/godot/pull/33097 into Vulkan
This avoids creating sampler2D uniforms for roughness and metallic textures when not used.

@clayjohn What's the status of this PR? It's currently targeting the vulkan branch, which has since been deleted since it has been merged into master.

It's in hibernation until we see what happens with the GLES2 renderer. It's only really helpful if we have a GLES2 renderer that uses SpatialMaterials.

Closing because 4.x is planned to have GLES 3 instead of GLES 2 (or potentially both), and this PR is only helpful for GLES 2 as stated here, so this PR is (likely) not useful. If GLES 2 is added later, this PR can just be re-opened in the future. I'm also adding the "salvageable" label because this PR is (potentially) salvageable. It may need to be re-done from scratch though.

@aaronfranke please don't close PRs without consulting the area owners.
I've kept this PR open for a reason and I will close it or request that it is merged as appropriate.
We still need to figure out what we are doing with the low-end renderer and particularly WebGL. This PR was necessary in 3.x for many games to run on firefox. We may face similar limitations in 4.x.
So please, in the future, ask before closing. It does not hurt to be well informed

No longer needed as we are going with a GLES3 renderer


Clear button appears under long text

I am using Firefox version 31.5 (limited due to corporate policy).
If the text of the selected item is wider than the input field, the little x seems to be behind the text and cannot be clicked to clear the contents.  It simply drops the selection box down as if I had clicked anywhere on the selection.
I do have a width set.
This works fine in IE 11.

+1.
Tested with Select2 V4 from CDNJS.
Works in IE 11.0.9600.17728.
Does not work in Chrome 42.0.2311.135 (Official Build) or Firefox 31.
Fiddle to demonstrate the issue: http://jsfiddle.net/crazyJ/0m4a5cLz/
It appears to be because the "x" for the clear is a nested span element under the text.

Reproduced this in Chrome, pull requests are always appreciated.

I have the same problem.....How to solve it . The reason is " It appears to be because the "x" for the clear is a nested span element under the text."。

You can solve it by adding to ".select2-selection__clear" absolute position and right direction, but there may be a different crossbrowser errors.
http://jsfiddle.net/0m4a5cLz/3/

It looks like the problem is caused by the overflowing text covering the clear button because it declared lower down in the DOM. The clear button can be made to render over top of the ellipses simply by making it position:relative.

+1
Does not work in Chrome 43.0.2357.130.
Works in Safari 8.0.6.

@fk PR fixes this issue also on FF v40. There are still some minor layout problems in FF (text ellipsis still goes below clear symbol), but it works.
Chrome 39.0.2171.95:

Firefox 40.0.3:

@SPodjasek thanks


How to achieve Enter: NOT (Enter OR Return)

Hello, some software still interpretes the keys Enter and Return differently, which is most useful in some environments. For example, the software Mathematica (a programming environment) takes Enter to trigger some code execution. In spreadsheet applications Enter can be used to confirm an input without leaving the active field, while Return remains set to confirm an input AND move to the field below the active field (probably somewhere else, if it is MS Excel). To emulate Enter on Laptop keyboards, Mathematica uses Shift-Return. With KeyRemap4MacBook I just assigned Enter to the right Command key, as I still have no better use for a right Command key, anyhow. In Karabiner I cant find an option to map any key to Enter. Is this feature lost or hidden? Thank you and with kind regards.
(Karabiner Elements 12.1.0 on MacBook Pro 5,4 running Mac OS X 10.13.6)

@sickdoc you can do this internally in mathematica with out using karabiner elements.
https://mathematica.stackexchange.com/questions/60684/switch-actions-of-shiftenter-and-enter-in-notebook-interface

Thank you for your kind response! Yes, Mathematica supports a wide range of customisation to the user interface. However, I would much prefer to use the more global kind of control Karabiner provides. I am just missing the option to set the Command_R to Enter, instead of Command_R to Return_or_Enter (which would not help in my case). Has Apple changed the key assignment in a way that does not differentiate between the Return key and the Enter key?


Add new version v1beta1 to integrationtestscenario to support Tekton Resolver

Add a new api version v1beta1 and make v1alpha1 as storage version because we need update more code to enable v1beta1
Add ResolverRef with Resolver(String) and Params([]tektonv1beta1.Param) under IntegrationTestScenario.Spec

The expected IntegrationTestScenario is like below:
apiVersion: appstudio.redhat.com/v1beta1
kind: IntegrationTestScenario
metadata:
  name: example-pass
  namespace: default
spec:
  application: application-sample
  resolverRef:
    resolver: git
    params:
      - name: url
        value: https://url
      - name: branch
        value: main
      - name: pathInRepo
        value: pipelines/helloworld.yaml

/test integration-service-e2e


webview.getUrl() is incorrect after redirecting

Set src to http://github.com,
The page redirects to https (https://github.com)
but the result of webview.getUrl() remains http://github.com.

https://github.com/

dupe https://github.com/atom/electron/issues/1364

Closing as a duplicate of #1364.


Allow extra fields from clients

https://github.com/python-scim/scim2-models/blob/00031eb0a4fa41c6f57631600021bf3019351976/scim2_models/base.py#L413
For server implementations clients often send fields not permitted or defined in the model This is unfortunate however for compatibility we need to allow but ignore fields we don't support

I opened a ticket upstream. https://github.com/pydantic/pydantic/issues/11057


Implement Responsive Design for Fantasy Pages to Improve Mobile Experience !!

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #4544
Description
This PR introduces several enhancements to the Romance Books page to improve the overall user experience and aesthetics.
Improvements Made

Title Bar: Enhanced with a clear title and improved typography.
Icon Integration: Added a unique literature-themed icon for better branding.
Navbar: Redesigned for responsiveness and added hover effects.
Footer: Updated with links, social media icons, and copyright information.
Card Design: Improved layout, high-quality images, and interactive flip effect for book cards.
Responsive Design: Ensured optimal display on various devices using CSS media queries.
Visual Consistency: Established a cohesive color palette and consistent typography.
Accessibility Features: Added descriptive alt text for images and ensured good color contrast.

Type of PR

[ ] Bug fix
[x] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
BEFORE:

AFTER:

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

Please add level 3 label , i have enhanced the total page !!

@sailaja-adapa , mam it really took a lot of time to enhance the total page , there were many issues in prev code, please make sure you add level 3 label !!


Add a composable to make authenticated requests

🔗 Linked issue
#688

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Add authFetch composable to provide a way to manually fetch a resource with authorization headers.
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have added tests (if possible).
[x] I have updated the documentation accordingly.

Hi @itsmohmans 👋
Thank you for your contribution! While I think it is conducive to add these kinds of utilities to the module, I think we should approach it slightly differently:
Let us provide a more generic: headers composable that only returns the headers for the request. This would allow people to use the utility for other HTTP clients such as  Axios. It would also avoid us having to hard-depend on the Nuxt $fetch methods and would also allow users to choose between using $fetch, useFetch, or useAsyncData without us writing custom wrappers for each.
Alternatively, I could also see use providing header and wrappers for all the fetch functionality inside Nuxt, however if we did this, I would propose adding a new composable to handle this.
I will also pull in @phoenix-ru for his opinion on this matter!

Hey!
I agree it should be more generic; However, wouldn't a headers computed be somewhat similar to the current token property as we can just add it to the request headers along with anything else we want to add in the request?
I still do think the module needs a composable that makes authenticated requests out of the box, and I'm open for edits on the how we approach this in a better way.


Resend PR about enhance video streaming performance

Hi @joeygrover
Sorry resend this PR again, since we have done something and we'd like you to review again:

Have reset the commits in #446
Rewrite the code in custom class SdlPipedInputStream and SdlPipedOutStream based on default sdk
I think it's now under Apache 2.0 license.

Test:
PC: Debian 32-bit, Windows 32-bit
Phone: Android4.4(API_LEVEL 19)
Connection: USB_AOA
Result:
The data in test are false video stream data, aims to get the max value in transmission.

Core(Windows)

Proxy (NOT include this PR)
1.54MB/s

Proxy (include this PR)
9.11MB/s

Could you please review again and give your feedback?

Codecov Report

Merging #549 into develop will decrease coverage by 0.54%.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             develop     #549      +/-   ##
=============================================
- Coverage      39.74%   39.19%   -0.55%
  Complexity      2253     2253
=============================================
  Files            310      312       +2
  Lines          13782    13972     +190
  Branches        1431     1473      +42
=============================================
  Hits            5477     5477
- Misses          8106     8296     +190
  Partials         199      199

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/smartdevicelink/encoder/SdlEncoder.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...martdevicelink/streaming/SdlPipedOutputStream.java
0% <0%> (ø)
0 <0> (?)

...smartdevicelink/streaming/SdlPipedInputStream.java
0% <0%> (ø)
0 <0> (?)

.../com/smartdevicelink/SdlConnection/SdlSession.java
12.28% <0%> (ø)
11 <0> (ø)
: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 b949434...1017bd4. Read the comment docs.

@joeygrover
Could you please take a look at this PR? This is the alternative solution of #446.
Also, I have no permission to request a reviewer, could you give me collaborator permission?

If you copy and pasted this code you need to state very clearly where it came from. There are important legal issues to consider when doing that.
We can't introduce new licenses into the project.
If this is copy/pasted from the Android source have you tried just setting the compile version to the Android version that implemented the changes to the piped streams? Does it work the same?

@joeygrover

If you copy and pasted this code you need to state very clearly where it came from. There are important legal issues to consider when doing that.

Yes, I understand there are important legal issues need to be considered, thanks for your reminding. This code mostly come from android sdk 19, as mentioned previous, rewrite function write() and receive()

We can't introduce new licenses into the project.

I am not very understand this, from my view point, it's very common to use proper open source licenses from third party libraries or source codes if it's no conflicts with current license we are using. For example in sdl_core. If I am wrong here, just correct me.

If this is copy/pasted from the Android source have you tried just setting the compile version to the Android version that implemented the changes to the piped streams? Does it work the same?

Yes, it works. we have tested more than once.
BTW, our partners had trial testing with the patches in this PR and they said it has a fantastic performance improvement. But before official deliver to them, I think it's better to ask your professional review in case of  legal issues or others may concerned.

This code mostly come from android sdk 19, as mentioned previous, rewrite function write() and receive()

Does that mean you copy and pasted the piped stream classes out of Android and then rewrote the write() and receive() methods? If so, did you obtain the code for those write() and read() methods from anywhere?

I am not very understand this, from my view point, it's very common to use proper open source licenses from third party libraries or source codes if it's no conflicts with current license we are using. For example in sdl_core. If I am wrong here, just correct me.

The sdl_core and other projects have had any previous licenses grandfathered in as they have been properly reviewed. However, contributing new code under any other license other than BSD3 is specifically against section D in the contributors agreement that is required to be signed before we can accept any code.

If this is copy/pasted from the Android source have you tried just setting the compile version to the Android version that implemented the changes to the piped streams? Does it work the same?

Yes, it works. we have tested more than once.

So simply upping the compile version and not introducing new code solves the issue? If that's the case why would we introduce new code?

Does that mean you copy and pasted the piped stream classes out of Android and then rewrote the write() and receive() methods? If so, did you obtain the code for those write() and read() methods from anywhere?

Yes, we copy and pasted the piped stream classes out of Android and then rewrote the write() and receive() method, these two functions were not obtained from anywhere but Android, we have checked again. Also, we added notifyAll() in the receive() function, which will help to read data as soon as the pipe finished receiving.

The sdl_core and other projects have had any previous licenses grandfathered in as they have been properly reviewed. However, contributing new code under any other license other than BSD3 is specifically against section D in the contributors agreement that is required to be signed before we can accept any code.

Thanks for your explanation, do we also need to sign the contributors agreement? The code was contributed from our Ford supplier.

So simply upping the compile version and not introducing new code solves the issue? If that's the case why would we introduce new code?

Sorry, I misunderstood this, we did testing for this PR NOT new compile version, we don't have latest Google phone that support  this version. As I mentioned in proposal, there are only about 4.7% developers are using the compile version 23, for compile version 24 which support pipe stream, I think the quality are less than compile version 23.

@joeygrover
Do you have any other feedback?

@BrandonHe yes you need to sign the CLA before we could accept any donations.
There are a few different versions to declare in Android, compile, target, and minimum. If all we need to increase is the compile version then I think that is a very easy and doable solution. It is recommended by Android to always compile with the latest SDK version. Unlike target and minimum that impose versions onto developers, compile versions do not. See this article of explanations for all version types.
Otherwise, we will have to have the SDLC legal team look into the legality/ramifications of including lifted code with a different license in the project.

@joeygrover
I have asked supplier to sign the CLA.
Thanks for your sharing, that's great to know it. Here we do made some changes beyond the compile version.
That's make sense that legal team look into the legality/ramifications of including lifted code with a different license in the project.

@joeygrover
We still suggest you to merge this PR. Besides mobile navigation application, we also tested with TDK, they have much performance improvement.
We have tested with newest compileSdkVersion, but it can not optimize the video performance during the runtime. According to your link article, it also clearly tell us that changing your compileSdkVersion does not change runtime behavior
minSdkVersion is the lower bound for the app can be installed on.
targetSdkVersion provides forward compatibility, however Android-24(sdk 19) doesn't provide forward compatibility for PipedInputStream and PipedOutputStream
Consider the distribution status on the dashboards, 82% android device are running below Android 7.0 OS, higher percentage in China market I think.
Another information for your reference:
After optimizing code from both Core and Android proxy, we successfully tested that the video performance latency is less than 300ms.
Test env:

Arm Ubuntu 16.04, Core v4.3.2
Samsung Note5, Android 6.0; Samsung S8, Android 7.0
Bit rate: 1Mbps, 6Mbps
Resolution: 800x480, 1080x720
Frame rate: 30fps
Test time: 1min, 4hrs,

Test result:

phone
resolution
bit rate
average frame rate
test time
video latency

SamsungNote5
1080x720
6Mbps
30fps
1min
219

SamsungS8
1080x720
6Mbps
26fps
1min
245

SamsungNote5
800x480
1Mbps
26fps
4hrs
295

SamsungS8
800x480
1Mbps
30fps
4hrs
234

Thanks,

@BrandonHe
I'm actually going to be closing this pull request for several reasons:

The original proposal for this feature was rejected through the evolution process. A new proposal was never entered.
There is still uncertainty about the legality of bringing in clearly copy/pasted code. Not something that can be decided here, only a new proposal would be able to bring  that to a vote within the SDLC.
Video streaming in the proxy has moved away from pipped streams via the New data transfer interface in Android Proxy for streaming proposal. This has been implemented and is currently in develop.

I recommend testing with the latest code from develop to see if you are able to obtain similar results. If you still believe this is a necessary change please enter a new proposal into the evolution repo. Thank you!

@joeygrover
OK, we will have a testing with the latest develop branch, and give your feedback if there is.
Thanks,


Bugfix plugin 1033

Also add 'Scope' keyword

Added Scope keyword

Closing this PR as it is having clas issue.
Raised a new PR.
https://github.com/data-integrations/salesforce/pull/131


Add console support

Do we have to worry about these paths overlapping with cattle API.  For example, if /v1/console existed in cattle would this fail?

Yes, that would be a problem. All /v1/console requests would always go to wsp (and on to host-api) instead of cattle


Fix the next hop in the node routing table

According to the documentation, the routes seems to be captured on "Node: worker2", so the nexthop for <IP_ADDRESS>/24 CIDR should be NodeIP of worker which is <IP_ADDRESS>

yep, good catch. thanks!


Remove extra hardcoded farms from Deposit page

Scope of current project only includes 1 farm.

Resolved in 61892c9aa6dacec85ff63d7057090fb5ce31d3ec


Question about the version of the dataset provided for downloading.

Thanks for the awesome work!
I have a question regarding to the dataset. In Transfuser+ it proposed a new agent named 'SEED' and regenerated a training dataset using 'SEED'. So I'd like to know whether the dataset provided for downloading in this repo is the one generated by Transfuser+'s 'SEED', or it is the one generated by original Transfuser Agent?
Thanks in advance :).

The provided dataset is generated by the autopilot agent from the original transfuser repo.
I did not understand what you mean by 'a new agent named SEED'. Can you clarify?

Thanks for your quick reply!
No warries, I misunderstood before. I assumed that the dataset was generated with the Transfuser+'s autopilot agent but this is actually not the case.


🐞 - InputDateRange incorrect display of input

Code Example URL
https://stackblitz.com/edit/angular-apgpv5-evs8jt?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.template.html,src%2Fapp%2Fapp.style.less&hideExplorer=1&memory-freed=1
Description
Incorrect display of input:

Taiga UI version
4.7.0
Browser Used
Chrome
OS Used
macOS

Working as expected, in legacy inputs you need to either provide a label or use [tuiTextfieldLabelOutside]="true", like in v3.x


GH-41385: [CI][MATLAB][Packaging] Add support for MATLAB R2024a in CI and crossbow packaging workflows

Rationale for this change
MATLAB R2024a is the latest available version of MATLAB as of April 2024.
We are currently building against MATLAB R2023a in CI and for the crossbow packaging workflow.
We should update the version of MATLAB we support to the latest available version.
We previously created an issue to use R2023b (https://github.com/apache/arrow/issues/37809). However, R2024a has become publicly available since then.
What changes are included in this PR?

Changed the release argument supplied to matlab-actions/setup-matlab@v2 to R2024a from R2023a in .github/workflows/matlab.yml and dev/tasks/matlab/github.yml.

Updated the script used to package the MLTBX file (arrow/matlab/tools/packageMatlabInterface.m) to specify the version of MATLAB currently running as the only compatible version of MATLAB for the interface.

Updated display tests to react to a change in how class names are formatted when an objected is displayed in the Command Window.

Are these changes tested?
Yes. Existing tests used.
Are there any user-facing changes?
There are no changes to the MATLAB Arrow Interface. However, the MATLAB release used to build, test, and package the interface has been upgraded.
Future Work

We may want to consider building and packaging against multiple versions of MATLAB in parallel, rather than just the latest. This would require some more thought on how many releases back to support over time, however.

#41435

GitHub Issue: #41385

@github-actions crossbow submit matlab

@github-actions crossbow submit matlab

Verified the packaged MATLAB Arrow Interface manually by

Installing the MLTBX file on Debian-11, macos-12, macos-14, and Windows 10 AND
Running all unit tests underneath arrow/matlab/test